:root {
  --brand-blue: #0c5f9e;
  --brand-blue-dark: #084a7b;
  --brand-green: #44a947;
  --brand-green-dark: #2f8735;
  --brand-teal: #10948d;
  --ink: #17324d;
  --muted: #6f8090;
  --line: #e4ebf0;
  --soft: #f5faf7;
  --shadow: 0 14px 40px rgba(18, 65, 94, .10);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "DM Sans", sans-serif; color: var(--ink); background: #fff; opacity: 0; animation: pageFadeIn .5s ease forwards; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }
button, .btn, a { transition: transform .2s cubic-bezier(.16,1,.3,1); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 9999; background: #fff; padding: .6rem 1rem; border-radius: 8px; box-shadow: var(--shadow); }

@keyframes pageFadeIn { to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes badgePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes badgeBump { 0% { transform: scale(1); } 45% { transform: scale(1.4); } 100% { transform: scale(1); } }
@keyframes waPulse { 0%, 100% { box-shadow: 0 12px 28px rgba(37,211,102,.35); } 50% { box-shadow: 0 12px 34px rgba(37,211,102,.6), 0 0 0 9px rgba(37,211,102,.14); } }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.07); } }

/* Scroll-reveal utilities (JS toggles .is-visible via IntersectionObserver) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1.is-visible { transition-delay: .12s; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .04s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .10s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .22s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .28s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .34s; }

/* Filter transition (JS toggles these around the d-none swap) */
.product-item { transition: opacity .28s cubic-bezier(.16,1,.3,1), transform .28s cubic-bezier(.16,1,.3,1); }
.product-item.item-enter { opacity: 0; transform: translateY(14px) scale(.96); }
.product-item.item-exit { opacity: 0; transform: translateY(-8px) scale(.96); }

.utility-bar { background: linear-gradient(90deg, #f4f8fc, #f8fbf8); border-bottom: 1px solid var(--line); min-height: 38px; max-height: 44px; overflow: hidden; display: flex; align-items: center; color: #49647d; transition: max-height .35s cubic-bezier(.16,1,.3,1), opacity .3s ease, border-color .3s ease; }
.utility-bar a, .utility-bar span { display: inline-flex; align-items: center; gap: .4rem; }
.utility-bar i { color: var(--brand-blue); }
.currency-select { border: 0; background: transparent; color: #49647d; font-size: .82rem; outline: none; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem; }
.flag-row { border: 0; background: transparent; padding: 0; display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; }
.flag-row .fi { transition: opacity .2s ease; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }

.site-header { position: relative; z-index: 1030; }
.main-header { transition: box-shadow .3s ease; }
.main-header .container { transition: padding .3s cubic-bezier(.16,1,.3,1); }
.site-header.is-scrolled .utility-bar { max-height: 0; opacity: 0; border-bottom-color: transparent; }
.site-header.is-scrolled .main-header { box-shadow: 0 10px 30px rgba(15, 69, 101, .12); }
.site-header.is-scrolled .main-header .container { padding-top: .5rem; padding-bottom: .5rem; }
.brand-wrap { display: inline-flex; align-items: center; }
.brand-logo { width: 210px; height: 82px; object-fit: contain; object-position: center; transition: width .3s ease, height .3s ease; }
.site-header.is-scrolled .brand-logo { width: 165px; height: 62px; }
.search-form { display: grid; grid-template-columns: 155px 1fr 54px; border: 1px solid #dbe5ea; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 7px 22px rgba(22, 72, 104, .06); }
.search-form .form-select, .search-form .form-control { border: 0; border-radius: 0; box-shadow: none; min-height: 52px; }
.search-category { border-right: 1px solid var(--line) !important; font-weight: 600; color: #34546d; }
.search-btn { border-radius: 0; background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark)); color: #fff; font-size: 1.15rem; }
.search-btn:hover { background: var(--brand-green-dark); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-action { border: 0; background: transparent; color: var(--brand-blue-dark); display: flex; flex-direction: column; align-items: center; gap: .15rem; font-size: .76rem; padding: .25rem; }
.header-action i { font-size: 1.4rem; }
.icon-badge-wrap { position: relative; display: inline-flex; }
.action-badge { position: absolute; top: -8px; right: -12px; min-width: 18px; height: 18px; display: grid; place-items: center; border-radius: 999px; background: var(--brand-green); color: #fff; font-size: .64rem; font-weight: 700; border: 2px solid #fff; }

.main-nav { padding: 0; background: linear-gradient(90deg, var(--brand-blue-dark), #086a9f 60%, var(--brand-green)); }
.main-nav .nav-link { color: #fff; font-size: .82rem; font-weight: 700; padding: 1.15rem 1.7rem !important; letter-spacing: .02em; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: #fff; background: rgba(255,255,255,.08); }
.categories-nav-item { margin-right: 1rem; min-width: 210px; background: rgba(0,0,0,.12); }
.dropdown-menu { border: 0; box-shadow: var(--shadow); border-radius: 12px; padding: .65rem; }
.dropdown-item { border-radius: 8px; padding: .65rem .85rem; }
.dropdown-item:hover { background: var(--soft); color: var(--brand-green-dark); }

.category-strip { padding: 14px 0 3px; background: #fff; }
.category-scroller { display: flex; gap: 12px; overflow: auto; scrollbar-width: none; padding: 0 42px 10px; }
.category-scroller::-webkit-scrollbar { display: none; }
.category-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .55rem; padding: .72rem 1rem; border: 1px solid var(--line); border-radius: 999px; color: #49647d; background: #fff; box-shadow: 0 5px 15px rgba(14, 65, 96, .04); font-size: .84rem; font-weight: 600; transition: transform .25s cubic-bezier(.16,1,.3,1), color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.category-chip:active { transform: scale(.96); }
.category-chip i { color: var(--brand-green); }
.category-chip:hover { color: #fff; background: var(--brand-blue); border-color: var(--brand-blue); transform: translateY(-2px); }
.category-chip:hover i { color: #fff; }
.category-arrow { position: absolute; top: 3px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--brand-blue); display: grid; place-items: center; box-shadow: 0 5px 14px rgba(14, 65, 96, .08); }
.category-prev { left: 0; } .category-next { right: 0; }

.hero-card { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: linear-gradient(120deg, #eaf7ff, #eefaf1); }
.hero-card::before, .hero-card::after { content: ""; position: absolute; z-index: 0; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.hero-card::before { width: 320px; height: 320px; background: rgba(68,169,71,.24); top: -120px; left: 6%; }
.hero-card::after { width: 280px; height: 280px; background: rgba(12,95,158,.20); bottom: -130px; right: 10%; }
.hero-copy { position: relative; z-index: 1; min-height: 360px; padding: clamp(1.5rem, 3vw, 3rem) clamp(2rem, 4vw, 4.2rem); display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 100% 0%, rgba(68,169,71,.12), transparent 44%), linear-gradient(135deg, #edf8ff, #f7fff9); }
.eyebrow { color: var(--brand-green-dark); text-transform: uppercase; font-size: .76rem; letter-spacing: .16em; font-weight: 800; margin-bottom: .6rem; }
.hero-copy h1, .hero-copy h2 { font-family: "Playfair Display", serif; color: var(--brand-blue-dark); font-size: clamp(1.85rem, 3.4vw, 3.4rem); line-height: 1.08; margin-bottom: .85rem; }
.hero-copy h1 span, .hero-copy h2 span { background: linear-gradient(120deg, var(--brand-green), var(--brand-teal)); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }
.hero-copy p { color: #4e697d; max-width: 620px; font-size: .98rem; margin-bottom: 1.1rem; }

.hero-trust-badge { display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start; background: #fff; border: 1px solid rgba(68,169,71,.25); box-shadow: 0 8px 20px rgba(18,65,94,.08); border-radius: 999px; padding: .45rem .95rem .45rem .7rem; font-size: .76rem; font-weight: 700; color: var(--brand-blue-dark); margin-bottom: 1rem; }
.hero-trust-badge .stars { color: #f6a900; letter-spacing: 1px; font-size: .68rem; }
.hero-trust-badge strong { color: var(--brand-green-dark); }
.hero-trust-badge > i { color: var(--brand-green-dark); font-size: .85rem; }
.btn-brand { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark)); border: 0; color: #fff; border-radius: 999px; padding: .85rem 1.5rem; font-weight: 700; box-shadow: 0 10px 24px rgba(68,169,71,.25); transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, background .3s ease; }
.btn-brand::before { content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .55s ease; }
.btn-brand:hover::before { left: 130%; }
.btn-brand:hover { color: #fff; transform: translateY(-2px); background: var(--brand-green-dark); box-shadow: 0 14px 30px rgba(68,169,71,.35); }
.btn-brand:active { transform: translateY(0) scale(.97); }
.btn-outline-brand { border: 1px solid rgba(12,95,158,.35); color: var(--brand-blue); border-radius: 999px; padding: .85rem 1.5rem; font-weight: 700; transition: transform .3s cubic-bezier(.16,1,.3,1), background .25s ease, color .25s ease; }
.btn-outline-brand:hover { background: var(--brand-blue); color: #fff; transform: translateY(-2px); }
.btn-outline-brand:active { transform: translateY(0) scale(.97); }
.hero-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.3rem; }
.hero-benefits span { display: flex; align-items: center; gap: .55rem; color: #47657a; font-size: .78rem; font-weight: 600; }
.hero-benefits i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1rem; transition: transform .25s cubic-bezier(.16,1,.3,1); }
.hero-benefits span:hover i { transform: scale(1.1) rotate(-4deg); }
.hero-benefits i.icon-blue { background: rgba(12,95,158,.12); color: var(--brand-blue); }
.hero-benefits i.icon-green { background: rgba(68,169,71,.14); color: var(--brand-green-dark); }
.hero-benefits i.icon-teal { background: rgba(16,148,141,.14); color: var(--brand-teal); }
.hero-benefits i.icon-violet { background: rgba(123,47,247,.12); color: #7b2ff7; }

.hero-visual { position: relative; min-height: 360px; }
.hero-visual-frame { position: relative; width: 100%; height: 100%; min-height: inherit; overflow: hidden; background: #e9f6f1; }
.hero-visual-frame img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s ease-in-out infinite alternate; }
.hero-visual-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(237,248,255,.65), transparent 38%); }

.hero-badge-pill { position: absolute; top: 20px; left: 20px; z-index: 2; display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); padding: .5rem .9rem; border-radius: 999px; box-shadow: 0 10px 24px rgba(18,65,94,.16); font-size: .74rem; font-weight: 700; color: var(--brand-blue-dark); animation: floatY 4s ease-in-out infinite; }
.hero-badge-pill i { color: var(--brand-green-dark); }

.hero-rating-card { position: absolute; bottom: 20px; right: 16px; z-index: 2; background: #fff; border-radius: 16px; box-shadow: 0 16px 34px rgba(18,65,94,.2); padding: .8rem 1.05rem; display: flex; align-items: center; gap: .65rem; animation: floatY 4s ease-in-out infinite; animation-delay: .3s; }
.hero-rating-card .rating-score { font-family: "Playfair Display", serif; font-size: 1.4rem; font-weight: 700; color: var(--brand-blue-dark); line-height: 1; }
.hero-rating-card .stars { color: #f6a900; font-size: .68rem; letter-spacing: 1px; }
.hero-rating-card small { color: #7c8d9b; font-size: .68rem; display: block; margin-top: .15rem; white-space: nowrap; }
.hero-rating-card-light { position: static; margin-top: 1.5rem; background: rgba(255,255,255,.14); box-shadow: none; backdrop-filter: blur(4px); }
.hero-rating-card-light .rating-score { color: #fff; }
.hero-rating-card-light small { color: rgba(255,255,255,.8); }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.second-slide .hero-copy { min-height: 360px; }
.hero-pattern { position: relative; flex-direction: column; align-items: center; justify-content: center; min-height: 360px; background: linear-gradient(135deg, var(--brand-blue), var(--brand-teal), var(--brand-green)); }
.hero-pattern i { color: rgba(255,255,255,.9); font-size: 11rem; filter: drop-shadow(0 20px 28px rgba(0,0,0,.18)); }
.carousel-indicators [data-bs-target] { width: 9px; height: 9px; border-radius: 50%; border: 0; background-color: var(--brand-blue); transition: transform .2s ease; }
.carousel-indicators [data-bs-target]:hover { transform: scale(1.3); }

.hero-copy .eyebrow, .hero-copy h1, .hero-copy h2, .hero-copy p, .hero-copy .d-flex, .hero-copy .hero-benefits {
  animation: fadeInUp .7s cubic-bezier(.16,1,.3,1) both;
}
.hero-copy .eyebrow { animation-delay: .05s; }
.hero-copy h1, .hero-copy h2 { animation-delay: .16s; }
.hero-copy p { animation-delay: .30s; }
.hero-copy .d-flex.gap-3 { animation-delay: .42s; }
.hero-copy .hero-benefits { animation-delay: .54s; }

.section-space { padding: 3.5rem 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.section-heading > div { display: flex; align-items: center; gap: .65rem; }
.section-heading h2 { font-size: clamp(1.45rem, 2vw, 2rem); margin: 0; font-weight: 800; color: var(--brand-blue-dark); }
.section-heading > a { color: var(--brand-green-dark); font-weight: 700; font-size: .9rem; }
.section-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #edf8ff; color: var(--brand-blue); border: 1px solid rgba(12,95,158,.18); }
.product-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s cubic-bezier(.16,1,.3,1), border-color .35s ease; box-shadow: 0 6px 22px rgba(18, 65, 94, .05); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(68,169,71,.3); }
.product-image { height: 160px; display: grid; place-items: center; padding: .75rem; overflow: hidden; background: linear-gradient(180deg, #fff, #fbfdfc); }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.product-card:hover .product-image img { transform: scale(1.08); }
.product-body { padding: .85rem; }
.product-category { color: #8a98a4; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.product-card h3 { font-size: .95rem; line-height: 1.3; margin: .25rem 0 .4rem; min-height: auto; font-weight: 700; color: #274861; }
.rating { display: flex; align-items: center; gap: .14rem; color: #f6a900; font-size: .72rem; margin-bottom: .4rem; }
.rating span { color: #8795a2; margin-left: .25rem; }
.price { display: flex; align-items: center; gap: .55rem; margin-bottom: .55rem; }
.price del { color: #9ba6af; font-size: .82rem; }
.price strong { color: var(--brand-green-dark); }
.price .sale-price { color: #e43c3c; }
.add-cart-btn { width: 100%; border-radius: 999px; border: 1px solid rgba(68,169,71,.35); background: #eff9eb; color: var(--brand-green-dark); font-size: .78rem; font-weight: 800; text-transform: uppercase; transition: background .25s ease, color .25s ease, transform .2s cubic-bezier(.16,1,.3,1); }
.add-cart-btn:hover { background: var(--brand-green); color: #fff; }
.add-cart-btn:active { transform: scale(.96); }
.wishlist-toggle { position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.93); color: #6f8090; display: grid; place-items: center; opacity: 0; transform: translateY(-6px); transition: opacity .25s cubic-bezier(.16,1,.3,1), transform .25s cubic-bezier(.16,1,.3,1), color .2s ease; }
.product-card:hover .wishlist-toggle, .wishlist-toggle.active { opacity: 1; transform: none; }
.wishlist-toggle:hover { transform: scale(1.12); }
.wishlist-toggle.active { color: #e64162; }
.wishlist-toggle.active i { animation: badgeBump .4s cubic-bezier(.34,1.56,.64,1); }
.sale-badge { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--brand-green); color: #fff; border-radius: 6px; padding: .25rem .5rem; font-size: .72rem; font-weight: 800; animation: badgePulse 2.4s ease-in-out infinite; }
.action-badge.bump { animation: badgeBump .4s cubic-bezier(.34,1.56,.64,1); }
.product-card.compact .product-image { height: 120px; padding: .6rem; }
.product-card.compact h3 { font-size: .84rem; margin: .2rem 0 .35rem; min-height: auto; }
.product-card.compact .product-body { padding: .65rem; }
.product-card.compact .price { margin-bottom: .5rem; }
.product-card.compact .add-cart-btn { font-size: .72rem; padding: .4rem .5rem; }

.promo-why-section { background: linear-gradient(180deg, #fff, #f7fbf8); }
.promo-card { position: relative; overflow: hidden; min-height: 270px; border-radius: var(--radius); padding: 2rem; background: linear-gradient(125deg, #075b93 5%, #0a7e91 54%, #70b84b); color: #fff; box-shadow: var(--shadow); }
.promo-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 40%, rgba(255,255,255,.18), transparent 34%); }
.promo-copy { position: relative; z-index: 2; width: 58%; }
.promo-copy > span { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; opacity: .8; }
.promo-copy h2 { font-size: 1.65rem; margin: .35rem 0 .6rem; font-weight: 800; }
.promo-copy p { font-size: .88rem; opacity: .92; }
.promo-price { margin: 1rem 0; }
.promo-price strong { color: #c9ff70; font-size: 1.2rem; }
.promo-card img { position: absolute; right: -10px; bottom: -8px; width: 52%; height: 85%; object-fit: contain; z-index: 1; mix-blend-mode: screen; border-radius: 20px; }
.why-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; background: #fff; box-shadow: 0 10px 28px rgba(18,65,94,.05); }
.why-item { text-align: center; padding: .3rem; }
.why-item > i { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto .8rem; border-radius: 50%; background: #edf9ef; color: var(--brand-green-dark); font-size: 1.55rem; }
.why-item h3 { font-size: .82rem; font-weight: 800; color: #2c4c65; }
.why-item p { font-size: .73rem; color: #7c8d9b; margin: 0; }

.popular-search { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.popular-search h2 { font-size: 1.1rem; color: var(--brand-blue-dark); font-weight: 800; margin: 0 0 .8rem; white-space: nowrap; }
.filter-chips { display: flex; flex-wrap: wrap; gap: .65rem; }
.filter-chip { border: 1px solid var(--line); background: #fff; color: #4d6578; padding: .55rem 1rem; border-radius: 999px; font-size: .78rem; font-weight: 600; transition: transform .2s cubic-bezier(.16,1,.3,1), color .2s ease, background .2s ease, border-color .2s ease; }
.filter-chip:hover, .filter-chip.active { color: #fff; background: var(--brand-blue); border-color: var(--brand-blue); }
.filter-chip:active { transform: scale(.95); }
.no-results { text-align: center; padding: 4rem 1rem; color: #7b8d9a; }
.no-results i { font-size: 2.5rem; color: var(--brand-blue); }
.no-results h3 { margin-top: .8rem; color: var(--ink); }

.product-breadcrumb .breadcrumb { font-size: .82rem; }
.product-breadcrumb a { color: #6f8090; text-decoration: none; }
.product-breadcrumb a:hover { color: var(--brand-green-dark); }
.product-breadcrumb .active { color: var(--brand-blue-dark); font-weight: 600; }

.product-gallery { display: flex; gap: .8rem; }
.product-detail-thumbs { display: flex; flex-direction: column; gap: .6rem; flex-shrink: 0; }
.thumb-btn { border: 1px solid var(--line); border-radius: 10px; padding: .3rem; background: #fff; width: 64px; height: 64px; display: grid; place-items: center; transition: border-color .2s ease, transform .2s ease; }
.thumb-btn:hover, .thumb-btn.active { border-color: var(--brand-green); }
.thumb-btn:hover { transform: translateY(-2px); }
.thumb-btn img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-detail-main-image { flex: 1; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, var(--soft), #fbfdfc); padding: 1.5rem; display: grid; place-items: center; min-height: 340px; box-shadow: var(--shadow); }
.product-detail-main-image img { max-height: 380px; object-fit: contain; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.product-detail-main-image:hover img { transform: scale(1.04); }

.category-badge { display: inline-block; background: rgba(12,95,158,.1); color: var(--brand-blue); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; margin-bottom: .6rem; }
.product-detail-title { font-family: "Playfair Display", serif; color: var(--brand-blue-dark); font-size: 2rem; margin: .3rem 0 .2rem; }
.product-rating-line { display: flex; align-items: center; gap: .5rem; font-size: .95rem; }
.rating-count-link { color: #4e697d; text-decoration: none; font-weight: 600; }
.rating-count-link:hover { color: var(--brand-green-dark); text-decoration: underline; }

.product-detail-price { font-size: 1.6rem; margin: .6rem 0; }
.product-detail-price del { color: #9ba6af; font-size: 1.1rem; margin-right: .5rem; }
.product-detail-price strong { color: var(--brand-green-dark); font-weight: 800; }

.product-info-box { display: flex; gap: .75rem; align-items: flex-start; background: var(--soft); border-radius: 14px; padding: 1rem 1.2rem; margin-bottom: 1.3rem; color: #345066; }
.product-info-box i { color: var(--brand-green-dark); font-size: 1.1rem; margin-top: .15rem; }

.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-btn { border: 0; background: transparent; width: 42px; height: 46px; display: grid; place-items: center; color: var(--brand-blue-dark); font-size: 1.1rem; transition: background .2s ease; }
.qty-btn:hover { background: var(--soft); }
.qty-stepper input { border: 0; width: 46px; height: 46px; text-align: center; font-weight: 700; color: var(--ink); -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper input:focus { outline: none; }

.btn-wishlist { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; border: 1px solid var(--line); border-radius: 999px; padding: .75rem 1.5rem; background: #fff; color: #47657a; font-weight: 700; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.btn-wishlist:hover { border-color: #e64162; color: #e64162; }
.btn-wishlist.active, .btn-wishlist.active:hover { border-color: #e64162; color: #e64162; background: rgba(230,65,98,.06); }
.btn-wishlist.wishlist-toggle { position: static; opacity: 1; transform: none; width: 100%; height: auto; }

.product-detail-benefits { grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: 1.6rem; }
.hero-benefits i.icon-orange { background: rgba(244,163,64,.15); color: #b3701f; }

.product-tabs-wrap { }
.product-tabs { border-bottom: 1px solid var(--line); gap: .5rem; flex-wrap: wrap; }
.product-tabs .nav-link { border: 0; border-bottom: 3px solid transparent; color: #6f8090; font-weight: 700; padding: .8rem .3rem; margin-right: 1.6rem; border-radius: 0; }
.product-tabs .nav-link:hover { color: var(--brand-green-dark); border-color: transparent; }
.product-tabs .nav-link.active { color: var(--brand-blue-dark); border-color: var(--brand-green); background: transparent; }
.product-tab-content { padding: 1.6rem 0; color: #4e697d; }
.product-tab-content .tab-pane p { line-height: 1.7; }
.spec-table th, .spec-table td { border-color: var(--line); padding: .6rem .5rem; }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 0; }
.product-safety-notice { display: flex; gap: .75rem; align-items: flex-start; background: rgba(12,95,158,.07); border-radius: 14px; padding: 1rem 1.2rem; color: #34546d; }
.product-safety-notice i { color: var(--brand-blue); font-size: 1.1rem; margin-top: .15rem; }

.related-products-band { background: var(--soft); border-radius: 24px; padding: 2rem; }

.review-summary-card { background: linear-gradient(160deg, var(--soft), #fff); border-color: var(--line) !important; }
.review-summary-card .display-5 { color: var(--brand-blue-dark); }
.review-item:last-child { border-bottom: 0 !important; margin-bottom: 0 !important; padding-bottom: 0 !important; }
.review-form-card { background: var(--soft); border-color: var(--line) !important; }
.verified-purchase-badge { display: inline-flex; align-items: center; gap: .25rem; background: rgba(68,169,71,.12); color: var(--brand-green-dark); font-size: .68rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; margin-left: .5rem; }

.rating-star-input { display: inline-flex; flex-direction: row-reverse; gap: .3rem; font-size: 1.6rem; }
.rating-star-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.rating-star-input label { color: #d8dee3; cursor: pointer; transition: color .15s ease; }
.rating-star-input input:checked ~ label,
.rating-star-input label:hover,
.rating-star-input label:hover ~ label { color: #ffb400; }

.status-pill { display: inline-flex; align-items: center; gap: .3rem; border-radius: 999px; padding: .3rem .75rem; font-size: .74rem; font-weight: 700; }
.status-pill.green { background: rgba(68,169,71,.12); color: var(--brand-green-dark); }
.status-pill.blue { background: rgba(12,95,158,.1); color: var(--brand-blue); }
.status-pill.orange { background: rgba(244,163,64,.15); color: #a0651b; }
.status-pill.red { background: rgba(228,60,60,.12); color: #c23a3a; }
.status-pill.gray { background: #eef1f3; color: #6f8090; }

.checkout-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; margin-bottom: 1.25rem; box-shadow: 0 6px 22px rgba(18, 65, 94, .05); }
.checkout-panel-title { display: flex; align-items: center; gap: .65rem; font-family: "Playfair Display", serif; color: var(--brand-blue-dark); font-size: 1.15rem; margin-bottom: 1.1rem; }
.step-badge { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark)); color: #fff; font-size: .85rem; font-weight: 800; font-family: "DM Sans", sans-serif; flex-shrink: 0; }
.checkout-summary-sticky { position: sticky; top: 1.5rem; }
.checkout-summary-items { max-height: 260px; overflow-y: auto; padding-right: .25rem; }
.checkout-summary-line { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; font-size: .9rem; color: #4e697d; }
.checkout-summary-total { font-size: 1.1rem; font-weight: 800; color: var(--brand-blue-dark); }
.payment-methods { display: flex; flex-direction: column; gap: .6rem; }
.payment-method-option { display: flex; align-items: center; gap: .7rem; border: 1px solid var(--line); border-radius: 12px; padding: .75rem 1rem; cursor: pointer; transition: border-color .2s ease, background .2s ease; position: relative; }
.payment-method-option:has(input:checked) { border-color: var(--brand-green); background: rgba(68,169,71,.06); }
.payment-method-option input { accent-color: var(--brand-green); }
.payment-method-option.disabled { opacity: .55; cursor: not-allowed; }
.payment-method-option em { margin-left: auto; font-style: normal; font-size: .7rem; font-weight: 700; text-transform: uppercase; color: #9ba6af; background: #f1f4f6; border-radius: 999px; padding: .2rem .55rem; }

.order-timeline { margin: 1rem 0; }
.order-timeline-item { display: flex; gap: .9rem; padding-bottom: 1.1rem; position: relative; }
.order-timeline-item:not(:last-child)::before { content: ""; position: absolute; left: 5px; top: 16px; bottom: 0; width: 2px; background: var(--line); }
.order-timeline-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--brand-green); flex-shrink: 0; margin-top: .3rem; }

.service-strip { margin-top: 3.2rem; padding: 1.6rem 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-item { display: flex; align-items: center; gap: 1rem; padding: .5rem; }
.service-item > i { font-size: 2.15rem; color: var(--brand-blue); }
.service-item h3 { margin: 0 0 .15rem; font-size: .86rem; color: var(--brand-blue-dark); font-weight: 800; }
.service-item p { margin: 0; color: #768897; font-size: .72rem; }

.site-footer { background: linear-gradient(110deg, #064c7a, #086ca5 64%, #0a8090); color: rgba(255,255,255,.88); }
.footer-logo { width: 230px; height: 95px; object-fit: contain; background: #fff; border-radius: 14px; margin-bottom: 1rem; }
.footer-about { max-width: 340px; color: rgba(255,255,255,.75); font-size: .9rem; }
.site-footer h2 { font-size: .86rem; text-transform: uppercase; color: #d8ff7d; font-weight: 800; letter-spacing: .05em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; font-size: .86rem; }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: #fff; }
.social-links { display: flex; gap: .55rem; }
.social-links a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }
.contact-list li { display: flex; gap: .7rem; align-items: flex-start; }
.contact-list i { color: #baf26c; }
.newsletter-form { display: flex; max-width: 360px; }
.newsletter-form input { border-radius: 10px 0 0 10px; border: 0; min-height: 45px; }
.newsletter-form button { border-radius: 0 10px 10px 0; background: var(--brand-green); color: #fff; width: 52px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); padding: 1rem 0; font-size: .78rem; background: rgba(0,0,0,.08); }
.payment-badges { display: flex; gap: .35rem; flex-wrap: wrap; }
.payment-badges span { color: #164a70; background: #fff; border-radius: 4px; padding: .25rem .5rem; font-weight: 800; font-size: .68rem; }
.floating-whatsapp { position: fixed; right: 22px; bottom: 24px; z-index: 1040; width: 58px; height: 58px; border-radius: 18px; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 12px 28px rgba(37,211,102,.35); animation: waPulse 2.8s ease-in-out infinite; }
.floating-whatsapp:hover { animation-play-state: paused; transform: scale(1.08) translateY(-2px); }
.back-to-top { position: fixed; right: 28px; bottom: 95px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--brand-blue); color: #fff; z-index: 1035; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s cubic-bezier(.16,1,.3,1), transform .3s cubic-bezier(.16,1,.3,1), visibility .3s; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { transform: translateY(-3px) scale(1.08); }

.offcanvas-title { color: var(--brand-blue-dark); font-weight: 800; }
.empty-cart i { font-size: 3rem; color: #b0bdc7; }
.cart-line { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.cart-line h3 { font-size: .9rem; margin: 0 0 .25rem; }
.cart-line small { color: var(--muted); }
.cart-remove { border: 0; background: transparent; color: #d95454; }
.toast { border: 0; box-shadow: var(--shadow); }

.auth-modal-content { border: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px rgba(18,65,94,.32); }
.auth-modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; opacity: .9; }
.auth-modal-close:hover { opacity: 1; }
.auth-modal-header { position: relative; padding: 2.6rem 2rem 3rem; text-align: center; background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-teal) 60%, var(--brand-green)); color: #fff; }
.auth-modal-icon { width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; font-size: 1.5rem; margin: 0 auto 1rem; animation: pop-in-scale .5s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes pop-in-scale { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
.auth-modal-header .modal-title { font-family: "Playfair Display", serif; font-weight: 700; margin-bottom: .4rem; }
.auth-modal-subtitle { font-size: .82rem; color: rgba(255,255,255,.88); margin: 0 auto; max-width: 280px; }
.auth-modal-content .modal-body { padding: 1.6rem 2rem 2rem; margin-top: -22px; position: relative; z-index: 2; background: #fff; border-radius: 22px 22px 0 0; }
.input-icon-group { position: relative; }
.input-icon-group i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #8a98a4; pointer-events: none; }
.input-icon-group input { padding-left: 2.6rem; }
.input-icon-group input:focus { border-color: var(--brand-green); box-shadow: 0 0 0 .2rem rgba(68,169,71,.15); }
.auth-link { color: var(--brand-green-dark); font-weight: 600; text-decoration: none; }
.auth-link:hover { text-decoration: underline; }
.auth-modal-footer { text-align: center; font-size: .85rem; color: #7c8d9b; margin: 1.1rem 0 0; }

@media (min-width: 1200px) {
  .product-grid > .col-xl { flex: 0 0 20%; max-width: 20%; }
}

@media (max-width: 991.98px) {
  .brand-logo { width: 170px; height: 65px; }
  .main-nav { padding: .35rem 0; }
  .main-nav .nav-link { padding: .8rem 1rem !important; }
  .categories-nav-item { margin: 0; min-width: 0; }
  .navbar-collapse { padding: .5rem 0 1rem; }
  .hero-copy, .second-slide .hero-copy { min-height: auto; padding: 2.5rem 2rem; }
  .hero-visual { min-height: 330px; }
  .hero-benefits { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-trust-badge { font-size: .7rem; }
  .hero-rating-card { padding: .6rem .8rem; }
  .hero-rating-card .rating-score { font-size: 1.15rem; }
  .product-image { height: 190px; }
  .popular-search h2 { margin-bottom: 1rem; }
}

@media (max-width: 767.98px) {
  .utility-bar { min-height: 34px; }
  .utility-bar .container { padding-top: .4rem; padding-bottom: .4rem; }
  .brand-logo { width: 145px; height: 55px; }
  .header-actions { gap: .6rem; }
  .header-action { font-size: .68rem; }
  .search-form { grid-template-columns: 112px 1fr 48px; }
  .search-form .form-select, .search-form .form-control { min-height: 46px; font-size: .8rem; }
  .hero-copy h1, .hero-copy h2 { font-size: 2.35rem; }
  .hero-visual { min-height: 270px; }
  .hero-benefits { gap: .65rem; }
  .hero-benefits span { font-size: .7rem; }
  .section-space { padding: 2.7rem 0; }
  .product-image { height: 155px; padding: .65rem; }
  .product-body { padding: .8rem; }
  .product-card h3 { font-size: .82rem; min-height: 3.3em; }
  .rating { display: none; }
  .price { flex-direction: column; align-items: flex-start; gap: .1rem; }
  .wishlist-toggle { opacity: 1; transform: none; }
  .promo-copy { width: 70%; }
  .promo-card img { width: 46%; opacity: .85; }
  .service-item { align-items: flex-start; }

  .checkout-summary-sticky { position: static; }
  .product-detail-main-image { min-height: 240px; padding: 1rem; }
  .product-detail-main-image img { max-height: 240px; }
  .product-detail-title { font-size: 1.5rem; }
  .product-detail-price { font-size: 1.3rem; }
  .product-detail-benefits { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .product-buybox, .product-info-card { padding: 1.1rem; }
  .rating-star-input { font-size: 1.3rem; }
  .related-products-band { padding: 1.25rem; border-radius: 18px; }

  .checkout-panel { padding: 1.1rem; }
  .payment-method-option { flex-wrap: wrap; }
  .payment-method-option em { margin-left: 0; flex-basis: 100%; margin-top: .3rem; }

  .auth-modal-header { padding: 2rem 1.5rem 2.6rem; }
  .auth-modal-content .modal-body { padding: 1.3rem 1.5rem 1.5rem; }
}

@media (max-width: 575.98px) {
  .flag-row { gap: .25rem; font-size: .85rem; }
  .search-form { grid-template-columns: 1fr 46px; }
  .search-category { display: none; }
  .hero-copy { padding: 2rem 1.4rem; }
  .hero-copy h1, .hero-copy h2 { font-size: 2rem; }
  .hero-copy p { font-size: .9rem; }
  .hero-benefits { grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 230px; }
  .hero-badge-pill { top: 12px; left: 12px; padding: .35rem .7rem; font-size: .66rem; }
  .hero-rating-card { bottom: 12px; right: 10px; padding: .55rem .75rem; gap: .45rem; }
  .hero-rating-card .rating-score { font-size: 1.05rem; }
  .hero-rating-card small { font-size: .62rem; }
  .section-heading h2 { font-size: 1.3rem; }
  .section-heading > a { font-size: .78rem; }
  .product-image { height: 130px; }
  .product-card.compact .product-image { height: 120px; }
  .product-body { padding: .65rem; }
  .product-card h3 { font-size: .75rem; }
  .add-cart-btn { font-size: .68rem; padding-left: .3rem; padding-right: .3rem; }
  .promo-card { padding: 1.4rem; min-height: 250px; }
  .promo-copy { width: 68%; }
  .promo-copy h2 { font-size: 1.35rem; }
  .why-card { padding: 1.2rem; }
  .why-item p { display: none; }
  .footer-logo { width: 210px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  body { opacity: 1; }
  .reveal, .reveal-stagger > *, .product-item.item-enter, .product-item.item-exit { opacity: 1 !important; transform: none !important; }
}
