/* ==========================================================================
   Clean single product page layout
   ========================================================================== */

.sgor-sp {
  --sgor-sp-text: #01172f;
  --sgor-sp-muted: #6b7280;
  --sgor-sp-border: #e5e7eb;
  --sgor-sp-border-strong: #d1d5db;
  --sgor-sp-bg: #ffffff;
  --sgor-sp-bg-soft: #f8fafc;
  --sgor-sp-accent: #d71d24;
  --sgor-sp-radius: 0px;
  --sgor-sp-shadow: 0 10px 30px rgba(1, 23, 47, 0.08);

  width: 75%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0px 0 72px;
  color: var(--sgor-sp-text);
  font-family: var(--gory-font, Montserrat, system-ui, sans-serif);
  box-sizing: border-box;
}

.sgor-sp *,
.sgor-sp *::before,
.sgor-sp *::after {
  box-sizing: border-box;
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */

.sgor-sp__breadcrumb {
  margin: 0;
  color: var(--sgor-sp-muted);
  font-size: 13px;
  line-height: 1.5;
  /* allow breadcrumb to take remaining space but clamp if it's too long */
  flex: 1 1 0%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 12px; /* spacing between breadcrumb and logo */
}

.sgor-sp__breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.sgor-sp__breadcrumb a:hover {
  color: var(--sgor-sp-text);
}

.sgor-sp__breadcrumb-sep {
  margin: 0 8px;
  color: #c4c9d1;
}

/* Top row: split between breadcrumb (left) and brand logo (right) */
.sgor-sp__top-row {
  display: flex;
  /* center breadcrumb and logo vertically */
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin: 10px 0;
}

/* ==========================================================================
   Main wrapper
   ========================================================================== */

.sgor-sp__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ==========================================================================
   Row 1: hero split in half
   ========================================================================== */

.sgor-sp__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
}

.sgor-sp__hero-media,
.sgor-sp__hero-info {
  min-width: 0;
}

.sgor-sp__main-image-wrap {
  background: var(--sgor-sp-bg);
  border: 1px solid var(--sgor-sp-border);
  border-radius: var(--sgor-sp-radius);
  min-height: 620px;
  height: 100%;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sgor-sp-shadow);
}

.sgor-sp__main-image-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  cursor: zoom-in;
}

.sgor-sp__main-image,
.sgor-sp__main-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.sgor-sp__main-image {
  max-height: 560px;
}

.sgor-sp__main-image--placeholder img {
  width: auto;
  max-width: 100%;
}

.sgor-sp__hero-info {
  --sgor-sp-info-inline-padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  padding-inline: var(--sgor-sp-info-inline-padding);
}

.sgor-sp__hero-info > .sgor-sp__purchase,
.sgor-sp__hero-info > .sgor-sp__short-description,
.sgor-sp__hero-info > .sgor-sp__shipping {
  flex: 0 0 auto;
}

.sgor-sp__hero-info > .sgor-sp__purchase {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sgor-sp__brand-row {
  /* reserve vertical space so enlarging the logo doesn't push the title down (used in hero area) */
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: 72px;
  margin-bottom: 0;
}

/* Variant used in the top row next to breadcrumbs (static flow, right-aligned) */
.sgor-sp__brand-row--top {
  position: static;
  display: flex;
  /* vertically center logo relative to breadcrumb */
  align-items: center;
  justify-content: flex-end;
  min-height: 0;
  /* don't grow/shrink; sit to the right while breadcrumb uses available space */
  flex: 0 0 auto;
  margin-left: 0;
}

/* Base logo styling (static by default). When inside the original hero brand-row it will be absolutely positioned using the descendant selector below. */
.sgor-sp__brand-logo {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 280px;
  margin-left: 0;
  line-height: 0;
  pointer-events: auto;
}

/* Logo image sizing when placed in the top-row (breadcrumb + logo split) */
.sgor-sp__brand-logo.sgor-sp__brand-row--top img,
.sgor-sp__brand-logo.sgor-sp__brand-row--top .sgor-sp__brand-logo-image {
  display: block;
  max-height: 56px; /* keeps logo visually smaller in the header */
  max-width: 220px; /* prevent it from growing too wide */
  width: auto;
  height: auto;
}

/* Keep old absolute positioning behaviour only when the logo is inside the hero .sgor-sp__brand-row */
.sgor-sp__brand-row .sgor-sp__brand-logo {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.sgor-sp__brand-logo img,
.sgor-sp__brand-logo-image {
  display: block;
  max-width: 100%;
  max-height: 72px; /* twice the previous 36px */
  width: auto;
  height: auto;
  object-fit: contain;
  transform: none;
  transform-origin: center;
}

/* Responsive fallback: on smaller screens stack top row and revert logo to original size */
@media (max-width: 900px) {
  .sgor-sp__top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
  }

  .sgor-sp__brand-row {
    position: static;
    min-height: 0;
    margin-bottom: -4px;
  }

  .sgor-sp__brand-row--top {
    justify-content: flex-start;
    margin-left: 0;
  }

  .sgor-sp__brand-logo {
    position: static;
    max-width: 140px;
    margin-left: 0;
    transform: none;
  }

  .sgor-sp__brand-logo img,
  .sgor-sp__brand-logo-image {
    max-height: 36px;
  }
}

.sgor-sp__main-image-wrap {
  position: relative;
}

.sgor-sp__main-image-wrap > .skp-card__badge {
  position: absolute;
  pointer-events: none;
  z-index: 5;
  font-family: "Montserrat", sans-serif;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* Sale badge (yellow) */
.sgor-sp__main-image-wrap > .skp-card__badge--sale {
  top: 14px;
  left: 14px;
  background: #ffd400;
  color: #111;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 6px;
}

/* Expert badge (green) - positioned below sale badge if present */
.sgor-sp__main-image-wrap > .skp-card__badge--ekspert {
  left: 14px;
  background: #1a8c3e; /* forest green */
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 6px;
  /* Default top positioning is set inline via PHP; see single-product.php */
}

@media (max-width: 768px) {
  .sgor-sp__main-image-wrap > .skp-card__badge--sale {
    top: 10px;
    left: 10px;
    font-size: 10px;
    padding: 3px 5px;
  }

  .sgor-sp__main-image-wrap > .skp-card__badge--ekspert {
    top: var(--ekspert-top-mb, 10px) !important;
    left: 10px;
    font-size: 10px;
    padding: 3px 5px;
  }
}

.sgor-sp__brand-name {
  margin-left: auto;
  text-align: right;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sgor-sp-muted);
}

.sgor-sp__title {
  margin: 0;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--sgor-sp-text);
}

.sgor-sp__price {
  font-size: clamp(19px, 1.6vw, 25px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--sgor-sp-accent);
}

.sgor-sp__price .price,
.sgor-sp__related-price .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.sgor-sp__price del,
.sgor-sp__related-price del {
  color: #9ca3af;
  font-size: 0.7em;
  font-weight: 500;
}

.sgor-sp__price ins,
.sgor-sp__related-price ins {
  text-decoration: none;
}

/* Two-row price layout for variable products */
.sgor-sp__price .skp-card__price-row {
  line-height: 1;
}

.sgor-sp__price .skp-card__price-new {
  font-size: 1.05em; /* keep prominent */
}

.sgor-sp__price .skp-card__price-old {
  font-size: 0.85em;
  color: #9ca3af;
}

.sgor-sp__omnibus {
  margin-top: -10px;
  color: var(--sgor-sp-muted);
  font-size: 13px;
  line-height: 1.6;
}

.sgor-sp__purchase {
  padding: 0;
  border: 0;
  border-radius: var(--sgor-sp-radius);
  background: transparent;
  min-height: 0;
}

.sgor-sp__out-of-stock-notice,
.sgor-sp__variation-unavailable-message {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid #d1d5db;
  background: #f8fafc;
  color: var(--sgor-sp-text);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.sgor-sp__section-title {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sgor-sp-text);
}

.sgor-sp__short-description,
.sgor-sp__shipping {
  padding: 0 0 20px;
  border: 0;
  border-radius: var(--sgor-sp-radius);
  background: var(--sgor-sp-bg);
}

.sgor-sp__short-description {
  padding-bottom: 0;
}

.sgor-sp__description-jump {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  margin: 8px 0 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #374151;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

body.single-product .sgor-sp .sgor-sp__description-jump:hover,
body.single-product .sgor-sp .sgor-sp__description-jump:focus-visible,
body.single-product .sgor-sp .sgor-sp__description-jump.button:hover,
body.single-product .sgor-sp .sgor-sp__description-jump.button:focus-visible,
body.single-product .sgor-sp button.sgor-sp__description-jump:hover,
body.single-product .sgor-sp button.sgor-sp__description-jump:focus-visible,
body.single-product .sgor-sp button.sgor-sp__description-jump.button:hover,
body.single-product .sgor-sp button.sgor-sp__description-jump.button:focus-visible {
  color: #374151;
  background: transparent;
  transform: translateY(2px);
  box-shadow: none;
}

.sgor-sp__description-jump:focus-visible {
  outline: 0;
}

.sgor-sp__description-jump-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transform: translateY(2px);
}

.sgor-sp__description-jump-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}



.sgor-sp__shipping {
  padding: 0;
  overflow: hidden;
  margin-top: -8px;
}

.sgor-sp__shipping-details {
  display: block;
}

.sgor-sp__shipping-summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  padding: 12px 0;
}

.sgor-sp__shipping-summary::-webkit-details-marker {
  display: none;
}

.sgor-sp__shipping-summary:hover .sgor-sp__section-title,
.sgor-sp__shipping-summary:focus-visible .sgor-sp__section-title {
  color: var(--sgor-sp-accent);
}

.sgor-sp__shipping-summary:hover .sgor-sp__shipping-icon-truck,
.sgor-sp__shipping-summary:focus-visible .sgor-sp__shipping-icon-truck {
  color: var(--sgor-sp-accent);
}

.sgor-sp__shipping-icon-truck {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #64748b;
  transition: color 0.2s ease;
}

.sgor-sp__shipping-summary .sgor-sp__section-title {
  margin: 0;
  display: flex;
  align-items: center;
  min-height: 20px;
  flex: 1;
  font-size: 12px;
}

.sgor-sp__shipping-chevron {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #94a3b8;
  transition: transform 0.2s ease;
  margin-left: auto;
}

.sgor-sp__shipping-details[open] .sgor-sp__shipping-chevron {
  transform: rotate(180deg);
}

.sgor-sp__content {
  color: #334155;
  font-size: 16px;
  line-height: 1.8;
}

.sgor-sp__content > *:first-child {
  margin-top: 0;
}

.sgor-sp__content > *:last-child {
  margin-bottom: 0;
}

.sgor-sp__content p,
.sgor-sp__content ul,
.sgor-sp__content ol {
  margin: 0 0 12px;
}

.sgor-sp__content ul,
.sgor-sp__content ol {
  padding-left: 20px;
}

.sgor-sp__shipping-box {
  margin: 0 0 12px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.sgor-sp__shipping-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sgor-sp__shipping-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
  background: transparent;
  border: 0;
}

.sgor-sp__shipping-item--free {
  color: #059669;
}

.sgor-sp__shipping-item-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: #94a3b8;
}

.sgor-sp__shipping-item-icon svg {
  width: 14px;
  height: 14px;
}

.sgor-sp__shipping-item--free .sgor-sp__shipping-item-icon {
  color: #10b981;
}

.sgor-sp__shipping-item-name {
  flex: 1;
  font-size: 12px;
  font-weight: 400;
  color: #64748b;
}

.sgor-sp__shipping-item--free .sgor-sp__shipping-item-name {
  color: #059669;
  font-weight: 500;
}

.sgor-sp__shipping-item-price {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
}

.sgor-sp__shipping-item-price--free {
  color: #059669;
  font-weight: 600;
}

/* Legacy shipping options (for backwards compatibility) */
.sgor-sp__shipping-options {
  margin: 0;
  padding-left: 20px;
  color: #334155;
  font-size: 15px;
  line-height: 1.7;
}

.sgor-sp__shipping-options li + li {
  margin-top: 6px;
}

/* ==========================================================================
   WooCommerce form styling
   ========================================================================== */

.sgor-sp__purchase form.cart {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
}

.sgor-sp__custom-swatches {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
}

.sgor-sp__purchase form.variations_form table.variations,
.sgor-sp__purchase form.variations_form .label,
.sgor-sp__purchase form.variations_form .woocommerce-variation-description,
.sgor-sp__purchase form.variations_form .woocommerce-variation-price,
.sgor-sp__purchase form.variations_form .woocommerce-variation-availability {
  display: none !important;
}

.sgor-sp__swatch-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sgor-sp__swatch-group + .sgor-sp__swatch-group {
  padding-top: 14px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.sgor-sp__swatch-group-label {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sgor-sp-text);
}

.sgor-sp__swatch-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sgor-sp__swatch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 0;
  background: #fff;
  color: var(--sgor-sp-text);
  cursor: pointer;
  box-sizing: border-box;
  overflow: hidden;
  transition: border-color 0.2s ease, border-width 0.2s ease, opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.sgor-sp__swatch:hover {
  transform: translateY(-1px);
}

body.single-product .sgor-sp .sgor-sp__purchase .sgor-sp__swatch.is-unavailable:hover,
body.single-product .sgor-sp .sgor-sp__purchase .sgor-sp__swatch.is-unavailable:focus-visible,
body.single-product .sgor-sp .sgor-sp__purchase button.sgor-sp__swatch.is-unavailable:hover,
body.single-product .sgor-sp .sgor-sp__purchase button.sgor-sp__swatch.is-unavailable:focus-visible {
  transform: none;
  color: #94a3b8;
  background: transparent;
  border-color: #d1d5db;
  box-shadow: none;
  text-decoration: none;
}

.sgor-sp__swatch:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(1, 23, 47, 0.14);
}

body.single-product .sgor-sp .sgor-sp__purchase .sgor-sp__swatch.is-selected,
body.single-product .sgor-sp .sgor-sp__purchase button.sgor-sp__swatch.is-selected {
  border: 3px solid #000;
  box-shadow: none;
}

body.single-product .sgor-sp .sgor-sp__purchase .sgor-sp__swatch.is-unavailable,
body.single-product .sgor-sp .sgor-sp__purchase button.sgor-sp__swatch.is-unavailable {
  opacity: 1;
  background: #f8fafc;
  color: #94a3b8;
  border: 1px solid #d1d5db;
  box-shadow: none;
}

.sgor-sp__swatch.is-unavailable::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  z-index: 0;
}



.sgor-sp__swatch-label,
.sgor-sp__swatch-media,
.sgor-sp__swatch-color {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.sgor-sp__swatch--image {
  width: 88px;
  min-width: 88px;
  min-height: 88px;
  padding: 6px;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  box-sizing: border-box;
}

.sgor-sp__swatch-media {
  display: flex;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  background: #f8fafc;
}

.sgor-sp__swatch-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sgor-sp__swatch--color {
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  box-sizing: border-box;
}

.sgor-sp__swatch-color {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 0;
  background: var(--sgor-swatch-color, #e5e7eb);
  /* Per-swatch override: set --sgor-swatch-border in inline style or server-rendered style
     for cases (like white) where you want a stronger visible stroke. Example:
     style="--sgor-swatch-color:#ffffff; --sgor-swatch-border:1px solid rgba(1,23,47,0.12);" */
  border: var(--sgor-swatch-border, 0);
  /* Fallback subtle inset stroke so very light colors (white) get a visible edge
     even when the per-swatch variable isn't provided. This will be under the 'border'
     if a custom --sgor-swatch-border is present. */
  box-shadow: 0 0 0 1px rgba(1,23,47,0.06) inset;
  box-sizing: border-box;
}

.sgor-sp__swatch-color--split {
  background: linear-gradient(
    90deg,
    var(--sgor-swatch-color, #e5e7eb) 0%,
    var(--sgor-swatch-color, #e5e7eb) 50%,
    var(--sgor-swatch-color-secondary, var(--sgor-swatch-color, #e5e7eb)) 50%,
    var(--sgor-swatch-color-secondary, var(--sgor-swatch-color, #e5e7eb)) 100%
  );
}

body.single-product .sgor-sp .sgor-sp__purchase .sgor-sp__swatch.is-selected.sgor-sp__swatch--color,
body.single-product .sgor-sp .sgor-sp__purchase button.sgor-sp__swatch.is-selected.sgor-sp__swatch--color {
  border: 2px solid #000;
}

.sgor-sp__swatch.is-unavailable .sgor-sp__swatch-color {
  /* real color shown; overlay via ::after */
}

body.single-product .sgor-sp .sgor-sp__purchase .sgor-sp__swatch.is-unavailable.sgor-sp__swatch--color,
body.single-product .sgor-sp .sgor-sp__purchase button.sgor-sp__swatch.is-unavailable.sgor-sp__swatch--color {
  border: 1px solid #d1d5db;
}

.sgor-sp__swatch.is-unavailable.sgor-sp__swatch--color .sgor-sp__swatch-color {
  opacity: 1;
}

.sgor-sp__swatch.is-unavailable.sgor-sp__swatch--color::after {
  z-index: 3;
}

.sgor-sp__swatch.is-unavailable.sgor-sp__swatch--image .sgor-sp__swatch-media {
  background: #f1f5f9;
}

.sgor-sp__swatch.is-unavailable.sgor-sp__swatch--image .sgor-sp__swatch-image {
  filter: grayscale(1);
  opacity: 0.45;
}



.sgor-sp__swatch-label {
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
  color: inherit;
}

.sgor-sp__swatch--text {
  min-width: 81px;
  min-height: 39px;
  padding: 8px 11px;
}

.sgor-sp__swatch--text .sgor-sp__swatch-label {
  font-size: 13px;
}



.sgor-sp__purchase table.variations {
  width: 100%;
  margin: 0;
  border: 0;
}

.sgor-sp__purchase table.variations tbody,
.sgor-sp__purchase table.variations tr,
.sgor-sp__purchase table.variations td,
.sgor-sp__purchase table.variations th {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
}

.sgor-sp__purchase table.variations tr + tr {
  margin-top: 16px;
}

.sgor-sp__purchase table.variations .label {
  margin-bottom: 8px;
}



.sgor-sp__purchase table.variations .label label {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sgor-sp-text);
}

.sgor-sp__purchase table.variations td.value {
  position: relative;
}

.sgor-sp__purchase table.variations td.value select {
  position: absolute;
  inset: auto auto auto -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.sgor-sp__purchase .reset_variations {
  display: none !important;
}

.sgor-sp__purchase .reset_variations::before {
  content: "×";
  color: #64748b;
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.sgor-sp__purchase .reset_variations:hover {
  border-color: #94a3b8;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.sgor-sp__purchase .reset_variations:hover::before {
  color: #334155;
}

.sgor-sp__purchase .single_variation_wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sgor-sp__purchase .woocommerce-variation {
  color: #334155;
  font-size: 14px;
  line-height: 1.6;
}



.sgor-sp__purchase .woocommerce-variation-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--sgor-sp-accent);
}

.sgor-sp__purchase .quantity {
  margin: 0;
}

.sgor-sp__purchase .quantity input.qty {
  width: 110px;
  min-height: 52px;
  padding: 0 12px;
  border: 1px solid var(--sgor-sp-border-strong);
  border-radius: 0;
  background: #fff;
  color: var(--sgor-sp-text);
  font-size: 16px;
  text-align: center;
}

body.single-product .sgor-sp .sgor-sp__purchase button.single_add_to_cart_button,
body.single-product .sgor-sp .sgor-sp__purchase .single_add_to_cart_button,
body.single-product .sgor-sp .sgor-sp__purchase a.single_add_to_cart_button,
body.single-product .sgor-sp .sgor-sp__purchase .button.alt,
body.single-product .sgor-sp .sgor-sp__purchase .single_add_to_cart_button.button,
body.single-product .sgor-sp .sgor-sp__purchase button.single_add_to_cart_button.button {
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid var(--sgor-sp-accent);
  border-radius: 0;
  background: var(--sgor-sp-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.single-product .sgor-sp .sgor-sp__purchase button.single_add_to_cart_button:hover,
body.single-product .sgor-sp .sgor-sp__purchase .single_add_to_cart_button:hover,
body.single-product .sgor-sp .sgor-sp__purchase a.single_add_to_cart_button:hover,
body.single-product .sgor-sp .sgor-sp__purchase .button.alt:hover,
body.single-product .sgor-sp .sgor-sp__purchase .single_add_to_cart_button.button:hover,
body.single-product .sgor-sp .sgor-sp__purchase button.single_add_to_cart_button.button:hover {
  background: var(--sgor-sp-accent);
  color: #fff;
  border-color: var(--sgor-sp-accent);
  opacity: 0.92;
  transform: translateY(-1px);
}

body.single-product .sgor-sp .sgor-sp__purchase button.single_add_to_cart_button.disabled,
body.single-product .sgor-sp .sgor-sp__purchase button.single_add_to_cart_button:disabled,
body.single-product .sgor-sp .sgor-sp__purchase button.single_add_to_cart_button.wc-variation-selection-needed,
body.single-product .sgor-sp .sgor-sp__purchase button.single_add_to_cart_button.wc-variation-is-unavailable,
body.single-product .sgor-sp .sgor-sp__purchase .single_add_to_cart_button.disabled,
body.single-product .sgor-sp .sgor-sp__purchase .single_add_to_cart_button:disabled,
body.single-product .sgor-sp .sgor-sp__purchase .single_add_to_cart_button.wc-variation-selection-needed,
body.single-product .sgor-sp .sgor-sp__purchase .single_add_to_cart_button.wc-variation-is-unavailable,
body.single-product .sgor-sp .sgor-sp__purchase .button.alt.disabled,
body.single-product .sgor-sp .sgor-sp__purchase .button.alt:disabled,
body.single-product .sgor-sp .sgor-sp__purchase .single_add_to_cart_button.button.disabled,
body.single-product .sgor-sp .sgor-sp__purchase .single_add_to_cart_button.button:disabled,
body.single-product .sgor-sp .sgor-sp__purchase button.single_add_to_cart_button.button.disabled,
body.single-product .sgor-sp .sgor-sp__purchase button.single_add_to_cart_button.button:disabled {
  background: #fff;
  color: var(--sgor-sp-accent);
  border: 1px solid var(--sgor-sp-accent);
  opacity: 1;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

body.single-product .sgor-sp .sgor-sp__purchase button.single_add_to_cart_button.disabled:hover,
body.single-product .sgor-sp .sgor-sp__purchase button.single_add_to_cart_button:disabled:hover,
body.single-product .sgor-sp .sgor-sp__purchase button.single_add_to_cart_button.wc-variation-selection-needed:hover,
body.single-product .sgor-sp .sgor-sp__purchase button.single_add_to_cart_button.wc-variation-is-unavailable:hover,
body.single-product .sgor-sp .sgor-sp__purchase .single_add_to_cart_button.disabled:hover,
body.single-product .sgor-sp .sgor-sp__purchase .single_add_to_cart_button:disabled:hover,
body.single-product .sgor-sp .sgor-sp__purchase .single_add_to_cart_button.wc-variation-selection-needed:hover,
body.single-product .sgor-sp .sgor-sp__purchase .single_add_to_cart_button.wc-variation-is-unavailable:hover,
body.single-product .sgor-sp .sgor-sp__purchase .button.alt.disabled:hover,
body.single-product .sgor-sp .sgor-sp__purchase .button.alt:disabled:hover,
body.single-product .sgor-sp .sgor-sp__purchase .single_add_to_cart_button.button.disabled:hover,
body.single-product .sgor-sp .sgor-sp__purchase .single_add_to_cart_button.button:disabled:hover,
body.single-product .sgor-sp .sgor-sp__purchase button.single_add_to_cart_button.button.disabled:hover,
body.single-product .sgor-sp .sgor-sp__purchase button.single_add_to_cart_button.button:disabled:hover {
  background: #fff;
  color: var(--sgor-sp-accent);
  border-color: var(--sgor-sp-accent);
  opacity: 1;
  transform: none;
}

.sgor-sp__purchase .woocommerce-variation-add-to-cart,
.sgor-sp__purchase .variations_button {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.sgor-sp__purchase .variations_button .reset_variations,
.sgor-sp__purchase .woocommerce-variation-add-to-cart .reset_variations {
  display: none;
}

.sgor-sp__purchase .woocommerce-variation-add-to-cart .quantity,
.sgor-sp__purchase .variations_button .quantity {
  width: 110px;
}

body.single-product .sgor-sp .sgor-sp__purchase .woocommerce-variation-add-to-cart button.single_add_to_cart_button,
body.single-product .sgor-sp .sgor-sp__purchase .variations_button button.single_add_to_cart_button,
body.single-product .sgor-sp .sgor-sp__purchase .woocommerce-variation-add-to-cart .single_add_to_cart_button,
body.single-product .sgor-sp .sgor-sp__purchase .variations_button .single_add_to_cart_button {
  width: 100%;
}

.sgor-sp__purchase .stock,
.sgor-sp__purchase .woocommerce-variation-availability,
.sgor-sp__purchase .stock:empty,
.sgor-sp__purchase .woocommerce-variation-availability:empty {
  display: none;
}

.sgor-sp__purchase .out-of-stock,
.sgor-sp__purchase .in-stock,
.sgor-sp__purchase .woocommerce-variation-availability .out-of-stock,
.sgor-sp__purchase .woocommerce-variation-availability .out-of-stock:hover,
.sgor-sp__purchase .woocommerce-variation-availability .out-of-stock:focus,
.sgor-sp__purchase .woocommerce-variation-availability .out-of-stock:focus-visible,
.sgor-sp__purchase .stock.out-of-stock,
.sgor-sp__purchase .stock.out-of-stock:hover,
.sgor-sp__purchase .stock.out-of-stock:focus,
.sgor-sp__purchase .stock.out-of-stock:focus-visible,
.sgor-sp__purchase .stock.in-stock,
.sgor-sp__purchase .stock.in-stock:hover,
.sgor-sp__purchase .stock.in-stock:focus,
.sgor-sp__purchase .stock.in-stock:focus-visible {
  display: none;
}

.sgor-sp__purchase .single_variation_wrap:has(.woocommerce-variation-add-to-cart) + .sgor-sp__variation-unavailable-message,
.sgor-sp__purchase .single_variation_wrap:has(.variations_button) + .sgor-sp__variation-unavailable-message {
  display: none;
}

.sgor-sp__variation-unavailable-message {
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 0;
  background: #fff;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.sgor-sp__purchase .woocommerce-notices-wrapper:empty {
  display: none;
}

/* ==========================================================================
   Row 2: gallery carousel
   ========================================================================== */

.sgor-sp__gallery-row {
  overflow: hidden;
}

.sgor-sp__gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 240px);
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 0 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
}

.sgor-sp__gallery-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 18px;
  border-radius: 0;
  background: var(--sgor-sp-bg);
  scroll-snap-align: start;
  cursor: zoom-in;
  width: 100%;
  margin: 0;
  box-shadow: 0 0 0 1px #e7ebf1;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sgor-sp__gallery-slide:hover,
.sgor-sp__gallery-slide:focus-visible {
  box-shadow: 0 0 0 1px #e7ebf1, 0 4px 12px rgba(15, 23, 42, 0.05);
  transform: scale(1.02);
}

.sgor-sp__gallery-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.sgor-sp__gallery-track.is-dragging .sgor-sp__gallery-slide {
  cursor: grabbing;
  transform: none;
}

.sgor-sp__gallery-track.is-dragging .sgor-sp__gallery-slide:hover,
.sgor-sp__gallery-track.is-dragging .sgor-sp__gallery-slide:focus-visible {
  transform: none;
}

.sgor-sp__gallery-image {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 180px;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.sgor-sp__lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #fff;
}

.sgor-sp__lightbox[hidden] {
  display: none;
}

.sgor-sp__lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: #fff;
}

.sgor-sp__lightbox-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  padding: 32px;
  background: #fff;
}

.sgor-sp__lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  background: #fff;
}

.sgor-sp__lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2147483647;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 0;
  background: #fff;
  background-image: none;
  color: #111;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.sgor-sp__lightbox-close:hover,
.sgor-sp__lightbox-close:focus,
.sgor-sp__lightbox-close:focus-visible,
.sgor-sp__lightbox-close:active {
  background: #fff;
  background-image: none;
  color: #111;
  border: 0;
  box-shadow: none;
  outline: none;
}

body.sgor-sp-lightbox-open {
  overflow: hidden;
}

/* ==========================================================================
   Row 3: tabs
   ========================================================================== */

.sgor-sp__tabs {
  border: 1px solid var(--sgor-sp-border);
  border-radius: 0;
  background: var(--sgor-sp-bg);
  overflow: hidden;
}

.sgor-sp__tabs:not(:has(.sgor-sp__tabs-nav)) .sgor-sp__tabs-panels {
  padding-top: 32px;
}

.sgor-sp__tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--sgor-sp-border);
  background: var(--sgor-sp-bg-soft);
}

.sgor-sp__tab-button {
  appearance: none;
  border: 0;
  border-right: 1px solid var(--sgor-sp-border);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  color: var(--sgor-sp-muted);
  min-height: 64px;
  padding: 18px 28px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.sgor-sp__tab-button:last-child {
  border-right: 0;
}

body.single-product .sgor-sp .sgor-sp__tabs .sgor-sp__tabs-nav .sgor-sp__tab-button:hover,
body.single-product .sgor-sp .sgor-sp__tabs .sgor-sp__tabs-nav .sgor-sp__tab-button:focus-visible {
  background: transparent;
  color: var(--sgor-sp-accent);
  border-bottom-color: transparent;
}

body.single-product .sgor-sp .sgor-sp__tabs .sgor-sp__tabs-nav .sgor-sp__tab-button.is-active,
body.single-product .sgor-sp .sgor-sp__tabs .sgor-sp__tabs-nav .sgor-sp__tab-button[aria-selected="true"] {
  background: #fff;
  color: var(--sgor-sp-text);
  border-bottom-color: var(--sgor-sp-accent);
}

.sgor-sp__tabs-panels {
  padding: 32px;
}

.sgor-sp__tab-panel {
  display: none;
}

.sgor-sp__tab-panel.is-active {
  display: block;
}

.sgor-sp__attributes .woocommerce-product-attributes {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.sgor-sp__attributes .woocommerce-product-attributes th,
.sgor-sp__attributes .woocommerce-product-attributes td {
  padding: 16px 0;
  border-bottom: 1px solid var(--sgor-sp-border);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.7;
}

.sgor-sp__attributes .woocommerce-product-attributes th {
  width: 260px;
  padding-right: 24px;
  font-weight: 700;
  color: var(--sgor-sp-text);
}

.sgor-sp__attributes .woocommerce-product-attributes td {
  color: #334155;
}

.sgor-sp__attributes .woocommerce-product-attributes tr:last-child th,
.sgor-sp__attributes .woocommerce-product-attributes tr:last-child td {
  border-bottom: 0;
}

.sgor-sp__attributes p {
  margin: 0;
}

/* ==========================================================================
   Row 4: related products
   ========================================================================== */

.sgor-sp__related {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sgor-sp__related-title {
  margin: 0;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--sgor-sp-text);
}

.sgor-sp__related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.sgor-sp__related-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  background: var(--sgor-sp-bg);
  border: 1px solid var(--sgor-sp-border);
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sgor-sp__related-card:hover {
  transform: translateY(-4px);
  border-color: #d7dde5;
  box-shadow: var(--sgor-sp-shadow);
}

.sgor-sp__related-image-wrap {
  min-height: 240px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.sgor-sp__related-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.sgor-sp__related-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 24px;
  border-top: 1px solid var(--sgor-sp-border);
}

.sgor-sp__related-brand {
  font-size: 11px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sgor-sp-muted);
}

.sgor-sp__related-name {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--sgor-sp-text);
}

.sgor-sp__related-price {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--sgor-sp-accent);
}

/* ==========================================================================
   Global single-product cleanup for this layout
   ========================================================================== */

body.single-product {
  margin: 0;
  padding: 0;
}

body.single-product main#content.site-main,
body.single-product main.site-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.single-product .product .summary,
body.single-product .product .images,
body.single-product .woocommerce-tabs,
body.single-product .related.products,
body.single-product .upsells.products {
  width: auto;
  float: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
  .sgor-sp__hero {
    gap: 28px;
  }

  .sgor-sp__main-image-wrap {
    min-height: 520px;
  }

  .sgor-sp__related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .sgor-sp {
    width: calc(100% - 32px);
    max-width: 75%;
    padding: 20px 0 56px;
  }

  .sgor-sp__breadcrumb {
    width: 100%;
  }

  .sgor-sp__hero {
    grid-template-columns: 1fr;
  }

  .sgor-sp__main-image-wrap {
    min-height: 420px;
    padding: 20px;
  }

  .sgor-sp__brand-row {
    justify-content: flex-start;
  }

  .sgor-sp__brand-logo,
  .sgor-sp__brand-name {
    margin-left: 0;
    text-align: left;
  }

  .sgor-sp__tabs-panels {
    padding: 24px;
  }

  .sgor-sp__attributes .woocommerce-product-attributes th,
  .sgor-sp__attributes .woocommerce-product-attributes td {
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  .sgor-sp__attributes .woocommerce-product-attributes th {
    padding-right: 0;
    border-bottom: 0;
  }

  .sgor-sp__related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sgor-sp {
    width: 100%;
    max-width: none;
    padding: 16px 12px 48px;
  }

  .sgor-sp__breadcrumb {
    margin-bottom: 20px;
    font-size: 13px;
  }

  .sgor-sp__container {
    gap: 28px;
  }

  .sgor-sp__hero-info {
    --sgor-sp-info-inline-padding: 0;
    gap: 16px;
    padding-inline: var(--sgor-sp-info-inline-padding);
  }

  .sgor-sp__main-image-wrap,
  .sgor-sp__purchase,
  .sgor-sp__short-description,
  .sgor-sp__shipping,
  .sgor-sp__tabs {
    border-radius: 0;
  }

  .sgor-sp__main-image-wrap {
    min-height: 360px;
    padding: 18px;
  }

  .sgor-sp__lightbox {
    padding: 0;
  }

  .sgor-sp__lightbox-dialog {
    padding: 16px;
  }

  .sgor-sp__lightbox-image {
    max-height: 100%;
  }

  .sgor-sp__lightbox-close {
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
    font-size: 32px;
  }

  .sgor-sp__title {
    font-size: 28px;
  }

  .sgor-sp__price {
    font-size: 19px;
  }

  .sgor-sp__purchase,
  .sgor-sp__short-description {
    padding: 16px 0;
  }

  .sgor-sp__shipping-summary {
    padding: 16px 0;
  }

  .sgor-sp__shipping-summary {
    padding: 10px 0;
  }

  .sgor-sp__shipping-box {
    margin: 0 0 8px;
    padding: 0;
  }

  .sgor-sp__shipping-item {
    padding: 2px 0;
    gap: 5px;
  }

  .sgor-sp__shipping-item-icon {
    width: 14px;
    height: 14px;
  }

  .sgor-sp__shipping-item-icon svg {
    width: 12px;
    height: 12px;
  }

  .sgor-sp__shipping-item-name {
    font-size: 11px;
  }

  .sgor-sp__shipping-item-price {
    font-size: 11px;
  }

  .sgor-sp__purchase .woocommerce-variation-add-to-cart,
  .sgor-sp__purchase .variations_button,
  .sgor-sp__purchase .woocommerce-variation-add-to-cart {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .sgor-sp__purchase .variations_button .reset_variations,
  .sgor-sp__purchase .woocommerce-variation-add-to-cart .reset_variations {
    display: none;
  }

  .sgor-sp__purchase .woocommerce-variation-add-to-cart .quantity,
  .sgor-sp__purchase .variations_button .quantity {
    width: 100%;
    grid-column: 1;
  }

  .sgor-sp__custom-swatches {
    gap: 14px;
    margin-bottom: 16px;
  }

  .sgor-sp__swatch-group {
    gap: 8px;
  }

  .sgor-sp__swatch-group + .sgor-sp__swatch-group {
    padding-top: 12px;
  }

  .sgor-sp__swatch-group-label {
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 0.05em;
  }

  .sgor-sp__swatch-options {
    gap: 8px;
  }

  .sgor-sp__swatch {
    width: auto;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 10px;
    justify-content: center;
  }

  .sgor-sp__swatch--image {
    width: 52px;
    min-width: 52px;
    min-height: 52px;
    padding: 3px;
  }

  .sgor-sp__swatch--text {
    min-width: 66px;
    min-height: 33px;
    padding: 6px 8px;
    justify-content: flex-start;
  }

  .sgor-sp__swatch--color {
    min-width: 40px;
    min-height: 40px;
    padding: 0;
  }

  .sgor-sp__swatch-color {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
  }

  .sgor-sp__swatch.is-unavailable.sgor-sp__swatch--text::before {
    content: none;
  }

  .sgor-sp__purchase .quantity input.qty,
  .sgor-sp__purchase .single_add_to_cart_button,
  .sgor-sp__purchase button.single_add_to_cart_button,
  .sgor-sp__purchase .button.alt {
    width: 100%;
  }

  .sgor-sp__gallery-track {
    grid-auto-columns: minmax(150px, 72%);
    gap: 12px;
    padding-bottom: 8px;
  }

  .sgor-sp__gallery-slide {
    min-height: 150px;
    padding: 14px;
  }

  .sgor-sp__gallery-image {
    max-height: 140px;
  }

  .sgor-sp__tabs-nav {
    flex-direction: column;
  }

  .sgor-sp__tab-button {
    width: 100%;
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid var(--sgor-sp-border);
  }

  .sgor-sp__tab-button:last-child {
    border-bottom: 0;
  }

  .sgor-sp__tabs-panels {
    padding: 18px;
  }

  .sgor-sp__related-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sgor-sp__related-image-wrap {
    min-height: 200px;
    padding: 18px;
  }

  .sgor-sp__related-image {
    max-height: 160px;
  }

  .sgor-sp__related-content {
    padding: 16px 18px 18px;
  }
}