.promo-bar {
  position: sticky;
  top: 0;
  z-index: 42;
  height: var(--promo-h);
  background: linear-gradient(90deg, #bbe0d7 0%, #d8efe9 42%, #87caa4 78%, #bbe0d7 100%);
  color: var(--black);
  overflow: hidden;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.promo-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
  padding: 10px 0;
}

.promo-track span {
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 41;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  color: #ffffff;
  transition: background 0.4s ease, color 0.4s ease;
  border-bottom: 1px solid transparent;
  margin-bottom: calc(var(--header-h) * -1);
}

.site-header a,
.site-header .icon-btn,
.site-header .nav a {
  color: inherit;
}

.site-header svg {
  stroke: currentColor;
}

body:has(.promo-bar) .site-header {
  top: var(--promo-h);
}

.site-header.is-scrolled {
  background: linear-gradient(90deg, #7acbd6 0%, #bbe0d7 38%, #87caa4 70%, #7acbd6 100%);
  color: #111111;
}

.site-header.is-scrolled a,
.site-header.is-scrolled .icon-btn,
.site-header.is-scrolled .nav a {
  color: #111111;
}

.site-header.is-scrolled svg {
  stroke: #111111;
}

.site-header.is-solid {
  border-bottom-color: transparent;
}

.header-inner {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.logo {
  display: block;
  width: 148px;
  height: 44px;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-white { display: block; }
.logo-dark { display: none; }

.site-header.is-scrolled .logo-white { display: block; }
.site-header.is-scrolled .logo-dark { display: none; }

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a:hover::after,
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
}

.header-utils {
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu-toggle {
  display: none;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
  z-index: 50;
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer,
.search-overlay,
.mobile-nav {
  position: fixed;
  z-index: 60;
  background: var(--white);
  color: var(--black);
}

.drawer {
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  transform: translateX(100%);
  transition: transform var(--ease);
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.drawer.is-open {
  transform: none;
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.search-overlay {
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  padding: 24px;
  transition: opacity var(--ease);
}

.search-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.search-popup {
  background: var(--white);
  border-radius: 20px;
  width: min(820px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  padding: 36px 40px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  transform: translateY(16px);
  transition: transform var(--ease);
}

.search-overlay.is-open .search-popup {
  transform: none;
}

.search-popup-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.search-popup-head button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: background var(--ease);
}

.search-popup-head button:hover {
  background: var(--off);
}

.search-input-wrap {
  position: relative;
  margin-bottom: 28px;
}

.search-input-wrap input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 16px;
  padding: 14px 48px 14px 16px;
  outline: none;
  transition: border-color var(--ease);
}

.search-input-wrap input:focus {
  border-color: var(--blue);
}

.search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search-keywords {
  margin-bottom: 28px;
}

.search-keywords h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.keyword-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keyword-tags a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-size: 13px;
  transition: background var(--ease), border-color var(--ease);
}

.keyword-tags a:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.search-recent h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.recent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.recent-card {
  text-align: center;
}

.recent-img {
  aspect-ratio: 1;
  background: var(--product-stage, #f5f4f0);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}

.recent-img img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.recent-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.recent-price {
  font-size: 13px;
  color: var(--muted);
}

.search-results {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.search-results a {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 640px) {
  .search-popup {
    padding: 24px 20px;
  }
  .recent-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mobile-nav {
  top: 0;
  left: 0;
  width: min(360px, 100%);
  height: 100%;
  padding: 28px;
  transform: translateX(-100%);
  transition: transform var(--ease);
}

.mobile-nav.is-open {
  transform: none;
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  background: linear-gradient(165deg, #bbe0d7 0%, #7acbd6 36%, #87caa4 72%, #5eb8c6 100%);
  padding: 72px 0 28px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
  gap: 32px;
}

.footer-grid h3 {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 18px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  color: var(--charcoal);
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-grid a:hover {
  color: var(--black);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 12px;
  color: var(--charcoal);
}

.footer-logo {
  width: 160px;
}

.pay-row {
  display: flex;
  gap: 8px;
}

.pay-chip {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-social {
  color: var(--white);
  transition: opacity var(--ease);
}

.footer-social:hover {
  opacity: 0.7;
}

.featured-products {
  background: var(--white);
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(65, 65, 65, 0.08);
  padding: 12px 12px 16px;
  text-align: center;
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}

.product-card:hover {
  border-color: #d8d3cc;
  box-shadow: 0 16px 36px rgba(65, 65, 65, 0.14);
  transform: translateY(-3px);
}

.product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--product-stage);
  border-radius: 24px;
  overflow: hidden;
}

.product-visual {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--product-stage);
}

.product-visual img,
.product-media > img,
.gallery-main img,
.cart-thumb img,
.quick-modal-media img,
.camp-media img {
  width: 78%;
  height: 82%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 16px 14px rgba(40, 36, 32, 0.18));
}

.product-hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 14px;
  background: rgba(245, 244, 240, 0.25);
  backdrop-filter: blur(0.5px);
  border-radius: 24px;
  opacity: 0;
  transition: opacity var(--ease);
  pointer-events: none;
}

.product-card:hover .product-hover,
.product-card:focus-within .product-hover,
.camp-card:hover .product-hover,
.camp-card:focus-within .product-hover {
  opacity: 1;
  pointer-events: auto;
}

.hover-wish {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: background var(--ease), transform var(--ease);
}

.hover-wish:hover {
  transform: scale(1.1);
}

.hover-wish svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--charcoal);
  stroke-width: 1.6;
}

.hover-wish.is-on svg {
  fill: #e26b5a;
  stroke: #e26b5a;
}

.quick-view {
  min-height: 38px;
  padding: 0 20px;
  border-radius: var(--pill);
  background: var(--white);
  color: var(--black);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: background var(--ease);
  width: auto;
}

.quick-view:hover {
  background: var(--blue);
}

.btn-cart {
  width: auto;
  justify-content: center;
  min-height: 42px;
  padding: 0 28px;
  margin-top: 6px;
  background: var(--blue);
  color: var(--black);
}

.section-head .btn-cart,
.campaign-copy .btn-cart {
  margin-top: 0;
}

.btn-cart:hover {
  background: #f4b19a;
  color: var(--black);
}

.card-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--ease), transform var(--ease);
}

.product-card:hover .card-actions {
  opacity: 1;
  transform: none;
}

.card-actions button {
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 8px;
  display: grid;
  place-items: center;
}

.card-actions svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

@media (hover: none) {
  .product-hover {
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    backdrop-filter: none;
  }
  .product-hover .quick-view {
    display: none;
  }
}

.quick-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 70;
  width: min(860px, calc(100% - 32px));
  max-height: min(88vh, 720px);
  overflow: auto;
  background: var(--white);
  color: var(--black);
  border-radius: 22px;
  padding: 28px;
  transform: translate(-50%, -46%) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease), transform var(--ease);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.quick-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.quick-modal-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.quick-modal-media {
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  background: var(--product-stage);
  display: grid;
  place-items: center;
}

.product-type {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  letter-spacing: 0.12em;
}

.pagination a,
.pagination span {
  min-width: 28px;
  text-align: center;
}

.pagination .is-active {
  border-bottom: 1px solid var(--black);
}

.cart-freeship {
  margin-bottom: 20px;
  font-size: 13px;
}

.cart-freeship strong {
  color: var(--blue);
}

.freeship-bar {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}

.freeship-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #87caa4);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
}

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.cart-thumb {
  width: 72px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--product-stage);
  display: grid;
  place-items: center;
}

.cart-line-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}

.cart-line-info .product-name {
  font-weight: 600;
  font-size: 14px;
}

.cart-line-meta {
  color: var(--muted);
  font-size: 12px;
}

.cart-remove {
  color: #e26b5a;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  align-self: start;
}

.cart-remove:hover {
  text-decoration: underline;
}

.cart-line-price {
  text-align: right;
  font-size: 14px;
  white-space: nowrap;
}

.cart-actions-row {
  display: flex;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.cart-action-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12px;
  transition: background var(--ease);
}

.cart-action-btn:hover {
  background: var(--off);
}

.drawer-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.drawer-foot .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 16px;
}

.drawer-foot .btn-dark {
  background: var(--blue);
  color: var(--black);
}

.drawer-foot .btn-dark:hover {
  background: #f4b19a;
}

.cart-terms {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  cursor: pointer;
}

.cart-terms a {
  text-decoration: underline;
}

.cart-foot-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cart-foot-btns .btn-ghost {
  border: 1px solid var(--black);
  justify-content: center;
}

.cart-foot-btns .btn-cart {
  justify-content: center;
}

.cart-continue {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.cart-continue a {
  text-decoration: underline;
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: grid;
  place-items: center;
  z-index: 30;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .logo {
    justify-self: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .drawer {
    top: auto;
    height: min(88vh, 100%);
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
  }

  .drawer.is-open {
    transform: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quick-modal-grid {
    grid-template-columns: 1fr;
  }

  .quick-modal-media {
    max-height: 280px;
  }
}

@media (hover: none) {
  .quick-view {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
