/* ============================================================
   Component styles — home + product pages + cards.
   Tokens come from /style.css.
   ============================================================ */

/* ---------- Home: hero ---------- */
.home-hero { background: var(--ivory); }
.home-hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end; padding-top: 72px; }
.home-hero__copy { padding-bottom: 80px; }
.home-hero__h { font-size: 88px; line-height: .98; margin: 28px 0 0; letter-spacing: -.01em; }
.home-hero__h span { display: block; }
.home-hero__h--em { font-style: italic; color: var(--gold-2); }
.home-hero__sub { margin-top: 28px; max-width: 460px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.home-hero__ctas { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.home-hero__stats {
    margin-top: 64px; display: flex; gap: 32px; align-items: center;
    color: var(--muted); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
}
.home-hero__sep { width: 1px; height: 14px; background: var(--line); }

.home-hero__tile {
    position: relative; aspect-ratio: 4/5;
    background: none; padding: 0;
    overflow: hidden;
}
.home-hero__tile-img,
.home-hero__tile-svg { display: block; position: absolute; inset: 0; }
.home-hero__tile-img img { width: 100%; height: 100%; object-fit: cover; }
.home-hero__tile-svg { display: flex; align-items: center; justify-content: center; }
.home-hero__tile-meta {
    position: absolute; left: 22px; bottom: 22px;
    background: rgba(252, 250, 245, .94); backdrop-filter: blur(8px);
    border: 1px solid var(--line, #e5e0d6); padding: 18px 24px;
    min-width: 200px; max-width: 280px; box-shadow: 0 18px 44px rgba(27, 25, 21, .18);
    text-decoration: none; transition: transform .25s ease;
}
.home-hero__tile-meta:hover { transform: translateY(-3px); }

@media (max-width: 880px) {
    .home-hero__inner { grid-template-columns: 1fr; padding-top: 40px; gap: 32px; }
    .home-hero__copy { padding-bottom: 16px; }
    .home-hero__h { font-size: 52px; }
    .home-hero__stats { gap: 16px; font-size: 10px; }
    .home-hero__tile { aspect-ratio: 1/1; }
}

/* ---------- Home: trust row ---------- */
.home-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding: 44px 0; }
.container.home-trust { padding-left: var(--gutter); padding-right: var(--gutter); }
.home-trust__item { display: flex; gap: 18px; align-items: flex-start; }
@media (max-width: 880px) { .home-trust { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Home: shop by shape ---------- */
.home-shape-row {
    display: grid; grid-template-columns: repeat(10, 1fr);
    border-block: 1px solid var(--line);
}
.home-shape-row__cell {
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    padding: 28px 12px; cursor: pointer; transition: background .2s;
    color: var(--ink-2); border-inline-end: 1px solid var(--line);
    text-decoration: none;
}
.home-shape-row__cell:last-child { border-inline-end: 0; }
.home-shape-row__cell:hover { background: var(--ivory); color: var(--ink); }
.home-shape-row__cell span { font-size: 12px; letter-spacing: .08em; }
@media (max-width: 880px) {
    .home-shape-row { grid-template-columns: repeat(5, 1fr); }
    .home-shape-row__cell { padding: 20px 8px; gap: 10px; border-bottom: 1px solid var(--line); }
    .home-shape-row__cell:nth-child(n+6) { border-bottom: 0; }
}

/* ---------- Home: atelier (build your ring teaser) ---------- */
.home-atelier { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.home-atelier__art { display: flex; justify-content: flex-end; opacity: .35; }
@media (max-width: 880px) {
    .home-atelier { grid-template-columns: 1fr; gap: 32px; }
    .home-atelier__art { display: none; }
}

/* ---------- Home: featured grid ---------- */
.home-featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; }

.featured-card {
    background: var(--paper); display: block;
    border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease;
    text-decoration: none; color: inherit;
}
.featured-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.featured-card__media {
    position: relative; aspect-ratio: 1/1;
    background: linear-gradient(135deg, #F8F4EC, #EAE0CB);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.featured-card__media img { width: 100%; height: 100%; object-fit: cover; }
.featured-card__badge {
    position: absolute; top: 12px; inset-inline-start: 12px;
    background: var(--ink); color: var(--ivory);
    padding: 4px 10px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
}
.featured-card__body { padding: 18px 20px 24px; }
.featured-card__title { font-size: 20px; color: var(--ink); margin-top: 6px; }
.featured-card__price { margin-top: 12px; display: flex; gap: 12px; align-items: baseline; }
.featured-card__list { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.featured-card__sale { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--gold-2); }

/* ---------- Home: story ---------- */
.home-story { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
.home-story__art { display: flex; justify-content: flex-end; opacity: .25; }
@media (max-width: 880px) { .home-story { grid-template-columns: 1fr; } .home-story__art { display: none; } }

/* ============================================================
   Single diamond page
   ============================================================ */
.diamond-single__crumbs {
    padding: 24px 0 12px;
    font-size: 12px; letter-spacing: .08em; color: var(--muted);
    display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.diamond-single__crumbs a { color: var(--muted); }
.diamond-single__crumbs a:hover { color: var(--ink); }

.diamond-single__grid {
    display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px;
    padding-bottom: 80px; align-items: flex-start;
}
@media (max-width: 880px) { .diamond-single__grid { grid-template-columns: 1fr; gap: 32px; } }

.diamond-single__title { font-size: 38px; line-height: 1.1; margin: 6px 0 4px; }
.diamond-single__sku { font-size: 12px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.diamond-single__sold-tag { color: var(--ruby); }
.diamond-single__reserved-tag { color: var(--gold-2); }

.diamond-price-block { margin: 24px 0; padding: 20px 22px; background: var(--ivory); border-radius: 0; }
.diamond-price-line { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.diamond-price-list { color: var(--muted); text-decoration: line-through; font-size: 16px; }
.diamond-price-sale { font-family: 'Cormorant Garamond', serif; font-size: 36px; color: var(--ink); }
.diamond-price-off {
    background: var(--ink); color: var(--ivory);
    padding: 4px 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.diamond-price-note { margin-top: 6px; font-size: 12px; color: var(--muted); }

.diamond-spec-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 32px;
    margin: 28px 0; padding: 0;
}
.diamond-spec-grid > div { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.diamond-spec-grid dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.diamond-spec-grid dd { margin: 0; font-size: 16px; color: var(--ink); }

.diamond-single__cta { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.diamond-single__cta .btn { flex: 1; min-width: 200px; }

.diamond-single__trust { margin-top: 40px; display: grid; gap: 20px; padding-top: 32px; border-top: 1px solid var(--line); }
.diamond-single__trust-item { display: flex; gap: 16px; align-items: flex-start; }

.setting-shape-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
    font-size: 12px; letter-spacing: .04em;
}

/* ---------- Media area: tabs + gallery + 360 panel ---------- */
.diamond-media-tabs {
    display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 16px;
}
.diamond-media-tab {
    background: none; border: 0; padding: 14px 22px;
    font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
    color: var(--muted); cursor: pointer;
    border-bottom: 2px solid transparent;
    text-decoration: none;
}
.diamond-media-tab:hover { color: var(--ink); }
.diamond-media-tab.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.diamond-media-tab--link { margin-inline-start: auto; color: var(--gold-2); }
.diamond-media-tab--link:hover { color: var(--gold-2); border-bottom-color: var(--gold); }

.diamond-media-panel { display: none; }
.diamond-media-panel.is-active { display: block; }

.diamond-gallery { display: grid; grid-template-columns: 1fr; gap: 12px; }
.diamond-gallery__main {
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #F8F4EC, #E6DCC8);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.diamond-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.diamond-gallery__thumbs {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px;
}
.diamond-gallery__thumb {
    aspect-ratio: 1/1; border: 1px solid var(--line); padding: 0; background: var(--ivory);
    cursor: pointer; overflow: hidden;
}
.diamond-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.diamond-gallery__thumb.is-active { border-color: var(--gold); border-width: 2px; }
.diamond-gallery__thumb:hover { border-color: var(--ink-2); }

.diamond-gallery--placeholder { position: relative; }
.diamond-gallery--placeholder .dclb-placeholder {
    aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.diamond-gallery__placeholder-caption {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
}

.dclb-placeholder { display: flex; align-items: center; justify-content: center; }

/* ============================================================
   Page default
   ============================================================ */
.page-default__header { padding: 64px 0 48px; }
@media (max-width: 880px) { .page-default__header h1 { font-size: 36px !important; } }

/* ============================================================
   Diamond video (rotating mp4 in the 360° tab)
   ============================================================ */
.diamond-video { display: grid; gap: 12px; }
.diamond-video__player {
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #F8F4EC, #E6DCC8);
    object-fit: cover;
    display: block;
}
.diamond-video__angles {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.diamond-video__angle {
    flex: 1 1 0; min-width: 0;
    padding: 10px 14px;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink-2);
    font-family: inherit;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color .15s, color .15s;
}
.diamond-video__angle:hover { border-color: var(--ink-2); color: var(--ink); }
.diamond-video__angle.is-active { border-color: var(--gold); color: var(--ink); border-width: 2px; padding: 9px 13px; }

/* ---- site-nav dropdowns ---- */
.site-nav__list > li { position: relative; }
.site-nav__list li.menu-item-has-children > a::after { content: "\25BE"; font-size: 9px; margin-left: 6px; color: var(--muted); }
.site-nav__list .sub-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); min-width: 230px; background: #fff; border: 1px solid var(--line, #e5e0d6); box-shadow: 0 14px 38px rgba(27,25,21,.10); padding: 10px 0; margin: 0; list-style: none; opacity: 0; visibility: hidden; transition: opacity .16s ease, transform .16s ease; z-index: 90; }
.site-nav__list li:hover > .sub-menu,
.site-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.site-nav__list .sub-menu li { display: block; }
.site-nav__list .sub-menu a { display: block; padding: 9px 22px; font-size: 13.5px; border-bottom: 0; white-space: nowrap; color: var(--ink-2); }
.site-nav__list .sub-menu a:hover { color: var(--ink); background: var(--paper-2, #faf8f3); }
@media (max-width: 900px) {
  .site-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; padding: 0 0 6px; background: transparent; }
  .site-nav__list .sub-menu a { padding: 12px 28px 12px 46px; font-size: 16px; }
  .site-nav__list li.menu-item-has-children > a::after { content: ""; }
}

.featured-card--bespoke { border: 1.5px dashed var(--gold-2, #b08d2f); background: var(--paper-2, #faf8f3); }
.site-nav__list .dropdown-menu-toggle { display: none; }

/* ---- education hub + journal ---- */
.edu-guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 26px 0; }
.edu-guide { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line, #e5e0d6); background: #fff; }
.edu-guide:hover { box-shadow: 0 10px 28px rgba(27,25,21,.07); }
.edu-guide__title { font-size: 19px; }
.edu-guide__desc { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.55; }
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.edu-card { display: flex; flex-direction: column; border: 1px solid var(--line, #e5e0d6); background: #fff; }
.edu-card:hover { box-shadow: 0 12px 32px rgba(27,25,21,.08); }
.edu-card__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.edu-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.edu-card__title { font-size: 20px; line-height: 1.25; }
.edu-card__excerpt { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.edu-card__more { font-size: 12.5px; letter-spacing: .06em; color: var(--gold-2, #b08d2f); margin-top: auto; }
.edu-pagination { text-align: center; margin-top: 38px; }
.edu-pagination .page-numbers { padding: 8px 13px; border: 1px solid var(--line, #e5e0d6); margin: 0 3px; color: var(--ink-2); }
.edu-pagination .page-numbers.current { background: var(--ink, #1a1a1a); color: #fff; }
.journal-article__title { font-size: 44px; line-height: 1.12; margin-top: 14px; }
.journal-article__hero img { width: 100%; max-height: 420px; object-fit: cover; display: block; margin: 26px 0 6px; }
.journal-article__body { font-size: 16.5px; line-height: 1.8; color: var(--ink-2); padding: 22px var(--gutter) 8px; }
.journal-article__body h2 { font-family: 'Cormorant Garamond', serif; font-size: 29px; color: var(--ink); margin: 36px 0 12px; line-height: 1.2; }
.journal-article__body h3 { font-size: 17px; color: var(--ink); margin: 24px 0 6px; }
.journal-article__body ul, .journal-article__body ol { padding-left: 22px; margin: 14px 0; }
.journal-article__body li { margin: 7px 0; }
.journal-article__body a { color: var(--gold-2, #b08d2f); text-decoration: underline; text-underline-offset: 3px; }
.journal-cta { text-align: center; border: 1px solid var(--gold-2, #b08d2f); background: var(--paper-2, #faf8f3); padding: 34px 28px; margin: 34px 0 10px; }
@media (max-width: 900px) { .edu-guides, .edu-grid { grid-template-columns: 1fr; } .journal-article__title { font-size: 32px; } }

/* ---- design-v2: photography + polish ---- */
.home-hero__photo { position: relative; height: 100%; min-height: 460px; overflow: hidden; }
.home-hero__photo img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; object-position: 60% 35%; display: block; }
.home-atelier { position: relative; overflow: hidden; }
.home-atelier > div:first-child { position: relative; z-index: 2; }
.home-atelier__photo { position: absolute; inset: 0; z-index: 0; }
.home-atelier__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: .55; display: block; }
.home-atelier__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #14120e 0%, rgba(20, 18, 14, .92) 38%, rgba(20, 18, 14, .35) 75%, rgba(20, 18, 14, .55) 100%); }
.home-story__photo { position: relative; }
.home-story__photo img { width: 100%; max-width: 470px; aspect-ratio: 4/3.4; object-fit: cover; display: block; box-shadow: 0 24px 60px rgba(27, 25, 21, .14); }
.home-story__photo::after { content: ""; position: absolute; top: 18px; left: 18px; right: -18px; bottom: -18px; border: 1px solid var(--gold-2, #b08d2f); z-index: -1; max-width: 470px; }
/* product stills shot on gray — blend into the ivory theme */
.featured-card__media { background: var(--paper-2, #faf8f3); }
.featured-card__media img { mix-blend-mode: multiply; }
.diamond-gallery__main { background: var(--paper-2, #faf8f3); }
.diamond-gallery__main img { mix-blend-mode: multiply; }
.diamond-gallery__thumb img { mix-blend-mode: multiply; }
.rb-review-media figure { background: var(--paper-2, #faf8f3); }
.rb-review-media img { mix-blend-mode: multiply; }
.edu-card__media { background: var(--paper-2, #faf8f3); }
.edu-card__media img { mix-blend-mode: multiply; }
/* card hover polish */
.featured-card, .edu-card, .rb-setting-card { transition: box-shadow .22s ease, transform .22s ease; }
.featured-card:hover, .edu-card:hover, .rb-setting-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(27, 25, 21, .10); }
.btn { transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease; }
.btn:active { transform: scale(.985); }
@media (max-width: 900px) {
  .home-hero__photo, .home-hero__photo img { min-height: 340px; }
  .home-story__photo::after { display: none; }
  .home-atelier__photo img { opacity: .35; }
}
.edu-banner { position: relative; max-height: 340px; overflow: hidden; }
.edu-banner img { width: 100%; height: 340px; object-fit: cover; object-position: 50% 38%; display: block; }
.edu-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,14,.18), rgba(20,18,14,.45)); }
.edu-banner__line { position: absolute; left: 0; right: 0; bottom: 34px; text-align: center; color: #f7f2ea; font-size: 30px; font-style: italic; z-index: 2; margin: 0; text-shadow: 0 2px 18px rgba(0,0,0,.45); }

/* ---- editorial prose for content pages ---- */
.page-prose { font-size: 16.5px; line-height: 1.8; color: var(--ink-2); }
.page-prose .lead { font-size: 19px; line-height: 1.7; color: var(--ink); font-family: 'Cormorant Garamond', serif; }
.page-prose h2 { font-family: 'Cormorant Garamond', serif; font-size: 29px; color: var(--ink); margin: 36px 0 12px; line-height: 1.2; }
.page-prose ul, .page-prose ol { padding-left: 22px; margin: 14px 0; }
.page-prose li { margin: 7px 0; }
.page-prose a { color: var(--gold-2, #b08d2f); text-decoration: underline; text-underline-offset: 3px; }
.page-prose img { width: 100%; height: auto; margin: 26px 0 10px; display: block; box-shadow: 0 18px 44px rgba(27,25,21,.12); }
/* inline article/page figures (2026-06-17) */
.page-prose figure, .journal-article__body figure { margin: 30px auto 18px; max-width: 520px; }
.page-prose figure img, .journal-article__body figure img { width: 100%; height: auto; display: block; margin: 0; box-shadow: 0 18px 44px rgba(27,25,21,.12); }
.journal-article__body img { width: 100%; height: auto; display: block; margin: 26px 0 10px; box-shadow: 0 18px 44px rgba(27,25,21,.12); }
.page-prose figcaption, .journal-article__body figcaption { font-size: .82rem; line-height: 1.5; color: var(--muted); margin-top: 11px; text-align: center; font-style: italic; }
@media (max-width: 600px){ .page-prose figure, .journal-article__body figure { max-width: 100%; } }
/* contact cards */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.contact-card { display: flex; flex-direction: column; gap: 10px; padding: 34px 30px; border: 1px solid var(--line, #e5e0d6); background: #fff; text-align: left; }
.contact-card--primary { border-color: var(--gold-2, #b08d2f); background: var(--paper-2, #faf8f3); }
.contact-card:hover { box-shadow: 0 14px 36px rgba(27,25,21,.09); }
.contact-card__h { font-size: 23px; color: var(--ink); }
.contact-card__d { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.contact-card__cta { margin-top: auto; padding-top: 12px; font-size: 13px; letter-spacing: .05em; color: var(--gold-2, #b08d2f); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- mobile nav drawer (toggle, bars, close; drawer itself in style.css) ---- */
.site-nav-toggle { background: none; border: 0; padding: 8px 4px; margin: 0; cursor: pointer; color: var(--ink, #1a1a1a); align-items: center; }
.site-nav-toggle__bars { display: block; width: 22px; height: 13px; position: relative; }
.site-nav-toggle__bars span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
.site-nav-toggle__bars span:nth-child(1) { top: 0; }
.site-nav-toggle__bars span:nth-child(2) { top: 6px; }
.site-nav-toggle__bars span:nth-child(3) { top: 12px; }
body.nav-open .site-nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .site-nav-toggle__bars span:nth-child(2) { opacity: 0; }
body.nav-open .site-nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.site-nav__close { position: absolute; top: 18px; right: 22px; z-index: 2; background: none; border: 0; font-size: 26px; line-height: 1; color: var(--ink-2, #555); cursor: pointer; }
/* .site-nav-backdrop display controlled in style.css */

.rb-setting-card__media { position: relative; display: block; }
.rb-setting-card__media .dclb-placeholder { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.rb-setting-card__soon { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.home-shape-row__cell.is-active { color: var(--gold-2, #b08d2f); }
.home-shape-row__cell.is-active span { color: var(--gold-2, #b08d2f); font-weight: 600; }

/* ---- shortlist + features v3 ---- */
.sl-toggle { position: absolute; top: 10px; right: 10px; z-index: 3; width: 34px; height: 34px; min-width: 34px; max-width: 34px; min-height: 34px; max-height: 34px; box-sizing: border-box; border-radius: 50%; border: 1px solid var(--line, #e5e0d6); background: rgba(255,255,255,.92); color: #c9c4ba; font-size: 16px; line-height: 1 !important; padding: 0 !important; cursor: pointer; transition: color .15s, transform .15s, border-color .15s; display: flex; align-items: center; justify-content: center; }
.sl-toggle:hover { transform: scale(1.08); color: var(--gold-2, #b08d2f); }
.sl-toggle.is-saved { color: var(--gold-2, #b08d2f); border-color: var(--gold-2, #b08d2f); }
.sl-toggle--inline { position: static; display: inline-flex; vertical-align: middle; margin-left: 10px; width: 38px; height: 38px; }
.linkbtn--shortlist { position: relative; }
.sl-count { position: absolute; top: -7px; right: -9px; min-width: 17px; height: 17px; border-radius: 999px; background: var(--gold-2, #b08d2f); color: #fff; font-size: 10.5px; font-weight: 600; align-items: center; justify-content: center; padding: 0 4px; }
.sl-item { display: flex; align-items: center; gap: 18px; border: 1px solid var(--line, #e5e0d6); background: #fff; padding: 14px 18px; margin-bottom: 14px; }
.sl-item__media img { width: 72px; height: 72px; object-fit: cover; display: block; mix-blend-mode: multiply; background: var(--paper-2, #faf8f3); }
.sl-item__body { flex: 1; min-width: 0; }
.sl-item__title { font-size: 18px; color: var(--ink); text-decoration: none; }
.sl-item__meta { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.sl-item__remove { position: static; font-size: 18px; color: var(--muted); }
.sl-item__remove:hover { color: #b3261e; }
/* metal preview — real per-metal photo swap (no tint) */
#rb-setting-fig img { transition: opacity .25s ease; }
#rb-setting-fig.is-swapping img { opacity: .25; }
/* single ring-setting page: viewer frame matches the diamond gallery main (cross-page consistency) */
.diamond-single__media #rb-setting-fig { margin: 0; aspect-ratio: 1/1; background: linear-gradient(135deg, #F8F4EC, #E6DCC8); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.diamond-single__media #rb-setting-fig img { width: 100%; height: 100%; object-fit: cover; }
.diamond-single__media .rb-views { margin-top: 12px; justify-content: flex-start; }
.rb-metal-pick-wrap { margin-top: 18px; }
/* setting view thumbnails — different angles of the ring */
.rb-views { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 16px 0 0; }
.rb-view { width: 66px; height: 66px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.rb-view img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rb-view:hover { border-color: var(--gold-2); }
.rb-view.is-active { border-color: var(--gold-2); box-shadow: 0 0 0 1px var(--gold-2); }
@media (max-width: 560px) { .rb-view { width: 58px; height: 58px; } }
/* prose tables (ring size guide) */
.page-prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.page-prose th, .page-prose td { border: 1px solid var(--line, #e5e0d6); padding: 9px 12px; text-align: center; }
.page-prose th { background: var(--paper-2, #faf8f3); font-weight: 600; color: var(--ink); }

/* ---- features-v4: polish ---- */
.sl-toggle svg { display: block; margin: 0 auto; }
.diamond-single__info { position: relative; }
.sl-toggle--corner { position: absolute !important; top: 0; right: 0; width: 40px; height: 40px; min-width: 40px; max-width: 40px; min-height: 40px; max-height: 40px; }

/* mobile: prevent media column min-content overflow */
@media (max-width: 782px) {
  .diamond-single__grid { grid-template-columns: minmax(0, 1fr) !important; }
  .diamond-single__media, .diamond-single__info { min-width: 0; max-width: 100%; }
}

/* ---- engagement-rings filter + sort bar (Blue-Nile style) ---- */
.rb-filterbar-wrap { border-bottom: 1px solid var(--line, #e5e0d6); background: #fff; }
.rb-filterbar { display: flex; align-items: center; gap: 16px; padding: 12px var(--gutter, 24px); flex-wrap: wrap; max-width: var(--max); margin: 0 auto; }
.rb-filterbar__groups { display: flex; gap: 10px; flex-wrap: wrap; }
.rb-filterbar__right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.rb-count { font-size: 12.5px; color: var(--muted, #8a857c); letter-spacing: .04em; white-space: nowrap; }
.rb-fdrop { position: relative; }
.rb-fdrop > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line, #ddd); background: #fff; font-size: 13px; color: var(--ink, #1a1a1a); white-space: nowrap; user-select: none; }
.rb-fdrop > summary::-webkit-details-marker { display: none; }
.rb-fdrop > summary em { font-style: normal; color: var(--gold-2, #b08d2f); }
.rb-fdrop[open] > summary { border-color: var(--ink, #1a1a1a); }
.rb-caret { font-size: 9px; transition: transform .18s; }
.rb-fdrop[open] .rb-caret { transform: rotate(180deg); }
.rb-fdrop__menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; background: #fff; border: 1px solid var(--line, #e5e0d6); box-shadow: 0 16px 40px rgba(27,25,21,.12); padding: 8px 0; z-index: 60; max-height: 64vh; overflow-y: auto; }
.rb-fdrop__menu--right { left: auto; right: 0; }
.rb-fopt { display: flex; align-items: center; gap: 10px; padding: 9px 18px; font-size: 13px; color: var(--ink-2, #555); text-decoration: none; white-space: nowrap; }
.rb-fopt:hover { background: var(--paper-2, #faf8f3); color: var(--ink, #1a1a1a); }
.rb-fopt.is-active { color: var(--gold-2, #b08d2f); font-weight: 600; }
.rb-activefilters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 0 var(--gutter, 24px) 12px; max-width: var(--max); margin: 0 auto; }
.rb-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--ink, #1a1a1a); color: #fff; font-size: 12px; text-decoration: none; }
.rb-pill span { opacity: .7; }
.rb-clear { font-size: 12px; color: var(--muted, #8a857c); text-decoration: underline; text-underline-offset: 2px; }
/* inline filter bar on the Build-Your-Ring setting step (reuses the archive's controls) */
.rb-setting-filterbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 0; margin: 6px 0 26px; border-block: 1px solid var(--line, #e5e0d6); }
@media (max-width: 782px) {
  .rb-filterbar__groups { width: 100%; }
  .rb-fdrop { flex: 1 1 30%; }
  .rb-fdrop > summary { width: 100%; justify-content: space-between; }
  .rb-filterbar__right { width: 100%; justify-content: space-between; margin-left: 0; }
  .rb-fdrop__menu { min-width: 0; width: max-content; max-width: 90vw; }
}

/* ---- site search form (search.php) ---- */
.site-search-form { display:flex; gap:10px; max-width:540px; margin:26px auto 0; }
.site-search-form input[type=search] { flex:1; min-width:0; padding:12px 16px; border:1px solid var(--line,#e5e0d6); background:#fff; font-size:15px; color:var(--ink); border-radius:0; -webkit-appearance:none; }
.site-search-form input[type=search]:focus { outline:none; border-color:var(--gold-2,#b08d2f); }
.site-search-form .btn { white-space:nowrap; }
@media (max-width:560px){ .site-search-form{ flex-direction:column; } }

/* ---- featured-snippet answer box + article tables ---- */
.qa-box { background: var(--paper-2,#faf8f3); border-left: 3px solid var(--gold-2,#b08d2f); padding: 14px 20px; margin: 22px 0; }
.qa-box p { margin: 0; font-size: 15.5px; color: var(--ink); line-height: 1.62; }
.journal-article__body table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14.5px; }
.journal-article__body th, .journal-article__body td { border: 1px solid var(--line,#e5e0d6); padding: 9px 12px; text-align: left; vertical-align: top; }
.journal-article__body th { background: var(--paper-2,#faf8f3); font-weight: 600; color: var(--ink); }
@media (max-width:560px){ .journal-article__body table { font-size: 13px; } .journal-article__body th, .journal-article__body td { padding: 7px 9px; } }

/* ---- mobile tap targets: enlarge header icons + hamburger to ~40px (Apple HIG) ---- */
@media (max-width: 900px) {
  .site-header__right .linkbtn { padding: 11px; }
  .site-nav-toggle { padding: 12px 10px; }
}

/* --- Conversion: decision-point reassurance strip (2026-06-22) --- */
.dclb-reassure { list-style:none; margin:14px 0 2px; padding:0; display:flex; flex-wrap:wrap; gap:7px 18px; }
.dclb-reassure li { display:flex; align-items:center; gap:6px; font-size:12.5px; color:var(--ink-2,#555); line-height:1.3; }
.dclb-reassure__tick { color:var(--gold-2); font-weight:700; font-size:13px; flex:none; }
