/* Solitaire Forever product layout. Scoped styles inherit theme font and Elementor palette. */
.sf-single-product-root {
  --sf-single-product-accent: var(--e-global-color-primary, #27231f);
  --sf-single-product-accent-text: #262626;
  --sf-single-product-ink: var(--e-global-color-text, inherit);
  --sf-single-product-line: rgba(100, 90, 80, .17);
  --sf-single-product-muted: #706d69;
  --sf-single-product-surface: #faf9f7;
  --sf-single-product-radius: 5px;
  color: var(--sf-single-product-ink);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 1320px;
  padding: 22px clamp(15px, 3vw, 42px) 66px;
  overflow-wrap: break-word;
}
.sf-single-product-root *, .sf-single-product-root *::before, .sf-single-product-root *::after {box-sizing:border-box}
.sf-single-product-root a {color:inherit;text-decoration:none}
.sf-single-product-root button, .sf-single-product-root input, .sf-single-product-root select, .sf-single-product-root textarea {font:inherit}
.sf-single-product-root :focus-visible {outline:2px solid var(--sf-single-product-accent);outline-offset:3px}
.sf-single-product-breadcrumb {font-size:12px;line-height:1.6;opacity:.72;margin-bottom:31px}
.sf-single-product-breadcrumb .woocommerce-breadcrumb {margin:0;padding:0;color:inherit;font-size:inherit}
.sf-single-product-breadcrumb .woocommerce-breadcrumb a {color:inherit}
.sf-single-product-main {display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);column-gap:clamp(28px,5.5vw,84px);align-items:start}
.sf-single-product-main > * {min-width:0}
.sf-single-product-media {position:relative;min-width:0}
.sf-single-product-root .woocommerce-product-gallery {width:100%!important;float:none!important;margin:0!important;opacity:1!important}
.sf-single-product-root .woocommerce-product-gallery__wrapper {margin:0}
.sf-single-product-root .woocommerce-product-gallery__image {width:100%;overflow:hidden;background:var(--sf-single-product-surface)}
.sf-single-product-root .woocommerce-product-gallery__image img {display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain}
.sf-single-product-root .woocommerce-product-gallery .flex-control-thumbs {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 0!important;list-style:none;padding:0!important}
.sf-single-product-root .woocommerce-product-gallery .flex-control-thumbs li {float:none!important;width:100%!important;margin:0!important;list-style:none}
.sf-single-product-root .woocommerce-product-gallery .flex-control-thumbs img {width:100%;aspect-ratio:1;object-fit:contain;border:1px solid var(--sf-single-product-line);border-radius:var(--sf-single-product-radius);cursor:pointer;opacity:.72}
.sf-single-product-root .woocommerce-product-gallery .flex-control-thumbs img.flex-active,.sf-single-product-root .woocommerce-product-gallery .flex-control-thumbs img:hover {opacity:1;border-color:var(--sf-single-product-accent)}
.sf-single-product-root .woocommerce-product-gallery__trigger {z-index:3;background:#fff!important;border-radius:50%;box-shadow:0 2px 14px #00000012}
.sf-single-product-sale-badge {position:absolute;top:15px;left:15px;z-index:2;padding:6px 14px;background:var(--sf-single-product-accent);color:var(--sf-single-product-accent-text);font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.sf-single-product-summary {padding:6px 0 0}
.sf-single-product-eyebrow {font-size:11px;letter-spacing:.14em;text-transform:uppercase;margin-bottom:12px;opacity:.68}
.sf-single-product-eyebrow a {text-decoration:none}
.sf-single-product-title {font-family:inherit;font-size:clamp(27px,3vw,45px);font-weight:500;line-height:1.17;letter-spacing:-.018em;margin:0 0 16px;max-width:100%;color:inherit}
.sf-single-product-rating {display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 18px;font-size:12px;color:var(--sf-single-product-muted)}
.sf-single-product-root .star-rating {float:none!important;margin:0!important;color:var(--sf-single-product-accent)}
.sf-single-product-price {font-size:clamp(19px,2.2vw,26px);font-weight:500;margin:0 0 22px;line-height:1.4}
.sf-single-product-price del,.sf-single-product-related-price del {font-size:.78em;opacity:.6;margin-right:8px}
.sf-single-product-price ins,.sf-single-product-related-price ins {text-decoration:none;font-weight:600}
.sf-single-product-excerpt {font-size:14px;line-height:1.85;margin:0 0 23px;opacity:.88}
.sf-single-product-excerpt p:last-child {margin-bottom:0}
.sf-single-product-variants {padding:15px 0;border-top:1px solid var(--sf-single-product-line);margin-top:6px}
.sf-single-product-root .variations_form {margin:0!important;padding:0!important}
.sf-single-product-root table.variations {border:0!important;margin:0 0 10px!important;width:100%;display:table}
.sf-single-product-root .variations tbody,.sf-single-product-root .variations tr {display:block;width:100%}
.sf-single-product-root .variations td,.sf-single-product-root .variations th {display:block;padding:0!important;width:100%;border:0!important;text-align:left}
.sf-single-product-root .variations label {display:block;font-size:13px;font-weight:600;margin:0 0 8px}
.sf-single-product-root .variations select {width:100%!important;max-width:100%!important;min-height:46px;padding:10px 13px;border:1px solid var(--sf-single-product-line);border-radius:var(--sf-single-product-radius);background-color:#fff;color:#242424}
.sf-single-product-root .variations .reset_variations {display:inline-block;font-size:12px;margin:5px 0 15px;opacity:.7}
.sf-single-product-root .woocommerce-variation-availability,.sf-single-product-root .woocommerce-variation-price {font-size:14px;margin:6px 0}
.sf-single-product-root .woocommerce-variation-price .price {font-size:20px}
.sf-single-product-stock .stock,.sf-single-product-root .stock {font-size:13px;margin:10px 0;color:inherit}
.sf-single-product-visible-quantity {display:flex;align-items:center;gap:15px;font-size:13px;margin:16px 0}
.sf-single-product-visible-quantity input {width:85px;height:44px;padding:8px 10px;border:1px solid var(--sf-single-product-line);background:#fff;color:#222;border-radius:var(--sf-single-product-radius)}
.sf-single-product-quote-open,.sf-single-product-submit {display:flex;justify-content:center;align-items:center;width:100%;min-height:52px;padding:14px 20px;border:1px solid var(--sf-single-product-accent);background:var(--sf-single-product-accent);color:var(--sf-single-product-accent-text)!important;font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.08em;line-height:1.4;text-align:center;border-radius:var(--sf-single-product-radius);cursor:pointer;transition:filter .2s ease, box-shadow .2s ease}
.sf-single-product-quote-open:hover,.sf-single-product-submit:hover {filter:brightness(.87);box-shadow:0 3px 16px #00000010}
.sf-single-product-quote-caption {text-align:center;color:var(--sf-single-product-muted);font-size:12px;margin:11px 0 26px}
.sf-single-product-meta {border-top:1px solid var(--sf-single-product-line);font-size:12px;padding-top:15px;opacity:.82}
.sf-single-product-meta p {margin:3px 0}
.sf-single-product-meta strong {font-weight:600}
.sf-single-product-flash {padding:14px 18px;margin:28px 0;background:var(--sf-single-product-surface);border:1px solid var(--sf-single-product-line)}
.sf-single-product-description {margin-top:58px;padding-top:6px;border-top:1px solid var(--sf-single-product-line)}
.sf-single-product-root .woocommerce-tabs {margin:0;padding:0;width:100%;}
.sf-single-product-root .woocommerce-tabs ul.tabs {display:flex;gap:clamp(10px,2.4vw,36px);flex-wrap:wrap;padding:0!important;margin:0 0 20px!important;border-bottom:1px solid var(--sf-single-product-line);list-style:none;background:transparent}
.sf-single-product-root .woocommerce-tabs ul.tabs::before,.sf-single-product-root .woocommerce-tabs ul.tabs::after,.sf-single-product-root .woocommerce-tabs ul.tabs li::before,.sf-single-product-root .woocommerce-tabs ul.tabs li::after {display:none!important;content:none!important}
.sf-single-product-root .woocommerce-tabs ul.tabs li {display:inline-flex!important;align-items:center;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
.sf-single-product-root .woocommerce-tabs ul.tabs li a {padding:15px 0!important;color:inherit!important;font-size:13px;font-weight:600;text-decoration:none;border-bottom:2px solid transparent}
.sf-single-product-root .woocommerce-tabs ul.tabs li.active a {border-bottom-color:var(--sf-single-product-accent)}
.sf-single-product-root .woocommerce-tabs .panel {margin:0 0 34px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:inherit}
.sf-single-product-root .woocommerce-tabs .panel > h2:first-child {font-size:21px;line-height:1.35;margin:0 0 15px;font-weight:500}
.sf-single-product-root .woocommerce-tabs table.shop_attributes {border-collapse:collapse;width:100%}
.sf-single-product-root .woocommerce-tabs table.shop_attributes th,.sf-single-product-root .woocommerce-tabs table.shop_attributes td {border:1px solid var(--sf-single-product-line);padding:12px 14px;font-size:14px;text-align:left;background:none}
.sf-single-product-root #reviews .commentlist {padding:0;list-style:none}
.sf-single-product-root #reviews .commentlist li {padding:14px 0;border-bottom:1px solid var(--sf-single-product-line)}
.sf-single-product-root #reviews textarea,.sf-single-product-root #reviews input:not([type=checkbox]):not([type=radio]) {border:1px solid var(--sf-single-product-line);padding:12px;max-width:100%}
.sf-single-product-root #reviews .submit {background:var(--sf-single-product-accent);color:var(--sf-single-product-accent-text);padding:12px 24px;border:0;cursor:pointer}
.sf-single-product-related {margin-top:52px}
.sf-single-product-related h2 {font-family:inherit;font-size:clamp(22px,2.2vw,29px);font-weight:500;margin:0 0 23px}
.sf-single-product-related-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,2vw,22px)}
.sf-single-product-related-card {min-width:0}
.sf-single-product-related-image {display:block;background:var(--sf-single-product-surface);aspect-ratio:1/1;overflow:hidden}
.sf-single-product-related-image img {display:block;width:100%;height:100%;object-fit:contain;transition:transform .25s ease}
.sf-single-product-related-image:hover img {transform:scale(1.03)}
.sf-single-product-related-card h3 {font-family:inherit;font-size:15px;font-weight:500;margin:12px 0 5px;line-height:1.5}
.sf-single-product-related-price {font-size:14px;margin-bottom:9px}
.sf-single-product-related-cta {display:inline-block;border-bottom:1px solid currentColor;padding:1px 0;font-size:12px;font-weight:600}
.sf-single-product-modal {display:none;position:fixed;inset:0;z-index:999999;align-items:center;justify-content:center;padding:14px}
.sf-single-product-modal:target {display:flex}
.sf-single-product-modal-backdrop {position:absolute;inset:0;background:rgba(15,15,15,.69)}
.sf-single-product-modal-panel {position:relative;z-index:1;background:#fff;color:#292723;width:min(650px,100%);max-height:calc(100vh - 28px);overflow-y:auto;overscroll-behavior:contain;padding:clamp(23px,3vw,42px);box-shadow:0 16px 60px #0003;border-radius:var(--sf-single-product-radius)}
.sf-single-product-modal-close {position:absolute;right:18px;top:13px;font-size:29px;line-height:1.2;color:#222!important;display:block;width:30px;text-align:center}
.sf-single-product-modal-kicker {display:block;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#777;margin-bottom:5px}
.sf-single-product-modal-panel h2 {font-family:inherit;font-size:clamp(24px,3vw,31px);font-weight:500;color:#24201e;margin:0 0 6px;line-height:1.28}
.sf-single-product-modal-intro {font-size:14px;color:#666;margin:0 0 14px}
.sf-single-product-selection:empty {display:none}
.sf-single-product-selection {border-left:2px solid #4f473c;padding-left:12px;font-size:12px;color:#615b54;margin-bottom:16px}
.sf-single-product-quote-form {display:grid;gap:16px}
.sf-single-product-form-row {display:grid;grid-template-columns:1fr 1fr;gap:14px}
.sf-single-product-quote-form label {display:block;font-size:12px;font-weight:600;line-height:1.55;color:#37312c}
.sf-single-product-quote-form label input:not([type=checkbox]),.sf-single-product-quote-form textarea {display:block;width:100%;margin:5px 0 0;background:#fff;color:#272727;border:1px solid #d9d5cf;padding:11px 12px;border-radius:3px;outline-offset:2px;box-shadow:none;min-height:44px}
.sf-single-product-quote-form textarea {resize:vertical;min-height:90px}
.sf-single-product-quote-form .sf-single-product-consent {display:flex;align-items:flex-start;gap:11px;font-weight:400;color:#59534e}
.sf-single-product-consent input {margin:3px 0 0;flex:none;min-width:17px;min-height:17px;accent-color:var(--sf-single-product-accent)}
.sf-single-product-submit {color:var(--sf-single-product-accent-text)!important}
.sf-single-product-form-note {font-size:11px;color:#777;margin:-6px 0 0;text-align:center}
.sf-single-product-honeypot {position:absolute!important;left:-9999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}
.sf-single-product-option-warning {font-size:12px;color:#9d302f;margin:0 0 9px}
@media (max-width:1024px) {
  .sf-single-product-main {grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px}
  .sf-single-product-related-grid {grid-template-columns:repeat(2,minmax(0,1fr));row-gap:28px}
}
@media (max-width:767px) {
  .sf-single-product-root {padding:14px 15px 48px}
  .sf-single-product-breadcrumb {margin-bottom:18px}
  .sf-single-product-main {grid-template-columns:minmax(0,1fr);gap:27px}
  .sf-single-product-summary {padding-top:0}
  .sf-single-product-title {font-size:30px}
  .sf-single-product-price {font-size:22px}
  .sf-single-product-root .woocommerce-product-gallery .flex-control-thumbs {gap:7px}
  .sf-single-product-description {margin-top:37px}
  .sf-single-product-related {margin-top:39px}
  .sf-single-product-related-grid {column-gap:12px}
  .sf-single-product-form-row {grid-template-columns:minmax(0,1fr)}
  .sf-single-product-modal-panel {padding:26px 19px}
}
@media (prefers-reduced-motion:reduce) {
  .sf-single-product-root *, .sf-single-product-root *::before, .sf-single-product-root *::after {transition:none!important;animation:none!important}
}


/* v1.2.0 — LIGHT OUTLINE BUTTONS + RESPONSIVE ELEMENTOR-SAFE LAYOUT.
 * This file deliberately does not apply a black button fill.
 */
:root {
  --sfpq-cta-bg: #ffffff;
  --sfpq-cta-hover: #f5f3ef;
  --sfpq-cta-text: #242424;
  --sfpq-cta-border: #c9c2b8;
}
.sf-single-product-root {
  --sf-single-product-accent: #282525;
  --sf-single-product-accent-text: #ffffff;
  --sf-single-product-line: #e8e4df;
  --sf-single-product-surface: #faf9f7;
  --sf-single-product-muted: #66615c;
  --sf-single-product-radius: 5px;
  background: transparent;
  color: #292723;
  width: 100%;
  min-width: 0;
  max-width: 1240px;
  padding: 10px clamp(12px, 2.2vw, 26px) 52px;
}
/* Elementor owns the section padding: do not insert a second margin inside it. */
.elementor .elementor-widget-shortcode .sf-single-product-root,
.elementor .elementor-widget-html .sf-single-product-root {
  padding-left: 0;
  padding-right: 0;
}
.sf-single-product-root .sf-single-product-main {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  gap: clamp(22px, 3.5vw, 56px);
  align-items: start;
  width: 100%;
  max-width: 100%;
}
.sf-single-product-root .sf-single-product-main > *,
.sf-single-product-root .sf-single-product-summary,
.sf-single-product-root .sf-single-product-media {
  min-width: 0;
  max-width: 100%;
}
.sf-single-product-root .sf-single-product-media .woocommerce-product-gallery,
.sf-single-product-root .sf-single-product-media .woocommerce-product-gallery__wrapper,
.sf-single-product-root .sf-single-product-media .flex-viewport {
  width: 100% !important;
  max-width: 100% !important;
  height: auto;
}
.sf-single-product-root .woocommerce-product-gallery img,
.sf-single-product-root .sf-single-product-related-image img {
  max-width: 100%;
}
.sf-single-product-root .sf-single-product-media .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
}
.sf-single-product-root .sf-single-product-title {
  font-size: clamp(25px, 3vw, 43px);
  overflow-wrap: break-word;
  margin-top: 0;
}
.sf-single-product-root .sf-single-product-summary .sf-single-product-excerpt,
.sf-single-product-root .sf-single-product-summary .sf-single-product-excerpt * { max-width: 100%; }
.sf-single-product-root .sf-single-product-description,
.sf-single-product-root .sf-single-product-related {clear:both; width:100%; min-width:0;}
.sf-single-product-root .sf-single-product-related-grid {grid-template-columns:repeat(4,minmax(0,1fr));}
.sf-single-product-root .sf-single-product-related-card {min-width:0;overflow-wrap:break-word;}
.sf-single-product-root .sf-single-product-related-card img {height:100% !important;}
.sf-single-product-root .sf-single-product-variants .variations_form,
.sf-single-product-root .variations,
.sf-single-product-root .woocommerce-tabs,
.sf-single-product-root .woocommerce-tabs .panel,
.sf-single-product-root .woocommerce-tabs .panel table {max-width:100%;}
.sf-single-product-root .variations select {width:100%;min-width:0;}
.sf-single-product-root .sf-single-product-visible-quantity {flex-wrap:wrap;}
.sf-single-product-root .sf-single-product-quote-open,
.sf-single-product-root button.sf-single-product-submit,
.sf-single-product-modal button.sf-single-product-submit,
.woocommerce a.button.sf-single-product-loop-link,
.woocommerce ul.products li.product a.button.sf-single-product-loop-link,
.wc-block-grid__product a.button.sf-single-product-loop-link,
a.button.sf-single-product-loop-link {
  display:inline-flex !important;
  justify-content:center !important;
  align-items:center !important;
  max-width:100% !important;
  min-height:47px !important;
  padding:12px 20px !important;
  background:var(--sfpq-cta-bg, #fff) !important;
  background-image:none !important;
  border:1px solid var(--sfpq-cta-border, #c9c2b8) !important;
  color:var(--sfpq-cta-text, #242424) !important;
  fill:var(--sfpq-cta-text, #242424) !important;
  box-shadow:none !important;
  border-radius:4px !important;
  font-family:inherit !important;
  font-size:12px !important;
  font-weight:600 !important;
  letter-spacing:.07em !important;
  line-height:1.5 !important;
  text-decoration:none !important;
  text-align:center !important;
  text-transform:uppercase !important;
  opacity:1 !important;
  white-space:normal;
  cursor:pointer;
  transition:background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.sf-single-product-root .sf-single-product-quote-open,
.sf-single-product-root button.sf-single-product-submit { width:100% !important; display:flex !important; min-height:52px !important; }
.sf-single-product-root .sf-single-product-quote-open:hover,
.sf-single-product-root button.sf-single-product-submit:hover,
.sf-single-product-modal button.sf-single-product-submit:hover,
.woocommerce a.button.sf-single-product-loop-link:hover,
.woocommerce ul.products li.product a.button.sf-single-product-loop-link:hover,
.wc-block-grid__product a.button.sf-single-product-loop-link:hover,
a.button.sf-single-product-loop-link:hover {
  background:var(--sfpq-cta-hover, #f5f3ef) !important;
  background-image:none !important;
  border-color:var(--sfpq-cta-border, #c9c2b8) !important;
  color:var(--sfpq-cta-text, #242424) !important;
  box-shadow:0 2px 10px rgba(39,32,25,.06) !important;
  filter:none !important;
  transform:none !important;
}
.sf-single-product-root .sf-single-product-quote-open:focus-visible,
.sf-single-product-root button.sf-single-product-submit:focus-visible,
.sf-single-product-modal button.sf-single-product-submit:focus-visible,
a.button.sf-single-product-loop-link:focus-visible {
  outline:2px solid #585047 !important;
  outline-offset:3px !important;
}
.sf-single-product-root .sf-single-product-related-cta { color:#39342f !important; }
.sf-single-product-root .sf-single-product-modal-panel,
.sf-single-product-modal .sf-single-product-modal-panel {
  width:min(640px, 100%);
  max-height:calc(100vh - 28px);
  max-height:calc(100dvh - 28px);
  background:#fff !important;
  color:#26211c !important;
  border:1px solid #ece9e5;
  border-radius:8px;
  box-sizing:border-box;
}
.sf-single-product-modal *,
.sf-single-product-modal *::before,
.sf-single-product-modal *::after { box-sizing:border-box; }
.sf-single-product-modal .sf-single-product-quote-form label input:not([type="checkbox"]),
.sf-single-product-modal .sf-single-product-quote-form textarea,
.sf-single-product-root .variations select,
.sf-single-product-root .sf-single-product-visible-quantity input {
  background:#fff !important;
  color:#292723 !important;
  border:1px solid #d8d3cb !important;
  border-radius:4px !important;
  box-shadow:none !important;
  max-width:100% !important;
}
.sf-single-product-modal .sf-single-product-form-row > * { min-width:0; }
.sf-single-product-modal .sf-single-product-submit { width:100% !important; display:flex !important; }
/* Product price widgets are hidden without modifying WooCommerce internal pricing. */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce .woocommerce-variation-price,
.sf-single-product-root .sf-single-product-price,
.sf-single-product-root .sf-single-product-related-price,
.elementor-widget-woocommerce-product-price .price,
.elementor-widget-woocommerce-product-price .woocommerce-Price-amount,
.wc-block-grid__product-price,
.wc-block-components-product-price,
.wp-block-woocommerce-product-price,
.wc-block-components-product-sale-badge { display:none !important; }
/* Hide only actual cart controls, never plugin-generated quote links. */
body.woocommerce .single_add_to_cart_button:not(.sf-single-product-loop-link),
body.woocommerce .add_to_cart_button:not(.sf-single-product-loop-link),
body.woocommerce button[name="add-to-cart"],
.woocommerce ul.products .add_to_cart_button:not(.sf-single-product-loop-link),
.elementor-widget-woocommerce-product-add-to-cart .single_add_to_cart_button { display:none !important; }
/* CSS support for Woo product Grid blocks. */
.woocommerce .wp-block-woocommerce-product-price,
.woocommerce .wp-block-woocommerce-product-sale-badge { display:none !important; }
/* Sidebar/embedded Elementor widgets require width-sensitive stacking, not viewport alone. */
.sf-single-product-root { container-type:inline-size; }
@container (max-width: 760px) {
  .sf-single-product-root .sf-single-product-main {grid-template-columns:minmax(0,1fr);gap:28px;}
  .sf-single-product-root .sf-single-product-related-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .sf-single-product-root .sf-single-product-description {margin-top:35px;}
}
@container (max-width: 460px) {
  .sf-single-product-root .sf-single-product-main {gap:22px;}
  .sf-single-product-root .sf-single-product-title {font-size:27px;}
  .sf-single-product-root .woocommerce-tabs ul.tabs {gap:15px;}
  .sf-single-product-root .sf-single-product-related-grid {gap:12px;}
  .sf-single-product-root .sf-single-product-breadcrumb {margin-bottom:18px;}
}
@media(max-width:900px) {
  .sf-single-product-root .sf-single-product-main {grid-template-columns:minmax(0,1fr);gap:26px;}
  .sf-single-product-root .sf-single-product-related-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:650px) {
  .sf-single-product-root {padding:12px 14px 36px;}
  .elementor .elementor-widget-shortcode .sf-single-product-root,
  .elementor .elementor-widget-html .sf-single-product-root {padding-inline:0;}
  .sf-single-product-root .sf-single-product-title {font-size:27px;}
  .sf-single-product-root .sf-single-product-description {margin-top:34px;}
  .sf-single-product-modal {padding:9px;}
  .sf-single-product-modal .sf-single-product-modal-panel {width:100%;max-height:calc(100dvh - 18px);padding:24px 18px;}
  .sf-single-product-modal .sf-single-product-form-row {grid-template-columns:minmax(0,1fr);}
  .woocommerce ul.products li.product a.button.sf-single-product-loop-link {width:auto;max-width:100%;padding:11px 13px !important;}
}
@media(prefers-reduced-motion:reduce) {
  .sf-single-product-root .sf-single-product-quote-open,
  .sf-single-product-root button.sf-single-product-submit,
  a.button.sf-single-product-loop-link {transition:none!important;}
}


/* v1.2.1 — compact CTA + isolated quantity stepper (Elementor/theme safe). */
.sf-single-product-root .sf-single-product-visible-quantity {
  display:flex !important;
  align-items:center !important;
  flex-flow:row nowrap !important;
  justify-content:flex-start !important;
  gap:14px !important;
  width:max-content !important;
  max-width:100% !important;
  min-height:42px;
  margin:12px 0 17px !important;
  padding:0 !important;
  box-sizing:border-box;
}
.sf-single-product-root .sf-single-product-visible-quantity .sf-single-product-qty-label {
  display:block !important;
  flex:0 0 auto;
  margin:0 !important;
  padding:0 !important;
  width:auto !important;
  min-width:0;
  font-family:inherit;
  font-size:13px !important;
  font-weight:500 !important;
  line-height:1.35 !important;
  color:#35322f;
  white-space:nowrap;
}
.sf-single-product-root .sf-single-product-visible-quantity .sf-single-product-qty-control {
  display:inline-flex !important;
  flex:0 0 auto;
  flex-flow:row nowrap !important;
  align-items:stretch !important;
  justify-content:center !important;
  width:134px !important;
  max-width:100% !important;
  height:42px !important;
  min-height:42px !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid #d8d3cb !important;
  border-radius:4px !important;
  background:#fff !important;
  box-shadow:none !important;
  overflow:hidden;
  box-sizing:border-box;
}
.sf-single-product-root .sf-single-product-visible-quantity button.sf-single-product-qty-step {
  -webkit-appearance:none !important;
  appearance:none !important;
  display:inline-flex !important;
  flex:0 0 37px !important;
  align-items:center !important;
  justify-content:center !important;
  width:37px !important;
  min-width:37px !important;
  max-width:37px !important;
  height:40px !important;
  min-height:0 !important;
  padding:0 !important;
  margin:0 !important;
  background:#fff !important;
  border:0 !important;
  border-radius:0 !important;
  color:#292723 !important;
  font-family:inherit !important;
  font-size:17px !important;
  line-height:1 !important;
  text-align:center !important;
  text-decoration:none !important;
  text-transform:none !important;
  letter-spacing:normal !important;
  box-shadow:none !important;
  transform:none !important;
  cursor:pointer;
  transition:background-color .15s ease;
}
.sf-single-product-root .sf-single-product-visible-quantity button.sf-single-product-qty-step:not(:disabled):hover {background:#f5f3ef !important;}
.sf-single-product-root .sf-single-product-visible-quantity button.sf-single-product-qty-step:disabled {opacity:.38 !important;cursor:not-allowed !important;}
.sf-single-product-root .sf-single-product-visible-quantity input.sf-single-product-qty-input {
  -webkit-appearance:textfield !important;
  -moz-appearance:textfield !important;
  appearance:textfield !important;
  display:block !important;
  flex:1 1 0 !important;
  width:58px !important;
  min-width:0 !important;
  max-width:none !important;
  height:40px !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 2px !important;
  background:#fff !important;
  border:0 !important;
  border-left:1px solid #e8e4df !important;
  border-right:1px solid #e8e4df !important;
  border-radius:0 !important;
  color:#292723 !important;
  font-family:inherit !important;
  font-size:13px !important;
  font-weight:500 !important;
  line-height:40px !important;
  text-align:center !important;
  box-shadow:none !important;
  outline-offset:-2px;
}
.sf-single-product-root .sf-single-product-visible-quantity input.sf-single-product-qty-input::-webkit-outer-spin-button,
.sf-single-product-root .sf-single-product-visible-quantity input.sf-single-product-qty-input::-webkit-inner-spin-button {
  -webkit-appearance:none;
  margin:0;
}
/* Don't let generic WooCommerce/theme full-width button rules stretch the CTA. */
.sf-single-product-root a.sf-single-product-quote-open,
.sf-single-product-root a.sf-single-product-quote-open.button {
  display:inline-flex !important;
  width:auto !important;
  min-width:0 !important;
  max-width:min(100%, 224px) !important;
  min-height:42px !important;
  padding:9px 18px !important;
  margin:0 !important;
  font-size:12px !important;
  line-height:1.4 !important;
  letter-spacing:.055em !important;
  vertical-align:middle;
}
.woocommerce a.button.sf-single-product-loop-link,
.woocommerce ul.products li.product a.button.sf-single-product-loop-link,
.wc-block-grid__product a.button.sf-single-product-loop-link,
a.button.sf-single-product-loop-link {
  width:auto !important;
  min-height:40px !important;
  padding:9px 15px !important;
  font-size:11px !important;
  line-height:1.35 !important;
  letter-spacing:.055em !important;
}
/* The form submission button remains comfortably full-width for mobile usability. */
@media(max-width:380px) {
  .sf-single-product-root .sf-single-product-visible-quantity {gap:10px !important;}
  .sf-single-product-root .sf-single-product-visible-quantity .sf-single-product-qty-control {width:128px !important;}
}


/* v1.2.2 — full uncropped imagery and clean white image card.
 * The original square image slot is retained for a steady FlexSlider height,
 * but object-fit:contain ensures the COMPLETE portrait/landscape image is visible.
 * Gallery backgrounds are white (never the former grey flanking panels).
 */
.sf-single-product-root .sf-single-product-media,
.sf-single-product-root .sf-single-product-media .woocommerce-product-gallery,
.sf-single-product-root .sf-single-product-media .woocommerce-product-gallery__wrapper {
  background:transparent !important;
}
/* FlexSlider-created viewport: only the large photo gets a floating card.
 * Do not pad flex-viewport itself: WooCommerce slider measures its exact width.
 */
.sf-single-product-root .sf-single-product-media .woocommerce-product-gallery .flex-viewport {
  background:#fff !important;
  border:1px solid rgba(100,83,69,.10) !important;
  border-radius:14px !important;
  box-shadow:0 14px 35px rgba(35,29,22,.11), 0 2px 9px rgba(35,29,22,.045) !important;
  overflow:hidden !important;
  padding:0 !important;
  box-sizing:border-box !important;
}
/* Non-JS / gallery-slider-disabled fallback: style the direct wrapper as a card.
 * :not(:has()) prevents a second frame when FlexSlider creates a viewport.
 */
.sf-single-product-root .sf-single-product-media .woocommerce-product-gallery:not(:has(.flex-viewport)) > .woocommerce-product-gallery__wrapper {
  background:#fff !important;
  border:1px solid rgba(100,83,69,.10) !important;
  border-radius:14px !important;
  box-shadow:0 14px 35px rgba(35,29,22,.11), 0 2px 9px rgba(35,29,22,.045) !important;
  overflow:hidden !important;
}
.sf-single-product-root .sf-single-product-media .woocommerce-product-gallery__image {
  background:#fff !important;
  padding:clamp(12px, 2.2vw, 24px) !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  box-sizing:border-box !important;
  overflow:hidden !important;
}
.sf-single-product-root .sf-single-product-media .woocommerce-product-gallery__image > a {
  background:#fff !important;
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 auto !important;
  padding:0 !important;
}
.sf-single-product-root .sf-single-product-media .woocommerce-product-gallery__image img:not(.zoomImg) {
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-width:100% !important;
  max-height:min(68vh, 620px) !important;
  aspect-ratio:1 / 1 !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#fff !important;
  margin:0 auto !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  clip-path:none !important;
  transform:none !important;
}
/* Preserve WooCommerce magnifier positioning/scale. */
.sf-single-product-root .sf-single-product-media .woocommerce-product-gallery__image img.zoomImg {
  width:auto !important;
  height:auto !important;
  max-width:none !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:initial !important;
}
/* Matching gallery thumbs without pre-cropped (square) theme image sources. */
.sf-single-product-root .sf-single-product-media .woocommerce-product-gallery .flex-control-thumbs {
  background:transparent !important;
  margin-top:17px !important;
}
.sf-single-product-root .sf-single-product-media .woocommerce-product-gallery .flex-control-thumbs li {
  background:#fff !important;
  border:1px solid #ede9e3 !important;
  border-radius:9px !important;
  padding:5px !important;
  box-shadow:0 2px 8px rgba(35,29,22,.035) !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}
.sf-single-product-root .sf-single-product-media .woocommerce-product-gallery .flex-control-thumbs li img {
  display:block !important;
  width:100% !important;
  height:auto !important;
  aspect-ratio:1 / 1 !important;
  object-fit:contain !important;
  object-position:center !important;
  background:#fff !important;
  border:0 !important;
  border-radius:5px !important;
  transform:none !important;
}
@media (max-width:650px) {
  .sf-single-product-root .sf-single-product-media .woocommerce-product-gallery .flex-viewport,
  .sf-single-product-root .sf-single-product-media .woocommerce-product-gallery:not(:has(.flex-viewport)) > .woocommerce-product-gallery__wrapper {
    border-radius:11px !important;
    box-shadow:0 9px 25px rgba(35,29,22,.09), 0 2px 7px rgba(35,29,22,.04) !important;
  }
  .sf-single-product-root .sf-single-product-media .woocommerce-product-gallery__image {
    padding:12px !important;
  }
}

/* v1.2.3 — full-bleed, uncropped product photography and compact, uniform CTAs.
 * Use natural aspect ratios for the uploaded image rather than placing it inside a
 * fixed square. A transparent/baked-in border in the media file itself cannot be
 * removed by CSS without cropping the actual product.
 */

/* Main gallery: frame the photo itself, not a padded white mat. FlexSlider may
 * set inline viewport heights when changing slides; leave those untouched. */
.sf-single-product-root .sf-single-product-media .woocommerce-product-gallery .flex-viewport,
.sf-single-product-root .sf-single-product-media .woocommerce-product-gallery:not(:has(.flex-viewport)) > .woocommerce-product-gallery__wrapper {
  background: transparent !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 13px 30px rgba(34, 29, 25, .13), 0 2px 8px rgba(34, 29, 25, .045) !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}
.sf-single-product-root .sf-single-product-media .woocommerce-product-gallery__image,
.sf-single-product-root .sf-single-product-media .woocommerce-product-gallery__image > a {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.sf-single-product-root .sf-single-product-media .woocommerce-product-gallery__image > a {
  display: block !important;
  width: 100% !important;
  line-height: 0;
}
.sf-single-product-root .sf-single-product-media .woocommerce-product-gallery__image img:not(.zoomImg) {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  transform: none !important;
}
/* Thumbnails edge-to-edge; thumbnail frames float without internal white gutters. */
.sf-single-product-root .sf-single-product-media .woocommerce-product-gallery .flex-control-thumbs {
  margin-top: 15px !important;
  gap: 10px !important;
}
.sf-single-product-root .sf-single-product-media .woocommerce-product-gallery .flex-control-thumbs li {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(34, 29, 25, .10) !important;
  overflow: hidden !important;
}
.sf-single-product-root .sf-single-product-media .woocommerce-product-gallery .flex-control-thumbs li img {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  background: transparent !important;
}

/* "You may also like": shadow around each complete photograph, no white
 * gutters, artificial square canvas, image zoom/crop, or empty padded tiles. */
.sf-single-product-root .sf-single-product-related-grid {
  align-items: start;
  row-gap: 27px !important;
}
.sf-single-product-root .sf-single-product-related-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.sf-single-product-root a.sf-single-product-related-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 11px !important;
  box-shadow: 0 9px 22px rgba(34, 29, 25, .13), 0 2px 7px rgba(34, 29, 25, .055) !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  line-height: 0;
  transition: box-shadow .2s ease !important;
}
.sf-single-product-root a.sf-single-product-related-image img,
.sf-single-product-root a.sf-single-product-related-image img.sf-single-product-related-photo {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}
.sf-single-product-root a.sf-single-product-related-image:hover {
  box-shadow: 0 14px 29px rgba(34, 29, 25, .17), 0 3px 9px rgba(34, 29, 25, .06) !important;
}
.sf-single-product-root .sf-single-product-related-card h3 {
  margin-top: 15px;
}
/* WooCommerce's native related/upsell grids and Elementor Woo product widgets
 * used on single-product templates receive matching photograph shadows. */
body.single-product .woocommerce .related.products ul.products li.product img,
body.single-product .woocommerce .upsells.products ul.products li.product img,
body.single-product .elementor-widget-woocommerce-products ul.products li.product img,
body.single-product .wc-block-grid__product-image img {
  display: block;
  height: auto !important;
  max-width: 100% !important;
  padding: 0 !important;
  border-radius: 10px !important;
  box-shadow: 0 7px 19px rgba(34, 29, 25, .12) !important;
}

/* Consistent quantity label, margin and plus/minus control across native
 * product templates and the Elementor shortcode, including narrow columns. */
.sf-single-product-root .sf-single-product-visible-quantity {
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  column-gap: 18px !important;
  row-gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 21px 0 21px !important;
  padding: 4px 0 !important;
  box-sizing: border-box;
}
.sf-single-product-root .sf-single-product-visible-quantity .sf-single-product-qty-label {
  margin: 0 !important;
  padding: 0 !important;
  min-width: 60px;
  line-height: 1.5 !important;
}
.sf-single-product-root .sf-single-product-visible-quantity .sf-single-product-qty-control {
  width: 136px !important;
  height: 42px !important;
  margin: 0 !important;
}
.sf-single-product-root .sf-single-product-visible-quantity + .sf-single-product-quote-open {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

/* All plugin Get a Quote CTAs — on the product detail page, classic shop,
 * category/archive loops, product blocks and Elementor WooCommerce grids —
 * use the SAME smaller, readable sizing without changing other site buttons. */
.sf-single-product-root a.sf-single-product-quote-open,
.woocommerce a.button.sf-single-product-loop-link,
.woocommerce ul.products li.product a.button.sf-single-product-loop-link,
.elementor .woocommerce ul.products li.product a.button.sf-single-product-loop-link,
.wc-block-grid__product a.button.sf-single-product-loop-link,
.wc-block-components-product-button a.sf-single-product-loop-link,
a.button.sf-single-product-loop-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 1 auto !important;
  box-sizing: border-box !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: min(100%, 178px) !important;
  min-height: 40px !important;
  height: auto !important;
  padding: 9px 15px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
  letter-spacing: .055em !important;
  white-space: normal !important;
  text-align: center !important;
  vertical-align: middle !important;
}
/* Form submission CTA remains full width for a clear final action. */
.sf-single-product-modal button.sf-single-product-submit {
  width: 100% !important;
  min-height: 46px !important;
}
@media (max-width: 650px) {
  .sf-single-product-root .sf-single-product-media .woocommerce-product-gallery .flex-viewport,
  .sf-single-product-root .sf-single-product-media .woocommerce-product-gallery:not(:has(.flex-viewport)) > .woocommerce-product-gallery__wrapper {
    border-radius: 10px !important;
    box-shadow: 0 9px 23px rgba(34, 29, 25, .12) !important;
  }
  .sf-single-product-root .sf-single-product-visible-quantity {
    column-gap: 13px !important;
    margin: 17px 0 19px !important;
  }
  .sf-single-product-root .sf-single-product-related-grid {
    gap: 16px !important;
  }
  .sf-single-product-root a.sf-single-product-related-image {
    border-radius: 8px !important;
    box-shadow: 0 6px 17px rgba(34, 29, 25, .12) !important;
  }
}


/* v1.2.4 — Centre only plugin Get a Quote links in storefront listings.
   Do not change any buttons on individual single-product pages.
   Width, colours, typography and hover styling remain as in v1.2.3. */
body:not(.single-product) a.button.sf-single-product-loop-link,
body:not(.single-product) .woocommerce a.button.sf-single-product-loop-link,
body:not(.single-product) .woocommerce ul.products li.product a.button.sf-single-product-loop-link,
body:not(.single-product) .elementor .woocommerce ul.products li.product a.button.sf-single-product-loop-link,
body:not(.single-product) .wc-block-grid__product a.button.sf-single-product-loop-link,
body:not(.single-product) .wc-block-components-product-button a.sf-single-product-loop-link {
  display: flex !important;
  width: fit-content !important;
  max-width: min(100%, 178px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  align-self: center !important;
  justify-content: center !important;
  align-items: center !important;
  float: none !important;
  text-align: center !important;
}

/* Centre the containing block in WooCommerce product blocks without changing
   other product card text, links or unrelated buttons. */
@supports selector(:has(> a.sf-single-product-loop-link)) {
  body:not(.single-product) .wc-block-components-product-button:has(> a.sf-single-product-loop-link),
  body:not(.single-product) .wc-block-grid__product-add-to-cart:has(> a.sf-single-product-loop-link) {
    justify-content: center !important;
    text-align: center !important;
  }
}

/* v1.2.5 — unified luxury product layout, readable text, self-contained gallery.
 * Only the custom single-product shortcode/widget layout is affected.
 * WooCommerce's default gallery, checkout and site-wide CTA styles are untouched. */
.sf-single-product-root.woocommerce:not(.sf-single-product-native) {
  --sfpq-body-size: max(16px, var(--e-global-typography-text-font-size, 1rem));
  box-sizing: border-box;
  width: 100%;
  max-width: 1270px;
  min-width: 0;
  margin-inline: auto;
  padding: clamp(16px, 2.4vw, 30px) clamp(16px, 2.6vw, 34px) clamp(44px, 5vw, 76px);
  font-family: inherit;
  font-size: var(--sfpq-body-size);
  line-height: 1.75;
  letter-spacing: normal;
  color: inherit;
  overflow-wrap: anywhere;
  container: sf-product / inline-size;
}
.elementor .elementor-widget-html .sf-single-product-root.woocommerce:not(.sf-single-product-native),
.elementor .elementor-widget-shortcode .sf-single-product-root.woocommerce:not(.sf-single-product-native) {
  padding-inline: clamp(10px, 1.5vw, 22px);
}
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-breadcrumb {
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 clamp(18px, 2.4vw, 32px);
}
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-main {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(26px, 4.5vw, 64px);
  align-items: start;
}
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-main > *,
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-gallery,
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-summary {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-summary {
  padding: clamp(0px, 1.3vw, 12px) 0 0;
  text-align: left;
}
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-title {
  font-family: inherit;
  font-size: clamp(29px, 3.1vw, 45px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.015em;
  margin: 0 0 22px;
}
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-eyebrow {
  font-size: 12px;
  letter-spacing: .13em;
  line-height: 1.5;
  margin-bottom: 14px;
}
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-excerpt,
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-excerpt p,
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-description .woocommerce-Tabs-panel p,
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-description .woocommerce-Tabs-panel li,
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-description .woocommerce-Tabs-panel td {
  font-family: inherit !important;
  font-size: var(--sfpq-body-size) !important;
  line-height: 1.8 !important;
  letter-spacing: normal !important;
  opacity: 1 !important;
}
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-excerpt {
  margin-bottom: 24px;
}
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-excerpt p,
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-description .woocommerce-Tabs-panel p {
  margin-top: 0;
  margin-bottom: 1.05em;
}
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-description .woocommerce-Tabs-panel li {
  margin-bottom: .4em;
}
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-quote-caption,
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-meta,
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-visible-quantity .sf-single-product-qty-label,
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-stock {
  font-size: 14px;
  line-height: 1.6;
}
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-quote-caption {
  text-align: left;
  margin: 12px 0 25px;
}
.sf-single-product-root:not(.sf-single-product-native) a.sf-single-product-quote-open {
  width: auto !important;
  max-width: min(100%, 265px) !important;
  min-height: 47px !important;
  margin: 0 !important;
  padding: 11px 24px !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  letter-spacing: .055em !important;
  display: inline-flex !important;
  text-align: center !important;
  justify-content: center !important;
  align-items: center !important;
}
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-visible-quantity {
  margin-block: 23px 20px !important;
  padding: 0 !important;
}
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-description {
  margin-top: clamp(37px, 6vw, 75px);
}
.sf-single-product-root:not(.sf-single-product-native) .woocommerce-tabs ul.tabs li a {
  font-size: 15px !important;
  line-height: 1.5;
}
.sf-single-product-root:not(.sf-single-product-native) .woocommerce-tabs .panel > h2:first-child {
  font-size: clamp(21px, 2.3vw, 27px);
  font-weight: 500;
  line-height: 1.35;
}
/* Independent image viewer: no theme slider, hidden slides or FlexSlider heights. */
.sf-single-product-root .sf-single-product-gallery-view {
  position: relative;
  display: block !important;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 11px;
  box-shadow: 0 10px 28px rgba(32, 28, 26, .12), 0 2px 7px rgba(32, 28, 26, .05);
  padding: 0;
  line-height: 0;
}
.sf-single-product-root .sf-single-product-gallery-view img.sf-single-product-photo {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}
.sf-single-product-root .sf-single-product-gallery-expand {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(35,32,29,.14);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
  font: 22px/1 Arial, sans-serif;
  color: #24211e;
}
.sf-single-product-root .sf-single-product-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(7px, 1.2vw, 12px);
  margin-top: clamp(13px, 1.7vw, 18px);
  align-items: start;
}
.sf-single-product-root .sf-single-product-thumb {
  display: block !important;
  min-width: 0;
  width: 100%;
  padding: 0 !important;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid #e6e1dc !important;
  border-radius: 7px;
  background: #fff;
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.sf-single-product-root .sf-single-product-thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  aspect-ratio: 1 / 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.sf-single-product-root .sf-single-product-thumb:hover,
.sf-single-product-root .sf-single-product-thumb.is-active,
.sf-single-product-root .sf-single-product-thumb[aria-current="true"] {
  border-color: #47413c !important;
  box-shadow: inset 0 0 0 1px #47413c;
}
.sf-single-product-root .sf-single-product-screen-reader {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
}
.sf-single-product-root .sf-single-product-gallery-empty img {
  max-width: 100%;
  height: auto;
}
/* Full-image lightbox is a native top-layer dialog and cannot be clipped by Elementor. */
.sf-single-product-root dialog.sf-single-product-lightbox {
  inset: 0;
  position: fixed;
  width: min(1200px, calc(100vw - 24px));
  max-width: min(1200px, calc(100vw - 24px));
  height: min(94dvh, 1000px);
  max-height: calc(100dvh - 20px);
  padding: clamp(48px, 6vw, 72px) clamp(9px, 3vw, 34px) clamp(13px, 3vw, 26px);
  margin: auto;
  border: 0;
  border-radius: 12px;
  background: #fbfaf9;
  color: #27231f;
  box-shadow: 0 14px 65px rgba(0,0,0,.23);
  overflow: hidden;
  grid-template-columns: minmax(32px, 48px) minmax(0,1fr) minmax(32px,48px);
  grid-template-rows: minmax(0,1fr);
  align-items: center;
  justify-items: center;
  gap: clamp(4px, 1.3vw, 18px);
}
.sf-single-product-root dialog.sf-single-product-lightbox[open] {display:grid}
.sf-single-product-root dialog.sf-single-product-lightbox::backdrop {background: rgba(18, 15, 13, .84)}
.sf-single-product-root .sf-single-product-lightbox-image {
  display: block !important;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.sf-single-product-root .sf-single-product-lightbox-close {
  position: absolute;
  right: 14px;
  top: 11px;
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #262320;
}
.sf-single-product-root .sf-single-product-lightbox-arrow {
  font-size: 37px;
  line-height: 1;
  display: grid;
  place-items: center;
  padding: 0;
  width: 38px;
  height: 48px;
  border: 1px solid #e5e1de;
  border-radius: 7px;
  background: white;
  color: #262320;
  cursor: pointer;
}
.sf-single-product-root .sf-single-product-lightbox-arrow[hidden] {display:none !important}
/* Related product cards: consistent content rhythm and CTA row alignment. */
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-related {margin-top:clamp(45px,6vw,76px)}
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-related h2 {font-size:clamp(24px,2.5vw,32px);line-height:1.35;margin-bottom:24px}
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-related-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:stretch !important;
  gap:clamp(17px,2vw,26px);
}
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-related-card {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  height:100%;
  min-width:0;
  text-align:left;
}
.sf-single-product-root:not(.sf-single-product-native) .sf-single-product-related-card h3 {
  flex:1 1 auto;
  width:100%;
  font-size:16px;
  font-weight:500;
  line-height:1.6;
  margin:15px 0 14px;
  text-align:left;
}
.sf-single-product-root:not(.sf-single-product-native) a.sf-single-product-related-cta {
  display:flex !important;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  width:100%;
  min-height:44px;
  margin:auto 0 0 !important;
  padding:10px 14px;
  border:1px solid #c9c2b8 !important;
  border-radius:4px;
  background:transparent;
  font-family:inherit;
  color:#302c28 !important;
  font-size:14px !important;
  font-weight:500;
  line-height:1.5;
  text-align:center;
  text-decoration:none;
  white-space:normal;
}
.sf-single-product-root:not(.sf-single-product-native) a.sf-single-product-related-cta:hover,
.sf-single-product-root:not(.sf-single-product-native) a.sf-single-product-related-cta:focus-visible {background:#f6f3ef}
.sf-single-product-modal-panel .sf-single-product-quote-form label {font-size:14px;line-height:1.5}
.sf-single-product-modal-panel .sf-single-product-quote-form .sf-single-product-form-note {font-size:13px}
/* Tablet sizes and narrow Elementor columns. */
@container sf-product (max-width: 860px) {
  .sf-single-product-root:not(.sf-single-product-native) .sf-single-product-main {
    grid-template-columns: minmax(0,1fr);
    gap: 28px;
  }
  .sf-single-product-root:not(.sf-single-product-native) .sf-single-product-summary {padding:0}
  .sf-single-product-root:not(.sf-single-product-native) .sf-single-product-related-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container sf-product (max-width: 540px) {
  .sf-single-product-root:not(.sf-single-product-native) .sf-single-product-title {font-size:clamp(27px,7.5vw,36px)}
  .sf-single-product-root:not(.sf-single-product-native) .sf-single-product-related-grid {column-gap:14px;row-gap:26px}
  .sf-single-product-root:not(.sf-single-product-native) .sf-single-product-related-card h3 {font-size:15px;line-height:1.5}
  .sf-single-product-root:not(.sf-single-product-native) .sf-single-product-related-cta {font-size:13px !important;padding:9px 8px}
  .sf-single-product-root:not(.sf-single-product-native) .sf-single-product-gallery .sf-single-product-thumbnails {grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .sf-single-product-root:not(.sf-single-product-native) .woocommerce-tabs ul.tabs {gap:18px}
  .sf-single-product-root:not(.sf-single-product-native) a.sf-single-product-quote-open {max-width:100% !important;width:100% !important;min-height:48px !important}
  .sf-single-product-root:not(.sf-single-product-native) .sf-single-product-quote-caption {text-align:center}
  .sf-single-product-root:not(.sf-single-product-native) .sf-single-product-visible-quantity {justify-content:space-between !important}
}
/* Fallback for browsers without container query support. */
@supports not (container-type: inline-size) {
  @media (max-width: 920px) {
    .sf-single-product-root:not(.sf-single-product-native) .sf-single-product-main {grid-template-columns:minmax(0,1fr)}
    .sf-single-product-root:not(.sf-single-product-native) .sf-single-product-related-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  }
  @media (max-width: 540px) {
    .sf-single-product-root:not(.sf-single-product-native) a.sf-single-product-quote-open {width:100% !important;max-width:100% !important}
    .sf-single-product-root:not(.sf-single-product-native) .sf-single-product-thumbnails {grid-template-columns:repeat(4,minmax(0,1fr))}
  }
}
@media (max-width: 540px) {
  .sf-single-product-root.woocommerce:not(.sf-single-product-native) {padding:16px 14px 44px}
  .elementor .elementor-widget-html .sf-single-product-root.woocommerce:not(.sf-single-product-native),
  .elementor .elementor-widget-shortcode .sf-single-product-root.woocommerce:not(.sf-single-product-native) {padding-inline:8px}
  .sf-single-product-root .sf-single-product-gallery-view {border-radius:8px}
  .sf-single-product-root dialog.sf-single-product-lightbox {height: min(91dvh, 800px);border-radius:7px;gap:3px;padding:46px 5px 11px;grid-template-columns:35px minmax(0,1fr) 35px}
  .sf-single-product-root .sf-single-product-lightbox-arrow {width:32px;height:44px;font-size:31px}
}


/* v1.2.6 — Mobile jewellery catalogue: one product per row, no squeezed cards.
 * Root container queries respond to the Elementor column, not merely the phone's
 * viewport. Wider tablet/desktop related grids remain at 2/4 columns. */
@container sf-product (max-width: 650px) {
  .sf-single-product-root:not(.sf-single-product-native) .sf-single-product-related-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 30px !important;
    width: 100%;
    min-width: 0;
  }
  .sf-single-product-root:not(.sf-single-product-native) .sf-single-product-related-card {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0;
    width: 100%;
    height: auto;
    padding: 0 0 5px;
    align-items: stretch;
  }
  .sf-single-product-root:not(.sf-single-product-native) a.sf-single-product-related-image {
    display: block !important;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: auto !important;
    overflow: hidden;
    background: #fff;
    border-radius: 10px;
  }
  .sf-single-product-root:not(.sf-single-product-native) a.sf-single-product-related-image img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }
  .sf-single-product-root:not(.sf-single-product-native) .sf-single-product-related-card h3 {
    flex: 0 0 auto;
    width: 100%;
    margin: 15px 0 13px;
    font-size: 16px !important;
    line-height: 1.55 !important;
    text-align: left;
  }
  .sf-single-product-root:not(.sf-single-product-native) a.sf-single-product-related-cta {
    width: 100% !important;
    min-height: 46px;
    margin: 0 !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }
}
/* Same result on older browsers without support for named container queries. */
@supports not (container-type: inline-size) {
  @media (max-width: 650px) {
    .sf-single-product-root:not(.sf-single-product-native) .sf-single-product-related-grid {
      grid-template-columns: minmax(0, 1fr) !important;
      gap: 30px !important;
    }
    .sf-single-product-root:not(.sf-single-product-native) .sf-single-product-related-card {
      display: flex !important;
      flex-direction: column !important;
      width: 100% !important;
      min-width: 0;
    }
    .sf-single-product-root:not(.sf-single-product-native) a.sf-single-product-related-image,
    .sf-single-product-root:not(.sf-single-product-native) a.sf-single-product-related-image img {
      width: 100% !important;
      max-width: 100% !important;
      height: auto !important;
      aspect-ratio: auto !important;
      object-fit: contain !important;
    }
    .sf-single-product-root:not(.sf-single-product-native) a.sf-single-product-related-cta {
      width: 100% !important;
      margin: 0 !important;
    }
  }
}

/* v1.2.6 — Isolated quote quantity selector. The quantity field is text with
 * inputmode=numeric, preventing theme scripts that attach browser-number
 * increment buttons from creating overlapping +/- controls. The shortcode's
 * existing JS still validates 1–999 and copies the selected value to the quote. */
.sf-single-product-root .sf-single-product-visible-quantity {
  display: grid !important;
  grid-template-columns: minmax(65px, 1fr) 150px !important;
  align-items: center !important;
  justify-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 380px !important;
  min-height: 46px !important;
  margin: 22px 0 20px !important;
  padding: 0 !important;
  clear: both;
  box-sizing: border-box;
}
.sf-single-product-root .sf-single-product-visible-quantity .sfq-counter-label {
  display: block !important;
  min-width: 0;
  width: auto !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-align: left !important;
  white-space: normal !important;
}
.sf-single-product-root .sf-single-product-visible-quantity .sfq-counter {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) 44px !important;
  flex: none !important;
  justify-content: stretch !important;
  align-items: stretch !important;
  width: 150px !important;
  max-width: 100%;
  min-width: 0;
  height: 46px !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: #fff !important;
  border: 1px solid #d8d3cb !important;
  border-radius: 5px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}
.sf-single-product-root .sf-single-product-visible-quantity .sfq-counter > :not(.sfq-counter-button):not(.sfq-counter-input) {
  display: none !important;
}
.sf-single-product-root .sf-single-product-visible-quantity .sfq-counter > button.sfq-counter-button {
  -webkit-appearance: none !important;
  appearance: none !important;
  position: static !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 44px !important;
  min-height: 0 !important;
  max-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: white !important;
  color: #302c28 !important;
  opacity: 1;
  box-shadow: none !important;
  font: 500 21px/1 Arial, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-align: center !important;
  text-decoration: none !important;
  transform: none !important;
  cursor: pointer;
}
.sf-single-product-root .sf-single-product-visible-quantity .sfq-counter > button.sfq-counter-button::before,
.sf-single-product-root .sf-single-product-visible-quantity .sfq-counter > button.sfq-counter-button::after {
  content: none !important;
  display: none !important;
}
.sf-single-product-root .sf-single-product-visible-quantity .sfq-counter > button.sfq-counter-button:hover:not(:disabled) {
  background: #f5f3ef !important;
}
.sf-single-product-root .sf-single-product-visible-quantity .sfq-counter > button.sfq-counter-button:disabled {
  color: #a9a19a !important;
  cursor: not-allowed !important;
}
.sf-single-product-root .sf-single-product-visible-quantity .sfq-counter > input.sfq-counter-input {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 44px !important;
  min-height: 0 !important;
  max-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 1px solid #e8e4df !important;
  border-right: 1px solid #e8e4df !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #302c28 !important;
  box-shadow: none !important;
  outline-offset: -2px;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 44px !important;
  letter-spacing: normal !important;
  text-align: center !important;
}
/* A very narrow Elementor column has space for a clean two-line control. */
@container sf-product (max-width: 285px) {
  .sf-single-product-root:not(.sf-single-product-native) .sf-single-product-visible-quantity {
    grid-template-columns: minmax(0,1fr) !important;
    justify-items: start !important;
    gap: 8px !important;
  }
}
@media (max-width: 330px) {
  .sf-single-product-root:not(.sf-single-product-native) .sf-single-product-visible-quantity {
    grid-template-columns: minmax(0,1fr) !important;
    justify-items: start !important;
    gap: 8px !important;
  }
}
