/* ═══════════════════════════════════════════════════════════
   product.css — Product detail page styles
   Color palette: greys / white / black (ifarfor brand)
   ═══════════════════════════════════════════════════════════ */

/* ─── Page & Container ─────────────────────────────────────── */
body.product-page {
    margin: 0;
    padding: 0;
    padding-top: 78px;
    font-family: BlinkMacSystemFont, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: #555;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

.product-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ─── Breadcrumb ───────────────────────────────────────────── */
.product-breadcrumb {
    padding: 18px 0 12px;
    font-size: 0.82rem;
    color: #999;
}

.product-breadcrumb a {
    color: #767676;
    text-decoration: none;
    transition: color .2s;
}

.product-breadcrumb a:hover {
    color: #222;
}

.product-breadcrumb__sep {
    margin: 0 6px;
    color: #ccc;
}

.product-breadcrumb__current {
    color: #555;
}

/* ─── Main Layout (gallery + info) ─────────────────────────── */
.product-main {
    padding: 12px 0 48px;
}

.product-main__layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: start;
}

/* ─── Gallery (custom slider) ─────────────────────────────── */
.product-gallery {
    position: relative;
}

.product-gallery__main {
    position: relative;
    width: 100%;
    background: #fafafa;
    border-radius: 2px;
    user-select: none;
    -webkit-user-select: none;
}

.product-gallery__viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 73.333%; /* ~4:3 aspect */
}

.product-gallery__strip {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
}

.product-gallery__slide {
    float: left;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery__slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    cursor: grab;
    will-change: transform;
}

.product-gallery__slide img:active {
    cursor: grabbing;
}

/* Navigation arrows */
.product-gallery__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 36px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #555;
    background: rgba(255,255,255,0.6);
    text-decoration: none;
    font-family: 'Times New Roman', Times, serif;
    transition: background .2s, color .2s;
    border-radius: 2px;
}

.product-gallery__arrow:hover {
    background: rgba(255,255,255,0.9);
    color: #222;
}

.product-gallery__arrow--prev { left: 4px; }
.product-gallery__arrow--next { right: 4px; }

/* Zoom buttons */
.product-gallery__zoom {
    position: absolute;
    z-index: 3;
    right: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #555;
    background: rgba(255,255,255,0.6);
    text-decoration: none;
    font-family: 'Times New Roman', Times, serif;
    border-radius: 50%;
    transition: background .2s;
}

.product-gallery__zoom:hover {
    background: rgba(255,255,255,0.9);
}

.product-gallery__zoom--in { bottom: 56px; }
.product-gallery__zoom--out { bottom: 12px; }

/* Pagination dots */
.product-gallery__dots {
    display: none; /* shown on mobile */
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
}

.product-gallery__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background .2s;
}

.product-gallery__dot--active {
    background: #222;
}

/* Thumbs strip */
.product-gallery__thumbs {
    margin-top: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.product-gallery__thumb {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 2px;
    overflow: hidden;
    transition: opacity .2s, border-color .2s;
    box-sizing: border-box;
    flex-shrink: 0;
}

.product-gallery__thumb:hover {
    opacity: 0.8 !important;
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── Info Panel ───────────────────────────────────────────── */
.product-info {
    margin-top: -7px;
}

.product-info__title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: #222;
    line-height: 1.3;
    margin: 0 0 16px;
    letter-spacing: 0.01em;
}

.product-info__price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 4px;
}

.product-info__price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.02em;
}

.product-info__old-price {
    font-size: 0.95rem;
    color: #767676;
    text-decoration: line-through;
}

.product-info__discount {
    display: inline-block;
    background: #222;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 2px;
}

.product-info__form {
    font-family: Georgia;
    font-size: 1.4rem;
    color: #222;
    margin-bottom: 40px;
}

.product-info__site-price {
    font-size: 0.88rem;
    color: #555;
    margin-bottom: 20px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.product-info__site-price strong {
    color: #222;
}

.product-info__site-discount {
    display: inline-block;
    background: #f0f0f0;
    color: #222;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 2px;
    margin-left: 4px;
}

.product-info__site-price-sample {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0 20px;
    padding: 2px 0 16px;
    border-bottom: 1px solid #eee;
}

.product-info__site-price-sample-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 0px;
}

.product-info__site-price-sample-card--best {
    border-color: #222;
}

.product-info__site-price-sample-label {
    font-size: 0.72rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #717171;
}

.product-info__site-price-sample-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.product-info__site-price-sample-old {
    font-size: 0.95rem;
    line-height: 1;
    color: #222;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    text-decoration-color: #222;
}

.product-info__site-price-sample-new {
    font-size: 1.3rem;
    line-height: 1;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.01em;
}

.product-info__site-price-sample-new--primary {
    font-size: 1.8rem;
    font-weight: 700;
}

.product-info__site-price-sample-save {
    font-size: 0.82rem;
    line-height: 1.2;
    color: #555;
}

.product-info__site-price-sample-save strong {
    color: #222;
    font-weight: 700;
}

.product-info__bundle {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 16px;
    padding: 12px 0;
}

.product-info__bundle strong {
    color: #222;
    display: block;
    margin-bottom: 4px;
}

.product-info__no-stock-note {
    font-size: 0.88rem;
    color: #999;
    margin-bottom: 16px;
}

.product-info__links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.product-info__links a {
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    color: #555;
    text-decoration: underline;
    text-decoration-color: #ccc;
    transition: color .2s;
}

.product-info__links a:hover {
    color: #222;
    text-decoration-color: #222;
}

.product-info__article {
    font-size: 0.78rem;
    color: #767676;
    margin-top: 12px;
}

/* Legend block in description */
.product-legend {
    background: #fafaf0;
    padding: 20px;
    margin: 24px 0;
    border-left: 3px solid #ddd;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Variant selector */
.product-info__variant {
    margin-bottom: 24px;
}

.product-info__variant-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}

.product-info__variant-select {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
    transition: border-color .2s;
    box-sizing: border-box;
}

.product-info__variant-select:focus {
    outline: none;
    border-color: #222;
}

/* Description snippet */
.product-info__desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #555;
    margin-bottom: 20px;
}

.product-info__dims {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 20px;
}

/* Stock */
.product-info__stock {
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.product-info__stock--available {
    color: #2a7d2a;
}

.product-info__stock--unavailable {
    color: #b44;
}

/* Actions row: qty + cart button */
.product-info__actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: stretch;
}

.product-info__qty {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #ddd;
    flex-shrink: 0;
}

.product-info__qty-btn {
    width: 42px;
    background: #fff;
    border: none;
    font-size: 1.1rem;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
    user-select: none;
}

.product-info__qty-btn:hover {
    background: #f0f0f0;
}

.product-info__qty-input {
    width: 44px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-family: inherit;
    font-size: 0.9rem;
    color: #222;
    -moz-appearance: textfield;
    outline: none;
}

.product-info__qty-input::-webkit-outer-spin-button,
.product-info__qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-info__cart-btn {
    flex: 1;
    height: 48px;
    background: #222;
    color: #fff;
    border: none;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s;
}

.product-info__cart-btn:hover {
    background: #000;
}

.product-info__cart-btn--added {
    background: #2a7d2a;
}

.product-info__cart-btn--added:hover {
    background: #1f6320;
}

.product-info__cart-btn--in-cart {
    background: #fff;
    color: #222;
    border: 1px solid #222;
}

.product-info__cart-btn--in-cart:hover {
    background: #222;
    color: #fff;
}

.product-info__in-cart-notice {
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #2a7d2a;
    margin: 4px 0;
}
.product-info__in-cart-notice:not([hidden]) {
    display: flex;
}

/* Wishlist */
.product-info__wishlist {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.82rem;
    color: #717171;
    cursor: pointer;
    padding: 8px 0;
    transition: color .2s;
}

.product-info__wishlist:hover {
    color: #222;
}

.product-info__wishlist svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.product-info__wishlist--active svg {
    fill: #b44;
    stroke: #b44;
}

.product-info__wishlist--active {
    color: #b44;
}

/* ─── Tabs ─────────────────────────────────────────────────── */
.product-tabs {
    border-top: 1px solid #eee;
    padding: 0 0 48px;
}

.product-tabs__nav {
    display: flex;
    gap: 32px;
    border-bottom: 1px solid #ddd;
}

.product-tabs__btn {
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #767676;
    padding: 18px 0;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: color .2s;
}

.product-tabs__btn:hover {
    color: #555;
}

.product-tabs__btn--active {
    color: #222;
}

.product-tabs__btn--active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: #222;
}

.product-tabs__panel {
    padding: 32px 0;
    font-size: 0.92rem;
    line-height: 1.75;
    color: #555;
    max-width: 860px;
}

/* JS adds .product-tabs--ready after init — hides inactive panels */
.product-tabs--ready .product-tabs__panel {
    display: none;
}

.product-tabs--ready .product-tabs__panel--active {
    display: block;
}

.product-tabs__panel h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.35rem;
    font-weight: 400;
    color: #222;
    margin: 0 0 16px;
}

.product-tabs__panel h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.65rem;
    font-weight: 400;
    color: #222;
    margin: 40px 0 12px;
    text-align: center;
}

.product-tabs__panel h4 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: #222;
    margin: 28px 0 8px;
    text-align: center;
}

.product-tabs__panel p {
    margin: 0 0 14px;
}

/* Care guide section */
.product-care {
    background: #f8f8f8;
    padding: 40px 32px;
    margin: 32px 0;
    text-align: center;
    max-width: 100%;
}

.product-care h3 {
    margin-top: 0;
}

.product-care p {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Brand partner section */
.product-brand-block {
    border: 1px solid #eee;
    padding: 32px;
    margin: 32px 0;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.product-brand-block__logo {
    flex-shrink: 0;
    width: 80px;
}

.product-brand-block__logo img {
    width: 100%;
    height: auto;
    display: block;
}

.product-brand-block__text {
    flex: 1;
}

.product-brand-block__text h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #222;
    margin: 0 0 12px;
}

.product-brand-block__text p,
.product-brand-block__text div {
    margin: 0 0 10px;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #555;
}

/* ─── Newsletter ───────────────────────────────────────────── */
.product-newsletter {
    background: #f5f5f5;
    padding: 56px 0;
    text-align: center;
}

.product-newsletter__title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #222;
    margin: 0 0 10px;
}

.product-newsletter__sub {
    font-size: 0.88rem;
    color: #666;
    margin: 0 0 24px;
}

.product-newsletter__form {
    display: flex;
    max-width: 440px;
    margin: 0 auto;
}

.product-newsletter__input {
    flex: 1;
    height: 46px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.88rem;
    color: #333;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 0;
    outline: none;
    background: #fff;
    box-sizing: border-box;
}

.product-newsletter__input:focus {
    border-color: #222;
}

.product-newsletter__submit {
    height: 46px;
    padding: 0 24px;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    background: #222;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}

.product-newsletter__submit:hover {
    background: #000;
}

/* ─── Related Products ─────────────────────────────────────── */
.product-related {
    padding: 48px 0;
}

.product-related__title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #222;
    margin: 0 0 24px;
}

.product-related__slider {
    overflow: hidden;
}

.product-related__scroll {
    overflow: hidden;
    position: relative;
    padding-bottom: 4px;
}

.product-related__item {
    flex: 0 0 220px;
    min-width: 0;
}

.product-related__card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-related__card-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    background: #f5f5f5;
    border-radius: 2px;
}

.product-related__card-name {
    font-size: 0.82rem;
    color: #333;
    margin: 10px 0 4px;
    line-height: 1.4;
}

.product-related__card-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: #222;
}

/* ─── Reviews ──────────────────────────────────────────────── */
.rv-empty {
    color: #999;
    font-size: 0.9rem;
    padding: 16px 0;
}

.rv-related-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
    margin-top: 24px;
    margin-bottom: 16px;
}

.rv-item {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.rv-item--admin .rv-item__avatar {
    background: #222;
}

.rv-item__header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.rv-item__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #bbb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

.rv-item__meta {
    flex: 1;
    min-width: 0;
}

.rv-item__name {
    font-weight: 500;
    color: #222;
    font-size: 0.9rem;
}

.rv-item__role {
    font-size: 0.78rem;
    color: #999;
}

.rv-item__like {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    flex-shrink: 0;
    padding: 4px;
}

.rv-item__like-icon {
    font-size: 1rem;
    color: #ccc;
    transition: color .2s;
}

.rv-item__like-icon--active {
    color: #e74c3c;
}

.rv-item__like:hover .rv-item__like-icon {
    color: #e74c3c;
}

.rv-item__like-count {
    font-size: 0.78rem;
    color: #999;
}

.rv-stars {
    display: flex;
    gap: 2px;
    padding: 6px 0 4px;
}

.rv-star {
    font-size: 1rem;
    color: #ddd;
    line-height: 1;
}

.rv-star--filled {
    color: #222;
}

.rv-stars--input .rv-star {
    cursor: pointer;
    font-size: 1.2rem;
    transition: color .15s;
}

.rv-stars--input .rv-star:hover {
    color: #555;
}

.rv-item__text {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
    padding: 6px 0 8px;
    white-space: pre-wrap;
}

.rv-item__footer {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.78rem;
}

.rv-item__date {
    color: #999;
}

.rv-item__reply-btn {
    color: #555;
    text-decoration: none;
    font-weight: 500;
}

.rv-item__reply-btn:hover {
    color: #222;
    text-decoration: underline;
}

.rv-replies {
    padding-left: 24px;
    border-left: 2px solid #f0f0f0;
    margin-top: 4px;
}

.rv-replies .rv-item {
    padding: 12px 0;
}

/* Review form */
.rv-form {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 8px;
}

.rv-reply-form-slot .rv-form {
    border-bottom: none;
    padding: 12px 0 4px;
}

.rv-form__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
}

.rv-form__stars-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.rv-form__label {
    font-size: 0.85rem;
    color: #777;
}

.rv-form__name,
.rv-form__text {
    display: block;
    width: 100%;
    max-width: 480px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.88rem;
    font-family: inherit;
    color: #333;
    background: #fafafa;
    box-sizing: border-box;
    margin-bottom: 8px;
    transition: border-color .2s;
}

.rv-form__name:focus,
.rv-form__text:focus {
    outline: none;
    border-color: #999;
    background: #fff;
}

.rv-form__text {
    resize: vertical;
    min-height: 60px;
}

.rv-form__submit {
    display: inline-block;
    padding: 8px 24px;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    transition: background .2s;
}

.rv-form__submit:hover {
    background: #444;
}

.rv-form__submit:disabled {
    background: #999;
    cursor: default;
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 899px) {
    body.product-page {
        padding-top: 60px;
    }

    .product-wrap {
        padding: 0 16px;
    }

    .product-main__layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-gallery {
        margin-left: -16px;
        margin-right: -16px;
    }

    .product-gallery__thumbs {
        display: grid !important;
        gap: 4px;
        margin-top: 8px;
        padding: 0 16px;
        grid-template-columns: repeat(4, 1fr);
    }

    .product-gallery__thumbs[data-count="1"] {
        display: none !important;
    }

    .product-gallery__thumbs[data-count="5"] {
        grid-template-columns: repeat(5, 1fr);
    }

    .product-gallery__thumbs[data-count="9"],
    .product-gallery__thumbs[data-count="10"] {
        grid-template-columns: repeat(5, 1fr);
    }

    .product-gallery__thumbs .product-gallery__thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .product-gallery__dots {
        display: none;
    }

    .product-gallery__arrow {
        width: 28px;
        height: 44px;
        font-size: 1.5rem;
    }

    .product-related__item {
        flex: 0 0 160px;
    }

    .product-info {
        margin-top: 0;
        padding-top: 4px;
    }

    .product-info__title {
        font-size: 1.35rem;
    }

    .product-tabs__nav {
        gap: 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .product-tabs__nav::-webkit-scrollbar {
        display: none;
    }

    .product-tabs__btn {
        font-size: 0.7rem;
        padding: 14px 0;
    }

    .product-tabs__panel {
        padding: 24px 0;
    }

    .product-care {
        padding: 28px 20px;
    }

    .product-brand-block {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-newsletter {
        padding: 40px 0;
    }

    .product-newsletter__form {
        flex-direction: column;
        gap: 8px;
        padding: 0 16px;
    }

    .product-newsletter__input {
        border-right: 1px solid #ddd;
    }

    .product-newsletter__submit {
        height: 44px;
    }

    .product-info__price {
        font-size: 1.4rem;
    }

    .product-info__old-price {
        font-size: 1.05rem;
    }

    .product-info__site-price-sample-label {
        font-size: 0.8rem;
    }

    .product-info__site-price-sample-new {
        font-size: 1.4rem;
    }

    .product-info__site-price-sample-new--primary {
        font-size: 1.9rem;
    }

    .product-info__site-price-sample-old {
        font-size: 1.05rem;
    }

    .product-info__site-price-sample-save {
        font-size: 0.92rem;
    }

    .product-related__title {
        font-size: 1.1rem;
    }

}

/* ─── Scroll to top button ─────────────────────────────────── */
.product-scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: opacity .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.product-scroll-top--visible {
    display: flex;
}

.product-scroll-top svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
}

/* ─── Additional info tab table ────────────────────────────── */
.product-specs {
    width: 100%;
    border-collapse: collapse;
}

.product-specs tr {
    border-bottom: 1px solid #eee;
}

.product-specs td {
    padding: 10px 0;
    font-size: 0.88rem;
    vertical-align: top;
}

.product-specs td:first-child {
    color: #767676;
    width: 180px;
    padding-right: 24px;
}

.product-specs td:last-child {
    color: #333;
}

/* ─── Mobile bottom bar ────────────────────────────────────── */
.product-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: #222;
    padding: 10px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 -2px 10px rgba(0,0,0,.15);
}

.product-mobile-bar__price {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    white-space: nowrap;
}

.product-mobile-bar__btn {
    flex: 1;
    height: 40px;
    background: #fff;
    color: #222;
    border: none;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity .2s;
}

.product-mobile-bar__btn:active {
    opacity: 0.7;
}

@media (max-width: 899px) {
    .product-mobile-bar {
        display: flex;
    }

    body.product-page {
        padding-bottom: 64px;
    }

    .product-scroll-top {
        bottom: 72px;
    }
}

/* ─── Fullscreen lightbox ─────────────────────────────────── */
.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s;
}

.product-lightbox--visible {
    opacity: 1;
}

.product-lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
    opacity: 0.7;
    transition: opacity .2s;
}

.product-lightbox__close:hover {
    opacity: 1;
}

/* ─── Description tab rich content ─────────────────────────── */
.product-tabs__desc-content {
    font-size: 0.92rem;
    line-height: 1.75;
    color: #555;
}

.product-tabs__desc-content img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    body.product-page {
        padding-top: 44px;
    }
}
