/* JK Safety Vision — Liquid Glass homepage layer
   Add <link rel="stylesheet" href="liquid-glass-home.css"> AFTER the inline <style> in index.html. */
:root {
  --lg-ivory: #f7f2e8;
  --lg-cream: #fffaf1;
  --lg-ink: #292722;
  --lg-bronze: #a9783f;
  --lg-gold: #d4b078;
  --lg-glass: rgba(35, 32, 29, .48);
  --lg-line: rgba(255, 255, 255, .24);
  --lg-shadow: 0 14px 38px rgba(35, 24, 13, .16), inset 0 1px 0 rgba(255,255,255,.52);
}

html { scroll-behavior: smooth; }
body {
  background-color: var(--lg-ivory);
  background-image: radial-gradient(ellipse at 15% 0%, rgba(255,255,255,.92), transparent 42%),
    radial-gradient(ellipse at 90% 20%, rgba(212,176,120,.12), transparent 35%);
  color: var(--lg-ink);
}

/* Floating header / navigation */
.store-header {
  position: sticky;
  top: 8px;
  z-index: 1000;
  margin: 8px auto 14px;
  width: min( calc(100% - 24px), 1440px );
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 24px;
  background: rgba(255,250,241,.62);
  -webkit-backdrop-filter: blur(28px) saturate(175%);
  backdrop-filter: blur(24px) saturate(165%);
  box-shadow: var(--lg-shadow);
}
.store-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.42), transparent 48%, rgba(212,176,120,.08));
}
.header-main, .header-nav, .search-wrap, .category-strip, .brand-pills {
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}
.search-wrap {
  border: 1px solid var(--lg-line) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.72) !important;
  box-shadow: inset 0 1px 2px rgba(70,50,20,.04), 0 4px 14px rgba(70,50,20,.05);
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.search-wrap:focus-within {
  border-color: rgba(169,120,63,.55) !important;
  box-shadow: 0 0 0 4px rgba(169,120,63,.11), 0 8px 22px rgba(70,50,20,.08);
}

/* Glass chips and pill controls */
button, .btn, .brand-pill, .category-chip, .filter-chip, .hero-dot,
.category-item, .nav-link, .header-action, .add-cart, .wishlist-btn,
.product-action, .sort-btn, .filter-btn {
  -webkit-tap-highlight-color: transparent;
}
.btn, button, .brand-pill, .category-chip, .filter-chip, .nav-link,
.header-action, .add-cart, .wishlist-btn, .product-action, .sort-btn, .filter-btn {
  transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease,
    background .22s ease, border-color .22s ease, color .22s ease;
}
.btn, .brand-pill, .category-chip, .filter-chip, .nav-link, .header-action,
.sort-btn, .filter-btn {
  border-radius: 999px;
}
.brand-pill, .category-chip, .filter-chip, .nav-link, .header-action {
  border: 1px solid var(--lg-line);
  background: rgba(255,255,255,.58);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 4px 12px rgba(61,45,24,.045), inset 0 1px 0 rgba(255,255,255,.8);
}
.btn:hover, button:hover, .brand-pill:hover, .category-chip:hover,
.filter-chip:hover, .nav-link:hover, .header-action:hover, .add-cart:hover,
.wishlist-btn:hover, .product-action:hover, .sort-btn:hover, .filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(91,64,31,.12), inset 0 1px 0 rgba(255,255,255,.82);
}
.btn:active, button:active, .brand-pill:active, .category-chip:active,
.filter-chip:active, .nav-link:active, .header-action:active, .add-cart:active,
.wishlist-btn:active, .product-action:active, .sort-btn:active, .filter-btn:active {
  transform: scale(.96);
}
.btn-primary, .add-cart, .product-action.primary {
  border: 1px solid rgba(255,255,255,.36) !important;
  color: #fffaf1 !important;
  background: linear-gradient(135deg, #aa7b45, #76502b) !important;
  box-shadow: 0 7px 18px rgba(120,79,37,.22), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover, .add-cart:hover, .product-action.primary:hover {
  background: linear-gradient(135deg, #b98b53, #855d34) !important;
}

/* Sliding highlight feel for selectable pills */
.brand-pill, .category-chip, .filter-chip, .nav-link {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.brand-pill::after, .category-chip::after, .filter-chip::after, .nav-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(110deg, rgba(212,176,120,.25), rgba(255,255,255,.52));
  transform: translateX(-105%);
  transition: transform .35s cubic-bezier(.22,.8,.25,1);
}
.brand-pill:hover::after, .category-chip:hover::after, .filter-chip:hover::after,
.nav-link:hover::after, .brand-pill.active::after, .category-chip.active::after,
.filter-chip.active::after, .nav-link.active::after {
  transform: translateX(0);
}

/* HERO SAFETY: keep existing camera size, placement and slider untouched.
   Only remove the unwanted frame; glass styling is applied to other UI surfaces. */
.hero > .hero-visual {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.hero > .hero-visual::before,
.hero > .hero-visual::after {
  content: none !important;
  display: none !important;
}
#heroProductImage {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.hero-dots button, .hero-dot {
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: width .28s ease, transform .22s ease, background .22s ease;
}
.hero-dots button.active, .hero-dot.active {
  width: 25px;
  border-radius: 999px;
}

/* Product surfaces */
.product-card, .category-card, .brand-tile, .info-card, .benefit-card,
.promo-card, .product-row-card {
  border: 1px solid rgba(255,255,255,.72) !important;
  border-radius: 22px !important;
  background: rgba(255,250,241,.58) !important;
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
  box-shadow: 0 8px 24px rgba(64,47,25,.075), inset 0 1px 0 rgba(255,255,255,.82);
  transition: transform .26s cubic-bezier(.2,.8,.2,1), box-shadow .26s ease, border-color .26s ease;
}
.product-card:hover, .category-card:hover, .brand-tile:hover, .info-card:hover,
.benefit-card:hover, .product-row-card:hover {
  transform: translateY(-5px);
  border-color: rgba(169,120,63,.28) !important;
  box-shadow: 0 17px 34px rgba(64,47,25,.12), inset 0 1px 0 rgba(255,255,255,.9);
}
.product-image, .product-image-wrap, .product-thumb {
  overflow: hidden;
  border-radius: 16px;
}
.product-image img, .product-image-wrap img, .product-thumb img {
  transition: transform .42s cubic-bezier(.2,.8,.2,1);
}
.product-card:hover .product-image img, .product-card:hover .product-image-wrap img,
.product-card:hover .product-thumb img { transform: scale(1.045); }

/* Small status badges */
.badge, .product-badge, .rating-badge, .stock-badge, .discount-badge {
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 3px 10px rgba(45,35,20,.08);
}

/* Cart, toast, contact overlays */
.toast, #toast, .contact-popup, .modal, .popup, .cart-panel, .dropdown-panel {
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 24px;
  background: rgba(255,250,241,.86);
  -webkit-backdrop-filter: blur(28px) saturate(165%);
  backdrop-filter: blur(28px) saturate(165%);
  box-shadow: 0 22px 65px rgba(38,29,18,.2), inset 0 1px 0 rgba(255,255,255,.85);
}

/* Footer and lower sections */
footer, .site-footer {
  background: rgba(255,250,241,.68);
  border-top: 1px solid rgba(169,120,63,.14);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

:focus-visible {
  outline: 3px solid rgba(169,120,63,.48);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media (max-width: 700px) {
  .store-header { top: 4px; width: calc(100% - 12px); margin-top: 4px; border-radius: 19px; }
  .product-card, .category-card, .brand-tile, .info-card, .benefit-card { border-radius: 18px !important; }
}


/* Extra liquid-glass sheen and smooth pill press feedback */
.store-header, .search-wrap, .product-card, .category-card, .brand-tile,
.info-card, .benefit-card, .promo-card, .toast, #toast, .contact-popup,
.modal, .popup, .cart-panel, .dropdown-panel {
  position: relative;
}
.product-card, .category-card, .brand-tile, .info-card, .benefit-card, .promo-card {
  overflow: hidden;
}
.product-card::before, .category-card::before, .brand-tile::before,
.info-card::before, .benefit-card::before, .promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.34), transparent 38%, rgba(198,151,88,.07));
  opacity: .9;
}
.btn, button, .brand-pill, .category-chip, .filter-chip, .nav-link,
.header-action, .add-cart, .wishlist-btn, .product-action, .sort-btn, .filter-btn {
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  touch-action: manipulation;
}
@media (prefers-reduced-motion: no-preference) {
  .btn:active, button:active, .brand-pill:active, .category-chip:active,
  .filter-chip:active, .nav-link:active, .header-action:active,
  .add-cart:active, .wishlist-btn:active, .product-action:active,
  .sort-btn:active, .filter-btn:active { transition-duration: .08s; }
}
/* JK SAFETY VISION — LIQUID GLASS FINISH */

/* Header glass */
.store-header,
.header-main,
.brand-bar,
.cat-strip,
.benefits,
.category-grid,
.category-tile {
  background: rgba(255, 250, 241, 0.48) !important;
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  backdrop-filter: blur(22px) saturate(165%);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    0 12px 32px rgba(55, 39, 23, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

/* Rounded glass surfaces */
.store-header,
.header-main,
.brand-bar,
.cat-strip,
.benefits,
.category-grid {
  border-radius: 22px;
}

/* Search glass */
.search-wrap,
.search-box,
.search-form {
  background: rgba(255, 255, 255, 0.52) !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
}

/* Pill buttons */
button,
.btn,
.brand-pill,
.wishlist-link,
.cart-link {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

button:active,
.btn:active,
.brand-pill:active {
  transform: scale(0.96);
}

/* Product cards — glass finish */
.product-card,
.product-row-card,
.info-card,
.promo {
  background: rgba(255, 255, 255, 0.48) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 22px;
  box-shadow:
    0 10px 30px rgba(55, 39, 23, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

/* Keep hero camera layout untouched */



/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  button,
  .btn,
  .brand-pill {
    transition: none !important;
  }
}