:root {
  --sg-catalog-gap: clamp(24px, 3.6vw, 70px);
  --sg-panel-width: clamp(225px, 14vw, 270px);
}

body.woocommerce .site-header,
body.woocommerce-cart .site-header,
body.woocommerce-checkout .site-header,
body.woocommerce-account .site-header {
  border-bottom: 1px solid var(--sg-ink);
  box-shadow: none;
}

body.woocommerce .site-header::after,
body.woocommerce-cart .site-header::after,
body.woocommerce-checkout .site-header::after,
body.woocommerce-account .site-header::after { display: none; }

.sg-shop-nav {
  overflow-x: auto;
  border-bottom: 1px solid var(--sg-ink);
  background: #f6f2ef;
  scrollbar-width: none;
}

.sg-shop-nav::-webkit-scrollbar { display: none; }

.sg-shop-nav__inner {
  min-width: max-content;
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.2vw, 64px);
  padding: 0 clamp(28px, 3.5vw, 68px);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 1.55vw, 30px);
}

.sg-shop-nav a { text-decoration: none; }
.sg-shop-nav a:hover,
.sg-shop-nav a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
.sg-shop-nav__home { font-weight: 700; }
.sg-shop-nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }

body.post-type-archive-product .site-content,
body.tax-product_cat .site-content {
  padding: clamp(32px, 3.2vw, 62px) clamp(24px, 6.8vw, 132px) 80px;
}

body.sg-shop-page .site-content {
  padding: clamp(32px, 3.2vw, 62px) clamp(24px, 6.8vw, 132px) 80px;
}

body.post-type-archive-product .content-shell,
body.tax-product_cat .content-shell,
body.sg-shop-page .content-shell { width: 100%; max-width: none; }

body.sg-shop-page .entry-title { display: none; }

.woocommerce-products-header { display: none; }

.sg-catalog-layout { width: 100%; }
.sg-catalog-layout--category { padding-right: calc(var(--sg-panel-width) + clamp(26px, 4.2vw, 82px)); }
.sg-products-column { min-width: 0; }

/* Collections landing page: full-width editorial collection cards. */
body.sg-collections-index .site-content { padding-top: clamp(48px, 3.8vw, 74px); }
body.sg-collections-index .sg-catalog-layout { padding: 0; }
.sg-collections-grid {
  width: min(77.5vw, 1500px);
  display: grid;
  gap: clamp(54px, 5vw, 96px);
  margin: 0 auto;
}
.sg-collection-tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: #dedbd9;
  color: #fff;
  text-decoration: none;
}
.sg-collection-tile img { width: 100%; height: auto; display: block; }
.sg-collection-tile__shade {
  position: absolute;
  inset: 0;
  background: rgba(25, 22, 21, .38);
  transition: background-color 220ms ease;
}
.sg-collection-tile__title {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  color: #fff;
  font: 500 clamp(40px, 6.1vw, 112px)/1 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
  text-align: center;
  text-transform: uppercase;
  -webkit-text-stroke: 1px rgba(24, 20, 18, .72);
  text-shadow: 0 3px 10px rgba(0, 0, 0, .55);
}
.sg-collection-tile:hover .sg-collection-tile__shade,
.sg-collection-tile:focus-visible .sg-collection-tile__shade { background: rgba(25, 22, 21, .5); }
.sg-collection-tile:focus-visible { outline: 2px solid var(--sg-ink); outline-offset: 5px; }
body.sg-collections-index .sg-category-panel,
body.sg-collections-index .sg-products-column > .woocommerce-info,
body.sg-collections-index ul.products,
body.sg-collections-index .woocommerce-pagination { display: none !important; }

/* The Daily banner and products share a grid, so product cards continue beneath the image. */
.sg-collection-banner { min-width: 0; margin: 0 !important; padding: 0; background: transparent; }
.sg-collection-banner img { display: block; width: 100%; height: auto; margin: 0; }

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px var(--sg-catalog-gap);
  margin: 0;
}

.woocommerce .sg-catalog-layout--category ul.products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Five shared card columns keep products aligned across rows; the banner reserves two columns but displays at 1.5 card widths. */
.woocommerce .sg-products-column--daily-collection > ul.products {
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.woocommerce .sg-products-column--daily-collection > ul.products > li.product { grid-column: span 1; width: 100% !important; }
.woocommerce .sg-products-column--daily-collection > ul.products > li.sg-collection-banner { grid-column: span 2; grid-row: auto; }
.woocommerce .sg-products-column--daily-collection > ul.products > li.sg-collection-banner img { width: 75%; }

.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }

.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product {
  width: 100% !important;
  min-width: 0;
  float: none !important;
  margin: 0 0 2px !important;
}

.woocommerce ul.products li.product a { text-decoration: none; }
.woocommerce ul.products li.product .woocommerce-LoopProduct-link { display: block; width: 100%; }

.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  margin: 0 0 14px;
  border: 1px solid var(--sg-ink);
  background: #f7f3f0;
  object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.4vw, 27px);
  font-weight: 400;
  line-height: 1.32;
}

.woocommerce ul.products li.product .price {
  margin: 2px 0 0;
  color: var(--sg-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.35vw, 26px);
  line-height: 1.2;
}

.woocommerce ul.products li.product .price .woocommerce-Price-amount { font-weight: 600; }
.woocommerce ul.products li.product .price del { opacity: .55; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }

.sg-category-panel {
  position: absolute;
  top: 135px;
  right: 0;
  width: var(--sg-panel-width);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  padding: 24px 18px 12px;
  border: 1px solid var(--sg-ink);
  background: #f7f3f0;
  text-align: right;
  font-family: Georgia, "Times New Roman", serif;
}

.sg-category-panel__categories h1 {
  margin: 0 0 12px;
  font-size: clamp(25px, 1.7vw, 33px);
  line-height: 1.1;
}

.sg-category-panel ul { margin: 0; padding: 0; list-style: none; }
.sg-category-panel li { margin: 5px 0; font-size: clamp(19px, 1.35vw, 27px); }
.sg-category-panel a { text-decoration: none; }
.sg-category-panel a:hover,
.sg-category-panel a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

.sg-filter-toggle {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  align-self: flex-end;
  gap: 5px;
  padding: 7px 9px;
  border: 1px solid transparent;
  color: var(--sg-ink);
  background: transparent;
  font: inherit;
  font-size: clamp(15px, 1vw, 19px);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.sg-filter-toggle:hover,
.sg-filter-toggle:focus-visible {
  border-color: var(--sg-ink);
  background: var(--sg-ink);
  color: var(--sg-paper);
  outline: none;
}

.sg-filter-toggle span {
  width: 14px;
  height: 20px;
  display: block;
  background: #9f8f87;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
}

.sg-filter-backdrop {
  position: fixed;
  z-index: 90;
  inset: 0;
  background: rgba(0, 0, 0, .26);
}

.sg-filter-drawer {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100dvh;
  padding: 28px;
  background: var(--sg-paper);
  box-shadow: -16px 0 45px rgba(0, 0, 0, .14);
  transform: translateX(105%);
  transition: transform 260ms ease;
  overflow-y: auto;
}

.sg-filter-drawer.is-open { transform: translateX(0); }
.sg-filter-drawer__header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--sg-ink); }
.sg-filter-drawer h2 { margin: 0 0 16px; font-family: Georgia, serif; font-size: 30px; }
.sg-filter-close { border: 0; background: transparent; font-size: 38px; line-height: 1; cursor: pointer; }
.sg-filter-drawer__body { padding-top: 24px; }
.sg-filter-drawer h3,
.sg-filter-group legend { margin: 0 0 12px; font: 600 18px Georgia, serif; }
.sg-sort-control,
.sg-filter-group { margin: 0 0 28px; padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--sg-line); }
.sg-sort-control .woocommerce-ordering { float: none; margin: 0; width: 100%; }
.sg-sort-control select { width: 100%; padding: 12px; border: 1px solid var(--sg-ink); background: white; font: inherit; }
.sg-filter-options { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-filter-options a { padding: 8px 11px; border: 1px solid var(--sg-ink); text-decoration: none; }
.sg-filter-options a.is-active { background: var(--sg-ink); color: white; }
body.sg-filters-open { overflow: hidden; }

.woocommerce nav.woocommerce-pagination { margin-top: 42px; }

/* Storewide primary actions: black by default, outlined white on interaction. */
body.woocommerce a.button:not(.sg-quick-view-trigger),
body.woocommerce button.button,
body.woocommerce input.button,
body.woocommerce-cart a.button,
body.woocommerce-cart button.button,
body.woocommerce-cart input.button,
body.woocommerce-checkout a.button,
body.woocommerce-checkout button.button,
body.woocommerce-checkout input.button,
body.woocommerce-account a.button,
body.woocommerce-account button.button,
body.woocommerce-account input.button,
.wc-block-components-button:not(.is-link) {
  border: 1px solid var(--sg-ink);
  border-radius: 0;
  background: var(--sg-ink);
  color: #fff;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

body.woocommerce a.button:not(.sg-quick-view-trigger):hover,
body.woocommerce a.button:not(.sg-quick-view-trigger):focus-visible,
body.woocommerce button.button:hover,
body.woocommerce button.button:focus-visible,
body.woocommerce input.button:hover,
body.woocommerce input.button:focus-visible,
body.woocommerce-cart a.button:hover,
body.woocommerce-cart a.button:focus-visible,
body.woocommerce-cart button.button:hover,
body.woocommerce-cart button.button:focus-visible,
body.woocommerce-cart input.button:hover,
body.woocommerce-cart input.button:focus-visible,
body.woocommerce-checkout a.button:hover,
body.woocommerce-checkout a.button:focus-visible,
body.woocommerce-checkout button.button:hover,
body.woocommerce-checkout button.button:focus-visible,
body.woocommerce-checkout input.button:hover,
body.woocommerce-checkout input.button:focus-visible,
body.woocommerce-account a.button:hover,
body.woocommerce-account a.button:focus-visible,
body.woocommerce-account button.button:hover,
body.woocommerce-account button.button:focus-visible,
body.woocommerce-account input.button:hover,
body.woocommerce-account input.button:focus-visible,
.wc-block-components-button:not(.is-link):hover,
.wc-block-components-button:not(.is-link):focus-visible {
  border-color: var(--sg-ink);
  background: #fff;
  color: var(--sg-ink);
  outline: none;
}

/* Interactive catalog cards and quick view. */
.sg-product-card { position: relative; }
.sg-product-card__media {
  position: relative;
  overflow: hidden;
  background: #efefed;
}

.woocommerce ul.products li.product .sg-product-card__image-link { display: block; }
.woocommerce ul.products li.product .sg-product-card__media img.sg-product-card__image {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  display: block;
  margin: 0;
  border: 0;
  background: #efefed;
  object-fit: cover;
  transition: opacity 260ms ease, transform 420ms ease;
}

.sg-product-card__image--secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.sg-quick-view-trigger {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  min-width: 126px;
  padding: 12px 18px;
  border: 0;
  background: rgba(248, 248, 246, .94);
  color: var(--sg-ink);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.sg-quick-view-trigger:hover,
.sg-quick-view-trigger:focus-visible { background: #fff; outline: 1px solid var(--sg-ink); }
.sg-product-card__details { position: relative; min-height: 110px; padding-top: 14px; }
.sg-product-card__default,
.sg-product-card__purchase { transition: opacity 180ms ease, visibility 180ms ease; }
.sg-product-card__default { opacity: 1; visibility: visible; }
.sg-product-card__purchase {
  position: absolute;
  inset: 10px 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  opacity: 0;
  visibility: hidden;
}

.sg-card-option span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.sg-card-option select,
.sg-card-add {
  width: 100%;
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid #a8a8a8;
  border-radius: 0;
  background: #fff;
  color: var(--sg-ink);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sg-card-add {
  grid-column: 1 / -1;
  border-color: var(--sg-ink);
  background: var(--sg-ink);
  color: #fff;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.sg-card-add:hover:not(:disabled),
.sg-card-add:focus-visible { border-color: var(--sg-ink); background: #fff; color: var(--sg-ink); }
.sg-card-add:disabled { color: #8c8c8c; cursor: not-allowed; }

@media (hover: hover) and (pointer: fine) {
  .sg-product-card:hover .sg-product-card__image--primary,
  .sg-product-card:focus-within .sg-product-card__image--primary { opacity: 0; }
  .sg-product-card:hover .sg-product-card__image--secondary,
  .sg-product-card:focus-within .sg-product-card__image--secondary { opacity: 1; transform: scale(1.015); }
  .sg-product-card:hover .sg-quick-view-trigger,
  .sg-product-card:focus-within .sg-quick-view-trigger { opacity: 1; transform: translateY(0); }
  .sg-product-card:hover .sg-product-card__default,
  .sg-product-card:focus-within .sg-product-card__default { opacity: 0; visibility: hidden; }
  .sg-product-card:hover .sg-product-card__purchase,
  .sg-product-card:focus-within .sg-product-card__purchase { opacity: 1; visibility: visible; }
}

body.sg-quick-view-open { overflow: hidden; }
.sg-quick-view[hidden] { display: none; }
.sg-quick-view { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 28px; }
.sg-quick-view__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .58); opacity: 0; transition: opacity 180ms ease; }
.sg-quick-view__dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 94vw);
  max-height: min(760px, 90vh);
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  overflow: auto;
  background: #fff;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.sg-quick-view.is-open .sg-quick-view__backdrop,
.sg-quick-view.is-open .sg-quick-view__dialog { opacity: 1; }
.sg-quick-view.is-open .sg-quick-view__dialog { transform: translateY(0); }
.sg-quick-view__close {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 16px;
  border: 0;
  background: transparent;
  font-size: 38px;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
}
.sg-quick-view__gallery { position: relative; min-height: 560px; display: grid; place-items: center; background: #ededeb; }
.sg-quick-view__image { width: 100%; height: 100%; max-height: 720px; display: block; object-fit: contain; }
.sg-quick-view__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 44px;
  height: 56px;
  border: 0;
  background: rgba(255, 255, 255, .7);
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}
.sg-quick-view__arrow--prev { left: 12px; }
.sg-quick-view__arrow--next { right: 12px; }
.sg-quick-view__content { display: flex; flex-direction: column; padding: 70px clamp(28px, 4vw, 54px) 40px; }
.sg-quick-view__content h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(25px, 2vw, 34px); font-weight: 400; line-height: 1.18; }
.sg-quick-view__price { margin: 26px 0; padding-bottom: 22px; border-bottom: 1px solid #d7d7d7; font-size: 15px; }
.sg-quick-view__option { display: block; margin-bottom: 20px; }
.sg-quick-view__option span { display: block; margin-bottom: 9px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.sg-quick-view__option select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #bbb;
  border-radius: 0;
  background: #fff;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sg-quick-view__add {
  width: 100%;
  min-height: 56px;
  margin-top: 4px;
  border: 1px solid var(--sg-ink);
  border-radius: 0;
  background: var(--sg-ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}
.sg-quick-view__add:disabled { border-color: #929292; background: #929292; cursor: not-allowed; }
.sg-quick-view__add:not(:disabled):hover,
.sg-quick-view__add:not(:disabled):focus-visible { background: #fff; color: var(--sg-ink); outline: none; }
.sg-quick-view__details { margin-top: auto; padding-top: 38px; text-align: center; font-size: 11px; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }
.sg-quick-view__details:hover,
.sg-quick-view__details:focus-visible { text-decoration: underline; text-underline-offset: 5px; }

/* Product details: editorial two-column layout inspired by premium fashion retail. */
body.single-product .site-content {
  padding: 0 0 90px;
  background: #fbfaf9;
}

body.single-product,
body.single-product .content-shell,
body.single-product main,
body.single-product .site-main { background: #fbfaf9; }

body.single-product .content-shell { width: 100%; max-width: none; }

.sg-product-breadcrumbs {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 clamp(24px, 3.2vw, 62px);
  border-bottom: 1px solid var(--sg-line);
  background: #fbfaf9;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sg-product-breadcrumbs a { text-decoration: none; }
.sg-product-breadcrumbs a:hover,
.sg-product-breadcrumbs a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

body.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  margin: 0;
  background: #fbfaf9;
}

body.single-product div.product::before,
body.single-product div.product::after { display: none; }

body.single-product div.product .woocommerce-product-gallery {
  width: 100%;
  float: none;
  margin: 0;
  padding: 0 0 0 92px;
  background: #fbfaf9;
}

body.single-product .woocommerce-product-gallery__wrapper { margin: 0; }

body.single-product .woocommerce-product-gallery__image a,
body.single-product .woocommerce-product-gallery__image img {
  width: 100%;
  display: block;
}

body.single-product .flex-control-thumbs {
  position: absolute;
  top: 24px;
  left: 20px;
  width: 52px;
  max-height: calc(100% - 48px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 !important;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

body.single-product .flex-control-thumbs li {
  width: 52px !important;
  float: none !important;
  margin: 0 !important;
}

body.single-product .flex-control-thumbs img {
  aspect-ratio: 1;
  border: 1px solid transparent;
  object-fit: cover;
  opacity: .68;
}

body.single-product .flex-control-thumbs img.flex-active,
body.single-product .flex-control-thumbs img:hover { border-color: var(--sg-ink); opacity: 1; }

body.single-product div.product .summary {
  width: 100%;
  float: none;
  align-self: start;
  position: static;
  margin: 0;
  padding: clamp(48px, 5vw, 92px) clamp(36px, 5vw, 96px) 70px;
  background: #fbfaf9;
}

.sg-product-brand {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body.single-product div.product .product_title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 3vw, 58px);
  font-weight: 400;
  line-height: 1.05;
}

body.single-product div.product p.price,
body.single-product div.product span.price {
  margin: 30px 0;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--sg-line);
  color: var(--sg-ink);
  font-size: 18px;
  letter-spacing: .04em;
}

body.single-product div.product form.cart,
body.single-product div.product form.variations_form { margin: 0 0 28px; }

body.single-product table.variations,
body.single-product table.variations tbody,
body.single-product table.variations tr,
body.single-product table.variations th,
body.single-product table.variations td { display: block; width: 100%; }

body.single-product table.variations tr { margin-bottom: 22px; }
body.single-product table.variations th { padding: 0 0 9px; text-align: left; }
body.single-product table.variations label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

body.single-product table.variations td { padding: 0; }
body.single-product table.variations select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #bcbcbc;
  border-radius: 0;
  background: white;
  color: var(--sg-ink);
  font: 14px Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.single-product .reset_variations { display: inline-block; margin-top: 8px; font-size: 12px; }
body.single-product .woocommerce-variation-price { margin-bottom: 18px; }

body.single-product div.product form.cart .quantity { margin-right: 10px; }
body.single-product div.product form.cart .qty {
  width: 68px;
  min-height: 54px;
  border: 1px solid #bcbcbc;
  border-radius: 0;
}

body.single-product .single_add_to_cart_button.button {
  min-height: 54px;
  padding: 0 34px;
  border-radius: 0;
  border: 1px solid var(--sg-ink) !important;
  background: var(--sg-ink) !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body.single-product .single_add_to_cart_button.button:hover,
body.single-product .single_add_to_cart_button.button:focus-visible {
  border-color: var(--sg-ink) !important;
  background: #fff !important;
  color: var(--sg-ink) !important;
}

body.single-product .single_add_to_cart_button.button.disabled,
body.single-product .single_add_to_cart_button.button:disabled {
  border-color: var(--sg-ink) !important;
  background: var(--sg-ink) !important;
  color: #fff !important;
  opacity: 1 !important;
}
body.single-product .product_meta { padding-top: 22px; border-top: 1px solid var(--sg-line); font-size: 12px; line-height: 1.8; }

body.single-product div.product .woocommerce-tabs {
  grid-column: 1 / -1;
  width: min(100% - 48px, 1120px);
  margin: 42px auto 70px;
  padding-top: 8px;
  background: #fbfaf9;
}

body.single-product div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 28px;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--sg-ink);
}

body.single-product div.product .woocommerce-tabs ul.tabs::before,
body.single-product div.product .woocommerce-tabs ul.tabs li::before,
body.single-product div.product .woocommerce-tabs ul.tabs li::after { display: none; }

body.single-product div.product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.single-product div.product .woocommerce-tabs ul.tabs li a {
  padding: 15px 0;
  font-size: 11px;
  letter-spacing: .11em;
  text-transform: uppercase;
}

body.single-product div.product .woocommerce-tabs ul.tabs li.active a { border-bottom: 2px solid var(--sg-ink); }
body.single-product div.product .woocommerce-tabs .panel { padding: 22px 0 0; font-size: 14px; line-height: 1.7; }
body.single-product div.product .woocommerce-tabs .panel h2 { display: none; }

body.single-product .related.products {
  grid-column: 1 / -1;
  padding: 70px clamp(24px, 4vw, 70px) 0;
  background: #fbfaf9;
}

body.single-product .related.products > h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

@media (max-width: 1180px) {
  body.post-type-archive-product .site-content,
  body.tax-product_cat .site-content,
  body.sg-shop-page .site-content { padding-inline: 28px; }
  .woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .woocommerce .sg-catalog-layout--category ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .woocommerce .sg-products-column--daily-collection > ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  body.single-product,
  body.single-product .site-content,
  body.single-product .content-shell,
  body.single-product div.product {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
  }
  .sg-shop-nav__inner { min-height: 58px; gap: 36px; font-size: 21px; }
  .sg-collections-grid { width: 100%; }
  .sg-catalog-layout--category { padding-right: 0; }
  .sg-category-panel {
    position: static;
    width: 100%;
    min-height: 0;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 28px;
    padding: 20px;
    text-align: right;
  }
  .sg-category-panel__categories h1 { font-size: 27px; }
  .sg-category-panel ul { display: flex; flex-wrap: wrap; gap: 5px 22px; }
  .sg-category-panel li { margin: 0; font-size: 19px; }
  .sg-filter-toggle { flex: 0 0 auto; font-size: 16px; }
  .woocommerce ul.products,
  .woocommerce .sg-catalog-layout--category ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .woocommerce .sg-products-column--daily-collection > ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce .sg-products-column--daily-collection > ul.products > li.product { grid-column: span 1; }
  .woocommerce .sg-products-column--daily-collection > ul.products > li.sg-collection-banner {
    grid-column: 1 / -1;
    width: min(100%, 520px) !important;
    margin: 0 auto 26px !important;
  }
  .woocommerce .sg-products-column--daily-collection > ul.products > li.sg-collection-banner img { width: 100%; }
  body.single-product div.product { grid-template-columns: minmax(0, 1fr); }
  body.single-product div.product .summary { min-width: 0; position: static; padding: 38px 24px 42px; }
  body.single-product div.product .woocommerce-tabs { grid-column: 1; margin: 0 24px 44px; }
  body.single-product div.product .woocommerce-product-gallery,
  body.single-product .woocommerce-product-gallery__wrapper,
  body.single-product .woocommerce-product-gallery__image {
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
  }
  body.single-product div.product .woocommerce-product-gallery { padding-left: 0; overflow: hidden; }
  body.single-product .flex-control-thumbs {
    position: static;
    width: 100%;
    max-width: 100%;
    flex-direction: row;
    padding: 12px 16px;
    background: #fff;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  body.single-product .flex-control-thumbs li { flex: 0 0 52px; }
  body.single-product .related.products { grid-column: 1; }
  .sg-quick-view__dialog { grid-template-columns: 1fr; max-height: 92vh; }
  .sg-quick-view__gallery { min-height: min(58vh, 520px); }
  .sg-quick-view__content { padding: 34px 24px; }
  .sg-quick-view__details { margin-top: 12px; }
}

@media (max-width: 620px) {
  body.post-type-archive-product .site-content,
  body.tax-product_cat .site-content,
  body.sg-shop-page .site-content { padding: 24px 16px 54px; }
  .sg-shop-nav__inner { padding-inline: 18px; }
  .sg-category-panel { align-items: center; }
  .sg-category-panel ul { gap: 4px 14px; }
  .sg-filter-toggle { padding-top: 0; }
  .woocommerce ul.products,
  .woocommerce .sg-catalog-layout--category ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .woocommerce .sg-products-column--daily-collection > ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce ul.products li.product .price { font-size: 17px; }
  .sg-product-breadcrumbs { min-height: 58px; padding-inline: 16px; font-size: 10px; }
  body.single-product div.product .product_title { font-size: 34px; }
  body.single-product div.product .woocommerce-tabs ul.tabs { gap: 16px; overflow-x: auto; }
  body.single-product div.product .woocommerce-tabs ul.tabs li { flex: 0 0 auto; }
  .sg-quick-view { padding: 10px; }
  .sg-quick-view__dialog { width: 100%; }
  .sg-quick-view__gallery { min-height: 42vh; }
  .sg-quick-view__content h2 { font-size: 24px; padding-right: 24px; }
  .sg-quick-view-trigger { right: 8px; bottom: 8px; min-width: 0; padding: 9px 10px; opacity: 1; transform: none; }
  .sg-product-card__details { min-height: 94px; }
}
