/* =========================================================
DG24 FRONTEND
Global Design System
International / RTL / Mobile First
Clean / Soft Premium / Chalk Accent
========================================================= */

/* =========================================================
01. Design Tokens
========================================================= */

:root {

    --dg-primary: #800020;
    --dg-primary-dark: #650019;
    --dg-primary-deep: #4f0014;

    --dg-primary-soft: #f8edf0;
    --dg-primary-soft-2: #fcf5f7;

    --dg-chalk: rgba(255,255,255,.78);
    --dg-chalk-soft: rgba(255,255,255,.46);

    --dg-bg: #fffafc;
    --dg-bg-rose: #faf1f4;
    --dg-bg-blue: #eef7fb;

    --dg-section-warm: rgba(255,250,252,.92);
    --dg-section-neutral: rgba(255,255,255,.90);
    --dg-section-cool: rgba(242,248,251,.92);

    --dg-surface: #ffffff;
    --dg-surface-2: #f3f6f8;
    --dg-surface-3: #fafbfc;

    --dg-text: #17324d;
    --dg-text-2: #334b60;
    --dg-text-3: #53697b;
    --dg-muted: #718391;

    --dg-border: #dfe8ed;
    --dg-border-light: rgba(23,50,77,.075);
    --dg-border-soft: rgba(23,50,77,.055);

    --dg-success: #168548;
    --dg-success-soft: #edf8f2;

    --dg-danger: #c62828;
    --dg-danger-soft: #fff1f1;

    --dg-warning: #a86b00;
    --dg-warning-soft: #fff8e8;

    --dg-info: #1769aa;
    --dg-info-soft: #eef6fd;

    --dg-radius-xs: 7px;
    --dg-radius-sm: 11px;
    --dg-radius-md: 15px;
    --dg-radius-lg: 20px;
    --dg-radius-xl: 28px;

    --dg-shadow-sm:
        0 3px 12px rgba(23, 50, 77, .045);

    --dg-shadow-md:
        0 10px 30px rgba(23, 50, 77, .065);

    --dg-shadow-lg:
        0 18px 50px rgba(23, 50, 77, .095);

    --dg-shadow-primary:
        0 10px 28px rgba(128, 0, 32, .16);

    --dg-container: 1440px;

    --dg-space-1: 4px;
    --dg-space-2: 8px;
    --dg-space-3: 12px;
    --dg-space-4: 16px;
    --dg-space-5: 20px;
    --dg-space-6: 24px;
    --dg-space-7: 32px;
    --dg-space-8: 40px;
    --dg-space-9: 48px;
    --dg-space-10: 64px;

    --dg-transition: 180ms ease;
    --dg-transition-slow: 280ms ease;
}

/* =========================================================
02. Reset / Typography
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;

    background: var(--dg-bg-blue);
}

body {
    margin: 0;
    min-height: 100vh;

    color: var(--dg-text);

    font-family:
        "Segoe UI",
        Tahoma,
        Arial,
        sans-serif;

    font-size: 14px;
    line-height: 1.85;

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    background:
        linear-gradient(
            180deg,
            #800020 0%,
            #800020 2.5%,
            #91334d 5%,
            #d7a2af 8%,
            #f3dfe4 12%,
            #fbf3f5 18%,
            #fffafc 29%,
            #fffafc 53%,
            #f9fbfc 68%,
            #f2f8fb 84%,
            #eef7fb 100%
        );

    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

/* =========================================================
03. Accessibility
========================================================= */

:focus-visible {
    outline: 3px solid rgba(128, 0, 32, .22);
    outline-offset: 3px;
}

::selection {
    background: var(--dg-primary);
    color: #fff;
}

/* =========================================================
04. Containers / Sections
========================================================= */

.container,
.container-fluid {
    width: 100%;
    max-width: var(--dg-container);

    margin-right: auto;
    margin-left: auto;

    padding-right: 16px;
    padding-left: 16px;
}

.dg-section {
    position: relative;

    padding-top: 34px;
    padding-bottom: 34px;
}

/* =========================================================
05. Global Header
========================================================= */

.site-header {
    position: relative;
    z-index: 100;

    color: #fff;

    background:
        linear-gradient(
            180deg,
            #800020 0%,
            #800020 72%,
            #8d304a 84%,
            #b76078 94%,
            #dca8b5 100%
        );
}

.top-bar {
    background:
        linear-gradient(
            90deg,
            var(--dg-primary-deep),
            var(--dg-primary)
        );

    color: #fff;

    font-size: 11px;
}

.top-bar-content {
    min-height: 34px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: var(--dg-space-4);
}

.main-header {
    background: rgba(255, 255, 255, .97);

    border-bottom: 1px solid var(--dg-border-soft);

    backdrop-filter: blur(12px);
}

.header-row,
.header-main-content {
    min-height: 72px;

    display: flex;
    align-items: center;

    gap: var(--dg-space-3);
}

/* =========================================================
06. Logo
========================================================= */

.site-logo {
    flex: 0 0 auto;

    display: flex;
    flex-direction: column;

    line-height: 1;
}

.logo-main {
    color: var(--dg-primary);

    font-size: 28px;
    font-weight: 900;

    letter-spacing: -1.2px;
}

.logo-sub {
    margin-top: 6px;

    color: var(--dg-text-3);

    font-size: 9px;
    font-weight: 500;
}

/* =========================================================
07. Header Search
========================================================= */

.header-search {
    position: relative;

    flex: 1;
    min-width: 0;
}

.search-box {
    min-height: 48px;

    display: flex;
    align-items: center;

    background: rgba(243, 246, 248, .96);

    border: 1px solid transparent;
    border-radius: var(--dg-radius-md);

    overflow: hidden;

    transition:
        background var(--dg-transition),
        border-color var(--dg-transition),
        box-shadow var(--dg-transition);
}

.search-box:hover {
    background: #eef2f4;
}

.search-box:focus-within {
    background: #fff;

    border-color: rgba(128, 0, 32, .42);

    box-shadow:
        0 0 0 4px rgba(128, 0, 32, .065);
}

.search-icon {
    flex: 0 0 auto;

    padding-right: 14px;

    color: var(--dg-text-3);

    font-size: 18px;
}

.search-box input {
    flex: 1;
    min-width: 0;

    height: 48px;

    padding: 0 10px;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--dg-text);

    font-size: 14px;
}

.search-box input::placeholder {
    color: #718391;
}

.search-submit,
.search-button {
    flex: 0 0 auto;

    min-height: 48px;

    padding: 0 19px;

    border: 0;

    background:
        linear-gradient(
            135deg,
            var(--dg-primary-deep),
            var(--dg-primary)
        );

    color: #fff;

    font-weight: 700;

    transition:
        background var(--dg-transition),
        transform var(--dg-transition),
        box-shadow var(--dg-transition);
}

.search-submit:hover,
.search-button:hover {
    background: var(--dg-primary-dark);

    box-shadow:
        0 5px 15px rgba(128,0,32,.13);
}

.search-submit:active,
.search-button:active {
    transform: scale(.98);
}

/* =========================================================
08. Search Suggestions
========================================================= */

.search-suggestions {
    position: absolute;

    top: calc(100% + 8px);
    right: 0;
    left: 0;

    z-index: 1000;

    display: none;

    max-height: 520px;
    overflow-y: auto;

    background: #fff;

    border: 1px solid var(--dg-border-soft);

    border-radius: var(--dg-radius-md);

    box-shadow: var(--dg-shadow-lg);
}

.search-suggestions.active {
    display: block;
}

.search-suggestion-item {
    display: flex;
    align-items: center;

    gap: var(--dg-space-3);

    padding: 12px 14px;

    border-bottom: 1px solid var(--dg-border-soft);

    background: #fff;

    transition:
        background var(--dg-transition);
}

.search-suggestion-item:last-child {
    border-bottom: 0;
}

.search-suggestion-item:hover {
    background: var(--dg-primary-soft-2);
}

.search-suggestion-image {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: var(--dg-radius-sm);

    background: var(--dg-surface-2);
}

.search-suggestion-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.search-suggestion-info {
    flex: 1;
    min-width: 0;
}

.search-suggestion-info strong {
    display: block;

    overflow: hidden;

    color: var(--dg-text);

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.search-suggestion-meta {
    margin-top: 3px;

    overflow: hidden;

    color: var(--dg-text-3);

    font-size: 11px;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.search-suggestion-price {
    flex: 0 0 auto;

    color: var(--dg-primary);

    font-size: 12px;
    font-weight: 800;

    white-space: nowrap;
}

.search-suggestion-loading {
    padding: 18px;

    color: var(--dg-text-3);

    text-align: center;

    font-size: 13px;
}

/* =========================================================
09. Header Actions
========================================================= */

.header-actions {
    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 4px;
}

.header-action {
    position: relative;

    min-width: 48px;
    min-height: 44px;

    padding: 6px 8px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: var(--dg-radius-sm);

    background: transparent;

    color: var(--dg-text-2);

    transition:
        background var(--dg-transition),
        color var(--dg-transition);
}

.header-action:hover {
    background: var(--dg-primary-soft);
    color: var(--dg-primary);
}

.action-icon {
    line-height: 1;
    font-size: 20px;
}

.action-label,
.action-text {
    margin-top: 4px;

    color: inherit;

    font-size: 11px;
    font-weight: 500;

    white-space: nowrap;
}

.cart-count {
    position: absolute;

    top: 0;
    left: 4px;

    min-width: 18px;
    height: 18px;

    padding: 0 4px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--dg-primary);
    color: #fff;

    font-size: 9px;
    font-weight: 800;
}

/* =========================================================
10. Mobile Menu
========================================================= */

.mobile-menu-btn,
.mobile-menu-toggle {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: none;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--dg-border);

    border-radius: var(--dg-radius-sm);

    background: #fff;
    color: var(--dg-text);

    font-size: 20px;

    transition:
        border-color var(--dg-transition),
        background var(--dg-transition),
        color var(--dg-transition);
}

.mobile-menu-btn:hover,
.mobile-menu-toggle:hover {
    border-color: rgba(128, 0, 32, .25);

    background: var(--dg-primary-soft);

    color: var(--dg-primary);
}

.mobile-menu {
    background: #fff;
}

/* =========================================================
11. Navigation
========================================================= */

.main-nav,
.main-navigation {
    background: rgba(255, 255, 255, .96);

    border-bottom: 1px solid var(--dg-border-soft);
}

.nav-row,
.navigation-content {
    min-height: 48px;

    display: flex;
    align-items: center;

    gap: 5px;

    overflow-x: auto;

    scrollbar-width: none;
}

.nav-row::-webkit-scrollbar,
.navigation-content::-webkit-scrollbar {
    display: none;
}

.nav-link,
.navigation-content a {
    flex: 0 0 auto;

    padding: 8px 14px;

    border-radius: var(--dg-radius-sm);

    color: var(--dg-text-2);

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        background var(--dg-transition),
        color var(--dg-transition);
}

.nav-link:hover,
.nav-link.active,
.navigation-content a:hover,
.navigation-content a.active {
    background: var(--dg-primary-soft);

    color: var(--dg-primary);
}

/* =========================================================
12. Main Content
========================================================= */

#frontend-content {
    min-height: 500px;
}

.page-content {
    width: 100%;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: var(--dg-space-4);

    margin-bottom: 22px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;

    margin-bottom: 7px;

    color: var(--dg-primary);

    font-size: 11px;
    font-weight: 800;
}

.section-title {
    position: relative;

    display: inline-block;

    margin: 0;
    padding-bottom: 7px;

    color: var(--dg-text);

    font-size: 23px;
    font-weight: 850;

    line-height: 1.45;

    letter-spacing: -.35px;
}

.section-title::after {
    content: "";

    position: absolute;

    right: 2px;
    bottom: 0;

    width: 54px;
    height: 4px;

    opacity: .62;

    background:
        linear-gradient(
            175deg,
            transparent 0%,
            rgba(128,0,32,.18) 12%,
            rgba(128,0,32,.42) 32%,
            rgba(128,0,32,.25) 58%,
            rgba(128,0,32,.38) 78%,
            transparent 100%
        );

    border-radius: 50%;

    filter: blur(.15px);

    transform:
        rotate(-1deg)
        skewX(-5deg);
}

.section-description {
    max-width: 720px;

    margin: 7px 0 0;

    color: var(--dg-text-3);

    font-size: 13px;
    line-height: 1.9;
}

.section-link {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;

    min-height: 40px;

    padding: 0 12px;

    border-radius: var(--dg-radius-sm);

    color: var(--dg-primary);

    font-size: 13px;
    font-weight: 800;

    transition:
        background var(--dg-transition),
        color var(--dg-transition);
}

.section-link:hover {
    background: var(--dg-primary-soft);
}

/* =========================================================
13. Surfaces / Cards
========================================================= */

.dg-card {
    background: #fff;

    border: 1px solid var(--dg-border-soft);

    border-radius: var(--dg-radius-lg);

    box-shadow: var(--dg-shadow-sm);
}

.dg-card-interactive {
    transition:
        transform var(--dg-transition-slow),
        box-shadow var(--dg-transition-slow),
        border-color var(--dg-transition);
}

.dg-card-interactive:hover {
    transform: translateY(-3px);

    border-color: rgba(128,0,32,.12);

    box-shadow: var(--dg-shadow-md);
}

/* =========================================================
14. Buttons
========================================================= */

.dg-btn {
    min-height: 44px;

    padding: 9px 19px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    border: 1px solid transparent;

    border-radius: var(--dg-radius-sm);

    font-size: 13px;
    font-weight: 750;

    line-height: 1.3;

    transition:
        background var(--dg-transition),
        color var(--dg-transition),
        border-color var(--dg-transition),
        box-shadow var(--dg-transition),
        transform var(--dg-transition);
}

.dg-btn:active {
    transform: translateY(1px);
}

.dg-btn-primary {
    background:
        linear-gradient(
            135deg,
            var(--dg-primary-deep),
            var(--dg-primary)
        );

    color: #fff;

    box-shadow:
        0 6px 18px rgba(128, 0, 32, .14);
}

.dg-btn-primary:hover {
    background:
        linear-gradient(
            135deg,
            var(--dg-primary-dark),
            var(--dg-primary-deep)
        );

    box-shadow: var(--dg-shadow-primary);
}

.dg-btn-secondary {
    background: var(--dg-primary-soft);
    color: var(--dg-primary);
}

.dg-btn-secondary:hover {
    background: #f1e1e5;
}

.dg-btn-outline {
    background: #fff;

    border-color: var(--dg-border);

    color: var(--dg-text-2);
}

.dg-btn-outline:hover {
    border-color: rgba(128,0,32,.28);

    color: var(--dg-primary);

    background: var(--dg-primary-soft-2);
}

.dg-btn-block {
    width: 100%;
}

/* =========================================================
15. Home — Shopping Entry
========================================================= */

.home-search-section {
    position: relative;

    padding-top: 42px;
    padding-bottom: 36px;

    background:
        linear-gradient(
            180deg,
            rgba(255,250,252,.72),
            rgba(255,250,252,.90)
        );
}

.home-search-intro {
    max-width: 900px;

    margin-bottom: 22px;
}

.home-search-title {
    max-width: 820px;

    margin: 0;

    color: var(--dg-text);

    font-size: clamp(25px, 3vw, 38px);
    font-weight: 900;

    line-height: 1.45;

    letter-spacing: -.7px;
}

.home-search-description {
    max-width: 720px;

    margin: 10px 0 0;

    color: var(--dg-text-3);

    font-size: 14px;
    line-height: 2;
}

.home-search-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr);

    gap: 14px;
}

.home-search-card,
.home-advisor-card {
    position: relative;

    min-height: 245px;

    padding: 24px;

    overflow: hidden;

    background: rgba(255,255,255,.97);

    border: 1px solid var(--dg-border-soft);

    border-radius: var(--dg-radius-lg);

    box-shadow: var(--dg-shadow-sm);

    transition:
        transform var(--dg-transition-slow),
        box-shadow var(--dg-transition-slow),
        border-color var(--dg-transition);
}

.home-search-card:hover,
.home-advisor-card:hover {
    transform: translateY(-2px);

    border-color: rgba(128, 0, 32, .12);

    box-shadow: var(--dg-shadow-md);
}

.home-search-card::after,
.home-advisor-card::after {
    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    left: -75px;
    bottom: -95px;

    border-radius: 50%;

    background: var(--dg-primary-soft);

    pointer-events: none;
}

.home-advisor-card {
    background:
        linear-gradient(
            145deg,
            #fff,
            #fff7fa
        );
}

.home-search-card-header {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;

    gap: 13px;

    margin-bottom: 13px;
}

.home-search-card-icon {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: var(--dg-primary-soft);

    color: var(--dg-primary);

    font-size: 22px;
}

.home-search-card-label {
    display: block;

    margin-bottom: 2px;

    color: var(--dg-primary);

    font-size: 10px;
    font-weight: 800;
}

.home-search-card h2 {
    margin: 0;

    color: var(--dg-text);

    font-size: 18px;
    font-weight: 850;

    line-height: 1.5;
}

.home-search-card > p,
.home-advisor-card > p {
    position: relative;
    z-index: 1;

    max-width: 680px;

    margin: 0 0 18px;

    color: var(--dg-text-3);

    font-size: 13px;
    line-height: 1.9;
}

.home-advisor-examples {
    position: relative;
    z-index: 1;

    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 17px;
}

.home-advisor-examples span {
    display: inline-flex;

    padding: 6px 9px;

    border: 1px solid #ead9de;

    border-radius: 999px;

    background: rgba(255,255,255,.82);

    color: var(--dg-text-2);

    font-size: 10px;
}

/* =========================================================
16. Categories
========================================================= */

.categories-section {
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.78),
            rgba(255,250,252,.68)
        );

    border-top: 0;
    border-bottom: 0;
}

.home-categories-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}

.category-card {
    min-height: 130px;
    min-width: 0;

    padding: 18px;

    display: flex;
    align-items: center;

    gap: 14px;

    background: rgba(255,255,255,.94);

    border: 1px solid var(--dg-border-soft);

    border-radius: var(--dg-radius-md);

    transition:
        transform var(--dg-transition-slow),
        border-color var(--dg-transition),
        box-shadow var(--dg-transition);
}

.category-card:hover {
    transform: translateY(-2px);

    border-color: rgba(128, 0, 32, .13);

    box-shadow: var(--dg-shadow-sm);
}

.category-icon {
    width: 54px;
    height: 54px;

    flex: 0 0 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            var(--dg-primary-soft),
            #fff
        );

    color: var(--dg-primary);

    font-size: 24px;
}

.category-content {
    min-width: 0;
}

.category-name {
    display: block;

    color: var(--dg-text);

    font-size: 14px;
    font-weight: 800;
}

.category-action {
    display: block;

    margin-top: 4px;

    color: var(--dg-primary);

    font-size: 10px;
    font-weight: 700;
}

/* =========================================================
17. Special Offers
========================================================= */

.special-offers-section {
    position: relative;

    background:
        linear-gradient(
            180deg,
            rgba(128,0,32,.045) 0%,
            rgba(255,250,252,.82) 30%,
            rgba(255,255,255,.78) 100%
        );
}

.special-offers-section .section-title {
    color: var(--dg-primary-deep);
}

.special-offers-section .section-title::after {
    background:
        linear-gradient(
            175deg,
            transparent 0%,
            rgba(128,0,32,.25) 14%,
            rgba(128,0,32,.58) 34%,
            rgba(128,0,32,.32) 60%,
            rgba(128,0,32,.52) 80%,
            transparent 100%
        );
}

.special-offers-section .section-eyebrow {
    color: var(--dg-primary);
}

.special-offers-section .product-card {
    box-shadow:
        0 4px 18px rgba(128,0,32,.055);
}

.recommended-section {
    position: relative;

    background:
        radial-gradient(
            ellipse 72% 34% at 50% 0%,
            rgba(128,0,32,.085) 0%,
            rgba(180,92,116,.045) 28%,
            rgba(245,226,232,.035) 48%,
            rgba(255,255,255,.72) 72%,
            rgba(248,251,252,.96) 100%
        );
}

.recommended-section::before {
    content: "";

    position: absolute;

    top: 0;
    right: 8%;
    left: 8%;

    height: 170px;

    pointer-events: none;

    background:
        radial-gradient(
            ellipse at center top,
            rgba(128,0,32,.035) 0%,
            rgba(128,0,32,.018) 34%,
            transparent 72%
        );

    filter: blur(12px);

    opacity: .75;
}

.recommended-section::after {
    content: none;
}

/* =========================================================
18. Product Cards
========================================================= */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}

.product-card {
    position: relative;

    min-width: 0;

    overflow: hidden;

    background: rgba(255,255,255,.97);

    border: 1px solid var(--dg-border-soft);

    border-radius: var(--dg-radius-md);

    box-shadow: var(--dg-shadow-sm);

    transition:
        transform var(--dg-transition-slow),
        box-shadow var(--dg-transition-slow),
        border-color var(--dg-transition);
}

.product-card:hover {
    transform: translateY(-3px);

    border-color: rgba(128, 0, 32, .13);

    box-shadow: var(--dg-shadow-md);
}

.product-card-image {
    position: relative;

    aspect-ratio: 1 / 1;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #fff,
            #fafbfc
        );
}

.product-card-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    transition:
        transform var(--dg-transition-slow);
}

.product-card:hover .product-card-image img {
    transform: scale(1.035);
}

.product-image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--dg-surface-2);

    color: var(--dg-muted);

    font-size: 32px;
}

.product-image-badge {
    position: absolute;

    top: 10px;
    right: 10px;

    z-index: 2;

    min-height: 25px;

    padding: 4px 8px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            var(--dg-primary-deep),
            var(--dg-primary)
        );

    color: #fff;

    font-size: 10px;
    font-weight: 800;

    box-shadow:
        0 4px 12px rgba(128,0,32,.14);
}

.product-card-body {
    padding: 14px;
}

.product-badge {
    display: inline-flex;
    align-items: center;

    min-height: 23px;

    padding: 3px 8px;

    margin-bottom: 7px;

    border-radius: 999px;

    background: var(--dg-primary-soft);

    color: var(--dg-primary);

    font-size: 9px;
    font-weight: 800;
}

.product-card-title {
    min-height: 46px;

    margin-bottom: 9px;

    color: var(--dg-text);

    font-size: 13px;
    font-weight: 750;

    line-height: 1.75;

    display: -webkit-box;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
}

.product-card-title a:hover {
    color: var(--dg-primary);
}

.product-card-pricing {
    min-height: 42px;

    margin-bottom: 11px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.product-card-price {
    color: var(--dg-primary);

    font-size: 15px;
    font-weight: 900;

    white-space: nowrap;

    font-variant-numeric: tabular-nums;
}

.product-card-old-price {
    color: var(--dg-muted);

    font-size: 10px;

    text-decoration: line-through;

    font-variant-numeric: tabular-nums;
}

/* =========================================================
19. Education
========================================================= */

.education-section {
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.76),
            rgba(248,251,252,.86)
        );

    border-top: 0;
}

.education-grid {
    display: grid;

    grid-template-columns: 1fr;

    gap: 16px;
}

.education-card {
    overflow: hidden;

    background: rgba(255,255,255,.96);

    border: 1px solid var(--dg-border-soft);

    border-radius: var(--dg-radius-lg);

    box-shadow: var(--dg-shadow-sm);

    transition:
        transform var(--dg-transition),
        box-shadow var(--dg-transition);
}

.education-card:hover {
    transform: translateY(-2px);

    box-shadow: var(--dg-shadow-md);
}

.education-video {
    position: relative;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #202124;
}

.education-video iframe {
    width: 100%;
    height: 100%;

    display: block;

    border: 0;
}

.video-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    font-size: 34px;
}

.education-card-body {
    padding: 16px;
}

.education-card-body h3 {
    margin: 0 0 6px;

    color: var(--dg-text);

    font-size: 14px;
    font-weight: 800;
}

.education-card-body p {
    margin: 0;

    color: var(--dg-text-3);

    font-size: 12px;
    line-height: 1.9;
}

/* =========================================================
20. Trust / Benefits
========================================================= */

.benefits-section {
    background:
        linear-gradient(
            180deg,
            rgba(243,248,250,.82),
            rgba(255,255,255,.88)
        );

    border-top: 0;
    border-bottom: 0;
}

.trust-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;
}

.trust-item {
    padding: 18px;

    background: rgba(255,255,255,.90);

    border: 1px solid var(--dg-border-soft);

    border-radius: var(--dg-radius-md);

    transition:
        transform var(--dg-transition),
        box-shadow var(--dg-transition);
}

.trust-item:hover {
    transform: translateY(-2px);

    box-shadow: var(--dg-shadow-sm);
}

.trust-item-icon {
    margin-bottom: 9px;

    color: var(--dg-primary);

    font-size: 23px;
}

.trust-item-title {
    margin-bottom: 4px;

    color: var(--dg-text);

    font-size: 13px;
    font-weight: 850;
}

.trust-item-text {
    margin: 0;

    color: var(--dg-text-3);

    font-size: 11px;
    line-height: 1.9;
}

/* =========================================================
21. Final CTA
========================================================= */

.home-final-cta {
    padding-top: 20px;
    padding-bottom: 50px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.84),
            rgba(238,247,251,.70)
        );
}

.home-final-cta-box {
    position: relative;

    overflow: hidden;

    padding: 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    border-radius: var(--dg-radius-xl);

    background:
        linear-gradient(
            135deg,
            var(--dg-primary-deep),
            var(--dg-primary)
        );

    color: #fff;

    box-shadow: var(--dg-shadow-primary);
}

.home-final-cta-box::after {
    content: "";

    position: absolute;

    width: 240px;
    height: 240px;

    left: -100px;
    bottom: -150px;

    border-radius: 50%;

    background: rgba(255,255,255,.07);

    pointer-events: none;
}

.home-final-cta-content {
    position: relative;
    z-index: 1;
}

.home-final-cta-box .section-eyebrow {
    color: rgba(255,255,255,.72);
}

.home-final-cta-box h2 {
    margin: 0;

    font-size: 25px;
    font-weight: 900;

    line-height: 1.5;
}

.home-final-cta-box p {
    max-width: 650px;

    margin: 7px 0 0;

    color: rgba(255,255,255,.78);

    font-size: 13px;
    line-height: 1.9;
}

.home-final-cta-box .dg-btn {
    position: relative;
    z-index: 1;

    flex: 0 0 auto;

    background: #fff;
    color: var(--dg-primary);

    box-shadow: none;
}

.home-final-cta-box .dg-btn:hover {
    background: #f7f8f9;
}

/* =========================================================
22. Badges / Status
========================================================= */

.dg-badge {
    display: inline-flex;
    align-items: center;

    min-height: 24px;

    padding: 3px 8px;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 800;
}

.dg-badge-primary {
    background: var(--dg-primary-soft);
    color: var(--dg-primary);
}

.dg-badge-success {
    background: var(--dg-success-soft);
    color: var(--dg-success);
}

.dg-badge-danger {
    background: var(--dg-danger-soft);
    color: var(--dg-danger);
}

.dg-badge-warning {
    background: var(--dg-warning-soft);
    color: var(--dg-warning);
}

/* =========================================================
23. Alerts
========================================================= */

.dg-alert {
    padding: 12px 14px;

    border-radius: var(--dg-radius-sm);

    font-size: 13px;
}

.dg-alert-success {
    background: var(--dg-success-soft);
    color: var(--dg-success);
}

.dg-alert-danger {
    background: var(--dg-danger-soft);
    color: var(--dg-danger);
}

.dg-alert-warning {
    background: var(--dg-warning-soft);
    color: var(--dg-warning);
}

.dg-alert-info {
    background: var(--dg-info-soft);
    color: var(--dg-info);
}

/* =========================================================
24. Footer
DG24 Artistic Chalk Accordion
========================================================= */

.site-footer {
    position: relative;

    margin-top: 0;

    background:
        linear-gradient(
            180deg,
            #f4f9fc 0%,
            #edf6fa 45%,
            #e8f3f8 72%,
            #e3f0f6 100%
        );

    color: var(--dg-text);

    overflow: hidden;
}

.footer-main {
    display: grid;

    grid-template-columns:
        minmax(270px, .8fr)
        minmax(0, 1.8fr);

    gap: 64px;

    padding-top: 52px;
    padding-bottom: 44px;
}

.footer-brand {
    position: relative;

    max-width: 390px;

    padding-bottom: 20px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;

    margin-bottom: 18px;

    color: var(--dg-primary);

    font-size: 34px;
    font-weight: 900;

    line-height: 1;

    letter-spacing: -1.2px;
}

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

.footer-description {
    max-width: 380px;

    margin: 0 0 12px;

    color: #40586d;

    font-size: 12px;
    font-weight: 500;

    line-height: 2.15;
}

.footer-brand::after {
    content: "";

    display: block;

    width: 115px;
    height: 9px;

    margin-top: 22px;

    opacity: .48;

    background:
        repeating-linear-gradient(
            174deg,
            transparent 0 2px,
            rgba(255,255,255,.95) 2px 4px,
            transparent 4px 6px
        );

    border-radius: 50%;

    transform: rotate(-1deg);
}

.footer-menus {
    display: flex;

    flex-direction: column;

    width: 100%;
}

.footer-menu {
    position: relative;

    width: 100%;

    margin: 0;

    padding: 0 0 13px;

    border: 0;

    background: transparent;
}

.footer-menu summary {
    min-height: 72px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 0 5px;

    cursor: pointer;

    list-style: none;

    color: #233f55;

    font-size: 15px;
    font-weight: 850;

    line-height: 1.6;

    user-select: none;

    transition:
        color var(--dg-transition);
}

.footer-menu summary::-webkit-details-marker {
    display: none;
}

.footer-menu summary::marker {
    display: none;
}

.footer-menu-title {
    display: flex;

    align-items: center;

    min-height: 44px;

    color: #233f55;

    transition:
        color var(--dg-transition),
        transform var(--dg-transition);
}

.footer-menu summary:hover .footer-menu-title {
    color: var(--dg-primary);

    transform: translateX(-2px);
}

.footer-menu-arrow {
    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    color: var(--dg-primary);

    font-size: 22px;
    font-weight: 900;

    line-height: 1;

    transition:
        transform 220ms ease,
        background 220ms ease;
}

.footer-menu summary:hover .footer-menu-arrow {
    background: rgba(128, 0, 32, .07);
}

.footer-menu[open] .footer-menu-arrow {
    transform: rotate(180deg);

    background: rgba(128, 0, 32, .06);
}

.footer-menu[open] .footer-menu-title {
    color: var(--dg-primary);
}

.footer-menu::after {
    content: "";

    position: absolute;

    right: 0;
    left: 0;
    bottom: 0;

    height: 5px;

    opacity: .86;

    background:
        linear-gradient(
            176deg,
            transparent 0%,
            rgba(255,255,255,.30) 6%,
            rgba(255,255,255,.78) 15%,
            rgba(255,255,255,.94) 27%,
            rgba(255,255,255,.78) 39%,
            rgba(255,255,255,.48) 51%,
            rgba(255,255,255,.88) 63%,
            rgba(255,255,255,.94) 75%,
            rgba(255,255,255,.54) 88%,
            transparent 100%
        );

    border-radius: 45%;

    filter: blur(.35px);

    transform:
        rotate(-.16deg)
        skewX(-1deg);

    pointer-events: none;
}

.footer-menu::before {
    content: "";

    position: absolute;

    right: 2%;
    left: 3%;
    bottom: 1px;

    height: 2px;

    opacity: .38;

    background:
        linear-gradient(
            174deg,
            transparent 0%,
            rgba(255,255,255,.65) 13%,
            rgba(255,255,255,.35) 28%,
            rgba(255,255,255,.78) 44%,
            rgba(255,255,255,.32) 61%,
            rgba(255,255,255,.70) 79%,
            transparent 100%
        );

    filter: blur(.55px);

    transform: rotate(.12deg);

    pointer-events: none;
}

.footer-menu-content {
    padding:
        0
        10px
        20px
        5px;

    animation:
        dgFooterOpen
        180ms
        ease;
}

.footer-menu-content a {
    position: relative;

    display: block;

    width: fit-content;

    padding:
        7px
        0
        7px
        5px;

    padding-right: 19px;

    color: #36566f;

    font-size: 12px;
    font-weight: 500;

    line-height: 1.9;

    transition:
        color var(--dg-transition),
        transform var(--dg-transition);
}

.footer-menu-content a::before {
    content: "•";

    position: absolute;

    right: 0;
    top: 50%;

    color: var(--dg-primary);

    font-size: 13px;

    opacity: .72;

    transform: translateY(-50%);
}

.footer-menu-content a:hover {
    color: var(--dg-primary);

    transform: translateX(-4px);
}

.footer-bottom {
    min-height: 64px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 18px;

    padding: 8px 0;

    border-top:
        1px solid
        rgba(54, 86, 111, .15);

    color: #5a7082;

    font-size: 11px;

    line-height: 1.8;
}

@keyframes dgFooterOpen {

    from {
        opacity: 0;

        transform: translateY(-5px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }
}

@media (min-width: 992px) {

    .footer-menus {
        max-width: 850px;
    }

    .footer-menu summary {
        min-height: 76px;

        font-size: 16px;
    }

    .footer-menu-content {
        padding-bottom: 22px;
    }
}

@media (max-width: 767px) {

    .footer-main {
        display: block;

        padding-top: 40px;
        padding-bottom: 30px;
    }

    .footer-brand {
        max-width: none;

        padding-bottom: 28px;
    }

    .footer-logo {
        font-size: 30px;

        margin-bottom: 16px;
    }

    .footer-description {
        max-width: none;

        font-size: 11px;

        line-height: 2;
    }

    .footer-brand::after {
        width: 105px;

        margin-top: 19px;
    }

    .footer-menu {
        padding-bottom: 12px;
    }

    .footer-menu summary {
        min-height: 70px;

        padding-right: 3px;
        padding-left: 3px;

        font-size: 14px;
    }

    .footer-menu-arrow {
        width: 36px;
        height: 36px;

        flex-basis: 36px;
    }

    .footer-menu-content {
        padding:
            0
            9px
            20px
            4px;
    }

    .footer-menu-content a {
        padding-top: 7px;
        padding-bottom: 7px;

        font-size: 11px;

        line-height: 1.9;
    }

    .footer-menu::after {
        height: 5px;

        opacity: .86;
    }

    .footer-bottom {
        min-height: 60px;

        flex-direction: column;

        justify-content: center;

        gap: 2px;

        padding: 10px 0;

        text-align: center;

        font-size: 10px;
    }
}

/* =========================================================
25. DG24 Premium Mobile Bottom Navigation
International / Outline / Floating Dock
========================================================= */

.dg24-mobile-nav {
    display: none;
}

@media (max-width: 767px) {

    .site-footer {
        padding-bottom: 126px;
    }

    .dg24-mobile-nav {
        position: fixed;

        right: 12px;
        bottom: 10px;
        left: 12px;

        z-index: 9999;

        display: block;

        padding:
            10px
            8px
            calc(8px + env(safe-area-inset-bottom))
            8px;

        border:
            1px solid
            rgba(128, 0, 32, .10);

        border-radius: 24px;

        background:
            rgba(255, 255, 255, .97);

        box-shadow:
            0 12px 34px rgba(31, 55, 72, .14),
            0 3px 10px rgba(31, 55, 72, .07);

        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .dg24-mobile-brand {
        display: flex;

        flex-direction: column;

        align-items: center;
        justify-content: center;

        margin-bottom: 7px;
    }

    .dg24-mobile-brand-line {
        display: inline-flex;

        align-items: baseline;
        justify-content: center;

        gap: 9px;

        direction: rtl;
    }

    .dg24-mobile-brand-logo {
        color: #800020;

        font-size: 21px;
        font-weight: 950;

        line-height: 1;

        letter-spacing: -.8px;
    }

    .dg24-mobile-brand-tagline {
        color: #40586d;

        font-size: 12px;
        font-weight: 650;

        line-height: 1.4;

        white-space: nowrap;
    }

    .dg24-mobile-brand-chalk {
        position: relative;

        width: 116px;
        height: 5px;

        margin-top: 5px;

        opacity: .55;

        border-radius: 50%;

        background:
            repeating-linear-gradient(
                174deg,
                transparent 0 1px,
                rgba(128, 0, 32, .34) 1px 2px,
                transparent 2px 3px
            );

        transform: rotate(-1deg);
    }

    .dg24-mobile-brand-chalk::after {
        content: "";

        position: absolute;

        right: 7px;
        left: 10px;
        top: 3px;

        height: 2px;

        opacity: .55;

        border-radius: 50%;

        background:
            rgba(128, 0, 32, .24);

        transform: rotate(.8deg);
    }

    .dg24-mobile-nav-links {
        display: grid;

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        align-items: stretch;

        gap: 3px;
    }

    .dg24-mobile-nav-item {
        min-width: 0;

        display: flex;

        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 4px;

        min-height: 58px;

        padding: 5px 3px;

        border-radius: 16px;

        color: #687681;

        text-decoration: none;

        transition:
            color 180ms ease,
            background 180ms ease,
            transform 180ms ease;
    }

    .dg24-mobile-nav-item:hover {
        color: #800020;

        transform: translateY(-1px);
    }

    .dg24-mobile-nav-item:active {
        transform: scale(.96);
    }

    .dg24-mobile-nav-icon {
        position: relative;

        width: 24px;
        height: 24px;

        display: flex;

        align-items: center;
        justify-content: center;

        color: currentColor;
    }

    .dg24-mobile-nav-icon svg {
        width: 23px;
        height: 23px;

        display: block;

        overflow: visible;
    }

    .dg24-mobile-nav-label {
        display: block;

        max-width: 100%;

        overflow: hidden;

        color: currentColor;

        font-size: 10px;
        font-weight: 650;

        line-height: 1.4;

        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .dg24-mobile-nav-item.is-active {
        color: #800020;

        background:
            rgba(128, 0, 32, .065);
    }

    .dg24-mobile-nav-item.is-active
    .dg24-mobile-nav-label {
        font-weight: 800;
    }

    .dg24-cart-badge {
        position: absolute;

        top: -5px;
        right: -7px;

        min-width: 15px;
        height: 15px;

        display: flex;

        align-items: center;
        justify-content: center;

        padding: 0 4px;

        border:
            2px solid
            #ffffff;

        border-radius: 999px;

        background: #800020;

        color: #ffffff;

        font-size: 8px;
        font-weight: 800;

        line-height: 1;

        box-shadow:
            0 2px 6px rgba(128, 0, 32, .20);
    }

    @media (max-width: 380px) {

        .dg24-mobile-nav {
            right: 8px;
            bottom: 8px;
            left: 8px;

            border-radius: 21px;

            padding-right: 5px;
            padding-left: 5px;
        }

        .dg24-mobile-brand-logo {
            font-size: 20px;
        }

        .dg24-mobile-brand-tagline {
            font-size: 11px;
        }

        .dg24-mobile-nav-item {
            min-height: 55px;

            border-radius: 14px;
        }

        .dg24-mobile-nav-icon,
        .dg24-mobile-nav-icon svg {
            width: 21px;
            height: 21px;
        }

        .dg24-mobile-nav-label {
            font-size: 9px;
        }
    }
}

@media (min-width: 768px) {

    .dg24-mobile-nav {
        display: none !important;
    }
}

/* =========================================================
26. Utilities
========================================================= */

.text-primary {
    color: var(--dg-primary) !important;
}

.text-muted {
    color: var(--dg-text-3) !important;
}

.bg-white {
    background: #fff !important;
}

.w-100 {
    width: 100% !important;
}

.hidden {
    display: none !important;
}

/* =========================================================
26. Tablet
========================================================= */

@media (min-width: 768px) {

    .container,
    .container-fluid {
        padding-right: 22px;
        padding-left: 22px;
    }

    .dg-section {
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .product-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 16px;
    }

    .home-categories-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 14px;
    }

    .education-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .trust-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 14px;
    }

    .home-search-layout {
        grid-template-columns:
            minmax(0, 1.35fr)
            minmax(280px, .85fr);

        gap: 18px;
    }

    .home-search-card,
    .home-advisor-card {
        padding: 24px;
    }
}

/* =========================================================
27. Desktop
========================================================= */

@media (min-width: 992px) {

    .home-search-section {
        padding-top: 54px;
        padding-bottom: 40px;
    }

    .home-search-layout {
        gap: 22px;
    }

    .home-search-card,
    .home-advisor-card {
        min-height: 270px;
        padding: 28px;
    }
}

/* =========================================================
28. Large Desktop
========================================================= */

@media (min-width: 1200px) {

    .container,
    .container-fluid {
        padding-right: 28px;
        padding-left: 28px;
    }

    .header-row,
    .header-main-content {
        min-height: 84px;

        gap: 20px;
    }

    .logo-main {
        font-size: 32px;
    }

    .product-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 18px;
    }

    .home-categories-grid {
        grid-template-columns:
            repeat(5, minmax(0, 1fr));
    }

    .section-title {
        font-size: 25px;
    }

    .home-search-title {
        font-size: 38px;
    }
}

/* =========================================================
29. Very Large Desktop
========================================================= */

@media (min-width: 1440px) {

    .container,
    .container-fluid {
        padding-right: 20px;
        padding-left: 20px;
    }
}

/* =========================================================
30. Touch Devices
========================================================= */

@media (hover: none) {

    .product-card:hover,
    .category-card:hover,
    .trust-item:hover,
    .home-search-card:hover,
    .home-advisor-card:hover,
    .education-card:hover {
        transform: none;

        box-shadow: var(--dg-shadow-sm);
    }
}

/* =========================================================
31. Mobile Header
========================================================= */

@media (max-width: 767px) {

    .site-header {
        position: relative;
        z-index: 100;

        background:
            linear-gradient(
                180deg,
                #800020 0%,
                #800020 18%,
                #9d435c 35%,
                #e4c1ca 65%,
                #f8eef2 100%
            );
    }

    .top-bar {
        min-height: 30px;

        padding: 6px 12px;

        color: #fff;

        font-size: 10px;

        background:
            linear-gradient(
                90deg,
                var(--dg-primary-deep),
                var(--dg-primary)
            );
    }

    .top-bar-content {
        justify-content: center;

        gap: 14px;
    }

    .main-header {
        background: rgba(255,255,255,.96);

        border-bottom: 1px solid var(--dg-border-soft);
    }

    .header-main-content {
        position: relative;

        min-height: 112px;

        display: grid;

        grid-template-columns: 52px 1fr 52px;
        grid-template-rows: 58px 54px;

        align-items: center;

        gap: 0;

        padding: 0 10px;
    }

    .mobile-menu-btn {
        grid-column: 3;
        grid-row: 1;

        width: 42px;
        height: 42px;

        margin-right: auto;

        display: flex;

        align-items: center;
        justify-content: center;

        border: 1px solid #dedede;

        border-radius: 12px;

        background: #fff;

        color: var(--dg-primary);

        font-size: 21px;
        line-height: 1;

        box-shadow:
            0 2px 8px rgba(23,50,77,.06);
    }

    .mobile-menu-btn:active {
        transform: scale(.96);
    }

    .site-logo {
        grid-column: 2;
        grid-row: 1;

        justify-self: center;

        min-width: 90px;

        text-align: center;
    }

    .logo-main {
        display: block;

        color: var(--dg-primary);

        font-size: 25px;
        font-weight: 900;

        line-height: 1;
    }

    .logo-sub {
        display: block;

        margin-top: 4px;

        color: #53697b;

        font-size: 9px;

        line-height: 1.2;
    }

    .header-search {
        grid-column: 1 / -1;
        grid-row: 2;

        width: 100%;

        margin: 0;
    }

    .search-box {
        width: 100%;
        height: 46px;

        display: flex;
        align-items: center;

        border: 1px solid #dfe6ea;

        border-radius: 13px;

        background: #f5f7f8;
    }

    .search-icon {
        flex: 0 0 38px;

        padding: 0;

        color: var(--dg-primary);

        font-size: 17px;

        text-align: center;
    }

    .header-search input,
    #headerSearchInput {
        min-width: 0;

        height: 100%;

        color: var(--dg-text);

        font-size: 13px;
        font-weight: 500;

        background: transparent;
    }

    #headerSearchInput::placeholder {
        color: #687b89;

        opacity: 1;
    }

    .search-submit {
        min-width: 72px;
        height: 36px;

        margin-left: 5px;
        margin-right: 5px;

        border-radius: 9px;

        background: var(--dg-primary);

        color: #fff;

        font-size: 11px;
        font-weight: 700;
    }

    .header-actions {
        position: absolute;

        top: 58px;
        left: 10px;
        right: 10px;

        height: 0;

        display: flex;
        align-items: center;
        justify-content: space-between;

        pointer-events: none;
    }

    .header-action {
        display: none;
    }

    .cart-action {
        display: flex;

        position: absolute;

        left: 0;
        top: -48px;

        width: 54px;
        height: 54px;

        align-items: center;
        justify-content: center;

        border: 1px solid #dfe5e9;

        border-radius: 12px;

        background: #fff;

        pointer-events: auto;

        box-shadow:
            0 3px 10px rgba(23,50,77,.07);
    }

    .cart-action .action-text {
        display: none;
    }

    .cart-action .action-icon {
        width: 38px;
        height: 38px;

        display: flex;
        align-items: center;
        justify-content: center;

        color: var(--dg-primary);

        font-size: 19px;

        transform: translateY(4px);
    }

    .cart-count {
        position: absolute;

        top: -5px;
        right: -5px;

        min-width: 16px;
        height: 16px;

        padding: 0 3px;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 50%;

        background: var(--dg-primary);

        color: #fff;

        font-size: 9px;
        font-weight: 800;

        line-height: 1;
    }

    .main-nav {
        display: none;

        background: #fff;
    }

    .main-nav.mobile-open {
        display: block;
    }

    .main-nav .nav-row {
        display: flex;

        flex-direction: column;
        align-items: stretch;

        padding: 8px 12px 12px;

        gap: 3px;

        background: #fff;

        border-top: 1px solid #eee;
    }

    .main-nav .nav-link {
        display: block;

        padding: 12px 10px;

        border-radius: 9px;

        color: var(--dg-text);

        font-size: 13px;
        font-weight: 700;

        text-align: right;
    }

    .main-nav .nav-link:active {
        background: var(--dg-primary-soft);

        color: var(--dg-primary);
    }

    .search-suggestions {
        z-index: 200;
    }

    .search-suggestion-item {
        color: var(--dg-text);
    }

    .search-suggestion-meta {
        color: var(--dg-text-3);
    }

    .search-suggestion-price {
        color: var(--dg-primary);
    }

    .section-header {
        align-items: center;
    }

    .section-title {
        font-size: 20px;

        padding-bottom: 6px;
    }

    .section-title::after {
        width: 43px;
        height: 3px;
    }

    .section-description {
        font-size: 12px;
    }

    .section-link {
        font-size: 11px;
    }

    .home-search-section {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .home-search-title {
        font-size: 26px;
    }

    .home-search-description {
        font-size: 13px;
    }

    .home-final-cta-box {
        padding: 24px 20px;

        flex-direction: column;

        align-items: stretch;
    }

    .home-final-cta-box h2 {
        font-size: 21px;
    }

    .home-final-cta-box .dg-btn {
        width: 100%;
    }

    .recommended-section {
        background:
            radial-gradient(
                ellipse 110% 28% at 50% 0%,
                rgba(128,0,32,.065) 0%,
                rgba(180,92,116,.032) 30%,
                rgba(255,255,255,.82) 66%,
                rgba(248,251,252,.97) 100%
            );
    }

    .recommended-section::before {
        right: 4%;
        left: 4%;

        height: 130px;

        filter: blur(14px);

        opacity: .58;
    }
}

/* =========================================================
32. Contrast Protection
========================================================= */

@media (prefers-contrast: more) {

    body {
        color: #102538;
    }

    .section-description,
    .home-search-description,
    .home-search-card > p,
    .home-advisor-card > p,
    .search-suggestion-meta,
    .footer-description {
        color: #30485b;
    }
}

/* =========================================================
33. Reduced Motion
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;
    }

    .product-card:hover,
    .category-card:hover,
    .trust-item:hover,
    .home-search-card:hover,
    .home-advisor-card:hover,
    .education-card:hover {
        transform: none;
    }
}

/* =========================================================
34. Home — Chalk Section Separators
DG24 Artistic Chalk Rhythm
========================================================= */

.home-search-section,
.categories-section,
.special-offers-section,
.education-section,
.benefits-section,
.home-final-cta {
    position: relative;
}

/* =========================================================
   Main Chalk Separator
========================================================= */

.home-search-section::after,
.categories-section::after,
.special-offers-section::after,
.education-section::after,
.benefits-section::after {
    content: "";

    position: absolute;

    right: 7%;
    left: 7%;
    bottom: 0;

    height: 5px;

    opacity: .58;

    background:
        linear-gradient(
            176deg,
            transparent 0%,
            rgba(255,255,255,.28) 7%,
            rgba(255,255,255,.72) 17%,
            rgba(255,255,255,.90) 29%,
            rgba(255,255,255,.56) 40%,
            rgba(255,255,255,.82) 52%,
            rgba(255,255,255,.42) 64%,
            rgba(255,255,255,.76) 76%,
            rgba(255,255,255,.52) 88%,
            transparent 100%
        );

    border-radius: 50%;

    filter: blur(.4px);

    transform:
        rotate(-.12deg)
        skewX(-1.5deg);

    pointer-events: none;
}

/* =========================================================
   Secondary Chalk Dust
========================================================= */

.home-search-section::before,
.categories-section::before,
.special-offers-section::before,
.education-section::before,
.benefits-section::before {
    content: "";

    position: absolute;

    right: 10%;
    left: 11%;
    bottom: 2px;

    height: 2px;

    opacity: .26;

    background:
        linear-gradient(
            174deg,
            transparent 0%,
            rgba(255,255,255,.65) 12%,
            rgba(255,255,255,.32) 25%,
            rgba(255,255,255,.78) 42%,
            rgba(255,255,255,.25) 57%,
            rgba(255,255,255,.68) 73%,
            rgba(255,255,255,.30) 87%,
            transparent 100%
        );

    filter: blur(.65px);

    transform:
        rotate(.16deg);

    pointer-events: none;
}

/* =========================================================
   Special Offers — Slightly Stronger
========================================================= */

.special-offers-section::after {
    opacity: .70;

    right: 5%;
    left: 5%;
}

/* =========================================================
   Final CTA — Entry Chalk Trace
========================================================= */

.home-final-cta::before {
    content: "";

    position: absolute;

    right: 12%;
    left: 12%;
    top: 0;

    height: 4px;

    opacity: .48;

    background:
        linear-gradient(
            175deg,
            transparent 0%,
            rgba(255,255,255,.25) 10%,
            rgba(255,255,255,.72) 24%,
            rgba(255,255,255,.88) 38%,
            rgba(255,255,255,.45) 52%,
            rgba(255,255,255,.76) 68%,
            rgba(255,255,255,.28) 84%,
            transparent 100%
        );

    border-radius: 50%;

    filter: blur(.45px);

    transform:
        rotate(-.18deg)
        skewX(-1deg);

    pointer-events: none;
}

/* =========================================================
   Mobile — More Subtle
========================================================= */

@media (max-width: 767px) {

    .home-search-section::after,
    .categories-section::after,
    .special-offers-section::after,
    .education-section::after,
    .benefits-section::after {
        right: 5%;
        left: 5%;

        height: 4px;

        opacity: .52;
    }

    .home-search-section::before,
    .categories-section::before,
    .special-offers-section::before,
    .education-section::before,
    .benefits-section::before {
        right: 8%;
        left: 8%;

        opacity: .22;
    }

    .home-final-cta::before {
        right: 8%;
        left: 8%;

        opacity: .40;
    }
}

/* =========================================================
   35. DG24 Header — Final Artistic Polish
   ========================================================= */

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.96);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition:
        color .2s ease,
        transform .2s ease;
}

.header-phone i {
    font-size: 13px;
}

.header-phone:hover {
    color: #fff;
    transform: translateY(-1px);
}

.search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.search-icon i {
    font-size: 17px;
    line-height: 1;
}

.search-camera-btn {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    margin-left: 3px;
    margin-right: 3px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(128,0,32,.14);
    border-radius: 11px;
    background:
        linear-gradient(
            145deg,
            #fff 0%,
            #fff7f9 100%
        );
    color: var(--dg-primary);
    font-size: 19px;
    cursor: pointer;
    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.search-camera-btn i {
    line-height: 1;
}

.search-camera-btn:hover {
    transform: translateY(-1px) scale(1.04);
    background: #fff;
    box-shadow:
        0 5px 14px rgba(128,0,32,.12);
}

.search-camera-btn:active {
    transform: scale(.95);
}

.cart-action {
    position: relative;
    isolation: isolate;
    overflow: visible;
}

.cart-action::before {
    content: "";
    position: absolute;
    inset: 3px;
    border: 1px solid rgba(128,0,32,.14);
    border-radius: 13px;
    opacity: .65;
    transform: rotate(-2.5deg);
    pointer-events: none;
}

.cart-action::after {
    content: "";
    position: absolute;
    width: 31px;
    height: 31px;
    right: -6px;
    top: -7px;
    border: 2px solid rgba(128,0,32,.10);
    border-radius: 50%;
    transform: rotate(-16deg);
    pointer-events: none;
}

.cart-action .action-icon {
    position: relative;
    z-index: 2;
    animation: dgCartFloat 5.2s ease-in-out infinite;
    transform-origin: center;
}

.cart-action .cart-count {
    z-index: 4;
    animation: dgCartBadge 5.2s ease-in-out infinite;
}

.cart-action:hover .action-icon {
    animation: none;
    transform:
        translateY(-2px)
        rotate(-6deg)
        scale(1.08);
}

@keyframes dgCartFloat {
    0%,
    82%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    86% {
        transform: translateY(-2px) rotate(-7deg);
    }

    89% {
        transform: translateY(0) rotate(7deg);
    }

    92% {
        transform: translateY(-1px) rotate(-3deg);
    }

    95% {
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes dgCartBadge {
    0%,
    82%,
    100% {
        transform: scale(1);
    }

    87% {
        transform: scale(1.14);
    }

    92% {
        transform: scale(.98);
    }
}

.site-header {
    position: relative;
}

.header-chalk-divider {
    position: absolute;
    right: 5%;
    left: 5%;
    bottom: 0;
    height: 5px;
    opacity: .86;
    pointer-events: none;

    background:
        linear-gradient(
            176deg,
            transparent 0%,
            rgba(255,255,255,.30) 6%,
            rgba(255,255,255,.78) 15%,
            rgba(255,255,255,.94) 27%,
            rgba(255,255,255,.78) 39%,
            rgba(255,255,255,.48) 51%,
            rgba(255,255,255,.88) 63%,
            rgba(255,255,255,.94) 75%,
            rgba(255,255,255,.54) 88%,
            transparent 100%
        );

    border-radius: 45%;
    filter: blur(.35px);
    transform:
        rotate(-.16deg)
        skewX(-1deg);
}

.recommended-section {
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.96) 0%,
            rgba(250,252,253,.96) 55%,
            rgba(248,251,252,.98) 100%
        );
}

.recommended-section::before,
.recommended-section::after {
    content: none !important;
}

@media (max-width: 767px) {

    .header-phone {
        font-size: 10px;
        gap: 4px;
    }

    .header-phone i {
        font-size: 12px;
    }

    .search-camera-btn {
        width: 42px;
        height: 36px;
        margin-left: 5px;
        margin-right: 5px;
        border-radius: 9px;
        font-size: 17px;
    }

    .cart-action .action-icon {
        animation: dgCartFloatMobile 5.2s ease-in-out infinite;
    }

    @keyframes dgCartFloatMobile {
        0%,
        82%,
        100% {
            transform: translateY(4px) rotate(0deg);
        }

        86% {
            transform: translateY(2px) rotate(-7deg);
        }

        89% {
            transform: translateY(4px) rotate(7deg);
        }

        92% {
            transform: translateY(3px) rotate(-3deg);
        }

        95% {
            transform: translateY(4px) rotate(0deg);
        }
    }

    .header-chalk-divider {
        right: 7%;
        left: 7%;
        height: 4px;
    }

    .recommended-section {
        background:
            linear-gradient(
                180deg,
                rgba(255,255,255,.97) 0%,
                rgba(250,252,253,.97) 55%,
                rgba(248,251,252,.99) 100%
            );
    }

    .recommended-section::before,
    .recommended-section::after {
        content: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cart-action .action-icon,
    .cart-action .cart-count {
        animation: none !important;
    }

    .header-phone,
    .search-camera-btn {
        transition: none;
    }
}

/* =========================================================
   36. DG24 Header — Stable Mobile Fix
   ========================================================= */

.site-header .mobile-menu-btn i,
.site-header .search-icon i,
.site-header .search-camera-btn i,
.site-header .cart-action .action-icon i,
.site-header .header-action .action-icon i,
.site-header .header-phone i {
    display: inline-block;
    visibility: visible;
    opacity: 1;
}

@media (max-width: 767px) {

    .site-header .mobile-menu-btn {
        position: relative;
        z-index: 20;

        display: flex !important;

        width: 42px;
        height: 42px;

        align-items: center;
        justify-content: center;

        padding: 0;

        background: #fff;
        color: var(--dg-primary);

        border: 1px solid #dedede;
        border-radius: 12px;

        box-shadow:
            0 2px 8px rgba(23,50,77,.08);
    }

    .site-header .mobile-menu-btn i {
        display: inline-block;

        font-size: 23px;
        line-height: 1;

        color: var(--dg-primary);
    }

    .site-header .search-box {
        position: relative;

        min-height: 46px;
        height: 46px;

        overflow: visible;
    }

    .site-header .search-icon {
        width: 38px;
        height: 46px;

        flex: 0 0 38px;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        padding: 0;
    }

    .site-header .search-icon i {
        font-size: 17px;
        line-height: 1;
    }

    .site-header .search-camera-btn {
        position: relative;
        z-index: 5;

        flex: 0 0 42px;

        width: 42px;
        height: 36px;

        display: inline-flex !important;
        align-items: center;
        justify-content: center;

        margin: 0 5px;
        padding: 0;

        background: #fff;
        color: var(--dg-primary);

        border: 1px solid rgba(128,0,32,.16);
        border-radius: 9px;

        visibility: visible;
        opacity: 1;
    }

    .site-header .search-camera-btn i {
        display: inline-block;

        color: var(--dg-primary);

        font-size: 18px;
        line-height: 1;

        visibility: visible;
        opacity: 1;
    }

    .site-header .header-actions {
        position: absolute;

        top: 58px;
        right: 10px;
        left: 10px;

        width: auto;
        height: 0;

        margin: 0;
        padding: 0;

        display: block;

        pointer-events: none;
    }

    .site-header .cart-action {
        position: absolute;

        top: -49px;
        right: auto;
        left: 0;

        width: 52px;
        height: 52px;

        min-width: 52px;
        min-height: 52px;

        margin: 0;
        padding: 0;

        display: flex !important;

        align-items: center;
        justify-content: center;

        background: #fff;
        color: var(--dg-primary);

        border: 1px solid #dfe5e9;
        border-radius: 12px;

        pointer-events: auto;

        box-shadow:
            0 3px 12px rgba(23,50,77,.09);

        visibility: visible;
        opacity: 1;
    }

    .site-header .cart-action .action-icon {
        position: relative;
        z-index: 3;

        width: 36px;
        height: 36px;

        display: flex !important;
        align-items: center;
        justify-content: center;

        margin: 0;
        padding: 0;

        color: var(--dg-primary);

        font-size: 20px;

        transform: none;
    }

    .site-header .cart-action .action-icon i {
        display: inline-block;

        color: var(--dg-primary);

        font-size: 20px;
        line-height: 1;

        visibility: visible;
        opacity: 1;
    }

    .site-header .cart-action .action-text {
        display: none !important;
    }

    .site-header .cart-action .cart-count {
        position: absolute;

        top: -6px;
        right: -6px;
        left: auto;

        z-index: 10;

        min-width: 17px;
        height: 17px;

        padding: 0 4px;

        display: flex !important;
        align-items: center;
        justify-content: center;

        background: var(--dg-primary);
        color: #fff;

        border-radius: 50%;

        font-size: 9px;
        font-weight: 800;
        line-height: 1;

        visibility: visible;
        opacity: 1;
    }

    .site-header .cart-action::before,
    .site-header .cart-action::after {
        pointer-events: none;
    }

    .site-header .site-logo {
        position: relative;
        z-index: 5;
    }
}

/* =========================================================
   37. DG24 Header — Icon Fallback
   ========================================================= */

.site-header .mobile-menu-btn i.bi-list {
    font-size: 0;
}

.site-header .mobile-menu-btn i.bi-list::before {
    content: "☰";

    font-family: Arial, sans-serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1;
}

.site-header .search-icon i.bi-search {
    font-size: 0;
}

.site-header .search-icon i.bi-search::before {
    content: "⌕";

    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
}

.site-header .search-camera-btn i.bi-camera-fill {
    font-size: 0;
}

.site-header .search-camera-btn i.bi-camera-fill::before {
    content: "";

    display: block;

    width: 20px;
    height: 14px;

    border: 2px solid currentColor;
    border-radius: 4px;

    font-size: 0;
    line-height: 1;
}

.site-header .search-camera-btn i.bi-camera-fill::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    top: 4px;
    left: 7px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
}

.site-header .cart-action .action-icon i.bi-bag-heart-fill {
    font-size: 0;
}

.site-header .cart-action .action-icon i.bi-bag-heart-fill::before {
    content: "🛍";

    font-family: Arial, sans-serif;
    font-size: 21px;
    line-height: 1;
}

/* =========================================================
   38. Header Layer Protection
   ========================================================= */

.site-header .mobile-menu-btn,
.site-header .search-camera-btn,
.site-header .cart-action {
    isolation: isolate;
}

.site-header .mobile-menu-btn i,
.site-header .search-camera-btn i,
.site-header .cart-action .action-icon {
    position: relative;
    z-index: 5;
}

/* =========================================================
   39. Mobile Header Final Alignment
   ========================================================= */

@media (max-width: 767px) {

    .site-header .header-main-content {
        grid-template-columns: 52px minmax(0,1fr) 52px;
    }

    .site-header .mobile-menu-btn {
        grid-column: 3;
        grid-row: 1;

        justify-self: end;
        margin: 0;
    }

    .site-header .site-logo {
        grid-column: 2;
        grid-row: 1;

        justify-self: center;
        align-self: center;
    }

    .site-header .header-search {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

/* =========================================================
   40. Desktop Header Icon Protection
   ========================================================= */

@media (min-width: 768px) {

    .site-header .mobile-menu-btn,
    .site-header .mobile-menu-toggle {
        display: none !important;
    }

    .site-header .header-action {
        display: flex;
    }

    .site-header .search-camera-btn {
        display: inline-flex;
    }

    .site-header .cart-action {
        display: flex;
    }
}
