/*
Theme Name: Дроп72 — Бордо и золото
Description: Дочерняя тема для витрины Дроп72 и каталога WooCommerce.
Template: drop72
Version: 1.0.0
Text Domain: drop72-atelier
*/
:root {
    --bg: #0b080a;
    --card: #151011;
    --line: #40302d;
    --text: #f5eee6;
    --muted: #c5b9b9;
    --gold: #e0b66c;
    --burgundy: #661c32;
    --burgundy-2: #a7475b;
    --serif: Georgia, "Times New Roman", serif;
    --edge: clamp(20px, 3.65vw, 68px);
}
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
*, *::after, *::before { box-sizing: border-box; }
.d-frame, .d-inner { width: min(100% - var(--edge) * 2, 1392px); margin-inline: auto; }
.d-header a, .d-home a, .d-footer a { text-decoration: none; }
:is(.d-header, .d-home, .d-footer) svg { width: 22px; height: 22px; flex: none; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid #f6cc88; outline-offset: 4px; }
.d-skip { position: absolute; left: 1rem; top: -100px; z-index: 99; padding: .8em; background: black; color: white; }
.d-skip:focus { top: 1rem; }
.d-header { position: relative; z-index: 5; background: linear-gradient(100deg, #080708 43%, #13090e); }
.d-headrow { min-height: clamp(78px, 8vw, 110px); display: flex; gap: clamp(16px, 2.2vw, 40px); align-items: center; justify-content: space-between; }
.d-brand { display: inline-flex; gap: 9px; align-items: center; color: var(--gold); flex: none; }
.d-brand img { height: clamp(45px, 4.6vw, 66px); width: auto; mix-blend-mode: lighten; }
.d-brand b { display: block; font: 400 clamp(31px, 3.45vw, 47px)/1.02 var(--serif); letter-spacing: -.045em; }
.d-brand small { display: block; font-size: clamp(7px, .66vw, 10px); letter-spacing: .24em; text-transform: uppercase; margin-top: 4px; }
.d-nav, .d-tools, .d-city, .d-phone, .d-cart, .d-menu summary { display: flex; align-items: center; }
.d-nav { gap: clamp(13px, 2vw, 32px); }
.d-nav a, .d-tools a { color: var(--text); }
.d-nav a, .d-city, .d-phone { white-space: nowrap; font-size: clamp(13px, 1.03vw, 16px); }
.d-header a:hover, .d-secondary a:hover, .d-menu summary:hover { color: #f6ce89; }
.d-tools { gap: 14px; }
.d-city, .d-phone { gap: 6px; }
.d-tools svg { color: var(--gold); width: 17px; height: 17px; }
.d-phone { padding-left: 14px; border-left: 1px solid #594537; }
.d-cart, .d-menu summary { min-width: 36px; min-height: 44px; justify-content: center; }
.d-cart svg, .d-menu svg { width: 22px; height: 22px; }
.d-menu { position: relative; display: none; }
.d-menu summary { list-style: none; cursor: pointer; }
.d-menu summary::-webkit-details-marker { display: none; }
.d-menu nav { position: absolute; right: 0; top: 100%; min-width: 210px; padding: 6px 16px; background: #1a1115; border: 1px solid var(--line); box-shadow: 0 12px 32px #0009; }
.d-menu nav a { display: block; padding: 10px 0; }
.d-hero { overflow: hidden; background: radial-gradient(ellipse at 82% 45%, #2b0e1c, transparent 51%), linear-gradient(115deg,#080708 40%,#12090d); border-bottom: 1px solid #493322; }
.d-hero-frame { position: relative; display: flex; align-items: center; min-height: clamp(460px, 43.4vw, 650px); }
.d-still { position: absolute; right: calc(-1 * var(--edge)); bottom: 0; top: 0; width: 51%; pointer-events: none; }
.d-still img { width: 100%; height: 100%; object-fit: contain; object-position: right bottom; display: block; mask-image: linear-gradient(90deg, transparent, black 10%); }
.d-hero-text { position: relative; z-index: 1; padding: 32px 0 35px; }
.d-kicker { margin: 0; color: #e4bb7c; font-size: clamp(10px, 1vw, 14px); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; line-height: 1.45; }
.d-hero h1, .d-home h2, .d-inner h1, .d-inner .product_title { font-family: var(--serif); color: var(--gold); font-weight: 400; }
.d-hero h1 { margin: 15px 0 16px; font-size: clamp(58px, 6.35vw, 103px); letter-spacing: -.055em; line-height: .99; }
.d-lead { margin: 22px 0 0; color: #d0c4c7; font-size: clamp(15px, 1.35vw, 21px); }
.d-actions { display: flex; gap: 16px; margin-top: 28px; }
.d-btn { display: inline-flex; gap: 13px; align-items: center; justify-content: center; min-height: 55px; padding: 12px clamp(20px, 2.5vw, 40px); border: 1px solid #b38a4c; border-radius: 5px; color: #fff6e9; font-size: clamp(15px, 1.36vw, 20px); font-weight: 550; background: #100c0ccc; }
.d-btn svg { color: #e9c07d; }
.d-main-btn { background: linear-gradient(107deg,#491329 2%,#662238 58%,#a27738); }
.d-btn:hover { border-color: #f9d797; filter: brightness(1.16); }
.d-benefits { display: flex; align-items: center; gap: 0; list-style: none; padding: 0; margin: 40px 0 0; }
.d-benefits li { display: flex; align-items: center; gap: 9px; }
.d-benefits li + li { margin-left: 14px; padding-left: 14px; position: relative; }
.d-benefits li + li::before { content: ""; position: absolute; left: 0; height: 55%; border-left: 1px solid #715332; }
.d-benefits li > span { display: grid; place-items: center; width: clamp(39px, 3.9vw, 57px); height: clamp(39px, 3.9vw, 57px); border: 1px solid #ca9d58; color: var(--gold); border-radius: 50%; font-size: 18px; }
.d-benefits b { font-size: clamp(9px, .83vw, 12px); line-height: 1.45; font-weight: 550; text-transform: uppercase; letter-spacing: .025em; }
.d-categories { background: linear-gradient(110deg,#100a0b,#0c090b); padding: 22px 0 19px; border-bottom: 1px solid #342526; }
.d-featured { display: grid; grid-template-columns: 1.16fr repeat(3,1fr); gap: clamp(10px, 1.15vw, 19px); align-items: stretch; }
.d-cat-intro { display: flex; flex-direction: column; justify-content: center; }
.d-cat-intro h2 { font-size: clamp(23px, 2.25vw, 35px); line-height: 1.13; margin: 10px 0 0; letter-spacing: -.035em; }
.d-category { position: relative; isolation: isolate; display: grid; gap: 9px; grid-template-columns: 40% 1fr; align-items: center; min-height: clamp(126px, 12.1vw, 175px); overflow: hidden; background: linear-gradient(110deg,#120e0e,#0d0b0c); color: var(--text); border: 1px solid #49382c; border-radius: 5px; padding: 10px 12px 12px 5px; }
.d-category img { width: 100%; height: 100%; object-fit: contain; max-height: 150px; mix-blend-mode: lighten; }
.d-category strong { display: block; font: 400 clamp(19px, 1.85vw, 29px)/1.1 var(--serif); }
.d-category small { display: block; margin-top: 6px; line-height: 1.4; font-size: clamp(11px, .97vw, 15px); color: #d0c5c1; }
.d-category svg { position: absolute; right: 12px; bottom: 9px; width: 18px; height: 18px; color: var(--gold); }
.d-category:hover { border-color: var(--gold); background: #201419; }
.d-secondary { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 19px; margin-top: 19px; }
.d-secondary a, .d-section-head a { display: inline-flex; align-items: center; gap: 6px; color: #c8bdb4; font-size: 13px; padding: 4px 0; }
.d-secondary a:first-child, .d-section-head a { color: var(--gold); }
.d-secondary svg, .d-section-head svg { width: 15px; height: 15px; }
.d-shelf { padding-block: clamp(34px,4.5vw,70px); }
.d-section-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.d-section-head h2, .d-delivery h2 { margin: 0; font-size: clamp(31px,3vw,45px); line-height: 1.2; }
.d-delivery { border-top: 1px solid var(--line); background: #110d0f; padding: 34px 0; }
.d-delivery p { max-width: 710px; color: var(--muted); margin: 12px 0 0; }
.d-footer { padding: 35px 0; background: #090809; border-top: 1px solid var(--line); }
.d-footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; align-items: start; }
.d-footer h2 { color: #f0e6d8; margin: 0 0 6px; font: 500 18px/1.25 var(--serif); }
.d-footer p { color: var(--muted); font-size: 14px; margin: 3px 0; }
.d-inner { padding: 32px 0 52px; min-height: 54vh; display: flow-root; }
.d-inner :where(h1) { font-size: clamp(37px,4.5vw,64px); margin: 0 0 20px; line-height: 1.1; }
.d-inner > .wrap, .d-inner .section > .wrap { width: 100%; }
.d-inner .woocommerce-ordering select { max-width: 100%; background: #191215; color: #efe7de; padding: 8px 10px; border: 1px solid var(--line); }
body .d-shelf ul.products, body.woocommerce .d-inner ul.products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(10px,1.45vw,24px); clear: both; padding: 0; margin: 0; }
body .d-shelf ul.products::before, body .d-shelf ul.products::after, body.woocommerce .d-inner ul.products::before, body.woocommerce .d-inner ul.products::after { display: none; }
body .d-shelf ul.products li.product, body.woocommerce .d-inner ul.products li.product { display: flex; flex-direction: column; align-items: flex-start; width: auto; min-width: 0; padding: clamp(10px,1.3vw,20px); border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(160deg,#1c1417,#110e0f); }
ul.products li.product > a:first-child { width: 100%; }
body .d-shelf ul.products li.product a img, body.woocommerce .d-inner ul.products li.product a img { width: 100%; height: auto; aspect-ratio: 1.15; padding: 2px; object-fit: contain; border-radius: 3px; margin-bottom: 12px; background: #0f0c0d; }
body ul.products li.product a img.woocommerce-placeholder { content: url('assets/mark.webp'); padding: 14% !important; opacity: .68; }
body .d-shelf ul.products li.product h2, body.woocommerce .d-inner ul.products li.product h2 { font: 400 clamp(18px,1.55vw,24px)/1.2 var(--serif); color: var(--text); margin: 0 0 8px; padding: 0; overflow-wrap: anywhere; }
body .d-shelf ul.products .price, body.woocommerce .d-inner ul.products .price { font-size: 16px; color: var(--gold); margin-bottom: 12px; }
body .d-shelf ul.products li.product .button, body.woocommerce .d-inner ul.products li.product .button { margin-top: auto; padding: 10px 13px; border: 1px solid #78434e; background: #492032 !important; font-size: 14px; }
body .woocommerce-breadcrumb, body .woocommerce-breadcrumb a { color: var(--muted); }
.d-inner .woocommerce-tabs ul.tabs li a { color: #48342a; }
.d-inner .wc-block-components-product-name, .d-inner .wc-block-components-totals-item__value { color: var(--gold); }
.d-inner .wc-block-components-text-input input, .d-inner .wc-block-components-combobox-control input, .d-inner .wc-block-components-textarea, .d-inner .wc-blocks-components-select__select { color: #24181b; background: #fbf5f0; }
.d-inner .wc-block-components-button:not(.is-link) { background: #642039; color: white; border: 1px solid #92616d; }
@media (max-width: 1000px) {
    .d-nav { gap: 13px; }
    .d-city { display: none; }
    .d-phone { padding-left: 0; border: 0; }
    .d-featured { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .d-cat-intro { grid-column: 1 / -1; }
    .d-cat-intro h2 { margin-top: 4px; }
    .d-benefits li + li { margin-left: 9px; padding-left: 9px; }
}
@media (max-width: 760px) {
    .d-headrow { min-height: 73px; }
    .d-tools { gap: 8px; }
    .d-nav { display: none; }
    .d-menu { display: block; }
    .d-phone { min-width: 34px; min-height: 44px; justify-content: center; }
    .d-hero-frame { display: flex; flex-direction: column; min-height: 0; align-items: stretch; }
    .d-hero-text { order: 0; padding: 25px 0 0; }
    .d-hero h1 { font-size: clamp(39px,8.6vw,64px); margin: 12px 0 0; }
    .d-lead { font-size: 15px; margin: 13px 0 0; }
    .d-actions { gap: 10px; margin-top: 18px; }
    .d-btn { min-height: 45px; padding: 9px 15px; gap: 8px; }
    .d-btn svg { width: 18px; height: 18px; }
    .d-still { order: 1; position: relative; inset: auto; width: calc(100% + var(--edge) * 2); margin: 8px calc(-1 * var(--edge)) 0; height: clamp(217px,52vw,290px); }
    .d-still img { object-position: center bottom; mask-image: linear-gradient(to right,transparent 0%,black 16%,black 84%,transparent 100%); }
    .d-benefits { margin-top: 22px; }
    .d-benefits li { gap: 6px; }
    .d-benefits li > span { width: 34px; height: 34px; font-size: 14px; }
    .d-benefits svg { width: 18px; height: 18px; }
    .d-benefits b { font-size: 8.5px; }
    .d-category { display: flex; align-items: flex-start; flex-direction: column; padding: 9px 10px 26px; gap: 7px; }
    .d-category img { height: 86px; width: 100%; }
    .d-category small { font-size: 12px; }
    .d-footer-grid { grid-template-columns: 1fr 1fr; }
    .d-footer .d-brand { grid-column: 1 / -1; }
    body .d-shelf ul.products, body.woocommerce .d-inner ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 480px) {
    .d-phone span { display: none; }
    .d-phone svg { width: 21px; height: 21px; }
    .d-benefits { gap: 7px; justify-content: space-between; }
    .d-benefits li + li { margin: 0; padding: 0; }
    .d-benefits li + li::before { content: none; }
    .d-benefits b { font-size: 8px; }
    .d-featured { grid-template-columns: 1fr; }
    .d-category { min-height: 91px; display: grid; grid-template-columns: 68px 1fr; gap: 13px; align-items: center; padding: 5px 29px 5px 7px; }
    .d-category img { height: 80px; }
    .d-secondary { gap: 3px 14px; margin-top: 13px; }
    .d-footer-grid { gap: 18px; }
    .d-inner .woocommerce-ordering, .d-inner .woocommerce-result-count { float: none; }
}
@media (max-width: 355px) {
    :root { --edge: 14px; }
    .d-benefits li { gap: 3px; }
    .d-benefits li > span { width: 26px; height: 26px; font-size: 12px; }
}
