/* Product detail: shared brand colours, comfortable reading and purchase controls. */
.gt-product-detail {
    max-width: 1248px;
    margin: 0 auto !important;
    padding: 28px 24px 48px !important;
    color: var(--gtc-text);
}
.gt-product-detail > .wp-block-group { max-width: none !important; }
.gt-product-detail .woocommerce-breadcrumb { font-size: 13px; line-height: 1.7; color: var(--gtc-muted); margin-bottom: 28px; }
.gt-product-detail__overview { gap: 48px; align-items: flex-start; margin: 24px 0 48px !important; }
.gt-product-detail__overview > .wp-block-column { min-width: 0; }
.gt-product-detail__overview .woocommerce-product-gallery { float: none !important; width: 100% !important; margin: 0 !important; }
.gt-product-detail .wp-block-woocommerce-product-image-gallery { position: relative; }
.gt-product-detail .woocommerce-product-gallery__wrapper { margin: 0; }
.gt-product-detail .woocommerce-product-gallery__image { background: white; border-radius: 16px; overflow: hidden; }
.gt-product-detail .woocommerce-product-gallery__image img:not(.zoomImg) { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: white; }
.gt-product-image-lightbox:not([open]) { display: none; }
.gt-product-image-lightbox[open] {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: clamp(58px, 8vh, 88px) clamp(16px, 5vw, 64px);
    overflow: hidden;
    border: 0;
    background: transparent;
    color: #fff;
}
.gt-product-image-lightbox::backdrop { background: rgba(8, 10, 14, .94); }
.gt-product-image-lightbox > img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 18px 64px rgba(0, 0, 0, .28);
}
.gt-product-image-lightbox__close {
    position: fixed;
    top: max(16px, env(safe-area-inset-top));
    right: max(16px, env(safe-area-inset-right));
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0 0 3px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font: 300 32px/1 Arial, sans-serif;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.gt-product-image-lightbox__close:hover { background: transparent; opacity: .78; }
.gt-product-image-lightbox__close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.gt-product-detail .wp-block-woocommerce-product-image-gallery > .onsale,
.gt-product-detail .wp-block-woocommerce-product-image-gallery > .wc-block-components-product-sale-badge {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    z-index: 3;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 3px 10px !important;
    border: 1px solid var(--gtc-text) !important;
    border-radius: 4px !important;
    background: var(--gtc-white) !important;
    color: var(--gtc-text) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-transform: uppercase;
}
.gt-product-detail .flex-control-thumbs { display: flex; gap: 10px; padding: 12px 0 !important; flex-wrap: wrap; }
.gt-product-detail .flex-control-thumbs li { width: 72px !important; border: 1px solid var(--gtc-border); border-radius: 8px; overflow: hidden; }
.gt-product-detail .flex-control-thumbs img { aspect-ratio: 1; object-fit: contain; background: white; }
.gt-product-detail__summary { padding: 28px; border-radius: 18px; background: var(--gtc-soft); }
.gt-product-detail__summary h1.wp-block-post-title { font-size: 26px !important; line-height: 1.3 !important; margin: 0 0 14px !important; overflow-wrap: anywhere; }
.gt-product-detail__summary .gt-product-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 10px; margin: 0 0 8px !important; }
.gt-product-detail__summary .wp-block-woocommerce-product-price,
.gt-product-detail__summary .wc-block-components-product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; color: var(--gtc-text); font-size: 34px; font-weight: 700; line-height: 1.2; margin: 0 !important; }
.gt-product-detail__summary .price { color: inherit; }
.gt-product-detail__summary del { color: var(--gtc-muted); font-size: 17px; font-weight: 400; }
.gt-product-detail__summary > .wp-block-woocommerce-product-sku { margin: 0 !important; font-size: 12px; line-height: 1.6; color: var(--gtc-muted); overflow-wrap: anywhere; }
.gt-product-detail__summary .gt-product-tax-note { flex: 0 0 auto; margin: 0 !important; color: #000; font-size: 12px; line-height: 1.5; white-space: nowrap; }
.gt-product-detail__summary ins { color: inherit; font-weight: 700; text-decoration: none; }
.gt-product-detail__summary .woocommerce-product-rating { margin: 0 0 14px; color: var(--gtc-muted); font-size: 13px; }
.gt-product-detail__summary .woocommerce-product-rating .star-rating { color: #d49a35; }
.gt-product-detail__summary .wp-block-post-excerpt { line-height: 1.75; font-size: 15px; }
.gt-product-detail__summary form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 14px 0 24px !important; }
.gt-product-detail__summary form.variations_form { display: block; }
.gt-product-detail__summary .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.gt-product-detail__summary input.qty { box-sizing: border-box; width: 76px; min-height: 48px; border: 1px solid var(--gtc-border); border-radius: 8px; background: var(--gtc-white); color: var(--gtc-text); text-align: center; }
.gt-product-detail__summary .gt-quantity-control { display: inline-flex; align-items: center; flex: 0 0 auto; overflow: hidden; border: 1px solid var(--gtc-border); border-radius: 8px; background: var(--gtc-white); }
.gt-product-detail__summary .gt-quantity-control input.qty { width: 40px; min-height: 46px; padding: 0; border: 0; border-radius: 0; appearance: textfield; -moz-appearance: textfield; }
.gt-product-detail__summary .gt-quantity-control input.qty::-webkit-inner-spin-button,
.gt-product-detail__summary .gt-quantity-control input.qty::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.gt-product-detail__summary .gt-quantity-step { display: grid; place-items: center; width: 34px; height: 46px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--gtc-text); font-size: 20px; line-height: 1; cursor: pointer; }
.gt-product-detail__summary .gt-quantity-step:hover:not(:disabled) { background: var(--gtc-border); }
.gt-product-detail__summary .gt-quantity-step:disabled { opacity: .35; cursor: default; }
.gt-product-detail__summary .single_add_to_cart_button { flex: 1; min-height: 48px; padding: 13px 24px !important; border: 0 !important; border-radius: 8px !important; background: var(--gtc-text) !important; color: var(--gtc-white) !important; font-size: 15px !important; font-weight: 600; line-height: 1.25; cursor: pointer; }
.gt-product-detail__summary .single_add_to_cart_button:hover { filter: brightness(1.15); }
.gt-product-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 0 24px; font-family: inherit; }
.gt-product-trust__item { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; padding: 16px 10px 10px; color: var(--gtc-text); text-align: center; text-decoration: none; border-top: 1px solid var(--gtc-border); cursor: pointer; }
.gt-product-trust__item svg { flex: 0 0 24px; width: 24px; height: 24px; }
.gt-product-trust__item:nth-child(n + 3) { position: relative; }
.gt-product-trust__item:nth-child(n + 3)::before { content: ''; position: absolute; top: 16px; bottom: 0; left: 0; width: 1px; background: var(--gtc-border); }
.gt-product-trust__item--shipping { grid-column: 1 / -1; flex-direction: row; gap: 16px; margin-bottom: 12px; padding: 16px 18px; border: 0; border-radius: 12px; text-align: left; }
.gt-product-trust__item--shipping > svg:first-child { width: 32px; height: 32px; flex-basis: 32px; }
.gt-product-trust__item--shipping > span { flex: 1; min-width: 0; }
.gt-product-trust__item--shipping { cursor: default; border: none; outline: none; box-shadow: none; }
.gt-product-trust__item--payment { cursor: default; }
.gt-payment-logos { display: block; max-width: 100%; margin-top: 8px; }
.gt-payment-logos__track { display: flex; align-items: flex-end; justify-content: center; gap: 8px; }
.gt-payment-logos__group { display: flex; align-items: flex-end; flex: 0 0 auto; gap: 8px; }
.gt-payment-logos__group[aria-hidden="true"] { display: none; }
.gt-payment-logos img { display: block; box-sizing: border-box; flex: 0 0 38px; width: 38px; height: 24px; margin: 0; padding: 2px; border-radius: 3px; background: var(--gtc-white); object-fit: contain; object-position: center bottom; vertical-align: bottom; }
.gt-payment-logos img[alt="PayPal"],
.gt-payment-logos img[src$="/paypal.png"] { object-position: center; }
@keyframes gt-payment-scroll { to { transform: translateX(calc(-50% - 4px)); } }
.gt-product-trust__item .gt-product-trust__arrow { width: 18px; height: 18px; flex-basis: 18px; }
.gt-product-trust__label { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.gt-product-trust__detail { display: block; margin-top: 4px; color: var(--gtc-muted); font-size: 12px; line-height: 1.5; }
.gt-product-trust__description { display: block; margin: 6px 0 8px; color: var(--gtc-muted); font-size: 12px; line-height: 1.55; text-decoration: none; }
.gt-trust-copy--mobile { display: none; }
.gt-product-trust__item:not(.gt-product-trust__item--shipping) .gt-product-trust__detail { color: var(--gtc-text); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--gtc-text) 30%, transparent); text-underline-offset: 3px; }
.gt-product-trust__item:hover .gt-product-trust__detail { color: var(--gtc-text); text-decoration-color: currentColor; }
.gt-product-trust__item:is(a):active { background: color-mix(in srgb, var(--gtc-text) 5%, transparent); }
.gt-product-trust__item .gt-product-trust__label { text-decoration: none; }
.gt-product-detail__summary select { box-sizing: border-box; width: 100%; min-height: 44px; border: 1px solid var(--gtc-border); border-radius: 8px; padding: 8px 12px; background: var(--gtc-white); color: var(--gtc-text); }
.gt-product-detail__summary .variations { width: 100%; }
.gt-product-detail__summary .wp-block-woocommerce-product-meta { border-top: 1px solid var(--gtc-border); padding-top: 18px; font-size: 13px; line-height: 1.65; color: color-mix(in srgb, var(--gtc-text) 70%, var(--gtc-muted)); }
.gt-product-detail__summary .wp-block-woocommerce-product-meta > .wp-block-group { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.gt-product-detail__summary .wp-block-woocommerce-product-meta > .wp-block-group > * { width: 100%; margin: 0; }
.gt-product-detail__summary .wp-block-woocommerce-product-meta .wp-block-post-terms__prefix { margin-right: 4px; color: var(--gtc-muted); font-weight: 500; }
.gt-product-detail__summary .wp-block-woocommerce-product-meta a { color: inherit; }
.gt-product-detail .woocommerce-tabs { max-width: 1248px; margin: 80px auto 96px; }
.gt-product-detail .woocommerce-tabs ul.tabs { box-sizing: border-box; max-width: 100%; padding: 0 !important; margin: 0 auto 20px !important; display: flex; flex-wrap: wrap; gap: 32px; border-bottom: 1.5px solid color-mix(in srgb, var(--gtc-text) 16%, transparent); }
.gt-product-detail .woocommerce-tabs ul.tabs::before,
.gt-product-detail .woocommerce-tabs ul.tabs li::before,
.gt-product-detail .woocommerce-tabs ul.tabs li::after { display: none !important; }
.gt-product-detail .woocommerce-tabs ul.tabs li { list-style: none !important; border: 0 !important; border-radius: 0 !important; margin: 0 0 -1px !important; padding: 0 !important; background: transparent !important; }
.gt-product-detail .woocommerce-tabs ul.tabs li.active { border-bottom: 3px solid var(--gtc-text) !important; background: transparent !important; color: var(--gtc-text) !important; }
.gt-product-detail .woocommerce-tabs ul.tabs li a { display: block; color: inherit !important; padding: 0 2px 12px !important; font-size: 24px; font-weight: 700; }
.gt-product-detail .woocommerce-Tabs-panel {
    box-sizing: border-box;
    max-width: 100%;
    margin: 0 auto !important;
    padding: 0 !important;
    font-size: 17px;
    line-height: 1.82;
    overflow-wrap: anywhere;
}
.gt-product-detail .woocommerce-Tabs-panel > * { max-width: 100%; }
.gt-product-detail .woocommerce-Tabs-panel p { margin: 0 0 30px; }
.gt-product-detail .woocommerce-Tabs-panel p:last-child { margin-bottom: 0; }
.gt-product-detail .woocommerce-Tabs-panel ul,
.gt-product-detail .woocommerce-Tabs-panel ol { margin: 14px 0 36px; padding-left: 30px; }
.gt-product-detail .woocommerce-Tabs-panel li { padding-left: 6px; margin-bottom: 12px; }
.gt-product-detail .woocommerce-Tabs-panel li::marker { color: var(--gtc-muted); }
.gt-product-detail .woocommerce-Tabs-panel section { margin-top: 62px; padding-top: 0; border: 0; }
.gt-product-detail .woocommerce-Tabs-panel section::before { content: ""; display: block; width: 52px; height: 2px; margin-bottom: 30px; background: color-mix(in srgb, var(--gtc-text) 20%, transparent); }
.gt-product-detail .woocommerce-Tabs-panel section > h2 { margin: 0 0 24px; font-size: 25px; line-height: 1.4; }
.gt-product-detail .woocommerce-Tabs-panel section > h2 > button:empty:not([aria-label]) { display: none; }
.gt-product-detail .woocommerce-Tabs-panel section > div:has(> table) { max-width: 100%; overflow-x: auto; }
.gt-product-detail .woocommerce-Tabs-panel table { width: 100%; min-width: 640px; border-collapse: collapse; background: white; border-radius: 10px; }
.gt-product-detail .woocommerce-Tabs-panel th,
.gt-product-detail .woocommerce-Tabs-panel td { padding: 16px; border-bottom: 1px solid var(--gtc-border); text-align: left; }
.gt-product-detail > .wp-block-spacer { display: none; }
.gt-product-detail :is(button, input, select, a):focus-visible { outline: 2px solid var(--gtc-text); outline-offset: 3px; }
.gt-product-detail .gt-related-products .gt-products-row {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}
.gt-product-detail .gt-related-products .gt-product-card {
    min-width: 0;
}
@media (max-width: 781px) {
    .gt-product-trust { margin: 0 -12px 22px; }
    .gt-product-trust__item { padding: 14px 3px 10px; gap: 10px; }
    .gt-trust-copy--desktop { display: inline; }
    .gt-trust-copy--mobile { display: none; }
    .gt-product-trust__description { min-height: 6.2em; margin: 4px 0 10px; }
    .gt-product-trust__item--shipping { padding: 14px 12px; gap: 12px; }
    .gt-product-trust__label { font-size: 12px; }
    .gt-product-trust__item--shipping .gt-product-trust__label { font-size: 14px; }
    .gt-product-trust__detail { font-size: 12px; }
    .gt-product-trust__detail { margin-top: 2px; }
    .gt-product-trust__item:not(.gt-product-trust__item--shipping) > span { width: 100%; }
    .gt-product-trust__item:not(.gt-product-trust__item--shipping) .gt-product-trust__label { min-height: 0; }
    .gt-payment-logos { width: 100%; overflow: hidden; }
    .gt-payment-logos__track { width: max-content; justify-content: flex-start; animation: gt-payment-scroll 12s linear infinite; }
    .gt-payment-logos__group[aria-hidden="true"] { display: flex; }
    .gt-payment-logos:active .gt-payment-logos__track,
    .gt-payment-logos:hover .gt-payment-logos__track { animation-play-state: paused; }
    .gt-payment-logos img { flex: 0 0 34px; width: 34px; height: 22px; }
    .gt-product-detail { padding: 20px 18px 32px !important; }
    .gt-product-detail__overview { flex-direction: column; gap: 22px; margin-bottom: 28px !important; }
    .gt-product-detail__overview > .wp-block-column { flex-basis: auto !important; width: 100%; }
    .gt-product-detail__summary { padding: 22px 18px; box-sizing: border-box; border-radius: 14px; }
    .gt-product-detail__summary h1.wp-block-post-title { font-size: 20px !important; margin-bottom: 12px !important; }
    .gt-product-detail__summary .wp-block-woocommerce-product-price { font-size: 25px; }
    .gt-product-detail__summary .wc-block-components-product-price { font-size: 30px; gap: 8px 12px; }
    .gt-product-detail__summary del { font-size: 15px; }
    .gt-product-detail .woocommerce-tabs { margin: 52px 0 68px; }
    .gt-product-detail .woocommerce-tabs { box-sizing: border-box; padding-inline: 12px; }
    .gt-product-detail .gt-related-products h2.wp-block-heading { padding-inline: 12px; }
    .gt-product-detail .woocommerce-tabs ul.tabs { padding: 0 !important; margin-bottom: 20px !important; }
    .gt-product-detail .woocommerce-Tabs-panel { max-width: none; padding: 0 !important; font-size: 16px; line-height: 1.8; }
    .gt-product-detail .woocommerce-Tabs-panel p { margin-bottom: 26px; }
    .gt-product-detail .woocommerce-Tabs-panel li { margin-bottom: 8px; }
    .gt-product-detail .woocommerce-Tabs-panel section { margin-top: 46px; }
    .gt-product-detail .woocommerce-Tabs-panel section::before { margin-bottom: 24px; }
    .gt-product-detail .woocommerce-Tabs-panel section > h2 { font-size: 23px; }
    .gt-product-detail .woocommerce-tabs ul.tabs li a { padding-inline: 0 !important; font-size: 20px; }
    .gt-product-detail .gt-related-products .gt-products-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .gt-product-detail .gt-related-products .gt-products-row > li:nth-child(n + 5) {
        display: none;
    }
}
@media (max-width: 781px) and (prefers-reduced-motion: reduce) {
    .gt-payment-logos { overflow-x: auto; }
    .gt-payment-logos__track { animation: none; }
    .gt-payment-logos__group[aria-hidden="true"] { display: none; }
}
