/* Component-level overrides for storefront Tailwind-ish theme.
 * Keep this file small and loaded last to avoid editing the minified baseline bundle.
 */

:root {
  --component-surface: rgba(255, 255, 255, 0.96);
  --component-surface-dark: rgba(15, 23, 42, 0.92);
  --header-nav-text: #0f172a;
  --header-nav-text-soft: rgba(15, 23, 42, 0.88);
  --header-nav-border-soft: rgba(148, 163, 184, 0.35);
  --header-nav-border: rgba(15, 23, 42, 0.12);
  --header-nav-surface: rgba(255, 255, 255, 0.98);
  --header-nav-shadow-lg: 0 32px 80px rgba(2, 6, 23, 0.18);
  --header-nav-shadow-md: 0 20px 50px rgba(2, 6, 23, 0.16);
}

/* --------------------------------------------------------------------------
 * Global contrast / defaults
 * -------------------------------------------------------------------------- */

body {
  background-color: var(--theme-color-bg) !important;
  color: var(--theme-color-text) !important;
}

/* --------------------------------------------------------------------------
 * Header navigation (desktop mega menu)
 * -------------------------------------------------------------------------- */

.header .header-nav-shell {
  display: none;
  background: #f1f5f9;
  color: var(--header-nav-text);
  border-bottom: 1px solid var(--header-nav-border-soft);
  overflow: visible;
}

@media (min-width: 1024px) {
  .header .header-nav-shell {
    display: block;
  }
}

/* Strip legacy list chrome without touching .mega-panel or pages flyout ul (nested under #Menu > ul > li). */
.header .header-nav-shell .header-nav-categories ul:not(.mega-panel),
.header .header-nav-shell .header-nav-pages #Menu > ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.header .header-nav-shell li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Avoid background on all shell anchors — a broad transparent !important was overriding pill fills */
.header .header-nav-shell a {
  box-shadow: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* Baseline sets a,a:link,a:visited { color: #67e8f9 !important }; nav strip sits outside #Header */
.header .header-nav-shell a,
.header .header-nav-shell a:link,
.header .header-nav-shell a:visited {
  color: var(--header-nav-text-soft) !important;
  text-shadow: none !important;
}

.header .header-nav-shell a:hover,
.header .header-nav-shell a:focus-visible {
  color: var(--header-nav-text) !important;
  text-shadow: none !important;
}

.header .header-nav-pages {
  overflow: visible;
  position: relative;
  flex: 0 1 auto;
  min-width: 0;
}

/* Baseline styles raw #Menu / .sf-menu (gradients, borders, cyan hovers) — isolate strip copy of #Menu */
.header .header-nav-pages #Menu {
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  border-bottom: 0 !important;
  color: inherit !important;
  overflow: visible;
  position: relative;
}

.header .header-nav-categories ul.mega-root.sf-menu {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border-bottom: 0 !important;
}

/* SideCategoryList renders Superfish classes (sf-menu/sf-vertical);
 * cancel legacy float/skin rules inside the modern header shell.
 */
.header .header-nav-categories ul.mega-root.sf-menu,
.header .header-nav-categories ul.mega-root.sf-menu > li,
.header .header-nav-categories ul.mega-root.sf-menu > li > a {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.header .header-nav-categories ul.mega-root.sf-menu > li > a {
  padding: 0 !important;
}

.header .header-nav-categories ul.mega-root.sf-menu .sf-with-ul::after,
.header .header-nav-categories ul.mega-root.sf-menu .sf-with-ul:after {
  content: none !important;
}

.header .header-nav-inner {
  box-sizing: border-box;
  max-width: 1536px;
  margin-left: auto;
  margin-right: auto;
  padding: 0.4rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: visible;
}

.header .header-nav-categories {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
}

.header .header-nav-categories ul.mega-root {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header .header-nav-categories ul.mega-root::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.header .header-nav-categories ul.mega-root > li.mega-item {
  position: static;
  margin: 0;
  min-width: 0;
}

.header .header-nav-categories ul.mega-root > li.mega-item > a.mega-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: min(18rem, 34vw);
  min-width: 0;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  color: rgba(15, 23, 42, 0.92) !important;
  border: 1px solid transparent;
  overflow: hidden;
}

.header .header-nav-categories ul.mega-root > li.mega-item > a.mega-link .mega-link-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header .header-nav-categories ul.mega-root > li.mega-item.has-submenu > a.mega-link::after {
  content: "▾";
  font-size: 0.72rem;
  opacity: 0.7;
}

.header .header-nav-categories ul.mega-root > li.mega-item > a.mega-link:hover,
.header .header-nav-categories ul.mega-root > li.mega-item > a.mega-link:focus-visible,
.header .header-nav-categories ul.mega-root > li.mega-item.is-open > a.mega-link {
  background: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(148, 163, 184, 0.5) !important;
  color: #0f172a !important;
  outline: none;
  text-shadow: none !important;
}

/* Mega panel */
.header .header-nav-categories ul.mega-root > li.mega-item > ul.mega-panel {
  display: none;
  position: absolute;
  left: 50%;
  right: auto;
  width: 100vw;
  margin-left: -50vw;
  top: calc(100% + 0.45rem);
  background: var(--header-nav-surface);
  border-top: 1px solid var(--header-nav-border) !important;
  border-right: 0 !important;
  border-bottom: 1px solid var(--header-nav-border) !important;
  border-left: 0 !important;
  border-radius: 0;
  box-shadow: var(--header-nav-shadow-lg) !important;
  padding: 1rem;
  max-height: min(70vh, 34rem);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 3000;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
}

.header .header-nav-categories ul.mega-root > li.mega-item.is-open > ul.mega-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .header .header-nav-categories ul.mega-root > li.mega-item.is-open > ul.mega-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: min(70vh, 30rem);
  }
}

.header .header-nav-categories ul.mega-root > li.mega-item > ul.mega-panel > li {
  margin: 0;
  list-style: none;
}

.header .header-nav-categories ul.mega-root > li.mega-item > ul.mega-panel > li > a {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  font-weight: 900;
  text-decoration: none;
  color: var(--header-nav-text) !important;
  padding: 0.25rem 0.25rem 0.4rem;
  border-radius: 0.75rem;
}

/* Same snippet emits .mega-link-label at every depth — top row ellipsizes; panel must wrap in columns */
.header .header-nav-categories ul.mega-panel .mega-link-label {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.header .header-nav-categories ul.mega-root > li.mega-item > ul.mega-panel > li > a:hover,
.header .header-nav-categories ul.mega-root > li.mega-item > ul.mega-panel > li > a:focus-visible {
  background: rgba(255, 0, 66, 0.08) !important;
  color: var(--header-nav-text) !important;
}

.header .header-nav-categories ul.mega-root > li.mega-item > ul.mega-panel > li > ul {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.header .header-nav-categories ul.mega-root > li.mega-item > ul.mega-panel > li > ul a {
  display: block;
  text-decoration: none;
  color: rgba(15, 23, 42, 0.78) !important;
  font-weight: 700;
  padding: 0.3rem 0.35rem;
  border-radius: 0.75rem;
}

.header .header-nav-categories ul.mega-root > li.mega-item > ul.mega-panel > li > ul a:hover,
.header .header-nav-categories ul.mega-root > li.mega-item > ul.mega-panel > li > ul a:focus-visible {
  background: rgba(15, 23, 42, 0.05) !important;
  color: var(--header-nav-text) !important;
}

/* Pages menu: render as compact pills */
.header .header-nav-pages #Menu > ul {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
  row-gap: 0.35rem;
}

.header .header-nav-pages #Menu > ul > li {
  margin: 0;
  position: relative;
}

.header .header-nav-pages #Menu > ul > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.85rem;
  color: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(255, 255, 255, 0.65) !important;
  white-space: nowrap;
  text-shadow: none !important;
}

.header .header-nav-pages #Menu > ul > li.HasSubMenu > a::after {
  content: "▾";
  font-size: 0.65rem;
  opacity: 0.65;
  line-height: 1;
}

.header .header-nav-pages #Menu > ul > li > a:hover,
.header .header-nav-pages #Menu > ul > li > a:focus-visible {
  background: rgba(255, 255, 255, 0.9) !important;
  color: var(--header-nav-text) !important;
}

/* Flyout subpages (HasSubMenu): was in-flow under flex row and blew layout */
.header .header-nav-pages #Menu > ul > li > ul {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 0.35rem);
  z-index: 3010;
  min-width: 12rem;
  max-width: min(22rem, 85vw);
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: var(--header-nav-surface);
  border: 1px solid var(--header-nav-border) !important;
  border-radius: 0.85rem;
  box-shadow: var(--header-nav-shadow-md) !important;
}

.header .header-nav-pages #Menu > ul > li:hover > ul,
.header .header-nav-pages #Menu > ul > li:focus-within > ul {
  display: block;
}

.header .header-nav-pages #Menu > ul > li > ul > li {
  margin: 0;
}

.header .header-nav-pages #Menu > ul > li > ul > li > a {
  display: block;
  padding: 0.42rem 0.85rem;
  margin: 0 0.3rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: rgba(15, 23, 42, 0.88) !important;
  white-space: normal;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.header .header-nav-pages #Menu > ul > li > ul > li > a:hover,
.header .header-nav-pages #Menu > ul > li > ul > li > a:focus-visible {
  background: rgba(15, 23, 42, 0.06) !important;
  color: var(--header-nav-text) !important;
}

.header .header-nav-categories ul.mega-root > li.mega-item > a.mega-link:hover,
.header .header-nav-categories ul.mega-root > li.mega-item > a.mega-link:focus-visible,
.header .header-nav-categories ul.mega-root > li.mega-item.is-open > a.mega-link,
.header .header-nav-categories ul.mega-root > li.mega-item > ul.mega-panel > li > a:hover,
.header .header-nav-categories ul.mega-root > li.mega-item > ul.mega-panel > li > a:focus-visible,
.header .header-nav-categories ul.mega-root > li.mega-item > ul.mega-panel > li > ul a:hover,
.header .header-nav-categories ul.mega-root > li.mega-item > ul.mega-panel > li > ul a:focus-visible,
.header .header-nav-pages #Menu > ul > li > a:hover,
.header .header-nav-pages #Menu > ul > li > a:focus-visible,
.header .header-nav-pages #Menu > ul > li > ul > li > a:hover,
.header .header-nav-pages #Menu > ul > li > ul > li > a:focus-visible {
  outline: none;
  text-shadow: none !important;
}

/* Make form controls readable even when legacy CSS collides. */
input,
select,
textarea {
  color: var(--theme-color-text);
}

/* --------------------------------------------------------------------------
 * Product details + QuickView
 * -------------------------------------------------------------------------- */

.ProductDetailsGrid,
.productDetails {
  color: var(--theme-color-text);
}

.ProductDetailsGrid .DetailRow {
  display: grid;
  grid-template-columns: minmax(7.5rem, 10rem) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.25rem 0;
}

.ProductDetailsGrid .DetailRow .Label {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--theme-color-text-soft);
  font-weight: 800;
}

.ProductDetailsGrid .DetailRow .Value {
  min-width: 0;
  color: var(--theme-color-text);
}

@media (max-width: 820px) {
  .ProductDetailsGrid .DetailRow {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* QuickView modal: ensure readable surface & consistent spacing. */
.QuickViewModal,
.quickview-shell {
  color: var(--theme-color-text) !important;
}

.QuickViewModal {
  background: var(--component-surface) !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  border-radius: 1.25rem !important;
  overflow: hidden;
}

.QuickViewModal .modalClose {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.QuickViewModal .modalClose:hover,
.QuickViewModal .modalClose:focus-visible {
  background: rgba(2, 6, 23, 0.09);
  outline: none;
}

.QuickViewModal #ModalContentContainer {
  max-height: calc(100vh - 2rem);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.QuickViewModal #QuickViewContent.quickview-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
  width: min(58rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 920px) {
  .QuickViewModal #QuickViewContent.quickview-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.75rem;
    padding: 1.5rem;
  }
}

.QuickViewModal .quickview-media {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.QuickViewModal .quickview-image {
  background: rgba(2, 6, 23, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  padding: 0.85rem;
}

.QuickViewModal .quickview-image img {
  max-height: 420px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.QuickViewModal .quickview-image-link {
  display: block;
  text-decoration: none;
}

.QuickViewModal .quickview-summary {
  min-width: 0;
  display: grid;
  align-content: start;
}

.QuickViewModal .quickview-purchase-panel {
  margin: 0;
}

.QuickViewModal .ProductDetailsGrid .DetailRow.quickview-header,
.QuickViewModal .ProductDetailsGrid .DetailRow.quickview-rating,
.QuickViewModal .ProductDetailsGrid .DetailRow.quickview-summary-text,
.QuickViewModal .ProductDetailsGrid .DetailRow.quickview-price-row,
.QuickViewModal .ProductDetailsGrid .DetailRow.quickview-actions-row {
  display: block;
  padding: 0;
}

.QuickViewModal .ProductDetailsGrid .DetailRow.quickview-header h1 {
  margin: 0.3rem 0 0;
  font-size: 1.15rem;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.QuickViewModal .ProductDetailsGrid .DetailRow.quickview-price-row .ProductPrice {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.QuickViewModal .quickview-summary-text {
  color: var(--theme-color-text-muted);
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  max-height: 6.4em; /* fallback */
}

.QuickViewModal .quickview-summary-text * {
  display: inline;
}

.QuickViewModal .productAttributeList,
.QuickViewModal .ProductOptionList {
  margin-top: 1rem;
}

.QuickViewModal .ProductOptionList,
.QuickViewModal .productAttributeList {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.7);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.QuickViewModal .ProductOptionList {
  background: rgba(255, 255, 255, 0.82);
}

.QuickViewModal .ProductOptionList .Label,
.QuickViewModal .productAttributeList label {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--theme-color-text-soft);
  font-weight: 800;
}

.QuickViewModal .ProductOptionList .product-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.35rem;
}

.QuickViewModal .ProductOptionList .product-form-row + .product-form-row {
  margin-top: 0.65rem;
}

.QuickViewModal .ProductOptionList .product-form-row .Value {
  min-width: 0;
}

.QuickViewModal .ProductOptionList .VariationSelect,
.QuickViewModal .ProductOptionList .product-select-input,
.QuickViewModal .ProductOptionList select {
  display: block;
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.QuickViewModal .quickview-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: start;
}

.QuickViewModal .product-purchase-submit,
.QuickViewModal .product-wishlist-trigger-wrap {
  width: 100%;
}

.QuickViewModal .product-add-cart-btn,
.QuickViewModal .product-wishlist-trigger {
  width: 100%;
  justify-content: center;
}

.QuickViewModal .quickview-more-link {
  margin: 0;
  font-weight: 800;
}

.quickview-shell .quickview-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  background: rgba(2, 6, 23, 0.04);
  border-radius: 1rem;
}

/* Product page thumbnail carousel (ImageCarouselBox).
 * Mobile is handled by `product-thumbs-mobile-fix.css`.
 */
@media (min-width: 768px) {
  .ProductGalleryThumbs .ImageCarouselBox.product-thumb-carousel {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
  }

  .ProductGalleryThumbs .ProductTinyImageList.product-thumb-list {
    flex: 1 1 auto;
    overflow: hidden !important;
  }

  .ProductGalleryThumbs .ProductTinyImageList.product-thumb-list ul {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 0.6rem !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .ProductGalleryThumbs .product-thumb-tiny-item {
    flex: 0 0 auto !important;
    width: 4.25rem !important;
    margin: 0 !important;
  }

  .ProductGalleryThumbs .product-thumb-tiny-inner {
    width: 100% !important;
    height: 4.25rem !important;
    border-radius: 1rem;
    overflow: hidden;
  }

  .ProductGalleryThumbs .product-thumb-tiny-link {
    display: block;
    width: 100% !important;
    height: 100% !important;
    padding: 0.35rem !important;
    border-radius: 1rem;
  }

  .ProductGalleryThumbs .product-thumb-tiny-image {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain;
    display: block;
  }

  .ProductGalleryThumbs .product-thumb-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 1px solid rgba(103, 232, 249, 0.18);
    background: rgba(2, 6, 23, 0.7);
    color: #e2e8f0;
    text-decoration: none;
    user-select: none;
  }

  .ProductGalleryThumbs .product-thumb-arrow.disabled {
    opacity: 0.35;
    pointer-events: none;
  }
}

/* --------------------------------------------------------------------------
 * Lightbox (productimage.php)
 * -------------------------------------------------------------------------- */

.product-image-popup-shell {
  color: var(--theme-color-text);
}

.product-image-popup-frame {
  background: rgba(2, 6, 23, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
}

.product-image-popup-frame .ProductZoomImage {
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
 * Footer
 * -------------------------------------------------------------------------- */

.footer {
  background: radial-gradient(1200px 600px at 10% 0%, rgba(34, 211, 238, 0.16), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(255, 0, 66, 0.12), transparent 55%),
    rgba(2, 6, 23, 0.98);
  color: #e2e8f0;
}

.footer a {
  color: inherit;
}

.footer a:hover {
  color: #ffffff;
}

.footer-band {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.footer-contact-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(103, 232, 249, 0.14);
  border-radius: 1.25rem;
  padding: 1.25rem;
}

.footer-title {
  font-weight: 900;
  line-height: 1.2;
}

.footer-copy {
  color: rgba(226, 232, 240, 0.78);
}

.footer-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.05rem;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  border: 1px solid rgba(226, 232, 240, 0.22);
  background: rgba(15, 23, 42, 0.65);
}

.footer-cta-primary {
  border-color: rgba(255, 0, 66, 0.5);
  background: rgba(255, 0, 66, 0.18);
}

.footer-cta-primary:hover {
  background: rgba(255, 0, 66, 0.28);
}

.footer-cta-secondary:hover {
  background: rgba(226, 232, 240, 0.12);
}

/* Footer layout: the template uses Tailwind-ish utility classes that are not
 * guaranteed to exist in the compiled baseline bundle. Keep the layout stable
 * by styling the semantic footer classes directly.
 */

.footer .footer-inner-panel {
  max-width: var(--theme-container-max, 96rem);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.footer .footer-inner-panel > * + * {
  margin-top: 3rem;
}

.footer .space-y-2 > * + * {
  margin-top: 0.5rem;
}

.footer .space-y-4 > * + * {
  margin-top: 1rem;
}

.footer .space-y-5 > * + * {
  margin-top: 1.25rem;
}

.footer .newsletter-band {
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  padding: 2.5rem 0 2rem;
}

.footer .footer-hero {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.footer .footer-grid {
  display: grid;
  gap: 2rem;
}

.footer .footer-lower {
  display: grid;
  gap: 1.5rem;
  align-items: end;
}

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

@media (min-width: 1024px) {
  .footer .footer-hero {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }

  .footer .footer-lower {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
  }
}

@media (min-width: 1280px) {
  .footer .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.footer .footer-eyebrow {
  color: rgba(226, 232, 240, 0.65);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0;
}

.footer .footer-contact-list,
.footer .footer-links,
.footer .footer-payment-icons {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer .footer-contact-list li,
.footer .footer-links li {
  line-height: 1.65;
}

.footer .footer-links a {
  text-decoration: none;
  color: rgba(226, 232, 240, 0.82);
}

.footer .footer-links a:hover,
.footer .footer-links a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer .footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer .footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(226, 232, 240, 0.92);
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.footer .footer-social:hover,
.footer .footer-social:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  outline: none;
}

.footer .footer-payment {
  display: grid;
  gap: 0.75rem;
}

.footer .footer-currency {
  margin-top: 1.5rem;
}

.footer .footer-payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer .footer-payment-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.2);
  background: rgba(15, 23, 42, 0.55);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer .footer-payment-icons a:hover,
.footer .footer-payment-icons a:focus-visible {
  background: rgba(226, 232, 240, 0.12);
  outline: none;
}

.footer .footer-logo {
  height: 3.5rem;
  width: auto;
  max-width: 100%;
  display: block;
}

@media (max-width: 767px) {
  .footer .footer-logo {
    height: 3rem;
  }
}

/* Cookie alert (rendered from Footer.html) */
.cookiealert {
  position: fixed;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1180;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-radius: 1.25rem;
  background: rgba(2, 6, 23, 0.96);
  border: 1px solid rgba(103, 232, 249, 0.22);
  box-shadow: 0 24px 60px rgba(8, 145, 178, 0.18);
  color: #e2e8f0;
}

@media (min-width: 768px) {
  .cookiealert {
    flex-direction: row;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
  }
}

.cookiealert .cookieaccept {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  border: 1px solid rgba(255, 0, 66, 0.35);
  background: rgba(255, 0, 66, 0.18);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.cookiealert .cookieaccept:hover,
.cookiealert .cookieaccept:focus-visible {
  background: rgba(255, 0, 66, 0.28);
  outline: none;
}
