/** Shopify CDN: Minification failed

Line 3167:0 Unexpected "}"

**/
body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    'Open Sans',
    'Helvetica Neue',
    sans-serif;
  margin: 0;
  padding: 0;
}

h1,
h2,
p {
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

h2 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
}

h4 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

h5 {
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

p {
  font-size: 1rem;
  line-height: 1.4;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  cursor: pointer;
}

hr {
  border-bottom: none;
  border-top: 1px solid #000;
  margin: 0;
}

pre {
  white-space: pre-wrap;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body > main {
  margin: 0 1rem 1rem 1rem;
}

section {
  padding: 1rem 0;
  @media (min-width: 768px) {
    padding: 2rem 0;
  }
}

fieldset {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
  padding: 1rem;
}

form {
  max-width: 100%;
  @media (min-width: 768px) {
    max-width: 400px;
  }
}

input {
  border-radius: 4px;
  border: 1px solid #000;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  margin-top: 0.25rem;
  padding: 0.5rem;
}

legend {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

li {
  margin-bottom: 0.5rem;
}

dl {
  margin: 0.5rem 0;
}

code {
  background: #ddd;
  border-radius: 4px;
  font-family: monospace;
  padding: 0.25rem;
}
:root {
  --aside-width: 400px;
  --cart-aside-summary-height-with-discount: 300px;
  --cart-aside-summary-height: 250px;
  --grid-item-width: 355px;
  --header-height: 64px;
  /* Allbirds-aligned neutrals */
  --color-dark: #1A1A1A;
  --color-light: #EAE0CC;
  --color-surface: #FFFFFF;
  --color-cream: #E0D3B8;
  --color-hairline: #DDD3C0;
  --color-muted: #595959;
  --color-subtle: #767676;
  /* Allbirds signature accent greens */
  --color-forest: #2F4F3A;
  --color-sage: #98A99C;
  --color-sage-light: #B5BFB0;
}

html, body {
  background: var(--color-light);
  color: var(--color-dark);
}

img {
  border-radius: 4px;
}

/*
* --------------------------------------------------
* Non anchor links
* --------------------------------------------------
*/
.link:hover {
  text-decoration: underline;
  cursor: pointer;
}

/*
* --------------------------------------------------
* components/MockShopNotice
* --------------------------------------------------
*/
.mock-shop-notice {
  background: var(--color-light);
  border: 1px solid var(--color-dark);
  border-left-width: 0.5rem;
  margin: 1rem 0;
  padding: 0;

  .inner {
    padding: 0.875rem 1rem;
  }

  h2 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
  }

  p {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
  }

  footer {
    background: rgba(0, 0, 0, 0.06);
    padding: 0.5rem 1rem;
  }

  .small {
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
  }

  code {
    background: rgba(0, 0, 0, 0.06);
    border-radius: 0.25rem;
    padding: 0.1em 0.3em;
  }

  a {
    text-decoration: underline;
    text-underline-offset: 6px;
  }
}

/*
* --------------------------------------------------
* components/Aside
* --------------------------------------------------
*/
@media (max-width: 45em) {
  html:has(.overlay.expanded) {
    overflow: hidden;
  }
}

aside {
  background: var(--color-light);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
  height: 100vh;
  width: min(var(--aside-width), 100vw);
  position: fixed;
  right: calc(-1 * var(--aside-width));
  top: 0;
  transition: transform 200ms ease-in-out;
}

aside header {
  align-items: center;
  border-bottom: 1px solid var(--color-dark);
  display: flex;
  height: var(--header-height);
  justify-content: space-between;
  padding: 0 20px;
}

aside header h3 {
  margin: 0;
}

aside header .close {
  font-weight: bold;
  opacity: 0.8;
  text-decoration: none;
  transition: all 200ms;
  width: 20px;
}

aside header .close:hover {
  opacity: 1;
}

aside header h2 {
  margin-bottom: 0.6rem;
  margin-top: 0;
}

aside main {
  margin: 1rem;
}

aside p {
  margin: 0 0 0.25rem;
}

aside p:last-child {
  margin: 0;
}

aside li {
  margin-bottom: 0.125rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border-width: 0;
}

.overlay {
  background: rgba(0, 0, 0, 0.2);
  bottom: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  transition: opacity 400ms ease-in-out;
  transition: opacity 400ms;
  visibility: hidden;
  z-index: 10;
}

.overlay .close-outside {
  background: transparent;
  border: none;
  color: transparent;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: calc(100% - var(--aside-width));
}

.overlay .light {
  background: rgba(255, 255, 255, 0.5);
}

.overlay .cancel {
  cursor: default;
  height: 100%;
  position: absolute;
  width: 100%;
}

.overlay.expanded {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
/* reveal aside */
.overlay.expanded aside {
  transform: translateX(calc(var(--aside-width) * -1));
}

button.reset {
  border: 0;
  background: inherit;
  font-size: inherit;
}

button.reset > * {
  margin: 0;
}

button.reset:not(:has(> *)) {
  height: 1.5rem;
  line-height: 1.5rem;
}

button.reset:hover:not(:has(> *)) {
  text-decoration: underline;
  cursor: pointer;
}

/*
* --------------------------------------------------
* components/Header
* --------------------------------------------------
*/
.header {
  align-items: center;
  background: #fff;
  display: flex;
  height: var(--header-height);
  padding: 0 1.5rem;
}
.header strong,
.header a {
  color: #212529;
  text-decoration: none;
}
.header strong {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: #212529 !important;
}
.header-menu-item {
  cursor: pointer;
  color: #212529;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0 4px;
  position: relative;
  transition: color 0.15s;
}
.header-menu-item:hover { color: #767676; }
.header-menu-item.active::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 2px;
  background: #212529;
}
.header-ctas a, .header-ctas button {
  color: #212529;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
}
.header-ctas a:hover, .header-ctas button:hover { color: #767676; }

.header-menu-mobile-toggle {
  @media (min-width: 48em) {
    display: none;
  }
}

.header-menu-mobile {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px 0 24px;
}
.header-menu-mobile a,
.header-menu-mobile .header-menu-item {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-transform: none;
  padding: 22px 4px;
  border-bottom: 1px solid var(--ab-hairline);
  color: var(--ab-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-menu-mobile a::after,
.header-menu-mobile .header-menu-item::after {
  content: '›';
  font-size: 26px;
  font-weight: 300;
  color: var(--ab-muted);
}
.header-menu-mobile a:last-child,
.header-menu-mobile .header-menu-item:last-child { border-bottom: 0; }
.header-menu-mobile a:hover,
.header-menu-mobile .header-menu-item:hover { color: var(--ab-muted); }

/* Drawer wider on mobile to feel full-screen like Allbirds */
@media (max-width: 767px) {
  :root { --aside-width: min(420px, 92vw); }
}
.overlay aside main { padding: 0 24px; }
.overlay aside header h3 {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header-menu-desktop {
  display: none;
  grid-gap: 1.25rem;
  @media (min-width: 45em) {
    display: flex;
    grid-gap: 1.25rem;
    margin-left: 3rem;
  }
}

.header-ctas {
  align-items: center;
  display: flex;
  grid-gap: 1rem;
  margin-left: auto;
}

.header-ctas > * {
  min-width: fit-content;
}

/*
* --------------------------------------------------
* components/Footer
* --------------------------------------------------
*/
.footer {
  background: var(--color-dark);
  margin-top: auto;
}

.footer-menu {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  grid-gap: 1rem;
  padding: 1rem;
}

.footer-menu a {
  color: var(--color-light);
  min-width: fit-content;
}

/*
* --------------------------------------------------
* components/Cart
* --------------------------------------------------
*/
.cart-main {
  height: 100%;
  max-height: calc(100vh - var(--cart-aside-summary-height));
  overflow-y: auto;
  width: auto;
}

.cart-main.with-discount {
  max-height: calc(100vh - var(--cart-aside-summary-height-with-discount));
}

.cart-line {
  padding: 0.75rem 0;
}

.cart-line-inner {
  display: flex;
}

.cart-line img {
  height: 100%;
  display: block;
  margin-right: 0.75rem;
}

.cart-summary-page {
  position: relative;
}

.cart-summary-aside {
  background: white;
  border-top: 1px solid var(--color-dark);
  bottom: 0;
  padding-top: 0.75rem;
  position: absolute;
  width: calc(var(--aside-width) - 40px);
}

.cart-line-quantity {
  display: flex;
}

/* Child line components (warranties, gift wrapping, etc.) */
.cart-line-children {
  padding-left: 2rem;
}

.cart-discount {
  align-items: center;
  display: flex;
  margin-top: 0.25rem;
}

.cart-subtotal {
  align-items: center;
  display: flex;
}
/*
* --------------------------------------------------
* components/Search
* --------------------------------------------------
*/
.predictive-search {
  height: calc(100vh - var(--header-height) - 40px);
  overflow-y: auto;
}

.predictive-search-form {
  background: var(--color-light);
  position: sticky;
  top: 0;
}

.predictive-search-result {
  margin-bottom: 2rem;
}

.predictive-search-result h5 {
  text-transform: uppercase;
}

.predictive-search-result-item {
  margin-bottom: 0.5rem;
}

.predictive-search-result-item a {
  align-items: center;
  display: flex;
}

.predictive-search-result-item a img {
  margin-right: 0.75rem;
  height: 100%;
}

.search-result {
  margin-bottom: 1.5rem;
}

.search-results-item {
  margin-bottom: 0.5rem;
}

.search-results-item a {
  display: flex;
  flex: row;
  align-items: center;
  gap: 1rem;
}

/*
* --------------------------------------------------
* routes/__index
* --------------------------------------------------
*/
.featured-collection {
  display: block;
  margin-bottom: 2rem;
  position: relative;
}

.featured-collection-image {
  aspect-ratio: 1 / 1;
  @media (min-width: 45em) {
    aspect-ratio: 16 / 9;
  }
}

.featured-collection img {
  height: auto;
  max-height: 100%;
  object-fit: cover;
}

.recommended-products-grid {
  display: grid;
  grid-gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
  @media (min-width: 45em) {
    grid-template-columns: repeat(4, 1fr);
  }
}

.recommended-product img {
  height: auto;
}

/*
* --------------------------------------------------
* routes/collections._index.tsx
* --------------------------------------------------
*/
.collections-grid {
  display: grid;
  grid-gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(var(--grid-item-width), 1fr));
  margin-bottom: 2rem;
}

.collection-item img {
  height: auto;
}

/*
* --------------------------------------------------
* routes/collections.$handle.tsx
* --------------------------------------------------
*/
.collection-description {
  margin-bottom: 1rem;
  max-width: 95%;
  @media (min-width: 45em) {
    max-width: 600px;
  }
}

.products-grid {
  display: grid;
  grid-gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(var(--grid-item-width), 1fr));
  margin-bottom: 2rem;
}

.product-item img {
  height: auto;
  width: 100%;
}

/*
* --------------------------------------------------
* routes/products.$handle.tsx
* --------------------------------------------------
*/
.product {
  display: grid;
  @media (min-width: 45em) {
    grid-template-columns: 1fr 1fr;
    grid-gap: 4rem;
  }
}

.product h1 {
  margin-top: 0;
}

.product-image img {
  height: auto;
  width: 100%;
}

.product-main {
  align-self: start;
  position: sticky;
  top: 6rem;
}

.product-price-on-sale {
  display: flex;
  grid-gap: 0.5rem;
}

.product-price-on-sale s {
  opacity: 0.5;
}

.product-options-grid {
  display: flex;
  flex-wrap: wrap;
  grid-gap: 0.75rem;
}

.product-options-item,
.product-options-item:disabled {
  padding: 0.25rem 0.5rem;
  background-color: transparent;
  font-size: 1rem;
  font-family: inherit;
}

.product-option-label-swatch {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.25rem 0;
}

.product-option-label-swatch img {
  width: 100%;
}

/*
* --------------------------------------------------
* routes/blog._index.tsx
* --------------------------------------------------
*/
.blog-grid {
  display: grid;
  grid-gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(var(--grid-item-width), 1fr));
  margin-bottom: 2rem;
}

.blog-article-image {
  aspect-ratio: 3/2;
  display: block;
}

.blog-article-image img {
  height: 100%;
}

/*
* --------------------------------------------------
* routes/blog.$articlehandle.tsx
* --------------------------------------------------
*/
.article img {
  height: auto;
  width: 100%;
}

/*
* --------------------------------------------------
* routes/account
* --------------------------------------------------
*/

.account-logout {
  display: inline-block;
}

/*
* --------------------------------------------------
* Order Search Form - Minimal & Responsive
* --------------------------------------------------
*/
.order-search-form {
  margin-bottom: 1.5rem;
}

.order-search-fieldset {
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 1rem;
}

.order-search-legend {
  font-weight: 600;
  padding: 0 0.5rem;
}

.order-search-active {
  font-weight: normal;
  opacity: 0.7;
  margin-left: 0.5rem;
}

.order-search-inputs {
  display: grid;
  gap: 1rem;
  margin: 0.25rem 0 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .order-search-inputs {
    grid-template-columns: 1fr 1fr;
  }
}

.order-search-input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 1rem;
}

.order-search-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ---------- Asmia overrides ---------- */
:root {
  --asmia-ink: #212529;
  --asmia-muted: #767676;
  --asmia-hairline: #e5e5e5;
  --asmia-sage: #b9c7bb;
  --asmia-sage-deep: #93a595;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--asmia-ink);
  background: #ffffff;
  margin: 0;
}

.asmia-home h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-style: italic;
}

.asmia-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--asmia-sage) 0%, var(--asmia-sage-deep) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
  text-decoration: none;
}

.asmia-hero-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.asmia-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.asmia-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.asmia-hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.08;
  margin: 0 0 12px;
  color: #fff;
}
.asmia-hero p {
  font-size: 16px;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0 0 24px;
}

.asmia-btn-primary {
  display: inline-block;
  background: var(--asmia-ink);
  color: #fff;
  text-decoration: none;
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.15s;
}
.asmia-btn-primary:hover { background: #333; }

/* ---------- ASMIA Product Card ---------- */
.product-item {
  text-decoration: none;
  color: var(--asmia-ink);
  display: block;
  transition: opacity 0.2s;
}
.product-item:hover { opacity: 0.88; }
.product-item img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: #f5f5f0;
  border-radius: 2px;
}
.product-item h4 {
  font-size: 14px;
  font-weight: 500;
  margin: 14px 0 4px;
  letter-spacing: 0.01em;
  line-height: 1.35;
}
.product-item small {
  font-size: 13px;
  font-weight: 600;
  color: var(--asmia-ink);
  display: block;
}

/* ---------- Asmia Page ---------- */
.collection {
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}
.collection h1 {
  font-size: 34px;
  font-weight: 400;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  margin: 0 0 8px;
}
.collection-description {
  font-size: 14px;
  color: var(--asmia-muted);
  max-width: 680px;
  margin-bottom: 40px;
  line-height: 1.6;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ---------- ASMIA Product Detail Page ---------- */
.product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
}
@media (min-width: 900px) {
  .product { grid-template-columns: 1.2fr 1fr; gap: 56px; padding: 32px 24px 80px; }
}
.product-image img {
  width: 100%;
  border-radius: 2px;
  background: #f5f5f0;
}
.product-main h1 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 12px;
}
.product-main .product-price {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
}
.product-options h5 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--asmia-muted);
  margin: 0 0 10px;
}
.product-options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.product-options-item {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--asmia-hairline);
  border-radius: 2px;
  cursor: pointer;
  font-size: 13px;
  color: var(--asmia-ink);
  transition: border-color 0.15s;
}
.product-options-item:hover:not(:disabled) { border-color: var(--asmia-ink); }
.product-options-item:disabled { cursor: not-allowed; }
.product-option-label-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--asmia-hairline);
}
.product-option-label-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.product-form button[type="submit"],
.product-form .add-to-cart-btn {
  width: 100%;
  background: var(--asmia-ink);
  color: #fff;
  border: none;
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s;
}
.product-form button[type="submit"]:hover:not(:disabled) { background: #333; }
.product-form button[type="submit"]:disabled {
  background: #ccc;
  cursor: not-allowed;
}
.asmia-buy-now-btn {
  width: 100%;
  margin-top: 10px;
  background: transparent;
  color: var(--asmia-ink);
  border: 2px solid var(--asmia-ink);
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.asmia-buy-now-btn:hover:not(:disabled) { background: var(--asmia-ink); color: #fff; }
.asmia-buy-now-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.asmia-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--asmia-hairline);
  border-bottom: 1px solid var(--asmia-hairline);
  margin: 28px 0;
}
.asmia-trust-row > div { text-align: center; font-size: 11px; color: var(--asmia-muted); }

/* ═════════════ ASMIA Allbirds-style Home ═════════════ */

.asmia-announce {
  background: #212529;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.asmia-announce a { color: #fff; text-decoration: underline; }

/* Promo Banner (sage) */
.asmia-promo-banner {
  background: #98A7A0;
  padding: 48px 16px 64px;
  text-align: center;
  color: #fff;
}
.asmia-promo-banner h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 5.5vw, 56px);
  line-height: 1.08;
  margin: 0 0 12px;
  color: #fff;
}
.asmia-promo-banner p {
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  letter-spacing: 0.02em;
  margin: 0;
}

/* Hero Split */
.asmia-hero-split { width: 100%; }
.asmia-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 400px;
}
@media (min-width: 768px) {
  .asmia-hero-grid { grid-template-columns: 1fr 1fr; min-height: 600px; }
}
.asmia-hero-left {
  background: #B5BFB0;
  display: flex; align-items: center; justify-content: center;
  padding: 48px;
  min-height: 400px;
}
.asmia-hero-card {
  background: #fff;
  padding: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  max-width: 380px; width: 100%;
}
.asmia-hero-card img { width: 100%; height: auto; }
.asmia-hero-placeholder { aspect-ratio: 1/1; background: #f0efe9; }
.asmia-hero-right {
  background: url('https://images.unsplash.com/photo-1519861531473-9200262188bf?w=1200&q=80') center/cover no-repeat;
  min-height: 300px;
}
.asmia-hero-caption {
  background: #fff;
  padding: 24px 16px 28px;
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
}
.asmia-hero-caption h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: 22px;
  color: #212529;
  margin: 0 0 12px;
}
.asmia-hero-links { display: flex; gap: 20px; justify-content: center; }
.asmia-hero-links a {
  font-size: 13px;
  font-weight: 500;
  color: #212529;
  text-decoration: underline;
  text-underline-offset: 4px;
  letter-spacing: 0.02em;
}
.asmia-hero-links a:hover { color: #767676; }

/* Category row + Promo tiles share card styles */
.asmia-cats, .asmia-promos {
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 16px;
}
.asmia-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 1024px) {
  .asmia-cat-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
.asmia-promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .asmia-promo-grid { grid-template-columns: repeat(3, 1fr); }
}
.asmia-cat-card, .asmia-promo-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 50%/45%;
  aspect-ratio: 4/5;
  text-decoration: none;
  padding: 0;
}
.asmia-promo-tile { aspect-ratio: 3/4; border-radius: 2px; }
.asmia-cat-card .asmia-cat-shoe {
  position: absolute; top: 22%; left: 6%;
  width: 88%; height: 56%; object-fit: contain;
  transition: transform 0.5s;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.18));
}
.asmia-cat-card:hover .asmia-cat-shoe { transform: scale(1.04); }
.asmia-cat-card img.asmia-cat-shoe { background: transparent; }
.asmia-promo-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s;
}
.asmia-promo-tile:hover img { transform: scale(1.05); }
.asmia-cat-placeholder { width: 100%; height: 100%; background: #E8ECE5; }
.asmia-cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.18), transparent 55%);
  pointer-events: none;
}
.asmia-cat-overlay-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  padding: 14% 8% 14%; text-align: center;
  z-index: 2; pointer-events: none;
}
.asmia-cat-overlay-content > * { pointer-events: auto; }
.asmia-cat-overlay-content h3 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 1px 10px rgba(0,0,0,0.25);
}
.asmia-cat-overlay-content .asmia-cat-links {
  display: flex; flex-direction: column;
  gap: 10px; align-items: center;
}
.asmia-cat-pill {
  display: inline-block;
  min-width: 148px;
  padding: 11px 22px;
  background: rgba(255,255,255,0.96);
  color: #1A1A1A;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}
.asmia-cat-pill:hover { background: #fff; transform: translateY(-1px); }
@media (min-width: 1024px) {
  .asmia-cat-overlay-content h3 { font-size: 18px; }
  .asmia-cat-pill { min-width: 170px; padding: 13px 26px; font-size: 12px; }
}

/* Large carousel */
.asmia-lc, .asmia-sc {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 16px;
}
.asmia-lc-head, .asmia-sc-head { margin-bottom: 20px; }
.asmia-lc-head h2, .asmia-sc-head h2 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #212529;
  margin: 0;
}
.asmia-lc-track, .asmia-sc-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.asmia-lc-track::-webkit-scrollbar, .asmia-sc-track::-webkit-scrollbar { display: none; }
.asmia-lc-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  text-decoration: none;
  color: #212529;
}
.asmia-lc-card > img,
.asmia-lc-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: #F5F5F0;
  border-radius: 2px;
}
.asmia-lc-body { padding: 12px 0; }
.asmia-lc-body h4 { font-size: 14px; font-weight: 500; margin: 0 0 4px; line-height: 1.35; }
.asmia-lc-body { font-size: 13px; font-weight: 600; }

/* Standard carousel */
.asmia-sc-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  text-decoration: none;
  color: #212529;
}
.asmia-sc-card > img, .asmia-sc-card img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #F5F5F0; border-radius: 2px;
}
.asmia-sc-card h4 { font-size: 13px; font-weight: 500; margin: 10px 0 4px; line-height: 1.35; }
.asmia-sc-card .price { font-size: 13px; font-weight: 600; margin: 0; }

/* Color Grid */
.asmia-color-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  min-height: 500px;
}
@media (min-width: 1024px) {
  .asmia-color-grid { grid-template-columns: 1fr 1fr; }
}
.asmia-color-main {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: #F5F5F0;
  min-height: 400px;
}
.asmia-color-main img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.asmia-color-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.2); }
.asmia-color-body {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 32px;
}
.asmia-color-body h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 30px;
  color: #fff;
  margin: 0 0 8px;
}
.asmia-color-body p { color: rgba(255,255,255,0.88); font-size: 14px; margin: 0 0 16px; max-width: 320px; }
.asmia-color-body a {
  color: #fff; font-size: 13px; font-weight: 500;
  text-decoration: underline; text-underline-offset: 4px;
}

.asmia-color-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.asmia-color-tile {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: #F5F5F0;
}
.asmia-color-tile img { width: 100%; height: 100%; object-fit: cover; }
.asmia-color-swatch-card {
  background: #fff;
  border-radius: 2px;
  padding: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  min-height: 180px;
}
.asmia-color-swatch-card .muted { font-size: 13px; color: #767676; margin: 0 0 4px; }
.asmia-color-swatch-card .price { font-size: 15px; font-weight: 600; color: #212529; margin: 0 0 12px; }
.asmia-color-swatch-card a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #212529;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.asmia-color-sage { background: #B9C7BB; border-radius: 2px; min-height: 120px; }

/* Value props */
.asmia-values {
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px 16px;
}
.asmia-value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .asmia-value-grid { grid-template-columns: repeat(3, 1fr); gap: 48px; }
}
.asmia-value { text-align: center; padding: 0 8px; }
.asmia-value h3 { font-size: 17px; font-weight: 600; color: #212529; margin: 0 0 12px; }
.asmia-value p { font-size: 13px; color: #767676; line-height: 1.6; margin: 0; }

/* ═════════════ Full-bleed Allbirds-style hero ═════════════ */
.asmia-hero-fullbleed {
  position: relative;
  width: 100%;
  min-height: 70vh;
  max-height: 780px;
  overflow: hidden;
  background: #98A7A0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
@media (min-width: 768px) {
  .asmia-hero-fullbleed { min-height: 80vh; }
}
.asmia-hero-fb-bg { position: absolute; inset: 0; }
.asmia-hero-fb-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.asmia-hero-fb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 40%, transparent 80%);
}
.asmia-hero-fb-content {
  position: relative; z-index: 1;
  text-align: center;
  color: #fff;
  padding: 48px 24px 80px;
  max-width: 1100px;
  width: 100%;
}
.asmia-hero-fb-content h1 {
  font-family: "Playfair Display", Georgia, serif !important;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(40px, 8vw, 96px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.22);
}
.asmia-hero-fb-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.asmia-hero-fb-ctas a {
  background: #fff;
  color: #212529;
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.15s;
  min-width: 160px;
  display: inline-block;
}
.asmia-hero-fb-ctas a:hover { background: #f0f0f0; }

/* Force proper fonts globally */
body { font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif; }
.asmia-promo-banner h2,
.asmia-home h1 {
  font-family: "Playfair Display", Georgia, serif !important;
  font-style: italic;
  font-weight: 500;
}
.asmia-color-body h3 {
  font-family: "Playfair Display", Georgia, serif !important;
  font-style: italic;
  font-weight: 500;
}

/* ═════════════ Site-wide Allbirds polish ═════════════ */

/* Logo wordmark — Allbirds-style script lowercase */
.header-logo strong {
  display: none;
}
.header-logo { display: inline-flex; align-items: center; }
.header-logo-text {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ab-ink) !important;
  line-height: 1;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .header-logo-text { font-size: 30px; }
}

/* Header shell — Allbirds-style floating rounded card on mobile */
.header-shell {
  position: sticky;
  top: 8px;
  z-index: 50;
  margin: 8px 8px 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  background: var(--ab-cream);
}
@media (min-width: 768px) {
  .header-shell {
    margin: 0;
    border-radius: 0;
    top: 0;
    box-shadow: none;
    background: transparent;
    border-bottom: 1px solid var(--ab-hairline);
  }
}

/* Mobile header: 3-column grid (left | center | right) */
.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 0 14px;
  height: 60px;
  position: relative;
}
.header-mobile-left {
  display: flex; align-items: center;
  justify-self: start;
}
.header-logo {
  justify-self: center;
}
.header-ctas {
  justify-self: end;
  margin-left: 0 !important;
  gap: 14px;
}
@media (max-width: 767px) {
  .header-ctas .header-cta-account,
  .header-menu-desktop { display: none !important; }
}
@media (min-width: 768px) {
  /* Allbirds-style desktop header: [hamburger][logo] LEFT — nav CENTER — ctas RIGHT */
  .header {
    display: grid;
    grid-template-columns: auto auto minmax(0,1fr) auto;
    align-items: center;
    column-gap: 16px;
    height: var(--header-height);
    padding: 0 32px;
  }
  .header-mobile-left { display: none; }
  .header-menu-desktop-toggle {
    grid-column: 1;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 4px;
    background: transparent;
    border: 0;
    color: #1c1815;
    cursor: pointer;
    font: inherit;
  }
  .header-menu-desktop-toggle-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
  }
  .header-menu-desktop-toggle:hover { opacity: 0.7; }
  /* When hamburger is hidden via setting, logo still sits in col 2 (col 1 collapses) */
  .header-logo { grid-column: 2; justify-self: start; align-self: center; }
  .header-menu-desktop { grid-column: 3; justify-self: center; }
  .header-ctas { grid-column: 4; justify-self: end; margin-left: 0 !important; gap: 24px; }
}
@media (max-width: 767px) {
  .header-menu-desktop-toggle { display: none; }
}
.header-menu-mobile-toggle {
  font-size: 22px;
  line-height: 1;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 6px 4px;
  color: var(--ab-ink);
}
.header-menu-mobile-toggle h3 { margin: 0; font-weight: 400; }

/* Allbirds-style icon buttons (search & cart) */
.header-icon-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; padding: 6px;
  cursor: pointer; color: var(--ab-ink); text-decoration: none;
}
.header-icon-btn:hover { opacity: 0.65; }
.header-icon-label {
  display: none;
  font-size: 13px;
  margin-left: 6px;
}
@media (min-width: 1024px) {
  .header-icon-btn { padding: 8px; }
}
.header-cart-count {
  position: absolute; top: -2px; right: -2px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: 100px;
  background: var(--ab-ink);
  color: #fff;
  font-size: 10px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* Mobile-only horizontal scrolling category tabs (cream strip in shell) */
.header-mobile-tabs {
  display: flex;
  gap: 24px;
  padding: 12px 18px 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: var(--ab-cream);
}
.header-mobile-tabs::-webkit-scrollbar { display: none; }
.header-mobile-tab {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ab-ink);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.header-mobile-tab:hover { opacity: 0.65; }
.header-mobile-tab.active { border-bottom-color: var(--ab-ink); }
@media (min-width: 768px) {
  .header-mobile-tabs { display: none; }
}

/* Menu items — uppercase small caps with underline hover */
.header-menu-item {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #212529;
  padding: 6px 2px;
  position: relative;
}
.header-menu-item::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: 50%;
  height: 1.5px;
  background: #212529;
  transition: left 0.25s, right 0.25s;
}
.header-menu-item:hover::after { left: 0; right: 0; }

/* Header CTAs (Sign in / Search / Cart) — upper case too */
.header-ctas a, .header-ctas button, .header-ctas .header-menu-item {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* Footer */
.footer {
  background: #212529;
  color: #fff;
  padding: 64px 24px 32px;
  margin-top: 80px;
}
.footer-menu {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
}
.footer a, .footer-menu-item {
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  text-decoration: none;
  display: block;
  padding: 6px 0;
  font-family: "Inter", sans-serif;
}
.footer a:hover { color: #fff; }

/* Links / buttons across body */
body a { color: #212529; }
body a:hover { color: #767676; }

/* Collection & PDP headings — italic serif display */
.collection h1, .product h1, .page h1, h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.products-grid { gap: 40px 24px; }

/* Cart page / aside — Allbirds-like padding + titles */
.cart-main { padding: 24px; }
.cart-main h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 24px;
  margin: 0 0 16px;
}
.cart-summary-aside .cart-summary {
  background: #F5F5F0;
  padding: 24px;
  border-radius: 2px;
}

/* Aside (cart drawer) */
.overlay {
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(3px);
  z-index: 100;
}
.overlay aside { z-index: 101; }
.overlay .close {
  font-size: 28px;
  line-height: 1;
  padding: 4px 10px;
  cursor: pointer;
}
.overlay .close:hover { opacity: 0.6; }
aside {
  background: #fff;
  font-family: "Inter", sans-serif;
}
aside header {
  border-bottom: 1px solid #e5e5e5;
  padding: 18px 24px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* Search results */
.search-form {
  max-width: 600px;
  margin: 40px auto;
  padding: 0 24px;
}
.search-form input {
  border: 1px solid #d5d5d5;
  padding: 14px 16px;
  font-size: 14px;
  width: 100%;
  border-radius: 2px;
}

/* Global responsive container */
main { min-height: 60vh; }

/* Nicer scrollbar for carousels */
.asmia-lc-track, .asmia-sc-track {
  scrollbar-color: #ccc transparent;
}

/* ═════════════ Allbirds color palette refinement ═════════════ */
:root {
  --ab-ink: #1A1A1A;          /* primary text */
  --ab-muted: #595959;
  --ab-subtle: #767676;
  --ab-hairline: #DDD3C0;     /* warm hairline blending with sand bg */
  --ab-cream: #E0D3B8;        /* slightly darker sand for toolbars/pills */
  --ab-bg: #EAE0CC;           /* Allbirds signature warm sand page bg */
  --ab-card: #FFFFFF;         /* product cards on cream bg */
  --ab-forest: #2F4F3A;
  --ab-forest-hover: #24402E;
  --ab-sage-1: #98A99C;
  --ab-sage-2: #B5BFB0;
  --ab-sage-3: #B9C7BB;
  --ab-pantone-blue: #2E4B6B;
  --ab-coral: #D96B5C;
}

body, .asmia-home, main, aside {
  background: var(--ab-bg);
  color: var(--ab-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.header { background: #fff; }

.asmia-announce { background: var(--ab-ink); }

.header-logo strong,
.header strong,
.header a,
.header-menu-item { color: var(--ab-ink) !important; }
.header-menu-item:hover { color: var(--ab-muted); }

/* Hero overlay to Allbirds-style darker cover */
.asmia-hero-fb-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.18) 45%, rgba(0,0,0,0.05) 100%);
}
.asmia-hero-fb-ctas a {
  background: #fff;
  color: var(--ab-ink);
  border-radius: 3px;
}
.asmia-hero-fb-ctas a:hover { background: var(--ab-cream); }

/* Category + promo overlay to subtle brand-safe dark */
.asmia-cat-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.48) 0%, rgba(0,0,0,0.12) 55%, transparent 100%);
}

/* Color grid refinement */
.asmia-color-swatch-card {
  background: var(--ab-cream);
  border: 1px solid var(--ab-hairline);
}
.asmia-color-swatch-card .muted { color: var(--ab-muted); }
.asmia-color-swatch-card .price { color: var(--ab-ink); }
.asmia-color-body h3 { color: #fff; }

/* Carousel titles Allbirds small-caps treatment */
.asmia-lc-head h2, .asmia-sc-head h2 {
  color: var(--ab-ink);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.asmia-lc-card h4, .asmia-sc-card h4 { color: var(--ab-ink); }
.asmia-lc-card small, .asmia-sc-card .price { color: var(--ab-ink); }

/* Value props */
.asmia-value h3 { color: var(--ab-ink); font-size: 15px; }
.asmia-value p { color: var(--ab-muted); font-size: 13px; line-height: 1.7; }

/* Footer warmer dark */
.footer { background: var(--ab-ink); }
.footer a, .footer-menu-item { color: rgba(255,255,255,0.82); font-size: 12px; letter-spacing: 0.04em; }
.footer a:hover { color: #fff; }

/* Buttons (AddToCart, etc.) */
.product-form button[type="submit"],
.product-form .add-to-cart-btn {
  background: var(--ab-forest) !important;
  color: #fff !important;
  border-radius: 3px;
  transition: background 0.15s;
}
.product-form button[type="submit"]:hover,
.product-form .add-to-cart-btn:hover {
  background: var(--ab-forest-hover) !important;
}
.asmia-buy-now-btn {
  border-color: var(--ab-ink);
  color: var(--ab-ink);
  border-radius: 3px;
}
.asmia-buy-now-btn:hover:not(:disabled) { background: var(--ab-ink); color: #fff; }

/* Hairline borders sitewide */
.header, .asmia-hero-caption, .asmia-trust-row, aside header {
  border-color: var(--ab-hairline);
}

/* Sage backdrops where used */
.asmia-hero-left { background: var(--ab-sage-2); }
.asmia-promo-banner { background: var(--ab-sage-1); }
.asmia-color-sage { background: var(--ab-sage-3); }

/* Links in body */
.asmia-cat-links span:hover,
.asmia-hero-links a:hover,
.asmia-color-body a:hover { color: #fff; opacity: 0.9; }

/* ═════════════ Header mega-menu ═════════════ */
.header-nav-item {
  position: relative;
  padding: 18px 10px;
}
.header-nav-caret {
  font-size: 10px;
  margin-left: 4px;
  color: var(--ab-subtle);
}
.header-mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  min-width: 220px;
  padding: 18px 0;
  border: 1px solid var(--ab-hairline);
  border-top: none;
  box-shadow: 0 12px 24px rgba(0,0,0,0.05);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  z-index: 20;
}
/* Hover-bridge: prevents the dropdown from closing when the cursor crosses the gap from the link to the panel */
.header-nav-item.has-children::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 14px;
  background: transparent;
  pointer-events: none;
}
.header-nav-item.has-children:hover::after,
.header-nav-item.has-children:focus-within::after {
  pointer-events: auto;
}
.header-nav-item.has-children:hover .header-mega-panel,
.header-nav-item.has-children:focus-within .header-mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.header-mega-inner {
  display: grid;
  grid-template-columns: 1fr;
  padding: 0 24px;
}
.header-mega-col {
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-mega-col li { padding: 8px 0; }
.header-mega-col a {
  font-size: 13px;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ab-ink);
  text-decoration: none;
  font-weight: 400;
  display: block;
  padding: 2px 0;
}
.header-mega-col a:hover {
  color: var(--ab-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Designers mega panel — wide, 6 columns with letter-range labels */
.header-mega-panel--designers {
  width: min(1080px, 96vw);
  left: 50%;
  transform: translateX(-50%);
  padding: 28px 0 8px;
}
.header-mega-inner--multi {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 32px;
  padding: 0 32px;
}
.header-mega-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ab-muted);
  border-bottom: 1px solid #e5e0d6;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.header-mega-inner--multi .header-mega-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-mega-inner--multi .header-mega-col li {
  padding: 4px 0;
}
.header-mega-inner--multi .header-mega-col a {
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 1100px) {
  .header-mega-panel--designers { width: 96vw; }
  .header-mega-inner--multi {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 28px;
  }
}

/* ═════════════ Footer Allbirds layout ═════════════ */
.footer {
  background: var(--ab-ink);
  color: #fff;
  padding: 64px 24px 0;
  margin-top: 80px;
}
.footer-top {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: #fff;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 0; }
.footer-col a, .footer a {
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  text-decoration: none;
  display: block;
  padding: 6px 0;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.01em;
}
.footer-col a:hover, .footer a:hover { color: #fff; }
.footer-newsletter p {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 16px;
}
.footer-newsletter-form {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  margin-bottom: 20px;
}
.footer-newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  padding: 10px 0;
  outline: none;
  font-family: inherit;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.footer-newsletter-form button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 0 8px;
}
.footer-social { display: flex; gap: 12px; margin-top: 8px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  padding: 0;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .15s ease;
}
.footer-social a:hover {
  background: #fff;
  color: var(--ab-ink);
  border-color: #fff;
  transform: translateY(-2px);
}
.footer-social svg { display: block; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}
.footer-contact a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}
.footer-contact a:hover { color: #fff; text-decoration: underline; }

/* ═════════════ Mobile Nav Drawer (drilldown) ═════════════ */
.mobile-drawer {
  font-family: var(--ab-font-stack, "Cormorant Garamond", Georgia, serif);
  padding: 8px 0 32px;
}
.mobile-drawer-back {
  appearance: none;
  background: none;
  border: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ab-muted, #6b6157);
  border-bottom: 1px solid #efe9dc;
  cursor: pointer;
}
.mobile-drawer-back > span:first-child {
  font-size: 22px;
  line-height: 1;
}
.mobile-drawer-back-label { letter-spacing: 0.18em; }
.mobile-drawer-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
}
.mobile-drawer-row { border: 0; }
.mobile-drawer-link {
  appearance: none;
  background: none;
  border: 0;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ab-ink, #0e0c0a);
  text-decoration: none;
  cursor: pointer;
}
.mobile-drawer-link:hover { background: rgba(0,0,0,0.03); }
.mobile-drawer-chevron {
  font-size: 22px;
  line-height: 1;
  color: var(--ab-muted, #6b6157);
  font-family: -apple-system, sans-serif;
}
.mobile-drawer-list--submenu .mobile-drawer-link {
  text-transform: uppercase;
}

/* Designers A-Z bucket list with inline expand */
.mobile-drawer-list--designers {
  padding: 8px 0;
}
.mobile-drawer-bucket-toggle {
  appearance: none;
  background: none;
  border: 0;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ab-ink, #0e0c0a);
  cursor: pointer;
  border-top: 1px solid #efe9dc;
}
.mobile-drawer-bucket:first-child .mobile-drawer-bucket-toggle { border-top: 0; }
.mobile-drawer-bucket-icon {
  font-size: 18px;
  line-height: 1;
  color: var(--ab-muted, #6b6157);
  font-family: -apple-system, sans-serif;
}
.mobile-drawer-bucket-items {
  list-style: none;
  margin: 0 0 8px;
  padding: 4px 0 12px 38px;
  display: none; /* hidden by default — toggled open by .is-open below */
}
.mobile-drawer-bucket.is-open > .mobile-drawer-bucket-items {
  display: block;
}
.mobile-drawer-bucket-items li { padding: 0; }
.mobile-drawer-bucket-items a {
  display: block;
  padding: 9px 12px 9px 0;
  font-size: 16px;
  font-weight: 400;
  font-family: var(--ab-font-stack, "Cormorant Garamond", Georgia, serif);
  letter-spacing: 0;
  text-transform: none;
  color: var(--ab-ink, #0e0c0a);
  text-decoration: none;
}
.mobile-drawer-bucket-items a:hover { text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 24px 0;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}
.footer-legal span { margin-right: auto; font-size: 11px; }
.footer-legal a {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  padding: 0;
  display: inline;
  text-decoration: none;
}
.footer-legal a:hover { color: #fff; }

/* ═════════════ Collection toolbar ═════════════ */
.collection-breadcrumb {
  font-size: 12px;
  color: var(--ab-subtle);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.collection-breadcrumb a { color: var(--ab-subtle); text-decoration: none; }
.collection-breadcrumb a:hover { color: var(--ab-ink); }
.collection-breadcrumb span { color: var(--ab-ink); }
.collection-header { margin-bottom: 28px; max-width: 900px; }
.collection-header h1 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 8px; }
.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--ab-hairline);
  border-bottom: 1px solid var(--ab-hairline);
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.collection-count {
  font-size: 13px;
  color: var(--ab-muted);
  letter-spacing: 0.02em;
}
.collection-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}
.collection-sort label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--ab-muted);
}
.collection-sort select {
  background: transparent;
  border: 1px solid var(--ab-hairline);
  padding: 8px 32px 8px 14px;
  font-size: 13px;
  border-radius: 2px;
  color: var(--ab-ink);
  cursor: pointer;
  font-family: inherit;
}

/* ═════════════ Product card wishlist heart ═════════════ */
.product-item-image { position: relative; }
.asmia-wish {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ab-ink);
  z-index: 2;
  transition: transform 0.15s, background 0.15s;
}
.asmia-wish:hover { transform: scale(1.08); background: #fff; }
.asmia-wish.on { color: #D96B5C; }

/* ═════════════ About page ═════════════ */
.asmia-about { background: #fff; }
.asmia-about-hero {
  background: var(--ab-sage-1);
  color: #fff;
  padding: 120px 24px;
  text-align: center;
}
.asmia-about-hero-inner { max-width: 780px; margin: 0 auto; }
.asmia-about-hero .eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 12px;
  color: rgba(255,255,255,0.85);
}
.asmia-about-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(40px, 6vw, 72px);
  margin: 0 0 24px;
  color: #fff;
}
.asmia-about-hero .lede { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.92); }
.asmia-about-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) {
  .asmia-about-row { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.asmia-about-row-alt { background: var(--ab-cream); }
.asmia-about-col h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 28px;
  margin: 0 0 16px;
  color: var(--ab-ink);
}
.asmia-about-col p { font-size: 15px; line-height: 1.7; color: var(--ab-muted); }
.asmia-about-cta {
  padding: 80px 24px;
  text-align: center;
}
.asmia-about-cta h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 32px;
  margin: 0 0 24px;
}

/* ═════════════ Cart free-shipping bar ═════════════ */
.asmia-ship-bar {
  background: var(--ab-cream);
  border: 1px solid var(--ab-hairline);
  border-radius: 2px;
  padding: 14px 16px;
  margin: 12px 0 20px;
  font-size: 13px;
}
.asmia-ship-bar .asmia-ship-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.asmia-ship-track {
  background: var(--ab-hairline);
  height: 3px;
  border-radius: 2px;
  overflow: hidden;
}
.asmia-ship-fill {
  background: var(--ab-ink);
  height: 100%;
  transition: width 0.3s;
}

/* ═════════════ Bulletproof carousel image sizing ═════════════ */
.asmia-lc-card,
.asmia-sc-card {
  display: block;
  flex-shrink: 0;
}
.asmia-lc-card > img,
.asmia-lc-card picture,
.asmia-lc-card picture > img,
.asmia-sc-card > img,
.asmia-sc-card picture,
.asmia-sc-card picture > img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  background: #F5F5F0;
  border-radius: 2px;
  max-width: 100%;
}
.asmia-lc-card { flex-basis: 320px !important; min-height: 380px; }
.asmia-sc-card { flex-basis: 240px !important; min-height: 300px; }

/* Homepage category + promo images */
.asmia-cat-card, .asmia-promo-tile {
  display: block;
  flex-shrink: 0;
}
.asmia-promo-tile > img,
.asmia-promo-tile picture > img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* ═════════════ Allbirds-style product cards ═════════════ */
.asmia-lc-card,
.asmia-sc-card,
.product-item {
  background: #fff;
  border-radius: 12px;
  padding: 18px 18px 18px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
}
.asmia-lc-card:hover,
.asmia-sc-card:hover,
.product-item:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); }

.asmia-lc-card > img,
.asmia-sc-card > img,
.product-item img,
.asmia-lc-card picture > img,
.asmia-sc-card picture > img,
.product-item picture > img {
  background: #fff !important;
  object-fit: contain !important;
  padding: 8px;
  border-radius: 2px;
}

.asmia-lc-card::before,
.asmia-sc-card::before {
  content: 'NEW COLOR';
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--ab-cream);
  color: var(--ab-ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 5px 10px;
  border-radius: 3px;
  z-index: 2;
}

.asmia-lc-body,
.asmia-sc-card h4 + .price,
.product-item h4 + small {
  margin-top: 10px;
}
.asmia-lc-body h4,
.asmia-sc-card h4,
.product-item h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ab-ink);
  margin-top: 12px;
  margin-bottom: 2px;
  line-height: 1.3;
}
.asmia-lc-body .money,
.asmia-sc-card .price,
.product-item small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ab-muted);
  text-align: left;
}
.asmia-lc-body span,
.asmia-sc-card span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ab-muted);
}

/* Category row overrides cleared — styles now consolidated above at .asmia-cat-card / .asmia-cat-shoe / .asmia-cat-overlay-content */

/* ============================================================
   Allbirds-style Collection Page
   ============================================================ */
.ab-collection {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px 80px;
}
@media (min-width: 768px) {
  .ab-collection { padding: 0 32px 96px; }
}

/* Hero header — large centered title */
.ab-collection-hero {
  padding: 32px 0 24px;
  text-align: center;
}
.ab-collection-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ab-ink);
  text-transform: capitalize;
}
.ab-collection-hero p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--ab-muted);
  font-size: 14px;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .ab-collection-hero { padding: 56px 0 36px; }
  .ab-collection-hero h1 { font-size: 44px; }
  .ab-collection-hero p { font-size: 15px; }
}

/* Toolbar — sticky filter+sort row (Allbirds cream pill) */
.ab-collection-toolbar {
  position: sticky;
  top: 60px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: var(--ab-cream);
  border-radius: 999px;
  margin-bottom: 24px;
  /* Prevent SORT label getting clipped on very narrow phones. */
  min-width: 0;
}
@media (min-width: 768px) {
  .ab-collection-toolbar { top: var(--header-height); padding: 16px 28px; gap: 16px; }
}
.ab-filter-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.5); border: 0;
  padding: 10px 16px; border-radius: 999px;
  cursor: pointer; color: var(--ab-ink);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: background 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}
.ab-filter-btn:hover { background: #fff; }
.ab-product-count {
  font-size: 12px; color: var(--ab-muted);
  letter-spacing: 0.06em; text-transform: uppercase;
  /* Hide product count on phones — toolbar is too cramped for it. */
  display: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 540px) { .ab-product-count { display: inline; } }
.ab-sort {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.5);
  padding: 6px 14px;
  border-radius: 999px;
  flex-shrink: 0;
  max-width: 60vw;
}
.ab-sort label {
  font-size: 12px; color: var(--ab-ink);
  letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700;
  white-space: nowrap;
}
.ab-sort select {
  background: transparent; border: 0;
  font-size: 12px; font-weight: 700;
  color: var(--ab-ink); cursor: pointer;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 18px 6px 4px;
  appearance: none;
  max-width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231A1A1A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}
@media (max-width: 539px) {
  /* Hide the "SORT:" label on very narrow phones, keep the dropdown only */
  .ab-sort label { display: none; }
  .ab-sort { padding: 6px 10px; }
}

/* Filter panel — desktop: expandable above grid; mobile: slide-in sheet */
.ab-filter-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 32px;
  padding: 16px 0 32px;
  border-bottom: 1px solid var(--ab-hairline);
  margin-bottom: 40px;
}
.ab-filter-panel-head { display: none; }
.ab-filter-backdrop { display: none; }
@media (min-width: 768px) {
  .ab-filter-panel { grid-template-columns: repeat(4, 1fr); gap: 32px 40px; }
}
@media (max-width: 767px) {
  /* Sheet from the right; full-height; high z-index above sticky header. */
  .ab-filter-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(20, 16, 12, 0.45);
    z-index: 999;
    animation: ab-fade-in 0.2s ease;
  }
  .ab-filter-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 380px);
    height: 100dvh;
    background: var(--ab-bg, #fffbf3);
    z-index: 1000;
    border-bottom: none;
    margin-bottom: 0;
    padding: 16px 22px 96px;
    overflow-y: auto;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.18);
    /* NOTE: do not auto-play `ab-slide-in` here. The `.ab-collection .ab-filter-panel`
       rule below uses `transform: translateX(-100%)` + transition triggered by `.is-open`.
       Auto-playing this animation on page load made the panel briefly appear from the
       right then jump off-screen left ("appear and disappear" bug). */
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .ab-filter-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--ab-hairline);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    background: var(--ab-bg, #fffbf3);
    z-index: 1;
  }
  .ab-filter-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    color: var(--ab-ink);
  }
}
@keyframes ab-slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes ab-fade-in { from { opacity: 0; } to { opacity: 1; } }
.ab-filter-group { font-size: 14px; }
.ab-filter-group summary {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ab-ink); cursor: pointer;
  padding: 6px 0 14px;
  list-style: none;
}
.ab-filter-group summary::-webkit-details-marker { display: none; }
.ab-filter-options {
  display: flex; flex-direction: column; gap: 10px;
}
.ab-filter-opt {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--ab-ink);
  cursor: pointer; padding: 4px 0;
}
.ab-filter-opt input { accent-color: var(--ab-ink); width: 16px; height: 16px; flex-shrink: 0; }

/* Size group: pill buttons not checkboxes */
.ab-filter-group[data-key="size"] .ab-filter-options,
.ab-filter-group.is-size .ab-filter-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

/* Color group: color dot + label */
.ab-filter-group.is-color .ab-filter-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.ab-filter-opt[data-color]::before {
  content: '';
  width: 22px; height: 22px;
  border-radius: 999px;
  border: 1px solid var(--ab-hairline);
  background: var(--ab-color, #ddd);
  flex-shrink: 0;
}
.ab-filter-opt[data-color] input { display: none; }
.ab-filter-opt[data-color] {
  padding: 6px 4px;
  border-radius: 8px;
  transition: background 0.15s;
}
.ab-filter-opt[data-color]:hover { background: var(--ab-cream); }
.ab-filter-opt[data-color][data-checked="true"]::before {
  outline: 2px solid var(--ab-ink);
  outline-offset: 2px;
}

/* Product grid — Allbirds 2/3/4 col responsive */
.ab-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 12px;
  /* min-width:0 on every track so children with intrinsic widths
     (e.g. <img> being briefly rendered with HTML width attribute
     during Hydrogen Image hydration) cannot grow a column past 1fr */
}
.ab-products-grid > * { min-width: 0; }
@media (min-width: 600px) {
  .ab-products-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 16px; }
}
@media (min-width: 900px) {
  .ab-products-grid { grid-template-columns: repeat(3, 1fr); gap: 48px 20px; }
}
@media (min-width: 1200px) {
  .ab-products-grid { grid-template-columns: repeat(4, 1fr); gap: 56px 24px; }
}



/* Filter count chips + clear button */
.ab-filter-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--ab-muted);
}
.ab-filter-clear {
  background: transparent;
  border: 0;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ab-ink);
  text-decoration: underline;
  cursor: pointer;
}
.ab-filter-clear:hover { color: var(--ab-forest); }

/* Back-to-top floating pill */
.ab-back-top {
  position: fixed;
  right: 16px;
  bottom: 22px;
  z-index: 40;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ab-ink);
  color: #fff;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  border: 0; cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  animation: ab-fade-in 0.2s ease-out;
}
.ab-back-top:hover { background: #000; transform: translateY(-1px); }
@keyframes ab-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Allbirds-style Product Detail Page (PDP)
   ============================================================ */
.ab-product {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "gallery" "info";
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 16px 80px;
  box-sizing: border-box;
}
.ab-product-gallery { grid-area: gallery; }
.ab-product-info { grid-area: info; }
.ab-product * { box-sizing: border-box; }
.ab-product-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  min-width: 0;
}
.ab-product-gallery-item {
  position: relative;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.ab-product-gallery-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 8%;
}
.ab-product-info {
  position: relative;
  min-width: 0;
}
.ab-product-info-inner {
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  width: 100%;
  max-width: 100%;
}
.ab-product-info-inner h1 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin: 0 0 12px;
  color: var(--ab-ink);
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* ============================================================
   Allbirds-style Product Options (Color dots + Size pills)
   ============================================================ */
.product-form { display: block; }
.product-form .product-options {
  margin: 0 0 24px;
}
.product-form .product-options h5 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ab-ink);
  display: flex; align-items: center; gap: 6px;
}
.product-form .product-options-name {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 11px;
  color: var(--ab-ink);
}
.product-form .product-options-selected {
  font-weight: 600;
  color: var(--ab-ink);
}
.product-form .product-options-grid {
  display: flex; flex-wrap: wrap; gap: 8px;
}

/* Color group: round dot swatches */
.product-form .product-options.is-color .product-options-grid {
  gap: 10px;
}
.product-form .product-options.is-color .product-options-item {
  width: 30px; height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform 0.15s;
}
.product-form .product-options.is-color .product-options-item:hover {
  transform: scale(1.06);
}
.product-form .product-options.is-color .product-option-label-swatch {
  width: 24px; height: 24px;
  border-radius: 999px;
  border: 1px solid var(--ab-hairline);
  background-size: cover;
  background-position: center;
}
.product-form .product-options.is-color .product-option-label-swatch img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 999px;
}
.product-form .product-options.is-color .product-options-item.is-selected::after {
  content: '';
  position: absolute; inset: -2px;
  border: 1.5px solid var(--ab-ink);
  border-radius: 999px;
}
.product-form .product-options.is-color .product-options-item.is-unavailable .product-option-label-swatch {
  opacity: 0.4;
}

/* Variant-image color swatch (Allbirds-style — show actual product photo per color). */
.product-form .product-options.is-color .product-options-item.has-variant-img,
.ab-color-grid .product-options-item.has-variant-img {
  width: 56px; height: 56px;
  padding: 0;
  border: 1px solid var(--ab-hairline, #cdc6bb);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.product-form .product-options.is-color .product-options-item.has-variant-img.is-selected,
.ab-color-grid .product-options-item.has-variant-img.is-selected {
  border-color: var(--ab-ink, #1c1815);
  border-width: 2px;
}
.ab-color-img-wrap {
  display: block;
  width: 100%; height: 100%;
  border-radius: 999px;
  overflow: hidden;
}
.ab-color-img-wrap .ab-color-img,
.ab-color-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.product-form .product-options.is-color .product-options-item.has-variant-img.is-unavailable .ab-color-img-wrap {
  opacity: 0.45;
}

/* Size group — content-sized pill buttons that flex-wrap.
   Replaces the old fixed 7-column grid which collapsed to slivers
   for products with only 1-2 size values (e.g. "L" only). */
.product-form .product-options.is-size .product-options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-form .product-options.is-size .product-options-item {
  background: #fff;
  border: 1px solid var(--ab-hairline);
  border-radius: 4px;
  padding: 14px 20px;
  min-width: 68px;
  min-height: 52px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ab-ink);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.product-form .product-options.is-size .product-options-item:hover:not(:disabled):not(.is-unavailable) {
  border-color: var(--ab-ink);
}
.product-form .product-options.is-size .product-options-item.is-selected {
  background: #fff;
  color: var(--ab-ink);
  border: 2px solid var(--ab-ink);
  /* Compensate the extra 1px so layout doesn't shift on select */
  padding: 13px 19px;
}
.product-form .product-options.is-size .product-options-item.is-unavailable,
.product-form .product-options.is-size .product-options-item:disabled {
  color: var(--ab-subtle);
  background: linear-gradient(to top right, #fff calc(50% - 1px), var(--ab-hairline) calc(50% - 1px), var(--ab-hairline) calc(50% + 1px), #fff calc(50% + 1px));
  cursor: not-allowed;
}

/* Other options (default): pill buttons */
.product-form .product-options:not(.is-color):not(.is-size) .product-options-item {
  background: #fff;
  border: 1px solid var(--ab-hairline);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
}
.product-form .product-options:not(.is-color):not(.is-size) .product-options-item.is-selected {
  border: 2px solid var(--ab-ink);
}
.product-form .product-options-item span {
  pointer-events: none;
  line-height: 1;
}


/* Auto-load sentinel (infinite scroll) */
.ab-load-more-sentinel,
.ab-load-more-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px 16px;
  margin-top: 24px;
}
.ab-load-more-sentinel a,
.ab-load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--ab-cream);
  border-radius: 999px;
  color: var(--ab-ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.ab-load-more-sentinel a:hover,
.ab-load-more-btn:hover { background: #fff; transform: translateY(-1px); }
.ab-load-prev {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  font-size: 12px;
  color: var(--ab-ink);
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ab-load-prev[aria-disabled="true"],
.ab-load-prev:not([href]) { display: none; }
.ab-load-counter {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ab-ink, #1a1a1a);
  opacity: 0.55;
  margin-top: 36px;
  margin-bottom: -12px;
  padding: 0 16px;
}
.ab-load-more-text { display: inline-block; }

}
.ab-product-info-inner .product-price {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ab-ink);
}
.ab-product-info-inner .product-price::after {
  content: "+ FREE SHIPPING";
  display: inline-block;
  background: var(--ab-cream);
  color: var(--ab-ink);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em;
}

/* Add to Cart button — full width pill, primary CTA */
.ab-product-info-inner .product-form button[type="submit"],
.ab-product-info-inner .product-form .add-to-cart-btn {
  width: 100% !important;
  padding: 16px 20px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  background: var(--ab-ink) !important;
  color: #fff !important;
  border: 0 !important;
}
.ab-product-info-inner .product-form button[type="submit"]:hover,
.ab-product-info-inner .product-form .add-to-cart-btn:hover {
  background: var(--ab-forest) !important;
}
.ab-product-info-inner .asmia-buy-now-btn {
  width: 100%;
  padding: 16px 20px;

/* Collection hero banner (top) */
.ab-collection-banner {
  margin: -16px -16px 0;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--ab-cream);
}
.ab-collection-banner img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .ab-collection-banner { margin: -16px -32px 0; aspect-ratio: 24/9; }
}

/* Gender toggle pills */
.ab-gender-toggle {
  display: inline-flex;
  gap: 0;
  background: var(--ab-cream);
  border-radius: 999px;
  padding: 4px;
  margin: 0 auto 24px;
  display: flex;
  width: fit-content;
}
.ab-gender-toggle a {
  display: inline-block;
  padding: 9px 24px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ab-ink);
  text-decoration: none;
  min-width: 92px;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.ab-gender-toggle a.active {
  background: var(--ab-ink);
  color: #fff;
}
.ab-gender-toggle a:not(.active):hover { opacity: 0.7; }
.ab-collection-hero { text-align: center; }
.ab-collection > .ab-gender-toggle { display: flex; margin: 0 auto 24px; }

  border-radius: 999px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: transparent;
  color: var(--ab-ink);
  border: 1.5px solid var(--ab-ink);
}
.ab-product-info-inner .asmia-buy-now-btn:hover:not(:disabled) {
  background: var(--ab-ink); color: #fff;
}

/* Trust row: 2 lines of small text below buttons */
.ab-product-info-inner .asmia-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
  font-size: 11px;
  color: var(--ab-muted);
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--ab-hairline);
}

.ab-product-section {
  margin-top: 24px;
  border-top: 1px solid var(--ab-hairline);
  padding-top: 16px;
}
.ab-product-section summary {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ab-ink);
  cursor: pointer;
  padding: 6px 0 14px;
  list-style: none;
}
.ab-product-section summary::-webkit-details-marker { display: none; }
.ab-product-prose {
  font-size: 14px; line-height: 1.7; color: #444;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.ab-product-prose img { max-width: 100%; height: auto; }

@media (min-width: 900px) {
  .ab-product {
    grid-template-columns: minmax(380px, 0.7fr) minmax(0, 1.05fr);
    grid-template-areas: "info gallery";
    gap: 32px;
    padding: 24px 32px 100px;
    max-width: 1280px;
  }
  .ab-product-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }
  .ab-product-gallery-item {
    aspect-ratio: 1/1;
  }
  /* Only span 2 columns when there are 2+ images */
  .ab-product-gallery.has-multiple { grid-template-columns: 1fr 1fr; }
  .ab-product-gallery.has-multiple .ab-product-gallery-item:first-child {
    grid-column: 1 / -1;
  }
  .ab-product-info-inner {
    position: sticky;
    top: calc(var(--header-height) + 16px);
    padding: 28px;
  }
  .ab-product-info-inner h1 { font-size: 24px; }
}
@media (min-width: 1200px) {
  .ab-product { gap: 40px; padding: 32px 32px 120px; }
  .ab-product-info-inner h1 { font-size: 26px; }
}

/* ============================================================
   ALLBIRDS-STYLE PDP REWRITE
   ============================================================ */
.ab-pdp { max-width: 100%; margin: 0; overflow-x: hidden; }
.ab-pdp * { box-sizing: border-box; }

.ab-pdp-top {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "headline"
    "gallery"
    "form";
  gap: 0;
  width: 100%;
  max-width: 100%;
}
@media (min-width: 900px) {
  .ab-pdp-top {
    /* Gallery left-half but capped — was 1fr 1fr which on a 1920px screen
       rendered a 960px-wide × 1200px-tall image that buried the buy-box
       below the fold. Cap it at 540px so the image stays a sensible
       reading height and the right column has more room to breathe. */
    grid-template-columns: minmax(0, 540px) minmax(380px, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "gallery headline"
      "gallery form";
    align-items: start;
    justify-content: center;
    gap: 32px;
    padding: 24px max(24px, calc((100vw - 1280px) / 2));
  }
}
@media (min-width: 1280px) {
  .ab-pdp-top {
    grid-template-columns: minmax(0, 580px) minmax(420px, 1fr);
    gap: 48px;
  }
}
/* When the product has no images, collapse the grid to 1 column so the info
   pane fills the available width instead of leaving an empty beige column. */
.ab-pdp-top.ab-pdp-top--no-gallery {
  grid-template-columns: 1fr !important;
  grid-template-areas:
    "headline"
    "form" !important;
}
.ab-pdp-top.ab-pdp-top--no-gallery .ab-pdp-headline,
.ab-pdp-top.ab-pdp-top--no-gallery .ab-pdp-info {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.ab-pdp-headline { grid-area: headline; }
.ab-pdp-gallery-wrapper { grid-area: gallery; position: relative; min-width: 0; }
.ab-pdp-info { grid-area: form; }

/* Headline block (title, vendor, also-available-in, price) — Allbirds parity */
.ab-pdp-headline {
  padding: 24px 24px 8px;
  min-width: 0;
}
@media (min-width: 900px) {
  .ab-pdp-headline { padding: 48px 40px 16px; }
}
@media (min-width: 1200px) {
  .ab-pdp-headline { padding: 64px 56px 20px; }
}

/* Gallery — swipeable carousel (one image visible, snap-scroll to next).
   Same behavior on mobile + desktop. Pagination dots below the track. */
.ab-pdp-gallery {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  background: #f4f1ec;
  width: 100%;
  min-width: 0;
  gap: 0;
  padding: 0;
  scrollbar-width: none;
}
.ab-pdp-gallery::-webkit-scrollbar { display: none; }
.ab-pdp-gallery-item {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  /* Was 1/1 — too tall on desktop where gallery is 50vw, producing a 50vh
     image that pushes the buy box below the fold. Use 4/5 (clothing
     standard) and bound by viewport height. */
  aspect-ratio: 4/5;
  max-height: calc(100vh - var(--header-height) - 48px);
  overflow: hidden;
  background: #ece8e1;
  min-width: 0;
}
@media (min-width: 900px) {
  /* On desktop bound it tighter so the buy-box on the right is visible. */
  .ab-pdp-gallery-item { max-height: calc(100vh - var(--header-height) - 24px); }
}
.ab-pdp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Portrait fashion shots: never crop the model's face. Bias the
     visible area to the top so we keep the head/jewellery/neckline
     on screen even when aspect-ratio forces vertical clipping. */
  object-position: center top;
  display: block;
  max-width: 100%;
}

/* 1-tap zoom button wrapping each gallery image */
.ab-pdp-gallery-zoom {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  cursor: zoom-in;
  position: relative;
}
.ab-pdp-gallery-zoom img { transition: transform .55s ease; }
.ab-pdp-gallery-zoom:hover img { transform: scale(1.025); }

/* Fullscreen lightbox */
.ab-pdp-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 6, 4, 0.94);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  outline: none;
}
.ab-pdp-lightbox.is-open { display: flex; }
.ab-pdp-lightbox img {
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  user-select: none;
}
.ab-pdp-lightbox-close,
.ab-pdp-lightbox-arrow {
  position: absolute;
  top: 50%;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.92);
  color: #0e0c0a;
  border: 0;
  border-radius: 999px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .15s ease, background .15s ease;
}
.ab-pdp-lightbox-close { top: 24px; right: 24px; transform: none; }
.ab-pdp-lightbox-close:hover,
.ab-pdp-lightbox-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.ab-pdp-lightbox-close:hover { transform: scale(1.06); }
.ab-pdp-lightbox-arrow.prev { left: 24px; }
.ab-pdp-lightbox-arrow.next { right: 24px; }
@media (max-width: 768px) {
  .ab-pdp-lightbox-close,
  .ab-pdp-lightbox-arrow { width: 40px; height: 40px; font-size: 20px; }
  .ab-pdp-lightbox-close { top: 14px; right: 14px; }
  .ab-pdp-lightbox-arrow.prev { left: 12px; }
  .ab-pdp-lightbox-arrow.next { right: 12px; }
}
.ab-pdp-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 14px 0 4px;
}
.ab-pdp-gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  border: 0;
  padding: 0;
  background: #c7bfb1;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}
.ab-pdp-gallery-dot.is-active {
  background: #2f2a24;
  transform: scale(1.25);
}
.ab-pdp-gallery-counter {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 9999px;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  font-weight: 600;
  color: #2f2a24;
  pointer-events: none;
  z-index: 2;
}
.ab-pdp-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  border: 0;
  background: rgba(255, 255, 255, 0.94);
  color: #1c1815;
  font-size: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 160ms ease, background 160ms ease;
}
.ab-pdp-gallery-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.ab-pdp-gallery-arrow.prev { left: 14px; }
.ab-pdp-gallery-arrow.next { right: 14px; }
@media (min-width: 900px) {
  .ab-pdp-gallery-arrow { display: flex; }
}
.ab-pdp-gallery-wrapper { position: relative; min-width: 0; }

.ab-pdp-info {
  padding: 24px;
  min-width: 0;
  /* defensive: keep visible even if parent grid collapses */
  display: block !important;
}
@media (min-width: 900px) {
  .ab-pdp-info { padding: 16px 40px 48px; min-width: 380px !important; }
}
@media (min-width: 1200px) {
  .ab-pdp-info { padding: 20px 56px 48px; min-width: 420px !important; }
}

.ab-pdp-info-sticky {
  width: 100%;
  max-width: 560px;
  min-width: 0;
}
@media (min-width: 900px) {
  .ab-pdp-info-sticky {
    position: sticky;
    top: 96px;
  }
}

.ab-pdp-vendor {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #6b5f52; margin: 0 0 14px;
}

.ab-pdp-title {
  font-family: var(--asmia-serif, Georgia, serif);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15; letter-spacing: -0.01em;
  margin: 0 0 8px; color: #1c1815; font-weight: 500;
}
.ab-pdp-subtitle { font-size: 14px; color: #4a3f33; margin: 0 0 16px; }
.ab-pdp-subtitle strong { color: #1c1815; font-weight: 600; }

/* ── Allbirds-reference parity ─────────────────────────────── */
.ab-pdp-also-in {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b5f52;
  margin: 0 0 14px;
}
.ab-pdp-also-in a {
  color: #1c1815;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ab-pdp-reviews {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 20px;
  font-size: 13px;
}
.ab-pdp-stars {
  color: #d4a017;
  letter-spacing: 1px;
  font-size: 14px;
}
.ab-pdp-review-count { color: #6b5f52; }
.ab-pdp-new-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 3;
  background: #fff;
  color: #1c1815;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--ab-hairline);
}
.ab-pdp-fit-guide-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px 0 18px;
  font-size: 13px;
  color: #4a3f33;
}
.ab-pdp-fit-text { color: #4a3f33; }
.ab-pdp-fit-guide {
  color: #1c1815;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.ab-pdp-fit-guide:hover { color: #6b5f52; }
.ab-pdp-trust-line {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: #4a3f33;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ab-pdp-trust-sep { color: #b8aea0; }

/* Allbirds-style description preview — shows first ~320 chars right under
   the trust line on mobile + desktop so customer never has to scroll for
   product copy. Full HTML lives in the PdpDetails accordion. */
.ab-pdp-desc-preview {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #e9e1d6;
}
.ab-pdp-desc-preview-text {
  font-family: var(--font-body, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  font-size: 14px;
  line-height: 1.65;
  color: #3d352b;
  margin: 0 0 10px;
  letter-spacing: 0.005em;
}
.ab-pdp-desc-preview-more {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2f2a24;
  text-decoration: none;
  border-bottom: 1px solid #2f2a24;
  padding-bottom: 1px;
  font-weight: 600;
  transition: color 160ms ease, border-color 160ms ease;
}
.ab-pdp-desc-preview-more:hover { color: #6b5f52; border-color: #6b5f52; }

.ab-pdp-vendor-line {
  display: inline-block;
  margin: -6px 0 16px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7a6b59;
  text-decoration: none;
  font-weight: 500;
  transition: color 160ms ease;
}
.ab-pdp-vendor-line:hover { color: #2f2a24; text-decoration: underline; }

.ab-pdp-details { font-size: 14px; line-height: 1.7; color: #3d352b; }
.ab-pdp-details p { margin-bottom: 10px; }
.ab-pdp-details-vendor { margin-top: 14px; font-size: 13px; color: #5a4d3c; }

.ab-pdp-details-empty {
  padding: 14px 16px;
  background: #f7f1e6;
  border-left: 3px solid #c9a880;
  border-radius: 6px;
  color: #4a3f33;
  font-style: italic;
}

.ab-pdp-details-meta {
  list-style: none;
  margin: 18px 0 16px;
  padding: 16px 18px;
  border: 1px solid #ece8e1;
  border-radius: 10px;
  background: #fdfaf3;
}
.ab-pdp-details-meta li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid #f1ebde;
  font-size: 13px;
  gap: 18px;
}
.ab-pdp-details-meta li:last-child { border-bottom: 0; }
.ab-pdp-details-meta strong {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7a6b59;
  font-weight: 600;
  flex-shrink: 0;
}
.ab-pdp-details-meta span {
  color: #1c1815;
  text-align: right;
}

.ab-pdp-details-whatsapp {
  display: inline-block;
  margin-top: 6px;
  padding: 12px 22px;
  background: #25D366;
  color: #fff;
  border-radius: 9999px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: background 160ms ease;
}
.ab-pdp-details-whatsapp:hover { background: #1ebe5a; }

/* Price-on-request block — shown when product price is below the
   formula floor (Rs.0 / Rs.1500) or has custom.contact_for_price = true. */
.ab-pdp-por { display: flex; flex-direction: column; }
.ab-pdp-por-header { text-align: left; padding: 8px 0 18px; }
.ab-pdp-por-headline {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #a67c52; margin: 0 0 6px; font-weight: 600;
}
.ab-pdp-por-subline {
  font-size: 14px; color: #4a3f33; margin: 0; line-height: 1.5;
}
.ab-pdp-whatsapp-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 18px 22px; border-radius: 9999px;
  background: #25D366; color: #fff; font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; text-decoration: none;
  margin: 16px 0 12px;
  transition: background 160ms ease, transform 160ms ease;
}
.ab-pdp-whatsapp-cta:hover { background: #1ebe5a; transform: translateY(-1px); }
.ab-pdp-whatsapp-cta:active { transform: translateY(0); }
.ab-pdp-whatsapp-cta svg { flex: none; }

/* Collection card price-on-request */
.ab-card-price-por {
  font-style: italic; letter-spacing: 0.04em;
  color: #6b5f52; font-size: 13px;
}

/* WhatsApp enquiry button on product cards (replaces price when price is 0 / shipping-only) */
.ab-card-whatsapp {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  background: #25d366; color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition: background .15s, transform .15s;
  white-space: nowrap;
}
.ab-card-whatsapp:hover { background: #1fb855; transform: translateY(-1px); }
.ab-card-whatsapp svg { flex-shrink: 0; }
@media (max-width: 640px) {
  .ab-card-whatsapp { padding: 6px 10px; font-size: 10px; gap: 4px; }
}

/* "SELECT A SIZE" disabled CTA — matches Allbirds reference */
.ab-pdp-info-sticky .product-form button[type="submit"]:disabled {
  background: #e8dfd4;
  color: #6b5f52;
  cursor: not-allowed;
  opacity: 1;
}
.ab-pdp-info-sticky .product-form button[type="submit"] {
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
}

.ab-pdp-price-row {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0 28px; flex-wrap: wrap;
}
.ab-pdp-info-sticky .ab-pdp-price-row .product-price { font-size: 24px; font-weight: 600; color: #1c1815; }
.ab-pdp-shipping-pill {
  font-size: 12px; padding: 6px 12px; background: #ece8e1;
  border-radius: 999px; color: #4a3f33; font-weight: 500;
}

.ab-pdp-info-sticky .product-form { margin: 24px 0 16px; }

/* Color swatches: real images, larger, with selected ring */
.ab-pdp-info-sticky .product-options.is-color { margin-bottom: 28px; }
.ab-pdp-info-sticky .product-options.is-color .product-options-grid {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.ab-pdp-info-sticky .product-options.is-color .product-options-item {
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 2px solid transparent; background: transparent;
  outline: 1px solid rgba(0,0,0,0.08); outline-offset: -1px;
}
.ab-pdp-info-sticky .product-options.is-color .product-options-item.is-selected {
  border-color: #1c1815;
}
.ab-pdp-info-sticky .product-options.is-color .product-option-label-swatch {
  width: 100%; height: 100%; border-radius: 50%; border: 0;
}
.ab-pdp-info-sticky .product-options.is-color .product-option-label-swatch img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}

/* Size pills: 4-col grid */
.ab-pdp-info-sticky .product-options.is-size .product-options-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.ab-pdp-info-sticky .product-options.is-size .product-options-item {
  min-height: 52px; min-width: 0; padding: 0;
  border: 1px solid #c9bfb1; border-radius: 4px;
  background: #fff; font-size: 14px; font-weight: 500;
  color: #1c1815; transition: all 0.15s;
}
.ab-pdp-info-sticky .product-options.is-size .product-options-item:hover:not(:disabled) {
  border-color: #1c1815; background: #faf8f4;
}
.ab-pdp-info-sticky .product-options.is-size .product-options-item.is-selected {
  background: #1c1815; color: #fff; border-color: #1c1815;
}
.ab-pdp-info-sticky .product-options.is-size .product-options-item.is-unavailable,
.ab-pdp-info-sticky .product-options.is-size .product-options-item:disabled {
  text-decoration: line-through; color: #b5ac9d; cursor: not-allowed;
}

.ab-pdp-info-sticky .product-options h5 {
  font-size: 13px; font-weight: 500; color: #1c1815;
  margin: 0 0 12px; text-transform: none; letter-spacing: 0;
}
.ab-pdp-info-sticky .product-options-name { color: #6b5f52; margin-right: 6px; }
.ab-pdp-info-sticky .product-options-selected { font-weight: 600; }

/* Add to cart and Buy now buttons */
.ab-pdp-info-sticky .product-form button[type="submit"],
.ab-pdp-info-sticky .product-form .add-to-cart-btn {
  width: 100%; padding: 18px 24px; background: #1c1815; color: #fff;
  border: 0; border-radius: 4px; font-size: 14px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  transition: background 0.15s; margin-top: 4px;
}
.ab-pdp-info-sticky .product-form button[type="submit"]:hover:not(:disabled),
.ab-pdp-info-sticky .product-form .add-to-cart-btn:hover:not(:disabled) {
  background: #2a2520;
}
.ab-pdp-info-sticky .product-form button[type="submit"]:disabled,
.ab-pdp-info-sticky .product-form .add-to-cart-btn:disabled {
  background: #c9bfb1; cursor: not-allowed;
}

.ab-pdp-buy-now-form { margin-top: 8px; }
.ab-pdp-info-sticky .asmia-buy-now-btn {
  width: 100%; padding: 18px 24px; background: #fff; color: #1c1815;
  border: 1px solid #1c1815; border-radius: 4px; font-size: 14px;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; transition: all 0.15s;
}
.ab-pdp-info-sticky .asmia-buy-now-btn:hover:not(:disabled) {
  background: #1c1815; color: #fff;
}

/* Trust icons row */
.ab-pdp-trust-icons {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  border-top: 1px solid #ece8e1; padding-top: 24px;
}
.ab-pdp-trust-icons li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px; color: #4a3f33; line-height: 1.4;
}
.ab-pdp-trust-icons li small { color: #6b5f52; font-size: 11px; }
.ab-pdp-trust-icon { font-size: 18px; flex-shrink: 0; }

/* BOTTOM HALF: detail sections */
.ab-pdp-detail { padding: 64px 24px; background: #fff; }
.ab-pdp-detail-alt { background: #faf8f4; }
.ab-pdp-detail-inner { max-width: 720px; margin: 0 auto; }

.ab-pdp-detail-heading {
  font-family: var(--asmia-serif, Georgia, serif);
  font-size: clamp(22px, 2.4vw, 30px); font-weight: 500;
  color: #1c1815; margin: 0 0 24px; letter-spacing: -0.01em;
}

.ab-pdp-prose { font-size: 15px; color: #4a3f33; line-height: 1.7; }
.ab-pdp-prose p { margin: 0 0 16px; }

.ab-pdp-feature-list { list-style: none; padding: 0; margin: 0; }
.ab-pdp-feature-list li {
  padding: 14px 0; border-bottom: 1px solid #ece8e1;
  font-size: 15px; color: #4a3f33; line-height: 1.5;
}
.ab-pdp-feature-list li:last-child { border-bottom: 0; }
.ab-pdp-feature-list li strong { color: #1c1815; font-weight: 600; }

.ab-pdp-materials-grid {
  display: grid; gap: 16px; margin: 0 0 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .ab-pdp-materials-grid { grid-template-columns: repeat(3, 1fr); }
}
.ab-pdp-material-card {
  padding: 24px; background: #fff; border: 1px solid #ece8e1;
  border-radius: 4px;
}
.ab-pdp-detail-alt .ab-pdp-material-card { background: #faf8f4; }
.ab-pdp-material-card h3 {
  font-size: 14px; font-weight: 600; color: #1c1815;
  margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.08em;
}
.ab-pdp-material-card p { font-size: 14px; color: #4a3f33; line-height: 1.55; margin: 0; }

.ab-pdp-care-heading {
  font-size: 16px; font-weight: 600; color: #1c1815;
  margin: 36px 0 12px; text-transform: uppercase; letter-spacing: 0.08em;
}
.ab-pdp-care-text { font-size: 14px; color: #4a3f33; line-height: 1.6; margin: 0; }


/* ---------------------------------------------------------------- */
/*  ASMIA — Allbirds-style script wordmark in header                 */
/* ---------------------------------------------------------------- */
.header-logo-text {
  font-family: "Great Vibes", "Playfair Display", Georgia, cursive !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: 32px;
  letter-spacing: 0.01em;
  line-height: 1;
  position: relative;
  top: 1px;
}
@media (min-width: 768px) {
  .header-logo-text { font-size: 44px; }
}

/* ---------------------------------------------------------------- */
/*  PRODUCT ADDONS — Hydrogen PDP                                    */
/* ---------------------------------------------------------------- */
.asmia-pdp-addons {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 8px 0 20px;
}
.asmia-pdp-addon-group {
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.asmia-pdp-addon-legend {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  margin: 0;
  width: 100%;
}
.asmia-pdp-addon-name {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #1c1815;
}
.asmia-pdp-addon-selected {
  font-size: 13px;
  color: #6b5f52;
  font-weight: 500;
}
.asmia-pdp-addon-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.asmia-pdp-addon-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e4d8c8;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  background: #fff;
  font-size: 14px;
  color: #1c1815;
}
.asmia-pdp-addon-opt:hover {
  border-color: #a67c52;
}
.asmia-pdp-addon-opt.is-selected {
  border-color: #1c1815;
  background: #fbf7f2;
}
.asmia-pdp-addon-opt input[type="radio"] {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid #b6a892;
  border-radius: 50%;
  margin: 0;
  flex: 0 0 auto;
  position: relative;
  cursor: pointer;
}
.asmia-pdp-addon-opt input[type="radio"]:checked {
  border-color: #1c1815;
}
.asmia-pdp-addon-opt input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #1c1815;
}
.asmia-pdp-addon-label {
  flex: 1;
  text-align: left;
}
.asmia-pdp-addon-price {
  font-size: 13px;
  color: #a67c52;
  font-weight: 600;
  white-space: nowrap;
}
.asmia-pdp-addon-included {
  font-size: 12px;
  color: #8a8a8a;
  white-space: nowrap;
}
.asmia-pdp-addon-total {
  margin-top: 4px;
  padding: 10px 14px;
  background: #fbf7f2;
  border: 1px dashed #d6c8b3;
  border-radius: 8px;
  font-size: 13px;
  color: #1c1815;
}
.asmia-pdp-addon-total strong {
  color: #a67c52;
}

/* ================================================================ */
/*  ALLBIRDS-STYLE PDP SECTIONS                                      */
/* ================================================================ */

/* Promo Bar */
.ab-promo-bar {
  background: #1c1815;
  color: #f4f1ec;
  text-align: center;
  font-size: 13px;
  padding: 10px 16px;
  letter-spacing: 0.02em;
  font-weight: 500;
}
.ab-promo-bar a {
  color: #f4f1ec;
  text-decoration: underline;
  margin: 0 4px;
}

/* Accordion */
.ab-acc {
  border-bottom: 1px solid #ece8e1;
  background: #fff;
}
.ab-acc-head {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1c1815;
  font-family: var(--asmia-mono, "SF Mono", Menlo, Consolas, monospace);
}
@media (min-width: 900px) {
  .ab-acc-head { padding: 32px 56px; }
}
.ab-acc-head:hover { background: #faf8f4; }
.ab-acc-toggle {
  font-size: 22px;
  font-weight: 300;
  width: 28px;
  text-align: center;
  color: #1c1815;
}
.ab-acc-body {
  padding: 0 24px 48px;
  background: #fff;
  animation: ab-acc-fade 0.2s ease-out;
}
@media (min-width: 900px) {
  .ab-acc-body { padding: 0 56px 64px; }
}
@keyframes ab-acc-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Why We Made This — 3-col layout */
.ab-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .ab-why-grid { grid-template-columns: 1fr 1.2fr 1fr; gap: 56px; }
}
.ab-why-col-l p {
  font-size: 15px;
  line-height: 1.6;
  color: #1c1815;
  margin: 0 0 28px;
}
.ab-why-bestfor-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b5f52;
  margin: 0 0 12px;
  font-family: var(--asmia-mono, "SF Mono", Menlo, monospace);
}
.ab-why-bestfor ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.ab-why-bestfor li {
  background: #ece8e1;
  color: #1c1815;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
}
.ab-why-tech-link {
  font-size: 13px;
  color: #1c1815;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ab-why-col-c {
  display: flex;
  justify-content: center;
}
.ab-why-img-frame {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #faf3e7;
  border: 1px solid #ece8e1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ab-why-img-frame img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: 50%;
}

.ab-why-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b5f52;
  margin: 0 0 16px;
  font-family: var(--asmia-mono, "SF Mono", Menlo, monospace);
}
.ab-why-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ab-why-features li {
  font-size: 14px;
  line-height: 1.55;
  color: #1c1815;
  padding-left: 14px;
  position: relative;
}
.ab-why-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #1c1815;
  font-size: 18px;
  line-height: 1;
}

/* Materials */
.ab-materials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 0 0 28px;
}
@media (min-width: 700px) {
  .ab-materials-grid { grid-template-columns: repeat(3, 1fr); }
}
.ab-materials-grid h4 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1c1815;
  margin: 0 0 8px;
  font-family: var(--asmia-mono, "SF Mono", Menlo, monospace);
}
.ab-materials-grid p {
  font-size: 14px;
  color: #4a3f33;
  line-height: 1.55;
  margin: 0;
}
.ab-materials-foot {
  font-size: 13px;
  color: #6b5f52;
  margin: 0;
  line-height: 1.55;
}

/* Care list */
.ab-care-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ab-care-list li {
  font-size: 14px;
  color: #4a3f33;
  line-height: 1.55;
  padding-left: 18px;
  position: relative;
}
.ab-care-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: #1c1815;
}

/* Editorial Block */
.ab-editorial {
  display: grid;
  grid-template-columns: 1fr;
  background: #f4f1ec;
  margin: 0;
}
@media (min-width: 900px) {
  .ab-editorial { grid-template-columns: 1fr 1fr; }
}
.ab-editorial-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: #ece8e1;
}
.ab-editorial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ab-editorial-copy {
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
@media (min-width: 900px) {
  .ab-editorial-copy { padding: 80px 64px; }
}
.ab-editorial-copy h2 {
  font-family: var(--asmia-serif, Georgia, serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  margin: 0 0 20px;
  color: #1c1815;
  letter-spacing: -0.01em;
}
.ab-editorial-copy p {
  font-size: 16px;
  line-height: 1.65;
  color: #4a3f33;
  margin: 0 auto 28px;
  max-width: 460px;
}
.ab-editorial-cta {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: #1c1815;
  text-decoration: underline;
  text-underline-offset: 6px;
  letter-spacing: 0.04em;
  cursor: pointer;
}

/* Feature Callouts (Get a Grip / Built to Bounce Back) */
.ab-feat {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 64px 24px;
  background: #fff;
  align-items: center;
}
@media (min-width: 900px) {
  .ab-feat {
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 48px;
    padding: 96px 56px;
  }
}
.ab-feat-l, .ab-feat-r {
  text-align: center;
}
@media (min-width: 900px) {
  .ab-feat-l { text-align: right; }
  .ab-feat-r { text-align: left; }
}
.ab-feat-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b5f52;
  margin: 0 0 12px;
  font-family: var(--asmia-mono, "SF Mono", Menlo, monospace);
}
.ab-feat-l h3, .ab-feat-r h3 {
  font-family: var(--asmia-serif, Georgia, serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  margin: 0 0 12px;
  color: #1c1815;
}
.ab-feat-l p, .ab-feat-r p {
  font-size: 14px;
  line-height: 1.6;
  color: #4a3f33;
  margin: 0;
}
.ab-feat-c {
  display: flex;
  justify-content: center;
}
.ab-feat-c img {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  background: #faf3e7;
}

/* Recommendations Carousel */
.ab-recs {
  padding: 64px 0 96px;
  background: #f4f1ec;
}
.ab-recs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 32px;
}
@media (min-width: 900px) {
  .ab-recs-head { padding: 0 56px 40px; }
}
.ab-recs-head h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1c1815;
  margin: 0;
  font-family: var(--asmia-mono, "SF Mono", Menlo, monospace);
}
.ab-recs-arrows {
  display: flex;
  gap: 8px;
}
.ab-recs-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #1c1815;
  background: transparent;
  color: #1c1815;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.15s;
}
.ab-recs-arrow:hover {
  background: #1c1815;
  color: #fff;
}
.ab-recs-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 24px;
  scrollbar-width: none;
}
@media (min-width: 900px) {
  .ab-recs-track { padding: 0 56px; gap: 24px; }
}
.ab-recs-track::-webkit-scrollbar { display: none; }
.ab-rec-card {
  flex: 0 0 70%;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  position: relative;
  display: block;
  overflow: hidden;
  transition: transform 0.2s;
}
@media (min-width: 600px) { .ab-rec-card { flex-basis: 40%; } }
@media (min-width: 900px) { .ab-rec-card { flex-basis: 24%; } }
@media (min-width: 1200px) { .ab-rec-card { flex-basis: 22%; } }
.ab-rec-card:hover { transform: translateY(-2px); }
.ab-rec-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #ece8e1;
  color: #1c1815;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 6px 10px;
  border-radius: 999px;
  z-index: 2;
  font-family: var(--asmia-mono, "SF Mono", Menlo, monospace);
}
.ab-rec-img {
  aspect-ratio: 1;
  background: #faf3e7;
  overflow: hidden;
}
.ab-rec-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ab-rec-info {
  padding: 18px 18px 22px;
}
.ab-rec-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1c1815;
  margin: 0 0 4px;
  font-family: var(--asmia-mono, "SF Mono", Menlo, monospace);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ab-rec-color {
  font-size: 13px;
  color: #6b5f52;
  margin: 0 0 8px;
}
.ab-rec-price {
  font-size: 14px;
  font-weight: 600;
  color: #1c1815;
}

/* Metafield-driven content overrides */
.ab-materials-mf, .ab-care-mf {
  font-size: 14px;
  line-height: 1.6;
  color: #1c1815;
}
.ab-materials-mf p, .ab-care-mf p { margin: 0 0 12px; }
.ab-materials-mf h3, .ab-materials-mf h4,
.ab-care-mf h3, .ab-care-mf h4 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 16px 0 6px;
  font-family: var(--asmia-mono, "SF Mono", Menlo, monospace);
}

/* Sticky Add to Cart Bar */
.ab-sticky-cta {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: #fff;
  border-bottom: 1px solid #ece8e1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transform: translateY(-100%);
  transition: transform 0.25s ease;
  pointer-events: none;
}
.ab-sticky-cta.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}
.ab-sticky-cta-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 16px;
}
@media (min-width: 900px) {
  .ab-sticky-cta-inner { padding: 12px 32px; gap: 18px; }
}
.ab-sticky-cta-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 4px;
  background: #faf3e7;
  flex-shrink: 0;
}
.ab-sticky-cta-info {
  flex: 1;
  min-width: 0;
}
.ab-sticky-cta-title {
  font-size: 13px;
  font-weight: 600;
  color: #1c1815;
  letter-spacing: 0.04em;
  font-family: var(--asmia-mono, "SF Mono", Menlo, monospace);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ab-sticky-cta-meta {
  display: flex;
  gap: 12px;
  margin-top: 2px;
  font-size: 12px;
  color: #4a3f33;
  align-items: center;
}
.ab-sticky-cta-variant {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ab-sticky-cta-price {
  font-weight: 600;
  color: #1c1815;
  white-space: nowrap;
}
.ab-sticky-cta button {
  background: #1c1815;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--asmia-mono, "SF Mono", Menlo, monospace);
  cursor: pointer;
  flex-shrink: 0;
  min-width: 96px;
  transition: background 0.15s;
}
.ab-sticky-cta button:hover:not(:disabled) {
  background: #000;
}
.ab-sticky-cta button:disabled {
  background: #b8b1a7;
  cursor: not-allowed;
}
@media (max-width: 600px) {
  .ab-sticky-cta-title { font-size: 11px; }
  .ab-sticky-cta-meta { font-size: 11px; }
  .ab-sticky-cta button { padding: 10px 18px; font-size: 12px; min-width: 80px; }
}

/* ================================================================ */
/*  ALLBIRDS-STYLE PRODUCT CARDS (Collection grid)                  */
/* ================================================================ */
.ab-card {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.18s ease;
  /* Force grid item to fill its track regardless of image intrinsic
     dimensions. Hydrogen <Image> can briefly render width attributes
     during hydration that would otherwise stretch the column. */
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.ab-card:hover { transform: translateY(-2px); }
.ab-card-img {
  position: relative;
  aspect-ratio: 4/5 !important;
  background: #faf3e7;
  overflow: hidden;
  border-radius: 4px;
  width: 100%;
}
@media (max-width: 768px) {
  /* Tighter aspect on mobile — 4:5 was too tall at 50vw width. */
  .ab-card-img { aspect-ratio: 3/4 !important; }
}
.ab-card-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(135deg, #f4ece1 0 12px, #ece2d3 12px 24px);
  color: #8a7a66;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-transform: uppercase;
}
.ab-card-img-primary,
.ab-card-img-hover {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  /* Bias to top so models' faces aren't cropped on portrait sources */
  object-position: center top;
  display: block;
  transition: opacity 0.35s ease;
}
.ab-card-img-primary { opacity: 1; z-index: 1; }
.ab-card-img-hover { opacity: 0; z-index: 2; }
@media (hover: hover) {
  .ab-card:hover .ab-card-img-primary { opacity: 0; }
  .ab-card:hover .ab-card-img-hover { opacity: 1; }
}
.ab-card-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ece8e1;
  color: #1c1815;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 6px 10px;
  border-radius: 999px;
  z-index: 3;
  font-family: var(--asmia-mono, "SF Mono", Menlo, Consolas, monospace);
}
.ab-card-pill.is-sale {
  background: #1c1815;
  color: #fff;
}
.ab-card .asmia-wish {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: rgba(255,255,255,0.92);
  border: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  color: #1c1815;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.ab-card .asmia-wish:hover { background: #fff; }
.ab-card .asmia-wish.on { color: #c43c3c; }

.ab-card-info {
  padding: 14px 4px 0;
}
.ab-card-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1c1815;
  font-family: var(--asmia-mono, "SF Mono", Menlo, Consolas, monospace);
  margin: 0 0 3px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ab-card-vendor {
  font-size: 13px;
  color: #6b5f52;
  margin: 0 0 6px;
}
.ab-card-price {
  font-size: 14px;
  font-weight: 600;
  color: #1c1815;
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.ab-card-compare {
  text-decoration: line-through;
  font-weight: 400;
  color: #8a8278;
  font-size: 13px;
}

/* =========================================================
   NAINPREET SECTIONS — Allbirds aesthetic
   ========================================================= */
.npr-home {
  background: #faf7f1;
  color: #1c1815;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
    sans-serif;
}
.npr-home section { width: 100%; }

/* SHARED */
.npr-section {
  padding: 56px 24px;
  max-width: 1440px;
  margin: 0 auto;
}
.npr-section-h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1c1815;
  margin: 0 0 28px;
  text-align: center;
}
.npr-loading {
  height: 320px;
  background: #f0ece2;
  border-radius: 4px;
}
.npr-rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}
.npr-rail-head .npr-section-h2 { margin: 0; }
.npr-rail-viewall {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b5f52;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.npr-rail-viewall:hover { color: #1c1815; }

/* 1. ANNOUNCEMENT */
.npr-announce {
  background: #1c1815;
  color: #faf7f1;
  overflow: hidden;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 0;
}
.npr-announce-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: npr-marquee 30s linear infinite;
}
.npr-announce-item { display: inline-flex; align-items: center; gap: 12px; }
.npr-dot {
  width: 4px;
  height: 4px;
  background: #c9a880;
  border-radius: 50%;
  display: inline-block;
}

/* 2. HERO SLIDER */
.npr-hero {
  position: relative;
  overflow: hidden;
  background: #f0ece2;
}
.npr-hero-track {
  display: flex;
  width: 100%;
  transition: transform 700ms cubic-bezier(0.65, 0, 0.35, 1);
}
.npr-hero-slide {
  flex: 0 0 100%;
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  min-height: 380px;
  overflow: hidden;
  color: #fff;
  background: #1c1815;
}
@media (max-width: 768px) {
  .npr-hero-slide { aspect-ratio: 4/5; min-height: 480px; }
}
.npr-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.npr-hero-media img,
.npr-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.npr-hero-content {
  position: absolute;
  left: 0; right: 0; bottom: 9%;
  text-align: center;
  padding: 0 24px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.npr-hero-content:has(h1:empty + p:empty),
.npr-hero-content:not(:has(h1)):not(:has(p)) {
  /* When banner artwork has its own headline baked in, only show the pill */
  bottom: 8%;
  text-shadow: none;
}
.npr-hero-content h1 {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
  color: #fff;
}
.npr-hero-content p {
  font-size: 15px;
  margin: 0 0 20px;
  opacity: 0.92;
}
.npr-pill-cta {
  display: inline-block;
  background: #faf7f1;
  color: #1c1815;
  border-radius: 999px;
  padding: 14px 34px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.npr-hero-slide:hover .npr-pill-cta {
  background: #1c1815;
  color: #faf7f1;
  transform: translateY(-1px);
}
.npr-hero-dots {
  position: absolute;
  bottom: 24px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.npr-hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.npr-hero-dot.on { background: #fff; }

/* 3. DESIGNER MARQUEE */
.npr-marquee {
  background: #faf7f1;
  border-top: 1px solid #ebe5d8;
  border-bottom: 1px solid #ebe5d8;
  overflow: hidden;
  padding: 22px 0;
}
.npr-marquee-track {
  display: flex;
  gap: 64px;
  align-items: center;
  width: max-content;
  animation: npr-marquee 38s linear infinite;
}
.npr-marquee-item {
  flex: 0 0 auto;
  opacity: 0.78;
  transition: opacity 0.18s;
}
.npr-marquee-item:hover { opacity: 1; }
.npr-marquee-item img {
  height: 38px;
  width: auto;
  display: block;
  filter: grayscale(100%);
}
.npr-marquee-item:hover img { filter: none; }
@keyframes npr-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* 4. CATEGORY GRID — Allbirds-style wide landscape tiles */
.npr-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 768px) {
  .npr-category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
.npr-category-tile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
  color: #1c1815;
  text-decoration: none;
}
.npr-category-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  background: #ebe5d8;
  position: relative;
}
@media (max-width: 768px) { .npr-category-img { aspect-ratio: 4/5; } }
.npr-category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.npr-category-tile:hover .npr-category-img img { transform: scale(1.04); }
.npr-category-label {
  font-size: 13px;
  letter-spacing: 0.2em;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  align-self: center;
}
.npr-category-label::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: center;
}
.npr-category-tile:hover .npr-category-label::after { transform: scaleX(1); }

/* 5. FULL-BLEED BANNER */
.npr-banner {
  width: 100%;
  background: #ebe5d8;
}
.npr-banner-link { display: block; position: relative; }
.npr-banner-media {
  display: block;
  width: 100%;
  aspect-ratio: 32/9;
  overflow: hidden;
}
@media (max-width: 768px) { .npr-banner-media { aspect-ratio: 4/3; } }
.npr-banner-media img,
.npr-banner-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.npr-banner-caption {
  position: absolute;
  left: 0; right: 0; bottom: 8%;
  text-align: center;
  color: #fff;
  font-size: clamp(16px, 2vw, 24px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* 6. COLLECTION TILES (8) */
.npr-collection-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1024px) { .npr-collection-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .npr-collection-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.npr-coll-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: #1c1815;
}
.npr-coll-img {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 2px;
  background: #ebe5d8;
}
.npr-coll-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.npr-coll-tile:hover .npr-coll-img img { transform: scale(1.05); }
.npr-coll-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}

/* 7. SHOP BY DESIGNER */
.npr-designer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1024px) { .npr-designer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .npr-designer-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.npr-designer-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #1c1815;
  background: #fff;
  border: 1px solid #ebe5d8;
  border-radius: 2px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.npr-designer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(28, 24, 21, 0.06);
}
.npr-designer-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #ebe5d8;
}
.npr-designer-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.npr-designer-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #ebe5d8 0%, #d8cfbb 100%);
}
.npr-designer-meta {
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.npr-designer-meta h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0;
  text-transform: uppercase;
}
.npr-designer-meta p {
  font-size: 12px;
  color: #6b5f52;
  margin: 0;
}

/* 8. LATEST COLLECTIONS */
.npr-latest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1024px) { .npr-latest-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .npr-latest-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.npr-latest-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: #1c1815;
}
.npr-latest-img {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 2px;
  background: #ebe5d8;
}
.npr-latest-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.npr-latest-card:hover .npr-latest-img img { transform: scale(1.04); }
.npr-latest-card h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0;
  text-transform: uppercase;
  text-align: center;
}
.npr-latest-by {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #8a7d6e;
  margin: 4px 0 0;
  text-align: center;
  font-style: italic;
}

/* 9. PRODUCT RAIL */
.npr-rail-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 1024px) { .npr-rail-track { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (max-width: 640px) {
  .npr-rail-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .npr-rail-track::-webkit-scrollbar { display: none; }
  /* Direct .ab-card children (no .npr-rail-card-wrap exists) */
  .npr-rail-track > .ab-card,
  .npr-rail-card-wrap {
    flex: 0 0 70%;
    min-width: 0;
    scroll-snap-align: start;
  }
}

/* 10. INSTAGRAM */
.npr-instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
@media (max-width: 1024px) { .npr-instagram-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .npr-instagram-grid { grid-template-columns: repeat(2, 1fr); } }
.npr-insta-tile {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  display: block;
}
.npr-insta-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.npr-insta-tile:hover img { transform: scale(1.06); }
.npr-insta-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 100%);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 12px 10px;
  opacity: 0;
  transition: opacity 0.2s;
}
.npr-insta-tile:hover .npr-insta-overlay { opacity: 1; }
.npr-insta-badge {
  position: absolute;
  top: 8px; right: 8px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  pointer-events: none;
}

/* 11. NEWSLETTER */
.npr-newsletter {
  background: #1c1815;
  color: #faf7f1;
  padding: 64px 24px;
}
.npr-newsletter-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 768px) {
  .npr-newsletter-inner { grid-template-columns: 1fr; gap: 24px; }
}
.npr-newsletter h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.npr-newsletter p {
  margin: 0;
  font-size: 14px;
  color: #c9a880;
}
.npr-newsletter-form {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.npr-newsletter-form input {
  flex: 1;
  background: transparent;
  border: 1px solid #c9a880;
  color: #faf7f1;
  padding: 14px 16px;
  font-size: 14px;
  border-radius: 2px;
  outline: none;
}
.npr-newsletter-form input::placeholder { color: rgba(250, 247, 241, 0.55); }
.npr-newsletter-form input:focus { border-color: #faf7f1; }
.npr-newsletter-form button {
  background: #faf7f1;
  color: #1c1815;
  border: none;
  padding: 0 28px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.18s;
}
.npr-newsletter-form button:hover { background: #c9a880; }

/* ═════════════ Allbirds-style Cart Drawer ═════════════ */
.ab-cart-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.ab-cart-heading-title {
  font-family: var(--asmia-serif, Georgia, serif);
  font-size: 22px;
  font-weight: 500;
  color: #1c1815;
  letter-spacing: 0.04em;
}
.ab-cart-heading-status {
  font-size: 12px;
  color: #6b5f52;
  letter-spacing: 0.02em;
}

.ab-cart {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
}
.ab-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 64px 24px;
  text-align: center;
}
.ab-cart-empty p { color: #4a3f33; font-size: 15px; margin: 0; }
.ab-cart-empty-cta {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #1c1815;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ab-cart-promo {
  padding: 12px 24px 16px;
  border-bottom: 1px solid #f0ebe3;
}
.ab-cart-promo-msg {
  font-size: 13px;
  color: #1c1815;
  margin: 0 0 8px;
}
.ab-cart-promo-track {
  position: relative;
  height: 4px;
  background: #ece8e1;
  border-radius: 2px;
  overflow: hidden;
}
.ab-cart-promo-fill {
  height: 100%;
  background: #1c1815;
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.ab-cart-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  overflow-y: auto;
}
.ab-cart-line {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid #f0ebe3;
  align-items: flex-start;
}
.ab-cart-line-thumb {
  width: 88px;
  height: 88px;
  border-radius: 6px;
  background: #f5efe5;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
}
.ab-cart-line-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ab-cart-line-body {
  min-width: 0;
}
.ab-cart-line-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 4px;
}
.ab-cart-line-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #1c1815;
  text-decoration: none;
  flex: 1;
}
.ab-cart-line-title:hover { text-decoration: underline; text-underline-offset: 2px; }
.ab-cart-line-price {
  font-size: 14px;
  color: #1c1815;
  font-weight: 500;
  white-space: nowrap;
}
.ab-cart-line-meta {
  font-size: 12px;
  color: #6b5f52;
  margin: 4px 0 12px;
  line-height: 1.6;
}
.ab-cart-line-meta div { margin: 0; }

.ab-cart-line-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.ab-cart-remove {
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  color: #1c1815;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.ab-cart-remove:hover { color: #6b5f52; }

.ab-cart-line-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d8d2c6;
  border-radius: 999px;
  background: #fff;
  height: 32px;
  padding: 0 4px;
}
.ab-cart-qty-btn {
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  font-size: 16px;
  color: #1c1815;
  cursor: pointer;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ab-cart-qty-btn:hover:not(:disabled) { background: #f5efe5; }
.ab-cart-qty-btn:disabled { color: #b8aea0; cursor: not-allowed; }
.ab-cart-qty-value {
  min-width: 22px;
  text-align: center;
  font-size: 13px;
  color: #1c1815;
}

.ab-cart-line-addons {
  list-style: none;
  margin: 12px 0 0;
  padding: 8px 12px;
  border-radius: 6px;
  background: #f5efe5;
  font-size: 12px;
}
.ab-cart-line-addon {
  display: flex;
  justify-content: space-between;
  color: #4a3f33;
  padding: 2px 0;
}

/* Returns Protection promo */
.ab-cart-rp {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid #f0ebe3;
  background: #fcfaf6;
}
.ab-cart-rp-title {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #1c1815;
}
.ab-cart-rp-body {
  font-size: 12px;
  color: #6b5f52;
  margin: 0;
  line-height: 1.5;
}
.ab-cart-rp-add {
  flex-shrink: 0;
  background: #1c1815;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.ab-cart-rp-add:disabled { opacity: 0.6; cursor: not-allowed; }

/* Summary */
.ab-cart-summary {
  border-top: 1px solid #f0ebe3;
  padding: 16px 24px 20px;
  background: #fff;
  position: sticky;
  bottom: 0;
}
.ab-cart-discount {
  margin-bottom: 12px;
}
.ab-cart-discount-toggle {
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  color: #1c1815;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.ab-cart-discount-form {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.ab-cart-discount-form input {
  flex: 1;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #d8d2c6;
  border-radius: 4px;
  font-size: 13px;
}
.ab-cart-discount-form button {
  background: #1c1815;
  color: #fff;
  border: none;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 4px;
  cursor: pointer;
}
.ab-cart-discount-applied {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #1c1815;
}
.ab-cart-discount-remove {
  background: none;
  border: none;
  font-size: 12px;
  color: #1c1815;
  text-decoration: underline;
  cursor: pointer;
}

.ab-cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 8px;
}
.ab-cart-summary-row dt {
  font-size: 14px;
  color: #1c1815;
}
.ab-cart-summary-row dd {
  font-size: 14px;
  color: #1c1815;
  font-weight: 600;
  margin: 0;
}
.ab-cart-shipping-strike {
  text-decoration: line-through;
  color: #b8aea0;
  font-weight: 400;
  margin-right: 4px;
}
.ab-cart-shipping-free {
  color: #1c1815;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.ab-cart-checkout-btn {
  display: block;
  width: 100%;
  background: #1c1815;
  color: #fff;
  text-align: center;
  padding: 16px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  margin-top: 12px;
  transition: background 0.18s, transform 0.18s;
}
.ab-cart-checkout-btn:hover {
  background: #2c2823;
  transform: translateY(-1px);
}

/* Override default Hydrogen drawer width to match Allbirds (~440px) */
.overlay aside {
  width: 100%;
  max-width: 440px;
}
.overlay aside header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f0ebe3;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.overlay aside header h3 {
  margin: 0;
  flex: 1;
}
.overlay aside header .close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #1c1815;
  margin-left: 8px;
}
.overlay aside main {
  padding: 0;
  height: calc(100% - 80px);
  overflow-y: auto;
}

/* ═════════════ Cart Drawer — Recommended for You carousel ═════════════ */
.ab-cart-recs {
  border-top: 1px solid #f0ebe3;
  background: #fcfaf6;
  padding: 16px 0 20px;
}
.ab-cart-recs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px 12px;
}
.ab-cart-recs-title {
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: #1c1815;
  text-transform: uppercase;
}
.ab-cart-recs-arrows {
  display: inline-flex;
  gap: 6px;
}
.ab-cart-recs-arrows button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #d8d2c6;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  color: #1c1815;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ab-cart-recs-arrows button:hover { background: #f5efe5; }

.ab-cart-recs-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 88%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 24px;
  scrollbar-width: thin;
}
.ab-cart-recs-track::-webkit-scrollbar { height: 4px; }
.ab-cart-recs-track::-webkit-scrollbar-thumb { background: #d8d2c6; border-radius: 2px; }

.ab-cart-recs-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #ece8e1;
  border-radius: 8px;
  scroll-snap-align: start;
}
.ab-cart-recs-thumb {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  background: #f5efe5;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
}
.ab-cart-recs-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-cart-recs-thumb-placeholder { width: 100%; height: 100%; background: #ece8e1; }

.ab-cart-recs-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
.ab-cart-recs-row1 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.ab-cart-recs-name {
  font-size: 12px;
  font-weight: 500;
  color: #1c1815;
  text-decoration: none;
  line-height: 1.35;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ab-cart-recs-name:hover { text-decoration: underline; text-underline-offset: 2px; }
.ab-cart-recs-price {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 12px;
  color: #c0392b;
  font-weight: 600;
  white-space: nowrap;
}
.ab-cart-recs-compare {
  color: #b8aea0;
  text-decoration: line-through;
  font-weight: 400;
  font-size: 11px;
}
.ab-cart-recs-row2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.ab-cart-recs-select {
  flex: 1;
  height: 30px;
  padding: 0 8px;
  border: 1px solid #d8d2c6;
  border-radius: 4px;
  font-size: 11px;
  color: #1c1815;
  background: #fff;
  max-width: 140px;
}
.ab-cart-recs-meta {
  font-size: 11px;
  color: #6b5f52;
}
.ab-cart-recs-add {
  flex-shrink: 0;
  height: 30px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #1c1815;
  color: #1c1815;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.ab-cart-recs-add:hover:not(:disabled) {
  background: #1c1815;
  color: #fff;
}
.ab-cart-recs-add:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ═════════════ PDP — Frequently Bought Together strip ═════════════ */
.ab-pdp-fbt {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f0ebe3;
}
.ab-pdp-fbt-title {
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: #1c1815;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.ab-pdp-fbt-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ab-pdp-fbt-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px;
  background: #fcfaf6;
  border: 1px solid #ece8e1;
  border-radius: 6px;
}
.ab-pdp-fbt-thumb {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  background: #f5efe5;
  overflow: hidden;
  display: block;
}
.ab-pdp-fbt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-pdp-fbt-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ab-pdp-fbt-name {
  font-size: 12px;
  font-weight: 500;
  color: #1c1815;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ab-pdp-fbt-name:hover { text-decoration: underline; text-underline-offset: 2px; }
.ab-pdp-fbt-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  color: #6b5f52;
}
.ab-pdp-fbt-price {
  font-weight: 600;
  color: #1c1815;
  display: inline-flex;
  gap: 4px;
}
.ab-pdp-fbt-compare {
  text-decoration: line-through;
  color: #b8aea0;
  font-weight: 400;
}
.ab-pdp-fbt-add {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #1c1815;
  color: #1c1815;
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
}
.ab-pdp-fbt-add:hover:not(:disabled) {
  background: #1c1815;
  color: #fff;
}
.ab-pdp-fbt-add:disabled { opacity: 0.45; cursor: not-allowed; }

/* PDP layout reinforcements — make the info pane indestructible (desktop only) */
@media (min-width: 900px) {
  .ab-pdp-info {
    background: transparent;
  }
}
.ab-pdp-info-sticky {
  background: transparent;
  width: 100%;
}
.ab-pdp-headline h1.ab-pdp-title {
  color: #1c1815;
  display: block;
  visibility: visible;
}

/* Allbirds-style mega-menu enhancements (image cards + banner) */
.header-mega-panel--rich .header-mega-inner--multi {
  display: flex;
  align-items: stretch;
  gap: 24px;
  padding: 18px 28px;
}
.header-mega-panel--with-banner {
  max-width: min(96vw, 1240px);
}
.header-mega-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex: 1;
}
.header-mega-panel--rich .header-mega-col { width: 200px; min-width: 200px; }

.header-mega-card {
  display: block;
  text-decoration: none !important;
  color: var(--ab-ink, #212529) !important;
  border-radius: 6px;
  overflow: hidden;
  background: #f6f5f1;
  transition: transform 0.18s ease;
  width: 200px;
}
.header-mega-card:hover { transform: translateY(-2px); }
.header-mega-card-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/5;
}
.header-mega-card-label {
  display: block;
  padding: 8px 6px 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.header-mega-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 320px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none !important;
  color: #fff !important;
  background: #1a1a1a;
  box-shadow: 0 6px 18px -10px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}
.header-mega-banner:hover { transform: translateY(-2px); }
.header-mega-banner-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
}
.header-mega-banner-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 18px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.06) 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #fff;
}
.header-mega-banner-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f5d76a;
}
.header-mega-banner-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.header-mega-banner-cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 6px;
}


/* ═════════════════════════════════════════════════════════════════
 * Allbirds-style left slide-out drawer — desktop hamburger + image
 * cards inside the drilldown. Reuses the existing mobile aside so
 * the drawer feels identical at every viewport.
 * ═════════════════════════════════════════════════════════════════ */

/* Desktop hamburger button — sits left of the logo and mirrors the
   look of the search/cart icon buttons on the right. */
.header-menu-desktop-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  margin-right: 12px;
  color: var(--ab-ink, #0e0c0a);
}
.header-menu-desktop-toggle:hover { opacity: 0.65; }
.header-menu-desktop-toggle .header-icon-label {
  display: none;
  font-size: 13px;
  letter-spacing: 0.04em;
}
@media (min-width: 48em) {
  .header-menu-desktop-toggle { display: inline-flex; }
}
@media (min-width: 1024px) {
  .header-menu-desktop-toggle .header-icon-label { display: inline; }
}

/* Slightly widen the aside drawer on tablet/desktop so 2-up image
   cards render comfortably (mobile keeps its existing width). */
@media (min-width: 48em) {
  :root { --aside-width: 460px; }
}

/* Rich submenu (cards + banner) inside the drawer */
.mobile-drawer-rich {
  padding: 14px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-drawer-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.mobile-drawer-card {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  background: #f6f5f1;
  text-decoration: none !important;
  color: var(--ab-ink, #212529) !important;
  transition: transform 0.18s ease;
}
.mobile-drawer-card:hover { transform: translateY(-2px); }
.mobile-drawer-card-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/5;
}
.mobile-drawer-card-label {
  display: block;
  padding: 8px 8px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.mobile-drawer-card--text {
  background: transparent;
  padding: 14px 12px;
  border: 1px solid var(--ab-hairline, #efe9dc);
}

/* Hero banner at the bottom of root or rich submenu */
.mobile-drawer-banner {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none !important;
  color: #fff !important;
  background: #1a1a1a;
  margin: 14px 18px 4px;
  box-shadow: 0 6px 18px -10px rgba(0,0,0,0.28);
  transition: transform 0.2s ease;
}
.mobile-drawer-rich .mobile-drawer-banner { margin: 0; }
.mobile-drawer-banner:hover { transform: translateY(-2px); }
.mobile-drawer-banner-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3/2;
}
.mobile-drawer-banner-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 18px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.06) 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-drawer-banner-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}
.mobile-drawer-banner-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.mobile-drawer-banner-cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 4px;
}


/* =========================================================
 * MOBILE ALIGNMENT AUDIT (May 2026, hardened pass) — strict
 * viewport clamp. Every full-bleed section, every flex track,
 * every grid track stays inside the viewport on mobile.
 * ========================================================= */
html, body {
  overflow-x: hidden !important;
  overflow-x: clip;
  max-width: 100vw !important;
  width: 100%;
}
body {
  position: relative;
}
*, *::before, *::after { box-sizing: border-box; }
img, video, picture, svg {
  max-width: 100%;
}
/* Belt-and-braces: every direct child of <body> stays within the viewport */
body > * { max-width: 100vw; }

/* Hero slider: parent clips, track has 4× slides which translate. The
   parent must be exactly viewport-wide, never wider. */
.npr-hero {
  width: 100vw;
  max-width: 100vw;
  overflow: hidden !important;
  margin-left: auto;
  margin-right: auto;
}
.npr-hero-track {
  width: 100%;
  max-width: 100%;
}
.npr-hero-slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.npr-hero-media,
.npr-hero-media picture {
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
}
.npr-hero-media img,
.npr-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Marquees: clip strictly to viewport while the inner track animates wider. */
.npr-announce,
.npr-marquee,
.npr-marquee-track-wrap {
  width: 100%;
  max-width: 100vw;
  overflow: hidden !important;
}
/* Home content sections never push the page wider than viewport. */
.asmia-home,
.asmia-cats,
.asmia-promos,
.asmia-promo-banner,
.npr-rail {
  max-width: 100vw;
  overflow-x: clip;
}
/* Top navigation strip (NEW IN | DESIGNERS | READY TO SHIP …)
   should scroll horizontally on mobile, not push the page wider. */
.asmia-topnav,
.npr-topnav,
nav.asmia-mobile-tabs {
  max-width: 100vw;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 900px) {
  /* Sticky header always flush with viewport edges */
  header.header, .header { width: 100vw; max-width: 100vw; }
}

/* =========================================================
 * Notification bell + drawer (header)
 * ========================================================= */
.asmia-notify { position: relative; display: inline-flex; }
.asmia-notify-bell {
  background: transparent; border: 0; padding: 8px; cursor: pointer;
  color: inherit; position: relative; line-height: 0;
}
.asmia-notify-bell:hover { opacity: 0.75; }
.asmia-notify-badge {
  position: absolute; top: 2px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: #c43c3c; color: #fff;
  font-size: 10px; font-weight: 700; line-height: 18px; text-align: center;
}
.asmia-notify-drawer {
  position: absolute; right: 0; top: calc(100% + 10px);
  width: 360px; max-width: calc(100vw - 24px);
  max-height: 70vh; overflow-y: auto;
  background: #fff; color: #1a1a1a;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  border: 1px solid rgba(0,0,0,0.06);
  z-index: 60;
}
.asmia-notify-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.asmia-notify-title {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
}
.asmia-notify-clear {
  background: transparent; border: 0; cursor: pointer;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #666;
}
.asmia-notify-clear:hover { color: #000; }
.asmia-notify-allow {
  display: block; width: calc(100% - 24px);
  margin: 12px; padding: 10px 14px;
  background: #1a1a1a; color: #fff; border: 0;
  border-radius: 999px; cursor: pointer;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
}
.asmia-notify-allow:hover { background: #000; }
.asmia-notify-empty {
  padding: 28px 20px; text-align: center;
  font-size: 13px; line-height: 1.5; color: #666;
}
.asmia-notify-list { list-style: none; margin: 0; padding: 0; }
.asmia-notify-list li + li { border-top: 1px solid rgba(0,0,0,0.05); }
.asmia-notify-item {
  display: flex; gap: 12px; padding: 12px 16px;
  text-decoration: none; color: inherit;
}
.asmia-notify-item:hover { background: rgba(0,0,0,0.03); }
.asmia-notify-item img {
  width: 48px; height: 48px; object-fit: cover; border-radius: 6px; flex-shrink: 0;
}
.asmia-notify-dot {
  width: 8px; height: 8px; border-radius: 999px; background: #c43c3c;
  flex-shrink: 0; margin-top: 8px;
}
.asmia-notify-meta {
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.asmia-notify-meta strong {
  font-size: 13px; font-weight: 700; line-height: 1.3;
}
.asmia-notify-meta span {
  font-size: 12px; color: #555; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.asmia-notify-meta em {
  font-style: normal; font-size: 10px; color: #999;
  letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px;
}
@media (max-width: 600px) {
  .asmia-notify-drawer { width: calc(100vw - 24px); right: -12px; }
}


/* =========================================================
 * Notification welcome modal (3rd-visit gentle prompt)
 * ========================================================= */
.asmia-notify-welcome {
  position: fixed; bottom: 24px; right: 24px; z-index: 70;
  width: 320px; max-width: calc(100vw - 32px);
  padding: 22px 22px 18px;
  background: #fff; color: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
  border: 1px solid rgba(0,0,0,0.06);
  animation: asmia-notify-welcome-in 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes asmia-notify-welcome-in {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}
.asmia-notify-welcome-close {
  position: absolute; top: 8px; right: 10px;
  background: transparent; border: 0; cursor: pointer;
  font-size: 22px; line-height: 1; color: #999; padding: 4px 8px;
}
.asmia-notify-welcome-close:hover { color: #000; }
.asmia-notify-welcome-glyph {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px; background: #faf3e7;
  margin-bottom: 14px; color: #1a1a1a;
}
.asmia-notify-welcome-h3 {
  margin: 0 0 8px; font-size: 16px; font-weight: 700; line-height: 1.3;
}
.asmia-notify-welcome-p {
  margin: 0 0 16px; font-size: 13px; line-height: 1.5; color: #555;
}
.asmia-notify-welcome-cta {
  display: block; width: 100%; padding: 12px 20px;
  background: #1a1a1a; color: #fff; border: 0; cursor: pointer;
  border-radius: 999px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
  transition: background 0.2s;
}
.asmia-notify-welcome-cta:hover { background: #000; }
.asmia-notify-welcome-skip {
  display: block; width: 100%; margin-top: 8px;
  background: transparent; border: 0; cursor: pointer;
  padding: 8px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #888;
}
.asmia-notify-welcome-skip:hover { color: #000; }
@media (max-width: 600px) {
  .asmia-notify-welcome { left: 12px; right: 12px; bottom: 12px; width: auto; }
}


/* ============================================================
   ASMIA SAFETY NET — direct <img> children of grid cards
   Force every grid image into a 1:1 cropped square regardless of
   the source image's natural dimensions, regardless of whether
   there's a wrapper div. Uses position:absolute to break the
   intrinsic-height feedback loop from Shopify's image_tag width/
   height attrs.
   ============================================================ */
.npr-latest-img,
.npr-coll-img,
.npr-category-img,
.npr-designer-img,
.npr-insta-tile,
.npr-latest-card > picture,
.npr-coll-tile > picture,
.npr-category-tile > picture,
.npr-designer-card > picture {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
}
.npr-latest-img > img,
.npr-coll-img > img,
.npr-category-img > img,
.npr-designer-img > img,
.npr-latest-img > picture > img,
.npr-coll-img > picture > img,
.npr-category-img > picture > img,
.npr-designer-img > picture > img,
.npr-latest-card > img,
.npr-coll-tile > img,
.npr-category-tile > img,
.npr-designer-card > img,
.npr-insta-tile > img,
.npr-insta-tile > picture > img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* ============================================================
   ASMIA DRAWERS — overlay + slide-in aside (cart, search, mobile)
   Triggered by [data-asmia-open="..."]; closed by [data-asmia-close]
   or clicking [data-asmia-overlay]. Toggles `.expanded` class on
   the matching `[data-asmia-aside]` and on `[data-asmia-overlay]`.
   ============================================================ */
.asmia-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.asmia-overlay.expanded {
  opacity: 1;
  pointer-events: auto;
}

.asmia-aside {
  position: fixed;
  top: 0;
  bottom: 0;
  height: 100vh;
  z-index: 110;
  background: #ffffff;
  width: min(420px, 92vw);
  max-width: 92vw;
  display: flex;
  flex-direction: column;
  box-shadow: -2px 0 24px rgba(0, 0, 0, 0.12);
  transition: transform 280ms cubic-bezier(0.2, 0.7, 0.3, 1);
  visibility: hidden;
}
/* Mobile drawer slides from LEFT */
[data-asmia-aside="mobile"] {
  left: 0;
  transform: translateX(-105%);
  width: min(360px, 88vw);
}
/* Search + Cart slide from RIGHT */
[data-asmia-aside="search"],
[data-asmia-aside="cart"],
.asmia-aside--right {
  right: 0;
  transform: translateX(105%);
}
/* Cart drawer is wider for line items */
[data-asmia-aside="cart"] {
  width: min(460px, 96vw);
}

.asmia-aside.expanded {
  transform: translateX(0);
  visibility: visible;
}

.asmia-aside-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #e6e1d8;
  background: #faf7f1;
  flex-shrink: 0;
}
.asmia-aside-header h3 {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin: 0;
  text-transform: uppercase;
}
.asmia-aside-close {
  background: none;
  border: 0;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  color: #1c1815;
}
.asmia-aside-close:hover { opacity: 0.65; }

.asmia-aside-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0;
}

/* Lock body scroll when any drawer is open */
body.asmia-aside-open { overflow: hidden; }

/* Cart drawer heading variant — shows count + earned shipping */
.ab-cart-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ab-cart-heading-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.ab-cart-heading-status {
  font-size: 11px;
  color: #6b6b6b;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}

/* Predictive search drawer body padding */
.predictive-search { padding: 16px 22px; }
.predictive-search-form { display: flex; gap: 8px; margin-bottom: 18px; }
.predictive-search-form input[type="search"] {
  flex: 1;
  border: 1px solid #e6e1d8;
  padding: 11px 14px;
  font: inherit;
  border-radius: 4px;
  background: #fff;
}
.predictive-search-form button {
  background: #1c1815;
  color: #fff;
  border: 0;
  padding: 0 18px;
  font: 600 12px/1 "Inter", system-ui, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
}
.predictive-search-results { display: flex; flex-direction: column; gap: 16px; }
.predictive-search-group h4 {
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: #6b6b6b;
}
.predictive-search-group ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.predictive-search-group a { color: #1c1815; text-decoration: none; }
.predictive-search-group a:hover { text-decoration: underline; }
.predictive-search-products { gap: 14px !important; }
.predictive-search-product { display: flex; gap: 12px; align-items: center; }
.predictive-search-product img { width: 60px; height: 60px; object-fit: cover; border-radius: 3px; }
.predictive-search-product-title { font-size: 14px; font-weight: 500; }
.predictive-search-product-vendor { font-size: 11px; color: #6b6b6b; text-transform: uppercase; letter-spacing: 0.08em; }
.predictive-search-product-price { font-size: 13px; font-weight: 600; }
.predictive-search-empty { padding: 24px 0; text-align: center; color: #6b6b6b; }
.predictive-search-view-all {
  display: block;
  text-align: center;
  padding: 14px;
  margin-top: 8px;
  background: #1c1815;
  color: #fff !important;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* Mobile drawer styling */
.mobile-drawer-list { list-style: none; padding: 0; margin: 0; }
.mobile-drawer-row { border-bottom: 1px solid #f0ebe2; }
.mobile-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 22px;
  background: none;
  border: 0;
  font: 500 14px/1 "Inter", system-ui, sans-serif;
  text-decoration: none;
  color: #1c1815;
  cursor: pointer;
  text-align: left;
}
.mobile-drawer-link:hover { background: #faf7f1; }
.mobile-drawer-chevron { color: #6b6b6b; font-size: 20px; }
.mobile-drawer-back {
  display: flex; align-items: center; gap: 6px;
  background: #faf7f1; border: 0; padding: 12px 22px;
  font: 600 12px/1 "Inter", system-ui, sans-serif;
  letter-spacing: 0.12em; text-transform: uppercase;
  width: 100%; cursor: pointer;
  border-bottom: 1px solid #e6e1d8;
}
[data-mobile-level] { display: none; }
[data-mobile-level].is-active { display: block; }
.mobile-drawer-bucket { border-bottom: 1px solid #f0ebe2; }
.mobile-drawer-bucket-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 14px 22px;
  background: none; border: 0; cursor: pointer;
  font: 700 13px/1 "Inter", system-ui, sans-serif;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #1c1815;
}
.mobile-drawer-bucket-icon { font-size: 22px; line-height: 1; }
.mobile-drawer-bucket-items {
  list-style: none; padding: 0 22px 14px 22px; margin: 0;
  display: none;
  flex-direction: column; gap: 10px;
}
.mobile-drawer-bucket.is-open .mobile-drawer-bucket-items { display: flex; }
.mobile-drawer-bucket-items a {
  font-size: 14px; color: #1c1815; text-decoration: none;
}
.mobile-drawer-bucket-items a:hover { text-decoration: underline; }

/* ============================================================
   ASMIA MOBILE DRAWER — sub-list, secondary links, divider
   ============================================================ */
.mobile-drawer-divider { height: 12px; background: #faf7f1; border-bottom: 1px solid #e6e1d8; }
.mobile-drawer-link--secondary {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #6b6b6b !important;
  padding: 12px 22px !important;
}
.mobile-drawer-link--header {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #1c1815 !important;
  padding: 14px 22px 6px !important;
  border-bottom: 0 !important;
}
.mobile-drawer-sub-group { display: block; }
.mobile-drawer-sub-list {
  list-style: none;
  padding: 0 22px 14px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-drawer-sub-list a {
  font-size: 14px;
  color: #1c1815;
  text-decoration: none;
}
.mobile-drawer-sub-list a:hover { text-decoration: underline; }
.mobile-drawer-list--submenu .mobile-drawer-row { border-bottom: 1px solid #f0ebe2; }

/* ============== FBT (Frequently Bought Together) — PDP "Complete the look" ============== */
.ab-pdp-fbt {
  margin: 22px 0 18px;
  border: 1px solid var(--ab-hairline, #e6e1d8);
  border-radius: 6px;
  padding: 16px 18px;
  background: #fffaf0;
}
.ab-pdp-fbt-title {
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--ab-ink, #1c1815);
}
.ab-pdp-fbt-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 10px;
}
.ab-pdp-fbt-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0e8d8;
}
.ab-pdp-fbt-item:last-child { border-bottom: 0; }
.ab-pdp-fbt-thumb {
  display: block;
  width: 56px; height: 56px;
  border-radius: 4px; overflow: hidden;
  background: #f0eadd;
}
.ab-pdp-fbt-thumb-img,
.ab-pdp-fbt-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ab-pdp-fbt-body {
  min-width: 0;
  display: flex; flex-direction: column; gap: 3px;
}
.ab-pdp-fbt-name {
  font-size: 13px; font-weight: 500;
  color: var(--ab-ink, #1c1815);
  text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.3;
}
.ab-pdp-fbt-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.ab-pdp-fbt-meta {
  display: flex; gap: 10px; align-items: center;
  font-size: 11px; color: var(--ab-muted, #767676);
}
.ab-pdp-fbt-vendor { letter-spacing: 0.06em; text-transform: uppercase; }
.ab-pdp-fbt-price { font-weight: 600; color: var(--ab-ink, #1c1815); }
.ab-pdp-fbt-compare {
  margin-left: 6px;
  text-decoration: line-through;
  color: var(--ab-muted, #767676);
  font-weight: 400;
}
.ab-pdp-fbt-form { margin: 0; }
.ab-pdp-fbt-add {
  width: 32px; height: 32px;
  border: 1px solid var(--ab-ink, #1c1815);
  background: #fff;
  color: var(--ab-ink, #1c1815);
  border-radius: 50%;
  font-size: 18px; line-height: 1;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.ab-pdp-fbt-add:hover:not(:disabled) {
  background: var(--ab-ink, #1c1815);
  color: #fff;
  transform: scale(1.06);
}
.ab-pdp-fbt-add:disabled { opacity: 0.4; cursor: not-allowed; }

/* ============== WISHLIST PAGE ============== */
.asmia-wishlist-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 96px;
}
@media (min-width: 768px) {
  .asmia-wishlist-page { padding: 48px 32px 120px; }
}
.asmia-wishlist-head {
  text-align: center;
  margin-bottom: 28px;
}
.asmia-wishlist-title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 36px;
  margin: 0 0 6px;
  color: var(--ab-ink, #1c1815);
}
@media (min-width: 768px) {
  .asmia-wishlist-title { font-size: 48px; }
}
.asmia-wishlist-sub {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ab-muted, #767676);
  margin: 0;
}
.asmia-wishlist-empty {
  text-align: center;
  padding: 64px 16px;
}
.asmia-wishlist-empty p {
  font-size: 16px;
  color: var(--ab-muted, #767676);
  margin: 0 0 16px;
}
.asmia-wishlist-cta {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--ab-ink, #1c1815);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ab-ink, #1c1815);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.18s, color 0.18s;
}
.asmia-wishlist-cta:hover {
  background: var(--ab-ink, #1c1815);
  color: #fff;
}

/* ============== ALLBIRDS-STYLE MOBILE DRAWER (refined) ============== */
.mobile-drawer--allbirds {
  background: #efe8d8; /* cream */
  min-height: 100%;
  padding: 0;
}
.mobile-drawer--allbirds .mobile-drawer-list--primary {
  list-style: none;
  margin: 0;
  padding: 8px 24px 24px;
}
.mobile-drawer--allbirds .mobile-drawer-row {
  padding: 0;
  border: 0;
  margin: 0;
}
.mobile-drawer--allbirds .mobile-drawer-link,
.mobile-drawer--allbirds .mobile-drawer-link--has-children {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  background: transparent;
  border: 0;
  text-align: left;
  text-decoration: none;
  color: #1c1815;
  cursor: pointer;
  font: inherit;
}
.mobile-drawer--allbirds .mobile-drawer-row-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1c1815;
}
.mobile-drawer--allbirds .mobile-drawer-chevron--circle {
  display: inline-flex;
  width: 26px;
  height: 26px;
  color: #1c1815;
  flex-shrink: 0;
}
.mobile-drawer--allbirds .mobile-drawer-chevron--circle svg { width: 26px; height: 26px; }

/* Pill-shaped back button (Allbirds drilldown breadcrumb) */
.mobile-drawer--allbirds .mobile-drawer-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 16px 24px 12px;
  padding: 14px 22px;
  background: #ffffff;
  border: 0;
  border-radius: 999px;
  width: calc(100% - 48px);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1c1815;
  cursor: pointer;
  box-shadow: 0 0 0 1px #c7e0f5; /* Allbirds shows a faint blue ring */
}
.mobile-drawer--allbirds .mobile-drawer-back-arrow {
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
  position: absolute;
  left: 36px;
}
.mobile-drawer--allbirds .mobile-drawer-back { position: relative; }

/* Secondary links — separate white card at the bottom of the drawer */
.mobile-drawer-secondary-card {
  margin: 24px;
  padding: 22px 26px;
  background: #ffffff;
  border-radius: 4px;
}
.mobile-drawer-secondary-list {
  list-style: none;
  margin: 0; padding: 0;
}
.mobile-drawer-secondary-list li + li { margin-top: 18px; }
.mobile-drawer-secondary-list a {
  display: block;
  font-size: 15px;
  color: #1c1815;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.mobile-drawer-secondary-list a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Drilldown levels also get the cream bg + uppercase rows */
.mobile-drawer--allbirds [data-mobile-level] .mobile-drawer-list--submenu,
.mobile-drawer--allbirds [data-mobile-level] .mobile-drawer-list--designers {
  list-style: none;
  margin: 0;
  padding: 0 24px 24px;
}
.mobile-drawer--allbirds [data-mobile-level] .mobile-drawer-list--submenu .mobile-drawer-link {
  padding: 16px 0;
}
.mobile-drawer--allbirds [data-mobile-level] .mobile-drawer-list--submenu .mobile-drawer-row-text,
.mobile-drawer--allbirds [data-mobile-level="root"] ~ [data-mobile-level] .mobile-drawer-link {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 15px;
}

/* Allbirds-style sticky header pill stays clean inside the drawer */
.asmia-aside-header {
  background: #efe8d8;
  border-bottom: 0;
}

/* ============== HEADER MOBILE TABS RESTORED (Allbirds-style horizontal scroll) ============== */
.header-mobile-tabs {
  display: none;
}
@media (max-width: 767px) {
  .header-mobile-tabs {
    display: flex;
    gap: 22px;
    padding: 14px 22px 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    background: transparent;
  }
  .header-mobile-tabs::-webkit-scrollbar { display: none; }
  .header-mobile-tab {
    flex: 0 0 auto;
    color: #1c1815;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 4px 0;
    white-space: nowrap;
  }
}

/* ============== ALLBIRDS DESKTOP HEADER (refined sizing + secondary links) ============== */
@media (min-width: 768px) {
  /* Bigger Allbirds-scale nav items */
  .header-menu-desktop {
    display: flex;
    gap: 38px;
    align-items: center;
  }
  .header-menu-item {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 0;
    color: #1c1815;
  }
  .header-menu-item::after {
    bottom: 4px;
    height: 2px;
  }

  /* Secondary text links (About / Stories / etc.) — sit before the icons */
  .header-secondary-links {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-right: 6px;
  }
  .header-secondary-link {
    font-size: 13px;
    font-weight: 500;
    color: #1c1815;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: opacity 0.15s;
  }
  .header-secondary-link:hover { opacity: 0.65; text-decoration: underline; text-underline-offset: 3px; }
}
@media (max-width: 767px) {
  /* Hide secondary text links on mobile (they live in the drawer instead) */
  .header-secondary-links { display: none; }
}

/* Wordmark sizing — Allbirds-style cursive feel via larger size on desktop */
@media (min-width: 768px) {
  .header-logo-text {
    font-size: 26px;
    line-height: 1;
    letter-spacing: -0.01em;
  }
}

/* ============== ALLBIRDS-STYLE MEGA-MENU HERO RAIL ============== */
/* Desktop: when present, mega panel becomes [columns 1fr | hero-rail auto] */
.header-mega-inner--with-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 580px);
  gap: 32px;
  align-items: stretch;
}
@media (max-width: 1100px) {
  .header-mega-inner--with-hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    gap: 20px;
  }
}

/* Common hero shell */
.header-mega-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  min-height: 0;
}
.header-mega-hero--mobile {
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0 24px 16px;
}
.header-mega-hero-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}
.header-mega-hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Card */
.header-mega-hero-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #efe8d8;
  text-decoration: none;
  isolation: isolate;
  aspect-ratio: 4/5;
}
.header-mega-hero-card--big { aspect-ratio: 4/5; }
.header-mega-hero-card--sm  { aspect-ratio: 4/3; }
.header-mega-hero-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.header-mega-hero-card:hover img { transform: scale(1.04); }

/* Label overlay */
.header-mega-hero-label {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-shadow: 0 1px 4px rgba(0,0,0,0.18);
  max-width: 80%;
}
.header-mega-hero-label--sm {
  font-size: 18px;
  left: 16px;
  bottom: 14px;
}

/* Mobile drawer hero — slightly tighter spacing */
.mobile-drawer--allbirds .header-mega-hero {
  margin: 4px 0 16px;
}
.mobile-drawer--allbirds .header-mega-hero-card { aspect-ratio: 16/9; }
.mobile-drawer--allbirds .header-mega-hero-card--sm { aspect-ratio: 1/1; }
.mobile-drawer--allbirds .header-mega-hero-label { font-size: 22px; left: 18px; bottom: 18px; }
.mobile-drawer--allbirds .header-mega-hero-label--sm { font-size: 14px; }

/* ============== ACTIVE FILTER CHIPS (Allbirds-style) ============== */
.ab-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 16px;
  margin: -8px 0 8px;
}
.ab-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 16px;
  background: #ffffff;
  border: 1px solid #d8d4cc;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #1c1815;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
  white-space: nowrap;
  line-height: 1.4;
}
.ab-filter-chip:hover {
  background: #1c1815;
  border-color: #1c1815;
  color: #ffffff;
}
.ab-filter-chip-x {
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  margin-top: -1px;
}
.ab-filter-chip--clear {
  background: transparent;
  border-color: transparent;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #767676;
  padding-left: 4px;
}
.ab-filter-chip--clear:hover {
  background: transparent;
  color: #1c1815;
  text-decoration: underline;
  text-underline-offset: 4px;
  border-color: transparent;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
@media (max-width: 767px) {
  .ab-filter-chips { padding: 0 0 12px; }
}

/* =========================================================
   ALLBIRDS 1:1 — Collection hero, breadcrumb, FILTER & SORT pill,
   tinted product tiles, Load More button, split-circle swatches,
   crossed-out unavailable size cells.
   ========================================================= */

/* HERO BANNER WITH OVERLAY TITLE */
.ab-collection-banner.ab-collection-banner--titled {
  position: relative;
  margin: 0 -16px 0;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #1c1815;
}
@media (min-width: 768px) {
  .ab-collection-banner.ab-collection-banner--titled { margin: 0 -32px 0; aspect-ratio: 24/9; }
}
.ab-collection-banner.ab-collection-banner--titled img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.ab-collection-banner-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 24px 36px;
  background: linear-gradient(to top, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.18) 50%, rgba(0,0,0,0) 100%);
}
.ab-collection-banner-title {
  color: #fff;
  font-family: var(--asmia-serif, Georgia, "Times New Roman", serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
}
@media (min-width: 768px) { .ab-collection-banner-title { font-size: 56px; padding: 0 56px; } }

/* BREADCRUMB */
.ab-breadcrumb,
.ab-pdp-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  padding: 18px 0 14px;
  font-size: 13px; color: #6b5f52;
  letter-spacing: 0.02em;
  flex-wrap: wrap;
}
.ab-breadcrumb a,
.ab-pdp-breadcrumb a { color: #6b5f52; text-decoration: none; }
.ab-breadcrumb a:hover,
.ab-pdp-breadcrumb a:hover { color: #1c1815; text-decoration: underline; text-underline-offset: 3px; }
.ab-breadcrumb [aria-current="page"],
.ab-pdp-breadcrumb [aria-current="page"] { color: #1c1815; font-weight: 500; }
.ab-collection-desc {
  font-size: 14px; color: #6b5f52; line-height: 1.55; margin: 0 0 18px; max-width: 720px;
}

/* FILTER AND SORT PILL (Allbirds-style) */
.ab-collection-toolbar.ab-collection-toolbar--allbirds {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  /* Sticky pin under the header. iOS-safe with -webkit-sticky. */
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 25;
  background: var(--ab-cream, #faf7f1);
  border-bottom: 1px solid #ece8e1;
  margin: 0 -16px 0;
  /* Force composite layer on iOS so sticky doesn't flicker on scroll-up */
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  will-change: transform;
}
@media (min-width: 768px) {
  .ab-collection-toolbar.ab-collection-toolbar--allbirds { margin: 0 -32px; padding: 14px 32px; }
}
.ab-fs-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border: 1px solid #1c1815;
  background: #faf7f1;
  border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  color: #1c1815; cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease;
}
.ab-fs-pill:hover { background: #1c1815; color: #fff; }
.ab-fs-pill .ab-fs-pill-caret { display: inline-flex; align-items: center; }
.ab-fs-pill[aria-expanded="true"] { background: #1c1815; color: #fff; }
.ab-collection-toolbar--allbirds .ab-product-count {
  font-size: 12px; letter-spacing: 0.12em; color: #6b5f52; text-transform: uppercase;
  margin-left: auto;
}

/* FILTER PANEL — convert to slide-in for ALL viewports */
.ab-collection .ab-filter-backdrop {
  display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.ab-collection .ab-filter-backdrop.is-open { opacity: 1; pointer-events: auto; }
.ab-collection .ab-filter-panel {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: min(420px, 90vw); max-width: 100vw;
  background: #faf7f1; z-index: 100;
  transform: translateX(-100%); transition: transform 0.28s cubic-bezier(.2,.7,.2,1);
  display: flex; flex-direction: column;
  padding: 0;
  overflow-y: auto;
  grid-template-columns: 1fr;
  gap: 0;
}
.ab-collection .ab-filter-panel.is-open { transform: translateX(0); }
.ab-collection .ab-filter-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #ece8e1;
  font-size: 16px; font-weight: 600; letter-spacing: 0.04em;
  position: sticky; top: 0; background: #faf7f1; z-index: 2;
}
.ab-collection .ab-filter-close { background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; padding: 0 4px; }
.ab-collection .ab-filter-panel form { padding: 8px 24px 100px; display: block; }
.ab-collection .ab-filter-group { border-bottom: 1px solid #ece8e1; padding: 8px 0; }
.ab-collection .ab-filter-group summary {
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.ab-collection .ab-filter-group summary::after { content: '+'; font-size: 18px; font-weight: 400; transition: transform 0.2s; }
.ab-collection .ab-filter-group[open] summary::after { content: '−'; }
.ab-filter-options--sort .ab-filter-opt--sort {
  display: flex; gap: 12px; padding: 10px 4px; cursor: pointer; font-size: 14px;
}
.ab-filter-options--sort .ab-filter-opt--sort input { accent-color: #1c1815; }
.ab-filter-panel-foot {
  position: sticky; bottom: 0; background: #faf7f1; padding: 14px 24px 20px;
  display: flex; gap: 12px; border-top: 1px solid #ece8e1; margin: 0 -24px;
}
.ab-collection .ab-filter-clear {
  display: inline-flex; align-items: center; padding: 14px 22px;
  border: 1px solid #1c1815; background: #faf7f1; color: #1c1815;
  border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-decoration: none; cursor: pointer; flex: 1; justify-content: center;
}
.ab-collection .ab-filter-apply {
  flex: 2; padding: 14px 22px; background: #1c1815; color: #fff;
  border: 1px solid #1c1815; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; cursor: pointer;
}
.ab-collection .ab-filter-apply:hover { background: #000; }

/* TINTED PRODUCT TILES */
.ab-products-grid--allbirds { grid-template-columns: repeat(2, 1fr) !important; gap: 12px 12px !important; padding: 20px 0 32px; }
@media (min-width: 768px) { .ab-products-grid--allbirds { grid-template-columns: repeat(3, 1fr) !important; gap: 16px !important; } }
@media (min-width: 1100px) { .ab-products-grid--allbirds { grid-template-columns: repeat(4, 1fr) !important; gap: 20px !important; } }

.ab-card--tinted { display: block; position: relative; overflow: hidden; border-radius: 8px; background: var(--ab-tile-bg, #f0ece2); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.ab-card--tinted:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,0.08); }
.ab-card--tinted .ab-card-img {
  background: transparent !important;
  aspect-ratio: 4/5 !important;
  border-radius: 0;
  overflow: visible;
}
.ab-card--tinted .ab-card-img-primary,
.ab-card--tinted .ab-card-img-hover { object-fit: cover; mix-blend-mode: normal; }
.ab-card--tinted .ab-card-info { padding: 12px 16px 14px; }
.ab-card--tinted .ab-card-title {
  color: #1c1815; font-size: 13px; font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase; line-height: 1.25; margin: 0 0 4px;
  white-space: normal;
}
.ab-card--tinted .ab-card-color { color: #5a4f43; font-size: 13px; margin: 0 0 4px; }
.ab-card--tinted .ab-card-vendor { color: #5a4f43; }
.ab-card--tinted .ab-card-price { color: #1c1815; font-size: 14px; font-weight: 600; gap: 8px; }
.ab-card--tinted .ab-card-compare { color: #8a7a66; }
.ab-card--tinted .asmia-wish { background: rgba(255,255,255,0.92); }
/* When tile is explicitly dark via metafield, opt-in light text */
.ab-card--tinted.ab-card--dark .ab-card-title,
.ab-card--tinted.ab-card--dark .ab-card-price { color: #fff; }
.ab-card--tinted.ab-card--dark .ab-card-color,
.ab-card--tinted.ab-card--dark .ab-card-vendor { color: rgba(255,255,255,0.88); }
.ab-card--tinted.ab-card--dark .ab-card-compare { color: rgba(255,255,255,0.62); }

/* PANTONE COLOR badge */
.ab-card-pill--pantone {
  background: #faf7f1 !important; color: #1c1815 !important; font-weight: 700; padding: 7px 14px; letter-spacing: 0.16em;
}

/* ATC + Buy Now reveal — Allbirds-style hover-reveal on desktop,
   ALWAYS-visible inline buttons on mobile (per merchant request
   2026-05-11) so customers can convert directly from the collection
   grid without an extra tap to the PDP. */
.ab-card-actions {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; gap: 8px; align-items: stretch; justify-content: stretch;
  z-index: 4;
  opacity: 0; pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  transform: translateY(8px);
}
.ab-card-atc,
.ab-card-buynow {
  flex: 1 1 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 0; cursor: pointer;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  font-family: inherit;
}
.ab-card-atc {
  background: rgba(255,255,255,0.96);
  color: #1c1815;
}
.ab-card-buynow {
  background: #1c1815;
  color: #fff;
}
.ab-card-atc:disabled,
.ab-card-buynow:disabled {
  background: rgba(255,255,255,0.65);
  color: rgba(28,24,21,0.5);
  cursor: not-allowed;
}
.ab-card-atc.is-busy,
.ab-card-buynow.is-busy { opacity: 0.65; }
.ab-card-atc.is-added { background: #1c1815; color: #fff; }
@media (hover: hover) {
  .ab-card--tinted:hover .ab-card-actions { opacity: 1; pointer-events: auto; transform: translateY(0); }
}
@media (max-width: 767px) {
  /* Mobile: show inline action row inside the info area instead of
     hover-reveal overlay so customers can tap ADD TO CART / BUY NOW
     without needing a hover state. */
  .ab-card-actions {
    position: static;
    opacity: 1; pointer-events: auto; transform: none;
    margin: 10px 12px 12px;
    left: auto; right: auto; bottom: auto;
  }
  .ab-card-atc,
  .ab-card-buynow {
    padding: 10px 8px;
    font-size: 10px; letter-spacing: 0.12em;
  }
  .ab-card-atc svg { display: none; }  /* save horizontal room on narrow phones */
}

/* QUICK VIEW button — small icon top-right of image, visible on hover (desktop) / always (mobile) */
.ab-card-quickview {
  position: absolute; top: 12px; right: 50px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: #1c1815;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.18s ease, background 0.15s;
}
.ab-card-quickview:hover { background: #fff; }
@media (hover: hover) {
  .ab-card--tinted:hover .ab-card-quickview { opacity: 1; }
}
@media (max-width: 767px) {
  .ab-card-quickview { opacity: 1; }
}

/* QUICK VIEW MODAL */
.ab-qv-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 16px;
}
.ab-qv-overlay.is-open { display: flex; }
.ab-qv-modal {
  background: #faf7f1;
  border-radius: 12px;
  width: 100%; max-width: 920px;
  max-height: 90vh; overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 768px) {
  .ab-qv-modal { grid-template-columns: 1fr 1fr; }
}
.ab-qv-close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%; background: #fff; border: 0; cursor: pointer;
  font-size: 22px; line-height: 1;
  z-index: 5;
  display: inline-flex; align-items: center; justify-content: center;
}
.ab-qv-img { aspect-ratio: 4/5; background: #ece8e1; }
.ab-qv-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-qv-info { padding: 28px 24px; }
.ab-qv-title { font-family: var(--asmia-serif, Georgia, serif); font-size: 24px; font-weight: 400; margin: 0 0 6px; color: #1c1815; }
.ab-qv-vendor { font-size: 13px; color: #6b5f52; margin: 0 0 18px; letter-spacing: 0.04em; }
.ab-qv-price { font-size: 18px; font-weight: 600; color: #1c1815; margin: 0 0 22px; display: flex; gap: 10px; align-items: baseline; }
.ab-qv-price s { color: #8a7a66; font-weight: 400; }
.ab-qv-options { margin: 0 0 16px; }
.ab-qv-options-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #6b5f52; margin: 0 0 8px; display: block; }
.ab-qv-options-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.ab-qv-option {
  padding: 8px 16px; border: 1px solid #cdc6bb; background: #fff;
  border-radius: 6px; cursor: pointer; font-size: 13px; color: #1c1815;
  font-family: inherit;
}
.ab-qv-option.is-selected { border-color: #1c1815; border-width: 2px; padding: 7px 15px; }
.ab-qv-option.is-unavail { color: #cdc6bb; cursor: not-allowed; position: relative; }
.ab-qv-option.is-unavail::before {
  content: ''; position: absolute; inset: 50% 8px auto;
  border-top: 1px solid #cdc6bb; transform: rotate(-15deg);
}
.ab-qv-cta {
  width: 100%; padding: 16px;
  background: #1c1815; color: #fff; border: 0; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; cursor: pointer;
  margin-top: 18px; font-family: inherit;
}
.ab-qv-cta:disabled { background: #ece8e1; color: #8a7a66; cursor: not-allowed; }
.ab-qv-cta.is-added { background: #2d5a3a; }
.ab-qv-viewdetails { display: block; text-align: center; margin-top: 14px; font-size: 12px; color: #6b5f52; text-decoration: underline; text-underline-offset: 4px; letter-spacing: 0.06em; }

/* LOAD MORE BUTTON */
.ab-loadmore-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 36px 0 60px; }
.ab-loadmore-progress { font-size: 12px; color: #6b5f52; letter-spacing: 0.06em; margin: 0; }
.ab-loadmore-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 40px;
  border: 1px solid #1c1815; background: #faf7f1; color: #1c1815;
  border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer; transition: background 0.15s, color 0.15s;
}
.ab-loadmore-btn:hover { background: #1c1815; color: #fff; }
.ab-loadmore-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.ab-loadmore-btn.is-loading { opacity: 0.7; }

/* ========== PDP — split-circle color swatches + crossed-out sizes ========== */
.ab-color-grid { gap: 10px !important; }
.ab-color-grid .product-options-item { width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 2px solid transparent; background: transparent; }
.ab-color-grid .product-options-item.is-selected { border-color: #1c1815; }
.ab-color-grid .product-options-item .ab-color-swatch {
  display: block; width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ab-c1, #ddd) 0 50%, var(--ab-c2, #f3ece0) 50% 100%);
  border: 1px solid rgba(0,0,0,0.12);
}

/* Allbirds size grid: clean 6-column boxes */
.ab-size-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}
.ab-size-grid .product-options-item {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 64px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid #cdc6bb;
  background: #fff;
  font-size: 14px; font-weight: 500;
  color: #1c1815;
  cursor: pointer;
  border-radius: 4px;
  position: relative;
  font-family: inherit;
  white-space: nowrap;
  transition: border-color 0.15s, background 0.15s;
}
.ab-size-grid .product-options-item:hover { border-color: #1c1815; }
.ab-size-grid .product-options-item.is-selected { border-color: #1c1815; border-width: 2px; background: #faf7f1; }
.ab-size-grid .product-options-item.is-unavailable {
  color: #cdc6bb; cursor: not-allowed;
  background: #fff;
  pointer-events: none;
}
.ab-size-grid .product-options-item.is-unavailable::before {
  content: ''; position: absolute; left: 0; right: 0; top: 50%;
  border-top: 1px solid #cdc6bb;
  transform: rotate(-22deg);
}

/* PDP SELECT-A-SIZE button state */
.product-cta-btn[disabled],
.product-cta-btn[aria-disabled="true"] {
  background: #ece8e1 !important;
  color: #8a7a66 !important;
  cursor: not-allowed;
  border-color: #ece8e1;
}
.product-cta-btn[disabled]:hover,
.product-cta-btn[aria-disabled="true"]:hover { background: #ece8e1 !important; }


/* =========================================================
   RECENTLY VIEWED — PDP track reuses .ab-recs styles. Cart drawer
   gets a compact horizontal-scroll list.
   ========================================================= */
.ab-rv-cart {
  border-top: 1px solid #ece8e1;
  padding: 18px 16px 24px;
}
.ab-rv-cart-title {
  margin: 0 0 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: #6b5f52;
}
.ab-rv-cart-track {
  display: flex; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.ab-rv-cart-track::-webkit-scrollbar { height: 4px; }
.ab-rv-cart-track::-webkit-scrollbar-thumb { background: #cdc6bb; border-radius: 2px; }
.ab-rv-cart-card {
  flex: 0 0 130px; scroll-snap-align: start;
  text-decoration: none; color: inherit;
  display: block;
}
.ab-rv-cart-img { aspect-ratio: 4/5; background: #ece8e1; border-radius: 4px; overflow: hidden; }
.ab-rv-cart-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-rv-cart-info { padding-top: 6px; }
.ab-rv-cart-t { font-size: 11px; font-weight: 600; color: #1c1815; line-height: 1.2; max-height: 2.6em; overflow: hidden; }
.ab-rv-cart-p { font-size: 11px; color: #1c1815; margin-top: 3px; }
.ab-rv-cart-p s { color: #8a7a66; margin-left: 4px; }

/* PDP recently viewed — render as small flat tiles (not full tinted cards) */
.ab-rv-pdp-card {
  flex: 0 0 200px; scroll-snap-align: start;
  background: #faf7f1 !important;
}
.ab-rv-pdp-card .ab-card-title { color: #1c1815 !important; font-size: 12px !important; }
.ab-rv-pdp-card .ab-card-price { color: #1c1815 !important; }
@media (min-width: 768px) {
  .ab-rv-pdp-card { flex: 0 0 240px; }
}


/* =========================================================
   PDP STICKY MINI-BAR — appears at bottom of viewport when the
   main "Add to cart" button has scrolled out of view. Mobile-only.
   ========================================================= */
.ab-pdp-sticky-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1px solid #ece8e1;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
  z-index: 60;
  padding: 10px 12px;
  display: block;
}
.ab-pdp-sticky-bar[hidden] { display: none !important; }
.ab-pdp-sticky-bar-inner {
  display: flex; align-items: center; gap: 10px;
  max-width: 100%;
}
.ab-pdp-sticky-bar-thumb { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 6px; overflow: hidden; background: #f3ece0; }
.ab-pdp-sticky-bar-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-pdp-sticky-bar-info { flex: 1 1 auto; min-width: 0; }
.ab-pdp-sticky-bar-title {
  font-size: 12px; font-weight: 600; color: #1c1815;
  text-transform: uppercase; letter-spacing: 0.04em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ab-pdp-sticky-bar-price { font-size: 12px; color: #5a4f43; margin-top: 2px; }
.ab-pdp-sticky-bar-cta {
  flex: 0 0 auto;
  padding: 11px 18px;
  background: #1c1815; color: #fff;
  border: 0; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.ab-pdp-sticky-bar-cta:hover { background: #000; }
@media (min-width: 768px) {
  /* Desktop has its own ATC visible always; no need for the mini bar */
  .ab-pdp-sticky-bar { display: none !important; }
}
/* Avoid the sticky bar covering the bottom of the page content */
@media (max-width: 767px) {
  body { padding-bottom: 70px; }
}
