:root {
    --primary-red: #7c0703;
    --gold: #f9c87d;
    --beige: #E4CAB3;
    --choco-dark: #2b1f1a;
    --footer-dark: #1a1411;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Tajawal', sans-serif;
    background: #fff;
    color: #231b17;
}

a { text-decoration: none; }

.header {
    min-height: 20px;
    background: #262d37;
}

.product-navbar {
    position: absolute;
    top: 38px;
    left: 0;
    width: 100%;
    z-index: 100;
}

.navbar-brand img { height: 72px; }
.navbar-toggler { border: none; box-shadow: none !important; }
.navbar-toggler-icon { filter: brightness(0) invert(1); }
.navbar-nav { gap: 30px; }
.navbar-nav .nav-link {
    position: relative;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    padding-bottom: 8px;
    transition: .35s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--gold); }
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to left, var(--gold), transparent);
    transition: .35s;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: 100%; }

.product-hero {
    --accent-color: #5b276c;
    --accent-soft: #f1d8ff;
    position: relative;
    min-height: 820px;
    padding: 185px 0 145px;
    overflow: hidden;
    /* background:
        radial-gradient(circle at 15% 30%, color-mix(in srgb, var(--accent-color) 45%, transparent), transparent 28%),
        linear-gradient(135deg, #2b1f1a 0%, #a5411c 50%, var(--accent-color) 100%); */
    /* background:
    radial-gradient(
        circle at 15% 30%,
        color-mix(in srgb, var(--accent-color) 45%, transparent),
        transparent 28%
    ),
    linear-gradient(
        135deg,
        #2b1f1a 0%,
        #5c3426 45%,
        var(--accent-color) 100%
    ); */
    /* background:
    radial-gradient(
        circle at 15% 30%,
        color-mix(in srgb, var(--accent-color) 45%, transparent),
        transparent 28%
    ),
    linear-gradient(
        135deg,
        #2b1f1a 0%,
        #6b4637 50%,
        var(--accent-color) 100%
    ); */
    /* background:
        radial-gradient(
            circle at 15% 30%,
            color-mix(in srgb, var(--accent-color) 45%, transparent),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #2b1f1a 0%,
            #70403a 40%,
            #8b3b3b 70%,
            var(--accent-color) 100%
        ); */
    background:
        radial-gradient(
            circle at 80% 20%,
            var(--accent-soft),
            transparent 40%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #faf8f6 100%
        );
}

.hero-top-frame,
.hero-bottom-frame {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 12;
    pointer-events: none;
}
.hero-top-frame { top: -1px; }
.hero-bottom-frame { bottom: -1px; }
.hero-pattern {
    position: absolute;
    width: 230px;
    opacity: .16;
    z-index: 1;
    pointer-events: none;
}
.hero-pattern-left { left: 0; top: 210px; }
.hero-pattern-right { right: 0; bottom: 170px; transform: scaleX(-1); }
.product-hero .container { position: relative; z-index: 5; }

.product-image-card {
    position: relative;
    max-width: 580px;
    margin: auto;
    padding: 22px;
    border-radius: 36px;
    /* background: rgba(255,255,255,.12); */
    /* border: 1px solid rgba(255,255,255,.18); */
    /* box-shadow: 0 30px 70px rgba(0,0,0,.25); */
    backdrop-filter: blur(8px);

    background: #ffffff;
    border: 1px solid #ece7e2;
    box-shadow: 0 25px 60px rgba(0,0,0,.08);
}
.product-image-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 28px;
    transition: opacity .2s ease, transform .4s ease;
}
.product-image-card img.is-changing { 
    opacity: .25; 
    transform: scale(.98); 
}
.product-badge {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 2;
    background: var(--gold);
    color: #231b17;
    border-radius: 50px;
    padding: 10px 18px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(0,0,0,.16);
}
.product-hero-content { 
    color: #2b1f1a; 
}
.section-kicker,
.section-heading span {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.product-hero-content h1 {
    font-size: 78px;
    font-weight: 800;
    margin-bottom: 8px;
    /* text-shadow: 0 10px 28px rgba(0,0,0,.25); */
    color: #2b1f1a;
    text-shadow: none;
}
.product-hero-content h2 {
    color: var(--gold);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 24px;
}
.product-hero-content p {
    max-width: 560px;
    /* color: rgba(255,255,255,.82); */
    color: #6b5a52;
    font-size: 20px;
    line-height: 2;
    margin-bottom: 30px;
}
.hero-actions { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 15px; 
    margin-bottom: 32px; 
}
.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 50px;
    padding: 13px 30px;
    font-weight: 800;
    transition: .3s;
}
.primary-btn { 
    background: var(--gold); 
    color: #231b17; 
}
.secondary-btn { 
    /* color: #fff; 
    border: 1px solid rgba(255,255,255,.28);  */

    border: 1px solid #d8d0ca;
    color: #2b1f1a;
    
}
.primary-btn:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 14px 30px rgba(249,200,125,.28);
 }
.secondary-btn:hover { 
    
    border-color: var(--gold); 
    transform: translateY(-3px); 
}
.product-mini-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 650px;
}
.product-mini-info div {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.12);
}
.product-mini-info strong,
.product-mini-info span { 
    display: block; 
}
.product-mini-info strong { 
    color: var(--gold); 
    margin-bottom: 5px;
}
.product-mini-info span { 
    color: rgba(255,255,255,.78); 
}

.flavors-section,
.specs-section,
.related-products-section {
    position: relative;
    background: var(--beige);
    padding: 100px 0;
    overflow: hidden;
}
.section-heading { margin-bottom: 50px; }
.section-heading h2 {
    font-size: 44px;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 15px;
}
.section-heading p {
    color: rgba(35,27,23,.72);
    font-size: 18px;
    max-width: 680px;
    margin: auto;
    line-height: 1.9;
}
.flavor-card {
    width: 100%;
    display: block;
    border: none;
    text-align: center;
    padding: 18px 18px 25px;
    border-radius: 30px;
    background: rgba(255,255,255,.65);
    box-shadow: 0 15px 40px rgba(0,0,0,.09);
    transition: .35s;
}
.flavor-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 24px;
    margin-bottom: 18px;
}
.flavor-card h3 { font-size: 26px; font-weight: 800; color: var(--choco-dark); margin: 10px 0 6px; }
.flavor-card p { color: rgba(35,27,23,.66); margin: 0; }
.flavor-dot {
    width: 18px;
    height: 18px;
    display: inline-block;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(255,255,255,.7);
}
.flavor-card:hover,
.flavor-card.active { transform: translateY(-10px); box-shadow: 0 24px 55px rgba(0,0,0,.15); }
.flavor-card.active { outline: 3px solid var(--gold); }

.product-story-section,
.features-section,
.contact-cta-section {
    padding: 100px 0;
    background: #fff7ef;
}
.story-image {
    padding: 18px;
    background: var(--beige);
    border-radius: 34px;
    box-shadow: 0 20px 50px rgba(0,0,0,.1);
}
.story-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 25px;
}
.product-story-section h2 {
    color: var(--primary-red);
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 22px;
}
.product-story-section p {
    color: rgba(35,27,23,.72);
    font-size: 18px;
    line-height: 2;
}
.spec-card,
.feature-card {
    height: 100%;
    text-align: center;
    padding: 34px 20px;
    border-radius: 26px;
    background: rgba(255,255,255,.62);
    box-shadow: 0 14px 35px rgba(0,0,0,.08);
    transition: .3s;
}
.spec-card:hover,
.feature-card:hover { transform: translateY(-8px); }
.spec-card i,
.feature-card i {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-red);
    color: var(--gold);
    font-size: 26px;
    margin-bottom: 18px;
}
.spec-card h3,
.feature-card h3 { font-size: 22px; font-weight: 800; color: var(--primary-red); }
.spec-card p,
.feature-card p { margin: 0; color: rgba(35,27,23,.68); line-height: 1.8; }

.contact-cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 50px;
    border-radius: 35px;
    color: #fff;
    background: linear-gradient(135deg, #7c0703, #2b1f1a);
    box-shadow: 0 24px 65px rgba(124,7,3,.25);
    position: relative;
    overflow: hidden;
}
.contact-cta-box::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    left: -100px;
    bottom: -120px;
    background: rgba(249,200,125,.15);
    border-radius: 50%;
}
.contact-cta-box > * { position: relative; z-index: 2; }
.contact-cta-box span { color: var(--gold); font-weight: 800; }
.contact-cta-box h2 { font-size: 36px; font-weight: 800; margin: 10px 0; }
.contact-cta-box p { color: rgba(255,255,255,.74); margin: 0; }

.related-card {
    text-align: center;
    background: rgba(255,255,255,.58);
    border-radius: 25px;
    padding: 14px 14px 0;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,.09);
    transition: .3s;
}
.related-card:hover { transform: translateY(-8px); }
.related-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
}
.related-card h3 {
    width: fit-content;
    min-width: 80%;
    margin: auto;
    padding: 13px 18px;
    border-radius: 0 0 16px 16px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.main-footer {
    position: relative;
    background: linear-gradient(to bottom, #2b1f1a, #1a1411);
    color: #fff;
    padding-top: 120px;
    overflow: hidden;
}
.footer-top-shape {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('/assests/PNG2-01-scaled.png') no-repeat top center;
    background-size: cover;
    transform: rotate(180deg);
}
.footer-brand { text-align: center; }
.footer-brand img { width: 125px; margin-bottom: 5px; }
.footer-brand p { color: rgba(255,255,255,.75); line-height: 2; font-size: 16px; }
.footer-title {
    position: relative;
    display: inline-block;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 35px;
    color: var(--gold);
    padding-bottom: 12px;
}
.footer-title::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to left, var(--gold), transparent);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 18px; }
.footer-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.72);
    font-size: 16px;
    transition: .35s;
}
.footer-links a::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0;
    transform: scale(0);
    transition: .35s;
}
.footer-links a:hover { color: #fff; transform: translateX(-8px); }
.footer-links a:hover::before { opacity: 1; transform: scale(1); }
.footer-contact-div { text-align: start; }
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.75);
    margin-bottom: 18px;
    transition: .3s;
}
.footer-contact a { color: inherit; }
.footer-contact p:hover { color: var(--gold); transform: translateX(-5px); }
.footer-contact i {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    color: var(--gold);
}
.footer-bottom {
    margin-top: 25px;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.footer-bottom p { margin: 0; color: rgba(255,255,255,.6); }
.footer-bottom a { color: var(--gold); }

@media (max-width: 991px) {
    .product-navbar { top: 30px; padding: 15px 0; }
    .navbar-brand img { height: 58px; }
    .navbar-collapse {
        margin-top: 20px;
        background: rgba(20,20,20,.92);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 20px;
    }
    .navbar-nav { gap: 0; }
    .navbar-nav .nav-link { text-align: center; padding: 14px 10px; }
    .product-hero { padding: 150px 0 115px; }
    .product-hero-content h1 { font-size: 56px; }
    .product-mini-info { grid-template-columns: 1fr; }
    .contact-cta-box { flex-direction: column; text-align: center; }
}

@media (max-width: 767px) {
    .header { min-height: 15px; }
    .product-navbar { top: 10px; padding: 0; }
    .product-hero { min-height: auto; padding: 115px 0 85px; }
    .hero-top-frame { transform: scale(1.08); }
    .hero-bottom-frame { transform: scale(1.12); }
    .hero-pattern { width: 110px; }
    .product-image-card { padding: 12px; border-radius: 22px; }
    .product-image-card img { border-radius: 16px; }
    .product-badge { top: 24px; right: 24px; font-size: 13px; padding: 8px 13px; }
    .product-hero-content { text-align: center; }
    .product-hero-content h1 { font-size: 42px; }
    .product-hero-content h2 { font-size: 24px; }
    .product-hero-content p { font-size: 16px; line-height: 1.9; }
    .hero-actions { justify-content: center; }
    .flavors-section,
    .product-story-section,
    .specs-section,
    .features-section,
    .contact-cta-section,
    .related-products-section { padding: 65px 0; }
    .section-heading h2,
    .product-story-section h2 { font-size: 32px; }
    .contact-cta-box { padding: 32px 22px; border-radius: 25px; }
    .contact-cta-box h2 { font-size: 27px; }
    .main-footer { text-align: center; padding-top: 70px; }
    .footer-top-shape { height: 50px; }
    .footer-contact-div { text-align: center; }
    .footer-contact p { justify-content: center; font-size: 15px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
