/* Amore / visual evolution, October 2026.
   Cosmetic layer only: keep the original DOM, section order, responsive grid,
   image crops, catalog, pricing, Sigma connection and interaction logic intact.
   Brand colors are inherited from the approved palette in style.css. */
:root {
  --future-line: #dce5f1;
  --future-shadow: 0 8px 28px #124f9e09, 0 1px 3px #124f9e06;
  --future-surface: #f1f5fb;
}

body {
  background: radial-gradient(ellipse 75% 420px at 5% 160px, #124f9e07, transparent),
    radial-gradient(ellipse 55% 360px at 98% 420px, #e5232804, transparent), #f5f7fb;
}
::selection { background: #124f9e; color: #fff; }

/* Familiar header, with a translucent surface and a crisp navigation rail. */
body > .preview {
  background: linear-gradient(110deg, #0b376f, var(--navy));
  letter-spacing: .01em;
}
body > header {
  background: #fff;
  box-shadow: 0 8px 26px #124f9e0c, 0 1px 0 #124f9e14;
}
@supports ((backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px))) {
  body > header {
    background: #ffffffed;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
}
.search {
  background: #f4f7fc;
  border-color: var(--future-line);
  border-radius: 16px;
  box-shadow: inset 0 1px 2px #124f9e04;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.search:focus-within {
  background: #fff;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px #124f9e12;
}
.search-submit {
  border-radius: 12px;
  background: var(--navy);
  box-shadow: 0 3px 8px #124f9e1a;
}
.search input::placeholder { color: #586c86; opacity: 1; }
.cart-button {
  border-radius: 14px;
  box-shadow: 0 5px 14px #e5232824, inset 0 1px 0 #ffffff1f;
}
.cart-button b { font-variant-numeric: tabular-nums; }
.gluten-access {
  border-radius: 14px;
  border-color: var(--future-line);
  box-shadow: 0 2px 6px #124f9e05;
}
body > header > nav {
  background: linear-gradient(105deg, var(--navy) 48%, #0e407f);
  box-shadow: inset 0 1px 0 #ffffff20, inset 0 -1px 0 #082c5726;
}
.nav-categories button {
  transition: background-color .18s ease, border-color .18s ease;
}
.nav-category-icon { opacity: .95; }
.nav-category-copy strong { font-weight: 600; letter-spacing: .005em; }
.nav-categories button:hover,
.nav-categories button.active,
.nav-categories button[aria-expanded="true"] {
  background: #ffffff13;
  border-bottom-color: #fff;
  color: #fff;
}
.subcategory-panel,
.search-suggestions {
  background: #fff;
  border-color: var(--future-line);
  box-shadow: 0 20px 50px #12396b24, 0 2px 6px #12396b08;
}
.subcategory-panel { border-radius: 0 0 18px 18px; }
.search-suggestions { border-radius: 18px; }
.subcategory-panel button { border-radius: 10px; }
.subcategory-panel button:hover,
.subcategory-panel button[aria-pressed="true"],
.search-suggestion:hover,
.search-suggestion[aria-selected="true"] { background: #edf3fc; }

/* Same campaign slides and product order, with a more dimensional frame.
   Dark overlays only: preserve the contrast of white copy on Amore red. */
.campaign {
  border-radius: 22px;
  box-shadow: 0 12px 34px #124f9e12, 0 1px 3px #124f9e0a;
}
.campaign-slide {
  background: linear-gradient(118deg, var(--red) 30%, var(--red-hover));
}
.campaign-slide.navy,
.campaign-slide.blue {
  background: linear-gradient(118deg, var(--navy) 28%, #0c3974);
}
.campaign-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(#00000005 1px, transparent 1px),
    linear-gradient(90deg, #00000005 1px, transparent 1px);
  background-size: 44px 44px;
}
.campaign-slide::after {
  content: "";
  position: absolute;
  right: -84px;
  top: -155px;
  width: 520px;
  height: 520px;
  border: 1px solid #ffffff26;
  border-radius: 50%;
  box-shadow: 0 0 0 55px #ffffff05, 0 0 0 110px #ffffff03;
  pointer-events: none;
  z-index: -1;
}
.campaign-kicker { letter-spacing: .2em; }
.campaign h1 { font-weight: 800; letter-spacing: -.045em; }
.campaign-copy .light-button {
  border-radius: 12px;
  box-shadow: 0 5px 14px #00000014;
}
.campaign-products {
  border: 1px solid #ffffff80;
  border-radius: 22px;
  box-shadow: 0 16px 36px #00000020, 0 0 0 6px #ffffff0c;
  transform: none;
}
.hero-product,
.hero-product-0,
.hero-product-1,
.hero-product-2 { border-radius: 12px; transform: none; }
.campaign-arrow {
  width: 38px;
  border: 1px solid #ffffff66;
  border-radius: 12px;
  background: #fffffff2;
  box-shadow: 0 5px 15px #00000015;
}
.campaign-bar { border-radius: 0 0 22px 22px; border-color: var(--future-line); }
.campaign-caption { color: #52647d; }
.carousel-dot { background: #99aac2; }
.carousel-pause { text-decoration-thickness: 1px; }
.intro-strip strong { color: #243d5d; }
.intro-strip > span { color: #52647d; letter-spacing: .035em; }

/* Original product density and all photograph framing remain unchanged. */
.catalog-eyebrow { color: #536680; letter-spacing: .17em; }
#collection-heading { font-weight: 800; letter-spacing: -.035em; }
.sort {
  border-color: var(--future-line);
  border-radius: 12px;
  box-shadow: 0 2px 7px #124f9e04;
}
.sort select { background: transparent; }
.product-card {
  border-color: var(--future-line);
  border-radius: 16px;
  box-shadow: var(--future-shadow);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.product-card:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px #124f9e0d, 0 10px 24px #124f9e0b;
}
.brand-label { color: #536680; letter-spacing: .075em; }
.product-name { color: #1d314e; font-weight: 600; }
.final-price {
  color: #123b6a;
  font-family: 'Manrope', Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -.04em;
}
.discount-badge,
.product-badge { border-radius: 7px; }
.quick-view {
  border-color: #dce5f2;
  border-radius: 9px;
  background: #f1f5fb;
  color: var(--navy);
}
.product-bottom .add-button {
  border-color: #c7d7ed;
  border-radius: 10px;
  background: #f0f5fc;
  color: var(--navy);
  box-shadow: inset 0 1px 0 #fff;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.product-bottom .add-button:hover:not(:disabled) {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 12px #124f9e20;
}
.card-stepper {
  border-color: #9bb7dc;
  border-radius: 10px;
  background: #eef4fc;
}
.card-stepper output { font-variant-numeric: tabular-nums; }
.tax-price summary { text-decoration-color: #8ba8cd; }
.tax-price-content {
  border: 1px solid #dfe8f4;
  border-radius: 10px;
  background: #f2f6fc;
}
#pagination button {
  border-color: var(--future-line);
  border-radius: 11px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 6px #124f9e05;
}
#pagination button[aria-current="page"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 4px 12px #124f9e22;
}

/* Shared dialogs keep their dimensions, stacking and native modal behavior. */
dialog {
  border: 1px solid #dce5f1;
  box-shadow: 0 26px 90px #08285140, 0 2px 10px #08285110;
}
dialog::backdrop {
  background: #0b234c80;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.detail-dialog,
.info-dialog { border-radius: 22px; }
.cart-dialog { border-radius: 22px 0 0 22px; }
.close { background: #f0f4fa; border-color: var(--future-line); }
.primary { border-radius: 11px; }
.primary:not(:disabled) { box-shadow: 0 4px 12px #e523281c; }
.detail-quantity-row .detail-add { border-color: #a9c1e2; box-shadow: none; }
.detail-status,
.purchase-notice { background: var(--future-surface); border-radius: 12px; }
.quantity { border-radius: 10px; border-color: var(--future-line); }
.toast { border-radius: 13px; box-shadow: 0 10px 36px #12396b30; }

/* The newsletter and footer stay in place, with consistent typography. */
#amore-clean-footer { font-family: 'DM Sans', Arial, sans-serif; }
#amore-clean-footer .newsletter {
  background: linear-gradient(115deg, #fff, #f0f5fc);
  border-top: 1px solid var(--future-line);
  border-radius: 22px 22px 0 0;
}
#amore-clean-footer .newsletter h2 {
  font-family: 'Manrope', Arial, sans-serif;
  letter-spacing: -.035em;
  font-weight: 800;
}
#amore-clean-footer .field input { border-radius: 11px; border-color: #bccbe0; }
#amore-clean-footer .primary { border-radius: 11px; }
#amore-clean-footer .footer {
  background: linear-gradient(120deg, var(--navy), #0b3268);
  border-top: 1px solid #ffffff29;
}
#amore-clean-footer .subfooter { border-top-color: #ffffff26; }
#footer-backtop { border-color: var(--future-line); box-shadow: 0 6px 18px #124f9e20; }

/* Interaction polish is intentional and brief, never an idle animation. */
@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    border-color: #aec5e4;
    box-shadow: 0 12px 30px #124f9e13, 0 1px 4px #124f9e06;
    transform: translateY(-2px);
  }
  .hero-product:hover { transform: translateY(-3px); }
  .search-submit:hover { background: #0e407f; }
  .campaign-copy .light-button:hover { background: #f0f5ff; }
}
@media (hover: none), (pointer: coarse) {
  .hero-product:hover { transform: none; }
  .product-card:hover { transform: none; }
}

/* Keep visible keyboard focus even on translucent and saturated surfaces. */
.campaign :is(button, a):focus-visible,
.product-card :is(button, summary):focus-visible,
.sort select:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #fff;
}
.campaign-products .hero-product:focus-visible { outline-offset: -4px; box-shadow: none; }

@media (max-width: 760px) {
  .search { border-radius: 14px; }
  .search-submit { border-radius: 10px; }
  .cart-button { border-radius: 12px; }
  .campaign { border-radius: 17px; }
  .campaign-products { border-radius: 16px; box-shadow: 0 8px 18px #00000017; }
  .campaign-slide::after { right: -225px; top: 55px; width: 430px; height: 430px; }
  .campaign-bar { border-radius: 0 0 17px 17px; }
  .campaign-arrow { width: 25px; border-radius: 8px; }
  .campaign-kicker { letter-spacing: .15em; }
  .product-card { border-radius: 13px; }
  .final-price { font-size: 22px; }
  .sort { border-radius: 10px; }
  #amore-clean-footer .newsletter { border-radius: 17px 17px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .product-card, .hero-product, .search, .nav-categories button,
  .product-bottom .add-button { transition: none; }
  .product-card:hover, .hero-product:hover { transform: none; }
  .cart-bump { animation: none; }
}

@media (forced-colors: active) {
  body > header, .product-card, .search, .sort { box-shadow: none; }
  .product-card, .search, .sort, .cart-button { border: 1px solid ButtonText; }
  .campaign-slide::before, .campaign-slide::after { background: none; border: 0; box-shadow: none; }
}
