/* GK EuroSport B2B PDP UI */
.gk-b2b-pdp-card,
.gk-b2b-pdp-specs {
  background: var(--gk-white, #ffffff);
  border: 1px solid var(--gk-border, #ded8ce);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(24, 51, 43, 0.08);
  box-sizing: border-box;
  clear: both;
  margin: 18px 0;
  max-width: 100%;
  padding: 18px;
}

.gk-r8-native-suppressed,
body[data-gk-r8-pdp-rfq-only="1"] [id^="add_to_cart_update_"],
body[data-gk-r8-pdp-rfq-only="1"] [id^="qty_update_"],
body[data-gk-r8-pdp-rfq-only="1"] [id^="product_amount_update_"],
body[data-gk-r8-pdp-rfq-only="1"] .ty-product-block__option,
body[data-gk-r8-pdp-rfq-only="1"] .ty-product-block__advanced-option,
body[data-gk-r8-pdp-rfq-only="1"] .ty-product-block__field-group,
body[data-gk-r8-pdp-rfq-only="1"] .ty-product-block__button,
body[data-gk-r8-pdp-rfq-only="1"] .button-container [id^="add_to_cart_update_"] {
  display: none !important;
}

.gk-b2b-pdp-card__header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.gk-b2b-pdp-eyebrow {
  color: var(--gk-slate, #626964);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gk-b2b-pdp-status {
  background: var(--gk-soft, #eee9df);
  border-radius: 999px;
  color: var(--gk-forest, #18332b);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  padding: 7px 10px;
}

.gk-b2b-pdp-status--us-in-stock {
  background: rgba(63, 107, 85, 0.12);
  color: #274d3b;
}

.gk-b2b-pdp-status--low-us-stock {
  background: rgba(168, 95, 42, 0.13);
  color: var(--gk-cognac-dark, #82451e);
}

.gk-b2b-pdp-status--made-to-order {
  background: rgba(35, 73, 100, 0.12);
  color: var(--gk-info, #234964);
}

.gk-b2b-pdp-status--unavailable {
  background: rgba(104, 42, 42, 0.12);
  color: var(--gk-danger, #682a2a);
}

.gk-b2b-pdp-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gk-b2b-pdp-row {
  background: var(--gk-ivory, #f6f2ea);
  border: 1px solid rgba(222, 216, 206, 0.72);
  border-radius: 8px;
  box-sizing: border-box;
  min-width: 0;
  padding: 10px 12px;
}

.gk-b2b-pdp-row span {
  color: var(--gk-slate, #626964);
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 4px;
}

.gk-b2b-pdp-row strong {
  color: var(--gk-charcoal, #1d211f);
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.gk-b2b-pdp-row--quote {
  align-content: start;
}

.gk-b2b-pdp-qty-control {
  display: grid;
  gap: 6px;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  margin-bottom: 6px;
}

.gk-b2b-pdp-qty-button,
.gk-b2b-pdp-qty-input {
  background: var(--gk-white, #ffffff);
  border: 1px solid var(--gk-border, #ded8ce);
  border-radius: 6px;
  box-sizing: border-box;
  color: var(--gk-forest, #18332b);
  font-size: 15px;
  font-weight: 800;
  height: 36px;
  line-height: 1;
  min-width: 0;
}

.gk-b2b-pdp-qty-button {
  cursor: pointer;
  padding: 0;
}

.gk-b2b-pdp-qty-button:hover,
.gk-b2b-pdp-qty-button:focus {
  background: var(--gk-forest, #18332b);
  border-color: var(--gk-forest, #18332b);
  color: var(--gk-white, #ffffff);
}

.gk-b2b-pdp-qty-input {
  padding: 0 6px;
  text-align: center;
  width: 100%;
}

.gk-b2b-pdp-qty-input::-webkit-inner-spin-button,
.gk-b2b-pdp-qty-input::-webkit-outer-spin-button {
  margin: 0;
}

.gk-b2b-pdp-message {
  border-left: 3px solid var(--gk-cognac, #a85f2a);
  color: #4b524d;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 14px;
  padding-left: 12px;
}

.gk-b2b-pdp-qty-note {
  background: rgba(168, 95, 42, 0.08);
  border: 1px solid rgba(168, 95, 42, 0.22);
  border-radius: 8px;
  box-sizing: border-box;
  color: #624127;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 12px;
  padding: 10px 12px;
}

.gk-b2b-pdp-qty-note[hidden] {
  display: none;
}

.gk-b2b-pdp-paths {
  border-top: 1px solid rgba(222, 216, 206, 0.78);
  margin-top: 14px;
  padding-top: 14px;
}

.gk-b2b-pdp-paths__header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.gk-b2b-pdp-paths__header span {
  color: var(--gk-charcoal, #1d211f);
  font-size: 14px;
  font-weight: 800;
}

.gk-b2b-pdp-paths__header strong {
  color: var(--gk-slate, #626964);
  font-size: 12px;
  font-weight: 700;
}

.gk-b2b-pdp-paths__grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gk-b2b-pdp-path {
  background: var(--gk-white, #ffffff);
  border: 1px solid var(--gk-border, #ded8ce);
  border-radius: 8px;
  box-sizing: border-box;
  color: var(--gk-forest, #18332b);
  display: block;
  min-height: 64px;
  min-width: 0;
  padding: 10px 12px;
  text-decoration: none;
}

.gk-b2b-pdp-path:hover,
.gk-b2b-pdp-path:focus {
  border-color: var(--gk-forest, #18332b);
  box-shadow: 0 8px 18px rgba(24, 51, 43, 0.12);
  color: var(--gk-forest, #18332b);
  text-decoration: none;
}

.gk-b2b-pdp-path span,
.gk-b2b-pdp-path strong {
  display: block;
  overflow-wrap: anywhere;
}

.gk-b2b-pdp-path span {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 4px;
}

.gk-b2b-pdp-path strong {
  color: var(--gk-slate, #626964);
  font-size: 12px;
  line-height: 1.25;
}

.gk-b2b-pdp-card--qty-warning {
  border-color: rgba(168, 95, 42, 0.55);
}

.gk-b2b-pdp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.gk-b2b-pdp-action.ty-btn {
  align-items: center;
  border-radius: 8px !important;
  box-sizing: border-box;
  display: inline-flex;
  font-size: 13px !important;
  font-weight: 800 !important;
  justify-content: center;
  min-height: 42px;
  min-width: 0;
  padding: 11px 14px !important;
  text-align: center;
  transition: box-shadow 160ms ease, transform 160ms ease;
  white-space: normal;
}

.gk-b2b-pdp-action.ty-btn:hover,
.gk-b2b-pdp-action.ty-btn:focus {
  box-shadow: 0 8px 18px rgba(24, 51, 43, 0.16);
  transform: translateY(-1px);
}

.gk-b2b-pdp-action.ty-btn__primary {
  background: var(--gk-forest, #18332b) !important;
  color: var(--gk-white, #ffffff) !important;
}

.gk-b2b-pdp-action.ty-btn__secondary {
  background: var(--gk-cognac, #a85f2a) !important;
  color: var(--gk-white, #ffffff) !important;
}

.gk-b2b-pdp-action.ty-btn__text {
  background: transparent !important;
  border: 1px solid var(--gk-border, #ded8ce) !important;
  color: var(--gk-forest, #18332b) !important;
}

.gk-b2b-pdp-specs h3 {
  color: var(--gk-charcoal, #1d211f);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 0 0 12px;
}

.gk-b2b-pdp-specs .ty-product-feature,
.gk-b2b-pdp-specs .ty-product-feature-group,
.gk-b2b-pdp-specs table {
  max-width: 100%;
}

.gk-b2b-pdp-specs table {
  width: 100%;
}

.gk-b2b-rfq-context {
  background: var(--gk-ivory, #f6f2ea);
  border: 1px solid var(--gk-border, #ded8ce);
  border-radius: 8px;
  box-sizing: border-box;
  margin: 0 0 18px;
  padding: 16px;
}

.gk-b2b-rfq-context__header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.gk-b2b-rfq-context__header span {
  color: var(--gk-forest, #18332b);
  font-size: 16px;
  font-weight: 800;
}

.gk-b2b-rfq-context__header strong {
  color: var(--gk-slate, #626964);
  font-size: 12px;
}

.gk-b2b-rfq-context__grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gk-b2b-rfq-context__item {
  background: var(--gk-white, #ffffff);
  border: 1px solid rgba(222, 216, 206, 0.72);
  border-radius: 6px;
  min-width: 0;
  padding: 9px 10px;
}

.gk-b2b-rfq-context__item span,
.gk-b2b-rfq-context__item strong {
  display: block;
  overflow-wrap: anywhere;
}

.gk-b2b-rfq-context__item span {
  color: var(--gk-slate, #626964);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 3px;
}

.gk-b2b-rfq-context__item strong {
  color: var(--gk-charcoal, #1d211f);
  font-size: 13px;
  line-height: 1.35;
}

.gk-r8-pdp__top {
  align-items: start;
  display: grid;
  min-width: 0;
  width: 100%;
}

.gk-r8-pdp__gallery,
.gk-r8-pdp__buying-panel {
  min-width: 0;
}

.gk-r8-pdp__main-media,
.gk-r8-pdp__main-media .ty-product-img,
.gk-r8-pdp__main-media .ty-product-bigpicture {
  aspect-ratio: 1 / 1;
  background: var(--gk-r8-surface-cream, var(--gk-ivory, #f8f3ea));
  border-radius: var(--gk-r8-media-radius, 12px);
  max-width: 540px;
  overflow: hidden;
  width: 100%;
}

.gk-r8-pdp__main-media a,
.gk-r8-pdp__main-media picture {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.gk-r8-pdp__main-media img,
.gk-r8-pdp__main-media .ty-pict {
  display: block;
  height: 100% !important;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain !important;
  object-position: center !important;
  width: 100% !important;
}

.gk-r8-pdp__thumb-row,
.gk-r8-pdp__thumb-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.gk-r8-pdp__thumb,
.gk-r8-pdp__thumb img,
.gk-r8-pdp__thumb .ty-pict {
  aspect-ratio: 1 / 1;
}

.gk-r8-pdp__thumb {
  align-items: center;
  background: var(--gk-r8-surface-cream, var(--gk-ivory, #f8f3ea));
  border: 1px solid rgba(222, 216, 206, 0.82);
  border-radius: 8px;
  display: inline-flex;
  height: 72px;
  justify-content: center;
  overflow: hidden;
  width: 72px;
}

.gk-r8-pdp__thumb img,
.gk-r8-pdp__thumb .ty-pict {
  display: block;
  height: 100% !important;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain !important;
  object-position: center !important;
  width: 100% !important;
}

@media (min-width: 1200px) {
  .gk-r8-pdp__top {
    gap: 40px;
    grid-template-columns: minmax(0, 540px) minmax(0, 500px);
    margin-left: auto;
    margin-right: auto;
    max-width: 1080px;
  }

  .gk-r8-pdp__gallery {
    max-width: 540px;
  }

  .gk-r8-pdp__buying-panel {
    max-width: 500px;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .gk-r8-pdp__top {
    gap: 32px;
    grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  body[data-gk-r8-pdp-rfq-only="1"] .ty-product-block.ty-product-detail .ty-product-block__img-wrapper,
  body[data-gk-r8-pdp-rfq-only="1"] .ty-product-block.ty-product-detail .ty-product-block__left {
    clear: both !important;
    display: block !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 640px;
    width: min(100%, 640px) !important;
  }

  body[data-gk-r8-pdp-rfq-only="1"] .ty-product-block.ty-product-detail .ty-product-block__left {
    margin-top: 18px !important;
  }

  body[data-gk-r8-pdp-rfq-only="1"] .ty-product-block-title {
    max-width: 100%;
    white-space: normal;
    word-break: normal;
  }
}

@media (max-width: 1023px) {
  .gk-r8-pdp__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .gk-r8-pdp__gallery,
  .gk-r8-pdp__buying-panel {
    margin-left: auto;
    margin-right: auto;
    width: min(100%, 560px);
  }

  .gk-r8-pdp__gallery {
    order: 1;
  }

  .gk-r8-pdp__buying-panel {
    order: 2;
  }

  .gk-r8-pdp__main-media {
    max-width: 560px;
  }

  .gk-r8-pdp__thumb {
    height: 64px;
    width: 64px;
  }
}

@media (max-width: 767px) {
  .gk-b2b-pdp-card,
  .gk-b2b-pdp-specs {
    margin: 14px 0;
    padding: 14px;
  }

  .gk-b2b-pdp-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gk-b2b-rfq-context__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gk-b2b-pdp-paths__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gk-b2b-pdp-actions {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--gk-border, #ded8ce);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(24, 51, 43, 0.18);
    box-sizing: border-box;
    flex-direction: column;
    padding: 8px;
    z-index: 20;
  }

  .gk-b2b-pdp-action.ty-btn {
    width: 100%;
  }
}
