/*
Theme Name: Sacred Taste
Theme URI: https://sacredtastebd.com
Author: Sacred Taste
Author URI: https://sacredtastebd.com
Description: Custom one-page landing theme for Sacred Taste — Crafting Sweet Memories. Cake bouquets, gift boxes and sweet surprises.
Version: 1.0
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: sacred-taste
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,900;1,500&family=Poppins:wght@300;400;500;600;700&display=swap');

  .st-page{
    --ink:#0b0b0b;
    --ink-soft:#2a2a2a;
    --paper:#ffffff;
    --cream:#FAF7F2;
    --grey:#F5F5F5;
    --gold:#C9A227;
    --gold-soft:#e7d29a;
    --gold-wash:#f6efdd;
    --line: rgba(0,0,0,0.08);
    --shadow: 0 20px 60px -25px rgba(0,0,0,0.35);
    --shadow-soft: 0 12px 30px -18px rgba(0,0,0,0.25);
    --radius: 22px;
    --maxw: 1180px;
  }
  .st-page, .st-page *{box-sizing:border-box;}
  .st-page{
    margin:0;
    background:var(--cream);
    color:var(--ink);
    font-family:'Poppins',sans-serif;
    font-weight:400;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
    position:relative;
  }
  h1,h2,h3,h4{
    font-family:'Playfair Display',serif;
    margin:0;
    letter-spacing:0.2px;
  }
  p{margin:0;}
  a{color:inherit;text-decoration:none;}
  img{max-width:100%;display:block;}
  .wrap{max-width:var(--maxw); margin:0 auto; padding:0 28px;}
  .eyebrow{
    font-family:'Poppins',sans-serif;
    text-transform:uppercase;
    letter-spacing:3.5px;
    font-size:12px;
    font-weight:600;
    color:var(--gold);
    display:flex;
    align-items:center;
    gap:12px;
  }
  .eyebrow::before{content:"";width:26px;height:1px;background:var(--gold);}
  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:16px 34px;
    border-radius:999px;
    font-weight:600;
    font-size:14px;
    letter-spacing:0.5px;
    cursor:pointer;
    border:1px solid transparent;
    transition:all .35s cubic-bezier(.2,.8,.2,1);
    white-space:nowrap;
  }
  .btn-primary{background:var(--ink); color:#fff;}
  .btn-primary:hover{background:var(--gold); color:var(--ink); transform:translateY(-2px); box-shadow:0 14px 28px -12px rgba(201,162,39,0.55);}
  .btn-ghost{background:transparent; color:var(--ink); border-color:var(--ink);}
  .btn-ghost:hover{background:var(--ink); color:#fff; transform:translateY(-2px);}
  .btn-light{background:transparent; color:#fff; border-color:rgba(255,255,255,0.55);}
  .btn-light:hover{background:var(--gold); border-color:var(--gold); color:var(--ink);}

  /* Ribbon divider — signature motif */
  .ribbon{
    position:relative;
    height:64px;
    width:100%;
    overflow:hidden;
  }
  .ribbon svg{width:100%; height:100%; display:block;}

  /* Header */
  header{
    position:fixed; top:0; left:0; right:0; z-index:100;
    background:rgba(250,247,242,0.82);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    border-bottom:1px solid transparent;
    transition:border-color .3s ease, background .3s ease, padding .3s ease;
    padding:18px 0;
  }
  header.scrolled{border-color:var(--line); padding:12px 0; background:rgba(250,247,242,0.96);}
  .navbar{display:flex; align-items:center; justify-content:space-between; gap:24px;}
  .brand{display:flex; align-items:center; gap:12px;}
  .brand img{height:52px; width:52px; border-radius:50%; transition:height .3s ease, width .3s ease;}
  header.scrolled .brand img{height:42px; width:42px;}
  .brand-name{font-family:'Playfair Display',serif; font-size:20px; font-weight:700; letter-spacing:0.5px; line-height:1;}
  .brand-tag{font-size:10px; letter-spacing:2px; text-transform:uppercase; color:var(--gold); margin-top:3px;}
  nav.links{display:flex; gap:34px; font-size:14px; font-weight:500;}
  nav.links a{position:relative; padding:4px 0;}
  nav.links a::after{content:""; position:absolute; left:0; bottom:-2px; width:0; height:1px; background:var(--gold); transition:width .3s ease;}
  nav.links a:hover::after{width:100%;}
  .header-actions{display:flex; align-items:center; gap:14px;}
  .icon-btn{width:38px;height:38px;border-radius:50%;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;cursor:pointer;background:#fff;transition:all .3s ease;}
  .icon-btn:hover{background:var(--ink); border-color:var(--ink); color:#fff;}
  .burger{display:none; flex-direction:column; gap:5px; cursor:pointer; padding:6px;}
  .burger span{width:24px; height:2px; background:var(--ink);}
  .mobile-menu{display:none; position:fixed; inset:0; background:var(--cream); z-index:200; padding:100px 32px 40px; flex-direction:column; gap:26px; font-family:'Playfair Display',serif; font-size:28px;}
  .mobile-menu.open{display:flex;}
  .mobile-close{position:absolute; top:26px; right:28px; font-size:28px; cursor:pointer;}

  /* Hero */
  .hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    padding:150px 0 90px;
    background:
      radial-gradient(circle at 82% 18%, rgba(201,162,39,0.16), transparent 45%),
      radial-gradient(circle at 10% 85%, rgba(201,162,39,0.10), transparent 40%),
      var(--cream);
    overflow:hidden;
  }
  .hero::before{
    content:"";
    position:absolute; inset:0;
    background-image:
      linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,0,0,0.025) 1px, transparent 1px);
    background-size:64px 64px;
    -webkit-mask-image:radial-gradient(ellipse at center, black 10%, transparent 70%);
            mask-image:radial-gradient(ellipse at center, black 10%, transparent 70%);
    pointer-events:none;
  }
  .hero-grid{display:grid; grid-template-columns:1.05fr 0.95fr; gap:60px; align-items:center; position:relative; z-index:2;}
  .hero h1{
    font-size:clamp(40px, 5.4vw, 74px);
    line-height:1.05;
    font-weight:700;
    margin:20px 0 22px;
  }
  .hero h1 em{font-style:italic; color:var(--gold); font-weight:500;}
  .hero p.lead{font-size:18px; line-height:1.75; color:var(--ink-soft); max-width:480px; margin-bottom:36px; font-weight:300;}
  .hero-ctas{display:flex; gap:16px; flex-wrap:wrap; margin-bottom:44px;}
  .hero-trust{display:flex; gap:34px; flex-wrap:wrap;}
  .trust-item{display:flex; flex-direction:column;}
  .trust-item strong{font-family:'Playfair Display',serif; font-size:26px;}
  .trust-item span{font-size:12px; text-transform:uppercase; letter-spacing:1.5px; color:var(--ink-soft); margin-top:4px;}

  .hero-visual{position:relative; display:flex; align-items:center; justify-content:center;}
  .hero-card{
    position:relative;
    width:100%;
    aspect-ratio:4/5;
    border-radius:32px;
    background:
      radial-gradient(circle at 30% 20%, rgba(255,255,255,0.5), transparent 55%),
      linear-gradient(160deg, #1a1a1a 0%, #000 60%);
    box-shadow:var(--shadow);
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
  }
  .hero-card .ring{
    position:absolute;
    width:78%; aspect-ratio:1/1;
    border:1px solid rgba(201,162,39,0.5);
    border-radius:50%;
  }
  .hero-card .ring.r2{width:58%; border-color:rgba(201,162,39,0.3);}
  .hero-card .center-mono{
    position:relative; z-index:2; text-align:center; color:#fff;
  }
  .hero-card .center-mono img{width:130px; margin:0 auto 18px; filter:invert(1) brightness(1.6);}
  .hero-card .center-mono span{font-family:'Playfair Display',serif; font-style:italic; font-size:14px; letter-spacing:2px; color:var(--gold-soft); text-transform:uppercase;}
  .float-badge{
    position:absolute;
    background:#fff;
    border-radius:18px;
    padding:14px 18px;
    box-shadow:var(--shadow-soft);
    display:flex;
    align-items:center;
    gap:10px;
    font-size:13px;
    font-weight:600;
  }
  .float-badge.b1{top:6%; left:-6%;}
  .float-badge.b2{bottom:9%; right:-7%;}
  .float-badge .dot{width:8px;height:8px;border-radius:50%; background:var(--gold);}

  /* Section shells */
  section{position:relative; scroll-margin-top:100px;}
  .section-pad{padding:110px 0;}
  .section-head{text-align:center; max-width:640px; margin:0 auto 64px;}
  .section-head h2{font-size:clamp(30px,3.6vw,46px); font-weight:600; margin:16px 0 18px; line-height:1.15;}
  .section-head p{color:var(--ink-soft); font-size:16px; line-height:1.7; font-weight:300;}
  .section-head .eyebrow{justify-content:center;}
  .section-head .eyebrow::after{content:""; width:26px; height:1px; background:var(--gold);}

  /* Why Sacred Taste */
  /* Collections Slider */
  .collections{background:var(--cream);}
  .slider{position:relative; padding:0 74px;}
  .slider-track-wrap{overflow:hidden; border-radius:24px;}
  .slider-track{display:flex; transition:transform .55s cubic-bezier(.2,.8,.2,1);}
  .slide{
    position:relative; flex:0 0 100%; aspect-ratio:16/7.2; border-radius:24px; overflow:hidden;
    display:flex; align-items:flex-end; cursor:pointer;
  }
  .slide .bg{position:absolute; inset:0; background-size:cover; background-position:center; transition:transform 8s ease;}
  .slide.is-active .bg{transform:scale(1.06);}
  .slide::after{content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.05) 100%);}
  .slide-content{position:relative; z-index:2; color:#fff; padding:46px 56px; max-width:520px;}
  .slide-content .eyebrow{color:var(--gold-soft); margin-bottom:14px;}
  .slide-content .eyebrow::before{background:var(--gold-soft);}
  .slide-content h3{font-size:clamp(26px,3.4vw,42px); font-weight:600; margin-bottom:14px; line-height:1.1;}
  .slide-content p{font-size:14.5px; color:rgba(255,255,255,0.78); font-weight:300; line-height:1.7; margin-bottom:24px; max-width:400px;}
  .slider-nav{
    position:absolute; top:50%; transform:translateY(-50%);
    width:52px; height:52px; border-radius:50%; background:#fff; border:1px solid var(--line);
    display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:5;
    box-shadow:var(--shadow-soft); transition:background .3s ease, color .3s ease;
  }
  .slider-nav:hover{background:var(--ink); color:#fff;}
  .slider-nav.prev{left:6px;}
  .slider-nav.next{right:6px;}
  .slider-dots{display:flex; justify-content:center; gap:10px; margin-top:26px;}
  .slider-dot{width:9px; height:9px; border-radius:50%; background:var(--line); border:1px solid transparent; cursor:pointer; transition:all .3s ease;}
  .slider-dot.active{background:var(--gold); width:26px; border-radius:6px;}
  @media (max-width:720px){
    .slider{padding:0 8px;}
    .slider-nav{width:40px; height:40px;}
    .slider-nav.prev{left:-2px;}
    .slider-nav.next{right:-2px;}
    .slide-content{padding:28px 26px;}
    .slide{aspect-ratio:4/5;}
  }

  /* Best sellers */
  .sellers{background:var(--paper);}
  .prod-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:24px;}
  .prod-card{
    background:var(--cream);
    border-radius:20px;
    overflow:hidden;
    border:1px solid var(--line);
    transition:box-shadow .35s ease, transform .35s ease;
  }
  .prod-card:hover{box-shadow:var(--shadow-soft); transform:translateY(-6px);}
  .prod-media{position:relative; aspect-ratio:1/1;}
  .prod-badge{position:absolute; top:12px; left:12px; background:var(--ink); color:#fff; font-size:10px; letter-spacing:1px; text-transform:uppercase; padding:6px 12px; border-radius:999px; z-index:2;}
  .prod-wish{position:absolute; top:12px; right:12px; width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,0.9); display:flex; align-items:center; justify-content:center; z-index:2; cursor:pointer;}
  .prod-body{padding:20px;}
  .prod-body .rating{font-size:11px; color:var(--gold); letter-spacing:2px; margin-bottom:8px;}
  .prod-body h4{font-size:16px; font-weight:600; margin-bottom:6px;}
  .prod-body .price{display:flex; align-items:baseline; gap:8px; margin:10px 0 4px;}
  .prod-body .price strong{font-family:'Playfair Display',serif; font-size:19px;}
  .prod-body .price s{color:#999; font-size:13px;}
  .prod-body .note{font-size:12px; color:var(--ink-soft); margin:0 0 14px; font-weight:300;}
  .prod-cta{display:flex; gap:8px;}
  .prod-cta .btn{flex:1; padding:11px 10px; font-size:12px;}
  .prod-cta .icon-btn{flex-shrink:0;}

  /* Special moments */
  .moments{background:var(--ink); color:#fff;}
  .moments .section-head p{color:rgba(255,255,255,0.65);}
  .moments .eyebrow{color:var(--gold-soft);}
  .moments .eyebrow::before,.moments .eyebrow::after{background:var(--gold-soft);}
  .moments-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:rgba(255,255,255,0.1); border-radius:20px; overflow:hidden;}
  .moment-item{
    background:#0b0b0b;
    padding:38px 22px;
    display:flex; flex-direction:column; align-items:center; text-align:center; gap:14px;
    transition:background .3s ease;
  }
  .moment-item:hover{background:#161616;}
  .moment-item .m-icon{width:48px; height:48px; border-radius:50%; border:1px solid var(--gold-soft); display:flex; align-items:center; justify-content:center; color:var(--gold-soft);}
  .moment-item span{font-size:13.5px; font-weight:500; letter-spacing:0.3px;}

  /* Reviews */
  .reviews{background:var(--cream);}
  .review-track{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
  .review-card{background:#fff; border-radius:20px; padding:32px; border:1px solid var(--line);}
  .review-stars{color:var(--gold); font-size:14px; letter-spacing:2px; margin-bottom:16px;}
  .review-card p{font-size:14.5px; line-height:1.8; color:var(--ink-soft); font-weight:300; margin-bottom:22px;}
  .review-person{display:flex; align-items:center; gap:12px;}
  .review-avatar{width:42px;height:42px;border-radius:50%; background:var(--ink); color:var(--gold); display:flex; align-items:center; justify-content:center; font-family:'Playfair Display',serif; font-weight:700;}
  .review-name{font-size:13.5px; font-weight:600;}
  .review-verified{font-size:11px; color:var(--gold); display:flex; align-items:center; gap:4px; margin-top:2px;}

  /* Instagram gallery */
  .gallery{background:var(--paper);}
  .gal-grid{display:grid; grid-template-columns:repeat(5,1fr); gap:14px;}
  .gal-item{position:relative; aspect-ratio:1/1; border-radius:14px; overflow:hidden; cursor:pointer;}
  .gal-item .bg{position:absolute; inset:0; transition:transform .5s ease;}
  .gal-item:hover .bg{transform:scale(1.1);}
  .gal-item .gal-overlay{position:absolute; inset:0; background:rgba(0,0,0,0.45); display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity .3s ease; color:#fff;}
  .gal-item:hover .gal-overlay{opacity:1;}

  /* Offer banner */
  .offer{
    background:linear-gradient(135deg, #000 0%, #1c1608 100%);
    color:#fff;
    padding:100px 0;
    text-align:center;
    position:relative;
    overflow:hidden;
  }
  .offer::before{
    content:""; position:absolute; width:600px; height:600px; border-radius:50%;
    background:radial-gradient(circle, rgba(201,162,39,0.25), transparent 70%);
    top:-260px; left:50%; transform:translateX(-50%);
  }
  .offer-inner{position:relative; z-index:2; max-width:640px; margin:0 auto;}
  .offer h2{font-size:clamp(30px,4vw,48px); margin:18px 0 20px; font-weight:600;}
  .offer p{color:rgba(255,255,255,0.7); font-size:16px; margin-bottom:38px; font-weight:300;}
  .countdown{display:flex; justify-content:center; gap:16px; margin-bottom:40px;}
  .cd-box{background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.15); border-radius:14px; padding:16px 20px; min-width:74px;}
  .cd-box strong{font-family:'Playfair Display',serif; font-size:28px; display:block;}
  .cd-box span{font-size:10px; text-transform:uppercase; letter-spacing:1.5px; color:rgba(255,255,255,0.55);}

  /* FAQ */
  .faq{background:var(--cream);}
  .faq-list{max-width:760px; margin:0 auto;}
  .faq-item{border-bottom:1px solid var(--line); padding:26px 0;}
  .faq-q{display:flex; align-items:center; justify-content:space-between; cursor:pointer; gap:20px;}
  .faq-q h4{font-size:17px; font-weight:500; font-family:'Poppins',sans-serif;}
  .faq-plus{font-size:22px; color:var(--gold); transition:transform .3s ease; flex-shrink:0;}
  .faq-item.open .faq-plus{transform:rotate(45deg);}
  .faq-a{max-height:0; overflow:hidden; transition:max-height .35s ease;}
  .faq-item.open .faq-a{max-height:400px;}
  .faq-a p{padding-top:14px; font-size:14.5px; color:var(--ink-soft); line-height:1.75; font-weight:300; max-width:640px;}

  /* Footer */
  footer{background:#000; color:rgba(255,255,255,0.75); padding:90px 0 30px;}
  .foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1.3fr; gap:50px; padding-bottom:60px; border-bottom:1px solid rgba(255,255,255,0.1);}
  .foot-brand{display:flex; align-items:center; gap:12px; margin-bottom:18px;}
  .foot-brand img{height:44px; width:44px; border-radius:50%;}
  .foot-brand strong{font-family:'Playfair Display',serif; color:#fff; font-size:19px;}
  footer p.desc{font-size:14px; line-height:1.75; font-weight:300; max-width:280px;}
  footer h5{color:#fff; font-family:'Poppins',sans-serif; font-size:13px; letter-spacing:1.5px; text-transform:uppercase; margin-bottom:20px; font-weight:600;}
  footer ul{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:12px;}
  footer ul a{font-size:14px; font-weight:300; transition:color .25s ease;}
  footer ul a:hover{color:var(--gold);}
  .foot-social{display:flex; gap:12px; margin-top:20px;}
  .foot-social a{width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,0.2); display:flex; align-items:center; justify-content:center; transition:all .3s ease;}
  .foot-social a:hover{background:var(--gold); border-color:var(--gold); color:#000;}
  .newsletter{display:flex; gap:0; margin-top:8px;}
  .newsletter input{flex:1; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.18); border-right:none; border-radius:999px 0 0 999px; padding:13px 18px; color:#fff; font-family:'Poppins',sans-serif; font-size:13px;}
  .newsletter input::placeholder{color:rgba(255,255,255,0.4);}
  .newsletter button{background:var(--gold); border:none; border-radius:0 999px 999px 0; padding:0 22px; cursor:pointer; font-weight:600; font-size:13px;}
  .foot-bottom{display:flex; justify-content:space-between; align-items:center; padding-top:26px; font-size:12.5px; flex-wrap:wrap; gap:14px;}
  .foot-bottom .legal{display:flex; gap:22px;}
  .foot-bottom .legal a:hover{color:var(--gold);}

  /* Floating elements */
  .whatsapp-float{
    position:fixed; bottom:26px; right:26px; z-index:150;
    width:60px; height:60px; border-radius:50%; background:#000;
    display:flex; align-items:center; justify-content:center;
    box-shadow:var(--shadow-soft); cursor:pointer;
    border:1px solid var(--gold);
    transition:transform .3s ease;
  }
  .whatsapp-float:hover{transform:scale(1.08);}
  .backtotop{
    position:fixed; bottom:26px; left:26px; z-index:150;
    width:46px; height:46px; border-radius:50%; background:#fff;
    display:flex; align-items:center; justify-content:center;
    box-shadow:var(--shadow-soft); cursor:pointer; border:1px solid var(--line);
    opacity:0; pointer-events:none; transition:opacity .3s ease, transform .3s ease;
  }
  .backtotop.show{opacity:1; pointer-events:auto;}
  .sticky-cta{
    position:fixed; bottom:0; left:0; right:0; z-index:140;
    background:#fff; border-top:1px solid var(--line);
    padding:14px 20px; display:none; align-items:center; justify-content:space-between; gap:14px;
    box-shadow:0 -12px 30px -20px rgba(0,0,0,0.3);
  }
  .sticky-cta .btn{flex:1;}

  /* Reveal animation */
  .reveal{opacity:0; transform:translateY(28px); transition:opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1);}
  .reveal.in{opacity:1; transform:translateY(0);}

  @media (max-width: 1024px){
    .hero-grid{grid-template-columns:1fr; text-align:center;}
    .hero p.lead{margin-left:auto; margin-right:auto;}
    .hero-ctas, .hero-trust{justify-content:center;}
    .hero-visual{max-width:420px; margin:0 auto;}
    .float-badge{padding:10px 14px; font-size:11.5px; border-radius:14px; gap:6px; white-space:nowrap;}
    .float-badge.b1{top:14px; left:14px;}
    .float-badge.b2{bottom:14px; right:14px;}
    .prod-grid{grid-template-columns:repeat(2,1fr);}
    .moments-grid{grid-template-columns:repeat(2,1fr);}
    .review-track{grid-template-columns:1fr;}
    .gal-grid{grid-template-columns:repeat(3,1fr);}
    .foot-grid{grid-template-columns:1fr 1fr; gap:36px;}
  }
  @media (max-width: 720px){
    nav.links{display:none;}
    .burger{display:flex;}
    .section-pad{padding:76px 0;}
    .gal-grid{grid-template-columns:repeat(2,1fr);}
    .sticky-cta{display:flex;}
    .foot-grid{grid-template-columns:1fr;}
    .foot-bottom{flex-direction:column; align-items:flex-start;}
    .st-page{padding-bottom:70px;}
    .whatsapp-float{bottom:86px;}
    .backtotop{bottom:86px;}
  }
  @media (max-width: 380px){
    .float-badge{padding:8px 11px; font-size:10.5px;}
    .float-badge.b1{top:10px; left:10px;}
    .float-badge.b2{bottom:10px; right:10px;}
  }
  @media (prefers-reduced-motion: reduce){
    .st-page *{animation:none !important; transition:none !important;}
  }
  /* WordPress admin-bar offset so the fixed header doesn't sit under the toolbar */
  body.admin-bar .st-page #st-siteHeader{top:32px;}
  @media (max-width:782px){
    body.admin-bar .st-page #st-siteHeader{top:46px;}
  }
