/* AF Custom Creations | Stage 2 Shopping Appearance, November 2026
   Presentation only: checkout, prices, products, and inventory remain controlled by store.js + backend.
   Scoped to the Holiday Stories homepage to preserve the approved Design Studio and inner pages.
*/

:root {
  --afcc-shop-ink: #123c30;
  --afcc-shop-green: #0b493a;
  --afcc-shop-gold: #c9a165;
  --afcc-shop-warm: #fffdf8;
  --afcc-shop-edge: #e4d8bf;
  --afcc-shop-muted: #637369;
  --afcc-shop-shadow: 0 18px 42px rgba(8, 46, 39, .10);
}

/* Collection navigation */
.collection-meta .afcc-collection-controls {
  display: flex;
  gap: 9px;
  justify-content: flex-end;
  align-items: center;
  margin: 8px 0 2px;
}
.afcc-collection-controls button {
  appearance: none;
  display: inline-grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid #d6bf94;
  border-radius: 50%;
  background: #fffaf1;
  color: var(--afcc-shop-ink);
  box-shadow: 0 5px 15px rgba(8, 46, 39, .07);
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.afcc-collection-controls button:hover:not(:disabled) {
  transform: translateY(-2px);
  background: #e7c78e;
  box-shadow: 0 9px 19px rgba(8, 46, 39, .12);
}
.afcc-collection-controls button:disabled { opacity: .42; cursor: not-allowed; box-shadow: none; }
.afcc-collection-controls button[hidden] { display: none; }
.afcc-collection-controls button:focus-visible { outline: 3px solid #bd8a39; outline-offset: 3px; }

/* The products: a boutique presentation, still populated by the existing catalog. */
.afcc-homepage .product-grid { align-items: stretch; scroll-padding-inline: 9px; }
.afcc-homepage .product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e1d4b9;
  background: var(--afcc-shop-warm);
  border-radius: 27px;
  box-shadow: var(--afcc-shop-shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.afcc-homepage .product:hover,
.afcc-homepage .product:focus-within {
  border-color: #c7a46f;
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(8, 46, 39, .14);
}
.afcc-homepage .product .photo {
  display: grid;
  place-items: center;
  position: relative;
  aspect-ratio: 4/4.6;
  overflow: hidden;
  border-radius: 0;
  background: linear-gradient(135deg, #f1e8d8, #ded3bd);
}
.afcc-homepage .product .photo img { transition: transform .45s ease; }
.afcc-homepage .product:hover .photo img,
.afcc-homepage .product:focus-within .photo img { transform: scale(1.045); }
.afcc-homepage .product .photo .preview-label {
  top: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  border: 1px solid rgba(201, 161, 101, .55);
  border-radius: 99px;
  background: #fffaf1f0;
  padding: 7px 12px;
  letter-spacing: .09em;
  font-weight: 800;
  font-size: .68rem;
  color: #5b492f;
  backdrop-filter: blur(5px);
}
.afcc-homepage .product .product-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  height: auto;
  gap: 0;
  padding: 24px 23px 23px;
}
.afcc-homepage .product .product-body .color {
  color: #856434;
  font-size: .72rem;
  letter-spacing: .14em;
}
.afcc-homepage .product h3 {
  min-height: 2.35em;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.2;
  margin: 9px 0 10px;
  color: var(--afcc-shop-ink);
}
.afcc-homepage .product .price {
  color: #284a3b;
  font-size: 1rem;
  font-weight: 700;
  margin: auto 0 13px;
}
.afcc-homepage .product button {
  width: 100%;
  min-height: 46px;
  background: var(--afcc-shop-green);
  border: 1px solid var(--afcc-shop-green);
  border-radius: 99px;
  margin: 0;
  padding: 12px 18px;
  color: white;
  font-size: .91rem;
  letter-spacing: .02em;
  transition: background-color .2s ease, transform .2s ease;
}
.afcc-homepage .product button::after { content: '  ↗'; margin-left: 5px; }
.afcc-homepage .product button:hover:not(:disabled) { background: #146049; transform: translateY(-1px); }
.afcc-homepage .product button:focus-visible { outline: 3px solid #c9a165; outline-offset: 3px; }
.afcc-homepage .product.is-sold-out button::after { content: ''; }
.afcc-homepage .product .sold-out-badge {
  width: max-content;
  max-width: 88%;
  text-align: center;
  border-radius: 100px;
  border-color: #e6d7b6;
  background: #183b30;
}

/* Modal foundation: keep the same working dialogs; improve their presentation. */
.overlay { z-index: 100; background: rgba(8, 29, 23, .72); backdrop-filter: blur(5px); }
.overlay .sheet {
  background: #fffdf8;
  border: 1px solid #e4d7be;
  border-radius: 26px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, .28);
  scrollbar-color: #c7b083 #f5eddf;
}
.overlay .sheet > .close {
  display: grid;
  place-items: center;
  z-index: 5;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid #dbc8a3;
  border-radius: 50%;
  background: #fffaf1;
  color: #173e32;
  font: 400 29px/1 Georgia, serif;
  box-shadow: 0 3px 12px rgba(8, 46, 39, .06);
}
.overlay .sheet > .close:hover { background: #eddfc3; }
.overlay .sheet > .close:focus-visible { outline: 3px solid #c9a165; outline-offset: 3px; }

/* Product details, gallery, size choice. */
#product-overlay .sheet { max-width: 970px; width: min(970px, 100%); padding: 34px; }
#product-overlay .detail-grid { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); gap: clamp(22px, 3vw, 44px); align-items: start; }
#product-overlay .afcc-gallery { min-width: 0; }
#product-overlay .detail-image {
  overflow: hidden;
  border: 1px solid #e1d4bb;
  border-radius: 22px;
  background: #eee5d5;
  aspect-ratio: 4/4.75;
}
#product-overlay .detail-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
#product-overlay .afcc-gallery-thumbs { gap: 10px; margin-top: 12px; }
#product-overlay .afcc-gallery-thumb {
  border-radius: 13px;
  background: #f6f0e6;
  border: 2px solid #e0d4be;
  transition: border-color .15s ease, transform .15s ease;
}
#product-overlay .afcc-gallery-thumb:hover,
#product-overlay .afcc-gallery-thumb.is-active { border-color: #af843e; transform: translateY(-1px); }
#product-overlay .afcc-gallery-thumb:focus-visible { outline: 3px solid #c9a165; outline-offset: 2px; }
#product-overlay .detail-grid > div:last-child { min-width: 0; padding: 15px 6px 10px 0; }
#product-overlay .detail-grid .eyebrow { margin: 0 0 10px; color: #966d36; font-size: .72rem; }
#product-overlay .detail-grid h2 {
  margin: 0 28px 8px 0;
  font-size: clamp(1.8rem, 3.2vw, 2.65rem);
  line-height: 1.13;
  color: var(--afcc-shop-ink);
}
#product-overlay .detail-grid > div:last-child > p:not(.eyebrow) { line-height: 1.55; color: #485d50; }
#product-overlay .detail-grid .afcc-detail-size-heading {
  margin: 24px 0 12px;
  padding-top: 19px;
  border-top: 1px solid #e8ddc6;
  font-size: .96rem;
  color: var(--afcc-shop-ink);
  letter-spacing: .02em;
}
#product-overlay .sizes { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 17px; }
#product-overlay .sizes label { position: relative; display: inline-block; cursor: pointer; }
#product-overlay .sizes input { position: absolute; opacity: 0; width: 1px; height: 1px; }
#product-overlay .sizes span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 49px;
  min-height: 45px;
  padding: 9px 12px;
  border: 1.5px solid #d0c3a9;
  border-radius: 12px;
  background: #fffaf1;
  font-weight: 700;
  font-size: .88rem;
  color: #25483b;
  transition: background-color .16s ease, border-color .16s ease;
}
#product-overlay .sizes input:checked + span { background: #0b493a; color: #fff; border-color: #0b493a; box-shadow: 0 0 0 3px #ecd9b4; }
#product-overlay .sizes input:focus-visible + span { outline: 3px solid #ad843d; outline-offset: 3px; }
#product-overlay .sizes label:hover:not(.size-unavailable) span { border-color: #8a6836; }
#product-overlay .sizes label.size-unavailable span { border-color: #dddcd3; background: #f1efe9; opacity: .56; }
#product-overlay .detail-grid .price {
  margin: 15px 0 12px;
  color: var(--afcc-shop-ink);
  font-size: 1.25rem;
  font-weight: 800;
}
#product-overlay .detail-grid .action {
  border-radius: 99px;
  min-height: 54px;
  margin-top: 5px;
  background: #0b493a;
  font-size: 1rem;
  box-shadow: 0 12px 23px rgba(8, 46, 39, .14);
}
#product-overlay .detail-grid .action:hover:not(:disabled) { background: #146049; }
#product-overlay .detail-grid .notice,
#product-overlay .detail-grid .stock-notice {
  border-radius: 12px;
  padding: 12px 14px;
  margin: 12px 0;
  line-height: 1.5;
}

/* Bag and checkout: gentle step hierarchy, calm fields and clear quantities. */
#cart-overlay .cart-sheet { width: min(650px, 100%); padding: 36px 36px 32px; }
#cart-overlay .cart-sheet .afcc-step-label {
  width: max-content;
  max-width: 100%;
  padding: 7px 12px;
  background: #f5ead3;
  color: #765628;
  border: 1px solid #e7d3ad;
  border-radius: 99px;
  font-size: .68rem;
  letter-spacing: .1em;
  margin-bottom: 16px;
}
#cart-overlay .afcc-checkout-step h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); color: #123c30; }
#cart-overlay .afcc-checkout-subline { margin: 7px 0 18px; color: #627268; }
#cart-overlay #cart-items { margin: 12px 0 6px; }
#cart-overlay #cart-items > p {
  border: 1px dashed #d1bd97;
  background: #fbf5e8;
  color: #516456;
  border-radius: 15px;
  padding: 22px;
  text-align: center;
}
#cart-overlay .cart-line {
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  padding: 17px 12px;
  border-bottom: 1px solid #e8decc;
  border-radius: 12px;
}
#cart-overlay .cart-line:nth-child(odd) { background: #fbf8f1; }
#cart-overlay .cart-line strong { color: #123c30; font-size: .96rem; line-height: 1.35; }
#cart-overlay .cart-line > div:first-child > div { font-size: .79rem; color: #66766a; }
#cart-overlay .cart-line .cart-quantity { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
#cart-overlay .cart-line .cart-quantity button {
  display: inline-grid;
  place-items: center;
  min-width: 35px;
  min-height: 35px;
  background: #fff;
  border: 1px solid #d1bd98;
  border-radius: 50%;
  color: #124b3a;
  font-size: 20px;
}
#cart-overlay .cart-line .cart-quantity button:hover:not(:disabled) { background: #efe2c8; }
#cart-overlay .cart-line .cart-quantity button:disabled { opacity: .4; cursor: not-allowed; }
#cart-overlay .cart-line .cart-quantity span { min-width: 19px; text-align: center; font-weight: 800; }
#cart-overlay .cart-line > button {
  border: 0;
  background: transparent;
  color: #9c463d;
  font-size: .79rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 6px;
}
#cart-overlay .cart-line button:focus-visible { outline: 3px solid #c9a165; outline-offset: 2px; }
#cart-overlay #cart-total {
  font-size: 1.12rem;
  font-weight: 800;
  padding: 17px 2px 18px;
  color: var(--afcc-shop-ink);
  border-top: 1px solid #dfd1b6;
}
#cart-overlay .verify-button,
#cart-overlay .afcc-square-link {
  border-radius: 99px;
  min-height: 51px;
  font-size: .98rem;
  letter-spacing: .01em;
  background: #0b493a;
  box-shadow: 0 8px 22px rgba(8, 46, 39, .12);
}
#cart-overlay .verify-button:hover:not(:disabled),
#cart-overlay .afcc-square-link:hover { background: #16634d; }
#cart-overlay .verify-button:disabled { background: #799789; box-shadow: none; opacity: .70; }
#cart-overlay .afcc-back-button { color: #315a43; text-decoration-thickness: 1px; text-underline-offset: 4px; }
#cart-overlay .shipping-preview { border: 0; }
#cart-overlay .shipping-fields { gap: 13px; }
#cart-overlay .shipping-fields label { font-size: .84rem; font-weight: 700; }
#cart-overlay .shipping-fields input {
  border-radius: 11px;
  background: #fffdfa;
  border: 1px solid #d1c4ab;
  height: 46px;
  padding: 11px 13px;
}
#cart-overlay .shipping-fields input:focus,
#cart-overlay .afcc-promo-field:focus { outline: 3px solid #dfbd7b; outline-offset: 1px; border-color: #a77e3d; }
#cart-overlay .afcc-promo-field { background: #fffdfa; border: 1px solid #d1c4ab; border-radius: 11px; min-height: 45px; }
#cart-overlay #bag-verification:not(:empty) { border-radius: 15px; background: #f6f0e2; padding: 17px; }
#cart-overlay .afcc-summary-total { font-size: 1.16rem; padding-top: 14px; }
#cart-overlay .afcc-group-note { border: 1px solid #e2c99e; border-radius: 13px; }
#cart-overlay .production-checkout-stage:not([hidden]) { margin-top: 12px; border-top: 1px solid #e3d5b9; padding-top: 14px; }
#cart-overlay .afcc-checkout-step[hidden],
#cart-overlay .production-checkout-stage[hidden] { display: none !important; }

/* Polished header bag pill; this stylesheet loads on the homepage only. */
.afcc-site-header .afcc-header-actions #cart-toggle {
  min-height: 43px;
  padding: 10px 14px;
  border-color: #d3b988;
  background: #fffaf1;
  transition: background-color .2s ease;
}
.afcc-site-header .afcc-header-actions #cart-toggle:hover { background: #f5e7ca; }

/* Small screens: keep controls reachable and modals comfortably readable. */
@media (max-width: 850px) {
  .collection-meta .afcc-collection-controls { justify-content: flex-start; }
  #product-overlay .detail-grid { grid-template-columns: 1fr; gap: 20px; }
  #product-overlay .detail-grid > div:last-child { padding: 0; }
  #product-overlay .detail-image { aspect-ratio: 4/3.6; }
  #product-overlay .afcc-gallery-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .afcc-homepage .product .product-body { padding: 18px 18px 20px; }
  .afcc-homepage .product h3 { font-size: 1.36rem; min-height: 2.5em; }
  #product-overlay, #cart-overlay { padding: 8px; }
  #product-overlay .sheet, #cart-overlay .cart-sheet {
    width: 100%;
    max-height: 96dvh;
    overflow-y: auto;
    padding: 24px 18px;
    border-radius: 21px;
  }
  #product-overlay .detail-image { aspect-ratio: 4/3.5; }
  #product-overlay .detail-grid h2 { margin-right: 28px; }
  #product-overlay .sizes { gap: 8px; }
  #product-overlay .sizes span { min-width: 45px; min-height: 45px; }
  #cart-overlay .cart-line { grid-template-columns: minmax(0, 1fr) auto; gap: 7px 10px; }
  #cart-overlay .cart-line > button { grid-column: 1/-1; justify-self: start; }
  #cart-overlay .shipping-fields { grid-template-columns: minmax(0, 1fr); }
  #cart-overlay .shipping-fields label { grid-column: auto !important; }
}
@media (prefers-reduced-motion: reduce) {
  .afcc-homepage .product,
  .afcc-homepage .product .photo img,
  .afcc-homepage .product button,
  .afcc-collection-controls button { transition: none; transform: none !important; }
}

/* AFCC COLLECTION GRID V1 20261115 — homepage collection only */
#collection {
  --afcc-grid-green: #0b493a;
  --afcc-grid-edge: #ded2ba;
  --afcc-grid-muted: #536b5d;
  min-width: 0;
  position: relative;
  isolation: isolate;
  z-index: 2;
  background: #f7f1e4;
  scroll-margin-top: 110px;
}
#collection .collection-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 18px;
  text-align: left;
}
#collection .collection-heading h2 { margin: 5px 0 8px; }
#collection .collection-intro { max-width: 64ch; margin: 0; color: var(--afcc-grid-muted); }
#collection .collection-meta { text-align: right; margin: 0; }
#collection .collection-meta p { margin: 0; font-size: .86rem; color: var(--afcc-grid-muted); }
#collection .afcc-collection-controls, #collection .scroll-hint { display: none !important; }
#collection .collection-shell {
  position: relative;
  width: 100%; min-width: 0; max-width: 100%;
  overflow: visible !important;
}
#collection .collection-shell::before, #collection .collection-shell::after { display: none !important; }
#collection #products.product-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-auto-flow: row !important;
  grid-auto-columns: auto !important;
  grid-template-rows: none !important;
  grid-auto-rows: auto;
  align-items: stretch;
  gap: clamp(14px, 1.65vw, 24px);
  width: 100%; max-width: 100%; min-width: 0;
  height: auto; max-height: none;
  overflow: visible !important;
  scroll-snap-type: none !important;
  scroll-padding: 0 !important;
  padding: 3px 0 15px !important;
  margin: 0;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}
#collection #products > .product {
  width: 100% !important; min-width: 0 !important; max-width: none !important;
  margin: 0; scroll-snap-align: none !important;
  border-radius: 20px; box-shadow: 0 7px 23px rgba(8,46,39,.09);
}
#collection #products > [hidden] { display: none !important; }
#collection #products > :not(.product) { grid-column: 1 / -1; }
#collection #products .product .photo { aspect-ratio: 4 / 4.3; }
#collection #products .product .product-body { padding: clamp(12px,1.35vw,20px); }
#collection #products .product h3 { font-size: clamp(1.12rem,1.45vw,1.45rem); line-height: 1.22; min-height: 0; overflow-wrap: anywhere; }
#collection #products .product .price { margin-top: auto; padding-top: 8px; }
#collection #products .product button { min-height: 44px; padding: 10px 8px; font-size: .86rem; }
#collection #products .product .preview-label { font-size: .62rem; padding: 5px 9px; top: 10px; left: 10px; max-width: calc(100% - 20px); }
/* Keep all existing filter elements and listeners. Style the generated controls. */
.afcc-shop-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; font-size: .79rem; font-weight: 700; color: #294d3d; }
.afcc-shop-field input:not([type=checkbox]), .afcc-shop-field select {
  display: block; width: 100%; min-width: 0; max-width: 100%; min-height: 44px;
  box-sizing: border-box; border: 1px solid #d9cbb0; border-radius: 10px;
  background: #fffdf8; color: #173e32; padding: 9px 11px;
  font: 500 1rem/1.3 'DM Sans', Arial, sans-serif;
}
.afcc-shop-field input:focus-visible, .afcc-shop-field select:focus-visible, .afcc-shop-reset:focus-visible {
  outline: 2px solid #a57736; outline-offset: 2px;
}
.afcc-shop-field input::placeholder { color: #68776e; opacity: 1; }
.afcc-shop-reset {
  appearance: none; background: #fffdf8; color: #0b493a;
  border: 1px solid #d7c6a5; border-radius: 999px;
  padding: 7px 14px; min-height: 36px; font-size: .8rem; font-weight: 700; cursor: pointer;
}
.afcc-shop-reset:hover { background: #f0e6d2; }
#collection :is(label, div):has(> input[type=checkbox]):has(> span) {
  display: flex; align-items: center; gap: 7px; min-height: 44px; font-size: .83rem; color: #294d3d;
}
#collection input[type=checkbox] { width: 17px; height: 17px; accent-color: #0b493a; }
#collection [class*="afcc-shop"][class*="count"] { margin: 10px 0 3px; font-size: .83rem; color: #536b5d; }
#collection [class*="afcc-shop"][class*="empty"] { text-align: center; }
@media (max-width: 1099px) {
  #collection #products.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 650px) {
  #collection .collection-heading { display: block; margin-bottom: 14px; }
  #collection .collection-meta { text-align: left; margin-top: 9px; }
  #collection #products.product-grid { gap: 12px; }
  #collection #products > .product { border-radius: 15px; }
  #collection #products .product .product-body { padding: 12px 10px; }
  #collection #products .product h3 { font-size: 1.05rem; }
  #collection #products .product .product-body .color { font-size: .62rem; letter-spacing: .07em; }
  #collection #products .product .preview-label { font-size: .55rem; padding: 4px 6px; top: 6px; left: 6px; max-width: calc(100% - 12px); }
  #collection #products .product button { font-size: .79rem; padding-inline: 5px; }
}
@media (max-width: 359px) {
  #collection #products.product-grid { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (hover: none) {
  #collection #products .product:hover { transform: none; }
  #collection #products .product:hover .photo img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  #collection #products .product, #collection #products .product .photo img { transition: none; transform: none !important; }
}
/* End AFCC COLLECTION GRID V1 20261115 */

/* AFCC COLLECTION REFINEMENT V2 20261115 */
/* Homepage only: fixed decorations never sit on top of shopping content. */
body:has(#collection[data-afcc-collection-grid="v2"])::before,
body:has(#collection[data-afcc-collection-grid="v2"])::after {
  width: min(28px, 2vw) !important;
  opacity: .28 !important;
  z-index: 0 !important;
  pointer-events: none;
}
#collection[data-afcc-collection-grid="v2"] {
  padding-block: clamp(28px, 4vw, 56px) !important;
  isolation: isolate; position: relative; z-index: 2;
}
#collection[data-afcc-collection-grid="v2"] .collection-heading {
  display: grid !important; grid-template-columns: minmax(0, 1fr) !important;
  text-align: center !important; justify-items: center; align-items: center;
  width: 100%; gap: 7px; margin: 0 0 22px !important;
  padding: 0 !important;
}
#collection[data-afcc-collection-grid="v2"] .collection-heading > div {
  width: 100%; max-width: none; min-width: 0; text-align: center !important;
}
#collection[data-afcc-collection-grid="v2"] .collection-heading .eyebrow { margin: 0 0 7px; }
#collection[data-afcc-collection-grid="v2"] .collection-heading h2 { margin: 0 0 8px; }
#collection[data-afcc-collection-grid="v2"] .collection-intro { margin: 0 auto !important; max-width: 60ch; }
#collection[data-afcc-collection-grid="v2"] .collection-meta { margin: 0 !important; }
/* Explicitly target the actual generated DOM, not inferred :has() containers. */
#collection[data-afcc-collection-grid="v2"] > .afcc-app-shop-tools {
  display: grid !important; grid-template-columns: minmax(0, 1fr) !important;
  grid-auto-flow: row !important; align-items: stretch !important;
  gap: 12px !important; width: 100% !important; max-width: none !important; min-width: 0;
  box-sizing: border-box; margin: 0 0 20px !important; padding: clamp(14px, 2vw, 22px) !important;
  background: #fffdf8; border: 1px solid #ded2ba; border-radius: 18px;
  box-shadow: 0 5px 18px rgba(8,46,39,.055);
}
#collection[data-afcc-collection-grid="v2"] .afcc-shop-heading-row,
#collection[data-afcc-collection-grid="v2"] .afcc-shop-filter-bottom {
  display: flex !important; flex-wrap: wrap; justify-content: space-between;
  align-items: center !important; gap: 8px 16px; margin: 0 !important;
  padding: 0; width: 100%; min-width: 0;
}
#collection[data-afcc-collection-grid="v2"] .afcc-shop-kicker {
  color: #174638; font-size: .77rem; font-weight: 800; letter-spacing: .10em;
}
#collection[data-afcc-collection-grid="v2"] .afcc-shop-selectors {
  display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 12px; width: 100%; min-width: 0; margin: 0 !important;
}
#collection[data-afcc-collection-grid="v2"] .afcc-shop-field {
  display: flex !important; flex-direction: column !important; align-items: stretch !important;
  gap: 5px; min-width: 0; width: 100%; margin: 0 !important; padding: 0;
}
#collection[data-afcc-collection-grid="v2"] .afcc-shop-field :is(input[type="search"],select) {
  display: block !important; width: 100% !important; max-width: none !important; min-width: 0;
  box-sizing: border-box; height: 46px !important; min-height: 46px !important;
  border: 1px solid #d9cbb0; border-radius: 10px; padding: 8px 12px;
  background-color: #fffdf8; color: #173e32;
  font: 500 1rem/1.25 'DM Sans',Arial,sans-serif !important;
}
#collection[data-afcc-collection-grid="v2"] .afcc-shop-label { font-size: .8rem; font-weight: 700; color: #294d3d; }
#collection[data-afcc-collection-grid="v2"] .afcc-shop-availability {
  display: inline-flex !important; align-items: center !important; gap: 8px;
  margin: 0 !important; width: auto; min-height: 36px; cursor: pointer;
}
#collection[data-afcc-collection-grid="v2"] .afcc-shop-availability input { margin: 0; flex: none; }
#collection[data-afcc-collection-grid="v2"] .afcc-shop-count { margin: 0 !important; color: #536b5d; font-size: .84rem; }
#collection[data-afcc-collection-grid="v2"] .afcc-shop-empty:not([hidden]) {
  padding: 26px 14px; margin: 0 0 18px; border: 1px dashed #d9cbb0;
  border-radius: 15px; background: #fffdf8; color: #174638;
}
#collection[data-afcc-collection-grid="v2"] .afcc-shop-empty button {
  padding: 10px 20px; border-radius: 99px; background: #0b493a; color: white; border: 0; min-height: 44px;
}
#collection[data-afcc-collection-grid="v2"] .afcc-website-carousel-controls { display: none !important; }
#collection[data-afcc-collection-grid="v2"] #products > [hidden],
#collection[data-afcc-collection-grid="v2"] .afcc-shop-empty[hidden] { display: none !important; }
@media (max-width: 760px) {
  body:has(#collection[data-afcc-collection-grid="v2"])::before,
  body:has(#collection[data-afcc-collection-grid="v2"])::after { display: none !important; }
  #collection[data-afcc-collection-grid="v2"] .collection-heading { margin-bottom: 16px !important; }
  #collection[data-afcc-collection-grid="v2"] .afcc-shop-selectors { gap: 8px; }
}
@media (max-width: 480px) {
  #collection[data-afcc-collection-grid="v2"] .afcc-shop-selectors { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  #collection[data-afcc-collection-grid="v2"] .afcc-shop-selectors > :last-child { grid-column: 1 / -1; }
}
/* End AFCC COLLECTION REFINEMENT V2 20261115 */

#collection[data-afcc-collection-grid="v2"] #products > .afcc-sort-order-0 { order: 0 !important; }
#collection[data-afcc-collection-grid="v2"] #products > .afcc-sort-order-1 { order: 1 !important; }
#collection[data-afcc-collection-grid="v2"] #products > .afcc-sort-order-2 { order: 2 !important; }
#collection[data-afcc-collection-grid="v2"] #products > .afcc-sort-order-3 { order: 3 !important; }
#collection[data-afcc-collection-grid="v2"] #products > .afcc-sort-order-4 { order: 4 !important; }
#collection[data-afcc-collection-grid="v2"] #products > .afcc-sort-order-5 { order: 5 !important; }
#collection[data-afcc-collection-grid="v2"] #products > .afcc-sort-order-6 { order: 6 !important; }
#collection[data-afcc-collection-grid="v2"] #products > .afcc-sort-order-7 { order: 7 !important; }
#collection[data-afcc-collection-grid="v2"] #products > .afcc-sort-order-8 { order: 8 !important; }
#collection[data-afcc-collection-grid="v2"] #products > .afcc-sort-order-9 { order: 9 !important; }
