/*
 * Elmara Jewellery - Global Custom CSS
 * All global custom styles go here
 */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Inter:wght@100..900&display=swap');

/* ---- Font Variables ---- */
:root {
    --font-heading: 'Merriweather', Georgia, serif;
    --font-body: 'Inter', sans-serif;
}

/* ---- Merriweather — All Headings ---- */
h1, h2, h3, h4, h5, h6,
.elmara-collection-hero__title,
.catalog-product-view .page-title .base,
.block.related .block-title strong {
    font-family: var(--font-heading);
}

/* ---- Sora — Body & UI Elements ---- */
body,
p,
a,
button,
input,
select,
textarea,
.nav-sections,
.navigation a,
.product-item-name a,
.price-box .price,
.toolbar-amount,
.elmara-collection-hero__label,
.elmara-accordion__trigger,
.action.primary.tocart,
.breadcrumbs a,
.breadcrumbs span {
    font-family: var(--font-body);
}

/* ============================================
   GLOBAL DESIGN SYSTEM — Typography Colors
   ============================================ */
:root {
    --color-heading: #000000;
    --color-subheading: #CAAB6F;
    --color-link: #6B6560;
    --color-nav: #000000;
}

/* ---- 1. Headings (light backgrounds) ---- */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-heading);
}

/* Specific heading-classes that had explicit dark-gray overrides on light bg */
.elmara-browse-categories__title,
.catalog-product-view .page-title .base,
.elmara-newsletter__title,
.elmara-footer__brand-name,
.catalog-category-view .product-item-name a,
.catalog-product-view .block.related .product-item-name a,
.catalog-product-view .block.related .block-title::before {
    color: var(--color-heading) !important;
}

/* NOTE: Dark-section headings intentionally remain WHITE for contrast —
   not changed: .elmara-hero__title, .elmara-collection-hero__title,
   .elmara-featured__title, .elmara-brand__title, .elmara-appointment__title */


/* ---- 2. Subheadings / Eyebrow labels (BROWSE BY CATEGORY style) ---- */
.elmara-collection-hero__label,
.elmara-browse-categories__label,
.elmara-featured__label,
.elmara-brand__label,
.elmara-appointment__label,
.elmara-footer__col-title {
    color: var(--color-subheading) !important;
}


/* ---- 3. "View All" tertiary links ---- */
.elmara-browse-categories__view-all,
.elmara-featured__view-all {
    color: var(--color-link) !important;
    border-bottom-color: var(--color-link) !important;
}

.elmara-browse-categories__view-all:hover,
.elmara-featured__view-all:hover {
    color: var(--color-subheading) !important;
    border-bottom-color: var(--color-subheading) !important;
}


/* ---- 4. Navigation ---- */
.elmara-nav__link {
    color: var(--color-nav);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
    font-weight: 600;
}

.elmara-nav__link:hover {
    color: var(--color-subheading);
}

/* Active/current page indicator — covers common active-class patterns */
.elmara-nav__item.active .elmara-nav__link,
.elmara-nav__item.current .elmara-nav__link,
.elmara-nav__link.active,
.elmara-nav__link.current,
.elmara-nav__link[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 6px;
}


/* =============================================
   Global Resets
   ============================================= */

* {
    box-sizing: border-box;
}

/* Luma core (styles-m.css) forces EVERY <button> to a gray background +
   gold border + white text on :focus/:active. Because that selector is
   "element + pseudo-class", it silently beats any custom "selected/active"
   look built from a single class (e.g. .elmara-swatch--active), so on
   click/focus the correct color flips to Luma's gray for a moment — this
   has already been patched per-component 4 times (accordion trigger, FAQ
   trigger, filter-dropdown trigger, contact submit). Neutralize it once,
   globally, instead of chasing it button-by-button; component rules below
   (and any !important rule) still win normally over this. */
button:focus,
button:active {
    background: transparent;
    border-color: transparent;
    color: inherit;
}

body {
    font-family: var(--font-body);
    color: #1a1a1a;
    background-color: #fff;
    font-size: 14px !important;
}

a { 
    color: #b9975b;
    text-decoration: none;
}

a:hover {
    color: #1a1a1a;
}

/* =============================================
   Hide Luma Default Elements
   ============================================= */

.sections.nav-sections,
.panel.wrapper {
    display: none !important;
}

.page-main{
    max-width: 100% !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

/* =============================================
   Header Layout — Logo | Nav Center | Search + Cart
   ============================================= */


   /* ---- Logo Sizing ---- */
.logo img {
    height: 38px;
    width: auto;
    max-width: none;
}

.header.content {
    display: flex !important;
    align-items: center !important;
    padding: 15px 30px !important;
    max-width: 100% !important;
    position: relative !important;
}

/* Logo — left */
.header.content .logo {
    order: 1 !important;
    flex-shrink: 0;
    margin: 0 !important;
    float: none !important;
}

/* Navigation — center */
.elmara-header__nav {
    position: absolute !important;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex !important;
    align-items: center !important;
}

/* Mobile hamburger toggle — hidden on desktop, shown + wired to the nav below 900px */
.nav-toggle {
    order: 0;
    display: none;
}

/* Neutralize Luma's built-in nav-toggle side effects (page-shift + dark overlay
   + empty nav-sections drawer) — we drive our own dropdown via .elmara-nav--open instead */
.nav-open .page-wrapper {
    left: auto !important;
}

.nav-open .nav-toggle:after {
    display: none !important;
    content: none !important;
}
/* Search — right */
.header.content .block-search {
    order: 3 !important;
    width: auto !important;
    float: none !important;
    padding: 0 !important;
    left: auto !important;
    position: relative !important;
    top: auto !important;
}

/* Cart — far right */
.header.content .minicart-wrapper {
    order: 4 !important;
    margin: 0 !important;
    float: none !important;
        margin-left: 20px !important;
}

/* ============================================
   MOBILE HEADER NAV — hamburger-driven dropdown
   ============================================ */
@media (max-width: 900px) {
    .header.content {
        flex-wrap: wrap;
        padding: 12px 16px !important;
    }

    .nav-toggle {
        display: block;
        position: static !important;
        order: 0;
        flex-shrink: 0;
        margin-right: 12px;
    }

    .logo img {
        height: 30px;
    }

    .header.content .block-search {
        display: none !important;
    }

    .elmara-header__nav {
        display: none !important;
        position: absolute !important;
        left: 0 !important;
        top: 100% !important;
        transform: none !important;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
        z-index: 30;
    }

    .elmara-header__nav.elmara-nav--open {
        display: block !important;
    }

    .elmara-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .elmara-nav__item {
        width: 100%;
        border-bottom: 1px solid #f0ece4;
    }

    .elmara-nav__link {
        padding: 16px 24px;
        white-space: normal;
    }
}

/* ============================================
   HEADER ACTIONS — Search / Account / Wishlist / Cart
   ============================================ */

.elmara-header-actions {
    order: 3;
    display: flex;
    align-items: center;
    gap: 28px;
}

.elmara-header-actions__item,
.elmara-header-actions__item:visited,
.elmara-header-actions__item:hover {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6B6560;
    text-decoration: none !important;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
}

/* ---- Search Drawer: slides in from the right; the core Magento search
   form (.block-search) gets moved inside it at runtime by JS ---- */
.elmara-search-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    box-shadow: -12px 0 32px rgba(0, 0, 0, 0.12);
    transition: right 0.35s ease;
    display: flex;
    flex-direction: column;
}

.elmara-search-drawer.active {
    right: 0;
}

.elmara-search-drawer__header {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 34px 22px;
    border-bottom: 1px solid #e8e5e0;
    flex-shrink: 0;
    background: linear-gradient(180deg, #fbfaf8 0%, #ffffff 100%);
}

.elmara-search-drawer__eyebrow {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #CAAB6F;
    margin-bottom: 8px;
}

.elmara-search-drawer__title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    color: #1a1a1a;
    padding-right: 30px;
}

.elmara-search-drawer__close {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid #e0dcd3;
    border-radius: 50%;
    color: #1a1a1a;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.elmara-search-drawer__close:hover {
    color: #fff;
    background: #1a1a1a;
    border-color: #1a1a1a;
}

.elmara-search-drawer__close:focus,
.elmara-search-drawer__close:active {
    color: #1a1a1a;
    background: none;
    border-color: #e0dcd3;
}

.elmara-search-drawer__body {
    padding: 26px 34px 34px;
    overflow-y: auto;
    flex: 1;
}

.elmara-search-drawer__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 18, 15, 0.45);
    backdrop-filter: blur(2px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.elmara-search-drawer__backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Icon + input field wrapper */
.elmara-search-drawer__field {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #1a1a1a;
    transition: border-color 0.2s ease;
}

.elmara-search-drawer__field:focus-within {
    border-color: #CAAB6F;
}

.elmara-search-drawer__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a8a8a;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.elmara-search-drawer__field:focus-within .elmara-search-drawer__icon {
    color: #CAAB6F;
}

/* Restyle the relocated Magento search form to match the drawer */
.elmara-search-drawer .block-search {
    margin: 0;
    flex: 1;
}

.elmara-search-drawer .block-search .block-title,
.elmara-search-drawer .block-search label.label,
.elmara-search-drawer .block-search .actions {
    display: none !important;
}

.elmara-search-drawer .block-search .control {
    display: block !important;
    border: none !important;
}

.elmara-search-drawer .block-search input#search {
    width: 100%;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    font-size: 18px;
    padding: 12px 4px 12px 12px !important;
    font-family: var(--font-body);
    color: #1a1a1a;
    outline: none;
}

.elmara-search-drawer .block-search input#search::placeholder {
    color: #b3aea5;
    font-weight: 400;
}

.elmara-search-drawer .search-autocomplete {
    display: none !important;
}

/* ---- Default state: quick category links, shown until a query is typed ---- */
.elmara-search-drawer__quicklinks {
    margin-top: 32px;
}

.elmara-search-drawer__quicklinks-label {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8a8a8a;
    margin-bottom: 14px;
}

.elmara-search-drawer__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.elmara-search-drawer__chip {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border: 1px solid #e0dcd3;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 13px;
    color: #1a1a1a;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.elmara-search-drawer__chip:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

/* ---- Predictive search results (real product matches) ---- */
.elmara-search-suggest {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.elmara-search-suggest__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 8px;
    margin: 0 -8px;
    text-decoration: none;
    border-radius: 10px;
    border-bottom: 1px solid #f0ece4;
    transition: background 0.2s ease;
}

.elmara-search-suggest__item:hover {
    background: #faf8f4;
}

.elmara-search-suggest__image {
    width: 56px;
    height: 56px;
    object-fit: cover;
    background: #f5f4f0;
    border-radius: 8px;
    flex-shrink: 0;
}

.elmara-search-suggest__name {
    font-family: var(--font-body);
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.4;
}

.elmara-search-suggest__item:hover .elmara-search-suggest__name {
    color: #CAAB6F;
}

.elmara-search-suggest__viewall {
    display: block;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0ece4;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    text-align: center;
}

.elmara-search-suggest__viewall:hover {
    color: #CAAB6F;
}

.elmara-search-suggest__empty {
    font-family: var(--font-body);
    font-size: 14px;
    color: #8a8a8a;
    font-style: italic;
    margin-top: 24px;
    text-align: center;
}

@media (max-width: 480px) {
    .elmara-search-drawer {
        width: 100%;
        max-width: 100vw;
    }

    .elmara-search-drawer__header {
        padding: 26px 22px 18px;
    }

    .elmara-search-drawer__body {
        padding: 22px 22px 28px;
    }
}

/* ---- Cart: dark "CART (0)" pill ---- */
.minicart-wrapper .action.showcart {
    display: flex !important;
    align-items: center;
    gap: 6px;
    background: #1a1a1a;
    padding: 10px 20px;
    text-decoration: none;
    line-height: normal;
}

/* Override Luma's icon-font pseudo-element with "CART" text */
.minicart-wrapper .action.showcart:before {
    content: "CART" !important;
    font-family: var(--font-body) !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fff;
    width: auto;
    height: auto;
    line-height: normal;
}

.minicart-wrapper .action.showcart .text {
    display: none;
}

.minicart-wrapper .counter.qty {
    display: inline-flex !important;
    background: none !important;
    color: #fff !important;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    line-height: normal;
}

.minicart-wrapper .counter.qty:before {
    content: "(";
}
.minicart-wrapper .counter.qty:after {
    content: ")";
}

.minicart-wrapper .counter-label {
    display: none;
}

@media (max-width: 768px) {
    .elmara-header-actions {
        gap: 16px;
    }
}

/* =============================================
   Navigation Styles
   ============================================= */

.elmara-nav__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    align-items: center;
}

.elmara-nav__item {
    position: relative;
    margin-bottom: 0px;
}

.elmara-nav__link {
    color: #1a1a1a !important;
    font-size: 12px;
    font-weight: 300;
    text-decoration: none;
    padding: 8px 14px;
    display: block;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.elmara-nav__link:hover {
    color: #b9975b;
    text-decoration: none;
}

/* =============================================
   Add your custom styles below
   ============================================= */


   /* =============================================
   Homepage Hero Banner
   ============================================= */

.elmara-hero {
    position: relative;
    width: 100%;
    min-height: 600px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;

    overflow: hidden;
}

.elmara-hero__video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.elmara-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
}

.elmara-hero__content {
    position: relative;
    z-index: 2;
    padding: 0 40px 60px;
    text-align: center;
    color: #ffffff;
}

.elmara-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.elmara-hero__btn-primary,
.elmara-hero__btn-link {
    display: inline-block;
    padding: 14px 28px;
    border: 1.5px solid #ffffff;
    background: #ffffff;
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.elmara-hero__btn-primary:hover,
.elmara-hero__btn-link:hover {
    background: transparent;
    color: #ffffff;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .elmara-hero {
        min-height: 450px;
    }

    .elmara-hero__content {
        padding: 0 20px 40px;
    }

    .elmara-hero__actions {
        flex-wrap: wrap;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .elmara-hero__content {
        padding: 0 16px 32px;
    }
}

/* Homepage Categories */

.elmara-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px 60px;
}

.elmara-category-item {
    position: relative;
    overflow: hidden;
}

.elmara-category-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.elmara-category-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
}

.elmara-category-content h3 {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.elmara-category-content a {
    font-size: 12px;
    text-decoration: underline;
    color: #fff;
}

/* Homepage Bestseller */

/* =============================================
   Bestsellers Carousel Section
   ============================================= */

.elmara-bestsellers {
    padding: 60px 40px;
    background: #f5f3ef;
}

.elmara-bestsellers__header {
    margin-bottom: 40px;
}

.elmara-bestsellers__title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    font-family: var(--font-heading);
    margin: 0;
}

.elmara-bestsellers__title em {
    font-style: italic;
    font-weight: 400;
    color: #CAAB6F;
    font-family: var(--font-heading);
}

/* Carousel Wrapper */
.elmara-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.elmara-carousel__track-wrapper {
    overflow: hidden;
    flex: 1;
}

.elmara-carousel__track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

/* Each Product Card */
.elmara-carousel__item {
    position: relative;
    flex: 0 0 calc(25% - 15px);
    min-width: calc(25% - 15px);
    background: #ffffff;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .elmara-carousel__item {
        flex: 0 0 calc(33.333% - 14px);
        min-width: calc(33.333% - 14px);
    }
}

@media (max-width: 768px) {
    .elmara-carousel__item {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }

    .elmara-carousel__image {
        height: 220px;
    }

    .elmara-carousel__name {
        font-size: 13px;
    }

    /* Let the carousel row run edge-to-edge on mobile; keep headings inset */
    .elmara-bestsellers,
    .elmara-featured {
        padding-left: 0;
        padding-right: 0;
    }

    .elmara-bestsellers__header,
    .elmara-bestsellers__footer,
    .elmara-featured__header {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    .elmara-carousel {
        gap: 8px;
    }

    .elmara-carousel__item {
        flex: 0 0 calc(72% - 8px);
        min-width: calc(72% - 8px);
    }

    .elmara-carousel__btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

.elmara-carousel__image-link {
    display: block;
    overflow: hidden;
}

.elmara-carousel__image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.elmara-carousel__item:hover .elmara-carousel__image {
    transform: scale(1.03);
}

.elmara-carousel__info {
    padding: 15px;
}

.elmara-carousel__name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.elmara-carousel__name a {
    color: #1a1a1a;
    text-decoration: none;
}

.elmara-carousel__name a:hover {
    color: #b9975b;
}

.elmara-carousel__price {
    display: none !important;
}

.elmara-carousel__price-final {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.elmara-carousel__price-old {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

/* Carousel Buttons */
.elmara-carousel__btn {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    color: #1a1a1a;
    line-height: 1;
}

.elmara-carousel__btn:hover {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
}

.elmara-carousel__btn:focus,
.elmara-carousel__btn:active {
    background: #ffffff;
    color: #1a1a1a;
    border-color: #e0e0e0;
}

/* Footer CTA */
.elmara-bestsellers__footer {
    text-align: center;
    margin-top: 40px;
}

.elmara-bestsellers__cta {
    display: inline-block;
    padding: 14px 40px;
    background: #6b5745;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease;
}

.elmara-bestsellers__cta:hover {
    background: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
}

/* =============================================
   Features / USP Bar
   ============================================= */

.elmara-features {
    display: flex;
    align-items: flex-start;
    border-top: 1px solid #e8e3da;
    border-bottom: 1px solid #e8e3da;
    background: #ffffff;
}

.elmara-features__item {
    flex: 1;
    padding: 35px 40px;
    border-right: 1px solid #e8e3da;
}

.elmara-features__item:last-child {
    border-right: none;
}

.elmara-features__icon {
    color: #b9975b;
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1;
}

.elmara-features__title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    font-family: var(--font-body);
    letter-spacing: 0.2px;
}

.elmara-features__desc {
    font-size: 13px;
    color: #666666;
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
    .elmara-features {
        flex-direction: column;
    }

    .elmara-features__item {
        border-right: none;
        border-bottom: 1px solid #e8e3da;
        padding: 25px 20px;
    }

    .elmara-features__item:last-child {
        border-bottom: none;
    }
}

/* =============================================
   Featured Pieces Section
   ============================================= */

.elmara-featured {
    background-color: #0d0d0d;
    padding: 60px 50px;
    color: #ffffff;
}

.elmara-featured__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
}

.elmara-featured__header-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.elmara-featured__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #888888;
    text-transform: uppercase;
}

.elmara-featured__title {
    font-size: 52px;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
    line-height: 1.1;
    font-family: var(--font-heading);
}

.elmara-featured__view-all {
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 2px;
    transition: color 0.2s ease;
    white-space: nowrap;
    margin-bottom: 8px;
}

.elmara-featured__view-all:hover {
    color: #b9975b;
    border-bottom-color: #b9975b;
    text-decoration: none;
}

/* Product Grid */
.elmara-featured__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Product Card */
.elmara-featured__item {
    position: relative;
    cursor: pointer;
}

.elmara-featured__image-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.elmara-featured__image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.elmara-featured__item:hover .elmara-featured__image {
    transform: scale(1.04);
}

/* Bestseller Badge */
.elmara-featured__badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #b9975b;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 5px 10px;
    text-transform: uppercase;
    z-index: 2;
}

/* Product Info */
.elmara-featured__info {
    padding: 15px 0;
}

.elmara-featured__name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #ffffff;
}

.elmara-featured__name a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.elmara-featured__name a:hover {
    color: #b9975b;
}

.elmara-featured__meta {
    font-size: 11px;
    color: #888888;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    font-weight: 500;
}

.elmara-featured__price {
    display: flex;
    align-items: center;
    gap: 12px;
}

.elmara-featured__price-final {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.elmara-featured__price-old {
    font-size: 13px;
    color: #666666;
    text-decoration: line-through;
}

/* Responsive */
@media (max-width: 1024px) {
    .elmara-featured__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .elmara-featured {
        padding: 40px 20px;
    }

    .elmara-featured__title {
        font-size: 36px;
    }

    .elmara-featured__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .elmara-featured__image {
        height: 250px;
    }
}

/* =============================================
   Brand Story + Values Section
   ============================================= */

.elmara-brand {
    background-color: #1a2535;
}

/* Top Split */
.elmara-brand__split {
    display: flex;
    min-height: 580px;
}

.elmara-brand__content {
    flex: 0 0 50%;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.elmara-brand__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #888888;
    text-transform: uppercase;
}

.elmara-brand__title {
    font-size: 46px;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    font-family: var(--font-heading);
    
}

.elmara-brand__desc {
    font-size: 14px;
    color: #aaaaaa;
    line-height: 1.8;
    margin: 0;
    max-width: 420px;
}

.elmara-brand__btn {
    display: inline-block;
    padding: 14px 28px;
    border: 1.5px solid #ffffff;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    background: transparent;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: 10px;
}

.elmara-brand__btn:hover {
    background: #ffffff;
    color: #1a2535;
    text-decoration: none;
}

.elmara-brand__image-wrap {
    flex: 0 0 50%;
    overflow: hidden;
}

.elmara-brand__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Bottom Values */
.elmara-brand__values {
    display: flex;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.elmara-brand__value-item {
    flex: 1;
    padding: 50px 50px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.elmara-brand__value-item:last-child {
    border-right: none;
}

.elmara-brand__value-title {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.elmara-brand__value-title em {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 28px;
    color: #ffffff;
    display: block;
    margin-bottom: 4px;
}

.elmara-brand__value-title span {
    font-size: 18px;
    font-weight: 500;
    font-style: normal;
    font-family: var(--font-body);
}

.elmara-brand__value-desc {
    font-size: 13px;
    color: #888888;
    line-height: 1.8;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .elmara-brand__split {
        flex-direction: column;
    }

    .elmara-brand__content {
        padding: 50px 25px;
    }

    .elmara-brand__image-wrap {
        height: 350px;
    }

    .elmara-brand__title {
        font-size: 32px;
    }

    .elmara-brand__values {
        flex-direction: column;
    }

    .elmara-brand__value-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 35px 25px;
    }

    .elmara-brand__value-item:last-child {
        border-bottom: none;
    }
}

/* =============================================
   Appointment + Newsletter Split Section
   ============================================= */

.elmara-split-section {
    display: flex;
    min-height: 320px;
}

/* Left — Appointment */
.elmara-appointment {
    flex: 0 0 50%;
    background-color: #0d0d0d;
    padding: 70px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    text-align: left;
}

.elmara-appointment__label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #888888;
    text-transform: uppercase;
}

.elmara-appointment__title {
    font-size: 38px;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.elmara-appointment__desc {
    font-size: 13px;
    color: #888888;
    line-height: 1.8;
    margin: 0;
    max-width: 380px;
}

.elmara-appointment__actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.elmara-appointment__btn-primary,
.elmara-appointment__btn-primary:visited {
    display: inline-block;
    padding: 14px 24px;
    background: #b9975b;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1.5px solid #b9975b;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.elmara-appointment__btn-primary:hover {
    background: transparent;
    color: #b9975b;
    text-decoration: none;
}

.elmara-appointment__btn-primary:focus,
.elmara-appointment__btn-primary:active {
    background: #b9975b;
    color: #ffffff;
    text-decoration: none;
}

.elmara-appointment__btn-outline {
    display: inline-block;
    padding: 14px 24px;
    background: transparent;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1.5px solid #ffffff;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.elmara-appointment__btn-outline:hover {
    background: #ffffff;
    color: #0d0d0d;
    text-decoration: none;
}

/* Right — Newsletter */
.elmara-newsletter {
    flex: 0 0 50%;
    background-color: #f5f0e8;
    padding: 70px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.elmara-newsletter__title {
    font-size: 38px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.elmara-newsletter__desc {
    font-size: 13px;
    color: #666666;
    line-height: 1.8;
    margin: 0;
    max-width: 380px;
}

.elmara-newsletter__form {
    width: 100%;
    max-width: 460px;
    margin-top: 10px;
}

.elmara-newsletter__input-wrap {
    display: flex;
    align-items: stretch;
    width: 100%;
    background: #ffffff;
    border: 1px solid #d0c8b8;
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.elmara-newsletter__input-wrap:focus-within {
    border-color: #b9975b;
}

.elmara-newsletter__input-wrap .elmara-newsletter__input {
    flex: 1;
    min-width: 0;
    height: auto;
    padding: 16px 20px;
    font-size: 13px;
    color: #1a1a1a;
    background: transparent;
    border: none;
    border-radius: 0;
    outline: none;
    font-family: var(--font-body);
    box-sizing: border-box;
}

.elmara-newsletter__input::placeholder {
    color: #aaaaaa;
}

.elmara-newsletter__btn {
    padding: 16px 28px;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s ease;
    font-family: var(--font-body);
}

.elmara-newsletter__btn:hover {
    background: #b9975b;
}

.elmara-newsletter__btn:focus,
.elmara-newsletter__btn:active {
    background: #1a1a1a;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .elmara-split-section {
        flex-direction: column;
    }

    .elmara-appointment,
    .elmara-newsletter {
        padding: 50px 25px;
    }

    .elmara-appointment__title,
    .elmara-newsletter__title {
        font-size: 28px;
    }

    .elmara-appointment__actions {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ============================================
   COLLECTION / CATEGORY PAGE
   ============================================ */

/* Remove default page title on category */
.catalog-category-view .page-title-wrapper {
    display: none;
}

/* Remove default breadcrumb trail on category pages */
.catalog-category-view .breadcrumbs {
    display: none;
}

/* ---- Category page banner: dedicated per-category artwork with the
   Elmara branding/tagline already baked in, no overlay needed ---- */
.elmara-collection-banner {
    width: 100%;
    line-height: 0;
}

.elmara-collection-banner__image {
    width: 100%;
    height: auto;
    display: block;
}

/* ---- Hero Banner (fallback when no dedicated banner is set) ---- */
.elmara-collection-hero {
    width: 100%;
    height: 420px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;        /* ← CENTER vertically */
    overflow: hidden;
}

/* Dark gradient overlay so text is readable */
.elmara-collection-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.1) 60%,
        transparent 100%
    );
    z-index: 1;
}

.elmara-collection-hero__overlay {
    position: relative;
    z-index: 2;          /* Above the gradient */
    padding: 48px 60px;
    color: #fff;
}

.elmara-collection-hero__label {
    display: block;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.elmara-collection-hero__title {
    font-size: 48px;
    font-weight: 300;
    line-height: 1.2;
    margin: 0;
    color: #fff;
}

.elmara-collection-hero__title em {
    font-style: italic;
    font-family: Georgia, serif;
    color: #fff;
}



/* ---- Filter / Toolbar Bar ----
   The top .toolbar.toolbar-products instance only ever held the piece-count
   (now removed) and the Sort By control, which JS relocates into
   .elmara-filter-bar__sort above. With both gone it renders as an empty
   shell — hide it outright rather than leave a blank bordered bar. */
.catalog-category-view .toolbar.toolbar-products {
    display: none !important;
}

.catalog-category-view .toolbar-amount {
    display: none;
}

/* Hide default toolbar stuff we don't need.
   !important is required here: Luma's desktop stylesheet (styles-l.css) loads
   after this file and re-shows .limiter at equal selector specificity
   (`.products.wrapper ~ .toolbar .limiter { display: block }`). */
.catalog-category-view .toolbar-products .pages,
.catalog-category-view .toolbar-products .limiter,
.catalog-category-view .toolbar-products .modes {
    display: none !important;
}

/* Magento renders the toolbar twice (above and below the product grid). With
   pages/limiter/modes hidden, the bottom instance is visually empty but still
   keeps its border-top/border-bottom + padding, showing as extra blank space
   and a stray double line beneath the grid. Hide that second instance outright. */
.catalog-category-view .products.wrapper ~ .toolbar.toolbar-products {
    display: none !important;
}

/* Search results reuse the same .catalog-category-view card styling (see
   Magento_CatalogSearch::layout/catalogsearch_result_index.xml) but, unlike
   category pages, have no "Load More" — real pagination must stay visible. */
.catalogsearch-result-index .toolbar-products .pages {
    display: block !important;
    text-align: center;
    padding: 30px 0 10px;
}

.catalogsearch-result-index .pages-items {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.catalogsearch-result-index .pages .item {
    font-size: 13px;
    font-family: var(--font-body);
}

.catalogsearch-result-index .pages .page,
.catalogsearch-result-index .pages .action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 4px;
    color: #1a1a1a;
    text-decoration: none;
}

.catalogsearch-result-index .pages .item.current .page {
    background: #1a1a1a;
    color: #fff;
}

.catalog-category-view .toolbar-sorter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalog-category-view .toolbar-sorter label {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
}

.catalog-category-view .toolbar-sorter select {
    border: 1px solid #ddd;
    padding: 6px 28px 6px 12px;
    font-size: 13px;
    background: #fff;
    color: #1a1a1a;
    appearance: none;
    cursor: pointer;
}

/* ---- Product Grid ---- */
.catalog-category-view .products-grid {
    padding: 40px 60px;
}

.catalog-category-view .products-grid .product-items {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ---- Product Card ---- */
.catalog-category-view .product-item {
    position: relative;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.catalog-category-view .product-item-info {
    width: 100%;
}

/* Luma's default grid hover ("lift card" to reveal add-to-cart actions) adds
   background/shadow/border plus a negative margin, which we don't want since
   actions are hidden — it made the card pop out unevenly and look broken.
   Reset it back to the resting state and apply our own hover below instead. */
.catalog-category-view .product-item-info:hover,
.catalog-category-view .product-item-info.active {
    background: none;
    box-shadow: none;
    border: none;
    margin: 0;
    padding: 0;
    position: static;
    z-index: auto;
}

/* This panel exists to reveal quick add-to-cart actions on hover; we hide
   product-item-actions entirely, so suppress the empty white card too. */
.catalog-category-view .product-item-inner {
    display: none !important;
}

/* Product image container */
.catalog-category-view .product-item-photo {
    display: block;
    overflow: hidden;
    background: #f5f4f0;
    aspect-ratio: 1 / 1;
    position: relative;
    transition: box-shadow 0.35s ease;
}

.catalog-category-view .product-item:hover .product-item-photo {
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
}

.catalog-category-view .product-item-photo .product-image-container {
    width: 100% !important;
    height: 100%;
    display: block;
    position: relative;
}

/* Luma sizes this wrapper via an inline padding-bottom % matched to each
   image's own aspect ratio, which fights our fixed 1:1 square and leaves a
   gap for any non-square source photo. Force it to fill the square instead. */
.catalog-category-view .product-item-photo .product-image-wrapper {
    height: 100% !important;
    padding-bottom: 0 !important;
    position: absolute;
    inset: 0;
}

.catalog-category-view .product-item-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.catalog-category-view .product-item:hover img {
    transform: scale(1.06);
}

/* NEW Badge */
.catalog-category-view .product-item-info::before {
    display: none; /* controlled individually below */
}

/* Product details below image */
.catalog-category-view .product-item-details {
    padding: 16px 0 0;
    display: flex;
    flex-direction: column;
}

.catalog-category-view .product-item-name {
    margin: 0 0 4px;
    order: 1;
}

.catalog-category-view .product-item-name a {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: 0.3px;
}

.catalog-category-view .product-item-name a:hover {
    color: #b9975b;
}

/* Metal/material subtitle (rendered after price in the DOM; reordered via flex) */
.catalog-category-view .product-item-metal {
    order: 2;
    font-size: 12px;
    color: #8a8a8a;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 4px;
}

/* Price hidden storewide in favor of the "Price on Request" flow. */
.catalog-category-view .price-box {
    display: none !important;
}

/* Hide Add to Cart button on grid (luxury stores show it on hover or PDP) */
.catalog-category-view .product-item-actions {
    display: none;
}

/* ---- Wishlist heart, overlaid top-right on the product card image ---- */
.product-item-photo {
    position: relative;
}

/* Luma's core CSS targets this same element via ".product-item .action
   .towishlist" (3 classes) — higher specificity than a single custom
   class, so it silently wins the cascade on shared properties (display,
   color, text-transform, etc.) unless we force it with !important. */
.elmara-grid-wishlist {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 5 !important;
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    color: #1a1a1a !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-weight: normal !important;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

/* Luma's core CSS renders its own icon-font heart glyph via :before on any
   .action.towishlist element (see styles-m.css); this button reuses that
   Magento markup for the click behavior, so the glyph must be suppressed
   or it renders behind/beside our own SVG heart. */
.elmara-grid-wishlist:before {
    content: none !important;
}

.elmara-grid-wishlist:hover {
    transform: scale(1.08);
}

.elmara-grid-wishlist svg {
    width: 17px !important;
    height: 17px !important;
    display: block !important;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.elmara-grid-wishlist.elmara-wishlist-active {
    background: #CAAB6F !important;
    color: #fff !important;
}

.elmara-grid-wishlist.elmara-wishlist-active svg {
    fill: currentColor;
}

/* ---- NEW Badge (on first N products - CSS only trick) ---- */
.catalog-category-view .product-item:nth-child(1) .product-item-photo::after,
.catalog-category-view .product-item:nth-child(6) .product-item-photo::after {
    content: 'NEW';
    display: inline-block;
    width: fit-content;
    line-height: 1;
    position: absolute;
    top: 12px;
    left: 12px;
    background: #1a1a1a;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 6px 10px;
    border-radius: 2px;
    z-index: 2;
}

/* ---- BESTSELLER Badge ---- */
.catalog-category-view .product-item:nth-child(4) .product-item-photo::after,
.catalog-category-view .product-item:nth-child(7) .product-item-photo::after {
    content: 'BESTSELLER';
    display: inline-block;
    width: fit-content;
    line-height: 1;
    position: absolute;
    top: 12px;
    left: 12px;
    background: #b9975b;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 6px 10px;
    border-radius: 2px;
    z-index: 2;
}

.catalog-category-view .product-item-photo {
    position: relative;
}

/* ---- Product Count Text ---- */
.catalog-category-view .toolbar-amount .toolbar-number {
    font-weight: 600;
}

/* ---- Load More Button (replaces pagination) ---- */
.catalog-category-view .pages {
    text-align: center;
    padding: 20px 0 60px;
}

.catalog-category-view .pages .action.next,
.catalog-category-view .pages-items {
    display: none;
}

.elmara-load-more-wrap {
    text-align: center;
    padding: 20px 0 60px;
}

.elmara-load-more {
    display: inline-block;
    padding: 14px 48px;
    background: #6b5745;
    border: none;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}

.elmara-load-more:hover {
    background: #1a1a1a;
}

.elmara-load-more:focus,
.elmara-load-more:active {
    background: #6b5745;
    color: #ffffff;
    border-color: transparent;
}

/* Gender filter shouldn't show the per-option product count */
.elmara-filter-dropdown[data-filter-code="gender"] .count {
    display: none;
}

/* ---- Horizontal Filter Bar ---- */
.elmara-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 60px;
    border-top: 1px solid #e5e2dc;
    border-bottom: 1px solid #e5e2dc;
}

.elmara-filter-bar__filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.elmara-filter-bar__filters > * {
    display: flex;
    align-items: center;
}

.elmara-filter-bar__filters > *:not(:last-child) {
    padding-right: 20px;
    margin-right: 20px;
    border-right: 1px solid #ddd;
}

.elmara-filter-bar__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a1a1a;
}

.elmara-filter-dropdown {
    position: relative;
}

.elmara-filter-dropdown__trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1a1a1a;
    cursor: pointer;
    transition: color 0.2s ease;
}

.elmara-filter-dropdown__trigger:hover,
.elmara-filter-dropdown__trigger:focus,
.elmara-filter-dropdown__trigger:active {
    background: none;
    border: none;
    box-shadow: none;
    color: #b9975b;
}

.elmara-filter-dropdown__caret {
    font-size: 9px;
    color: #b9975b;
}

.elmara-filter-dropdown__panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid #e5e2dc;
    border-radius: 3px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    padding: 16px;
    z-index: 10;
}

.elmara-filter-dropdown.is-open .elmara-filter-dropdown__panel {
    display: block;
}

.elmara-filter-dropdown__panel .items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.elmara-filter-dropdown__panel .item {
    padding: 0;
}

.elmara-filter-dropdown__panel .item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #4a4a4a;
    font-size: 13px;
    text-decoration: none;
    padding: 7px 8px;
    margin: 0 -8px;
    border-radius: 3px;
    transition: background 0.15s ease, color 0.15s ease;
}

.elmara-filter-dropdown__panel .item a:hover {
    background: #f7f5f1;
    color: #1a1a1a;
}

.elmara-filter-dropdown__panel .item .count {
    color: #b5afa4;
    font-size: 12px;
}

/* Swatch-type attributes (Material, Ring Size, Chain Length, Bracelet Length)
   render via Magento_Swatches' default renderer, which ships plain gray
   pill styling (`#f0f0f0` box, `float:left`) meant for the sidebar layered
   nav. Restyle as clean chips to match the rest of the panel. */
.elmara-filter-dropdown__panel .swatch-attribute {
    margin: 0;
}

.elmara-filter-dropdown__panel .swatch-attribute-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.elmara-filter-dropdown__panel .swatch-option-link-layered {
    display: block;
    text-decoration: none;
}

.elmara-filter-dropdown__panel .swatch-option {
    float: none;
    height: auto;
    min-width: 40px;
    margin: 0;
    padding: 7px 14px;
    border: 1px solid #e2ded6;
    border-radius: 3px;
    background: #fff;
    color: #4a4a4a;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    text-overflow: clip;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.elmara-filter-dropdown__panel .swatch-option:not(.disabled):hover,
.elmara-filter-dropdown__panel .swatch-option:focus {
    border-color: #b9975b;
    color: #1a1a1a;
    outline: none;
    box-shadow: none;
}

.elmara-filter-dropdown__panel .swatch-option.selected {
    background: #b9975b;
    border-color: #b9975b;
    color: #fff;
    outline: none;
}

.elmara-filter-bar__clear {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #b9975b;
    text-decoration: none;
}

.elmara-filter-bar__sort .toolbar-sorter {
    margin: 0;
}

@media (max-width: 768px) {
    .elmara-filter-bar {
        padding: 16px 24px;
    }
}

/* ---- Main content full width ---- */
.catalog-category-view .column.main {
    width: 100% !important;
    padding: 0 !important;
}

.catalog-category-view .page-layout-2columns-left .column.main {
    width: 100% !important;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .catalog-category-view .products-grid .product-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .elmara-collection-hero {
        height: 280px;
    }
    .elmara-collection-hero__overlay {
        padding: 32px 24px;
    }
    .elmara-collection-hero__title {
        font-size: 32px;
    }
    .catalog-category-view .products-grid {
        padding: 24px;
    }
    .catalog-category-view .products-grid .product-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* ============================================
   PRODUCT DETAIL PAGE (PDP)
   ============================================ */

.catalog-product-view .column.main {
    width: 100% !important;
    padding: 48px 60px !important;
}

/* Default breadcrumb trail replaced by category eyebrow */
.catalog-product-view .breadcrumbs {
    display: none;
}

/* ---- Two-column layout: gallery | info ---- */
.catalog-product-view .product.media {
    width: 55% !important;
    float: left !important;
}

.catalog-product-view .product-info-main {
    width: 45% !important;
    float: right !important;
    padding-left: 48px;
}

/* ---- Eyebrow Category Label ---- */
.elmara-product-eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #CAAB6F;
    margin-bottom: 12px;
}

.elmara-product-eyebrow__sep {
    color: #CAAB6F;
    opacity: 0.5;
    margin: 0 4px;
}

/* ---- Product Title ---- */
.catalog-product-view .page-title-wrapper.product {
    margin: 0;
}

.catalog-product-view .page-title .base {
    font-size: 36px;
    font-weight: 400;
    font-family: var(--font-heading);
    color: #000000;
    line-height: 1.2;
    margin: 0 0 8px;
}

/* ---- Material Subtitle (short description, moved above price) ---- */
.catalog-product-view .product.attribute.overview {
    font-size: 15px;
    color: #555;
    font-weight: 400;
    font-family: var(--font-body);
    letter-spacing: 0;
    line-height: 1.7;
    margin-bottom: 16px;
}

.catalog-product-view .product.attribute.overview .value > p {
    margin: 0;
}

/* ---- Price ---- */
/* Prices are hidden storewide in favor of the "Price on Request" flow. */
.catalog-product-view .product-info-price {
    display: none !important;
}

/* Hide review link + stock/SKU row to match the clean Figma layout */
.catalog-product-view .product-reviews-summary,
.catalog-product-view .product-info-stock-sku {
    display: none;
}

/* ---- Long Description ---- */
.catalog-product-view .product.attribute.description {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin: 16px 0 24px;
}

/* ---- Quantity Stepper ---- */
.catalog-product-view .field.qty .label {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
    display: block;
}

.elmara-qty-wrap {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #ddd;
    margin-bottom: 16px;
}

.elmara-qty-btn {
    width: 44px;
    background: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #1a1a1a;
    transition: background 0.2s;
}

.elmara-qty-btn:hover {
    background: #f5f4f0;
}

.catalog-product-view .input-text.qty {
    width: 56px !important;
    height: 44px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-size: 15px;
    border-radius: 0;
}

/* ---- Cart Actions Row: Add to Bag + Wishlist square ---- */
.elmara-cart-actions {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    margin-bottom: 8px;
}

.elmara-cart-actions .box-tocart {
    flex: 1;
}

.elmara-cart-actions .fieldset {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.catalog-product-view .action.primary.tocart {
    background: #1a1a1a !important;
    border: none !important;
    color: #fff !important;
    font-size: 12px !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    padding: 0 40px !important;
    height: 56px;
    width: 100% !important;
    border-radius: 0 !important;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 500 !important;
}

.catalog-product-view .action.primary.tocart:hover {
    background: #CAAB6F !important;
}

.elmara-cart-actions .product-addto-links {
    display: flex;
}

.elmara-cart-actions .product-addto-links .towishlist {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.elmara-cart-actions .product-addto-links .towishlist span {
    display: none;
}

.elmara-cart-actions .product-addto-links .towishlist:before {
    font-size: 18px;
}

.elmara-cart-actions .product-addto-links .towishlist.elmara-wishlist-active {
    background: #1a1a1a;
    color: #fff;
}

.elmara-cart-actions .action.tocompare {
    display: none;
}

/* ---- Price on Request (replaces Add to Cart visually — box-tocart stays in the DOM/functional, just hidden) ---- */
.catalog-product-view .product-info-main .box-tocart {
    display: none !important;
}

.elmara-price-on-request {
    margin-bottom: 32px;
}

/* ---- Wishlist heart next to "Price on Request" ---- */
.elmara-pdp-actions {
    display: flex;
    gap: 12px;
    align-items: stretch;
    margin-bottom: 32px;
}

.elmara-pdp-actions .elmara-price-on-request {
    flex: 1;
    margin-bottom: 0;
}

.elmara-pdp-wishlist {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 56px;
    flex-shrink: 0;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.elmara-pdp-wishlist:before {
    content: none !important;
}

.elmara-pdp-wishlist svg {
    width: 20px;
    height: 20px;
    display: block;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
}

.elmara-pdp-wishlist.elmara-wishlist-active {
    background: #1a1a1a;
    color: #fff;
}

.elmara-pdp-wishlist.elmara-wishlist-active svg {
    fill: currentColor;
}

.elmara-pdp-wishlist:hover {
    background: #CAAB6F !important;
    border-color: #CAAB6F !important;
    color: #fff !important;
}

.catalog-product-view .elmara-por-trigger {
    background: #1a1a1a !important;
    border: none !important;
    color: #fff !important;
    font-size: 12px !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    padding: 0 40px !important;
    height: 56px;
    width: 100% !important;
    border-radius: 0 !important;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 500 !important;
}

.catalog-product-view .elmara-por-trigger:hover {
    background: #CAAB6F !important;
}

/* ---- Selected Metal/Purity/Tone/Size summary, shown at the top of the
   Price on Request form so the customer can see what they're requesting
   pricing for ---- */
.elmara-por-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: #faf8f4;
    border: 1px solid #e8e5e0;
}

.elmara-por-selection--empty {
    display: none;
}

.elmara-por-selection__row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 13px;
}

.elmara-por-selection__label {
    color: #8a8a8a;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 11px;
}

.elmara-por-selection__value {
    color: #1a1a1a;
    font-weight: 600;
}

.elmara-por-honeypot {
    position: absolute;
    left: -9999px;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

body.elmara-por-open {
    overflow: hidden;
}

.elmara-por-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.elmara-por-modal.elmara-por-modal--active {
    display: flex;
}

.elmara-por-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.elmara-por-modal__dialog {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 48px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.elmara-por-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #1a1a1a;
}

.elmara-por-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.elmara-por-form__field {
    margin-bottom: 24px;
}

.elmara-por-form__field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-family: var(--font-body);
    color: #1a1a1a;
}

.elmara-por-form__field .required {
    color: #c00;
    margin-left: 2px;
}

.elmara-por-form__field input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #dbe4ee;
    background: #f7fafc;
    font-size: 14px;
    box-sizing: border-box;
    font-family: var(--font-body);
}

.elmara-por-form__field input:focus {
    outline: none;
    border-color: #CAAB6F;
}

.elmara-por-form__message {
    min-height: 20px;
    font-size: 13px;
    margin-bottom: 16px;
}

.elmara-por-form__message--error {
    color: #c00;
}

.elmara-por-form__actions {
    text-align: center;
}

.elmara-por-form__actions .elmara-por-submit {
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 14px 48px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    transition: background 0.3s ease;
}

.elmara-por-form__actions .elmara-por-submit:hover {
    background: #CAAB6F;
}

.elmara-por-form__actions .elmara-por-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.elmara-por-success {
    text-align: center;
    padding: 24px 0;
}

.elmara-por-success p {
    font-size: 16px;
    margin-bottom: 24px;
}

.elmara-por-success button {
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 12px 32px;
    cursor: pointer;
}

@media (max-width: 767px) {
    .elmara-por-form__row {
        grid-template-columns: 1fr;
    }

    .elmara-por-modal__dialog {
        padding: 32px 20px;
    }
}

/* ---- Image Gallery — vertical thumbnails on left ----
   Fotorama's DOM is .fotorama > .fotorama__wrap > [.fotorama__stage, .fotorama__nav-wrap].
   .fotorama__stage/.fotorama__nav-wrap are grandchildren of .fotorama, so making .fotorama
   a flex container never reaches them. Fotorama also measures $wrap.width() on every
   resize() and stamps that pixel value onto the stage shaft/image, so the nav column must
   be reserved via padding on .fotorama__wrap (which jQuery's .width() already excludes)
   rather than via flex/grid tracks Fotorama doesn't know about. */
.catalog-product-view .fotorama__wrap {
    padding-left: 104px;
}

.catalog-product-view .fotorama__nav-wrap {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 88px !important;
}

.catalog-product-view .fotorama__nav-wrap--horizontal {
    height: auto !important;
}

.catalog-product-view .fotorama__nav.fotorama__nav--thumbs {
    width: 88px !important;
    height: auto !important;
}

.catalog-product-view .fotorama__nav__shaft {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    width: 88px !important;
    height: auto !important;
    transform: none !important;
}

.catalog-product-view .fotorama__nav__frame {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 88px !important;
    height: 88px !important;
    margin: 0 !important;
}

.catalog-product-view .fotorama__thumb {
    border: 1px solid #e5e5e5 !important;
    background: #ffffff !important;
}

.catalog-product-view .fotorama__nav__frame--active .fotorama__thumb {
    border-color: #1a1a1a !important;
}

.catalog-product-view .fotorama__stage {
    background: #ffffff !important;
}

/* Force the stage frame + image to fill the stage edge-to-edge. Fotorama's
   JS computes the image's crop box/position in inline styles based on the
   stage width it measures at init — with the reserved 104px nav-column
   padding and the forced resize({width:'100%'}) in gallery-resize-fix.js,
   that math can land short of the real box, leaving a blank strip before
   the image "starts". Overriding every dimension/position it sets removes
   the gap regardless of what Fotorama calculated. */
.catalog-product-view .fotorama__stage__frame {
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
}

.catalog-product-view .fotorama__img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    transform: none !important;
    object-fit: cover;
}

/* ---- Gallery Arrows: always visible, simple flat style (no hover-reveal,
   no translucent circle background). Fotorama's default "toggle-arrows"
   behavior hides arrows until hover/focus and slides them off-stage in
   css3 mode — override those specific selectors (matching/exceeding their
   specificity) rather than relying on load order, since both use !important. */
.catalog-product-view .fotorama__wrap--no-controls.fotorama__wrap--toggle-arrows .fotorama__arr,
.catalog-product-view .fotorama__wrap--css2.fotorama__wrap--no-controls.fotorama__wrap--toggle-arrows .fotorama__arr,
.catalog-product-view .fotorama__arr {
    opacity: 1 !important;
    display: block !important;
    background: none !important;
}

.catalog-product-view .fotorama__wrap--css3.fotorama__wrap--no-controls.fotorama__wrap--slide.fotorama__wrap--toggle-arrows .fotorama__arr--prev:not(:focus),
.catalog-product-view .fotorama__wrap--css3.fotorama__wrap--no-controls.fotorama__wrap--slide.fotorama__wrap--toggle-arrows .fotorama__arr--next:not(:focus) {
    transform: none !important;
}

.catalog-product-view .fotorama__arr,
.catalog-product-view .fotorama__arr:hover,
.catalog-product-view .fotorama__arr:active,
.catalog-product-view .fotorama__arr:focus {
    background-color: transparent !important;
}

.catalog-product-view .fotorama__arr {
    width: 48px;
}

/* The stock sprite icon is a dark-gray glyph meant for light backgrounds —
   invisible against our product photos' black backdrop. Draw a plain
   chevron instead so it stays visible and looks simple on any image. */
.catalog-product-view .fotorama__arr .fotorama__arr__arr {
    background-image: none !important;
    width: 14px;
    height: 14px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    padding: 0;
    opacity: 0.85;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
    transition: opacity 0.2s ease;
}

.catalog-product-view .fotorama__arr--prev .fotorama__arr__arr {
    transform: translate3d(-50%, -50%, 0) rotate(135deg);
}

.catalog-product-view .fotorama__arr--next .fotorama__arr__arr {
    transform: translate3d(-50%, -50%, 0) rotate(-45deg);
}

.catalog-product-view .fotorama__arr:hover .fotorama__arr__arr {
    opacity: 1;
}

/* ---- Accordion ---- */
.elmara-accordion {
    margin-top: 8px;
    border-top: 1px solid #e5e5e5;
}

.elmara-accordion__item {
    border-bottom: 1px solid #e5e5e5;
}

.elmara-accordion__trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 12px;
    margin: 0 -12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    text-align: left;
    letter-spacing: 0.5px;
    font-family: var(--font-body);
    transition: background 0.2s ease, color 0.2s ease;
}

/* Buttons pick up the browser/Luma default dark focus/active background when
   clicked if it isn't reset explicitly — same issue as the filter dropdown
   triggers. Reset it and apply our own soft tint instead. */
.elmara-accordion__trigger:hover,
.elmara-accordion__trigger:focus,
.elmara-accordion__trigger:active {
    background: #faf8f4;
    color: #b9975b;
    outline: none;
    box-shadow: none;
    border: none;
}

.elmara-accordion__icon {
    font-size: 18px;
    font-weight: 300;
    color: #b0aca4;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.elmara-accordion__trigger:hover .elmara-accordion__icon,
.elmara-accordion__trigger:focus .elmara-accordion__icon {
    color: #b9975b;
}

.elmara-accordion__item.active .elmara-accordion__trigger {
    background: #faf8f4;
    color: #1a1a1a;
}

.elmara-accordion__item.active .elmara-accordion__icon {
    color: #b9975b;
}

.elmara-accordion__content {
    display: none;
    padding: 0 12px 20px;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.elmara-accordion__item.active .elmara-accordion__content {
    display: block;
}

/* ---- Specifications ---- */
.catalog-product-view .elmara-specifications {
    clear: both;
    padding: 60px;
    border-top: 1px solid #e5e5e5;
}

.catalog-product-view .elmara-specifications__inner {
    max-width: 100%;
    margin: 0 auto;
}

.catalog-product-view .elmara-specifications__title {
    font-size: 28px;
    font-weight: 400;
    font-family: var(--font-heading);
    color: #000000;
    margin: 0 0 32px;
}

.catalog-product-view .elmara-specifications__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 48px;
    margin: 0;
}

.catalog-product-view .elmara-specifications__row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
    font-family: var(--font-body);
}

@media (max-width: 767px) {
    .catalog-product-view .elmara-specifications__list {
        grid-template-columns: 1fr;
    }
}

.catalog-product-view .elmara-specifications__row dt {
    color: #888;
    font-weight: 500;
}

.catalog-product-view .elmara-specifications__row dd {
    margin: 0;
    color: #1a1a1a;
    font-weight: 500;
    text-align: right;
}

/* ---- Related Products — "Complete the Look" ---- */
.catalog-product-view .block.related {
    clear: both;
    padding: 60px;
    background: #faf9f7;
    margin-top: 60px;
}

.catalog-product-view .block.related .block-title {
    margin-bottom: 8px;
}

.catalog-product-view .block.related .block-title strong {
    font-size: 0;
}

.catalog-product-view .block.related .block-title strong::before {
    content: 'YOU MAY ALSO LIKE';
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #CAAB6F;
    font-weight: 600;
    display: block;
    font-family: var(--font-body);
}

.catalog-product-view .block.related .block-title::after {
    content: 'Complete the look';
    display: block;
    font-size: 36px;
    font-weight: 400;
    font-family: var(--font-heading);
    color: #000000;
    letter-spacing: 0;
    text-transform: none;
    margin-top: 8px;
    margin-bottom: 32px;
}

.catalog-product-view .block.related .products-grid .product-items {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.catalog-product-view .block.related .product-item {
    width: 100% !important;
    margin: 0 !important;
}

.catalog-product-view .block.related .product-item-photo {
    display: block;
    background: #f5f4f0;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.catalog-product-view .block.related .product-item-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-product-view .block.related .product-item-name a {
    font-size: 14px;
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-family: var(--font-heading);
}

.catalog-product-view .block.related .price-box .price {
    font-size: 14px;
    color: #CAAB6F;
}

.catalog-product-view .block.related .product-item-actions {
    display: none;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .catalog-product-view .product.media,
    .catalog-product-view .product-info-main {
        width: 100% !important;
        float: none !important;
        padding-left: 0;
    }

    .catalog-product-view .product-info-main {
        margin-top: 24px;
    }

    .catalog-product-view .fotorama {
        flex-direction: column;
    }

    .catalog-product-view .fotorama__nav-wrap {
        order: 1;
        width: 100% !important;
    }

    .catalog-product-view .fotorama__nav__shaft {
        flex-direction: row !important;
        width: 100% !important;
    }

    .catalog-product-view .fotorama__nav__frame {
        width: 72px !important;
        height: 72px !important;
    }

    .catalog-product-view .fotorama__stage {
        height: 420px !important;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .catalog-product-view .column.main {
        padding: 24px 16px !important;
    }

    .catalog-product-view .block.related {
        padding: 32px 16px;
    }

    .catalog-product-view .block.related .products-grid .product-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---- Collection page hero title ---- */
.elmara-collection-hero__title {
    font-family: var(--font-heading);
}

/* ---- Product title on PDP ---- */
.catalog-product-view .page-title .base {
    font-family: var(--font-heading);
}

/* ---- Category page titles ---- */
.catalog-category-view .product-item-name a {
    font-family: var(--font-heading);
}

/* ---- Related products heading ---- */
.block.related .block-title strong {
    font-family: var(--font-heading);
}


/* ============================================
   FOOTER
   ============================================ */

/* Hide default Magento footer */
/* Hide entire default Magento footer (newsletter, links, copyright) */
.page-footer {
    display: none !important;
}
/* Hide default Magento copyright bar above our custom footer */
.copyright {
    display: none !important;
}

.elmara-footer {
    background: #faf9f7;
    border-top: 1px solid #e8e5e0;
    padding: 60px 60px 0;
    font-family: var(--font-body);
}

/* ---- Brand ---- */
.elmara-footer__brand {
    text-align: center;
    padding-bottom: 48px;
    border-bottom: 1px solid #e8e5e0;
    margin-bottom: 48px;
}

.elmara-footer__brand-name {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: 1px;
}

.elmara-footer__brand-logo {
    height: 64px;
    width: auto;
}

/* ---- Main Grid ---- */
.elmara-footer__main {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr 1.4fr;
    gap: 40px;
    padding-bottom: 48px;
}

/* ---- Column Title ---- */
.elmara-footer__col-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 20px;
    font-family: var(--font-body);
}

/* ---- Links from CMS blocks ---- */
.elmara-footer__links ul,
.elmara-footer__contact ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.elmara-footer__links li,
.elmara-footer__contact li {
    margin-bottom: 12px;
}

.elmara-footer__links a {
    font-size: 14px;
    color: #555;
    text-decoration: none;
    font-family: var(--font-body);
    transition: color 0.2s ease;
    line-height: 1.5;
}

.elmara-footer__links a:hover {
    color: #b9975b;
}

/* ---- Contact ---- */
.elmara-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.elmara-footer__contact a {
    color: #555;
    text-decoration: none;
    font-family: var(--font-body);
    transition: color 0.2s;
}

.elmara-footer__contact a:hover {
    color: #b9975b;
}

.footer-contact-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 2px;
}

.footer-icon-phone {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9975b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/></svg>");
}

.footer-icon-email {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9975b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='4' width='20' height='16' rx='2'/><path d='m22 6-10 7L2 6'/></svg>");
}

.footer-icon-location {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9975b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/><circle cx='12' cy='10' r='3'/></svg>");
}

/* ---- Payment Badges ---- */
.elmara-footer__payment {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.elmara-footer__payment-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.elmara-payment-badge {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #555;
    background: #fff;
    letter-spacing: 0.5px;
}

/* ---- Bottom Bar ---- */
.elmara-footer__bottom {
    border-top: 1px solid #e8e5e0;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.elmara-footer__copyright {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.elmara-footer__legal {
    display: flex;
    gap: 24px;
}

.elmara-footer__legal a {
    font-size: 13px;
    color: #888;
    text-decoration: none;
    font-family: var(--font-body);
    transition: color 0.2s;
}

.elmara-footer__legal a:hover {
    color: #1a1a1a;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .elmara-footer__main {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .elmara-footer {
        padding: 40px 24px 0;
    }
    .elmara-footer__main {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    .elmara-footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .elmara-footer__legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* ============================================
   BROWSE BY CATEGORY (Homepage)
   Renamed to elmara-browse-categories to avoid
   collision with legacy .elmara-categories /
   .elmara-category-item used in hero banner block
   ============================================ */

.elmara-browse-categories {
    display: block !important;
    width: 100% !important;
    padding: 60px;
}

.elmara-browse-categories__header {
    display: flex !important;
    width: 100% !important;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    border-bottom: 1px solid #e8e5e0;
    padding-bottom: 24px;
}

.elmara-browse-categories__label {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #b9975b;
    margin-bottom: 12px;
}

.elmara-browse-categories__title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 400;
    line-height: 1.25;
    color: #1a1a1a;
    margin: 0;
}

.elmara-browse-categories__view-all {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: underline;
    text-underline-offset: 4px;
    white-space: nowrap;
}

.elmara-browse-categories__view-all:hover {
    color: #b9975b;
}

.elmara-browse-categories__grid {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px;
}

.elmara-browse-categories__card {
    display: block !important;
    position: relative;
    min-width: 0 !important;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f5f4f0;
    text-decoration: none;
}

.elmara-browse-categories__image {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.elmara-browse-categories__image--placeholder {
    width: 100%;
    height: 100%;
    background: #ede9e3;
}

.elmara-browse-categories__card:hover .elmara-browse-categories__image {
    transform: scale(1.05);
}

.elmara-browse-categories__overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
}

.elmara-browse-categories__name {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}

/* Push Search/Account/Wishlist cluster to the right edge */
.elmara-header-actions {
    margin-left: auto;
}

/* Gap between Wishlist and Cart pill */
.minicart-wrapper {
    margin-left: 24px !important;
}

@media (max-width: 1024px) {
    .elmara-browse-categories__grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .elmara-browse-categories {
        padding: 32px 16px;
    }
    .elmara-browse-categories__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .elmara-browse-categories__title {
        font-size: 28px;
    }
    .elmara-browse-categories__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
}

/* ============================================
   GUEST WISHLIST PAGE (localStorage-based)
   Product cards reuse the .catalog-category-view .product-item* rules
   above (via the body class set in the page's layout XML) so they render
   identically to the category grid — only page-level chrome lives here.
   ============================================ */
.elmara-wishlist-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 0 80px;
}

.elmara-wishlist-page__title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 32px;
    padding: 0 60px;
}

.elmara-wishlist-page .products-grid {
    padding: 0 60px;
}

.elmara-wishlist-empty {
    text-align: center;
    padding: 60px 20px;
    color: #6B6560;
}

.elmara-wishlist-empty p {
    font-family: var(--font-body);
    font-size: 15px;
    margin: 0 0 20px;
}

.elmara-wishlist-empty__link {
    display: inline-block;
    padding: 14px 32px;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.elmara-wishlist-empty__link:hover {
    background: #1a1a1a;
    color: #fff;
}

@media (max-width: 768px) {
    .elmara-wishlist-page {
        padding: 32px 0 60px;
    }
    .elmara-wishlist-page__title {
        font-size: 28px;
        margin-bottom: 24px;
        padding: 0 16px;
    }
    .elmara-wishlist-page .products-grid {
        padding: 0 16px;
    }
}

/* Remove default bottom padding on main content column (gap before footer) */
.columns .column.main {
    padding-bottom: 0 !important;
}


/* ---- Metal / Size Swatch Rows ---- */
.elmara-swatch-row {
    margin-bottom: 20px;
}

.elmara-swatch-row__label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 10px;
}

.elmara-swatch-row__value {
    color: #1a1a1a;
    font-weight: 600;
}

.elmara-swatch-row__options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.elmara-swatch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 44px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: #1a1a1a;
    background: #fff;
    white-space: nowrap;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.elmara-swatch:hover {
    border-color: #1a1a1a;
}

.elmara-swatch--active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.elmara-swatch:focus,
.elmara-swatch:active {
    background: #fff;
    color: #1a1a1a;
    border-color: #1a1a1a;
}

.elmara-swatch--active:focus,
.elmara-swatch--active:active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

/* ============================================
   NATIVE CONFIGURABLE SWATCHES — match custom look
   ============================================ */

.product-options-wrapper .swatch-attribute {
    margin-bottom: 20px;
}

.product-options-wrapper .swatch-attribute-label,
.product-options-wrapper .swatch-attribute-selected-option {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
}

.product-options-wrapper .swatch-attribute-selected-option {
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    margin-left: 6px;
}

.product-options-wrapper .swatch-attribute-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.product-options-wrapper .swatch-option {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #ddd !important;
    border-radius: 0 !important;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: #1a1a1a;
    background: #fff !important;
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: normal;
}

.product-options-wrapper .swatch-option.text:hover:not(.selected):not(.disabled) {
    border-color: #1a1a1a !important;
    color: #1a1a1a;
    outline: none;
}

.product-options-wrapper .swatch-option.selected {
    background: #1a1a1a !important;
    color: #fff !important;
    border-color: #1a1a1a !important;
    outline: none;
}

.product-options-wrapper .swatch-option.disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ============================================
   FAQ SECTION — homepage, above footer
   ============================================ */

.elmara-faq {
    background: #f5f0e8;
    padding: 80px 24px;
}

.elmara-faq__inner {
    max-width: 900px;
    margin: 0 auto;
}

.elmara-faq__title {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 500;
    text-align: center;
    color: var(--color-heading);
    margin: 0 0 40px;
}

.elmara-faq__list {
    border: 1px solid #e2d9c9;
    background: #f5f0e8;
}

.elmara-faq__item {
    border-bottom: 1px solid #e2d9c9;
}

.elmara-faq__item:last-child {
    border-bottom: none;
}

.elmara-faq__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 28px;
    background: transparent;
    border: none;
    box-shadow: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-body);
}

.elmara-faq__trigger:hover,
.elmara-faq__trigger:focus,
.elmara-faq__trigger:active {
    background: transparent;
    border: none;
    box-shadow: none;
    outline: none;
}

.elmara-faq__item.active .elmara-faq__trigger {
    background: #efe8da;
}

.elmara-faq__question {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.5;
}

.elmara-faq__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 18px;
    font-weight: 400;
    color: #6b6560;
    line-height: 1;
}

.elmara-faq__icon::before {
    content: '+';
}

.elmara-faq__item.active .elmara-faq__icon::before {
    content: '\00d7';
    font-size: 22px;
}

.elmara-faq__content {
    display: none;
    padding: 0 28px 24px;
    background: #ffffff;
}

.elmara-faq__item.active .elmara-faq__content {
    display: block;
}

.elmara-faq__content p {
    margin: 0;
    padding-top: 20px;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

@media (max-width: 640px) {
    .elmara-faq {
        padding: 56px 16px;
    }

    .elmara-faq__title {
        font-size: 26px;
        margin-bottom: 28px;
    }

    .elmara-faq__trigger {
        padding: 16px 18px;
    }

    .elmara-faq__content {
        padding: 0 18px 20px;
    }
}

/* ============================================
   CUSTOMER REVIEWS SECTION — homepage
   ============================================ */

.elmara-reviews {
    background: #f5f0e8;
    padding: 90px 24px;
}

.elmara-reviews__inner {
    max-width: 1140px;
    margin: 0 auto;
}

.elmara-reviews__header {
    text-align: center;
    margin-bottom: 56px;
}

.elmara-reviews__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #888888;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.elmara-reviews__title {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--color-heading);
    margin: 0;
}

.elmara-carousel--reviews {
    position: relative;
}

.elmara-carousel--reviews .elmara-carousel__track-wrapper {
    overflow: hidden;
}

.elmara-carousel--reviews .elmara-carousel__track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease;
}

.elmara-carousel--reviews .elmara-carousel__item {
    flex: 0 0 calc(33.333% - 16px);
    min-width: calc(33.333% - 16px);
}

.elmara-carousel--reviews .elmara-carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, background 0.2s ease, color 0.2s ease;
    z-index: 2;
}

.elmara-carousel--reviews .elmara-carousel__btn--prev {
    left: -22px;
}

.elmara-carousel--reviews .elmara-carousel__btn--next {
    right: -22px;
}

.elmara-carousel--reviews:hover .elmara-carousel__btn {
    opacity: 1;
    pointer-events: auto;
}

.elmara-carousel--reviews .elmara-carousel__btn.is-disabled {
    opacity: 0 !important;
    pointer-events: none !important;
}

.elmara-carousel--reviews:hover .elmara-carousel__btn.is-disabled {
    opacity: 0.3 !important;
}

.elmara-reviews__card {
    background: #ffffff;
    border: 1px solid #e6ddd0;
    padding: 32px;
}

.elmara-reviews__stars {
    color: #cba135;
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.elmara-reviews__quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 15px;
    line-height: 1.7;
    color: #333333;
    margin: 0 0 20px;
}

.elmara-reviews__divider {
    width: 32px;
    height: 1px;
    background: #cba135;
    border: none;
    margin: 0 0 16px;
}

.elmara-reviews__name {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 2px;
}

.elmara-reviews__location {
    font-family: var(--font-body);
    font-size: 12px;
    color: #888888;
    margin: 0 0 16px;
}

.elmara-reviews__badge {
    display: inline-block;
    border: 1px solid #cba135;
    color: #b9975b;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 14px;
}

@media (max-width: 900px) {
    .elmara-carousel--reviews .elmara-carousel__item {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .elmara-carousel--reviews .elmara-carousel__btn--prev {
        left: 4px;
    }

    .elmara-carousel--reviews .elmara-carousel__btn--next {
        right: 4px;
    }
}

@media (max-width: 640px) {
    .elmara-reviews {
        padding: 56px 16px;
    }

    .elmara-reviews__title {
        font-size: 26px;
    }

    .elmara-reviews__header {
        margin-bottom: 36px;
    }
}

/* ============================================
   INTERIOR CONTENT PAGES — About, Our Story,
   Contact, Legal (Privacy/Terms/Refund)
   ============================================ */

.cms-about-elmara .page-title-wrapper,
.cms-our-story .page-title-wrapper,
.cms-privacy-policy .page-title-wrapper,
.cms-terms-conditions .page-title-wrapper,
.cms-refund-policy .page-title-wrapper,
.contact-index-index .page-title-wrapper {
    display: none;
}

.contact-index-index .column.main {
    padding: 0;
    width: 100%;
    max-width: 100%;
}

/* ---- Shared Page Hero ---- */
.elmara-page-hero {
    width: 100%;
    min-height: 320px;
    background-color: #0d0d0d;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.elmara-page-hero--large {
    min-height: 420px;
}

.elmara-page-hero--compact {
    min-height: 220px;
}

.elmara-page-hero[style*="background-image"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.elmara-page-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 24px;
    max-width: 720px;
}

.elmara-page-hero__label {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #cba135;
    margin-bottom: 16px;
}

.elmara-page-hero__title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    color: #ffffff;
    margin: 0 0 14px;
}

.elmara-page-hero__title em {
    font-style: italic;
}

.elmara-page-hero__subtitle {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

@media (max-width: 640px) {
    .elmara-page-hero {
        min-height: 260px;
    }

    .elmara-page-hero--large {
        min-height: 320px;
    }

    .elmara-page-hero__title {
        font-size: 32px;
    }
}

/* ---- Shared section scaffolding ---- */
.elmara-content-section {
    padding: 80px 24px;
}

.elmara-content-section__inner {
    max-width: 1140px;
    margin: 0 auto;
}

.elmara-content-section--cream {
    background: #f5f0e8;
}

.elmara-content-section--dark {
    background: #0d0d0d;
    color: #ffffff;
}

@media (max-width: 640px) {
    .elmara-content-section {
        padding: 56px 16px;
    }
}

/* ---- About Elmara ---- */
.elmara-about__intro {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.elmara-about__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 16px;
}

.elmara-about__intro-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 500;
    color: var(--color-heading);
    margin: 0 0 20px;
    line-height: 1.3;
}

.elmara-about__intro-desc {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.8;
    color: #555555;
    margin: 0 0 16px;
}

.elmara-about__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.elmara-about__split-image {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.elmara-about__split-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #cba135;
    margin-bottom: 14px;
}

.elmara-about__split-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 500;
    color: var(--color-heading);
    margin: 0 0 18px;
    line-height: 1.3;
}

.elmara-about__split-desc {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.8;
    color: #555555;
    margin: 0 0 14px;
}

.elmara-about__values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.elmara-about__value-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 12px;
}

.elmara-about__value-title em {
    font-style: italic;
    color: #cba135;
}

.elmara-about__value-desc {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.elmara-about__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.elmara-about__stat-number {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 500;
    color: var(--color-heading);
    margin: 0 0 8px;
}

.elmara-about__stat-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888888;
    margin: 0;
}

.elmara-cta {
    text-align: center;
}

.elmara-cta__title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 500;
    color: var(--color-heading);
    margin: 0 0 24px;
}

.elmara-cta__btn {
    display: inline-block;
    padding: 15px 42px;
    background: #1a1a1a;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s ease;
}

.elmara-cta__btn:hover {
    background: #cba135;
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 900px) {
    .elmara-about__split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .elmara-about__split-image {
        height: 320px;
    }

    .elmara-about__values,
    .elmara-about__stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .elmara-about__intro-title {
        font-size: 26px;
    }

    .elmara-about__values,
    .elmara-about__stats {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* ---- Our Story ---- */
.elmara-story__intro {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.elmara-story__quote {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.elmara-story__quote-text {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 28px;
    line-height: 1.5;
    color: var(--color-heading);
    margin: 0 0 20px;
}

.elmara-story__quote-author {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888888;
}

.elmara-story__timeline {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
    border-left: 1px solid #e2d9c9;
}

.elmara-story__milestone {
    position: relative;
    padding-bottom: 44px;
}

.elmara-story__milestone:last-child {
    padding-bottom: 0;
}

.elmara-story__milestone::before {
    content: '';
    position: absolute;
    left: -45px;
    top: 4px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cba135;
}

.elmara-story__milestone-year {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #cba135;
    margin-bottom: 8px;
}

.elmara-story__milestone-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 500;
    color: var(--color-heading);
    margin: 0 0 10px;
}

.elmara-story__milestone-desc {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.8;
    color: #555555;
    margin: 0;
}

@media (max-width: 640px) {
    .elmara-story__quote-text {
        font-size: 21px;
    }

    .elmara-story__timeline {
        padding-left: 28px;
    }

    .elmara-story__milestone::before {
        left: -33px;
    }
}

/* ---- Contact Us ---- */
.elmara-contact__wrap {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
}

.elmara-contact__info-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 500;
    color: var(--color-heading);
    margin: 0 0 16px;
}

.elmara-contact__info-desc {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.8;
    color: #555555;
    margin: 0 0 36px;
}

.elmara-contact__detail {
    display: flex;
    gap: 16px;
    padding: 22px 0;
    border-top: 1px solid #e2d9c9;
}

.elmara-contact__detail:last-child {
    border-bottom: 1px solid #e2d9c9;
}

.elmara-contact__detail-label {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 6px;
}

.elmara-contact__detail-value {
    font-family: var(--font-body);
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.6;
}

.elmara-contact__detail-value a {
    color: #1a1a1a;
    text-decoration: none;
}

.elmara-contact__detail-value a:hover {
    color: #cba135;
}

.elmara-contact__form-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 500;
    color: var(--color-heading);
    margin: 0 0 28px;
}

/* Restyle Magento's native contact form */
.contact-index-index .form.contact {
    max-width: 100%;
}

.contact-index-index .form.contact .fieldset {
    margin: 0;
}

.contact-index-index .form.contact .field {
    margin-bottom: 22px;
}

.contact-index-index .form.contact .field .label {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 8px;
}

.contact-index-index .form.contact .field .label::after {
    content: '';
}

.contact-index-index .form.contact .field._required .label span::after,
.contact-index-index .form.contact .field.required .label span::after {
    content: ' *';
    color: #cba135;
}

.contact-index-index .form.contact input.input-text,
.contact-index-index .form.contact select,
.contact-index-index .form.contact textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #ffffff;
    padding: 13px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    color: #1a1a1a;
    box-shadow: none;
    transition: border-color 0.2s ease;
}

.contact-index-index .form.contact input.input-text:focus,
.contact-index-index .form.contact select:focus,
.contact-index-index .form.contact textarea:focus {
    border-color: #cba135;
    box-shadow: none;
    outline: none;
}

.contact-index-index .form.contact textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-index-index .form.contact .actions-toolbar {
    margin: 8px 0 0;
}

.contact-index-index .form.contact .actions-toolbar > .primary {
    float: none;
}

.contact-index-index .form.contact .action.submit {
    display: inline-block;
    padding: 15px 42px;
    background: #1a1a1a;
    border: none;
    border-radius: 0;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.2s ease;
}

.contact-index-index .form.contact .action.submit:hover,
.contact-index-index .form.contact .action.submit:focus,
.contact-index-index .form.contact .action.submit:active {
    background: #cba135;
    border: none;
    box-shadow: none;
}

@media (max-width: 900px) {
    .elmara-contact__wrap {
        grid-template-columns: 1fr;
        gap: 44px;
    }
}

/* ---- Legal pages (Privacy Policy, Terms & Conditions, Refund Policy) ---- */
.elmara-legal {
    max-width: 820px;
    margin: 0 auto;
}

.elmara-legal__updated {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 40px;
}

.elmara-legal__intro {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.8;
    color: #555555;
    margin: 0 0 40px;
}

.elmara-legal h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 500;
    color: var(--color-heading);
    margin: 44px 0 16px;
}

.elmara-legal h2:first-of-type {
    margin-top: 0;
}

.elmara-legal p {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.85;
    color: #555555;
    margin: 0 0 16px;
}

.elmara-legal ul {
    margin: 0 0 16px;
    padding-left: 22px;
}

.elmara-legal li {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.85;
    color: #555555;
    margin-bottom: 8px;
}

.elmara-legal a {
    color: #1a1a1a;
    text-decoration: underline;
}

.elmara-legal a:hover {
    color: #cba135;
}

.elmara-legal strong {
    color: #1a1a1a;
}