:root{
  --bg: #FBF7EA;
  --bg-alt: #FDFBF3;
  --cream-border: #F0E4C8;
  --ink: #2B160A;
  --brown: #5A3A24;
  --brown-light: #8A6A4E;
  --footer-bg: #3A150A;
  --footer-text: #E8C9A8;
  --orange: #EA5A24;
  --orange-dark: #D8431A;
  --red: #DC2626;
  --green: #1E9E4F;
  --green-bg: #E6F6EC;
  --white: #FFFFFF;
  --shadow: 0 4px 18px rgba(90,50,20,0.08);
  --shadow-lg: 0 12px 32px rgba(90,50,20,0.14);
  --radius: 14px;
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
}
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a{ color: inherit; text-decoration: none; }
img{ max-width:100%; display:block; }
button{ font-family: inherit; cursor:pointer; }
input, textarea{ font-family: inherit; }

/* ---------- Marquee ---------- */
.marquee-bar{
  background: linear-gradient(90deg, var(--orange), var(--red));
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 0;
}
.marquee-track{
  display: inline-flex;
  animation: marquee 22s linear infinite;
}
.marquee-track span{ padding-right: 0; }
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ---------- Header ---------- */
.site-header{
  background: #fff;
  border-bottom: 1px solid var(--cream-border);
  position: sticky; top:0; z-index: 50;
}
.header-inner{
  max-width: 100%;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex; align-items: center; justify-content: space-between;
}
@media (min-width: 861px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
  }
}
.brand-group { justify-self: start; }
.brand{ display:flex; align-items:center; gap:10px; }
.header-search {
  display: flex; align-items: center; background: #fff; border-radius: 999px;
  padding: 4px 14px; max-width: 300px; width: 100%;
  border: 1px solid var(--cream-border); box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.site-header.home-header .header-search { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.9); }
.header-search input {
  border: none; background: transparent; outline: none; flex: 1;
  font-size: 13px; font-weight: 500; color: var(--ink); padding: 6px;
}
.header-search button {
  background: none; border: none; color: var(--brown-light); padding: 4px;
}
.brand-logo{
  width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #F6A93B, #E8552A 60%, #7B3FA0);
  display:flex; align-items:center; justify-content:center;
  font-size: 18px;
}
.brand-text{ display:flex; flex-direction:column; font-family: var(--font-display); font-weight: 800; font-size: 18px; line-height: 1.1; color: var(--ink); white-space: nowrap; }
.brand-text small{ font-family: var(--font-body); font-weight: 700; font-size: 10px; letter-spacing: 1.5px; color: var(--orange); white-space: nowrap; }
.main-nav{ display:flex; gap: 48px; font-weight: 600; font-size: 15px; color: var(--brown); justify-content: center; flex: auto; }
.main-nav a:hover, .main-nav a.active{ color: var(--orange); }

@media (max-width: 500px) {
  .brand-logo { width: 32px; height: 32px; font-size: 14px; }
  .brand-text { font-size: 15px; }
  .brand-text small { font-size: 9px; letter-spacing: 1px; }
}
.header-actions{ display:flex; align-items:center; gap: 14px; flex: 1; justify-content: flex-end; }
.cart-btn{
  background: none; border: none; display:flex; align-items:center; gap:8px;
  font-weight: 600; font-size: 14px; color: var(--ink); position: relative;
}
.cart-count{
  background: var(--red); color:#fff; font-size: 11px; font-weight: 700;
  min-width: 18px; height:18px; border-radius: 50%; display:inline-flex; align-items:center; justify-content:center;
  padding: 0 4px;
}
.login-btn{
  border: 1.5px solid #E9D9A8; border-radius: 999px; padding: 8px 18px;
  font-weight: 600; font-size: 14px; display:flex; align-items:center; gap:6px;
}
.login-btn:hover{ border-color: var(--orange); color: var(--orange); }
.mobile-toggle{ display:none; background:none; border: 2px solid var(--ink); border-radius: 6px; font-size:24px; padding: 4px 8px; color: var(--ink); }
.mobile-nav{ display:none; flex-direction:column; padding: 10px 24px 24px; gap: 8px; border-top:1px solid var(--cream-border); background: #fff; }
.mobile-nav a{ padding: 16px 0; font-weight:600; font-size: 16px; color: var(--ink); }
.mobile-nav.open{ display:flex; }

@media (max-width: 860px){
  .main-nav, .header-search, .header-actions .login-btn { display:none; }
  .mobile-toggle{ display:block; margin-left: 15px; }
  .header-inner { padding: 14px 20px; }
}

/* ---------- Home Header (Merged with Hero) ---------- */
.site-header.home-header {
  position: absolute !important;
  top: 0 !important; left: 0 !important; width: 100% !important;
  background: transparent !important;
  border-bottom: none !important;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 768px) {
  .site-header.home-header .brand-text,
  .site-header.home-header .main-nav a,
  .site-header.home-header .cart-btn,
  .site-header.home-header .mobile-toggle {
    color: #fff !important;
  }
  .site-header.home-header .mobile-toggle {
    border-color: #fff !important;
  }
}
.site-header.home-header .brand-text { color: #fff; transition: color 0.3s; }
.site-header.home-header .brand-text small { color: #ffb703; }
.site-header.home-header .main-nav a { color: #e9d9bf; transition: color 0.3s; }
.site-header.home-header .main-nav a:hover, .site-header.home-header .main-nav a.active { color: #fff; }
.site-header.home-header .cart-btn { color: #fff; transition: color 0.3s; }
.site-header.home-header .login-btn { color: #fff; border-color: rgba(255,255,255,0.4); transition: color 0.3s, border-color 0.3s; }
.site-header.home-header .login-btn:hover { border-color: #fff; }
.site-header.home-header .mobile-toggle { color: #fff; border-color: #fff; transition: color 0.3s, border-color 0.3s; }
.site-header.home-header .header-search { transition: border-color 0.3s, background 0.3s; }

/* Scrolled State for Home Header */
.site-header.home-header.scrolled {
  background: #fff !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.site-header.home-header.scrolled .brand-text { color: var(--ink); }
.site-header.home-header.scrolled .main-nav a { color: var(--ink); }
.site-header.home-header.scrolled .main-nav a:hover, .site-header.home-header.scrolled .main-nav a.active { color: var(--orange); }
.site-header.home-header.scrolled .cart-btn { color: var(--ink); }
.site-header.home-header.scrolled .login-btn { color: var(--ink); border-color: #E9D9A8; }
.site-header.home-header.scrolled .login-btn:hover { border-color: var(--orange); color: var(--orange); }
.site-header.home-header.scrolled .mobile-toggle { color: var(--ink); border-color: var(--ink); }
.site-header.home-header.scrolled .header-search { border-color: var(--cream-border); background: #fff; }

/* ---------- Hero ---------- */
.hero{ background: linear-gradient(180deg, #FDF3E2, var(--bg)); padding: 40px 24px 0; }
.hero-inner{
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items:center;
  padding-bottom: 24px;
}
.hero-stats{ display:flex; gap: 42px; flex-wrap: wrap; }
.hero-stats div{ display:flex; flex-direction:column; }
.hero-stats strong{ font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--ink); }
.hero-stats span{ font-size: 13px; color: var(--brown-light); font-weight: 600; }
.hero-media{ position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-media img{ width:100%; height: 260px; object-fit: cover; }
.hero-badge{
  position:absolute; left:20px; bottom:-24px; background:#fff; border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 12px 18px; display:flex; align-items:center; gap: 10px;
}
.hero-badge-icon{ width:34px; height:34px; border-radius:50%; background:var(--green-bg); display:flex; align-items:center; justify-content:center; }
.hero-badge small{ display:block; color: var(--brown-light); font-size: 11px; }
.hero-badge strong{ font-size: 13px; }
@media (max-width: 860px){
  .hero-inner{ grid-template-columns: 1fr; }
}

/* ---------- Trust strip ---------- */
.trust-strip{ background: #FCF3DC; border-top:1px solid var(--cream-border); border-bottom:1px solid var(--cream-border); margin-top: 40px; }
.trust-strip-inner{
  max-width: 1280px; margin:0 auto; padding: 18px 24px;
  display:flex; flex-wrap: wrap; gap: 24px; justify-content: space-around;
  font-size: 13.5px; font-weight: 600; color: var(--brown);
}
@media (max-width: 600px) {
  .trust-strip-inner { flex-direction: column; align-items: center; gap: 12px; padding: 24px 20px 24px; }
  .trust-strip-inner span { width: 100%; text-align: center; }
}

/* ---------- Sections ---------- */
.section{ max-width: 1280px; margin: 0 auto; padding: 48px 24px; }
.section-head{ display:flex; align-items:baseline; justify-content:space-between; margin-bottom: 22px; }
.section-head h2{ font-family: var(--font-display); font-size: 28px; font-weight: 800; margin:0; }
.see-all{ color: var(--orange); font-weight: 700; font-size: 14px; }
.see-all:hover{ text-decoration: underline; }

/* ---------- Category grid ---------- */
.category-grid{ display:grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.category-card{
  background:#fff; border: 1px solid var(--cream-border); border-radius: var(--radius);
  padding: 22px 10px; display:flex; flex-direction:column; align-items:center; gap: 10px;
  text-align:center; font-weight: 600; font-size: 13.5px; color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.category-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--orange); }
.category-icon{ font-size: 26px; }
@media (max-width: 1000px){ .category-grid{ grid-template-columns: repeat(4,1fr); } }
@media (max-width: 560px){ .category-grid{ grid-template-columns: repeat(2,1fr); } }

/* ---------- Product grid / card ---------- */
.product-grid{ display:grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 1200px){ .product-grid{ grid-template-columns: repeat(4,1fr); } }
@media (max-width: 900px){ .product-grid{ grid-template-columns: repeat(3,1fr); } }
@media (max-width: 600px){ .product-grid{ grid-template-columns: repeat(2,1fr); } }

.product-card{
  background:#fff; border-radius: 12px; overflow:hidden; border:1px solid #f0e6d2;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04); transition: transform .3s cubic-bezier(0.25,0.8,0.25,1), box-shadow .3s cubic-bezier(0.25,0.8,0.25,1), border-color .3s;
  display:flex; flex-direction:column; position: relative;
}
.product-card:hover{ 
  transform: translateY(-4px); 
  box-shadow: 0 8px 24px rgba(234, 90, 36, 0.12); 
  border-color: rgba(234, 90, 36, 0.3);
}
.product-img-wrap{ position:relative; display:block; aspect-ratio: 1; background:#faf8f2; overflow:hidden; }
.product-img-wrap img{ width:100%; height:100%; object-fit: cover; transition: transform .6s cubic-bezier(0.25,1,0.5,1); }
.product-card:hover .product-img-wrap img{ transform: scale(1.1); }

/* Blasting Firework Effect on Hover */
.product-img-wrap::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  pointer-events: none;
  background-image: 
    radial-gradient(circle, #ffb703 12%, transparent 12%),
    radial-gradient(circle, #ea5a24 10%, transparent 10%),
    radial-gradient(circle, #ff6a3d 12%, transparent 12%),
    radial-gradient(circle, #ffb703 8%, transparent 8%),
    radial-gradient(circle, #fff 14%, transparent 14%),
    radial-gradient(circle, #ea5a24 10%, transparent 10%);
  background-repeat: no-repeat;
  opacity: 0;
  transform: translate(-50%, -50%);
}
.product-card:hover .product-img-wrap::after {
  animation: blast-sparks 0.7s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes blast-sparks {
  0% {
    opacity: 1;
    background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    background-position: 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%;
  }
  100% {
    opacity: 0;
    background-size: 15% 15%, 20% 20%, 12% 12%, 18% 18%, 10% 10%, 14% 14%;
    background-position: 10% 10%, 90% 15%, 85% 85%, 15% 80%, 50% 10%, 10% 50%;
  }
}
.badge{ position:absolute; top:8px; font-size: 10px; font-weight: 800; padding: 3px 6px; border-radius: 4px; z-index: 10; }
.badge-off{ right:8px; background: var(--red); color:#fff; }
.badge-green{ right:8px; top: 32px; background: var(--green); color:#fff; }
.badge-featured{ left:8px; background: var(--ink); color:#fff; letter-spacing: 0.5px; }
.product-info{ padding: 16px 12px 12px; display:flex; flex-direction:column; gap: 4px; flex:1; background: #fff; }
.product-cat { text-transform: uppercase; font-size: 10px; font-weight: 800; color: var(--orange); letter-spacing: 1px; margin-bottom: 2px; }
.product-name{ font-weight: 800; font-size: 14px; color: var(--ink); line-height:1.3; }
.product-name:hover{ color: var(--orange); }
.product-unit{ font-size: 11px; color: var(--brown-light); font-weight: 600; margin-bottom: 4px; }
.product-price{ margin: 2px 0 10px; display: flex; align-items: baseline; }
.price-now{ font-weight: 800; font-size: 17px; color: var(--ink); }
.price-mrp{ font-size: 12px; color: #B9A488; text-decoration: line-through; margin-left: 8px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap: 6px;
  border:none; border-radius: 8px; font-weight: 700; font-size: 12px;
  padding: 8px 14px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary{ background: linear-gradient(180deg, var(--orange), var(--orange-dark)); color:#fff; box-shadow: 0 4px 14px rgba(216,67,26,.3); }
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 8px 20px rgba(216,67,26,.38); }
.btn-primary:active{ transform: translateY(0); }
.btn-whatsapp{ background: #25D366; color:#fff; margin-top: 10px; }
.btn-whatsapp:hover{ background:#1fb956; }
.btn-block{ width:100%; }
.btn-lg{ padding: 15px 26px; font-size: 15px; }

/* ---------- CTA banner ---------- */
.cta-banner{
  margin: 20px 24px 60px; max-width: 1280px; margin-left:auto; margin-right:auto;
  background: linear-gradient(120deg, #2B160A, #4A2210);
  border-radius: 16px; padding: 32px 24px; text-align:center; color:#fff;
  position: relative; overflow:hidden;
}
.cta-banner::before{
  content:''; position:absolute; inset:0;
  background: radial-gradient(circle at 20% 20%, rgba(234,90,36,.35), transparent 40%),
              radial-gradient(circle at 80% 80%, rgba(123,63,160,.35), transparent 40%);
}
.cta-banner > div{ position: relative; }
.cta-banner h2{ font-family: var(--font-display); font-size: 28px; margin: 0 0 10px; line-height: 1.3; }
.cta-banner p{ color: #E8C9A8; max-width: 560px; margin: 0 auto 20px; font-size: 15px; line-height: 1.5; }

@media (max-width: 600px) {
  .cta-banner { padding: 20px 16px; margin: 20px 16px 40px; border-radius: 12px; }
  .cta-banner h2 { font-size: 20px; margin-bottom: 6px; }
  .cta-banner p { font-size: 13px; margin-bottom: 16px; line-height: 1.4; }
  .cta-banner .btn-lg { padding: 10px 20px; font-size: 14px; }
}

/* ---------- Shop page ---------- */
.shop-page h1{ font-family: var(--font-display); font-size: 30px; margin: 0 0 20px; }
.shop-head{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; margin-bottom: 20px; }
.shop-head h1{ margin:0; }
.search-wrap{
  display:flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--cream-border);
  border-radius: 10px; padding: 10px 14px; min-width: 260px; color: var(--brown-light);
}
.search-wrap input{ border:none; outline:none; flex:1; font-size:14px; background:transparent; }
.cat-pills{ 
  display:flex; gap:10px; flex-wrap:nowrap; overflow-x: auto; 
  margin-bottom: 24px; padding-bottom: 6px; 
  -ms-overflow-style: none; scrollbar-width: none; 
}
.cat-pills::-webkit-scrollbar { display: none; }
.pill{
  background:#fff; border:1px solid var(--cream-border); border-radius: 999px;
  padding: 9px 18px; font-weight: 600; font-size: 13px; color: var(--brown);
  transition: all .15s ease; box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  white-space: nowrap; flex-shrink: 0;
}
.pill:hover{ border-color: var(--orange); color: var(--orange); }
.pill.active{ background: var(--ink); color:#fff; border-color: var(--ink); }
.empty-msg{ color: var(--brown-light); padding: 40px 0; }

/* Shop Layout (Sidebar & Main) */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: start; }
@media (max-width: 900px) { .shop-layout { grid-template-columns: 1fr; } .shop-sidebar { display: none; } }

.shop-sidebar { background: #fff; border-radius: 12px; padding: 20px; border: 1px solid var(--cream-border); }
.sidebar-title { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--cream-border); }
.filter-group { margin-bottom: 20px; }
.filter-heading { font-weight: 700; font-size: 13px; color: var(--brown-light); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; display:flex; align-items:center; gap:6px; }
.filter-list { display: flex; flex-direction: column; gap: 8px; }
.filter-link { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--ink); padding: 6px 8px; border-radius: 6px; transition: background 0.2s; }
.filter-link:hover { background: var(--bg); color: var(--orange); }
.filter-link.active { background: var(--bg-alt); font-weight: 700; color: var(--orange); }
.filter-link .count { color: var(--brown-light); font-size: 12px; }

.shop-main-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--cream-border); }
.showing-text { font-size: 14px; color: var(--brown-light); font-weight: 600; }
.sort-dropdown { font-size: 14px; font-weight: 600; color: var(--ink); }
.sort-dropdown select { background: #fff; border: 1px solid var(--cream-border); border-radius: 6px; padding: 6px 10px; outline: none; font-weight: 600; margin-left: 6px; }

@media (max-width: 600px) {
  .product-info { padding: 12px 10px 10px; }
  .badge { font-size: 8px; padding: 2px 4px; }
  .product-name { font-size: 13px; }
  .price-now { font-size: 15px; }
  .price-mrp { font-size: 11px; margin-left: 4px; }
  .btn { font-size: 11px; padding: 6px 10px; }
  .shop-main-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sort-dropdown { align-self: flex-end; }
}


/* ---------- Product detail ---------- */
.pd-grid{ display:grid; grid-template-columns: 1.1fr 1fr; gap: 48px; }
.pd-img{ border-radius: 18px; overflow:hidden; aspect-ratio: 1/1; background:#111; }
.pd-img img{ width:100%; height:100%; object-fit:cover; }
.pd-cat{ color: var(--orange); font-weight: 800; font-size: 12px; letter-spacing: 1px; margin-bottom: 6px; }
.pd-info h1{ font-family: var(--font-display); font-size: 30px; margin: 0 0 6px; }
.pd-unit{ color: var(--brown-light); font-weight: 600; margin-bottom: 14px; }
.pd-badges{ display:flex; gap:10px; margin-bottom: 16px; }
.pd-badges .badge{ position: static; }
.pd-price{ display:flex; align-items:baseline; gap: 12px; margin-bottom: 18px; }
.pd-price .price-now{ font-size: 30px; }
.price-save{ color: var(--green); font-weight: 700; font-size: 14px; }
.pd-desc{ color: var(--brown); line-height: 1.6; margin-bottom: 26px; }
.pd-actions{ display:flex; gap: 14px; align-items:center; flex-wrap:wrap; margin-bottom: 22px; }
.qty-stepper{ display:flex; align-items:center; border:1.5px solid var(--cream-border); border-radius: 10px; overflow:hidden; }
.qty-stepper button{ background:#fff; border:none; width:38px; height:44px; font-size:18px; font-weight:700; color: var(--brown); }
.qty-stepper button:hover{ background: var(--bg); }
.qty-stepper span{ width: 40px; text-align:center; font-weight:700; }
.qty-stepper.big span{ width: 50px; font-size: 16px; }
.pd-info-strip{ display:flex; gap:14px; flex-wrap:wrap; }
.pd-info-strip div{
  background: #FCF3DC; border:1px solid var(--cream-border); border-radius: 10px;
  padding: 10px 16px; font-size: 13px; font-weight: 600; color: var(--brown);
}
@media (max-width: 800px){ .pd-grid{ grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-page h1{ font-family: var(--font-display); font-size: 32px; margin: 0 0 14px; }
.about-lead{ color: var(--brown); max-width: 720px; line-height: 1.7; margin-bottom: 34px; }
.about-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-card{ background:#fff; border:1px solid var(--cream-border); border-radius: var(--radius); padding: 24px; }
.about-icon{ font-size: 24px; }
.about-card h3{ margin: 12px 0 6px; font-size: 17px; }
.about-card p{ color: var(--brown-light); margin:0; font-size:14px; line-height:1.5; }
@media (max-width: 700px){ .about-grid{ grid-template-columns: 1fr; } }

/* ---------- Auth ---------- */
.auth-page{ display:flex; justify-content:center; padding-top: 60px; padding-bottom: 100px;}
.auth-card{ background:#fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 40px; width: 100%; max-width: 420px; }
.auth-card h2{ font-family: var(--font-display); font-size: 26px; margin: 0 0 6px; }
.auth-sub{ color: var(--brown-light); font-size: 14px; margin-bottom: 22px; }
.auth-card input{ width:100%; padding: 13px 16px; border:1.5px solid var(--cream-border); border-radius: 10px; margin-bottom: 14px; font-size: 14px; outline:none; }
.auth-card input:focus{ border-color: var(--orange); }
.auth-switch{ text-align:center; margin-top: 16px; font-size: 14px; color: var(--brown-light); }
.auth-switch a{ color: var(--orange); font-weight: 700; }

/* ---------- Checkout ---------- */
.checkout-page h1{ font-family: var(--font-display); font-size: 30px; margin-bottom: 24px; }
.checkout-grid{ display:grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items:start; }
.form-card{ background:#fff; border:1px solid var(--cream-border); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.form-card h3{ margin: 0 0 16px; font-size: 17px; }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card input, .form-card textarea{
  width:100%; padding: 13px 16px; border:1.5px solid var(--cream-border); border-radius: 10px;
  margin-bottom: 14px; font-size: 14px; outline:none; resize: vertical;
}
.form-card input:focus, .form-card textarea:focus{ border-color: var(--orange); }
.payment-options{ display:flex; flex-direction:column; gap: 12px; }
.payment-opt{
  display:flex; align-items:center; gap: 12px; border: 1.5px solid var(--cream-border);
  border-radius: 12px; padding: 14px 16px; cursor:pointer;
}
.payment-opt input{ accent-color: var(--orange); }
.payment-opt.active, .payment-opt:has(input:checked){ border-color: var(--orange); background: #FEF3EA; }
.payment-opt strong{ font-size: 14px; display:block; }
.payment-opt small{ color: var(--brown-light); font-size: 12.5px; }
.order-summary{ background:#fff; border:1px solid var(--cream-border); border-radius: var(--radius); padding: 24px; position: sticky; top: 100px; }
.order-summary h3{ margin: 0 0 16px; }
.summary-row{ display:flex; justify-content:space-between; font-size: 14px; padding: 7px 0; color: var(--brown); }
.summary-row.total{ border-top: 1px solid var(--cream-border); margin-top: 8px; padding-top: 14px; font-weight: 800; font-size: 17px; color: var(--ink); }
.summary-row.total span:last-child{ color: var(--red); }
.order-summary .btn{ margin-top: 16px; }
@media (max-width: 860px){ .checkout-grid{ grid-template-columns: 1fr; } .form-row{ grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer{ background: var(--footer-bg); color: var(--footer-text); margin-top: 40px; }
.footer-inner{
  max-width: 1280px; margin:0 auto; padding: 56px 24px 32px;
  display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
}
.footer-brand{ display:flex; gap: 10px; align-items:center; margin-bottom: 14px; }
.footer-brand strong{ display:block; color:#fff; font-family: var(--font-display); font-size: 17px; }
.footer-brand small{ font-size: 11px; letter-spacing: 1px; color: var(--orange); }
.footer-col p{ font-size: 13.5px; line-height: 1.7; color: var(--footer-text); }
.footer-col h4{ color:#fff; margin: 0 0 16px; font-size: 15px; }
.footer-col a{ display:block; margin-bottom: 10px; font-size: 14px; color: var(--footer-text); }
.footer-col a:hover{ color: var(--orange); }
.social-row{ display:flex; gap: 10px; margin-top: 14px; }
.social-row a{
  width: 34px; height:34px; border-radius:50%; border: 1px solid rgba(232,201,168,.4);
  display:flex; align-items:center; justify-content:center; margin:0;
}
.footer-bottom{ border-top: 1px solid rgba(232,201,168,.2); text-align:center; padding: 18px; font-size: 12.5px; color: var(--footer-text); }
@media (max-width: 800px){ .footer-inner{ grid-template-columns: 1fr; } }

/* ---------- Cart drawer ---------- */
.drawer-overlay{
  position: fixed; inset:0; background: rgba(20,10,5,.4); opacity:0; pointer-events:none;
  transition: opacity .25s ease; z-index: 90;
}
.drawer-overlay.show{ opacity:1; pointer-events:auto; }
.cart-drawer{
  position: fixed; top:0; right:-420px; width: 400px; max-width: 92vw; height:100%;
  background:#fff; z-index: 91; display:flex; flex-direction:column;
  transition: right .3s cubic-bezier(.4,0,.2,1); box-shadow: -8px 0 30px rgba(0,0,0,.15);
}
.cart-drawer.open{ right:0; }
.drawer-header{ display:flex; align-items:center; justify-content:space-between; padding: 20px 22px; border-bottom: 1px solid var(--cream-border); }
.drawer-header h3{ font-family: var(--font-display); font-size: 19px; margin:0; }
.drawer-header button{ background:none; border:none; font-size:18px; color: var(--brown-light); }
.drawer-free-ship{ padding: 12px 22px 0; }
.freeship-text{ font-size: 12.5px; font-weight: 700; color: var(--brown); margin-bottom: 8px; }
.freeship-text.success{ color: var(--green); }
.freeship-bar{ height: 6px; border-radius: 4px; background: #F0E4C8; overflow:hidden; margin-bottom: 4px; }
.freeship-fill{ height:100%; background: linear-gradient(90deg, var(--orange), #F6C453); transition: width .3s ease; }
.drawer-items{ flex:1; overflow-y:auto; padding: 12px 22px; }
.drawer-item{ display:flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid #F5EEDD; align-items:flex-start; }
.drawer-item img{ width: 60px; height:60px; object-fit:cover; border-radius: 10px; }
.drawer-item-info{ flex:1; }
.drawer-item-name{ font-weight: 700; font-size: 13.5px; margin-bottom: 4px; }
.drawer-item-price{ color: var(--red); font-weight: 700; font-size: 13.5px; margin-bottom: 8px; }
.drawer-item .qty-stepper{ transform: scale(.85); transform-origin: left; }
.drawer-stock-warning{ color: #ef4444; font-size: 11.5px; font-weight: 700; margin-top: 4px; }
.drawer-item-remove{ background:none; border:none; color: var(--red); font-size: 15px; }
.drawer-footer{ padding: 18px 22px 24px; border-top: 1px solid var(--cream-border); }
.drawer-subtotal{ display:flex; justify-content:space-between; font-weight: 700; margin-bottom: 14px; font-size: 15px; }
.empty-cart{ text-align:center; padding: 60px 20px; color: var(--brown-light); }
.empty-cart-icon{ font-size: 40px; margin-bottom: 12px; }
.empty-cart p{ margin-bottom: 18px; }

@media (max-width: 500px){ .cart-drawer{ width: 100%; } }

/* ---------- Toast ---------- */
.toast{
  position: fixed; top: 90px; right: 24px; background: var(--green-bg); border: 1px solid #B7E5C6;
  border-radius: 12px; padding: 14px 18px; display:flex; gap: 10px; align-items:flex-start;
  box-shadow: var(--shadow-lg); transform: translateX(120%); transition: transform .3s ease, opacity .3s ease;
  z-index: 200; max-width: 320px; opacity: 0; pointer-events: none;
}
.toast.show{ transform: translateX(0); opacity: 1; pointer-events: auto; }
.toast-title{ font-weight: 800; color: var(--green); font-size: 14px; }
.toast-msg{ font-size: 13px; color: var(--brown); margin-top: 2px; }

/* ---------- WhatsApp float ---------- */
.wa-float{
  position: fixed; bottom: 24px; right: 24px; width: 54px; height:54px; border-radius:50%;
  background: #25D366; color:#fff; display:flex; align-items:center; justify-content:center;
  font-size: 24px; box-shadow: 0 6px 20px rgba(37,211,102,.5); z-index: 60;
  transition: transform .2s ease;
}
.wa-float:hover{ transform: scale(1.08); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Mobile Shop Page Fixes ---------- */
@media (max-width: 768px) {
  .cat-pills { 
    display: flex !important; 
    flex-wrap: nowrap !important; 
    overflow-x: auto !important; 
    gap: 10px !important; 
    padding-bottom: 15px !important; 
    margin-bottom: 15px !important; 
    scrollbar-width: none; 
    -ms-overflow-style: none; 
    -webkit-overflow-scrolling: touch; 
  }
  .cat-pills::-webkit-scrollbar { display: none; }
  .shop-head { flex-direction: column; align-items: stretch; gap: 12px; }
  .search-wrap { width: 100%; min-width: unset; box-sizing: border-box; }
}

/* Small Product Card for Related Products */
.product-card-small {
  display: flex;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 120px;
}
.product-card-small:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.product-card-small .product-img-wrap {
  width: 120px;
  flex-shrink: 0;
}
.product-card-small .product-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}
.product-card-small .product-name {
  font-size: 14px;
  margin-bottom: 5px;
}
.product-card-small .product-price {
  font-size: 16px;
  margin-bottom: 0;
}
.product-card-small .add-cart-btn {
  padding: 6px 12px;
  font-size: 12px;
  margin-top: 10px;
  width: auto;
  align-self: flex-start;
}

/* Floating Sparklers Animation */
@keyframes floatUp {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { transform: translateY(-20vh) rotate(360deg); opacity: 0; }
}
.sparkler {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #ffb703;
  border-radius: 50%;
.about-card p{ color: var(--brown-light); margin:0; font-size:14px; line-height:1.5; }
@media (max-width: 700px){ .about-grid{ grid-template-columns: 1fr; } }

/* ---------- Auth ---------- */
.auth-page{ display:flex; justify-content:center; padding-top: 60px; padding-bottom: 100px;}
.auth-card{ background:#fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 40px; width: 100%; max-width: 420px; }
.auth-card h2{ font-family: var(--font-display); font-size: 26px; margin: 0 0 6px; }
.auth-sub{ color: var(--brown-light); font-size: 14px; margin-bottom: 22px; }
.auth-card input{ width:100%; padding: 13px 16px; border:1.5px solid var(--cream-border); border-radius: 10px; margin-bottom: 14px; font-size: 14px; outline:none; }
.auth-card input:focus{ border-color: var(--orange); }
.auth-switch{ text-align:center; margin-top: 16px; font-size: 14px; color: var(--brown-light); }
.auth-switch a{ color: var(--orange); font-weight: 700; }

/* ---------- Checkout ---------- */
.checkout-page h1{ font-family: var(--font-display); font-size: 30px; margin-bottom: 24px; }
.checkout-grid{ display:grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items:start; }
.form-card{ background:#fff; border:1px solid var(--cream-border); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.form-card h3{ margin: 0 0 16px; font-size: 17px; }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card input, .form-card textarea{
  width:100%; padding: 13px 16px; border:1.5px solid var(--cream-border); border-radius: 10px;
  margin-bottom: 14px; font-size: 14px; outline:none; resize: vertical;
}
.form-card input:focus, .form-card textarea:focus{ border-color: var(--orange); }
.payment-options{ display:flex; flex-direction:column; gap: 12px; }
.payment-opt{
  display:flex; align-items:center; gap: 12px; border: 1.5px solid var(--cream-border);
  border-radius: 12px; padding: 14px 16px; cursor:pointer;
}
.payment-opt input{ accent-color: var(--orange); }
.payment-opt.active, .payment-opt:has(input:checked){ border-color: var(--orange); background: #FEF3EA; }
.payment-opt strong{ font-size: 14px; display:block; }
.payment-opt small{ color: var(--brown-light); font-size: 12.5px; }
.order-summary{ background:#fff; border:1px solid var(--cream-border); border-radius: var(--radius); padding: 24px; position: sticky; top: 100px; }
.order-summary h3{ margin: 0 0 16px; }
.summary-row{ display:flex; justify-content:space-between; font-size: 14px; padding: 7px 0; color: var(--brown); }
.summary-row.total{ border-top: 1px solid var(--cream-border); margin-top: 8px; padding-top: 14px; font-weight: 800; font-size: 17px; color: var(--ink); }
.summary-row.total span:last-child{ color: var(--red); }
.order-summary .btn{ margin-top: 16px; }
@media (max-width: 860px){ .checkout-grid{ grid-template-columns: 1fr; } .form-row{ grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer{ background: var(--footer-bg); color: var(--footer-text); margin-top: 40px; }
.footer-inner{
  max-width: 1280px; margin:0 auto; padding: 56px 24px 32px;
  display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
}
.footer-brand{ display:flex; gap: 10px; align-items:center; margin-bottom: 14px; }
.footer-brand strong{ display:block; color:#fff; font-family: var(--font-display); font-size: 17px; }
.footer-brand small{ font-size: 11px; letter-spacing: 1px; color: var(--orange); }
.footer-col p{ font-size: 13.5px; line-height: 1.7; color: var(--footer-text); }
.footer-col h4{ color:#fff; margin: 0 0 16px; font-size: 15px; }
.footer-col a{ display:block; margin-bottom: 10px; font-size: 14px; color: var(--footer-text); }
.footer-col a:hover{ color: var(--orange); }
.social-row{ display:flex; gap: 10px; margin-top: 14px; }
.social-row a{
  width: 34px; height:34px; border-radius:50%; border: 1px solid rgba(232,201,168,.4);
  display:flex; align-items:center; justify-content:center; margin:0;
}
.footer-bottom{ border-top: 1px solid rgba(232,201,168,.2); text-align:center; padding: 18px; font-size: 12.5px; color: var(--footer-text); }
@media (max-width: 800px){ .footer-inner{ grid-template-columns: 1fr; } }

/* ---------- Cart drawer ---------- */
.drawer-overlay{
  position: fixed; inset:0; background: rgba(20,10,5,.4); opacity:0; pointer-events:none;
  transition: opacity .25s ease; z-index: 90;
}
.drawer-overlay.show{ opacity:1; pointer-events:auto; }
.cart-drawer{
  position: fixed; top:0; right:-420px; width: 400px; max-width: 92vw; height:100%;
  background:#fff; z-index: 91; display:flex; flex-direction:column;
  transition: right .3s cubic-bezier(.4,0,.2,1); box-shadow: -8px 0 30px rgba(0,0,0,.15);
}
.cart-drawer.open{ right:0; }
.drawer-header{ display:flex; align-items:center; justify-content:space-between; padding: 20px 22px; border-bottom: 1px solid var(--cream-border); }
.drawer-header h3{ font-family: var(--font-display); font-size: 19px; margin:0; }
.drawer-header button{ background:none; border:none; font-size:18px; color: var(--brown-light); }
.drawer-free-ship{ padding: 12px 22px 0; }
.freeship-text{ font-size: 12.5px; font-weight: 700; color: var(--brown); margin-bottom: 8px; }
.freeship-text.success{ color: var(--green); }
.freeship-bar{ height: 6px; border-radius: 4px; background: #F0E4C8; overflow:hidden; margin-bottom: 4px; }
.freeship-fill{ height:100%; background: linear-gradient(90deg, var(--orange), #F6C453); transition: width .3s ease; }
.drawer-items{ flex:1; overflow-y:auto; padding: 12px 22px; }
.drawer-item{ display:flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid #F5EEDD; align-items:flex-start; }
.drawer-item img{ width: 60px; height:60px; object-fit:cover; border-radius: 10px; }
.drawer-item-info{ flex:1; }
.drawer-item-name{ font-weight: 700; font-size: 13.5px; margin-bottom: 4px; }
.drawer-item-price{ color: var(--red); font-weight: 700; font-size: 13.5px; margin-bottom: 8px; }
.drawer-item .qty-stepper{ transform: scale(.85); transform-origin: left; }
.drawer-item-remove{ background:none; border:none; color: var(--red); font-size: 15px; }
.drawer-footer{ padding: 18px 22px 24px; border-top: 1px solid var(--cream-border); }
.drawer-subtotal{ display:flex; justify-content:space-between; font-weight: 700; margin-bottom: 14px; font-size: 15px; }
.empty-cart{ text-align:center; padding: 60px 20px; color: var(--brown-light); }
.empty-cart-icon{ font-size: 40px; margin-bottom: 12px; }
.empty-cart p{ margin-bottom: 18px; }

@media (max-width: 500px){ .cart-drawer{ width: 100%; } }

/* ---------- Toast ---------- */
.toast{
  position: fixed; top: 90px; right: 24px; background: var(--green-bg); border: 1px solid #B7E5C6;
  border-radius: 12px; padding: 14px 18px; display:flex; gap: 10px; align-items:flex-start;
  box-shadow: var(--shadow-lg); transform: translateX(120%); transition: transform .3s ease, opacity .3s ease;
  z-index: 200; max-width: 320px; opacity: 0; pointer-events: none;
}
.toast.show{ transform: translateX(0); opacity: 1; pointer-events: auto; }
.toast-title{ font-weight: 800; color: var(--green); font-size: 14px; }
.toast-msg{ font-size: 13px; color: var(--brown); margin-top: 2px; }

/* ---------- WhatsApp float ---------- */
.wa-float{
  position: fixed; bottom: 24px; right: 24px; width: 54px; height:54px; border-radius:50%;
  background: #25D366; color:#fff; display:flex; align-items:center; justify-content:center;
  font-size: 24px; box-shadow: 0 6px 20px rgba(37,211,102,.5); z-index: 60;
  transition: transform .2s ease;
}
.wa-float:hover{ transform: scale(1.08); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Mobile Shop Page Fixes ---------- */
@media (max-width: 768px) {
  .cat-pills { 
    display: flex !important; 
    flex-wrap: nowrap !important; 
    overflow-x: auto !important; 
    gap: 10px !important; 
    padding-bottom: 15px !important; 
    margin-bottom: 15px !important; 
    scrollbar-width: none; 
    -ms-overflow-style: none; 
    -webkit-overflow-scrolling: touch; 
  }
  .cat-pills::-webkit-scrollbar { display: none; }
  .shop-head { flex-direction: column; align-items: stretch; gap: 12px; }
  .search-wrap { width: 100%; min-width: unset; box-sizing: border-box; }
}

/* Small Product Card for Related Products */
.product-card-small {
  display: flex;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 120px;
}
.product-card-small:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.product-card-small .product-img-wrap {
  width: 120px;
  flex-shrink: 0;
}
.product-card-small .product-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}
.product-card-small .product-name {
  font-size: 14px;
  margin-bottom: 5px;
}
.product-card-small .product-price {
  font-size: 16px;
  margin-bottom: 0;
}
.product-card-small .add-cart-btn {
  padding: 6px 12px;
  font-size: 12px;
  margin-top: 10px;
  width: auto;
  align-self: flex-start;
}

/* Floating Sparklers Animation */
@keyframes floatUp {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { transform: translateY(-20vh) rotate(360deg); opacity: 0; }
}
.sparkler {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #ffb703;
  border-radius: 50%;
  box-shadow: 0 0 10px #ffb703, 0 0 20px #ff6a3d, 0 0 30px #ff6a3d;
  animation: floatUp 15s linear infinite;
  z-index: 1;
  pointer-events: none;
}
.sparkler:nth-child(even) {
  background: #ff6a3d;
  box-shadow: 0 0 10px #ff6a3d, 0 0 20px #ffb703, 0 0 30px #ffb703;
}

.product-swiper, .testimonial-swiper {
  padding-bottom: 20px !important;
}
.swiper-pagination {
  display: none !important;
}

/* Product Card & Cart Stock / Quantity Controls */
.product-qty-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  min-height: 38px;
}
.product-qty-row .stock-prefix {
  font-size: 12.5px;
  font-weight: 600;
  color: #16a34a;
  white-space: nowrap;
}
.product-qty-row .qty-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #4b5563;
  margin-right: 2px;
}
.product-qty-row .qty-stepper,
.drawer-qty-row .qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  height: 34px;
  flex-shrink: 0;
}
.product-qty-row .qty-btn,
.drawer-qty-row .qty-btn {
  background: #f9fafb;
  border: none;
  width: 32px;
  height: 34px;
  font-size: 16px;
  font-weight: 700;
  color: #374151;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.15s ease;
}
.product-qty-row .qty-btn:hover:not(:disabled),
.drawer-qty-row .qty-btn:hover:not(:disabled) {
  background: #e5e7eb;
  color: #111827;
}
.product-qty-row .qty-btn:disabled,
.drawer-qty-row .qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f3f4f6;
}
.product-qty-row .qty-input,
.drawer-qty-row .qty-input {
  width: 36px;
  height: 34px;
  border: none;
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  padding: 0;
  background: #fff;
  -moz-appearance: textfield;
  appearance: textfield;
}
.product-qty-row .qty-input::-webkit-outer-spin-button,
.product-qty-row .qty-input::-webkit-inner-spin-button,
.drawer-qty-row .qty-input::-webkit-outer-spin-button,
.drawer-qty-row .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}
.product-qty-row .stock-aside {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: #16a34a;
  white-space: nowrap;
}
.stock-limit-msg {
  color: #dc2626 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
}
.drawer-qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.drawer-stock-info {
  font-size: 12px;
  font-weight: 600;
  color: #16a34a;
}

/* ---------- Mobile Smart App Banner ---------- */
.app-smart-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 30px);
  max-width: 500px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 12px 16px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  color: #ffffff;
  animation: slideUpBanner 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpBanner {
  from { transform: translate(-50%, 100px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

.app-smart-banner .banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.app-smart-banner .banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.app-smart-banner .banner-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.app-smart-banner .banner-info strong {
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: #ffffff;
}

.app-smart-banner .banner-info small {
  font-size: 0.78rem;
  color: #94a3b8;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.app-smart-banner .banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.app-smart-banner .btn-banner-install {
  background: linear-gradient(135deg, #ff5722 0%, #e64a19 100%);
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.15s;
}

.app-smart-banner .btn-banner-install:hover {
  transform: scale(1.04);
}

.app-smart-banner .btn-banner-more {
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 8px;
}

.app-smart-banner .banner-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  margin-left: 2px;
}

.app-smart-banner .banner-close:hover {
  color: #ffffff;
}

