/* ===== Top bar ===== */
.topbar { background: var(--brand-blue); color: #fff; font-size: 12px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; padding-top: .5rem; padding-bottom: .5rem; }
.topbar a { display: flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--brand-yellow); }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.header-main { display: flex; align-items: center; gap: 1rem; padding: 1rem; max-width: 1280px; margin: 0 auto; }
.brand-logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.brand-badge { display: grid; place-items: center; height: 44px; width: 44px; border-radius: 12px; background: var(--brand-red); color: #fff; font-weight: 700; font-size: 20px; font-family: 'Poppins',sans-serif; }
.brand-name { font-weight: 700; font-size: 18px; color: var(--ink); line-height: 1.1; font-family: 'Poppins',sans-serif; }
.brand-sub { font-size: 11px; text-transform: uppercase; letter-spacing: .15em; color: var(--brand-blue); font-weight: 600; }

.header-search { flex: 1; max-width: 640px; position: relative; }
.header-search input { width: 100%; height: 44px; border-radius: 9999px; border: 1px solid var(--border); background: var(--muted); padding: 0 56px 0 20px; font-size: 14px; outline: none; }
.header-search input:focus { border-color: var(--brand-blue); background: #fff; }
.header-search button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); height: 32px; width: 40px; display: grid; place-items: center; border-radius: 9999px; background: var(--brand-red); color: #fff; border: none; }
.header-search button:hover { background: var(--brand-red-dark); }

.header-icons { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; display: grid; place-items: center; height: 40px; width: 40px; border-radius: 9999px; color: var(--ink); }
.icon-btn:hover { background: var(--muted); }
.icon-btn.highlight { background: var(--brand-red); color: #fff; }
.icon-btn.highlight:hover { background: var(--brand-red-dark); }
.icon-badge { position: absolute; top: -2px; right: -2px; display: grid; place-items: center; height: 20px; min-width: 20px; border-radius: 9999px; background: var(--brand-yellow); color: var(--ink); font-size: 10px; font-weight: 700; padding: 0 4px; }
.menu-toggle { display: none; background: none; border: none; height: 40px; width: 40px; border-radius: 9999px; }
.menu-toggle:hover { background: var(--muted); }

.main-nav { display: block; border-top: 1px solid var(--border); background: #fff; }
.main-nav .container { display: flex; align-items: center; gap: 4px; }
.cat-dropdown { position: relative; }
.cat-dropdown-btn { display: flex; align-items: center; gap: 8px; border-radius: 8px 8px 0 0; background: var(--brand-red); color: #fff; padding: 12px 20px; font-size: 14px; font-weight: 600; border: none; }
.cat-dropdown-menu { display: none; position: absolute; left: 0; top: 100%; z-index: 40; width: 260px; border-radius: 0 0 12px 12px; border: 1px solid var(--border); background: #fff; padding: 8px 0; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.cat-dropdown:hover .cat-dropdown-menu { display: block; }
.cat-dropdown-menu a { display: block; padding: 10px 20px; font-size: 14px; color: var(--ink); }
.cat-dropdown-menu a:hover { background: var(--muted); color: var(--brand-red); }
.nav-menu { display: flex; align-items: center; }
.nav-menu li a { display: block; padding: 12px 16px; font-size: 14px; font-weight: 500; color: var(--ink); }
.nav-menu li a:hover, .nav-menu li.current-menu-item > a { color: var(--brand-red); }
.nav-deal { margin-left: auto; font-size: 12px; color: var(--soft); padding: 12px 0; }
.nav-deal strong { color: var(--brand-red); }

.mobile-menu { display: none; border-top: 1px solid var(--border); background: #fff; padding: 12px 16px; }
.mobile-menu a { display: block; border-radius: 8px; padding: 10px 12px; font-size: 14px; font-weight: 500; color: var(--ink); }
.mobile-menu a:hover { background: var(--muted); }
.mobile-menu.open { display: block; }

@media (max-width: 1023px) {
  .main-nav { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .header-search { display: none; }
}
@media (max-width: 640px) {
  .brand-text { display: none; }
}

/* ===== Hero ===== */
.hero { position: relative; min-height: 60svh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
@media (min-width: 768px) { .hero { min-height: 80svh; } }
@media (min-width: 1024px) { .hero { min-height: 100svh; } }
.hero-slide { position: absolute; inset: 0; height: 100%; width: 100%; display: flex; align-items: center; justify-content: center; transition: opacity .7s ease; opacity: 0; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.8), rgba(0,0,0,.55), rgba(0,0,0,.2)); }
.hero-content { position: relative; margin: 0 auto; display: flex; height: 100%; width: 100%; max-width: 1280px; align-items: center; padding: 0 24px; }
.hero-text { max-width: 640px; color: #fff; }
.hero-eyebrow { display: inline-block; border-radius: 9999px; background: var(--brand-red); padding: 6px 16px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.hero-headline { margin-top: 20px; font-weight: 700; font-size: 42px; line-height: 1.05; color: var(--brand-yellow); }
.hero-sub { margin-top: 20px; font-size: 16px; color: rgba(255,255,255,.9); max-width: 520px; }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 768px) { .hero-headline { font-size: 60px; } }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; height: 44px; width: 44px; border-radius: 9999px; background: rgba(255,255,255,.15); backdrop-filter: blur(4px); color: #fff; border: none; z-index: 5; }
.hero-arrow:hover { background: rgba(255,255,255,.3); }
.hero-arrow.prev { left: 16px; } .hero-arrow.next { right: 16px; }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.hero-dots button { height: 10px; width: 10px; border-radius: 9999px; background: rgba(255,255,255,.5); border: none; transition: all .2s; }
.hero-dots button.active { width: 32px; background: var(--brand-yellow); }

/* ===== Feature strip ===== */
.feature-strip { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.feature-strip-inner { display: grid; gap: 16px; border-radius: 16px; border: 1px solid var(--border); background: #fff; padding: 24px; box-shadow: 0 1px 2px rgba(0,0,0,.04); grid-template-columns: repeat(2,1fr); }
@media (min-width: 1024px) { .feature-strip-inner { grid-template-columns: repeat(4,1fr); } }
.feature-item { display: flex; align-items: center; gap: 12px; }
.feature-icon { display: grid; place-items: center; height: 48px; width: 48px; flex-shrink: 0; border-radius: 12px; background: rgba(225,29,46,.1); color: var(--brand-red); }
.feature-title { font-weight: 600; color: var(--ink); font-family: 'Poppins',sans-serif; }
.feature-desc { font-size: 12px; color: var(--soft); }

/* ===== Sections generic ===== */
.section { max-width: 1280px; margin: 0 auto; padding: 40px 1rem; }
.section-head { margin-bottom: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-title { font-size: 26px; font-weight: 700; color: var(--ink); }
@media (min-width: 768px) { .section-title { font-size: 30px; } }
.section-sub { margin-top: 4px; font-size: 14px; color: var(--soft); }
.scroll-arrows { display: flex; gap: 8px; flex-shrink: 0; }
.scroll-arrow { display: grid; place-items: center; height: 40px; width: 40px; border-radius: 9999px; border: 1px solid var(--border); background: #fff; color: var(--ink); }
.scroll-arrow:hover { background: var(--brand-red); color: #fff; border-color: var(--brand-red); }

/* ===== Category grid ===== */
.category-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
@media (min-width: 768px) { .category-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .category-grid { grid-template-columns: repeat(6,1fr); } }
.category-card { display: block; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 2px 8px rgba(17,24,39,.05); border: 1px solid var(--border); transition: all .3s ease; }
.category-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(17,24,39,.1); border-color: rgba(225,29,46,.25); }
.category-card .thumb { aspect-ratio: 1/1; overflow: hidden; background: var(--muted); position: relative; }
.category-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.15), transparent 50%); }
.category-card .thumb img { height: 100%; width: 100%; object-fit: cover; transition: transform .5s ease; }
.category-card:hover .thumb img { transform: scale(1.12); }
.category-card .label { padding: 14px; text-align: center; font-weight: 700; font-size: 14px; color: var(--ink); }
.category-card:hover .label { color: var(--brand-red); }

/* ===== Product carousel / card ===== */
.carousel-track { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; padding-bottom: 8px; margin: 0 -4px; padding-left: 4px; padding-right: 4px; }
.product-card { position: relative; display: flex; width: 260px; flex-shrink: 0; flex-direction: column; overflow: hidden; border-radius: 18px; border: 1px solid var(--border); background: var(--card); box-shadow: 0 2px 8px rgba(17,24,39,.05); transition: all .3s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(17,24,39,.12); border-color: rgba(225,29,46,.2); }
.product-card .thumb { position: relative; display: block; height: 208px; overflow: hidden; background: var(--muted); }
.product-card .thumb img { height: 100%; width: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .thumb img { transform: scale(1.1); }
.product-badge { position: absolute; left: 12px; top: 12px; border-radius: 9999px; background: var(--brand-red); padding: 4px 10px; font-size: 11px; font-weight: 700; color: #fff; }
.wishlist-btn { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; height: 38px; width: 38px; border-radius: 9999px; background: rgba(255,255,255,.95); color: var(--ink); border: none; box-shadow: 0 4px 10px rgba(0,0,0,.15); transition: all .2s ease; }
.wishlist-btn:hover { background: var(--brand-red); color: #fff; transform: scale(1.08); }
.wishlist-btn.active { background: var(--brand-red); color: #fff; }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.product-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-blue); }
.product-name { margin-top: 5px; font-size: 14.5px; font-weight: 600; color: var(--ink); min-height: 40px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.product-name:hover { color: var(--brand-red); }
.product-price-row { margin-top: 12px; display: flex; align-items: baseline; gap: 8px; }
.product-price { font-weight: 700; font-size: 16px; color: var(--brand-red); font-family: 'Poppins',sans-serif; }
.product-price-old { font-size: 12px; color: var(--soft); text-decoration: line-through; }
.add-to-cart-btn { margin-top: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 9999px; background: linear-gradient(135deg, var(--ink), #1f2937); padding: 11px 0; font-size: 12.5px; font-weight: 600; color: #fff; border: none; width: 100%; letter-spacing: .01em; box-shadow: 0 4px 12px rgba(17,24,39,.2); transition: all .2s ease; }
.add-to-cart-btn:hover { background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark)); box-shadow: 0 6px 16px rgba(225,29,46,.35); transform: translateY(-1px); color:#fff; }
.add-to-cart-btn.added { background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark)); }

/* ===== Promo banners ===== */
.promo-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .promo-grid { grid-template-columns: repeat(2,1fr); } }
.promo-card { position: relative; overflow: hidden; border-radius: 24px; color: #fff; padding: 32px; min-height: 208px; display: flex; align-items: center; }
.promo-card.red { background: linear-gradient(to bottom right, var(--brand-red), var(--brand-red-dark)); }
.promo-card.blue { background: linear-gradient(to bottom right, var(--brand-blue), var(--brand-blue-dark)); }
.promo-content { position: relative; z-index: 2; max-width: 60%; }
.promo-eyebrow { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--brand-yellow); }
.promo-title { margin-top: 8px; font-weight: 700; font-size: 24px; line-height: 1.2; }
@media (min-width: 768px) { .promo-title { font-size: 28px; } }
.promo-sub { margin-top: 4px; font-size: 14px; color: rgba(255,255,255,.85); }
.promo-btn { margin-top: 16px; display: inline-flex; border-radius: 9999px; background: #fff; color: var(--ink); padding: 8px 16px; font-size: 12px; font-weight: 600; border: none; }
.promo-btn:hover { background: var(--brand-yellow); }
.promo-img { position: absolute; right: 0; bottom: 0; height: 100%; width: 50%; object-fit: cover; opacity: .9; filter: grayscale(.3); }

/* ===== Footer ===== */
.site-footer { background: var(--footer); color: var(--footer-foreground); margin-top: 80px; }
.footer-grid { max-width: 1280px; margin: 0 auto; padding: 56px 1rem; display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4,1fr); } }
.footer-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.footer-brand-name { font-weight: 700; font-size: 18px; color: #fff; }
.footer-desc { font-size: 14px; color: rgba(229,231,235,.7); line-height: 1.6; }
.footer-newsletter { margin-top: 20px; display: flex; }
.footer-newsletter input { flex: 1; height: 44px; border-radius: 9999px 0 0 9999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); padding: 0 16px; font-size: 14px; color: #fff; }
.footer-newsletter input::placeholder { color: rgba(255,255,255,.5); }
.footer-newsletter button { height: 44px; border-radius: 0 9999px 9999px 0; background: var(--brand-red); padding: 0 20px; font-size: 14px; font-weight: 600; color: #fff; border: none; }
.footer-newsletter button:hover { background: var(--brand-red-dark); }
.footer-heading { font-weight: 600; font-size: 18px; color: #fff; margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(229,231,235,.8); }
.footer-links a:hover { color: var(--brand-yellow); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 12px; font-size: 14px; color: rgba(229,231,235,.8); }
.footer-contact svg { color: var(--brand-yellow); flex-shrink: 0; margin-top: 2px; }
.footer-social { margin-top: 20px; display: flex; gap: 8px; }
.footer-social a { display: grid; place-items: center; height: 36px; width: 36px; border-radius: 9999px; background: rgba(255,255,255,.1); color: #fff; }
.footer-social a:hover { background: var(--brand-red); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { max-width: 1280px; margin: 0 auto; padding: 20px 1rem; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: rgba(229,231,235,.6); }
@media (min-width: 640px) { .footer-bottom-inner { flex-direction: row; } }

/* ===== Generic pages (about/contact/videos/shop/cart) ===== */
.page-hero-tag { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-red); }
.page-title { margin-top: 8px; font-weight: 700; font-size: 32px; color: var(--ink); }
@media (min-width: 768px) { .page-title { font-size: 40px; } }
.card-box { border-radius: 16px; border: 1px solid var(--border); background: #fff; padding: 24px; }
.grid-3 { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: 2fr 1fr; } }
.stat-box { border-radius: 16px; border: 1px solid var(--border); background: #fff; padding: 20px; text-align: center; }
.stat-num { font-weight: 700; font-size: 28px; color: var(--brand-red); font-family: 'Poppins',sans-serif; }
.stat-label { margin-top: 4px; font-size: 12px; color: var(--soft); }
.promise-box { border-radius: 16px; background: var(--brand-blue); color: #fff; padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.promise-icon { display: grid; place-items: center; height: 48px; width: 48px; flex-shrink: 0; border-radius: 12px; background: var(--brand-yellow); color: var(--ink); }

.contact-grid { margin-top: 40px; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(3,1fr); } }
.contact-form { border-radius: 16px; background: var(--footer); color: var(--footer-foreground); padding: 24px; }
.contact-form label span { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.7); }
.contact-form .input-field { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.1); color: #fff; margin-bottom: 16px; }
.contact-form .input-field::placeholder { color: rgba(255,255,255,.5); }
.contact-form button { width: 100%; margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 9999px; background: var(--brand-red); padding: 12px 0; font-size: 14px; font-weight: 600; color: #fff; border: none; }
.contact-form button:hover { background: var(--brand-red-dark); }
.contact-map { overflow: hidden; border-radius: 16px; border: 1px solid var(--border); background: #fff; min-height: 288px; }
.contact-map iframe { height: 100%; width: 100%; min-height: 288px; border: 0; }
.info-row { display: flex; gap: 12px; margin-bottom: 16px; }
.info-icon { display: grid; place-items: center; height: 40px; width: 40px; flex-shrink: 0; border-radius: 12px; background: rgba(225,29,46,.1); color: var(--brand-red); }
.form-msg { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; }
.form-msg.success { background: #d1fae5; color: #065f46; }
.form-msg.error { background: #fee2e2; color: #991b1b; }

.video-grid { margin-top: 40px; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .video-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .video-grid { grid-template-columns: repeat(3,1fr); } }
.video-card { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04); transition: all .25s; }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,.08); }
.video-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--muted); }
.video-thumb img { height: 100%; width: 100%; object-fit: cover; }
.video-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.25); display: grid; place-items: center; }
.play-btn { display: grid; place-items: center; height: 56px; width: 56px; border-radius: 9999px; background: var(--brand-red); color: #fff; }
.video-length { position: absolute; bottom: 12px; right: 12px; border-radius: 6px; background: rgba(0,0,0,.7); padding: 2px 8px; font-size: 11px; font-weight: 600; color: #fff; }
.video-body { padding: 20px; }
.video-body h3 { font-weight: 600; color: var(--ink); }
.video-body p { margin-top: 4px; font-size: 12px; color: var(--soft); }

/* Shop / Woo overrides */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(2,1fr); gap: 20px; }
@media (min-width: 768px) { .woocommerce ul.products { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .woocommerce ul.products { grid-template-columns: repeat(4,1fr); } }
.woocommerce ul.products li.product { width: 100% !important; margin: 0 !important; }
.woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit,
.woocommerce input.button, .woocommerce span.onsale {
  border-radius: 9999px !important; background: var(--ink) !important; color: #fff !important; border: none !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--brand-red) !important; }
.woocommerce span.onsale { background: var(--brand-red) !important; }
.woocommerce .price ins { color: var(--brand-red); text-decoration: none; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--brand-red); }
.woocommerce-page .content-area { max-width: 1280px; margin: 0 auto; padding: 40px 1rem; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--brand-red) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--brand-red) !important; }
