/** Shopify CDN: Minification failed

Line 474:0 Unexpected "#"
Line 474:2 Unexpected "{"
Line 474:11 Expected ":"
Line 479:0 Unexpected "#"
Line 479:2 Unexpected "{"
Line 479:11 Expected ":"

**/
/* ===============================
   Product card typography & hover
   (safe across theme updates)
=============================== */

/* Alignment helpers */
.product-item__title--center {
  text-align: center;
  display: block;
  width: 100%;
}

.product-item__title--right {
  text-align: right;
  display: block;
  width: 100%;
}

/* Smart title pieces */
.product-item__title-main {
  display: inline;
}

.product-item__title-separator {
  opacity: 0.5;
  margin: 0 0.25em;
}

.product-item__title-sub {
  display: inline;
  font-size: 0.95em;
  opacity: 0.8;
  letter-spacing: 0.01em;
  transition: opacity 0.2s ease;
  color: inherit;
}

.product-item__title-sub:hover {
  opacity: 1;
}

/* Stacked layout for product, fabric & price */
.product-item__title--stacked .product-item__title-main,
.product-item__title--stacked .product-item__title-sub {
  display: block;
  line-height: 1.45;
  margin: 0 0 0.15em 0;
}

.product-item__title--stacked .product-item__title-separator {
  display: none;
}

.product-item__title--stacked ~ .product-item__price {
  display: block;
  margin-top: 0.4em;
  font-size: 0.9em;
  opacity: 0.9;
}

/* Match price alignment to title alignment */
.product-item__title--center ~ .product-item__price {
  text-align: center;
}

.product-item__title--right ~ .product-item__price {
  text-align: right;
}

/* Caption fade when underline disabled */
.product-item__caption--fade {
  transition: opacity 0.25s ease;
}

.product-item__link:hover .product-item__caption--fade {
  opacity: var(--title-hover-opacity, 0.7);
}
/* No-crop letterbox for product-item when using --no-crop mode */
.product-item__thumbnail--no-crop {
  position: relative;
  overflow: hidden;
}

.product-item__thumbnail--no-crop .product-item__img-nocrop {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}
/* No-crop letterbox for product cards when grid_aspect = natural */
.product-item__thumbnail--no-crop {
  position: relative;
  overflow: hidden;
}

.product-item__thumbnail--no-crop .product-item__img-nocrop {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}
/* Fix swatch alignment inside custom variant options */
.product-variant--custom .swatch-view,
.product-variant--custom .swatch-view li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Kill the RTE margin-top for variant swatch items */
.product-variant--custom .swatch-view li {
  margin-top: 0 !important;
}

/* Pill list layout */
.product-variant--custom .product-variant-options .swatch-view-button {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--swatch-spacing, 10px);
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* Each pill item behaves like a chip */
.product-variant--custom .product-variant-options .swatch-view-button .swatch-view-item {
  margin: 0 !important;
  padding: 0;
  list-style: none;
  position: relative;
}

/* Pill button style (shared for both option 2 & 3) */
.product-variant--custom .swatch-button.swatch-selector {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.18s ease;
  font-size: 0.9rem;
  line-height: 1.3;
  white-space: normal;
  text-align: left;
  box-sizing: border-box;
}

/* Selected pill */
.product-variant--custom .swatch-button.swatch-selected {
  border-color: #111;
  background-color: #111;
  color: #fff;
}

/* Use override labels when present */
.product-variant--custom .swatch-button-title-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-variant--custom .variant-label--desktop {
  display: inline;
}

.product-variant--custom .variant-label--mobile {
  display: none;
}

/* (OPTIONAL) if you want mobile-specific behaviour:
@media (max-width: 749px) {
  .product-variant--custom .variant-label--desktop { display: none; }
  .product-variant--custom .variant-label--mobile { display: inline; }
}
*/

.product-variant--custom label,
.product-variant--custom .swatch-header {
  text-transform: none !important;
  letter-spacing: normal !important;
}
/* Hide internal selects (we render custom UI) */
.product-variant-container--hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Variant block spacing */
.product-variant--custom {
  margin-bottom: var(--variant-block-spacing, 18px);
}

/* Unified option heading row */
.product-variant--custom .swatch-header {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 var(--swatch-title-spacing, 8px);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
}

/* Selected value next to Fabric label */
.swatch-variant-name {
  /* font-weight: 400; */
  /* font-size: 14px; */
}

/* No bullets + flex row for all swatch lists */
.swatch-view {
  display: flex;
  flex-wrap: wrap;
  gap: var(--swatch-spacing, 10px);
  padding: 0;
  margin: 0;
  list-style: none;
}

/* Fabric swatch circle */
.swatch-circle {
  display: inline-block;
  background-size: cover;
  background-position: center;
}

/* Selected / active swatch border */
.swatch-view-item.is-active .swatch-circle,
.swatch-view-item .swatch-custom-image.swatch-selected .swatch-circle {
  box-shadow: 0 0 0 var(--swatch-border-width, 2px)
    var(--swatch-border-color, #111);
}

/* Hover border */
.swatch-view-item:hover .swatch-circle {
  box-shadow: 0 0 0 var(--swatch-hover-border-width, 2px)
    var(--swatch-hover-border-color, #999);
}

/* Pill buttons */
.swatch-view-button .swatch-view-item {
  list-style: none;
}

.swatch-button {
  border-radius: 999px;
  padding: 9px 14px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: normal;
  font-size: 13px;
  line-height: 1.35;
}

.swatch-button--solid {
  background: #f5f5f5;
  border-color: transparent;
}

.swatch-button.swatch-selected {
  border-color: #111;
  background-color: #111;
  color: #fff;
}

/* Desktop/mobile label swap */
.swatch-button .variant-label--mobile {
  display: none;
}

@media (max-width: 749px) {
  .swatch-button .variant-label--desktop {
    display: none;
  }
  .swatch-button .variant-label--mobile {
    display: inline;
  }
}
/* --- Uniform heading + button alignment fixes --- */
.product-variant--custom {
  display: block;
  margin-bottom: var(--variant-block-spacing, 24px);
}

/* Match heading font and spacing to the fabric section */
.product-variant--custom .swatch-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--swatch-title-spacing, 12px);
  font-family: inherit;
  text-transform: none;
  font-weight: 600;
  font-size: 1rem;
}

/* Fix button alignment and overlap */
.swatch-view-button {
  display: flex;
  flex-wrap: wrap;
  gap: var(--swatch-spacing, 10px);
}

.swatch-view-button .swatch-view-item {
  flex: 0 0 auto;
  position: relative;
}

.swatch-view-button .swatch-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: normal;
  line-height: 1.3;
  text-align: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.swatch-view-button .swatch-button.swatch-selected,
.swatch-view-button .is-active .swatch-button {
  border-color: #111;
  background: #f6f6f6;
}
/* === Stage 1: headings + pill layout (scoped & minimal) === */

/* 1) Normalise headings for all options (same as Fabric) */
.product__text .product-variant--custom .swatch-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 var(--swatch-title-spacing, 12px);
  text-transform: none;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
}

/* 2) Ensure the options list sits under the heading (prevents overlap) */
.product__text .product-variant--custom .product-variant-options {
  display: block;
  margin-top: var(--swatch-title-spacing, 12px);
}

/* 3) Kill bullets/margins inherited from RTE just inside variant UI */
.product__text .product-variant--custom .swatch-view,
.product__text .product-variant--custom .swatch-view li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* 4) Pills: reliable flex row with gap (options 2 & 3) */
.product__text .product-variant--custom .swatch-view-button {
  display: flex;
  flex-wrap: wrap;
  gap: var(--swatch-spacing, 10px);
}

/* 5) Pill appearance (very light touch) */
.product__text .product-variant--custom .swatch-view-button .swatch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: normal;
  text-align: left;
  line-height: 1.35;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.18);
  background: #fff;
  cursor: pointer;
}

.product__text .product-variant--custom .swatch-view-button .swatch-button.swatch-selected,
.product__text .product-variant--custom .swatch-view-button .is-active .swatch-button {
  border-color: #111;
  background: #f6f6f6;
}
/* --- Fabric swatches: hide any inline names, show tooltip only --- */
.product-variant--custom .swatch-view.swatch-view-custom-image .swatch-view-item {
  position: relative;
}

/* If any text sneaks in beside/below the circle, kill it */
.product-variant--custom .swatch-view.swatch-view-custom-image .swatch-view-item > :not(.swatch-custom-image):not(.swatch-tool-tip) {
  display: none !important;
}
.product-variant--custom .swatch-custom-image > *:not(.swatch-circle) {
  display: none !important;
}

/* Tooltip hidden by default */
.product-variant--custom .swatch-tool-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1;
  background: rgba(0,0,0,.85);
  color: #fff;
  border-radius: 6px;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 2;
}
.product-variant--custom .swatch-tool-tip-pointer {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 0; height: 0;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(0,0,0,.85);
}

/* Show tooltip on hover/focus */
.product-variant--custom .swatch-view-item:hover .swatch-tool-tip,
.product-variant--custom .swatch-view-item:focus-within .swatch-tool-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Keep the selected value beside the Fabric heading visible */
.product-variant--custom .swatch-header .swatch-variant-name { display: inline-flex; }

/* Stop hover lift on fabric swatches */
#{{ root_id }} .swatch-custom-image:hover .swatch-circle {
  transform: none; /* was translateY(-1px) */
}

/* Stop hover lift on pill buttons */
#{{ root_id }} .swatch-view-button .swatch-button:hover {
  transform: none; /* was translateY(-1px) */
}

/* Custom cart styling */
.cart-item__options {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #555;
}

.cart-item__option {
  display: block; 
}

/* Checkout button pill style – match your ATC styling */
.cart-drawer__checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 16px 40px;          /* adjust to taste */
  border-radius: 999px;        /* pill shape */
  border: none;

  background: #555555;         /* same as ATC bg */
  color: #ffffff;

  font-size: 16px;
  font-weight: 600;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.cart-drawer__checkout:hover {
  background: #555555;         /* hover colour */
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.10);
}

.cart-drawer__checkout:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}
.main-product+.shopify-section.with-gutter {
  margin-top: 0 !important;
}

/* === Sidebar menu item descriptions (custom) === */
.sidebar__menu-description {
  padding-left: 14%;
  padding-right: 14%;
  margin-top: -2px;
  margin-bottom: 14px;

  font-size: 0.9em;          /* slightly smaller than menu item */
  line-height: 1.45;
  color: rgba(var(--color-sidebar-txt), 0.7);
  font-weight: 300;
}

/* tidy richtext spacing */
.sidebar__menu-description p {
  margin: 0 0 6px;
}
.sidebar__menu-description p:last-child {
  margin-bottom: 0;
}

/* second-level descriptions: a touch tighter */
.sidebar__menu-description--second {
  margin-top: -4px;
  margin-bottom: 10px;
  font-size: 0.88em;
  color: rgba(var(--color-sidebar-txt), 0.65);
}

/* third-level descriptions: smallest + tightest */
.sidebar__menu-description--third {
  margin-top: -4px;
  margin-bottom: 8px;
  font-size: 0.85em;
  color: rgba(var(--color-sidebar-txt), 0.6);
}

/* mobile uses different menu padding – match that */
@media screen and (max-width: 948px) {
  .sidebar__menu-description {
    padding-left: 30px;
    padding-right: 30px;
  }
}
