:root {
    --ddg-black: #050505;
    --ddg-panel: #0c0c0d;
    --ddg-line: rgba(255,255,255,.12);
    --ddg-text: #f7f4ee;
    --ddg-muted: #aaa7a1;
    --ddg-gold: #dcb65d;
    --ddg-gold-dark: #b88c31;
    --ddg-width: 1380px;
    --ddg-nav-height: 82px;
}

html { scroll-behavior: smooth; }
body.ddg-site-body {
    margin: 0 !important;
    background: var(--ddg-black) !important;
    color: var(--ddg-text) !important;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    overflow-x: hidden;
}
body.ddg-site-body *, body.ddg-site-body *::before, body.ddg-site-body *::after { box-sizing: border-box; }
body.ddg-site-body a { text-decoration: none; }
body.admin-bar .ddg-header { top: 32px; }
.ddg-skip-link {
    position: fixed;
    z-index: 99999;
    top: -100px;
    left: 20px;
    padding: 12px 18px;
    background: #fff;
    color: #000;
}
.ddg-skip-link:focus { top: 12px; }

/* Global glass navigation */
.ddg-header {
    position: fixed;
    z-index: 9990;
    top: 0;
    left: 0;
    width: 100%;
    padding: 14px 22px;
    transition: padding .25s ease, background .25s ease;
}
.ddg-header.is-scrolled { padding-top: 9px; padding-bottom: 9px; }
.ddg-nav-wrap {
    width: min(100%, var(--ddg-width));
    min-height: 66px;
    margin: 0 auto;
    padding: 8px 14px 8px 18px;
    display: grid;
    grid-template-columns: 190px 1fr 92px;
    align-items: center;
    gap: 24px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 20px;
    background: rgba(8,8,9,.55);
    box-shadow: 0 16px 40px rgba(0,0,0,.22);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
}
.ddg-header.is-scrolled .ddg-nav-wrap { background: rgba(5,5,6,.82); }
.ddg-brand { display: inline-flex; align-items: center; width: 176px; height: 48px; overflow: hidden; }
.ddg-brand img { width: 176px; height: 82px; max-width: none !important; object-fit: cover; display: block; }
.ddg-primary-nav { display: flex; justify-content: center; align-items: center; gap: clamp(18px, 2.2vw, 36px); }
.ddg-primary-nav a {
    position: relative;
    color: rgba(255,255,255,.88) !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    white-space: nowrap;
}
.ddg-primary-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 1px;
    background: var(--ddg-gold);
    transition: right .2s ease;
}
.ddg-primary-nav a:hover::after, .ddg-primary-nav a:focus::after { right: 0; }
.ddg-nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.ddg-nav-actions > a {
    position: relative;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    color: #fff !important;
    background: rgba(255,255,255,.04);
}
.ddg-nav-actions svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ddg-cart-link span {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--ddg-gold);
    color: #080808;
    font-size: 10px;
    font-weight: 800;
}
.ddg-menu-toggle { display: none; }

/* Homepage */
.ddg-home { width: 100%; background: var(--ddg-black); }
.ddg-hero {
    position: relative;
    min-height: max(720px, 100svh);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #060606 url("../images/ddg-hero.jpg") center/cover no-repeat;
}
.ddg-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ddg-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.44) 48%, rgba(0,0,0,.12) 75%),
        linear-gradient(0deg, rgba(0,0,0,.88) 0%, transparent 48%, rgba(0,0,0,.22) 100%);
}
.ddg-hero-content {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 44px), var(--ddg-width));
    margin: 0 auto;
    padding: 190px 0 92px;
}
.ddg-eyebrow {
    margin: 0 0 18px !important;
    color: var(--ddg-gold) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .22em !important;
    text-transform: uppercase;
}
.ddg-hero h1 {
    max-width: 760px;
    margin: 0 !important;
    color: #fff !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(58px, 7vw, 112px) !important;
    font-weight: 600 !important;
    letter-spacing: -.055em !important;
    line-height: .92 !important;
}
.ddg-hero-content > p:not(.ddg-eyebrow) {
    max-width: 600px;
    margin: 28px 0 0 !important;
    color: rgba(255,255,255,.72) !important;
    font-size: clamp(16px, 1.5vw, 20px) !important;
    line-height: 1.65 !important;
}
.ddg-hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.ddg-btn {
    min-height: 52px;
    padding: 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.ddg-btn:hover { transform: translateY(-2px); }
.ddg-btn-gold { background: var(--ddg-gold); color: #080808 !important; }
.ddg-btn-gold:hover { background: #edcc7d; }
.ddg-btn-glass { border-color: rgba(255,255,255,.35); background: rgba(0,0,0,.22); color: #fff !important; }
.ddg-btn-glass:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.ddg-arrivals {
    width: min(calc(100% - 44px), var(--ddg-width));
    margin: 0 auto;
    padding: 110px 0 120px;
}
.ddg-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 42px; }
.ddg-section-head h2 {
    margin: 0 !important;
    color: #fff !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(42px, 5vw, 72px) !important;
    font-weight: 500 !important;
    letter-spacing: -.04em !important;
    line-height: 1 !important;
}
.ddg-section-head > a { padding-bottom: 8px; border-bottom: 1px solid rgba(220,182,93,.55); color: var(--ddg-gold) !important; font-size: 14px; font-weight: 700; }
.ddg-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ddg-product-card {
    min-width: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    transition: transform .25s ease;
}
.ddg-product-card:hover { transform: translateY(-5px); }
.ddg-product-image { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #f4f4f2; }
.ddg-product-image img { width: 100% !important; height: 100% !important; margin: 0 !important; object-fit: contain; display: block; transition: transform .4s ease; }
.ddg-product-card:hover .ddg-product-image img { transform: scale(1.035); }
.ddg-product-image > span {
    position: absolute;
    top: 13px;
    left: 13px;
    padding: 6px 9px;
    border-radius: 20px;
    background: rgba(5,5,5,.88);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.ddg-product-info { padding: 18px 2px 8px; }
.ddg-product-info h3, .ddg-product-info h2 { min-height: 48px; margin: 0 0 11px !important; font-size: 16px !important; font-weight: 650 !important; line-height: 1.45 !important; }
.ddg-product-info h3 a, .ddg-product-info h2 a { color: #fff !important; }
.ddg-product-price { margin-bottom: 18px; color: var(--ddg-gold); font-size: 16px; font-weight: 750; }
.ddg-product-price del { color: #777; font-size: 13px; }
.ddg-product-price ins { text-decoration: none; }
.ddg-product-link { color: #cbc8c1 !important; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.ddg-product-link span { color: var(--ddg-gold); }
.ddg-empty-arrivals { padding: 74px 24px; text-align: center; border: 1px solid var(--ddg-line); border-radius: 14px; background: #0c0c0d; }
.ddg-empty-arrivals p { margin: 0 0 22px; color: var(--ddg-muted); }

/* Shop and New Arrivals */
.ddg-catalog-page { min-height: 100vh; padding-top: 130px; background: var(--ddg-black); }
.ddg-catalog-hero, .ddg-catalog-content { width: min(calc(100% - 44px), var(--ddg-width)); margin: 0 auto; }
.ddg-catalog-hero { padding: 74px 0 54px; }
.ddg-catalog-hero h1 { margin: 0 !important; color: #fff !important; font-family: Georgia, "Times New Roman", serif !important; font-size: clamp(58px, 7vw, 96px) !important; font-weight: 500 !important; letter-spacing: -.055em !important; line-height: .95 !important; }
.ddg-catalog-hero > p:last-child { max-width: 620px; margin: 22px 0 0 !important; color: var(--ddg-muted) !important; font-size: 17px !important; }
.ddg-catalog-content { padding-bottom: 120px; }
.ddg-catalog-filters { display: grid; grid-template-columns: minmax(230px, 1.4fr) repeat(3, minmax(150px, .72fr)) auto; gap: 10px; margin-bottom: 22px; }
.ddg-catalog-filters input, .ddg-catalog-filters select, .ddg-catalog-filters button { width: 100%; height: 50px; margin: 0 !important; border: 0 !important; border-radius: 7px !important; box-shadow: none !important; font: inherit !important; }
.ddg-catalog-filters input, .ddg-catalog-filters select { padding: 0 15px; background: #151516 !important; color: #f4f2ed !important; }
.ddg-catalog-filters button { padding: 0 22px; background: var(--ddg-gold) !important; color: #080808 !important; font-size: 12px !important; font-weight: 800 !important; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; }
.ddg-search-field { position: relative; display: block; margin: 0 !important; }
.ddg-search-field svg { position: absolute; z-index: 2; top: 15px; left: 15px; width: 20px; height: 20px; fill: none; stroke: #8d8982; stroke-width: 1.7; }
.ddg-search-field input { padding-left: 45px !important; }
.ddg-result-count { margin: 0 0 28px !important; color: #85827d !important; font-size: 13px !important; }
.ddg-catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 46px; }
.ddg-pagination { margin-top: 64px; }
.ddg-pagination .page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ddg-pagination a, .ddg-pagination span { min-width: 42px; height: 42px; padding: 0 10px; display: grid; place-items: center; border-radius: 50%; background: #151516; color: #fff !important; font-size: 13px; }
.ddg-pagination .current { background: var(--ddg-gold); color: #080808 !important; }

/* Shared footer */
.ddg-footer { border-top: 1px solid var(--ddg-line); background: #030303; color: var(--ddg-muted); }
.ddg-footer-grid {
    width: min(calc(100% - 44px), var(--ddg-width));
    margin: 0 auto;
    padding: 76px 0 64px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 70px;
}
.ddg-footer-brand img { width: 210px; height: 100px; max-width: none !important; object-fit: cover; display: block; margin: -18px 0 12px; }
.ddg-footer-brand p { max-width: 300px; margin: 0 !important; color: var(--ddg-muted) !important; font-size: 14px !important; line-height: 1.7 !important; }
.ddg-footer h2 { margin: 0 0 20px !important; color: var(--ddg-gold) !important; font-size: 11px !important; font-weight: 800 !important; letter-spacing: .16em !important; text-transform: uppercase; }
.ddg-footer-grid > div:not(.ddg-footer-brand) { display: flex; flex-direction: column; align-items: flex-start; }
.ddg-footer a { margin: 0 0 13px; color: #aaa7a1 !important; font-size: 14px; }
.ddg-footer a:hover { color: #fff !important; }
.ddg-footer-bottom {
    width: min(calc(100% - 44px), var(--ddg-width));
    margin: 0 auto;
    padding: 22px 0 28px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: #666;
    font-size: 12px;
}

/* Keep standard WordPress/WooCommerce pages usable below the fixed nav. */
body:not(.home) #content,
body:not(.home) .site-content,
body:not(.home) main:not(.ddg-home) { padding-top: 118px; }
body:not(.home) .ddg-footer { margin-top: 70px; }

@media (max-width: 1120px) {
    .ddg-nav-wrap { grid-template-columns: 160px 1fr 86px; gap: 12px; }
    .ddg-brand, .ddg-brand img { width: 150px; }
    .ddg-primary-nav { gap: 17px; }
    .ddg-primary-nav a { font-size: 12px; }
    .ddg-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .ddg-catalog-filters { grid-template-columns: 1fr 1fr; }
    .ddg-search-field { grid-column: 1 / -1; }
    .ddg-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    body.admin-bar .ddg-header { top: 46px; }
    .ddg-header { padding: 10px 12px; }
    .ddg-nav-wrap { min-height: 62px; grid-template-columns: 1fr auto auto; border-radius: 16px; padding: 6px 10px 6px 14px; }
    .ddg-brand { width: 154px; height: 46px; }
    .ddg-brand img { width: 154px; height: 76px; }
    .ddg-menu-toggle {
        display: flex;
        width: 40px;
        height: 40px;
        padding: 10px;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        border: 1px solid rgba(255,255,255,.14);
        border-radius: 50%;
        background: rgba(255,255,255,.04);
    }
    .ddg-menu-toggle span:not(.screen-reader-text) { width: 100%; height: 1px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
    .ddg-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .ddg-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .ddg-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .ddg-primary-nav {
        position: fixed;
        top: 88px;
        left: 12px;
        right: 12px;
        padding: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border: 1px solid rgba(255,255,255,.13);
        border-radius: 16px;
        background: rgba(5,5,6,.96);
        box-shadow: 0 24px 60px rgba(0,0,0,.45);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
    }
    body.admin-bar .ddg-primary-nav { top: 134px; }
    .ddg-primary-nav.is-open { display: flex; }
    .ddg-primary-nav a { padding: 15px 8px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px; }
    .ddg-primary-nav a:last-child { border-bottom: 0; }
    .ddg-primary-nav a::after { display: none; }
    .ddg-nav-actions { gap: 7px; }
    .ddg-nav-actions > a { width: 36px; height: 36px; }
    .ddg-hero { min-height: 760px; }
    .ddg-hero-content { padding-bottom: 70px; }
    .ddg-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ddg-footer-grid { grid-template-columns: 1.7fr 1fr 1fr; gap: 45px; }
    .ddg-footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 600px) {
    .ddg-catalog-page { padding-top: 94px; }
    .ddg-catalog-hero { padding: 56px 0 38px; }
    .ddg-catalog-filters { grid-template-columns: 1fr; }
    .ddg-search-field { grid-column: auto; }
    .ddg-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
    .ddg-product-info { padding-top: 12px; }
    .ddg-product-info h2, .ddg-product-info h3 { min-height: 42px; font-size: 13px !important; }
    :root { --ddg-nav-height: 72px; }
    .ddg-header { padding: 8px; }
    .ddg-nav-wrap { grid-template-columns: 1fr auto; gap: 8px; }
    .ddg-brand { width: 137px; }
    .ddg-brand img { width: 137px; height: 72px; }
    .ddg-menu-toggle { grid-column: 2; grid-row: 1; }
    .ddg-nav-actions { display: none; }
    .ddg-primary-nav { top: 78px; left: 8px; right: 8px; }
    body.admin-bar .ddg-primary-nav { top: 124px; }
    .ddg-hero { min-height: 700px; align-items: flex-end; }
    .ddg-hero-shade { background: linear-gradient(0deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.48) 65%, rgba(0,0,0,.25) 100%); }
    .ddg-hero-content { width: calc(100% - 32px); padding: 150px 0 48px; }
    .ddg-hero h1 { font-size: clamp(48px, 16vw, 68px) !important; line-height: .96 !important; }
    .ddg-hero-content > p:not(.ddg-eyebrow) { margin-top: 20px !important; font-size: 15px !important; }
    .ddg-hero-buttons { margin-top: 26px; }
    .ddg-btn { width: 100%; }
    .ddg-arrivals { width: calc(100% - 28px); padding: 72px 0 78px; }
    .ddg-section-head { align-items: flex-start; margin-bottom: 28px; }
    .ddg-section-head h2 { font-size: 43px !important; }
    .ddg-section-head > a { padding-top: 35px; font-size: 12px; white-space: nowrap; }
    .ddg-product-grid { gap: 10px; }
    .ddg-product-info { padding: 14px; }
    .ddg-product-info h3 { min-height: 43px; font-size: 13px !important; line-height: 1.4 !important; }
    .ddg-product-price { font-size: 14px; }
    .ddg-product-link { font-size: 11px; }
    .ddg-footer-grid { width: calc(100% - 32px); padding: 58px 0 42px; grid-template-columns: 1fr 1fr; gap: 36px 28px; }
    .ddg-footer-brand { grid-column: 1 / -1; }
    .ddg-footer-grid > div:last-child { grid-column: auto; }
    .ddg-footer-bottom { width: calc(100% - 32px); flex-direction: column; }
    body:not(.home) #content,
    body:not(.home) .site-content,
    body:not(.home) main:not(.ddg-home) { padding-top: 92px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ddg-hero-video { display: none; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
