* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, serif;
    background-color: #111111;
    color: #f5e6c8;
    text-align: center;
}

header {
    padding: 25px;
    background-color: #000000;
    border-bottom: 1px solid #c9a44c;
}

header h1 {
    color: #d4af37;
    font-size: 36px;
}

.hero {
    padding: 80px 20px;
}

.hero h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

button {
    background-color: #d4af37;
    color: #111111;
    border: none;
    padding: 14px 25px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #f5e6c8;
}

.ai-box {
    margin: 30px auto;
    padding: 30px;
    max-width: 600px;
    border: 1px solid #d4af37;
    border-radius: 10px;
}

/* ===== ESSENTIA Luxury Design ===== */

body {
    background-color: #faf7f2;
    color: #29231f;
    font-family: Georgia, serif;
}

/* Product collection layout */
#products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 22px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Product cards */
.product-card {
    background: #ffffff;
    border: 1px solid #eee4d8;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(60, 40, 20, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(60, 40, 20, 0.12);
}

/* Smaller perfume images */
.product-card img {
    width: 100%;
    max-width: 130px;
    height: 150px;
    object-fit: contain;
    display: block;
    margin: 0 auto 15px;
}

/* Product names */
.product-card h3 {
    font-size: 17px;
    line-height: 1.4;
    margin: 10px 0;
    color: #29231f;
}

/* Product prices */
.product-card p {
    color: #806443;
    font-size: 15px;
    margin: 8px 0;
}

/* Elegant buttons */
button {
    background-color: #d4af77;
    color: #211a14;
    border: none;
    border-radius: 5px;
    padding: 11px 18px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #c29a5e;
}

/* Mobile-friendly layout */
@media (max-width: 600px) {
    #products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 12px;
    }

    .product-card {
        padding: 12px;
    }

    .product-card img {
        max-width: 100px;
        height: 120px;
    }

    .product-card h3 {
        font-size: 14px;
    }
}

/* ===== ESSENTIA Product Layout Fix ===== */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
}

#products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    margin: 0 auto;
}

.product {
    min-width: 0;
    width: 100%;
    padding: 15px;
    text-align: center;
    background: #fff;
    border: 1px solid #eadfce;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.product img {
    display: block;
    width: 100%;
    max-width: 120px;
    height: 140px;
    object-fit: contain;
    margin: 0 auto 12px;
}

.product h3 {
    font-size: 16px;
    overflow-wrap: anywhere;
}

.product p {
    font-size: 14px;
    overflow-wrap: anywhere;
}

.product button {
    max-width: 100%;
}

@media (max-width: 800px) {
    #products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 12px;
    }

    .product img {
        max-width: 100px;
        height: 115px;
    }
}

@media (max-width: 360px) {
    #products {
        grid-template-columns: 1fr;
    }
}

/* ===== ESSENTIA Luxury Homepage ===== */

/* Brand header */
header {
    background: #211a16;
    color: #f1d5a6;
    text-align: center;
    padding: 30px 15px;
    width: 100%;
}

header h1 {
    font-family: Georgia, serif;
    font-size: clamp(30px, 5vw, 48px);
    letter-spacing: 8px;
    margin: 0 0 10px;
}

header p {
    font-size: 12px;
    letter-spacing: 5px;
    margin: 0;
    color: #ffffff;
}

/* Luxury welcome section */
.hero {
    background-image: url("essentia-banner.PNG");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    width: 100%;
    min-height: 400px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;

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

.hero h2 {
    color: #292019;
    font-family: Georgia, serif;
    font-size: clamp(30px, 5vw, 52px);
    margin: 0 0 20px;
    line-height: 1.2;
}

.hero p {
    max-width: 550px;
    font-size: 17px;
    line-height: 1.8;
    color: #5c4a3b;
    margin: 0 0 28px;
}

/* Explore collection button */
.shop-button {
    display: inline-block;
    background: #292019;
    color: #f8e6c8;
    text-decoration: none;
    padding: 15px 28px;
    border-radius: 4px;
    font-size: 14px;
    letter-spacing: 1px;
    transition: background 0.3s, transform 0.3s;
}

.shop-button:hover {
    background: #806443;
    transform: translateY(-2px);
}

/* Section headings */
#shop > h2,
.ai-box h2 {
    text-align: center;
    font-family: Georgia, serif;
    color: #292019;
}

/* AI assistant box */
.ai-box {
    background: #fffdf9;
    border: 1px solid #e7d5bd;
    border-radius: 10px;
    padding: 30px 20px;
    margin: 35px auto;
    width: calc(100% - 30px);
    max-width: 700px;
    text-align: center;
}

/* Small-screen improvements */
@media (max-width: 600px) {
    header {
        padding: 24px 10px;
    }

    header h1 {
        letter-spacing: 5px;
    }

    header p {
        letter-spacing: 3px;
    }

    .hero {
        padding: 55px 18px;
        min-height: 260px;
    }

    .hero p {
        font-size: 15px;
    }

    .shop-button {
        padding: 13px 20px;
    }
}

/* ESSENTIA homepage logo */
.site-header {
    text-align: center;
    padding: 0;
    background-color: #ffffff;
}

.site-logo {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto;
    mix-blend-mode: normal;
}

/* ===== ESSENTIA RESPONSIVE LUXURY DESIGN ===== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
}

body {
    margin: 0;
    width: 100%;
    overflow-x: hidden;
    background-color: #faf8f4;
    color: #242019;
    font-family: Arial, sans-serif;
}

/* Announcement bar */
body::before {
    content: "ESSENTIA ✦ ORIGINAL FRAGRANCES ✦ ESSENTIA ✦ ORIGINAL FRAGRANCES ✦ ";
    display: block;
    width: 100%;
    background: #123d32;
    color: #fff4dc;
    padding: 12px 0;
    font-size: 10px;
    letter-spacing: 2px;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
    animation: essentiaAnnouncement 12s linear infinite;
}

@keyframes essentiaAnnouncement {
    from {
        text-indent: 100%;
    }
    to {
        text-indent: -100%;
    }
}

/* Logo header */
header {
    background: #171411;
    color: #d9b878;
    text-align: center;
    padding: 0;
    width: 100%;
}

header img {
    display: block;
    width: 90px;
    height: 90px;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto 8px;
}

header h1 {
    margin: 5px 0;
    font-family: Georgia, serif;
    font-size: 30px;
    letter-spacing: 5px;
}

header p {
    margin: 5px 0;
    font-size: 11px;
    letter-spacing: 3px;
}

/* Homepage banner */
body {
    margin: 0;
}
.hero {
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
    display: block;
    background-image: url("essentia-banner.PNG");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: auto;
}

.hero h2 {
    color: #f5dfb0;
    font-family: Georgia, serif;
    font-size: clamp(30px, 5vw, 54px);
    margin: 0 0 18px;
}

.hero p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.7;
    max-width: 600px;
}
.shop-button,
button {
    background: #174b3e;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.shop-button:hover,
button:hover {
    background: #246a55;
}

/* Main sections */
section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px 20px;
}

section h2 {
    text-align: center;
    font-family: Georgia, serif;
    font-size: clamp(24px, 3vw, 34px);
}

/* Product grid */
#products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}

/* Product cards */
.product {
    min-width: 0;
    text-align: center;
    background: white;
    border: 1px solid #eee5d7;
    padding: 12px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.product img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin: 0 auto 12px;
}

.product h3 {
    font-family: Georgia, serif;
    font-size: 16px;
    overflow-wrap: anywhere;
}

.product p {
    font-size: 14px;
    line-height: 1.5;
}

.product button {
    width: 100%;
    max-width: 180px;
}

/* Assistant and cart */
.ai-box,
#cart {
    background: white;
    border: 1px solid #e4d3b5;
    border-radius: 6px;
    padding: 25px;
    margin: 25px auto;
    max-width: 800px;
}

/* Tablet */
@media (max-width: 800px) {
    #products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .product img {
        height: 150px;
    }

    .hero {
        min-height: 300px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    header h1 {
        font-size: 24px;
        letter-spacing: 3px;
    }

    .hero {
        min-height: 260px;
        padding: 40px 15px;
    }

    .hero p {
        font-size: 14px;
    }

    section {
        padding: 25px 12px;
    }

    #products {
        gap: 10px;
    }

    .product {
        padding: 8px;
    }

    .product img {
        height: 120px;
    }

    .product h3 {
        font-size: 14px;
    }

    .product p {
        font-size: 12px;
    }
}
/* ESSENTIA Homepage Banner */
.hero {
    width: 100%;
    margin: 0;
    padding: 0;
    background: none;
    display: block;
    box-sizing: border-box;
}

/* Collection button */
.hero .shop-button {
    background: #b58a4c;
    color: white;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 3px;
    font-size: 15px;
    letter-spacing: 1px;
}

.hero .shop-button:hover {
    background: #8c6634;
}

/* Fit different screen sizes */
@media (max-width: 768px) {
    .hero {
        min-height: 280px;
        padding: 20px 12px;
        background-position: center;
    }

    .hero .shop-button {
        padding: 11px 18px;
        font-size: 13px;
    }
}
/* SHOP NOW ON THE BANNER */
.hero {
    position: relative;
    width: 100vw;
    height: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}

.hero-banner {
    display: block;
    width: 100vw;
    height: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}

.hero .home-shop-button {
    position: absolute;
    top: 78%;
    left: 25%;
    transform: translate(-50%, -50%);
    display: inline-block;
    background: rgba(181, 138, 76, 0.25);
    color: #ffffff;
    padding: 15px 35px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 3px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 12px rgba(229, 194, 123, 0.35);
    border: 2px solid #e5c27b;
    cursor: pointer;
    z-index: 10;
}
.hero .home-shop-button:hover {
    background: #d9b878;
    color: #1a1208;
    box-shadow: 0 0 18px rgba(229, 194, 123, 0.7);
    transition: 0.3s ease;
}

.menu-toggle {
    display: block;
    margin: 15px 20px;
    padding: 10px 18px;
    background: #171411;
    color: #d9b878;
    border: 1px solid #d9b878;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 2px;
}

.main-menu {
    display: none;
    background: #171411;
    padding: 15px;
}

.main-menu a {
    display: block;
    padding: 12px;
    color: #d9b878;
    text-decoration: none;
    border-bottom: 1px solid #403321;
}

.main-menu a:hover {
    background: #30271c;
}

.main-menu.open {
    display: block;
}

/* Fix MENU button position */
.site-header {
    position: relative !important;
}

.site-header .menu-toggle {
    font-size: 24px;
    padding: 8px 12px;
    background: transparent;
    color: #b58a4c;
    border: none;
    position: absolute !important;
    left: 25px !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    z-index: 100 !important;
}

/* Remove extra space above the banner */
.site-header {
    margin: 0 !important;
    padding: 5px !important;
    min-height: 0 !important;
}

.hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.hero-banner {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

.header-cart {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #b58a4c;
    font-size: 24px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 100;
}

.header-cart span {
    font-size: 14px;
    background: #b58a4c;
    color: #171411;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#ai-assistant {
    display: none;
}

/* Back arrow on Shop page */
.back-home {
    position: fixed;
    top: -5px;
    left: 10px;
    width: 42px;
    height: 42px;

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

    background: #d4af37;
    color: #111111;

    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    text-decoration: none;

    border: 1px solid #f5e6c8;
    border-radius: 6px;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    z-index: 9999;

    transition: all 0.3s ease;
}

.back-home:hover {
    background: #f5e6c8;
    color: #111111;
    transform: translateX(-3px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.25);
}

/* Fix AI assistant page layout */
body:has(.ai-page) {
    margin: 0;
    overflow-x: hidden;
}

.ai-page {
    width: 100%;
    box-sizing: border-box;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.ai-page .ai-box {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    box-sizing: border-box;
}

.ai-page .ai-box form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-page .ai-box label {
    display: block;
    margin-top: 10px;
}

.ai-page .ai-box select,
.ai-page .ai-box button {
    width: 100%;
    box-sizing: border-box;
}

.header-actions {
    position: static;
    top: 0;
    right: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    z-index: 1000;
}

.search-toggle {
    display: flex;
    top: 5px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    position: relative;
}

.header-actions .header-cart {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
}

.search-toggle:hover {
    transform: scale(1.1);
}

/* Hide the search bar until the search icon is clicked */
.search-section {
    display: none;
}

.search-section.search-visible {
    display: flex;
}
/* Hide products only on the homepage until a search is made */
body:has(.search-section) #products {
    display: none;
}

body:has(.search-section) #products.search-results-visible {
    display: grid;
}

/* Keep products visible on the shop page */
#shop #products,
#shop .products {
    display: grid;
}

/* =========================
   MOBILE RESPONSIVE DESIGN
   ========================= */

@media screen and (max-width: 600px) {

    /* Header */
    .site-header {
        padding: 12px 10px;
    }

    /* Header buttons */
    .header-actions {
        right: 10px;
        top: 15px;
        gap: 8px;
    }

    .search-toggle {
        font-size: 20px;
        padding: 5px;
    }

    .header-cart {
        font-size: 20px;
    }

    /* Main menu */
    .main-menu {
        width: 100%;
        box-sizing: border-box;
    }

    .main-menu a {
        display: block;
        padding: 12px;
        text-align: center;
    }

    /* Banner */
    .hero-banner {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }

    /* Search section */
    .search-section {
        width: 100%;
        box-sizing: border-box;
        gap: 8px;
        padding: 15px 10px;
    }

    .search-section input {
        flex: 1;
        width: auto;
        min-width: 0;
        padding: 12px;
        font-size: 14px;
    }

    .search-section button {
        padding: 12px;
        font-size: 14px;
        white-space: nowrap;
    }

    /* Perfume cards */
    #products.search-results-visible {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 12px;
        box-sizing: border-box;
    }

    .product-card {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .product-card img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    .product-card h3 {
        font-size: 15px;
        overflow-wrap: anywhere;
    }

    .product-card p {
        font-size: 13px;
    }

    .product-card button {
        max-width: 100%;
        padding: 10px 8px;
        font-size: 12px;
    }
}

/* ESSENTIA luxury search icon */
.search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: transparent;
    border: none;
    color: #d4af62;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.search-toggle svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.search-toggle:hover {
    transform: scale(1.1);
    color: #f0d58a;
}
/* Modern luxury search box */
.search-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: transparent;
}

/* Search input */
.search-section input {
    width: 320px;
    max-width: 65%;
    padding: 15px 20px;
    border: 1px solid #d4af62;
    border-radius: 30px;
    background: #ffffff;
    color: #171717;
    font-size: 15px;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.search-section input:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.search-section input::placeholder {
    color: #888888;
}

/* Luxury search button */
.search-section button {
    padding: 15px 22px;
    border: 1px solid #d4af62;
    border-radius: 30px;
    background: linear-gradient(135deg, #d4af62, #f5e6b8);
    color: #171717;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.search-section button:hover {
    background: #171717;
    color: #d4af62;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

@media (max-width: 600px) {
    .search-section {
        top: 60px;
        right: 10px;
        width: 300px;
        max-width: calc(100vw - 20px);
    }
}
.search-section button {
    background: #171717;
    color: #d4af62;
    border: 1px solid #c5a253;
    border-radius: 5px;
}

.search-section button:hover {
    background: #c5a253;
    color: #171717;
}
.site-header .header-actions {
    position: absolute !important;
    top: 50% !important;
    right: 20px !important;
    transform: translateY(-50%);
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
}

.site-header .header-actions .search-toggle,
.site-header .header-actions .header-cart {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    transform: none !important;
}
/* Modern header search box */
.header-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    padding: 5px;
    border: 1px solid #d4af37;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.header-search-box input {
    width: 180px;
    padding: 10px 14px;
    border: none;
    outline: none;
    background: transparent;
    color: #222;
    font-size: 14px;
}

.header-search-box button {
    padding: 10px 16px;
    border: none;
    border-radius: 25px;
    background: #171717;
    color: #d4af37;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
}

.header-search-box button:hover {
    background: #d4af37;
    color: #171717;
}

/* =========================
   ESSENTIA CHECKOUT PAGE
========================= */

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 6%;
    background: #111;
    border-bottom: 2px solid #d4af37;
}

.checkout-header img {
    width: 100px;
    height: auto;
}

.checkout-header h1 {
    color: #d4af37;
    font-size: 28px;
}

.checkout-header a {
    color: #d4af37;
    text-decoration: none;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

.checkout-form,
.checkout-summary {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.checkout-form h2,
.checkout-summary h2 {
    color: #171717;
    margin-bottom: 25px;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 12px;
}

.checkout-form label {
    display: block;
    margin: 16px 0 8px;
    color: #333;
    font-weight: 600;
}

.checkout-form input:not([type="radio"]),
.checkout-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.checkout-form .payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.place-order-btn {
    width: 100%;
    margin-top: 25px;
    padding: 15px;
    border: none;
    border-radius: 6px;
    background: #171717;
    color: #d4af37;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.place-order-btn:hover {
    background: #d4af37;
    color: #171717;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.checkout-summary h3 {
    margin-top: 25px;
    color: #171717;
}

@media (max-width: 700px) {
    .checkout-header {
        flex-wrap: wrap;
        gap: 12px;
    }

    .checkout-header h1 {
        font-size: 22px;
    }

    .checkout-container {
        grid-template-columns: 1fr;
        margin: 15px auto;
        padding: 12px;
    }

    .checkout-form,
    .checkout-summary {
        padding: 20px;
    }
}
/* =================================
   ESSENTIA — LUXURY CART DESIGN
================================= */

body:has(#cartItems) {
    background: #f8f7f4;
    color: #171717;
}

/* Main cart container */
body:has(#cartItems) .cart-container {
    max-width: 1100px;
    margin: 55px auto;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e8e2d4;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}

/* Cart heading */
body:has(#cartItems) h1 {
    text-align: center;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 35px;
    color: #171717;
}

/* Individual cart items */
body:has(#cartItems) #cartItems > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 10px;
    border-bottom: 1px solid #eee9df;
}

/* Product text */
body:has(#cartItems) #cartItems p {
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
}

/* Remove button */
body:has(#cartItems) #cartItems button {
    background: transparent;
    color: #8a6d23;
    border: 1px solid #d4af37;
    border-radius: 5px;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.25s ease;
}

body:has(#cartItems) #cartItems button:hover {
    background: #171717;
    color: #d4af37;
    border-color: #171717;
}

/* Cart total */
body:has(#cartItems) #cartTotal {
    text-align: right;
    font-size: 25px;
    font-weight: 600;
    margin: 30px 0;
    color: #171717;
}

/* Checkout button */
body:has(#cartItems) .checkout-btn,
body:has(#cartItems) button[onclick*="checkout.html"] {
    display: block;
    margin: 25px auto 0;
    padding: 16px 35px;
    background: #171717;
    color: #d4af37;
    border: 1px solid #d4af37;
    border-radius: 5px;
    font-size: 15px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

body:has(#cartItems) .checkout-btn:hover,
body:has(#cartItems) button[onclick*="checkout.html"]:hover {
    background: #d4af37;
    color: #171717;
}

/* Mobile layout */
@media (max-width: 700px) {
    body:has(#cartItems) .cart-container {
        margin: 20px 12px;
        padding: 20px 15px;
    }

    body:has(#cartItems) h1 {
        font-size: 27px;
    }

    body:has(#cartItems) #cartItems > div {
        flex-wrap: wrap;
        gap: 10px;
    }

    body:has(#cartItems) #cartTotal {
        font-size: 22px;
    }
}
/* =================================
   ESSENTIA LUXURY SHOPPING CART
================================= */

#cart {
    max-width: 1000px;
    margin: 55px auto;
    padding: 45px;
    background: #ffffff;
    border: 1px solid #e3d5ad;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
    box-sizing: border-box;
}

/* Cart heading */
#cart h2 {
    text-align: center;
    font-family: Georgia, serif;
    font-size: 36px;
    font-weight: normal;
    letter-spacing: 1px;
    color: #171717;
    margin-bottom: 35px;
}

/* Cart products */
#cart-items > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee8dc;
    transition: background 0.3s ease;
}

#cart-items > div:hover {
    background: #ffffff;
}

#cart-items p {
    color: #333333;
    font-size: 16px;
    line-height: 1.6;
}

/* Remove buttons */
#cart-items button {
    background: transparent;
    color: #8b702e;
    border: 1px solid #c5a34b;
    border-radius: 5px;
    padding: 10px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#cart-items button:hover {
    background: #171717;
    color: #e1c16e;
}

/* Total */
#cart h3 {
    text-align: right;
    font-size: 24px;
    color: #171717;
    margin-top: 30px;
}

/* Continue to Checkout */
#cart > button {
    display: block;
    margin: 25px auto 0;
    padding: 16px 32px;
    background: #171717;
    color: #e1c16e;
    border: 1px solid #c5a34b;
    border-radius: 5px;
    font-size: 15px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#cart > button:hover {
    background: #c5a34b;
    color: #171717;
}

/* Mobile layout */
@media (max-width: 700px) {
    #cart {
        margin: 20px 12px;
        padding: 22px 15px;
    }

    #cart h2 {
        font-size: 28px;
    }

    #cart-items > div {
        flex-wrap: wrap;
        gap: 10px;
    }

    #cart h3 {
        font-size: 21px;
    }
}
/* ESSENTIA — CART DESIGN REFINEMENTS */

#cart {
    max-width: 900px;
    margin: 45px auto;
    padding: 40px 50px;
    background: #ffffff;
    border: 1px solid #e5d7b2;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}

#cart-items > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee9df;
}

#cart-items button {
    background: #ffffff;
    color: #8b702e;
    border: 1px solid #c5a34b;
    border-radius: 4px;
    padding: 10px 18px;
    font-size: 13px;
    letter-spacing: 0.5px;
    cursor: pointer;
}

#cart-items button:hover {
    background: #171717;
    color: #e1c16e;
}

#cart > button {
    min-width: 230px;
    padding: 16px 25px;
    letter-spacing: 0.7px;
}

@media (max-width: 700px) {
    #cart {
        margin: 20px 12px;
        padding: 25px 15px;
    }

    #cart-items > div {
        gap: 12px;
        flex-wrap: wrap;
    }
}
/* ESSENTIA — FINAL CART POLISH */

#cart {
    max-width: 850px;
    margin: 50px auto;
    padding: 45px;
    background: #fff;
    border: 1px solid #d4af37;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

#cart h2 {
    margin-bottom: 40px;
    font-family: Georgia, serif;
    font-size: 34px;
    letter-spacing: 1px;
}

#cart-items {
    width: 100%;
}

#cart-items > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 15px;
    margin-bottom: 0;
    border-bottom: 1px solid #eee7d8;
}

#cart-items p {
    margin: 0;
    font-size: 16px;
}

#cart-items button {
    min-width: 95px;
    padding: 10px 14px;
    background: #fff;
    color: #8a702c;
    border: 1px solid #c5a34b;
    border-radius: 4px;
}

#cart-items button:hover {
    background: #171717;
    color: #d4af37;
}

#cart > h3 {
    padding-top: 20px;
    border-top: 1px solid #e8dfc9;
}

#cart > button {
    min-width: 250px;
    margin-top: 25px;
    padding: 16px 25px;
    background: #171717;
    color: #d4af37;
    border: 1px solid #c5a34b;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

#cart > button:hover {
    background: #d4af37;
    color: #171717;
}

@media (max-width: 700px) {
    #cart {
        margin: 20px 12px;
        padding: 25px 15px;
    }

    #cart h2 {
        font-size: 27px;
    }

    #cart-items > div {
        gap: 12px;
        flex-wrap: wrap;
    }
}
/* ESSENTIA — MODERN LUXURY CART */

#cart {
    background: #ffffff !important;
    max-width: 900px;
    width: calc(100% - 40px);
    margin: 50px auto;
    padding: 45px;
    box-sizing: border-box;
    border: 1px solid #d4af37;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

#cart h2 {
    text-align: center;
    font-family: Georgia, serif;
    font-size: 36px;
    font-weight: 400;
    color: #171717;
    margin: 0 0 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee5d0;
}

#cart-items {
    width: 100%;
}

#cart-items > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 10px;
    border-bottom: 1px solid #eee9df;
}

#cart-items p {
    margin: 0;
    color: #333333;
    font-size: 16px;
}

#cart-items button {
    background: #ffffff;
    color: #8a702c;
    border: 1px solid #c5a34b;
    border-radius: 4px;
    padding: 10px 16px;
    cursor: pointer;
    transition: 0.25s;
}

#cart-items button:hover {
    background: #171717;
    color: #d4af37;
}

#cart > h3 {
    text-align: right;
    color: #171717;
    font-size: 24px;
    margin: 30px 0;
}

#cart > button {
    display: block;
    margin: 25px auto 0;
    padding: 16px 30px;
    background: #171717;
    color: #d4af37;
    border: 1px solid #c5a34b;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.25s;
}

#cart > button:hover {
    background: #d4af37;
    color: #171717;
}

@media (max-width: 600px) {
    #cart {
        padding: 25px 15px;
        margin: 25px auto;
    }

    #cart h2 {
        font-size: 28px;
    }

    #cart-items > div {
        flex-wrap: wrap;
        gap: 12px;
    }
}
/* ESSENTIA — LUXURY MINIMALIST CART */

#cart {
    width: 90% !important;
    max-width: 1100px !important;
    margin: 65px auto !important;
    padding: 20px 30px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box;
}

/* Elegant heading */
#cart h2 {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 38px !important;
    font-weight: 400 !important;
    letter-spacing: 1.5px;
    text-align: center;
    color: #171717;
    margin-bottom: 45px !important;
    padding-bottom: 25px;
    border-bottom: 1px solid #d4af37;
}

/* Product list */
#cart-items {
    width: 100%;
}

#cart-items > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 25px 10px !important;
    margin: 0 !important;
    border-bottom: 1px solid #e9e3d5 !important;
    background: transparent !important;
}

/* Product names and prices */
#cart-items p {
    font-family: Arial, sans-serif;
    font-size: 16px !important;
    letter-spacing: 0.3px;
    color: #292929 !important;
    margin: 0;
}

/* Subtle remove button */
#cart-items button {
    background: transparent !important;
    border: none !important;
    color: #777 !important;
    padding: 8px 0 !important;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

#cart-items button:hover {
    color: #a18130 !important;
    text-decoration: underline;
}

/* Total price */
#cart > h3 {
    text-align: right;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px !important;
    font-weight: 400;
    color: #171717;
    margin: 35px 0 !important;
    padding-top: 20px;
    border-top: 1px solid #d4af37;
}

/* Luxury checkout button */
#cart > button {
    display: block;
    margin: 30px auto !important;
    min-width: 280px;
    padding: 18px 30px !important;
    background: #171717 !important;
    color: #d4af37 !important;
    border: 1px solid #171717 !important;
    border-radius: 0 !important;
    font-size: 12px !important;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

#cart > button:hover {
    background: #d4af37 !important;
    color: #171717 !important;
    border-color: #d4af37 !important;
}

/* Mobile layout */
@media (max-width: 600px) {
    #cart {
        width: 100% !important;
        margin: 35px auto !important;
        padding: 15px !important;
    }

    #cart h2 {
        font-size: 29px !important;
    }

    #cart-items > div {
        flex-wrap: wrap;
        gap: 12px;
    }

    #cart > button {
        min-width: 0;
        width: 100%;
    }
}
/* ESSENTIA — CART SPACING FIX */

#cart {
    width: 100% !important;
    max-width: 1050px !important;
    margin: 45px auto !important;
    padding: 20px 35px !important;
    box-sizing: border-box !important;
}

#cart-items {
    width: 100% !important;
}

#cart-items > div {
    width: 100% !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 24px 10px !important;
}

#cart-items p {
    text-align: left !important;
    overflow-wrap: anywhere;
}

#cart > h3 {
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: right !important;
    padding-right: 10px;
    margin: 30px 0 !important;
}

#cart > button {
    margin: 30px auto !important;
}

@media (max-width: 600px) {
    #cart {
        padding: 15px !important;
    }

    #cart-items > div {
        gap: 10px !important;
        padding: 18px 0 !important;
    }

    #cart-items p {
        font-size: 14px !important;
    }
}

/* ESSENTIA — Luxury Shopping Cart */

body:has(#cart) {
    background: #ffffff !important;
    color: #222222;
}

#cart {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 55px auto !important;
    padding: 35px 55px !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#cart h2 {
    font-family: Georgia, serif !important;
    font-size: 42px !important;
    font-weight: 400 !important;
    text-align: left !important;
    letter-spacing: -1px;
    color: #171717 !important;
    padding-bottom: 25px;
    border-bottom: 1px solid #dedbd4;
    margin-bottom: 25px !important;
}

#cart-items {
    width: 100% !important;
}

#cart-items > div {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    padding: 25px 0 !important;
    border-bottom: 1px solid #e7e4de !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#cart-items p {
    margin: 0 !important;
    color: #333333 !important;
    font-size: 16px !important;
    line-height: 1.7;
}

#cart-items button {
    background: transparent !important;
    color: #777064 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 8px 0 !important;
    font-size: 11px !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
}

#cart-items button:hover {
    color: #a88746 !important;
}

#cart > h3 {
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: right !important;
    font-family: Georgia, serif !important;
    font-size: 25px !important;
    font-weight: 400 !important;
    color: #222222 !important;
    margin: 30px 0 !important;
    padding: 0 !important;
}

#cart > button {
    display: block !important;
    margin: 25px 0 0 auto !important;
    padding: 18px 35px !important;
    background: #202020 !important;
    color: #ffffff !important;
    border: 1px solid #202020 !important;
    border-radius: 0 !important;
    font-size: 11px !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

#cart > button:hover {
    background: #a88746 !important;
    border-color: #a88746 !important;
    color: #ffffff !important;
}

@media (max-width: 600px) {
    #cart {
        padding: 25px 18px !important;
        margin: 25px auto !important;
    }

    #cart h2 {
        font-size: 30px !important;
    }

    #cart-items > div {
        gap: 10px !important;
        flex-wrap: wrap;
    }

    #cart-items p {
        font-size: 14px !important;
    }
}
/* ESSENTIA — Refined Cart Layout */

#cart-items > div {
    display: grid !important;
    grid-template-columns: 1fr auto auto !important;
    align-items: center !important;
    gap: 35px !important;
    padding: 28px 0 !important;
    border-bottom: 1px solid #e8e5df !important;
}

#cart-items p {
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    color: #242424 !important;
    text-align: left !important;
}

#cart-items button {
    font-size: 11px !important;
    letter-spacing: 1.5px !important;
    color: #777064 !important;
    padding: 10px !important;
}

#cart > h3 {
    font-family: Georgia, serif !important;
    font-size: 26px !important;
    margin-top: 35px !important;
    margin-bottom: 35px !important;
}

#cart > button {
    min-width: 260px !important;
    padding: 20px 30px !important;
    font-size: 12px !important;
    letter-spacing: 2px !important;
}

@media (max-width: 600px) {
    #cart-items > div {
        grid-template-columns: 1fr auto !important;
        gap: 12px !important;
    }

    #cart-items p {
        font-size: 14px !important;
    }

    #cart > button {
        min-width: 0 !important;
        width: 100% !important;
    }
}
/* ESSENTIA — Luxury Shopping Cart */

body:has(#cart) {
    background-color: #f8f6f1;
    color: #22201d;
}

#cart {
    width: 90%;
    max-width: 1250px;
    margin: 70px auto;
    padding: 20px 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

#cart h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 1px;
    text-align: left;
    margin-bottom: 45px;
    color: #171614;
    border-bottom: 1px solid #d4af37;
    padding-bottom: 25px;
}

#cart-items {
    width: 100%;
}

#cart-items > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 10px;
    border-bottom: 1px solid #ded9ce;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

#cart-items p {
    color: #393630;
    font-size: 16px;
    letter-spacing: 0.3px;
}

#cart-items button {
    background: transparent;
    color: #78642c;
    border: none;
    padding: 8px;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
}

#cart-items button:hover {
    color: #171614;
}

#cart > h3 {
    text-align: right;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
    margin: 35px 0;
    color: #171614;
}

#cart > button {
    display: block;
    margin-left: auto;
    padding: 17px 35px;
    background: #171614;
    color: #d4af37;
    border: 1px solid #171614;
    border-radius: 0;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

#cart > button:hover {
    background: #d4af37;
    color: #171614;
}

@media (max-width: 600px) {
    #cart {
        width: 94%;
        margin: 35px auto;
    }

    #cart h2 {
        font-size: 30px;
    }

    #cart-items > div {
        gap: 10px;
        flex-wrap: wrap;
    }

    #cart > h3 {
        font-size: 22px;
    }
}
/* ESSENTIA Luxury Cart - Product Images */

.cart-product {
    display: grid !important;
    grid-template-columns: 120px minmax(0, 1fr) auto !important;
    align-items: center !important;
    justify-content: start !important;
    gap: 24px !important;
    padding: 25px 0 !important;
    max-width: 100% !important;
}

.cart-product-image {
    width: 120px;
    height: 140px;
    overflow: hidden;
    background: #f7f5f1;
}

.cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.cart-product-details h3 {
    margin: 8px 0;
    font-size: 19px;
    font-weight: 400;
}

.cart-brand {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8a7654;
}

.cart-size {
    color: #777;
    font-size: 13px;
}

.cart-product-price {
    font-size: 16px;
    white-space: nowrap;
}

.remove-item {
    background: none;
    border: none;
    border-bottom: 1px solid #999;
    padding: 3px 0;
    color: #555;
    font-size: 11px;
    text-transform: uppercase;
    cursor: pointer;
}

@media (max-width: 600px) {
    .cart-product {
        grid-template-columns: 85px 1fr auto;
        gap: 12px;
    }

    .cart-product-image {
        width: 85px;
        height: 105px;
    }

    .cart-product-details h3 {
        font-size: 15px;
    }
}
.quantity-control {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    width: 120px;
    height: 36px;
    box-sizing: border-box;
    margin-top: 12px;
    padding: 0 8px;
    border: 1px solid #ded8cd;
}
.quantity-control button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 30px;
    flex: 0 0 24px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    color: #25221f;
    font-size: 17px;
    cursor: pointer;
}

.quantity-control span {
    min-width: 15px;
    text-align: center;
    font-size: 14px;
}

.quantity-control button:hover {
    color: #a58a5c;
}
/* Refined ESSENTIA quantity selector */

.quantity-control {
    display: inline-flex !important;
    align-items: center;
    justify-content: space-between !important;
    width: 130px !important;
    height: 34px;
    gap: 0;
    margin-top: 14px;
    padding: 0 8px;
    border: 1px solid #d8d0c3;
    background: #fff;
    box-sizing: border-box;
}

.quantity-control button {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 30px;
    flex: 0 0 24px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    color: #25221f;
    font-size: 17px;
    cursor: pointer;
}


.quantity-control span {
    font-size: 13px;
    color: #29251f;
}

.quantity-control button:hover {
    color: #a58a5c;
}
/* ESSENTIA — Luxury Shopping Cart */
body:has(#cart) {
    background: #faf9f6 !important;
    color: #24221f;
}

#cart {
    width: 92% !important;
    max-width: 1400px !important;
    margin: 65px auto !important;
    padding: 20px 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#cart h2 {
    font-family: Georgia, serif !important;
    font-size: 38px !important;
    font-weight: 400 !important;
    text-align: left !important;
    margin-bottom: 45px !important;
    padding-bottom: 22px !important;
    border-bottom: 1px solid #d9d3c8 !important;
}

#cart-items {
    width: 100% !important;
}

.cart-product {
    display: grid !important;
    grid-template-columns: 150px minmax(200px, 1fr) 130px !important;
    align-items: center !important;
    gap: 30px !important;
    padding: 28px 0 !important;
    border-bottom: 1px solid #e4dfd7 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.cart-product-image {
    width: 150px !important;
    height: 170px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f1eee8 !important;
    overflow: hidden !important;
}

.cart-product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.cart-product-details {
    min-width: 0 !important;
}

.cart-brand {
    font-size: 12px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    margin-bottom: 12px !important;
}

.cart-product-details h3 {
    font-family: Georgia, serif !important;
    font-size: 23px !important;
    font-weight: 400 !important;
    margin: 0 0 10px !important;
}

.cart-size {
    font-size: 14px !important;
    color: #77716a !important;
}

.cart-product-price {
    text-align: right !important;
    font-size: 17px !important;
    white-space: nowrap !important;
}

.quantity-control {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 125px !important;
    height: 38px !important;
    margin-top: 18px !important;
    padding: 0 10px !important;
    border: 1px solid #d9d3c8 !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.quantity-control button {
    width: 25px !important;
    height: 30px !important;
    font-size: 17px !important;
    color: #24221f !important;
}

#cart > h3 {
    text-align: right !important;
    font-family: Georgia, serif !important;
    font-size: 25px !important;
    font-weight: 400 !important;
    margin: 35px 0 25px !important;
}

#cart > button {
    display: block !important;
    margin-left: auto !important;
    padding: 18px 35px !important;
    background: #24221f !important;
    color: #fff !important;
    border: 1px solid #24221f !important;
    border-radius: 0 !important;
    font-size: 12px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
}

#cart > button:hover {
    background: #a58a5c !important;
    border-color: #a58a5c !important;
}

@media (max-width: 700px) {
    #cart {
        width: 94% !important;
        margin: 35px auto !important;
    }

    #cart h2 {
        font-size: 30px !important;
    }

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

    .cart-product-image {
        width: 95px !important;
        height: 120px !important;
    }

    .cart-product-details h3 {
        font-size: 18px !important;
    }

    .cart-product-price {
        grid-column: 2 !important;
        text-align: left !important;
    }
}


/* Align perfume information and price */
#cart-items .cart-product {
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) 220px !important;
    align-items: center !important;
    column-gap: 20px !important;
}

#cart-items .cart-product-details {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin-left: 0 !important;
    text-align: left !important;
}

#cart-items .cart-product-price {
    grid-column: 3 !important;
    grid-row: 1 !important;
    text-align: right !important;
}

#cart-items .quantity-control {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: start !important;
}
/* Align perfume image and details on the left */
#cart-items .cart-product {
    display: grid !important;
    grid-template-columns: 120px minmax(200px, 1fr) 140px 100px !important;
    align-items: center !important;
    gap: 20px !important;
}

#cart-items .cart-product-details {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    text-align: left !important;
}

#cart-items .quantity-control {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
}

#cart-items .cart-product-price {
    grid-column: 4 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    text-align: right !important;
}
/* Refine perfume cart spacing */
#cart-items .cart-product {
    grid-template-columns: 120px minmax(200px, 1fr) 120px 90px !important;
    gap: 16px !important;
}

#cart-items .cart-product-details {
    padding-left: 25px !important;
}

#cart-items .quantity-control {
    width: 100px !important;
    justify-self: end !important;
}

#cart-items .cart-product-price {
    font-size: 16px !important;
}
/* Elegant quantity controls in the shopping cart */
.quantity-control {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 115px !important;
    height: 38px !important;
    border: 1px solid #d8d0c4 !important;
    background: #ffffff !important;
    padding: 0 !important;
    gap: 0 !important;
    box-sizing: border-box !important;
}

.quantity-control button {
    width: 34px !important;
    height: 36px !important;
    border: none !important;
    background: transparent !important;
    color: #29251f !important;
    font-size: 18px !important;
    cursor: pointer !important;
    padding: 0 !important;
}

.quantity-control button:hover {
    background: #f3efe8 !important;
}

.quantity-control span {
    min-width: 25px !important;
    text-align: center !important;
    font-size: 14px !important;
    color: #29251f !important;
}
/* Fix shopping cart quantity layout */
.cart-product-actions .quantity-control {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 120px !important;
    height: 38px !important;
    border: 1px solid #d8d0c4 !important;
    box-sizing: border-box !important;
}

.cart-product-actions .quantity-control button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    width: 38px !important;
    height: 36px !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.cart-product-actions .quantity-control span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 0 !important;
    min-width: 0 !important;
    height: 36px !important;
    margin: 0 !important;
}
/* ESSENTIA — Minimalist quantity controller */
.quantity-control {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    width: fit-content !important;
    height: auto !important;
    margin: 15px auto !important;
    border: none !important;
    background: transparent !important;
}

.quantity-control button {
    flex: none !important;
    width: 24px !important;
    height: 30px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    color: #29251f !important;
    font-size: 20px !important;
    font-weight: 300 !important;
    cursor: pointer;
    transition: color 0.2s ease;
}

.quantity-control button:hover {
    color: #a88955 !important;
}

.quantity-control span {
    flex: none !important;
    min-width: 15px !important;
    text-align: center !important;
    color: #29251f !important;
    font-size: 15px !important;
}
/* Final ESSENTIA quantity control fix */
#cart .quantity-control {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    width: auto !important;
    height: auto !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

#cart .quantity-control button {
    display: inline-flex !important;
    flex: 0 0 24px !important;
    width: 24px !important;
    min-width: 24px !important;
    height: 30px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    font-size: 18px !important;
}

#cart .quantity-control span {
    display: inline-block !important;
    flex: 0 0 16px !important;
    width: 16px !important;
    min-width: 16px !important;
    text-align: center !important;
}
/* ESSENTIA - Bold cart product details */
#cart .cart-product-details h3 {
    font-weight: 700 !important;
}

#cart .cart-product-details .cart-size {
    font-weight: 600 !important;
}

#cart .cart-product-price {
    font-weight: 700 !important;
    font-size: 18px !important;
}
/* ESSENTIA - Bold modern cart total */
#cart > h3 {
    font-family: Calibri, Helvetica, sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    color: #22201d !important;
}
/* ESSENTIA - Beige & Gold Luxury Product Cards */

.product {
    background: #fbf8f2 !important;
    border: 1px solid #e5d6bd !important;
    border-radius: 8px !important;
    padding: 22px 18px !important;
    text-align: center !important;
    box-shadow: 0 4px 14px rgba(92, 69, 38, 0.07) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.product:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(92, 69, 38, 0.13) !important;
}

.product img {
    width: 100% !important;
    height: 220px !important;
    object-fit: contain !important;
    margin-bottom: 18px !important;
}

.product h3 {
    color: #30271f !important;
    font-family: Georgia, serif !important;
    font-size: 19px !important;
    font-weight: 600 !important;
    margin: 10px 0 !important;
}

.product p {
    color: #776653 !important;
    margin: 7px 0 !important;
}

.product select {
    background: #fffdf9 !important;
    border: 1px solid #c7a66b !important;
    border-radius: 4px !important;
    padding: 9px 10px !important;
    color: #30271f !important;
    font-size: 13px !important;
    max-width: 100% !important;
    cursor: pointer !important;
}

.product .add-to-cart {
    background: #30271f !important;
    color: #ffffff !important;
    border: 1px solid #30271f !important;
    border-radius: 4px !important;
    padding: 12px 18px !important;
    width: 100% !important;
    margin-top: 15px !important;
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
}

.product .add-to-cart:hover {
    background: #a7864e !important;
    border-color: #a7864e !important;
}

.product label {
    color: #776653 !important;
    font-size: 13px !important;
}

/* ESSENTIA - Premium Perfume Size Cards */

.size-label {
    display: block;
    margin: 18px 0 10px;
    color: #776653;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
}

.size-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0;
}

.size-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    padding: 12px 4px;
    background: #fffdf9;
    border: 1px solid #dfcfb3;
    border-radius: 5px;
    color: #30271f;
    cursor: pointer;
    transition: all 0.2s ease;
}

.size-option span {
    font-size: 12px;
}

.size-option strong {
    font-size: 13px;
    color: #a7864e;
}

.size-option:hover {
    border-color: #a7864e;
}

.size-option.selected {
    background: #30271f;
    border-color: #a7864e;
    color: #ffffff;
}

.size-option.selected strong {
    color: #e4c58f;
}

/* ==================================
   ESSENTIA AI PERFUME ASSISTANT
   Luxury Design
================================== */

.ai-page {
    min-height: 100vh;
    padding: 50px 20px;
    background: linear-gradient(135deg, #f8f3ed, #eee3d6, #fdfaf6);
    font-family: "Georgia", serif;
    color: #30251f;
}

.ai-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 45px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #dfc6a5;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(63, 42, 25, 0.12);
    text-align: center;
}

.ai-box h1 {
    color: #80552f;
    font-size: 34px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.ai-box > p {
    color: #76675b;
    font-size: 16px;
    line-height: 1.7;
}

#perfumeQuiz {
    max-width: 600px;
    margin: 35px auto;
    text-align: left;
}

#perfumeQuiz label {
    display: block;
    margin: 22px 0 9px;
    color: #493629;
    font-weight: bold;
    font-size: 15px;
}

#perfumeQuiz select {
    width: 100%;
    padding: 14px;
    border: 1px solid #d8c4ad;
    border-radius: 10px;
    background: #fffdf9;
    color: #392c22;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#perfumeQuiz select:focus {
    border-color: #a87948;
    box-shadow: 0 0 0 3px rgba(168, 121, 72, 0.13);
}

#perfumeQuiz button,
.recommendation-card button {
    width: 100%;
    padding: 15px;
    margin-top: 25px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #80552f, #b38a5b);
    color: white;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

#perfumeQuiz button:hover,
.recommendation-card button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(63, 42, 25, 0.2);
}

#recommendation {
    margin-top: 40px;
    scroll-margin-top: 25px;
}

#recommendation h2 {
    color: #80552f;
    margin-bottom: 25px;
}

.recommendation-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    margin: 25px 0;
    text-align: center;
}

.recommendation-card {
    padding: 22px;
    background: #fffdf9;
    border: 1px solid #eadac7;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(63, 42, 25, 0.07);
    transition: transform 0.25s, box-shadow 0.25s;
    overflow-wrap: anywhere;
}

.recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(63, 42, 25, 0.13);
}

.recommendation-card img {
    height: 190px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 15px;
}

.recommendation-card h3 {
    color: #493629;
    font-size: 17px;
    line-height: 1.5;
}

.recommendation-card p {
    color: #76675b;
    font-size: 14px;
    line-height: 1.5;
}

.recommendation-card p:last-of-type {
    color: #80552f;
    font-weight: bold;
    font-size: 18px;
}

#recommendation a {
    display: inline-block;
    margin: 15px 0;
    color: #80552f;
    font-weight: bold;
    text-decoration: none;
}

#recommendation a:hover {
    text-decoration: underline;
}

.back-home {
    color: #80552f;
    font-size: 24px;
    text-decoration: none;
}

@media (max-width: 600px) {
    .ai-page {
        padding: 25px 12px;
    }

    .ai-box {
        padding: 25px 18px;
    }

    .ai-box h1 {
        font-size: 27px;
    }

    .recommendation-list {
        grid-template-columns: 1fr;
    }
}
/* ======================================
   ESSENTIA — MODERN LUXURY AI ASSISTANT
====================================== */

.ai-page {
    min-height: 100vh;
    padding: 65px 24px;
    background: #f7f6f2;
    color: #191919;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* Main container */

.ai-box {
    max-width: 1000px;
    margin: 0 auto;
    padding: 55px 65px;
    background: #ffffff;
    border: 1px solid #e9e5dc;
    border-radius: 4px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.04);
    text-align: center;
}

/* Heading */

.ai-box h1 {
    margin: 0 0 18px;
    color: #191919;
    font-family: Georgia, serif;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 400;
    letter-spacing: -1px;
}

.ai-box h1::after {
    content: "";
    display: block;
    width: 45px;
    height: 2px;
    margin: 22px auto;
    background: #b69a64;
}

.ai-box > p {
    color: #77736b;
    font-size: 15px;
    line-height: 1.9;
}

/* Questionnaire */

#perfumeQuiz {
    max-width: 580px;
    margin: 40px auto 0;
    text-align: left;
}

#perfumeQuiz label {
    display: block;
    margin: 26px 0 10px;
    color: #292929;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

#perfumeQuiz select {
    width: 100%;
    min-height: 50px;
    padding: 14px 16px;
    border: 1px solid #dedbd3;
    border-radius: 3px;
    background: #fff;
    color: #333;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.25s, box-shadow 0.25s;
}

#perfumeQuiz select:focus {
    border-color: #b69a64;
    outline: none;
    box-shadow: 0 0 0 3px rgba(182, 154, 100, 0.12);
}

/* Main button */

#perfumeQuiz button {
    width: 100%;
    min-height: 54px;
    margin-top: 32px;
    padding: 16px 20px;
    border: 1px solid #191919;
    border-radius: 3px;
    background: #191919;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
}

#perfumeQuiz button:hover {
    background: #b69a64;
    border-color: #b69a64;
    color: #fff;
}

/* Recommendations */

#recommendation {
    margin-top: 55px;
    scroll-margin-top: 25px;
}

#recommendation h2 {
    margin-bottom: 14px;
    color: #191919;
    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: 400;
}

#recommendation > p {
    color: #77736b;
    line-height: 1.8;
}

/* Responsive product grid */

.recommendation-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 22px;
    margin-top: 30px;
    text-align: left;
}

/* Product cards */

.recommendation-card {
    padding: 20px;
    border: 1px solid #eeeae2;
    border-radius: 3px;
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow-wrap: anywhere;
}

.recommendation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

.recommendation-card img {
    display: block;
    width: 100%;
    height: 230px;
    margin: 0 auto 22px;
    object-fit: contain;
    background: #faf9f6;
}

.recommendation-card h3 {
    margin: 0 0 15px;
    color: #202020;
    font-family: Georgia, serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
}

.recommendation-card p {
    margin: 8px 0;
    color: #77736b;
    font-size: 13px;
    line-height: 1.6;
}

.recommendation-card p:last-of-type {
    margin-top: 16px;
    color: #927747;
    font-size: 20px;
    font-weight: 600;
}

/* Add to Cart */

.recommendation-card button {
    width: 100%;
    margin-top: 18px;
    padding: 13px 10px;
    border: 1px solid #191919;
    border-radius: 3px;
    background: #fff;
    color: #191919;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
}

.recommendation-card button:hover {
    background: #191919;
    color: #fff;
}

/* Explore link */

#recommendation a {
    display: inline-block;
    margin: 25px 0 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #b69a64;
    color: #292929;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

#recommendation a:hover {
    color: #927747;
}

/* Back to home */

.site-header {
    margin-bottom: 20px;
}

.back-home {
    color: #292929;
    font-size: 22px;
    text-decoration: none;
}

/* Mobile layout */

@media (max-width: 650px) {
    .ai-page {
        padding: 25px 12px;
    }

    .ai-box {
        padding: 35px 20px;
    }

    .ai-box h1 {
        font-size: 32px;
    }

    .recommendation-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .recommendation-card {
        padding: 12px;
    }

    .recommendation-card img {
        height: 155px;
    }

    .recommendation-card h3 {
        font-size: 15px;
    }
}

@media (max-width: 380px) {
    .recommendation-list {
        grid-template-columns: 1fr;
    }
}
/* =====================================
   ESSENTIA — BLACK & GOLD LUXURY THEME
===================================== */

.ai-page {
    background: #0b0b0b;
    color: #f5f1e8;
}

/* Main container */
.ai-box {
    background: #141414;
    border: 1px solid #353027;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

/* Main heading */
.ai-box h1 {
    color: #d4b779;
    letter-spacing: 1px;
}

.ai-box h1::after {
    background: linear-gradient(
        to right,
        transparent,
        #d4b779,
        transparent
    );
    width: 80px;
    height: 1px;
}

.ai-box > p {
    color: #b5afa3;
}

/* Form labels */
#perfumeQuiz label {
    color: #e0d4b8;
}

/* Dropdowns */
#perfumeQuiz select {
    background: #1d1d1d;
    color: #f5f1e8;
    border: 1px solid #494033;
}

#perfumeQuiz select:focus {
    border-color: #d4b779;
    box-shadow: 0 0 0 3px rgba(212, 183, 121, 0.12);
}

/* Main button */
#perfumeQuiz button {
    background: linear-gradient(135deg, #b08d48, #e0c98d);
    border: 1px solid #d4b779;
    color: #111;
}

#perfumeQuiz button:hover {
    background: #f0dfae;
    border-color: #f0dfae;
    color: #111;
}

/* Recommendation heading */
#recommendation h2 {
    color: #d4b779;
}

#recommendation > p {
    color: #b5afa3;
}

/* Product grid */
.recommendation-list {
    gap: 22px;
}

/* Product cards */
.recommendation-card {
    background: #191919;
    border: 1px solid #393329;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.recommendation-card:hover {
    border-color: #a88b52;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.recommendation-card img {
    background: #22201b;
}

.recommendation-card h3 {
    color: #f5f1e8;
}

.recommendation-card p {
    color: #b5afa3;
}

.recommendation-card p:last-of-type {
    color: #d4b779;
}

/* Add to cart */
.recommendation-card button {
    background: transparent;
    border: 1px solid #a88b52;
    color: #d4b779;
}

.recommendation-card button:hover {
    background: #d4b779;
    color: #111;
}

/* Explore link */
#recommendation a,
.back-home {
    color: #d4b779;
}

#recommendation a {
    border-bottom-color: #a88b52;
}

#recommendation a:hover {
    color: #f0dfae;
}

/* Mobile spacing */
@media (max-width: 650px) {
    .ai-box {
        padding: 30px 18px;
    }
}
/* Luxury AI Perfume Assistant Heading */
.assistant-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 20px;
}

.assistant-heading h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 500;
    letter-spacing: 1px;
    color: #e8d5a3;
    margin: 0;
}

.assistant-icon {
    color: #d4af6a;
    font-size: 58px;
    line-height: 1;
    font-weight: 300;
}

@media (max-width: 600px) {
    .assistant-heading {
        gap: 10px;
    }

    .assistant-icon {
        font-size: 40px;
    }

    .assistant-heading h1 {
        font-size: 27px;
    }
}
/* ===== Luxury Questionnaire Styling ===== */

#perfumeQuiz label {
    display: block;
    margin: 28px 0 12px;
    color: #eadfc8;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

#perfumeQuiz select {
    width: 100%;
    padding: 16px 18px;
    margin-bottom: 10px;
    border: 1px solid rgba(212, 175, 106, 0.4);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #f8f3e9;
    font-size: 15px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease,
                box-shadow 0.3s ease,
                background 0.3s ease;
}

/* Highlight a field when selected */
#perfumeQuiz select:focus {
    border-color: #d4af6a;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(212, 175, 106, 0.15);
}

/* Dropdown options */
#perfumeQuiz select option {
    background: #252525;
    color: #f8f3e9;
}

/* Elegant submit button */
#perfumeQuiz button[type="submit"] {
    width: 100%;
    padding: 16px;
    margin-top: 20px;
    border: 1px solid #d4af6a;
    border-radius: 10px;
    background: linear-gradient(135deg, #d4af6a, #b89555);
    color: #191919;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                background 0.3s ease;
}

/* Button hover animation */
#perfumeQuiz button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(212, 175, 106, 0.25);
}

/* Smooth hover effect for dropdowns */
#perfumeQuiz select:hover {
    border-color: #d4af6a;
}
/* ===== Elegant Page Animations ===== */

/* Smooth entrance for the questionnaire */
#perfumeQuiz {
    animation: elegantFadeIn 0.9s ease-out both;
}

/* Fade-in animation */
@keyframes elegantFadeIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth appearance for perfume recommendations */
#recommendation {
    animation: elegantFadeIn 0.7s ease-out;
}

/* Gentle hover effect for dropdowns */
#perfumeQuiz select {
    transition: all 0.3s ease;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    #perfumeQuiz,
    #recommendation {
        animation: none;
    }

    #perfumeQuiz select,
    #perfumeQuiz button[type="submit"] {
        transition: none;
    }
}
/* =================================
   ESSENTIA — Luxury Shopping Cart
================================= */

#cart {
    max-width: 1100px;
    margin: 60px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(212, 175, 106, 0.25);
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.18);
}

/* Cart heading */
#cart h2 {
    color: #d4af6a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 35px;
}

/* Cart items area */
#cart-items {
    margin: 25px 0;
}

/* Total price */
#cart h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 24px 0;
    margin-top: 25px;
    border-top: 1px solid rgba(212, 175, 106, 0.35);
    color: #f5f0e6;
    font-size: 21px;
}

#total {
    color: #d4af6a;
    font-size: 27px;
    font-weight: 600;
}

/* Checkout button */
#cart button {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 25px auto 0;
    padding: 17px 24px;
    border: 1px solid #d4af6a;
    border-radius: 8px;
    background: linear-gradient(135deg, #dfc58e, #bd9957);
    color: #171717;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

#cart button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(212, 175, 106, 0.2);
}

/* Mobile layout */
@media (max-width: 600px) {
    #cart {
        margin: 25px 12px;
        padding: 22px 16px;
    }

    #cart h2 {
        font-size: 28px;
    }

    #cart h3 {
        font-size: 18px;
    }

    #total {
        font-size: 23px;
    }
}
/* Luxury perfume names in the shopping cart */
#cart-items .product h3,
#cart-items h3,
#cart-items .product-name {
    color: #332206 !important;
    font-family: "Calibri", "Book Antiqua", calibri, serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.4px;
    text-shadow: none;
}

/* Clear and elegant product details */
#cart-items p {
    color: #e0ded8;
    font-family: Calibri, Helvetica, sans-serif;
    font-size: 10px;
    line-height: 1.7;
}

/* Highlight the price */
#cart-items .price {
    color: #070501;
    font-size: 18px;
    font-weight: 600;
}

@media (max-width: 600px) {
    #cart-items .product h3,
    #cart-items h3,
    #cart-items .product-name {
        font-size: 14px;
    }
}
/* ESSENTIA — Elegant perfume names */
#cart-items .product h3,
#cart-items h3,
#cart-items .product-name {
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.5;
    letter-spacing: 0.3px;
    color: #131211 !important;
    text-shadow: none !important;
}

/* Perfume prices */
#cart-items .price {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #0a0701;
}
/* Smaller perfume images in the shopping cart */
#cart-items img {
    width: 100px !important;
    height: 110px !important;
    object-fit: contain;
    border-radius: 8px;
}
/* Compact perfume images in the cart */
#cart-items img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain;
    border-radius: 4px;
}
/* Make cart product boxes more compact */
#cart-items .cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 12px;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
}


/* Compact cart product images */
#cart-items > div img {
    width: 75px !important;
    height: 85px !important;
    max-width: 75px !important;
    object-fit: contain;
    flex-shrink: 0;
}
/* Make cart product rows compact */
#cart-items > div {
    min-height: 0 !important;
    height: auto !important;
    padding: 8px 12px !important;
    margin-bottom: 8px !important;
    box-sizing: border-box;
    align-items: center;
}

/* Keep perfume images small */
#cart-items > div img {
    width: 75px !important;
    height: 85px !important;
    max-width: 75px !important;
    object-fit: contain;
    flex-shrink: 0;
}
/* ESSENTIA — Luxury cart total */
#cart h3 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 22px 12px;
    border-top: 1px solid rgba(212, 175, 106, 0.35);
    color: #d4af6a;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

#total {
    color: #f5e8cb;
    font-size: 25px;
    font-weight: 700;
    white-space: nowrap;
}
/* ESSENTIA — Elegant black cart total */
#cart h3 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 22px 12px;
    border-top: 1px solid #d4af6a;
    color: #222222;
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

#total {
    color: #111111 !important;
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: 25px;
    font-weight: 700;
    white-space: nowrap;
}
/* ESSENTIA — Luxury cart heading */
.cart-heading {
    text-align: left;
    padding: 25px 0 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 106, 0.4);
}


.cart-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #a88445;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
}

.cart-heading h1 {
    margin: 0;
    color: #171717;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 44px;
    font-weight: 400;
    letter-spacing: 0.3px;
}


.cart-heading p {
    margin: 12px 0 0;
    color: #77716a;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .cart-heading {
        padding: 25px 0 22px;
    }

    .cart-eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .cart-heading h1 {
        font-size: 36px;
    }
}
/* ESSENTIA — Luxury Shopping Bag Heading */

.cart-heading {
    text-align: left;
    padding: 0 0 18px;
    margin-top: -20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e5d7bb;
    position: relative;
}

.cart-eyebrow {
    display: block;
    color: #a88746;
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.cart-heading h1 {
    color: #171717;
    font-family: "Palatino Linotype", Georgia, serif;
    font-size: 46px;
    font-weight: 400;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin: 0;
}

.cart-heading p {
    color: #77716a;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    margin-top: 12px;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .cart-heading {
        padding: 24px 0;
    }

    .cart-heading h1 {
        font-size: 36px;
    }

    .cart-eyebrow {
        font-size: 9px;
        letter-spacing: 2px;
    }
}
/* ESSENTIA - Smaller perfume image box */
#cart-items .cart-product-image {
    width: 100px !important;
    height: 100px !important;
    min-width: 100px !important;
    padding: 5px !important;
    box-sizing: border-box !important;
    overflow: hidden;
}

#cart-items .cart-product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    display: block;
}
/* ESSENTIA — Luxury Shopping Cart Icon */

.header-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: #c8a96b;
    background: transparent;
    border: 1px solid #c8a96b;
    border-radius: 50%;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.3s ease;
}

.header-cart:hover {
    background: #c8a96b;
    color: #111111;
    transform: translateY(-2px);
}

#cartCount {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border-radius: 50%;
    background: #c8a96b;
    color: #111111;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    box-sizing: border-box;
}
/* Modern luxury shopping cart icon */
.header-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-decoration: none;
}

.modern-cart-icon {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: #d4af6a;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease, stroke 0.25s ease;
}

.header-cart:hover .modern-cart-icon {
    transform: translateY(-2px);
    stroke: #f0d9a0;
}

#cartCount {
    font-size: 12px;
    font-weight: 600;
}
/* ESSENTIA luxury cart notification */
#cartNotification {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 14px;
    width: min(340px, calc(100vw - 40px));
    padding: 18px;
    background: #111111;
    color: #f5f0e6;
    border: 1px solid #c6a45c;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(-15px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#cartNotification.show {
    opacity: 1;
    transform: translateY(0);
}

.cart-notification-check {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    border: 1px solid #c6a45c;
    border-radius: 50%;
    color: #e2c47e;
    font-size: 18px;
}

#cartNotification strong {
    display: block;
    color: #e2c47e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-weight: 500;
}

#cartNotification p {
    margin: 5px 0 0;
    color: #eeeeee;
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 480px) {
    #cartNotification {
        top: 15px;
        right: 10px;
        width: calc(100vw - 50px);
    }
}
/* ESSENTIA social media footer */
.social-footer {
    background: #ffffff;
    color: #f5f0e6;
    text-align: center;
    padding: 38px 20px 18px;
    margin-top: 50px;
    border-top: 1px solid #c6a45c;
}

.social-footer h2 {
    color: #d4af6a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
    letter-spacing: 4px;
    margin: 0 0 10px;
}

.social-footer > p {
    color: #c5c0b6;
    font-size: 14px;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 25px 0;
}

.social-links a {
    color: #e0c17e;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ffffff;
}

.social-divider {
    color: #c6a45c;
}

.social-footer .footer-copyright {
    margin: 25px 0 0;
    padding-top: 15px;
    border-top: 1px solid #292929;
    font-size: 11px;
    color: #888888;
}

@media (max-width: 480px) {
    .social-footer h2 {
        font-size: 21px;
        letter-spacing: 3px;
    }
}
/* ESSENTIA Luxury Footer */
footer {
    background: linear-gradient(135deg, #0b0b0b, #1c1c1c);
    color: #d4af6a;
    border-top: 1px solid #d4af6a;
    padding: 35px 20px;
    text-align: center;
}

footer a {
    color: #d4af6a;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff;
}

footer p {
    color: #e8d5a3;
}
/* ESSENTIA Luxury Footer */
.site-footer {
    background: linear-gradient(135deg, #0b0b0b, #1a1a1a);
    color: #d4af6a;
    border-top: 1px solid #b89552;
    padding: 35px 20px;
    text-align: center;
}

.site-footer a {
    color: #d4af6a;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.site-footer a:hover {
    color: #f5e3b3;
}
/* ESSENTIA — Black & Gold Footer */

.social-footer {
    background: #0b0b0b !important;
    color: #d4af6a !important;
    border-top: 1px solid #d4af6a;
    text-align: center;
    padding: 35px 20px 20px;
}

.social-footer h2 {
    color: #d4af6a !important;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: 4px;
}

.social-footer p {
    color: #d4af6a !important;
}

.social-links a {
    color: #d4af6a !important;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #f5e3b3 !important;
}

.social-divider {
    color: #d4af6a !important;
}

.social-footer .footer-copyright {
    border-top: 1px solid #3a3020;
    color: #d4af6a !important;
}
/* ESSENTIA Contact Page */

.contact-page {
    min-height: 65vh;
    padding: 70px 20px;
    box-sizing: border-box;
    background: #0b0b0b;
    color: #d4af6a;
    text-align: center;
}

.contact-eyebrow {
    font-size: 12px;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.contact-page h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    font-weight: 400;
    margin: 0 0 20px;
    color: #d4af6a;
}

.contact-description {
    max-width: 500px;
    margin: 0 auto 35px;
    color: #e8d5a3;
    line-height: 1.8;
}

.contact-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 35px;
}

.contact-button {
    display: inline-block;
    padding: 14px 24px;
    border: 1px solid #d4af6a;
    color: #d4af6a;
    text-decoration: none;
    transition: 0.3s ease;
}

.contact-button:hover {
    background: #d4af6a;
    color: #0b0b0b;
}

.contact-home {
    color: #d4af6a;
    text-decoration: none;
    font-size: 14px;
}

.contact-home:hover {
    color: #fff;
}

@media (max-width: 480px) {
    .contact-page h2 {
        font-size: 34px;
    }

    .contact-options {
        flex-direction: column;
        align-items: center;
    }

    .contact-button {
        width: 230px;
        box-sizing: border-box;
    }
}
/* HOME PAGE AI PERFUME ASSISTANT */

.ai-home-section {
    background: #0b0b0b;
    padding: 65px 20px;
    display: flex;
    justify-content: center;
}

.ai-home-card {
    width: 100%;
    max-width: 850px;
    padding: 55px 30px;
    box-sizing: border-box;
    text-align: center;
    background: #111;
    border: 1px solid #5c4928;
    position: relative;
    overflow: hidden;
}

.ai-home-card::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(212, 175, 106, 0.18);
    pointer-events: none;
}

.ai-badge {
    display: inline-block;
    color: #d4af6a;
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 22px;
}

.ai-home-card h2 {
    color: #e4c88f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 400;
    margin: 0 0 20px;
    line-height: 1.2;
}

.ai-home-card > p {
    max-width: 540px;
    margin: 0 auto 30px;
    color: #d2d0ca;
    font-size: 15px;
    line-height: 1.9;
}

.ai-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 15px 25px;
    background: #d4af6a;
    color: #111;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    transition: background 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.ai-home-button:hover {
    background: #f0d9a0;
    transform: translateY(-3px);
}

.ai-arrow {
    font-size: 20px;
}

.ai-decoration {
    margin-top: 35px;
    color: #8e7547;
    font-size: 9px;
    letter-spacing: 3px;
}

@media (max-width: 480px) {
    .ai-home-section {
        padding: 40px 15px;
    }

    .ai-home-card {
        padding: 45px 20px;
    }

    .ai-badge {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .ai-home-card > p {
        font-size: 14px;
    }
}
/* ESSENTIA LUXURY AI BUTTON */

.ai-home-section {
    background: #0b0b0b;
    padding: 65px 20px;
    text-align: center;
}

.ai-luxury-card {
    max-width: 600px;
    margin: auto;
    padding: 35px 20px;
    color: #d4af6a;
}

.ai-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    border: 1px solid #d4af6a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 22px rgba(212, 175, 106, 0.12);
}

.ai-icon span {
    font-size: 30px;
    animation: aiSparkle 2.5s ease-in-out infinite;
}

.ai-label {
    font-size: 10px;
    letter-spacing: 4px;
    color: #d4af6a;
    margin-bottom: 20px;
}

.ai-luxury-card h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: clamp(35px, 6vw, 49px);
    line-height: 1.2;
    color: #f0d9a0;
    margin: 0 0 20px;
}

.ai-description {
    max-width: 420px;
    margin: 0 auto 30px;
    color: #c7c1b5;
    font-size: 14px;
    line-height: 1.9;
}

.ai-discover-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 16px 25px;
    border: 1px solid #d4af6a;
    border-radius: 2px;
    background: transparent;
    color: #e4c88f;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.35s ease;
}

.ai-discover-button:hover {
    background: #d4af6a;
    color: #0b0b0b;
    box-shadow: 0 0 25px rgba(212, 175, 106, 0.25);
    transform: translateY(-3px);
}

.ai-sparkle {
    font-size: 20px;
}

.ai-button-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.ai-discover-button:hover .ai-button-arrow {
    transform: translateX(4px);
}

.ai-caption {
    margin-top: 28px;
    font-size: 9px;
    letter-spacing: 3px;
    color: #796744;
}

@keyframes aiSparkle {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .ai-home-section {
        padding: 40px 15px;
    }

    .ai-discover-button {
        gap: 9px;
        padding: 15px 17px;
        font-size: 10px;
    }
}
/* ESSENTIA Luxury Empty Cart */

.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 55px 20px;
    margin: 20px 0;
    background: #faf9f6;
    border: 1px solid #e5dccb;
    animation: emptyCartFade 0.7s ease;
}

.empty-cart-icon {
    color: #c6a45c;
    font-size: 48px;
    margin-bottom: 18px;
}

.empty-cart-label {
    display: block;
    color: #a88746;
    font-size: 10px;
    letter-spacing: 4px;
    margin-bottom: 14px;
}

.empty-cart h2 {
    color: #171411;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    font-weight: 400;
    margin: 0 0 18px;
}

.empty-cart-message {
    color: #49443c;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 10px;
}

.empty-cart-subtitle {
    color: #8a7b61;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 15px;
    margin: 0 0 28px;
}

.empty-cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 15px 25px;
    background: #111;
    color: #d4af6a;
    border: 1px solid #d4af6a;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.empty-cart-button:hover {
    background: #d4af6a;
    color: #111;
}

.empty-cart-button span {
    font-size: 18px;
}

@keyframes emptyCartFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .empty-cart {
        padding: 40px 15px;
    }

    .empty-cart h2 {
        font-size: 29px;
    }
}
/* ESSENTIA — Luxury Shop Category Buttons */

.category-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px auto 35px;
}

.category-buttons button {
    background: #111111;
    color: #d4af6a;
    border: 1px solid #d4af6a;
    padding: 13px 25px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-buttons button:hover {
    background: #d4af6a;
    color: #111111;
    transform: translateY(-2px);
}

.category-buttons button:focus {
    outline: 1px solid #d4af6a;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .category-buttons {
        gap: 8px;
        padding: 0 12px;
    }

    .category-buttons button {
        padding: 11px 15px;
        font-size: 12px;
        letter-spacing: 0.5px;
    }
}
/* ESSENTIA - Mobile Layout Fix */
@media screen and (max-width: 600px) {

    .site-header {
        width: 100%;
        box-sizing: border-box;
    }

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

    .hero {
        max-width: 100%;
        overflow: hidden;
    }

    .hero button,
    .hero .shop-now {
        max-width: 100%;
        box-sizing: border-box;
    }

    img {
        max-width: 100%;
    }

}
/* ESSENTIA - Mobile Screen Improvements */
@media screen and (max-width: 600px) {

    * {
        box-sizing: border-box;
    }

    body {
        width: 100%;
        margin: 0;
        overflow-x: hidden;
    }

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

    .site-header {
        width: 100%;
        max-width: 100%;
    }

    .hero {
        width: 100%;
        max-width: 100%;
    }

    .hero img {
        display: block;
        width: 100%;
        height: auto;
    }

}
/* ESSENTIA - Mobile Homepage Fix */
@media screen and (max-width: 600px) {

    .hero {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    .hero .hero-banner {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0;
        object-fit: contain;
    }

    .hero .home-shop-button {
        display: block;
        width: fit-content;
        max-width: 90%;
        margin: 12px auto 20px;
        padding: 12px 24px;
        box-sizing: border-box;
        text-align: center;
    }

}

/* Hide the search input but keep the search button */
.header-search-box input {
    display: none !important;
}

.header-search-box {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
}

.header-search-box button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* Elegant gold search icon */
.search-icon-button {
    width: 42px;
    height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #d4af6a;
    border: 1px solid #d4af6a;
    border-radius: 50%;
    cursor: pointer;
}

.search-icon-button:hover {
    background: #d4af6a;
    color: #111;
}
/* ESSENTIA Search Page */
.search-page {
    min-height: 80vh;
    padding: 70px 20px;
    background: #111;
    color: #f5f0e8;
    text-align: center;
    box-sizing: border-box;
}

.search-back {
    display: inline-block;
    color: #d4af6a;
    text-decoration: none;
    margin-bottom: 60px;
}

.search-page h1 {
    color: #d4af6a;
    font-family: Georgia, serif;
    font-size: clamp(28px, 5vw, 44px);
    margin-bottom: 15px;
}

.search-page p {
    color: #ddd;
    margin-bottom: 35px;
}

.search-page-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.search-page-form input {
    flex: 1;
    min-width: 0;
    padding: 15px;
    border: 1px solid #d4af6a;
    background: #fff;
    color: #111;
    font-size: 16px;
    box-sizing: border-box;
}

.search-page-form button {
    padding: 15px 22px;
    background: #d4af6a;
    color: #111;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.search-page-form button:hover {
    background: #c29a50;
}

@media (max-width: 480px) {
    .search-page-form {
        flex-direction: column;
    }

    .search-page-form button {
        width: 100%;
    }
}
/* ESSENTIA - Continuous Announcement Animation */

.announcement-bar {
    overflow: hidden;
    white-space: nowrap;
}

.announcement-bar p {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: essentiaMarquee 12s linear infinite;
}

@keyframes essentiaMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}
/* ESSENTIA - Elegant price block above Add to Cart */

.price-block {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 18px 0 0;
    padding: 14px 4px;
    border-top: 1px solid #e5d6bd;
    border-bottom: 1px solid #e5d6bd;
}

.price-value [id^="price-"] {
    font-family: Calibri, Carlito, "Segoe UI", Arial, sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #30271f;
    letter-spacing: 0.3px;
    font-variant-numeric: tabular-nums;
}

.size-option {
    font-size: 12px;
    letter-spacing: 1px;
    padding: 10px 4px;
}

.product .add-to-cart {
    margin-top: 14px !important;
    max-width: 100%;
    text-transform: uppercase;
    letter-spacing: 2.5px !important;
}

/* ESSENTIA - Mobile cart layout fix */
@media (max-width: 600px) {
    #cart-items .cart-product {
        grid-template-columns: 80px minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
        gap: 8px 12px !important;
        padding: 12px !important;
    }

    #cart-items .cart-product-image {
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;
        width: 80px !important;
        height: 80px !important;
        min-width: 80px !important;
    }

    #cart-items .cart-product-details {
        grid-column: 2 !important;
        grid-row: 1 !important;
        padding-left: 0 !important;
        min-width: 0 !important;
    }

    #cart-items .cart-product-details h3 {
        font-size: 14px !important;
        margin: 0 0 4px !important;
        overflow-wrap: anywhere;
    }

    #cart-items .cart-product-details .cart-size {
        font-size: 12px !important;
        margin: 0 !important;
        color: #777 !important;
    }

    #cart-items .cart-product-actions {
        grid-column: 2 !important;
        grid-row: 2 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-width: 0 !important;
    }

    #cart-items .cart-product-price {
        font-size: 15px !important;
        margin: 0 !important;
        color: #22201d !important;
    }

    #cart .quantity-control {
        margin: 0 !important;
        gap: 10px !important;
    }
}
