/* Hopscotch 2.0: brand layer over Loom 2.0. Live reference look: white, ink #333,
   Hopscotch red #a01f23 for sale/accents, Outfit headings, Nunito Sans body, square edges. */
:root {
    --rv-ink: #333333;
    --rv-red: #a01f23;
    --rv-yellow: #ffd700;
    --rv-teal: #00857c;
    --rv-grey: #f2f2f2;
    --rv-line: #e6e6e6;
    --rv-head: "Outfit", "Nunito Sans", system-ui, sans-serif;
    --rv-body: "Nunito Sans", system-ui, sans-serif;
}
body[data-hopscotch] {
    --vo-font: var(--rv-body);
    --vo-text: var(--rv-ink);
    --vo-sale: var(--rv-red);
    --lo-heading-font: var(--rv-head);
    font-family: var(--rv-body);
    color: var(--rv-ink);
}
body[data-hopscotch] :is(h1, h2, h3, h4, .vo-heading, .vo-h1, .vo-h2) { font-family: var(--rv-head); letter-spacing: 0; }
body[data-hopscotch] img { max-width: 100%; }

/* Shared */
.rv-title {
    font-family: var(--rv-head);
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
    letter-spacing: .06em;
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 8px;
    color: var(--rv-ink);
}
.rv-arrows { display: flex; gap: 6px; justify-content: flex-end; }
.rv-arrow { background: none; border: 0; color: var(--rv-ink); cursor: pointer; font-size: 34px; line-height: 1; padding: 0 6px; }
.rv-arrow:hover { color: var(--rv-red); }
[data-rv-scroller] { scrollbar-width: none; }
[data-rv-scroller]::-webkit-scrollbar { display: none; }

/* Header: centred wordmark, uppercase menu row */
body[data-hopscotch] .vo-header :is(img, svg)[class*="logo"], body[data-hopscotch] [class*="vo-logo"] img { max-height: 30px; width: auto; }

/* Shop by age */
.rv-segments { padding: 12px 0 0; }
.rv-segments__list { display: grid; grid-template-columns: repeat(var(--rv-cols, 4), minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; }
.rv-segments__item a { display: block; position: relative; overflow: hidden; color: #fff; text-decoration: none; }
.rv-segments__media { display: block; aspect-ratio: 600 / 985; background: var(--rv-grey); }
.rv-segments__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.rv-segments__item a:hover img { transform: scale(1.04); }
.rv-segments__label {
    position: absolute; left: 0; right: 0; bottom: 18px; text-align: center;
    font-family: var(--rv-head); font-size: clamp(14px, 1.6vw, 22px); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}

/* Campaign banner */
.rv-banner { display: block; position: relative; overflow: hidden; margin: 12px 0; color: #fff; text-decoration: none; }
.rv-banner img { display: block; width: 100%; aspect-ratio: var(--rv-banner-ratio, 1920 / 850); object-fit: cover; }
.rv-banner__copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.rv-banner--bottom .rv-banner__copy { justify-content: flex-end; padding-bottom: 8%; }
.rv-banner__heading { font-family: var(--rv-head); font-size: clamp(28px, 5vw, 64px); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.rv-banner__sub { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* Categories in focus (Loom editorial rail) */
body[data-hopscotch] [data-section-type="featured-collection"] .vo-h2,
body[data-hopscotch] .vo-featured-collection .vo-h2 { text-transform: uppercase; }
body[data-hopscotch] .vo-view-all, body[data-hopscotch] a[class*="view-all"] {
    border: 1px solid var(--rv-ink); color: var(--rv-ink); display: inline-flex; font-size: 11px; font-weight: 700; letter-spacing: .08em;
    padding: 10px 16px; text-decoration: none; text-transform: uppercase;
}
body[data-hopscotch] a[class*="view-all"]:hover { background: var(--rv-ink); color: #fff; }

/* Product cards: square, grey media, uppercase name, red sale price, black/teal badges */
body[data-hopscotch] :is(.vo-card, .vo-product-card) { border-radius: 0; }
body[data-hopscotch] :is(.vo-card-media, .vo-product-card-media, [class*="card-media"]) { background: #efefef; border-radius: 0; }
body[data-hopscotch] :is(.vo-card-title, .vo-product-card-title, [class*="product-name"]) {
    font-family: var(--rv-body); font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--rv-ink);
}
body[data-hopscotch] :is(.vo-price-sale, [class*="price--sale"], .vo-sale-price) { color: var(--rv-red); }
body[data-hopscotch] :is(.vo-badge, [class*="discount-badge"], [class*="badge--sale"]) {
    background: #222; border-radius: 0; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 6px;
}

/* Split tiles */
.rv-split { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; margin: 12px 0; }
.rv-split__tile { position: relative; display: block; overflow: hidden; background: #ddd; aspect-ratio: 1200 / 936; }
.rv-split__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.rv-split__tile:hover img { transform: scale(1.03); }
.rv-split__label {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    color: #fff; font-family: var(--rv-head); font-size: clamp(14px, 1.5vw, 20px); font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; border-bottom: 2px solid #fff; padding-bottom: 2px; white-space: nowrap;
}

/* Reels */
.rv-reels { padding: 40px 0 12px; }
.rv-reels__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 8px) / 5); gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 16px; }
.rv-reels__item { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; scroll-snap-align: start; background: #222; }
.rv-reels__item img { width: 100%; height: 100%; object-fit: cover; }
.rv-reels__item::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
    background: rgba(255, 255, 255, .85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%23333'/%3E%3C/svg%3E") center / 24px no-repeat;
    opacity: 0; transition: opacity .2s;
}
.rv-reels__item:hover::after { opacity: 1; }
.rv-reels__caption { position: absolute; left: 12px; right: 12px; bottom: 12px; color: #fff; font-weight: 700; font-size: 13px; }

/* Retail locations */
.rv-locations { padding: 48px 0 24px; }
.rv-locations__head { display: grid; gap: 6px; padding: 0 16px; }
.rv-locations__text { text-align: center; margin: 0; font-size: 14px; }
.rv-locations__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 10px) / 6); gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory; list-style: none; margin: 8px 0 0; padding: 0; }
.rv-locations__city { scroll-snap-align: start; }
.rv-locations__city a { color: var(--rv-ink); display: block; text-decoration: none; }
.rv-locations__media { display: block; aspect-ratio: 4 / 3; background: var(--rv-grey); overflow: hidden; }
.rv-locations__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .3s; }
.rv-locations__city a:hover img { filter: none; }
.rv-locations__name { display: block; font-family: var(--rv-head); font-size: 16px; letter-spacing: .08em; margin: 10px 8px 0; text-transform: uppercase; }
.rv-locations__count { display: block; font-size: 10px; margin: 2px 8px 0; text-transform: uppercase; }

/* Newsletter */
.rv-newsletter { padding: 40px 16px 24px; text-align: center; }
.rv-newsletter__text { font-size: 15px; margin: 0 0 20px; }
.rv-newsletter__form { display: flex; margin: 0 auto; max-width: 360px; border-bottom: 1px solid var(--rv-ink); }
.rv-newsletter__form input { flex: 1; border: 0; background: none; font: inherit; font-size: 14px; padding: 10px 0; outline: none; }
.rv-newsletter__form button { background: none; border: 0; color: var(--rv-ink); cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* Values */
.rv-values__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0 auto; max-width: 1100px; padding: 32px 16px; text-align: center; }
.rv-values__item img { margin: 0 auto 10px; height: 44px; width: auto; }
.rv-values__title { color: var(--rv-value-color); font-family: var(--rv-head); font-size: clamp(16px, 1.6vw, 22px); margin: 0; text-transform: uppercase; }
.rv-values__text { color: var(--rv-value-color); font-size: 12px; font-weight: 600; margin: 4px 0 0; text-transform: uppercase; }

/* Story */
.rv-story { margin: 0 auto; max-width: 1400px; padding: 40px 48px 32px; font-size: 14px; line-height: 1.7; }
.rv-story__heading { font-family: var(--rv-head); font-size: 16px; font-weight: 600; letter-spacing: .04em; margin: 0 0 16px; text-transform: uppercase; }
.rv-story__body { max-height: 7.2em; overflow: hidden; position: relative; }
.rv-story__body.is-open { max-height: none; }
.rv-story__body:not(.is-open)::after { content: ""; position: absolute; inset: auto 0 0; height: 2.4em; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.rv-story__more { background: none; border: 0; cursor: pointer; font-weight: 700; font-size: 13px; padding: 6px 0; }

/* Footer */
.rv-footer { background: #333333; color: #fff; font-size: 13px; }
.rv-footer a { color: #fff; text-decoration: none; }
.rv-footer a:hover { text-decoration: underline; }
.rv-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; margin: 0 auto; max-width: 1440px; padding: 48px 40px 32px; }
.rv-footer__heading { font-family: var(--rv-head); font-size: 22px; font-weight: 600; letter-spacing: .04em; list-style: none; margin: 0 0 18px; text-transform: uppercase; }
.rv-footer__heading::-webkit-details-marker { display: none; }
.rv-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-weight: 700; }
.rv-footer__contact li { display: flex; gap: 8px; align-items: flex-start; }
.rv-ico { flex: 0 0 14px; height: 14px; margin-top: 3px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.rv-ico--pin { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5z'/%3E%3C/svg%3E"); }
.rv-ico--mail { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 5h20v14H2zm2 2v.5l8 5 8-5V7l-8 5z'/%3E%3C/svg%3E"); }
.rv-ico--phone { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.6 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.6 3.6a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.rv-ico--clock { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 10.4 3.5 2-1 1.7L11 13V6h2z'/%3E%3C/svg%3E"); }
.rv-ico--chat { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2z'/%3E%3C/svg%3E"); }
.rv-footer__thanks { font-weight: 700; line-height: 1.5; margin: 0 0 16px; }
.rv-footer__social { display: flex !important; gap: 10px !important; }
.rv-social { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #333; font-weight: 800; font-size: 13px; text-transform: uppercase; }
.rv-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .15); padding: 16px 40px; text-align: center; font-size: 12px; color: rgba(255, 255, 255, .75); }
.rv-footer__bottom p { margin: 0; }

/* Phones */
@media (max-width: 749px) {
    .rv-segments__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rv-banner img { aspect-ratio: var(--rv-banner-mobile-ratio, 3 / 4); }
    .rv-split { grid-auto-flow: row; }
    .rv-reels__track { grid-auto-columns: 46%; }
    .rv-locations__track { grid-auto-columns: 44%; }
    .rv-values__list { grid-template-columns: 1fr; gap: 28px; }
    .rv-story { padding: 28px 16px; }
    .rv-footer__grid { grid-template-columns: 1fr; gap: 8px; padding: 32px 20px 16px; }
    .rv-footer__menu { border-top: 1px solid rgba(255, 255, 255, .15); padding: 14px 0; }
    .rv-footer__menu .rv-footer__heading { cursor: pointer; display: flex; justify-content: space-between; font-size: 18px; margin: 0; }
    .rv-footer__menu .rv-footer__heading::after { content: "+"; }
    .rv-footer__menu[open] .rv-footer__heading::after { content: "−"; }
    .rv-footer__menu ul { margin-top: 14px; }
    .rv-footer__heading { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .rv-segments__media img, .rv-split__tile img { transition: none; }
}

/* Footer headings stay white over Loom's heading colour */
body[data-hopscotch] .rv-footer .rv-footer__heading { color: #fff; }
/* Categories in focus: spotlight image left, one-row rail right (live layout) */
body[data-hopscotch] .vo-brand-spotlight { gap: 0; }
body[data-hopscotch] .vo-brand-spotlight > img { object-fit: cover; }
body[data-hopscotch] .vo-catalog .vo-h2, body[data-hopscotch] .vo-catalog [class*="collection-header"] h2 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; text-transform: uppercase; line-height: 1.1; }
@media (min-width: 750px) {
    body[data-hopscotch] .vo-brand-spotlight { grid-template-columns: minmax(0, 30fr) minmax(0, 70fr); align-items: center; }
    body[data-hopscotch] .vo-brand-spotlight > img { border-radius: 0; aspect-ratio: 4 / 5; }
}
body[data-hopscotch] .vo-brand-spotlight > img { border-radius: 0; }
