/* Allemodewinkels Wagtail – base styles (inspired by original React app) */

/* Homepage Layout - Mirror React HomePage exactly */
.amw-home-shell {
  min-height: 100vh;
  background-color: var(--color-canvas);
  color: var(--color-charcoal);
}

.amw-home-container {
  padding: 2.5rem 1rem;
  margin: 0 auto;
  max-width: 80rem;
}

@media (min-width: 640px) {
  .amw-home-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .amw-home-container {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.amw-home-container > section {
  margin-bottom: 3.5rem;
}

.amw-home-container > section:last-child {
  margin-bottom: 0;
}

:root {
  /* Tailwind CSS color variables matching original React app */
  --amw-primary: #001f3f;
  --amw-primary-hover: #02264f;
  --amw-secondary: #f97316;
  --amw-secondary-hover: #ea580c;
  --amw-secondary-soft: rgba(249, 115, 22, 0.08);

  --color-canvas: #f9fafb;
  --color-card: #FFFFFF;
  --color-charcoal: #1A1A1A;
  --color-slate: #5C6270;
  --color-gold: var(--amw-secondary);
  --color-coral: var(--amw-secondary);
  --color-ink: #090909;
  --shadow-premium: 0 25px 70px -30px rgba(10, 10, 10, 0.45);

  /* Additional Tailwind-inspired colors */
  --color-blue-50: rgba(0, 31, 63, 0.06);
  --color-blue-500: var(--amw-primary);
  --color-blue-600: var(--amw-primary-hover);
  --color-blue-700: var(--amw-primary-hover);
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  --color-red-500: var(--amw-secondary);
  --color-red-600: var(--amw-secondary-hover);
  --color-green-500: var(--amw-primary);
  --color-green-600: var(--amw-primary-hover);
  --color-orange-500: var(--amw-secondary);
  --color-orange-600: var(--amw-secondary-hover);
  --color-yellow-500: var(--amw-secondary);
  --color-purple-500: var(--amw-primary);
  --color-indigo-500: var(--amw-primary);
  --color-pink-500: var(--amw-primary);
  --color-teal-500: var(--amw-primary);
  --color-cyan-500: var(--amw-primary);

  /* Typography scale */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border radius */
  --radius-sm: 0.125rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-all: all 0.3s ease;
  --transition-colors: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  --transition-transform: transform 0.3s ease;
  --transition-opacity: opacity 0.3s ease;

  /* Z-index scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;
}

/* Reset / base ----------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--color-canvas); /* soft beige similar to original loader background */
  color: #1A1A1A;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", "Times New Roman", serif;
  letter-spacing: -0.02em;
  color: #090909;
}

h4,
h5,
h6 {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.01em;
  color: #090909;
}

::selection {
  background-color: var(--amw-secondary);
  color: #ffffff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--amw-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

*:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--amw-primary);
  outline-offset: 2px;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--amw-secondary); /* primary accent from original brand */
}

img {
  max-width: 100%;
  display: block;
}

.amw-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Layout shell ----------------------------------------------------------- */
.amw-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.amw-container {
  max-width: 1355px; /* ~max-w-7xl */
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.amw-main {
  flex: 1 0 auto;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

/* Header ----------------------------------------------------------------- */
.amw-header {
  background: #ffffff;
  color: #1A1A1A;
  border-bottom: 1px solid #E5E7EB;
  position: sticky;
  top: 0;
  z-index: 40;
}

.amw-header-top {
  border-bottom: 1px solid rgba(249, 115, 22, 0.2);
  background: #2C2C2C;
}

@media (max-width: 639px) {
  .amw-header-top {
    display: none;
  }
}

.amw-header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.amw-header-promos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.amw-header-utility {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
}

.amw-header-utility a {
  color: rgba(255, 255, 255, 0.8);
}

.amw-header-utility a:hover {
  color: #ffffff;
}

.amw-header-promo {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.4);
  background: rgba(249, 115, 22, 0.15);
  color: var(--amw-secondary);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.45);
  animation: amw-header-promo-pulse 2s ease-in-out infinite;
}

.amw-header-promo:hover {
  background: rgba(249, 115, 22, 0.25);
  color: #ffffff;
}

@keyframes amw-header-promo-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.45);
  }
  50% {
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.28);
  }
}

.amw-header-main {
  background: #ffffff;
}

.amw-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.amw-brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.amw-brand-main {
  color: #1A1A1A;
}

.amw-brand-accent {
  color: var(--amw-secondary);
}

.amw-nav {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
  align-items: center;
}

.amw-nav a {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  color: #4B5563;
  background: transparent;
  border: 1px solid transparent;
}

.amw-nav a:hover {
  background: rgba(0, 31, 63, 0.04);
  border-color: rgba(0, 31, 63, 0.12);
  color: #001f3f;
}

.amw-nav-categories {
  position: relative;
}

.amw-nav-categories-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 1);
  background: #F9FAFB;
  font-size: 0.9rem;
  color: #111827;
  cursor: pointer;
}

.amw-nav-categories-toggle:hover {
  background: rgba(0, 31, 63, 0.04);
  border-color: rgba(0, 31, 63, 0.18);
}

.amw-nav-caret {
  font-size: 0.75rem;
}

.amw-category-menu {
  position: absolute;
  top: 110%;
  left: 0;
  display: none;
  padding: 0.9rem 1rem;
  background: #ffffff;
  border-radius: 0.9rem;
  box-shadow: var(--shadow-premium);
  min-width: 320px;
  max-width: 820px;
  z-index: 50;
}

.amw-category-menu-column {
  min-width: 150px;
}

.amw-category-menu-heading {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.35rem;
  color: #6B7280;
}

.amw-category-menu ul {
  list-style: none;
  margin: 0 1.25rem 0 0;
  padding: 0;
}

.amw-category-menu li + li {
  margin-top: 0.25rem;
}

.amw-category-menu a {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  color: #111827;
}

.amw-nav-categories:hover .amw-category-menu,
.amw-nav-categories:focus-within .amw-category-menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem 1.25rem;
}

.amw-wishlist-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  padding: 0.5rem;
  color: #111827;
  background: transparent;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.amw-wishlist-button:hover {
  border-color: rgba(249, 115, 22, 0.8);
  color: rgba(249, 115, 22, 1);
  background: rgba(249, 115, 22, 0.06);
}

.amw-wishlist-button.is-active {
  color: var(--amw-secondary);
}

.amw-wishlist-heart {
  width: 1.25rem;
  height: 1.25rem;
}

.amw-wishlist-button.is-active .amw-wishlist-heart {
  fill: currentColor;
}

.amw-wishlist-count {
  position: absolute;
  top: -0.3rem;
  right: -0.3rem;
  min-width: 18px;
  height: 18px;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--amw-secondary);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.amw-header-search {
  flex: 1 1 auto;
  max-width: 480px;
  position: relative;
}

.amw-header-search-form {
  display: flex;
  align-items: stretch;
  gap: 0.4rem;
}

.amw-typeahead-anchor {
  position: relative;
  flex: 1 1 auto;
}

.amw-typeahead-anchor .amw-header-search-input,
.amw-typeahead-anchor .amw-search-overlay-input {
  width: 100%;
}

.amw-header-search-input {
  flex: 1 1 auto;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #D1D5DB;
  font-size: 0.9rem;
}

.amw-header-search-input:focus {
  outline: none;
  border-color: #001f3f;
  box-shadow: 0 0 0 1px rgba(0, 31, 63, 0.12);
}

.amw-header-search-button {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: none;
  background: #001f3f;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.amw-header-search-button:hover {
  background: #02264f;
}

.amw-typeahead-panel[hidden] {
  display: none;
}

.amw-typeahead-panel {
  position: absolute;
  left: 0;
  width: 100%;
  top: calc(100% + 0.5rem);
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-premium);
  overflow: hidden;
  z-index: 60;
}

.amw-typeahead-panel-overlay {
  position: static;
  margin-top: 0.75rem;
}

.amw-typeahead-section-title {
  padding: 0.5rem 1rem 0.25rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(100, 116, 139, 0.9);
}

.amw-typeahead-item {
  width: 100%;
  display: block;
  padding: 0.6rem 1rem;
  text-align: left;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.88);
  font-size: 0.95rem;
  cursor: pointer;
}

.amw-typeahead-item-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: baseline;
}

.amw-typeahead-item-label {
  font-weight: 500;
}

.amw-typeahead-item-meta {
  color: #0f6ea8;
  font-style: italic;
}

.amw-typeahead-item:first-of-type {
  border-top: none;
}

.amw-typeahead-item:hover,
.amw-typeahead-item[data-active="true"] {
  background: var(--amw-secondary-soft);
  color: #111827;
}

.amw-typeahead-highlight {
  color: #111827;
  font-weight: 700;
}

.amw-seo-intro-details {
  max-width: 56rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px -24px rgba(15, 23, 42, 0.35);
  overflow: hidden;
}

.amw-seo-intro-summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.9);
  font-weight: 500;
}

.amw-seo-intro-summary::-webkit-details-marker {
  display: none;
}

.amw-seo-intro-summary::after {
  content: "Meer lezen";
  display: inline-flex;
  margin-left: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amw-primary);
}

.amw-seo-intro-details[open] .amw-seo-intro-summary::after {
  content: "Minder tonen";
}

.amw-seo-intro-body {
  padding: 0 1.15rem 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.amw-seo-intro-copy,
.amw-seo-intro-plain,
.amw-seo-faq-answer {
  max-width: 56rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(31, 41, 55, 0.92);
}

.amw-seo-intro-copy + .amw-seo-intro-copy {
  margin-top: 0.75rem;
}

.amw-page-header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem 1.5rem;
}

.amw-page-breadcrumb {
  margin: 0;
  flex: 0 0 auto;
}

.amw-page-header-intro,
.amw-seo-intro-details-inline,
.amw-seo-intro-plain-inline {
  flex: 1 1 24rem;
  min-width: min(100%, 20rem);
}

.amw-page-header-intro,
.amw-seo-intro-summary-inline,
.amw-seo-intro-plain-inline {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #4B5563;
}

.amw-page-header-intro > * {
  margin: 0;
}

.amw-page-header-intro > * + * {
  margin-top: 0.45rem;
}

.amw-seo-intro-details-inline {
  max-width: none;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.amw-seo-intro-summary-inline {
  padding: 0;
  font-weight: 400;
}

.amw-seo-intro-summary-inline::after {
  margin-left: 0.5rem;
  font-size: 0.68rem;
}

.amw-seo-intro-body-inline {
  padding: 0.45rem 0 0;
  border-top: none;
}

.amw-seo-intro-copy-inline,
.amw-seo-intro-plain-inline {
  max-width: none;
}

.amw-seo-intro-copy-inline {
  font-size: 0.88rem;
  line-height: 1.7;
}

.amw-seo-inline-link {
  color: var(--amw-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.amw-seo-inline-link:hover {
  color: var(--amw-primary-hover);
}

.amw-seo-faq-section {
  display: grid;
  gap: 1.25rem;
}

.amw-seo-faq-list {
  display: grid;
  gap: 1rem;
}

.amw-seo-faq-item {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.amw-seo-faq-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.amw-seo-faq-question {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  line-height: 1.45;
  color: #111827;
  font-weight: 700;
}

.amw-deals-hero {
  background: linear-gradient(90deg, var(--amw-primary) 0%, var(--amw-primary-hover) 50%, var(--amw-primary) 100%);
  color: #ffffff;
}

.amw-deals-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.amw-deals-hero-subtitle {
  margin-top: 1rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.amw-deals-seasonal {
  background: #ffffff;
  border-bottom: 1px solid #E5E7EB;
}

.amw-deals-seasonal-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.amw-deals-season-pill {
  border: 1px solid rgba(209, 213, 219, 1);
  background: #F3F4F6;
  color: #374151;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.amw-deals-season-pill[data-active="true"] {
  background: #001f3f;
  border-color: #001f3f;
  color: #ffffff;
}

.amw-deals-season-pill-days {
  margin-left: 0.4rem;
  font-weight: 500;
  opacity: 0.75;
}

.amw-deals-filter-card {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  padding: 1.5rem;
}

.amw-deals-filter-row {
  display: flex;
  gap: 1rem;
}

.amw-deals-filter-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #D1D5DB;
  font-size: 1rem;
}

.amw-deals-filter-input:focus {
  outline: none;
  border-color: #001f3f;
  box-shadow: 0 0 0 2px rgba(0, 31, 63, 0.15);
}

.amw-deals-filter-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .amw-deals-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .amw-deals-filter-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.amw-deals-filter-select {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid #D1D5DB;
  background: #ffffff;
}

.amw-deals-filter-select:focus {
  outline: none;
  border-color: #001f3f;
  box-shadow: 0 0 0 2px rgba(0, 31, 63, 0.15);
}

.amw-deals-filter-checks {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.amw-deals-filter-check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #374151;
}

.amw-deals-clear {
  background: transparent;
  border: none;
  color: #6B7280;
  font-weight: 600;
  cursor: pointer;
}

.amw-deals-clear:hover {
  color: #111827;
}

.amw-deals-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: #111827;
}

.amw-deals-count {
  font-size: 1.05rem;
  font-weight: 500;
  color: #6B7280;
  margin-left: 0.35rem;
}

.amw-deals-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .amw-deals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .amw-deals-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.amw-deals-card {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
}

.amw-deals-card:hover {
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
  border-color: #D1D5DB;
}

.amw-deals-card-body {
  padding: 1.25rem;
}

.amw-deals-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.amw-deals-shop {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.amw-deals-shop-logo {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.amw-deals-shop-logo-fallback {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: #F3F4F6;
}

.amw-deals-shop-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

.amw-deals-shop-tag {
  margin: 0.1rem 0 0;
  font-size: 0.75rem;
  color: #6B7280;
  text-transform: capitalize;
}

.amw-deals-badge {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(249, 115, 22, 0.12);
  color: var(--amw-secondary);
}

.amw-deals-discount {
  font-size: 1.9rem;
  font-weight: 800;
  color: #001f3f;
  margin-bottom: 0.35rem;
}

.amw-deals-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.amw-deals-desc {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #4B5563;
}

.amw-deals-code-row {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem;
  background: #F9FAFB;
  border-radius: 0.75rem;
  border: 2px dashed #D1D5DB;
}

.amw-deals-code {
  flex: 1 1 auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 800;
  color: #111827;
  text-align: center;
}

.amw-deals-copy {
  border: none;
  border-radius: 0.75rem;
  background: #001f3f;
  color: #ffffff;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.amw-deals-copy:hover {
  background: var(--amw-primary-hover);
}

.amw-deals-copy[data-copied="true"] {
  background: var(--amw-primary-hover);
}

.amw-deals-meta {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: #6B7280;
}

.amw-deals-expiry {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #6B7280;
}

.amw-deals-expiry-soon {
  color: var(--amw-secondary);
  font-weight: 700;
}

.amw-deals-card-footer {
  padding: 1rem 1.25rem;
  background: #F9FAFB;
  border-top: 1px solid #F3F4F6;
}

.amw-deals-use {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(90deg, var(--amw-primary) 0%, var(--amw-primary-hover) 50%, var(--amw-primary) 100%);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.amw-deals-use:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.amw-deals-empty {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  padding: 3rem 1.5rem;
  text-align: center;
}

.amw-deals-empty-btn {
  margin-top: 1rem;
  border: none;
  border-radius: 0.75rem;
  background: #001f3f;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
}

.amw-deals-empty-btn:hover {
  background: var(--amw-primary-hover);
}

html.amw-search-open,
html.amw-search-open body {
  overflow: hidden;
}

.amw-search-overlay[hidden] {
  display: none;
}

.amw-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 45;
}

.amw-search-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.amw-search-overlay-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5rem 1rem 2rem;
}

.amw-search-overlay-panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 25px 70px -30px rgba(10, 10, 10, 0.55);
  padding: 1.1rem 1.3rem 1.25rem;
}

.amw-search-overlay-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #4B5563;
  cursor: pointer;
}

.amw-search-overlay-form {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
}

.amw-search-overlay-label {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.amw-search-overlay-label-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6B7280;
}

.amw-search-overlay-input {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #D1D5DB;
  font-size: 0.9rem;
}

.amw-search-overlay-input:focus {
  outline: none;
  border-color: #001f3f;
  box-shadow: 0 0 0 1px rgba(0, 31, 63, 0.12);
}

.amw-search-overlay-submit {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: none;
  background: #001f3f;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.amw-search-overlay-submit:hover {
  background: #02264f;
}

.amw-search-overlay-hint {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: #6B7280;
}

@media (max-width: 640px) {
  .amw-search-overlay-inner {
    padding-top: 4rem;
  }
  .amw-search-overlay-panel {
    border-radius: 0.75rem;
  }
  .amw-search-overlay-form {
    flex-direction: column;
  }
  .amw-search-overlay-submit {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .amw-header-top-inner {
    justify-content: center;
  }
  .amw-header-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .amw-header-search {
    width: 100%;
    order: 3;
  }
}

/* Main content ----------------------------------------------------------- */
.bg-gray-50 {
  background-color: var(--color-canvas);
}

.bg-white {
  background-color: #ffffff;
}

.text-gray-900 {
  color: #1A1A1A;
}

.text-gray-700 {
  color: #4B5563;
}

.text-gray-600 {
  color: #6B7280;
}

.text-blue-700 {
  color: #001f3f;
}

.border {
  border-width: 1px;
  border-style: solid;
  border-color: #E5E7EB;
}

.border-t {
  border-top-width: 1px;
  border-style: solid;
  border-color: #E5E7EB;
}

.border-gray-200 {
  border-color: #E5E7EB;
}

.rounded-lg {
  border-radius: 0.75rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.shadow-sm {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.shadow-md {
  box-shadow: 0 4px 6px rgba(15, 23, 42, 0.12);
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }

.w-20 { width: 5rem; }

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-3xl { font-size: 1.875rem; }

.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.uppercase { text-transform: uppercase; }

/* Simple card styling used across category & product grids */
.amw-card {
  background: #ffffff;
  border-radius: 0.75rem;
  border: none;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  min-width: 0;
}

.amw-card:hover {
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-1px);
}

.amw-card-body {
  padding: 0.55rem 0.65rem 0.65rem;
  flex: 1 1 auto;
}

.amw-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.amw-price-new {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}

.amw-price-old {
  font-size: 0.875rem;
  color: #9CA3AF;
  text-decoration: line-through;
}

.amw-price-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--amw-secondary);
  border-radius: 999px;
  padding: 0.05rem 0.45rem;
}

.amw-card-cta {
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: #6B7280;
}

.amw-card-offer-count {
  font-size: 0.78rem;
  color: var(--amw-primary);
  font-weight: 600;
}

.amw-card-shop-label {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: #6B7280;
  text-align: center;
}

.amw-card-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.35rem 0.6rem;
  border-radius: 0.375rem;
  background: var(--amw-secondary);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.amw-card-btn-primary:hover {
  background: var(--amw-secondary-hover);
}

.amw-card-btn-compare {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.35rem 0.6rem;
  border-radius: 0.375rem;
  background: var(--amw-primary);
  color: #ffffff;
  border: 1px solid var(--amw-primary);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0, 31, 63, 0.16);
}

.amw-card-btn-compare:hover {
  background: #003061;
  border-color: #003061;
  color: #ffffff;
}

.amw-card-image-wrap {
  position: relative;
  background: #F3F4F6;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.amw-card-image-media {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.amw-card-image-wrap img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0.35rem;
  transition: transform 0.5s ease, opacity 0.2s ease;
}

.amw-card:hover .amw-card-image-wrap img {
  transform: scale(1.05);
}

.amw-card-title {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 32px;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.amw-card-copy {
  padding: 0.75rem 0.85rem 0.85rem;
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  align-content: start;
}

.amw-card-kicker,
.amw-card-detail-line,
.amw-card-offer-count,
.amw-card-shop-label {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.amw-card-kicker {
  margin: 0;
}

.amw-card-highlights {
  min-width: 0;
  overflow: hidden;
}

.amw-card-highlights .amw-pill {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.amw-card-detail-line {
  margin-bottom: 0;
}

.amw-card-discount-pill {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--amw-primary);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.amw-card-label-stack {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 6;
}

.amw-card-label-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(229, 231, 235, 0.95);
  color: #111827;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.16);
}

.amw-card-label-pill-discount {
  background: var(--amw-primary);
  border-color: var(--amw-primary);
  color: #ffffff;
}

.amw-card-label-pill-status {
  background: var(--amw-secondary);
  border-color: var(--amw-secondary);
  color: #ffffff;
}

.amw-card-label-pill svg {
  flex: 0 0 auto;
}

.amw-card-flags {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 5;
}

 .amw-card-flag-bestseller {
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: var(--amw-secondary);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
}

 .amw-card-actions-top {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  display: flex;
  gap: 0.25rem;
  z-index: 10;
}

.amw-card-heart-btn,
.amw-card-compare-toggle {
  background: #ffffff;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.9rem;
  min-width: 1.9rem;
  font-size: 0.75rem;
  padding: 0 0.5rem;
}

.amw-card-heart-btn {
  color: #4B5563;
  padding: 0;
  width: 2.25rem;
  height: 2.25rem;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.12);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.amw-card-heart-btn:hover {
  background: var(--amw-secondary-soft);
  transform: translateY(-1px);
}

.amw-card-heart-btn.is-active {
  color: var(--amw-secondary);
}

.amw-icon-heart {
  width: 1.25rem;
  height: 1.25rem;
}

.amw-card-heart-btn.is-active .amw-icon-heart {
  fill: currentColor;
}

html.amw-wishlist-open,
html.amw-wishlist-open body {
  overflow: hidden;
}

.amw-wishlist-modal[hidden] {
  display: none;
}

.amw-wishlist-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.amw-wishlist-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.amw-wishlist-modal-panel {
  position: relative;
  width: 100%;
  max-width: 56rem;
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
}

.amw-wishlist-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #E5E7EB;
}

.amw-wishlist-modal-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
}

.amw-wishlist-modal-subtitle {
  margin: 0.1rem 0 0;
  font-size: 0.875rem;
  color: #6B7280;
}

.amw-wishlist-modal-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.amw-wishlist-modal-clear {
  background: transparent;
  border: none;
  padding: 0;
  color: #6B7280;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.amw-wishlist-modal-clear:hover {
  color: var(--amw-secondary);
}

.amw-wishlist-modal-close {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #111827;
  font-size: 1.5rem;
  cursor: pointer;
}

.amw-wishlist-modal-close:hover {
  background: #F3F4F6;
}

.amw-wishlist-modal-body {
  max-height: 70vh;
  overflow-y: auto;
}

.amw-wishlist-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #F3F4F6;
}

.amw-wishlist-item:last-child {
  border-bottom: none;
}

.amw-wishlist-item-image {
  width: 5rem;
  height: 5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #F3F4F6;
  flex: 0 0 auto;
}

.amw-wishlist-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.amw-wishlist-item-image-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #6B7280;
}

.amw-wishlist-item-meta {
  flex: 1 1 auto;
  min-width: 0;
}

.amw-wishlist-item-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.amw-wishlist-item-brand {
  margin: 0.2rem 0 0;
  font-size: 0.875rem;
  color: #6B7280;
}

.amw-wishlist-item-price {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.amw-wishlist-item-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}

.amw-wishlist-item-remove {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #6B7280;
  cursor: pointer;
}

.amw-wishlist-item-remove:hover {
  color: var(--amw-secondary);
}

.amw-wishlist-item-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border-radius: 0.75rem;
  background: var(--amw-secondary);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.amw-wishlist-item-view:hover {
  background: var(--amw-secondary-hover);
}

.amw-wishlist-empty {
  padding: 3rem 1.5rem;
  text-align: center;
  color: #6B7280;
}

.amw-wishlist-empty-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #374151;
}

.amw-wishlist-empty-subtitle {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}

.amw-wishlist-modal-footer {
  padding: 1rem 1.5rem;
  text-align: center;
  border-top: 1px solid #F3F4F6;
}

.amw-wishlist-modal-more {
  color: var(--amw-primary);
  font-weight: 700;
  text-decoration: none;
}

.amw-wishlist-modal-more:hover {
  color: var(--amw-primary-hover);
  text-decoration: underline;
}

.amw-card-compare-toggle {
  color: #111827;
}

.amw-card-quick-view {
  position: absolute;
  left: 50%;
  bottom: 0.65rem;
  transform: translateX(-50%);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: rgba(255, 255, 255, 0.96);
  font-size: 0.8rem;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.amw-card:hover .amw-card-quick-view {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(-2px);
}

.amw-card-quick-view:focus-visible {
  outline: 2px solid var(--amw-primary);
  outline-offset: 2px;
}

html.amw-qv-open,
html.amw-qv-open body {
  overflow: hidden;
}

[data-amw-qv-backdrop] {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.amw-qv-backdrop-inner {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.55);
}

.amw-qv-dialog {
  max-width: 720px;
  width: 100%;
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: #ffffff;
  border-radius: 1.25rem;
  box-shadow: 0 25px 70px -30px rgba(10, 10, 10, 0.55);
  position: relative;
}

.amw-qv-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #4B5563;
  cursor: pointer;
}

.amw-qv-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.5rem 1.7rem 1.7rem;
}

.amw-qv-media {
  min-width: 0;
}

.amw-qv-image-wrap {
  border-radius: 1rem;
  background: #F3F4F6;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.amw-qv-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amw-qv-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.65rem;
  padding: 0.05rem 0.05rem 0.2rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.amw-qv-thumb {
  flex: 0 0 auto;
  width: 3.35rem;
  height: 4.1rem;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  background: #F3F4F6;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.amw-qv-thumb:hover {
  transform: translateY(-1px);
  border-color: #CBD5E1;
}

.amw-qv-thumb.is-active {
  border-color: var(--amw-secondary);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.amw-qv-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amw-qv-info {
  min-width: 0;
}

.amw-qv-brand {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6B7280;
  margin-bottom: 0.25rem;
}

.amw-qv-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.35rem;
}

.amw-qv-description {
  margin: 0 0 0.65rem;
  color: #4B5563;
  font-size: 0.86rem;
  line-height: 1.5;
}

.amw-qv-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
}

.amw-qv-price-new {
  font-size: 1.25rem;
  font-weight: 700;
  color: #001f3f;
}

.amw-qv-price-old {
  font-size: 0.85rem;
  color: #9CA3AF;
  text-decoration: line-through;
}

.amw-qv-price-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--amw-secondary);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
}

.amw-qv-shop-label {
  font-size: 0.78rem;
  color: #6B7280;
  margin-bottom: 0.6rem;
}

.amw-qv-specs {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
  padding: 0.75rem;
  border: 1px solid #E5E7EB;
  border-radius: 0.9rem;
  background: #F9FAFB;
}

.amw-qv-spec-row {
  display: grid;
  grid-template-columns: minmax(5.25rem, 0.55fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
}

.amw-qv-spec-row dt {
  color: #6B7280;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.amw-qv-spec-row dd {
  margin: 0;
  color: #111827;
  font-size: 0.86rem;
  font-weight: 600;
}

.amw-qv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.amw-qv-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
  background: var(--amw-secondary);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.amw-qv-primary:hover {
  background: var(--amw-secondary-hover);
}

.amw-qv-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: #ffffff;
  color: #111827;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
}

.amw-qv-secondary:hover {
  background: #F3F4F6;
}

@media (max-width: 768px) {
  .amw-qv-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .amw-qv-dialog {
    border-radius: 1rem;
  }
  .amw-qv-spec-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.1rem;
  }
}

/* Footer ----------------------------------------------------------------- */
.amw-footer {
  background-color: #2C2C2C;
  color: #E5E7EB;
  margin-top: 3rem;
}

.amw-footer-inner {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.amw-footer-grid {
  display: grid;
  gap: 1.75rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.amw-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
}

.amw-footer-column--brand {
  gap: 0.75rem;
}

.amw-footer-bottom {
  border-top: 1px solid #4B5563;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #9CA3AF;
  text-align: center;
}

.amw-footer-heading {
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.45rem;
}

.amw-footer-brand-heading {
  color: var(--amw-secondary);
  white-space: nowrap;
}

.amw-footer-copy {
  margin: 0;
  max-width: 22rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #D1D5DB;
}

.amw-footer-link {
  display: block;
  font-size: 0.9rem;
  color: #D1D5DB;
  margin: 0;
}

.amw-footer-link:hover {
  color: var(--amw-secondary);
}

@media (min-width: 720px) {
  .amw-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .amw-footer-grid {
    grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  }
}

/* Category layout (sidebar + grid) -------------------------------------- */
.amw-category-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: flex-start;
}

.amw-category-sidebar {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  align-self: start;
}

.amw-filter-panel-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #D1D5DB;
  background: #ffffff;
  color: #111827;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  cursor: pointer;
}

.amw-filter-panel-toggle::after {
  content: '+';
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #F3F4F6;
  color: #374151;
  font-size: 1rem;
  line-height: 1;
}

.amw-category-layout[data-filter-open="true"] .amw-filter-panel-toggle::after {
  content: '-';
}

.amw-filter-panel-count {
  margin-left: auto;
  min-width: 1.4rem;
  height: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #001f3f;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
}

.amw-category-sidebar form {
  padding: 0;
}

.amw-category-sidebar form > * + * {
  margin-top: 0 !important;
}

@media (min-width: 1024px) {
  .amw-category-layout {
    grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
    gap: 1.5rem;
  }

  .amw-filter-panel-toggle {
    display: none;
  }

  .amw-category-sidebar {
    position: sticky;
    top: 6rem;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

@media (max-width: 1023px) {
  .amw-category-sidebar {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid #E5E7EB;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
    max-height: min(72vh, 46rem);
    overflow: auto;
    overscroll-behavior: contain;
  }

  .amw-category-sidebar .amw-category-filter-header {
    padding-bottom: 0.35rem;
  }
}

.amw-category-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 0 0.75rem;
  margin: 0;
  border-bottom: none;
  background: transparent;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.amw-products-grid {
  display: grid;
  gap: clamp(0.55rem, 1.8vw, 1rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .amw-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .amw-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1536px) {
  .amw-products-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.amw-recently-viewed-grid {
  display: grid;
  gap: clamp(0.55rem, 1.8vw, 1rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .amw-recently-viewed-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .amw-recently-viewed-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1536px) {
  .amw-recently-viewed-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .amw-card-copy {
    padding: 0.55rem 0.55rem 0.65rem;
  }

  .amw-card-title {
    font-size: 0.8rem;
    line-height: 1.25;
    min-height: 2rem;
  }

  .amw-price-row {
    gap: 0.28rem;
    flex-wrap: wrap;
  }

  .amw-price-new {
    font-size: 0.95rem;
  }

  .amw-price-old,
  .amw-card-offer-count,
  .amw-card-shop-label {
    font-size: 0.72rem;
  }

  .amw-card-btn-primary,
  .amw-card-btn-compare {
    padding: 0.35rem 0.42rem;
    font-size: 0.72rem;
  }

  .amw-card-label-stack {
    top: 0.35rem;
    left: 0.35rem;
    gap: 0.25rem;
  }

  .amw-card-label-pill {
    padding: 0.14rem 0.38rem;
    font-size: 0.62rem;
  }

  .amw-card-actions-top {
    bottom: 0.35rem;
    right: 0.35rem;
  }

  .amw-card-heart-btn {
    width: 1.95rem;
    height: 1.95rem;
  }
}

.amw-category-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.amw-category-sort-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  font-size: 0.875rem;
}

@media (max-width: 640px) {
  .amw-category-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .amw-category-sort-form {
    width: 100%;
    justify-content: space-between;
  }

  .amw-category-sort-form select {
    flex: 1 1 auto;
    min-width: 0;
  }
}

.amw-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

.amw-pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: #ffffff;
  color: #111827;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.amw-pagination-link:hover {
  border-color: #D1D5DB;
  background: #F9FAFB;
}

.amw-pagination-link.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.amw-pagination-status {
  font-size: 0.85rem;
  color: #6B7280;
}

.amw-category-filter-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
}

.amw-category-filter-clear {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--amw-primary);
  text-decoration: none;
}

.amw-category-filter-clear:hover {
  color: var(--amw-primary-hover);
}

.amw-category-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.amw-category-price-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  color: #6B7280;
}

.amw-category-filter-input {
  width: 100%;
  padding: 0.4rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid #D1D5DB;
  font-size: 0.875rem;
}

.amw-category-filter-input:focus {
  outline: none;
  border-color: var(--amw-primary);
  box-shadow: 0 0 0 2px rgba(0, 31, 63, 0.15);
}

.amw-category-filter-apply {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #001f3f;
  color: #ffffff;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.amw-category-filter-apply:hover {
  background: var(--amw-primary-hover);
}

.amw-category-filter-clear-link {
  color: #6B7280;
  text-decoration: none;
}

.amw-category-filter-clear-link:hover {
  color: #111827;
  text-decoration: underline;
}

.amw-facet-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.amw-facet-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.amw-facet-clear {
  align-self: flex-start;
  background: transparent;
  border: none;
  color: var(--amw-primary);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.amw-facet-clear:hover {
  color: var(--amw-primary-hover);
}

.amw-facet-search {
  width: 100%;
  padding: 0.45rem 0.6rem;
  border-radius: 0.6rem;
  border: 1px solid #D1D5DB;
  font-size: 0.875rem;
}

.amw-facet-search:focus {
  outline: none;
  border-color: var(--amw-primary);
  box-shadow: 0 0 0 2px rgba(0, 31, 63, 0.15);
}

.amw-facet-options {
  display: flex;
  flex-direction: column;
}

.amw-facet-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.35rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.amw-facet-option {
  justify-content: flex-start;
}

.amw-facet-option::before {
  content: '✓';
  width: 1rem;
  height: 1rem;
  border: 1px solid #D1D5DB;
  border-radius: 0.2rem;
  background: #ffffff;
  color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  line-height: 1;
  flex: 0 0 auto;
}

.amw-facet-option:hover {
  background: #F3F4F6;
}

.amw-facet-option-active {
  background: rgba(0, 31, 63, 0.08);
  border-color: rgba(0, 31, 63, 0.22);
}

.amw-facet-option-active::before {
  background: var(--amw-primary);
  border-color: var(--amw-primary);
  color: #ffffff;
}

.amw-facet-option-label {
  font-size: 0.9rem;
  color: #374151;
  flex: 1 1 auto;
}

.amw-facet-option-active .amw-facet-option-label {
  color: var(--amw-primary);
  font-weight: 700;
}

.amw-facet-option-count {
  font-size: 0.75rem;
  color: #9CA3AF;
  flex: 0 0 auto;
  margin-left: auto;
}

.amw-facet-toggle {
  background: transparent;
  border: none;
  color: var(--amw-primary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.1rem 0;
  text-align: left;
}

.amw-facet-toggle:hover {
  color: var(--amw-primary-hover);
}

.amw-category-main {
  min-width: 0;
}

.amw-pill-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
}

.amw-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: #ffffff;
  font-size: 0.85rem;
  color: #111827;
  white-space: nowrap;
}

.amw-pill:hover {
  background: #F3F4F6;
}

.amw-pill-active {
  background: #001f3f;
  border-color: #001f3f;
  color: #ffffff;
}

.amw-basement-links {
  display: grid;
  gap: 0.85rem;
}

.amw-basement-links__title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #374151;
}

.amw-basement-links__group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
}

.amw-basement-links__group--columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.18rem 1rem;
}

.amw-basement-links__link {
  display: block;
  color: #1f2937;
  font-size: 0.92rem;
  line-height: 1.05;
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.amw-basement-links__link:hover {
  color: #111827;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

@media (min-width: 768px) {
  .amw-basement-links__group {
    gap: 0.55rem 1.1rem;
  }

  .amw-basement-links__group--columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.2rem 1.2rem;
  }

  .amw-basement-links__link {
    font-size: 0.95rem;
  }
}

@media (min-width: 1100px) {
  .amw-basement-links__group--columns {
    grid-auto-flow: column;
    grid-template-columns: repeat(var(--amw-link-columns, 4), minmax(0, 1fr));
    grid-template-rows: repeat(var(--amw-link-rows, 50), minmax(0, auto));
    align-items: start;
  }
}

.amw-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.amw-filter-chips-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6B7280;
  margin-right: 0.15rem;
}

.amw-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: #ffffff;
  font-size: 0.75rem;
  color: #111827;
  cursor: pointer;
}

.amw-filter-chip span {
  max-width: 8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.amw-filter-chip-remove {
  font-size: 0.8rem;
  color: #9CA3AF;
}

.amw-filter-chip:hover {
  background: #F3F4F6;
  border-color: #D1D5DB;
}

.amw-category-sidebar fieldset {
  padding: 0;
  margin: 0;
  border: 0;
  border-bottom: 1px solid #E5E7EB;
}

.amw-category-sidebar fieldset:last-of-type {
  border-bottom: none;
}

.amw-category-sidebar legend {
  letter-spacing: 0.08em;
}

.amw-category-sidebar select,
.amw-category-sidebar input[type="number"] {
  background-color: #ffffff;
}

.amw-accordion-section {
  display: block;
}

.amw-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.amw-accordion-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
  color: #374151;
}

.amw-accordion-chevron {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6B7280;
  font-size: 0.75rem;
  line-height: 1;
  transition: transform 150ms ease;
}

.amw-accordion-section[data-open="true"] .amw-accordion-chevron {
  transform: rotate(180deg);
}

.amw-accordion-panel {
  padding: 0 0 0.85rem;
}

.amw-accordion-section[data-open="false"] .amw-accordion-panel {
  display: none;
}

.amw-facet-options {
  max-height: 14rem;
  overflow: auto;
}

.amw-category-sidebar button[type="submit"] {
  border-radius: 999px;
  background: #001f3f;
  font-weight: 600;
}

.amw-category-sidebar button[type="submit"]:hover {
  background: #02264f;
}

/* Product detail layout -------------------------------------------------- */
.amw-product-layout {
  display: grid;
  gap: 2.5rem;
}

.amw-product-main {
  min-width: 0;
}

.amw-product-image-wrap {
  background: #F3F4F6;
  border-radius: 0.75rem;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
}

.amw-product-gallery {
  display: grid;
  gap: 0.85rem;
}

.amw-product-gallery-thumbs {
  display: flex;
  gap: 0.55rem;
  overflow: auto;
  padding-bottom: 0.15rem;
}

.amw-product-gallery-thumb {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 0.75rem;
  border: 1px solid #E5E7EB;
  background: #ffffff;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  flex: 0 0 auto;
}

.amw-product-gallery-thumb.is-active {
  border-color: rgba(168, 100, 56, 0.65);
  box-shadow: 0 0 0 2px rgba(168, 100, 56, 0.18);
}

.amw-product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.amw-product-summary {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid #E5E7EB;
  background: #F9FAFB;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.amw-product-summary-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: #001f3f;
}

.amw-product-offer-count {
  font-size: 0.75rem;
  color: #6B7280;
}

.amw-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.3rem;
  border-radius: 999px;
  background: var(--amw-secondary);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.amw-btn-primary:hover {
  background: var(--amw-secondary-hover);
  color: #ffffff;
}

.amw-product-offers {
  margin-top: 1.5rem;
}

.amw-product-offers-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.amw-product-offers-head--hero {
  align-items: flex-start;
  margin-bottom: 0.9rem;
}

.amw-product-offers-head-copy {
  display: grid;
  gap: 0.35rem;
}

.amw-product-offers-meta {
  margin: 0;
  font-size: 0.85rem;
  color: #6B7280;
}

.amw-compare-offers-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 0.9rem;
}

.amw-compare-size-filter {
  display: grid;
  gap: 0.35rem;
  min-width: min(100%, 11rem);
}

.amw-compare-size-filter span {
  font-size: 0.78rem;
  font-weight: 600;
  color: #4B5563;
}

.amw-compare-size-filter select {
  min-height: 2.85rem;
  border-radius: 0.8rem;
  border: 1px solid #D1D5DB;
  background: #ffffff;
  padding: 0.65rem 0.9rem;
  font-size: 0.92rem;
  color: #111827;
}

.amw-price-insight-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid #DBEAFE;
  background: #EFF6FF;
  color: #1D4ED8;
}

.amw-price-insight-banner.is-low {
  border-color: #DCECF7;
  background: #EEF8FC;
  color: #1F3B5B;
}

.amw-price-insight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #65A30D;
  font-size: 0.95rem;
  font-weight: 700;
  flex: 0 0 auto;
}

.amw-offer-list {
  display: grid;
  gap: 0.65rem;
}

.amw-offer-list[data-open="false"] .amw-offer-card.is-extra {
  display: none;
}

.amw-offer-card {
  padding: 0.85rem 0.95rem;
  border-radius: 0.85rem;
  border: 1px solid #E5E7EB;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  text-decoration: none;
  color: inherit;
}

.amw-offer-card:hover {
  border-color: rgba(168, 100, 56, 0.4);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.amw-offer-card-left {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
}

.amw-offer-shop-logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: #F9FAFB;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.amw-offer-shop-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.amw-offer-shop-logo span {
  font-weight: 700;
  color: #6B7280;
}

.amw-offer-shop-copy {
  min-width: 0;
}

.amw-offer-shop-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
}

.amw-offer-shop-detail {
  font-size: 0.8rem;
  color: #4B5563;
  margin-top: 0.15rem;
}

.amw-offer-shop-availability {
  font-size: 0.75rem;
  color: #6B7280;
  margin-top: 0.15rem;
}

.amw-offer-card-right {
  text-align: right;
  flex-shrink: 0;
}

.amw-offer-old-price {
  font-size: 0.75rem;
  color: #6B7280;
  text-decoration: line-through;
}

.amw-offer-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: #001f3f;
  line-height: 1.1;
}

.amw-offer-cta {
  font-size: 0.75rem;
  color: #6B7280;
  margin-top: 0.2rem;
}

.amw-offer-toggle,
.amw-specs-toggle {
  margin-top: 0.65rem;
  padding: 0.45rem 0;
  background: transparent;
  border: none;
  color: #001f3f;
  font-weight: 600;
  cursor: pointer;
}

.amw-offer-toggle:hover,
.amw-specs-toggle:hover {
  text-decoration: underline;
}

.amw-product-specs {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #E5E7EB;
}

.amw-product-specs-table {
  border-radius: 0.85rem;
  border: 1px solid #E5E7EB;
  overflow: hidden;
  background: #ffffff;
}

.amw-product-specs-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-top: 1px solid #F3F4F6;
}

.amw-product-specs-row:first-child {
  border-top: none;
}

.amw-product-specs-key {
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
}

.amw-product-specs-value {
  font-size: 0.82rem;
  color: #111827;
  text-align: right;
}

.amw-product-specs[data-open="false"] .amw-product-specs-row.is-extra {
  display: none;
}

.amw-price-insights {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #E5E7EB;
}

.amw-price-insights-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.amw-price-insights-grid {
  display: grid;
  gap: 1rem;
}

.amw-price-history-card,
.amw-price-alert-card {
  padding: 1rem 1.1rem;
}

.amw-price-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.amw-price-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6B7280;
  margin-bottom: 0.15rem;
}

.amw-price-stat-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.amw-price-chart {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12px, 1fr));
  align-items: end;
  gap: 0.35rem;
  min-height: 124px;
}

.amw-price-chart-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  min-width: 0;
}

.amw-price-chart-bar {
  width: 100%;
  min-width: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #D9B48F 0%, #A86438 100%);
  opacity: 0.88;
}

.amw-price-chart-bar.is-lowest {
  background: linear-gradient(180deg, #86EFAC 0%, #16A34A 100%);
}

.amw-price-chart-bar.is-latest {
  box-shadow: 0 0 0 2px rgba(168, 100, 56, 0.18);
}

.amw-price-chart-label {
  font-size: 0.68rem;
  color: #6B7280;
  line-height: 1.1;
  text-align: center;
}

.amw-price-change {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.amw-price-change-down {
  background: #ECFDF5;
  color: #047857;
}

.amw-price-change-up {
  background: #FEF2F2;
  color: #B91C1C;
}

.amw-price-change-flat {
  background: #F3F4F6;
  color: #4B5563;
}

.amw-price-alert-copy {
  margin-bottom: 0.85rem;
}

.amw-price-alert-meta {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: #6B7280;
}

.amw-price-alert-form {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

.amw-price-alert-field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.amw-price-alert-field span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
}

.amw-price-alert-field input {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid #D1D5DB;
  border-radius: 0.65rem;
  background: #ffffff;
  padding: 0.72rem 0.85rem;
  font: inherit;
  color: #111827;
}

.amw-price-alert-field input:focus {
  outline: 2px solid rgba(168, 100, 56, 0.16);
  outline-offset: 0;
  border-color: #A86438;
}

.amw-price-alert-notice {
  margin-top: 1rem;
  border-radius: 0.85rem;
  padding: 0.8rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.amw-price-alert-notice.is-created,
.amw-price-alert-notice.is-updated,
.amw-price-alert-notice.is-reactivated,
.amw-price-alert-notice.is-unsubscribed,
.amw-price-alert-notice.is-already_inactive,
.amw-price-alert-notice.is-exists {
  background: #F9FAFB;
  color: #1F2937;
}

.amw-price-alert-notice.is-invalid {
  background: #FEF2F2;
  color: #991B1B;
}

.amw-compare-page {
  display: grid;
  gap: 1.75rem;
}

.amw-compare-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.82rem;
  color: #6B7280;
}

.amw-compare-breadcrumb a {
  color: #4B5563;
}

.amw-compare-nav-title,
.amw-compare-section-title {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.1;
  color: #111827;
}

.amw-compare-section-copy,
.amw-compare-strip-copy,
.amw-compare-summary-text,
.amw-compare-meta {
  font-size: 0.95rem;
  color: #4B5563;
}

.amw-compare-hero {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.amw-compare-hero-media {
  min-width: 0;
}

.amw-compare-gallery {
  position: sticky;
  top: 1.25rem;
}

.amw-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.92);
  color: #374151;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
  cursor: pointer;
}

.amw-gallery-nav-prev {
  left: 0.75rem;
}

.amw-gallery-nav-next {
  right: 0.75rem;
}

.amw-gallery-counter {
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.72);
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
}

.amw-compare-header {
  display: grid;
  gap: 0.65rem;
}

.amw-compare-header--offers {
  margin-bottom: 1.1rem;
}

.amw-compare-header-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.amw-compare-header-copy {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.amw-compare-brand,
.amw-compare-eyebrow {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B7280;
}

.amw-compare-title {
  margin: 0;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  line-height: 1.12;
  font-weight: 700;
  color: #111827;
}

.amw-compare-chip-row,
.amw-compare-action-row,
.amw-compare-summary-actions,
.amw-similar-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.amw-compare-summary-card {
  background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
}

.amw-compare-secondary-link {
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
}

.amw-compare-top-action {
  white-space: nowrap;
}

.amw-compare-size-strip,
.amw-similar-section,
.amw-compare-bottom-section {
  padding-top: 1.35rem;
  border-top: 1px solid #E5E7EB;
}

.amw-compare-bottom-section + .amw-compare-bottom-section {
  margin-top: 1.25rem;
}

.amw-compare-size-head,
.amw-similar-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.amw-compare-strip-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.amw-compare-section-title--compact {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.15;
}

.amw-offer-card {
  align-items: flex-start;
}

.amw-offer-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.amw-offer-action {
  min-width: 8rem;
}

.amw-offer-shop-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  align-items: baseline;
}

.amw-offer-shop-site {
  font-size: 0.8rem;
  color: #6B7280;
}

.amw-offer-meta-row,
.amw-offer-badges,
.amw-offer-size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.amw-offer-meta-row span {
  font-size: 0.8rem;
  color: #4B5563;
}

.amw-offer-badge,
.amw-offer-size-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: #ffffff;
  font-size: 0.78rem;
  color: #374151;
}

.amw-offer-size-chip.is-selected {
  border-color: #001F3F;
  background: #EAF2FB;
  color: #001F3F;
}

.amw-offer-badge.is-highlight {
  background: #FFF7ED;
  border-color: #FDBA74;
  color: #C2410C;
}

.amw-offer-badge.is-sale {
  background: #FDF2F8;
  border-color: #F9A8D4;
  color: #BE185D;
}

.amw-offer-total {
  font-size: 0.78rem;
  color: #6B7280;
}

.amw-offer-expand-card {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid #E5E7EB;
  background: #ffffff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  cursor: pointer;
  color: #111827;
  font-weight: 600;
}

.amw-offer-expand-logos {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.amw-offer-expand-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: #F9FAFB;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #6B7280;
  font-size: 0.8rem;
}

.amw-offer-expand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Compare hero - marketplace layout ------------------------------------- */
.amw-compare-page {
  gap: 1.35rem;
}

.amw-compare-breadcrumb {
  gap: 0.45rem;
  font-size: 0.92rem;
  color: #687586;
}

.amw-compare-breadcrumb a {
  color: #4f5d6d;
  text-decoration: none;
}

.amw-compare-breadcrumb-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3rem;
  height: 1.3rem;
  color: #4f5d6d;
}

.amw-compare-breadcrumb-home svg,
.amw-compare-breadcrumb-sep {
  flex: 0 0 auto;
}

.amw-compare-breadcrumb-home svg {
  width: 1rem;
  height: 1rem;
}

.amw-compare-breadcrumb-current {
  color: #364152;
}

.amw-compare-hero {
  gap: 2rem;
}

.amw-compare-gallery {
  gap: 0.75rem;
}

.amw-compare-gallery-frame {
  position: relative;
  padding: 0;
  border-radius: 1rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.amw-compare-gallery-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #cc1287 0%, #f0458f 100%);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(204, 18, 135, 0.18);
}

.amw-compare-gallery-badge svg {
  width: 0.85rem;
  height: 0.85rem;
}

.amw-compare-gallery-actions {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  display: grid;
  gap: 0.6rem;
}

.amw-compare-gallery-action-form {
  margin: 0;
}

.amw-compare-gallery-icon-btn {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  border: 1px solid #dbe2eb;
  background: #ffffff;
  color: #556274;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.amw-compare-gallery-icon-btn:hover {
  border-color: #c8d2df;
  color: #233245;
}

.amw-compare-gallery-icon-btn svg {
  width: 1.05rem;
  height: 1.05rem;
}

.amw-compare-gallery-icon-btn.is-active {
  border-color: #ffc7dc;
  background: #fff4f8;
  color: #dc4c82;
}

.amw-compare-gallery-icon-btn.is-active .amw-icon-heart {
  fill: currentColor;
}

.amw-compare-gallery .amw-product-image-wrap {
  position: relative;
  border-radius: 0.95rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  aspect-ratio: 0.92;
  padding: 0;
}

.amw-compare-gallery .amw-product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.amw-compare-gallery .amw-gallery-nav {
  left: auto;
  right: 0.85rem;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid #dbe2eb;
  background: rgba(255, 255, 255, 0.96);
  color: #4d5b6d;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}

.amw-compare-gallery .amw-gallery-nav svg {
  width: 1rem;
  height: 1rem;
}

.amw-compare-gallery .amw-gallery-counter {
  bottom: 0.75rem;
  padding: 0.32rem 0.8rem;
  background: rgba(54, 65, 82, 0.78);
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}

.amw-compare-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.75rem;
  overflow: visible;
}

.amw-compare-gallery-thumbs .amw-product-gallery-thumb {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 4.15rem;
  border-radius: 0.8rem;
  border-color: #dce3ec;
}

.amw-compare-gallery-thumbs .amw-product-gallery-thumb:nth-child(n + 6) {
  display: none;
}

.amw-compare-gallery-thumbs .amw-product-gallery-thumb.is-active {
  border-color: #94c93d;
  box-shadow: 0 0 0 2px rgba(148, 201, 61, 0.22);
}

.amw-compare-gallery-thumbs .amw-product-gallery-thumb.is-overflow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(17, 24, 39, 0.42);
}

.amw-compare-gallery-thumbs .amw-product-gallery-thumb.is-overflow::after {
  content: attr(data-amw-overflow-count);
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.amw-compare-header--offers {
  margin-bottom: 0;
}

.amw-compare-header-copy {
  gap: 0.95rem;
}

.amw-compare-title {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.045em;
  color: #18273d;
}

.amw-compare-offers {
  margin-top: 0.1rem;
  display: grid;
  gap: 0.85rem;
}

.amw-compare-offers-toolbar--inline {
  margin: 0;
}

.amw-compare-size-filter {
  min-width: 11rem;
}

.amw-compare-size-filter select {
  min-height: 3rem;
  padding: 0.8rem 3rem 0.8rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid #d7dfe8;
  background:
    linear-gradient(45deg, transparent 50%, #667588 50%) calc(100% - 19px) center / 8px 8px no-repeat,
    linear-gradient(135deg, #667588 50%, transparent 50%) calc(100% - 13px) center / 8px 8px no-repeat,
    #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  appearance: none;
  font-size: 0.98rem;
  color: #344255;
}

.amw-compare-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 0.95rem;
  border: 1px solid #d7dfe8;
  background: #ffffff;
  color: #243246;
  padding: 0.9rem 1.15rem;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.amw-compare-secondary-link svg {
  width: 1.05rem;
  height: 1.05rem;
}

.amw-compare-secondary-link:hover {
  border-color: #c8d2df;
  color: #17263d;
}

.amw-price-insight-banner {
  justify-content: space-between;
  padding: 0.95rem 1.15rem;
  border-radius: 0.9rem;
  border-color: #d7e8f3;
  background: #edf8ff;
  color: #29455d;
}

.amw-price-insight-banner.is-low {
  border-color: #d7e8f3;
  background: #edf8ff;
  color: #29455d;
}

.amw-price-insight-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
  font-weight: 500;
}

.amw-price-insight-icon {
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  color: #7ab42b;
}

.amw-price-insight-icon svg,
.amw-price-insight-chevron svg {
  width: 1.05rem;
  height: 1.05rem;
}

.amw-price-insight-chevron {
  color: #5d6b7c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.amw-offer-list {
  gap: 0.7rem;
}

.amw-offer-card {
  align-items: center;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  border-color: #dfe6ef;
  gap: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.amw-offer-card:hover {
  border-color: #d0d8e3;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.amw-offer-card-main {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 1rem;
}

.amw-offer-card.has-options .amw-offer-card-main {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.amw-offer-card-left {
  gap: 0.9rem;
}

.amw-offer-shop-logo {
  width: 2.8rem;
  height: 2.8rem;
  border-color: #dfe6ef;
  background: #ffffff;
}

.amw-offer-shop-copy {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.amw-offer-shop-heading {
  gap: 0.35rem 0.6rem;
}

.amw-offer-shop-name,
.amw-offer-shop-site,
.amw-offer-price,
.amw-offer-old-price {
  margin: 0;
}

.amw-offer-shop-name {
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #18273d;
}

.amw-offer-shop-site {
  font-size: 0.9rem;
  color: #7b8797;
}

.amw-offer-meta-row,
.amw-offer-badges,
.amw-offer-size-row {
  gap: 0.5rem;
}

.amw-offer-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: #516071;
}

.amw-offer-meta-row span + span::before {
  content: "·";
  color: #b0bac6;
}

.amw-offer-card-options {
  display: grid;
  gap: 0.55rem;
  align-content: center;
  justify-items: start;
}

.amw-offer-badge,
.amw-offer-size-chip {
  min-height: 2.05rem;
  padding: 0.32rem 0.78rem;
  border-radius: 0.68rem;
  border-color: #dbe2eb;
  font-size: 0.92rem;
}

.amw-offer-badge {
  background: #ffffff;
  color: #475568;
}

.amw-offer-size-chip {
  background: #ffffff;
  color: #4f5d6e;
}

.amw-offer-badge.is-highlight {
  background: #fff1fa;
  border-color: #f3c8e2;
  color: #b2468a;
}

.amw-offer-badge.is-sale {
  background: #fff3f8;
  border-color: #ffc8dc;
  color: #db4d84;
}

.amw-offer-card-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.amw-offer-price-wrap {
  text-align: right;
  display: grid;
  gap: 0.1rem;
}

.amw-offer-price {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #0f2945;
}

.amw-offer-old-price {
  font-size: 0.98rem;
  color: #7a8697;
  text-decoration: line-through;
}

.amw-offer-total {
  display: none;
}

.amw-offer-action {
  min-width: 5.85rem;
  padding: 0.82rem 1.1rem;
  border-radius: 0.78rem;
  gap: 0.3rem;
  font-size: 0.98rem;
  font-weight: 700;
}

.amw-offer-action svg {
  width: 0.95rem;
  height: 0.95rem;
}

.amw-offer-expand-card {
  margin-top: 0.1rem;
  justify-content: center;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  border-color: #dfe6ef;
  font-weight: 600;
  color: #364152;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.amw-offer-expand-logos {
  gap: 0.38rem;
}

.amw-offer-expand-logo {
  width: 1.9rem;
  height: 1.9rem;
  border-color: #dfe6ef;
  background: #ffffff;
}

@media (min-width: 900px) {
  .amw-compare-page .amw-compare-hero {
    grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
    gap: 2.25rem;
  }
}

@media (max-width: 1024px) {
  .amw-offer-card.has-options .amw-offer-card-main {
    grid-template-columns: minmax(0, 1fr);
  }
}

.amw-price-alert-product {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 3.8rem minmax(0, 1fr);
  gap: 0.7rem;
  min-width: 0;
  padding: 0.65rem;
  border-radius: 0.8rem;
  border: 1px solid #E5E7EB;
  background: #ffffff;
}

.amw-price-alert-product-media {
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 0.65rem;
  overflow: hidden;
  background: #F3F4F6;
}

.amw-price-alert-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amw-price-alert-product-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
  line-height: 1.25;
  font-weight: 600;
  color: #111827;
}

.amw-price-alert-product-price {
  margin-top: 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #001f3f;
}

.amw-price-alert-presets {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: none;
}

.amw-price-alert-presets legend {
  margin-bottom: 0.15rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
}

.amw-price-alert-choice {
  display: block;
}

.amw-price-alert-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.amw-price-alert-choice-copy {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  gap: 0.55rem;
  align-items: center;
  min-width: 0;
  padding: 0.7rem 0.8rem;
  border-radius: 0.78rem;
  border: 1px solid #D1D5DB;
  background: #ffffff;
  cursor: pointer;
}

.amw-price-alert-choice-copy strong {
  min-width: 0;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
  color: #111827;
}

.amw-price-alert-choice-copy small {
  min-width: 0;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
  text-align: right;
  color: #6B7280;
}

.amw-price-alert-choice input:checked + .amw-price-alert-choice-copy {
  border-color: #84CC16;
  box-shadow: 0 0 0 2px rgba(132, 204, 22, 0.18);
}

.amw-price-alert-modal-form {
  box-sizing: border-box;
  width: 100%;
  padding: 1rem;
  gap: 0.65rem;
}

.amw-price-alert-custom-field {
  margin-top: -0.1rem;
}

.amw-price-alert-error {
  font-size: 0.85rem;
  color: #DC2626;
}

.amw-price-alert-modal-form .amw-btn-primary {
  width: 100%;
  min-height: 2.45rem;
}

.amw-price-alert-modal-form .amw-btn-primary:disabled {
  cursor: wait;
  opacity: 0.72;
}

.amw-product-info-grid {
  display: grid;
  gap: 1.75rem;
}

.amw-product-description-card,
.amw-product-specs {
  padding: 1rem 1.1rem;
}

.amw-product-description-body.is-collapsible {
  max-height: 8.75rem;
  overflow: hidden;
}

.amw-product-description-card[data-open="true"] .amw-product-description-body.is-collapsible {
  max-height: none;
}

.amw-compare-detail-section {
  scroll-margin-top: 7rem;
}

.amw-compare-detail-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.amw-compare-detail-copy {
  display: grid;
  gap: 0.35rem;
}

.amw-compare-detail-title {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #18273d;
}

.amw-compare-detail-copy-text {
  margin: 0;
  max-width: 48rem;
  font-size: 0.96rem;
  line-height: 1.55;
  color: #5d6b7d;
}

.amw-price-insights {
  margin-top: 0;
  padding-top: 1.55rem;
  border-top: 1px solid #e7edf4;
  display: grid;
  gap: 1rem;
}

.amw-price-insights-header {
  margin-bottom: 0;
}

.amw-price-insights-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
}

.amw-price-range-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid #dfe6ef;
  background: #ffffff;
}

.amw-price-range-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 850;
  color: #475569;
  text-decoration: none;
  transition: background 120ms ease, color 120ms ease;
}

.amw-price-range-tab:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.amw-price-range-tab.is-active {
  background: #0f172a;
  color: #ffffff;
}

.amw-price-insights-grid {
  grid-template-columns: minmax(0, 1fr);
}

.amw-price-history-card,
.amw-compare-detail-card {
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid #dfe6ef;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.amw-price-history-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.amw-price-stats-grid {
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.amw-price-history-status {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.9rem;
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #7c2d12;
}

.amw-price-history-status span {
  font-size: 0.92rem;
  font-weight: 850;
}

.amw-price-history-status small {
  font-size: 0.84rem;
  line-height: 1.45;
  color: #9a3412;
}

.amw-price-history-status.is-down {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.amw-price-history-status.is-down small {
  color: #15803d;
}

.amw-price-history-status.is-up {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.amw-price-history-status.is-up small {
  color: #b91c1c;
}

.amw-price-history-status.is-flat {
  border-color: #dbe3ed;
  background: #f8fafc;
  color: #334155;
}

.amw-price-history-status.is-flat small {
  color: #475569;
}

.amw-price-stat-card {
  padding: 0.75rem 0.95rem 0.75rem 1rem;
  border-radius: 0;
  border: 0;
  border-left: 3px solid #f97316;
  background: transparent;
  box-shadow: inset 0 -1px 0 #dbe3ed;
}

.amw-price-stat-label,
.amw-price-stat-value {
  margin: 0;
}

.amw-price-stat-label {
  margin-bottom: 0.3rem;
  color: #475569;
  font-weight: 800;
}

.amw-price-stat-value {
  font-size: 1.32rem;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.amw-price-chart-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.45rem 0.9rem;
  align-items: baseline;
  margin-bottom: 0.75rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: #9a3412;
}

.amw-price-chart-legend {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  color: #0f172a;
}

.amw-price-chart-legend i,
.amw-price-chart-tooltip i {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: #ea580c;
  display: inline-flex;
  flex: 0 0 auto;
}

.amw-price-chart-caption small {
  font-size: 0.8rem;
  font-weight: 750;
  color: #64748b;
}

.amw-price-svg-wrap {
  --amw-price-axis-width: clamp(4.25rem, 10vw, 5.25rem);
  --amw-price-axis-gap: clamp(0.45rem, 2vw, 0.9rem);
  overflow: visible;
  padding: 0.9rem 0 0.4rem;
  border-top: 1px solid #dbe3ed;
}

.amw-price-chart-shell {
  display: grid;
  grid-template-columns: var(--amw-price-axis-width) minmax(0, 1fr);
  gap: var(--amw-price-axis-gap);
  align-items: stretch;
  width: 100%;
}

.amw-price-chart-y-axis {
  position: relative;
  min-height: clamp(14rem, 32vw, 20rem);
}

.amw-price-chart-y-axis span {
  position: absolute;
  right: 0;
  transform: translateY(-50%);
  display: block;
  width: 100%;
  line-height: 1.1;
  padding-right: 0.1rem;
  color: #334155;
  font-size: clamp(0.68rem, 1.8vw, 0.82rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}

.amw-price-chart-plot {
  position: relative;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1000 / 340;
  border: 0;
  overflow: visible;
}

.amw-price-chart-gridline {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  border-top: 1px solid #cbd5e1;
  transform: translateY(-0.5px);
}

.amw-price-chart-hover-line {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 1px;
  background: rgba(234, 88, 12, 0.45);
  transform: translateX(-50%);
  pointer-events: none;
}

.amw-price-chart-hover-line[hidden],
.amw-price-chart-tooltip[hidden] {
  display: none;
}

.amw-price-svg {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow: visible;
}

.amw-price-chart-gridline-svg {
  stroke: #d9e2ec;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.amw-price-chart-month-line {
  stroke: #edf2f7;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.amw-price-chart-axis {
  stroke: #94a3b8;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.amw-price-chart-y-label,
.amw-price-chart-x-label {
  fill: #334155;
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  /* Prevent synthetic bold (can look "doubled" on SVG text if the font weight isn't available). */
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

.amw-price-chart-y-label {
  text-anchor: end;
  dominant-baseline: middle;
}

.amw-price-chart-x-label {
  text-anchor: middle;
  dominant-baseline: hanging;
}

.amw-price-svg-line {
  fill: none;
  stroke: #ea580c;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.amw-price-chart-point {
  fill: #f97316;
  stroke: #ffffff;
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
}

.amw-price-chart-point.is-lowest {
  fill: #c2410c;
}

.amw-price-chart-point.is-latest {
  stroke-width: 5;
}

.amw-price-chart-point.is-current {
  stroke-dasharray: 2 2;
}

.amw-price-chart-hover-dot {
  fill: #f97316;
  stroke: #ffffff;
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.amw-price-chart-hover-dot[hidden] {
  display: none;
}

.amw-price-chart-dot {
  position: absolute;
  z-index: 4;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  border: 3px solid #ffffff;
  background: #f97316;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 1px rgba(234, 88, 12, 0.24);
}

.amw-price-chart-dot.is-lowest {
  background: #c2410c;
  box-shadow: 0 0 0 2px rgba(194, 65, 12, 0.2);
}

.amw-price-chart-dot.is-latest {
  width: 1rem;
  height: 1rem;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
}

.amw-price-chart-dot.is-current {
  border-style: dashed;
}

.amw-price-chart-hit-area {
  position: absolute;
  inset-block: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  z-index: 5;
  cursor: crosshair;
  min-width: 1.5rem;
  transform: translateX(0);
}

.amw-price-chart-hit-area:focus-visible {
  outline: 2px solid rgba(234, 88, 12, 0.35);
  outline-offset: -2px;
}

.amw-price-chart-tooltip {
  position: absolute;
  z-index: 8;
  display: grid;
  gap: 0.28rem;
  min-width: 11rem;
  max-width: min(14rem, calc(100vw - 2rem));
  padding: 0.65rem 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid #fed7aa;
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 1rem));
}

.amw-price-chart-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.42rem;
  width: 0.75rem;
  height: 0.75rem;
  border-right: 1px solid #fed7aa;
  border-bottom: 1px solid #fed7aa;
  background: rgba(255, 255, 255, 0.96);
  transform: translateX(-50%) rotate(45deg);
}

.amw-price-chart-tooltip strong {
  font-size: 0.86rem;
  font-weight: 850;
}

.amw-price-chart-tooltip span {
  display: inline-flex;
  gap: 0.42rem;
  align-items: center;
  font-size: 0.82rem;
  color: #475569;
}

.amw-price-chart-tooltip b {
  color: #9a3412;
  font-weight: 850;
}

.amw-price-chart-x-axis {
  position: relative;
  height: 1.75rem;
  margin-top: 0.55rem;
  margin-left: calc(var(--amw-price-axis-width) + var(--amw-price-axis-gap));
}

.amw-price-chart-x-axis span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  display: block;
  color: #334155;
  max-width: 6.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(0.68rem, 1.8vw, 0.82rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  line-height: 1.2;
}

.amw-price-chart-x-axis span:first-child {
  transform: translateX(0);
}

.amw-price-chart-x-axis span:last-child {
  transform: translateX(-100%);
}

.amw-price-history-empty {
  padding: 1rem 0.1rem 0.2rem;
  display: grid;
  gap: 0.35rem;
}

.amw-price-history-empty-title,
.amw-price-history-empty-copy {
  margin: 0;
}

.amw-price-history-empty-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f172a;
}

.amw-price-history-empty-copy {
  font-size: 0.96rem;
  line-height: 1.55;
  color: #334155;
}

.amw-price-change {
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
}

.amw-product-info-grid {
  display: grid;
  column-gap: clamp(2rem, 5vw, 4.5rem);
  row-gap: 1.75rem;
  margin-top: 1rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.amw-product-info-grid > .amw-card,
.amw-product-info-grid > .amw-compare-detail-card {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.amw-product-info-grid > .amw-card:hover {
  transform: none;
}

.amw-product-info-grid .amw-product-specs-table {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.amw-product-info-grid .amw-product-specs-row {
  padding-right: 0;
  padding-left: 0;
}

.amw-product-info-grid .amw-specs-toggle {
  padding-right: 0;
  padding-left: 0;
  border: 0;
  background: transparent;
  color: #9a3412;
}

.amw-product-description-card,
.amw-product-specs {
  margin-top: 0;
  padding: 0;
  border-top: none;
}

.amw-product-specs-head {
  margin-bottom: 0.95rem;
}

.amw-product-specs-table {
  border-radius: 0.95rem;
  border-color: #e3eaf2;
}

.amw-product-specs-row {
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-top-color: #edf2f7;
}

.amw-product-specs-key,
.amw-product-specs-value {
  font-size: 0.93rem;
}

.amw-product-specs-key {
  color: #627083;
}

.amw-product-specs-value {
  color: #18273d;
}

.amw-specs-toggle {
  margin-top: 0.9rem;
  padding: 0.7rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid #d8e0ea;
  background: #ffffff;
  color: #203147;
  text-decoration: none;
}

.amw-specs-toggle:hover {
  background: #f8fbff;
  text-decoration: none;
}

.amw-product-description-body {
  font-size: 0.96rem;
  line-height: 1.72;
  color: #425063;
}

.amw-product-description-body p {
  margin: 0;
}

.amw-product-description-body.is-collapsible {
  max-height: 11rem;
}

@media (min-width: 760px) {
  .amw-product-info-grid {
    grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1.18fr);
  }
}

.amw-similar-section .amw-compare-section-title,
.amw-compare-bottom-section .amw-compare-section-title {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  letter-spacing: -0.03em;
}

.amw-compare-empty-state {
  padding: 1.5rem;
  border: 1px solid #E5E7EB;
  border-radius: 1rem;
  background: #ffffff;
}

.amw-modal-open,
.amw-modal-open body {
  overflow: hidden;
}

.amw-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.55);
}

.amw-modal-dialog {
  box-sizing: border-box;
  width: min(100%, 32rem);
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.amw-price-alert-dialog {
  width: min(100%, 28.5rem);
}

.amw-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #E5E7EB;
}

.amw-modal-close {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: none;
  background: transparent;
  color: #374151;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.amw-modal-close:hover {
  background: #F3F4F6;
}

@media (max-width: 520px) {
  .amw-modal-backdrop {
    align-items: flex-end;
    padding: 0.5rem;
  }

  .amw-price-alert-dialog {
    width: 100%;
    max-height: calc(100dvh - 1rem);
    border-radius: 0.9rem;
  }

  .amw-price-alert-modal-form {
    padding: 0.85rem;
  }

  .amw-price-alert-product {
    grid-template-columns: 3.25rem minmax(0, 1fr);
  }

  .amw-price-alert-product-media {
    width: 3.25rem;
    height: 3.25rem;
  }

  .amw-price-alert-choice-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .amw-price-alert-choice-copy small {
    text-align: left;
  }
}

.amw-home-hero {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

.amw-home-hero-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.amw-home-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #6B7280;
}

.amw-home-hero-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--amw-secondary);
  display: inline-flex;
}

.amw-home-hero-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}

.amw-home-hero-primary {
  position: relative;
  min-height: 420px;
  border-radius: 32px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.amw-home-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.15));
}

.amw-home-hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.8rem;
  color: #fff;
}

.amw-home-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.5rem;
  border-radius: 999px;
  background: var(--amw-secondary);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.amw-home-hero-secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.amw-home-hero-tiles {
  display: grid;
  gap: 1rem;
}

.amw-home-hero-tile {
  position: relative;
  min-height: 190px;
  border-radius: 28px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.amw-home-hero-tile-content {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.15));
}

.amw-home-hero-tile-pill {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.amw-home-hero-tile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff;
}

.amw-home-hero-text {
  max-width: 32rem;
}

.amw-home-hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  background: var(--amw-secondary-soft);
  color: var(--amw-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.amw-home-hero-title {
  font-size: 2.1rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.amw-home-hero-subtitle {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 30rem;
}

.amw-home-hero-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.amw-home-hero-secondary {
  font-size: 0.85rem;
  color: #6B7280;
}

.amw-home-hero-media {
  max-width: 22rem;
  justify-self: flex-end;
}

.amw-home-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.amw-home-hero-tags span {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #F3F4F6;
  font-size: 0.8rem;
}

.amw-trust-panel {
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.amw-audience-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.amw-audience-eyebrow {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #6B7280;
  font-weight: 700;
}

.amw-audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.amw-audience-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  min-width: 0;
}

.amw-audience-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  color: inherit;
}

.amw-audience-card-media {
  flex: 0 0 auto;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 18px;
  overflow: hidden;
  background: #F3F4F6;
}

.amw-audience-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amw-audience-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex: 1 1 auto;
  padding: 0;
}

.amw-audience-card-title {
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: #111827;
}

.amw-audience-card-cta {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.10);
  border: 1px solid rgba(249, 115, 22, 0.22);
  color: var(--amw-secondary);
  font-weight: 800;
}

.amw-trust-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.amw-trust-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.amw-trust-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 20px;
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.amw-trust-card-label {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  color: #4B5563;
}

.amw-trust-card-copy {
  font-size: 0.9rem;
  color: #1F2937;
}

.amw-spotlight-row {
  display: grid;
  gap: 1rem;
}

.amw-spotlight-collections {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.amw-spotlight-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.amw-spotlight-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: #6B7280;
}

.amw-spotlight-title {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 0.2rem;
}

.amw-spotlight-view-all {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--amw-secondary);
}

.amw-spotlight-row {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .amw-spotlight-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.amw-spotlight-card {
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  text-decoration: none;
}

.amw-spotlight-media {
  position: relative;
  width: 100%;
  padding-top: 55%;
  overflow: hidden;
}

.amw-spotlight-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.amw-spotlight-card:hover .amw-spotlight-media img {
  transform: scale(1.05);
}

.amw-spotlight-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.amw-spotlight-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: #6B7280;
  text-transform: uppercase;
}

.amw-spotlight-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--amw-secondary);
  font-size: 0.9rem;
  text-decoration: none;
}

.amw-popular-categories-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .amw-popular-categories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .amw-popular-categories-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.amw-popular-category-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  text-decoration: none;
}

.amw-popular-category-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.amw-popular-category-tile:hover .amw-popular-category-image {
  transform: scale(1.1);
}

.amw-popular-category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2), rgba(0,0,0,0));
}

.amw-popular-category-title {
  position: relative;
  z-index: 1;
  padding: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.amw-story-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .amw-story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.amw-story-tile {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background-size: cover;
  background-position: center;
  min-height: 260px;
  text-decoration: none;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: flex-end;
}

.amw-story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
}

.amw-story-content {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.amw-story-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.amw-story-copy {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.amw-story-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 900px) {
  .amw-product-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: flex-start;
  }
  .amw-compare-hero {
    grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  }
  .amw-product-info-grid {
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  }
  .amw-price-insights-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .amw-home-hero {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }
  .amw-trust-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .amw-spotlight-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .amw-compare-gallery {
    position: static;
  }
  .amw-offer-card.has-options .amw-offer-card-main {
    grid-template-columns: minmax(0, 1fr);
  }
  .amw-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .amw-nav {
    flex-wrap: wrap;
  }
  .amw-category-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .amw-compare-top-action {
    width: 100%;
  }

  .amw-compare-detail-header {
    gap: 0.8rem;
  }

  .amw-compare-secondary-link {
    width: 100%;
  }

  .amw-compare-gallery-frame {
    padding: 0;
  }

  .amw-product-offers-head {
    align-items: flex-start;
  }

  .amw-product-offers-meta {
    width: 100%;
  }

  .amw-offer-card {
    flex-wrap: wrap;
  }

  .amw-offer-card-main {
    width: 100%;
  }

  .amw-offer-card-right {
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }

  .amw-offer-action {
    width: auto;
  }

  .amw-price-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amw-product-specs-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .amw-product-specs-value {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .amw-price-svg-wrap {
    --amw-price-axis-width: 4rem;
    --amw-price-axis-gap: 0.45rem;
  }

  .amw-price-chart-y-axis,
  .amw-price-chart-plot {
    min-height: 0;
  }

  .amw-price-chart-y-axis span,
  .amw-price-chart-x-axis span {
    font-size: 0.74rem;
  }

  .amw-price-chart-x-axis span:not(:first-child):not(:last-child) {
    display: none;
  }

  .amw-price-chart-tooltip {
    min-width: 9.5rem;
    padding: 0.55rem 0.65rem;
    transform: translate(-50%, calc(-100% - 0.8rem));
  }

  .amw-price-stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
