/* 777 Diamonds — mobile first (iPhone), then tablet ≥ 768 px and desktop ≥ 1100 px */
:root {
	--ink: #121117;
	--ink-2: #45434f;
	--muted: #7d7a88;
	--line: #e7e4ec;
	--soft: #f6f4f8;
	--bg: #ffffff;
	--gold: #a8875a;
	--gold-d: #8a6c43;
	--gold-l: #f4ede2;
	--ok: #0f7a43;
	--r: 14px;
	--serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
	--safe-b: env(safe-area-inset-bottom, 0px);
}
html.dd-lock, html.dd-lock body { overflow: hidden; }
.dd-body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.5; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
.dd-body h1, .dd-body h2, .dd-body h3 { font-family: var(--serif); color: var(--ink); font-weight: 600; letter-spacing: .01em; }
.dd-body a { color: inherit; }
.dd-body svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.dd-body [hidden] { display: none !important; }
.dd-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dd-body #container, .dd-body > .container { padding-top: 16px; }

/* ---------------------------------------------------------------- кнопки */
.dd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font: 600 15px/1 var(--sans); text-decoration: none !important; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.dd-btn svg { width: 20px; height: 20px; }
.dd-btn-main { background: var(--ink); color: #fff !important; }
.dd-btn-main:hover, .dd-btn-main:focus { background: #2b2933; color: #fff; }
.dd-btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.dd-btn-ghost:hover { border-color: var(--ink); }
.dd-btn-wide { width: 100%; }
.dd-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; position: relative; text-decoration: none; }
.dd-icon-btn:hover { background: var(--soft); }
.dd-link { border: 0; background: none; padding: 8px; color: var(--gold-d); font: 600 14px var(--sans); cursor: pointer; }

/* ---------------------------------------------------------------- шапка */
.dd-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.dd-header-in { display: flex; align-items: center; gap: 4px; max-width: 1320px; min-height: 58px; margin: 0 auto; padding: 0 8px; }
.dd-logo { direction: ltr; display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none !important; color: var(--ink) !important; }
.dd-logo-mark { font: 600 26px/1 var(--serif); letter-spacing: .04em; color: var(--gold-d); }
.dd-logo-word { font: 600 13px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; }
.dd-logo-light { color: #fff !important; }
.dd-logo-light .dd-logo-mark { color: #d6bb8f; }
.dd-tools { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.dd-locale-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 600 12.5px var(--sans); cursor: pointer; }
.dd-locale-btn svg { width: 18px; height: 18px; }
.dd-cart i { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: #fff; font: 700 11px/18px var(--sans); font-style: normal; text-align: center; }
.dd-account { display: none; }

.dd-nav { position: fixed; inset: 0 auto 0 0; z-index: 60; display: flex; flex-direction: column; width: min(86vw, 360px); padding: env(safe-area-inset-top, 0px) 0 var(--safe-b); background: #fff; box-shadow: 0 0 40px rgba(0, 0, 0, .18); transform: translateX(-105%); transition: transform .25s ease; }
[dir=rtl] .dd-nav { inset: 0 0 0 auto; transform: translateX(105%); }
.dd-nav.is-open { transform: none; }
.dd-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 20px; border-bottom: 1px solid var(--line); }
.dd-nav a { padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 17px; text-decoration: none; color: var(--ink); }
.dd-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(18, 17, 23, .45); }

/* страна / язык / валюта */
.dd-locale { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; }
.dd-locale[hidden] { display: none; }
.dd-locale-box { pointer-events: auto; width: 100%; max-width: 460px; max-height: 92vh; overflow: auto; padding: 8px 20px calc(20px + var(--safe-b)); border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -10px 40px rgba(0, 0, 0, .2); }
.dd-locale-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; font: 600 20px var(--serif); }
.dd-field { display: block; margin: 0 0 14px; font: 600 13px var(--sans); color: var(--ink-2); }
.dd-field select { display: block; width: 100%; height: 48px; margin-top: 6px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: 400 16px var(--sans); color: var(--ink); }
.dd-seg { display: flex; gap: 8px; margin-top: 6px; }
.dd-seg label { flex: 1; margin: 0; }
.dd-seg input { position: absolute; opacity: 0; }
.dd-seg span { display: flex; align-items: center; justify-content: center; height: 48px; border: 1px solid var(--line); border-radius: 12px; font: 600 15px var(--sans); color: var(--ink); cursor: pointer; }
.dd-seg input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.dd-seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------------------------------------------------------------- страницы */
.dd-page { max-width: 1320px; margin: 0 auto; padding: 0 16px 40px; }
.dd-head { padding: 22px 0 6px; text-align: center; }
.dd-head h1 { margin: 0 0 6px; font-size: 32px; line-height: 1.1; }
.dd-head p { max-width: 640px; margin: 0 auto; color: var(--ink-2); font-size: 14.5px; }

/* вкладки */
.dd-tabs { position: sticky; top: calc(58px + env(safe-area-inset-top, 0px)); z-index: 20; display: flex; gap: 6px; margin: 14px -16px 0; padding: 10px 16px; overflow-x: auto; background: #fff; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.dd-tabs::-webkit-scrollbar { display: none; }
.dd-tab { flex: 1 0 auto; padding: 11px 16px; border-radius: 999px; background: var(--soft); color: var(--ink-2) !important; font: 600 14.5px var(--sans); text-align: center; text-decoration: none !important; white-space: nowrap; }
.dd-tab.is-active { background: var(--ink); color: #fff !important; }

/* панель результатов */
.dd-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 0; }
.dd-filter-btn { min-height: 44px; padding: 0 16px; }
.dd-filter-btn i { min-width: 20px; height: 20px; border-radius: 999px; background: var(--gold); color: #fff; font: 700 11.5px/20px var(--sans); font-style: normal; text-align: center; }
.dd-total { flex: 1 1 auto; min-width: 0; color: var(--ink-2); font-size: 14px; }
.dd-sort select { height: 44px; padding: 0 34px 0 14px; border: 1px solid var(--line); border-radius: 999px; font: 500 16px var(--sans); color: var(--ink); max-width: 200px; -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121117' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; }
[dir=rtl] .dd-sort select { padding: 0 14px 0 34px; background-position: left 12px center; }
.dd-view { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--soft); }
.dd-view button { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 13.5px var(--sans); cursor: pointer; }
.dd-view button span { display: none; }
.dd-view button[aria-pressed=true] { background: var(--ink); color: #fff; }

/* лист фильтров (телефон) */
.dd-sheet { position: fixed; inset: 0; z-index: 65; display: flex; flex-direction: column; background: #fff; transform: translateY(102%); transition: transform .28s ease; padding-top: env(safe-area-inset-top, 0px); }
.dd-sheet.is-open { transform: none; }
.dd-sheet-head { display: flex; align-items: center; gap: 4px; padding: 6px 8px 6px 18px; border-bottom: 1px solid var(--line); font: 600 20px var(--serif); }
.dd-sheet-head b { margin-inline-end: auto; }
.dd-filters { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 4px 18px 20px; }
.dd-sheet-foot { padding: 12px 18px calc(12px + var(--safe-b)); border-top: 1px solid var(--line); }
.dd-sheet-foot .dd-btn { width: 100%; }

.dd-fs { padding: 18px 0; border-bottom: 1px solid var(--line); }
.dd-fs:last-child { border-bottom: 0; }
.dd-fs-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 12px; font: 600 15px var(--sans); color: var(--ink); }
.dd-fs-title small { font: 500 13px var(--sans); color: var(--muted); }
.dd-fs-hint { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }

.dd-shapes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.dd-shape { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 64px; padding: 8px 2px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink-2); font: 500 11.5px var(--sans); cursor: pointer; }
.dd-shape svg { width: 28px; height: 28px; stroke-width: 1.2; }
.dd-shape[aria-pressed=true] { border-color: var(--ink); background: var(--ink); color: #fff; }

.dd-chips-f { display: flex; flex-wrap: wrap; gap: 8px; }
.dd-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font: 500 14px var(--sans); cursor: pointer; }
.dd-chip[aria-pressed=true] { border-color: var(--ink); background: var(--ink); color: #fff; }
.dd-hue { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); flex: none; }
.dd-hue-yellow { background: #f2c94c; } .dd-hue-pink { background: #f29bb7; } .dd-hue-blue { background: #6fa8dc; } .dd-hue-green { background: #6fbf8f; }
.dd-hue-orange { background: #f2994a; } .dd-hue-purple { background: #a77bd1; } .dd-hue-red { background: #d64550; } .dd-hue-brown { background: #a47551; }
.dd-hue-black { background: #1f1f24; } .dd-hue-grey { background: #9aa0a6; } .dd-hue-white { background: #fbfbfb; }

/* двойной ползунок */
.dd-range { position: relative; height: 36px; margin: 0 10px; }
.dd-range-track { position: absolute; top: 16px; left: 0; right: 0; height: 4px; border-radius: 4px; background: var(--line); }
.dd-range-fill { position: absolute; top: 16px; height: 4px; border-radius: 4px; background: var(--ink); }
.dd-range input[type=range] { position: absolute; top: 0; left: -10px; width: calc(100% + 20px); height: 36px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.dd-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 2px 6px rgba(0, 0, 0, .15); pointer-events: auto; cursor: grab; }
.dd-range input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); pointer-events: auto; cursor: grab; }
.dd-range input[type=range]::-webkit-slider-runnable-track { background: none; }
.dd-range input[type=range]::-moz-range-track { background: none; }
.dd-ticks { display: flex; justify-content: space-between; margin: 2px 0 0; padding: 0; list-style: none; font: 600 12px var(--sans); color: var(--muted); }
.dd-ticks li { flex: 1; text-align: center; }
.dd-ticks li.is-on { color: var(--ink); }
.dd-nums { display: flex; gap: 10px; margin-top: 10px; }
.dd-nums label { flex: 1; margin: 0; font: 500 12px var(--sans); color: var(--muted); }
.dd-nums input { display: block; width: 100%; height: 44px; margin-top: 4px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; font: 500 16px var(--sans); color: var(--ink); }
.dd-more-f summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; font: 600 15px var(--sans); cursor: pointer; list-style: none; }
.dd-more-f summary::-webkit-details-marker { display: none; }
.dd-more-f summary::after { content: '+'; font-size: 22px; color: var(--muted); }
.dd-more-f[open] summary::after { content: '–'; }

/* результаты: визуально */
.dd-items { min-height: 200px; }
.dd-items.is-visual { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dd-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; text-decoration: none !important; color: var(--ink) !important; transition: box-shadow .15s, border-color .15s; }
.dd-card:hover { border-color: #d6d2dd; box-shadow: 0 8px 24px rgba(18, 17, 23, .07); }
.dd-card-img { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: #fff; }
.dd-card-img img { width: 100%; height: 100%; object-fit: contain; }
.dd-card-img .dd-ph-ico { width: 48%; height: 48%; color: #cfcad7; stroke-width: .9; }
.dd-badge { position: absolute; top: 8px; inset-inline-start: 8px; display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: 999px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); font: 700 10.5px var(--sans); color: var(--ink-2); }
.dd-badge svg { width: 14px; height: 14px; }
.dd-card-body { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px 12px; }
.dd-card-title { font: 600 13.5px/1.3 var(--sans); }
.dd-card-meta { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-card-price { margin-top: 2px; font: 700 16px var(--sans); }

/* результаты: список */
.dd-items.is-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.dd-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 64px; padding: 10px 4px; border-bottom: 1px solid var(--line); text-decoration: none !important; color: var(--ink) !important; }
.dd-row:hover { background: var(--soft); }
.dd-row-ico { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--soft); color: var(--ink-2); }
.dd-row-ico svg { width: 28px; height: 28px; stroke-width: 1.2; }
.dd-row-main { min-width: 0; }
.dd-row-main b { display: block; font: 600 14px var(--sans); }
.dd-row-main span { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-row-price { font: 700 15px var(--sans); white-space: nowrap; }
.dd-row-cols { display: none; }
.dd-list-head { display: none; }

.dd-empty { padding: 40px 0; text-align: center; color: var(--ink-2); }
.dd-more { display: flex; justify-content: center; padding: 20px 0; }
.dd-skel { border-radius: var(--r); background: linear-gradient(90deg, var(--soft) 25%, #eeebf1 50%, var(--soft) 75%); background-size: 200% 100%; animation: dd-sh 1.2s infinite; aspect-ratio: .78; }
.dd-items.is-list .dd-skel { aspect-ratio: auto; height: 64px; border-radius: 0; margin-bottom: 1px; }
@keyframes dd-sh { to { background-position: -200% 0; } }

/* ---------------------------------------------------------------- камень */
.dd-back { display: inline-flex; align-items: center; gap: 4px; margin: 14px 0 8px; color: var(--ink-2) !important; font: 500 14px var(--sans); text-decoration: none !important; }
.dd-back svg { width: 18px; height: 18px; }
[dir=rtl] .dd-back svg { transform: scaleX(-1); }
.dd-stone-grid { display: grid; gap: 18px; }
.dd-media-main { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 18px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.dd-photo, .dd-360 img { width: 100%; height: 100%; object-fit: contain; }
.dd-360 { position: absolute; inset: 0; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.dd-360-hint { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); font: 600 12px var(--sans); color: var(--ink-2); pointer-events: none; }
.dd-ph { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); }
.dd-ph svg { width: 140px; height: 140px; stroke-width: .7; color: #cfcad7; }
.dd-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.dd-thumb { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; height: 64px; padding: 2px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font: 600 10px var(--sans); color: var(--ink-2); }
.dd-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 9px; }
.dd-thumb.is-active { border-color: var(--ink); }
.dd-kicker { margin: 0 0 4px; font: 600 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); }
.dd-info h1 { margin: 0 0 10px; font-size: 30px; line-height: 1.12; }
.dd-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.dd-chips span { padding: 6px 11px; border-radius: 999px; background: var(--soft); font: 600 12.5px var(--sans); color: var(--ink-2); }
.dd-chips .dd-chip-lab { background: var(--gold-l); color: var(--gold-d); }
.dd-buy { padding: 16px; border-radius: 16px; background: var(--soft); }
.dd-price { display: block; margin-bottom: 12px; font: 700 28px var(--sans); }
.dd-ships { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); }
.dd-sold { margin: 0; color: #a3271f; font-weight: 600; }
.dd-cert { display: flex; gap: 12px; margin: 16px 0 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; }
.dd-cert svg { color: var(--ok); width: 26px; height: 26px; }
.dd-cert b, .dd-cert span, .dd-cert a { display: block; font-size: 14px; }
.dd-cert span { color: var(--ink-2); }
.dd-cert a { margin-top: 2px; color: var(--gold-d) !important; font-weight: 600; }
.dd-info h2 { margin: 24px 0 8px; font-size: 22px; }
.dd-specs { margin: 0; }
.dd-specs div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.dd-specs dt { font-weight: 500; color: var(--ink-2); }
.dd-specs dd { margin: 0; font-weight: 600; text-align: end; }
.dd-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + var(--safe-b)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .06); transform: translateY(110%); transition: transform .2s; }
.dd-buybar.is-on { transform: none; }
.dd-buybar b { flex: 1; font: 700 18px var(--sans); }

/* ---------------------------------------------------------------- главная */
.dd-hero { position: relative; display: flex; align-items: center; margin: 14px 0 0; padding: 36px 22px; border-radius: 22px; background: radial-gradient(120% 120% at 85% 10%, #2a2733 0%, #121117 60%); color: #fff; overflow: hidden; }
.dd-hero-in { position: relative; z-index: 1; max-width: 560px; }
.dd-hero h1 { margin: 0 0 12px; color: #fff; font-size: 36px; line-height: 1.05; }
.dd-hero p { margin: 0 0 22px; color: #d7d3df; font-size: 15px; }
.dd-hero .dd-btn-main { background: #fff; color: var(--ink) !important; }
.dd-hero-art { position: absolute; inset-inline-end: -40px; bottom: -40px; color: rgba(214, 187, 143, .35); }
.dd-hero-art svg { width: 240px; height: 240px; stroke-width: .5; }
.dd-cats { display: grid; gap: 12px; margin: 16px 0 0; }
.dd-cat { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none !important; color: var(--ink) !important; }
.dd-cat:hover { border-color: var(--ink); }
.dd-cat-art { grid-row: span 2; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: var(--soft); color: var(--gold-d); }
.dd-cat-art svg { width: 36px; height: 36px; stroke-width: 1.1; }
.dd-cat b { font: 600 20px var(--serif); }
.dd-cat small { color: var(--muted); font-size: 13px; }
.dd-shapes-home, .dd-guide { margin: 34px 0 0; }
.dd-shapes-home h2, .dd-guide h2 { margin: 0 0 14px; font-size: 26px; text-align: center; }
.dd-shape-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.dd-shape-row a { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 84px; padding: 12px 4px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none !important; color: var(--ink-2) !important; font: 500 12.5px var(--sans); }
.dd-shape-row svg { width: 36px; height: 36px; stroke-width: 1.1; color: var(--ink); }
.dd-guide-grid { display: grid; gap: 12px; }
.dd-guide-card { padding: 18px; border-radius: 18px; background: var(--soft); }
.dd-guide-card h3 { margin: 0 0 12px; font-size: 21px; }
.dd-guide-card ul { margin: 12px 0 0; padding-inline-start: 18px; color: var(--ink-2); font-size: 14px; }
.dd-guide-card li { margin-bottom: 6px; }
.dd-grade-scale { display: flex; border-radius: 10px; overflow: hidden; }
.dd-grade-scale span { flex: 1; padding: 7px 0; text-align: center; font: 700 12px var(--sans); color: var(--ink); }
.dd-grade-scale span:nth-child(-n+3) { background: #ffffff; }
.dd-grade-scale span:nth-child(n+4):nth-child(-n+7) { background: #fbf8ee; }
.dd-grade-scale span:nth-child(n+8) { background: #f4e9c4; }
.dd-grade-scale span:last-child { background: #ead690; }
.dd-hue-row { display: flex; gap: 8px; }
.dd-hue-row .dd-hue { width: 26px; height: 26px; }

/* ---------------------------------------------------------------- подвал */
.dd-footer { margin-top: 40px; background: var(--ink); color: #c9c5d3; padding-bottom: var(--safe-b); }
.dd-footer-in { display: grid; gap: 26px; max-width: 1320px; margin: 0 auto; padding: 36px 20px 20px; }
.dd-footer-brand p { margin: 12px 0 0; max-width: 340px; font-size: 13.5px; }
.dd-footer h3 { margin: 0 0 10px; color: #fff; font: 600 14px var(--sans); letter-spacing: .04em; }
.dd-footer ul { margin: 0; padding: 0; list-style: none; }
.dd-footer li { margin-bottom: 8px; }
.dd-footer a { color: #c9c5d3 !important; font-size: 14px; text-decoration: none !important; }
.dd-footer a:hover { color: #fff !important; }
.dd-footer-bottom { max-width: 1320px; margin: 0 auto; padding: 14px 20px 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; color: #8e8a99; }

/* страницы OpenCart (корзина, оформление, кабинет) внутри новой шапки */
.dd-body #content h1, .dd-body #content h2 { font-family: var(--serif); }
.dd-body .breadcrumb { background: none; padding: 8px 0; margin-bottom: 10px; }
.dd-body .btn-primary { background: var(--ink); border-color: var(--ink); border-radius: 999px; }
.dd-body .btn-primary:hover { background: #2b2933; border-color: #2b2933; }
.dd-body input.form-control, .dd-body select.form-control { font-size: 16px; height: 44px; }

/* ---------------------------------------------------------------- планшет */
@media (min-width: 768px) {
	.dd-header-in { padding: 0 20px; min-height: 64px; }
	.dd-tabs { top: calc(64px + env(safe-area-inset-top, 0px)); }
	.dd-account { display: inline-flex; }
	.dd-locale { align-items: center; }
	.dd-locale-box { border-radius: 22px; padding-bottom: 22px; }
	.dd-head h1 { font-size: 42px; }
	.dd-tabs { justify-content: center; margin: 14px 0 0; border: 0; padding: 10px 0; }
	.dd-tab { flex: 0 0 auto; padding: 11px 26px; }
	.dd-items.is-visual { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.dd-view button span { display: inline; }
	.dd-row { grid-template-columns: 44px minmax(0, 1.4fr) repeat(5, minmax(0, .7fr)) auto; }
	.dd-row-main span { display: none; }
	.dd-row-cols { display: contents; }
	.dd-row-cols span { font-size: 14px; color: var(--ink-2); }
	.dd-list-head { display: grid; grid-template-columns: 44px minmax(0, 1.4fr) repeat(5, minmax(0, .7fr)) auto; gap: 12px; padding: 0 4px 8px; font: 600 12px var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
	.dd-cats { grid-template-columns: repeat(3, 1fr); }
	.dd-guide-grid { grid-template-columns: 1fr 1fr; }
	.dd-footer-in { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
	.dd-hero { padding: 56px 48px; }
	.dd-hero h1 { font-size: 50px; }
	.dd-hero-art svg { width: 380px; height: 380px; }
	.dd-shape-row { justify-content: center; flex-wrap: wrap; }
	.dd-stone-grid { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
	.dd-media { position: sticky; top: 90px; }
	.dd-buybar { display: none; }
}

/* ---------------------------------------------------------------- компьютер: фильтры панелью над списком (как 77diamonds) */
@media (min-width: 1100px) {
	.dd-burger { display: none; }
	.dd-nav { position: static; flex-direction: row; width: auto; padding: 0; margin-inline-start: 28px; background: none; box-shadow: none; transform: none; transition: none; }
	.dd-nav-head, .dd-nav-mobile { display: none; }
	.dd-nav a { padding: 10px 14px; border: 0; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
	.dd-nav a:hover { background: var(--soft); color: var(--ink); }
	.dd-sheet { position: static; transform: none; transition: none; padding: 0; margin: 18px 0 0; border: 1px solid var(--line); border-radius: 20px; }
	.dd-sheet-head, .dd-sheet-foot { display: none; }
	.dd-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 36px; overflow: visible; padding: 8px 28px 18px; }
	.dd-fs { border-bottom: 0; }
	.dd-fs-shape { grid-row: span 2; }
	.dd-more-f { grid-column: 1 / -1; border-top: 1px solid var(--line); }
	.dd-more-f > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 36px; }
	.dd-reset-row { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
	.dd-filter-btn { display: none; }
	.dd-items.is-visual { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.dd-shapes { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1099px) { .dd-reset-row { display: none; } }
@media (prefers-reduced-motion: reduce) { .dd-nav, .dd-sheet, .dd-buybar { transition: none; } .dd-skel { animation: none; } }
