
/* =========================
   GLOBAL STYLES
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Julius Sans One", sans-serif;
    background:#fff8f5;
    color:#2b1b14;
    line-height:1.6;
}

/* =========================
   ANNOUNCEMENT BAR
========================= */

.announcement-bar{
    background:#2b1b14;
    color:white;
    text-align:center;
    padding:12px;
    font-size:14px;
    letter-spacing:1px;
}

/* =========================
   NAVBAR
========================= */

.navbar{
    position:sticky;
    top:0;
    width:100%;
    background:rgba(43,27,20,0.95);
    backdrop-filter:blur(10px);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:8px 8%;
    z-index:1000;
}

.logo{
    color:white;
    font-size:28px;
    letter-spacing:3px;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:30px;
}

.nav-links a{
    text-decoration:none;
    color:white;
    transition:0.3s;
}

.nav-links a:hover{
    color:#d9b38c;
}

/* =========================
   HERO SECTION
========================= */

.hero{
    min-height:90vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:0 20px;
    background:
        linear-gradient(
            rgba(0,0,0,0.65),
            rgba(0,0,0,0.65)
        ),
        url("images/hero.jpg");
    background-size:cover;
    background-position:center;
}

.hero-content{
    max-width:900px;
    color:white;
}

.hero h1{
    font-size:64px;
    letter-spacing:4px;
    margin-bottom:25px;
}

.hero p{
    font-size:22px;
    margin-bottom:35px;
}

.hero-tags{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
    margin-bottom:40px;
}

.hero-tags span{
    background:rgba(255,255,255,0.15);
    padding:12px 20px;
    border-radius:30px;
    backdrop-filter:blur(5px);
}

.hero-buttons{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:20px;
}

.btn{
    text-decoration:none;
    padding:15px 30px;
    border-radius:50px;
    transition:0.3s;
    font-size:15px;
}

.primary{
    background:#d9b38c;
    color:#2b1b14;
}

.primary:hover{
    transform:translateY(-3px);
}

.secondary{
    border:2px solid white;
    color:white;
}

.secondary:hover{
    background:white;
    color:#2b1b14;
}

/* =========================
   SECTIONS
========================= */

.section{
    padding:100px 8%;
    text-align:center;
}

.section h2{
    font-size:42px;
    margin-bottom:30px;
}

.section p{
    max-width:900px;
    margin:auto;
    margin-bottom:20px;
    font-size:18px;
}

.section-subtitle{
    margin-bottom:50px;
}

/* =========================
   PRODUCTS GRID
========================= */

.products-grid{
    width:100%;
    max-width:1200px;
    margin:50px auto 0;
    display:grid !important;
    grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
    gap:40px;
    align-items:start;
}

/* =========================
   PRODUCT CARD
========================= */

.product-card{
    width:100% !important;
    max-width:none !important;
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:0.3s;
}

.product-card:hover{
    transform:translateY(-10px);
}

/* =========================
   NORMAL SINGLE PRODUCT IMAGE
========================= */

.product-card > img{
    display:block;
    width:100%;
    height:280px;
    object-fit:cover;
}

/* =========================
   NORMAL TWO-IMAGE PRODUCTS
========================= */

.product-images{
    display:flex;
    gap:10px;
    margin-bottom:15px;
}

.product-images img{
    display:block;
    width:50%;
    height:180px;
    object-fit:cover;
    border-radius:12px;
}

/* =========================
   PRODUCT TEXT
========================= */

.product-card h3{
    margin:18px 0 8px;
    padding:0 18px;
    font-size:20px;
}

.product-card p{
    padding:0 18px;
    margin-bottom:12px;
    font-size:15px;
}

.product-card h4{
    font-size:22px;
    margin-bottom:15px;
}

/* =========================
   ORDER BUTTON
========================= */

.order-btn{
    display:block;
    margin:15px 18px 18px;
    padding:13px;
    background:#25D366;
    color:white;
    text-decoration:none;
    text-align:center;
    border-radius:12px;
    transition:0.3s;
}

.order-btn:hover{
    transform:scale(1.03);
}

/* =========================
   04 COMBO MINI PACK SLIDER
   KEEP WORKING VERSION
========================= */

.product-slider{
    position:relative;
    width:100%;
    height:280px;
    overflow:hidden;
    background:#f5f5f5;
}

.slider-track{
    display:flex;
    width:200%;
    height:280px;
    transition:transform 0.4s ease;
}

.slider-track img{
    display:block;
    width:50% !important;
    height:280px !important;
    object-fit:cover !important;
    flex-shrink:0;
}

/* =========================
   SLIDER ARROWS
========================= */

.slider-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:rgba(43,27,20,0.75);
    color:white;
    font-size:22px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:10;
}

.slider-btn:hover{
    background:rgba(43,27,20,0.95);
}

.slider-prev{
    left:12px;
}

.slider-next{
    right:12px;
}

/* =========================
   SLIDER DOTS
========================= */

.slider-dots{
    position:absolute;
    bottom:12px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:8px;
    z-index:10;
}

.slider-dot{
    width:9px;
    height:9px;
    border-radius:50%;
    background:rgba(255,255,255,0.7);
    cursor:pointer;
}

.slider-dot.active{
    background:white;
}

/* =========================
   REVIEWS
========================= */

.review-card{
    max-width:700px;
    margin:30px auto;
    background:white;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

/* =========================
   FOOTER
========================= */

.footer{
    background:#2b1b14;
    color:white;
    text-align:center;
    padding:60px 20px;
}

.footer h3{
    margin-bottom:20px;
    letter-spacing:2px;
}

.footer p{
    margin-bottom:12px;
}

.footer a{
    color:#d9b38c;
    text-decoration:none;
}

/* =========================
   LARGE TABLET / SMALL DESKTOP
========================= */

@media(max-width:1250px){

    .products-grid{
        grid-template-columns:repeat(3,250px);
        column-gap:40px;
        row-gap:45px;
    }

}

/* =========================
   TABLET
========================= */

@media(max-width:900px){

    .products-grid{
        grid-template-columns:repeat(2,250px);
        column-gap:35px;
        row-gap:40px;
    }

}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .navbar{
        flex-direction:column;
        gap:6px;
        padding:7px 16px;
    }

    .logo{
        font-size:21px;
    }

    .nav-links{
        flex-wrap:wrap;
        justify-content:center;
        gap:6px 12px;
    }

    .nav-links a{
        font-size:12px;
    }

    .hero h1{
        font-size:42px;
    }

    .hero p{
        font-size:18px;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:center;
    }

    .btn{
        width:250px;
    }

    .section{
        padding:80px 20px;
    }

    .section h2{
        font-size:34px;
    }

    .products-grid{
        grid-template-columns:repeat(2,250px);
        column-gap:25px;
        row-gap:35px;
    }

}

/* =========================
   SMALL MOBILE
========================= */

@media(max-width:560px){

    .products-grid{
        grid-template-columns:250px;
        justify-content:center;
        row-gap:35px;
    }

    .product-card{
        width:250px;
    }

}

@media(max-width:1100px){

    .products-grid{
        grid-template-columns:repeat(3, minmax(0,1fr)) !important;
    }

}

@media(max-width:800px){

    .products-grid{
        grid-template-columns:repeat(2, minmax(0,1fr)) !important;
    }

}

@media(max-width:550px){

    .products-grid{
        grid-template-columns:1fr !important;
        max-width:280px;
    }

}

/* =========================
   NEW PRODUCT CATALOG CARDS
========================= */

.catalog-grid{
    width:100%;
    max-width:1200px;
    margin:50px auto 0;
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:40px;
    align-items:start;
}

.catalog-card{
    display:block;
    width:100%;
    background:white;
    color:#2b1b14;
    text-decoration:none;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:transform .3s ease, box-shadow .3s ease;
}

.catalog-card:hover{
    transform:translateY(-8px);
    box-shadow:0 14px 30px rgba(0,0,0,0.12);
}

.catalog-card-image{
    display:block;
    width:100%;
    aspect-ratio:1 / 1;
    object-fit:cover;
}

.catalog-card-name{
    min-height:76px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:18px 14px;
    font-size:18px;
    letter-spacing:.06em;
}

/* =========================
   PRODUCT DETAILS PAGE
========================= */

.details-back-top{
    color:white;
    text-decoration:none;
    font-size:14px;
    border:1px solid rgba(255,255,255,.45);
    padding:10px 16px;
    border-radius:30px;
}

.product-details-page{
    padding:70px 8% 100px;
}

.details-layout{
    max-width:1150px;
    margin:0 auto;
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
    gap:55px;
    align-items:start;
}

.details-main-image-wrap{
    position:relative;
    width:100%;
    overflow:hidden;
    border-radius:22px;
    background:#f5f5f5;
}

.details-main-image{
    display:block;
    width:100%;
    aspect-ratio:1 / 1;
    object-fit:cover;
}

.details-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:44px;
    height:44px;
    border:0;
    border-radius:50%;
    background:rgba(43,27,20,.75);
    color:white;
    font-size:22px;
    cursor:pointer;
}

.details-prev{left:14px}
.details-next{right:14px}

.details-thumbnails{
    display:flex;
    gap:12px;
    margin-top:14px;
    flex-wrap:wrap;
}

.details-thumb{
    width:78px;
    height:78px;
    padding:0;
    overflow:hidden;
    border:2px solid transparent;
    border-radius:12px;
    background:none;
    cursor:pointer;
}

.details-thumb.active{border-color:#2b1b14}

.details-thumb img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.details-info{
    padding-top:10px;
}

.details-label{
    font-size:12px;
    letter-spacing:2px;
    opacity:.6;
    margin-bottom:14px;
}

.details-info h1{
    font-size:38px;
    line-height:1.25;
    letter-spacing:2px;
}

.details-price{
    font-size:25px;
    margin:24px 0;
}

.details-divider{
    height:1px;
    background:rgba(43,27,20,.12);
    margin:25px 0;
}

.details-info h2{
    font-size:17px;
    letter-spacing:1px;
    margin-bottom:14px;
}

.details-info > p{
    font-size:16px;
    line-height:2;
    white-space:pre-line;
    opacity:.75;
}

.details-order-btn{
    display:block;
    margin-top:30px;
    padding:16px 18px;
    background:#25D366;
    color:white;
    text-align:center;
    text-decoration:none;
    border-radius:12px;
    transition:.3s;
}

.details-order-btn:hover{transform:scale(1.02)}

.product-not-found{
    max-width:700px;
    margin:80px auto;
    text-align:center;
}

.back-products{
    display:inline-block;
    margin-top:20px;
    color:#2b1b14;
}

@media(max-width:1150px){
    .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}

@media(max-width:900px){
    .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px;}
    .details-layout{grid-template-columns:1fr; gap:35px;}
}

@media(max-width:600px){
    .catalog-grid{grid-template-columns:1fr; max-width:330px;}
    .catalog-card-name{min-height:68px; font-size:17px;}
    .product-details-page{padding:45px 20px 70px;}
    .details-info h1{font-size:30px;}
    .details-back-top{font-size:12px; padding:8px 12px;}
}
