/* RV STORE 0.6 — editorial storefront in the existing green palette. */
:root {
  --green: #102b24;
  --wine: #102b24;
  --wine-dark: #254b3e;
  --ink: #142b22;
  --page: #f4f6f2;
  --cream: #f4f6f2;
  --paper: #fff;
  --muted: #68776f;
  --line: #dfe5df;
  --serif: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
html { scroll-padding-top: 90px; }
body { font-size: 14px; }
.store-announcement { background: var(--green); color: #dbe7dc; padding: 9px 24px; text-align: center; font-size: 9px; letter-spacing: .14em; font-weight: 600; }
.store-announcement span { margin-left: 28px; opacity: .6; }
.app-shell { max-width: 1440px; padding-bottom: 80px; }
.site-header { height: 84px; padding: 18px 40px; background: #f4f6f2f5; backdrop-filter: blur(16px); }
.brand-lockup { gap: 8px; }
.brand-mark { font-family: var(--sans); font-size: 36px; font-weight: 850; letter-spacing: -.09em; background: none; color: var(--green); width: auto; height: auto; padding: 0; border-radius: 0; }
.brand-copy { border-left: 1px solid #aebbb0; padding-left: 10px; gap: 4px; }
.brand-copy strong { font-size: 21px; font-weight: 750; letter-spacing: -.035em; }
.brand-copy small { font-size: 6px; letter-spacing: .06em; }
.header-actions { gap: 4px; }
.icon-button { background: none; border: 0; border-radius: 0; width: 44px; height: 44px; color: var(--green); }
.hero { margin: 0; min-height: 465px; grid-template-columns: 1.2fr 1fr; border-radius: 0; box-shadow: none; background: var(--green); padding-bottom: 43px; }
.hero-info { padding: 68px 48px 58px; }
.hero .eyebrow { color: #b9cdbb; letter-spacing: .15em; font-size: 10px; }
.hero h1 { font-family: var(--sans); font-weight: 800; font-size: clamp(38px, 5.5vw, 76px); letter-spacing: -.065em; line-height: .99; margin: 27px 0 20px; }
.hero h1 span { color: #b7cbb1; }
.hero p { color: #c6d6ca; margin: 0 0 30px; font-size: 13px; max-width: 350px; line-height: 1.6; }
.hero-cta { border-radius: 0; padding: 14px 18px; background: #f4f6f2; color: var(--green); min-width: 220px; justify-content: space-between; font-size: 12px; min-height: 48px; }
.hero-art { position: relative; inset: auto; width: auto; opacity: 1; min-height: 380px; overflow: hidden; background: repeating-linear-gradient(120deg,transparent,transparent 85px,#ffffff05 86px,#ffffff05 87px); border-left: 1px solid #ffffff16; }
.hero-outline { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-54%) rotate(-12deg); font: 900 clamp(180px,29vw,390px)/.9 var(--sans); letter-spacing: -.15em; padding-right: .16em; color: transparent; -webkit-text-stroke: 1px #8ba992; user-select: none; }
.hero-art::after { content: ''; position: absolute; inset: 24px; border: 1px solid #ffffff13; }
.hero-edition { position: absolute; top: 39px; left: 38px; color: #bbcfbf; letter-spacing: .16em; font-size: 8px; }
.hero-wordmark { position: absolute; bottom: 28px; right: 34px; color: #bbcfbf; letter-spacing: .18em; font-size: 9px; }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid #ffffff25; padding: 14px 48px; display: flex; justify-content: space-between; font-size: 8px; letter-spacing: .15em; color: #b9ccbd; }
.collections, .catalog-section { padding: 38px 40px 0; }
.section-heading { align-items: center; margin-bottom: 18px; }
.section-heading h2 { font: 750 24px/1.1 var(--sans); letter-spacing: -.035em; margin: 0; }
.section-hint { font-size: 11px; margin: 0; }
.collection-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; border: 1px solid var(--line); }
.collection-card { border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; min-height: 100px; display: flex; flex-direction: row; align-items: center; gap: 15px; padding: 19px; }
.collection-card:last-child { border-right: 0; }
.collection-card:hover { background: #e7eee5; transform: none; }
.collection-number { font-size: 10px; color: #85988a; align-self: flex-start; }
.collection-meta { flex: 1; display: flex; flex-direction: column; align-items: start; gap: 5px; }
.collection-meta b { font-size: 14px; font-weight: 650; }
.collection-meta small { display: block; font-size: 10px; color: var(--muted); }
.collection-arrow { font-size: 20px; color: var(--green); }
.catalog-section { padding-top: 48px; }
.catalog-heading { border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 22px; }
.catalog-heading .eyebrow { display: block; margin-bottom: 9px; font-size: 8px; color: var(--muted); letter-spacing: .16em; }
.catalog-heading h2 { font-size: 34px; }
.text-link { color: var(--muted); font-size: 11px; }
.owner-actions { margin: 0; }
.owner-actions:has(button:not([hidden])) { margin-bottom: 16px; gap: 8px; }
.owner-actions #rv-admin-open, .owner-actions #rv-manage-open { margin: 0; border-radius: 0; min-height: 44px; padding: 10px 16px; }
.toolbar { grid-template-columns: minmax(0,1fr) auto; gap: 10px; margin-bottom: 14px; }
.search-field { border-radius: 0; background: transparent; padding: 0 14px; }
.search-field input { height: 46px; font-size: 13px; }
.filter-toggle { display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--green); background: transparent; color: var(--green); padding: 10px 18px; min-height: 48px; font-size: 12px; }
.filter-toggle svg { width: 19px; }
#filter-badge { background: var(--green); color: white; padding: 1px 5px; font-size: 10px; }
.filter-rail { gap: 0; border-bottom: 1px solid var(--line); padding: 0; margin-bottom: 18px; }
.filter-chip { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; color: var(--muted); padding: 12px 16px; font-size: 12px; min-height: 46px; }
.filter-chip.active, .filter-chip.sub.active { background: none; border-color: var(--green); color: var(--green); font-weight: 700; }
.filter-chip:first-child { padding-left: 0; padding-right: 20px; }
.sub-rail { border: 0; margin-bottom: 12px; }
.filter-caption { font-size: 9px; margin: 2px 0 0; }
.results-row { margin: 0 0 20px; }
.results-count, .breadcrumb { font-size: 11px; }
.products-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 30px 16px; }
.product-card { background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.product-media { background: #e8eee7; aspect-ratio: 3/4; }
.product-media img { object-fit: contain; mix-blend-mode: multiply; padding: 10px; }
.product-media-empty { background: #e8eee7; color: #819588; }
.product-media-empty b { font-family: var(--sans); font-size: 66px; font-style: normal; font-weight: 800; letter-spacing: -.1em; padding-right: .1em; color: #b5c7b7; }
.product-media-empty small { color: #6c8272; letter-spacing: .12em; font-size: 8px; }
.product-copy { padding: 15px 0 0; }
.product-category { font-size: 9px; margin-bottom: 6px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.product-name { font: 650 14px/1.4 var(--sans); margin: 0 0 4px; overflow-wrap: anywhere; }
.product-variants { font-size: 11px; color: var(--muted); margin: 0 0 12px; }
.product-price { font-size: 14px; margin-bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.product-price .discount-badge { display: none; }
.old-price { margin-right: 3px; }
.card-action { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 10px 0; text-align: left; font-size: 11px; min-height: 44px; }
.card-action:hover { background: transparent; color: var(--green); border-color: var(--green); }
.heart-btn { top: 9px; right: 9px; background: #f4f6f2e8; border-radius: 0; width: 38px; height: 38px; }
.product-label { top: 12px; left: 12px; border-radius: 0; background: var(--green); color: #fff; font-size: 8px; padding: 5px 7px; }
.product-photos-badge { border-radius: 0; background: #102b24cc; font-size: 9px; bottom: 10px; right: 10px; }
.service-note { margin: 46px 40px 30px; padding: 28px 0; background: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; gap: 25px; }
.service-number { font-size: 34px; }
.service-note strong { font: 700 14px var(--sans); letter-spacing: -.02em; }
.service-note span { max-width: 500px; font-size: 12px; line-height: 1.6; }
.footer { padding: 0 40px 28px; border: 0; font-size: 10px; }
.footer-brand { font: 850 27px var(--sans); letter-spacing: -.06em; }
.bottom-nav { border-radius: 0; box-shadow: 0 -4px 20px #102b2405; padding-top: 9px; background: #f4f6f2fa; }
.bottom-nav .nav-link { position: relative; min-height: 48px; gap: 5px; font-size: 9px; color: #75867a; }
.bottom-nav .nav-link span { font-size: 9px; }
.bottom-nav .nav-link.active { color: var(--green); font-weight: 700; }
.bottom-nav .nav-link.active::before { content: ''; position: absolute; top: -10px; width: 22px; height: 2px; background: var(--green); }
#cart-badge { position: absolute; background: var(--green); color: #fff; top: -3px; left: calc(50% + 4px); min-width: 16px; padding: 1px 4px; border-radius: 12px; font-size: 9px; line-height: 14px; border: 2px solid var(--page); }
.sheet-backdrop { background: #071d17a8; }
.product-sheet { background: var(--page); max-width: 1040px; border-radius: 0; padding-bottom: 0; }
.sheet-grab { display: none; }
.sheet-close { position: sticky; top: 12px; margin: 12px 12px -48px auto; width: 40px; height: 40px; border: 0; border-radius: 0; background: #f4f6f2ed; z-index: 5; }
.sheet-inner { padding: 0; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 0; }
.detail-photo-wrap { grid-column: 1; background: #e8eee7; }
.detail-main-photo { height: min(70dvh,650px); border-radius: 0; background: #e8eee7; padding: 20px; }
.detail-main-photo img { mix-blend-mode: multiply; }
.thumb-row { grid-column: 1; grid-row: 2; margin: 0; padding: 12px 18px 18px; background: #e8eee7; }
.thumb { background: #f4f6f2; border-radius: 0; height: 64px; width: 56px; }
.thumb img { object-fit: contain; mix-blend-mode: multiply; }
.detail-info { grid-column: 2; grid-row: 1 / span 3; padding: 40px 32px 28px; min-width: 0; }
.detail-breadcrumb { font-size: 9px; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 16px; }
.detail-title { font: 750 30px/1.12 var(--sans); letter-spacing: -.045em; margin: 0 0 12px; }
.detail-price { font-size: 21px; margin: 0 0 15px; }
.detail-meta { font-size: 10px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--wine-dark); }
.option-title { font-size: 11px; margin: 23px 0 10px; }
.options-row { gap: 6px; }
.size-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.option-btn { border-radius: 0; min-height: 46px; font-size: 12px; padding: 10px 8px; justify-content: center; }
.option-btn small { font-size: 9px; }
.option-btn.active { background: var(--green); color: #fff; border-color: var(--green); box-shadow: none; }
.color-options .option-btn { padding: 10px 14px; }
.detail-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 26px; }
.detail-actions .secondary-btn { order: initial; }
.primary-btn, .secondary-btn, .btn, .payment-link { border-radius: 0; min-height: 48px; font-size: 12px; }
.text-manager { background: none; border: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 8px; min-height: 40px; font-size: 11px; }
.product-description { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 20px; }
.product-description summary { cursor: pointer; display: flex; justify-content: space-between; padding: 16px 0; font-size: 11px; font-weight: 600; list-style: none; }
.product-description summary::-webkit-details-marker { display: none; }
.product-description[open] summary span { transform: rotate(45deg); }
.product-description .detail-description { font-size: 12px; line-height: 1.8; margin: 0 0 18px; }
.product-link { border: 0; border-radius: 0; text-align: left; padding: 12px 0; background: none; font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }
.detail-note { font-size: 10px; line-height: 1.7; margin-top: 0; }
.gallery-arrow { border: 0; box-shadow: none; border-radius: 0; background: #f4f6f2ed; color: var(--green); }
.gallery-counter { border-radius: 0; background: #102b24c9; font-size: 10px; }
.order-form { max-width: 600px; margin: 0 auto; padding: 55px 24px 24px; }
.order-head h3 { font: 750 27px/1.1 var(--sans); letter-spacing: -.04em; }
.shop-dialog, #rv-admin-dialog { border-radius: 0; padding: 30px 24px; }
.shop-dialog h2, #rv-admin-heading { font-size: 25px; letter-spacing: -.04em; }
.shop-dialog :is(input,select,textarea), #rv-admin-form :is(input,select,textarea) { border-radius: 0; border-color: var(--line); min-height: 46px; }
.filters-dialog { max-width: 470px; }
.filters-dialog h2 { margin-top: 9px; margin-bottom: 28px; }
.filter-fields { display: grid; gap: 22px; }
.filter-fields label { font-size: 12px; font-weight: 600; }
.filter-fields select { margin-top: 5px; font-weight: 400; }
.filter-fields .sale-switch { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); padding-top: 20px; }
.sale-switch input { accent-color: var(--green); width: 20px; min-height: 20px; height: 20px; }
.filter-footer { display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; margin-top: 28px; }
.cart-line { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 18px 0; }
.cart-line:not(:has(.cart-photo)) { grid-template-columns: minmax(0,1fr) auto; }
.cart-photo { width: 58px; height: 78px; object-fit: contain; background: #e8eee7; }
.cart-item-info { min-width: 0; }
.cart-item-info strong { display: block; font-size: 12px; font-weight: 600; line-height: 1.6; }
.cart-item-info .meta { margin-top: 5px; font-size: 11px; }
.quantity { gap: 3px; }
.quantity button { background: none; border: 0; border-radius: 0; font-size: 17px; min-width: 28px; min-height: 40px; padding: 4px; }
.quantity button:last-child { color: var(--muted); }
.cart-summary { font-size: 18px; border-top: 1px solid var(--green); padding: 20px 0; }
.phone-registration, .checkout-privacy { font-size: 11px; line-height: 1.7; }
#checkout-form h3 { margin: 25px 0 16px; }
.checkout-privacy { color: var(--muted); }
.manage-tabs button, .owner-actions button, .archive-button, .manage-row, .order-history-row, .report-card { border-radius: 0; box-shadow: none; }
.empty strong { font: 750 25px var(--sans); letter-spacing: -.04em; }
.toast, #cart-toast { border-radius: 0; background: var(--green); bottom: 92px; }
@media(min-width:761px) { .collection-list:has(.collection-card:nth-child(2):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) {
  .site-header { height: 72px; padding: 12px 22px; }
  .hero { min-height: 350px; grid-template-columns: minmax(0,1fr) 34%; }
  .hero-info { padding: 42px 24px; }
  .hero h1 { font-size: 43px; }
  .hero-art { position: relative; width: auto; opacity: 1; min-height: 300px; }
  .hero-outline { font-size: 230px; }
  .hero-edition { left: 16px; top: 25px; font-size: 6px; }
  .hero-wordmark { font-size: 6px; right: 15px; }
  .hero-art::after { inset: 14px; }
  .hero-bottom { padding-inline: 24px; }
  .collections, .catalog-section { padding-inline: 22px; }
  .collection-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .collection-card { padding: 17px 14px; gap: 10px; min-height: 87px; }
  .products-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 14px; }
  .service-note { margin-inline: 22px; }
  .footer { padding-inline: 22px; }
  .sheet-inner { display: block; }
  .detail-main-photo { height: min(48dvh,440px); padding: 18px; }
  .detail-info { padding: 26px 22px max(30px,env(safe-area-inset-bottom)); }
  .detail-title { font-size: 28px; }
  .thumb-row { padding: 10px 18px; }
  .product-sheet { max-width: 620px; }
}
@media(max-width:510px) {
  .store-announcement { font-size: 7px; padding: 8px 10px; letter-spacing: .1em; }
  .store-announcement span { display: none; }
  .site-header { height: 68px; padding: 12px 18px; }
  .brand-mark { font-size: 32px; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy small { font-size: 5px; }
  .hero { min-height: 292px; display: block; margin-top: 0; padding-bottom: 35px; }
  .hero-info { padding: 29px 22px 25px; max-width: none; }
  .hero .eyebrow { font-size: 7px; letter-spacing: .12em; }
  .hero h1 { position: relative; z-index: 1; font-size: clamp(33px,9.2vw,47px); max-width: none; margin: 20px 0 15px; letter-spacing: -.055em; }
  .hero p { max-width: 220px; font-size: 10px; line-height: 1.65; margin-bottom: 20px; }
  .hero-cta { min-height: 44px; min-width: 192px; padding: 10px 13px; font-size: 10px; }
  .hero-art { position: absolute; width: 100px; top: 0; right: 0; bottom: 35px; opacity: .15; border: 0; min-height: 0; pointer-events: none; }
  .hero-outline { font-size: 180px; }
  .hero-art::after, .hero-edition, .hero-wordmark { display: none; }
  .hero-bottom { padding: 11px 22px; font-size: 6px; letter-spacing: .09em; }
  .hero-bottom span:last-child { font-size: 5px; }
  .collections { padding: 26px 18px 0; }
  .section-heading h2 { font-size: 16px; letter-spacing: -.03em; }
  .collection-list { display: flex; overflow-x: auto; scrollbar-width: none; }
  .collection-card { flex: 1 0 46%; min-width: 145px; min-height: 76px; padding: 14px 12px; }
  .collection-meta b { font-size: 12px; }
  .collection-card .collection-meta small { display: block; font-size: 9px; }
  .collection-number { font-size: 8px; }
  .collection-arrow { font-size: 17px; }
  .catalog-section { padding: 30px 18px 0; }
  .catalog-heading { padding-bottom: 17px; margin-bottom: 18px; }
  .catalog-heading h2 { font-size: 27px; }
  .catalog-heading .eyebrow { font-size: 7px; margin-bottom: 7px; }
  .text-link { font-size: 9px; }
  .toolbar { grid-template-columns: minmax(0,1fr) auto; gap: 7px; }
  .search-field { padding-inline: 10px; gap: 7px; }
  .search-field input { height: 44px; font-size: 11px; }
  .search-field svg { width: 16px; }
  .filter-toggle { padding: 9px 11px; min-height: 46px; font-size: 10px; gap: 7px; }
  .filter-toggle svg { width: 16px; }
  .filter-chip { padding: 9px 12px; font-size: 11px; min-height: 44px; }
  .results-row { margin-bottom: 16px; }
  .results-count, .breadcrumb { font-size: 9px; }
  .products-grid { gap: 24px 10px; }
  .product-copy { padding-top: 12px; }
  .product-name { font-size: 12px; }
  .product-category { font-size: 8px; }
  .product-variants { font-size: 10px; margin-bottom: 9px; }
  .product-price { font-size: 13px; gap: 2px; margin-bottom: 9px; }
  .card-action { font-size: 10px; }
  .heart-btn { width: 32px; height: 32px; top: 6px; right: 6px; }
  .heart-btn svg { width: 16px; }
  .product-label { top: 8px; left: 8px; font-size: 7px; padding: 4px 6px; }
  .product-media-empty b { font-size: 50px; }
  .product-media-empty small { font-size: 6px; }
  .service-note { margin: 32px 18px 24px; padding: 22px 0; gap: 16px; }
  .service-note strong { font-size: 11px; }
  .service-note span { font-size: 10px; }
  .service-number { font-size: 27px; }
  .footer { padding: 0 18px 20px; gap: 8px; font-size: 9px; }
  .footer-brand { font-size: 27px; }
  .shop-dialog, #rv-admin-dialog { width: calc(100% - 20px); padding: 26px 18px; max-height: calc(var(--rv-viewport-height) - 24px); }
  .shop-dialog h2, #rv-admin-heading { font-size: 24px; }
  .cart-line { gap: 8px; }
  .cart-photo { width: 43px; height: 62px; }
  .cart-item-info strong { font-size: 11px; }
  .quantity button { min-width: 24px; font-size: 15px; }
  .detail-title { font-size: 27px; }
  .detail-info { padding: 24px 18px max(30px,env(safe-area-inset-bottom)); }
  .size-options { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .filter-fields { gap: 18px; }
}
