/* Independent card/description variants. Scheme 1 keeps its existing styles. */
.gt-purchase-services { margin: 4px 0 28px; color: var(--gtc-text); }
.gt-purchase-services strong { display: block; font-size: 14px; line-height: 1.5; font-weight: 600; }
.gt-purchase-services__shipping { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding: 22px 0; border-block: 1px solid var(--gtc-border); }
.gt-purchase-services__eyebrow { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gtc-muted); margin-bottom: 6px; }
.gt-purchase-services__shipping p { margin: 0; font-size: 12px; line-height: 1.7; color: var(--gtc-muted); }
.gt-purchase-services__payment { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; padding: 22px 0; }
.gt-purchase-services__payment > div > span { display: block; font-size: 12px; color: var(--gtc-muted); margin-top: 4px; }
.gt-purchase-services__logos { display: flex; align-items: center; gap: 8px; }
.gt-purchase-services__logos img { display: block; width: 38px; height: 24px; padding: 2px; box-sizing: border-box; object-fit: contain; background: var(--gtc-white); border-radius: 3px; }
.gt-purchase-services__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gt-purchase-services__link { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 18px 0 4px; border-top: 1px solid var(--gtc-border); color: inherit; text-decoration: none; min-width: 0; }
.gt-purchase-services__link > span { font-size: 12px; line-height: 1.6; color: var(--gtc-muted); }
.gt-purchase-services__link .gt-purchase-services__cta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; margin-top: auto; color: var(--gtc-text); text-decoration: underline; text-underline-offset: 4px; }
.gt-purchase-services__cta > span { font-size: 18px; text-decoration: none; }
.gt-purchase-services__link:hover .gt-purchase-services__cta { text-decoration-thickness: 2px; }
.gt-product-card-layout-card2 .gt-purchase-services { margin: 0 0 10px; }
.gt-product-card-layout-card2 .gt-purchase-services__shipping { padding: 10px 0; }
.gt-product-card-layout-card2 .gt-purchase-services__eyebrow { margin-bottom: 3px; }
.gt-product-card-layout-card2 .gt-purchase-services__shipping p { line-height: 1.5; }
.gt-product-card-layout-card2 .gt-purchase-services__payment { padding: 10px 0; gap: 8px 16px; }
.gt-product-card-layout-card2 .gt-purchase-services__payment > div > span { margin-top: 2px; }
.gt-product-card-layout-card2 .gt-purchase-services__links { gap: 12px; }
.gt-product-card-layout-card2 .gt-purchase-services__link { gap: 3px; padding: 9px 0 0; }
.gt-product-card-layout-card2 .gt-purchase-services__link > span { line-height: 1.45; }
.gt-product-card-layout-card2 .gt-purchase-services__link .gt-purchase-services__cta { width: fit-content; margin-top: 1px; margin-left: auto; justify-content: flex-end; gap: 5px; padding-top: 4px; border-bottom: 0; text-align: right; text-decoration: none; white-space: nowrap; }
.gt-product-card-layout-card2 .gt-purchase-services__cta > span { font-size: 16px; line-height: 1; }
@media (min-width: 782px) {
    .gt-product-card-layout-card2 .gt-purchase-services__link { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; column-gap: 12px; }
    .gt-product-card-layout-card2 .gt-purchase-services__link .gt-purchase-services__cta { grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: center; margin: 0; }
}
@media (max-width: 1000px) {
    .gt-purchase-services__shipping { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px 0; }
    .gt-purchase-services__links { gap: 20px; }
    .gt-purchase-services__payment { padding: 18px 0; }
}
.gt-product-detail.gt-product-card-layout-card2 { max-width: 1400px; }
.gt-product-card-layout-card2 .gt-product-detail__overview {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 76px);
    align-items: start;
    margin-top: 32px !important;
}
.gt-product-card-layout-card2 .gt-product-detail__summary {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 20px 0 0;
}
.gt-product-card-layout-card2 .wp-block-woocommerce-product-image-gallery {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding: clamp(16px, 2vw, 28px);
    border-radius: 0;
    background: var(--gtc-soft);
}
.gt-product-card-layout-card2 .woocommerce-product-gallery__image { border-radius: 0; }
.gt-product-card-layout-card2 .woocommerce-product-gallery__image img:not(.zoomImg) { aspect-ratio: 1; max-height: 480px; }
.gt-product-card-layout-card2 .gt-product-detail__summary h1.wp-block-post-title {
    font-size: clamp(28px, 2.5vw, 36px) !important;
    line-height: 1.18 !important;
    letter-spacing: -.025em;
    margin-bottom: 28px !important;
}
.gt-product-card-layout-card2 .gt-product-price-row { margin-bottom: 14px !important; }
.gt-product-card-layout-card2 .gt-product-detail__summary .wc-block-components-product-price { font-size: 38px; letter-spacing: -.025em; }
.gt-product-card-layout-card2 .gt-product-detail__summary form.cart { margin: 24px 0 28px !important; gap: 12px; }
.gt-product-card-layout-card2 .gt-quantity-control { border-radius: 2px; }
.gt-product-card-layout-card2 .gt-quantity-control input.qty,
.gt-product-card-layout-card2 .gt-quantity-step { min-height: 54px; height: 54px; }
.gt-product-card-layout-card2 .single_add_to_cart_button { min-height: 56px; border-radius: 2px !important; }
.gt-product-card-layout-card2 .gt-product-trust { margin: 0 0 24px; }
.gt-product-card-layout-card2 .gt-product-trust__item--shipping {
    border-top: 1px solid var(--gtc-border);
    border-bottom: 1px solid var(--gtc-border);
    border-radius: 0;
    padding: 20px 0;
    margin-bottom: 0;
}
.gt-product-card-layout-card2 .gt-product-trust__item:not(.gt-product-trust__item--shipping) { border-top: 0; padding: 22px 8px 0; }
.gt-product-card-layout-card2 .gt-product-trust__item > span { min-width: 0; width: 100%; }
.gt-product-card-layout-card2 .gt-product-trust__item:nth-child(n + 3)::before { display: none; }
.gt-product-card-layout-card2 .gt-product-trust__description { margin-top: 8px; }
.gt-product-card-layout-card2 .gt-payment-logos { overflow: hidden; }
.gt-product-card-layout-card2 .wp-block-woocommerce-product-meta { padding-top: 16px; font-size: 12px; }

.gt-product-card-layout-card3 .gt-product-detail__overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; }
.gt-product-card-layout-card3 .gt-product-detail__overview > .wp-block-column:first-child { order: 1; align-self: start; }
.gt-product-card-layout-card3 .gt-product-detail__summary {
    order: 2;
    box-sizing: border-box;
    padding: 22px 24px;
    border: 1px solid var(--gtc-border);
    border-top: 3px solid var(--gtc-text);
    border-radius: 0 0 16px 16px;
    background: var(--gtc-white);
}
.gt-product-card-layout-card3 .gt-product-detail__summary h1.wp-block-post-title { font-size: 25px !important; line-height: 1.3 !important; margin-bottom: 14px !important; }
.gt-product-card-layout-card3 .gt-product-price-row {
    margin: 0 0 12px !important;
    padding: 12px 16px;
    border: 0;
    border-radius: 8px;
    background: var(--gtc-soft);
}
.gt-product-card-layout-card3 .gt-product-detail__summary form.cart { margin: 14px 0 16px !important; }
.gt-product-card-layout-card3 .single_add_to_cart_button { min-height: 50px; }
.gt-product-card-layout-card3 .wp-block-woocommerce-product-image-gallery {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding: 16px;
    border: 0;
    border-radius: 0;
}
.gt-product-card-layout-card3 .woocommerce-product-gallery__image img:not(.zoomImg) { max-height: 420px; }
.gt-service-folds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; align-items: start; margin: 0 0 12px; }
.gt-service-fold { min-width: 0; border-top: 1px solid var(--gtc-border); }
.gt-service-fold:nth-child(-n + 2) { grid-column: 1 / -1; }
.gt-service-fold:nth-child(n + 3) { align-self: stretch; }
.gt-service-fold:nth-child(4) { position: relative; border-left: 0; padding-left: 16px; }
.gt-service-fold:nth-child(4)::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    width: 1px;
    height: 58%;
    background: var(--gtc-border);
    transform: translateY(-50%);
}
.gt-service-fold > summary { display: flex; align-items: center; gap: 8px; padding: 11px 0; cursor: pointer; list-style: none; font-size: 13px; font-weight: 600; line-height: 1.5; }
.gt-service-fold > summary::-webkit-details-marker,
.gt-description-chapter > summary::-webkit-details-marker { display: none; }
.gt-service-fold > summary svg { width: 20px; height: 20px; flex-shrink: 0; }
.gt-service-fold > summary::after,
.gt-description-chapter > summary::after { content: '+'; margin-left: auto; font: 400 22px/1 sans-serif; }
.gt-service-fold[open] > summary::after,
.gt-description-chapter[open] > summary::after { content: '−'; }
.gt-service-fold__content { padding: 0 0 12px 28px; font-size: 12px; line-height: 1.7; color: var(--gtc-muted); overflow-wrap: anywhere; }
.gt-service-fold__content p { margin: 0 0 10px; }
.gt-service-fold__content p:last-child { margin-bottom: 0; }
.gt-service-fold__content a { color: var(--gtc-text); text-underline-offset: 4px; }
.gt-product-detail summary:focus-visible { outline: 2px solid var(--gtc-text); outline-offset: 3px; }

.gt-product-description-layout-description2 .woocommerce-tabs {
    display: grid;
    grid-template-columns: minmax(150px, .28fr) minmax(0, 1fr);
    column-gap: clamp(32px, 5vw, 72px);
    align-items: start;
    max-width: none;
    margin: 80px auto 96px;
    padding-top: 40px;
    border-top: 1px solid var(--gtc-text);
}
.gt-product-description-layout-description2 .woocommerce-tabs ul.tabs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    border-bottom: 0;
    margin: 0 !important;
    min-width: 0;
}
.gt-product-description-layout-description2 .woocommerce-tabs ul.tabs li.active { border-bottom: 0 !important; }
.gt-product-description-layout-description2 .woocommerce-tabs ul.tabs li a {
    padding: 0 !important;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.2;
    letter-spacing: -.035em;
    text-decoration: none;
    opacity: .5;
}
.gt-product-description-layout-description2 .woocommerce-tabs ul.tabs li.active a { opacity: 1; }
.gt-product-description-layout-description2 .woocommerce-tabs ul.tabs li a:hover { opacity: 1; }
.gt-product-description-layout-description2 .woocommerce-Tabs-panel {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    width: 100%;
    font-size: 16px;
    line-height: 1.85;
}
.gt-product-description-layout-description2 .woocommerce-Tabs-panel p { margin-bottom: 24px; }
.gt-product-description-layout-description2 .woocommerce-Tabs-panel :is(h2, h3) { font-size: 24px; line-height: 1.3; margin: 36px 0 18px; }
.gt-product-description-layout-description2 #tab-description > ul,
.gt-product-description-layout-description2 #tab-description > div > ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
    margin: 32px 0;
    padding: 0;
    list-style: none;
}
.gt-product-description-layout-description2 #tab-description > ul > li,
.gt-product-description-layout-description2 #tab-description > div > ul > li {
    position: relative;
    margin: 0;
    padding: 18px 0 20px 18px;
    border-top: 1px solid var(--gtc-border);
}
.gt-product-description-layout-description2 #tab-description > ul > li::before,
.gt-product-description-layout-description2 #tab-description > div > ul > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 29px;
    width: 5px;
    height: 5px;
    background: var(--gtc-text);
}
.gt-product-description-layout-description2 .woocommerce-Tabs-panel ol { margin: 24px 0; padding-left: 24px; }
.gt-product-description-layout-description2 .woocommerce-Tabs-panel section {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--gtc-border);
}
.gt-product-description-layout-description2 .woocommerce-Tabs-panel section::before { display: none; }
.gt-product-description-layout-description2 .woocommerce-Tabs-panel section > h2 { margin-top: 0; }
.gt-product-description-layout-description2 .woocommerce-Tabs-panel :is(th, td) { padding: 14px 16px; font-size: 14px; }
.gt-product-description-layout-description2 .woocommerce-Tabs-panel tr:nth-child(even) { background: var(--gtc-soft); }
.gt-product-description-layout-description2 #tab-description section > div:has(> span:only-child) { padding: 12px 0; border-bottom: 1px solid var(--gtc-border); }

.gt-product-description-layout-description3 .woocommerce-tabs { margin: 64px auto 80px; }
.gt-product-description-layout-description3 .woocommerce-tabs ul.tabs {
    border-bottom: 0;
    gap: 8px;
    margin-bottom: 28px !important;
}
.gt-product-description-layout-description3 .woocommerce-tabs ul.tabs li { border-radius: 10px !important; margin: 0 !important; }
.gt-product-description-layout-description3 .woocommerce-tabs ul.tabs li a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px !important; font-size: 20px; line-height: 1.4; text-decoration: none; }
.gt-product-description-layout-description3 .woocommerce-tabs ul.tabs li.active { border-bottom: 0 !important; background: #000 !important; color: #fff !important; }
.gt-product-description-layout-description3 .woocommerce-Tabs-panel { font-size: 16px; line-height: 1.8; }
.gt-product-description-layout-description3 .woocommerce-Tabs-panel section { margin-top: 24px; }
.gt-product-description-layout-description3 .woocommerce-Tabs-panel section::before { display: none; }
.gt-product-description-layout-description3 .woocommerce-Tabs-panel :is(h2, h3) { margin: 28px 0 16px; font-size: 20px; line-height: 1.4; }
.gt-product-description-layout-description3 .woocommerce-Tabs-panel :is(th, td) { padding: 12px; font-size: 14px; }
.gt-product-description-layout-description3 .woocommerce-Tabs-panel tr:nth-child(odd) { background: var(--gtc-soft); }
.gt-product-description-layout-description3 .woocommerce-Tabs-panel p { margin-bottom: 22px; }
.gt-product-description-layout-description3 .woocommerce-Tabs-panel li { margin-bottom: 8px; }
.gt-product-detail:is(.gt-product-description-layout-description2, .gt-product-description-layout-description3) .woocommerce-Tabs-panel table { min-width: 0; table-layout: fixed; background: var(--gtc-white); }
.gt-product-detail:is(.gt-product-description-layout-description2, .gt-product-description-layout-description3) .woocommerce-Tabs-panel :is(th, td) { overflow-wrap: anywhere; }

@media (max-width: 1100px) {
    .gt-product-card-layout-card2 .gt-product-trust__label { font-size: 12px; }
    .gt-product-card-layout-card2 .gt-product-trust__detail { font-size: 11px; }
    .gt-product-card-layout-card2 .gt-payment-logos { width: 100%; }
    .gt-product-card-layout-card2 .gt-payment-logos__track { width: max-content; justify-content: flex-start; animation: gt-payment-scroll 12s linear infinite; }
    .gt-product-card-layout-card2 .gt-payment-logos__group[aria-hidden="true"] { display: flex; }
    .gt-product-card-layout-card2 .gt-payment-logos img { flex: 0 0 34px; width: 34px; height: 22px; }
    .gt-product-card-layout-card2 .gt-payment-logos:is(:hover, :active) .gt-payment-logos__track { animation-play-state: paused; }
}
@media (max-width: 1100px) and (prefers-reduced-motion: reduce) {
    .gt-product-card-layout-card2 .gt-payment-logos { overflow-x: auto; }
    .gt-product-card-layout-card2 .gt-payment-logos__track { animation: none; }
    .gt-product-card-layout-card2 .gt-payment-logos__group[aria-hidden="true"] { display: none; }
}
@media (max-width: 781px) {
    .gt-product-card-layout-card2 .gt-product-detail__overview { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .gt-product-card-layout-card3 .gt-product-detail__overview { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .gt-product-card-layout-card3 .gt-product-detail__overview > .wp-block-column:first-child { order: 1; }
    .gt-product-card-layout-card3 .gt-product-detail__summary { order: 2; }
    .gt-product-card-layout-card2 .gt-product-detail__summary { padding: 0 4px; }
    .gt-product-card-layout-card2 .wp-block-woocommerce-product-image-gallery { padding: 14px; border-radius: 0; }
    .gt-product-card-layout-card2 .woocommerce-product-gallery__image img:not(.zoomImg) { aspect-ratio: 1; max-height: 280px; }
    .gt-product-card-layout-card2 .gt-product-detail__summary h1.wp-block-post-title { font-size: 26px !important; margin-bottom: 20px !important; }
    .gt-product-card-layout-card2 .gt-product-detail__summary .wc-block-components-product-price { font-size: 32px; }
    .gt-product-card-layout-card2 .gt-product-detail__summary form.cart { margin-top: 20px !important; }
    .gt-product-card-layout-card2 .gt-product-trust { margin-inline: 0; }
    .gt-product-card-layout-card2 .gt-product-trust__item:not(.gt-product-trust__item--shipping) { padding: 20px 4px 0; }
    .gt-product-card-layout-card2 .gt-purchase-services__link .gt-purchase-services__cta { margin-left: 0; justify-content: flex-start; text-align: left; }
    .gt-product-card-layout-card3 .gt-product-detail__summary { padding: 18px 16px; }
    .gt-service-folds { column-gap: 12px; }
    .gt-service-fold:nth-child(4) { padding-left: 10px; }
    .gt-service-fold:nth-child(4)::before { left: -6px; height: 54%; }
    .gt-service-fold > summary { font-size: 12px; gap: 6px; }
    .gt-service-fold:nth-child(n + 3) .gt-service-fold__content { padding-left: 0; }
    .gt-product-card-layout-card3 .wp-block-woocommerce-product-image-gallery { padding: 8px; }
    .gt-product-card-layout-card3 .woocommerce-product-gallery__image img:not(.zoomImg) { max-height: 280px; }
    .gt-product-card-layout-card3 .gt-product-detail__summary h1.wp-block-post-title { font-size: 22px !important; }
    .gt-product-card-layout-card3 .gt-product-price-row { padding: 14px 12px; }
    .gt-product-detail:is(.gt-product-description-layout-description2, .gt-product-description-layout-description3) .woocommerce-tabs { margin: 40px 0 56px; }
    .gt-product-detail:is(.gt-product-description-layout-description2, .gt-product-description-layout-description3) .woocommerce-tabs ul.tabs { margin-bottom: 22px !important; }
    .gt-product-description-layout-description2 .woocommerce-tabs { grid-template-columns: minmax(0, 1fr); padding: 26px 4px 0; }
    .gt-product-description-layout-description2 .woocommerce-tabs ul.tabs { flex-direction: row; gap: 20px; }
    .gt-product-description-layout-description2 .woocommerce-tabs ul.tabs li a { font-size: 28px; }
    .gt-product-description-layout-description2 .woocommerce-Tabs-panel { grid-column: 1; grid-row: auto; font-size: 15px; line-height: 1.8; }
    .gt-product-description-layout-description2 #tab-description > ul,
    .gt-product-description-layout-description2 #tab-description > div > ul { grid-template-columns: minmax(0, 1fr); margin: 26px 0; }
    .gt-product-description-layout-description2 #tab-description > ul > li,
    .gt-product-description-layout-description2 #tab-description > div > ul > li { padding-block: 14px 16px; }
    .gt-product-description-layout-description2 #tab-description > ul > li::before,
    .gt-product-description-layout-description2 #tab-description > div > ul > li::before { top: 25px; }
    .gt-product-description-layout-description2 .woocommerce-Tabs-panel :is(th, td) { padding: 10px 8px; font-size: 12px; }
    .gt-product-description-layout-description3 .woocommerce-tabs { padding-inline: 4px; }
    .gt-product-description-layout-description3 .woocommerce-Tabs-panel { font-size: 15px; }
    .gt-product-description-layout-description3 .woocommerce-Tabs-panel :is(h2, h3) { font-size: 18px; }
    .gt-product-description-layout-description3 .woocommerce-Tabs-panel :is(th, td) { padding: 10px 6px; font-size: 12px; }
    .gt-product-description-layout-description2 .woocommerce-Tabs-panel :is(h2, h3) { font-size: 20px; margin-top: 26px; }
}

/* Description 1 only: compact parameters fit; complex tables scroll locally. */
@media (max-width: 781px) {
    .gt-product-detail.gt-product-description-layout-description1 #tab-description,
    .gt-product-detail.gt-product-description-layout-description1 #tab-description :is(section, details, figure, .gt-description-table-scroll) {
        min-width: 0;
        max-width: 100%;
    }
    .gt-product-detail.gt-product-description-layout-description1 #tab-description .gt-description-table-scroll {
        width: 100%;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        border-radius: 10px;
    }
    .gt-product-detail.gt-product-description-layout-description1 #tab-description .gt-description-table-scroll:focus-visible {
        outline: 2px solid var(--gtc-text);
        outline-offset: 3px;
    }
    .gt-product-detail.gt-product-description-layout-description1 #tab-description table {
        width: 100%;
        min-width: 0;
        table-layout: fixed;
    }
    .gt-product-detail.gt-product-description-layout-description1 #tab-description table.gt-description-table--compact {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100%;
    }
    .gt-product-detail.gt-product-description-layout-description1 #tab-description :is(th, td) {
        padding: 12px 10px;
        white-space: normal;
        overflow-wrap: anywhere;
        vertical-align: top;
    }
    .gt-product-detail.gt-product-description-layout-description1 #tab-description .gt-description-table--compact :is(th, td) {
        width: auto !important;
    }
    .gt-product-detail.gt-product-description-layout-description1 #tab-description :is(th, td) {
        font-size: 14px;
    }
    .gt-product-detail.gt-product-description-layout-description1 #tab-description table.gt-description-table--wide {
        min-width: 640px;
        table-layout: auto;
    }
}
