/* Product information follows the catalogue palette; stock tables are untouched. */
.gc-item-page .gc-item-title { font-size: 34px; line-height: 1.2; font-weight: 500; color: #382c28; }
.gc-item-page .gc-item-title .gc-item-code { font-size: 18px; font-weight: 400; color: #78716d !important; white-space: nowrap; }
.gc-item-page .gc-item-details { margin-left: 12px !important; }
.gc-item-page .gc-item-options { margin-top: 16px !important; }
.gc-item-page .gc-item-options .swatch p { margin-top: 0; margin-bottom: 6px; }
.gc-item-page .gc-item-colour-label { font-size: 13px; font-weight: 600; color: #382c28; }
.gc-item-page .gc-item-selected-colour { font-weight: 400; color: #78716d; }
.gc-item-page .gc-price-old { font-size: 14px; color: #78716d !important; text-decoration: line-through; }
.gc-item-page .gc-price-new { font-size: 22px; font-weight: 700; color: #a32640 !important; }
.gc-item-page .gc-price-regular { font-size: 22px; color: #3fb34f !important; }
.gc-item-page .gc-item-order-history { margin: 6px 0 12px; color: #78716d; font-size: 13px; line-height: 1.5; }
.gc-item-page .gc-item-order-history strong { font-weight: 500; }
.gc-item-page .gc-sizecalc-action { margin: 12px 0 !important; }
.gc-item-page .gc-item-offer-panel {
    --item-offer-accent: var(--gc-discount-accent);
    --item-offer-ink: var(--gc-discount-ink);
    --item-offer-surface: var(--gc-discount-surface);
    --item-offer-symbol: var(--gc-discount-symbol);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    margin-top: 12px;
    border: 1px solid var(--item-offer-accent);
    border-left-width: 4px;
    border-radius: 8px;
    background: var(--item-offer-surface);
    color: #382c28;
}
.gc-item-page .gc-item-offer-panel--exclusive {
    --item-offer-accent: #b18a16;
    --item-offer-ink: #71550a;
    --item-offer-surface: #fff9e8;
    --item-offer-symbol: #f7e4a2;
}
.gc-item-page .gc-item-offer-panel--outlet {
    --item-offer-accent: #558661;
    --item-offer-ink: #315d3b;
    --item-offer-surface: #eff7f0;
    --item-offer-symbol: #d6e9da;
}
.gc-item-page .gc-item-offer-icon { display: inline-flex; flex: 0 0 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: var(--item-offer-symbol); color: var(--item-offer-ink); font-size: 16px; }
.gc-item-page .gc-item-offer-body { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 4px; }
.gc-item-page .gc-item-offer-kind { font-size: 11px; font-weight: 600; color: var(--item-offer-ink); }
.gc-item-page .gc-item-offer-title { font-size: 14px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.gc-item-page .gc-item-offer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 12px; }
.gc-item-page .gc-item-offer-expiry { padding: 2px 6px; border-radius: 4px; color: var(--item-offer-ink); background: var(--item-offer-symbol); }
.gc-item-page .gc-item-offer-meta a { color: var(--item-offer-ink); text-decoration: underline; text-underline-offset: 3px; }
.gc-item-page .gc-item-sale { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 8px; border-radius: 4px; background: #fceef1; color: #a32640; font-size: 12px; }
@media (max-width: 767px) {
    .gc-item-page .gc-item-title { font-size: 28px; }
    .gc-item-page .gc-item-title .gc-item-code { font-size: 16px; }
    .gc-item-page .gc-item-details { margin-left: 0 !important; }
    .gc-item-page .gc-item-offer-panel { padding: 10px; gap: 8px; }
}

/* Reduce the gap below the masthead and avoid duplicate breadcrumb rules. */
.gc-item-page.tm-block-divider { padding-top: 12px; }
.gc-item-page .gc-item-breadcrumb { margin: 0 0 14px; min-height: 24px; }
.gc-item-page .gc-item-options { margin-top: 10px !important; }
.gc-item-page .gc-item-offer-panel { padding: 8px 10px; gap: 8px; margin-top: 8px; }
.gc-item-page .gc-item-offer-icon { flex-basis: 26px; height: 26px; font-size: 14px; }
.gc-item-page .gc-item-offer-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 8px; align-items: baseline; }
.gc-item-page .gc-item-offer-title { font-size: 13px; }
.gc-item-page .gc-item-offer-meta { grid-column: 1 / -1; font-size: 11px; gap: 4px 12px; }
.gc-item-page .gc-item-order-history { margin-bottom: 6px; }
.gc-item-page .gc-sizecalc-action { margin: 8px 0 !important; }
/* Portrait photographs are 1390 x 2250: size the frame, not just its contents. */
.gc-item-page .swiper { aspect-ratio: auto; height: auto; }
.gc-item-page .mySwiper2 {
    width: min(100%, calc(clamp(280px, calc(100vh - 270px), 600px) * 139 / 225));
    width: min(100%, calc(clamp(280px, calc(100svh - 270px), 600px) * 139 / 225));
    height: auto;
    aspect-ratio: 139 / 225;
    max-height: none;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
.gc-item-page .mySwiper {
    width: min(100%, calc(clamp(280px, calc(100vh - 270px), 600px) * 139 / 225));
    width: min(100%, calc(clamp(280px, calc(100svh - 270px), 600px) * 139 / 225));
    height: 92px;
    margin: 0 auto;
    padding: 6px 0 14px;
}
.gc-item-page .mySwiper .swiper-slide { width: 44px; height: auto; aspect-ratio: 139 / 225; }
.gc-item-page .mySwiper2 .swiper-slide img,
.gc-item-page .mySwiper .swiper-slide img { width: 100%; height: 100%; object-fit: contain; }
.gc-item-page .mySwiper2 .swiper-slide video,
.gc-item-page .mySwiper2 .swiper-slide iframe { max-height: 100%; }
.gc-item-page .mySwiper2 .swiper-button-next,
.gc-item-page .mySwiper2 .swiper-button-prev { width: 30px; height: 40px; border-radius: 5px; background: rgba(255,255,255,.8); }
.gc-item-page .mySwiper2 .swiper-button-next::after,
.gc-item-page .mySwiper2 .swiper-button-prev::after { font-size: 24px; }
@media (max-width: 767px) {
    .gc-item-page.tm-block-divider { padding-top: 8px; }
    .gc-item-page .gc-item-breadcrumb { margin-bottom: 10px; }
    .gc-item-page .gc-item-offer-body { display: flex; gap: 3px; }
    .gc-item-page .mySwiper2,
    .gc-item-page .mySwiper {
        width: min(100%, calc(clamp(260px, 65vh, 560px) * 139 / 225));
        width: min(100%, calc(clamp(260px, 65svh, 560px) * 139 / 225));
    }
}

/* Shared, quiet notices for forward-order seasons, deadlines and discontinuation. */
.gc-item-page .gc-item-notice { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0; padding: 9px 12px; border: 1px solid #e4d8c5; border-left: 3px solid #b49a70; border-radius: 6px; background: #faf7f0; color: #756044; font-size: 13px; line-height: 1.5; }
.gc-item-page .gc-item-notice > i { flex: 0 0 16px; margin-top: 3px; }
.gc-item-page .gc-item-restriction { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border: 1px solid #e4d2d2; border-radius: 6px; background: #faf3f3; color: #795252; }
.gc-item-page .gc-item-restriction > i { margin-top: 4px; }
.gc-item-page .gc-item-restriction .uk-alert-danger { flex: 1; min-width: 0; margin: 0 !important; padding: 0 !important; background: transparent; color: inherit; font-size: 13px; }
.gc-item-page .gc-item-colour-options { margin: 8px 0 10px; }
.gc-item-page .gc-item-colour-options .product-preview { margin: 0; padding: 0; }
.gc-item-page .gc-item-colour-options .swatch { margin: 0; padding: 0; }
.gc-item-page .gc-item-colour-options .swatch p { margin: 0 0 4px !important; }
@media (min-width: 960px) {
    .gc-item-page .gc-item-layout { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 24px; margin-left: 0; }
    /* UIKit's clearfix pseudo-elements otherwise become extra CSS Grid cells. */
    .gc-item-page .gc-item-layout::before,
    .gc-item-page .gc-item-layout::after { content: none; display: none; }
    .gc-item-page .gc-item-layout > .gc-item-gallery-column { grid-column: 1; grid-row: 1; }
    .gc-item-page .gc-item-layout > .gc-item-info-column { grid-column: 2; grid-row: 1; }
    .gc-item-page .gc-item-layout > .gc-item-gallery-column,
    .gc-item-page .gc-item-layout > .gc-item-info-column { width: 100%; min-width: 0; padding-left: 0; margin-top: 0; }
    .gc-item-page .gc-item-details { margin-left: 0 !important; }
}
@media (max-width: 767px) {
    .gc-item-page .gc-item-info-column { margin-top: 10px; }
    .gc-item-page .gc-item-colour-options { margin: 8px 0; }
    .gc-item-page .gc-item-notice { padding: 8px 10px; }
}
