@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap");

:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #141821;
  --muted: #5b6474;
  --line: #dde2ea;
  --brand: #0077d9;
  --brand-2: #ef233c;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(20,24,33,0.08);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 10% -10%, #d9ecff 0%, var(--bg) 35%), var(--bg);
  color: var(--text);
  font-family: "Outfit", "Segoe UI", Tahoma, sans-serif;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1480px, 94vw); margin: 0 auto; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.btn { display: inline-block; padding: 11px 15px; border-radius: 10px; font-weight: 700; border: 1px solid transparent; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-outline { border-color: var(--line); background: #fff; }

/* Utility Strip */
.utility-strip {
  position: sticky;
  top: 0;
  z-index: 150;
  background: linear-gradient(100deg, #0a4fd4 0%, #0c7ef2 55%, #12a6ff 100%);
}
.utility-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
  font-family: "Plus Jakarta Sans", "Outfit", sans-serif;
  font-weight: 600;
  font-size: 13px;
}
.utility-inner span { display: inline-flex; align-items: center; gap: 8px; }
.utility-inner svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

/* Shared Storefront Header */
.store-header {
  position: sticky;
  top: 42px;
  z-index: 140;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-main {
  display: grid;
  grid-template-columns: 260px 1fr 360px 72px;
  gap: 22px;
  align-items: center;
  min-height: 82px;
}
.logo-wrap { padding-right: 24px; }
.logo-wrap img { max-width: 250px; width: 100%; height: auto; display: block; }

.main-cats {
  display: flex;
  gap: 18px;
  align-items: center;
  overflow-x: auto;
  padding-left: 14px;
}
.main-cats a {
  position: relative;
  color: #1d2430;
  font-family: "Plus Jakarta Sans", "Outfit", sans-serif;
  font-weight: 700;
  letter-spacing: .01em;
  padding: 8px 2px;
  white-space: nowrap;
  transition: color .22s ease, transform .22s ease;
}
.main-cats a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, #0d8bff, #f53b3b, #ffd22f, #65b741);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .24s ease;
}
.main-cats a:hover { color: #0b64d6; transform: translateY(-1px); }
.main-cats a:hover::after { transform: scaleX(1); }
.main-cats a.active { color: #0b64d6; }
.main-cats a.active::after { transform: scaleX(1); }
.main-cats .sale-link { color: #ef233c; }
.main-cats .sale-link.active { color: #d7132d; }

.head-search {
  display: flex;
  border: 1px solid #d7dfeb;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 10px 20px rgba(18, 54, 120, 0.08);
  overflow: hidden;
  height: 46px;
}
.head-search .search-icon {
  width: 20px;
  height: 20px;
  margin: 0 0 0 12px;
  align-self: center;
  stroke: #6f7f98;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.head-search input {
  border: 0;
  flex: 1;
  font-family: "Outfit", sans-serif;
  padding: 10px 12px 10px 10px;
}
.head-search input::placeholder { color: #97a5bc; }
.head-search button {
  border: 0;
  background: linear-gradient(100deg, #0a73f0 0%, #0d8bff 100%);
  border-left: 1px solid #0d84fa;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  min-width: 104px;
}

.mobile-actions { display: flex; align-items: center; gap: 14px; justify-self: end; }
.head-login {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.head-login i {
  font-size: 19px;
  color: #0f172a;
  line-height: 1;
  display: inline-block;
}
.head-login:hover i { color: #0b64d6; }
.head-login.is-avatar { width: 34px; height: 34px; }
.head-avatar {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(120deg, #0d7bf4, #ef233c);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: 0 6px 16px rgba(13,123,244,.28);
}
.head-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
.head-login.is-avatar:hover .head-avatar { filter: brightness(1.04); }
.head-cart {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  position: relative;
}
.head-cart i { font-size: 20px; color: #111827; line-height: 1; display: inline-block; }
.head-cart.has-items i { color: #dc2626; }
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #1d4ed8;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  border: 1px solid #fff;
  box-shadow: 0 3px 8px rgba(29,78,216,.35);
}

.menu-toggle {
  display: none;
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #fca5a5;
  border-radius: 12px;
  background: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #dc2626;
  border-radius: 99px;
  display: block;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 18px rgba(15,23,42,.08);
}
.mobile-drawer.open { display: block; }
.mobile-drawer a {
  display: block;
  padding: 12px 4vw;
  border-bottom: 1px solid #eef2f7;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  color: #1d2430;
}


/* Shop Product Cards */
.shop-grid { align-items: stretch; }
.shop-product-card { padding: 14px; display: grid; gap: 10px; align-content: start; border-color: #d7e3f2; box-shadow: 0 16px 34px rgba(15,23,42,.10); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.shop-product-card:hover { transform: translateY(-3px); border-color: #b9cdec; box-shadow: 0 22px 42px rgba(15,23,42,.14); }
.shop-product-slider { position: relative; }
.shop-thumb { height: 240px; border-radius: 12px; background: linear-gradient(140deg,#f7f9fd,#fff4f7); overflow: hidden; display: flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; position: relative; }
.shop-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 10px; }
.shop-thumb .shop-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .24s ease; }
.shop-thumb .shop-slide.active { opacity: 1; }
.shop-slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 999px; background: rgba(255,255,255,.92); color: #0f172a; box-shadow: 0 8px 18px rgba(15,23,42,.16); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; z-index: 4; }
.shop-slider-btn.prev { left: 8px; }
.shop-slider-btn.next { right: 8px; }
.shop-slider-btn:hover { background: #fff; color: #0b72e7; }
.shop-slider-dots { position: absolute; left: 0; right: 0; bottom: 9px; display: flex; justify-content: center; gap: 5px; z-index: 4; }
.shop-slider-dots span { width: 7px; height: 7px; border-radius: 999px; background: rgba(15,23,42,.24); }
.shop-slider-dots span.active { background: #0b72e7; width: 18px; }
.shop-product-card h3 { margin: 0; font-size: 20px; line-height: 1.2; }
.shop-product-card h3 a { color: #0b72e7; text-decoration: none; }
.shop-product-card h3 a:hover { color: #075dbd; }
.shop-card-cat { color: var(--muted); font-size: 14px; }
.shop-card-price { font-size: 21px; font-weight: 900; color: #7c2bd1; }
.shop-card-form { margin-top: 2px; }
.shop-card-form .btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }

.site-footer { margin-top: 40px; border-top: 1px solid var(--line); background: #fff; }
.site-footer .inner { padding: 24px 0; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0,1fr)); }

@media (max-width: 1180px) {
  .utility-strip { display: none; }
  .store-header { top: 0; }
  .head-search { display: none !important; visibility: hidden !important; width: 0 !important; max-width: 0 !important; overflow: hidden !important; }
  .main-cats { display: none !important; }
  .header-main { grid-template-columns: 220px 1fr; min-height: 74px; }
  .mobile-actions { display: flex !important; }
  .menu-toggle { display: inline-flex !important; }
  .head-cart { width: 30px; height: 30px; margin-right: 2px; }
  .head-login { width: 30px; height: 30px; }
}

@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  .container { width: min(1480px, 95vw); }
  .logo-wrap img { max-width: 200px; }
  .header-main { grid-template-columns: 200px 1fr; }
  .nav-marquee-run { min-height: 34px; font-size: 12px; gap: 20px; }
}

/* Premium Storefront Footer */
.site-footer-premium {
  margin-top: 52px;
  color: #e8eefc;
  background: linear-gradient(100deg, #041224 0%, #041a33 45%, #05203f 100%);
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-premium-grid {
  padding: 44px 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.25fr;
  gap: 32px;
}
.footer-col h4,
.footer-connect h3 {
  margin: 0 0 18px;
  font-family: "Plus Jakarta Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #fff;
}
.footer-connect h3 {
  text-transform: none;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1;
}
.footer-col a {
  display: block;
  color: #d9e5ff;
  margin: 0 0 10px;
  font-size: 15px;
  transition: color .2s ease, transform .2s ease;
}
.footer-col a:hover {
  color: #fff;
  transform: translateX(2px);
}
.social-row {
  display: flex;
  gap: 10px;
  margin: 4px 0 16px;
}
.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.social-row a:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.45);
}
.footer-connect p {
  color: #d8e3fb;
  line-height: 1.45;
  margin: 0 0 14px;
  max-width: 44ch;
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(90deg,#ef4444,#f43f5e);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 800;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.footer-meta {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 14px 0 20px;
}
.footer-meta-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-meta-links a {
  color: #c3d2ef;
  font-size: 14px;
}
.footer-meta p {
  margin: 0;
  color: #9eb3d8;
  font-size: 13px;
}
@media (max-width: 1100px) {
  .footer-premium-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-marquee-run { min-height: 34px; font-size: 12px; gap: 20px; }
  .footer-premium-grid { grid-template-columns: 1fr; padding-top: 32px; }
  .footer-connect h3 { font-size: 1.7rem; }
}


.footer-logo-wrap {
  display: flex;
  justify-content: center;
  padding-top: 30px;
}
.footer-logo-top {
  width: min(420px, 82vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.35));
}


.footer-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  background: rgba(255,255,255,.08);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
}
.footer-admin-btn:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.45);
}

/* Sticky Navbar Marquee */
.nav-marquee {
  position: relative;
  top: 0;
  z-index: 120;
  background: linear-gradient(100deg, var(--mq-bg-from,#0a1226), var(--mq-bg-to,#0f2b52));
  border-bottom: 1px solid color-mix(in srgb, var(--mq-accent,#1f7ae0) 45%, white 55%);
}
.nav-marquee-track { overflow: hidden; }
.nav-marquee-run {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  width: max-content;
  color: var(--mq-text,#eef4ff);
  font-family: "Plus Jakarta Sans", "Outfit", sans-serif;
  font-weight: 700;
  font-size: 13px;
  animation: navMarqueeMove var(--mq-speed,28s) linear infinite;
  transform: translateX(0);
}
.nav-marquee-run span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav-marquee-run span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--mq-accent,#1f7ae0);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--mq-accent,#1f7ae0) 25%, transparent);
}
@keyframes navMarqueeMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.nav-marquee:hover .nav-marquee-run { animation-play-state: paused; }
