/* FRIDE Shop is deliberately namespaced to keep the existing landing page intact. */
:root { --shop-ink: #f6f1e8; --shop-muted: #b8b0a4; --shop-line: rgba(255,243,226,.14); --shop-surface: #25221f; --shop-accent: #d66b2d; --shop-green: #91a36c; --shop-orange-soft: #edb27c; }
.shop-body { min-height: 100vh; background: #171513; color: var(--shop-ink); }
.shop-body::before { content: ""; position: fixed; z-index: -2; inset: 0; pointer-events: none; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(#000, transparent 75%); }
.shop-noise { position: fixed; z-index: 10; inset: 0; pointer-events: none; opacity: .025; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.shop-container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.shop-header { position: sticky; z-index: 8; top: 0; border-bottom: 1px solid var(--shop-line); background: rgba(24,22,20,.9); backdrop-filter: blur(22px) saturate(120%); }
.shop-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 28px; }
.shop-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.shop-brand img { width: 112px; }
.shop-brand span { padding-left: 10px; border-left: 1px solid var(--shop-line); color: var(--shop-accent); font-size: 10px; font-weight: 900; letter-spacing: .2em; }
.shop-nav { display: flex; align-items: center; gap: 26px; }
.shop-nav a { position: relative; padding: 28px 0 25px; color: #9a9ca6; text-decoration: none; font-size: 11px; font-weight: 800; }
.shop-nav a.active, .shop-nav a:hover { color: #fff; }
.shop-nav a.active::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--shop-accent); box-shadow: 0 0 12px rgba(239,59,76,.65); }
.shop-actions { display: flex; align-items: center; gap: 9px; }
.shop-icon-button, .shop-profile-button { border: 1px solid var(--shop-line); background: rgba(255,255,255,.045); transition: .25s ease; }
.shop-icon-button { position: relative; display: grid; width: 41px; height: 41px; place-items: center; border-radius: 12px; color: #dbdce1; font-size: 23px; }
.shop-icon-button:hover, .shop-profile-button:hover { border-color: rgba(239,59,76,.55); background: rgba(239,59,76,.1); }
.count-badge { position: absolute; top: -4px; right: -4px; display: grid; width: 16px; height: 16px; place-items: center; border-radius: 50%; background: var(--shop-accent); color: white; font-size: 9px; font-weight: 900; }
.shop-profile-button { display: flex; align-items: center; gap: 8px; padding: 7px 10px 7px 7px; border-radius: 13px; color: #fff; text-align: left; }
.shop-profile-button b, .shop-profile-button small { display: block; }
.shop-profile-button b { font-size: 10px; }
.shop-profile-button small { margin-top: 1px; color: #858792; font-size: 8px; }
.shop-avatar { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 9px; background: var(--shop-accent); color: #26080e; font-size: 11px; font-weight: 900; }
.shop-profile-button > span:last-child { color: var(--shop-accent); font-size: 15px; }
.shop-menu { display: none; width: 41px; height: 41px; border: 1px solid var(--shop-line); border-radius: 11px; background: rgba(255,255,255,.05); }
.shop-menu i { display: block; width: 18px; height: 1px; margin: 5px auto; background: white; }

.shop-hero { position: relative; overflow: hidden; padding: 57px 0 51px; background: radial-gradient(circle at 76% 18%, rgba(214,107,45,.18), transparent 31%), radial-gradient(circle at 14% 80%, rgba(237,178,124,.09), transparent 33%), #24201d; }
.shop-hero::after { content: ""; position: absolute; right: 8%; bottom: -360px; width: 650px; height: 650px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255,255,255,.015), 0 0 0 87px rgba(255,255,255,.012); pointer-events: none; }
.shop-breadcrumb { display: flex; align-items: center; gap: 10px; color: #656772; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.shop-breadcrumb a { color: #a1a3ad; text-decoration: none; }
.shop-breadcrumb b { color: var(--shop-accent); }
.shop-hero-copy { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 60px; margin: 30px 0 36px; }
.shop-kicker { display: block; margin-bottom: 13px; color: var(--shop-accent); font-size: 9px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.shop-hero h1 { margin: 0 0 17px; font: 600 clamp(44px, 5vw, 70px)/1.01 Unbounded, Manrope, sans-serif; letter-spacing: -.08em; }
.shop-hero h1 em, .shop-trust h2 em, .shop-modal h2 em { color: var(--shop-accent); font-style: normal; }
.shop-hero-copy p { max-width: 550px; margin: 0; color: #a2a4ae; font-size: 14px; line-height: 1.75; }
.shop-hero-orbit { position: relative; display: grid; width: 188px; height: 188px; flex: none; place-items: center; border: 1px solid rgba(239,59,76,.45); border-radius: 50%; box-shadow: 0 0 58px rgba(239,59,76,.14), inset 0 0 50px rgba(239,59,76,.12); animation: shopSpin 23s linear infinite; }
.shop-hero-orbit::before, .shop-hero-orbit::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.shop-hero-orbit::before { inset: 21px; }
.shop-hero-orbit::after { inset: 47px; border-style: dashed; }
.shop-hero-orbit span { color: var(--shop-accent); font: 600 37px/1 Unbounded, sans-serif; animation: shopSpinReverse 23s linear infinite; }
.shop-hero-orbit i { position: absolute; top: 4px; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--shop-accent); box-shadow: 0 0 15px var(--shop-accent); transform: translateX(-50%); }
.shop-hero-orbit i:nth-of-type(2) { top: auto; right: 8px; bottom: 38px; left: auto; }
.shop-hero-orbit i:nth-of-type(3) { top: auto; bottom: 10px; left: 35%; }
.shop-search { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 7px 8px 7px 17px; border: 1px solid rgba(255,243,226,.22); border-radius: 12px; background: #f6f1e8; box-shadow: 0 18px 45px rgba(0,0,0,.22); }
.shop-search > span { color: #878994; font-size: 22px; }
.shop-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: none; color: #27211c; font-size: 13px; }
.shop-search input::placeholder { color: #8d8176; }
.shop-search button, .shop-post-button, .shop-primary-button { border: 0; border-radius: 10px; background: var(--shop-accent); color: #25070d; font-size: 11px; font-weight: 900; transition: transform .22s ease, filter .22s ease, box-shadow .22s ease; }
.shop-search button { padding: 13px 20px; }
.shop-search button:hover, .shop-post-button:hover, .shop-primary-button:hover { filter: brightness(1.08); box-shadow: 0 10px 25px rgba(239,59,76,.25); transform: translateY(-2px); }
.shop-search button span, .shop-primary-button span { margin-left: 8px; font-size: 15px; }
.shop-quick-links { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.shop-quick-links button { padding: 8px 12px; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; background: rgba(255,255,255,.04); color: #989aa4; font-size: 10px; font-weight: 800; transition: .2s ease; }
.shop-quick-links button:hover, .shop-quick-links button.active { border-color: rgba(239,59,76,.45); background: rgba(239,59,76,.13); color: #fff; }

.shop-catalog { display: grid; grid-template-columns: 248px 1fr; gap: 34px; padding-top: 64px; padding-bottom: 100px; }
.shop-sidebar { align-self: start; padding: 19px; border: 1px solid var(--shop-line); border-radius: 17px; background: rgba(18,19,28,.84); box-shadow: 0 18px 45px rgba(0,0,0,.17); }
.shop-filter-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 19px; padding-bottom: 15px; border-bottom: 1px solid var(--shop-line); }
.shop-filter-head b { font-size: 14px; letter-spacing: -.03em; }
.shop-filter-head button { padding: 0; border: 0; background: none; color: var(--shop-accent); font-size: 9px; font-weight: 800; }
.shop-filter-label { display: block; margin-bottom: 15px; color: #7e808b; font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.shop-filter-label input, .shop-filter-label select { width: 100%; margin-top: 7px; padding: 11px 10px; border: 1px solid rgba(255,255,255,.11); border-radius: 9px; outline: 0; background: #1a1b25; color: #e9e9eb; font-size: 11px; }
.shop-filter-label input:focus, .shop-filter-label select:focus { border-color: var(--shop-accent); }
.shop-filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.shop-filter-divider { height: 1px; margin: 22px 0 19px; background: var(--shop-line); }
.shop-sidebar-note { padding: 13px; border: 1px solid rgba(112,220,159,.14); border-radius: 11px; background: rgba(112,220,159,.045); }
.shop-sidebar-note span { color: var(--shop-green); font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.shop-sidebar-note p { margin: 6px 0 0; color: #858791; font-size: 10px; line-height: 1.55; }
.shop-post-button { width: 100%; margin-top: 18px; padding: 13px 12px; }
.shop-post-button span { margin-right: 6px; font-size: 17px; vertical-align: -1px; }
.shop-results-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.shop-results-head .shop-kicker { margin-bottom: 8px; }
.shop-results-head h2 { margin: 0 0 5px; font: 600 31px/1.05 Unbounded, sans-serif; letter-spacing: -.07em; }
.shop-results-head p { margin: 0; color: #777984; font-size: 11px; }
.shop-results-controls { display: flex; gap: 5px; }
.shop-view-button { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--shop-line); border-radius: 9px; background: rgba(255,255,255,.04); color: #83858f; font-size: 18px; }
.shop-view-button.active, .shop-view-button:hover { border-color: rgba(239,59,76,.45); background: rgba(239,59,76,.12); color: #fff; }
.shop-list { display: grid; gap: 10px; }
.shop-loading { display: grid; min-height: 180px; place-items: center; color: #777984; text-align: center; }
.shop-loading span { display: block; width: 29px; height: 29px; margin-inline: auto; border: 2px solid rgba(239,59,76,.2); border-top-color: var(--shop-accent); border-radius: 50%; animation: shopSpin 1s linear infinite; }
.shop-loading p { margin: 12px 0 0; font-size: 11px; }
.shop-card { display: grid; grid-template-columns: 205px 1fr auto; gap: 20px; min-height: 178px; padding: 11px; overflow: hidden; border: 1px solid var(--shop-line); border-radius: 12px; background: linear-gradient(120deg, #2a2622, #211e1b); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.shop-card:hover { border-color: rgba(239,59,76,.47); box-shadow: 0 20px 44px rgba(0,0,0,.24); transform: translateY(-4px); }
.shop-card-image { position: relative; width: 100%; min-height: 154px; padding: 0; overflow: hidden; border: 0; border-radius: 11px; background: radial-gradient(circle at 50% 30%, rgba(239,59,76,.25), transparent 67%), #20212c; color: inherit; text-align: left; cursor: pointer; }
.shop-card-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.76) contrast(1.06); transition: transform .65s ease, filter .35s ease; }
.shop-card:hover .shop-card-image img { transform: scale(1.07); filter: saturate(.96); }
.shop-card-image .shop-placeholder { display: grid; height: 100%; place-items: center; color: rgba(239,59,76,.35); font: 600 62px/1 Unbounded, sans-serif; }
.shop-card-badge { position: absolute; top: 9px; left: 9px; padding: 5px 7px; border-radius: 6px; background: var(--shop-green); color: #092015; font-size: 7px; font-weight: 900; letter-spacing: .07em; }
.shop-card-body { min-width: 0; padding: 12px 0; }
.shop-card-category { color: var(--shop-accent); font-size: 8px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.shop-card h3 { margin: 8px 0 7px; font-size: 19px; letter-spacing: -.05em; }
.shop-card-description { display: -webkit-box; max-width: 560px; margin: 0 0 15px; overflow: hidden; color: #898b96; font-size: 11px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.shop-card-meta { display: flex; flex-wrap: wrap; gap: 8px 15px; color: #70727d; font-size: 9px; }
.shop-card-meta span { display: inline-flex; align-items: center; gap: 4px; }
.shop-card-price { min-width: 126px; padding: 17px 12px 12px 0; text-align: right; }
.shop-card-price strong { display: block; color: #fff; font: 600 21px/1 Unbounded, sans-serif; letter-spacing: -.07em; white-space: nowrap; }
.shop-card-price small { display: block; margin-top: 7px; color: #777984; font-size: 8px; }
.shop-card-actions { display: flex; justify-content: flex-end; gap: 6px; margin-top: 22px; }
.shop-favorite, .shop-more { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--shop-line); border-radius: 8px; background: rgba(255,255,255,.04); color: #aaaab3; }
.shop-favorite.active { border-color: rgba(239,59,76,.4); background: rgba(239,59,76,.12); color: var(--shop-accent); }
.shop-more { padding: 0 11px; width: auto; color: var(--shop-accent); font-size: 9px; font-weight: 900; }
.shop-empty { padding: 50px 20px; border: 1px dashed rgba(255,255,255,.14); border-radius: 15px; color: #8b8d98; text-align: center; }
.shop-empty b { display: block; margin-bottom: 5px; color: #fff; font-size: 16px; }
.shop-list.grid-view { grid-template-columns: repeat(2, minmax(0,1fr)); }
.shop-list.grid-view .shop-card { display: block; }
.shop-list.grid-view .shop-card-image { min-height: 210px; }
.shop-list.grid-view .shop-card-body { padding: 15px 4px 2px; }
.shop-list.grid-view .shop-card-price { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px 2px; text-align: left; }
.shop-list.grid-view .shop-card-price small { margin: 0; }

.shop-trust { border-block: 1px solid var(--shop-line); background: #0f1017; }
.shop-trust-grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 70px; padding-block: 74px; }
.shop-trust h2 { margin: 0; font: 600 clamp(35px,4vw,53px)/1.05 Unbounded, sans-serif; letter-spacing: -.08em; }
.shop-trust-points { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.shop-trust-points article { min-height: 153px; padding: 16px; border: 1px solid var(--shop-line); border-radius: 14px; background: rgba(255,255,255,.03); }
.shop-trust-points b { color: var(--shop-accent); font-size: 9px; }
.shop-trust-points span { display: block; margin: 23px 0 6px; font-size: 14px; font-weight: 800; }
.shop-trust-points p { margin: 0; color: #858792; font-size: 10px; line-height: 1.6; }
.shop-footer { padding: 37px 0 25px; background: #08090e; }
.shop-footer > .shop-container { display: flex; justify-content: space-between; gap: 35px; }
.shop-footer p { margin: 10px 0 0; color: #70727d; font-size: 10px; }
.shop-footer-links { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.shop-footer-links a { color: #8b8d97; text-decoration: none; font-size: 10px; }
.shop-footer-links a:hover { color: var(--shop-accent); }

dialog#shop-auth-modal, dialog#shop-post-modal, dialog#shop-detail-modal { width: min(560px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: 0; border: 1px solid rgba(255,255,255,.17); border-radius: 23px; background: #12131c; color: #fff; box-shadow: 0 45px 130px rgba(0,0,0,.75); }
dialog#shop-post-modal { width: min(690px, calc(100% - 28px)); }
dialog#shop-detail-modal { width: min(720px, calc(100% - 28px)); }
dialog::backdrop { background: rgba(2,3,7,.78); backdrop-filter: blur(12px); }
.shop-modal { position: relative; padding: 38px; overflow: hidden; }
.shop-modal::before { content: ""; position: absolute; top: -160px; right: -140px; width: 350px; height: 350px; border-radius: 50%; background: radial-gradient(circle, rgba(239,59,76,.17), transparent 67%); pointer-events: none; }
.shop-modal > * { position: relative; }
.shop-modal-close { position: absolute; z-index: 2; top: 13px; right: 13px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--shop-line); border-radius: 50%; background: rgba(255,255,255,.06); color: #aeb0b8; font-size: 21px; }
.shop-modal-close:hover { background: var(--shop-accent); color: #25070d; }
.shop-modal h2 { margin: 0 0 10px; font: 600 29px/1.1 Unbounded, sans-serif; letter-spacing: -.08em; }
.shop-modal > p { margin: 0 0 25px; color: #8f919b; font-size: 12px; }
.shop-modal form label { display: block; margin-bottom: 14px; color: #9799a4; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.shop-modal input, .shop-modal textarea, .shop-modal select { width: 100%; margin-top: 7px; padding: 12px 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; outline: 0; background: rgba(255,255,255,.055); color: #fff; font-size: 12px; }
.shop-modal textarea { resize: vertical; }
.shop-modal input:focus, .shop-modal textarea:focus, .shop-modal select:focus { border-color: var(--shop-accent); box-shadow: 0 0 0 3px rgba(239,59,76,.1); }
.shop-primary-button { width: 100%; min-height: 49px; margin-top: 5px; padding: 12px 16px; }
.shop-form-status { min-height: 17px; margin: 7px 0 0; color: #ff8991; font-size: 10px; text-align: center; }
.shop-form-status.ok { color: var(--shop-green); }
.shop-modal-intro { margin-bottom: 20px !important; }
.shop-post-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 0 10px; }
.shop-contacts { display: grid; grid-template-columns: repeat(3,1fr); gap: 0 9px; margin: 18px 0 16px; padding: 15px; border: 1px solid rgba(112,220,159,.17); border-radius: 13px; background: rgba(112,220,159,.045); }
.shop-contacts > div { grid-column: 1/-1; margin-bottom: 9px; }
.shop-field-title { display: block; color: var(--shop-green); font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.shop-contacts > div small { display: block; margin-top: 4px; color: #858792; font-size: 9px; }
.shop-contacts label { margin-bottom: 0 !important; }
.shop-optional { color: #6f717c; font-size: 8px; font-weight: 500; text-transform: lowercase; }
.shop-consent { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 12px; color: #8b8d97; font-size: 10px; line-height: 1.5; }
.shop-consent input { width: auto; margin: 2px 0 0; accent-color: var(--shop-accent); }
.shop-detail-hero { display: grid; grid-template-columns: 1fr .85fr; gap: 20px; }
.shop-detail-image { min-height: 285px; overflow: hidden; border-radius: 14px; background: #1c1e28; }
.shop-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.shop-detail-image .shop-placeholder { display: grid; height: 100%; min-height: 285px; place-items: center; color: rgba(239,59,76,.35); font: 600 85px/1 Unbounded, sans-serif; }
.shop-detail-copy .shop-card-category { margin-top: 4px; }
.shop-detail-copy h2 { margin-top: 10px; }
.shop-detail-price { margin: 23px 0 15px; color: #fff; font: 600 28px/1 Unbounded, sans-serif; letter-spacing: -.07em; }
.shop-detail-copy p { color: #999ba5; font-size: 12px; line-height: 1.7; white-space: pre-line; }
.shop-detail-contact { margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--shop-line); }
.shop-detail-contact small { color: #747681; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.shop-contact-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.shop-contact-links a { padding: 8px 10px; border: 1px solid rgba(239,59,76,.28); border-radius: 8px; background: rgba(239,59,76,.08); color: #fff; text-decoration: none; font-size: 10px; }
.shop-contact-links a:hover { background: var(--shop-accent); color: #25070d; }

.shop-toast { position: fixed; z-index: 20; right: 18px; bottom: 18px; max-width: 350px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.18); border-left: 3px solid var(--shop-accent); border-radius: 11px; background: rgba(28,30,40,.95); color: #fff; font-size: 11px; box-shadow: 0 15px 40px rgba(0,0,0,.4); opacity: 0; pointer-events: none; transform: translateY(12px); transition: .3s ease; }
.shop-toast.show { opacity: 1; transform: none; }
.shop-toast.ok { border-left-color: var(--shop-green); }
.shop-empty .shop-primary-button { width: auto; margin-top: 17px; padding-inline: 19px; }
.shop-body .shop-nav a, .shop-body .shop-profile-button, .shop-body .shop-icon-button { color: #f6f1e8; }
.shop-body .shop-hero h1, .shop-body .shop-hero-copy p, .shop-body .shop-results-head h2, .shop-body .shop-card h3, .shop-body .shop-trust h2, .shop-body .shop-modal h2 { color: #f6f1e8; }
.shop-body .shop-sidebar, .shop-body .shop-trust-points article { border-color: rgba(255,243,226,.16); background: #24211e; }
.shop-body .shop-filter-label input, .shop-body .shop-filter-label select { border-color: rgba(255,243,226,.16); background: #f6f1e8; color: #2a241f; }
.shop-body .shop-filter-head, .shop-body .shop-filter-divider, .shop-body .shop-detail-contact { border-color: rgba(255,243,226,.16); }
.shop-body .shop-quick-links button, .shop-body .shop-view-button, .shop-body .shop-favorite, .shop-body .shop-more { border-color: rgba(255,243,226,.2); background: rgba(255,243,226,.07); color: #d9cfc3; }
.shop-body .shop-quick-links button:hover, .shop-body .shop-quick-links button.active, .shop-body .shop-view-button.active { border-color: var(--shop-accent); background: rgba(214,107,45,.2); color: #fff; }
.shop-body .shop-card-price strong, .shop-body .shop-detail-price { color: #f6f1e8; }
.shop-body .shop-modal input, .shop-body .shop-modal textarea, .shop-body .shop-modal select { border-color: rgba(255,243,226,.2); background: #f6f1e8; color: #2a241f; }
.shop-body dialog#roulette-modal { background: #fffdfa; color: #28231f; border-color: rgba(65,46,30,.18); }
.shop-body .roulette-modal-shell h2 { color: #28231f; }
.shop-body .roulette-modal-shell > p { color: #776b60; }
.shop-body .roulette-machine { background: #2c2520; }
.shop-body .shop-modal input::placeholder, .shop-body .shop-modal textarea::placeholder { color: #95877a; }
.shop-body .shop-contacts { border-color: rgba(214,107,45,.32); background: rgba(214,107,45,.1); }
.shop-body .shop-contact-links a { border-color: rgba(214,107,45,.45); background: rgba(214,107,45,.14); }
.shop-photo-picker { display: block; position: relative; padding: 18px; border: 1px dashed rgba(214,107,45,.65); border-radius: 12px; background: rgba(214,107,45,.08); color: #f6f1e8 !important; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer; }
.shop-photo-picker span { display: block; margin-top: 5px; color: #b9aa9b; font-size: 9px; font-weight: 500; }
.shop-photo-picker input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.shop-photo-picker strong { display: block; margin-top: 12px; color: var(--shop-orange-soft); font-size: 11px; }
.shop-photo-preview { margin: -2px 0 16px; overflow: hidden; border-radius: 11px; border: 1px solid rgba(214,107,45,.35); }
.shop-photo-preview img { width: 100%; max-height: 230px; object-fit: cover; }
.shop-roulette-trigger { color: var(--shop-accent) !important; }
.shop-roulette-trigger[hidden] { display: none; }
.shop-body { background: #f3eee6; color: #28231f; }
.shop-body::before { opacity: .42; background-image: linear-gradient(rgba(127,82,45,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(127,82,45,.06) 1px, transparent 1px); }
.shop-header { background: rgba(250,247,241,.92); border-bottom-color: rgba(65,46,30,.13); }
.shop-brand, .shop-body .shop-brand { color: #28231f; }
.shop-nav a, .shop-body .shop-nav a { color: #7a6c5e; }
.shop-nav a.active, .shop-nav a:hover { color: #28231f; }
.shop-hero { background: radial-gradient(circle at 78% 16%, rgba(214,107,45,.2), transparent 32%), radial-gradient(circle at 14% 78%, rgba(237,178,124,.2), transparent 34%), #f7f2ea; }
.shop-hero h1, .shop-body .shop-hero h1 { color: #28231f; }
.shop-hero-copy p { color: #766b61; }
.shop-hero-orbit { box-shadow: 0 0 58px rgba(214,107,45,.18), inset 0 0 50px rgba(214,107,45,.12); }
.shop-results-head h2, .shop-body .shop-results-head h2, .shop-card h3, .shop-body .shop-card h3, .shop-card-price strong, .shop-body .shop-card-price strong { color: #28231f; }
.shop-card { background: #fffdfa; border-color: rgba(65,46,30,.14); box-shadow: 0 12px 25px rgba(91,61,36,.07); }
.shop-card-description { color: #776e66; }
.shop-card-meta, .shop-card-price small { color: #94877b; }
.shop-sidebar, .shop-body .shop-sidebar { background: #fffdfa; border-color: rgba(65,46,30,.14); box-shadow: 0 12px 25px rgba(91,61,36,.07); }
.shop-filter-head b { color: #28231f; }
.shop-filter-label { color: #857668; }
.shop-filter-label input, .shop-filter-label select { background: #f7f2ea; color: #28231f; border-color: rgba(65,46,30,.15); }
.shop-results-head p, .shop-loading, .shop-empty { color: #887a6d; }
.shop-trust { background: #fffdfa; border-color: rgba(65,46,30,.13); }
.shop-trust h2, .shop-body .shop-trust h2 { color: #28231f; }
.shop-trust-points article { background: #f7f2ea; border-color: rgba(65,46,30,.14); }
.shop-trust-points span { color: #28231f; }
.shop-trust-points p { color: #84766a; }
.shop-footer { background: #2c2520; }
.shop-footer-links a, .shop-footer p { color: #c9b9a9; }
.shop-body dialog#shop-auth-modal, .shop-body dialog#shop-post-modal, .shop-body dialog#shop-detail-modal { background: #fffdfa; color: #28231f; border-color: rgba(65,46,30,.18); }
.shop-modal > p, .shop-modal form label { color: #776b60; }
.shop-modal input, .shop-modal textarea, .shop-modal select, .shop-body .shop-modal input, .shop-body .shop-modal textarea, .shop-body .shop-modal select { background: #f7f2ea; color: #28231f; border-color: rgba(65,46,30,.18); }
.shop-modal-close { color: #786b5f; border-color: rgba(65,46,30,.16); background: rgba(65,46,30,.06); }
.shop-modal-close:hover { color: #fff; }

/* Shop follows the exact autumn surface language of the landing page. */
.shop-body { background: #171513; color: #f6f1e8; }
.shop-body::before { opacity: .5; background-image: radial-gradient(circle at 8% 12%, rgba(214,107,45,.2), transparent 29%), radial-gradient(circle at 92% 28%, rgba(237,178,124,.12), transparent 25%), radial-gradient(circle at 54% 95%, rgba(117,139,89,.12), transparent 34%), linear-gradient(rgba(255,243,226,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,243,226,.025) 1px, transparent 1px); background-size: auto, auto, auto, 72px 72px, 72px 72px; mask-image: linear-gradient(#000, transparent 75%); animation: autumnDrift 18s ease-in-out infinite alternate; }
.shop-header { border-bottom-color: rgba(237,178,124,.18); background: rgba(35,29,24,.9); box-shadow: 0 10px 40px rgba(0,0,0,.12); }
.shop-brand, .shop-body .shop-brand { color: #f6f1e8; }
.shop-brand span { color: var(--shop-accent); }
.shop-nav a, .shop-body .shop-nav a { color: #b8aa9a; }
.shop-nav a.active, .shop-nav a:hover { color: #fff; }
.shop-icon-button, .shop-profile-button { border-color: rgba(237,178,124,.2); background: rgba(255,243,226,.06); color: #f6f1e8; }
.shop-icon-button:hover, .shop-profile-button:hover { border-color: rgba(214,107,45,.75); background: rgba(214,107,45,.16); }
.shop-hero { background: radial-gradient(circle at 76% 18%, rgba(214,107,45,.2), transparent 31%), radial-gradient(circle at 14% 80%, rgba(117,139,89,.13), transparent 33%), linear-gradient(180deg, rgba(39,30,24,.94), rgba(24,20,17,.98)); }
.shop-hero h1, .shop-body .shop-hero h1, .shop-results-head h2, .shop-body .shop-results-head h2, .shop-card h3, .shop-body .shop-card h3, .shop-trust h2, .shop-body .shop-trust h2 { color: #f6f1e8; }
.shop-hero-copy p, .shop-results-head p, .shop-card-description, .shop-card-meta, .shop-card-price small, .shop-trust-points p { color: #b8aa9a; }
.shop-search { border-color: rgba(237,178,124,.22); background: rgba(28,23,19,.86); box-shadow: 0 18px 45px rgba(0,0,0,.28); backdrop-filter: blur(18px); }
.shop-search > span { color: #b8aa9a; }
.shop-search input { color: #f6f1e8; }
.shop-search input::placeholder { color: #817466; }
.shop-quick-links button, .shop-view-button, .shop-favorite, .shop-more { border-color: rgba(237,178,124,.18); background: rgba(255,243,226,.06); color: #b8aa9a; }
.shop-quick-links button:hover, .shop-quick-links button.active, .shop-view-button.active, .shop-view-button:hover { border-color: rgba(214,107,45,.7); background: rgba(214,107,45,.17); color: #fff; }
.shop-catalog { background: transparent; }
.shop-sidebar, .shop-body .shop-sidebar, .shop-card, .shop-body .shop-card { border-color: rgba(237,178,124,.16); background: linear-gradient(135deg, #302721, #211b18); box-shadow: 0 18px 45px rgba(0,0,0,.22); }
.shop-filter-head { border-bottom-color: rgba(237,178,124,.16); }
.shop-filter-head b, .shop-card-price strong { color: #f6f1e8; }
.shop-filter-head button, .shop-filter-label, .shop-card-category { color: var(--shop-accent); }
.shop-filter-label input, .shop-filter-label select { border-color: rgba(237,178,124,.18); background: #211b18; color: #f6f1e8; }
.shop-filter-label input::placeholder { color: #817466; }
.shop-filter-divider { background: rgba(237,178,124,.16); }
.shop-sidebar-note { border-color: rgba(117,139,89,.28); background: rgba(117,139,89,.09); }
.shop-trust { border-color: rgba(237,178,124,.16); background: #211b18; }
.shop-trust-points article { border-color: rgba(237,178,124,.16); background: linear-gradient(135deg, #302721, #211b18); }
.shop-trust-points span { color: #f6f1e8; }
.shop-footer { background: #1b1511; }
.shop-footer p, .shop-footer-links a { color: #b8aa9a; }
.shop-body dialog#shop-auth-modal, .shop-body dialog#shop-post-modal, .shop-body dialog#shop-detail-modal, .shop-body dialog#roulette-modal { border-color: rgba(237,178,124,.25); background: #29211c; color: #f6f1e8; }
.shop-modal > p, .shop-modal form label, .shop-body .roulette-modal-shell > p { color: #b8aa9a; }
.shop-modal input, .shop-modal textarea, .shop-modal select, .shop-body .shop-modal input, .shop-body .shop-modal textarea, .shop-body .shop-modal select { border-color: rgba(237,178,124,.2); background: #211b18; color: #f6f1e8; }
.shop-modal input::placeholder, .shop-modal textarea::placeholder { color: #817466; }
.shop-modal-close { border-color: rgba(237,178,124,.2); background: rgba(255,243,226,.07); color: #b8aa9a; }
.shop-photo-picker { background: rgba(214,107,45,.1); }
.shop-body .roulette-machine { background: #0f1016; }
@keyframes shopSpin { to { transform: rotate(360deg); } }
@keyframes shopSpinReverse { to { transform: rotate(-360deg); } }

@media (max-width: 900px) {
  .shop-nav { display: none; }
  .shop-menu { display: block; }
  .shop-header-inner.menu-open .shop-nav { position: absolute; top: 70px; right: 14px; left: 14px; display: grid; gap: 0; padding: 8px; border: 1px solid var(--shop-line); border-radius: 13px; background: rgba(17,18,26,.97); }
  .shop-header-inner.menu-open .shop-nav a { padding: 11px; }
  .shop-header-inner.menu-open .shop-nav a.active::after { display: none; }
  .shop-catalog { grid-template-columns: 1fr; }
  .shop-sidebar { order: 2; }
  .shop-results { order: 1; }
  .shop-trust-grid { grid-template-columns: 1fr; gap: 35px; }
}
@media (max-width: 620px) {
  .shop-container { width: calc(100% - 28px); }
  .shop-header-inner { min-height: 66px; }
  .shop-brand img { width: 99px; }
  .shop-brand span { font-size: 8px; }
  .shop-profile-button b { display: none; }
  .shop-profile-button small { font-size: 8px; }
  .shop-hero { padding: 37px 0 35px; }
  .shop-hero-copy { margin: 24px 0 27px; }
  .shop-hero h1 { font-size: 42px; }
  .shop-hero-copy p { font-size: 12px; }
  .shop-hero-orbit { display: none; }
  .shop-search { padding-left: 12px; }
  .shop-search input { font-size: 11px; }
  .shop-search button { padding: 12px 13px; font-size: 10px; }
  .shop-search button span { display: none; }
  .shop-quick-links { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 3px; scrollbar-width: none; }
  .shop-quick-links::-webkit-scrollbar { display: none; }
  .shop-quick-links button { flex: none; }
  .shop-catalog { padding-top: 43px; padding-bottom: 70px; }
  .shop-results-head h2 { font-size: 25px; }
  .shop-card { grid-template-columns: 105px 1fr; gap: 13px; min-height: 148px; padding: 8px; }
  .shop-card-image { min-height: 131px; }
  .shop-card-body { padding: 6px 0 0; }
  .shop-card h3 { margin-top: 6px; font-size: 14px; }
  .shop-card-description { margin-bottom: 10px; font-size: 10px; -webkit-line-clamp: 2; }
  .shop-card-meta { gap: 5px 9px; font-size: 8px; }
  .shop-card-price { grid-column: 2; min-width: 0; padding: 0 3px 7px 0; text-align: left; }
  .shop-card-price strong { font-size: 16px; }
  .shop-card-price small { margin-top: 4px; }
  .shop-card-actions { display: inline-flex; float: right; margin-top: -28px; }
  .shop-list.grid-view { grid-template-columns: 1fr; }
  .shop-list.grid-view .shop-card { display: grid; }
  .shop-list.grid-view .shop-card-image { min-height: 131px; }
  .shop-list.grid-view .shop-card-body { padding: 6px 0 0; }
  .shop-list.grid-view .shop-card-price { display: block; }
  .shop-sidebar { padding: 16px; }
  .shop-trust-grid { padding-block: 58px; }
  .shop-trust-points { grid-template-columns: 1fr; }
  .shop-trust-points article { min-height: auto; }
  .shop-trust-points span { margin-top: 12px; }
  .shop-footer > .shop-container { flex-direction: column; }
  .shop-footer-links { gap: 13px; }
  .shop-modal { padding: 31px 19px 21px; }
  .shop-post-grid, .shop-contacts { grid-template-columns: 1fr; }
  .shop-contacts > div { grid-column: 1; }
  .shop-detail-hero { grid-template-columns: 1fr; }
  .shop-detail-image { min-height: 210px; max-height: 255px; }
  .shop-detail-image .shop-placeholder { min-height: 210px; }
}
