/* Shared color palette for the public storefront. */
.storefront {
  --mn-ink: #191817;
  --mn-muted: #625d57;
  --mn-accent: #884724;
  --mn-paper: #f8f7f5;
  --mn-white: #fff;
  --mn-line: #e5e0da;
  --mn-soft: #f2efeb;
  --mn-dark: #0d0d0d;
  --paper: var(--mn-paper);
  --ink: var(--mn-ink);
  --muted: var(--mn-muted);
  --line: var(--mn-line);
  --brand: var(--mn-accent);
  --brand-soft: var(--mn-soft);
  --text-main: var(--mn-ink);
  --text-secondary: var(--mn-muted);
  --border-soft: var(--mn-line);
  background: var(--mn-paper);
  color: var(--mn-ink);
}
.storefront :is(.catalog-heading h2,.page-heading,.product h3,.product h3 button,.product-price strong,.detail-info h1,.detail-price,.quick-info h2,.quick-info .detail-price,.sheet-inner h2,.account-intro h2,.summary h2,.empty h2,.customer-section-heading,.customer-order h2,.summary-row.total>span:last-child) {
  color: var(--mn-ink);
}
.storefront :is(.catalog-heading p,.catalog-meta,.product .product-category,.product .product-type,.variant-row>span,.product-price small,.package-price,.detail-unit,.page .small,.detail-info p,.empty p,.sheet-inner label,.close,.account-menu button,.breadcrumb,.info-row,.summary-row,.cart-item .item-info,.catalog-search-result-heading>span,.catalog-search-empty p) {
  color: var(--mn-muted);
}
.storefront :is(.package-price b,.text-link,.eyebrow,.detail-info>.eyebrow,.sheet-inner .eyebrow,.quick-info .eyebrow) { color: var(--mn-accent); }
.storefront :is(.product,.toolbar,.quick-panel,.sheet-inner,.customer-order,.catalog-search-header,.catalog-search-categories,.activity-preferences) {
  background-color: var(--mn-white);
  border-color: var(--mn-line);
}
.storefront :is(.toolbar .search,.toolbar select,.catalog-search-input-wrap,.product .series-note,.product .product-code,.placeholder-heading,.placeholder-toolbar,.placeholder-photo,.placeholder-lines i) {
  background: var(--mn-soft);
  border-color: var(--mn-line);
  color: var(--mn-ink);
}
.storefront :is(.search input,.catalog-search-input-wrap input,.field) { color: var(--mn-ink); }
.storefront :is(.search input,.catalog-search-input-wrap input,.field)::placeholder { color: var(--mn-muted); }
.storefront :is(.field,.qty,.pay-option,.color-buttons button,.quick-info .color-buttons button) {
  background-color: var(--mn-white);
  border-color: var(--mn-line);
  color: var(--mn-muted);
}
.storefront :is(.account-intro,.summary,.detail .series-table) {
  background: var(--mn-soft) !important;
  border-color: var(--mn-line) !important;
}
.storefront :is(.detail .series-table div,.detail .series-table b) { color: var(--mn-ink); }
.storefront :is(.category-tabs button,.catalog-search-categories button,.variant-row button) {
  background: var(--mn-white);
  border-color: var(--mn-line);
  color: var(--mn-muted);
}
.storefront :is(.category-tabs button.active,.category-tabs button.active:hover,.catalog-search-categories button[aria-pressed="true"],.color-buttons button.active,.quick-info .color-buttons button.active,.pay-option:has(input:checked),.variant-row button:hover) {
  background: var(--mn-soft);
  border-color: #c9bcb0;
  color: var(--mn-ink);
}
.storefront .variant-row button>span { color: var(--mn-accent); }
.storefront :is(.hero .primary,.card-bottom button,.buy-row .primary,.summary .primary,.quick-info>.primary,.checkout form>.primary,.account-intro .primary,.sheet-inner .primary,.empty .primary,.storefront-auth .primary) {
  background: var(--mn-ink);
  border-color: var(--mn-ink);
  color: var(--mn-white);
  box-shadow: none;
}
.storefront :is(.hero .primary,.card-bottom button,.buy-row .primary,.summary .primary,.quick-info>.primary,.checkout form>.primary,.account-intro .primary,.sheet-inner .primary,.empty .primary,.storefront-auth .primary):hover {
  background: #34312e;
  border-color: #34312e;
  color: var(--mn-white);
  box-shadow: none;
}
.storefront :is(.favorite,.gallery-arrow,.gallery-previews button) { color: var(--mn-muted); }
.storefront .favorite.on { background: var(--mn-soft); border-color: var(--mn-line); color: var(--mn-accent); }
.storefront .favorite.on svg { fill: var(--mn-accent); }
.storefront :is(.badge,.toast) { background: var(--mn-ink); color: var(--mn-white); }
.storefront .toast { border-left-color: var(--mn-accent); }
.storefront :is(.catalog-search-layer,.quick-photo.swipe-gallery) { background: var(--mn-paper); }
.storefront :is(.search,.catalog-search-input-wrap):focus-within { border-color: var(--mn-accent); box-shadow: none; }
.storefront :is(button,a,input,select,textarea,summary):focus-visible { outline-color: var(--mn-accent); }
.storefront .hero { background: var(--mn-dark); border-color: var(--mn-line); }
.storefront .hero .hero-copy { background: var(--mn-dark); }
.storefront .hero h1 { color: var(--mn-white); }
.storefront .hero .hero-copy p { color: #e4ded8; }
.storefront .hero .hero-copy .eyebrow { color: #f3e9df; background: #ffffff14; border-color: #ffffff40; }
.storefront .hero .hero-photo::after { background: linear-gradient(90deg,#0d0d0d,transparent 30%); }
.storefront .hero .primary { background: var(--mn-white); border-color: var(--mn-white); color: var(--mn-ink); }
@media (max-width: 650px) {
  .storefront .hero .hero-copy { background: transparent; }
  .storefront .hero .hero-photo::after { background: linear-gradient(90deg,#0d0d0df2,#0d0d0d88 50%,#0d0d0d18); }
}

.storefront-policy :is(main,.card) {
  background: var(--mn-white);
  border-color: var(--mn-line);
}
.storefront-policy :is(a,.version,.note) { color: var(--mn-accent); }
.storefront-policy .primary { background: var(--mn-ink); color: var(--mn-white); }
.storefront-policy img[src="/assets/my-minnos-logo.png"] { filter: brightness(0); }

.storefront .card-color-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.storefront .card-color-track::-webkit-scrollbar { display: none; }
.storefront .card-color-track > .photo-main {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--mn-soft);
}
.storefront .card-color-track img:not([src]) { visibility: hidden; }
.storefront .card-color-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 44px;
  padding: 0;
  color: #fff;
}
.storefront .card-color-arrow::before {
  content: "";
  grid-area: 1 / 1;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #191817a8;
}
.storefront .card-color-arrow svg {
  grid-area: 1 / 1;
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.storefront .card-color-arrow.previous { left: 2px; }
.storefront .card-color-arrow.next { right: 2px; }
.storefront .card-color-arrow.next svg { transform: rotate(180deg); }
.storefront .card-color-arrow:disabled { visibility: hidden; }
.storefront .card-color-dots {
  position: absolute;
  left: 9px;
  bottom: 9px;
  display: flex;
  align-items: center;
  gap: 3px;
  max-width: 48%;
  padding: 5px 6px;
  border-radius: 20px;
  background: #1918179e;
  pointer-events: none;
}
.storefront .card-color-dots i {
  width: 4px;
  height: 4px;
  border-radius: 10px;
  background: #ffffff80;
}
.storefront .card-color-dots i.active { width: 9px; background: #fff; }
.storefront .product .product-color-count {
  position: absolute;
  right: 9px;
  bottom: 9px;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 4px 6px;
  border-radius: 999px;
  background: #ffffffd9;
  color: #000;
  box-shadow: 0 2px 8px #0004;
  font-size: 9px;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
}
.storefront .product-color-count b { font-weight: 600; }

.storefront .product[data-product-id] .product-copy { padding: 12px; gap: 7px; }
.storefront .product[data-product-id] .product-type { min-height: 0; gap: 5px; }
.storefront .product[data-product-id] .product-copy h3 {
  min-height: 0;
  max-height: 2.8em;
  line-height: 1.4;
}
.storefront .product[data-product-id] .product-copy h3 button { padding: 0; }
.storefront .product[data-product-id] .product-copy .series-note { min-height: 0; padding: 4px 7px; }
.storefront .product[data-product-id] .product-copy .product-price { min-height: 0; padding-top: 6px; }
.storefront .product[data-product-id] .product-copy .package-price { margin-top: 2px; }
.storefront .product[data-product-id] .product-copy .variant-row > button { min-height: 32px; padding: 5px; }
.storefront .product[data-product-id] .product-copy .card-bottom button { min-height: 36px; padding: 6px; }
@media (max-width: 550px) {
  .storefront .product[data-product-id] .product-copy { padding: 8px; gap: 6px; }
}

.storefront .quick-info .color-buttons { gap: 5px; }
.storefront .quick-info .color-buttons button {
  min-height: 32px;
  padding: 4px 8px;
  gap: 5px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.storefront .quick-info .color-buttons button i { width: 9px; height: 9px; flex: 0 0 9px; }
.storefront .quick-info .color-buttons button.active { border-color: var(--mn-ink); box-shadow: none; }
@media (pointer: coarse) {
  .storefront .quick-info .color-buttons button { min-height: 36px; }
}

.storefront .quick-panel :is(.close, .gallery-arrow) {
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mn-ink);
  box-shadow: none;
}
.storefront .quick-panel :is(.close, .gallery-arrow)::before {
  content: "";
  grid-area: 1 / 1;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffffe0;
  box-shadow: 0 1px 5px #0002;
}
.storefront .quick-panel :is(.close, .gallery-arrow) svg {
  grid-area: 1 / 1;
  z-index: 1;
  width: 14px;
  height: 14px;
  stroke-width: 1.5;
}
.storefront .quick-panel .close { top: 5px; right: 5px; }
.storefront .quick-panel .gallery-arrow.previous { left: 4px; }
.storefront .quick-panel .gallery-arrow.next { right: 4px; }

body:has(.whatsapp-dialog[open]) { overflow: hidden; }
.whatsapp-dialog {
  width: min(420px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--mn-white);
  color: var(--mn-ink);
  box-shadow: 0 18px 65px #0005;
}
.whatsapp-dialog::backdrop { background: #19181780; backdrop-filter: blur(3px); }
.whatsapp-dialog-header {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 24px;
  background: var(--mn-dark);
  color: #fff;
}
.whatsapp-dialog-brand { font-size: 10px; letter-spacing: .18em; color: #c9c4bd; }
.whatsapp-dialog-header h2 { margin: 0; font-size: clamp(20px, 5vw, 25px); font-weight: 600; }
.whatsapp-dialog svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.whatsapp-dialog-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1c3428;
  color: #9fe2b3;
}
.whatsapp-dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
}
.whatsapp-dialog-close svg { width: 16px; height: 16px; }
.whatsapp-dialog-close:focus-visible { outline-color: #fff; }
.whatsapp-dialog-content { padding: 20px 24px 24px; }
.whatsapp-dialog-content p { margin: 0 0 13px; color: var(--mn-muted); font-size: 13px; line-height: 1.5; }
.whatsapp-dialog-product {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--mn-soft);
  overflow-wrap: anywhere;
}
.whatsapp-dialog-product span { font-size: 9px; letter-spacing: .12em; color: var(--mn-muted); }
.whatsapp-dialog-product strong { font-size: 12px; }
.whatsapp-dialog-lines { display: grid; gap: 8px; }
.whatsapp-dialog-lines a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  padding: 9px 12px;
  border: 1px solid var(--mn-line);
  border-radius: 9px;
  color: var(--mn-ink);
  text-decoration: none;
}
.whatsapp-dialog-lines a:hover { background: var(--mn-soft); }
.whatsapp-dialog-lines a > svg:first-child { color: #306746; }
.whatsapp-dialog-lines strong, .whatsapp-dialog-lines small { display: block; }
.whatsapp-dialog-lines strong { font-size: 12px; }
.whatsapp-dialog-lines small { margin-top: 3px; color: var(--mn-muted); font-size: 11px; }
.whatsapp-dialog-lines .whatsapp-dialog-arrow { width: 14px; height: 14px; }

.storefront .favorites-export-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin-left: auto;
}
.storefront .favorites-export-controls :is(a,button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 11px;
  border: 1px solid var(--mn-line);
  border-radius: 8px;
  background: var(--mn-white);
  color: var(--mn-ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}
.storefront .favorites-export-controls a { background: var(--mn-ink); color: var(--mn-white); }
.storefront .favorites-export-controls [hidden] { display: none; }
.storefront .favorites-export-controls :is([aria-disabled="true"],:disabled) { opacity: .55; cursor: default; }
.storefront .favorites-export-controls [role="status"]:not(:empty) {
  flex-basis: 100%;
  text-align: right;
  color: var(--mn-muted);
}

.storefront #main:has(> .fashion-hero) { width: 100%; max-width: none; }
.storefront #main:has(> .fashion-hero) > #catalog {
  width: calc(100% - clamp(24px,5vw,80px));
  max-width: 1320px;
  margin-inline: auto;
}
.storefront .fashion-hero {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 5;
  margin: 0;
  display: grid;
  align-items: center;
  isolation: isolate;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}
.storefront .fashion-hero::after { display: none; }
.storefront .fashion-hero .hero-copy {
  position: relative;
  z-index: 2;
  width: min(54%, 690px);
  height: 100%;
  padding: 14px clamp(18px, 6vw, 95px) 35px;
  background: transparent;
}
.storefront .fashion-hero .hero-copy::after { display: none; }
.storefront .fashion-hero h1 {
  font: 400 clamp(25px, 4.4vw, 65px)/1.03 Georgia, serif;
  letter-spacing: -.045em;
  margin: 9px 0;
}
.storefront .fashion-hero .hero-copy .eyebrow {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  letter-spacing: .18em;
}
.storefront .fashion-hero .hero-copy .eyebrow::before { display: none; }
.storefront .fashion-hero .hero-photo,
.storefront .fashion-hero .banner-photo.first {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
}
.storefront .fashion-hero .banner-photo.first img { object-fit: cover; object-position: center 34%; }
.storefront .fashion-hero .hero-photo::after { background: linear-gradient(90deg,#111d,#1118 39%,transparent 73%); }
.storefront .fashion-hero .primary {
  border-radius: 0;
  margin-top: 12px;
  min-height: 38px;
  padding: 7px 13px;
}
.storefront .fashion-hero .hero-controls { right: auto; left: clamp(18px, 6vw, 95px); bottom: 5px; }
.storefront .fashion-hero .hero-controls button { min-width: 24px; min-height: 27px; }
.storefront .fashion-hero .hero-controls i { background: #ffffff65; }
.storefront .fashion-hero .hero-controls .active i { background: #fff; }
@media(max-width:650px) {
  .storefront .fashion-hero { aspect-ratio: 7 / 4; }
  .storefront .fashion-hero .hero-copy { width: 70%; }
  .storefront .fashion-hero .hero-copy p { display: none; }
  .storefront .fashion-hero .hero-photo::after { background: linear-gradient(90deg,#111d,#1117 54%,transparent 88%); }
}

#product-grid { scroll-margin-top: 110px; }
.catalog-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 5px; margin: 28px auto 12px; }
.catalog-pagination button { display: grid; place-items: center; min-width: 36px; min-height: 42px; border: 1px solid #dedede; background: #fff; color: #171717; font-size: 13px; }
.catalog-pagination button[aria-current="page"] { background: #171717; border-color: #171717; color: #fff; }
.catalog-pagination button:disabled { opacity: .38; cursor: default; }
.catalog-pagination .icon { width: 15px; height: 15px; stroke-width: 1.6; }
.address-book-row{margin:14px 0;align-items:start}
.address-actions{display:flex;flex-wrap:wrap;gap:10px}
.address-lines{white-space:pre-line;overflow-wrap:anywhere}
.customer-service-form{display:grid;gap:10px;margin-top:14px}
.customer-service-form label,.checkout form>label{min-width:0}
.customer-service-form .field{display:block;width:100%;margin-top:5px}
.customer-request-panel{margin-top:24px;padding-top:16px;border-top:1px solid #dedede}
