/* product-classic.css */

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


.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-navbar {
    position: absolute;
    top: 38px;
    left: 0;
    width: 100%;
    z-index: 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 80% 20%,
            var(--accent-soft),
            transparent 40%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #faf8f6 100%
        );
}

.product-image-card {
    position: relative;
    max-width: 580px;
    margin: auto;
    padding: 22px;
    border-radius: 36px;
    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 { 
    font-weight: 600;
    /* color: #2b1f1a;  */
}

.product-hero-content h1 {
    font-size: 78px;
    font-weight: 800;
    margin-bottom: 20px;
    /* 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: 40px;
}

.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 { 
    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); 
}


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

.section-heading h2{
    position: relative;
    display: inline-block;
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-red);
    padding-bottom: 15px;
}

.section-heading h2::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);

    width: 100%;
    height: 3px;
    background: linear-gradient( to right, transparent, #7c0703, transparent );

    border-radius: 50px;
}



.section-heading p {
    color: rgba(35,27,23,.72);
    font-size: 18px;
    max-width: 680px;
    margin: auto;
    line-height: 1.9;
}


.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-top: 50px;
    padding-bottom: 150px;
    overflow: hidden;
}



.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-top: 50px;
    padding-bottom: 100px;
    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;
    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; */
    border-radius: 20px 20px 0px 0px;
}
.related-card h3 {
    width: fit-content;
    min-width: 100%;
    margin: auto;
    padding: 13px 18px;
    border-radius: 0 0 16px 16px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

/* ========================================
PRODUCT PAGE RESPONSIVE
======================================== */

@media (max-width: 991px){

.product-hero{
    min-height:auto;
    padding:160px 0 100px;
}

.product-hero-content h1{
    font-size:52px;
}

.product-hero-content h2{
    font-size:28px;
}

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

.section-heading h2{
    font-size:36px;
}

.product-story-section h2{
    font-size:36px;
}

.contact-cta-box{
    flex-direction:column;
    text-align:center;
}

}

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

@media (max-width: 767px){

html,
body{
    overflow-x:hidden;
}

.hero-pattern{
    width:120px;
    opacity:.10;
}

.hero-pattern-left{
    top:120px;
}

.hero-pattern-right{
    bottom:80px;
}

.product-hero{
    min-height:auto;
    padding:130px 0 80px;
}

.product-image-card{
    padding:12px;
    border-radius:22px;
}

.product-image-card img{
    border-radius:16px;
}

.product-badge{
    top:15px;
    right:15px;
    font-size:13px;
    padding:8px 14px;
}

.product-hero-content{
    text-align:center;
    margin-top:30px;
}

.product-hero-content h1{
    font-size:36px;
    line-height:1.2;
    margin-bottom:15px;
}

.product-hero-content h2{
    font-size:22px;
    margin-bottom:15px;
}

.product-hero-content p{
    font-size:16px;
    line-height:1.9;
    margin-bottom:25px;
}

.hero-actions{
    justify-content:center;
}

.primary-btn,
.secondary-btn{
    width:100%;
}

.section-heading{
    margin-bottom:35px;
}

.section-heading h2{
    font-size:28px;
}

.section-heading p{
    font-size:15px;
}

.product-mini-info{
    grid-template-columns:1fr;
}

.product-mini-info div{
    padding:15px;
}

.flavors-section,
.specs-section,
.related-products-section{
    padding-top:40px;
    padding-bottom:80px;
}

.flavor-card{
    padding:12px 12px 20px;
}

.flavor-card h3{
    font-size:20px;
}

.flavor-card p{
    font-size:14px;
}

.product-story-section,
.features-section,
.contact-cta-section{
    padding-top:50px;
    padding-bottom:70px;
}

.product-story-section h2{
    font-size:30px;
}

.product-story-section p{
    font-size:16px;
}

.story-image{
    margin-bottom:25px;
}

.spec-card,
.feature-card{
    padding:25px 15px;
}

.spec-card h3,
.feature-card h3{
    font-size:18px;
}

.contact-cta-box{
    flex-direction:column;
    text-align:center;
    padding:30px 25px;
}

.contact-cta-box h2{
    font-size:26px;
}

.contact-cta-box p{
    font-size:15px;
}

.related-card h3{
    font-size:16px;
    padding:12px;
}

}

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

@media (max-width: 420px){

.product-hero-content h1{
    font-size:30px;
}

.product-hero-content h2{
    font-size:20px;
}

.section-heading h2{
    font-size:24px;
}

.contact-cta-box h2{
    font-size:22px;
}

}



