/* ==========================================================================
   Artisans Jodhpur: shared editorial theme
   Tokens and components extracted from /blogs and the homepage.
   Loaded once from layouts/home.blade.php, after style.css.
   Sections:
     1. Fonts (self-hosted Inter + Playfair Display, plus legacy family aliases)
     2. Tokens
     3. Base (.aj-page wrapper)
     4. Components (aj-*)
     5. Legacy compatibility layer (scoped to .aj-page)
     6. Header, mini cart, mobile menu
     7. Footer
     8. Page-level styles
     9. Reduced motion (kept last)
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
/* Inter (latin + latin-ext) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
    src: url('../fonts/editorial/inter-latin-400-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
    src: url('../fonts/editorial/inter-latin-ext-400-normal.woff2') format('woff2');
    unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
    src: url('../fonts/editorial/inter-latin-500-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
    src: url('../fonts/editorial/inter-latin-ext-500-normal.woff2') format('woff2');
    unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
    src: url('../fonts/editorial/inter-latin-600-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
    src: url('../fonts/editorial/inter-latin-ext-600-normal.woff2') format('woff2');
    unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
    src: url('../fonts/editorial/inter-latin-700-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
    src: url('../fonts/editorial/inter-latin-ext-700-normal.woff2') format('woff2');
    unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* Playfair Display (latin + latin-ext) */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap;
    src: url('../fonts/editorial/playfair-display-latin-600-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap;
    src: url('../fonts/editorial/playfair-display-latin-ext-600-normal.woff2') format('woff2');
    unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap;
    src: url('../fonts/editorial/playfair-display-latin-700-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap;
    src: url('../fonts/editorial/playfair-display-latin-ext-700-normal.woff2') format('woff2');
    unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 700; font-display: swap;
    src: url('../fonts/editorial/playfair-display-latin-700-italic.woff2') format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 700; font-display: swap;
    src: url('../fonts/editorial/playfair-display-latin-ext-700-italic.woff2') format('woff2');
    unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* Legacy family aliases.
   style.css still names Montserrat, Poppins, Lora and Great Vibes in ~50 rules.
   Those families are no longer requested from Google Fonts, so these aliases
   point the old names at the two self-hosted families (same files, so no extra
   downloads): Montserrat/Poppins -> Inter, Lora -> Playfair, Great Vibes -> Playfair italic. */
@font-face { font-family: 'Montserrat'; font-weight: 100 450; font-display: swap; src: url('../fonts/editorial/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 451 550; font-display: swap; src: url('../fonts/editorial/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 551 650; font-display: swap; src: url('../fonts/editorial/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 651 900; font-display: swap; src: url('../fonts/editorial/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 100 450; font-display: swap; src: url('../fonts/editorial/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 451 550; font-display: swap; src: url('../fonts/editorial/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 551 650; font-display: swap; src: url('../fonts/editorial/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 651 900; font-display: swap; src: url('../fonts/editorial/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lora'; font-weight: 100 650; font-display: swap; src: url('../fonts/editorial/playfair-display-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lora'; font-weight: 651 900; font-display: swap; src: url('../fonts/editorial/playfair-display-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Great Vibes'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/editorial/playfair-display-latin-700-italic.woff2') format('woff2'); }

/* 2. Tokens --------------------------------------------------------------- */
:root {
    --aj-bg: #FAF6F0;
    --aj-surface: #FFFFFF;
    --aj-plaster: #F2ECE1;
    --aj-ink: #2B1D14;
    --aj-heading: #3B2313;
    --aj-muted: #5C3A21;
    --aj-muted-soft: rgba(92, 58, 33, .8);
    --aj-gold: #C89D54;            /* decorative only: borders, rules, hover fills */
    --aj-gold-40: rgba(200, 157, 84, .4);
    --aj-gold-text: #8A6326;       /* gold-coloured text, >= 4.5:1 on cream */
    --aj-border: rgba(59, 35, 19, .11);
    --aj-border-strong: rgba(59, 35, 19, .2);
    --aj-hairline: rgba(59, 35, 19, .09);
    --aj-shadow: 0 6px 20px rgba(59, 35, 19, .05);
    --aj-shadow-hover: 0 12px 28px rgba(59, 35, 19, .10);
    --aj-radius: 16px;
    --aj-radius-sm: 8px;
    --aj-radius-pill: 999px;
    --aj-container: 1180px;
    --aj-font-serif: 'Playfair Display', Georgia, serif;
    --aj-font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --aj-focus: 2px solid var(--aj-gold);
}

/* 3. Base ----------------------------------------------------------------- */
body {
    background-color: var(--aj-bg);
    font-family: var(--aj-font-sans);
    color: var(--aj-ink);
}

.aj-page {
    display: block;
    background-color: var(--aj-bg);
    color: var(--aj-ink);
    font-family: var(--aj-font-sans);
    font-size: 16px;
    line-height: 1.65;
}

.aj-page h1, .aj-page h2, .aj-page h3, .aj-page h4,
.aj-page .h1, .aj-page .h2, .aj-page .h3 {
    font-family: var(--aj-font-serif);
    color: var(--aj-heading);
    font-weight: 700;
    line-height: 1.3;
}
.aj-page h5, .aj-page h6 {
    font-family: var(--aj-font-sans);
    color: var(--aj-heading);
    font-weight: 600;
}

.aj-page p {
    font-family: var(--aj-font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--aj-muted);
}

.aj-page li, .aj-page input, .aj-page button, .aj-page select,
.aj-page textarea, .aj-page label, .aj-page td, .aj-page th {
    font-family: var(--aj-font-sans);
}

/* Low specificity so component and legacy button classes always win. */
:where(.aj-page) a { color: var(--aj-heading); }
:where(.aj-page) a:hover { color: var(--aj-gold-text); }

.aj-page a:focus-visible, .aj-page button:focus-visible, .aj-page input:focus-visible,
.aj-page select:focus-visible, .aj-page textarea:focus-visible, .aj-page summary:focus-visible,
.aj-page [tabindex]:focus-visible,
.header-area a:focus-visible, .header-area button:focus-visible, .header-area input:focus-visible,
.footer-area a:focus-visible, .footer-area select:focus-visible,
.sidebar-cart-active a:focus-visible, .off-canvas-active a:focus-visible {
    outline: var(--aj-focus);
    outline-offset: 2px;
    box-shadow: none;
}

.aj-page img { max-width: 100%; }

.aj-skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 10000;
    background: var(--aj-heading);
    color: var(--aj-bg) !important;
    padding: 10px 16px;
    border-radius: var(--aj-radius-sm);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}
.aj-skip-link:focus { top: 12px; }

/* 4. Components ----------------------------------------------------------- */
.aj-container {
    max-width: var(--aj-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

.aj-section { padding: 48px 0; }
@media (min-width: 768px) { .aj-section { padding: 56px 0; } }

/* Page header (matches .aj-blogs-header) */
.aj-page-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 16px 32px;
}
@media (min-width: 768px) { .aj-page-header { padding: 48px 16px 40px; } }
.aj-page-header h1,
.aj-page-header .aj-page-title {
    font-family: var(--aj-font-serif);
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--aj-heading);
    margin: 0 0 12px;
}
.aj-page-header .aj-page-intro,
.aj-page-header > p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--aj-muted);
    margin: 0;
}

/* Breadcrumb */
.aj-breadcrumb {
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--aj-muted-soft);
    margin-bottom: 12px;
}
.aj-breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 0;
}
.aj-breadcrumb li {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    line-height: 1.6;
}
.aj-breadcrumb li + li::before {
    content: "/";
    padding: 0 .6em;
    color: var(--aj-muted-soft);
}
.aj-breadcrumb a { color: var(--aj-muted); text-decoration: none; }
.aj-breadcrumb a:hover { color: var(--aj-heading); text-decoration: underline; text-decoration-color: var(--aj-gold); text-underline-offset: 3px; }
.aj-breadcrumb [aria-current="page"] { color: var(--aj-gold-text); font-weight: 600; }

/* Section title */
.aj-section-title {
    text-align: center;
    margin: 0 auto 32px;
    max-width: 760px;
}
.aj-section-title h2,
.aj-section-title .aj-section-title-text {
    font-family: var(--aj-font-serif);
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--aj-heading);
    margin: 0;
}
.aj-section-title h2::after,
.aj-section-title .aj-section-title-text::after {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    background: var(--aj-gold);
    margin: 14px auto 0;
}
.aj-section-title p { margin: 12px 0 0; }
.aj-section-title--left { text-align: left; margin-left: 0; }
.aj-section-title--left h2::after { margin-left: 0; }

/* Card (matches .aj-blog-card) */
.aj-card {
    background: var(--aj-surface);
    border-radius: var(--aj-radius);
    border: 1px solid var(--aj-border);
    box-shadow: var(--aj-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.aj-card:hover { transform: translateY(-3px); box-shadow: var(--aj-shadow-hover); }
.aj-card--static:hover { transform: none; box-shadow: var(--aj-shadow); }
.aj-card-img {
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--aj-plaster);
    overflow: hidden;
}
.aj-card-img--square { aspect-ratio: 1 / 1; }
.aj-card-img--video { aspect-ratio: 16 / 9; }
.aj-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aj-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.aj-card-body h2, .aj-card-body h3, .aj-card-title {
    font-family: var(--aj-font-serif);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.32;
    color: var(--aj-heading);
    margin: 0 0 10px;
}
.aj-card-body h2 a, .aj-card-body h3 a, .aj-card-title a { color: var(--aj-heading); text-decoration: none; }
.aj-card-body h2 a:hover, .aj-card-body h3 a:hover, .aj-card-title a:hover { color: var(--aj-gold-text); }
.aj-card-body p { font-size: 14px; line-height: 1.65; margin: 0 0 16px; flex: 1; }
.aj-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--aj-muted-soft);
}
.aj-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
@media (max-width: 575px) { .aj-grid { grid-template-columns: 1fr; } }
.aj-grid--2 { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
@media (min-width: 768px) { .aj-grid--2 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; } }

/* Pill */
.aj-pill {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    line-height: 1.5;
    padding: 3px 9px;
    border-radius: var(--aj-radius-pill);
    background: var(--aj-plaster);
    color: var(--aj-heading);
    border: 1px solid var(--aj-gold-40);
}

/* Buttons */
.aj-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    background-color: var(--aj-heading);
    border: 1.5px solid var(--aj-heading);
    color: var(--aj-bg);
    border-radius: var(--aj-radius-sm);
    padding: 11px 24px;
    font-family: var(--aj-font-sans);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.aj-btn:hover, .aj-btn:focus-visible {
    background-color: var(--aj-gold);
    border-color: var(--aj-gold);
    color: var(--aj-ink);
    transform: translateY(-1px);
}
.aj-btn--outline {
    background-color: transparent;
    color: var(--aj-heading);
}
.aj-btn--outline:hover, .aj-btn--outline:focus-visible {
    background-color: var(--aj-plaster);
    border-color: var(--aj-gold);
    color: var(--aj-heading);
    transform: none;
}
.aj-btn--block { display: flex; width: 100%; }
.aj-btn[disabled], .aj-btn.disabled { opacity: .55; pointer-events: none; }

/* Text link CTA (matches .aj-blog-read-link) */
.aj-link-cta {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--aj-heading);
    text-decoration: underline;
    text-decoration-color: var(--aj-gold);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
.aj-link-cta:hover { color: var(--aj-gold-text); }

/* Band */
.aj-band {
    background-color: var(--aj-plaster);
    border-top: 1px solid var(--aj-hairline);
    border-bottom: 1px solid var(--aj-hairline);
    padding-top: 64px;
    padding-bottom: 64px;
}
@media (max-width: 767px) { .aj-band { padding-top: 48px; padding-bottom: 48px; } }

/* Surface panel (forms, sidebars) */
.aj-panel {
    background: var(--aj-surface);
    border: 1px solid var(--aj-border);
    border-radius: var(--aj-radius);
    box-shadow: var(--aj-shadow);
    padding: 24px;
}
@media (min-width: 768px) { .aj-panel { padding: 32px; } }

/* Forms */
.aj-form label, .aj-page .aj-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--aj-heading);
    margin-bottom: 6px;
}
.aj-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=file]),
.aj-form select,
.aj-form textarea {
    width: 100%;
    background: var(--aj-surface);
    border: 1px solid var(--aj-border-strong);
    border-radius: var(--aj-radius-sm);
    min-height: 44px;
    padding: 10px 14px;
    font-family: var(--aj-font-sans);
    font-size: 16px;
    color: var(--aj-ink);
    box-shadow: none;
}
.aj-form textarea { min-height: 140px; }
.aj-form input:focus, .aj-form select:focus, .aj-form textarea:focus { border-color: var(--aj-gold); }
.aj-form input:focus-visible, .aj-form select:focus-visible, .aj-form textarea:focus-visible {
    outline: var(--aj-focus);
    outline-offset: 2px;
}

/* Tables */
.aj-table, .aj-page .aj-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--aj-surface);
    border: 1px solid var(--aj-border);
    border-radius: var(--aj-radius);
    overflow: hidden;
}
.aj-table th {
    background: var(--aj-plaster);
    color: var(--aj-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 12px 16px;
    border-bottom: 1px solid var(--aj-border);
}
.aj-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--aj-border);
    color: var(--aj-ink);
    vertical-align: middle;
}
.aj-table tr:last-child td { border-bottom: 0; }
.aj-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Prose (CMS / rich text) */
.aj-prose {
    color: var(--aj-muted);
    font-size: 16px;
    line-height: 1.75;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    overflow-wrap: break-word;
}
.aj-prose--wide { max-width: none; }
.aj-prose > :first-child { margin-top: 0; }
.aj-prose p, .aj-prose li { font-size: 16px; line-height: 1.75; color: var(--aj-muted); }
.aj-prose p { margin: 0 0 1.1em; }
.aj-prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 1.8em 0 .6em; }
.aj-prose h3 { font-size: clamp(19px, 2vw, 22px); margin: 1.5em 0 .5em; }
.aj-prose h4 { font-size: 18px; margin: 1.3em 0 .5em; }
.aj-prose ul, .aj-prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.aj-prose ul { list-style: disc; }
.aj-prose ol { list-style: decimal; }
.aj-prose li { margin-bottom: .4em; }
.aj-prose li::marker { color: var(--aj-gold-text); }
.aj-prose a {
    color: var(--aj-heading);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--aj-gold);
    text-underline-offset: 4px;
}
.aj-prose a:hover { color: var(--aj-gold-text); }
.aj-prose strong, .aj-prose b { color: var(--aj-ink); font-weight: 600; }
.aj-prose img { height: auto; border-radius: var(--aj-radius-sm); margin: 1em 0; }
.aj-prose blockquote {
    border-left: 3px solid var(--aj-gold);
    background: var(--aj-plaster);
    padding: 16px 20px;
    margin: 1.4em 0;
    border-radius: 0 var(--aj-radius-sm) var(--aj-radius-sm) 0;
    font-family: var(--aj-font-serif);
    font-style: italic;
    color: var(--aj-heading);
}
.aj-prose table {
    width: 100%;
    margin: 1.4em 0;
    border-collapse: collapse;
    font-size: 15px;
    display: block;
    overflow-x: auto;
}
.aj-prose th, .aj-prose td { border: 1px solid var(--aj-border); padding: 10px 12px; text-align: left; }
.aj-prose th { background: var(--aj-plaster); color: var(--aj-heading); font-weight: 600; }
.aj-prose hr { border: 0; border-top: 1px solid var(--aj-gold-40); margin: 2em 0; opacity: 1; }
.aj-prose iframe, .aj-prose video { max-width: 100%; }

/* Facts list (trust signals) */
.aj-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.aj-facts li {
    background: var(--aj-surface);
    border: 1px solid var(--aj-border);
    border-radius: var(--aj-radius-sm);
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--aj-muted);
}
.aj-facts strong { display: block; color: var(--aj-heading); font-weight: 600; }

/* Notice / alert */
.aj-notice {
    background: var(--aj-plaster);
    border: 1px solid var(--aj-gold-40);
    border-left: 3px solid var(--aj-gold);
    border-radius: var(--aj-radius-sm);
    padding: 14px 18px;
    color: var(--aj-ink);
    font-size: 15px;
}

/* 5. Legacy compatibility layer (scoped to .aj-page) ----------------------- */

/* Legacy breadcrumb band (pages not yet on <x-page-header>) */
.aj-page .bg-gray-4,
.aj-page .breadcrumb-area {
    background-color: var(--aj-bg) !important;
}
.aj-page .breadcrumb-area::before { display: none; }
.aj-page .breadcrumb-content { max-width: 680px; margin: 0 auto; }
.aj-page .breadcrumb-content h1,
.aj-page .breadcrumb-content h2 {
    font-family: var(--aj-font-serif);
    font-size: clamp(28px, 3.6vw, 44px);
    color: var(--aj-heading);
    line-height: 1.25;
}
.aj-page .breadcrumb-content ul li,
.aj-page .breadcrumb-content ul li a {
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--aj-muted);
}
.aj-page .breadcrumb-content ul li:last-child { color: var(--aj-gold-text); font-weight: 600; }

/* Gray utility backgrounds inside pages become plaster */
.aj-page .bg-gray, .aj-page .bg-gray-2, .aj-page .bg-gray-3 { background-color: var(--aj-plaster) !important; }

/* Section titles */
.aj-page .section-title-2 h2,
.aj-page .section-title-3 h2,
.aj-page .section-title h2 {
    font-family: var(--aj-font-serif);
    color: var(--aj-heading);
    font-weight: 700;
}
.aj-page .section-title-2 h2::before,
.aj-page .section-title-2 h2::after,
.aj-page .st-border-center h2::before,
.aj-page .st-border-center h2::after {
    background-color: var(--aj-gold) !important;
}

/* Bootstrap buttons */
.aj-page .btn-info,
.aj-page .btn-primary,
.aj-page .btn-dark {
    background-color: var(--aj-heading) !important;
    border: 1.5px solid var(--aj-heading) !important;
    color: var(--aj-bg) !important;
    border-radius: var(--aj-radius-sm);
    padding: 11px 24px;
    font-weight: 600;
    font-size: 14px;
    min-height: 44px;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.aj-page .btn-info:hover, .aj-page .btn-info:focus-visible,
.aj-page .btn-primary:hover, .aj-page .btn-primary:focus-visible,
.aj-page .btn-dark:hover, .aj-page .btn-dark:focus-visible {
    background-color: var(--aj-gold) !important;
    border-color: var(--aj-gold) !important;
    color: var(--aj-ink) !important;
    transform: translateY(-1px);
}
.aj-page .btn-sm.btn-info, .aj-page .btn-sm.btn-primary, .aj-page .btn-sm.btn-dark { padding: 8px 16px; min-height: 36px; }
.aj-page .btn-outline-dark,
.aj-page .btn-outline-primary,
.aj-page .btn-outline-secondary {
    background-color: transparent !important;
    border: 1.5px solid var(--aj-heading) !important;
    color: var(--aj-heading) !important;
    border-radius: var(--aj-radius-sm);
    padding: 11px 24px;
    font-weight: 600;
    font-size: 14px;
    min-height: 44px;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.aj-page .btn-outline-dark:hover, .aj-page .btn-outline-primary:hover, .aj-page .btn-outline-secondary:hover {
    background-color: var(--aj-plaster) !important;
    border-color: var(--aj-gold) !important;
    color: var(--aj-heading) !important;
}

/* Theme "btn-hover" buttons (sliding fill) -> editorial primary */
.aj-page .btn-hover a.theme-color::after, .aj-page .btn-hover button.theme-color::after,
.aj-page .btn-hover a::after, .aj-page .btn-hover button::after { background: var(--aj-gold); }
.aj-page .btn-hover a:hover, .aj-page .btn-hover button:hover { color: var(--aj-ink); }

/* Product / category cards */
.aj-page .product-wrap {
    background: var(--aj-surface);
    border-radius: var(--aj-radius);
    border: 1px solid var(--aj-border) !important;
    box-shadow: var(--aj-shadow);
    overflow: hidden;
    padding: 0;
    transition: transform .2s ease, box-shadow .2s ease;
}
.aj-page .product-wrap:hover { transform: translateY(-3px); box-shadow: var(--aj-shadow-hover); }
.aj-page .product-wrap .product-img {
    background: var(--aj-plaster);
    border: none !important;
    margin-bottom: 0 !important;
}
.aj-page .product-wrap .product-img img { width: 100%; height: auto; }
.aj-page .product-wrap .product-content {
    padding: 14px 16px 16px;
    background: var(--aj-surface);
}
.aj-page .product-wrap .product-content h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.35;
}
.aj-page .product-wrap .product-content h3 a {
    font-family: var(--aj-font-serif);
    color: var(--aj-heading);
    text-decoration: none;
    transition: color .2s ease;
}
.aj-page .product-wrap .product-content h3 a:hover { color: var(--aj-gold-text); }
.aj-page .product-action-btn-2 {
    background-color: var(--aj-heading);
    color: var(--aj-bg);
    border-radius: var(--aj-radius-sm);
    font-family: var(--aj-font-sans);
    font-weight: 600;
    font-size: 13px;
    border: 0;
    min-height: 40px;
}
.aj-page .product-action-btn-2:hover { background-color: var(--aj-gold); color: var(--aj-ink); }
.aj-page .product-badge span { font-family: var(--aj-font-sans); }

/* Video / banner / testimonial / blog cards */
.aj-page .banner-wrap,
.aj-page .single-testimonial,
.aj-page .blog-wrap {
    background: var(--aj-surface);
    border-radius: var(--aj-radius);
    border: 1px solid var(--aj-border);
    box-shadow: var(--aj-shadow);
    overflow: hidden;
}

/* Pagination (partials/pagination + Bootstrap) */
.aj-page .pagination-style-1 ul { gap: 6px; flex-wrap: wrap; }
.aj-page .pagination-style-1 ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    width: auto;
    height: 44px;
    line-height: 1;
    padding: 0 10px;
    margin: 0;
    border-radius: var(--aj-radius-sm);
    border: 1px solid var(--aj-border);
    background: var(--aj-surface);
    color: var(--aj-heading);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}
.aj-page .pagination-style-1 ul li a[href]:hover { border-color: var(--aj-gold); background: var(--aj-plaster); color: var(--aj-heading); }
.aj-page .pagination-style-1 ul li a.active,
.aj-page .pagination-style-1 ul li [aria-current="page"] {
    background-color: var(--aj-heading);
    border-color: var(--aj-heading);
    color: var(--aj-bg);
}
.aj-page .pagination-style-1 ul li a:not([href]):not(.active) { opacity: .45; }
.aj-page .pagination-style-1 .aj-page-gap {
    display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 44px; color: var(--aj-muted);
}
.aj-page .pagination .page-link {
    color: var(--aj-heading);
    border-color: var(--aj-border);
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.aj-page .pagination .page-item.active .page-link { background-color: var(--aj-heading); border-color: var(--aj-heading); color: var(--aj-bg); }

/* Form controls */
.aj-page .form-control,
.aj-page .form-select,
.aj-page input[type=text], .aj-page input[type=email], .aj-page input[type=password],
.aj-page input[type=tel], .aj-page input[type=number], .aj-page input[type=search], .aj-page input[type=url],
.aj-page textarea, .aj-page select:not(.nice-select-hidden) {
    background-color: var(--aj-surface);
    border: 1px solid var(--aj-border-strong);
    border-radius: var(--aj-radius-sm);
    color: var(--aj-ink);
    font-family: var(--aj-font-sans);
    font-size: 16px;
    min-height: 44px;
    box-shadow: none;
}
.aj-page .form-control:focus, .aj-page .form-select:focus,
.aj-page input:focus, .aj-page textarea:focus, .aj-page select:focus {
    border-color: var(--aj-gold);
    box-shadow: none;
}
.aj-page .form-label, .aj-page label { color: var(--aj-heading); font-weight: 500; }
.aj-page .form-check-input:checked { background-color: var(--aj-heading); border-color: var(--aj-heading); }
.aj-page ::placeholder { color: rgba(92, 58, 33, .6); opacity: 1; }

/* nice-select / select2 / bootstrap-select */
.aj-page .nice-select {
    background-color: var(--aj-surface);
    border: 1px solid var(--aj-border-strong);
    border-radius: var(--aj-radius-sm);
    min-height: 44px;
    line-height: 42px;
    font-family: var(--aj-font-sans);
    font-size: 15px;
    color: var(--aj-ink);
}
.aj-page .nice-select:after { border-color: var(--aj-muted); }
.aj-page .nice-select.open, .aj-page .nice-select:focus { border-color: var(--aj-gold); }
.aj-page .nice-select .list { border-radius: var(--aj-radius-sm); border: 1px solid var(--aj-border); box-shadow: var(--aj-shadow-hover); }
.aj-page .nice-select .option.selected { font-weight: 600; color: var(--aj-heading); }
.aj-page .nice-select .option:hover, .aj-page .nice-select .option.focus { background-color: var(--aj-plaster); }
.aj-page .select2-container--default .select2-selection--single,
.aj-page .select2-container--default .select2-selection--multiple {
    border: 1px solid var(--aj-border-strong);
    border-radius: var(--aj-radius-sm);
    min-height: 44px;
}
.aj-page .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 42px; color: var(--aj-ink); }
.aj-page .select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }
.aj-page .bootstrap-select > .dropdown-toggle {
    background: var(--aj-surface);
    border: 1px solid var(--aj-border-strong);
    border-radius: var(--aj-radius-sm);
    min-height: 44px;
    color: var(--aj-ink);
}

/* Tables */
.aj-page table.table {
    --bs-table-bg: var(--aj-surface);
    color: var(--aj-ink);
    border-color: var(--aj-border);
}
.aj-page table.table thead th {
    background: var(--aj-plaster);
    color: var(--aj-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-color: var(--aj-border);
}

/* Bootstrap alerts inside pages */
.aj-page .alert { border-radius: var(--aj-radius-sm); }

/* Accordions (FAQ) */
.aj-page .accordion-item { border-color: var(--aj-border); background: var(--aj-surface); }
.aj-page .accordion-button { font-family: var(--aj-font-sans); font-weight: 600; color: var(--aj-heading); min-height: 44px; }
.aj-page .accordion-button:not(.collapsed) { background: var(--aj-plaster); color: var(--aj-heading); box-shadow: none; }
.aj-page .accordion-button:focus { box-shadow: none; }

/* 6. Header, mini cart, mobile menu --------------------------------------- */
.header-area { background-color: var(--aj-surface); border-bottom: 1px solid var(--aj-hairline); }
.header-area .header-bottom { background-color: var(--aj-surface); }
.sticky-bar.stick { background-color: var(--aj-surface); box-shadow: 0 6px 20px rgba(59, 35, 19, .08); }
.main-menu > nav > ul > li > a {
    font-family: var(--aj-font-sans);
    font-weight: 500;
    font-size: 14.5px;
    color: var(--aj-heading);
    letter-spacing: .01em;
}
.main-menu > nav > ul > li > a::after { background-color: var(--aj-gold); bottom: 26px; }
.stick .main-menu > nav > ul > li > a::after { bottom: 26px; }
.main-menu > nav > ul > li:hover > a,
.main-menu > nav > ul > li > a[aria-current="page"] { color: var(--aj-heading); }
.main-menu > nav > ul > li > a[aria-current="page"]::after { left: 0; right: auto; width: 100%; }
.main-menu > nav > ul > li > ul { border-radius: var(--aj-radius-sm); border: 1px solid var(--aj-border); box-shadow: var(--aj-shadow-hover); }
.main-menu > nav > ul > li > ul li a { font-family: var(--aj-font-sans); color: var(--aj-muted); }
.main-menu > nav > ul > li > ul li:hover > a { color: var(--aj-gold-text); }
.header-action-wrap .header-action-style a,
.header-action-wrap .header-action-style > a {
    color: var(--aj-heading);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}
.header-action-wrap .header-action-style a:hover { color: var(--aj-gold-text); }
.header-action-wrap .product-count.bg-black { background-color: var(--aj-heading) !important; color: var(--aj-bg); font-family: var(--aj-font-sans); }
.header-search-1 .search-wrap-1 form { border-radius: var(--aj-radius-sm); border: 1px solid var(--aj-border-strong); background: var(--aj-surface); overflow: hidden; }
.header-search-1 .search-wrap-1 form input { font-family: var(--aj-font-sans); font-size: 16px; color: var(--aj-ink); min-height: 44px; }
.header-search-1 .search-wrap-1 form .button-search { color: var(--aj-heading); min-width: 44px; }

/* Mini cart (enquiry cart sidebar) */
.sidebar-cart-active .sidebar-cart-all { background-color: var(--aj-bg); }
.sidebar-cart-active .sidebar-cart-all .cart-content > h3 { font-family: var(--aj-font-serif); color: var(--aj-heading); font-weight: 700; }
.sidebar-cart-active .sidebar-cart-all .cart-content ul li { border-bottom: 1px solid var(--aj-border); }
.sidebar-cart-active .sidebar-cart-all .cart-content .cart-title h4 a { font-family: var(--aj-font-serif); color: var(--aj-heading); }
.sidebar-cart-active .sidebar-cart-all .cart-content .cart-title span { color: var(--aj-muted); font-family: var(--aj-font-sans); }
.sidebar-cart-active .sidebar-cart-all .cart-content .cart-total h4 { font-family: var(--aj-font-sans); color: var(--aj-muted); font-weight: 500; }
.sidebar-cart-active .sidebar-cart-all .cart-content .cart-btn a,
.sidebar-cart-active .sidebar-cart-all .cart-content .checkout-btn a {
    border-radius: var(--aj-radius-sm);
    font-family: var(--aj-font-sans);
    font-weight: 600;
    font-size: 14px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}
/* "view cart" = secondary (outline) */
.sidebar-cart-active .sidebar-cart-all .cart-content .cart-btn a {
    background-color: transparent;
    border: 1.5px solid var(--aj-heading);
    color: var(--aj-heading);
}
.sidebar-cart-active .sidebar-cart-all .cart-content .cart-btn a::before { background: transparent; }
.sidebar-cart-active .sidebar-cart-all .cart-content .cart-btn a::after { background: var(--aj-plaster); }
.sidebar-cart-active .sidebar-cart-all .cart-content .cart-btn a:hover { color: var(--aj-heading); border-color: var(--aj-gold); }
/* "Send Enquiry" = primary CTA */
.sidebar-cart-active .sidebar-cart-all .cart-content .checkout-btn a {
    background-color: var(--aj-heading);
    border: 1.5px solid var(--aj-heading);
    color: var(--aj-bg);
}
.sidebar-cart-active .sidebar-cart-all .cart-content .checkout-btn a::before { background: var(--aj-heading); }
.sidebar-cart-active .sidebar-cart-all .cart-content .checkout-btn a::after { background: var(--aj-gold); }
.sidebar-cart-active .sidebar-cart-all .cart-content .checkout-btn a:hover { color: var(--aj-ink); border-color: var(--aj-gold); }
.sidebar-cart-active .sidebar-cart-all .cart-close { color: var(--aj-heading); }

/* Mobile off-canvas menu (slinky) */
.off-canvas-active .off-canvas-wrap { background-color: var(--aj-bg); }
.off-canvas-active .slinky-mobile-menu a,
.off-canvas-active .slinky-mobile-menu a span {
    font-family: var(--aj-font-sans);
    color: var(--aj-heading);
    font-weight: 500;
}
.off-canvas-active .slinky-mobile-menu li { border-bottom: 1px solid var(--aj-hairline); }
.off-canvas-active .slinky-mobile-menu a { min-height: 44px; display: flex; align-items: center; }
.off-canvas-active .slinky-mobile-menu a:hover span { color: var(--aj-gold-text); }

/* 7. Footer --------------------------------------------------------------- */
.footer-area { background-color: var(--aj-heading); color: var(--aj-bg); }
.footer-area .bg-gray-2,
.footer-area .bg-gray-3 { background-color: var(--aj-heading) !important; }
.footer-area .footer-top { border-bottom: 1px solid rgba(200, 157, 84, .45); }
.footer-area p,
.footer-area li,
.footer-area span,
.footer-area .footer-address ul li,
.footer-area .footer-address ul li span,
.footer-area .footer-about p {
    color: rgba(250, 246, 240, .86);
    font-family: var(--aj-font-sans);
}
.footer-area .footer-widget h3.footer-title {
    font-family: var(--aj-font-serif);
    color: var(--aj-bg);
    font-weight: 700;
    font-size: 19px;
}
.footer-area .footer-list ul { flex-wrap: wrap; gap: 4px 0; }
.footer-area .footer-list ul li a,
.footer-area a {
    color: var(--aj-bg);
    font-family: var(--aj-font-sans);
    font-weight: 400;
    text-decoration: none;
}
.footer-area .footer-list ul li a { font-size: 15px; display: inline-block; padding: 8px 0; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; transition: text-decoration-color .2s ease; }
.footer-area .footer-list ul li a:hover,
.footer-area a:hover { color: var(--aj-bg); text-decoration-color: var(--aj-gold); }
.footer-area .socials { gap: 4px; padding-bottom: 8px; }
.footer-area .socials a {
    width: 44px;
    height: 44px;
    margin: 0 2px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--aj-radius-pill);
    background: rgba(250, 246, 240, .08);
    transition: background-color .2s ease;
}
.footer-area .socials a:hover { background: rgba(200, 157, 84, .35); }
.footer-area .socials a > img { width: 26px; height: 26px; }
.footer-area .change_lang {
    width: auto !important;
    min-width: 120px;
    min-height: 44px;
    margin: 0 0 10px 8px;
    padding: 0 12px;
    background: transparent;
    color: var(--aj-bg);
    border: 1px solid rgba(200, 157, 84, .6);
    border-radius: var(--aj-radius-sm);
    font-family: var(--aj-font-sans);
    font-size: 14px;
}
.footer-area .change_lang option { color: var(--aj-ink); background: var(--aj-surface); }
.footer-area .footer-logo img { filter: brightness(0) invert(.95); } /* dark logo file on the dark footer */
.footer-area .copyright { padding: 18px 0 16px; }
.footer-area .copyright p { color: rgba(250, 246, 240, .75); font-size: 13px; font-weight: 400; }

/* 8. Page-level styles ------------------------------------------------------ */

/* Images that carry width/height attributes keep their ratio when scaled down. */
.aj-page img[width][height] { height: auto; }

/* Legacy breadcrumb list (icon separators) inside .aj-breadcrumb */
.aj-breadcrumb ul { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 0; padding: 0; }
.aj-breadcrumb ul li + li::before { content: none; }
.aj-breadcrumb ul li { color: var(--aj-muted-soft); }
.aj-breadcrumb ul li a { color: var(--aj-muted); text-decoration: none; }
.aj-breadcrumb ul li:last-child { color: var(--aj-gold-text); font-weight: 600; }
.aj-breadcrumb ul li i { font-size: 9px; }
.aj-breadcrumb--left { text-align: left; }
.aj-breadcrumb--left ul, .aj-breadcrumb--left ol { justify-content: flex-start; }
.aj-page .breadcrumb-content.aj-breadcrumb ul li,
.aj-page .breadcrumb-content.aj-breadcrumb ul li a { font-size: 12px; }
.aj-page-header--crumbs-only { padding-bottom: 8px; }

/* Shared product/category card title (h2 on listing pages, sized like the h3 cards) */
.aj-page .product-wrap .product-content h2,
.aj-page .aj-product-title {
    font-family: var(--aj-font-serif);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 6px;
    color: var(--aj-heading);
}
.aj-page .product-wrap .product-content h2 a {
    color: var(--aj-heading);
    text-decoration: none;
    transition: color .2s ease;
}
.aj-page .product-wrap .product-content h2 a:hover { color: var(--aj-gold-text); }
@media (max-width: 575px) {
    .aj-page .product-wrap .product-content h2,
    .aj-page .product-wrap .product-content h3 { font-size: 15px; }
    .aj-page .product-wrap .product-content { padding: 12px 12px 14px; }
}

/* Square image box for product/category thumbnails (prevents layout shift) */
.aj-page .aj-product-thumb {
    display: block;
    aspect-ratio: 1 / 1;
    background: var(--aj-plaster);
    overflow: hidden;
}
.aj-page .aj-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.aj-page .product-wrap .product-price span,
.aj-page .aj-price-note { color: var(--aj-muted); }
.aj-page .product-wrap .addToCart { margin-top: 8px; }

/* Listing page: topbar, intro, sidebar */
.aj-page-header--listing { padding-bottom: 16px; }
.aj-category-intro { padding-top: 8px; }
.aj-category-intro h2 { font-size: clamp(20px, 2.2vw, 26px); }
.aj-category-intro p { max-width: 760px; margin-left: auto; margin-right: auto; }
.aj-page .shop-topbar-wrapper {
    background: var(--aj-surface);
    border: 1px solid var(--aj-border);
    border-radius: var(--aj-radius-sm);
    padding: 12px 16px;
}
.aj-page .shop-topbar-wrapper .shop-topbar-left span,
.aj-page .showing-item span { color: var(--aj-muted); font-size: 14px; font-family: var(--aj-font-sans); }
.aj-sidebar .sidebar-widget {
    background: var(--aj-surface);
    border: 1px solid var(--aj-border);
    border-radius: var(--aj-radius);
    box-shadow: var(--aj-shadow);
    padding: 20px;
}
.aj-sidebar .sidebar-widget.sidebar-widget-border { border-bottom: 1px solid var(--aj-border); }
.aj-sidebar .sidebar-widget .sidebar-widget-title h3 {
    font-family: var(--aj-font-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--aj-heading);
    line-height: 1.3;
}
.aj-sidebar .sidebar-widget .sidebar-widget-title h3:before { background-color: var(--aj-gold); }
.aj-sidebar .sidebar-widget .sidebar-list-style ul li { margin: 0; border-bottom: 1px solid var(--aj-hairline); }
.aj-sidebar .sidebar-widget .sidebar-list-style ul li:last-child { border-bottom: 0; }
.aj-sidebar .sidebar-widget .sidebar-list-style ul li a {
    color: var(--aj-muted);
    font-family: var(--aj-font-sans);
    font-weight: 400;
    font-size: 15px;
    padding: 10px 0;
    min-height: 44px;
    align-items: center;
}
.aj-sidebar .sidebar-widget .sidebar-list-style ul li a span {
    font-size: 12px;
    font-weight: 600;
    color: var(--aj-heading);
    background: var(--aj-plaster);
    border: 1px solid var(--aj-gold-40);
    border-radius: var(--aj-radius-pill);
    padding: 1px 8px;
    line-height: 1.5;
}
.aj-sidebar .sidebar-widget .sidebar-list-style ul li a:hover { color: var(--aj-heading); }
.aj-sidebar .sidebar-widget .search-wrap-2 .search-2-form input {
    border: 1px solid var(--aj-border-strong);
    border-radius: var(--aj-radius-sm);
    height: 46px;
    color: var(--aj-ink);
    font-style: normal;
    font-weight: 400;
}
.aj-sidebar .sidebar-widget .search-wrap-2 .search-2-form .button-search {
    color: var(--aj-heading);
    min-width: 44px;
    min-height: 44px;
    right: 2px;
}
.aj-pagination-wrap { margin-top: 8px; }

/* Product detail */
.aj-product-details .product-details-content h1,
.aj-product-details .aj-product-h1 {
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.25;
    margin-bottom: 14px !important;
}
.aj-product-details .product-details-content .breadcrumb-content { margin-bottom: 8px; }
.aj-product-details .product-details-content .breadcrumb-content ul { margin-bottom: 8px !important; }
.aj-product-details .product-details-img-wrap .pd-big-img-style {
    background: var(--aj-plaster);
    border-radius: var(--aj-radius);
    overflow: hidden;
    border: 1px solid var(--aj-border);
}
.aj-product-details .product-details-small-img img {
    border-radius: var(--aj-radius-sm);
    border: 1px solid var(--aj-border);
    background: var(--aj-plaster);
}
.aj-product-details .product-details-small-img-slider-2 .swiper-slide-thumb-active img { border-color: var(--aj-gold); }
.aj-product-details .pd-nav-style-2 {
    color: var(--aj-heading);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.aj-product-details .easyzoom-pop-up {
    background: var(--aj-surface);
    color: var(--aj-heading);
    border-radius: var(--aj-radius-pill);
    box-shadow: var(--aj-shadow-hover);
}
.aj-product-details .product-color span { font-family: var(--aj-font-sans); color: var(--aj-muted); font-size: 15px; }
.aj-product-details .product-color span:first-child { font-weight: 600; color: var(--aj-heading); }
.aj-product-details .product-details-meta { border-top: 1px solid var(--aj-hairline); padding-top: 16px; }
.aj-product-details .product-details-meta > ul > li,
.aj-product-details .product-details-meta > ul > li span { font-family: var(--aj-font-sans); color: var(--aj-muted); font-size: 15px; }
.aj-product-details .product-details-meta > ul > li span.title { color: var(--aj-heading); font-weight: 600; }
.aj-product-details .single-product-cart a,
.aj-product-details .btn-success.aj-btn { min-height: 44px; border-radius: var(--aj-radius-sm); }
.aj-product-details .single-product-cart a {
    background-color: var(--aj-heading);
    color: var(--aj-bg);
    font-family: var(--aj-font-sans);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
}
.aj-product-details .single-product-cart a::after { background: var(--aj-gold); }
.aj-product-details .single-product-cart a:hover { color: var(--aj-ink); }
.aj-product-details .product-quality input {
    border: 1px solid var(--aj-border-strong);
    border-radius: var(--aj-radius-sm);
    min-height: 44px;
}
.aj-product-details .social-icon-style-4 a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--aj-radius-pill);
    border: 1px solid var(--aj-border);
    background: var(--aj-surface);
    color: var(--aj-heading);
    margin-right: 6px;
    transition: border-color .2s ease, background-color .2s ease;
}
.aj-product-details .social-icon-style-4 a:hover { border-color: var(--aj-gold); background: var(--aj-plaster); color: var(--aj-heading); }
.aj-page .description-review-area .product-description-content {
    background: var(--aj-surface);
    border: 1px solid var(--aj-border);
    border-radius: var(--aj-radius);
    padding: 24px;
}
@media (min-width: 768px) { .aj-page .description-review-area .product-description-content { padding: 32px 36px; } }
.aj-page .specification-wrap .aj-spec-table td { border-color: var(--aj-border); font-family: var(--aj-font-sans); font-size: 15px; color: var(--aj-ink); }
.aj-page .specification-wrap .aj-spec-table td.width1 {
    background: var(--aj-plaster);
    color: var(--aj-heading);
    font-weight: 600;
    width: 34%;
}
.aj-page .related-product-area .product-wrap { margin-bottom: 8px; }

/* Forms on account/contact style pages (legacy .single-input-item markup) */
.aj-page .myaccount-content .account-details-form { margin-top: 8px; }
.aj-page .myaccount-content .account-details-form .single-input-item label,
.aj-page .aj-form .single-input-item label {
    font-size: 14px;
    font-weight: 600;
    color: var(--aj-heading);
    text-transform: none;
}
.aj-page .myaccount-content .account-details-form .single-input-item input,
.aj-page .myaccount-content .account-details-form .single-input-item textarea,
.aj-page .aj-form .single-input-item input,
.aj-page .aj-form .single-input-item textarea {
    border: 1px solid var(--aj-border-strong);
    border-radius: var(--aj-radius-sm);
    background-color: var(--aj-surface);
    height: auto;
    min-height: 48px;
    padding: 10px 14px;
    color: var(--aj-ink);
    font-size: 16px;
    width: 100%;
}
.aj-page .myaccount-content .account-details-form .single-input-item input:focus,
.aj-page .myaccount-content .account-details-form .single-input-item textarea:focus,
.aj-page .aj-form .single-input-item input:focus,
.aj-page .aj-form .single-input-item textarea:focus { border-color: var(--aj-gold); }
.aj-page .myaccount-content .account-details-form .single-input-item .input-group > select { border-radius: var(--aj-radius-sm) 0 0 var(--aj-radius-sm) !important; }
.aj-page .myaccount-content .account-details-form .single-input-item .input-group > input { border-radius: 0 var(--aj-radius-sm) var(--aj-radius-sm) 0; }
.aj-page .myaccount-content .account-details-form .single-input-item button.aj-btn,
.aj-page .aj-form .single-input-item button.aj-btn {
    background-color: var(--aj-heading);
    border: 1.5px solid var(--aj-heading);
    color: var(--aj-bg);
    border-radius: var(--aj-radius-sm);
    padding: 12px 28px;
    font-weight: 600;
    font-size: 15px;
    min-height: 48px;
    overflow: hidden;
}
.aj-page .myaccount-content .account-details-form .single-input-item button.aj-btn:hover,
.aj-page .aj-form .single-input-item button.aj-btn:hover { background-color: var(--aj-gold); border-color: var(--aj-gold); color: var(--aj-ink); }
.aj-page .aj-form .single-input-item button.aj-btn--whatsapp,
.aj-page .myaccount-content .account-details-form .single-input-item button.aj-btn--whatsapp {
    background-color: #25D366;
    border-color: #25D366;
    color: #0B2E17; /* dark text: white on #25D366 was below AA */
}
.aj-page .aj-form .single-input-item button.aj-btn--whatsapp:hover,
.aj-page .myaccount-content .account-details-form .single-input-item button.aj-btn--whatsapp:hover { background-color: #1EBE5A; border-color: #1EBE5A; color: #0B2E17; }
.aj-page .aj-form .single-input-item button.aj-btn--whatsapp::after { background: #1EBE5A; }
.aj-page .aj-form-group-title { font-size: 20px; margin: 16px 0 16px; padding-top: 16px; border-top: 1px solid var(--aj-hairline); }
.aj-page .aj-form .badge.bg-danger:empty { display: none; }
.aj-contact-panel { max-width: 980px; margin: 0 auto; }

/* FAQ partial */
.aj-faq-inner { max-width: 880px; margin: 0 auto; }
.aj-page .aj-faq-title { font-size: clamp(24px, 2.6vw, 32px); text-align: center; margin-bottom: 24px !important; }
.aj-page .aj-faq-title::after { content: ""; display: block; width: 56px; height: 2px; background: var(--aj-gold); margin: 14px auto 0; }
.aj-faq-list {
    background: var(--aj-surface);
    border: 1px solid var(--aj-border);
    border-radius: var(--aj-radius);
    box-shadow: var(--aj-shadow);
    padding: 4px 24px;
}
.aj-faq-entry { padding: 18px 0; border-bottom: 1px solid var(--aj-hairline); }
.aj-faq-entry:last-child { border-bottom: 0; }
.aj-page .aj-faq-entry h3 {
    font-family: var(--aj-font-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--aj-heading);
    margin: 0 0 8px;
    line-height: 1.35;
}
.aj-page .aj-faq-entry p { font-size: 15px; line-height: 1.7; color: var(--aj-muted); margin: 0; }
.aj-page .aj-faq-entry a { color: var(--aj-heading); font-weight: 600; text-decoration: underline; text-decoration-color: var(--aj-gold); text-underline-offset: 3px; }
.aj-page .aj-faq-entry a:hover { color: var(--aj-gold-text); }

/* Manufacturer-exporter partial */
.aj-page .aj-mfg { margin: 24px 0; }
.aj-page .aj-mfg-title { font-size: clamp(22px, 2.4vw, 30px); max-width: 760px; margin-left: auto; margin-right: auto; }
.aj-page .aj-mfg-fact {
    background: var(--aj-surface);
    border: 1px solid var(--aj-border);
    border-radius: var(--aj-radius);
    padding: 18px 14px;
    box-shadow: var(--aj-shadow);
}
.aj-page .aj-mfg-fact-big { font-family: var(--aj-font-serif); font-size: 24px; font-weight: 700; color: var(--aj-heading); line-height: 1.2; margin-bottom: 6px; }
.aj-page .aj-mfg-fact-small { font-size: 14px; line-height: 1.5; color: var(--aj-muted); }
.aj-page .aj-mfg h3.h5 { font-family: var(--aj-font-serif); font-size: 19px; margin-top: 8px; }
.aj-page .aj-mfg p { font-size: 15px; }
.aj-page .aj-mfg-terms th { background: var(--aj-plaster); color: var(--aj-heading); font-weight: 600; font-size: 14px; letter-spacing: 0; text-transform: none; }
.aj-page .aj-mfg-terms td { font-size: 14px; color: var(--aj-ink); }
.aj-page .aj-mfg-steps { padding-left: 20px; list-style: decimal; }
.aj-page .aj-mfg-steps li { margin-bottom: 6px; color: var(--aj-muted); font-size: 15px; line-height: 1.6; }
.aj-page .aj-mfg-steps li::marker { color: var(--aj-gold-text); font-weight: 600; }
.aj-page .aj-mfg-terms-line { font-size: 15px; color: var(--aj-muted); line-height: 1.8; }
.aj-page .aj-mfg-terms-line strong { color: var(--aj-heading); }

/* Case-study links partial */
.aj-case-studies-inner {
    max-width: 880px;
    margin: 0 auto;
    border-top: 1px solid var(--aj-gold-40);
    padding-top: 28px;
}
.aj-page .aj-case-studies h2 { font-size: 22px; text-align: center; }
.aj-case-study-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.aj-case-study-list li { margin: 0 !important; }
.aj-page .aj-case-study-list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 16px;
    background: var(--aj-surface);
    border: 1px solid var(--aj-border);
    border-radius: var(--aj-radius-pill);
    color: var(--aj-heading);
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--aj-gold);
    text-underline-offset: 4px;
    transition: border-color .2s ease, background-color .2s ease;
}
.aj-page .aj-case-study-list a:hover { border-color: var(--aj-gold); background: var(--aj-plaster); color: var(--aj-heading); }

/* About page */
.aj-about .row > [class*="col-"] img.img-fluid,
.aj-about .aj-about-inline-img { border-radius: var(--aj-radius-sm); }
.aj-about .aj-about-inline-img { float: left; margin: 4px 16px 8px 0; max-width: 40%; height: auto; }
.aj-about p { margin-top: 8px; }
.aj-page .aj-about-members-title { font-size: 18px; letter-spacing: .08em; margin: 24px 0 16px; }

/* CMS pages */
.aj-cms .aj-prose h1 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.25; margin: 0 0 16px; }

/* Secondary content pages (custom designs, finishes, fair & shows, videos) */
.aj-page .aj-video-thumb { aspect-ratio: 16 / 9; background: var(--aj-ink); }
.aj-page .aj-video-thumb img { object-fit: cover; }
.aj-detail .aj-detail-text { margin-bottom: 24px; }
.aj-page .aj-gallery-section-title {
    width: 100%;
    font-size: 20px;
    margin: 24px 0 14px;
    padding-top: 16px;
    border-top: 1px solid var(--aj-gold-40);
}
.aj-page .aj-media-card {
    border: 1px solid var(--aj-border);
    border-radius: var(--aj-radius);
    overflow: hidden;
    box-shadow: var(--aj-shadow);
    background: var(--aj-surface);
    height: 100%;
}
.aj-page .aj-media-card .card-img-top {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--aj-plaster);
    width: 100%;
    height: auto;
}
.aj-page .aj-media-card .card-body { padding: 12px 14px; }
.aj-page .aj-media-card-title { font-family: var(--aj-font-sans); font-size: 14px; font-weight: 600; margin: 0; color: var(--aj-heading); }
.aj-page .aj-media-card iframe { aspect-ratio: 16 / 9; height: auto; display: block; }
.aj-page .aj-media-card .img-popup { min-width: 44px; min-height: 44px; }
.aj-video-frame {
    border-radius: var(--aj-radius);
    overflow: hidden;
    border: 1px solid var(--aj-border);
    box-shadow: var(--aj-shadow);
    background: var(--aj-ink);
}
.aj-page-header .aj-pill { font-size: 11px; }

/* Supplier / sourcing links (homepage and catalogue) */
.aj-page .aj-sourcing-inner {
    background: var(--aj-surface);
    border: 1px solid var(--aj-border) !important;
    border-radius: var(--aj-radius) !important;
    box-shadow: var(--aj-shadow);
}
.aj-page .aj-sourcing h2 { font-size: clamp(20px, 2.2vw, 26px); }

/* Utility pages: login / register / password */
.aj-auth .login-register-wrapper .login-register-tab-list { margin-bottom: 24px; gap: 4px; }
.aj-auth .login-register-wrapper .login-register-tab-list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 6px;
    text-decoration: none;
}
.aj-auth .login-register-wrapper .login-register-tab-list a::before { background-color: var(--aj-gold-40); }
.aj-auth .aj-tab-label {
    font-family: var(--aj-font-serif);
    font-size: 24px;
    font-weight: 700;
    margin: 0 16px;
    text-transform: capitalize;
    color: var(--aj-muted);
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: border-color .2s ease, color .2s ease;
}
.aj-auth .login-register-tab-list a.active .aj-tab-label,
.aj-auth .login-register-tab-list a:hover .aj-tab-label { color: var(--aj-heading); border-bottom-color: var(--aj-gold); }
.aj-auth .login-register-wrapper .login-form-container {
    background: var(--aj-surface);
    border: 1px solid var(--aj-border);
    border-radius: var(--aj-radius);
    box-shadow: var(--aj-shadow);
    padding: 40px;
}
@media (max-width: 767px) { .aj-auth .login-register-wrapper .login-form-container { padding: 24px 16px; } }
.aj-auth .login-register-wrapper .login-form-container .login-register-form form input:not([type=checkbox]):not([type=radio]) {
    border: 1px solid var(--aj-border-strong);
    border-radius: var(--aj-radius-sm);
    background-color: var(--aj-surface);
    font-size: 16px;
    height: 48px;
    margin-bottom: 20px;
    padding: 0 14px;
    color: var(--aj-ink);
}
.aj-auth .login-register-wrapper .login-form-container .login-register-form form input:focus { border-color: var(--aj-gold); }
.aj-auth .login-register-wrapper .login-form-container .login-register-form form input::placeholder { color: rgba(92, 58, 33, .6); }
.aj-auth .login-register-wrapper .login-form-container .login-register-form form input[type=checkbox] { accent-color: var(--aj-heading); width: 18px; height: 18px; }
.aj-auth .aj-field-label,
.aj-auth .login-register-form form > label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--aj-heading);
    margin-bottom: 6px;
}
.aj-auth .login-register-wrapper .login-form-container .login-register-form form .login-toggle-btn label { color: var(--aj-muted); }
.aj-auth .login-register-wrapper .login-form-container .login-register-form form .login-toggle-btn a {
    color: var(--aj-heading);
    text-decoration: underline;
    text-decoration-color: var(--aj-gold);
    text-underline-offset: 4px;
}
.aj-auth .login-register-wrapper .login-form-container .login-register-form form .login-toggle-btn a:hover { color: var(--aj-gold-text); }
.aj-auth .login-register-wrapper .login-form-container .login-register-form form .button-box { flex-wrap: wrap; align-items: center; gap: 10px; }
.aj-auth .login-register-wrapper .login-form-container .login-register-form form .button-box button.aj-btn {
    background-color: var(--aj-heading);
    color: var(--aj-bg);
    border: 1.5px solid var(--aj-heading);
    border-radius: var(--aj-radius-sm);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: none;
    padding: 12px 28px;
    min-height: 48px;
    line-height: 1.2;
    overflow: hidden;
}
.aj-auth .login-register-wrapper .login-form-container .login-register-form form .button-box button.aj-btn::after { background: var(--aj-gold); }
.aj-auth .login-register-wrapper .login-form-container .login-register-form form .button-box button.aj-btn:hover { color: var(--aj-ink); border-color: var(--aj-gold); }
.aj-auth .gsi-material-button { height: 48px; border-radius: var(--aj-radius-sm); border-color: var(--aj-border-strong); }
.aj-auth .login-register-form .single-input-item input { margin-bottom: 0 !important; }

/* Enquiry cart */
.aj-cart .aj-panel { padding: 20px; }
@media (min-width: 768px) { .aj-cart .aj-panel { padding: 28px 32px; } }
.aj-page .aj-cart-table { margin-bottom: 20px; }
.aj-page .aj-cart-table td { vertical-align: middle; border-color: var(--aj-border); font-family: var(--aj-font-sans); }
.aj-page .aj-cart-table td a { color: var(--aj-heading); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.aj-page .aj-cart-table td a:hover { color: var(--aj-gold-text); }
.aj-page .aj-cart-thumb { border-radius: var(--aj-radius-sm); border: 1px solid var(--aj-border); background: var(--aj-plaster); height: auto; }
.aj-page .aj-cart .product-quality input { border: 1px solid var(--aj-border-strong); border-radius: var(--aj-radius-sm); min-height: 44px; }
.aj-page .btn-danger.aj-btn-remove {
    background: transparent;
    border: 1.5px solid #9B2C2C;
    color: #9B2C2C;
    border-radius: var(--aj-radius-sm);
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
}
.aj-page .btn-danger.aj-btn-remove:hover { background: #9B2C2C; color: #fff; }
.aj-page .aj-cart .account-details-form .single-input-item button.aj-btn {
    background-color: var(--aj-heading);
    border: 1.5px solid var(--aj-heading);
    color: var(--aj-bg);
    border-radius: var(--aj-radius-sm);
    padding: 12px 28px;
    min-height: 48px;
    font-weight: 600;
    overflow: hidden;
}
.aj-page .aj-cart .account-details-form .single-input-item button.aj-btn::after { background: var(--aj-gold); }
.aj-page .aj-cart .account-details-form .single-input-item button.aj-btn:hover { color: var(--aj-ink); border-color: var(--aj-gold); }

/* My account */
.aj-account .myaccount-tab-menu {
    background: var(--aj-surface);
    border: 1px solid var(--aj-border);
    border-radius: var(--aj-radius);
    overflow: hidden;
    box-shadow: var(--aj-shadow);
}
.aj-account .myaccount-tab-menu a {
    border: 0;
    border-bottom: 1px solid var(--aj-hairline);
    font-family: var(--aj-font-sans);
    color: var(--aj-muted);
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 18px;
    background: transparent;
}
.aj-account .myaccount-tab-menu a:last-child { border-bottom: 0; }
.aj-account .myaccount-tab-menu a:hover,
.aj-account .myaccount-tab-menu a.active { background: var(--aj-plaster); color: var(--aj-heading); box-shadow: inset 3px 0 0 var(--aj-gold); }
.aj-account .myaccount-content {
    background: var(--aj-surface);
    border: 1px solid var(--aj-border);
    border-radius: var(--aj-radius);
    box-shadow: var(--aj-shadow);
    padding: 24px;
}
.aj-page .aj-account-title { font-size: 24px; border-bottom: 1px solid var(--aj-hairline); padding-bottom: 12px; margin-bottom: 18px; }
.aj-account .myaccount-table table th { background: var(--aj-plaster); color: var(--aj-heading); border-color: var(--aj-border); }
.aj-account .myaccount-table table td { border-color: var(--aj-border); }
.aj-account .myaccount-content .welcome a.logout { color: var(--aj-heading); text-decoration: underline; text-decoration-color: var(--aj-gold); }

/* Login-gated / restricted product pages */
.aj-gate-panel { max-width: 860px; margin: 0 auto; text-align: center; }
.aj-page .aj-gate-title { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; }
.aj-gate-img { border-radius: var(--aj-radius-sm); }
.aj-gate .gsi-material-button { height: 44px; margin-left: 8px; }

/* Alerts (components/alert) */
.aj-page .aj-alert { border-radius: var(--aj-radius-sm); border-width: 1px; font-size: 15px; }
.aj-page .aj-alert.alert-success { background: #EEF6EE; border-color: #B9D8BB; color: #1E4620; }
.aj-page .aj-alert.alert-danger { background: #FBEDEC; border-color: #E8BDB9; color: #7A1F17; }
.aj-page .aj-alert.alert-warning { background: var(--aj-plaster); border-color: var(--aj-gold-40); color: var(--aj-ink); }
.aj-page .aj-alert.alert-info { background: var(--aj-plaster); border-color: var(--aj-border); color: var(--aj-ink); }

/* Error pages (errors/404, 500, exception): standalone, no layout */
.aj-error-body { background: var(--aj-bg); margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
.aj-error-page { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.aj-error-card { width: 100%; max-width: 640px; text-align: center; }
.aj-error-card--wide { max-width: 880px; }
.aj-error-logo { display: inline-block; margin-bottom: 20px; }
.aj-error-logo img { width: 180px; height: auto; }
.aj-error-art { max-height: 220px; width: auto; margin: 0 auto 16px; display: block; }
.aj-page .aj-error-code { font-size: clamp(56px, 10vw, 96px); line-height: 1; margin: 0 0 4px; color: var(--aj-heading); }
.aj-page .aj-error-title { font-size: clamp(24px, 3vw, 34px); margin: 0 0 10px; }
.aj-page .aj-error-text { margin: 0 auto 24px; max-width: 520px; }
.aj-error-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; justify-content: center; align-items: center; }
.aj-error-actions .aj-link-cta { min-height: 44px; display: inline-flex; align-items: center; }
.aj-page .aj-error-table th, .aj-page .aj-error-table td { font-size: 14px; text-transform: none; letter-spacing: 0; word-break: break-word; }
.aj-error-footer { text-align: center; padding: 16px; font-size: 13px; color: var(--aj-muted); font-family: var(--aj-font-sans); }

/* bootstrap-select toggle inside legacy form rows (the theme's ".single-input-item button" rule made it orange) */
.aj-page .single-input-item .bootstrap-select > .dropdown-toggle,
.aj-page .myaccount-content .account-details-form .single-input-item .bootstrap-select > .dropdown-toggle {
    background-color: var(--aj-surface);
    border: 1px solid var(--aj-border-strong);
    border-radius: var(--aj-radius-sm);
    color: var(--aj-ink);
    min-height: 48px;
    padding: 10px 14px;
    font-size: 16px;
    font-weight: 400;
    text-transform: none;
}
.aj-page .single-input-item .bootstrap-select > .dropdown-toggle.bs-placeholder,
.aj-page .myaccount-content .account-details-form .single-input-item .bootstrap-select > .dropdown-toggle.bs-placeholder { color: rgba(92, 58, 33, .7); }
.aj-page .single-input-item .bootstrap-select > .dropdown-toggle:focus-visible { outline: var(--aj-focus); outline-offset: 2px; }
.aj-page .bootstrap-select .dropdown-menu { border-radius: var(--aj-radius-sm); border-color: var(--aj-border); box-shadow: var(--aj-shadow-hover); }
.aj-page .bootstrap-select .dropdown-item.active, .aj-page .bootstrap-select .dropdown-item:active { background-color: var(--aj-plaster); color: var(--aj-heading); }

/* Salutation select beside the name field (fixed 90px wide) */
.aj-page .single-input-item .input-group > select#salutation { font-size: 14px !important; padding: 2px 6px !important; }

/* 9. Reduced motion -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .aj-card, .aj-card:hover,
    .aj-btn, .aj-btn:hover,
    .aj-page .product-wrap, .aj-page .product-wrap:hover,
    .aj-page .blog-wrap, .aj-page .blog-wrap:hover,
    .aj-page .aj-blog-card, .aj-page .aj-blog-card:hover,
    .aj-page .btn-info:hover, .aj-page .btn-primary:hover, .aj-page .btn-dark:hover {
        transform: none !important;
        transition: none !important;
    }
    .sticky-bar.stick { animation: none !important; }
}

/* 10. Agent readiness: layout stability ------------------------------------ */
/* Product gallery: photos are square canvases (ImageProcessor), so reserve a square box
   before the image or Swiper arrives. */
.aj-product-details .product-details-big-img-slider-2 .swiper-slide img,
.aj-product-details .product-details-small-img img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }

/* Homepage blog cards: the theme sets only width:100%, so the height attribute would stretch them. */
.aj-page .blog-wrap .blog-img-date-wrap .blog-img a img { height: auto; }

/* Swiper 6 sizes slides only after its script runs. Until then every slide is 100% wide, so the
   thumbnail and related-product strips render one huge slide and then shrink (a large layout shift).
   Mirror the slidesPerView/spaceBetween values from main.js until `swiper-container-initialized` is added. */
.product-details-small-img-slider-2:not(.swiper-container-initialized) .swiper-wrapper,
.related-product-active:not(.swiper-container-initialized) .swiper-wrapper { overflow: hidden; }
.product-details-small-img-slider-2:not(.swiper-container-initialized) .swiper-slide { width: calc((100% - 20px) / 2); margin-right: 20px; }
@media (min-width: 479px)  { .product-details-small-img-slider-2:not(.swiper-container-initialized) .swiper-slide { width: calc((100% - 40px) / 3); } }
@media (min-width: 576px)  { .product-details-small-img-slider-2:not(.swiper-container-initialized) .swiper-slide { width: calc((100% - 60px) / 4); } }
@media (min-width: 992px)  { .product-details-small-img-slider-2:not(.swiper-container-initialized) .swiper-slide { width: calc((100% - 40px) / 3); } }
@media (min-width: 1200px) { .product-details-small-img-slider-2:not(.swiper-container-initialized) .swiper-slide { width: calc((100% - 60px) / 4); } }
.related-product-active:not(.swiper-container-initialized) .swiper-slide { width: calc((100% - 30px) / 2); margin-right: 30px; }
@media (min-width: 768px)  { .related-product-active:not(.swiper-container-initialized) .swiper-slide { width: calc((100% - 60px) / 3); } }
@media (min-width: 1200px) { .related-product-active:not(.swiper-container-initialized) .swiper-slide { width: calc((100% - 90px) / 4); } }

/* Gallery arrows are now <button>s: drop the browser's button look. */
.aj-product-details button.pd-nav-style-2 { background: transparent; border: 0; padding: 0; cursor: pointer; }
.aj-product-details button.pd-nav-style-2:focus-visible { outline: var(--aj-focus); outline-offset: 2px; }

/* 11. Agent readiness: accessibility helpers --------------------------------- */
.aj-visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}
button.aj-icon-btn { background: transparent; border: 0; padding: 0; color: inherit; cursor: pointer; }
