/*
 * Golden Chemicals premium visual layer.
 * The palette mirrors the Golden Chemical store while preserving this theme's
 * templates, content, customizer settings, RTL behavior, and Elementor output.
 */

:root {
    color-scheme: light dark;
    --gc-gold: #c9a227;
    --gc-gold-deep: #7d6412;
    --gc-gold-bright: #e6c766;
    --gc-gold-pale: #f4ecd3;
    --gc-gold-tint: #fbf6e7;
    --gc-ink: #1c1a14;
    --gc-ink-soft: #4a463b;
    --gc-ink-muted: #746f62;
    --gc-cream: #faf7ef;
    --gc-paper: #fffefa;
    --gc-line: #ece5d4;
    --gc-line-strong: #d9cfb5;
    --gc-success: #2f6b4f;
    --gc-error: #a33a32;
    --gc-metal: linear-gradient(135deg, #f3e3a6 0%, #d9b845 28%, #b5901e 55%, #e8cd73 78%, #9a7b16 100%);
    --gc-metal-soft: linear-gradient(135deg, #e6c766 0%, #c9a227 58%, #a6841c 100%);
    --gc-shadow-sm: 0 1px 2px rgba(79, 61, 13, 0.06), 0 4px 14px rgba(79, 61, 13, 0.06);
    --gc-shadow-md: 0 12px 30px rgba(79, 61, 13, 0.1), 0 3px 10px rgba(79, 61, 13, 0.05);
    --gc-shadow-lg: 0 28px 70px rgba(79, 61, 13, 0.14), 0 8px 24px rgba(79, 61, 13, 0.08);
    --gc-radius-sm: 10px;
    --gc-radius-md: 16px;
    --gc-radius-lg: 26px;
    --gc-radius-pill: 999px;
    --gc-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --gc-content: 1240px;

    /* Compatibility aliases used throughout the legacy templates. */
    --primary-color: var(--gc-gold-deep);
    --secondary-color: var(--gc-gold);
    --accent-color: var(--gc-gold);
    --color-primary: var(--gc-gold-deep);
    --color-secondary: var(--gc-gold);
    --text-dark: var(--gc-ink);
    --text-light: var(--gc-ink-muted);
    --bg-light: var(--gc-cream);
    --bg-white: var(--gc-paper);
    --border-color: var(--gc-line);
    --shadow: var(--gc-shadow-sm);
}

@media (prefers-color-scheme: dark) {
    :root {
        --gc-gold-deep: #e0bd4f;
        --gc-gold-pale: #4a3d18;
        --gc-gold-tint: #262112;
        --gc-ink: #f6f0df;
        --gc-ink-soft: #d5cdb8;
        --gc-ink-muted: #ada58f;
        --gc-cream: #14120d;
        --gc-paper: #1d1a12;
        --gc-line: #38301d;
        --gc-line-strong: #554722;
        --gc-shadow-sm: 0 4px 16px rgba(4, 3, 1, 0.2);
        --gc-shadow-md: 0 14px 34px rgba(4, 3, 1, 0.28);
        --gc-shadow-lg: 0 30px 76px rgba(4, 3, 1, 0.36);
    }
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    min-height: 100%;
    margin: 0 !important;
    padding-top: 0 !important;
    overflow-x: hidden;
    background: var(--gc-cream) !important;
    color: var(--gc-ink) !important;
    font-family: "Segoe UI Variable", "Segoe UI", Tahoma, Arial, sans-serif !important;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

[dir="rtl"] body {
    font-family: Tahoma, Arial, sans-serif !important;
}

::selection {
    background: var(--gc-gold-bright);
    color: #29210c;
}

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

a {
    color: var(--gc-gold-deep);
    text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--gc-gold-bright) !important;
    outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--gc-ink) !important;
    font-family: "Segoe UI Variable Display", "Segoe UI", Tahoma, Arial, sans-serif !important;
    font-weight: 750;
    line-height: 1.14;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

p,
li,
label,
blockquote {
    color: inherit;
}

.container,
.header-container,
.footer-content,
.products-container,
.services-container,
.archive-container,
.search-container,
.single-container {
    width: min(100% - 40px, var(--gc-content)) !important;
    max-width: var(--gc-content) !important;
    margin-inline: auto !important;
}

.main-content,
main {
    background: var(--gc-cream);
}

.main-content > .container,
.page-content,
.content-area {
    color: var(--gc-ink);
}

.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.screen-reader-text:focus,
.skip-link:focus {
    position: fixed !important;
    top: 12px !important;
    inset-inline-start: 12px !important;
    width: auto !important;
    height: auto !important;
    clip: auto !important;
    margin: 0 !important;
    padding: 12px 18px !important;
    border-radius: var(--gc-radius-sm);
    background: var(--gc-paper);
    color: var(--gc-ink);
    z-index: 10000;
}

/* Header */
.site-header {
    position: sticky !important;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: color-mix(in srgb, var(--gc-paper) 90%, transparent) !important;
    border-bottom: 1px solid var(--gc-line);
    box-shadow: none !important;
    -webkit-backdrop-filter: saturate(1.3) blur(14px);
    backdrop-filter: saturate(1.3) blur(14px);
}

.admin-bar .site-header {
    top: 32px;
}

.header-container {
    min-height: 72px;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(18px, 3vw, 44px);
    padding: 8px 0 !important;
}

.logo-container {
    height: 54px !important;
    display: flex;
    align-items: center;
    min-width: 0;
}

.custom-logo-link,
.text-logo {
    display: inline-flex !important;
    align-items: center;
    gap: 11px;
    height: 100%;
    color: var(--gc-ink) !important;
    text-decoration: none;
}

.custom-logo {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 188px !important;
    max-height: 50px !important;
    object-fit: contain;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--gc-metal);
    color: #29210c;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: -0.04em;
    box-shadow: inset 0 0 0 1px rgba(115, 87, 8, 0.22);
}

.logo-name,
.text-logo {
    font-size: 19px !important;
    font-weight: 760 !important;
    letter-spacing: -0.025em;
    white-space: nowrap;
}

.desktop-nav {
    display: block !important;
    min-width: 0;
}

.main-nav ul,
.primary-menu {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap !important;
    gap: 2px !important;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
    flex: 0 0 auto;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 11px !important;
    border-radius: var(--gc-radius-pill) !important;
    background: transparent !important;
    color: var(--gc-ink-soft) !important;
    font-size: 14px;
    font-weight: 560 !important;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color 160ms ease, background-color 160ms ease, transform 160ms var(--gc-ease-out);
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
    background: var(--gc-gold-tint) !important;
    color: var(--gc-gold-deep) !important;
}

.main-nav a:active {
    transform: translateY(1px);
}

.main-nav .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-start: 0;
    min-width: 210px;
    display: none !important;
    padding: 8px !important;
    border: 1px solid var(--gc-line);
    border-radius: var(--gc-radius-md);
    background: var(--gc-paper);
    box-shadow: var(--gc-shadow-md);
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
    display: grid !important;
}

.main-nav .sub-menu a {
    width: 100%;
    border-radius: var(--gc-radius-sm) !important;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.store-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid rgba(117, 87, 7, 0.32);
    border-radius: var(--gc-radius-pill);
    background: var(--gc-metal-soft);
    color: #29210c !important;
    box-shadow: 0 5px 14px rgba(125, 100, 18, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.44);
    font-size: 14px;
    font-weight: 760;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform 180ms var(--gc-ease-out), box-shadow 180ms ease, filter 180ms ease;
}

.store-button:hover {
    transform: translateY(-1px);
    filter: saturate(1.04) brightness(1.03);
    box-shadow: 0 8px 20px rgba(125, 100, 18, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.store-button:active {
    transform: translateY(1px) scale(0.99);
}

.search-toggle-btn,
.lang-dropdown-btn,
.mobile-lang-dropdown-btn,
.mobile-menu-toggle {
    min-width: 42px;
    height: 42px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px !important;
    border: 1px solid var(--gc-line-strong) !important;
    border-radius: var(--gc-radius-pill) !important;
    background: var(--gc-paper) !important;
    color: var(--gc-ink) !important;
    box-shadow: none !important;
    cursor: pointer;
    font: inherit;
    transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease, transform 160ms var(--gc-ease-out);
}

.search-toggle-btn {
    width: 42px !important;
    padding: 0 !important;
}

.search-toggle-btn:hover,
.lang-dropdown-btn:hover,
.mobile-lang-dropdown-btn:hover,
.mobile-menu-toggle:hover,
.lang-dropdown-btn[aria-expanded="true"],
.mobile-lang-dropdown-btn[aria-expanded="true"] {
    border-color: var(--gc-gold) !important;
    background: var(--gc-gold-tint) !important;
    color: var(--gc-gold-deep) !important;
}

.search-toggle-btn:active,
.lang-dropdown-btn:active,
.mobile-menu-toggle:active {
    transform: translateY(1px);
}

.language-dropdown,
.mobile-lang-dropdown {
    position: relative;
}

.lang-dropdown-menu,
.mobile-lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    min-width: 150px;
    padding: 7px;
    border: 1px solid var(--gc-line);
    border-radius: var(--gc-radius-md);
    background: var(--gc-paper);
    box-shadow: var(--gc-shadow-md);
}

.lang-dropdown-menu[hidden],
.mobile-lang-dropdown-menu[hidden],
.header-search-container[hidden],
.mobile-nav[hidden] {
    display: none !important;
}

.lang-option,
.mobile-lang-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border: 0;
    border-radius: var(--gc-radius-sm);
    background: transparent;
    color: var(--gc-ink) !important;
    font: inherit;
    text-align: start;
    text-decoration: none !important;
    cursor: pointer;
}

.lang-option:hover,
.mobile-lang-option:hover {
    background: var(--gc-gold-tint);
    color: var(--gc-gold-deep) !important;
}

.mobile-menu-toggle {
    width: 42px;
    padding: 0 !important;
    display: none !important;
    flex-direction: column;
    gap: 4px;
}

.hamburger-line {
    width: 19px !important;
    height: 2px !important;
    margin: 0 !important;
    border-radius: var(--gc-radius-pill);
    background: currentColor !important;
    transition: transform 180ms var(--gc-ease-out), opacity 140ms ease;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.header-search-container {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--gc-line);
    background: color-mix(in srgb, var(--gc-paper) 96%, transparent) !important;
    box-shadow: var(--gc-shadow-sm);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.header-search-form {
    width: min(100%, 680px);
    margin-inline: auto;
}

.search-input-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 48px 48px;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--gc-line-strong) !important;
    border-radius: var(--gc-radius-pill) !important;
    background: var(--gc-cream) !important;
    box-shadow: none !important;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.search-input-wrapper:focus-within {
    border-color: var(--gc-gold) !important;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--gc-gold) 16%, transparent) !important;
    transform: none !important;
}

.header-search-input {
    min-width: 0;
    padding: 13px 18px !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: var(--gc-ink) !important;
    font: inherit;
}

.header-search-input::placeholder {
    color: var(--gc-ink-muted) !important;
    font-style: normal !important;
    opacity: 1;
}

.header-search-btn,
.search-close-btn {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 0 !important;
    background: transparent !important;
    color: var(--gc-ink-soft) !important;
    cursor: pointer;
}

.header-search-btn:hover,
.search-close-btn:hover {
    color: var(--gc-gold-deep) !important;
    background: var(--gc-gold-tint) !important;
}

/* Hero and page introductions */
.hero-section {
    position: relative;
    isolation: isolate;
    min-height: clamp(500px, 68dvh, 680px) !important;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: clamp(64px, 9vw, 96px) 0 !important;
    background-color: var(--gc-cream) !important;
    color: var(--gc-ink) !important;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--gc-cream) 96%, transparent) 0%, color-mix(in srgb, var(--gc-cream) 82%, transparent) 46%, color-mix(in srgb, var(--gc-cream) 20%, transparent) 78%),
        radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--gc-gold-bright) 28%, transparent), transparent 42%);
}

[dir="rtl"] .hero-section::before {
    background:
        linear-gradient(270deg, color-mix(in srgb, var(--gc-cream) 96%, transparent) 0%, color-mix(in srgb, var(--gc-cream) 82%, transparent) 46%, color-mix(in srgb, var(--gc-cream) 20%, transparent) 78%),
        radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--gc-gold-bright) 28%, transparent), transparent 42%);
}

.hero-content {
    width: min(100% - 40px, var(--gc-content)) !important;
    max-width: var(--gc-content) !important;
    margin-inline: auto !important;
    padding: 0 !important;
    text-align: start !important;
}

.hero-content h1 {
    max-width: 12ch;
    margin: 0 0 18px !important;
    color: var(--gc-ink) !important;
    font-size: clamp(44px, 7vw, 74px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.055em;
    text-shadow: none !important;
}

.hero-content p {
    max-width: 540px;
    margin: 0 0 28px !important;
    color: var(--gc-ink-soft) !important;
    font-size: clamp(17px, 2vw, 20px) !important;
    line-height: 1.55;
    text-shadow: none !important;
}

.about-hero,
.services-hero,
.products-hero,
.contact-hero,
.archive-header,
.page-header,
.search-header,
.service-header {
    position: relative;
    overflow: hidden;
    margin-bottom: clamp(36px, 6vw, 72px) !important;
    padding: clamp(40px, 6vw, 76px) !important;
    border: 1px solid var(--gc-line) !important;
    border-radius: var(--gc-radius-lg) !important;
    background: radial-gradient(circle at 85% 0%, var(--gc-gold-tint), transparent 56%), var(--gc-paper) !important;
    color: var(--gc-ink) !important;
    box-shadow: var(--gc-shadow-sm) !important;
    text-align: start !important;
}

.about-hero h1,
.services-hero h1,
.products-hero h1,
.contact-hero h1,
.archive-header h1,
.page-header h1,
.search-header h1,
.service-header h1 {
    max-width: 18ch;
    margin: 0 0 14px !important;
    color: var(--gc-ink) !important;
    font-size: clamp(38px, 6vw, 64px) !important;
}

.about-hero p,
.services-hero p,
.products-hero p,
.contact-hero p,
.archive-header p,
.page-header p,
.search-header p,
.service-header p {
    max-width: 65ch;
    margin: 0 !important;
    color: var(--gc-ink-soft) !important;
}

/* Shared buttons */
.cta-button,
.product-button,
.service-button,
.enhanced-submit-btn,
.submit-btn,
.btn-primary,
button[type="submit"]:not(.header-search-btn),
input[type="submit"] {
    min-height: 46px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 24px !important;
    border: 1px solid rgba(117, 87, 7, 0.34) !important;
    border-radius: var(--gc-radius-pill) !important;
    background: var(--gc-metal-soft) !important;
    color: #29210c !important;
    box-shadow: 0 7px 18px rgba(125, 100, 18, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
    font: inherit;
    font-weight: 760 !important;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 180ms var(--gc-ease-out), box-shadow 180ms ease, filter 180ms ease !important;
}

.cta-button:hover,
.product-button:hover,
.service-button:hover,
.enhanced-submit-btn:hover,
.submit-btn:hover,
.btn-primary:hover,
button[type="submit"]:not(.header-search-btn):hover,
input[type="submit"]:hover {
    transform: translateY(-1px) !important;
    filter: brightness(1.04);
    box-shadow: 0 11px 24px rgba(125, 100, 18, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.48) !important;
}

.cta-button:active,
.product-button:active,
.service-button:active,
.enhanced-submit-btn:active,
.submit-btn:active,
.btn-primary:active,
button[type="submit"]:not(.header-search-btn):active,
input[type="submit"]:active {
    transform: translateY(1px) scale(0.99) !important;
}

/* Sections and headings */
.services-grid-section,
.products-section,
.services-section,
.about-section,
.contact-section,
.stats-section,
.articles-section,
.content-section,
.single-content,
.archive-content {
    padding-block: clamp(62px, 8vw, 96px) !important;
    background: var(--gc-cream) !important;
    color: var(--gc-ink) !important;
}

.services-grid-section + .products-section,
.products-section + .contact-section {
    border-top: 1px solid var(--gc-line);
}

.section-title,
.services-title,
.products-title,
.about-title,
.contact-title {
    max-width: 18ch;
    margin: 0 auto clamp(32px, 5vw, 54px) !important;
    color: var(--gc-ink) !important;
    font-size: clamp(34px, 5vw, 52px) !important;
    line-height: 1.05;
    text-align: center;
}

/* Asymmetric article grid with all eight cells filled. */
.services-grid-8 {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    grid-auto-flow: dense;
    gap: 16px !important;
}

.article-card-item,
.service-card-item {
    grid-column: span 4;
    min-height: 300px !important;
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid var(--gc-line) !important;
    border-radius: var(--gc-radius-md) !important;
    background: var(--gc-paper) !important;
    color: var(--gc-ink) !important;
    box-shadow: none !important;
    transition: transform 200ms var(--gc-ease-out), border-color 200ms ease, box-shadow 200ms ease !important;
}

.article-card-item:nth-child(1),
.service-card-item:nth-child(1) { grid-column: span 5; }
.article-card-item:nth-child(2),
.service-card-item:nth-child(2) { grid-column: span 7; background: var(--gc-gold-tint) !important; }
.article-card-item:nth-child(6),
.service-card-item:nth-child(6) { grid-column: span 7; background: var(--gc-gold-tint) !important; }
.article-card-item:nth-child(7),
.service-card-item:nth-child(7) { grid-column: span 5; }
.article-card-item:nth-child(8),
.service-card-item:nth-child(8) { grid-column: span 12; min-height: 240px !important; }

.article-card-item:hover,
.service-card-item:hover {
    z-index: auto !important;
    transform: translateY(-3px) !important;
    border-color: var(--gc-gold) !important;
    box-shadow: var(--gc-shadow-md) !important;
}

.article-card-link,
.service-card-link {
    min-height: inherit;
    display: grid !important;
    grid-template-rows: minmax(120px, 1fr) auto;
    color: inherit !important;
    text-decoration: none !important;
}

.article-card-image,
.service-card-image {
    min-height: 170px;
    background-size: cover !important;
    background-position: center !important;
}

.article-card-icon,
.service-card-icon {
    min-height: 150px;
    display: grid !important;
    place-items: center;
    background: radial-gradient(circle at center, var(--gc-gold-pale), transparent 68%) !important;
}

.article-card-icon i,
.service-card-icon i {
    color: var(--gc-gold-deep) !important;
    opacity: 0.68 !important;
    font-size: clamp(44px, 7vw, 72px) !important;
}

.article-card-content,
.service-card-content {
    padding: 24px !important;
    background: transparent !important;
}

.article-card-title,
.service-card-title {
    margin: 0 0 9px !important;
    color: var(--gc-ink) !important;
    font-size: clamp(20px, 2vw, 27px) !important;
}

.article-card-excerpt,
.service-card-excerpt {
    margin: 0 !important;
    color: var(--gc-ink-soft) !important;
    opacity: 1 !important;
}

/* Product grids */
.products-grid,
.archive-products-grid,
.services-grid,
.posts-grid,
.articles-grid {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.product-card,
.service-card,
.post-card,
.article-card,
.search-result-item {
    grid-column: span 4;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--gc-line) !important;
    border-radius: var(--gc-radius-md) !important;
    background: var(--gc-paper) !important;
    color: var(--gc-ink) !important;
    box-shadow: none !important;
    transition: transform 200ms var(--gc-ease-out), border-color 200ms ease, box-shadow 200ms ease !important;
}

.products-grid > .product-card:first-child,
.archive-products-grid > .product-card:first-child {
    grid-column: span 8;
}

.products-grid > .product-card:nth-child(2),
.archive-products-grid > .product-card:nth-child(2) {
    grid-column: span 4;
}

.products-grid > .product-card:hover,
.archive-products-grid > .product-card:hover,
.service-card:hover,
.post-card:hover,
.article-card:hover,
.search-result-item:hover {
    transform: translateY(-3px) !important;
    border-color: var(--gc-gold) !important;
    box-shadow: var(--gc-shadow-md) !important;
}

.product-image,
.service-image,
.post-thumbnail,
.article-image {
    min-height: 210px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 50% 42%, var(--gc-gold-pale), var(--gc-gold-tint)) !important;
    color: var(--gc-gold-deep) !important;
}

.product-image img,
.service-image img,
.post-thumbnail img,
.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms var(--gc-ease-out);
}

.product-card:hover .product-image img,
.service-card:hover .service-image img,
.post-card:hover .post-thumbnail img,
.article-card:hover .article-image img {
    transform: scale(1.025);
}

.product-image i,
.service-image i {
    color: var(--gc-gold-deep) !important;
}

.product-info,
.service-content,
.post-content,
.article-content,
.search-result-content {
    padding: 24px !important;
    background: var(--gc-paper) !important;
    color: var(--gc-ink) !important;
}

.product-title,
.service-title,
.post-title,
.article-title,
.search-result-title {
    color: var(--gc-ink) !important;
}

.product-description,
.service-description,
.post-excerpt,
.article-excerpt,
.search-result-excerpt {
    color: var(--gc-ink-soft) !important;
}

.product-category,
.post-category,
.article-category,
.service-category {
    color: var(--gc-gold-deep) !important;
    background: var(--gc-gold-tint) !important;
    border: 1px solid var(--gc-gold-pale) !important;
}

.product-price,
.price {
    color: var(--gc-ink) !important;
    font-weight: 780 !important;
}

.products-cta {
    margin-top: 38px !important;
}

/* Forms and contact surfaces */
.contact-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr) !important;
    align-items: start;
    gap: clamp(20px, 4vw, 42px) !important;
}

.contact-form,
.contact-info,
.enhanced-contact-form,
.contact-info-card,
.form-container,
.sidebar-widget,
.widget,
.no-results,
.nothing-found {
    padding: clamp(24px, 4vw, 38px) !important;
    border: 1px solid var(--gc-line) !important;
    border-radius: var(--gc-radius-md) !important;
    background: var(--gc-paper) !important;
    color: var(--gc-ink) !important;
    box-shadow: var(--gc-shadow-sm) !important;
}

.contact-form h3,
.contact-info h3,
.form-container h3,
.sidebar-widget h3,
.widget-title {
    color: var(--gc-ink) !important;
}

.enhanced-contact-form form,
.contact-form form {
    gap: 18px !important;
}

.enhanced-form-group label,
.form-group label,
form label {
    display: block;
    margin-bottom: 7px !important;
    color: var(--gc-ink) !important;
    font-weight: 650 !important;
}

input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
select,
textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px !important;
    border: 1px solid var(--gc-line-strong) !important;
    border-radius: var(--gc-radius-sm) !important;
    background: var(--gc-cream) !important;
    color: var(--gc-ink) !important;
    box-shadow: none !important;
    font: inherit;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease !important;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: var(--gc-ink-muted) !important;
    opacity: 1;
}

input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
    border-color: var(--gc-gold) !important;
    background: var(--gc-paper) !important;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--gc-gold) 15%, transparent) !important;
    outline: none !important;
}

.success-message,
.form-success,
.notice-success {
    border: 1px solid color-mix(in srgb, var(--gc-success) 42%, var(--gc-line)) !important;
    background: color-mix(in srgb, var(--gc-success) 10%, var(--gc-paper)) !important;
    color: var(--gc-success) !important;
}

.error-message,
.form-error,
.notice-error,
.required-error {
    color: var(--gc-error) !important;
}

/* Article and single content */
.entry-content,
.single-content,
.article-body,
.service-content-area {
    color: var(--gc-ink-soft) !important;
}

.entry-content > *,
.single-content > *,
.article-body > * {
    max-width: 72ch;
    margin-inline: auto;
}

.entry-content > .alignwide,
.single-content > .alignwide,
.entry-content > figure,
.single-content > figure {
    max-width: var(--gc-content);
}

.entry-content blockquote,
.single-content blockquote,
.article-body blockquote {
    margin-block: 32px;
    padding: 22px 26px;
    border-inline-start: 4px solid var(--gc-gold);
    border-radius: var(--gc-radius-sm);
    background: var(--gc-gold-tint);
    color: var(--gc-ink);
}

.entry-meta,
.post-meta,
.article-meta,
.service-meta,
.breadcrumbs {
    color: var(--gc-ink-muted) !important;
}

table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--gc-line);
    border-radius: var(--gc-radius-md);
    background: var(--gc-paper);
    color: var(--gc-ink);
}

th,
td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--gc-line);
    text-align: start;
}

th {
    background: var(--gc-gold-tint);
    color: var(--gc-ink);
}

/* Pagination and utility controls */
.pagination,
.nav-links,
.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.page-numbers a,
.page-numbers span,
a.page-numbers,
span.page-numbers {
    min-width: 42px;
    min-height: 42px;
    display: grid;
    place-items: center;
    padding: 8px 12px;
    border: 1px solid var(--gc-line);
    border-radius: var(--gc-radius-pill);
    background: var(--gc-paper);
    color: var(--gc-ink) !important;
    text-decoration: none;
}

.page-numbers.current,
.page-numbers a:hover,
a.page-numbers:hover {
    border-color: var(--gc-gold);
    background: var(--gc-gold-tint);
    color: var(--gc-gold-deep) !important;
}

/* Footer */
.site-footer {
    margin-top: 0 !important;
    padding: clamp(58px, 8vw, 86px) 0 0 !important;
    border-top: 1px solid color-mix(in srgb, var(--gc-gold) 34%, transparent);
    background: #17150f !important;
    color: #d8d1bd !important;
}

.footer-content {
    display: grid !important;
    grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(160px, 1fr)) !important;
    gap: clamp(28px, 5vw, 60px) !important;
    padding: 0 0 52px !important;
}

.footer-section {
    color: #d8d1bd !important;
}

.footer-section h3,
.site-footer h3 {
    margin: 0 0 16px !important;
    color: #f2d675 !important;
    font-size: 18px !important;
    letter-spacing: -0.01em;
}

.footer-section p,
.site-footer p {
    color: #c7c0ad !important;
}

.footer-section ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-section a,
.site-footer a {
    color: #d8d1bd !important;
    text-decoration: none !important;
}

.footer-section a:hover,
.site-footer a:hover {
    color: #f2d675 !important;
}

.social-media-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.social-link {
    width: 42px !important;
    height: 42px !important;
    display: grid !important;
    place-items: center;
    border: 1px solid rgba(230, 199, 102, 0.3) !important;
    border-radius: 50% !important;
    background: rgba(230, 199, 102, 0.08) !important;
    color: #f2d675 !important;
    transition: transform 160ms var(--gc-ease-out), background-color 160ms ease, border-color 160ms ease;
}

.social-link:hover {
    transform: translateY(-2px);
    border-color: #e6c766 !important;
    background: rgba(230, 199, 102, 0.14) !important;
}

.footer-logo img {
    max-height: 52px !important;
    width: auto !important;
    filter: saturate(0.8) brightness(1.08);
}

.footer-bottom {
    padding: 18px 20px !important;
    border-top: 1px solid rgba(230, 199, 102, 0.16) !important;
    background: #11100b !important;
    text-align: center;
}

.footer-bottom p {
    margin: 0 !important;
    color: #aaa38f !important;
    font-size: 13px;
}

/* Elementor receives the same palette without altering its layout controls. */
.elementor-page .elementor-widget-text-editor,
.elementor-page .elementor-widget-theme-post-content,
.elementor-page .elementor-widget-container {
    color: var(--gc-ink-soft);
}

.elementor-page .elementor-widget-heading .elementor-heading-title {
    color: var(--gc-ink) !important;
    font-family: inherit !important;
}

.elementor-page .elementor-button {
    border-radius: var(--gc-radius-pill) !important;
    background: var(--gc-metal-soft) !important;
    color: #29210c !important;
    box-shadow: 0 7px 18px rgba(125, 100, 18, 0.2) !important;
}

/* Chat system */
.chat-widget {
    font-family: inherit !important;
}

.chat-button {
    border: 1px solid rgba(117, 87, 7, 0.34) !important;
    background: var(--gc-metal-soft) !important;
    color: #29210c !important;
    box-shadow: 0 8px 22px rgba(125, 100, 18, 0.28) !important;
}

.chat-button:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 12px 28px rgba(125, 100, 18, 0.34) !important;
}

.chat-button-text {
    border: 1px solid var(--gc-line) !important;
    background: var(--gc-paper) !important;
    color: var(--gc-ink) !important;
    box-shadow: var(--gc-shadow-sm);
}

.chat-button-text::after {
    border-left-color: var(--gc-paper) !important;
}

[dir="rtl"] .chat-button-text::after {
    border-left-color: transparent !important;
    border-right-color: var(--gc-paper) !important;
}

.chat-window {
    border: 1px solid var(--gc-line) !important;
    border-radius: var(--gc-radius-md) !important;
    background: var(--gc-paper) !important;
    color: var(--gc-ink) !important;
    box-shadow: var(--gc-shadow-lg) !important;
}

.chat-header {
    border-bottom: 1px solid rgba(117, 87, 7, 0.28);
    background: var(--gc-metal-soft) !important;
    color: #29210c !important;
}

.chat-title {
    color: #29210c !important;
}

.chat-minimize,
.chat-close {
    color: #29210c !important;
}

.chat-minimize:hover,
.chat-close:hover {
    background: rgba(41, 33, 12, 0.1) !important;
}

.chat-start-screen,
.chat-input-area {
    background: var(--gc-paper) !important;
    color: var(--gc-ink) !important;
}

.chat-welcome h4,
.chat-welcome p {
    color: var(--gc-ink) !important;
}

.chat-welcome p {
    color: var(--gc-ink-soft) !important;
}

.chat-messages {
    background: var(--gc-cream) !important;
}

.chat-message.user .message-bubble {
    background: #70580e !important;
    color: #fffefa !important;
}

.chat-message.bot .message-bubble,
.typing-indicator {
    border-color: var(--gc-line) !important;
    background: var(--gc-paper) !important;
    color: var(--gc-ink) !important;
}

.message-link {
    border-color: var(--gc-gold) !important;
    background: var(--gc-gold-tint) !important;
    color: var(--gc-gold-deep) !important;
}

#start-chat-btn,
#send-message-btn,
.submit-support-btn {
    border: 1px solid rgba(117, 87, 7, 0.34) !important;
    background: var(--gc-metal-soft) !important;
    color: #29210c !important;
    box-shadow: none !important;
}

.end-chat-btn {
    background: var(--gc-error) !important;
    color: #fffefa !important;
}

.typing-dot {
    background: var(--gc-gold) !important;
}

.support-form {
    border-color: var(--gc-gold) !important;
    background: var(--gc-gold-tint) !important;
    color: var(--gc-ink) !important;
}

.support-form-title,
.support-form label {
    color: var(--gc-ink) !important;
}

.cancel-support-btn {
    background: var(--gc-ink-soft) !important;
    color: var(--gc-paper) !important;
}

/* Lightweight, one-time reveal. Content stays visible before JavaScript runs. */
.gc-js .gc-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms var(--gc-ease-out), transform 520ms var(--gc-ease-out);
}

.gc-js .gc-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-transparency: reduce) {
    .site-header,
    .header-search-container {
        background: var(--gc-paper) !important;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

@media (max-width: 1120px) {
    .header-container {
        gap: 18px;
    }

    .main-nav a {
        padding-inline: 8px !important;
        font-size: 13px;
    }

    .desktop-lang {
        display: none !important;
    }
}

@media (max-width: 920px) {
    .header-container {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .desktop-nav,
    .desktop-lang {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: inline-flex !important;
    }

    .mobile-nav {
        display: block !important;
        position: fixed !important;
        inset: 72px 0 0 !important;
        width: 100% !important;
        height: calc(100dvh - 72px) !important;
        overflow-y: auto;
        padding: 0 !important;
        background: color-mix(in srgb, var(--gc-ink) 34%, transparent) !important;
        z-index: 999;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-nav[hidden] {
        display: none !important;
    }

    .admin-bar .mobile-nav {
        inset-block-start: 104px !important;
        height: calc(100dvh - 104px) !important;
    }

    .mobile-nav-content {
        width: min(100%, 520px);
        min-height: 100%;
        margin-inline-start: auto;
        padding: 24px 20px 40px !important;
        background: var(--gc-paper) !important;
        color: var(--gc-ink);
        box-shadow: var(--gc-shadow-lg);
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    [dir="rtl"] .mobile-nav-content {
        margin-inline-start: 0;
        margin-inline-end: auto;
    }

    .mobile-store-button {
        width: 100%;
        margin-bottom: 18px;
    }

    .enhanced-mobile-menu,
    .mobile-menu > ul {
        display: grid !important;
        gap: 4px;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .enhanced-mobile-menu li,
    .mobile-menu li {
        margin: 0 !important;
        overflow: visible !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .enhanced-mobile-menu a,
    .mobile-menu a {
        min-height: 48px;
        display: flex !important;
        align-items: center;
        padding: 11px 13px !important;
        border-radius: var(--gc-radius-sm) !important;
        background: transparent !important;
        color: var(--gc-ink) !important;
        font-size: 16px !important;
        font-weight: 620 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
        text-decoration: none !important;
        transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--gc-ease-out) !important;
    }

    .enhanced-mobile-menu a:hover,
    .mobile-menu a:hover,
    .enhanced-mobile-menu .current-menu-item > a,
    .mobile-menu .current-menu-item > a {
        background: var(--gc-gold-tint) !important;
        color: var(--gc-gold-deep) !important;
        transform: translateX(3px) !important;
        text-shadow: none !important;
    }

    [dir="rtl"] .enhanced-mobile-menu a:hover,
    [dir="rtl"] .mobile-menu a:hover {
        transform: translateX(-3px) !important;
    }

    .mobile-language-dropdown,
    .mobile-contact-info {
        margin-top: 24px;
        padding-top: 22px !important;
        border-top: 1px solid var(--gc-line) !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: var(--gc-ink) !important;
    }

    .mobile-language-dropdown h4,
    .mobile-contact-info h4 {
        margin: 0 0 12px !important;
        padding: 0 !important;
        border: 0 !important;
        color: var(--gc-ink) !important;
        font-size: 14px !important;
        text-align: start !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
    }

    .mobile-lang-dropdown-btn {
        width: 100%;
    }

    .mobile-lang-dropdown-menu {
        position: static;
        margin-top: 8px;
        box-shadow: none;
    }

    .mobile-contact-items {
        display: grid;
        gap: 8px;
    }

    .mobile-contact-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 11px 13px !important;
        border: 1px solid var(--gc-line) !important;
        border-radius: var(--gc-radius-sm) !important;
        background: var(--gc-cream) !important;
        color: var(--gc-ink) !important;
        text-decoration: none;
    }

    .services-grid-8,
    .products-grid,
    .archive-products-grid,
    .services-grid,
    .posts-grid,
    .articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .article-card-item,
    .service-card-item,
    .article-card-item:nth-child(n),
    .service-card-item:nth-child(n),
    .product-card,
    .service-card,
    .post-card,
    .article-card,
    .search-result-item,
    .products-grid > .product-card:first-child,
    .products-grid > .product-card:nth-child(2),
    .archive-products-grid > .product-card:first-child,
    .archive-products-grid > .product-card:nth-child(2) {
        grid-column: span 1;
    }

    .article-card-item:nth-child(8),
    .service-card-item:nth-child(8) {
        grid-column: span 2;
    }

    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 680px) {
    .container,
    .header-container,
    .footer-content,
    .products-container,
    .services-container,
    .archive-container,
    .search-container,
    .single-container,
    .hero-content {
        width: min(100% - 32px, var(--gc-content)) !important;
    }

    .header-container {
        min-height: 68px;
        padding-block: 7px !important;
    }

    .logo-container {
        height: 48px !important;
    }

    .custom-logo {
        max-width: 142px !important;
        max-height: 46px !important;
    }

    .header-actions {
        gap: 5px;
    }

    .store-button {
        min-height: 40px;
        padding: 9px 13px;
    }

    .search-toggle-btn,
    .mobile-menu-toggle {
        min-width: 40px !important;
        width: 40px !important;
        height: 40px !important;
    }

    .mobile-nav {
        inset-block-start: 68px !important;
        height: calc(100dvh - 68px) !important;
    }

    .admin-bar .mobile-nav {
        inset-block-start: 114px !important;
        height: calc(100dvh - 114px) !important;
    }

    .hero-section {
        min-height: 540px !important;
        padding-block: 70px !important;
    }

    .hero-section::before,
    [dir="rtl"] .hero-section::before {
        background: linear-gradient(180deg, color-mix(in srgb, var(--gc-cream) 94%, transparent), color-mix(in srgb, var(--gc-cream) 70%, transparent));
    }

    .hero-content h1 {
        max-width: 9ch;
        font-size: clamp(42px, 14vw, 60px) !important;
    }

    .hero-content p {
        max-width: 36ch;
        font-size: 17px !important;
    }

    .about-hero,
    .services-hero,
    .products-hero,
    .contact-hero,
    .archive-header,
    .page-header,
    .search-header,
    .service-header {
        padding: 32px 24px !important;
    }

    .services-grid-8,
    .products-grid,
    .archive-products-grid,
    .services-grid,
    .posts-grid,
    .articles-grid,
    .contact-grid,
    .footer-content {
        grid-template-columns: 1fr !important;
    }

    .article-card-item,
    .service-card-item,
    .article-card-item:nth-child(n),
    .service-card-item:nth-child(n),
    .product-card,
    .service-card,
    .post-card,
    .article-card,
    .search-result-item,
    .article-card-item:nth-child(8),
    .service-card-item:nth-child(8) {
        grid-column: 1 !important;
        min-height: 0 !important;
    }

    .article-card-link,
    .service-card-link {
        min-height: 0;
    }

    .article-card-image,
    .service-card-image,
    .article-card-icon,
    .service-card-icon {
        min-height: 170px;
    }

    .contact-grid > div[style*="grid-template-columns"],
    .enhanced-contact-form form > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .logo-name {
        display: none;
    }

    .custom-logo {
        max-width: 112px !important;
    }

    .store-button {
        padding-inline: 11px;
    }

    .store-button i {
        display: none;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    .gc-js .gc-reveal,
    .gc-js .gc-reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}

/* Product catalog: consistent commerce grid and contained pack imagery. */
.products-container,
.post-type-archive-products .main-content > .container,
.product-single > .container {
    width: min(100% - 32px, 1200px) !important;
    margin-inline: auto !important;
}

.products-container {
    padding: clamp(104px, 10vw, 144px) 0 clamp(56px, 7vw, 88px) !important;
}

.post-type-archive-products .main-content > .container,
.product-single > .container {
    padding: clamp(104px, 10vw, 144px) 0 clamp(56px, 7vw, 88px) !important;
}

.products-hero,
.post-type-archive-products .main-content .page-header {
    max-width: 760px;
    margin-inline: auto;
}

.products-hero h1,
.post-type-archive-products .main-content .page-title {
    font-size: clamp(2.25rem, 5vw, 4.75rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.products-grid,
.archive-products-grid,
.products-archive-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch;
    gap: clamp(16px, 2vw, 24px) !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: clamp(28px, 4vw, 48px) auto 0 !important;
}

.products-grid > .product-card:nth-child(n),
.archive-products-grid > .product-card:nth-child(n),
.products-archive-grid > .product-archive-card:nth-child(n) {
    grid-column: auto !important;
}

.products-grid .product-card,
.archive-products-grid .product-card,
.products-archive-grid .product-archive-card {
    display: flex !important;
    flex-direction: column;
    min-width: 0;
    width: 100% !important;
    max-width: none !important;
    height: 100%;
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid var(--gc-line) !important;
    border-color: color-mix(in srgb, var(--gc-gold) 24%, transparent) !important;
    border-radius: 18px !important;
    background: var(--gc-paper) !important;
    box-shadow: 0 16px 44px rgba(21, 17, 8, 0.08) !important;
}

.product-image,
.product-archive-image {
    display: grid !important;
    place-items: center;
    aspect-ratio: 4 / 3;
    height: auto !important;
    min-height: 0 !important;
    padding: clamp(16px, 2.4vw, 28px) !important;
    overflow: hidden;
    border-radius: 0 !important;
    background: var(--gc-gold-tint) !important;
    background: color-mix(in srgb, var(--gc-gold-pale) 38%, var(--gc-paper)) !important;
}

.product-image > a,
.product-archive-image > a {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

.product-image img,
.product-archive-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-height: 260px;
    object-fit: contain !important;
    object-position: center;
    transform: none !important;
}

.product-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

.product-card .product-content,
.product-card .product-info,
.product-archive-card .product-archive-content {
    display: flex !important;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: clamp(20px, 2.4vw, 26px) !important;
    background: var(--gc-paper) !important;
    color: var(--gc-ink) !important;
}

.product-card h3,
.product-archive-title {
    min-height: 2.5em;
    margin: 0 0 10px !important;
    color: var(--gc-ink) !important;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem) !important;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.product-card .product-category,
.product-archive-category span {
    width: fit-content;
    max-width: 100%;
    margin: 0 0 12px !important;
    padding: 5px 9px !important;
    border: 1px solid var(--gc-line-strong);
    border-color: color-mix(in srgb, var(--gc-gold) 42%, transparent);
    border-radius: 5px !important;
    background: transparent !important;
    color: var(--gc-gold-deep) !important;
    font-size: 0.78rem !important;
    font-weight: 700;
}

.product-description,
.product-card .product-info p,
.product-archive-excerpt {
    display: -webkit-box;
    margin: 0 0 18px !important;
    overflow: hidden;
    color: var(--gc-ink-muted) !important;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.product-card .product-price,
.product-archive-price {
    color: var(--gc-gold-deep) !important;
}

.product-card .product-footer,
.product-archive-footer {
    width: 100%;
    margin-top: auto !important;
}

.product-card > .product-content > .product-btn,
.product-card .product-buttons,
.product-archive-btn {
    margin-top: auto !important;
}

.product-card .product-btn,
.product-card .view-details-btn,
.product-archive-btn {
    min-height: 44px;
    padding: 11px 18px !important;
    border: 1px solid var(--gc-gold-deep) !important;
    border-radius: 999px !important;
    background: var(--gc-gold) !important;
    color: #171207 !important;
    box-shadow: 0 9px 20px rgba(196, 151, 32, 0.2) !important;
    font-weight: 800 !important;
    line-height: 1.35;
}

.product-card .product-btn span,
.product-card .view-details-btn span,
.product-archive-btn span {
    color: #171207 !important;
}

.products-filter,
.product-filter,
.subcategory-buttons {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.products-filter .filter-btn,
.product-filter .filter-btn,
.subcategory-buttons .subcategory-btn {
    min-height: 44px;
    margin: 0 !important;
    white-space: nowrap;
}

.product-header {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: center;
}

.product-image-container {
    display: grid;
    place-items: center;
    min-width: 0;
    padding: clamp(18px, 3vw, 34px);
    border: 1px solid var(--gc-line);
    border-color: color-mix(in srgb, var(--gc-gold) 24%, transparent);
    border-radius: 18px;
    background: var(--gc-gold-tint);
    background: color-mix(in srgb, var(--gc-gold-pale) 38%, var(--gc-paper));
}

.product-featured-image {
    width: 100% !important;
    height: min(440px, 55vw) !important;
    object-fit: contain !important;
}

.product-tabs {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
}

.product-tabs .tab-button {
    flex: 0 0 auto;
    min-height: 48px;
    color: var(--gc-ink) !important;
    white-space: nowrap;
}

@media (max-width: 960px) {
    .products-grid,
    .archive-products-grid,
    .products-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 680px) {
    .products-container,
    .post-type-archive-products .main-content > .container,
    .product-single > .container {
        width: min(100% - 24px, 440px) !important;
        padding-top: 88px !important;
        padding-bottom: 48px !important;
    }

    .products-grid,
    .archive-products-grid,
    .products-archive-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px !important;
    }

    .product-image,
    .product-archive-image {
        aspect-ratio: 16 / 11;
    }

    .products-filter,
    .product-filter,
    .subcategory-buttons {
        flex-wrap: nowrap;
        justify-content: flex-start;
        max-width: 100%;
        padding: 2px 2px 8px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
    }

    .product-header {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 24px !important;
    }

    .product-featured-image {
        height: min(360px, 84vw) !important;
    }

    .product-single .product-title {
        font-size: clamp(2rem, 10vw, 3rem) !important;
        overflow-wrap: anywhere;
    }

    .product-tabs .tab-button {
        padding: 12px 16px !important;
        font-size: 1rem !important;
    }
}

@media (hover: hover) and (pointer: fine) {
    .products-grid .product-card:hover,
    .products-archive-grid .product-archive-card:hover {
        transform: translateY(-4px) !important;
        box-shadow: 0 22px 54px rgba(21, 17, 8, 0.13) !important;
    }
}

/* Service pages: remove legacy blue styling and lock the gold system. */
#searchToggleBtn,
#headerSearchContainer,
.header-search-toggle {
    display: none !important;
}

.post-type-archive-services .main-content > .container {
    width: min(100% - 32px, 1200px) !important;
    margin-inline: auto !important;
    padding: clamp(104px, 10vw, 144px) 0 clamp(56px, 7vw, 88px) !important;
}

.services-archive-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch;
    gap: clamp(16px, 2vw, 24px) !important;
}

.service-archive-card,
.page-template-page-services .service-card,
.page-template-page-services .service-detailed-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--gc-line) !important;
    border-radius: 16px !important;
    background: var(--gc-paper) !important;
    box-shadow: var(--gc-shadow-md) !important;
}

.service-archive-header,
.page-template-page-services .service-header,
.page-template-page-services .service-image > div[style*="background"] {
    background: var(--gc-metal-soft) !important;
    color: #171207 !important;
}

.service-archive-header *,
.page-template-page-services .service-header * {
    color: #171207 !important;
}

.service-archive-content,
.page-template-page-services .service-content {
    background: var(--gc-paper) !important;
    color: var(--gc-ink) !important;
}

.service-archive-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.service-archive-excerpt,
.service-archive-features ul,
.page-template-page-services .service-content p,
.page-template-page-services .service-content li {
    color: var(--gc-ink-muted) !important;
}

.service-archive-features h4,
.page-template-page-services .service-content h3 {
    color: var(--gc-ink) !important;
}

.service-archive-features i,
.page-template-page-services .service-content li i {
    color: var(--gc-gold-deep) !important;
}

.service-archive-footer {
    margin-top: auto;
}

.service-archive-btn,
.page-template-page-services .service-cta,
.page-template-page-services .service-content > a {
    min-height: 44px;
    border: 1px solid var(--gc-gold-deep) !important;
    border-radius: 999px !important;
    background: var(--gc-gold) !important;
    color: #171207 !important;
    font-weight: 800 !important;
}

.service-archive-footer > a:not(.service-archive-btn) {
    color: var(--gc-gold-deep) !important;
}

.service-archive-btn:hover,
.page-template-page-services .service-cta:hover,
.page-template-page-services .service-content > a:hover {
    background: var(--gc-gold-bright) !important;
    color: #171207 !important;
}

@media (max-width: 960px) {
    .services-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 680px) {
    .post-type-archive-services .main-content > .container {
        width: min(100% - 24px, 440px) !important;
        padding-top: 88px !important;
        padding-bottom: 48px !important;
    }

    .services-archive-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px !important;
    }

    .service-archive-footer {
        align-items: stretch !important;
    }

    .service-archive-footer a {
        min-height: 44px;
        text-align: center;
    }
}
