﻿/* Product detail page (PDP) styles - extracted from product.html. Theme-namespaced classes; no WooCommerce class/style dependency. */

  /* ============ Product detail layout ============ */
  .pdp {
    max-width: 1400px; margin: 0 auto; padding: 30px 24px 60px;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px;
  }
  .pdp-breadcrumb { font-size: 13px; letter-spacing: .4px; color: #8a8178; margin-bottom: 16px; }
  .pdp-breadcrumb a { color: #8a8178; transition: color .2s ease; }
  .pdp-breadcrumb a:hover { color: #c9a063; }
  .pdp-breadcrumb .sep { margin: 0 8px; color: #c9bfb2; }
  .pdp-breadcrumb .current { color: #2a241d; }

  /* ---- Gallery ---- */
  .gallery { position: sticky; top: 96px; align-self: start; }
  .gallery__stage {
    position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
    background: #f5f1ec; touch-action: pan-y;
  }
  .gallery__track { display: flex; height: 100%; transition: transform .45s cubic-bezier(.22,.61,.36,1); }
  .gallery__track.no-anim { transition: none; }
  .gallery__slide { flex: 0 0 100%; height: 100%; }
  .gallery__slide img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
  .gallery__arrow {
    position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px;
    border-radius: 50%; background: rgba(255, 255, 255, .85); border: 1px solid #e7ddcf; color: #2a241d;
    display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3;
    opacity: 0; transition: opacity .25s ease, background .2s ease;
  }
  .gallery__stage:hover .gallery__arrow { opacity: 1; }
  .gallery__arrow:hover { background: #fff; color: #c9a063; }
  .gallery__arrow svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
  .gallery__arrow.prev { left: 14px; }
  .gallery__arrow.next { right: 14px; }
  .gallery__counter {
    position: absolute; bottom: 12px; right: 12px; z-index: 3; background: rgba(0,0,0,.5);
    color: #fff; font-size: 12px; letter-spacing: .5px; padding: 4px 10px;
  }
  /* thumbnails: show 5, drag to scroll (no visible scrollbar) */
  .gallery__thumbs {
    display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    cursor: grab; -ms-overflow-style: none; scrollbar-width: none;
  }
  .gallery__thumbs::-webkit-scrollbar { display: none; }
  .gallery__thumbs.is-dragging { cursor: grabbing; }
  .gallery__thumb {
    flex: 0 0 calc((100% - 40px) / 5); aspect-ratio: 1 / 1; overflow: hidden; background: #f5f1ec;
    cursor: pointer; border: 2px solid transparent; transition: border-color .2s ease;
  }
  .gallery__thumb img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
  .gallery__thumb.is-active { border-color: #c9a063; }

  /* ---- Info column ---- */
  .stars {
    --rating: 5;
    --color: #f5b400;
    display: inline-block;
    font-size: 14px;
    font-family: Arial, sans-serif;
    line-height: 1;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--color) calc(var(--rating) * 20%), #d8d2c7 calc(var(--rating) * 20%));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .stars::before { content: "\2605\2605\2605\2605\2605"; }

  .pdp-title { font-size: 26px; font-weight: 600; line-height: 1.3; color: #2a241d; margin-bottom: 14px; }
  .pdp-rating { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #6b5f54; margin-bottom: 18px; }
  .pdp-rating .stars { font-size: 15px; }
  .pdp-rating a { color: #6b5f54; text-decoration: underline; text-underline-offset: 2px; }
  .pdp-rating a:hover { color: #c9a063; }
  .pdp-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
  .pdp-price .compare-at { color: #aaa; text-decoration: line-through; font-size: 16px; }
  .pdp-price .sale { color: #2a241d; font-weight: 700; font-size: 18px; }
  .pdp-price .save {
    font-size: 12px; font-weight: 600; letter-spacing: .5px; color: #fff;
    background: #c0392b; padding: 3px 8px; text-transform: uppercase;
  }
  .pdp-desc { font-size: 14.5px; line-height: 1.8; color: #5b5048; margin-bottom: 26px; }

  /* variants */
  .pdp-variant { margin-bottom: 22px; }
  .pdp-variant__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
  .pdp-variant__label { font-size: 13px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: #2a241d; }
  .pdp-variant__label span { color: #8a8178; font-weight: 400; margin-left: 6px; }
  .size-guide-link {
    display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #8a8178; cursor: pointer;
    background: none; border: none; font-family: inherit; transition: color .2s ease;
  }
  .size-guide-link:hover { color: #c9a063; }
  .size-guide-link svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.6; }
  .variant-opts { display: flex; flex-wrap: wrap; gap: 10px; }
  .variant-opt {
    min-width: 52px; padding: 11px 16px; border: 1px solid #d8cebd; background: #fff; cursor: pointer;
    font-family: inherit; font-size: 13.5px; color: #2a241d; transition: border-color .2s ease, color .2s ease, background .2s ease;
  }
  .variant-opt:hover { border-color: #c9a063; }
  .variant-opt.is-active { border-color: #2a241d; background: #2a241d; color: #fff; }

  /* quantity + actions */
  .pdp-actions { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
  .qty-row { display: flex; align-items: center; gap: 16px; }
  .qty-stepper { display: inline-flex; align-items: center; border: 1px solid #d8cebd; }
  .qty-stepper button {
    width: 38px; height: 38px; background: #fff; border: none; cursor: pointer; font-size: 16px;
    color: #2a241d; transition: background .15s ease;
  }
  .qty-stepper button:hover { background: #f7f1e9; }
  .qty-stepper input {
    width: 44px; height: 38px; text-align: center; border: none; border-left: 1px solid #ece4d6;
    border-right: 1px solid #ece4d6; font-family: inherit; font-size: 14px; color: #2a241d; outline: none;
  }
  .qty-label { font-size: 13px; letter-spacing: .6px; text-transform: uppercase; color: #8a8178; }
  /* add-to-cart + buy-now side by side, both bordered */
  .pdp-buttons { display: flex; gap: 12px; }
  .btn {
    flex: 1; display: block; text-align: center; padding: 14px 0; border: 1px solid #2a241d;
    font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase;
    cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease;
  }
  .btn--add { background: #fff; color: #2a241d; border-color: #2a241d; }
  .btn--add:hover { background: #2a241d; color: #fff; }
  .btn--buy { background: #2a241d; color: #fff; border-color: #2a241d; }
  .btn--buy:hover { background: #c9a063; border-color: #c9a063; }

  /* ============ Frequently bought together (in info column) ============ */
  .pdp-section { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
  .pdp-section__title {
    font-size: 18px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
    color: #2a241d; margin: 0 0 22px; padding-bottom: 14px; border-bottom: 1px solid #eee5d8;
  }
  .fbt-inline { margin-top: 30px; padding-top: 26px; border-top: 1px solid #eee5d8; }
  .fbt-inline__title {
    font-size: 15px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase;
    color: #2a241d; margin-bottom: 18px;
  }
  .fbt-row { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 10px; }
  .fbt-item { width: 124px; }
  .fbt-item__media { position: relative; width: 124px; height: 124px; }
  .fbt-item__check {
    position: absolute; top: 7px; left: 7px; width: 18px; height: 18px; z-index: 2;
    accent-color: #c9a063; cursor: pointer;
  }
  .fbt-item__img { width: 100%; height: 100%; overflow: hidden; background: #f5f1ec; }
  .fbt-item__img img { width: 100%; height: 100%; object-fit: cover; }
  .fbt-item__info { margin-top: 8px; }
  .fbt-item__name {
    font-size: 12px; line-height: 1.4; color: #2a241d;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .fbt-item__variant {
    width: 100%; margin-top: 7px; border: 1px solid #d8cebd; background: #fff; color: #2a241d;
    font-family: inherit; font-size: 12px; padding: 7px 24px 7px 9px; border-radius: 0; cursor: pointer;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235b5048' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 8px center;
  }
  .fbt-item__variant:focus { outline: none; border-color: #c9a063; }
  .fbt-item__price { font-size: 12.5px; color: #c0392b; font-weight: 600; margin-top: 7px; }
  /* plus is vertically centered on the image height */
  .fbt-plus {
    display: flex; align-items: center; justify-content: center; height: 124px;
    font-size: 22px; color: #b3a99c; font-weight: 300;
  }
  .fbt-summary {
    width: 100%; margin-top: 18px; display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px; padding-top: 16px; border-top: 1px dashed #e7ddcf;
  }
  .fbt-total { font-size: 14px; color: #2a241d; }
  .fbt-total strong { color: #c0392b; font-size: 18px; }
  .fbt-add {
    border: none; cursor: pointer; background: #2a241d; color: #fff; font-family: inherit;
    font-size: 12.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding: 13px 22px;
    transition: background .25s ease;
  }
  .fbt-add:hover { background: #c9a063; }

  /* FBT mobile: stack each item as a horizontal card, hide plus signs */
  @media (max-width: 560px) {
    .fbt-row { flex-direction: column; gap: 14px; }
    .fbt-plus { display: none; }
    .fbt-item { width: 100%; display: flex; gap: 12px; align-items: center; }
    .fbt-item__media { width: 84px; height: 84px; flex-shrink: 0; }
    .fbt-item__info { margin-top: 0; flex: 1; min-width: 0; }
  }

  /* ============ Content tabs ============ */
  .pdp-tabs { padding: 20px 0 60px; }
  .tabs-nav { display: flex; flex-wrap: wrap; gap: 28px; border-bottom: 1px solid #eee5d8; }
  .tab-btn {
    position: relative; background: transparent; border: none; cursor: pointer; font-family: inherit;
    font-size: 14px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: #8a8178;
    padding: 16px 0; transition: color .25s ease;
  }
  .tab-btn::after {
    content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: #c9a063;
    transform: scaleX(0); transform-origin: left center; transition: transform .3s cubic-bezier(.22,.61,.36,1);
  }
  .tab-btn.is-active { color: #2a241d; }
  .tab-btn.is-active::after { transform: scaleX(1); }
  .tab-panel { display: none; padding: 28px 0 0; font-size: 14.5px; line-height: 1.85; color: #5b5048; max-width: 900px; }
  .tab-panel.is-active { display: block; }
  .tab-panel h4 { font-size: 15px; color: #2a241d; margin: 18px 0 8px; }
  .tab-panel p { margin-bottom: 12px; }
  .tab-panel ul { list-style: disc; padding-left: 20px; margin-bottom: 12px; }
  .tab-panel li { margin-bottom: 6px; }

  /* ============ Reviews ============ */
  .pdp-reviews { padding: 20px 0 60px; background: #fafaf7; }
  .reviews-wrap { max-width: 1400px; margin: 0 auto; padding: 50px 24px; }

  /* top bar: left summary panel + right CTA */
  .reviews-top {
    display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
    background: #fff; border: 1px solid #ece4d6; padding: 28px 30px; margin-bottom: 34px;
  }
  .reviews-overview { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
  .reviews-score { text-align: center; flex-shrink: 0; }
  .reviews-score .num { font-size: 46px; font-weight: 700; color: #2a241d; line-height: 1; }
  .reviews-score .stars { font-size: 17px; margin-top: 8px; }
  .reviews-score .count { display: block; font-size: 12px; color: #8a8178; margin-top: 8px; }
  /* 1-5 star breakdown bars */
  .rating-bars { display: flex; flex-direction: column; gap: 7px; min-width: 240px; }
  .rating-bar { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #8a8178; }
  .rating-bar__label { width: 30px; text-align: right; color: #5b5048; }
  .rating-bar__label b { color: #f5b400; font-weight: 400; }
  .rating-bar__track { flex: 1; height: 8px; background: #ece4d6; overflow: hidden; }
  .rating-bar__fill { height: 100%; background: #f5b400; width: 0; transition: width .8s ease; }
  .rating-bar__num { width: 34px; text-align: right; }
  .reviews-cta {
    flex-shrink: 0; border: 1px solid #2a241d; background: #2a241d; color: #fff; cursor: pointer;
    font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
    padding: 14px 26px; transition: background .25s ease, color .25s ease;
  }
  .reviews-cta:hover { background: #c9a063; border-color: #c9a063; }

  /* masonry / waterfall of review cards */
  .reviews-masonry { column-count: 5; column-gap: 16px; }
  .rev-card {
    break-inside: avoid; background: #fff; border: 1px solid #ece4d6; margin-bottom: 16px;
    display: inline-block; width: 100%;
  }
  .rev-card__img { width: 100%; background: #f0ece5; overflow: hidden; }
  .rev-card__img img { width: 100%; height: auto; display: block; }
  .rev-card__body { padding: 14px 16px 18px; }
  .rev-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
  .rev-card__avatar {
    width: 34px; height: 34px; border-radius: 50%; background: #c9a063; color: #fff; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600;
  }
  .rev-card__name { font-size: 13px; font-weight: 600; color: #2a241d; line-height: 1.3; }
  .rev-card__date { font-size: 11px; color: #a89c8d; margin-top: 1px; }
  .rev-card__stars { font-size: 13px; margin-bottom: 8px; }
  .rev-card__text { font-size: 13px; line-height: 1.65; color: #5b5048; }

  @media (max-width: 1200px) { .reviews-masonry { column-count: 4; } }
  @media (max-width: 900px)  { .reviews-masonry { column-count: 3; } }
  @media (max-width: 640px)  {
    .reviews-masonry { column-count: 2; }
    .reviews-top { flex-direction: column; align-items: flex-start; gap: 22px; }
    .reviews-cta { width: 100%; }
  }
  @media (max-width: 400px)  { .reviews-masonry { column-count: 1; } }

  /* Add-review modal */
  .review-modal {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -46%);
    width: min(520px, calc(100vw - 40px)); max-height: 86vh; overflow-y: auto; background: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35); z-index: 110; padding: 32px 34px 34px;
    opacity: 0; visibility: hidden; transition: opacity .3s ease, transform .35s cubic-bezier(.22,.61,.36,1), visibility .3s ease;
  }
  .review-modal.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
  .review-modal__close {
    position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: none; background: transparent;
    cursor: pointer; color: #8a8178; display: flex; align-items: center; justify-content: center; border-radius: 50%;
    transition: background .2s ease, color .2s ease;
  }
  .review-modal__close:hover { background: #f3ede4; color: #2a241d; }
  .review-modal__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
  .review-modal h3 { font-size: 18px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #2a241d; margin-bottom: 20px; }
  .review-form { display: flex; flex-direction: column; gap: 16px; }
  .review-form label { display: block; font-size: 12px; letter-spacing: .6px; text-transform: uppercase; color: #8a8178; margin-bottom: 7px; }
  .review-form input, .review-form textarea {
    width: 100%; border: 1px solid #e2dcd2; border-radius: 0; padding: 12px 14px; font-family: inherit;
    font-size: 14px; color: #2a241d; outline: none; transition: border-color .2s ease; resize: vertical;
  }
  .review-form input:focus, .review-form textarea:focus { border-color: #c9a063; }
  /* interactive star picker */
  .star-picker { display: inline-flex; gap: 4px; font-size: 26px; line-height: 1; cursor: pointer; }
  .star-picker span { color: #d8d2c7; transition: color .15s ease; }
  .star-picker span.on { color: #f5b400; }
  .review-submit {
    margin-top: 4px; border: none; cursor: pointer; background: #2a241d; color: #fff; font-family: inherit;
    font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; padding: 15px 0;
    border-radius: 0; transition: background .25s ease;
  }
  .review-submit:hover { background: #c9a063; }

  /* ============ Recommendation / recently viewed carousels ============ */
  .rec-section { padding: 50px 0; }
  .rec-section:nth-of-type(even) { background: #fafaf7; }
  .rec-head {
    max-width: 1400px; margin: 0 auto 24px; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
  }
  .rec-head h2 { font-size: 20px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #2a241d; }
  .rec-arrows { display: flex; gap: 10px; }
  .rec-arrow {
    width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid #e2dcd2; color: #444;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, opacity .2s;
  }
  .rec-arrow:hover { background: #c9a063; color: #fff; border-color: #c9a063; }
  .rec-arrow:disabled { opacity: .35; cursor: not-allowed; }
  .rec-arrow svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
  .rec-viewport { max-width: 1400px; margin: 0 auto; padding: 0 24px; overflow: hidden; }
  .rec-track { display: flex; gap: 20px; transition: transform .55s cubic-bezier(.22,.61,.36,1); }
  .rec-card { flex: 0 0 calc((100% - 80px) / 5); text-align: center; color: #222; }
  .rec-card__media { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #f5f1ec; margin-bottom: 12px; }
  .rec-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,.61,.36,1); }
  .rec-card:hover .rec-card__media img { transform: scale(1.07); }
  .rec-card__title {
    font-size: 13.5px; line-height: 1.4; color: #2a241d; margin-bottom: 5px;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em;
  }
  .rec-card:hover .rec-card__title { color: #c9a063; }
  .rec-card__price { font-size: 13.5px; }
  .rec-card__price .compare-at { color: #aaa; text-decoration: line-through; margin-right: 6px; }
  .rec-card__price .sale { color: #c0392b; font-weight: 600; }

  /* ============ Size guide modal ============ */
  .size-modal {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -46%);
    width: min(560px, calc(100vw - 40px)); max-height: 80vh; overflow-y: auto; background: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35); z-index: 110; padding: 32px 34px 36px;
    opacity: 0; visibility: hidden; transition: opacity .3s ease, transform .35s cubic-bezier(.22,.61,.36,1), visibility .3s ease;
  }
  .size-modal.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
  .size-modal__close {
    position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: none; background: transparent;
    cursor: pointer; color: #8a8178; display: flex; align-items: center; justify-content: center; border-radius: 50%;
    transition: background .2s ease, color .2s ease;
  }
  .size-modal__close:hover { background: #f3ede4; color: #2a241d; }
  .size-modal__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
  .size-modal h3 { font-size: 18px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #2a241d; margin-bottom: 18px; }
  .size-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
  .size-table th, .size-table td { border: 1px solid #ece4d6; padding: 10px 12px; text-align: center; color: #5b5048; }
  .size-table th { background: #f7f1e9; color: #2a241d; font-weight: 600; }
  .size-modal p { font-size: 13px; color: #8a8178; line-height: 1.7; margin-top: 16px; }

  /* ============ Responsive ============ */
  @media (max-width: 900px) {
    .pdp { grid-template-columns: 1fr; gap: 32px; }
    .gallery { position: static; }
    .rec-card { flex: 0 0 calc((100% - 40px) / 3); }
    .fbt-summary { margin-left: 0; width: 100%; }
  }
  @media (max-width: 640px) {
    .pdp { padding: 20px 16px 50px; }
    .pdp-title { font-size: 21px; }
    .rec-card { flex: 0 0 calc((100% - 20px) / 2); }
    .pdp-section, .rec-head, .rec-viewport, .reviews-wrap { padding-left: 16px; padding-right: 16px; }
  }


  /* Out-of-stock / disabled variant option */
  .variant-opt.is-oos,
  .variant-opt:disabled {
    opacity: .4;
    cursor: not-allowed;
    text-decoration: line-through;
  }
  .variant-opt.is-oos:hover { border-color: #d8cebd; }

  /* Review form: custom photo uploader + inline status message */
  .review-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 22px 16px;
    border: 1.5px dashed #d8cebd;
    background: #faf7f2;
    border-radius: 0;
    cursor: pointer;
    text-align: center;
    transition: border-color .2s ease, background .2s ease;
  }
  .review-upload:hover { border-color: #c9a063; background: #f7f1e9; }
  .review-upload.is-dragover { border-color: #c9a063; background: #f3ead9; }
  .review-upload__icon { color: #c9a063; line-height: 0; }
  .review-upload__icon svg { width: 26px; height: 26px; }
  .review-upload__text { font-size: 13px; color: #5b5048; letter-spacing: .3px; text-transform: none; }
  .review-upload__hint { font-size: 11px; color: #a89c8d; text-transform: uppercase; letter-spacing: .6px; }

  .review-upload__preview {
    position: relative;
    display: inline-block;
    margin-top: 10px;
    width: 92px;
    height: 92px;
  }
  /* respect the hidden attribute (class display must not override it) */
  .review-upload__preview[hidden] { display: none; }
  .review-upload__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid #e7ddcf;
  }
  .review-upload__remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: #2a241d;
    color: #fff;
    font-size: 15px;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    transition: background .2s ease;
  }
  .review-upload__remove:hover { background: #c0392b; }

  .review-form__msg {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
  }


  /* Loading spinner state for action buttons */
  .btn.is-loading,
  .fbt-add.is-loading {
    color: transparent !important;
    position: relative;
    pointer-events: none;
  }
  .btn.is-loading::after,
  .fbt-add.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid rgba(255, 255, 255, .55);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ss-spin .6s linear infinite;
  }
  /* white-bg button needs a dark spinner */
  .btn--add.is-loading::after {
    border-color: rgba(42, 36, 29, .25);
    border-top-color: #2a241d;
  }
  @keyframes ss-spin { to { transform: rotate(360deg); } }


  /* FBT variant dropdown */
  .fbt-item__variant {
    width: 100%;
    margin: 6px 0;
    padding: 6px 8px;
    border: 1px solid #d8cebd;
    background: #fff;
    font-family: inherit;
    font-size: 12px;
    color: #2a241d;
    cursor: pointer;
  }
  .fbt-item__variant:focus { outline: none; border-color: #c9a063; }

  /* Size guide modal rich-text content (themed tables/lists) */
  .size-modal__content { font-size: 13px; color: #5b5048; line-height: 1.7; }
  .size-modal__content table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; }
  .size-modal__content th,
  .size-modal__content td { border: 1px solid #eee5d8; padding: 9px 12px; text-align: left; font-size: 13px; }
  .size-modal__content th { background: #faf7f2; color: #2a241d; font-weight: 600; }
  .size-modal__content p { margin: 8px 0; }
