/*
Theme Name: DivineBhushan Signature
Theme URI: https://divinebhushan.in/
Author: DivineBhushan Enterprises
Description: Luxury WooCommerce theme for DivineBhushan spiritual products.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: divinebhushan-signature
*/

/* =========================================
   1. DESIGN SYSTEM
========================================= */

:root {
    --db-wine: #651b32;
    --db-wine-dark: #3d1020;
    --db-wine-deep: #4a1023;
    --db-wine-soft: #873d51;
    --db-gold: #bd8a3d;
    --db-gold-light: #e8d1a0;
    --db-cream: #faf6ef;
    --db-ivory: #f3ece0;
    --db-white: #ffffff;
    --db-dark: #211a19;
    --db-muted: #746b65;
    --db-border: #e5d8c5;
    --db-shadow: 0 14px 38px rgba(55, 22, 30, 0.10);
    --db-serif: Georgia, "Times New Roman", serif;
    --db-sans: Arial, Helvetica, sans-serif;
    --db-container: 1320px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    color: var(--db-dark);
    background: var(--db-cream);
    font-family: var(--db-sans);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
    font-family: var(--db-sans);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
    max-width: 100%;
}

button,
.button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--db-dark);
    font-family: var(--db-serif);
    font-weight: 400;
    line-height: 1.2;
}

p {
    margin-top: 0;
}

::selection {
    color: var(--db-white);
    background: var(--db-wine);
}

:focus-visible {
    outline: 2px solid var(--db-gold);
    outline-offset: 4px;
}

.db-site-main {
    width: 100%;
    overflow: clip;
}

.db-site-main > section {
    position: relative;
}


/* =========================================
   2. ANNOUNCEMENT BAR
========================================= */

.db-announcement-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;
    padding: 6px 20px;
    color: var(--db-gold-light);
    background: var(--db-wine-dark);
    border-bottom: 1px solid rgba(232, 209, 160, 0.28);
    text-align: center;
}

.db-announcement-bar p {
    margin: 0;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.5;
}

.db-announcement-bar span {
    padding: 0 12px;
    color: var(--db-gold);
}


/* =========================================
   3. HEADER AND NAVIGATION
========================================= */

.db-header {
    position: relative;
    z-index: 100;
    width: 100%;
    background: rgba(255, 253, 249, 0.98);
    border-bottom: 1px solid rgba(189, 138, 61, 0.18);
}

.db-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(calc(100% - 64px), 1500px);
    min-height: 76px;
    margin: 0 auto;
}

.db-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-width: 200px;
    color: var(--db-wine);
}

.db-brand-name {
    font-family: var(--db-serif);
    font-size: clamp(20px, 2vw, 31px);
    letter-spacing: 2px;
    line-height: 1.1;
}

.db-brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.db-brand img.custom-logo {
    width: auto;
    max-width: 250px;
    max-height: 58px;
    object-fit: contain;
}

.db-navigation {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.db-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 1.8vw, 30px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.db-menu li {
    margin: 0;
    padding: 0;
}

.db-menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: #27201e;
    font-family: var(--db-serif);
    font-size: 14px;
    white-space: nowrap;
    transition: color 180ms ease;
}

.db-menu a::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    background: var(--db-gold);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.db-menu a:hover,
.db-menu a:focus-visible {
    color: var(--db-wine);
}

.db-menu a:hover::after,
.db-menu a:focus-visible::after {
    transform: scaleX(1);
}

.db-header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 13px;
}

.db-header-service {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    color: var(--db-wine);
    font-size: 12px;
    white-space: nowrap;
    transition: color 180ms ease;
}

.db-header-service > span:first-child {
    font-size: 20px;
    line-height: 1;
}

.db-header-service:hover {
    color: var(--db-gold);
}

.db-action-label {
    color: #29201e;
    font-family: var(--db-serif);
    font-size: 13px;
}

.db-cart-link {
    gap: 5px;
}

.db-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    color: var(--db-white);
    background: var(--db-gold);
    border-radius: 50px;
    font-family: var(--db-sans);
    font-size: 10px;
}

.db-header-shop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 18px;
    color: var(--db-white);
    background: var(--db-wine);
    border: 1px solid var(--db-wine);
    border-radius: 3px;
    font-family: var(--db-serif);
    font-size: 14px;
    white-space: nowrap;
    transition:
        background 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.db-header-shop:hover {
    color: var(--db-white);
    background: var(--db-wine-dark);
    border-color: var(--db-wine-dark);
    transform: translateY(-1px);
}


/* =========================================
   4. EYEBROWS AND BUTTONS
========================================= */

.db-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    color: var(--db-gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    line-height: 1.6;
    text-transform: uppercase;
}

.db-section-heading .db-eyebrow {
    justify-content: center;
}

.db-section-heading .db-eyebrow::before,
.db-section-heading .db-eyebrow::after {
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--db-gold);
    content: "";
}

.db-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-family: var(--db-serif);
    font-size: 15px;
    line-height: 1.35;
    text-align: center;
    transition:
        color 180ms ease,
        background 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.db-button:hover {
    transform: translateY(-2px);
}

.db-button-primary {
    color: var(--db-white);
    background: var(--db-wine);
    border-color: var(--db-wine);
}

.db-button-primary:hover {
    color: var(--db-white);
    background: var(--db-wine-dark);
    border-color: var(--db-wine-dark);
}

.db-button-outline {
    color: var(--db-wine);
    background: rgba(255, 253, 249, 0.66);
    border-color: var(--db-gold);
}

.db-button-outline:hover {
    color: var(--db-white);
    background: var(--db-wine);
    border-color: var(--db-wine);
}

.db-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 5px;
    color: var(--db-wine);
    border-bottom: 1px solid var(--db-gold);
    font-family: var(--db-serif);
    font-size: 16px;
}

.db-text-link:hover {
    color: var(--db-gold);
}


/* =========================================
   5. HERO SECTION
========================================= */

.db-hero-section {
    position: relative;
    min-height: 430px;
    background: #eee0ce;
}

.db-hero-slider,
.db-hero-slide {
    position: relative;
    min-height: 430px;
}

.db-hero-slide {
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: #eee0ce;
}

.db-hero-image {
    position: absolute;
    z-index: -3;
    inset: 0;
}

.db-hero-image img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    object-position: center 55%;
}

.db-hero-overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(250, 246, 239, 0.99) 0%,
            rgba(250, 246, 239, 0.97) 28%,
            rgba(250, 246, 239, 0.86) 41%,
            rgba(250, 246, 239, 0.40) 54%,
            rgba(250, 246, 239, 0.02) 70%
        );
}

.db-hero-content {
    width: min(100% - 64px, var(--db-container));
    margin: 0 auto;
    padding: 44px 0 32px;
}

.db-hero-content > * {
    max-width: 600px;
}

.db-hero-content .db-eyebrow {
    margin-bottom: 16px;
}

.db-hero-content h1 {
    margin: 0 0 16px;
    color: var(--db-wine);
    font-size: clamp(42px, 4.6vw, 67px);
    letter-spacing: -2px;
    line-height: 0.99;
}

.db-hero-content h1 span {
    color: #b2782b;
}

.db-hero-description {
    max-width: 510px;
    margin-bottom: 23px;
    color: #49413b;
    font-size: 17px;
    line-height: 1.65;
}

.db-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.db-hero-benefits {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin-top: 26px;
}

.db-hero-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 0 18px;
    color: #3f3531;
    border-right: 1px solid rgba(189, 138, 61, 0.55);
    font-size: 11px;
    line-height: 1.45;
}

.db-hero-benefit:first-child {
    padding-left: 0;
}

.db-hero-benefit:last-child {
    border-right: 0;
}

.db-benefit-icon {
    color: var(--db-wine);
    font-family: var(--db-serif);
    font-size: 24px;
    line-height: 1;
}


/* =========================================
   6. TRUST BAR
========================================= */

.db-trust-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    width: 100%;
    padding: 19px max(32px, calc((100% - var(--db-container)) / 2));
    background: rgba(255, 253, 249, 0.96);
    border-bottom: 1px solid rgba(189, 138, 61, 0.12);
}

.db-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-width: 0;
    padding: 0 18px;
    border-right: 1px solid var(--db-border);
}

.db-trust-item:first-child {
    padding-left: 0;
}

.db-trust-item:last-child {
    padding-right: 0;
    border-right: 0;
}

.db-trust-icon {
    flex: 0 0 auto;
    color: var(--db-wine);
    font-family: var(--db-serif);
    font-size: 31px;
    line-height: 1;
}

.db-trust-item h3 {
    margin: 0 0 3px;
    color: var(--db-wine);
    font-size: 16px;
    line-height: 1.3;
}

.db-trust-item p {
    margin: 0;
    color: #625a55;
    font-size: 11px;
    line-height: 1.5;
}


/* =========================================
   7. COLLECTIONS - MAIN FOCUS
========================================= */

.db-collections-section {
    padding: 34px 32px 58px;
    background:
        radial-gradient(
            ellipse at top center,
            rgba(255, 255, 255, 0.85) 0%,
            rgba(250, 246, 239, 0.96) 64%
        );
}

.db-section-heading {
    width: min(100%, 900px);
    margin: 0 auto 25px;
    text-align: center;
}

.db-section-heading .db-eyebrow {
    margin-bottom: 7px;
}

.db-section-heading h2 {
    margin: 0 0 8px;
    color: #171312;
    font-size: clamp(29px, 3vw, 39px);
    letter-spacing: -0.8px;
    line-height: 1.18;
}

.db-section-heading > p:last-child {
    margin: 0;
    color: #625a55;
    font-size: 14px;
    line-height: 1.7;
}

.db-collection-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
    width: min(100%, var(--db-container));
    margin: 0 auto;
}

.db-collection-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 255px;
    overflow: hidden;
    isolation: isolate;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--db-white);
    background: #604331;
    border: 1px solid rgba(189, 138, 61, 0.85);
    box-shadow: 0 5px 15px rgba(42, 20, 20, 0.06);
    transform: translateZ(0);
    transition:
        box-shadow 220ms ease,
        border-color 220ms ease,
        transform 220ms ease;
}

.db-collection-card:hover {
    color: var(--db-white);
    border-color: var(--db-gold-light);
    box-shadow: var(--db-shadow);
    transform: translateY(-4px);
}

.db-collection-image {
    position: absolute;
    z-index: -3;
    inset: 0;
    overflow: hidden;
    background: #604331;
}

.db-collection-image::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(24, 15, 12, 0.84) 0%,
            rgba(24, 15, 12, 0.63) 38%,
            rgba(24, 15, 12, 0.12) 100%
        ),
        linear-gradient(
            0deg,
            rgba(24, 15, 12, 0.18),
            transparent 65%
        );
    content: "";
}

.db-collection-image img {
    width: 100%;
    height: 100%;
    min-height: 255px;
    object-fit: cover;
    object-position: center;
    transition: transform 550ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.db-collection-card:hover .db-collection-image img {
    transform: scale(1.055);
}

.db-collection-content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 255px;
    padding: 24px 25px 23px;
    color: var(--db-white);
}

.db-collection-kicker {
    margin: 0 0 7px;
    color: var(--db-gold-light);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.7px;
    line-height: 1.5;
}

.db-collection-content h3 {
    max-width: 100%;
    margin: 0 0 7px;
    color: var(--db-white);
    font-size: clamp(23px, 2.2vw, 31px);
    letter-spacing: -0.3px;
    line-height: 1.13;
    overflow-wrap: anywhere;
}

.db-collection-description {
    max-width: 240px;
    margin: 0 0 15px;
    color: rgba(255, 248, 237, 0.91);
    font-size: 12px;
    line-height: 1.55;
}

.db-collection-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 34px;
    padding: 7px 12px;
    color: var(--db-gold-light);
    background: rgba(37, 19, 16, 0.32);
    border: 1px solid rgba(232, 209, 160, 0.9);
    border-radius: 2px;
    font-family: var(--db-serif);
    font-size: 12px;
    line-height: 1.35;
    transition:
        color 180ms ease,
        background 180ms ease,
        border-color 180ms ease;
}

.db-collection-card:hover .db-collection-link {
    color: var(--db-wine-dark);
    background: var(--db-gold-light);
    border-color: var(--db-gold-light);
}

.db-collections-cta {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}


/* =========================================
   INTERACTIVE COMPARISON SECTION
========================================= */
.db-compare-section {
    padding: 90px 32px;
    background: var(--db-cream);
    border-bottom: 1px solid var(--db-border);
}

.db-compare-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    width: min(100%, var(--db-container));
    margin: 0 auto;
}

.db-compare-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--db-shadow);
    user-select: none;
    cursor: ew-resize;
}

.db-compare-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.db-compare-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.db-compare-top {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    will-change: clip-path;
}

.db-compare-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--db-gold);
    z-index: 10;
    transform: translateX(-50%);
    pointer-events: none;
}

.db-compare-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 42px;
    height: 42px;
    background: var(--db-white);
    border: 2px solid var(--db-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.db-compare-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 20;
    margin: 0;
}

.db-compare-label {
    position: absolute;
    bottom: 16px;
    padding: 6px 12px;
    background: rgba(33, 26, 25, 0.75);
    color: var(--db-gold-light);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    border-radius: 4px;
    z-index: 5;
    transition: opacity 200ms ease;
    backdrop-filter: blur(4px);
}

.db-compare-label-left {
    left: 16px;
}

.db-compare-label-right {
    right: 16px;
}

.db-label-hidden {
    opacity: 0;
    pointer-events: none;
}

.db-compare-content-inner {
    max-width: 520px;
}

.db-compare-eyebrow {
    color: var(--db-gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.db-compare-heading {
    color: var(--db-wine);
    font-size: clamp(32px, 3.5vw, 42px);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.db-compare-description {
    color: var(--db-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.db-compare-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 28px;
    color: var(--db-white);
    background: var(--db-wine);
    border-radius: 3px;
    font-family: var(--db-serif);
    font-size: 15px;
    transition: background 180ms ease, transform 180ms ease;
}

.db-compare-button:hover {
    background: var(--db-wine-dark);
    transform: translateY(-2px);
    color: var(--db-white);
}


/* =========================================
   8. AUTHENTICITY SECTION
========================================= */
.db-authenticity-section {
    padding: 80px 0;
    background: var(--db-white);
    border-bottom: 1px solid var(--db-border);
}
.db-authenticity-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    width: min(calc(100% - 64px), var(--db-container));
    margin: 0 auto;
    align-items: center;
}
.db-authenticity-content .db-eyebrow {
    margin-bottom: 15px;
}
.db-authenticity-content h2 {
    color: var(--db-wine);
    font-size: clamp(30px, 3.5vw, 42px);
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}
.db-auth-copy p {
    color: var(--db-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 580px;
}
.db-authenticity-content .db-button {
    margin-top: 10px;
}
.db-authenticity-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.db-certificate-card {
    background: var(--db-cream);
    border: 1px solid var(--db-gold-light);
    padding: 12px;
    border-radius: 4px;
    width: 100%;
    max-width: 360px;
    box-shadow: var(--db-shadow);
}
.db-cert-border {
    border: 1px dashed var(--db-gold);
    padding: 50px 20px;
    text-align: center;
}
.db-cert-seal {
    display: block;
    font-size: 42px;
    color: var(--db-wine);
    margin-bottom: 15px;
}
.db-cert-border h4 {
    color: var(--db-wine);
    font-size: 22px;
    margin-bottom: 5px;
}
.db-cert-border p {
    color: var(--db-gold);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}


/* =========================================
   9. TRACKING SECTION
========================================= */
.db-tracking-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #f1e7d9, #faf6ef 55%, #eee0cf);
}
.db-tracking-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    width: min(calc(100% - 64px), var(--db-container));
    margin: 0 auto;
    align-items: center;
}
.db-tracking-content .db-eyebrow {
    margin-bottom: 15px;
}
.db-tracking-content h2 {
    color: var(--db-wine);
    font-size: clamp(30px, 3.5vw, 42px);
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}
.db-track-copy p {
    color: var(--db-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 500px;
}
.db-tracking-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.db-tracking-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 450px;
}
.db-step {
    text-align: center;
    position: relative;
}
.db-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: var(--db-white);
    border: 1px solid var(--db-gold-light);
    border-radius: 50%;
    font-size: 24px;
    margin: 0 auto 12px;
    box-shadow: 0 8px 20px rgba(55, 22, 30, 0.06);
}
.db-step-text {
    font-family: var(--db-serif);
    font-size: 14px;
    color: var(--db-wine);
    font-weight: 500;
}
.db-step-line {
    flex: 1;
    height: 1px;
    background: var(--db-gold);
    margin: 0 15px 35px;
    opacity: 0.5;
}


/* =========================================
   10. BRAND STORY SECTION
========================================= */
.db-story-section {
    padding: 90px 0 100px;
    background: var(--db-cream);
}
.db-story-container {
    width: min(calc(100% - 64px), var(--db-container));
    margin: 0 auto;
    text-align: center;
}
.db-story-header {
    max-width: 780px;
    margin: 0 auto 60px;
}
.db-story-header .db-eyebrow {
    justify-content: center;
    margin-bottom: 15px;
}
.db-story-header h2 {
    color: var(--db-wine);
    font-size: clamp(32px, 3.5vw, 44px);
    margin-bottom: 20px;
}
.db-story-lead p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--db-muted);
    margin: 0;
}
.db-story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}
.db-story-block {
    padding: 45px 30px;
    background: var(--db-white);
    border: 1px solid var(--db-border);
    border-radius: 3px;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.db-story-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--db-shadow);
    border-color: var(--db-gold-light);
}
.db-story-icon {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--db-gold);
}
.db-story-block h3 {
    font-size: 21px;
    color: var(--db-wine);
    margin-bottom: 12px;
}
.db-story-block p {
    font-size: 14px;
    color: var(--db-muted);
    margin: 0;
    line-height: 1.7;
}
.db-story-footer {
    display: flex;
    justify-content: center;
}


/* =========================================
   11. FOOTER (UPDATED)
========================================= */

.db-site-footer {
    background-color: var(--db-cream);
    color: var(--db-dark);
    border-top: 1px solid var(--db-border);
}

.db-footer-container {
    width: min(calc(100% - 64px), 1200px);
    margin: 0 auto;
}

/* Footer Top Section (3 Columns) */
.db-footer-top {
    padding: 60px 0;
}

.db-footer-top .db-footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

/* Column 1: Brand */
.db-footer-brand {
    padding-right: 40px;
}

.db-footer-logo {
    display: inline-block;
    font-size: 28px;
    font-weight: bold;
    color: var(--db-wine);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.db-logo-marathi {
    font-family: sans-serif;
}

.db-logo-icon {
    font-size: 20px;
    margin: 0 2px;
}

.db-footer-tagline {
    font-family: var(--db-serif);
    font-size: 16px;
    color: var(--db-dark);
    margin: 0 0 15px 0;
    font-weight: 500;
}

.db-footer-desc {
    color: var(--db-muted);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

/* Columns 2 & 3: Links and Policies */
.db-footer-heading {
    font-family: var(--db-serif);
    font-size: 18px;
    color: var(--db-dark);
    margin: 0 0 25px 0;
    font-weight: 500;
}

.db-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.db-footer-menu li {
    margin-bottom: 15px;
}

.db-footer-menu a {
    color: var(--db-dark);
    font-size: 15px;
    transition: color 0.3s ease;
}

.db-footer-menu a:hover {
    color: var(--db-wine);
}

/* Footer Bottom Section (Copyright) */
.db-footer-bottom {
    background-color: var(--db-wine-dark);
    padding: 15px 0;
}

.db-copyright {
    margin: 0;
    color: var(--db-white);
    font-size: 13px;
    text-align: left;
}

/* Responsive Footer */
@media (max-width: 960px) {
    .db-footer-top .db-footer-container {
        grid-template-columns: 1fr 1fr;
    }
    .db-footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}

@media (max-width: 640px) {
    .db-footer-top {
        padding: 40px 0;
    }
    .db-footer-top .db-footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .db-copyright {
        text-align: center;
    }
}


/* =========================================
   12. WOOCOMMERCE BASICS
========================================= */

.woocommerce,
.woocommerce-page {
    color: var(--db-dark);
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin: 28px 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

.woocommerce ul.products li.product {
    float: none;
    width: auto;
    margin: 0;
    padding: 0 0 18px;
    overflow: hidden;
    background: var(--db-white);
    border: 1px solid var(--db-border);
    transition: box-shadow 200ms ease, transform 200ms ease;
}

.woocommerce ul.products li.product:hover {
    box-shadow: var(--db-shadow);
    transform: translateY(-3px);
}

.woocommerce ul.products li.product a img {
    width: 100%;
    aspect-ratio: 4 / 4.5;
    margin: 0 0 14px;
    object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 0 15px;
    color: var(--db-dark);
    font-family: var(--db-serif);
    font-size: 17px;
    line-height: 1.4;
}

.woocommerce ul.products li.product .price {
    padding: 0 15px;
    color: var(--db-wine);
    font-size: 15px;
}

.woocommerce ul.products li.product .button {
    margin: 8px 15px 0;
    padding: 11px 15px;
    color: var(--db-white);
    background: var(--db-wine);
    border-radius: 2px;
    font-size: 12px;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--db-wine-dark);
}

.woocommerce span.onsale {
    min-width: 0;
    min-height: 0;
    padding: 7px 10px;
    color: var(--db-white);
    background: var(--db-wine);
    border-radius: 2px;
    line-height: 1.4;
}

.woocommerce div.product .product_title {
    color: var(--db-wine);
    font-family: var(--db-serif);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--db-wine);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
    color: var(--db-white);
    background: var(--db-wine);
    border-radius: 2px;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
    color: var(--db-white);
    background: var(--db-wine-dark);
}

.woocommerce .quantity .qty,
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select {
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid var(--db-border);
    border-radius: 2px;
    background: var(--db-white);
}

.woocommerce-message,
.woocommerce-info {
    border-top-color: var(--db-gold);
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--db-wine);
}


/* =========================================
   13. TABLET
========================================= */

@media (max-width: 1180px) {
    .db-header-inner {
        gap: 15px;
        width: calc(100% - 36px);
    }

    .db-brand {
        min-width: 0;
    }

    .db-brand img.custom-logo {
        max-width: 200px;
    }

    .db-menu {
        gap: 13px;
    }

    .db-menu a {
        font-size: 13px;
    }

    .db-header-actions {
        gap: 9px;
    }

    .db-header-service {
        gap: 4px;
    }

    .db-action-label {
        font-size: 12px;
    }

    .db-header-shop {
        padding: 0 12px;
        font-size: 13px;
    }

    .db-hero-content {
        width: calc(100% - 52px);
    }

    .db-collection-grid {
        gap: 14px;
    }

    .db-collection-content {
        padding: 20px;
    }

    .db-collection-content h3 {
        font-size: 25px;
    }

    .db-trust-bar {
        padding-right: 24px;
        padding-left: 24px;
    }

    .db-trust-item {
        gap: 10px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .db-trust-item h3 {
        font-size: 14px;
    }

    .db-trust-item p {
        font-size: 10px;
    }
}

@media (max-width: 960px) {
    .db-header-inner {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px 18px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .db-brand {
        flex: 1 1 45%;
    }

    .db-navigation {
        order: 3;
        flex: 1 1 100%;
        justify-content: flex-start;
        padding-top: 5px;
        border-top: 1px solid var(--db-border);
    }

    .db-menu {
        justify-content: flex-start;
        gap: 22px;
    }

    .db-header-actions {
        flex: 0 1 auto;
    }

    .db-hero-section,
    .db-hero-slider,
    .db-hero-slide {
        min-height: 410px;
    }

    .db-hero-image img {
        min-height: 410px;
    }

    .db-hero-content h1 {
        font-size: clamp(40px, 6vw, 58px);
    }

    .db-trust-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 0;
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .db-trust-item:nth-child(2) {
        border-right: 0;
    }

    .db-trust-item:nth-child(3) {
        padding-left: 0;
    }

    .db-collection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .db-collection-card,
    .db-collection-content,
    .db-collection-image img {
        min-height: 245px;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    /* Comparison Section Responsive */
    .db-compare-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .db-compare-content-inner {
        margin: 0 auto;
    }

    /* Localized Responsive Resizing (Patch specific) */
    .db-authenticity-container, 
    .db-tracking-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    .db-authenticity-content .db-eyebrow,
    .db-tracking-content .db-eyebrow {
        justify-content: center;
    }
    .db-auth-copy p,
    .db-track-copy p {
        margin-left: auto;
        margin-right: auto;
    }
    .db-tracking-content { order: 2; }
    .db-tracking-visual { order: 1; }
    .db-story-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* =========================================
   14. MOBILE
========================================= */

@media (max-width: 640px) {
    html {
        scroll-padding-top: 20px;
    }

    body {
        font-size: 14px;
    }

    .db-announcement-bar {
        min-height: 30px;
        padding: 5px 10px;
    }

    .db-announcement-bar p {
        font-size: 8px;
        letter-spacing: 1.2px;
    }

    .db-announcement-bar span {
        padding: 0 5px;
    }

    .db-header-inner {
        width: calc(100% - 28px);
        gap: 10px;
        padding-top: 12px;
        padding-bottom: 10px;
    }

    .db-brand {
        flex: 1 1 100%;
        justify-content: center;
        min-width: 0;
    }

    .db-brand-name {
        font-size: 24px;
        letter-spacing: 1.5px;
        text-align: center;
    }

    .db-brand img.custom-logo {
        max-width: min(78vw, 230px);
        max-height: 48px;
    }

    .db-header-actions {
        display: flex;
        flex: 1 1 100%;
        justify-content: center;
        gap: 14px;
        padding-top: 8px;
        border-top: 1px solid var(--db-border);
    }

    .db-header-service {
        gap: 5px;
        min-height: 32px;
    }

    .db-header-service > span:first-child {
        font-size: 17px;
    }

    .db-action-label {
        font-size: 11px;
    }

    .db-header-shop {
        min-height: 36px;
        padding: 0 11px;
        font-size: 12px;
    }

    .db-navigation {
        width: 100%;
        overflow-x: auto;
        padding-top: 7px;
        padding-bottom: 3px;
        scrollbar-width: none;
    }

    .db-navigation::-webkit-scrollbar {
        display: none;
    }

    .db-menu {
        flex-wrap: nowrap;
        gap: 20px;
        width: max-content;
        padding-right: 5px;
    }

    .db-menu a {
        min-height: 32px;
        font-size: 13px;
    }

    .db-menu a::after {
        bottom: 0;
    }

    .db-hero-section,
    .db-hero-slider,
    .db-hero-slide {
        min-height: 0;
    }

    .db-hero-slide {
        align-items: flex-end;
        padding-top: 215px;
        background: #f4e9da;
    }

    .db-hero-image {
        bottom: auto;
        height: 300px;
    }

    .db-hero-image img {
        height: 300px;
        min-height: 300px;
        object-position: center;
    }

    .db-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(250, 246, 239, 0) 0%,
                rgba(250, 246, 239, 0.06) 36%,
                rgba(250, 246, 239, 0.92) 72%,
                #faf6ef 100%
            );
    }

    .db-hero-content {
        width: 100%;
        padding: 20px 22px 25px;
    }

    .db-hero-content > * {
        max-width: 100%;
    }

    .db-hero-content .db-eyebrow {
        margin-bottom: 10px;
        font-size: 9px;
        letter-spacing: 2px;
    }

    .db-hero-content h1 {
        margin-bottom: 12px;
        font-size: clamp(36px, 10vw, 49px);
        letter-spacing: -1.2px;
        line-height: 1.02;
    }

    .db-hero-description {
        margin-bottom: 17px;
        font-size: 14px;
        line-height: 1.6;
    }

    .db-hero-buttons {
        align-items: stretch;
        gap: 9px;
    }

    .db-hero-buttons .db-button {
        flex: 1 1 100%;
        min-height: 44px;
        padding: 10px 12px;
        font-size: 14px;
    }

    .db-hero-benefits {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        margin-top: 20px;
    }

    .db-hero-benefit {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 0 8px;
        font-size: 9px;
    }

    .db-hero-benefit:first-child {
        padding-left: 0;
    }

    .db-hero-benefit:last-child {
        padding-right: 0;
    }

    .db-benefit-icon {
        font-size: 21px;
    }

    .db-trust-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 17px 0;
        padding: 20px 14px;
    }

    .db-trust-item {
        justify-content: flex-start;
        gap: 9px;
        padding: 0 9px;
        border-right: 1px solid var(--db-border);
    }

    .db-trust-item:nth-child(2) {
        border-right: 0;
    }

    .db-trust-item:nth-child(3) {
        padding-left: 9px;
    }

    .db-trust-item h3 {
        margin-bottom: 3px;
        font-size: 13px;
    }

    .db-trust-item p {
        font-size: 10px;
        line-height: 1.4;
    }

    .db-trust-icon {
        font-size: 23px;
    }

    .db-collections-section {
        padding: 35px 16px 42px;
    }

    .db-section-heading {
        margin-bottom: 22px;
    }

    .db-section-heading .db-eyebrow {
        margin-bottom: 7px;
        font-size: 9px;
        letter-spacing: 2px;
    }

    .db-section-heading .db-eyebrow::before,
    .db-section-heading .db-eyebrow::after {
        width: 22px;
    }

    .db-section-heading h2 {
        margin-bottom: 9px;
        font-size: 29px;
        letter-spacing: -0.5px;
    }

    .db-section-heading > p:last-child {
        font-size: 12px;
        line-height: 1.65;
    }

    .db-collection-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .db-collection-card {
        min-height: 225px;
    }

    .db-collection-image img {
        min-height: 225px;
    }

    .db-collection-content {
        min-height: 225px;
        padding: 22px 20px;
    }

    .db-collection-image::after {
        background:
            linear-gradient(
                90deg,
                rgba(24, 15, 12, 0.84) 0%,
                rgba(24, 15, 12, 0.57) 52%,
                rgba(24, 15, 12, 0.10) 100%
            );
    }

    .db-collection-kicker {
        margin-bottom: 6px;
        font-size: 9px;
    }

    .db-collection-content h3 {
        max-width: 85%;
        margin-bottom: 7px;
        font-size: 27px;
    }

    .db-collection-description {
        max-width: 220px;
        margin-bottom: 13px;
        font-size: 12px;
    }

    .db-collection-link {
        min-height: 34px;
        font-size: 12px;
    }

    .db-collections-cta {
        margin-top: 24px;
    }

    .db-button {
        min-height: 44px;
        padding: 11px 17px;
        font-size: 14px;
    }

    /* Comparison Section Mobile */
    .db-compare-section {
        padding: 60px 16px;
    }
    .db-compare-label {
        font-size: 9px;
        padding: 4px 8px;
        bottom: 10px;
    }

    /* Localized Responsive Resizing (Patch specific for mobile) */
    .db-authenticity-section, 
    .db-tracking-section, 
    .db-story-section { 
        padding: 60px 0; 
    }
    .db-tracking-steps { 
        max-width: 300px; 
    }
    .db-step-icon { 
        width: 55px; 
        height: 55px; 
        font-size: 20px; 
    }
    .db-step-text { 
        font-size: 12px; 
    }
    .db-story-block { 
        padding: 35px 25px; 
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        padding: 0 10px;
        font-size: 15px;
    }

    .woocommerce ul.products li.product .price {
        padding: 0 10px;
        font-size: 13px;
    }

    .woocommerce ul.products li.product .button {
        margin-right: 10px;
        margin-left: 10px;
        padding: 10px;
        font-size: 11px;
    }
}


/* =========================================
   15. SMALL MOBILE
========================================= */

@media (max-width: 380px) {
    .db-brand-name {
        font-size: 21px;
    }

    .db-header-actions {
        gap: 9px;
    }

    .db-action-label {
        font-size: 10px;
    }

    .db-header-shop {
        padding: 0 8px;
        font-size: 11px;
    }

    .db-hero-content {
        padding-right: 17px;
        padding-left: 17px;
    }

    .db-hero-content h1 {
        font-size: 35px;
    }

    .db-hero-benefit {
        font-size: 8px;
    }

    .db-trust-bar {
        padding-right: 9px;
        padding-left: 9px;
    }

    .db-trust-item {
        gap: 6px;
        padding-right: 6px;
        padding-left: 6px;
    }

    .db-trust-item h3 {
        font-size: 12px;
    }

    .db-trust-item p {
        font-size: 9px;
    }

    .db-collections-section {
        padding-right: 12px;
        padding-left: 12px;
    }

    .db-collection-content {
        padding-right: 17px;
        padding-left: 17px;
    }
}


/* =========================================
   16. REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* ============================================================================
   ★ PREMIUM WOODMART LUXURY PATCH V5 (FINAL GALLERY & UI FIX) ★
   (Paste this at the VERY BOTTOM of your 2900+ line style.css)
============================================================================ */

/* -----------------------------------------
   1. COMPACT SHOP LAYOUT & CLEAN SIDEBAR
----------------------------------------- */
.db-shop-layout-container {
    display: grid !important;
    grid-template-columns: 240px 1fr !important;
    gap: 40px !important;
    width: min(100% - 64px, 1320px) !important;
    margin: 50px auto 100px !important;
    align-items: start !important;
}
.db-shop-sidebar-area { position: sticky !important; top: 130px !important; }

.db-shop-widget { margin-bottom: 35px !important; background: transparent !important; padding: 0 !important; border: none !important; box-shadow: none !important; }
.db-widget-title, .db-shop-widget h2 { color: var(--db-wine) !important; font-size: 14px !important; margin-bottom: 18px !important; padding-bottom: 10px !important; border-bottom: 2px solid var(--db-gold) !important; font-family: var(--db-sans) !important; font-weight: 600 !important; text-transform: uppercase !important; letter-spacing: 1px !important; }
.db-shop-widget ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.db-shop-widget ul li { margin-bottom: 12px !important; border-bottom: none !important; padding-bottom: 0 !important; display: flex !important; justify-content: space-between !important; align-items: center !important; }
.db-shop-widget ul li a { color: var(--db-muted) !important; font-size: 15px !important; transition: 0.3s ease !important; display: block !important; width: 100% !important; }
.db-shop-widget ul li a:hover { color: var(--db-wine) !important; padding-left: 5px !important; }
.db-shop-widget ul li::before { display: none !important; }
.db-shop-widget ul li .count { color: var(--db-gold) !important; font-size: 12px !important; font-weight: 600 !important; }

/* Price Slider */
.widget_price_filter .price_slider_wrapper .ui-widget-content { background: var(--db-ivory) !important; height: 4px !important; border: none !important; border-radius: 4px !important; margin: 20px 0 !important; }
.widget_price_filter .ui-slider .ui-slider-range { background: var(--db-gold) !important; height: 4px !important; }
.widget_price_filter .ui-slider .ui-slider-handle { background: var(--db-wine) !important; border: 2px solid var(--db-white) !important; width: 16px !important; height: 16px !important; border-radius: 50% !important; top: -6px !important; outline: none !important; box-shadow: 0 2px 5px rgba(0,0,0,0.15) !important; }
.widget_price_filter .price_slider_amount { display: flex !important; justify-content: space-between !important; align-items: center !important; flex-direction: row-reverse !important; }
.widget_price_filter .price_slider_amount .button { background: var(--db-wine) !important; color: var(--db-white) !important; padding: 8px 18px !important; border-radius: 3px !important; font-size: 13px !important; border: none !important; font-family: var(--db-serif) !important; transition: 0.3s !important; }
.widget_price_filter .price_slider_amount .button:hover { background: var(--db-wine-dark) !important; }
.widget_price_filter .price_label { font-size: 14px !important; color: var(--db-muted) !important; }
.widget_price_filter .price_label span { color: var(--db-wine) !important; font-weight: 600 !important; }

/* -----------------------------------------
   2. SHOP HEADER & PRODUCT CARDS
----------------------------------------- */
.woocommerce-products-header__title.page-title { color: var(--db-wine) !important; font-size: clamp(28px, 3vw, 36px) !important; margin-bottom: 10px !important; }
.woocommerce .woocommerce-result-count { float: left !important; margin: 10px 0 25px !important; color: var(--db-muted) !important; font-size: 14px !important; }
.woocommerce .woocommerce-ordering { float: right !important; margin: 0 0 25px !important; }
.woocommerce .woocommerce-ordering select { padding: 8px 30px 8px 15px !important; border: 1px solid var(--db-border) !important; border-radius: 30px !important; background-color: transparent !important; color: var(--db-dark) !important; font-size: 13.5px !important; cursor: pointer !important; appearance: none !important; background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23bd8a3d%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E") !important; background-repeat: no-repeat !important; background-position: right 12px top 50% !important; background-size: 10px auto !important; }
.woocommerce::after, .db-shop-main-area::after { content: ""; display: table; clear: both; }

.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 30px !important; clear: both !important; }
.woocommerce ul.products li.product:only-child { max-width: 300px !important; justify-self: start !important; }
.woocommerce ul.products li.product { display: flex !important; flex-direction: column !important; background: transparent !important; border: 1px solid transparent !important; border-radius: 4px !important; padding: 0 0 20px !important; transition: 0.3s ease !important; overflow: hidden !important; }
.woocommerce ul.products li.product:hover { background: var(--db-white) !important; box-shadow: 0 10px 30px rgba(55, 22, 30, 0.08) !important; border-color: var(--db-border) !important; transform: translateY(-4px) !important; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { position: relative; display: block; overflow: hidden; }
.woocommerce ul.products li.product img { width: 100% !important; aspect-ratio: 1 / 1 !important; object-fit: cover !important; margin: 0 0 15px !important; border-radius: 4px 4px 0 0 !important; }
.woocommerce ul.products li.product img.db-secondary-image { position: absolute !important; top: 0 !important; left: 0 !important; z-index: 2 !important; opacity: 0 !important; transition: opacity 0.4s ease !important; }
@media (hover: hover) { .woocommerce ul.products li.product:hover img.db-secondary-image { opacity: 1 !important; } }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 16px !important; padding: 0 15px !important; color: var(--db-dark) !important; font-family: var(--db-serif) !important; margin-bottom: 8px !important; }
.woocommerce ul.products li.product .price { font-size: 15px !important; padding: 0 15px !important; margin-bottom: 18px !important; color: var(--db-wine) !important; font-weight: 600 !important; }
.woocommerce ul.products li.product .button { margin: auto 15px 0 !important; padding: 10px 20px !important; background: transparent !important; color: var(--db-wine) !important; border: 1px solid var(--db-wine) !important; border-radius: 30px !important; font-size: 11px !important; text-transform: uppercase !important; letter-spacing: 1px !important; transition: 0.3s !important; }
.woocommerce ul.products li.product .button:hover { background: var(--db-wine) !important; color: var(--db-white) !important; }

/* -----------------------------------------
   3. SINGLE PRODUCT PAGE — CLEAN RESPONSIVE LAYOUT
   Keeps WooCommerce's native gallery and product functionality.
----------------------------------------- */

.db-single-product-container {
    width: min(calc(100% - 48px), 1320px) !important;
    max-width: 1320px !important;
    margin: 48px auto 88px !important;
}

.woocommerce div.product {
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
    gap: clamp(28px, 4vw, 64px) !important;
    align-items: start !important;
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.woocommerce div.product div.images {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    align-items: start !important;
    column-gap: 16px !important;
    row-gap: 14px !important;
}

/* WooCommerce's actual viewport is the grid item — not the inner wrapper. */
.woocommerce div.product div.images .flex-viewport {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    margin: 0 !important;
    border: 1px solid var(--db-border) !important;
    border-radius: 6px !important;
    background: var(--db-white) !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    background: var(--db-white) !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* Desktop thumbnail rail */
.woocommerce div.product div.images .flex-control-nav.flex-control-thumbs {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce div.product div.images .flex-control-nav.flex-control-thumbs li {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce div.product div.images .flex-control-nav.flex-control-thumbs li img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    margin: 0 !important;
    border: 1px solid var(--db-border) !important;
    border-radius: 5px !important;
    opacity: 0.68 !important;
    cursor: pointer !important;
    transition: opacity 180ms ease, border-color 180ms ease !important;
}

.woocommerce div.product div.images .flex-control-nav.flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-nav.flex-control-thumbs li img:hover {
    opacity: 1 !important;
    border-color: var(--db-gold) !important;
}

/* Zoom/lightbox trigger stays inside the main image area. */
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 20 !important;
}

/* Keep the sale badge anchored at the top-left of the gallery, not the title. */
.woocommerce div.product span.onsale {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    z-index: 25 !important;
    min-height: 0 !important;
    min-width: 0 !important;
    padding: 7px 12px !important;
    color: var(--db-white) !important;
    background: var(--db-wine) !important;
    border-radius: 3px !important;
    font-family: var(--db-sans) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.7px !important;
    line-height: 1.3 !important;
}

/* Product summary */
.woocommerce div.product div.summary {
    box-sizing: border-box !important;
    padding: 2px 0 0 !important;
}

.woocommerce div.product .product_title {
    margin: 0 0 14px !important;
    color: var(--db-wine) !important;
    font-family: var(--db-serif) !important;
    font-size: clamp(27px, 2.5vw, 38px) !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.35px !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

.woocommerce div.product .woocommerce-product-rating {
    margin: 0 0 14px !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    margin: 0 0 22px !important;
    color: var(--db-wine) !important;
    font-size: clamp(22px, 2vw, 28px) !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
    color: var(--db-muted) !important;
    font-size: 0.75em !important;
    opacity: 0.7 !important;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
    color: var(--db-wine) !important;
    text-decoration: none !important;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    margin: 0 0 25px !important;
    color: var(--db-muted) !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
}

.woocommerce div.product form.cart {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 0 28px !important;
}

.woocommerce div.product form.cart .quantity {
    margin: 0 !important;
}

.woocommerce div.product form.cart .quantity .qty {
    width: 72px !important;
    height: 50px !important;
    padding: 0 8px !important;
    border: 1px solid var(--db-border) !important;
    border-radius: 4px !important;
    background: var(--db-white) !important;
    color: var(--db-dark) !important;
    font-size: 16px !important;
    text-align: center !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
    min-height: 50px !important;
    padding: 0 28px !important;
    color: var(--db-white) !important;
    background: var(--db-wine) !important;
    border: 1px solid var(--db-wine) !important;
    border-radius: 4px !important;
    font-family: var(--db-serif) !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
    transition: background 180ms ease, transform 180ms ease !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    color: var(--db-white) !important;
    background: var(--db-wine-dark) !important;
    border-color: var(--db-wine-dark) !important;
    transform: translateY(-1px) !important;
}

.woocommerce div.product .product_meta {
    margin-top: 22px !important;
    padding-top: 18px !important;
    border-top: 1px solid var(--db-border) !important;
    color: var(--db-muted) !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
}

.woocommerce div.product .product_meta > span {
    display: block !important;
    margin-bottom: 5px !important;
}

.woocommerce div.product .product_meta a {
    color: var(--db-wine) !important;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product section.related,
.woocommerce div.product section.up-sells {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
    margin-top: 38px !important;
}

/* Shop archive responsive layout */
@media (max-width: 960px) {
    .db-shop-layout-container {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .db-shop-sidebar-area {
        position: relative !important;
        top: auto !important;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .db-single-product-container {
        width: min(calc(100% - 40px), 760px) !important;
        margin: 36px auto 64px !important;
    }

    .woocommerce div.product {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 32px !important;
    }

    .woocommerce div.product div.images {
        width: 100% !important;
    }

    .woocommerce div.product div.summary {
        width: 100% !important;
    }

    .woocommerce div.product .woocommerce-tabs,
    .woocommerce div.product section.related,
    .woocommerce div.product section.up-sells {
        grid-column: 1 !important;
    }

    .woocommerce div.product span.onsale {
        top: 12px !important;
        left: 12px !important;
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    .woocommerce div.product div.images {
        grid-template-columns: minmax(0, 1fr) !important;
        row-gap: 12px !important;
    }

    .woocommerce div.product div.images .flex-viewport {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .woocommerce div.product div.images .flex-control-nav.flex-control-thumbs {
        grid-column: 1 !important;
        grid-row: 2 !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .woocommerce div.product div.images .flex-control-nav.flex-control-thumbs li {
        flex: 0 0 68px !important;
        width: 68px !important;
        max-width: 68px !important;
    }

    .woocommerce div.product .product_title {
        font-size: clamp(25px, 6vw, 32px) !important;
    }

    .woocommerce div.product .woocommerce-tabs {
        margin-top: 24px !important;
    }
}

@media (max-width: 640px) {
    .db-shop-layout-container,
    .db-single-product-container {
        width: calc(100% - 28px) !important;
        margin: 26px auto 52px !important;
    }

    .woocommerce ul.products {
        gap: 14px !important;
    }

    .woocommerce ul.products li.product:only-child {
        max-width: 100% !important;
    }

    .woocommerce .woocommerce-result-count,
    .woocommerce .woocommerce-ordering {
        float: none !important;
        width: 100% !important;
        margin: 0 0 14px !important;
    }

    .woocommerce .woocommerce-ordering select {
        width: 100% !important;
    }

    .woocommerce div.product {
        gap: 25px !important;
    }

    .woocommerce div.product .product_title {
        font-size: 27px !important;
        line-height: 1.22 !important;
    }

    .woocommerce div.product p.price,
    .woocommerce div.product span.price {
        font-size: 24px !important;
    }

    .woocommerce div.product form.cart {
        gap: 10px !important;
    }

    .woocommerce div.product form.cart .single_add_to_cart_button {
        flex: 1 1 180px !important;
        padding: 0 16px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .woocommerce div.product *,
    .woocommerce ul.products li.product {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}


/* ---------------------------------------------------------
   DIVINEBHUSHAN HOTFIX — preserve WooCommerce main image
   The gallery image must retain its natural height so the
   native WooCommerce/FlexSlider gallery can calculate slides.
---------------------------------------------------------- */
.woocommerce div.product div.images .woocommerce-product-gallery,
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    min-width: 0 !important;
    max-width: 100% !important;
}

.woocommerce div.product div.images .flex-viewport {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    overflow: hidden !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    height: auto !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image a {
    display: block !important;
    height: auto !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image img,
.woocommerce div.product div.images img.wp-post-image {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
}

@media (max-width: 768px) {
    .woocommerce div.product div.images .flex-viewport {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
    }

    .woocommerce div.product div.images .woocommerce-product-gallery__image,
    .woocommerce div.product div.images .woocommerce-product-gallery__image a {
        height: auto !important;
    }

    .woocommerce div.product div.images .woocommerce-product-gallery__image img,
    .woocommerce div.product div.images img.wp-post-image {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
    }
}


/* ============================================================================
   ★ DIVINEBHUSHAN LUXURY PATCH V6 ★
   Typography, header polish, product cards, hover image fix, gallery fix.
   Append-only: keep this at the VERY BOTTOM of style.css.
============================================================================ */

/* 1. TYPOGRAPHY — editorial serif + clean sans */
:root {
    --db-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --db-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}
body { font-size: 16px; letter-spacing: 0.01em; }
h1, h2, h3, h4, h5, h6 { font-weight: 500; }
.db-hero-content h1 { font-size: clamp(46px, 5.4vw, 80px); letter-spacing: -0.5px; line-height: 1.02; }
.db-section-heading h2,
.db-story-header h2,
.db-compare-heading,
.db-authenticity-content h2,
.db-tracking-content h2 { font-size: clamp(34px, 3.6vw, 50px); letter-spacing: -0.3px; }
.db-collection-content h3 { font-size: clamp(26px, 2.4vw, 34px); }
.db-trust-item h3 { font-size: 19px; }
.db-hero-description { font-size: 18px; font-weight: 300; }

/* 2. HEADER — refined nav, SVG icons, sticky on desktop */
.db-icon { display: inline-flex; line-height: 0; }
.db-icon svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.db-header-service > span.db-icon { font-size: 0; }
.db-menu a { font-family: var(--db-sans); font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; }
.db-action-label { font-family: var(--db-sans); font-size: 12px; letter-spacing: 0.4px; }
.db-header-shop,
.db-button,
.db-compare-button { font-family: var(--db-sans); font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; }
.db-header-shop { border-radius: 0; }
.db-button, .db-compare-button { border-radius: 0; }
.db-eyebrow, .db-compare-eyebrow { letter-spacing: 3.5px; }

@media (min-width: 961px) {
    .db-header { position: sticky; top: 0; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(189,138,61,.18); }
    .admin-bar .db-header { top: 32px; }
    .db-hero-section, .db-hero-slider, .db-hero-slide, .db-hero-image img { min-height: 560px; }
}

/* 3. PRODUCT CARDS */
.woocommerce ul.products li.product { padding-bottom: 22px !important; text-align: center; background: var(--db-white) !important; border: 1px solid var(--db-border) !important; border-radius: 0 !important; }
.woocommerce ul.products li.product:hover { border-color: var(--db-gold) !important; box-shadow: 0 18px 40px rgba(55,22,30,.10) !important; }
.woocommerce ul.products li.product img { margin: 0 0 18px !important; border-radius: 0 !important; background: var(--db-ivory); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 21px !important; font-weight: 500 !important; line-height: 1.3 !important; padding: 0 18px !important; }
.woocommerce ul.products li.product .price { font-family: var(--db-sans) !important; font-weight: 500 !important; letter-spacing: .5px; }
.woocommerce ul.products li.product .button { border-radius: 0 !important; font-family: var(--db-sans) !important; letter-spacing: 1.8px !important; padding: 12px 22px !important; align-self: center; }
.woocommerce ul.products li.product .onsale { top: 12px !important; left: 12px !important; right: auto !important; z-index: 5 !important; border-radius: 0 !important; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; }

/* 4. HOVER SECOND IMAGE — reliable version */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { position: relative !important; display: block !important; }
.woocommerce ul.products li.product img.db-secondary-image {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: auto !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    object-fit: cover !important;
    opacity: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
    transition: opacity .45s ease !important;
}
@media (hover: hover) and (pointer: fine) {
    .woocommerce ul.products li.product:hover img.db-secondary-image,
    .woocommerce ul.products li.product:focus-within img.db-secondary-image { opacity: 1 !important; }
}
/* Touch screens have no hover: never show a half-faded second image */
@media (hover: none) { .woocommerce ul.products li.product img.db-secondary-image { display: none !important; } }

/* 5. SINGLE PRODUCT GALLERY — never leave it invisible / squeezed */
.woocommerce div.product div.images { opacity: 1 !important; }
/* Before FlexSlider starts, the wrapper must sit in the big column, not the 76px thumb column */
.woocommerce div.product div.images > .woocommerce-product-gallery__wrapper { grid-column: 2 !important; grid-row: 1 !important; }
@media (max-width: 768px) {
    .woocommerce div.product div.images > .woocommerce-product-gallery__wrapper { grid-column: 1 !important; }
}


/* ============================================================================
   ★ PRODUCT GALLERY V7 — custom gallery (FlexSlider removed) ★
============================================================================ */
.woocommerce div.product div.images {
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr) !important;
    column-gap: 16px !important;
    align-items: start !important;
    opacity: 1 !important;
}

/* Main image frame: all slides stacked in one square cell */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: grid !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    margin: 0 !important;
    position: relative !important;
    border: 1px solid var(--db-border) !important;
    border-radius: 6px !important;
    background: var(--db-white) !important;
    transform: none !important;
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
    grid-area: 1 / 1 !important;
    float: none !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    min-height: 0 !important;
    position: relative !important;
    opacity: 0;
    transition: opacity .35s ease;
}
/* before JS runs: show first image only */
.woocommerce div.product div.images .woocommerce-product-gallery__image:first-child { opacity: 1; }
.woocommerce div.product div.images.db-gallery-ready .woocommerce-product-gallery__image { opacity: 0; pointer-events: none; }
.woocommerce div.product div.images.db-gallery-ready .woocommerce-product-gallery__image.is-active { opacity: 1; pointer-events: auto; z-index: 2; }

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image > a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img:not(.zoomImg) {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Thumbnails */
.db-gallery-thumbs {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.db-gallery-thumbs button {
    padding: 0;
    width: 100%;
    background: var(--db-white);
    border: 1px solid var(--db-border);
    border-radius: 5px;
    overflow: hidden;
    opacity: .65;
    cursor: pointer;
    transition: opacity .2s ease, border-color .2s ease;
}
.db-gallery-thumbs button img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.db-gallery-thumbs button:hover,
.db-gallery-thumbs button.is-active { opacity: 1; border-color: var(--db-gold); }

/* Sale badge sits on the main image, not on the thumbnail */
.woocommerce div.product span.onsale { left: 104px !important; top: 12px !important; }

@media (max-width: 768px) {
    .woocommerce div.product div.images { grid-template-columns: minmax(0, 1fr) !important; row-gap: 12px !important; }
    .woocommerce div.product div.images .woocommerce-product-gallery__wrapper { grid-column: 1 !important; }
    .db-gallery-thumbs { grid-column: 1 !important; grid-row: 2 !important; flex-direction: row; flex-wrap: wrap; }
    .db-gallery-thumbs button { width: 68px; }
    .woocommerce div.product span.onsale { left: 12px !important; }
}


/* ============================================================================
   ★ CART PAGE — LUXURY STYLING V8 (classic [woocommerce_cart]) ★
   Only affects body.woocommerce-cart. Safe to delete this whole block to undo.
============================================================================ */

/* Page title */
body.woocommerce-cart .db-page-title { font-family: var(--db-serif); font-weight: 500; text-align: left; margin: 0 0 8px; }
body.woocommerce-cart .db-page-title::after { content: ""; display: block; width: 64px; height: 2px; margin-top: 14px; background: var(--db-gold); }
body.woocommerce-cart .db-page-container { margin-top: 56px; }

/* Two-column layout: items left, totals right */
body.woocommerce-cart .db-page-content > .woocommerce {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    column-gap: 40px;
    align-items: start;
}
body.woocommerce-cart .db-page-content > .woocommerce > * { grid-column: 1 / -1; }
body.woocommerce-cart .db-page-content > .woocommerce > .woocommerce-cart-form { grid-column: 1; grid-row: 2; }
body.woocommerce-cart .db-page-content > .woocommerce > .cart-collaterals { grid-column: 2; grid-row: 2; position: sticky; top: 130px; }

/* Items table */
body.woocommerce-cart table.shop_table.cart {
    width: 100%;
    background: var(--db-white);
    border: 1px solid var(--db-border) !important;
    border-radius: 4px !important;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    margin: 0 0 24px !important;
}
body.woocommerce-cart table.shop_table.cart thead th {
    font-family: var(--db-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--db-muted);
    background: var(--db-cream);
    padding: 18px 16px;
    border-bottom: 1px solid var(--db-border);
}
body.woocommerce-cart table.shop_table.cart td { padding: 24px 16px; vertical-align: middle; border-top: 1px solid var(--db-border); }
body.woocommerce-cart table.shop_table.cart tbody tr.cart_item:first-child td { border-top: 0; }

/* Thumbnail + name */
body.woocommerce-cart table.cart td.product-thumbnail { width: 110px; }
body.woocommerce-cart table.cart td.product-thumbnail img { width: 88px !important; height: 88px !important; object-fit: cover; border: 1px solid var(--db-border); border-radius: 3px; display: block; }
body.woocommerce-cart table.cart td.product-name a { font-family: var(--db-serif); font-size: 22px; line-height: 1.3; font-weight: 500; color: var(--db-wine); text-decoration: none; }
body.woocommerce-cart table.cart td.product-name a:hover { color: var(--db-gold); }
body.woocommerce-cart table.cart td.product-price,
body.woocommerce-cart table.cart td.product-subtotal { font-family: var(--db-sans); font-weight: 500; color: var(--db-dark); }
body.woocommerce-cart table.cart td.product-subtotal { color: var(--db-wine); }

/* Remove (x) button */
body.woocommerce-cart table.cart a.remove {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border: 1px solid var(--db-border);
    border-radius: 50%;
    color: var(--db-muted) !important;
    background: transparent !important;
    font-size: 18px; line-height: 1; font-weight: 400;
    transition: all .2s ease;
}
body.woocommerce-cart table.cart a.remove:hover { color: var(--db-white) !important; background: var(--db-wine) !important; border-color: var(--db-wine); }

/* Quantity box */
body.woocommerce-cart table.cart .quantity .qty {
    width: 76px; height: 48px;
    text-align: center;
    border: 1px solid var(--db-border);
    border-radius: 3px;
    background: var(--db-white);
    font-family: var(--db-sans); font-size: 16px;
}
body.woocommerce-cart table.cart .quantity .qty:focus { outline: none; border-color: var(--db-gold); box-shadow: 0 0 0 3px rgba(189,138,61,.18); }

/* Actions row (coupon + update cart) */
body.woocommerce-cart table.cart td.actions { background: var(--db-cream); padding: 18px 16px; text-align: right; }
body.woocommerce-cart table.cart td.actions .coupon { float: left; display: flex; gap: 10px; }
body.woocommerce-cart table.cart td.actions .coupon .input-text { height: 46px; border: 1px solid var(--db-border); border-radius: 3px; padding: 0 14px; min-width: 180px; }
body.woocommerce-cart table.cart td.actions button.button {
    background: transparent !important;
    color: var(--db-wine) !important;
    border: 1px solid var(--db-wine) !important;
    border-radius: 0 !important;
    font-family: var(--db-sans); font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase;
    padding: 14px 26px !important;
}
body.woocommerce-cart table.cart td.actions button.button:hover:not(:disabled) { background: var(--db-wine) !important; color: var(--db-white) !important; }
body.woocommerce-cart table.cart td.actions button.button:disabled { opacity: .45; cursor: not-allowed; }

/* Totals card */
body.woocommerce-cart .cart-collaterals { width: 100% !important; float: none !important; }
body.woocommerce-cart .cart-collaterals .cart_totals { width: 100% !important; float: none !important; background: var(--db-white); border: 1px solid var(--db-border); border-radius: 4px; padding: 28px; }
body.woocommerce-cart .cart_totals h2 { font-family: var(--db-serif); font-size: 28px; font-weight: 500; color: var(--db-dark); margin: 0 0 18px; }
body.woocommerce-cart .cart_totals table.shop_table { border: 0 !important; margin: 0 0 20px !important; background: transparent; }
body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td { padding: 14px 0; border-top: 1px solid var(--db-border); font-size: 15px; background: transparent; }
body.woocommerce-cart .cart_totals table.shop_table th { font-weight: 500; color: var(--db-muted); }
body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td { font-size: 20px; color: var(--db-wine); }
body.woocommerce-cart .cart_totals .order-total td { font-weight: 600; }

/* Checkout button */
body.woocommerce-cart .wc-proceed-to-checkout { padding: 0; }
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: block;
    margin: 0;
    background: var(--db-wine) !important;
    color: var(--db-white) !important;
    border-radius: 0 !important;
    font-family: var(--db-sans);
    font-size: 13px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
    padding: 20px 24px !important;
    text-align: center;
    transition: background .25s ease;
}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { background: var(--db-wine-dark) !important; }

/* Notices + empty cart */
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error { border-radius: 3px; margin-bottom: 24px; }
body.woocommerce-cart .cart-empty { text-align: center; padding: 48px 24px; font-family: var(--db-serif); font-size: 24px; }
body.woocommerce-cart .return-to-shop { text-align: center; }
body.woocommerce-cart .return-to-shop a.button {
    background: var(--db-wine) !important; color: var(--db-white) !important; border-radius: 0 !important;
    font-family: var(--db-sans); letter-spacing: 1.8px; text-transform: uppercase; font-size: 12px; padding: 16px 30px !important;
}

/* Tablet + mobile */
@media (max-width: 991px) {
    body.woocommerce-cart .db-page-content > .woocommerce { grid-template-columns: minmax(0, 1fr); }
    body.woocommerce-cart .db-page-content > .woocommerce > .woocommerce-cart-form,
    body.woocommerce-cart .db-page-content > .woocommerce > .cart-collaterals { grid-column: 1; grid-row: auto; position: static; }
}
@media (max-width: 768px) {
    body.woocommerce-cart .db-page-container { margin-top: 32px; }
    body.woocommerce-cart table.shop_table.cart tr.cart_item { display: block; padding: 18px 8px; border-top: 1px solid var(--db-border); }
    body.woocommerce-cart table.shop_table.cart tr.cart_item:first-child { border-top: 0; }
    body.woocommerce-cart table.shop_table.cart td { border-top: 0; padding: 10px 12px; }
    body.woocommerce-cart table.cart td.product-thumbnail { display: block !important; width: auto; text-align: center !important; }
    body.woocommerce-cart table.cart td.product-thumbnail::before { display: none !important; }
    body.woocommerce-cart table.cart td.product-thumbnail img { margin: 0 auto; width: 120px !important; height: 120px !important; }
    body.woocommerce-cart table.cart td.product-name a { font-size: 20px; }
    body.woocommerce-cart table.cart td.actions .coupon { float: none; flex-direction: column; margin-bottom: 12px; }
    body.woocommerce-cart table.cart td.actions button.button { width: 100%; }
    body.woocommerce-cart .cart-collaterals .cart_totals { padding: 22px; }
}


/* ============================================================================
   ★ MOBILE + RESPONSIVE FIX V9 ★
   Fixes: sideways scrolling, header overflow, hero text over image,
   squeezed product cards, oversized fonts introduced by the V6 patch.
   Keep this block at the VERY BOTTOM of style.css.
============================================================================ */

/* A. Safety net: the page must never scroll sideways */
html, body { max-width: 100%; overflow-x: clip; }
img, video, svg, iframe { max-width: 100%; }

/* B. Product cards: WooCommerce's own % widths were squeezing cards inside the grid */
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product,
.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
}

/* C. Tablet: header can wrap instead of overflowing */
@media (max-width: 960px) {
    .db-header-actions { flex-wrap: wrap; justify-content: flex-end; }
    .db-hero-content h1 { font-size: clamp(38px, 6vw, 56px); }
}

/* D. Phones */
@media (max-width: 640px) {

    /* --- Header: icons in one tidy row, no overflow --- */
    .db-header-inner { width: calc(100% - 24px); }
    .db-header-actions {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        width: 100%;
        gap: 4px;
        justify-content: stretch;
        padding-top: 8px;
    }
    .db-header-shop { display: none; }              /* "Shop All" is already in the menu */
    .db-header-service {
        flex-direction: column;
        gap: 3px;
        min-height: 0;
        padding: 6px 0;
        position: relative;
    }
    .db-action-label { font-size: 11px; letter-spacing: 0; line-height: 1.2; white-space: nowrap; }
    .db-cart-count { position: absolute; top: 0; left: calc(50% + 6px); min-width: 16px; height: 16px; font-size: 9px; }

    /* --- Menu: wraps neatly and centred, no clipped items --- */
    .db-navigation { overflow: visible; }
    .db-menu { width: 100%; flex-wrap: wrap; justify-content: center; gap: 2px 16px; padding: 0; }
    .db-menu a { min-height: 34px; font-size: 11px; letter-spacing: 1.2px; }

    /* --- Hero: image on top, text underneath (no overlap) --- */
    .db-hero-slide { display: block; padding-top: 280px; background: #f4e9da; }
    .db-hero-image { height: 280px; bottom: auto; }
    .db-hero-image img { height: 280px; min-height: 280px; }
    .db-hero-overlay {
        inset: 0 0 auto 0;
        height: 280px;
        background: linear-gradient(180deg, rgba(244,233,218,0) 55%, #f4e9da 100%);
    }
    .db-hero-content { padding: 18px 20px 30px; }
    .db-hero-content h1 { font-size: clamp(34px, 9.5vw, 44px); letter-spacing: -0.5px; line-height: 1.05; }
    .db-hero-description { font-size: 15px; line-height: 1.6; }
    .db-hero-content .db-eyebrow { font-size: 10px; letter-spacing: 2.5px; }
    .db-hero-benefits { margin-top: 22px; }
    .db-hero-benefit { font-size: 10px; }

    /* --- Headings: undo the oversized desktop sizes --- */
    .db-section-heading h2,
    .db-story-header h2,
    .db-compare-heading,
    .db-authenticity-content h2,
    .db-tracking-content h2 { font-size: 30px; }
    .db-collection-content h3 { font-size: 26px; }
    .db-trust-item h3 { font-size: 15px; }
    .db-trust-item p { font-size: 11px; }
    .db-button, .db-compare-button { font-size: 12px; letter-spacing: 1.4px; }

    /* --- Product cards --- */
    .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
    .woocommerce ul.products li.product { padding-bottom: 14px !important; }
    .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 16px !important; padding: 0 10px !important; line-height: 1.25 !important; }
    .woocommerce ul.products li.product .price { font-size: 14px !important; padding: 0 10px !important; margin-bottom: 12px !important; }
    .woocommerce ul.products li.product .button {
        margin: auto 10px 0 !important;
        padding: 10px 6px !important;
        font-size: 10px !important;
        letter-spacing: 1px !important;
        white-space: nowrap;
    }
    .woocommerce ul.products li.product .onsale { top: 8px !important; left: 8px !important; font-size: 9px; padding: 5px 8px; }

    /* --- Inner pages (About, policies, checkout, account) --- */
    .db-page-container { width: calc(100% - 28px) !important; margin: 32px auto 56px !important; }
    .db-page-title { font-size: 30px !important; }
    .woocommerce table.shop_table { font-size: 14px; }
    .woocommerce form .form-row-first,
    .woocommerce form .form-row-last { width: 100% !important; float: none !important; }
}

/* E. Very small phones */
@media (max-width: 360px) {
    .db-action-label { font-size: 10px; }
    .db-menu { gap: 2px 12px; }
    .db-menu a { letter-spacing: 0.8px; }
    .woocommerce ul.products { gap: 8px !important; }
}


/* ============================================================================
   ★ APP-LIKE UX V10 ★
   Drawer menu, auto-hide header (mobile), back-to-top (all screens),
   sticky checkout bar + compact cart rows (mobile).
   Keep this block at the VERY BOTTOM of style.css.
============================================================================ */

/* ---------- Desktop defaults: mobile-only parts are hidden ---------- */
.db-menu-toggle,
.db-drawer-head,
.db-drawer-extra,
.db-drawer-overlay,
.db-sticky-checkout { display: none; }

/* ---------- Back to top (mobile + desktop) ---------- */
.db-back-to-top {
    position: fixed;
    right: 20px;
    bottom: 28px;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: var(--db-gold-light);
    background: var(--db-wine);
    border: 1px solid var(--db-gold);
    border-radius: 50%;
    box-shadow: 0 10px 28px rgba(55, 22, 30, .28);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background .2s ease;
}
.db-back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.db-back-to-top:hover { background: var(--db-wine-dark); }
.db-back-to-top svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html.db-menu-lock { overflow: hidden; }
html.db-menu-lock .db-back-to-top { display: none; }

/* ---------- Phones + small tablets: app-style header ---------- */
@media (max-width: 768px) {

    html { scroll-padding-top: 110px; }

    /* Top bar: [menu] [logo]  +  row of Verify / Track Order / Account / Cart underneath */
    .db-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        box-shadow: 0 1px 0 rgba(189, 138, 61, .22);
        transition: transform .3s ease;
    }
    .db-header.is-hidden { transform: translateY(-110%); }

    .db-header-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0 6px;
        width: calc(100% - 24px);
        min-height: 0;
        padding: 4px 0 0;
    }

    .db-menu-toggle {
        order: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        padding: 0;
        color: var(--db-wine);
        background: transparent;
        border: 0;
        cursor: pointer;
    }
    .db-burger { display: flex; flex-direction: column; gap: 5px; width: 22px; }
    .db-burger span { display: block; height: 2px; background: currentColor; border-radius: 2px; }

    .db-brand { order: 2; flex: 1 1 auto; justify-content: center; min-width: 0; padding-right: 44px; }
    .db-brand-name { font-size: 24px; letter-spacing: 1.6px; }
    .db-brand img.custom-logo { max-height: 40px; max-width: 60vw; }

    .db-header-actions {
        order: 3;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        flex: 1 1 100%;
        width: 100%;
        gap: 4px;
        padding: 4px 0 6px;
        border-top: 1px solid var(--db-border);
        justify-content: stretch;
    }
    .db-header-shop { display: none; }
    .db-header-service { flex-direction: column; gap: 3px; min-height: 0; padding: 6px 0; position: relative; }
    .db-header-service .db-icon svg { width: 20px; height: 20px; }
    .db-action-label { font-size: 11px; letter-spacing: 0; line-height: 1.2; white-space: nowrap; }
    .db-cart-count { position: absolute; top: 0; left: calc(50% + 6px); right: auto; min-width: 16px; height: 16px; font-size: 9px; }

    /* Slide-in drawer */
    .db-navigation {
        position: fixed;
        top: 0; left: 0; bottom: 0;
        z-index: 1002;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        width: min(86vw, 340px);
        padding: 0;
        overflow-x: hidden;
        overflow-y: auto;
        background: var(--db-cream);
        border: 0;
        transform: translateX(-102%);
        visibility: hidden;
        transition: transform .32s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .32s;
    }
    .db-header.is-menu-open .db-navigation {
        transform: none;
        visibility: visible;
        box-shadow: 14px 0 44px rgba(0, 0, 0, .28);
        transition: transform .32s cubic-bezier(.2, .8, .2, 1), visibility 0s;
    }

    .db-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 12px 14px 22px;
        color: var(--db-gold-light);
        background: var(--db-wine-dark);
    }
    .db-drawer-title { font-family: var(--db-serif); font-size: 22px; letter-spacing: 2.5px; }
    .db-menu-close { width: 44px; height: 44px; font-size: 32px; line-height: 1; color: inherit; background: none; border: 0; cursor: pointer; }

    .db-menu { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: 0; width: 100%; padding: 6px 0; }
    .db-menu li { border-bottom: 1px solid var(--db-border); }
    .db-menu a { display: flex; width: 100%; min-height: 58px; padding: 0 24px; font-family: var(--db-serif); font-size: 23px; letter-spacing: .4px; text-transform: none; white-space: normal; }
    .db-menu a::after { display: none; }
    .db-menu .sub-menu { margin: 0; padding: 0 0 8px 18px; list-style: none; }
    .db-menu .sub-menu a { min-height: 44px; font-size: 18px; }

    .db-drawer-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 999;
        background: rgba(33, 26, 25, .55);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease, visibility .3s ease;
    }
    .db-header.is-menu-open ~ .db-drawer-overlay { opacity: 1; visibility: visible; }

    /* ---------- Cart page: compact rows + sticky checkout bar ---------- */
    body.woocommerce-cart { padding-bottom: 96px; }

    body.woocommerce-cart table.shop_table.cart thead { display: none; }
    body.woocommerce-cart table.shop_table.cart tr.cart_item {
        display: grid !important;
        grid-template-columns: 84px minmax(0, 1fr) 36px;
        grid-template-areas:
            "thumb name  remove"
            "thumb price price"
            "thumb qty   sub";
        column-gap: 14px;
        row-gap: 6px;
        align-items: center;
        padding: 16px 14px !important;
    }
    body.woocommerce-cart table.shop_table.cart tr.cart_item td { display: block !important; padding: 0 !important; border: 0 !important; text-align: left !important; }
    body.woocommerce-cart table.shop_table.cart tr.cart_item td::before { display: none !important; }

    body.woocommerce-cart table.cart td.product-thumbnail { grid-area: thumb; width: auto; }
    body.woocommerce-cart table.cart td.product-thumbnail img { width: 84px !important; height: 84px !important; margin: 0; }
    body.woocommerce-cart table.cart td.product-name { grid-area: name; }
    body.woocommerce-cart table.cart td.product-name a { font-size: 18px; line-height: 1.25; }
    body.woocommerce-cart table.cart td.product-remove { grid-area: remove; justify-self: end; align-self: start; }
    body.woocommerce-cart table.cart td.product-price { grid-area: price; font-size: 14px; color: var(--db-muted); }
    body.woocommerce-cart table.cart td.product-quantity { grid-area: qty; }
    body.woocommerce-cart table.cart td.product-subtotal { grid-area: sub; justify-self: end; font-size: 17px; text-align: right !important; }
    body.woocommerce-cart table.cart .quantity .qty { width: 68px; height: 42px; }

    /* Quantity auto-updates, so the extra button is not needed on phones */
    body.db-auto-cart table.cart td.actions button[name="update_cart"] { display: none; }
    body.db-auto-cart table.cart td.actions { padding: 0 !important; background: transparent; }
    body.db-auto-cart table.cart td.actions .coupon { margin: 0; padding: 14px; }

    .db-sticky-checkout {
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 998;
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 253, 249, .98);
        border-top: 1px solid var(--db-gold-light);
        box-shadow: 0 -12px 32px rgba(55, 22, 30, .14);
        transform: translateY(115%);
        transition: transform .3s ease;
    }
    .db-sticky-checkout.is-on:not(.is-hidden) { transform: none; }
    .db-sticky-total { display: flex; flex-direction: column; line-height: 1.15; }
    .db-sticky-total span { font-family: var(--db-sans); font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--db-muted); }
    .db-sticky-total strong { font-family: var(--db-serif); font-size: 25px; font-weight: 600; color: var(--db-wine); }
    .db-sticky-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 52px;
        color: var(--db-white);
        background: var(--db-wine);
        font-family: var(--db-sans);
        font-size: 13px;
        font-weight: 500;
        letter-spacing: 1.8px;
        text-transform: uppercase;
        text-decoration: none;
    }
    .db-sticky-btn:active { background: var(--db-wine-dark); }
    body.woocommerce-cart .db-back-to-top { bottom: 100px; }

    .db-back-to-top { right: 14px; bottom: 20px; width: 42px; height: 42px; }
}