/* Dust & Glory — Theme styling */

/* 01. Variables and typography */
:root {
    --dg-red: #921e28;
    --dg-black: #10100f;
    --dg-paper: #f3f0e9;
	--dg-cream: #f4e8da;
    --dg-white: #fff;
    --dg-primary: 'Poppins', sans-serif;
    --dg-display: 'Poppins', sans-serif;
    --dg-rough: 'kiln-sans', sans-serif;
	--dg-ink:#10100f;
}

body {
    color: var(--dg-black);
    background: var(--dg-paper);
    font-family: var(--dg-primary);
    font-weight: 400;
}

/* WooCommerce — Basket page */
body.woocommerce-cart .dg-page {
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding: 4rem 24px;
}

a { color: inherit; }
a:hover { color: var(--dg-red); }

/* Global H1 — Dust & Glory Kiln Sans */
h1 {
    
	font-family: var(--dg-display);
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: normal;
    line-height: .92;
}
/* Other headings retain their existing styling */
h2, h3, .dg-logo {
    font-family: var(--dg-rough);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -.055em;
    line-height: .92;
}
/* Apply Kiln Sans only to headings explicitly marked as distressed. */
.dg-rough,
.heading-rough,
h1.dg-rough,
h2.dg-rough,
h3.dg-rough,
h4.dg-rough,
h5.dg-rough,
h6.dg-rough,
h1.heading-rough,
h2.heading-rough,
h3.heading-rough,
.dg-logo.dg-rough {
    font-family: var(--dg-rough);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: normal;
    line-height: 1;
}
.heading-light,
h1.dg-light{
	 font-family: var(--dg-primary);
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: normal;
    line-height: 1;
}

.dg-eyebrow {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .25em;
    text-transform: uppercase;
}

/* 02. Header and navigation */
.dg-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background: var(--dg-black);
    color: #fff;
    transition: background-color .25s ease;
	padding: 10px 0;
}
.dg-logo { font-size: 1.5rem; color: #fff; text-decoration: none; }
.dg-header a { color: #fff; text-decoration: none;    text-transform: uppercase;    font-size: 12px;    letter-spacing: 4px;font-weight: 300;}
.dg-header .menu {
    display: flex;
    gap: 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.dg-header .menu a {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.dg-cart { font-size: .75rem; text-transform: uppercase; white-space: nowrap; }

/* 03. Buttons */
.dg-button {
    display: inline-block;
    background: var(--dg-red);
    padding: .85rem 1.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: .1em;
}
.dg-button:hover { background: #111; color: #fff; }

/* 04. Homepage hero */
.dg-hero {
    min-height: 640px;
    min-height: 80svh;
    background-color: #282321;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
	border: 20px solid #10100f;
}
.dg-hero-inner { padding-block: 5rem; }
.dg-hero h1 { font-size: clamp(4rem, 11vw, 11rem); max-width: 1000px; }

/* 05. Story section */
.dg-story-image { min-height: 550px; background: #931e2b center / cover no-repeat; }
.dg-story-copy { min-height: 550px; background: var(--dg-paper); }
.dg-story h2 { font-size: clamp(3.5rem, 6vw, 7rem); color: var(--dg-red); }
.dg-story-copy p { max-width: 500px; }

/* 06. Collections */
.dg-collection-tile {
    min-height: 460px;
    background: #38322c center / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 2rem 3rem;
    color: white;
    text-decoration: none;
    position: relative;
    isolation: isolate;
}
.dg-collection-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, .45));
    z-index: -1;
}
.dg-collection-tile strong {
    font-size: clamp(3rem, 7vw, 7rem);
    line-height: .9;
    text-transform: uppercase;
    letter-spacing: -.06em;
}
.dg-collection-tile:hover { color: white; }

/* 07. Latest drop */
.dg-latest h2,
.dg-journal h2 { font-size: clamp(3rem, 6vw, 6rem); color: var(--dg-red); }

/* 08. Athlete project */
.dg-athlete {
    background: #282727 center / cover no-repeat;
    color: white;
    min-height: 420px;
    display: flex;
    align-items: center;
}
.dg-athlete h2 { font-size: clamp(3rem, 8vw, 8rem); }

/* 09. Journal */
.dg-journal { background: var(--dg-paper); }
.dg-journal h3 { font-size: clamp(2.5rem, 5vw, 5rem); color: var(--dg-red); }

/* 10. Footer */
.dg-footer { background: #101010; color: var(--dg-cream); }
.dg-footer-menu { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; }

/* 11. WooCommerce and category landing pages */
.dg-shop{background-color:#fff;}
.dg-shop ul.products li.product a img { width: 100%; height: auto;border-radius:50%; }
.dg-shop .woocommerce-breadcrumb { padding-block: 1rem; }
.dg-shop .woocommerce-products-header { margin-bottom: 1rem; }

/* 12. Rough edges — replace with a PSD-derived mask when available */
.dg-edge-bottom {
    clip-path: polygon(0 0, 100% 0, 100% 98%, 96% 99%, 91% 98.2%, 86% 99%, 79% 98.4%, 73% 99%, 66% 98.3%, 59% 99%, 52% 98.4%, 45% 99%, 38% 98.3%, 31% 99%, 24% 98.4%, 17% 99%, 10% 98.3%, 4% 99%, 0 98%);
}
.dg-edge-top {
    clip-path: polygon(0 2%, 5% 1%, 12% 1.8%, 19% 1%, 27% 1.7%, 35% 1%, 43% 1.8%, 51% 1%, 59% 1.7%, 67% 1%, 75% 1.8%, 83% 1%, 91% 1.7%, 100% 1%, 100% 100%, 0 100%);
}

/* 13. Motion utilities */
.dg-hover-zoom { overflow: hidden; }
.dg-hover-zoom img { transition: transform .55s ease; }
.dg-hover-zoom:hover img { transform: scale(1.035); }

/* 14. Responsive */
@media (max-width: 991.98px) {
    .dg-header .menu { display: block; padding-block: 1rem; }
    .dg-header .menu li { margin: .75rem 0; }
    .dg-cart { display: block; padding: 1rem 0; }
    .dg-hero { min-height: 580px; }
    .dg-story-image { min-height: 430px; }
    .dg-story-copy { min-height: 380px; }
    .dg-collection-tile { min-height: 360px; padding: 1.5rem; }
}
@media (max-width: 575.98px) {
    .dg-hero h1 { font-size: clamp(3.5rem, 15vw, 6rem); }
    .dg-collection-tile strong { font-size: 3.4rem; }
    .dg-collection-visual { min-height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
    .dg-hover-zoom img { transition: none; }
    .dg-hover-zoom:hover img { transform: none; }
    .animate__animated { animation: none !important; }
}

/* Dust & Glory — Editorial hero layout */

/* Hero outer layout */
.dg-hero-editorial .dg-hero-layout {
    width: 100%;
    max-width: 1600px;
    margin-inline: auto;
    padding: 2rem 0.5rem 0 3rem;
}
/* Apply grid to the actual parent of the two columns */
.dg-hero-editorial .dg-hero-layout > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 4rem;
    width: 100%;
}

/* Left column */
.dg-hero-editorial .dg-hero-actions {
    grid-column: 1;
    min-width: 0;
}

/* Right column */
.dg-hero-editorial .dg-hero-message {
    grid-column: 2;
    min-width: 0;
}

/* Mobile */
@media (max-width: 767px) {
    .dg-hero-editorial .dg-hero-layout {
        padding: 6rem 1.5rem 3rem;
    }

    .dg-hero-editorial .dg-hero-layout > .wp-block-group__inner-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 3rem;
    }

    .dg-hero-editorial .dg-hero-actions,
    .dg-hero-editorial .dg-hero-message {
        grid-column: 1;
    }
}
/* Left column — two brush-stroke links */

.dg-hero-editorial .dg-hero-actions {
    grid-column: 1;
    min-width: 0;
}

/* WordPress inner wrapper */
.dg-hero-editorial .dg-hero-actions > .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
}

/* Remove Gutenberg paragraph spacing */
.dg-hero-editorial .dg-hero-action {
    margin: 0;
}

/* First brush-stroke button */
.dg-hero-editorial .dg-hero-action a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 249px;
    min-height: 78px;
    box-sizing: border-box;
    padding: 12px 25px;

    background-image: url('../images/hero-link-collections.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;

    color: #fff;
    text-decoration: none;
    text-align: center;

    font-family: var(--dg-primary);
    font-size: 18px;
    font-weight: 100;
    line-height: 1.2;
    letter-spacing: 0.02em;

    transition: transform 0.2s ease;
}

/* Second brush-stroke button */
.dg-hero-editorial .dg-hero-action:nth-child(2) a {
    width: 322px;
    min-height: 71px;
    background-image: url('../images/hero-link-athlete.webp');
}

/* Hover */
.dg-hero-editorial .dg-hero-action a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Mobile */
@media (max-width: 767px) {
    .dg-hero-editorial .dg-hero-action a {
        max-width: 100%;
    }
}
.dg-hero-editorial .dg-hero-message {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
}

.dg-hero-editorial .dg-hero-title {
    font-family: var(--dg-primary);
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 100;
    line-height: 0.95;
    letter-spacing: normal;
    margin: 0;
}

.dg-hero-editorial .dg-hero-rule {
    width: 100%;
    max-width: 650px;
    margin: 2rem 0 1rem;
    border-top: 2px dotted #fff !important;
}

.dg-hero-editorial .dg-hero-tagline {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    font-weight: 400;
    letter-spacing: 0.35em;
    margin: 0;
	text-transform: uppercase;
}

/* Mobile — stack the columns */
@media (max-width: 767px) {
    .dg-hero-editorial .dg-hero-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 6rem 1.5rem 3rem;
    }

    .dg-hero-editorial .dg-hero-title {
        font-size: clamp(3rem, 12vw, 5rem);
    }
}


/* Homepage hero — full viewport height */
.dg-hero-editorial {
    /*height: 100vh;
    height: 100svh;*/
    min-height: 760px;
    box-sizing: border-box;
}

/* Ensure content fills the hero */
.dg-hero-editorial > .wp-block-cover__inner-container {
    width: 100%;
    margin-top: auto;
    margin-bottom: 0;
    padding-bottom: 50px;
}

.dg-hero-editorial {
    justify-content: flex-end;
}

/* ========================================
   Dust & Glory — Brand Story
   ======================================== */
.dg-story-section {
    position: relative;
    width: 100%;
    background: url('../images/concreate_bg_01.webp') center / cover no-repeat;
    border-bottom: 20px solid var(--dg-red);
    overflow: hidden;
}

.dg-story-section .dg-story-layout {
    width: 100%;
    margin: 0;
}

/* Main red / concrete split: target Gutenberg's actual grid parent. */
.dg-story-section .dg-story-layout > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: minmax(0, 40%) minmax(0, 60%);
    min-height: 650px;
}

.dg-story-section .dg-story-left {
    position: relative;
    min-width: 0;
    background: var(--dg-red);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dg-story-section .dg-story-vertical {
    color: #fff;
    font-family: var(--dg-rough);
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 0;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin: 0;
}

.dg-story-section .dg-story-right {
    position: relative;
    min-width: 0;
}

/* The image and copy are children of this Gutenberg wrapper. */
.dg-story-section .dg-story-right > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    align-items: center;
    min-height: 650px;
    width: 100%;
}

.dg-story-section .dg-story-photo {
    position: relative;
    z-index: 2;
    min-width: 0;
    align-self: stretch;
}

.dg-story-section .dg-story-photo > .wp-block-group__inner-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
}

.dg-story-section .dg-story-photo figure {
    width: 100%;
    margin: 0;
}

.dg-story-section .dg-story-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: contain;
    object-position: bottom left;
}

.dg-story-section .dg-story-content {
    position: relative;
    z-index: 3;
    min-width: 0;
    padding: 4rem 3rem 4rem 1rem;
}

.dg-story-section .dg-story-title {
    font-family: var(--dg-rough);
    font-size: clamp(3.5rem, 5vw, 7rem);
    line-height: .85;
    color: var(--dg-red);
    margin-bottom: 2rem;
}

.dg-story-section .dg-story-content p {
    font-size: 15px;
    line-height: 1.8;
    max-width: 480px;
}

.dg-story-section .dg-story-link a {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--dg-black);
    text-decoration: none;
    font-weight: 100;
    font-size: 12px;
    letter-spacing: .15em;
	font-family: var(--dg-rough);
}

/* Mobile: horizontal red brand strip, then model, then story copy. */
@media (max-width: 767px) {
    .dg-story-section .dg-story-layout > .wp-block-group__inner-container,
    .dg-story-section .dg-story-right > .wp-block-group__inner-container {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .dg-story-section .dg-story-left {
        min-height: 85px;
        padding: 1.5rem;
    }

    .dg-story-section .dg-story-vertical {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 20px;
        text-align: center;
    }

    .dg-story-section .dg-story-photo {
        align-self: auto;
    }

    .dg-story-section .dg-story-photo > .wp-block-group__inner-container {
        height: auto;
        justify-content: center;
    }

    .dg-story-section .dg-story-photo figure {
        width: min(75%, 350px);
    }

    .dg-story-section .dg-story-photo img {
        max-height: 380px;
    }

    .dg-story-section .dg-story-content {
        padding: 2.5rem 1.5rem 4rem;
    }

    .dg-story-section .dg-story-title {
        font-size: clamp(3rem, 12vw, 5rem);
    }

    .dg-story-section .dg-story-content p {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* Vertical SHOP link — stacked letters */
.dg-story-section .dg-story-shop {
    margin: 2rem 0 0;
}

.dg-story-section .dg-story-shop a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;

    color: var(--dg-red);
    text-decoration: none;

    font-family: var(--dg-rough);
    font-size: 14px;
    font-weight: 100;
    letter-spacing: 0;
}

.dg-story-section .dg-story-shop a span:first-child {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0em;
}

.dg-story-section .dg-story-shop a span:last-child {
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
}

.dg-story-section .dg-story-shop a:hover {
    color: var(--dg-black);
}

/* Dust & Glory — Latest Drop section */
.dg-latest-drop {
    background: #fff;
    color: var(--dg-black, #111);
    padding: clamp(2rem, 4vw, 4rem) clamp(1.25rem, 2vw, 3rem);
    overflow: hidden;
}
.dg-latest-drop .dg-latest-layout { max-width: 1600px; margin: 0 auto; }
.dg-latest-drop .dg-latest-layout > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: minmax(0, 20%) minmax(0, 80%);
    gap: 0;
    align-items: center;
}
.dg-latest-drop .dg-latest-heading,
.dg-latest-drop .dg-latest-products { min-width: 0; }
.dg-latest-drop .dg-latest-title {
    color: var(--dg-red, #921e28);
    font-family: var(--dg-rough, 'kiln-sans', sans-serif);
    font-weight: 400;
    font-size: clamp(3.5rem, 5.3vw, 7rem);
    line-height: .85;
    margin: 0;
}
.dg-latest-drop .dg-latest-carousel { min-width: 0; }
.dg-latest-drop .dg-latest-controls {
    display: flex;
    justify-content: flex-end;
    gap: 1.25rem;
    margin-bottom: .75rem;
}
.dg-latest-drop .dg-latest-controls button {
    border: 0;
    background: transparent;
    color: #111;
    padding: .15rem .35rem;
    font: inherit;
    font-size: 1.35rem;
    cursor: pointer;
}
.dg-latest-drop .dg-latest-controls button.swiper-button-disabled { opacity: .3; cursor: default; }
.dg-latest-drop .dg-latest-swiper { width: 100%; min-width: 0; }
.dg-latest-drop .dg-latest-product { display: block; text-decoration: none; }
.dg-latest-drop .dg-latest-product img {
    display: block;
    width: 100%;
    height: clamp(260px, 32vw, 460px);
    object-fit: contain;
    object-position: center bottom;
}
@media (max-width: 991px) {
    .dg-latest-drop .dg-latest-layout > .wp-block-group__inner-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }
    .dg-latest-drop .dg-latest-title { font-size: clamp(3.5rem, 11vw, 5.5rem); }
    .dg-latest-drop .dg-latest-product img { height: clamp(260px, 55vw, 430px); }
}
@media (max-width: 599px) {
    .dg-latest-drop .dg-latest-product img { height: 340px; }
}

/* Latest Drop — See All Collections image link */

.dg-latest-drop .dg-latest-collections-image {
    width: 100%;
    margin: 0 auto 3rem;
    text-align: center;
}

.dg-latest-drop .dg-latest-collections-image a {
    display: inline-block;
    line-height: 0;
}

.dg-latest-drop .dg-latest-collections-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.dg-latest-drop .dg-latest-collections-image a:hover {
    opacity: 0.85;
}

/* Latest Drop — heading details */
.dg-latest-drop .dg-latest-heading {
    min-width: 0;
}

.dg-latest-drop .dg-latest-title {
    font-family: var(--dg-rough);
    font-size: clamp(3.5rem, 5vw, 6rem);
    font-weight: 400;
    line-height: 0.9;
    color: var(--dg-red);
    margin: 0 0 2rem;
}

/* Dashed divider */
.dg-latest-drop .dg-latest-rule {
    width: 100%;
    max-width: 260px;
    height: 0;
    border: 0;
    border-top: 2px dashed var(--dg-red);
    opacity: 1;
    margin: 0 0 1rem;
}

/* Small season reference */
.dg-latest-drop .dg-latest-season {
    font-family: var(--dg-rough);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--dg-red);
    margin: 0;
}

/* Full-screen Athlete Project */
.dg-athlete-editorial {
    height: 100vh;
    height: 100svh;
    min-height: 0 !important;
    box-sizing: border-box;
    border: 20px solid #10100f;
    overflow: hidden;
}

.dg-athlete-editorial > .wp-block-cover__inner-container {
    width: 100%;
    max-width: none;
}

.dg-athlete-editorial .dg-athlete-layout {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 4rem;
    box-sizing: border-box;
    gap: 4rem;
}

.dg-athlete-editorial .dg-athlete-message {
    flex: 0 1 65%;
    min-width: 0;
}

.dg-athlete-editorial .dg-athlete-action {
    flex: 0 1 35%;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: end;
}

/* Athlete Project — oversized Poppins Thin title */
.dg-athlete-editorial .dg-athlete-title {
    font-family: var(--dg-primary);
    font-weight: 100;
    font-size: clamp(3.5rem, 10vw, 10rem);
    line-height: 0.9;
    letter-spacing: -0.045em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 2.5rem;
}


/* Athlete Project — widely spaced strapline */
.dg-athlete-editorial .dg-athlete-tagline {
    font-family: var(--dg-primary);
    font-size: clamp(0.7rem, 1vw, 1rem);
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: clamp(0.1em, 0.35vw, 0.5em);
    text-transform: uppercase;
    white-space: nowrap;
    color: #fff;
    margin: 0;
}

/* Athlete Project — circular TAP HERE button */
.dg-athlete-editorial .dg-athlete-button .wp-block-button__link {
    display: flex;
    align-items: center;
    justify-content: center;

width: clamp(120px, 14vw, 180px);
height: auto;
aspect-ratio: 1 / 1;
    box-sizing: border-box;

     background: rgba(16, 16, 15, 0.3);
    border: 2px dashed #fff;
    border-radius: 50%;

    color: #fff;
    font-family: var(--dg-primary);
    font-size: clamp(18px, 2vw, 30px);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-align: center;
    text-decoration: none;

    padding: 1.5rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.dg-athlete-editorial .dg-athlete-button .wp-block-button__link:hover {
    background: rgba(16, 16, 15, 0.3);
    color: #fff;
    transform: scale(1.03);
}

@media (max-width: 767px) {
    .dg-athlete-editorial {
        height: auto;
        min-height: 100svh !important;
        border-width: 12px;
    }

    .dg-athlete-editorial .dg-athlete-layout {
        flex-direction: column;
        align-items: stretch;
        padding: 3rem 1.5rem;
        gap: 3rem;
    }

    .dg-athlete-editorial .dg-athlete-message,
    .dg-athlete-editorial .dg-athlete-action {
        flex: 0 1 auto;
        width: 100%;
    }

    .dg-athlete-editorial .dg-athlete-action {
        justify-content: flex-start;
    }
	
	.dg-athlete-editorial .dg-athlete-title {
    font-size: clamp(3rem, 12vw, 5rem);
    line-height: 0.95;
    margin-bottom: 1.5rem;
}


    .dg-athlete-editorial .dg-athlete-tagline {
        font-size: clamp(0.55rem, 2vw, 0.75rem);
        letter-spacing: 0.08em;
        white-space: normal;
    }
	
	/* Mobile circular button */
.dg-athlete-editorial .dg-athlete-button .wp-block-button__link {
    width: 140px;
    height: 140px;
    font-size: 18px;
}

}

/* Journal editorial feature */
.dg-journal-section { margin: 0; }
/* Journal — two concrete background panels */
.dg-journal-feature {
    position: relative;
    overflow: hidden;
    background: var(--dg-cream);
    color: var(--dg-black);
}

.dg-journal-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    min-height: 580px;
    isolation: isolate;
}

/* Left concrete — same image rotated 180 degrees */
.dg-journal-inner::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 58.333%;
    background: url('../images/concreate_bg_01.webp') center / cover no-repeat;
    transform: rotate(180deg);
    z-index: -1;
}

/* Right concrete — original orientation */
.dg-journal-inner::after {
    content: '';
    position: absolute;
    inset: 0 0 0 auto;
    width: 41.667%;
    background:
        linear-gradient(
            rgba(146, 30, 40, 0.95),
            rgba(146, 30, 40, 0.95)
        ),
        url('../images/concreate_bg_01.webp') center / cover no-repeat;
    background-blend-mode: multiply;
    z-index: -1;
}
.dg-journal-copy { padding: clamp(2.5rem, 4vw, 5rem) clamp(1.5rem, 4vw, 5rem); min-width: 0; }
.dg-journal-topline { font: 300 11px/1.4 var(--dg-primary); letter-spacing: .3em; color: rgba(16,16,15,.35);text-align: center; }
.dg-journal-controls { position: relative; display: flex; justify-content: center; align-items: center; gap: 1rem; margin: 1.5rem 0 1rem; }
.dg-journal-control-ghost { position: absolute; left: 0; color: rgba(16,16,15,.12); font: 300 11px var(--dg-primary); letter-spacing: .15em; pointer-events: none; }
.dg-journal-controls button { border: 0; padding: .2rem; background: transparent; color: var(--dg-black); font: 400 11px var(--dg-primary); letter-spacing: .15em; cursor: pointer; }
.dg-journal-controls button i { font-size: 20px; vertical-align: middle; }
.dg-journal-controls button:disabled { opacity: .25; cursor: default; }
.dg-journal-entry[hidden], .dg-journal-image[hidden] { display: none !important; }
.dg-journal-entry-title { margin: .5rem 0 1.5rem; max-width: 800px; color: var(--dg-red); font: 400 clamp(3.2rem, 6vw, 7rem)/.83 var(--dg-rough); letter-spacing: normal; overflow-wrap: anywhere; }
.dg-journal-entry-title a { color: inherit; text-decoration: none; }
.dg-journal-rule { border-top: 1px solid rgba(16,16,15,.6); margin: 1.75rem 0 .65rem; }
.dg-journal-date { margin: 0 0 1.5rem; font: 400 13px var(--dg-rough); letter-spacing: .05em; }
.dg-journal-excerpt { columns: 2; column-gap: 2rem; font: 300 clamp(12px, 1vw, 15px)/1.7 var(--dg-primary); min-height: 130px; }
.dg-journal-links { display: flex; justify-content: center; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; }
.dg-journal-links a { text-decoration: none; font: 400 13px var(--dg-rough); letter-spacing: .03em; }
.dg-journal-read { color: var(--dg-red); }
.dg-journal-all { color: var(--dg-black); opacity: .65; }
.dg-journal-visual { position: relative; min-width: 0; display: flex; align-items: center; padding: 4rem clamp(3.5rem, 6vw, 7rem) 4rem 0; }
.dg-journal-image { position: relative; z-index: 1; width: 100%; aspect-ratio: 1.35; background: rgba(16,16,15,.15);margin-left:-10%; }
.dg-journal-image::after { content: ''; position: absolute; pointer-events: none; right: -18px; bottom: -18px; width: 55%; height: 48%; border-right: 2px solid var(--dg-cream); border-bottom: 2px solid var(--dg-cream); }
.dg-journal-image a, .dg-journal-image img, .dg-journal-image-placeholder { display: block; width: 100%; height: 100%; }
.dg-journal-image img { object-fit: cover; }
.dg-journal-image-placeholder { background: rgba(16,16,15,.2); }
.dg-journal-vertical { position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; font: 100 clamp(4rem, 8vw, 10rem)/.9 var(--dg-primary); letter-spacing: -.07em; color: rgba(244,232,218,.17); pointer-events: none; }
.dg-journal-empty { padding: 4rem 2rem; }
@media (max-width: 900px) {
 .dg-journal-inner { grid-template-columns: minmax(0, 1fr); }
.dg-journal-inner::before {
    inset: 0 0 auto 0;
    width: 100%;
    height: 55%;
}

.dg-journal-inner::after {
    inset: auto 0 0 0;
    width: 100%;
    height: 45%;
}
 .dg-journal-copy { padding: 3rem 1.5rem 2rem; }
 .dg-journal-visual { padding: 2rem 4rem 4rem 1.5rem; }
 .dg-journal-vertical { font-size: clamp(3.5rem, 13vw, 7rem); }
}
@media (max-width: 540px) {
 .dg-journal-entry-title { font-size: clamp(3rem, 14vw, 5rem); }
 .dg-journal-excerpt { columns: 1; min-height: 0; }
 .dg-journal-control-ghost { display: none; }
 .dg-journal-links { justify-content: flex-start; }
 .dg-journal-visual { padding-right: 3.2rem; }
}

@media (max-width: 900px) {
    .dg-journal-image {
        width: 100%;
        margin-left: 0;
    }
}

/* ========================================
   Dust & Glory — Footer
   ======================================== */

.dg-footer {
    background: #10100f;
    color: var(--dg-cream);
    padding: clamp(3rem, 5vw, 6rem) 0 2rem;
}

.dg-footer-layout {
    min-height: 250px;
}

/* Left column */
.dg-footer-brand {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dg-footer-logo {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--dg-rough);
    font-size: clamp(2.5rem, 4vw, 5rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.015em;
    text-decoration: none;
    color: var(--dg-cream);
}

.dg-footer-logo:hover {
    color: var(--dg-cream);
}

.dg-footer-brand-bottom {
    margin-top: 3rem;
}

.dg-footer-copyright {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
    color: var(--dg-cream);
}

/* Social icons */
.dg-footer-socials {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dg-footer-socials a {
    font-size: 17px;
    color: var(--dg-cream);
    text-decoration: none;
    transition: color .2s ease;
}

.dg-footer-socials a:hover {
    color: var(--dg-red);
}

/* Right column */
.dg-footer-content {
    display: flex;
    flex-direction: column;
}

.dg-footer-newsletter-title {
    font-family: var(--dg-primary);
    font-size: clamp(24px, 2vw, 30px);
    font-weight: 100;
    line-height: 1.5;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin: 0 0 .5rem;
    color: var(--dg-cream);
}

.dg-footer-newsletter-description {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: var(--dg-cream);
    opacity: .7;
    margin-bottom: 2rem;
}

.dg-footer-newsletter-form {
    min-height: 50px;
    border-bottom: 1px solid rgba(244,232,218,.5);
    margin-bottom: 3rem;
}

/* Footer navigation */
.dg-footer-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.dg-footer-menu li:not(:last-child)::after {
    content: '/';
    margin-left: .4rem;
    color: rgba(244,232,218,.5);
}

.dg-footer-menu a {
    color: var(--dg-cream);
    font-family: var(--dg-primary);
    font-size: 11px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: .025em;
    text-decoration: none;
}

.dg-footer-menu a:hover,
.dg-footer-legal a:hover {
    color: #fff;
}

/* Privacy and legal links */
.dg-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    font-size: 11px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(244,232,218,.65);
}

.dg-footer-legal a {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 767px) {
    .dg-footer {
        padding: 3rem 0 2rem;
    }

    .dg-footer-brand-bottom {
        margin-top: 2rem;
    }

    .dg-footer-content {
        margin-top: 2rem;
    }

    .dg-footer-newsletter-title {
        letter-spacing: .2em;
    }
}
/* Dust & Glory newsletter signup */

.dg-footer-newsletter-form {
    border-bottom: 0;
    min-height: 0;
}

.dg-newsletter-input-wrap {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(244,232,218,.5);
}

.dg-newsletter-input-wrap input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 15px 0;
    background: transparent;
    border: 0;
    outline: none;
    box-shadow: none;
    color: var(--dg-cream);
    font-family: var(--dg-primary);
    font-size: 14px;
}

.dg-newsletter-input-wrap input::placeholder {
    color: rgba(244,232,218,.6);
}

.dg-newsletter-input-wrap:focus-within {
    border-bottom-color: var(--dg-cream);
}

.dg-newsletter-input-wrap button {
    padding: 8px 0 8px 20px;
    background: transparent;
    border: 0;
    color: var(--dg-cream);
    font-size: 28px;
    cursor: pointer;
    transition: color .2s ease;
}

.dg-newsletter-input-wrap button:hover {
    color: #fff;
}

.dg-newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 15px;
    color: rgba(244,232,218,.7);
    font-size: 11px;
    line-height: 1.6;
}

.dg-newsletter-consent input {
    margin-top: 3px;
    accent-color: var(--dg-red);
}

.dg-newsletter-consent a {
    color: var(--dg-cream);
}

.dg-newsletter-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.dg-newsletter-message {
    margin-top: 12px;
    font-size: 12px;
    color: var(--dg-cream);
}

/* Dust & Glory editorial page patterns */
.dg-pattern-section{padding:clamp(3rem,6vw,7rem) 24px}
.dg-pattern-paper{background:var(--dg-paper);color:var(--dg-black)}
.dg-pattern-cream{background:var(--dg-cream);color:var(--dg-black)}
.dg-pattern-container{width:100%;max-width:1320px;margin-left:auto!important;margin-right:auto!important}
.dg-pattern-intro{padding:clamp(3rem,7vw,8rem) 24px;background:var(--dg-paper);color:var(--dg-black)}
.dg-pattern-eyebrow{font-size:.75rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase}
.dg-pattern-page-title{font-family:var(--dg-rough);font-size:clamp(3rem,7vw,7rem);line-height:1.05;text-transform:uppercase;font-weight: 400;}
.dg-pattern-heading{font-family:var(--dg-rough);font-size: clamp(2rem, 3.5vw, 4rem);line-height:1.08;text-transform:uppercase;font-weight: 400;}
.dg-pattern-lead{font-size:clamp(1.1rem,1.6vw,1.5rem);line-height:1.65;max-width:850px}
.dg-pattern-columns{gap:clamp(2rem,5vw,6rem)!important}
.dg-pattern-columns .wp-block-column{min-width:0}
.dg-pattern-image img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;display:block}
.dg-pattern-narrow{width:100%;max-width:760px;margin-left:auto!important;margin-right:auto!important;line-height:1.8}


/* Dust & Glory editorial backgrounds */

.dg-bg-cream {
    background-color: var(--dg-cream);
}

.dg-bg-red {
    background-color: var(--dg-red);
    color: var(--dg-cream);
}

.dg-bg-concrete-cream {
    background-color: var(--dg-cream);
    background-image:
        linear-gradient(
            rgba(244,232,218,.82),
            rgba(244,232,218,.82)
        ),
        url('../images/concreate_bg_01.webp');
    background-size: cover;
    background-position: center;
    background-blend-mode: normal;
}

.dg-bg-concrete-red {
    background-color: var(--dg-red);
    background-image:
        linear-gradient(
            rgba(146,30,40,.85),
            rgba(146,30,40,.85)
        ),
        url('../images/concreate_bg_01.webp');
    background-size: cover;
    background-position: center;
    color: var(--dg-cream);
}
.dg-pattern-narrow h2,.dg-pattern-narrow h3{margin-top:1.6em}
.dg-pattern-narrow h2:first-child{margin-top:0}
.dg-pattern-image-break{background:var(--dg-black)}
.dg-pattern-banner-image{margin:0!important}
.dg-pattern-banner-image img{width:100%;height:auto;display:block}
@media(max-width:781px){.dg-pattern-columns{gap:2rem!important}.dg-pattern-section{padding:3rem 20px}}



/* Selectable Gutenberg background styles */

.is-style-dg-bg-cream {
    background-color: var(--dg-cream);
}

.is-style-dg-bg-red {
    background-color: var(--dg-red);
    color: var(--dg-cream);
}

.is-style-dg-bg-concrete-cream {
    background-color: var(--dg-cream);
    background-image:
        linear-gradient(rgba(244,232,218,.82), rgba(244,232,218,.82)),
        url('../images/concreate_bg_01.webp');
    background-size: cover;
    background-position: center;
}

.is-style-dg-bg-concrete-red {
    background-color: var(--dg-red);
    background-image:
        linear-gradient(rgba(146,30,40,.85), rgba(146,30,40,.85)),
        url('../images/concreate_bg_01.webp');
    background-size: cover;
    background-position: center;
    color: var(--dg-cream);
}

/* Heading colour */

.is-style-dg-heading-red {
    color: var(--dg-red);
}

/* Dust & Glory — Section heading colours */

.is-style-dg-headings-red :is(h1, h2, h3, h4, h5, h6) {
    color: var(--dg-red);
}

.is-style-dg-headings-cream :is(h1, h2, h3, h4, h5, h6) {
    color: var(--dg-cream);
}

.is-style-dg-headings-black :is(h1, h2, h3, h4, h5, h6) {
    color: var(--dg-black);
}

/* Dust & Glory — Homepage featured categories (append to assets/css/theme.css) */
.dg-featured-category{display:block;position:relative;overflow:hidden;min-height:440px;background:var(--dg-black);color:#fff;text-decoration:none;isolation:isolate}
.dg-featured-category-3{min-height:0;aspect-ratio:auto;}
.dg-featured-category-3 .dg-featured-category-image {position:relative;inset:auto;display:block;width:100%;height:auto;object-fit:contain;}
.dg-featured-category-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .5s ease}
.dg-featured-category::before{content:"";position:absolute;inset:0;background:linear-gradient(transparent 30%,rgba(0,0,0,.55));z-index:-1}
.dg-featured-category:hover .dg-featured-category-image{transform:scale(1.035)}
.dg-featured-category-title{position:absolute;bottom:2rem;left:clamp(1.5rem,4vw,4rem);font-family:var(--dg-rough);font-size:clamp(2.5rem,5vw,6rem);font-weight:400;line-height:1;text-transform:uppercase}
.dg-featured-category:hover{color:#fff}
.dg-featured-category-3:hover .dg-featured-category-image {
    transform: none;
}
@media (max-width: 767px) {
    .dg-featured-category {
        min-height: 360px;
    }

    .dg-featured-category-3 {
        min-height: 0;
        aspect-ratio: auto;
    }
}
@media(prefers-reduced-motion:reduce){.dg-featured-category-image{transition:none}}


.dg-home-categories {
    width: 100%;
    margin: 0;
}

/* ==========================================
   15. WooCommerce notices
   ========================================== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: transparent;
    color: var(--dg-black);
    border: 0;
    border-top: 4px solid var(--dg-red);
    border-radius: 0;
    padding: 1.5rem 2rem;
    font-family: var(--dg-rough);
    font-size: 28px;
    line-height: 1.6;
    box-shadow: none;
    text-transform: uppercase;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    display: none !important;
    content: none !important;
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
    color: var(--dg-red);
    font-weight: 600;
}

/* ==========================================
   16. WooCommerce category header
   ========================================== */
.dg-shop .dg-category-header {
    display: block;
    position: relative;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    background: var(--dg-black);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.dg-shop .dg-category-header-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
	opacity: 0.5;
}

.dg-shop .dg-category-header-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: clamp(2rem, 5vw, 6rem);
    background: linear-gradient(to top, rgba(0, 0, 0, .45), transparent 50%);
}

.dg-shop .dg-category-header h1 {
    font-family: var(--dg-rough);
    font-size: clamp(4rem, 9vw, 10rem);
    font-weight: 400;
    line-height: .9;
    letter-spacing: normal;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

.dg-shop .dg-category-header:hover { color: #fff; }

.dg-shop .dg-category-description {
    max-width: 1320px;
    margin-inline: auto;
    font-family: var(--dg-primary);
    font-size: 15px;
    line-height: 1.8;
}

html { scroll-behavior: smooth; }
#dg-products { scroll-margin-top: 80px; }

@media (max-width: 767px) {
    .dg-shop .dg-category-header-content { padding: 1.5rem; }
    .dg-shop .dg-category-header h1 { font-size: clamp(2.5rem, 10vw, 5rem); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* ==========================================
   17. WooCommerce single product
   ========================================== */
/* Contain WooCommerce's floated image and summary columns. */
body.single-product .dg-shop div.product {
    display: flow-root;
}

body.single-product .dg-shop div.product .summary {
    clear: none;
}

.dg-shop .dg-product-back {
    display: block;
    margin-bottom: 2rem;
    color: var(--dg-black);
    font-family: var(--dg-primary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
}

.dg-shop .dg-product-back:hover { color: var(--dg-red); }

.dg-shop .product .product_title {
    font-family: var(--dg-display);   
	font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 100;
    line-height: .92;
    letter-spacing: normal;
    text-transform: uppercase;
    color: var(--dg-black);
    margin-bottom: 1rem;
}

/* Full description appears in the summary, directly after the title. */
.dg-shop .summary .dg-product-description {
    clear: none;
    width: 100%;
    padding: 0;
    margin: 1.5rem 0;
    border: 0;
}

.dg-shop .summary .dg-product-description h2 { display: none; }

.dg-shop .summary .dg-product-description p {
    font-family: var(--dg-primary);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.dg-shop .dg-product-additional-information { margin-top: 1.5rem; }

.dg-shop .dg-product-additional-information table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.dg-shop .dg-product-additional-information th,
.dg-shop .dg-product-additional-information td {
    padding: .65rem 0;
    border-bottom: 1px solid rgba(16, 16, 15, .15);
    text-align: left;
    vertical-align: top;
}

.dg-shop .dg-product-additional-information th {
    font-weight: 600;
    width: 35%;
}

/* ==========================================
   18. WooCommerce buttons
   ========================================== */
/* The dg-shop class is on <main>, not a descendant of .woocommerce. */
.woocommerce .dg-shop a.button,
.woocommerce .dg-shop button.button,
.woocommerce .dg-shop input.button,
.dg-shop a.button,
.dg-shop button.button,
.dg-shop input.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
body.single-product .dg-shop div.product form.cart button.single_add_to_cart_button {
    background-color: var(--dg-red);
    color: #fff;
    border: 0;
    border-radius: 0;
    font-family: var(--dg-primary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 1rem 1.75rem;
    box-shadow: none;
    transition: background-color .2s ease;
}

.woocommerce .dg-shop a.button:hover,
.woocommerce .dg-shop button.button:hover,
.woocommerce .dg-shop input.button:hover,
.dg-shop a.button:hover,
.dg-shop button.button:hover,
.dg-shop input.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
body.single-product .dg-shop div.product form.cart button.single_add_to_cart_button:hover,
body.single-product .dg-shop div.product form.cart button.single_add_to_cart_button:focus {
    background-color: var(--dg-black);
    color: #fff;
}

.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled] {
    background-color: var(--dg-red);
    color: #fff;
    opacity: .5;
}

/* Keep notice buttons black by default, red on hover. */
.woocommerce .woocommerce-message a.button,
.woocommerce .woocommerce-info a.button,
.woocommerce .woocommerce-error a.button {
    background-color: var(--dg-black);
    color: #fff;
}

.woocommerce .woocommerce-message a.button:hover,
.woocommerce .woocommerce-info a.button:hover,
.woocommerce .woocommerce-error a.button:hover {
    background-color: var(--dg-red);
    color: #fff;
}

/* Single product price */
body.single-product .dg-shop div.product p.price,
body.single-product .dg-shop div.product span.price {
    color: var(--dg-black);
    font-family: var(--dg-primary);
    font-size: 1.5rem;
    font-weight: 300;
}


/* Variation selectors */
body.single-product .dg-shop table.variations {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
    margin-bottom: 1.5rem;
}

body.single-product .dg-shop table.variations td,
body.single-product .dg-shop table.variations th {
    padding: 8px 0;
    vertical-align: middle;
}

body.single-product .dg-shop table.variations select {
    width: 100%;
    min-height: 48px;
    padding: 10px 15px;
    border: 1px solid rgba(16, 16, 15, .25);
    border-radius: 0;
    background-color: #fff;
    font-family: var(--dg-primary);
    font-size: 13px;
}
/* Quantity and Add to Basket alignment */
body.single-product .dg-shop .woocommerce-variation-add-to-cart,
body.single-product .dg-shop form.cart:not(.variations_form) {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

/* Quantity selector */
body.single-product .dg-shop form.cart .quantity {
    float: none;
    margin: 0;
}

body.single-product .dg-shop form.cart .quantity input.qty {
    width: 75px;
    height: 48px;
    min-height: 48px;
    padding: 0 10px;
    border: 1px solid rgba(16, 16, 15, .25);
    border-radius: 0;
    background: #fff;
    color: var(--dg-black);
    font-family: var(--dg-primary);
    font-size: 14px;
    text-align: center;
}

/* Add to Basket button */
body.single-product .dg-shop form.cart button.single_add_to_cart_button {
    float: none;
    margin-left: auto;
    min-height: 48px;
    padding: 0 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.woocommerce div.product form.cart .variations label{font-weight: 400;
    text-align: left;
    color: var(--dg-red);
min-width: 50px;}

/* ==========================================
   Dust & Glory — Variation Swatches
   ========================================== */

/* Default option */
body.single-product .dg-shop .cfvsw-swatches-option.cfvsw-label-option {
    background: transparent !important;
    color: var(--dg-black) !important;
    border: 1px solid rgba(16,16,15,.2) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: background-color .2s ease, color .2s ease;
}

/* Hover — Dust & Glory red */
body.single-product .dg-shop .cfvsw-swatches-option.cfvsw-label-option:hover {
    background: var(--dg-red) !important;
    color: #fff !important;
    border-color: var(--dg-red) !important;
    box-shadow: none !important;
}

/* Selected option — solid red */
body.single-product .dg-shop .cfvsw-swatches-option.cfvsw-selected-swatch,
body.single-product .dg-shop .cfvsw-swatches-option.cfvsw-selected-swatch:hover {
    background: var(--dg-red) !important;
    color: #fff !important;
    border-color: var(--dg-red) !important;
    box-shadow: none !important;
}

/* Ensure inner text is white */
body.single-product .dg-shop .cfvsw-swatches-option.cfvsw-selected-swatch .cfvsw-swatch-inner,
body.single-product .dg-shop .cfvsw-swatches-option.cfvsw-label-option:hover .cfvsw-swatch-inner {
    color: #fff !important;
}

/* ==========================================
   Dust & Glory — Basket Checkout Button
   ========================================== */

/* Default — black with white text */
.dg-shop .wc-block-cart__submit-button,
.woocommerce-cart .wc-block-cart__submit-button,
.wc-block-cart__submit-button {
    background-color: var(--dg-black) !important;
    color: #fff !important;
    border: 0;
    border-radius: 0;
    transition: background-color .2s ease;
}

/* Hover and focus — red with white text */
.dg-shop .wc-block-cart__submit-button:hover,
.woocommerce-cart .wc-block-cart__submit-button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-cart__submit-button:focus-visible {
    background-color: var(--dg-red) !important;
    color: #fff !important;
}

/* Keep inner button text white */
.wc-block-cart__submit-button .wc-block-components-button__text {
    color: #fff !important;
}

/* Dust & Glory — Checkout container */
body.woocommerce-checkout .dg-page > article {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 12px;
    box-sizing: border-box;
}

/* Checkout block fills the article container */
body.woocommerce-checkout .wp-block-woocommerce-checkout {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Bootstrap container breakpoints */
@media (max-width: 1399.98px) {
    body.woocommerce-checkout .dg-page > article {
        max-width: 1140px;
    }
}

@media (max-width: 1199.98px) {
    body.woocommerce-checkout .dg-page > article {
        max-width: 960px;
    }
}

@media (max-width: 991.98px) {
    body.woocommerce-checkout .dg-page > article {
        max-width: 720px;
    }
}

@media (max-width: 767.98px) {
    body.woocommerce-checkout .dg-page > article {
        max-width: 540px;
    }
}

@media (max-width: 575.98px) {
    body.woocommerce-checkout .dg-page > article {
        max-width: 100%;
        padding: 0 20px;
    }
}

/* Dust & Glory — Place Order button */
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
    background-color: var(--dg-black) !important;
    color: #fff !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transition: background-color .2s ease;
}

/* Hover and focus */
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:focus-visible {
    background-color: var(--dg-red) !important;
    color: #fff !important;
}

/* Inner text */
body.woocommerce-checkout .wc-block-components-checkout-place-order-button
.wc-block-components-button__text {
    color: #fff !important;
}

/* Dust & Glory — Category product prices */
body.woocommerce .dg-shop ul.products li.product .price,
.dg-shop ul.products li.product .price {
    color: var(--dg-black);
    font-family: var(--dg-primary);
    font-size: 15px;
    font-weight: 400;
}

/* ==========================================
   Dust & Glory — Shop Landing Page
   ========================================== */
.dg-shop-landing__intro { padding: 1.5rem 0 4rem; }
.dg-shop-landing__eyebrow,
.dg-shop-landing__section-heading > span {
    font-family: var(--dg-primary);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.dg-shop-landing__eyebrow { margin: 0 0 1.25rem; }
.dg-shop-landing__title {
    font-family: var(--dg-display);
    font-size: clamp(3.5rem, 7vw, 7rem);
    font-weight: 100;
    line-height: .95;
    text-transform: uppercase;
    color: var(--dg-black);
    margin: 0 0 1.5rem;
}
.dg-shop-landing__lead { font-family: var(--dg-primary); font-size: 15px; font-weight: 300; }
.dg-shop-landing__section { margin: 0 0 5rem; }
.dg-shop-landing__section-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.dg-shop-landing__section-heading h2 {
    font-family: var(--dg-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 100;
    text-transform: uppercase;
    margin: 0;
}
.dg-shop-landing__categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}
.dg-shop-landing__category { color: var(--dg-black); text-decoration: none; }
.dg-shop-landing__category-image {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #e6e2dc;
}
.dg-shop-landing__category-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}
.dg-shop-landing__category:hover .dg-shop-landing__category-image img { transform: scale(1.025); }
.dg-shop-landing__image-placeholder { display: block; width: 100%; height: 100%; }
.dg-shop-landing__category-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    font-family: var(--dg-primary);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.dg-shop-landing__category:hover .dg-shop-landing__category-caption { color: var(--dg-red); }
/* Retain existing WooCommerce product-card styling, with four columns on the landing page. */
.dg-shop .dg-shop-landing ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}
.dg-shop .dg-shop-landing ul.products::before,
.dg-shop .dg-shop-landing ul.products::after { display: none; }
.dg-shop .dg-shop-landing ul.products li.product {
    float: none;
    width: auto;
    margin: 0;
    clear: none;
}
@media (max-width: 991.98px) {
    .dg-shop .dg-shop-landing ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .dg-shop-landing__intro { padding-bottom: 2.5rem; }
	
}
	/* Dust & Glory — Header */

/* Header sits 50px down over cover images */
body.dg-has-cover .dg-header:not(.is-scrolled) {
    background: transparent;
    top: 50px;
}

/* Header returns to the top when scrolling */
.dg-header.is-scrolled {
    background: rgba(16, 16, 15, 0.85);
    top: 0;
}



/* Navigation colours */
.dg-header .navbar-brand,
.dg-header #dgNav a {
    color: #fff;
}

.dg-header .navbar-brand:hover,
.dg-header #dgNav a:hover {
    color: var(--dg-cream);
}

/* Allow space for the fixed navigation on normal pages */
body:not(.dg-has-cover) #main-content {
    padding-top: var(--dg-header-height, 40px);
}

.dg-rough-edge {
    height: 50px;
    width: 100%;
    background-image: url('../images/rough_edge_white_01.webp');
    background-repeat: repeat-x;
    background-position: center top;
    background-size: auto 50px;
}


/* Rough edge along bottom of category cover */
.dg-shop .dg-category-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 100%;
    height: 26px;

    background-image: url('../images/rough_edge_white_01.webp');
    background-repeat: repeat-x;
    background-position: bottom left;
    background-size: auto 26px;

    pointer-events: none;
    z-index: 2;
}

/* Rough edge at bottom of homepage featured categories */
/* Streetwear - rough edge at top and bottom */
.dg-featured-categories .col-12 {
    position: relative;
}

.dg-featured-categories .col-12::before,
.dg-featured-categories .col-12::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 26px;

    background-image: url('../images/rough_edge_white_01.webp');
    background-repeat: repeat-x;
    background-size: auto 26px;

    pointer-events: none;
    z-index: 5;
}

/* Top edge */
.dg-featured-categories .col-12::before {
    top: -12px;
    transform: rotate(180deg);
}

/* Bottom edge */
.dg-featured-categories .col-12::after {
    bottom: -12px;
}


/* Vertical rough edge between Rugby and South African */
@media (min-width: 768px) {

    .dg-featured-categories .col-md-6:first-child {
        position: relative;
    }

    .dg-featured-categories .col-md-6:first-child::after {
        content: "";
        position: absolute;

        width: 440px;
        height: 26px;

        top: 50%;
        left: 100%;

        background: url('../images/rough_edge_white_01.webp') repeat-x;
        background-size: auto 26px;

        transform: translate(-50%, -50%) rotate(90deg);
        transform-origin: center;

        pointer-events: none;
        z-index: 5;
    }
}

/* Journal visual: rotated horizontal rough edge */
.dg-journal-visual {
    position: relative;
}

.dg-journal-visual::after {
    content: "";
    position: absolute;

    width: 100%;
    height: 26px;

    top: 0;
    left: -22px;

    background: url('../images/rough_edge_red_02.webp') repeat-x left top;
    background-size: auto 26px;

    transform-origin: top left;
    transform: translateX(40px) rotate(90deg);

    pointer-events: none;
    z-index: 5;
}



.dg-story-left {
    position: relative;
}

.dg-story-left::after {
    content: "";
    position: absolute;
    top: 0;
    left: 98%;
    width: 100%;
    height: 40px;

    background: url('../images/rough_edge_red_04.webp') repeat-x left top;
    background-size: auto 40px;

    transform-origin: top left;
    transform: translateX(40px) rotate(90deg);

    pointer-events: none;
    z-index: 5;
}

.dg-story-right::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 100%;
    height: 40px;

    background: url('../images/rough_edge_red_04.webp') repeat-x bottom left;
    background-size: auto 40px;

    pointer-events: none;
    z-index: 5;
}


/* 404 Error Page */

.dg-404 {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dg-black);
    color: var(--dg-paper);
    padding: 140px 20px 80px;
    text-align: center;
}

.dg-404-inner {
    width: 100%;
    max-width: 900px;
}

.dg-404-eyebrow,
.dg-404-footer {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
}

.dg-404-number {
    font-size: clamp(150px, 28vw, 360px);
    font-weight: 900;
    line-height: .85;
    letter-spacing: -.08em;
    margin: 30px 0;
    color: var(--dg-red);
}

.dg-404-title {
    font-size: clamp(36px, 6vw, 80px);
    font-weight: 400;
    line-height: .95;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.dg-404-message {
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.6;
    margin-bottom: 35px;
}

.dg-404-button {
    display: inline-block;
    padding: 16px 30px;
    background: var(--dg-red);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: .08em;
    transition: background .2s ease;
}

.dg-404-button:hover {
    background: var(--dg-paper);
    color: var(--dg-black);
}

.dg-404-footer {
    margin-top: 60px;
    opacity: .6;
}

.dg-page-contained {
    background: var(--dg-paper);
    min-height: 70vh;
    padding-top: 140px !important;
}

.dg-page-contained .dg-page-content {
    max-width: 900px;
    margin: 0 auto;
}

.dg-page-contained .entry-title {
    margin-bottom: 40px;
    text-transform: uppercase;
}



/* Dust & Glory Journal archive */

.dg-journal-archive {
    background: var(--dg-paper);
    min-height: 100vh;
}

.dg-journal-archive-header {
    background: var(--dg-black);
    color: #fff;
    padding: 150px 0 70px;
    position: relative;
}

.dg-journal-archive-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    margin-bottom: 25px;
}

.dg-journal-archive-header h1 {
    font-size: clamp(60px, 10vw, 150px);
    font-weight: 100;
    line-height: .9;
    text-transform: uppercase;
    margin: 0 0 25px;
}

.dg-journal-archive-header p {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .1em;
    margin: 0;
}

.dg-journal-archive-body {
    padding-top: 70px;
    padding-bottom: 100px;
}

/* Article cards */

.dg-journal-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dg-journal-card-image {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #d8d0c5;
}

.dg-journal-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.dg-journal-card:hover .dg-journal-card-image img {
    transform: scale(1.04);
}

.dg-journal-card-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--dg-red);
}

.dg-journal-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 25px 0 15px;
}

.dg-journal-card-meta {
    color: var(--dg-red);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 15px;
}

.dg-journal-card h2 {
    font-size: clamp(24px, 2.5vw, 36px);
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.dg-journal-card h2 a {
    color: var(--dg-black);
    text-decoration: none;
}

.dg-journal-card h2 a:hover {
    color: var(--dg-red);
}

.dg-journal-card-body p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.dg-journal-card-read {
    margin-top: auto;
    color: var(--dg-red);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: .06em;
}

.dg-journal-card-read:hover {
    color: var(--dg-black);
}

/* Pagination */

.dg-journal-pagination {
    margin-top: 70px;
}

.dg-journal-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.dg-journal-pagination .page-numbers {
    color: var(--dg-black);
    font-weight: 700;
    text-decoration: none;
    padding: 10px 15px;
}

.dg-journal-pagination .page-numbers.current,
.dg-journal-pagination .page-numbers:hover {
    background: var(--dg-red);
    color: #fff;
}


@media (max-width: 767.98px) {
    .dg-journal-archive-header {
        padding: 130px 0 55px;
    }

    .dg-journal-archive-body {
        padding-top: 40px;
    }
}


/* Journal archive - white rough edge between header and content */
.dg-journal-archive-header {
    position: relative;
}

.dg-journal-archive-header::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 26px;

    background: url('../images/rough_edge_paper_01.webp') repeat-x left top;
    background-size: auto 26px;

    transform: rotate(180deg);
    pointer-events: none;
    z-index: 5;
}



/* ==========================================
   Dust & Glory — Single Journal Article
   ========================================== */

.dg-journal-single {
    background: #fff;
    color: var(--dg-black);
}

.dg-journal-single-header {
    position: relative;
    background: var(--dg-black);
    color: #fff;
    padding: 160px 0 90px;
}

.dg-journal-single-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 35px;
}

.dg-journal-single-meta a {
    color: var(--dg-cream);
    text-decoration: none;
}

.dg-journal-single-meta a:hover {
    color: #fff;
}

.dg-journal-single-title {
    max-width: 1100px;
    font-family: var(--dg-primary);
    font-size: clamp(3.5rem, 8vw, 9rem);
    font-weight: 100;
    line-height: .9;
    color: #fff;
    margin: 0;
}

/* White rough edge */

.dg-journal-single-header::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 26px;
    background: url('../images/rough_edge_white_01.webp') repeat-x left top;
    background-size: auto 26px;
    transform: rotate(180deg);
    pointer-events: none;
    z-index: 5;
}

/* Featured image */

.dg-journal-single-featured {
    padding-top: 60px;
}

.dg-journal-single-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: cover;
}

/* Article content */

.dg-journal-single-content {
    padding-top: 70px;
    padding-bottom: 90px;
}

.dg-journal-single-reading {
    max-width: 820px;
    margin: 0 auto;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.9;
}

.dg-journal-single-reading p {
    margin-bottom: 1.75rem;
}

.dg-journal-single-reading h2,
.dg-journal-single-reading h3 {
    color: var(--dg-red);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.dg-journal-single-reading img {
    max-width: 100%;
    height: auto;
}

/* Article footer */

.dg-journal-single-footer {
    padding: 40px 0 80px;
    border-top: 1px solid rgba(16,16,15,.15);
}

.dg-journal-single-back {
    display: inline-block;
    color: var(--dg-red);
    font-family: var(--dg-rough);
    font-size: 18px;
    text-decoration: none;
}

.dg-journal-single-back:hover {
    color: var(--dg-black);
}

.dg-journal-single-navigation {
    margin-top: 40px;
}

.dg-journal-single-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.dg-journal-single-navigation a {
    color: var(--dg-black);
    text-decoration: none;
    font-family: var(--dg-rough);
    font-size: 20px;
}

.dg-journal-single-navigation a:hover {
    color: var(--dg-red);
}

@media (max-width: 767px) {
    .dg-journal-single-header {
        padding: 130px 0 65px;
    }

    .dg-journal-single-featured {
        padding-top: 35px;
    }

    .dg-journal-single-content {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .dg-journal-single-reading {
        font-size: 15px;
    }

    .dg-journal-single-navigation .nav-links {
        flex-direction: column;
    }
}


/* Product category editorial introduction */

.dg-category-editorial--with-image {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
}

.dg-category-editorial-copy h2 {
    margin-bottom: 24px;
}

.dg-category-editorial-copy p:last-child {
    margin-bottom: 0;
}

.dg-category-editorial-image {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .dg-category-editorial--with-image {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Category cover fallback when no image is assigned */
.dg-shop .dg-category-header:not(:has(.dg-category-header-image)) { min-height: 420px; }
@media (max-width:767px) { .dg-shop .dg-category-header:not(:has(.dg-category-header-image)) { min-height: 260px; } }


/* Dust & Glory — Athlete Project editorial */
.dg-athlete-page,.dg-athlete-hub{--dg-cream:#f3f0e9;--dg-red:#921e28;--dg-ink:#10100f;font-family:'Poppins',sans-serif;overflow:hidden}
.dg-athlete-container{width:min(1180px,calc(100% - 64px));margin:0 auto}
.dg-athlete-cover{position:relative;min-height:clamp(560px,78vh,950px);background:#171717 center center/cover no-repeat;color:#fff;display:flex;flex-direction:column;justify-content:space-between}
.dg-athlete-cover--focus-left{background-position:left center}.dg-athlete-cover--focus-right{background-position:right center}
.dg-athlete-cover__shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.68),transparent 58%);pointer-events:none}
.dg-athlete-cover__top{position:relative;padding:32px 4%;display:flex;justify-content:space-between;gap:15px;font-size:11px;letter-spacing:.25em;font-weight:300}
.dg-athlete-cover__content{position:relative;padding:0 4% 6%;display:flex;flex-direction:column;gap:18px}
.dg-athlete-cover__name{font-family:'Poppins',sans-serif;font-weight:100!important;text-transform:uppercase;font-size:clamp(3.1rem,8.5vw,10rem);letter-spacing:-.065em;line-height:.98;margin:0;overflow-wrap:break-word}
.dg-athlete-align-left{text-align:left;align-self:flex-start}.dg-athlete-align-right{text-align:right;align-self:flex-end}
.dg-athlete-cover__details{display:flex;flex-direction:column;gap:3px;text-transform:uppercase;font-size:clamp(12px,1.15vw,18px);font-weight:100;letter-spacing:.22em;line-height:1.5}
.dg-athlete-cover--dark{color:#111}.dg-athlete-cover--dark .dg-athlete-cover__shade{background:linear-gradient(0deg,rgba(255,255,255,.75),transparent 58%)}
.dg-athlete-section{position:relative;padding:clamp(76px,9vw,140px) 0}.dg-athlete-section--cream{background:var(--dg-cream);color:var(--dg-ink)}.dg-athlete-section--paper{background:#e9e3d9;color:var(--dg-ink)}.dg-athlete-section--dark{background:var(--dg-ink);color:var(--dg-cream)}
/* Optional integration with existing theme rough-edge asset: set --dg-rough-edge-image to url('...') in theme.css. */
.dg-athlete-rough-top:before{content:"";position:absolute;left:0;right:0;top:-23px;height:25px;background-color:inherit;mask-image:var(--dg-rough-edge-image,none);-webkit-mask-image:var(--dg-rough-edge-image,none);mask-size:100% 100%;-webkit-mask-size:100% 100%;pointer-events:none}
.dg-athlete-kicker{font-size:12px;letter-spacing:.25em;font-weight:500;text-transform:uppercase;color:var(--dg-red);margin:0 0 26px}.dg-athlete-section--dark .dg-athlete-kicker{color:#d4a9aa}
.dg-athlete-heading{font-size:clamp(2.8rem,6vw,6.8rem);font-weight:300;line-height:1.05;letter-spacing:-.055em;text-transform:uppercase;max-width:100%;margin:0 0 38px}
.dg-athlete-standfirst{font-size:clamp(1.2rem,2vw,2rem);font-weight:300;line-height:1.6;max-width:80%;margin:0 0 45px}
.dg-athlete-columns{font-size:clamp(15px,1.1vw,18px);line-height:1.95;font-weight:300;column-gap:clamp(30px,5vw,85px)}.dg-athlete-columns--two{column-count:2}.dg-athlete-columns--three{column-count:3}.dg-athlete-columns p{margin:0 0 1.4em;break-inside:avoid}.dg-athlete-columns a{color:inherit;text-decoration:underline}
.dg-athlete-statement{position:relative;min-height:clamp(440px,62vw,900px);background:#151515;display:grid;place-items:stretch;overflow:hidden;color:#fff}.dg-athlete-statement__image{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.dg-athlete-statement:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.38),transparent 65%);pointer-events:none}.dg-athlete-statement--dark{color:#111}.dg-athlete-statement--dark:after{background:linear-gradient(90deg,rgba(255,255,255,.42),transparent 65%)}
.dg-athlete-statement__text{z-index:1;position:relative;display:flex;align-items:center;width:min(36%,500px);padding:5%;font-size:clamp(2rem,4vw,5rem);font-weight:100;letter-spacing:-.055em;line-height:1.12;text-transform:uppercase}.dg-athlete-statement__text.dg-athlete-align-right{margin-left:auto}
.dg-athlete-quote{border:0;margin:70px 0 0;padding:40px 0 0;border-top:1px solid currentColor}.dg-athlete-quote p{font-size:clamp(2rem,5vw,5.5rem);line-height:1.15;letter-spacing:-.055em;font-weight:100;max-width:1100px}.dg-athlete-quote cite{font-size:12px;letter-spacing:.15em;font-style:normal;text-transform:uppercase}
.dg-athlete-photo-story{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;background:var(--dg-ink);padding:12px}.dg-athlete-photo-story--1{grid-template-columns:1fr}.dg-athlete-photo-story--3 figure:first-child{grid-row:span 2}.dg-athlete-photo-story figure{margin:0;position:relative;min-height:320px}.dg-athlete-photo-story img{width:100%;height:100%;max-height:850px;object-fit:cover;display:block}.dg-athlete-photo-story figcaption{position:absolute;bottom:0;left:0;right:0;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.65));padding:35px 20px 15px;font-size:12px}
.dg-athlete-links{display:flex;gap:24px;flex-wrap:wrap;margin-top:35px}.dg-athlete-links a,.dg-athlete-next a{color:inherit;text-transform:uppercase;font-size:12px;letter-spacing:.14em;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:5px}.dg-athlete-next{padding:40px 5%;background:var(--dg-ink);color:var(--dg-cream);text-align:center}
.dg-athlete-hub__intro{background:var(--dg-ink);color:var(--dg-cream);padding:clamp(80px,11vw,160px) 0}.dg-athlete-hub__intro .dg-athlete-kicker{color:#d5aaa9}.dg-athlete-hub__intro h1{font-weight:100;font-size:clamp(4rem,10vw,11rem);line-height:.9;letter-spacing:-.075em;margin:0 0 50px}.dg-athlete-hub__manifesto{font-size:clamp(1.4rem,3vw,3rem);font-weight:300;letter-spacing:-.03em}.dg-athlete-hub__subline{font-size:13px;letter-spacing:.2em;font-weight:300}
.dg-athlete-hub__lead{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:clamp(540px,70vw,850px);background:#222 center/cover no-repeat;color:#fff!important;text-decoration:none!important;padding:30px 4% 5%}.dg-athlete-hub__lead:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.7),transparent 70%)}.dg-athlete-hub__lead>*{position:relative}.dg-athlete-hub__lead-label{font-size:12px;letter-spacing:.2em}.dg-athlete-hub__lead-name{font-size:clamp(3rem,8vw,9rem);font-weight:100;line-height:1;text-transform:uppercase;letter-spacing:-.07em;margin-top:auto}.dg-athlete-hub__lead-details{font-size:15px;font-weight:100;letter-spacing:.2em;text-transform:uppercase;display:flex;flex-direction:column;margin-top:20px}.dg-athlete-hub__lead-details small{font-size:inherit}
.dg-athlete-hub__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,3vw,42px)}.dg-athlete-hub__tile{position:relative;display:block;min-height:390px;overflow:hidden;background:#292929;color:#fff!important;text-decoration:none!important}.dg-athlete-hub__tile--large{grid-row:span 2;min-height:650px}.dg-athlete-hub__tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s}.dg-athlete-hub__tile:hover img{transform:scale(1.035)}.dg-athlete-hub__tile-caption{position:absolute;bottom:0;left:0;right:0;padding:50px 25px 24px;background:linear-gradient(transparent,rgba(0,0,0,.8));display:flex;flex-direction:column;gap:8px}.dg-athlete-hub__tile-caption strong{font-size:clamp(1.5rem,3vw,3rem);font-weight:100;line-height:1.1;text-transform:uppercase}.dg-athlete-hub__tile-caption small{font-size:11px;letter-spacing:.2em;text-transform:uppercase}
@media(max-width:1000px){.dg-athlete-columns--three{column-count:2}}
@media(max-width:767px){.dg-athlete-container{width:calc(100% - 36px)}.dg-athlete-cover{min-height:75svh}.dg-athlete-cover__top{padding:20px;font-size:9px;letter-spacing:.12em}.dg-athlete-cover__content{padding:0 20px 35px}.dg-athlete-cover__name{font-size:clamp(3rem,13vw,6rem)}.dg-athlete-cover__details{font-size:12px}.dg-athlete-columns--two,.dg-athlete-columns--three{column-count:1}.dg-athlete-section{padding:70px 0}.dg-athlete-heading{margin-bottom:28px}.dg-athlete-statement{min-height:540px}.dg-athlete-statement__text{width:75%;font-size:clamp(2.2rem,8vw,4rem);padding:22px}.dg-athlete-photo-story{grid-template-columns:1fr}.dg-athlete-photo-story--3 figure:first-child{grid-row:auto}.dg-athlete-photo-story figure{min-height:300px}.dg-athlete-hub__grid{grid-template-columns:1fr}.dg-athlete-hub__tile--large{grid-row:auto;min-height:500px}.dg-athlete-hub__lead{padding:20px 5% 40px;min-height:600px}.dg-athlete-hub__lead-name{font-size:clamp(3rem,12vw,6rem)}}



/* Dust & Glory — single product with gallery/summary wrapper */
body.single-product .dg-shop div.product { display: flow-root; }
body.single-product .dg-shop div.product > .dg-product-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: start;
    width: 100%;
    clear: both;
}
body.single-product .dg-shop .dg-product-main > .woocommerce-product-gallery,
body.single-product .dg-shop .dg-product-main > .summary {
    float: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    clear: none;
}
body.single-product .dg-shop .dg-product-main > .woocommerce-product-gallery { overflow: hidden; }
body.single-product .dg-shop .woocommerce-product-gallery .flex-viewport { max-width: 100%; }
body.single-product .dg-shop .woocommerce-product-gallery .woocommerce-product-gallery__image img {
    display: block;
    max-width: 100%;
    height: auto;
}
body.single-product .dg-shop .woocommerce-product-gallery .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .5rem;
    padding: 0;
    margin: .75rem 0 0;
    list-style: none;
}
body.single-product .dg-shop .woocommerce-product-gallery .flex-control-thumbs li { width: 100%; float: none; margin: 0; }
body.single-product .dg-shop .woocommerce-product-gallery .flex-control-thumbs img {
    width: 100%; height: auto; aspect-ratio: 1; object-fit: cover;
}
body.single-product .dg-shop div.product > .dg-product-description {
    clear: both;
    width: 100%;
    margin: clamp(2rem, 4vw, 4rem) 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(16,16,15,.2);
    overflow-wrap: anywhere;
    min-width: 0;
}
body.single-product .dg-shop .dg-product-description table {
    display: block;
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}
body.single-product .dg-shop .dg-product-description :is(img, iframe, video) { max-width: 100%; height: auto; }
body.single-product .dg-shop div.product > .related { clear: both; width: 100%; margin-top: 2rem; }
@media (max-width: 767.98px) {
    body.single-product .dg-shop div.product > .dg-product-main { grid-template-columns: minmax(0, 1fr); }
    body.single-product .dg-shop .dg-product-main > .summary { margin-top: 1rem; }
}


/* Dust & Glory — product gallery refinements and product-details link */
body.single-product .dg-shop .dg-product-main {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(1.5rem, 3vw, 3.5rem);
}
body.single-product .dg-shop .dg-product-main > .woocommerce-product-gallery {
    width: 100% !important;
    max-width: none;
    min-width: 0;
}
body.single-product .dg-shop .woocommerce-product-gallery .flex-viewport,
body.single-product .dg-shop .woocommerce-product-gallery__wrapper {
    width: 100%;
}
body.single-product .dg-shop .woocommerce-product-gallery__image {
    max-width: 100%;
}
body.single-product .dg-shop .woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}
/* When the WooCommerce slider initialises, its viewport displays one slide at a time. */
body.single-product .dg-shop .woocommerce-product-gallery .flex-viewport {
    overflow: hidden;
}
body.single-product .dg-shop .woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: .5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    padding: 0 0 .5rem;
    margin-top: .85rem;
}
body.single-product .dg-shop .woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 clamp(64px, 17%, 90px);
    width: auto;
    float: none;
}
body.single-product .dg-shop .woocommerce-product-gallery .flex-control-thumbs img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    cursor: pointer;
}
body.single-product .dg-shop .dg-product-details-link {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    margin: 1.25rem 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--dg-red);
    text-decoration: underline;
    text-underline-offset: 4px;
}
body.single-product .dg-shop .dg-product-details-link:hover { color: var(--dg-black); }
body.single-product .dg-shop #dg-product-details { scroll-margin-top: 110px; }
body.single-product .dg-shop .dg-product-details-heading {
    margin-bottom: 1.5rem;
    color: var(--dg-red);
}
@media (max-width: 767.98px) {
    body.single-product .dg-shop .dg-product-main {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Dust & Glory: horizontal thumbnail carousel */
body.single-product .dg-shop .woocommerce-product-gallery .dg-thumb-carousel {
  display: grid; grid-template-columns: 32px minmax(0,1fr) 32px;
  align-items: center; gap: 8px; margin-top: 12px; width: 100%;
}
body.single-product .dg-shop .woocommerce-product-gallery .dg-thumb-carousel .flex-control-thumbs {
  display: flex; flex-wrap: nowrap; gap: 8px; min-width: 0; width: 100%;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  scrollbar-width: none; margin: 0; padding: 0; list-style: none;
}
body.single-product .dg-shop .woocommerce-product-gallery .dg-thumb-carousel .flex-control-thumbs::-webkit-scrollbar { display:none; }
body.single-product .dg-shop .woocommerce-product-gallery .dg-thumb-carousel .flex-control-thumbs li {
  float: none; flex: 0 0 calc((100% - 32px) / 5); width: auto;
  min-width: 0; margin: 0; scroll-snap-align: start;
}
body.single-product .dg-shop .woocommerce-product-gallery .dg-thumb-carousel .flex-control-thumbs img {
  display: block; width: 100%; aspect-ratio: 1; object-fit: cover;
}
body.single-product .dg-shop .woocommerce-product-gallery .dg-thumb-arrow {
  display: grid; place-items: center; width: 32px; height: 44px;
  padding: 0; border: 1px solid #10100f; background: transparent;
  color: #10100f; cursor: pointer; font-size: 18px;
}
body.single-product .dg-shop .woocommerce-product-gallery .dg-thumb-arrow:disabled { opacity: .25; cursor: default; }
body.single-product .dg-shop .woocommerce-product-gallery .dg-thumb-carousel img.flex-active { outline: 1px solid #921e28; outline-offset: -2px; }
@media (max-width: 575px) {
  body.single-product .dg-shop .woocommerce-product-gallery .dg-thumb-carousel .flex-control-thumbs li { flex-basis: calc((100% - 16px) / 3); }
}
@media (prefers-reduced-motion: reduce) {
  body.single-product .dg-shop .woocommerce-product-gallery .dg-thumb-carousel .flex-control-thumbs { scroll-behavior: auto; }
}


/* Dust & Glory — structured Tapstitch product information */
body.single-product .dg-shop .dg-product-description { overflow-wrap: normal; }
body.single-product .dg-shop .dg-product-intro { max-width: 860px; margin-bottom: clamp(2rem,4vw,3.5rem); font-size: 15px; line-height: 1.85; }
body.single-product .dg-shop .dg-product-intro p:first-child { font-size: clamp(17px,1.6vw,21px); font-weight: 500; line-height: 1.6; }
body.single-product .dg-shop .dg-product-intro p { margin: 0 0 1rem; }
body.single-product .dg-shop .dg-product-info-grid {display: grid;grid-template-columns: repeat(3, minmax(0, 1fr));gap: 18px;margin-bottom: 2.5rem;}
body.single-product .dg-shop .dg-product-info-card { min-width: 0; background: #fff; padding: clamp(22px,3vw,36px); border-top: 3px solid var(--dg-red);background-color:var(--dg-paper); }
body.single-product .dg-shop .dg-product-info-card h3,
body.single-product .dg-shop .dg-product-size-guide h3 { color: var(--dg-red); font-size: clamp(1.5rem,2.4vw,2.4rem); margin: 0 0 1.25rem; }
body.single-product .dg-shop .dg-product-facts { list-style: none; margin: 0; padding: 0; }
body.single-product .dg-shop .dg-product-facts li { padding: .65rem 0; border-bottom: 1px solid rgba(16,16,15,.10); font-size: 14px; line-height: 1.55; }
body.single-product .dg-shop .dg-product-facts li:last-child { border-bottom: 0; }
body.single-product .dg-shop .dg-product-info-card p { margin-bottom: .65rem; line-height: 1.65; }
body.single-product .dg-shop .dg-product-size-guide { background: #fff; padding: clamp(20px,3vw,40px); min-width: 0; }
body.single-product .dg-shop .dg-size-guide-note { color: #555; font-size: 13px; margin-bottom: 1.25rem; }
body.single-product .dg-shop .dg-size-table-scroll { width: 100%; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
body.single-product .dg-shop .dg-product-description .dg-size-table-scroll table { display: table; width: 100%; max-width: none; min-width: 750px; border-collapse: collapse; margin: 0; overflow: visible; }
body.single-product .dg-shop .dg-size-table-scroll th,
body.single-product .dg-shop .dg-size-table-scroll td { padding: 11px 12px; border: 1px solid #e3dfd9; text-align: center; white-space: nowrap; font-size: 12px; }
body.single-product .dg-shop .dg-size-table-scroll tr > :first-child { text-align: left; font-weight: 600; background: #f3f0e9; position: sticky; left: 0; z-index: 1; }
body.single-product .dg-shop .dg-size-table-scroll tr:nth-child(odd) { background: #f8f6f2; }
/* Tablet — 2 columns */
@media (max-width: 991.98px) {
    body.single-product .dg-shop .dg-product-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile — 1 column */
@media (max-width: 575.98px) {
    body.single-product .dg-shop .dg-product-info-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.single-product .dg-shop .dg-product-info-card {
        padding: 22px;
    }
}

/* Athlete Project intro — optional editable background image */
.dg-athlete-hub__intro--image {
    position: relative;
    isolation: isolate;
    background-image: linear-gradient(rgba(16,16,15,.58), rgba(16,16,15,.58)), var(--dg-athlete-intro-image);
    background-size: cover;
    background-position: center;
    color: #fff;
}
.dg-athlete-hub__intro--image .dg-athlete-container { position: relative; z-index: 1; }
.dg-athlete-hub__intro--image :is(h1, .dg-athlete-kicker, .dg-athlete-hub__manifesto, .dg-athlete-hub__subline) { color: #fff; }

/* Dust & Glory - Testing mode banner */
/* ==========================================
   Dust & Glory - Test Mode Layout
   ========================================== */

:root {
    --dg-test-banner-height: 40px;
    --dg-admin-offset: 0px;
}

/* WordPress admin bar */
body.admin-bar {
    --dg-admin-offset: 32px;
}

@media (max-width: 782px) {
    body.admin-bar {
        --dg-admin-offset: 46px;
    }
}

/* Keep WordPress toolbar above everything */
#wpadminbar {
    position: fixed;
    z-index: 999999;
}

/* Testing banner */
.dg-test-banner {
    position: fixed;
    top: var(--dg-admin-offset);
    left: 0;
    right: 0;
    width: 100%;
    height: var(--dg-test-banner-height);
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background: #e9b949;
    color: #181818;
    padding: 5px 20px;

    font-family: var(--dg-primary);
    font-size: 12px;
    line-height: 1.4;
    text-align: center;

    z-index: 1000;
}

.dg-test-banner strong {
    font-weight: 900;
    letter-spacing: .08em;
}

/* Header sits immediately below testing banner */
body:has(.dg-test-banner) .dg-header,
body.dg-has-cover:has(.dg-test-banner) .dg-header:not(.is-scrolled),
body:has(.dg-test-banner) .dg-header.is-scrolled {
    top: calc(
        var(--dg-admin-offset) +
        var(--dg-test-banner-height)
    );
}

/* Offset normal page content */
body:has(.dg-test-banner):not(.dg-has-cover) #main-content {
    padding-top: calc(
        var(--dg-header-height, 40px) +
        var(--dg-test-banner-height)
    );
}

/* Mobile */
@media (max-width: 782px) {
    :root {
        --dg-test-banner-height: 65px;
    }

    .dg-test-banner {
        flex-direction: column;
        gap: 2px;
        padding: 8px 15px;
    }
}

/* Dust & Glory - Basket / Checkout Test Notice */

.dg-checkout-test-notice {
    background: var(--dg-cream);
    border-left: 5px solid var(--dg-red);
    padding: 25px 30px;
    margin: 25px 0 35px;
    color: var(--dg-black);
    font-family: var(--dg-primary);
}

.dg-checkout-test-notice strong {
    display: block;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .05em;
    margin-bottom: 10px;
}

.dg-checkout-test-notice p {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

body:has(.dg-test-banner) .wc-block-components-checkout-place-order-button {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
}

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{text-align:center;}

.related.products > h2{border-bottom: solid 2px var(--dg-red);
	color: var(--dg-red);}

.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3{font-size:2em;}

/* ==========================================
   DUST & GLORY - STICKY ADD TO BASKET
========================================== */

/* Floating sticky Add to Basket bar */

.dg-sticky-cart {
    position: fixed;
    bottom: 25px;
    left: 50%;
    width: 50%;
    max-width: 850px;
    z-index: 1040;

    background: var(--dg-paper);
    color: #fff;
    /*border: 2px solid var(--dg-red);*/

    transform: translate(-50%, 150%);
    opacity: 0;
    visibility: hidden;

    transition:
        transform .3s ease,
        opacity .3s ease,
        visibility .3s ease;

    box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}

.dg-sticky-cart.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
}
.dg-sticky-cart__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.dg-sticky-cart__product {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.dg-sticky-cart__image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    flex-shrink: 0;
}

.dg-sticky-cart__details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.dg-sticky-cart__title {
    font-family: var(--dg-primary);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: var(--dg-black);
}

.dg-sticky-cart__price {
    font-size: 14px;
    color: var(--dg-black);
}

.dg-sticky-cart__price .amount {
    color: inherit;
}

.dg-sticky-cart__button {
    appearance: none;
    border: 0;
    background: var(--dg-red);
    color: #fff;

    padding: 15px 35px;
    min-width: 190px;

    font-family: var(--dg-primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;

    cursor: pointer;
    transition: background .2s ease;
    flex-shrink: 0;
}

.dg-sticky-cart__button:hover {
    background: var(--dg-black);
    color: #fff;
}

.dg-sticky-cart__button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

/* Mobile */

@media (max-width: 767px) {

    .dg-sticky-cart__inner {
        padding: 10px 15px;
        gap: 12px;
    }

    .dg-sticky-cart__image {
        display: none;
    }

    .dg-sticky-cart__title {
        font-size: 11px;
    }

    .dg-sticky-cart__price {
        font-size: 12px;
    }

    .dg-sticky-cart__button {
        min-width: 140px;
        padding: 14px 12px;
        font-size: 10px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .dg-sticky-cart {
        transition: none;
    }
}

@media (max-width: 991px) {

    .dg-sticky-cart {
        width: calc(100% - 30px);
        max-width: none;
        bottom: 15px;
    }

}

.dg-sticky-cart__options {
    display: block;
    font-family: var(--dg-primary);
    font-size: 11px;
    font-weight: 400;
    color: var(--dg-black);
    line-height: 1.5;
}

.dg-sticky-cart__options:empty {
    display: none;
}

@media (max-width: 767px) {
    .dg-sticky-cart__options {
        font-size: 10px;
    }
}

/* Dust & Glory - Header logo */

.dg-header .dg-logo {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.dg-header .custom-logo-link {
    display: flex;
    align-items: center;
}

.dg-header .custom-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 300px;
    max-height: 65px;
    object-fit: contain;
	transition: max-height 0.3s ease;
}

/* Logo size when header is scrolled */
.dg-header.is-scrolled .custom-logo {
    max-height: 65px;
    width: auto;
}

@media (max-width: 767px) {
    .dg-header .custom-logo {
        max-width: 150px;
        max-height: 50px;
    }
}

@media (max-width: 991px) {
	.navbar-collapse{text-align: center;}
}
.dg-hero-editorial .wp-block-cover__background {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.35) 35%,
        rgba(0, 0, 0, 0.75) 100%
    ) !important;
    opacity: 1 !important;
}


/* Reserve the original H1 dimensions */
.dg-hero-editorial .dg-hero-title {
    position: relative;
}

/* Hide original heading visually but preserve its space */
.dg-hero-editorial .dg-hero-title.dg-typewriter-active {
    color: transparent !important;
}

/* Animated text occupies the reserved heading area */
.dg-hero-editorial .dg-typewriter-text {
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    width: 100%;
}

/* Cursor */
.dg-hero-editorial .dg-typewriter-text::after {
    content: "|";
    color: var(--dg-red);
    animation: dgCursorBlink .7s step-end infinite;
}

/* Hide cursor after typing */
.dg-hero-editorial .dg-typing-complete .dg-typewriter-text::after {
    display: none;
}

@keyframes dgCursorBlink {
    50% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dg-hero-editorial .dg-typewriter-text {
        display: none;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .dg-hero-editorial .dg-hero-title:not(.dg-typing-complete) {
        color: transparent !important;
    }
}

/* Dust & Glory — Mobile sliding navigation */

.dg-mobile-nav {
    --bs-offcanvas-width: 100vw;
    --bs-offcanvas-bg: #10100f;
    --bs-offcanvas-color: #f4e8da;

    background: #10100f;
    color: #f4e8da;
    border: 0;
    transition: transform .4s ease;
}

.dg-mobile-nav .offcanvas-header {
    padding: 15px 16px;
    min-height: 80px;
}

.dg-mobile-nav-brand {
    font-family: var(--dg-primary);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .2em;
}

.dg-mobile-nav .offcanvas-body {
    display: flex;
    flex-direction: column;
    padding: 35px 30px;
    overflow-y: auto;
}

.dg-mobile-nav-heading {
    color: #b9a6a0;
    font-size: 11px;
    letter-spacing: .2em;
    font-weight: 500;
    margin-bottom: 20px;
}

.dg-mobile-nav-link {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid rgba(244,232,218,.15);

    font-family: var(--dg-primary);
    font-size: clamp(1.5rem, 6vw, 2.3rem);
    font-weight: 200;
    line-height: 1.2;

    color: #f4e8da;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s ease;
}

.dg-mobile-nav-link:hover,
.dg-mobile-nav-link:focus {
    color: #d5a0a4;
}

.dg-mobile-nav-discover {
    margin-top: 45px;
}

.dg-mobile-nav-secondary {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
}

.dg-mobile-nav-bag {
    display: block;
    margin-top: 35px;
    color: #f4e8da;
    font-size: 13px;
    letter-spacing: .15em;
    text-decoration: none;
}

.dg-mobile-nav-footer {
    margin-top: auto;
    padding-top: 45px;
    color: rgba(244,232,218,.5);
    font-size: 10px;
    letter-spacing: .2em;
}

@media (prefers-reduced-motion: reduce) {
    .dg-mobile-nav {
        transition: none;
    }
}

/* Mobile Offcanvas — final positioning and layering */

.dg-mobile-nav {
    z-index: 1060;
    height: 100dvh;
    max-height: 100dvh;
}

.offcanvas-backdrop {
    z-index: 1040;
}

/* Keep the hamburger on the right */
@media (max-width: 991.98px) {
    .dg-header .navbar-toggler {
        margin-left: auto;
        border: 0;
        box-shadow: none;
    }

    .dg-header .navbar-toggler:focus-visible {
        outline: 2px solid var(--dg-cream);
        outline-offset: 4px;
    }
}

/* Prevent the brand's global link styling interfering */
.dg-mobile-nav a {
    color: var(--dg-cream);
}

.dg-mobile-nav a:hover,
.dg-mobile-nav a:focus-visible {
    color: #d5a0a4;
}

/* Mobile navigation close button */

.dg-mobile-nav-close {
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.dg-mobile-nav-close span {
    position: absolute;
    top: 50%;
    left: 7px;
    width: 30px;
    height: 2px;
    background: var(--dg-cream);
    transform-origin: center;
}

.dg-mobile-nav-close span:first-child {
    transform: rotate(45deg);
}

.dg-mobile-nav-close span:last-child {
    transform: rotate(-45deg);
}

.dg-mobile-nav-close:hover span {
    background: #fff;
}

.dg-mobile-nav-close:focus-visible {
    outline: 2px solid var(--dg-cream);
    outline-offset: 3px;
}

/* Align mobile menu header with the website header */

@media (max-width: 991.98px) {

    .dg-mobile-nav .offcanvas-header {
        padding: 10px 16px;
        min-height: 40px;
        height: var(--dg-header-height, 90px);
        box-sizing: border-box;
    }

    .dg-mobile-nav-close {
        width: 56px;
        height: 40px;
        margin-left: auto;
        flex-shrink: 0;
    }

    .dg-mobile-nav-close span {
        left: 13px;
        width: 30px;
    }

}

/* Homepage hero — mobile content order */

@media (max-width: 767px) {

    /* Stack both sections vertically */
    .dg-hero-editorial .dg-hero-layout > .wp-block-group__inner-container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
    }

    /* Heading and tagline first */
    .dg-hero-editorial .dg-hero-message {
        order: 1;
        width: 100%;
    }

    /* Collection buttons underneath */
    .dg-hero-editorial .dg-hero-actions {
        order: 2;
        width: 100%;
    }

    /* Reduce the excessive mobile padding */
    .dg-hero-editorial .dg-hero-layout {
        padding: 3rem 1.5rem 1rem;
    }

    /* Keep the buttons together */
    .dg-hero-editorial .dg-hero-actions > .wp-block-group__inner-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

}

/* Homepage hero — smaller mobile brush-stroke buttons */

@media (max-width: 767px) {

    .dg-hero-editorial .dg-hero-action a,
    .dg-hero-editorial .dg-hero-action:nth-child(2) a {
        width: 180px;
        height: 52px;
        min-height: 52px;
        padding: 5px 12px;

        font-size: 13px;
        font-weight: 300;
        line-height: 1.15;

        background-size: 100% 100%;
    }

    .dg-hero-editorial .dg-hero-actions > .wp-block-group__inner-container {
        gap: 10px;
    }

}