/* RJ Motorbike storefront styles for the catalogue, product, cart and content pages.
   The landing page and site shell are styled by theme.css, which loads after this
   file. Tokens (colours, fonts) are shared and live in theme.css.

   Everything here uses the same r- design system as the landing page: near-black
   ink (#17120f) on white, hairline borders, cool grey surfaces and Proxima Nova. */

/* ---------- Compatibility with the inherited core templates ----------
   The core pages (about, contact, checkout, account, auth) keep their own
   markup, so the theme neutralises the base palette and points the brand
   colour at the accent. */
.rj-storefront :focus-visible {outline:2px solid var(--rj-accent);outline-offset:2px;}
.rj-storefront h1:not(.rj-display):not(.rj-title):not(.rj-hero__title),
.rj-storefront h2:not(.rj-display):not(.rj-title):not(.rj-hero__title),
.rj-storefront h3,.rj-storefront h4,
.rj-storefront .font-heading,.rj-storefront .font-sans {font-family:'Proxima Nova',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;}
.rj-storefront {--color-primary-300:#17120f;--color-primary-400:#17120f;--color-primary-500:#17120f;--color-primary-600:#17120f;--color-primary-700:#17120f;}
.rj-storefront .focus\:ring-primary-300:focus {--tw-ring-color:rgb(194 155 83/var(--tw-ring-opacity,1));}
.rj-storefront .focus\:border-primary-400:focus {border-color:#000;}
.rj-storefront .focus\:border-primary-300:focus {border-color:#17120f;}
.rj-storefront [class*="text-espresso"],.rj-storefront [class*="text-primary"] {color:#000;}
.rj-storefront [class*="bg-cream"] {background-color:#f5f5f5;}
.rj-storefront [class*="border-cream"] {border-color:var(--rj-line);}
.rj-storefront [class*="rounded-"],.rj-storefront .product-card {border-radius:0;}
.rj-storefront .btn-primary,.rj-storefront .btn-gold {background:#17120f;color:#fff;border-radius:100px;box-shadow:none;font-family:'Proxima Nova',Helvetica,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;font-weight:700;font-size:13px;}
.rj-storefront .btn-secondary {background:#fff;color:#17120f;border:1px solid #17120f;border-radius:100px;font-family:'Proxima Nova',Helvetica,Arial,sans-serif;}
.rj-storefront .input-luxury {border:1px solid var(--rj-line);border-radius:0;background:#fff;color:#17120f;}
.rj-storefront .input-luxury:focus {border-color:#17120f;box-shadow:none;outline:none;--tw-ring-color:transparent;--tw-ring-shadow:0 0 #0000;}
.rj-storefront .gold-line {background:#000;}
.rj-storefront .product-card {box-shadow:none;transform:none;background:#fff;}
.rj-storefront .product-card:hover {box-shadow:none;transform:none;}
.rj-storefront .product-price {color:#000;}
.rj-storefront .product-price del {font-size:11px;color:#666;margin-right:5px;}
.rj-storefront .product-card .product-info h3 {text-transform:none;}
.rj-storefront .product-card .product-info p {color:var(--rj-muted);}
.rj-storefront .product-tabs button {color:var(--rj-muted);}
.rj-storefront .product-tabs button.active {color:#000;}
.rj-storefront .section-title {color:#000;font-weight:700;}
.rj-storefront .originals-footnote {color:var(--rj-muted);}
.rj-brand {width:82px;margin-bottom:10px;}
.rj-brand img {max-height:52px;width:82px;object-fit:contain;}
.rj-monogram {display:inline-flex;font-size:39px;font-weight:900;line-height:.8;letter-spacing:-2px;white-space:nowrap;}
.rj-storefront .hero h1 {max-width:550px;}
.rj-storefront .hero p {max-width:360px;}
.rj-storefront .hero picture {display:contents;}
.rj-ordering-notice {padding:8px 20px;text-align:center;background:#f3f3f3;color:#17120f;font-size:12px;}
.rj-flash {padding:16px 24px;background:#f3f3f3;border-bottom:1px solid var(--rj-line);}
.rj-flash ul {padding-left:20px;list-style:disc;}
.rj-error {background:rgba(235,87,87,.08);color:#eb5757;}

/* Semantic states that used to be yellow now read as the brand ink. */
.rj-storefront .text-yellow-500,.rj-storefront .text-yellow-600,.rj-storefront .text-yellow-700 {color:#17120f;}
.rj-storefront .bg-yellow-50,.rj-storefront .bg-yellow-100 {background-color:#f3f3f3;}
.rj-storefront .border-yellow-250,.rj-storefront .border-yellow-300 {border-color:#17120f;}
.rj-storefront .text-yellow-850 {color:#17120f;}

/* ---------- Shared page furniture ---------- */
.rj-breadcrumb {display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding-top:24px;font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--rj-muted);}
.rj-breadcrumb a {color:var(--rj-muted);transition:color .2s var(--rj-ease);}
.rj-breadcrumb a:hover {color:var(--rj-ink);}
.rj-breadcrumb span[aria-current="page"] {color:var(--rj-ink);}

/* Compact catalogue head in the sportswear-store manner: one breadcrumb, one
   title line with the count, one category row, one toolbar row — then goods. */
.rj-catalog__head {display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:16px 32px;margin-top:24px;margin-bottom:28px;}
.rj-catalog__title {font-family:'Proxima Nova',Helvetica,Arial,sans-serif;font-size:24px;font-weight:800;letter-spacing:.04em;line-height:1.15;text-transform:uppercase;}
.rj-catalog__count {font-family:'Proxima Nova',Helvetica,Arial,sans-serif;font-size:13px;font-weight:400;letter-spacing:.02em;color:var(--rj-muted);text-transform:none;}
.rj-catalog__lede {margin-top:6px;max-width:640px;font-size:12.5px;line-height:1.6;color:var(--rj-muted);display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;}
.rj-page-head {padding:34px 0 0;}
.rj-page-head__title {margin-top:14px;}
.rj-page-head__count {color:var(--rj-muted);font-weight:400;}
.rj-page-head .rj-lede {margin-top:16px;}

/* ---------- Catalogue: shop, category and search ---------- */
.rj-catalog {padding-bottom:20px;}
.rj-catalog__search {display:flex;gap:12px;max-width:420px;min-width:280px;flex:1;}
.rj-catalog__search input {flex:1;min-width:0;height:48px;padding:0 16px;border:1px solid var(--rj-line);background:#fff;font-size:13px;color:#000;}
.rj-catalog__search input:focus {outline:none;border-color:var(--rj-ink);}
.rj-catalog__toolbar {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:16px 0;border-top:1px solid var(--rj-line);border-bottom:1px solid var(--rj-line);}
.rj-catalog__meta {font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--rj-muted);}
.rj-catalog__tools {display:flex;align-items:center;flex-wrap:wrap;gap:16px;}
.rj-field {display:inline-flex;align-items:center;gap:10px;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--rj-muted);}
.rj-field select {border:1px solid var(--rj-line);background:#fff;padding:10px 12px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--rj-ink);cursor:pointer;}
.rj-field select:focus {outline:none;border-color:var(--rj-ink);}
.rj-catalog__applied {display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:12px 0;border-top:none;border-bottom:1px solid var(--rj-line-soft);font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--rj-muted);}
.rj-catalog__applied a {color:var(--rj-ink);border-bottom:1px solid currentColor;}

/* Unified luxury floating filter dropdowns */
.rj-filter-toolbar {display:flex;align-items:center;gap:10px;margin:0;}
.rj-filter-toolbar__group {display:flex;align-items:center;gap:10px;background:transparent;border:none;padding:0;}
.rj-filter-dropdown {position:relative;display:inline-block;}
.rj-filter-pill {
    display:inline-flex;
    align-items:center;
    gap:6px;
    height:38px;
    padding:0 16px;
    border:1px solid var(--rj-line, #e2e2e2);
    border-radius:999px;
    background:#ffffff;
    color:var(--rj-ink, #111);
    font-size:12px;
    font-weight:600;
    cursor:pointer;
    white-space:nowrap;
    outline:none !important;
    transition:border-color .2s var(--rj-ease),box-shadow .2s var(--rj-ease),background .2s;
}
.rj-filter-pill:hover,
.rj-filter-pill[aria-expanded="true"] {
    border-color:var(--rj-ink, #111);
}
.rj-filter-pill[aria-expanded="true"] {
    box-shadow:0 2px 10px rgba(0,0,0,0.06);
}
.rj-filter-pill__label {
    font-size:11px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--rj-muted, #767676);
}
.rj-filter-pill__value {
    color:var(--rj-ink, #111);
    font-weight:700;
}
.rj-filter-pill .icon-chevron {
    width:10px;
    height:10px;
    color:var(--rj-muted, #767676);
    margin-left:2px;
    transition:transform .2s var(--rj-ease);
}
.rj-filter-pill .icon-chevron.is-flipped {
    transform:rotate(180deg);
}
.rj-filter-pill.is-filtered {
    background:#f3f3f3;
    border-color:var(--rj-ink, #17120f);
}
.rj-filter-pill.is-filtered .rj-filter-pill__label,
.rj-filter-pill.is-filtered .rj-filter-pill__value {
    color:#17120f;
}
.rj-filter-dropdown__menu {
    position:absolute;
    top:calc(100% + 8px);
    left:0;
    min-width:190px;
    max-height:300px;
    overflow-y:auto;
    background:#ffffff;
    border:1px solid var(--rj-line);
    border-radius:0;
    box-shadow:0 16px 36px -10px rgba(0,0,0,.15), 0 4px 12px -2px rgba(0,0,0,.05);
    padding:6px;
    z-index:60;
    scrollbar-width:thin;
}
.rj-filter-dropdown__item {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    width:100%;
    padding:9px 12px;
    background:transparent;
    border:none;
    border-radius:0;
    font-size:12.5px;
    font-weight:500;
    color:var(--rj-ink, #111);
    text-align:left;
    cursor:pointer;
    transition:background .15s, color .15s;
}
.rj-filter-dropdown__item:hover {
    background:var(--rj-surface, #f5f5f5);
    color:#000;
}
.rj-filter-dropdown__item.is-active {
    font-weight:700;
    color:#17120f;
    background:#f3f3f3;
}
.rj-filter-dropdown__item .icon-check {
    width:14px;
    height:14px;
    color:#17120f;
    flex-shrink:0;
}
.rj-filter-dialog-btn {
    height:38px;
    display:inline-flex;
    align-items:center;
    gap:8px;
    border-radius:999px;
    font-size:11px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}

/* Catalogue grid runs three across with the reference card so the
   photography carries the browse experience. */
.rj-catalog .rj-grid,
.rj-catalog__grid.rj-grid,
.rj-catalog__grid {padding-bottom:8px;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:36px 26px;}

/* Ultra-wide monitors: a fourth column keeps tiles at laptop proportions. */
@media(min-width:1920px) {
    .rj-catalog__grid.rj-grid,
    .rj-catalog__grid {grid-template-columns:repeat(4,minmax(0,1fr)) !important;}
}
.rj-catalog__grid .rj-card {height:100%;}
.rj-catalog__grid .rj-card__body {min-height:120px;}

/* Catalogue shell: tree rail on the left, goods on the right. Slimmer and streamlined. */
.rj-catalog__layout {display:grid;grid-template-columns:270px minmax(0,1fr);gap:32px;align-items:start;}
.rj-catalog__rail {position:sticky;top:122px;}
.rj-rail {padding:26px 18px 20px;background:#fff;border:1px solid var(--rj-line);border-radius:0;}
.rj-rail__title {margin:0 6px 16px;font-size:22px;font-weight:700;letter-spacing:-.01em;}
.rj-rail__title a {color:inherit;}
.rj-rail__title a:hover {color:var(--rj-accent-deep);}
.rj-rail__group {border-radius:0;}
.rj-rail__group summary {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 8px;border:1px solid transparent;border-radius:0;cursor:pointer;list-style:none;transition:border-color .2s var(--rj-ease),background .2s var(--rj-ease);}
.rj-rail__group summary::-webkit-details-marker {display:none;}
/* While a row is open it takes the accent frame, the + becomes a −. */
.rj-rail__group[open] > summary {border-color:var(--rj-accent);background:#fff;}
.rj-rail__group summary > a {font-size:14.5px;font-weight:600;color:var(--rj-ink);transition:color .2s var(--rj-ease);}
.rj-rail__group summary > a:hover {color:var(--rj-muted);}
.rj-rail__group summary > a.is-current {color:var(--rj-accent-deep);}
.rj-rail__toggle {display:inline-flex;flex-shrink:0;}
.rj-rail__toggle .icon {width:15px;height:15px;color:var(--rj-muted);}
.rj-rail__minus {display:none;}
.rj-rail__group[open] .rj-rail__minus {display:block;}
.rj-rail__group[open] .rj-rail__plus {display:none;}
.rj-rail__links {display:flex;flex-direction:column;gap:3px;padding:6px 2px 10px;}
.rj-rail__link {display:flex;align-items:center;align-self:stretch;padding:10px 14px;border-left:3px solid transparent;border-radius:0;font-size:14.5px;line-height:1.45;color:var(--rj-muted);transition:all .2s var(--rj-ease);}
.rj-rail__link:hover {color:var(--rj-ink);background:#f3f3f3;}
/* The leaf the shopper is on lifts onto a soft grey card with an ink spine. */
.rj-rail__link.is-active {background:#f3f3f3;color:var(--rj-ink);font-weight:700;border-left:3px solid #17120f;box-shadow:none;}
.rj-rail__link--deep {padding-left:26px;font-size:13px;}
/* Second level folds into its own quiet row — a sidebar shows one unfolding
   level at a time, never a flat dump of every leaf. */
.rj-rail__group--nested {margin-left:6px;}
.rj-rail__group--nested summary {padding:8px 8px;}
.rj-rail__group--nested summary > a {font-size:13.5px;font-weight:500;}
.rj-rail__group--nested .rj-rail__toggle .icon {width:12px;height:12px;}
.rj-rail__group--nested[open] > summary {border-color:var(--rj-line);background:#fff;}
.rj-rail__group--nested .rj-rail__links {padding:4px 0 8px;}
/* Long folds stay out of the sidebar until asked for. */
.rj-rail__more summary {display:inline-flex;align-items:center;gap:6px;padding:8px 2px 10px;cursor:pointer;list-style:none;font-size:12px;font-weight:700;color:var(--rj-muted);}
.rj-rail__more summary::-webkit-details-marker {display:none;}
.rj-rail__more summary:hover {color:var(--rj-ink);}
.rj-rail__more summary .icon {width:12px;height:12px;transition:transform .25s var(--rj-ease);}
.rj-rail__more[open] summary .icon {transform:rotate(45deg);}
.rj-rail__more .rj-rail__links {padding:0 0 4px;}
.rj-rail__nav > .rj-rail__link:first-child {margin:0 0 8px 0;padding-left:18px;}
.rj-catalog__end {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;padding:26px 0;border-top:1px solid var(--rj-line-soft);font-size:12px;color:var(--rj-muted);}
.rj-catalog__editorial {border-top:1px solid var(--rj-line-soft);}
.rj-catalog__editorial .rj-split {border:0;}
.rj-catalog__editorial .rj-split__copy {padding:44px 0 44px 48px;}
.rj-accordion {border-top:1px solid var(--rj-line);}
.rj-accordion details {border-bottom:1px solid var(--rj-line-soft);}
.rj-accordion summary {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;cursor:pointer;list-style:none;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;}
.rj-accordion summary::-webkit-details-marker {display:none;}
.rj-accordion summary .icon {width:16px;height:16px;transition:transform .2s var(--rj-ease);}
.rj-accordion details[open] summary .icon {transform:rotate(45deg);}
.rj-accordion .accordion-content {padding-bottom:20px;}
.rj-accordion .accordion-content > p {padding-bottom:0;font-size:13px;line-height:1.8;color:var(--rj-muted);}
.rj-accordion .accordion-content a {color:var(--rj-ink);border-bottom:1px solid currentColor;}

/* ---------- Pagination ---------- */
.rj-pagination {display:flex;justify-content:center;flex-wrap:wrap;gap:8px;padding:40px 0 8px;}
.rj-pagination a,.rj-pagination span {display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 12px;border:1px solid var(--rj-line);font-size:12px;font-weight:700;color:var(--rj-ink);transition:border-color .2s var(--rj-ease),background .2s var(--rj-ease),color .2s var(--rj-ease);}
.rj-pagination a:hover {border-color:var(--rj-ink);}
.rj-pagination .is-current {background:var(--rj-ink);border-color:var(--rj-ink);color:#fff;}
.rj-pagination .is-disabled {opacity:.35;pointer-events:none;}

/* ---------- Catalogue categories ---------- */
.rj-catalog__subnav {display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:20px;padding:10px 0;border-top:1px solid var(--rj-line-soft);border-bottom:1px solid var(--rj-line-soft);}
.rj-catalog__subnav a {font-size:12px;letter-spacing:.02em;color:var(--rj-muted);transition:color .2s var(--rj-ease);}
.rj-catalog__subnav a:hover, .rj-catalog__subnav a.is-active {color:var(--rj-ink);}
.rj-catalog__subnav a.is-active {border-bottom:1px solid var(--rj-accent);}

/* ---------- Product page ---------- */
.rj-product {padding-bottom:80px;}
.rj-product__layout {display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);gap:64px;margin-top:26px;}
/* Ultra-wide monitors: the buy column keeps a fixed ceiling so the form does
   not stretch across half the viewport, and the gallery takes the slack. */
@media(min-width:1800px) {
    .rj-product__layout {grid-template-columns:minmax(0,1fr) minmax(360px,560px);gap:88px;}
}
.rj-gallery {position:sticky;top:110px;display:grid;gap:14px;}
/* Gallery in the configurator's manner: one large framed image, working
   chevrons on its shoulders, small square views beneath. */
.rj-gallery__frame {position:relative;display:block;}
.rj-gallery__stage {position:relative;display:block;aspect-ratio:4/5;width:100%;overflow:hidden;padding:0;background:#fff;border:1px solid var(--rj-line-soft);cursor:zoom-in;}
/* With several views the stage runs square: the shorter frame keeps the
   purchase column in view alongside it. */
.rj-gallery--multi .rj-gallery__stage {aspect-ratio:1/1;}
.rj-gallery__stage img {width:100%;height:100%;object-fit:contain;}
.rj-gallery__nav {position:absolute;top:50%;transform:translateY(-50%);z-index:3;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid var(--rj-line);border-radius:999px;background:rgba(255,255,255,.94);color:#000;cursor:pointer;transition:background .2s var(--rj-ease),border-color .2s var(--rj-ease),color .2s var(--rj-ease);}
.rj-gallery__nav--prev {left:16px;}
.rj-gallery__nav--next {right:16px;}
.rj-gallery__nav .icon {width:16px;height:16px;}
.rj-gallery__nav:hover {border-color:var(--rj-ink);background:#fff;}
.rj-gallery__thumbs {display:grid;grid-auto-flow:column;grid-auto-columns:72px;grid-template-columns:none;gap:8px;overflow-x:auto;padding-bottom:6px;scrollbar-width:thin;scroll-snap-type:x mandatory;}
.rj-gallery__thumbs::-webkit-scrollbar {height:4px;}
.rj-gallery__thumbs::-webkit-scrollbar-thumb {background:var(--rj-line);}
.gallery-image {position:relative;display:block;aspect-ratio:1/1;padding:0;overflow:hidden;background:#fff;border:1px solid var(--rj-line-soft);border-radius:0;cursor:pointer;scroll-snap-align:start;transition:border-color .2s var(--rj-ease),box-shadow .2s var(--rj-ease);}
.gallery-image img {width:100%;height:100%;object-fit:contain;}
.gallery-image:hover {border-color:var(--rj-ink);}
.gallery-image.is-active {border-color:var(--rj-accent);box-shadow:0 0 0 1px var(--rj-accent);}
.gallery-image:only-child {aspect-ratio:1/1;}
.rj-product__anchors {display:flex;flex-wrap:wrap;gap:24px;margin-top:6px;padding-top:0;border-top:0;}
.rj-product__anchors a {font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--rj-muted);border-bottom:1px solid transparent;transition:color .2s var(--rj-ease),border-color .2s var(--rj-ease);}
.rj-product__anchors a:hover {color:var(--rj-ink);border-bottom-color:var(--rj-accent);}
/* Purchase column: no longer self-sticky; the SKU/title/price head inside it
   pins instead (see .rj-product__head), so the options scroll normally. */
.rj-product__line {display:inline-flex;align-items:center;gap:10px;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--rj-muted);}
/* SKU + title + price stay pinned under the sticky header while the
   purchase options scroll beneath them. */
.rj-product__head {
    position: sticky;
    top: 105px;
    z-index: 5;
    background: #fff;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--rj-line-soft);
}
@media(max-width:767px){
    .rj-product__head {top:101px;}
}
.rj-product__title {margin-top:12px;font-size:clamp(24px,3vw,34px);line-height:1.15;}
.rj-product__price {display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:14px;}
.rj-product__price > .rj-price-current {font-size:28px;font-weight:800;letter-spacing:-.02em;line-height:1;}
.rj-product__price del {font-size:15px;font-weight:400;color:var(--rj-muted);}
.rj-product__summary {margin-top:12px;padding-bottom:18px;border-bottom:1px solid var(--rj-line-soft);font-size:14px;line-height:1.7;color:var(--rj-muted);}
.rj-product__helper {margin-top:12px;font-size:12.5px;line-height:1.6;color:var(--rj-muted);}
.rj-required {color:var(--rj-accent);font-size:14px;line-height:1;}
/* Purchase column: tight rhythm, the action button directly after the options. */
.purchase-actions {display:flex;align-items:stretch;gap:10px;margin-top:0;}
.purchase-actions .add-to-bag {flex:1;}
.rj-product__purchase .rj-checkout-secure-caption {margin-block:8px 0;}
/* Product Information Horizontal Tabs (matching image 2) */
.rj-product-tabs {
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid var(--rj-line-soft, #ececec);
}
.rj-product-tabs__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    border-bottom: 1px solid var(--rj-line-soft, #ececec);
    margin-bottom: 36px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 16px;
}
.rj-product-tabs__nav::-webkit-scrollbar {display: none;}
.rj-product-tabs__nav button {
    position: relative;
    padding: 14px 6px 16px;
    background: transparent;
    border: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--rj-muted, #767676);
    cursor: pointer;
    white-space: nowrap;
    transition: color .2s var(--rj-ease);
}
.rj-product-tabs__nav button:hover {
    color: var(--rj-ink, #111);
}
.rj-product-tabs__nav button.is-active {
    color: var(--rj-ink, #111);
    font-weight: 700;
}
.rj-product-tabs__nav button.is-active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--rj-ink, #111);
}
.rj-product-tabs__content {
    max-width: 820px;
    margin-inline: auto;
    padding: 0 20px 48px;
    min-height: 200px;
}
.rj-product-tabs__panel {
    font-size: 14.5px;
    line-height: 1.85;
    color: #3f3f46;
}
.rj-product__sections {margin-top:56px;border-top:1px solid var(--rj-line);}
/* Details read as a luxury catalogue's page leaves: serif headings, thin
   rules, one leaf open — the rest collapses until asked for. */
.rj-product__section {padding:0;border-bottom:1px solid var(--rj-line-soft);}
.rj-product__section summary {display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;cursor:pointer;list-style:none;font-family:'Proxima Nova',Helvetica,Arial,sans-serif;font-size:14px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;}
.rj-product__section summary::-webkit-details-marker {display:none;}
.rj-product__section summary:hover {color:var(--rj-accent-deep);}
.rj-product__section summary .icon {flex-shrink:0;width:15px;height:15px;transition:transform .25s var(--rj-ease);}
.rj-product__section[open] summary .icon {transform:rotate(45deg);}
.rj-product__section-body {padding:4px 0 30px;}
.rj-product__section--text > .rj-product__section-body {display:grid;}
.rj-product__section-body p {font-size:14px;line-height:1.8;color:var(--rj-muted);}
.rj-prose {display:flex;flex-direction:column;gap:16px;}
.rj-prose h2 {font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--rj-ink,#111);margin-top:28px;margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid rgba(0,0,0,0.08);}
.rj-prose h3 {font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--rj-ink,#111);margin-top:20px;margin-bottom:6px;}
.rj-prose p {font-size:15px;line-height:1.8;color:#3f3f46;margin:0 0 8px;}
.rj-prose ul {display:flex;flex-direction:column;gap:10px;margin:4px 0 16px;padding:0;list-style:none;}
.rj-prose ul li {position:relative;padding-left:20px;font-size:14.5px;line-height:1.75;color:#3f3f46;}
.rj-prose ul li::before {content:"";position:absolute;left:4px;top:10px;width:5px;height:5px;border-radius:50%;background:var(--rj-accent,#17120f);}
.rj-table {width:100%;border-collapse:collapse;font-size:13.5px;color:var(--rj-ink);}
.rj-table th, .rj-table td {padding:12px 16px;border-bottom:1px solid var(--rj-line-soft);text-align:left;vertical-align:top;}
.rj-table--specs {width:100%;border-collapse:collapse;border:1px solid var(--rj-line-soft);border-radius:0;overflow:hidden;background:#fff;margin-top:8px;}
.rj-table--specs tbody tr {border-bottom:1px solid var(--rj-line-soft,#ececec);}
.rj-table--specs tbody tr:last-child {border-bottom:none;}
.rj-table--specs tbody th {width:32%;min-width:160px;padding:14px 20px;font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--rj-ink,#17120f);background:#f3f3f3;text-align:left;vertical-align:top;border-right:1px solid var(--rj-line-soft,#ececec);}
.rj-table--specs tbody td {padding:14px 20px;font-size:14px;line-height:1.7;color:#3f3f46;vertical-align:top;}
.rj-table--sizes thead th {position:sticky;top:0;background:var(--rj-ink,#111);color:#fff;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;border-bottom:1px solid var(--rj-ink);padding:12px 16px;text-align:center;}
.rj-table--sizes tbody td {font-variant-numeric:tabular-nums;color:#3f3f46;padding:12px 16px;text-align:center;}
.rj-table--sizes tbody tr:nth-child(even) {background:#f3f3f3;}
.rj-table--sizes tbody tr:last-child td {border-bottom:1px solid var(--rj-line);}
.rj-table-wrap {max-width:100%;overflow-x:auto;margin-top:8px;border:1px solid var(--rj-line-soft);border-radius:6px;}
.rj-table-wrap .rj-table {border:0;}
.rj-sizing__layout {display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:32px;align-items:start;margin-top:14px;}
.rj-sizing__figure {margin:0;text-align:center;}
.rj-sizing__figure img {display:block;width:100%;max-width:260px;margin:0 auto;background:var(--rj-surface);padding:16px;border:1px solid var(--rj-line-soft);border-radius:6px;}
.rj-sizing__figure figcaption {margin-top:10px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--rj-muted);}
.rj-product__note {max-width:900px;margin-bottom:6px;font-size:13.5px;line-height:1.8;color:var(--rj-muted);}
.rj-details-list {display:grid;gap:10px;font-size:13px;color:var(--rj-muted);}
.rj-details-list li {position:relative;padding-left:20px;}
.rj-details-list li::before {content:'\2014';position:absolute;left:0;color:var(--rj-accent);}
.rj-details-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin-top:8px;}
.rj-detail-card {display:flex;flex-direction:column;gap:6px;padding:18px 20px;background:#f3f3f3;border:1px solid var(--rj-line-soft,#ececec);border-radius:0;}
.rj-detail-card--full {grid-column:1/-1;}
.rj-detail-label {font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--rj-muted,#71717a);}
.rj-detail-value {font-size:14.5px;font-weight:500;color:var(--rj-ink,#09090b);line-height:1.6;}
.rj-delivery-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-top:8px;}
.rj-delivery-card {display:flex;flex-direction:column;align-items:flex-start;padding:24px;background:#f3f3f3;border:1px solid var(--rj-line-soft,#ececec);border-radius:0;}
.rj-delivery-card__icon {display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:0;background:#fff;border:1px solid var(--rj-line-soft,#ececec);margin-bottom:16px;color:var(--rj-accent,#17120f);}
.rj-delivery-card__icon .icon {width:20px;height:20px;}
.rj-delivery-card h3 {font-size:13.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--rj-ink,#09090b);margin:0 0 10px;}
.rj-delivery-card p {font-size:13.5px;line-height:1.7;color:#52525b;margin:0 0 16px;flex:1;}
.rj-configurations {display:flex;flex-direction:column;gap:14px;margin:20px 0 18px;}
.rj-configurations .rj-form-group {margin-bottom:0;}
.rj-option-group .size-heading {display:flex;align-items:center;gap:12px;margin-bottom:12px;}
.size-heading h2 {font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;}
.size-heading > span {margin-left:auto;font-size:11px;color:var(--rj-muted);text-align:right;}
.size-heading .rj-textlink {font-size:11px;}
.rj-option-grid {display:flex;flex-wrap:wrap;gap:8px;}
.rj-option-grid button {display:flex;align-items:center;gap:8px;padding:12px 16px;border:1px solid var(--rj-line);background:#fff;color:#000;font-size:12px;transition:border-color .2s var(--rj-ease),background .2s var(--rj-ease),color .2s var(--rj-ease);}
.rj-option-grid button:hover {border-color:var(--rj-ink);}
.rj-option-grid button.selected {background:var(--rj-ink);border-color:var(--rj-ink);color:#fff;}
.rj-option-adjust {font-size:11px;opacity:.7;}
.rj-option-hint {margin-top:10px;font-size:11px;color:var(--rj-muted);}
/* Size runs as a single fitted dropdown: quiet, contained, no chip sprawl. */
.rj-sizesel {position:relative;display:block;max-width:360px;}
.rj-sizesel select {width:100%;padding:12px 40px 12px 14px;border:1px solid var(--rj-line);background:#fff;border-radius:0;color:#000;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;appearance:none;-webkit-appearance:none;-moz-appearance:none;cursor:pointer;transition:border-color .2s var(--rj-ease);}
.rj-sizesel select:hover {border-color:var(--rj-ink);}
.rj-sizesel select:focus {outline:none;border-color:var(--rj-ink);}
.rj-sizesel select option {font-size:13px;font-weight:400;letter-spacing:normal;text-transform:none;}
.rj-sizesel .icon {position:absolute;right:14px;top:50%;width:14px;height:14px;transform:translateY(-50%);pointer-events:none;}
.rj-product-form {display:flex;flex-direction:column;gap:22px;}
.rj-product-form label {display:flex;flex-direction:column;gap:10px;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;}
/* Standalone labels (SIZE, ORDER INSTRUCTIONS) sit directly above their
   control — the flex-column pattern above stacked their text and the
   required mark with a 10px gap. */
.rj-product-form label.rj-form-label {display:block;}
.rj-product-form input,.rj-product-form select {padding:12px;border:1px solid var(--rj-line);background:#fff;border-radius:0;color:#000;font-size:13px;font-weight:400;letter-spacing:normal;text-transform:none;}
.rj-product-form input:focus,.rj-product-form select:focus {outline:none;border-color:var(--rj-ink);}
.rj-quantity>div {display:flex;width:150px;border:1px solid var(--rj-line);}
.rj-quantity button {width:44px;border:0;background:#fff;color:#000;font-size:18px;}
.rj-quantity button:hover {background:var(--rj-line-soft);}
.rj-quantity input {width:60px;border:0;border-left:1px solid var(--rj-line);border-right:1px solid var(--rj-line);padding:10px 0;text-align:center;-moz-appearance:textfield;appearance:textfield;}
.rj-quantity input::-webkit-outer-spin-button,.rj-quantity input::-webkit-inner-spin-button {-webkit-appearance:none;margin:0;}
.rj-product-notice {margin:24px 0;padding:18px;background:var(--rj-line-soft);font-size:13px;color:var(--rj-muted);}
.purchase-actions {display:flex;align-items:stretch;gap:10px;}
.purchase-actions .add-to-bag {flex:1;}
.add-to-bag {min-height:50px;border:0;}
.add-to-bag:disabled {opacity:.45;cursor:not-allowed;}
.purchase-favorite {display:inline-flex;align-items:center;justify-content:center;width:52px;border:1px solid var(--rj-ink);background:#fff;color:#000;}
.purchase-favorite .icon {width:20px;height:20px;}
.purchase-favorite[aria-pressed="true"] {background:var(--rj-gold-gradient);border-color:var(--rj-accent);color:var(--rj-accent-ink);}
/* Trust strip under the purchase actions: icon tile, title, short caption. */
.purchase-benefits {margin-top:26px;border-top:1px solid var(--rj-line-soft);padding-top:8px;}
.purchase-benefits>a {display:flex;align-items:center;gap:14px;padding:12px 0;font-size:12px;color:var(--rj-ink);}
.purchase-benefits>a:hover {text-decoration:none;}
.purchase-benefits>a:hover .rj-benefit__title {text-decoration:underline;text-underline-offset:3px;}
.rj-benefit__icon {display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:38px;height:38px;background:var(--rj-line-soft);transition:background .2s var(--rj-ease);}
.rj-benefit__icon .icon {width:18px;height:18px;color:var(--rj-ink);}
.purchase-benefits>a:hover .rj-benefit__icon {background:var(--rj-accent-tint);}
.rj-benefit__copy {display:flex;flex-direction:column;gap:2px;}
.rj-benefit__title {font-size:13px;font-weight:600;color:var(--rj-ink);}
.rj-benefit__sub {font-size:11.5px;line-height:1.5;color:var(--rj-muted);}
.rj-policy-links {display:flex;flex-wrap:wrap;gap:20px;margin-top:18px;}
.rj-related {padding-top:60px;}
.rj-related .rj-grid {margin-top:28px;}

/* ---------- Cart page ---------- */
.rj-cart {padding-bottom:80px;}
.rj-cart__head {display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:20px;padding:34px 0 26px;}
.rj-cart__layout {display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:48px;align-items:start;}
.rj-cart__items {border-top:1px solid var(--rj-line);}
.rj-cart__row {display:grid;grid-template-columns:120px minmax(0,1fr) 120px 130px;gap:24px;align-items:center;padding:24px 0;border-bottom:1px solid var(--rj-line-soft);}
.rj-cart__thumb {display:block;width:120px;height:150px;padding:0;background:#fff;border:1px solid var(--rj-line-soft);}
.rj-cart__thumb img {width:100%;height:100%;object-fit:contain;}
.rj-cart__title {font-size:15px;font-weight:600;letter-spacing:-.01em;}
.rj-cart__title:hover {text-decoration:underline;}
.rj-cart__meta {margin-top:6px;font-size:12px;color:var(--rj-muted);}
.rj-cart__remove {margin-top:12px;border:0;padding:0;background:none;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--rj-muted);transition:color .2s var(--rj-ease);}
.rj-cart__remove:hover {color:var(--rj-ink);}
.rj-cart__quantity {display:flex;align-items:center;justify-content:center;gap:4px;}
.rj-cart__quantity button {display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid var(--rj-line);background:#fff;color:#000;font-size:14px;}
.rj-cart__quantity button:hover:not(:disabled) {border-color:var(--rj-ink);}
.rj-cart__quantity button:disabled {opacity:.35;cursor:not-allowed;}
.rj-cart__quantity span {min-width:34px;text-align:center;font-size:13px;font-weight:700;}
.rj-cart__price {font-size:15px;font-weight:700;text-align:right;}
.rj-cart__summary {position:sticky;top:110px;padding:28px;border:1px solid var(--rj-line);background:#fff;}
.rj-cart__summary h2 {margin-bottom:20px;font-size:16px;font-weight:700;}
.rj-cart__totals {display:flex;flex-direction:column;gap:12px;font-size:13px;color:var(--rj-muted);}
.rj-cart__totals div {display:flex;align-items:baseline;justify-content:space-between;gap:16px;}
.rj-cart__totals strong {color:var(--rj-ink);font-weight:600;}
.rj-cart__total {display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-top:20px;padding-top:18px;border-top:1px solid var(--rj-line);font-size:18px;font-weight:700;}
.rj-cart__note {margin-top:16px;font-size:11px;line-height:1.7;color:var(--rj-muted);}
.rj-coupon {display:flex;gap:10px;margin-top:22px;}
.rj-coupon input {flex:1;min-width:0;height:46px;padding:0 14px;border:1px solid var(--rj-line);background:#fff;font-size:13px;}
.rj-coupon input:focus {outline:none;border-color:var(--rj-ink);}
.rj-cart__applied {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px;padding:12px 14px;background:var(--rj-accent-tint);font-size:12px;color:var(--rj-ink);}
.rj-cart__empty {max-width:560px;margin-inline:auto;padding:64px 24px;text-align:center;border:1px dashed var(--rj-line);}
.rj-cart__empty h2 {font-size:20px;font-weight:700;}
.rj-cart__empty p {margin-top:10px;font-size:13px;color:var(--rj-muted);}
.rj-cart__empty .rj-button {margin-top:24px;}

/* ---------- Item configuration (cart rows and bag drawer) ---------- */
.rj-item-config {display:flex;flex-direction:column;gap:4px;margin-top:8px;}
.rj-item-config__row {font-size:12px;color:var(--rj-muted);}
.rj-item-config__label {font-weight:600;color:var(--rj-ink);}

/* ---------- Bag drawer ---------- */
.rj-bag__line {display:flex;gap:16px;padding:16px 0;border-bottom:1px solid var(--rj-line-soft);}
.rj-bag__thumb {flex-shrink:0;width:64px;height:80px;padding:0;background:#fff;border:1px solid var(--rj-line-soft);}
.rj-bag__thumb img {width:100%;height:100%;object-fit:contain;}
.rj-bag__title {font-size:13px;font-weight:600;}
.rj-bag__meta {margin-top:4px;font-size:12px;color:var(--rj-muted);}
.rj-bag__total {display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-top:20px;padding-top:18px;border-top:1px solid var(--rj-line);font-size:14px;font-weight:700;}
.rj-bag__actions {display:flex;flex-direction:column;gap:12px;margin-top:20px;}
.rj-bag__remove {border:0;padding:0;background:none;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--rj-muted);}
.rj-bag__remove:hover {color:var(--rj-ink);}

/* ---------- Dialogs ----------
   The dialog element is only the top-layer container; the panel inside it
   carries the surface and is what the theme animates. Keeping the animation
   off the dialog itself is what preserves the modal backdrop (and therefore
   the dimmed page and click-outside-to-close). */
.rj-storefront dialog.dialog {position:fixed;inset:0;width:100%;max-width:none;max-height:none;height:100%;margin:0;padding:0;border:0;background:transparent;overflow:hidden;}
.rj-storefront dialog.dialog::backdrop {background:rgba(0,0,0,.55);backdrop-filter:blur(2px);}
.rj-storefront dialog.dialog .dialog__panel {position:relative;background:#fff;color:#000;box-shadow:0 30px 70px -30px rgba(0,0,0,.6);}
.rj-storefront dialog.dialog .dialog__panel h2 {margin-top:0;}
.rj-storefront dialog.dialog:not(.drawer-dialog):not(.filter-dialog) .dialog__panel {width:min(520px,calc(100% - 32px));max-height:85dvh;margin:auto;padding:38px;overflow-y:auto;}
.rj-storefront dialog.dialog.drawer-dialog .dialog__panel,
.rj-storefront dialog.dialog.filter-dialog .dialog__panel {position:absolute;top:0;right:0;bottom:0;width:min(420px,100%);max-height:100dvh;padding:32px;overflow-y:auto;}
.rj-storefront dialog.dialog:not(.drawer-dialog):not(.filter-dialog).lightbox-dialog .dialog__panel {position:absolute;inset:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0;overflow:hidden;}
.rj-storefront dialog.dialog .dialog-close {z-index:2;}
/* Push cart: the bag drawer reads as the reference push cart — full-height
   panel, title row under a hairline, actions pinned to the foot. */
.rj-storefront dialog.dialog.drawer-dialog .dialog__panel {padding:0;display:flex;flex-direction:column;}
.rj-storefront dialog.dialog.drawer-dialog .dialog__panel [data-bag-content] {display:flex;flex-direction:column;min-height:100%;padding:28px 28px 32px;}
.rj-storefront dialog.dialog.drawer-dialog .dialog__panel [data-bag-content] > h2 {margin:0 0 8px;padding-bottom:18px;border-bottom:1px solid var(--rj-line);font-size:14px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;}
.rj-storefront dialog.dialog.drawer-dialog .dialog__panel .rj-cart__empty,
.rj-storefront dialog.dialog.drawer-dialog .dialog__panel .rj-bag__items {flex:1;}
.rj-storefront dialog.dialog.drawer-dialog .dialog__panel .rj-bag__actions {margin-top:auto;}
.rj-storefront dialog.dialog.filter-dialog .dialog__panel > h2 {font-size:14px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;}

/* ---------- Filters and forms on the inherited pages ---------- */
.rj-filter-summary {display:flex;align-items:center;gap:24px;margin:16px 0;}
.rj-filter-form {display:flex;flex-direction:column;gap:24px;margin-top:32px;}
.rj-filter-form label,.rj-newsletter-form label {display:flex;flex-direction:column;gap:8px;align-items:stretch;text-align:left;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--rj-muted);}
.rj-filter-form input,.rj-filter-form select,.rj-newsletter-form input,.rj-product-form input,.rj-product-form select,.rj-catalog-search input {width:100%;height:auto;padding:12px;border:1px solid var(--rj-line);background:#fff;border-radius:0;color:#000;max-width:100%;}
.rj-filter-form input:focus,.rj-filter-form select:focus {outline:none;border-color:var(--rj-ink);}
.rj-filter-form .rj-checkbox {flex-direction:row;align-items:center;gap:10px;font-size:12px;font-weight:400;letter-spacing:.04em;text-transform:none;color:var(--rj-ink);}
.rj-checkbox input {width:18px;height:18px;flex-shrink:0;}
.rj-newsletter-form {display:flex;flex-direction:column;gap:20px;margin-top:24px;}
.rj-catalog-search {display:flex;gap:16px;max-width:700px;margin-top:24px;}
.rj-catalog-search input {min-width:0;flex:1;}
.rj-auth {width:100%;max-width:480px;margin:64px auto;padding:32px;border:1px solid var(--rj-line);}
.rj-auth input:not([type=checkbox]) {border:1px solid var(--rj-line);border-radius:0;}
.rj-featured-empty {padding:48px 0;color:var(--rj-muted);}

/* ---------- Auth, contact and wishlist forms ---------- */
/* The auth card, contact form and wishlist panel share one input system: hairline
   fields, letter-spaced labels, no radius — matching the catalog search. */
.rj-form {display:flex;flex-direction:column;gap:20px;margin:0;}
.rj-form label {display:grid;gap:8px;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--rj-muted);text-align:left;}
.rj-form input:not([type=checkbox]),.rj-form select,.rj-form textarea {width:100%;padding:12px;border:1px solid var(--rj-line);background:#fff;border-radius:0;color:#000;font-size:14px;}
.rj-form input:focus,.rj-form select:focus,.rj-form textarea:focus {outline:none;border-color:var(--rj-ink);}
.rj-form textarea {resize:vertical;min-height:120px;}
.rj-form .rj-error {display:block;margin-top:6px;font-size:12px;letter-spacing:0;text-transform:none;font-weight:400;color:#eb5757;}
.rj-form .rj-checkbox {display:flex;flex-direction:row;align-items:center;gap:10px;font-size:12px;font-weight:400;letter-spacing:.04em;text-transform:none;color:var(--rj-ink);}
.rj-form input.rj-checkbox {width:auto;height:auto;}
.rj-form .rj-checkbox input {width:18px;height:18px;flex-shrink:0;}
.rj-form__foot {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-top:18px;border-top:1px solid var(--rj-line-soft);font-size:12px;color:var(--rj-muted);}
.rj-form__foot a {color:var(--rj-ink);font-weight:700;border-bottom:1px solid currentColor;}
.rj-form__foot a:hover {opacity:.6;}
.rj-auth__head {margin-bottom:26px;}
.rj-auth__head .rj-lede {margin-top:12px;}
.rj-auth .rj-flash {margin:0 0 20px;border:1px solid var(--rj-line);}
/* Contact page */
.rj-contact {display:grid;grid-template-columns:minmax(300px,420px) minmax(0,1fr);gap:56px;align-items:start;}
.rj-contact__panel {display:flex;flex-direction:column;gap:22px;padding:32px;border:1px solid var(--rj-line);background:#fff;}
.rj-contact__panel h2 {font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;}
.rj-contact__item {display:flex;align-items:flex-start;gap:14px;font-size:13.5px;line-height:1.7;color:var(--rj-muted);}
.rj-contact__item .icon {width:19px;height:19px;margin-top:2px;color:var(--rj-ink);}
.rj-contact__item strong {display:block;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--rj-ink);margin-bottom:2px;}
.rj-contact__item a {text-decoration:underline;text-underline-offset:3px;}
.rj-contact__item a:hover {color:var(--rj-ink);}
.rj-contact__hours {display:grid;gap:6px;border-top:1px solid var(--rj-line-soft);padding-top:20px;}
.rj-contact__hours div {display:flex;justify-content:space-between;gap:16px;font-size:12.5px;color:var(--rj-muted);}
.rj-contact__hours span:first-child {font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:11px;color:var(--rj-ink);}
.rj-contact__form-card {padding:32px;border:1px solid var(--rj-line);background:#fff;}
.rj-contact__form-card h2 {font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;margin-bottom:8px;}
.rj-contact__form-card .rj-form {margin-top:22px;}
.rj-contact__form-card .rj-form {grid-template-columns:1fr;}
/* Account area: sidebar nav + stat tiles + hairline tables */
.rj-account {display:grid;grid-template-columns:272px minmax(0,1fr);gap:44px;align-items:start;}
.rj-account__nav {display:flex;flex-direction:column;gap:2px;padding:26px 22px;border:1px solid var(--rj-line);background:#fff;}
.rj-account__who {display:flex;align-items:center;gap:12px;padding-bottom:18px;margin-bottom:14px;border-bottom:1px solid var(--rj-line-soft);}
.rj-account__monogram {display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex-shrink:0;background:#e1e0dc;color:#17120f;font-size:14px;font-weight:700;}
.rj-account__who strong {display:block;font-size:13px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.rj-account__who span.rj-account__email {display:block;font-size:11px;color:var(--rj-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.rj-account__nav a,.rj-account__logout {display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:0;background:none;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;text-align:left;color:var(--rj-muted);transition:background .15s var(--rj-ease),color .15s var(--rj-ease);}
.rj-account__nav a:hover,.rj-account__logout:hover {color:var(--rj-ink);}
.rj-account__nav a.is-active {background:var(--rj-ink);color:#fff;}
.rj-account__logout {color:#eb5757;margin-top:8px;padding-top:14px;border-top:1px solid var(--rj-line-soft);cursor:pointer;}
.rj-account__nav .icon {width:16px;height:16px;}
.rj-panel {padding:30px;border:1px solid var(--rj-line);background:#fff;}
.rj-panel__head {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--rj-line);padding-bottom:16px;margin-bottom:22px;}
.rj-panel__head h2 {font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;}
.rj-stats {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-bottom:26px;}
.rj-stat {padding:24px 22px;border:1px solid var(--rj-line);background:#fff;display:flex;flex-direction:column;gap:6px;}
.rj-stat strong {font-size:26px;font-weight:700;letter-spacing:-.01em;}
.rj-stat strong small {font-size:15px;font-weight:400;color:var(--rj-muted);}
.rj-welcome {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px;background:var(--rj-ink);color:#fff;padding:26px 30px;margin-bottom:26px;}
.rj-welcome h2 {font-size:24px;}
.rj-welcome p {font-size:12.5px;line-height:1.7;color:rgba(255,255,255,.7);max-width:640px;margin-top:6px;}
.rj-chip--danger {background:transparent;color:#eb5757;border:1px solid #eb5757;}
.rj-timeline {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:8px 0 30px;}
.rj-timeline__step {display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;position:relative;padding:0 6px;}
.rj-timeline__step::before {content:"";position:absolute;top:15px;left:calc(-50% + 22px);right:calc(50% + 22px);height:1px;background:var(--rj-line);}
.rj-timeline__step:first-child::before {display:none;}
.rj-timeline__dot {display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:999px;background:#fff;border:1px solid var(--rj-line);font-size:11px;font-weight:700;color:var(--rj-muted);}
.rj-timeline__step.is-past .rj-timeline__dot {background:var(--rj-ink);border-color:var(--rj-ink);color:#fff;}
.rj-timeline__step span:not(.rj-timeline__dot) {font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--rj-muted);}
.rj-timeline__step.is-current span:not(.rj-timeline__dot) {color:var(--rj-ink);}
.rj-items {display:flex;flex-direction:column;}
.rj-items__row {display:flex;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid var(--rj-line-soft);}
.rj-items__row img {width:56px;height:70px;flex-shrink:0;object-fit:cover;background:#e1e0dc;}
.rj-items__row b {font-size:13px;display:block;}
.rj-items__row p {font-size:12px;color:var(--rj-muted);margin-top:2px;}
.rj-items__row .rj-items__price {margin-left:auto;font-weight:700;white-space:nowrap;}
.rj-total {margin-left:auto;max-width:380px;width:100%;padding:18px;border:1px solid var(--rj-line-soft);}
.rj-total div {display:flex;justify-content:space-between;font-size:13px;color:var(--rj-muted);padding:4px 0;}
.rj-total div.grand {border-top:1px solid var(--rj-line);margin-top:8px;padding-top:12px;font-weight:700;color:#000;font-size:15px;}
.rj-addresscard {border:1px solid var(--rj-line);background:#fff;padding:20px;display:flex;flex-direction:column;gap:10px;}
@media(max-width:1024px) {
    .rj-account {grid-template-columns:minmax(0,1fr);gap:26px;}
    .rj-stats {grid-template-columns:1fr;}
    .rj-timeline {grid-template-columns:1fr;gap:14px;}
    .rj-timeline__step {flex-direction:row;padding:0;}
    .rj-timeline__step::before {display:none;}
}

/* About page */
.rj-values {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;border-top:1px solid var(--rj-line);padding-top:36px;}
.rj-values__item {display:flex;flex-direction:column;gap:12px;}
.rj-values__item .icon {width:26px;height:26px;}
.rj-values__item h3 {font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;}
.rj-values__item p {font-size:13.5px;line-height:1.75;color:var(--rj-muted);}
@media(max-width:900px) {
    .rj-values {grid-template-columns:1fr;}
    .rj-contact {grid-template-columns:minmax(0,1fr);gap:28px;}
}

/* ---------- Responsive ---------- */
@media(max-width:1024px) {
    .rj-product__layout {grid-template-columns:minmax(0,1fr);gap:36px;}
    .rj-cart__layout {grid-template-columns:minmax(0,1fr);gap:32px;}
    .rj-cart__summary {position:static;}
    .rj-catalog__editorial .rj-split__copy {padding:36px 0 36px 32px;}
    /* Below the desktop split the rail stacks above the goods as a plain list. */
    .rj-catalog__layout {grid-template-columns:minmax(0,1fr);gap:26px;}
    .rj-catalog__rail {position:static;}
    .rj-rail {padding:22px 20px 10px;}
    .rj-rail__title {font-size:20px;}
    .rj-catalog .rj-grid,
    .rj-catalog__grid.rj-grid,
    .rj-catalog__grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:30px 18px;}
}
@media(max-width:767px) {
    .rj-breadcrumb {padding-top:20px;}
    .rj-cart__row {grid-template-columns:84px minmax(0,1fr);gap:16px;padding:20px 0;}
    .rj-cart__thumb {width:84px;height:104px;}
    .rj-cart__price {grid-column:2;text-align:left;}
    .rj-cart__quantity {justify-content:flex-start;}
    .gallery-grid {display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;}
    .gallery-grid::-webkit-scrollbar {display:none;}
    .gallery-image {flex:0 0 82%;aspect-ratio:4/5;scroll-snap-align:start;}
    .rj-product__details {grid-template-columns:minmax(0,1fr);}
    .rj-catalog__toolbar {align-items:flex-start;flex-direction:column;gap:12px;}
    .rj-catalog__tools {width:100%;}
    .rj-filter-toolbar {width:100%;}
    .rj-filter-toolbar__group {width:100%;display:flex;flex-wrap:wrap;}
    .rj-filter-dropdown {flex:1 1 auto;min-width:120px;}
    .rj-filter-pill {width:100%;justify-content:space-between;}
    .rj-catalog__subnav {flex-wrap:nowrap;gap:14px;overflow-x:auto;scrollbar-width:none;}
    .rj-catalog__subnav::-webkit-scrollbar {display:none;}
    .rj-catalog__editorial .rj-split__copy {padding:28px 0 28px 22px;}
    .rj-monogram {font-size:31px;}
    .rj-brand {width:60px;margin-bottom:0;}
}
@media(max-width:420px) {
    .rj-catalog .rj-grid,
    .rj-catalog__grid.rj-grid,
    .rj-catalog__grid {grid-template-columns:1fr !important;}
}
