/*
Theme Name: Cannibas
Author: Priyanshu
Version: 4.0
*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,body{
    width:100%;
    height:100%;
}

body{
    font-family:Arial,Helvetica,sans-serif;
    background:#ffffff;
    color:#111;
}

/* Reset */

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

/* HEADER */

.header{
    width:100%;
    height:90px;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 70px;
    border-bottom:1px solid #ececec;
    position:sticky;
top:0;
z-index:9999;
transition:all .35s ease;
}

.logo{
    height:70px;
    width:auto;
    display:block;
}

.logo-box{
    display:flex;
    align-items:center;
    margin-left:0;
}

.header.sticky .logo{
    height:65px;
}
.brand-name{
    font-size:22px;
    font-weight:700;
    letter-spacing:4px;
    color:#111;
    margin-left:15px;
    margin-right:auto;
    user-select:none;
}

nav{
    margin-left:auto;
}

.menu{
    display:flex;
    align-items:center;
    gap:45px;
}

.menu li{
    list-style:none;
}

.menu li a{
    position:relative;
    color:#111;
    font-size:16px;
    font-weight:600;
    letter-spacing:.5px;
    transition:color .3s ease;
}

.menu li a::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-8px;
    width:0;
    height:2px;
    background:#111;
    border-radius:50px;
    transform:translateX(-50%);
    transition:width .35s ease;
}

.menu li a:hover::after{
    width:100%;
}

.menu li a:hover{
    color:#000;
}

/* ================= HERO ================= */

.hero{
    width:100%;
    min-height:calc(100vh - 90px);
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:80px 20px;
    background:#f8f8f8;
}

.hero-content{
    max-width:760px;
}

.hero-tag{
    display:inline-block;
    padding:8px 18px;
    background:#111;
    color:#fff;
    font-size:13px;
    letter-spacing:2px;
    border-radius:50px;
    margin-bottom:30px;
}

.hero h1{

    font-size:84px;

    line-height:1.05;

    letter-spacing:5px;

    font-weight:800;

}

.hero p{

    max-width:620px;

    margin:35px auto;

    font-size:20px;

    line-height:1.8;

    color:#666;

}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
}

/* ================= BUTTONS ================= */

.btn{

    display:inline-block;

    padding:16px 38px;

    border-radius:8px;

    font-weight:700;

    transition:.35s;

    cursor:pointer;

}

.btn-dark{
    background:#111;
    color:#fff;
}

.btn-light{
    border:2px solid #111;
    color:#111;
    background:#fff;
}

.btn:hover{

    transform:translateY(-5px);

    box-shadow:0 15px 35px rgba(0,0,0,.18);

}

.btn-dark:hover{

    background:#000;

    transform:translateY(-5px);

}

.btn-light:hover{

    background:#111;

    color:#fff;

    transform:translateY(-5px);

}

/* ================= COLLECTIONS ================= */

.collections{
    padding:90px 70px;
    background:#fff;
}

.collections h2{
    text-align:center;
    font-size:42px;
    margin-bottom:50px;
}

.collection-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:40px;
}

/* ================= SHOP CARDS ================= */

.card{
    position:relative;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

    transition:.45s;

}

.card img{

    width:100%;

    height:420px;

    object-fit:cover;

    display:block;

    transition:.6s;

}

.card h3{
    padding:20px;
    text-align:center;
    font-size:24px;
}

.card:hover{

    transform:translateY(-14px);

    box-shadow:0 25px 55px rgba(0,0,0,.12);

}

.card:hover img{

    transform:scale(1.06);

}


/* ================= FOOTER ================= */

.footer{
    background:#111;
    color:#fff;
    margin-top:80px;
}

.footer-container{
    max-width:1300px;
    margin:auto;
    padding:70px 60px;
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:50px;
}

.footer-logo img{
    width:90px;
    margin-bottom:20px;
}

.footer-logo p{
    color:#bbb;
    line-height:1.8;
    max-width:300px;
}

.footer h3{
    margin-bottom:20px;
    font-size:20px;
}

.footer ul{
    list-style:none;
}

.footer li{
    margin-bottom:12px;
}

.footer a{

    color:#bbb;

    transition:.35s;

}

.footer a:hover{

    color:#fff;

    padding-left:6px;

}

.footer-contact p{
    color:#bbb;
    margin-bottom:10px;
}

.footer-bottom{
    border-top:1px solid #333;
    text-align:center;
    padding:20px;
    color:#888;
}

@media(max-width:900px){

.footer-container{
    grid-template-columns:1fr 1fr;
}

}

@media(max-width:600px){

.footer-container{
    grid-template-columns:1fr;
    text-align:center;
}

.footer-brand h3{
    font-size:24px;
    margin-bottom:18px;
    color:#fff;
}

.footer-brand p{
    color:#bbb;
    line-height:1.9;
    max-width:380px;
    font-size:15px;
}

}
.footer-contact p{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:15px;
    color:#bbb;
}

.footer-contact p a{
    color:#bbb;
}

.footer-contact p a:hover{
    color:#fff;
}

.footer-contact i{
    color:#fff;
    width:18px;
    text-align:center;
}

.social-icons{
    margin-top:20px;
    display:flex;
    gap:15px;
}

.social-icons a{
    width:42px;
    height:42px;
    border:1px solid #555;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    transition:.3s;
}

.social-icons a:hover{

    background:#fff;

    color:#111;

    border-color:#fff;

    transform:translateY(-5px) rotate(8deg);

    box-shadow:0 12px 25px rgba(255,255,255,.2);

}

/* ================= HAMBURGER ================= */

.menu-toggle{
    display:none;
    font-size:34px;
    font-weight:bold;
    cursor:pointer;
    color:#111;
    line-height:1;
    user-select:none;
}

/* ================= MOBILE ================= */

@media(max-width:768px){

.header{
    height:80px;
    padding:0 15px;
    display:grid;
    grid-template-columns:95px 1fr 60px;
    align-items:center;
}

.logo{
    height:105px;
    width:auto;
    max-width:none;
    object-fit:contain;
}

.logo-box{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    margin-left:-20px;
    height:85px;
}

.brand-name{
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.menu-toggle{
    display:block;
    justify-self:end;
}

.menu-toggle:hover{

    transform:scale(1.1);

}

.menu-toggle span{
    width:28px;
    height:3px;
    background:#111;
}

nav{
    margin:0;
}

.menu{
    position:absolute;
    top:80px;
    left:0;
    width:100%;
    background:#fff;
    display:flex;
    flex-direction:column;

    transform:translateY(-20px);
    opacity:0;
    visibility:hidden;

    transition:.35s ease;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    z-index:9999;
}

.menu.active{
    transform:translateY(0);
    opacity:1;
    visibility:visible;
}

.menu li{
    width:100%;
}

.menu li a{
    display:block;
    padding:20px;
    text-align:center;

    font-size:16px;
    font-weight:600;

    letter-spacing:1px;

    border-bottom:1px solid #f3f3f3;

    transition:.25s;
}

.menu li a:hover{

    background:#111;

    color:#fff;

    letter-spacing:2px;

}

.hero{
    min-height:calc(100vh - 85px);
    padding:60px 20px;
}

.hero-tag{
    font-size:11px;
    padding:7px 15px;
}

.hero h1{
    font-size:46px;
    letter-spacing:2px;
}

.hero p{
    font-size:17px;
    margin:25px auto;
}

.hero-buttons{
    flex-direction:column;
    align-items:center;
    gap:15px;
}

.btn{
    width:240px;
}

.collections{
    padding:60px 20px;
}

.collection-grid{
    grid-template-columns:1fr;
}

.footer-container{
    grid-template-columns:1fr;
    text-align:center;
}

.footer-contact p{
    justify-content:center;
}

.social-icons{
    justify-content:center;
}

}

.header.sticky{

    background:#fff;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    backdrop-filter:blur(10px);

    -webkit-backdrop-filter:blur(10px);

}

/* ================= LUXURY GLASS SCROLLBAR ================= */

html{
    scroll-behavior:smooth;
}

::-webkit-scrollbar{
    width:9px;
}

::-webkit-scrollbar-track{
    background:#f8f8f8;
    border-left:1px solid #ececec;
}

::-webkit-scrollbar-thumb{

    background:linear-gradient(
        180deg,
        #111 0%,
        #2b2b2b 45%,
        #555 100%
    );

    border-radius:100px;

    border:2px solid #f8f8f8;

    transition:.35s;

}

::-webkit-scrollbar-thumb:hover{

    background:linear-gradient(
        180deg,
        #000,
        #111
    );

}

::-webkit-scrollbar-thumb:active{

    background:#000;

}

/* ================= SCROLL REVEAL ================= */

.hero-content,
.card,
.footer{

opacity:0;

transform:translateY(60px);

transition:all .9s cubic-bezier(.22,1,.36,1);

}

.show{

opacity:1;

transform:translateY(0);

}

/* Cards stagger */

.collections h2{

    transition-delay:.05s;

}

.card:nth-child(1){

    transition-delay:.20s;

}

.card:nth-child(2){

    transition-delay:.40s;

}

.hero-buttons{

    transition-delay:.35s;

}

.hero-content p{

    transition-delay:.15s;

}

.hero-content h1{

    transition-delay:.05s;

}

.footer-container{

    transition-delay:.20s;

}

/* ================= SCROLL REVEAL V2 ================= */

.reveal{
    opacity:0;
    transform:translateY(60px);
    transition:all .8s cubic-bezier(.22,1,.36,1);
}

.reveal.show{
    opacity:1;
    transform:translateY(0);
}

.card.reveal:nth-child(1){
    transition-delay:.1s;
}

.card.reveal:nth-child(2){
    transition-delay:.3s;
}

.card.reveal:nth-child(3){
    transition-delay:.5s;
}

.card.reveal:nth-child(4){
    transition-delay:.7s;
}

/* ================= PREMIUM STICKY HEADER ================= */

.header{

    transition:
    height .35s ease,
    padding .35s ease,
    background .35s ease,
    box-shadow .35s ease;

}

.header.sticky{

    height:75px;

    padding:0 60px;

    background:rgba(255,255,255,.92);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.header .logo{

    transition:.35s ease;

}

.header.sticky .logo{

    height:160px;

}

@media(max-width:768px){

.header.sticky{

    height:80px;

    padding:0 15px;

}

.header.sticky .logo{

    height:110px;

}

}

/* ================= PREMIUM CARD OVERLAY ================= */

.card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.45),
        rgba(0,0,0,0)
    );

    opacity:0;

    transition:.4s ease;

    z-index:1;

}

.card::after{

    content:"Explore Collection →";

    position:absolute;

    left:50%;

    bottom:25px;

    transform:translate(-50%,20px);

    color:#fff;

    font-size:15px;

    letter-spacing:1px;

    opacity:0;

    transition:.4s ease;

    z-index:2;

    white-space:nowrap;

}

.card:hover::before{

    opacity:1;

}

.card:hover::after{

    opacity:1;

    transform:translate(-50%,0);

}

/* ================= PAGE FADE ================= */

body{

    animation:pageFade .6s ease;

}

@keyframes pageFade{

from{

    opacity:0;

}

to{

    opacity:1;

}

}

/* ================= WOOCOMMERCE ================= */

.woocommerce-container{

    max-width:1300px;

    margin:60px auto;

    padding:0 30px;

}

.woocommerce img{

    max-width:100%;

    height:auto;

}

.woocommerce ul.products{

    display:grid !important;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:35px;

}

.woocommerce ul.products li.product{

    width:100% !important;

    margin:0 !important;

}

/* ================= SHOP HEADER ================= */

.shop-header{

    text-align:center;

    margin:20px 0 60px;

}

.shop-header h1{

    font-size:52px;

    letter-spacing:4px;

    font-weight:700;

    margin-bottom:12px;

}

.shop-header p{

    color:#777;

    font-size:18px;

    letter-spacing:1px;

}

/* ================= SHOP PAGE ================= */

.shop-header{

    text-align:center;

    margin-bottom:60px;

}

.shop-header h1{

    font-size:60px;

    letter-spacing:5px;

    margin:20px 0;

}

.shop-header p{

    color:#777;

    font-size:18px;

}

.woocommerce-container{

    max-width:1300px;

    margin:auto;

}

.woocommerce ul.products{

    display:grid !important;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:35px;

}

.woocommerce ul.products li.product{

    width:100% !important;

    margin:0 !important;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

    transition:.35s;

}

.woocommerce ul.products li.product:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

/* Hide default WooCommerce title */

.woocommerce-products-header{
    display:none;
}

.woocommerce .page-title{
    display:none;
}

.woocommerce-notices-wrapper{
    margin:0;
}

.woocommerce-result-count,
.woocommerce-ordering{
    display:none;
}

/* Remove default WooCommerce header */

.woocommerce-products-header{
    display:none !important;
}

.woocommerce-products-header__title{
    display:none !important;
}

.woocommerce-breadcrumb{
    display:none !important;
}

.woocommerce-notices-wrapper{
    margin:0 !important;
    padding:0 !important;
}

.woocommerce::before,
.woocommerce::after{
    display:none !important;
    content:none !important;
}

/* ================= EMPTY SHOP ================= */

.woocommerce-info{
    display:none !important;
}
.woocommerce-info,
.woocommerce-no-products-found{
    display:none !important;
}

.cb-login-page{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#f5f5f5;
    padding:40px 20px;
    box-sizing:border-box;
}
.cb-login-box{
    width:100%;
    max-width:650px;
    background:#fff;
    border-radius:18px;
    padding:40px;
    box-sizing:border-box;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}


.cb-logo{
font-size:14px;
letter-spacing:4px;
font-weight:700;
color:#666;
margin-bottom:10px;
}

.cb-login-box h1{
font-size:36px;
margin-bottom:8px;
}

.cb-login-box p{
color:#777;
margin-bottom:35px;
}

.cb-field{
margin-bottom:22px;
}

.cb-field label{
display:block;
margin-bottom:8px;
font-weight:600;
}

.cb-field input{
width:100%;
padding:14px;
border:1px solid #ddd;
border-radius:10px;
font-size:16px;
}

.cb-row{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:25px;
font-size:14px;
}

.cb-btn{
width:100%;
padding:15px;
background:#111;
color:#fff;
border:none;
border-radius:12px;
font-size:16px;
font-weight:bold;
cursor:pointer;
transition:.3s;
}

.cb-btn:hover{
background:#333;
}

.cb-divider{
text-align:center;
margin:35px 0;
position:relative;
}

.cb-divider span{
background:#fff;
padding:0 15px;
position:relative;
z-index:2;
}

.cb-divider:before{
content:"";
position:absolute;
left:0;
right:0;
top:50%;
height:1px;
background:#ddd;
}

.cb-register-btn{
display:block;
margin-top:20px;
text-align:center;
padding:15px;
border:2px solid #111;
border-radius:12px;
text-decoration:none;
font-weight:bold;
color:#111;
transition:.3s;
}

.cb-register-btn:hover{
background:#111;
color:#fff;
}


/* PAGE TEMPLATE */

.page-content{
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:40px 20px;
    min-height:60vh;
}

/* ===== HEADER FIX ===== */

.header{
    height:90px !important;
}

.header .logo-box{
    display:flex !important;
    align-items:center !important;
    margin-left:-45px !important;
}

.header .logo{
    height:175px !important;
    width:auto !important;
    display:block !important;
}

/* ================= ACCOUNT DASHBOARD ================= */

.cb-account-preview{
    background:#f8f8f8;
    min-height:100vh;
    padding:80px 20px;
}

.cb-account-container{
    max-width:1300px;
    margin:0 auto;
}

@media(max-width:768px){

    .cb-account-container{
        padding:0 2px;
    }

    .cb-login-box{
        width:100%;
        max-width:100%;
        padding:30px 16px;
    }

}
.cb-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.cb-card{
    background:#fff;
    border-radius:20px;
    padding:45px 30px;
    text-align:center;
    cursor:pointer;
    transition:.3s;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    position:relative;
}

.cb-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 50px rgba(0,0,0,.12);
}

.cb-icon{
    font-size:52px;
    margin-bottom:25px;
}

.cb-card h3{
    font-size:20px;
    letter-spacing:2px;
    margin:0;
}

.cb-card span{
    position:absolute;
    right:25px;
    bottom:20px;
    font-size:28px;
}

@media(max-width:768px){

.cb-grid{
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.cb-card{
    padding:30px 15px;
}

.cb-icon{
    font-size:40px;
}

.cb-card h3{
    font-size:14px;
    letter-spacing:1px;
}

.cb-account-container h1{
    font-size:30px;
}

}

/* ===== FULL WIDTH MY ACCOUNT ===== */

.woocommerce-account .woocommerce{
    width:100% !important;
    max-width:1700px !important;
    margin:0 auto !important;
    padding:0 40px !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation{
    display:none !important;
}

.woocommerce-account .woocommerce-MyAccount-content{
    width:100% !important;
    float:none !important;
    margin:0 !important;
    padding:0 !important;
}

/* FULL WIDTH ACCOUNT SECTION */

.cb-account-preview{
    position: relative;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    background: #f3f3f3;
    padding: 60px 40px;
    box-sizing: border-box;
}

.cb-account-container{
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}
.cb-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

.cb-card{
    background:#fff;
    border-radius:22px;
    padding:55px 35px;   /* <-- icon border se door rahega */
    min-height:250px;
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-decoration:none;
}

.cb-icon{
    font-size:60px;
    margin-bottom:30px;
}

.cb-card h3{
    margin:0;
    text-align:center;
}

@media(max-width:768px){

.woocommerce-account .woocommerce{
    padding:0 15px !important;
}

.cb-grid{
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.cb-card{
    min-height:180px;
    padding:30px 18px;
}

.cb-icon{
    font-size:42px;
    margin-bottom:18px;
}

}
.cb-card span{
    display:none !important;
}