/*
Theme Name: ESSEYS Luxury
Theme URI: https://thearomahouse.in/
Author: ESSEYS
Description: Premium handcrafted luxury perfume storefront theme.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: esseys-luxury
Tags: e-commerce, custom-logo, custom-menu, featured-images
*/
/* =========================================
   ESSEYS LUXURY — DESIGN FOUNDATION
========================================= */

:root {
    --esseys-ivory: #FAF9F6;
    --esseys-white: #FFFFFF;
    --esseys-black: #171717;
    --esseys-gold: #B89B68;
    --esseys-blue: #4169E1;
    --esseys-grey: #777777;
    --esseys-border: #E9E5DE;
}

/* Global reset */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--esseys-ivory);
    color: var(--esseys-black);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--esseys-gold);
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

/* Header */

.site-header {
    width: 100%;
    background: var(--esseys-white);
    border-bottom: 1px solid var(--esseys-border);
    position: relative;
    z-index: 100;
}

.header-inner {
    max-width: 1440px;
    min-height: 90px;
    margin: 0 auto;
    padding: 15px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-branding img {
    max-width: 190px;
    max-height: 65px;
    width: auto;
    height: auto;
}

.site-title {
    color: var(--esseys-blue);
    font-family: Georgia, serif;
    font-size: 30px;
    letter-spacing: 3px;
}

.primary-navigation ul,
.footer-navigation ul {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-navigation a {
    color: var(--esseys-black);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.header-actions a {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Homepage hero */

.hero-section {
    min-height: 570px;
    padding: 100px 7%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 45%, #FFFFFF 0%, #FAF9F6 58%, #F0EDE6 100%);
    border-bottom: 1px solid var(--esseys-border);
}

.hero-content {
    max-width: 760px;
}

.hero-eyebrow,
.section-eyebrow {
    color: var(--esseys-gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    line-height: 1.8;
    text-transform: uppercase;
}

.hero-content h1 {
    margin: 24px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 5.5vw, 70px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -1.5px;
    text-wrap: balance;
}	
.hero-description {
    max-width: 560px;
    margin: 0 auto 36px;
    color: #6F6B64;
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: 0.2px;
}
.hero-button {
    display: inline-block;
    padding: 16px 38px;
    background: var(--esseys-black);
    color: var(--esseys-white);
    border: 1px solid var(--esseys-black);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background: var(--esseys-gold);
    border-color: var(--esseys-gold);
    color: var(--esseys-white);
}
/* Homepage collections and products */

.collection-section,
.featured-products-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 85px 5%;
}

.collection-section {
    background: var(--esseys-white);
}

.featured-products-section {
    background: var(--esseys-ivory);
}

.section-heading {
    margin-bottom: 42px;
    text-align: center;
}

.section-heading h2 {
    margin: 12px 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-heading > p:last-child {
    max-width: 600px;
    margin: 0 auto;
    color: var(--esseys-grey);
    font-size: 14px;
    line-height: 1.8;
}

/* WooCommerce product grids */

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    margin: 0;
    padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

.woocommerce ul.products li.product {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    text-align: center;
}

.woocommerce ul.products li.product a img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    padding: 12px;
    margin-bottom: 16px;
    background: #F3F1EC;
    transition: transform 0.4s ease;
}

.woocommerce ul.products li.product a:hover img {
    transform: scale(1.025);
}	

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--esseys-black);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin: 10px 0 6px;
}

.woocommerce ul.products li.product .price {
    display: block;
    color: #6F6B64;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.4px;
    margin: 5px 0 12px;
}	
.woocommerce ul.products li.product .button {
    display: inline-block;
    margin-top: 10px;
    padding: 13px 24px;
    border: 1px solid var(--esseys-black);
    border-radius: 0;
    background: var(--esseys-black);
    color: var(--esseys-white);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--esseys-gold);
    border-color: var(--esseys-gold);
    color: var(--esseys-white);
}

/* Homepage product category tiles */

.woocommerce ul.products li.product-category a img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    margin-bottom: 14px;
    background: #F0EEE9;
}

.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
    color: var(--esseys-black);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 400;
    text-align: center;
}

.woocommerce ul.products li.product-category .count {
    color: var(--esseys-grey);
    background: transparent;
}
/* Shop and category headings */

.shop-page-header,
.page-header,
.article-header {
    padding: 75px 5% 55px;
    text-align: center;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF9F6 100%);
    border-bottom: 1px solid var(--esseys-border);
}

.shop-page-header .term-description {
    max-width: 760px;
    margin: 18px auto 0;
    color: var(--esseys-grey);
    font-size: 14px;
    line-height: 1.9;
}

.shop-page-title,
.page-title,
.article-title {
    margin: 0;
    color: var(--esseys-black);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 4.5vw, 52px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* Shop sorting and result count */

.woocommerce .woocommerce-result-count {
    color: var(--esseys-grey);
    font-size: 13px;
}

.woocommerce .woocommerce-ordering select {
    min-height: 42px;
    padding: 8px 35px 8px 12px;
    border: 1px solid var(--esseys-border);
    border-radius: 0;
    background: var(--esseys-white);
    color: var(--esseys-black);
    font-size: 13px;
}

.woocommerce .woocommerce-ordering select:focus {
    outline: 1px solid var(--esseys-gold);
    border-color: var(--esseys-gold);
}

/* Shop pagination */

.woocommerce nav.woocommerce-pagination {
    margin: 45px 0 20px;
}

.woocommerce nav.woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex;
    min-width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--esseys-border);
    background: var(--esseys-white);
    color: var(--esseys-black);
    font-size: 13px;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
    border-color: var(--esseys-black);
    background: var(--esseys-black);
    color: var(--esseys-white);
}

/* Single product page */

.single-product div.product {
    max-width: 1440px;
    margin: 0 auto;
    padding: 65px 5%;
}

.single-product div.product .woocommerce-product-gallery {
    width: 48%;
}

.single-product div.product .woocommerce-product-gallery img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #F3F1EC;
}

.single-product div.product .summary {
    width: 47%;
}

.single-product .product_title {
    color: var(--esseys-black);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 400;
    line-height: 1.2;
}

.single-product div.product p.price {
    color: var(--esseys-black);
    font-size: 22px;
    font-weight: 500;
}

.single-product div.product .woocommerce-product-details__short-description {
    color: var(--esseys-grey);
    font-size: 14px;
    line-height: 1.9;
}

.single-product div.product form.cart .button {
    min-height: 48px;
    padding: 14px 32px;
    border: 1px solid var(--esseys-black);
    border-radius: 0;
    background: var(--esseys-black);
    color: var(--esseys-white);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.single-product div.product form.cart .button:hover {
    border-color: var(--esseys-gold);
    background: var(--esseys-gold);
    color: var(--esseys-white);
}

/* Product information tabs */

.single-product .woocommerce-tabs {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 5% 60px;
}

.single-product .woocommerce-tabs ul.tabs {
    padding: 0;
    margin: 0 0 25px;
    border-bottom: 1px solid var(--esseys-border);
}

.single-product .woocommerce-tabs ul.tabs::before {
    border: 0;
}

.single-product .woocommerce-tabs ul.tabs li {
    margin: 0 25px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after {
    display: none;
}

.single-product .woocommerce-tabs ul.tabs li a {
    padding: 12px 0;
    color: var(--esseys-grey);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
    color: var(--esseys-black);
    border-bottom: 2px solid var(--esseys-gold);
}

.single-product .woocommerce-tabs .panel {
    color: var(--esseys-grey);
    font-size: 14px;
    line-height: 1.9;
}		
/* Standard page content */

.standard-page,
.single-post-page {
    min-height: 450px;
    padding-bottom: 70px;
}

.page-content,
.article-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Footer */

.site-footer {
    background: #171717;
    color: #FFFFFF;
    padding: 65px 5% 25px;
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand > a {
    color: var(--esseys-white);
    font-family: Georgia, serif;
    font-size: 28px;
    letter-spacing: 3px;
}

.footer-brand p {
    color: #C5C0B7;
}

.footer-navigation {
    margin: 30px 0;
}

.footer-navigation ul {
    justify-content: center;
    flex-wrap: wrap;
}

.footer-navigation a {
    color: #FFFFFF;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-copyright {
    padding-top: 20px;
    border-top: 1px solid #444444;
    color: #BDBDBD;
    font-size: 12px;
}

/* Responsive layout */

@media (max-width: 900px) {
    .single-product div.product .woocommerce-product-gallery,
    .single-product div.product .summary {
        float: none;
        width: 100%;
    }

    .single-product div.product {
        padding: 40px 5%;
    }
    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
    }

    .primary-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
	
    .hero-section {
        min-height: 450px;
    }
}

@media (max-width: 600px) {
    .header-inner {
        padding: 18px 5%;
        gap: 15px;
    }

    .site-branding img {
        max-width: 155px;
    }

    .primary-navigation ul {
        gap: 12px;
    }

    .primary-navigation a {
        font-size: 10px;
    }

    .header-actions {
        gap: 15px;
    }

    .hero-section {
        min-height: 400px;
        padding: 70px 6%;
    }

    .collection-section,
    .featured-products-section {
        padding: 50px 5%;
    }

    .woocommerce ul.products {
        gap: 15px;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 15px;
    }
}

/* About ESSEYS: page-only refinements. */
body.page-id-107 {
    background: var(--esseys-ivory, #FAF9F6);
}

body.page-id-107 .elementor-107 .e-con-boxed > .e-con-inner {
    width: min(100% - 48px, 1180px);
    max-width: 1180px;
}

body.page-id-107 .elementor-107 .elementor-element-d49213a {
    min-height: clamp(360px, 42vw, 540px);
    padding: 72px 24px;
    background-color: #171717;
    background-position: center;
    background-size: cover;
}

body.page-id-107 .elementor-107 .elementor-element-d49213a::before {
    background: linear-gradient(90deg, rgba(18, 12, 16, .56), rgba(18, 12, 16, .22), rgba(18, 12, 16, .56));
}

body.page-id-107 .elementor-107 .elementor-element-d49213a .elementor-widget-heading {
    text-align: center;
}

body.page-id-107 .elementor-107 .elementor-element-d49213a .elementor-heading-title {
    color: #fffaf4;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .38);
}

body.page-id-107 .elementor-107 .elementor-element-d49213a .elementor-element-6fa758d .elementor-heading-title {
    color: #e3bd78;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

body.page-id-107 .elementor-107 .elementor-widget-heading .elementor-heading-title {
    color: #581b43;
    font-family: Georgia, 'Times New Roman', serif;
}

body.page-id-107 .elementor-107 .elementor-widget-text-editor {
    color: #514a45 !important;
    font-size: 16px;
    line-height: 1.8;
}

body.page-id-107 .elementor-107 .elementor-widget-text-editor,
body.page-id-107 .elementor-107 .elementor-widget-text-editor p,
body.page-id-107 .elementor-107 .elementor-widget-text-editor li {
    color: #514a45 !important;
}

body.page-id-107 .elementor-107 .elementor-element-d49213a .elementor-element-e8d48f2 .elementor-heading-title {
    color: #fffaf4 !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .4);
}

body.page-id-107 .elementor-107 .elementor-widget-image img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 3px;
    box-shadow: 9px 9px 0 #d6a52f;
}

body.page-id-107 .elementor-107 .elementor-element-4310d06 {
    max-width: 1180px;
    margin: 26px auto;
    padding: clamp(46px, 7vw, 82px) clamp(24px, 6vw, 84px);
    background: #171717;
    color: #f8f3ec;
    text-align: center;
}

body.page-id-107 .elementor-107 .elementor-element-4310d06 .elementor-widget-text-editor,
body.page-id-107 .elementor-107 .elementor-element-4310d06 .elementor-widget-text-editor p,
body.page-id-107 .elementor-107 .elementor-element-4310d06 .elementor-widget-text-editor li,
body.page-id-107 .elementor-107 .elementor-element-4310d06 .elementor-heading-title {
    color: #f8f3ec !important;
}

/* Contact page: coordinated contact cards, form and map. */
body.page-id-111 {
    background: var(--esseys-ivory, #FAF9F6);
}

body.page-id-111 .elementor-111 .elementor-section-wrap,
body.page-id-111 .elementor-111 > .e-con {
    padding-block: 18px;
}

body.page-id-111 .elementor-111 .elementor-element-9f9815b > .elementor-container > .elementor-column {
    overflow: hidden;
    border: 1px solid #eadfd2;
    border-radius: 12px;
    background: #fffdfa;
    box-shadow: 0 8px 24px rgba(48, 31, 21, .07);
}

body.page-id-111 .elementor-111 .elementor-element-9f9815b > .elementor-container > .elementor-column > .elementor-widget-wrap {
    padding: 28px 26px;
}

body.page-id-111 .elementor-111 .elementor-widget-heading .elementor-heading-title {
    color: #581b43;
    font-family: Georgia, 'Times New Roman', serif;
}

body.page-id-111 .elementor-111 .elementor-widget-text-editor {
    color: #514a45;
    font-size: 15px;
    line-height: 1.75;
}

body.page-id-111 .elementor-111 input:not([type="checkbox"]):not([type="radio"]),
body.page-id-111 .elementor-111 textarea,
body.page-id-111 .elementor-111 select {
    min-height: 48px;
    border: 1px solid #dfd2c2;
    border-radius: 5px;
    background: #fffdfa;
    color: #2f2925;
}

body.page-id-111 .elementor-111 textarea {
    min-height: 140px;
}

body.page-id-111 .elementor-111 input:focus,
body.page-id-111 .elementor-111 textarea:focus,
body.page-id-111 .elementor-111 select:focus {
    border-color: #b89b68;
    outline: 2px solid rgba(184, 155, 104, .2);
}

body.page-id-111 .elementor-111 button,
body.page-id-111 .elementor-111 input[type="submit"],
body.page-id-111 .elementor-111 .elementor-button {
    min-height: 48px;
    border: 1px solid #581b43;
    border-radius: 5px;
    background: #581b43;
    color: #fff;
    font-weight: 700;
    transition: background-color .2s ease, border-color .2s ease;
}

body.page-id-111 .elementor-111 button:hover,
body.page-id-111 .elementor-111 input[type="submit"]:hover,
body.page-id-111 .elementor-111 .elementor-button:hover {
    border-color: #a67926;
    background: #a67926;
}

/* ESSEYS footer, shared site-wide. */
.esseys-site-footer {
    padding: 62px 24px 22px;
    background: #120649;
    color: #f7f1e9;
}

.esseys-site-footer .footer-inner {
    width: min(100%, 1180px);
    text-align: left;
}

.esseys-site-footer .footer-main {
    display: grid;
    grid-template-columns: 1.2fr .8fr .9fr 1.1fr 1.1fr;
    gap: clamp(24px, 4vw, 62px);
    padding-bottom: 42px;
}

.esseys-site-footer .footer-brand__logo {
    display: inline-block;
    width: min(100%, 170px);
    text-decoration: none;
}

.esseys-site-footer .footer-brand__logo img {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: normal;
}

.esseys-site-footer .footer-brand p,
.esseys-site-footer .footer-contact,
.esseys-site-footer .footer-column a,
.esseys-site-footer .footer-column address {
    color: #c8c0b7;
    font-size: 14px;
    line-height: 1.8;
}

.esseys-site-footer .footer-brand p {
    max-width: 280px;
    margin-top: 14px;
}

.esseys-site-footer .footer-brand__social {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 9px;
    align-items: center;
    margin-top: 16px;
    color: #e3bd78;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.esseys-site-footer .footer-brand__social a {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.esseys-site-footer .footer-instagram-link {
    line-height: 1;
}

.esseys-site-footer .footer-instagram-handle {
    color: #fff;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
}

.esseys-site-footer .footer-instagram-icon {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: none;
}

.esseys-site-footer .footer-instagram-icon__background {
    fill: url(#footer-instagram-gradient);
}

.esseys-site-footer .footer-instagram-icon__camera {
    fill: none;
    stroke: #fff;
    stroke-width: 1.7;
}

.esseys-site-footer .footer-instagram-icon__dot {
    fill: #fff;
    stroke: none;
}

.esseys-site-footer .footer-brand__social a:hover,
.esseys-site-footer .footer-brand__social a:focus-visible {
    color: #e3bd78;
}

.esseys-site-footer .footer-column h2 {
    margin: 4px 0 16px;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 17px;
}

.esseys-site-footer .footer-column ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.esseys-site-footer .footer-column a {
    text-decoration: none;
}

.esseys-site-footer .footer-column a:hover,
.esseys-site-footer .footer-column a:focus-visible {
    color: #e3bd78;
}

.esseys-site-footer .footer-contact address {
    margin-bottom: 9px;
    font-style: normal;
}

.esseys-site-footer .footer-contact > a {
    display: block;
}

.esseys-site-footer .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .17);
    color: #bdb5ac;
    font-size: 12px;
}

.esseys-site-footer .footer-bottom p {
    margin: 0;
}

.esseys-site-footer .footer-navigation {
    margin: 0;
}

.esseys-site-footer .footer-navigation ul {
    display: flex;
    gap: 10px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.esseys-site-footer .footer-navigation a {
    color: #c8c0b7;
    font-size: 12px;
    text-decoration: none;
}

@media (max-width: 800px) {
    .esseys-site-footer .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 24px;
    }

    body.page-id-107 .elementor-107 .e-con-boxed > .e-con-inner {
        width: min(100% - 36px, 1180px);
    }
}

@media (max-width: 520px) {
    .esseys-site-footer {
        padding: 46px 20px 20px;
    }

    .esseys-site-footer .footer-main {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .esseys-site-footer .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    body.page-id-111 .elementor-111 .elementor-element-9f9815b > .elementor-container > .elementor-column > .elementor-widget-wrap {
        padding: 22px 18px;
    }
}

/* Dedicated About ESSEYS page layout. */
.esseys-about-page {
    overflow: hidden;
    background: #faf9f6;
    color: #332d29;
    font-family: 'Cormorant Garamond', 'Bodoni MT', Didot, Georgia, serif;
    font-size: 19px;
}

.esseys-about-hero {
    display: grid;
    min-height: clamp(390px, 54vw, 660px);
    padding: 48px 24px;
    place-items: center;
    background: linear-gradient(90deg, rgba(12, 8, 24, .70), rgba(12, 8, 24, .22)), var(--esseys-about-hero-image, none) center/cover no-repeat, #120649;
    text-align: center;
}

.esseys-about-hero__content > p,
.esseys-about-kicker {
    margin: 0 0 14px;
    color: #cfae69;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.esseys-about-hero h1 {
    margin: 0;
    color: #fffaf4;
    font-family: 'Bodoni Moda', 'Bodoni MT', Didot, Georgia, serif;
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 500;
    line-height: 1.08;
}

.esseys-about-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    gap: clamp(34px, 7vw, 96px);
    align-items: center;
    width: min(100% - 48px, 1180px);
    margin: 0 auto;
    padding: clamp(64px, 9vw, 112px) 0;
}

.esseys-about-artistry .esseys-about-copy {
    order: 2;
}

.esseys-about-artistry .esseys-about-image {
    order: 1;
}

.esseys-about-copy h2 {
    margin: 0 0 20px;
    color: #120649;
    font-family: 'Bodoni Moda', 'Bodoni MT', Didot, Georgia, serif;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.14;
}

.esseys-about-copy p {
    margin: 0 0 17px;
    color: #514a45;
    font-family: 'Cormorant Garamond', 'Bodoni MT', Didot, Georgia, serif;
    font-size: clamp(19px, 1.6vw, 22px);
    line-height: 1.58;
}

.esseys-about-image img {
    display: block;
    width: 100%;
    max-height: 470px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 10px 10px 0 #d6a52f;
}

.esseys-about-philosophy {
    width: min(100% - 48px, 1180px);
    margin: 0 auto;
    padding: clamp(52px, 8vw, 88px) clamp(24px, 8vw, 110px);
    background: #120649;
    color: #fffaf4;
    text-align: center;
}

.esseys-about-philosophy p {
    max-width: 900px;
    margin: 0 auto;
    color: #fffaf4;
    font-family: 'Bodoni Moda', 'Bodoni MT', Didot, Georgia, serif;
    font-size: clamp(19px, 2.3vw, 26px);
    line-height: 1.6;
}

.esseys-about-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
    padding: 13px 22px;
    border: 1px solid #120649;
    border-radius: 4px;
    background: #120649;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.esseys-about-link:hover,
.esseys-about-link:focus-visible {
    border-color: #a67926;
    background: #a67926;
    color: #fff;
}

@media (max-width: 700px) {
    .esseys-about-section {
        grid-template-columns: 1fr;
        width: min(100% - 36px, 560px);
        gap: 30px;
        padding: 54px 0;
    }

    .esseys-about-artistry .esseys-about-copy,
    .esseys-about-artistry .esseys-about-image {
        order: initial;
    }

    .esseys-about-philosophy {
        width: calc(100% - 36px);
        padding: 48px 22px;
    }
}

/* Contact page: warm, coordinated styling for the existing cards, form and map. */
body.page-id-111 {
    background: #faf9f6;
}

body.page-id-111 .elementor-111 .elementor-element-c096aa1 {
    padding-top: clamp(44px, 6vw, 78px);
    padding-bottom: 18px;
}

body.page-id-111 .elementor-111 .elementor-element-9f9815b > .elementor-container > .elementor-column {
    min-height: 190px;
    overflow: hidden;
    border: 1px solid #e6d7c2;
    border-radius: 12px;
    background: #fffdfa;
    box-shadow: 0 8px 26px rgba(36, 20, 28, .08);
}

body.page-id-111 .elementor-111 .elementor-element-76e44f7 > .elementor-widget-wrap,
body.page-id-111 .elementor-111 .elementor-element-d804264 > .elementor-widget-wrap,
body.page-id-111 .elementor-111 .elementor-element-6e1a30f > .elementor-widget-wrap {
    padding: 28px 26px;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Keep the contact cards as a single panel; some theme widgets add an inset frame. */
body.page-id-111 .elementor-111 .elementor-element-9f9815b .elementor-widget-wrap,
body.page-id-111 .elementor-111 .elementor-element-9f9815b .elementor-widget,
body.page-id-111 .elementor-111 .elementor-element-9f9815b .elementor-widget-container {
    border-color: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

body.page-id-111 .elementor-111 .elementor-element-76e44f7 .elementor-widget-image img,
body.page-id-111 .elementor-111 .elementor-element-d804264 .elementor-widget-image img,
body.page-id-111 .elementor-111 .elementor-element-6e1a30f .elementor-widget-image img {
    width: auto;
    max-width: 54px;
    max-height: 54px;
    object-fit: contain;
}

body.page-id-111 .elementor-111 .elementor-widget-heading .elementor-heading-title {
    color: #120649;
    font-family: 'Bodoni Moda', 'Bodoni MT', Didot, Georgia, serif;
    font-weight: 600;
}

body.page-id-111 .elementor-111 .elementor-element-f0f8ac2 .elementor-heading-title,
body.page-id-111 .elementor-111 .elementor-element-bc28a9a .elementor-heading-title,
body.page-id-111 .elementor-111 .elementor-element-620b9af .elementor-heading-title {
    font-size: 25px;
}

body.page-id-111 .elementor-111 .elementor-element-7c77974 .elementor-heading-title,
body.page-id-111 .elementor-111 .elementor-element-3d6b154 .elementor-heading-title,
body.page-id-111 .elementor-111 .elementor-element-32dab22 .elementor-heading-title {
    color: #514a45;
    font-family: 'Manrope', 'Avenir Next', Avenir, sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

body.page-id-111 .elementor-111 .elementor-element-a3512a3 {
    padding-top: clamp(30px, 5vw, 62px);
    padding-bottom: clamp(38px, 6vw, 72px);
}

body.page-id-111 .elementor-111 .elementor-element-a3512a3 > .elementor-container {
    align-items: center;
}

body.page-id-111 .elementor-111 .elementor-element-a8ab6b2 img {
    display: block;
    width: 100%;
    max-height: 560px;
    border-radius: 8px;
    object-fit: contain;
}

body.page-id-111 .elementor-111 .elementor-element-b883f88 > .elementor-widget-wrap {
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid #e6d7c2;
    border-radius: 12px;
    background: #fffdfa;
    box-shadow: 0 8px 26px rgba(36, 20, 28, .07);
}

body.page-id-111 .elementor-111 .elementor-element-a99571d {
    margin-bottom: 18px;
}

body.page-id-111 .elementor-111 .elementor-form .elementor-field-label {
    color: #332d29;
    font-size: 14px;
    font-weight: 600;
}

body.page-id-111 .elementor-111 .elementor-form input.elementor-field,
body.page-id-111 .elementor-111 .elementor-form textarea.elementor-field,
body.page-id-111 .elementor-111 .elementor-form select.elementor-field {
    min-height: 48px;
    border: 1px solid #dfd2c2;
    border-radius: 5px;
    background: #fff;
    color: #332d29;
}

body.page-id-111 .elementor-111 .elementor-form textarea.elementor-field {
    min-height: 132px;
}

body.page-id-111 .elementor-111 .elementor-form input.elementor-field:focus,
body.page-id-111 .elementor-111 .elementor-form textarea.elementor-field:focus {
    border-color: #b89b68;
    outline: 2px solid rgba(184, 155, 104, .18);
}

body.page-id-111 .elementor-111 .elementor-form .elementor-button {
    min-height: 48px;
    border: 1px solid #120649;
    border-radius: 5px;
    background: #120649;
    color: #fff;
    font-weight: 700;
}

body.page-id-111 .elementor-111 .elementor-form .elementor-button:hover {
    border-color: #b89b68;
    background: #b89b68;
}

body.page-id-111 .elementor-111 .elementor-element-717d48d .elementor-button,
body.page-id-111 .elementor-111 .elementor-element-717d48d button[type="submit"],
body.page-id-111 .elementor-111 .elementor-element-717d48d input[type="submit"] {
    min-height: 48px !important;
    border: 1px solid #120649 !important;
    background: #120649 !important;
    background-image: none !important;
    color: #fff !important;
    box-shadow: none !important;
}

body.page-id-111 .elementor-111 .elementor-element-717d48d .elementor-button:hover,
body.page-id-111 .elementor-111 .elementor-element-717d48d button[type="submit"]:hover,
body.page-id-111 .elementor-111 .elementor-element-717d48d input[type="submit"]:hover {
    border-color: #b89b68 !important;
    background: #b89b68 !important;
    background-image: none !important;
}

body.page-id-111 .elementor-111 .elementor-element-f6b737b {
    padding: 0 24px clamp(48px, 7vw, 84px);
}

body.page-id-111 .elementor-111 .elementor-element-318a292 iframe {
    display: block;
    width: 100%;
    min-height: 380px;
    border: 1px solid #e6d7c2;
    border-radius: 10px;
}

@media (max-width: 767px) {
    body.page-id-111 .elementor-111 .elementor-element-9f9815b > .elementor-container > .elementor-column {
        min-height: 0;
        margin-bottom: 14px;
    }

    body.page-id-111 .elementor-111 .elementor-element-a3512a3 {
        padding-top: 28px;
    }

    body.page-id-111 .elementor-111 .elementor-element-b883f88 > .elementor-widget-wrap {
        padding: 22px 18px;
    }

    body.page-id-111 .elementor-111 .elementor-element-318a292 iframe {
        min-height: 300px;
    }
}
/* Related products on single product pages */

.single-product .related,
.single-product .upsells {
    max-width: 1440px;
    margin: 0 auto;
    padding: 45px 5% 70px;	
}

.single-product .related > h2,
.single-product .upsells > h2 {
    margin-bottom: 35px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 400;
    text-align: center;
}

/* WooCommerce notices */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 16px 20px;
    margin: 20px 5% 25px;
    border-top: 2px solid var(--esseys-gold);
    background: var(--esseys-white);
    color: var(--esseys-black);
    font-size: 13px;
    line-height: 1.7;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--esseys-gold);
}

.woocommerce-error {
    border-top-color: #B94A48;
}

.woocommerce-error::before {
    color: #B94A48;
}

/* Shopping cart page */

.woocommerce-cart .woocommerce {
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px 5% 75px;
}

.woocommerce-cart table.shop_table {
    border-collapse: collapse;
    border: 1px solid var(--esseys-border);
    background: var(--esseys-white);
}

.woocommerce-cart table.shop_table th {
    padding: 16px 12px;
    background: #F3F1EC;
    color: var(--esseys-black);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.woocommerce-cart table.shop_table td {
    padding: 18px 12px;
    border-top: 1px solid var(--esseys-border);
    color: var(--esseys-black);
    font-size: 13px;
}

.woocommerce-cart .cart-collaterals .cart_totals {
    padding: 25px;
    border: 1px solid var(--esseys-border);
    background: var(--esseys-white);
}

.woocommerce-cart .cart_totals h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 400;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    padding: 16px 24px;
    border-radius: 0;
    background: var(--esseys-black);
    color: var(--esseys-white);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: var(--esseys-gold);
}

/* Checkout page */

.woocommerce-checkout .woocommerce {
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px 5% 75px;
}

.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: auto 1fr;
    gap: 0 45px;
    align-items: start;
}

.woocommerce-checkout #customer_details {
    grid-column: 1;
    grid-row: 1 / span 2;
    padding: 25px;
    border: 1px solid var(--esseys-border);
    background: var(--esseys-white);
}

.woocommerce-checkout #order_review_heading {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    padding: 0 0 15px;
}

.woocommerce-checkout #order_review {
    grid-column: 2;
    grid-row: 2;
    padding: 25px;
    border: 1px solid var(--esseys-border);
    background: var(--esseys-white);
}

.woocommerce-checkout h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--esseys-border);
    border-radius: 0;
    background: #FFFFFF;
    font-size: 13px;
}

.woocommerce-checkout #place_order {
    width: 100%;
    min-height: 50px;
    border-radius: 0;
    background: var(--esseys-black);
    color: #FFFFFF;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.woocommerce-checkout #place_order:hover {
    background: var(--esseys-gold);
}/* Responsive checkout layout */

@media (max-width: 900px) {
    .woocommerce-checkout form.checkout {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 25px;
    }

    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout #order_review {
        grid-column: 1;
        grid-row: auto;
    }

    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review {
        padding: 20px;
    }
}

/* Customer account pages */

.woocommerce-account .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 5% 75px;
}

.woocommerce-account .woocommerce form.login,
.woocommerce-account .woocommerce form.register {
    padding: 28px;
    border: 1px solid var(--esseys-border);
    border-radius: 0;
    background: var(--esseys-white);
}

.woocommerce-account .woocommerce h2,
.woocommerce-account .woocommerce h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.woocommerce-account .woocommerce input.input-text {
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--esseys-border);
    border-radius: 0;
}

.woocommerce-account .woocommerce button.button {
    padding: 14px 28px;
    border: 1px solid var(--esseys-black);
    border-radius: 0;
    background: var(--esseys-black);
    color: #FFFFFF;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.woocommerce-account .woocommerce button.button:hover {
    border-color: var(--esseys-gold);
    background: var(--esseys-gold);
}

/* Customer account dashboard */

.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 25%;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--esseys-border);
    background: var(--esseys-white);
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid var(--esseys-border);
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
    border-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 13px 18px;
    color: var(--esseys-black);
    font-size: 13px;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: var(--esseys-black);
    color: var(--esseys-white);
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 70%;
    padding: 25px;
    border: 1px solid var(--esseys-border);
    background: var(--esseys-white);
}

@media (max-width: 768px) {
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        float: none;
        width: 100%;
        margin-bottom: 25px;
    }
}

/* Customer account tables */

.woocommerce-account table.shop_table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--esseys-border);
    background: var(--esseys-white);
}

.woocommerce-account table.shop_table th {
    padding: 14px 12px;
    background: #F3F1EC;
    color: var(--esseys-black);
    font-size: 11px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.woocommerce-account table.shop_table td {
    padding: 14px 12px;
    border-top: 1px solid var(--esseys-border);
    font-size: 13px;
}

.woocommerce-account .woocommerce-MyAccount-content a.button {
    border-radius: 0;
    background: var(--esseys-black);
    color: #FFFFFF;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.woocommerce-account .woocommerce-MyAccount-content a.button:hover {
    background: var(--esseys-gold);
}

/* Responsive shopping cart */

@media (max-width: 768px) {
    .woocommerce-cart .woocommerce {
        padding: 30px 4% 50px;
    }

    .woocommerce-cart table.shop_table {
        font-size: 12px;
    }

    .woocommerce-cart table.shop_table th,
    .woocommerce-cart table.shop_table td {
        padding: 10px 6px;
    }

    .woocommerce-cart .cart-collaterals .cart_totals {
        width: 100%;
        padding: 18px;
    }

    .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
        width: 100%;
        text-align: center;
    }
}

/* Responsive single product pages */

@media (max-width: 768px) {
    .single-product div.product {
        padding: 30px 4%;
    }

    .single-product .product_title {
        font-size: 30px;
    }

    .single-product div.product p.price {
        font-size: 20px;
    }

    .single-product .woocommerce-tabs {
        padding: 15px 4% 40px;
    }

    .single-product .woocommerce-tabs ul.tabs li {
        margin-right: 14px;
    }

    .single-product .related,
    .single-product .upsells {
        padding: 30px 4% 45px;
    }
}

/* Responsive customer account pages */

@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        padding: 30px 4% 50px;
    }

    .woocommerce-account .woocommerce form.login,
    .woocommerce-account .woocommerce form.register {
        padding: 20px;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 18px;
        overflow-x: auto;
    }

    .woocommerce-account table.shop_table {
        font-size: 12px;
    }
}

       
/* Responsive mobile header */

@media (max-width: 768px) {
    .header-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        column-gap: 14px;
        row-gap: 0;
    }

    .site-branding {
        grid-column: 1;
        grid-row: 1;
    }

    .site-branding img,
    .site-branding .custom-logo {
        max-width: 165px;
        max-height: 58px;
    }

    .mobile-menu-toggle {
        grid-column: 2;
        grid-row: 1;
        display: block;
        justify-self: end;
    }

    .primary-navigation {
        grid-column: 1 / -1;
        grid-row: 2;
        display: none;
        width: 100%;
        margin-top: 12px;
        padding: 8px 0 14px;
        border-top: 1px solid #E9E5DE;
    }

    .primary-navigation.is-open {
        display: block;
    }

    .primary-navigation .esseys-menu,
    .primary-navigation ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        width: 100%;
    }

    .primary-navigation li {
        display: block;
        width: 100%;
        border-bottom: 1px solid #F0EDE7;
    }

    .primary-navigation a {
        display: flex;
        justify-content: space-between;
        width: 100%;
        min-height: 46px;
        padding: 10px 4px;
        font-size: 11px;
        letter-spacing: 1.2px;
        white-space: normal;
    }

    .primary-navigation .sub-menu {
        position: static;
        display: none;
        min-width: 0;
        padding: 0 0 8px 16px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .primary-navigation .menu-item-has-children.submenu-open > .sub-menu {
        display: block;
    }

    .primary-navigation .sub-menu li {
        border-bottom: 0;
    }

    .primary-navigation .sub-menu a {
        min-height: 40px;
        padding: 8px 10px;
        font-size: 10px;
    }

    .header-actions {
        grid-column: 1 / -1;
        grid-row: 3;
        justify-content: flex-start;
        gap: 24px;
        padding: 12px 0 2px;
        border-top: 1px solid #E9E5DE;
    }

    .header-actions a {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .header-inner {
        width: calc(100% - 28px);
    }

    .site-branding img,
    .site-branding .custom-logo {
        max-width: 145px;
        max-height: 52px;
    }
}


/* ESSEYS desktop header and dropdown navigation */

@media (min-width: 769px) {

    .mobile-menu-toggle {
        display: none !important;
    }

    .header-inner {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 22px;
    }

    .primary-navigation {
        flex: 1 1 auto;
        min-width: 0;
    }

    .primary-navigation > ul,
    .primary-navigation > .esseys-menu {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .primary-navigation li {
        position: relative;
    }

    .primary-navigation a {
        white-space: nowrap;
        font-size: 10px;
        letter-spacing: 1px;
    }

    .primary-navigation .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 999;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        min-width: 230px;
        padding: 10px 0;
        background: #FFFFFF;
        border: 1px solid #E9E5DE;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

    .primary-navigation li:hover > .sub-menu,
    .primary-navigation li:focus-within > .sub-menu {
        display: flex;
    }

    .primary-navigation .sub-menu li {
        width: 100%;
    }

    .primary-navigation .sub-menu a {
        display: block;
        padding: 10px 18px;
        font-size: 11px;
        white-space: normal;
    }

    .header-actions {
        flex: 0 0 auto;
        gap: 18px;
    }
}


/* ESSEYS homepage hero — approved split layout */

.hero-section {
    min-height: 570px;
    padding: 55px 7%;
    text-align: left;
    background: #FAF9F6;
}

.hero-inner {
    max-width: 1440px;
    min-height: 460px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: clamp(42px, 4.5vw, 64px);
}

.hero-description {
    margin: 0 0 32px;
}

.hero-image {
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F0EDE6;
}

.hero-image-placeholder {
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    color: #777777;
    font-size: 12px;
    letter-spacing: 2px;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 55px 6%;
        text-align: center;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-description {
        margin: 0 auto 30px;
    }

    .hero-image,
    .hero-image-placeholder {
        min-height: 320px;
    }
}

/* ESSEYS homepage hero product image */

.hero-image {
    overflow: hidden;
}

.hero-product-image {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: right center;
}

@media (max-width: 768px) {
    .hero-product-image {
        height: 320px;
    }
}


/* ESSEYS mobile hamburger menu button */

@media (max-width: 768px) {
    .mobile-menu-toggle {
        width: 42px;
        height: 42px;
        padding: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        background: transparent !important;
        border: 1px solid #B89B68;
        border-radius: 0;
        box-shadow: none;
        cursor: pointer;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: #171717;
        border-radius: 2px;
    }
}


/* ESSEYS BENEFITS — MATCH HERO CONTENT WIDTH */

.benefits-section {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 14px 0;
    box-sizing: border-box;
    background: #FAF7F1;
    border-bottom: 1px solid #E9E1D5;
}

.benefits-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
}
.benefit-item {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 5px 15px;
    border-right: 1px solid #DCC9A5;
}

.benefit-item:last-child {
    border-right: none;
}

.benefit-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B8860B;
}

.benefit-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.benefit-item h3 {
    margin: 0 0 2px;
    color: #171717;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.benefit-item p {
    margin: 0;
    color: #333333;
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .benefits-section {
        padding: 18px 5%;
    }

    .benefits-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 18px;
    }

    .benefit-item {
        justify-content: flex-start;
        padding: 8px;
        border-right: none;
    }

    .benefit-item:nth-child(odd) {
        border-right: 1px solid #DCC9A5;
    }

    .benefit-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .benefit-icon svg {
        width: 28px;
        height: 28px;
    }

    .benefit-item h3 {
        font-size: 12px;
    }

    .benefit-item p {
        font-size: 10px;
    }
}

@media (max-width: 380px) {
    .benefits-inner {
        grid-template-columns: 1fr;
    }

    .benefit-item:nth-child(odd) {
        border-right: none;
    }

    .benefit-item {
        border-bottom: 1px solid #DCC9A5;
    }

    .benefit-item:last-child {
        border-bottom: none;
    }
}


/* ESSEYS STORY SECTION */

.esseys-story-section {
    width: 100%;
    background: #F8F3EB;
}

.esseys-story-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
}


.esseys-story-image {
    width: 100%;
    min-height: 360px;
    overflow: hidden;
    background: #EEE5D7;
}

.esseys-story-image img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: left center;
}


.esseys-story-image-placeholder {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B89B68;
    font-family: Georgia, serif;
    font-size: 28px;
    letter-spacing: 4px;
}

.esseys-story-content {
    padding: 55px 8%;
}

.esseys-story-content .section-eyebrow {
    color: #B28A43;
    font-size: 11px;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.esseys-story-content h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.2;
    color: #171717;
    margin-bottom: 18px;
}

.esseys-story-content > p:not(.section-eyebrow) {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.65;
    color: #292929;
    margin-bottom: 22px;
}

.esseys-story-button {
    display: inline-block;
    padding: 11px 18px;
    border: 1px solid #B89B68;
    color: #9A722D;
    background: transparent;
    text-decoration: none;
    font-family: Georgia, serif;
    font-size: 13px;
    transition: all 0.3s ease;
}

.esseys-story-button:hover {
    background: #B89B68;
    color: #FFFFFF;
}

@media (max-width: 700px) {
    .esseys-story-inner {
        grid-template-columns: 1fr;
    }

    .esseys-story-image img,
    .esseys-story-image-placeholder {
        height: 280px;
        min-height: 280px;
    }

    .esseys-story-content {
        padding: 35px 25px;
    }

    .esseys-story-content h2 {
        font-size: 28px;
    }
}


/* ESSEYS SIGNATURE PRODUCT IMAGE BOX FIX */

.homepage .featured-products-section ul.products li.product {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.homepage .featured-products-section ul.products li.product a img {
    display: block !important;
    width: 100% !important;
    height: 280px !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #F8F3EB !important;
}

.homepage .featured-products-section ul.products li.product a.woocommerce-loop-product__link {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
}

.homepage .featured-products-section ul.products li.product .woocommerce-loop-product__title {
    padding: 12px 5px 5px !important;
}

/* ESSEYS — REMOVE EXTRA SPACE AROUND PRODUCT IMAGES */

.homepage .featured-products-section ul.products li.product,
.homepage .featured-products-section ul.products li.product a,
.homepage .featured-products-section ul.products li.product a img {
    padding: 0 !important;
    margin-top: 0 !important;
}

.homepage .featured-products-section ul.products li.product {
    background: transparent !important;
    box-shadow: none !important;
}

.homepage .featured-products-section ul.products li.product a img {
    display: block !important;
    width: 100% !important;
    height: 280px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #fff !important;
    border: 0 !important;
}

.homepage .featured-products-section ul.products li.product
.woocommerce-loop-product__title {
    padding: 12px 5px 5px !important;
}


/* ESSEYS STORY — FULL-WIDTH IMAGE FIX */

.homepage .esseys-story-section .esseys-story-image {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    background: #EEE5D7 !important;
}

.homepage .esseys-story-section .esseys-story-image img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 360px !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
}




/* =========================================
   ESSEYS — LUXURY CUSTOMER TESTIMONIALS
========================================= */

.homepage .esseys-testimonials-section {
    width: 100%;
    padding: 75px 5%;
    background: #F8F3EB;
    overflow: hidden;
}

.homepage .esseys-testimonials-section .section-heading {
    max-width: 1100px;
    margin: 0 auto 45px;
    text-align: center;
}

.homepage .esseys-testimonials-section .section-eyebrow {
    color: #A77B32;
    font-size: 13px;
    letter-spacing: 4px;
    font-weight: 600;
}

.homepage .esseys-testimonials-section .section-heading h2 {
    margin: 12px 0 14px;
    color: #211810;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 400;
    line-height: 1.2;
}

.homepage .esseys-testimonials-section .section-heading > p:last-child {
    color: #66615B;
    font-size: 15px;
    line-height: 1.7;
}

.homepage .esseys-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    align-items: stretch;
}

.homepage .esseys-testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 30px 25px 24px;
    background: linear-gradient(145deg, #FFFEFA 0%, #F8F0E3 100%);
    border: 1px solid #D8B66C;
    border-radius: 18px;
    box-shadow: 0 5px 0 #B58A3D, 0 12px 24px rgba(70, 49, 20, 0.10);
    text-align: center;
}

.homepage .esseys-testimonial-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 16px;
}

.homepage .esseys-testimonial-quote {
    color: #C5A052;
    font-family: Georgia, serif;
    font-size: 55px;
    line-height: 0.8;
}

.homepage .esseys-testimonial-stars {
    color: #C28B18;
    font-size: 27px;
    letter-spacing: 3px;
    line-height: 1.2;
    white-space: nowrap;
}

.homepage .esseys-testimonial-card blockquote {
    flex-grow: 1;
    margin: 0;
    padding: 0 0 24px;
    color: #241B17;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-style: italic;
    line-height: 1.75;
    overflow-wrap: break-word;
}

.homepage .esseys-testimonial-footer {
    padding-top: 16px;
    border-top: 1px solid #DCC69D;
}

.homepage .esseys-testimonial-footer h3 {
    margin: 0 0 8px;
    color: #211810;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
}

.homepage .esseys-google-review {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #444444;
    font-size: 14px;
}

.homepage .esseys-google-g {
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: 700;
    background: conic-gradient(
        from -45deg,
        #4285F4 0deg 90deg,
        #34A853 90deg 180deg,
        #FBBC05 180deg 260deg,
        #EA4335 260deg 320deg,
        #4285F4 320deg 360deg
    );
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

/* Tablet */
@media (max-width: 1000px) {
    .homepage .esseys-testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 750px;
    }
}

/* Mobile */
@media (max-width: 650px) {
    .homepage .esseys-testimonials-section {
        padding: 50px 18px;
    }

    .homepage .esseys-testimonials-section .section-heading {
        margin-bottom: 30px;
    }

    .homepage .esseys-testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        gap: 22px;
    }

    .homepage .esseys-testimonial-card {
        padding: 27px 22px 23px;
    }

    .homepage .esseys-testimonial-card blockquote {
        font-size: 15px;
        line-height: 1.7;
    }

    .homepage .esseys-testimonial-footer h3 {
        font-size: 20px;
    }
}
/* Remove top border from ESSEYS benefits row */
.benefits-section {
    border-top: none !important;
}
/* Remove full-width line below Hero */
.hero-section {
    border-bottom: none !important;
}
/* Match top border to bottom border of Features row */
.benefits-section {
    border-top: 1px solid #E9E1D5 !important;
    border-bottom: 1px solid #E9E1D5 !important;
}

/* ESSEYS — MOBILE PRODUCT GRID AND BUTTON ALIGNMENT */

@media (max-width: 768px) {

    .woocommerce ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100% !important;
        gap: 24px 14px !important;
        align-items: stretch;
    }

    .woocommerce ul.products li.product {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        float: none !important;
    }

    .woocommerce ul.products li.product
    a.woocommerce-loop-product__link {
        display: flex !important;
        flex-direction: column !important;
        flex-grow: 1;
        width: 100%;
        min-width: 0;
    }

    .woocommerce ul.products li.product a img {
        width: 100% !important;
        height: 180px !important;
        object-fit: contain !important;
    }

    .woocommerce ul.products li.product
    .woocommerce-loop-product__title {
        min-height: 4.5em;
        font-size: 14px !important;
        line-height: 1.5;
        overflow-wrap: break-word;
    }

    .woocommerce ul.products li.product .price {
        min-height: 24px;
        font-size: 12px;
    }

    .woocommerce ul.products li.product .button {
        display: flex !important;
        width: 100% !important;
        min-height: 38px;
        margin-top: auto !important;
        padding: 8px 3px !important;
        align-items: center;
        justify-content: center;
        font-size: 9px !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
        text-align: center;
        box-sizing: border-box;
    }
}

/* ESSEYS — DESKTOP PRODUCT BUTTON ALIGNMENT */

@media (min-width: 769px) {

    .woocommerce ul.products li.product {
        display: flex !important;
        flex-direction: column !important;
        height: 100%;
    }

    .woocommerce ul.products li.product
    a.woocommerce-loop-product__link {
        display: flex !important;
        flex-direction: column !important;
        flex-grow: 1;
    }

    .woocommerce ul.products li.product
    .woocommerce-loop-product__title {
        min-height: 3em;
    }

    .woocommerce ul.products li.product .price {
        min-height: 24px;
    }

    .woocommerce ul.products li.product .button {
        align-self: center;
        margin-top: auto !important;
    }
}

/* ESSEYS — DESKTOP ADD TO CART BUTTON SIZE AND ALIGNMENT */

@media (min-width: 769px) {

    .woocommerce ul.products li.product .button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 150px !important;
        min-width: 150px !important;
        height: 42px !important;
        min-height: 42px !important;
        margin: auto auto 0 !important;
        padding: 10px 18px !important;
        box-sizing: border-box !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        white-space: nowrap !important;
    }
}

/* ESSEYS STORY — FORCE MOBILE IMAGE TO FIT */

@media (max-width: 700px) {

    .homepage .esseys-story-section .esseys-story-image {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    .homepage .esseys-story-section .esseys-story-image img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        object-fit: contain !important;
        object-position: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* ESSEYS — DEDICATED SHOP PAGE PRODUCT GRID */

.esseys-shop-archive {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.esseys-shop-archive ul.products {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto !important;
    padding: 0 5% !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 30px !important;
    box-sizing: border-box;
}

.esseys-shop-archive ul.products li.product {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
}

.esseys-shop-archive ul.products li.product a img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    object-fit: contain !important;
    padding: 0 !important;
    margin: 0 0 16px !important;
}

@media (max-width: 768px) {
    .esseys-shop-archive ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px 14px !important;
        padding: 0 4% !important;
    }
}

/* ESSEYS SHOP — ALIGNMENT WITH PRODUCT GRID */

.esseys-shop-archive .woocommerce-breadcrumb {
    width: 100%;
    padding-left: 5% !important;
    padding-right: 5% !important;
    box-sizing: border-box;
}

.esseys-shop-archive .woocommerce-result-count {
    margin-left: 5% !important;
}

.esseys-shop-archive .woocommerce-ordering {
    margin-right: 5% !important;
}
/* ESSEYS SHOP — HERO BANNER */

.esseys-shop-archive .esseys-shop-hero {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.esseys-shop-archive .esseys-shop-hero img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    object-fit: contain;
}

/* Mobile banner */
@media (max-width: 768px) {
    .esseys-shop-archive .esseys-shop-hero img {
        width: 100%;
        height: auto;
    }
}

/* =========================================================
   ESSEYS SHOP — CATEGORY SIDEBAR + PRODUCT GRID
   Scoped exclusively to the WooCommerce Shop archive.
   ========================================================= */

.esseys-shop-archive .esseys-shop-layout {
    width: 90%;
    max-width: 1440px;
    margin: 34px auto 60px;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    column-gap: 38px;
    align-items: start;
    box-sizing: border-box;
}

.esseys-shop-archive .esseys-shop-sidebar {
    width: 100%;
    min-width: 0;
    padding: 0 20px 24px 0;
    border-right: 1px solid #E9E1D5;
    box-sizing: border-box;
}

.esseys-shop-archive .esseys-shop-sidebar-title {
    margin: 0 0 18px;
    padding: 0 0 14px;
    border-bottom: 1px solid #E9E1D5;
    color: #17130F;
    font-family: inherit;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

.esseys-shop-archive .esseys-shop-category-nav ul {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.esseys-shop-archive .esseys-shop-category-nav li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.esseys-shop-archive .esseys-shop-category-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 3px;
    color: #17130F;
    background: transparent;
    font-size: 15px;
    line-height: 1.35;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.esseys-shop-archive .esseys-shop-category-nav a:hover,
.esseys-shop-archive .esseys-shop-category-nav a:focus-visible {
    color: #FFFFFF;
    background: #B78319;
}

.esseys-shop-archive .esseys-shop-category-nav a.is-active {
    color: #FFFFFF;
    background: #B78319;
    font-weight: 600;
}

.esseys-shop-archive .esseys-shop-category-count {
    flex: 0 0 auto;
    font-size: 13px;
    opacity: 0.8;
}

.esseys-shop-archive .esseys-shop-products {
    width: 100%;
    min-width: 0;
}

.esseys-shop-archive .esseys-shop-products ul.products {
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.esseys-shop-archive .esseys-shop-products ul.products li.product {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
}

/* Tablet */
@media (max-width: 1100px) {
    .esseys-shop-archive .esseys-shop-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        column-gap: 26px;
    }

    .esseys-shop-archive .esseys-shop-products ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .esseys-shop-archive .esseys-shop-layout {
        width: 92%;
        margin: 24px auto 40px;
        grid-template-columns: minmax(0, 1fr);
        row-gap: 24px;
    }

    .esseys-shop-archive .esseys-shop-sidebar {
        padding: 0 0 18px;
        border-right: 0;
        border-bottom: 1px solid #E9E1D5;
    }

    .esseys-shop-archive .esseys-shop-sidebar-title {
        margin-bottom: 12px;
        font-size: 20px;
    }

    .esseys-shop-archive .esseys-shop-category-nav ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px 8px;
    }

    .esseys-shop-archive .esseys-shop-category-nav a {
        min-height: 38px;
        padding: 8px 9px;
        font-size: 13px;
    }

    .esseys-shop-archive .esseys-shop-products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px 14px !important;
    }
}


/* ESSEYS Shop - Wishlist heart buttons */
.esseys-shop-archive ul.products li.esseys-product-card {
    position: relative !important;
}

.esseys-shop-archive ul.products li.esseys-product-card
.esseys-wishlist-toggle {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 30 !important;

    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 1px solid #D8C49A !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.96) !important;
    color: #222222 !important;

    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
}

.esseys-shop-archive ul.products li.esseys-product-card
.esseys-wishlist-toggle svg {
    display: block;
    width: 21px;
    height: 21px;
}

.esseys-shop-archive ul.products li.esseys-product-card
.esseys-wishlist-toggle.is-active {
    color: #B78319 !important;
}

.esseys-shop-archive ul.products li.esseys-product-card
.esseys-wishlist-toggle:hover {
    background: #FFF9EC !important;
    border-color: #B78319 !important;
}

@media (max-width: 768px) {
    .esseys-shop-archive ul.products li.esseys-product-card
    .esseys-wishlist-toggle {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        top: 8px !important;
        right: 8px !important;
    }
}

/* Keep Sale badge separate from Wishlist heart */
.esseys-shop-archive ul.products li.product span.onsale {
    left: 12px !important;
    right: auto !important;
    top: 12px !important;
}


/* =========================================================
   ESSEYS — MY ACCOUNT WISHLIST
   Compact outer panel and Shop-matched product card.
   Does not affect the Shop archive or homepage.
   ========================================================= */

/* Keep the account panel compact around the Wishlist card */
.woocommerce-account .woocommerce-MyAccount-content:has(ul.products) {
    box-sizing: border-box !important;
    width: 300px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 24px !important;
}

/* One saved item per row; the card matches the Shop card width */
.woocommerce-account .woocommerce-MyAccount-content ul.products {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 24px !important;
    margin: 20px 0 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.woocommerce-account .woocommerce-MyAccount-content ul.products::before,
.woocommerce-account .woocommerce-MyAccount-content ul.products::after {
    display: none !important;
}

.woocommerce-account .woocommerce-MyAccount-content ul.products li.product {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* Same image treatment as the Shop product cards */
.woocommerce-account .woocommerce-MyAccount-content ul.products li.product a img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 0 !important;
    margin: 0 0 16px !important;
    background: #F3F1EC !important;
}

/* Match the Shop typography and spacing */
.woocommerce-account .woocommerce-MyAccount-content ul.products li.product
.woocommerce-loop-product__title {
    min-height: 3em;
    margin: 10px 0 6px !important;
    padding: 0 5px !important;
    color: var(--esseys-black) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    overflow-wrap: break-word;
}

.woocommerce-account .woocommerce-MyAccount-content ul.products li.product .price {
    display: block !important;
    min-height: 24px;
    margin: 5px 0 12px !important;
    color: #6F6B64 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: center !important;
}

.woocommerce-account .woocommerce-MyAccount-content ul.products li.product .button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    width: 150px !important;
    min-width: 150px !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: auto auto 0 !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
    border: 1px solid var(--esseys-black) !important;
    border-radius: 0 !important;
    background: var(--esseys-black) !important;
    color: #FFFFFF !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: 1.5px !important;
    text-align: center !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

/* Wishlist heart overlay */
.woocommerce-account .woocommerce-MyAccount-content ul.products li.product
.esseys-wishlist-toggle {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 30 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #D8C49A !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.96) !important;
    color: #222222 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
}

.woocommerce-account .woocommerce-MyAccount-content ul.products li.product
.esseys-wishlist-toggle svg {
    display: block !important;
    width: 21px !important;
    height: 21px !important;
}

.woocommerce-account .woocommerce-MyAccount-content ul.products li.product
.esseys-wishlist-toggle.is-active {
    color: #B78319 !important;
}

/* Smaller account panel on narrow screens */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce-MyAccount-content:has(ul.products) {
        width: 100% !important;
        max-width: 100% !important;
        padding: 18px !important;
    }

    .woocommerce-account .woocommerce-MyAccount-content ul.products {
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .woocommerce-account .woocommerce-MyAccount-content ul.products li.product
    .woocommerce-loop-product__title {
        font-size: 15px !important;
    }

    .woocommerce-account .woocommerce-MyAccount-content ul.products li.product
    .esseys-wishlist-toggle {
        top: 8px !important;
        right: 8px !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
    }
}

/* ESSEYS Product Details page — approved Noir Essence desktop + Royal Oud mobile layout.
   Append this block to the END of style.css. Existing Shop/Wishlist rules are untouched. */

.single-product .esseys-single-product { background: var(--esseys-ivory); }
.single-product div.product.esseys-product-detail {
    max-width: 1440px; margin: 0 auto; padding: 28px 5% 0;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 32px; align-items: start;
}
.single-product .esseys-product-detail .woocommerce-product-gallery {
    float: none; width: 100%; margin: 0; grid-column: 1; grid-row: 1;
}
.single-product .esseys-product-detail .woocommerce-product-gallery .flex-viewport {
    background: #F3F1EC; border-radius: 4px; overflow: hidden;
}
.single-product .esseys-product-detail .woocommerce-product-gallery img {
    display: block; width: 100%; height: auto; object-fit: contain; background: #F3F1EC;
}
.single-product .esseys-product-detail .woocommerce-product-gallery .flex-control-thumbs {
    display: flex; gap: 12px; margin: 12px 0 0; padding: 0; overflow-x: auto;
}
.single-product .esseys-product-detail .woocommerce-product-gallery .flex-control-thumbs li {
    float: none; width: 76px; min-width: 76px; margin: 0; padding: 3px;
    border: 1px solid var(--esseys-border); border-radius: 5px; background: #fff;
}
.single-product .esseys-product-detail .woocommerce-product-gallery .flex-control-thumbs li img {
    border-radius: 3px; opacity: .78;
}
.single-product .esseys-product-detail .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    opacity: 1; outline: 1px solid var(--esseys-gold); outline-offset: 1px;
}
.single-product .esseys-product-detail .summary.esseys-product-summary {
    float: none; width: 100%; margin: 0; grid-column: 2; grid-row: 1;
    padding: 0 0 22px;
}
.single-product .esseys-product-summary .product_title {
    margin: 8px 0 2px; color: var(--esseys-black);
    font-family: Georgia, 'Times New Roman', serif; font-size: clamp(34px, 3.2vw, 46px);
    font-weight: 400; line-height: 1.14;
}
.single-product .esseys-product-summary .woocommerce-product-rating { margin: 8px 0 10px; }
.single-product .esseys-product-summary .star-rating,
.single-product .esseys-product-summary .star-rating span { color: #C58A12; }
.single-product .esseys-product-summary p.price,
.single-product .esseys-product-summary span.price {
    margin: 8px 0 18px; color: var(--esseys-black); font-size: 28px; font-weight: 600;
}
.single-product .esseys-product-summary .woocommerce-product-details__short-description {
    color: #3f3b35; font-size: 15px; line-height: 1.75;
}
.single-product .esseys-product-summary form.cart { margin: 18px 0 12px; }
.single-product .esseys-product-summary form.cart .quantity { margin-right: 12px; }
.single-product .esseys-product-summary form.cart .qty {
    min-height: 44px; border: 1px solid #DCCDB5; background: #fff; text-align: center;
}
.single-product .esseys-product-summary form.cart .button,
.single-product .esseys-product-summary .single_add_to_cart_button {
    min-height: 48px; padding: 13px 28px; border: 1px solid #B77B08;
    border-radius: 5px; background: linear-gradient(90deg, #C58A12, #A96D00);
    color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .2px;
    text-transform: none;
}
.single-product .esseys-product-summary form.cart .button:hover { background: #986300; color: #fff; }
.single-product .esseys-product-summary .variations { margin: 12px 0; }
.single-product .esseys-product-summary .variations th,
.single-product .esseys-product-summary .variations td { padding: 7px 8px 7px 0; vertical-align: middle; }
.single-product .esseys-product-summary .variations select {
    min-height: 42px; padding: 7px 12px; border: 1px solid #DCCDB5; background: #fff;
}
.single-product .esseys-product-summary .reset_variations { margin-left: 8px; font-size: 12px; }
.single-product .esseys-product-summary .product_meta { margin-top: 14px; color: var(--esseys-grey); font-size: 12px; }
.single-product .esseys-product-trust {
    grid-column: 2; grid-row: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #E8DCC8; border-bottom: 1px solid #E8DCC8; padding: 15px 0;
    gap: 8px; margin: 0 0 28px;
}
.single-product .esseys-product-trust > div { display: flex; align-items: center; gap: 8px; padding: 0 8px; border-right: 1px solid #E8DCC8; }
.single-product .esseys-product-trust > div:last-child { border-right: 0; }
.single-product .esseys-trust-icon { color: #B77B08; font-size: 25px; line-height: 1; }
.single-product .esseys-product-trust strong,
.single-product .esseys-product-trust small { display: block; color: var(--esseys-black); font-size: 11px; line-height: 1.35; }
.single-product .esseys-product-trust small { color: var(--esseys-grey); }
.single-product .esseys-fragrance-notes {
    grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 2fr; gap: 25px;
    align-items: start; margin: 4px 0 24px; padding: 0 0 20px; border-bottom: 1px solid #E8DCC8;
}
.single-product .esseys-fragrance-notes h2 { margin: 0; font: 600 22px Georgia, 'Times New Roman', serif; }
.single-product .esseys-fragrance-note-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.single-product .esseys-fragrance-note { padding: 0 16px; text-align: center; border-left: 1px solid #E8DCC8; }
.single-product .esseys-fragrance-note h3 { margin: 0 0 5px; font: 600 14px Georgia, 'Times New Roman', serif; }
.single-product .esseys-fragrance-note p { margin: 0; color: #4b463f; font: 13px/1.5 Georgia, 'Times New Roman', serif; }
.single-product .woocommerce-tabs {
    grid-column: 1 / -1; width: 100%; max-width: none; margin: 0; padding: 10px 0 35px;
}
.single-product .woocommerce-tabs ul.tabs { display: flex; gap: 0; margin: 0; border-bottom: 1px solid #E8DCC8; }
.single-product .woocommerce-tabs ul.tabs li { margin: 0 2px 0 0; padding: 0; border: 0; background: transparent; }
.single-product .woocommerce-tabs ul.tabs li a { display: block; padding: 12px 20px; color: #28231d; font-size: 13px; letter-spacing: 0; text-transform: none; }
.single-product .woocommerce-tabs ul.tabs li.active { background: #B77B08; border-radius: 5px 5px 0 0; }
.single-product .woocommerce-tabs ul.tabs li.active a { color: #fff; border: 0; }
.single-product .woocommerce-tabs .panel { padding: 18px 22px; border: 1px solid #E8DCC8; border-top: 0; border-radius: 0 0 6px 6px; color: #29251f; font-size: 14px; line-height: 1.75; }
.single-product .related, .single-product .upsells { max-width: 1440px; margin: 0 auto; padding: 25px 5% 55px; }
.single-product .related > h2, .single-product .upsells > h2 { margin-bottom: 25px; font: 500 23px Georgia, 'Times New Roman', serif; letter-spacing: 1px; text-align: center; text-transform: uppercase; }

@media (max-width: 768px) {
    .single-product div.product.esseys-product-detail {
        display: flex; flex-direction: column; gap: 0; padding: 0 4%;
    }
    .single-product .esseys-product-detail .woocommerce-product-gallery,
    .single-product .esseys-product-detail .summary.esseys-product-summary { width: 100%; }
    .single-product .esseys-product-detail .woocommerce-product-gallery { margin: 0 -4%; width: calc(100% + 8%); }
    .single-product .esseys-product-detail .woocommerce-product-gallery .flex-control-thumbs { padding: 0 4%; gap: 9px; }
    .single-product .esseys-product-detail .woocommerce-product-gallery .flex-control-thumbs li { width: 70px; min-width: 70px; }
    .single-product .esseys-product-detail .summary.esseys-product-summary { padding: 16px 0 12px; }
    .single-product .esseys-product-summary .product_title { margin-top: 0; font-size: 32px; }
    .single-product .esseys-product-summary p.price,
    .single-product .esseys-product-summary span.price { font-size: 25px; }
    .single-product .esseys-product-summary .woocommerce-product-details__short-description { font-size: 14px; }
    .single-product .esseys-product-summary form.cart { display: flex; flex-wrap: wrap; gap: 10px; }
    .single-product .esseys-product-summary form.cart .button,
    .single-product .esseys-product-summary .single_add_to_cart_button { width: 100%; min-height: 50px; margin: 0; }
    .single-product .esseys-product-trust { order: 4; width: 100%; grid-template-columns: repeat(4, 1fr); margin: 14px 0 22px; padding: 14px 0; }
    .single-product .esseys-product-trust > div { flex-direction: column; text-align: center; padding: 0 3px; border: 0; gap: 4px; }
    .single-product .esseys-product-trust strong, .single-product .esseys-product-trust small { font-size: 10px; }
    .single-product .esseys-trust-icon { font-size: 24px; }
    .single-product .esseys-fragrance-notes { display: block; width: 100%; margin: 0 0 20px; padding: 15px; border: 1px solid #E8DCC8; border-radius: 8px; background: #FBF1E3; }
    .single-product .esseys-fragrance-notes h2 { margin-bottom: 15px; font-size: 21px; }
    .single-product .esseys-fragrance-note { padding: 0 7px; }
    .single-product .esseys-fragrance-note h3 { font-size: 13px; }
    .single-product .esseys-fragrance-note p { font-size: 12px; }
    .single-product .woocommerce-tabs { padding: 0 0 25px; }
    .single-product .woocommerce-tabs ul.tabs { overflow-x: auto; white-space: nowrap; }
    .single-product .woocommerce-tabs ul.tabs li a { padding: 11px 13px; font-size: 12px; }
    .single-product .woocommerce-tabs .panel { padding: 15px; font-size: 13px; }
    .single-product .related, .single-product .upsells { padding: 22px 4% 35px; }
    .single-product .related > h2, .single-product .upsells > h2 { font-size: 21px; }
}

/* ESSEYS Product Details — outer page wrapper width correction */
body.single-product #primary.single-product-page {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.single-product .esseys-single-product {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: var(--esseys-ivory);
}

body.single-product .esseys-single-product > .product.esseys-product-detail {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================
   ESSEYS PRODUCT PAGE — FULL-WIDTH BREAKOUT FIX
   Scoped strictly to single-product pages.
   ========================================================= */

body.single-product {
    overflow-x: hidden;
}

body.single-product .single-product-page {
    position: relative;
    left: 50%;
    width: 100vw !important;
    max-width: none !important;
    min-width: 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    transform: translateX(-50%);
    box-sizing: border-box;
}

body.single-product .single-product-page .esseys-single-product {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

body.single-product .single-product-page .esseys-product-detail {
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    column-gap: clamp(28px, 5vw, 76px);
    row-gap: 32px;
    width: min(100% - 48px, 1440px) !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 48px 0 !important;
    box-sizing: border-box;
}

body.single-product .single-product-page .woocommerce-product-gallery {
    grid-column: 1;
    grid-row: 1 / span 2;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body.single-product .single-product-page .esseys-product-summary {
    grid-column: 2;
    grid-row: 1;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body.single-product .single-product-page .esseys-product-trust,
body.single-product .single-product-page .esseys-fragrance-notes,
body.single-product .single-product-page .woocommerce-tabs,
body.single-product .single-product-page .related,
body.single-product .single-product-page .upsells {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    float: none !important;
}

body.single-product .single-product-page .woocommerce-product-gallery__wrapper,
body.single-product .single-product-page .woocommerce-product-gallery__image {
    width: 100%;
}

@media (max-width: 768px) {
    body.single-product .single-product-page .esseys-product-detail {
        display: flex !important;
        flex-direction: column;
        width: calc(100% - 32px) !important;
        padding: 24px 0 !important;
        gap: 24px;
    }

    body.single-product .single-product-page .woocommerce-product-gallery,
    body.single-product .single-product-page .esseys-product-summary,
    body.single-product .single-product-page .esseys-product-trust,
    body.single-product .single-product-page .esseys-fragrance-notes,
    body.single-product .single-product-page .woocommerce-tabs {
        width: 100% !important;
        max-width: none !important;
    }
}

/* ESSEYS Featured Products */
.esseys-featured-products {
    width: 100%;
    margin: 0 auto;
}

.esseys-featured-products__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.esseys-product-card {
    min-width: 0;
    background: #fff;
}

.esseys-product-card__image {
    position: relative;
    display: block;
    overflow: hidden;
    background: #f7f4ee;
    aspect-ratio: 1 / 1;
}

.esseys-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.esseys-product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    background: #b99a62;
    color: #fff;
    font-size: 11px;
}

.esseys-product-card__details {
    padding: 14px 2px;
}

.esseys-product-card__title {
    font-size: 16px;
    font-weight: 500;
}

.esseys-product-card__title a {
    color: #25221f;
    text-decoration: none;
}

.esseys-product-card__price {
    margin-bottom: 12px;
    font-size: 14px;
}

.esseys-product-card__price ins {
    text-decoration: none;
}

.esseys-product-card__action .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border: 1px solid #b99a62;
    border-radius: 0;
    background: #b99a62;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .esseys-featured-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .esseys-featured-products__grid {
        gap: 16px 12px;
    }

    .esseys-product-card__title {
        font-size: 14px;
    }
}

/*
 * ESSEYS Shop product-card styles
 *
 * Append to:
 * wp-content/themes/esseys-luxury/style.css
 *
 * Scoped to the ESSEYS shop archive so the frozen single-product template
 * and other product components are not affected.
 */

.esseys-shop-archive .esseys-shop-products ul.products li.esseys-product-card {
    display: block;
    min-width: 0;
    margin: 0 !important;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(92, 43, 69, 0.08);
    border-radius: 12px;
    background: #fffaf5;
    box-shadow: 0 3px 12px rgba(45, 25, 34, 0.07);
}

.esseys-shop-archive .esseys-shop-card {
    display: flex;
    height: 100%;
    min-width: 0;
    flex-direction: column;
    text-align: center;
}

.esseys-shop-archive .esseys-shop-card__media {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f4eee8;
    aspect-ratio: 1 / 1;
}

.esseys-shop-archive .esseys-shop-card__image-link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.esseys-shop-archive .esseys-shop-card__image-link img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    object-fit: cover;
    object-position: center;
}

.esseys-shop-archive .esseys-shop-card__media .onsale {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    min-height: 0;
    margin: 0;
    padding: 6px 9px;
    border-radius: 3px;
    background: #5b1d43;
    color: #fff;
    font-size: 11px;
    line-height: 1.2;
}

.esseys-shop-archive .esseys-shop-card__media .esseys-wishlist-toggle {
    position: absolute;
    z-index: 3;
    top: 10px;
    right: 10px;
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(91, 29, 67, 0.18);
    border-radius: 50%;
    background: rgba(255, 250, 245, 0.94);
    color: #5b1d43;
    cursor: pointer;
}

.esseys-shop-archive .esseys-shop-card__media .esseys-wishlist-toggle.is-active {
    background: #5b1d43;
    color: #fff;
}

.esseys-shop-archive .esseys-shop-card__media .esseys-wishlist-toggle svg {
    display: block;
    width: 20px;
    height: 20px;
}

.esseys-shop-archive .esseys-shop-card__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    padding: 12px 12px 14px;
}

.esseys-shop-archive .esseys-shop-card__title {
    margin: 0 0 6px;
    color: #35172b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}

.esseys-shop-archive .esseys-shop-card__title a {
    color: inherit;
    text-decoration: none;
}

.esseys-shop-archive .esseys-shop-card__title a:hover {
    color: #7a3b61;
}

.esseys-shop-archive .esseys-shop-card__description {
    width: 100%;
    min-height: 42px;
    margin: 0 0 7px;
    color: #38302f;
    font-size: 13px;
    line-height: 1.5;
}

.esseys-shop-archive .esseys-shop-card__description p {
    margin: 0;
}

.esseys-shop-archive .esseys-shop-card__price {
    margin: auto 0 10px;
    color: #35172b;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.esseys-shop-archive .esseys-shop-card__price del {
    margin-right: 5px;
    color: #887d80;
    font-size: 13px;
    font-weight: 400;
}

.esseys-shop-archive .esseys-shop-card__price ins {
    color: #35172b;
    text-decoration: none;
}

.esseys-shop-archive .esseys-shop-card__action {
    width: 100%;
}

.esseys-shop-archive .esseys-shop-card__action .button {
    display: inline-flex;
    width: 150px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 8px 12px;
    border: 0;
    border-radius: 11px;
    background: #5b1d43;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}

.esseys-shop-archive .esseys-shop-card__action .button:hover,
.esseys-shop-archive .esseys-shop-card__action .button:focus-visible {
    background: #79365f;
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .esseys-shop-archive .esseys-shop-card__content {
        padding: 9px 8px 11px;
    }

    .esseys-shop-archive .esseys-shop-card__title {
        font-size: 15px;
    }

    .esseys-shop-archive .esseys-shop-card__description {
        min-height: 38px;
        font-size: 12px;
    }

    .esseys-shop-archive .esseys-shop-card__price {
        font-size: 17px;
    }

    .esseys-shop-archive .esseys-shop-card__action .button {
        width: 100%;
        max-width: 150px;
    }
}

/*
 * ESSEYS Shop card — visual refinement patch
 * Append this entire block at the VERY END of:
 * wp-content/themes/esseys-luxury/style.css
 *
 * Scope: Shop/archive product cards only.
 * Does not target the frozen single-product template.
 */

/* Card proportions and surface */
body.woocommerce.archive .esseys-shop-card {
    background: #fbf7f2;
    border: 1px solid rgba(76, 32, 57, 0.08);
    border-radius: 11px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(54, 29, 42, 0.07);
}

body.woocommerce.archive .esseys-shop-card__media {
    aspect-ratio: 1.08 / 1;
    background: #f3ece5;
    overflow: hidden;
}

body.woocommerce.archive .esseys-shop-card__image-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Tighter content block, closer to the approved Shop mockup */
body.woocommerce.archive .esseys-shop-card__content {
    padding: 9px 10px 13px;
    gap: 0;
}

body.woocommerce.archive .esseys-shop-card__title {
    margin: 0 0 5px;
    color: #35172b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.28;
    min-height: 0;
}

body.woocommerce.archive .esseys-shop-card__description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 0;
    max-height: 3.0em;
    margin: 0 0 8px;
    color: #3e3538;
    font-size: 12px;
    line-height: 1.5;
}

body.woocommerce.archive .esseys-shop-card__description p {
    margin: 0;
}

body.woocommerce.archive .esseys-shop-card__price {
    margin: 0 0 9px;
    color: #35172b;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

/* Champagne-plum CTA: override WooCommerce/theme button defaults */
body.woocommerce.archive .esseys-shop-card__action a.button,
body.woocommerce.archive .esseys-shop-card__action .button,
body.woocommerce.archive .esseys-shop-card__action a.add_to_cart_button,
body.woocommerce.archive .esseys-shop-card__action a.product_type_variable {
    display: inline-flex !important;
    width: 150px !important;
    min-width: 150px;
    height: 36px !important;
    min-height: 36px !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #5b1d43 !important;
    color: #fff !important;
    box-shadow: none !important;
    font-family: inherit;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    text-transform: none !important;
    text-decoration: none !important;
    transition: background-color .2s ease, transform .2s ease;
}

body.woocommerce.archive .esseys-shop-card__action a.button:hover,
body.woocommerce.archive .esseys-shop-card__action .button:hover,
body.woocommerce.archive .esseys-shop-card__action a.button:focus-visible {
    background: #79365f !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* Wishlist: retain existing ESSEYS JS hook and improve visual consistency */
body.woocommerce.archive .esseys-shop-card__media .esseys-wishlist-toggle {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(91, 29, 67, 0.2);
    background: rgba(255, 250, 245, 0.96);
    color: #5b1d43;
}

body.woocommerce.archive .esseys-shop-card__media .esseys-wishlist-toggle.is-active {
    background: #5b1d43;
    color: #fff;
}

@media (max-width: 767px) {
    body.woocommerce.archive .esseys-shop-card__media {
        aspect-ratio: 1 / 1;
    }

    body.woocommerce.archive .esseys-shop-card__content {
        padding: 8px 7px 10px;
    }

    body.woocommerce.archive .esseys-shop-card__title {
        font-size: 14px;
    }

    body.woocommerce.archive .esseys-shop-card__description {
        font-size: 11px;
    }

    body.woocommerce.archive .esseys-shop-card__price {
        font-size: 16px;
    }

    body.woocommerce.archive .esseys-shop-card__action a.button,
    body.woocommerce.archive .esseys-shop-card__action .button {
        width: 100% !important;
        min-width: 0;
        max-width: 150px;
    }
}

/*
 * ESSEYS Shop — equal-height product grid alignment
 * Append at the VERY END of style.css.
 * Applies only to WooCommerce shop/archive product lists.
 */

body.woocommerce.archive ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    column-gap: 18px !important;
    row-gap: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce.archive ul.products::before,
body.woocommerce.archive ul.products::after {
    display: none !important;
    content: none !important;
}

body.woocommerce.archive ul.products > li.product,
body.woocommerce.archive ul.products > li.esseys-product-card {
    float: none !important;
    clear: none !important;
    width: auto !important;
    min-width: 0 !important;
    height: 100% !important;
    margin: 0 !important;
}

body.woocommerce.archive ul.products > li.product .esseys-shop-card,
body.woocommerce.archive ul.products > li.esseys-product-card .esseys-shop-card {
    display: flex !important;
    width: 100%;
    height: 100% !important;
    min-height: 100%;
    flex-direction: column;
}

body.woocommerce.archive ul.products > li.product .esseys-shop-card__media,
body.woocommerce.archive ul.products > li.esseys-product-card .esseys-shop-card__media {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 1 / 1;
}

body.woocommerce.archive ul.products > li.product .esseys-shop-card__content,
body.woocommerce.archive ul.products > li.esseys-product-card .esseys-shop-card__content {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    align-items: center;
    min-height: 205px;
    height: auto !important;
}

body.woocommerce.archive ul.products > li.product .esseys-shop-card__title,
body.woocommerce.archive ul.products > li.esseys-product-card .esseys-shop-card__title {
    width: 100%;
    min-height: 2.56em;
}

body.woocommerce.archive ul.products > li.product .esseys-shop-card__description,
body.woocommerce.archive ul.products > li.esseys-product-card .esseys-shop-card__description {
    width: 100%;
    min-height: 3em;
    max-height: 3em;
    overflow: hidden;
}

body.woocommerce.archive ul.products > li.product .esseys-shop-card__price,
body.woocommerce.archive ul.products > li.esseys-product-card .esseys-shop-card__price {
    margin-top: auto !important;
    margin-bottom: 10px !important;
}

body.woocommerce.archive ul.products > li.product .esseys-shop-card__action,
body.woocommerce.archive ul.products > li.esseys-product-card .esseys-shop-card__action {
    flex: 0 0 auto;
    margin-top: 0;
}

@media (max-width: 1024px) {
    body.woocommerce.archive ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        column-gap: 14px !important;
        row-gap: 18px !important;
    }
}

@media (max-width: 767px) {
    body.woocommerce.archive ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 10px !important;
        row-gap: 14px !important;
    }

    body.woocommerce.archive ul.products > li.product .esseys-shop-card__content,
    body.woocommerce.archive ul.products > li.esseys-product-card .esseys-shop-card__content {
        min-height: 190px;
    }
}

/*
 * ESSEYS Shop sidebar filters — approved mockup styling
 * Append at the VERY END of style.css.
 */

.esseys-shop-filters {
    padding: 16px 14px 18px;
    border-radius: 10px;
    background: #fbf6f0;
    box-shadow: 0 3px 12px rgba(55, 30, 42, .06);
}

.esseys-shop-filters-title {
    margin: 0 0 12px;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(91, 29, 67, .16);
    color: #35172b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 600;
}

.esseys-shop-filter-group {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(91, 29, 67, .15);
}

.esseys-shop-filter-group > summary {
    position: relative;
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px 10px 0;
    color: #241b20;
    cursor: pointer;
    font-size: 14px;
    font-weight: 650;
    list-style: none;
}

.esseys-shop-filter-group > summary::-webkit-details-marker {
    display: none;
}

.esseys-shop-filter-group > summary::after {
    position: absolute;
    right: 2px;
    content: "⌄";
    color: #35172b;
    font-size: 19px;
    line-height: 1;
    transition: transform .2s ease;
}

.esseys-shop-filter-group[open] > summary::after {
    transform: rotate(180deg);
}

.esseys-shop-filter-options {
    display: grid;
    gap: 8px;
    padding: 2px 0 14px;
}

.esseys-shop-filter-option {
    display: flex;
    min-height: 21px;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #30282c;
    font-size: 13px;
    line-height: 1.35;
    cursor: pointer;
}

.esseys-shop-filter-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin: 0;
    accent-color: #5b1d43;
}

.esseys-shop-filter-option .esseys-filter-count {
    margin-left: auto;
    color: #786b72;
    font-size: 12px;
}

.esseys-shop-price-range {
    padding: 7px 0 14px;
}

.esseys-shop-price-sliders {
    position: relative;
    height: 24px;
    margin: 3px 4px 12px;
}

.esseys-shop-price-sliders input[type="range"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 24px;
    margin: 0;
    pointer-events: none;
    appearance: none;
    background: transparent;
}

.esseys-shop-price-sliders input[type="range"]::-webkit-slider-runnable-track {
    height: 3px;
    background: #d8c5cf;
}

.esseys-shop-price-sliders input[type="range"]::-moz-range-track {
    height: 3px;
    background: #d8c5cf;
}

.esseys-shop-price-sliders input[type="range"]::-webkit-slider-thumb {
    width: 15px;
    height: 15px;
    margin-top: -6px;
    border: 0;
    border-radius: 50%;
    appearance: none;
    background: #5b1d43;
    pointer-events: auto;
    cursor: pointer;
}

.esseys-shop-price-sliders input[type="range"]::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border: 0;
    border-radius: 50%;
    background: #5b1d43;
    pointer-events: auto;
    cursor: pointer;
}

.esseys-shop-price-values {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 7px;
}

.esseys-shop-price-values label {
    display: grid;
    flex: 1 1 0;
    gap: 4px;
    color: #6a5b63;
    font-size: 11px;
}

.esseys-shop-price-values input[type="number"] {
    width: 100%;
    min-width: 0;
    height: 32px;
    padding: 5px 7px;
    border: 1px solid #d8cbd1;
    border-radius: 5px;
    background: #fffdfa;
    color: #35172b;
    font-size: 12px;
}

.esseys-shop-filter-actions {
    display: grid;
    gap: 8px;
    padding-top: 15px;
}

.esseys-shop-filter-apply {
    width: 100%;
    min-height: 40px;
    border: 0;
    border-radius: 9px;
    background: #5b1d43;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.esseys-shop-filter-apply:hover,
.esseys-shop-filter-apply:focus-visible {
    background: #79365f;
    color: #fff;
}

.esseys-shop-filter-clear {
    color: #5b1d43;
    font-size: 12px;
    text-align: center;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .esseys-shop-filters {
        padding: 12px;
    }

    .esseys-shop-filter-group > summary {
        min-height: 42px;
    }
}


/*
 * ESSEYS SHOP — AJAX "VIEW CART" BUTTON ALIGNMENT
 * Added without changing existing Shop layout, filters, cards or product template.
 * Applies only to the Shop/archive product-card action area.
 */

body.woocommerce.archive .esseys-shop-card__action {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
}

body.woocommerce.archive .esseys-shop-card__action a.add_to_cart_button,
body.woocommerce.archive .esseys-shop-card__action a.added_to_cart,
body.woocommerce.archive .esseys-shop-card__action a.added_to_cart.wc-forward {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    min-height: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #5b1d43 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: nowrap !important;
}

body.woocommerce.archive .esseys-shop-card__action a.add_to_cart_button:hover,
body.woocommerce.archive .esseys-shop-card__action a.added_to_cart:hover,
body.woocommerce.archive .esseys-shop-card__action a.added_to_cart:focus-visible {
    background: #79365f !important;
    color: #ffffff !important;
}

@media (max-width: 767px) {
    body.woocommerce.archive .esseys-shop-card__action a.add_to_cart_button,
    body.woocommerce.archive .esseys-shop-card__action a.added_to_cart,
    body.woocommerce.archive .esseys-shop-card__action a.added_to_cart.wc-forward {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 150px !important;
    }
}


/* =========================================================
   ESSEYS — RELATED PRODUCTS CARD / BUTTON ALIGNMENT
   Scope: Single-product Related Products and Upsells only.
   Leaves Shop archive cards and their filters untouched.
========================================================= */

body.single-product .related ul.products,
body.single-product .upsells ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 24px !important;
}

body.single-product .related ul.products::before,
body.single-product .related ul.products::after,
body.single-product .upsells ul.products::before,
body.single-product .upsells ul.products::after {
    display: none !important;
    content: none !important;
}

body.single-product .related ul.products > li.product,
body.single-product .upsells ul.products > li.product {
    display: flex !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    min-width: 0 !important;
    height: 100% !important;
    margin: 0 !important;
}

body.single-product .related ul.products > li.product > .esseys-shop-card,
body.single-product .upsells ul.products > li.product > .esseys-shop-card {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
}

body.single-product .related .esseys-shop-card__media,
body.single-product .upsells .esseys-shop-card__media {
    flex: 0 0 auto !important;
    width: 100% !important;
}

body.single-product .related .esseys-shop-card__content,
body.single-product .upsells .esseys-shop-card__content {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
}

body.single-product .related .esseys-shop-card__title,
body.single-product .upsells .esseys-shop-card__title {
    width: 100% !important;
}

body.single-product .related .esseys-shop-card__description,
body.single-product .upsells .esseys-shop-card__description {
    width: 100% !important;
}

body.single-product .related .esseys-shop-card__price,
body.single-product .upsells .esseys-shop-card__price {
    width: 100% !important;
    margin-top: auto !important;
}

body.single-product .related .esseys-shop-card__action,
body.single-product .upsells .esseys-shop-card__action {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 0 !important;
}

@media (max-width: 900px) {
    body.single-product .related ul.products,
    body.single-product .upsells ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }
}

@media (max-width: 480px) {
    body.single-product .related ul.products,
    body.single-product .upsells ul.products {
        gap: 14px !important;
    }
}

/* =========================================================
   FROZEN ESSEYS CAR PERFUMES ARCHIVE
   Category-only refinements; leaves other archives untouched.
========================================================= */

body.tax-product_cat.term-car-perfumes .esseys-shop-archive .esseys-shop-sidebar-title {
    color: #35172b;
    font-family: Georgia, "Times New Roman", serif;
}

body.tax-product_cat.term-car-perfumes .esseys-shop-category-nav a:hover,
body.tax-product_cat.term-car-perfumes .esseys-shop-category-nav a:focus-visible,
body.tax-product_cat.term-car-perfumes .esseys-shop-category-nav a.is-active {
    background: #5b1d43;
}

body.tax-product_cat.term-car-perfumes .esseys-shop-products ul.products {
    align-items: stretch !important;
    gap: 22px 18px !important;
}

body.tax-product_cat.term-car-perfumes .esseys-shop-products ul.products > li.product {
    display: flex !important;
    height: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid #eee4da !important;
    border-radius: 13px !important;
    background: #fffaf6 !important;
    box-shadow: 0 3px 12px rgba(54, 29, 42, .07);
}

body.tax-product_cat.term-car-perfumes .esseys-shop-card {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    flex-direction: column !important;
    background: #fffaf6;
    text-align: center;
}

body.tax-product_cat.term-car-perfumes .esseys-shop-card__media {
    position: relative !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 12px 12px 0 0 !important;
    background: #fff !important;
}

body.tax-product_cat.term-car-perfumes .esseys-shop-card__media > .esseys-shop-card__image-link {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.tax-product_cat.term-car-perfumes .esseys-shop-card__media img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
}

body.tax-product_cat.term-car-perfumes .esseys-shop-card__media .onsale {
    position: absolute !important;
    z-index: 4 !important;
    top: 10px !important;
    right: auto !important;
    bottom: auto !important;
    left: 10px !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 6px 10px !important;
    transform: none !important;
    border: 0 !important;
    border-radius: 3px !important;
    background: #5b1d43 !important;
    color: #fff !important;
    font: 700 11px/1.2 Arial, sans-serif !important;
}

body.tax-product_cat.term-car-perfumes .esseys-shop-card__media .esseys-wishlist-toggle {
    position: absolute !important;
    z-index: 5 !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    display: flex !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 1px solid #e2cda8 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #5b1d43 !important;
    box-shadow: 0 2px 8px rgba(36, 22, 31, .15);
}

body.tax-product_cat.term-car-perfumes .esseys-shop-card__content {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    align-items: center !important;
    min-height: 205px;
    padding: 11px 12px 14px !important;
}

body.tax-product_cat.term-car-perfumes .esseys-shop-card__title {
    width: 100%;
    min-height: 2.56em;
    margin: 0 0 6px !important;
    color: #35172b;
    font: 600 16px/1.28 Georgia, "Times New Roman", serif;
}

body.tax-product_cat.term-car-perfumes .esseys-shop-card__description {
    display: -webkit-box !important;
    width: 100%;
    min-height: 3em;
    max-height: 3em;
    margin: 0 0 8px !important;
    overflow: hidden;
    color: #3e3538;
    font-size: 12px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.tax-product_cat.term-car-perfumes .esseys-shop-card__description p {
    margin: 0;
}

body.tax-product_cat.term-car-perfumes .esseys-shop-card__price {
    width: 100%;
    margin: auto 0 9px !important;
    color: #35172b;
    font-size: 18px;
    line-height: 1.25;
}

body.tax-product_cat.term-car-perfumes .esseys-shop-card__action {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 7px !important;
    width: 100% !important;
}

body.tax-product_cat.term-car-perfumes .esseys-shop-card__action a.button,
body.tax-product_cat.term-car-perfumes .esseys-shop-card__action .button {
    display: inline-flex !important;
    width: min(100%, 150px) !important;
    min-width: 0 !important;
    min-height: 38px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #5b1d43 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
}

@media (max-width: 767px) {
    body.tax-product_cat.term-car-perfumes .esseys-shop-products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px 10px !important;
    }

    body.tax-product_cat.term-car-perfumes .esseys-shop-card__content {
        min-height: 190px;
        padding: 8px 7px 10px !important;
    }

    body.tax-product_cat.term-car-perfumes .esseys-shop-card__title {
        font-size: 14px;
    }

    body.tax-product_cat.term-car-perfumes .esseys-shop-card__description {
        font-size: 11px;
    }
}

/* =========================================================
   HOMEPAGE — FEATURED PRODUCT CARD ALIGNMENT
   Keeps this change limited to Our Signature Fragrances.
========================================================= */

.homepage .featured-products-section ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.homepage .featured-products-section ul.products::before,
.homepage .featured-products-section ul.products::after {
    display: none !important;
    content: none !important;
}

.homepage .featured-products-section ul.products > li.product {
    display: flex !important;
    float: none !important;
    width: auto !important;
    height: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.homepage .featured-products-section .esseys-shop-card {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    flex-direction: column !important;
}

.homepage .featured-products-section .esseys-shop-card__media {
    position: relative !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
}

.homepage .featured-products-section .esseys-shop-card__image-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.homepage .featured-products-section .esseys-shop-card__media img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
}

.homepage .featured-products-section .esseys-shop-card__media .onsale {
    position: absolute !important;
    z-index: 4 !important;
    top: 10px !important;
    right: auto !important;
    bottom: auto !important;
    left: 10px !important;
}

.homepage .featured-products-section .esseys-shop-card__media .esseys-wishlist-toggle {
    position: absolute !important;
    z-index: 5 !important;
    top: 10px !important;
    right: 10px !important;
    bottom: auto !important;
    left: auto !important;
    display: flex !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e2cda8 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #5b1d43 !important;
    box-shadow: 0 2px 8px rgba(36, 22, 31, .15);
}

.homepage .featured-products-section .esseys-shop-card__content {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    align-items: center !important;
    min-height: 220px;
    height: auto !important;
}

.homepage .featured-products-section .esseys-shop-card__title {
    width: 100%;
    min-height: 5.2em;
    font-size: clamp(18px, 1.15vw, 20px) !important;
    line-height: 1.3 !important;
}

.homepage .featured-products-section .esseys-shop-card__description {
    display: -webkit-box !important;
    width: 100%;
    min-height: 3em;
    max-height: 3em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.homepage .featured-products-section .esseys-shop-card__price {
    width: 100%;
    margin-top: auto !important;
}

.homepage .featured-products-section .esseys-shop-card__action {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 7px !important;
    width: 100% !important;
}

.homepage .featured-products-section .esseys-shop-card__action a.add_to_cart_button,
.homepage .featured-products-section .esseys-shop-card__action a.product_type_variable,
.homepage .featured-products-section .esseys-shop-card__action a.added_to_cart,
.homepage .featured-products-section .esseys-shop-card__action a.added_to_cart.wc-forward {
    display: inline-flex !important;
    box-sizing: border-box !important;
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    height: 36px !important;
    min-height: 36px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #5b1d43 !important;
    color: #fff !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: nowrap !important;
}

.homepage .featured-products-section .esseys-shop-card__action a.add_to_cart_button.added::after {
    content: " ✓";
    margin-left: 4px;
}

.homepage .featured-products-section .esseys-shop-card__action a.add_to_cart_button:hover,
.homepage .featured-products-section .esseys-shop-card__action a.add_to_cart_button:focus-visible,
.homepage .featured-products-section .esseys-shop-card__action a.added_to_cart:hover,
.homepage .featured-products-section .esseys-shop-card__action a.added_to_cart:focus-visible {
    background: #79365f !important;
    color: #fff !important;
}

@media (max-width: 767px) {
    .homepage .featured-products-section ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px 12px !important;
    }

    .homepage .featured-products-section .esseys-shop-card__content {
        min-height: 190px;
    }

    .homepage .featured-products-section .esseys-shop-card__action a.add_to_cart_button,
    .homepage .featured-products-section .esseys-shop-card__action a.product_type_variable,
    .homepage .featured-products-section .esseys-shop-card__action a.added_to_cart {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 150px !important;
    }
}

/* Homepage delivery announcement slider, directly below the header/logo. */
.esseys-home-delivery-banner {
    width: 100%;
    overflow: hidden;
    border-top: 1px solid #c49a4a;
    border-bottom: 1px solid #c49a4a;
    background: #5b1d43;
    color: #fffaf6;
}

.esseys-home-delivery-banner__track {
    display: flex;
    width: max-content;
    min-width: 200vw;
    align-items: center;
    animation: esseys-home-delivery-scroll 34s linear infinite;
    will-change: transform;
}

.esseys-home-delivery-banner__item {
    display: block;
    flex: 0 0 auto;
    padding: 10px clamp(22px, 3vw, 56px);
    color: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
}

.esseys-home-delivery-banner:hover .esseys-home-delivery-banner__track {
    animation-play-state: paused;
}

@keyframes esseys-home-delivery-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .esseys-home-delivery-banner__track {
        width: 100%;
        min-width: 0;
        justify-content: center;
        animation: none;
        will-change: auto;
    }

    .esseys-home-delivery-banner__item[aria-hidden="true"] {
        display: none;
    }
}

/* The ESSEYS Journal (WordPress Posts page). */
.esseys-blog-archive {
    padding: clamp(42px, 6vw, 82px) 24px clamp(64px, 8vw, 104px);
    background: var(--esseys-ivory, #FAF9F6);
    color: var(--esseys-black, #171717);
}

.esseys-blog-hero,
.esseys-blog-content {
    width: min(100%, 1180px);
    margin-inline: auto;
}

.esseys-blog-hero {
    margin-bottom: clamp(30px, 5vw, 58px);
    text-align: center;
}

.esseys-blog-eyebrow {
    margin: 0 0 10px;
    color: var(--esseys-gold, #B89B68);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.esseys-blog-hero h1 {
    margin: 0;
    color: #581b43;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.1;
}

.esseys-blog-hero > p:last-child {
    margin: 14px 0 0;
    color: #6f665f;
    font-size: 16px;
}

.esseys-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    grid-auto-rows: 1fr;
    align-items: stretch;
}

.esseys-blog-card {
    overflow: hidden;
    height: 100%;
    border: 1px solid #eadfd2;
    border-radius: 14px;
    background: #fffdfa;
    box-shadow: 0 5px 18px rgba(55, 35, 22, .06);
}

.esseys-blog-card__image {
    display: grid;
    aspect-ratio: 1.55 / 1;
    overflow: hidden;
    place-items: center;
    background: #f1ece5;
}

.esseys-blog-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.esseys-blog-card__image:hover img {
    transform: scale(1.035);
}

.esseys-blog-card__image-placeholder {
    color: #581b43;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 30px;
    letter-spacing: .08em;
}

.esseys-blog-card__body {
    padding: 22px 23px 24px;
}

.esseys-blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: #8a7666;
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.esseys-blog-card__meta span {
    color: #a67926;
}

.esseys-blog-card h2 {
    margin: 12px 0 9px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(20px, 2vw, 24px);
    line-height: 1.25;
}

.esseys-blog-card h2 a {
    color: #581b43;
    text-decoration: none;
}

.esseys-blog-card h2 a:hover,
.esseys-blog-card h2 a:focus-visible {
    color: #a67926;
}

.esseys-blog-card__excerpt {
    color: #625b56;
    font-size: 15px;
    line-height: 1.65;
}

.esseys-blog-card__excerpt p {
    margin: 0;
}

.esseys-blog-card__more {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-top: 18px;
    color: #581b43;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
}

.esseys-blog-card__more:hover,
.esseys-blog-card__more:focus-visible {
    color: #a67926;
}

.esseys-blog-pagination {
    margin-top: 42px;
    text-align: center;
}

.esseys-blog-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.esseys-blog-pagination a,
.esseys-blog-pagination .page-numbers {
    padding: 9px 14px;
    border: 1px solid #e4d2b6;
    border-radius: 24px;
    color: #581b43;
    text-decoration: none;
}

.esseys-blog-pagination .current,
.esseys-blog-pagination a:hover {
    border-color: #581b43;
    background: #581b43;
    color: #fff;
}

.esseys-blog-empty {
    padding: 48px 24px;
    border: 1px solid #eadfd2;
    border-radius: 14px;
    background: #fffdfa;
    text-align: center;
}

.esseys-blog-empty h2 {
    color: #581b43;
    font-family: Georgia, 'Times New Roman', serif;
}

@media (max-width: 900px) {
    .esseys-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .esseys-blog-archive {
        padding-inline: 16px;
    }

    .esseys-blog-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .esseys-blog-card__body {
        padding: 18px;
    }
}
