/* Google delivery address lookup */
.google-address-widget {
    width: 100%;
}

.google-address-search-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}

.google-address-search-row .google-address-search {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 46px;
}

.google-address-reset {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--color-primary);
    border-radius: 6px;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.google-address-reset:hover,
.google-address-reset:focus {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #ffffff;
    outline: none;
}

.google-address-reset:focus-visible {
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.2);
}

.google-address-help,
.google-address-map-wrap small {
    display: block;
    margin-top: 8px;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.5;
}

.google-address-status,
.google-address-fallback {
    margin: 10px 0 0;
    padding: 10px 12px;
    border-radius: 6px;
    background: #f2f4f7;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.45;
}

.google-address-status:empty,
.google-address-fallback[hidden] {
    display: none;
}

.google-address-status.is-success {
    background: #e8f6ef;
    color: #126b45;
}

.google-address-status.is-warning,
.google-address-fallback {
    background: #fff7e6;
    color: #8a5a00;
}

.google-address-status.is-info {
    background: #eaf5f4;
    color: var(--color-primary-dark);
}

.google-address-map-wrap {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #d9e0e7;
    border-radius: 8px;
    background: #ffffff;
}

.google-address-map-wrap[hidden] {
    display: none;
}

.google-address-map {
    width: 100%;
    height: 220px;
    min-height: 220px;
    border-radius: 6px;
    overflow: hidden;
    background: #eef2f6;
}

.is-address-verified .google-address-map-wrap {
    border-color: rgba(var(--color-primary-rgb), 0.35);
}

@media (max-width: 430px) {
    .google-address-search-row {
        flex-direction: column;
        gap: 8px;
    }

    .google-address-reset {
        width: 100%;
    }

    .google-address-map {
        height: 190px;
        min-height: 190px;
    }
}

@media (min-width: 768px) {
    .google-address-map {
        height: 240px;
        min-height: 240px;
    }
}

/* =========================================
   THEELOCALGUY CUSTOM UI
   Palette
   Main: #317773
   Sub:  #E2D1F9
========================================= */
:root {
    --color-primary: #317773;
    --color-primary-dark: #255F5B;
    --color-secondary: #E2D1F9;
    --color-accent: #C2415D;
    --color-accent-dark: #9F3149;
    --color-text: #1F2933;
    --color-muted: #667085;
    --color-page-bg: #F7F8FA;
    --color-surface: #FFFFFF;
    --color-border: #E4E7EC;
    --color-success: #2E7D4F;
    --color-warning: #B7791F;
    --color-error: #C0392B;
    --color-primary-rgb: 49, 119, 115;
    --color-text-rgb: 31, 41, 51;
    --color-surface-rgb: 255, 255, 255;
    --color-success-rgb: 46, 125, 79;
    --color-warning-rgb: 183, 121, 31;
    --color-error-rgb: 192, 57, 43;
}

/* =========================================
   SINGLE PRODUCT
========================================= */
.product_thumbnail_slides img {
    height: clamp(320px, 48vw, 600px);
    max-height: 600px;
    width: 100%;
    object-fit: contain;
}

.single_product_details_area {
    overflow-x: hidden;
}

.single_product_details_area .single_product_thumb,
.single_product_details_area .product_thumbnail_slides,
.single_product_details_area .product_thumbnail_slides .owl-stage-outer,
.single_product_details_area .product_thumbnail_slides .owl-stage,
.single_product_details_area .product_thumbnail_slides .owl-item {
    min-height: clamp(320px, 48vw, 600px);
}

.single_product_details_area .product_thumbnail_slides .owl-stage {
    display: flex;
    align-items: center;
}

.single_product_details_area .product_thumbnail_slides .owl-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.single_product_details_area .product_thumbnail_slides .owl-nav .owl-prev,
.single_product_details_area .product_thumbnail_slides .owl-nav .owl-next {
    min-width: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--color-surface-rgb), 0.9);
}

.single_product_details_area .product_thumbnail_slides .owl-nav .owl-prev img,
.single_product_details_area .product_thumbnail_slides .owl-nav .owl-next img {
    width: 24px;
    height: 24px;
}

.single_product_details_area .single_product_desc h2 {
    display: block;
    margin-bottom: 10px;
    font-size: 30px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.single_product_details_area .single_product_desc .product-price {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    align-items: baseline;
}

.single_product_details_area .single_product_desc .product-price .old-price {
    margin-right: 0;
}

.single_product_details_area .single_product_desc .select-box {
    flex-wrap: wrap;
    gap: 12px;
}

.single_product_details_area .single_product_desc .select-box select,
.single_product_details_area .single_product_desc .select-box .nice-select {
    max-width: 100%;
}

.single_product_details_area .single_product_desc .cart-form .form-control {
    min-height: 44px;
}

.single_product_details_area .single_product_desc .cart-fav-box .essence-btn {
    min-height: 44px;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .single_product_details_area .single_product_desc h2 {
        font-size: 24px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .single_product_details_area .single_product_desc h2 {
        font-size: 22px;
    }

    .single_product_details_area .product_thumbnail_slides img {
        height: clamp(300px, 42vw, 460px);
    }

    .single_product_details_area .single_product_thumb,
    .single_product_details_area .product_thumbnail_slides,
    .single_product_details_area .product_thumbnail_slides .owl-stage-outer,
    .single_product_details_area .product_thumbnail_slides .owl-stage,
    .single_product_details_area .product_thumbnail_slides .owl-item {
        min-height: clamp(300px, 42vw, 460px);
    }

    .single_product_details_area .single_product_desc .select-box {
        align-items: stretch;
    }

    .single_product_details_area .single_product_desc .select-box .nice-select {
        flex: 1 1 180px;
        width: auto;
        min-width: 0;
    }
}

@media (max-width: 767.98px) {
    .single_product_details_area {
        overflow-x: hidden;
    }

    .single_product_details_area .product_thumbnail_slides img {
        height: clamp(260px, 78vw, 420px);
    }

    .single_product_details_area .single_product_thumb,
    .single_product_details_area .product_thumbnail_slides,
    .single_product_details_area .product_thumbnail_slides .owl-stage-outer,
    .single_product_details_area .product_thumbnail_slides .owl-stage,
    .single_product_details_area .product_thumbnail_slides .owl-item {
        min-height: clamp(260px, 78vw, 420px);
    }

    .single_product_details_area .product_thumbnail_slides .owl-nav .owl-prev,
    .single_product_details_area .product_thumbnail_slides .owl-nav .owl-next {
        min-width: 44px;
        min-height: 44px;
    }

    .single_product_details_area .single_product_desc {
        padding: 28px 18px 34px;
    }

    .single_product_details_area .single_product_desc h2 {
        font-size: 24px;
        line-height: 1.22;
    }

    .single_product_details_area .single_product_desc .select-box {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 28px !important;
        margin-bottom: 24px !important;
    }

    .single_product_details_area .single_product_desc .select-box select,
    .single_product_details_area .single_product_desc .select-box .nice-select {
        width: 100% !important;
        min-width: 0;
        margin-right: 0 !important;
    }

    .single_product_details_area .single_product_desc .select-box .nice-select {
        height: 52px;
        line-height: 52px;
    }

    .single_product_details_area .single_product_desc .select-box .nice-select .current {
        line-height: 52px;
    }

    .single_product_details_area .single_product_desc .cart-form .mb-30 {
        max-width: 100% !important;
    }

    #singleProductQuantity {
        width: 100%;
        max-width: 160px;
    }

    .single_product_details_area .single_product_desc .cart-fav-box {
        align-items: stretch !important;
        gap: 14px;
    }

    #singleProductAddToCartBtn {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
    }

    .single_product_details_area .single_product_desc .cart-fav-box .product-favourite {
        flex: 0 0 44px;
        margin-left: 0 !important;
    }

    .single_product_details_area .single_product_desc .cart-fav-box .favme {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 374.98px) {
    .single_product_details_area .single_product_desc h2 {
        font-size: 22px;
    }
}

.product-detail-page {
    padding: 72px 0 64px;
    background: linear-gradient(180deg, var(--color-page-bg) 0%, var(--color-surface) 100%);
}

.single_product_details_area.product-detail-page {
    display: block !important;
    align-items: initial !important;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
    gap: 36px;
    align-items: start;
}

.single_product_details_area.product-detail-page .single_product_thumb,
.single_product_details_area.product-detail-page .single_product_desc {
    width: auto;
    max-width: none;
}

.product-gallery-panel {
    min-width: 0;
}

.product-gallery-frame {
    overflow: hidden;
    border: 1px solid rgba(var(--color-primary-rgb), 0.12);
    border-radius: 18px;
    background: var(--color-surface);
    box-shadow: 0 22px 60px rgba(var(--color-text-rgb), 0.08);
}

.single_product_details_area.product-detail-page .single_product_thumb,
.single_product_details_area.product-detail-page .product_thumbnail_slides,
.single_product_details_area.product-detail-page .product_thumbnail_slides .owl-stage-outer,
.single_product_details_area.product-detail-page .product_thumbnail_slides .owl-stage,
.single_product_details_area.product-detail-page .product_thumbnail_slides .owl-item {
    min-height: clamp(360px, 44vw, 620px);
}

.single_product_details_area.product-detail-page .product_thumbnail_slides img {
    height: clamp(360px, 44vw, 620px);
    padding: 22px;
    background: var(--color-surface);
    object-fit: contain;
}

.single_product_details_area.product-detail-page .product_thumbnail_slides .owl-nav .owl-prev,
.single_product_details_area.product-detail-page .product_thumbnail_slides .owl-nav .owl-next {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(var(--color-text-rgb), 0.08);
    border-radius: 999px;
    background: rgba(var(--color-surface-rgb), 0.92);
    box-shadow: 0 10px 24px rgba(var(--color-text-rgb), 0.12);
}

.single_product_details_area.product-detail-page .product_thumbnail_slides .owl-nav .owl-prev:hover,
.single_product_details_area.product-detail-page .product_thumbnail_slides .owl-nav .owl-next:hover,
.single_product_details_area.product-detail-page .product_thumbnail_slides .owl-nav .owl-prev:focus,
.single_product_details_area.product-detail-page .product_thumbnail_slides .owl-nav .owl-next:focus {
    background: var(--color-primary);
}

.single_product_details_area.product-detail-page .product_thumbnail_slides .owl-nav .owl-prev:hover img,
.single_product_details_area.product-detail-page .product_thumbnail_slides .owl-nav .owl-next:hover img,
.single_product_details_area.product-detail-page .product_thumbnail_slides .owl-nav .owl-prev:focus img,
.single_product_details_area.product-detail-page .product_thumbnail_slides .owl-nav .owl-next:focus img {
    filter: brightness(0) invert(1);
}

.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.product-gallery-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface);
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.product-info-card {
    min-width: 0;
    padding: 30px;
    border: 1px solid rgba(var(--color-primary-rgb), 0.14);
    border-radius: 18px;
    background: var(--color-surface);
    box-shadow: 0 18px 46px rgba(var(--color-text-rgb), 0.08);
}

.single_product_details_area.product-detail-page .single_product_desc {
    padding-left: 30px;
    padding-right: 30px;
}

.product-brand-eyebrow {
    display: inline-flex !important;
    margin-bottom: 10px;
    color: var(--color-primary) !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.single_product_details_area.product-detail-page .single_product_desc h2 {
    margin-bottom: 12px;
    color: var(--color-text);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.14;
}

.product-detail-rating {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
}

.product-detail-stars {
    display: inline-flex;
    gap: 3px;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1;
}

.product-detail-stars .filled {
    color: var(--color-warning);
}

.product-review-link {
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.product-review-link:hover,
.product-review-link:focus {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.product-review-link.no-reviews {
    color: var(--color-muted);
}

.single_product_details_area.product-detail-page .single_product_desc .product-price {
    margin-bottom: 18px;
    color: var(--color-accent);
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 800;
}

.single_product_details_area.product-detail-page .single_product_desc .product-price .old-price {
    color: var(--color-muted);
    font-size: 0.58em;
    font-weight: 700;
    text-decoration: line-through;
}

.product-status-row {
    margin-bottom: 18px;
}

.product-stock-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.product-stock-pill.in-stock {
    background: rgba(var(--color-success-rgb), 0.12);
    color: var(--color-success);
}

.product-stock-pill.out-of-stock {
    background: rgba(var(--color-error-rgb), 0.12);
    color: var(--color-error);
}

.product-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
}

.product-meta-item {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-page-bg);
}

.product-meta-item span {
    display: block !important;
    margin-bottom: 4px;
    color: var(--color-muted) !important;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.product-meta-item strong {
    display: block;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.product-description-section,
.product-purchase-card {
    margin-top: 18px;
    padding: 20px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: var(--color-surface);
}

.product-description-section h3,
.product-purchase-heading h3 {
    margin: 0 0 12px;
    color: var(--color-text);
    font-size: 16px;
    font-weight: 800;
}

.product-description-content {
    max-height: 180px;
    overflow-y: auto;
    padding-right: 10px;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.7;
}

.product-description-content::-webkit-scrollbar {
    width: 8px;
}

.product-description-content::-webkit-scrollbar-track {
    background: var(--color-page-bg);
    border-radius: 999px;
}

.product-description-content::-webkit-scrollbar-thumb {
    background: rgba(var(--color-primary-rgb), 0.35);
    border-radius: 999px;
}

.product-purchase-card {
    background: #FBFCFC;
}

.product-purchase-heading {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.single_product_details_area.product-detail-page .single_product_desc .select-box {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 12px !important;
}

.product-option-field {
    min-width: 0;
}

.product-option-field label,
.product-quantity-row label {
    display: block;
    margin-bottom: 7px;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 800;
}

.single_product_details_area.product-detail-page .single_product_desc .select-box select,
.single_product_details_area.product-detail-page .single_product_desc .select-box .nice-select,
.product-quantity-row .form-control {
    width: 100% !important;
    height: 50px;
    min-height: 50px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-surface);
    color: var(--color-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 50px;
}

.single_product_details_area.product-detail-page .single_product_desc .select-box .nice-select .current {
    line-height: 50px;
}

.single_product_details_area.product-detail-page .single_product_desc .select-box .nice-select:focus,
.single_product_details_area.product-detail-page .single_product_desc .select-box select:focus,
.product-quantity-row .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.16);
    outline: none;
}

.single_product_details_area.product-detail-page .single_product_desc .nice-select .list {
    width: 100%;
}

.product-purchase-card .variant-help-text {
    margin: 6px 0 14px;
}

.product-quantity-row {
    max-width: 150px;
    margin-bottom: 18px;
}

.product-action-row {
    gap: 12px;
}

.product-action-row #singleProductAddToCartBtn {
    flex: 1 1 auto;
    min-height: 50px;
    border-radius: 10px;
    font-weight: 800;
}

.product-action-row .product-favourite {
    flex: 0 0 50px;
    margin-left: 0 !important;
}

.product-action-row .favme {
    display: inline-flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-surface);
    color: var(--color-muted);
    font-size: 18px;
    text-decoration: none;
}

.product-action-row .favme:hover,
.product-action-row .favme:focus {
    border-color: rgba(var(--color-primary-rgb), 0.35);
    color: var(--color-accent) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.12);
}

@media (max-width: 991.98px) {
    .product-detail-page {
        padding: 54px 0;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .single_product_details_area.product-detail-page .single_product_thumb,
    .single_product_details_area.product-detail-page .product_thumbnail_slides,
    .single_product_details_area.product-detail-page .product_thumbnail_slides .owl-stage-outer,
    .single_product_details_area.product-detail-page .product_thumbnail_slides .owl-stage,
    .single_product_details_area.product-detail-page .product_thumbnail_slides .owl-item {
        min-height: clamp(300px, 64vw, 520px);
    }

    .single_product_details_area.product-detail-page .product_thumbnail_slides img {
        height: clamp(300px, 64vw, 520px);
    }
}

@media (max-width: 767.98px) {
    .product-detail-page {
        padding: 38px 0 46px;
    }

    .product-info-card {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .single_product_details_area.product-detail-page .single_product_desc {
        padding: 22px 18px;
    }

    .product-meta-grid,
    .single_product_details_area.product-detail-page .single_product_desc .select-box {
        grid-template-columns: 1fr;
    }

    .product-description-section,
    .product-purchase-card {
        padding: 16px;
    }

    .product-description-content {
        max-height: 170px;
    }

    .product-quantity-row {
        max-width: 100%;
    }

    #singleProductQuantity {
        width: 100%;
        max-width: none;
    }

    .product-action-row {
        align-items: stretch !important;
    }

    .product-action-row .product-favourite {
        flex-basis: 50px;
    }
}

@media (max-width: 430px) {
    .single_product_details_area.product-detail-page .single_product_thumb,
    .single_product_details_area.product-detail-page .product_thumbnail_slides,
    .single_product_details_area.product-detail-page .product_thumbnail_slides .owl-stage-outer,
    .single_product_details_area.product-detail-page .product_thumbnail_slides .owl-stage,
    .single_product_details_area.product-detail-page .product_thumbnail_slides .owl-item {
        min-height: 300px;
    }

    .single_product_details_area.product-detail-page .product_thumbnail_slides img {
        height: 300px;
        padding: 14px;
    }
}

/* =========================================
   PRODUCT REVIEWS
========================================= */
.product-reviews-area {
    padding: 70px 0;
    background-color: #F7F8FA;
}

.review-summary,
.review-card,
.review-form-panel,
.review-empty-state {
    background-color: #ffffff;
    border: 1px solid #E4E7EC;
    border-radius: 8px;
}

.review-summary {
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(280px, 1.2fr);
    align-items: start;
    gap: 28px;
    padding: 24px;
    margin-bottom: 24px;
}

.review-score-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.review-score-line strong {
    color: var(--color-text);
    font-size: 22px;
    line-height: 1.25;
}

.review-distribution {
    display: grid;
    gap: 10px;
}

.review-distribution-row {
    display: grid;
    grid-template-columns: 64px minmax(120px, 1fr) minmax(64px, auto);
    align-items: center;
    gap: 10px;
}

.review-distribution-label,
.review-distribution-count {
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.3;
}

.review-distribution-count {
    text-align: right;
}

.review-distribution-percent {
    margin-left: 4px;
    color: var(--color-muted);
    font-size: 12px;
}

.review-progress {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background-color: var(--color-border);
}

.review-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background-color: var(--color-primary);
}

.review-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 24px;
}

.review-filter-btn {
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background-color: var(--color-surface);
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.review-filter-btn:hover,
.review-filter-btn:focus {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: var(--color-page-bg);
}

.review-filter-btn:focus-visible {
    outline: 3px solid rgba(var(--color-primary-rgb), 0.24);
    outline-offset: 2px;
}

.review-filter-btn.active,
.review-filter-btn[aria-pressed="true"] {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: var(--color-surface);
}

.review-filter-btn.active:hover,
.review-filter-btn.active:focus,
.review-filter-btn[aria-pressed="true"]:hover,
.review-filter-btn[aria-pressed="true"]:focus {
    border-color: var(--color-primary-dark);
    background-color: var(--color-primary-dark);
    color: var(--color-surface);
}

.review-filter-empty-state {
    margin-bottom: 28px;
    padding: 18px 22px;
    border: 1px dashed var(--color-border);
    border-radius: 8px;
    background-color: var(--color-surface);
}

.review-filter-empty-state p {
    margin-bottom: 0;
    color: var(--color-muted);
}

.review-summary h3,
.review-form-panel h4,
.review-empty-state h4,
.review-card h4 {
    color: #1F2933;
}

.review-summary p,
.review-form-panel p,
.review-empty-state p,
.review-card p {
    color: #667085;
}

.review-stars {
    display: inline-flex;
    gap: 3px;
    color: #D0D5DD;
    font-size: 18px;
    line-height: 1;
}

.review-stars .filled {
    color: #B7791F;
}

.review-list {
    display: grid;
    gap: 18px;
    margin-bottom: 28px;
}

.review-card {
    padding: 22px;
}

.review-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.review-card-header strong {
    color: #1F2933;
}

.review-card-header time {
    flex: 0 0 auto;
    color: #667085;
    font-size: 13px;
}

.verified-purchase-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    margin-left: 8px;
    border-radius: 999px;
    background-color: rgba(46, 125, 79, 0.12);
    color: #2E7D4F;
    font-size: 12px;
    font-weight: 700;
}

.review-card h4 {
    margin: 12px 0 8px;
    font-size: 18px;
}

.review-recommendation {
    margin-top: 12px;
    font-weight: 700;
}

.review-form-panel,
.review-empty-state {
    padding: 24px;
}

.review-form {
    max-width: 680px;
}

.review-form .form-control {
    border: 1px solid #E4E7EC;
    color: #1F2933;
}

.review-form select.form-control,
.review-form input.form-control {
    min-height: 46px;
}

.review-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.review-form .essence-btn {
    min-height: 46px;
}

@media (max-width: 767.98px) {
    .product-reviews-area {
        padding: 42px 0;
    }

    .review-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .review-summary {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .review-summary,
    .review-card,
    .review-form-panel,
    .review-empty-state,
    .review-filter-empty-state {
        padding: 18px;
    }

    .review-filter-bar {
        gap: 8px;
    }

    .review-filter-btn {
        flex: 1 1 calc(50% - 8px);
        padding-right: 12px;
        padding-left: 12px;
    }

    .verified-purchase-badge {
        margin-left: 0;
        margin-top: 8px;
    }

    .review-form .essence-btn {
        width: 100%;
    }
}

@media (max-width: 374.98px) {
    .review-distribution-row {
        grid-template-columns: 54px minmax(80px, 1fr) minmax(52px, auto);
        gap: 8px;
    }

    .review-distribution-label,
    .review-distribution-count {
        font-size: 13px;
    }

    .review-filter-btn {
        flex-basis: 100%;
    }
}

/* =========================================
   RELATED PRODUCTS
========================================= */
.related-products-area {
    padding: 70px 0;
    background-color: var(--color-surface);
    overflow-x: hidden;
}

.recently-viewed-products-area {
    padding: 70px 0;
    background-color: var(--color-page-bg);
    overflow-x: hidden;
}

.related-products-grid,
.recently-viewed-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .related-products-grid,
    .recently-viewed-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .related-products-area,
    .recently-viewed-products-area {
        padding: 42px 0;
    }

    .related-products-grid,
    .recently-viewed-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

/* =========================================
   CART
========================================= */
.single-cart-item {
    position: relative;
}

.single-cart-item .product-image {
    display: block;
    position: relative;
    z-index: 1;
}

.product-remove-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 20;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.cart-qty-btn {
    width: 24px;
    height: 24px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    padding: 0;
}

.cart-qty-btn:hover {
    background: #f5f5f5;
}

.cart-qty-value {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
}

.empty-cart,
.empty-orders {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 30px 20px;
    text-align: center;
}

.empty-cart-content,
.empty-orders-content {
    max-width: 280px;
}

.empty-cart-content i,
.empty-orders-content i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #ccc;
}

.empty-cart-content h5,
.empty-orders-content h5 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.empty-cart-content p,
.empty-orders-content p {
    font-size: 14px;
    color: #777;
}

/* =========================================
   LOGO
========================================= */
.nav-brand {
    max-width: 130px;
    height: auto;
}

.nav-brand img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* =========================================
   ORDER SUCCESS
========================================= */
.order-success-box {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.order-number-box {
    background-color: #fafafa;
}

/* =========================================
   ORDERS HISTORY
========================================= */
.orders-table th,
.orders-table td {
    vertical-align: middle;
}

.order-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 15px;
    background: #fff;
}

.order-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.order-badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
    text-transform: capitalize;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-paid,
.status-delivered,
.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-processing,
.status-shipped {
    background: #d1ecf1;
    color: #0c5460;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* =========================================
   ORDER DETAILS
========================================= */
.order-meta-box {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
}

.order-item-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 15px;
    background: #fff;
}

.order-item-image {
    border-radius: 6px;
    width: 100%;
    max-width: 100px;
    object-fit: cover;
}

.order-tracking-timeline {
    margin-bottom: 30px;
    padding: 24px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
    overflow: hidden;
}

.order-tracking-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.order-tracking-header h5 {
    margin-bottom: 6px;
    color: var(--color-text);
    font-size: 20px;
    font-weight: 800;
}

.order-tracking-header p {
    margin-bottom: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

.order-timeline-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.order-timeline-step {
    position: relative;
    min-width: 0;
    padding: 0 10px;
    text-align: center;
}

.order-timeline-step::before,
.order-timeline-step::after {
    content: "";
    position: absolute;
    top: 22px;
    height: 3px;
    background: var(--color-border);
    z-index: 0;
}

.order-timeline-step::before {
    left: 0;
    right: 50%;
}

.order-timeline-step::after {
    left: 50%;
    right: 0;
}

.order-timeline-step:first-child::before,
.order-timeline-step:last-child::after {
    display: none;
}

.order-timeline-step.is-complete::before,
.order-timeline-step.is-complete::after,
.order-timeline-step.is-current::before {
    background: var(--color-success);
}

.order-timeline-marker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-surface);
    color: var(--color-muted);
    font-size: 16px;
    box-shadow: 0 0 0 6px var(--color-surface);
}

.order-timeline-step.is-complete .order-timeline-marker {
    border-color: var(--color-success);
    background: var(--color-success);
    color: var(--color-surface);
}

.order-timeline-step.is-current .order-timeline-marker {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: var(--color-surface);
}

.order-timeline-copy {
    min-width: 0;
    margin-top: 14px;
}

.order-timeline-copy h6 {
    margin-bottom: 6px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.order-timeline-copy p {
    margin-bottom: 0;
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1.45;
}

.order-timeline-copy time {
    display: block;
    margin-top: 8px;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 700;
}

.order-cancelled-timeline {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(var(--color-error-rgb), 0.24);
    border-radius: 8px;
    background: rgba(var(--color-error-rgb), 0.08);
}

.order-cancelled-icon {
    display: inline-flex;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-error);
    color: var(--color-surface);
}

.order-cancelled-timeline h6 {
    margin-bottom: 5px;
    color: var(--color-error);
    font-size: 16px;
    font-weight: 800;
}

.order-cancelled-timeline p {
    margin-bottom: 0;
    color: var(--color-text);
    line-height: 1.5;
}

.order-vendor-shipments {
    margin: 0 0 30px;
    padding: 22px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
}

.order-vendor-shipments-header {
    margin-bottom: 16px;
}

.order-vendor-shipments-header h5 {
    margin-bottom: 6px;
    color: var(--color-text);
    font-size: 20px;
    font-weight: 800;
}

.order-vendor-shipments-header p {
    margin-bottom: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

.order-vendor-shipment-list {
    display: grid;
    gap: 14px;
}

.order-vendor-shipment-card {
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fbfcfd;
}

.order-vendor-shipment-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.order-vendor-shipment-title h6 {
    margin-bottom: 0;
    color: var(--color-text);
    font-size: 16px;
    font-weight: 800;
}

.order-vendor-shipment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.order-vendor-shipment-meta span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 5px;
    padding: 0 10px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 700;
}

.order-vendor-shipment-meta strong {
    color: var(--color-text);
    font-weight: 800;
}

@media (max-width: 767.98px) {
    .order-tracking-timeline {
        padding: 20px;
    }

    .order-tracking-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 22px;
    }

    .order-timeline-steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .order-timeline-step {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 14px;
        min-height: 94px;
        padding: 0 0 22px;
        text-align: left;
    }

    .order-timeline-step:last-child {
        min-height: 0;
        padding-bottom: 0;
    }

    .order-timeline-step::before,
    .order-timeline-step::after {
        top: 0;
        left: 22px;
        right: auto;
        width: 3px;
        height: 100%;
    }

    .order-timeline-step::before,
    .order-timeline-step:first-child::before {
        display: none;
    }

    .order-timeline-step::after {
        display: block;
        background: var(--color-border);
    }

    .order-timeline-step:last-child::after {
        display: none;
    }

    .order-timeline-step.is-complete::after {
        background: var(--color-success);
    }

    .order-timeline-marker {
        align-self: start;
        box-shadow: 0 0 0 5px var(--color-surface);
    }

    .order-timeline-copy {
        margin-top: 2px;
    }

    .order-timeline-copy h6 {
        font-size: 15px;
    }

    .order-timeline-copy p {
        font-size: 13px;
    }

    .order-cancelled-timeline {
        align-items: flex-start;
    }

    .order-vendor-shipments {
        padding: 18px;
    }

    .order-vendor-shipment-title {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-vendor-shipment-meta {
        display: grid;
    }
}

/* =========================================
   ACCOUNT PANEL
========================================= */
.account-dashboard-area {
    background-color: var(--color-page-bg);
}

.account-dashboard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.account-dashboard-kicker {
    margin-bottom: 6px;
    color: var(--color-primary) !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.account-dashboard-header h3 {
    margin-bottom: 8px;
    color: var(--color-text);
    font-size: 30px;
    line-height: 1.2;
}

.account-dashboard-header p {
    margin-bottom: 0;
    color: var(--color-muted);
}

.account-dashboard-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    min-width: 260px;
}

.account-dashboard-link {
    min-height: 44px;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-surface);
    color: var(--color-text);
    font-weight: 700;
}

.account-dashboard-link:hover,
.account-dashboard-link:focus,
.account-dashboard-link.active {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: var(--color-surface) !important;
}

.account-dashboard-link.disabled,
.account-dashboard-link.disabled:hover,
.account-dashboard-link.disabled:focus {
    border-color: var(--color-border);
    background-color: var(--color-page-bg);
    color: var(--color-muted) !important;
    cursor: not-allowed;
}

.account-summary-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.account-summary-card,
.account-dashboard-section,
.account-record-card,
.account-empty-state {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-surface);
}

.account-summary-card {
    padding: 20px;
}

.account-summary-card span {
    display: block;
    margin-bottom: 10px;
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 700;
}

.account-summary-card strong {
    display: block;
    color: var(--color-text);
    font-size: 30px;
    line-height: 1;
}

.account-dashboard-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.account-dashboard-section {
    padding: 24px;
}

.account-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.account-section-heading h4 {
    margin-bottom: 0;
    color: var(--color-text);
    font-size: 20px;
}

.account-section-heading a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    font-weight: 700;
}

.account-record-list {
    display: grid;
    gap: 16px;
}

.account-record-card {
    padding: 18px;
}

.account-record-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.account-record-top h5 {
    margin-bottom: 0;
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.account-record-meta {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.account-record-meta div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.account-record-meta dt {
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.account-record-meta dd {
    margin-bottom: 0;
    color: var(--color-text);
    text-align: right;
}

.account-record-action {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.account-review-rating {
    display: inline-flex;
    gap: 3px;
    margin-bottom: 12px;
    color: #D0D5DD;
    font-size: 16px;
    line-height: 1;
}

.account-review-rating .filled {
    color: var(--color-warning);
}

.account-empty-state {
    padding: 28px 20px;
    text-align: center;
}

.account-empty-state h5 {
    margin-bottom: 8px;
    color: var(--color-text);
}

.account-empty-state p {
    margin-bottom: 0;
    color: var(--color-muted);
}

.account-form-shell {
    max-width: 760px;
    margin: 0 auto;
    padding: 28px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-surface);
}

.account-profile-form {
    display: grid;
    gap: 18px;
}

.account-profile-form .form-group {
    margin-bottom: 0;
}

.account-profile-form label {
    margin-bottom: 8px;
    color: var(--color-text);
    font-weight: 700;
}

.account-profile-form .form-control {
    min-height: 44px;
    border-color: var(--color-border);
    color: var(--color-text);
}

.account-profile-form .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.14);
}

.account-profile-form .form-control[readonly] {
    background-color: var(--color-page-bg);
    color: var(--color-muted);
}

.account-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.account-form-actions .btn,
.account-form-actions .account-dashboard-link {
    min-height: 44px;
}

.account-address-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px;
    border-radius: 18px;
    background: #F8FAFC;
}

.account-address-list-section {
    min-width: 0;
}

.account-address-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.account-address-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-surface);
}

.account-address-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.account-address-card h5 {
    margin-bottom: 8px;
    color: var(--color-text);
    font-size: 18px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.account-default-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background-color: rgba(var(--color-success-rgb), 0.12);
    color: var(--color-success);
    font-size: 12px;
    font-weight: 700;
}

.account-address-lines {
    display: grid;
    gap: 5px;
    margin-bottom: 18px;
    color: var(--color-muted);
    font-style: normal;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.account-address-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.account-address-actions form {
    margin: 0;
}

.account-address-actions .account-dashboard-link,
.account-address-actions .account-button-reset {
    min-height: 44px;
}

.account-button-reset {
    appearance: none;
    cursor: pointer;
    font: inherit;
}

.account-danger-action {
    border-color: rgba(var(--color-error-rgb), 0.32);
    color: var(--color-error);
}

.account-danger-action:hover,
.account-danger-action:focus {
    border-color: var(--color-error);
    background-color: var(--color-error);
    color: var(--color-surface) !important;
}

.account-address-form-shell {
    max-width: none;
    margin: 0;
}

.account-address-form-shell {
    width: 100%;
    max-width: 1080px;
    justify-self: center;
    padding: 26px;
    border: 1px solid #D0D7E2;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 20px 55px rgba(var(--color-text-rgb), 0.11);
}

.account-address-form {
    gap: 16px;
}

.account-address-form-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E2E8F0;
}

.account-address-form-kicker {
    display: inline-flex;
    margin-bottom: 6px;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.account-address-form-header h4 {
    margin-bottom: 6px;
    color: #1F2937;
    font-size: clamp(24px, 2.2vw, 30px);
    font-weight: 800;
    line-height: 1.2;
}

.account-address-form-header p {
    margin-bottom: 0;
    color: #4B5563;
    font-size: 14px;
    line-height: 1.5;
}

.account-address-form-shell .google-address-widget {
    display: grid;
    gap: 18px;
}

.account-address-top-row {
    display: grid;
    grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
    gap: 16px;
    align-items: end;
}

.account-address-label-field,
.account-address-search-panel {
    padding: 14px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    background: #F8FAFC;
}

.account-address-search-panel label {
    margin-bottom: 6px;
}

.account-address-form-shell .google-address-search-row {
    gap: 8px;
}

.account-address-form-shell .google-address-search {
    min-height: 46px;
    padding-left: 42px;
    border-radius: 10px;
    border: 1.5px solid #94A3B8;
    background-color: #FFFFFF;
    color: #1F2937;
    font-weight: 600;
    background-image: linear-gradient(transparent, transparent);
}

.account-address-form-shell .google-address-search::placeholder {
    color: #64748B;
    font-weight: 500;
}

.account-address-form-shell .google-address-search:focus {
    border-color: #317773;
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.18);
    outline: none;
}

.account-address-search-panel .google-address-search-row {
    position: relative;
}

.account-address-search-panel .google-address-search-row::before {
    content: "\f002";
    position: absolute;
    left: 15px;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    color: var(--color-primary);
    font-family: "FontAwesome";
    font-size: 14px;
    pointer-events: none;
}

.account-address-form-shell .google-address-reset {
    min-height: 46px;
    padding-inline: 16px;
    border-radius: 10px;
    border-color: #317773;
    background: #317773;
    color: #FFFFFF;
    font-weight: 800;
}

.account-address-form-shell .google-address-help {
    margin-top: 6px;
    color: #64748B;
    font-size: 12px;
}

.account-address-form-shell .google-address-status,
.account-address-form-shell .google-address-fallback {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    min-height: 30px;
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid transparent;
    line-height: 1.35;
}

.account-address-form-shell .google-address-status.is-success {
    border-color: #A7D8BD;
    background: #E8F6EF;
    color: #126B45;
}

.account-address-form-shell .google-address-status.is-success::before {
    content: "\2713";
    margin-right: 6px;
    font-weight: 900;
}

.account-address-form-shell .google-address-status:empty,
.account-address-form-shell .google-address-fallback[hidden] {
    display: none;
}

.account-address-editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
    gap: 20px;
    align-items: start;
}

.account-address-fields-column {
    display: grid;
    gap: 13px;
    padding: 16px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    background: #FFFFFF;
}

.account-address-paired-fields {
    gap: 12px;
}

.account-address-form-shell .form-group {
    margin-bottom: 0;
}

.account-address-form-shell label {
    display: block;
    margin-bottom: 6px;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.account-address-form-shell .form-control {
    min-height: 44px;
    border: 1.5px solid #CBD5E1;
    border-radius: 9px;
    background-color: #FFFFFF;
    color: #1F2937;
    font-size: 14px;
    font-weight: 500;
}

.account-address-form-shell .form-control::placeholder {
    color: #64748B;
}

.account-address-form-shell .form-control:hover {
    border-color: #94A3B8;
}

.account-address-form-shell .form-control:focus {
    border-color: #317773;
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.18);
    outline: none;
}

.account-address-map-panel {
    min-width: 0;
    padding: 16px;
    border: 1px solid #D0D7E2;
    border-radius: 14px;
    background: #F8FAFC;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.account-address-map-heading {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 10px;
}

.account-address-map-heading span {
    color: #1F2937;
    font-size: 15px;
    font-weight: 800;
}

.account-address-map-heading small,
.account-address-form-shell .google-address-map-wrap small {
    color: #64748B;
    font-size: 12px;
    line-height: 1.4;
}

.account-address-form-shell .google-address-map-wrap {
    margin-top: 0;
    padding: 8px;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 10px 25px rgba(var(--color-text-rgb), 0.08);
}

.account-address-form-shell .google-address-map {
    height: 340px;
    min-height: 340px;
    border-radius: 10px;
}

.account-country-field {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.account-country-field label {
    flex: 0 0 100%;
}

.account-country-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(var(--color-primary-rgb), 0.35);
    border-radius: 999px;
    background: #EAF5F4;
    color: var(--color-primary-dark);
    font-size: 13px;
    font-weight: 800;
}

.account-address-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid #E2E8F0;
}

.account-address-bottom-row .account-form-actions {
    justify-content: flex-end;
    margin-top: 0;
}

.account-address-bottom-row .essence-btn {
    min-width: 170px;
}

.account-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.account-checkbox-field label {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    color: var(--color-text);
    font-weight: 700;
    cursor: pointer;
}

.account-checkbox-field input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.account-password-shell {
    max-width: 600px;
}

.account-password-form {
    gap: 20px;
}

.account-password-requirements {
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-page-bg);
}

.account-password-requirements h5 {
    margin-bottom: 12px;
    color: var(--color-text);
    font-size: 16px;
}

.account-password-requirements ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.account-password-requirements li {
    color: var(--color-muted);
    font-weight: 700;
    line-height: 1.35;
}

.my-reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.my-review-card {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 18px;
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-surface);
}

.my-review-image-link {
    display: block;
    align-self: start;
}

.my-review-image {
    width: 110px;
    height: 132px;
    border-radius: 8px;
    object-fit: cover;
    background-color: var(--color-page-bg);
}

.my-review-content {
    min-width: 0;
}

.my-review-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.my-review-topline h4 {
    margin-bottom: 0;
    color: var(--color-text);
    font-size: 18px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.my-review-card h5 {
    margin: 2px 0 8px;
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.my-review-text {
    margin-bottom: 12px;
    color: var(--color-muted);
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.my-review-recommendation {
    margin-bottom: 14px;
    color: var(--color-text);
    font-weight: 700;
}

.my-review-dates {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.my-review-dates div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.my-review-dates dt {
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.my-review-dates dd {
    margin-bottom: 0;
    color: var(--color-text);
    text-align: right;
}

.my-review-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.my-review-actions .account-dashboard-link,
.my-review-actions .essence-btn {
    min-height: 44px;
    flex: 1 1 150px;
}

.my-reviews-empty-state .essence-btn {
    min-height: 44px;
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.account-bg-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(49, 119, 115, 0.25);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
}

.account-bg-ov-on {
    opacity: 1;
    visibility: visible;
}

.right-side-account-area {
    position: fixed;
    top: 0;
    right: -360px;
    width: 340px;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    box-shadow: -2px 0 14px rgba(49, 119, 115, 0.12);
    transition: 0.5s;
    overflow-y: auto;
}

.right-side-account-area.account-on {
    right: 0;
}

.account-close-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10001;
}

.account-close-btn button {
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #317773;
}

.account-content {
    padding: 80px 30px 30px;
}

.account-user-box {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.account-avatar {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #317773;
    color: #E2D1F9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}

.guest-avatar {
    background: #E2D1F9;
    color: #317773;
}

.account-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.account-link-item {
    display: block;
    padding: 14px 16px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    color: #252525;
    font-weight: 500;
    transition: 0.3s ease;
    background: #fff;
}

.account-link-item:hover {
    background: #E2D1F9;
    color: #317773;
}

.account-link-item.disabled,
.account-link-item.disabled:hover,
.account-link-item.disabled:focus {
    background: var(--color-page-bg);
    color: var(--color-muted) !important;
    cursor: not-allowed;
}

.account-link-item small {
    display: block;
    margin-top: 3px;
    color: var(--color-muted);
    font-size: 11px;
    line-height: 1.2;
}

.logout-link,
.logout-link:hover {
    color: #317773;
}

.account-suggestions {
    margin-top: 25px;
    padding: 18px;
    background: #faf8ff;
    border-radius: 8px;
    border: 1px solid #f0ebfb;
}

.account-suggestions h6 {
    color: #317773;
}

.account-suggestions ul {
    margin: 0;
    padding-left: 18px;
}

.account-suggestions li {
    margin-bottom: 6px;
    color: #6b6b6b;
}

/* =========================================
   HEADER META / ACCOUNT ICON
========================================= */
.header_area .classy-nav-container {
    min-height: 85px;
    padding-left: 0;
    padding-right: 0;
}

.header-meta {
    flex: 0 0 auto;
    align-items: stretch;
    margin-left: auto;
}

.header-meta .search-area {
    width: 250px;
    min-width: 250px;
    border-left: 1px solid #ebebeb;
    border-right: 1px solid #ebebeb;
    background-color: #fff;
}

.header-meta .search-area form {
    height: 100%;
    display: flex;
    align-items: center;
}

.header-meta .search-area input {
    height: 85px;
    line-height: 85px;
    width: 100%;
    padding: 0 15px 0 50px;
    border: none;
    box-shadow: none;
}

.header-meta .favourite-area,
.header-meta .user-login-info,
.header-meta .cart-area {
    width: 90px;
    min-width: 90px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #ebebeb;
    position: relative;
    padding: 0;
}

.header-meta .favourite-area a,
.header-meta .user-login-info a,
.header-meta .cart-area a {
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none;
    padding: 0;
    margin: 0;
    line-height: 1;
    position: relative;
}

.account-trigger {
    width: 100%;
    height: 100%;
}

.account-initials {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #317773;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto;
    padding: 0;
    line-height: 1;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(49, 119, 115, 0.18);
}

.header_area .user-login-info a .account-initials {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1;
}

.account-initials span {
    color: #E2D1F9 !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    display: block;
    margin: 0;
    padding: 0;
    text-align: center;
    position: static;
}

.header_area .user-login-info a .account-initials span {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    display: block;
    line-height: 1;
}

.user-login-info img {
    width: 22px;
    max-width: 22px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.header-meta .cart-area a span {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 16px;
    font-weight: 700;
    color: #317773 !important;
    line-height: 1;
}

.header_area .header-meta .cart-area a span {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(31, 41, 51, 0.35);
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 991.98px) {
    .header_area .classy-nav-container {
        min-height: 70px;
        padding-left: 0;
        padding-right: 0;
    }

    .nav-brand img {
        max-height: 50px;
    }

    .header-meta .search-area {
        width: 160px;
        min-width: 160px;
    }

    .header-meta .search-area input {
        height: 70px;
        line-height: 70px;
        padding: 0 10px 0 38px;
        font-size: 13px;
    }

    .header-meta .favourite-area,
    .header-meta .user-login-info,
    .header-meta .cart-area {
        width: 48px;
        min-width: 48px;
        height: 70px;
    }

    .header-meta .favourite-area a,
    .header-meta .user-login-info a,
    .header-meta .cart-area a {
        height: 70px;
    }

    .account-initials {
        width: 34px;
        height: 34px;
    }

    .account-initials span {
        font-size: 12px;
    }

    .header-meta .cart-area a span {
        top: 15px;
        right: 8px;
        font-size: 12px;
    }

    .right-side-account-area {
        width: 300px;
        right: -320px;
    }

    .account-content {
        padding: 80px 20px 25px;
    }
}

@media (max-width: 767.98px) {
    .account-dashboard-header,
    .account-section-heading,
    .account-record-top {
        flex-direction: column;
        align-items: stretch;
    }

    .account-dashboard-links {
        min-width: 0;
        justify-content: flex-start;
    }

    .account-dashboard-link {
        width: 100%;
    }

    .account-summary-grid,
    .account-dashboard-content {
        grid-template-columns: 1fr;
    }

    .account-dashboard-section {
        padding: 18px;
    }

    .account-form-shell {
        padding: 20px 16px;
    }

    .account-form-actions {
        flex-direction: column;
    }

    .account-form-actions .btn,
    .account-form-actions .account-dashboard-link {
        width: 100%;
    }

    .account-address-layout,
    .account-address-grid,
    .account-form-grid {
        grid-template-columns: 1fr;
    }

    .account-address-form-header,
    .account-address-bottom-row {
        flex-direction: column;
        align-items: stretch;
    }

    .account-address-top-row,
    .account-address-editor-grid {
        grid-template-columns: 1fr;
    }

    .account-address-form-shell .google-address-search-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .account-address-form-shell .google-address-reset {
        width: auto;
        padding-inline: 14px;
    }

    .account-address-map-panel {
        padding: 12px;
    }

    .account-address-form-shell .google-address-map {
        height: 260px;
        min-height: 260px;
    }

    .account-address-bottom-row .account-form-actions,
    .account-address-bottom-row .essence-btn {
        width: 100%;
    }

    .account-address-card,
    .account-address-form-shell {
        padding: 18px;
    }

    .account-address-actions,
    .account-address-actions form,
    .account-address-actions .account-dashboard-link,
    .account-address-actions .account-button-reset {
        width: 100%;
    }

    .my-reviews-grid,
    .my-review-card {
        grid-template-columns: 1fr;
    }

    .my-review-card {
        padding: 18px;
    }

    .my-review-image {
        width: 96px;
        height: 112px;
    }

    .my-review-topline,
    .my-review-dates div {
        flex-direction: column;
        gap: 6px;
    }

    .my-review-dates dd {
        text-align: left;
    }

    .my-review-actions .account-dashboard-link,
    .my-review-actions .essence-btn {
        flex-basis: 100%;
        width: 100%;
    }

    .account-record-meta div {
        flex-direction: column;
        gap: 4px;
    }

    .account-record-meta dd {
        text-align: left;
    }

    .order-card h6 {
        font-size: 14px;
        word-break: break-word;
    }

    .order-badge {
        font-size: 11px;
        padding: 5px 10px;
    }

    .order-item-image {
        max-width: 120px;
    }

    .order-item-card {
        text-align: left;
    }

    .header-meta .favourite-area {
        display: none;
    }

    .header-meta .search-area {
        width: 145px;
        min-width: 145px;
    }

    .header-meta .user-login-info,
    .header-meta .cart-area {
        width: 46px;
        min-width: 46px;
    }

    .account-initials {
        width: 30px;
        height: 30px;
    }

    .account-initials span {
        font-size: 11px;
    }

    .right-side-account-area {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 575.98px) {
    .empty-cart,
    .empty-orders {
        min-height: 240px;
        padding: 20px 15px;
    }

    .header-meta .search-area {
        width: 135px;
        min-width: 135px;
    }

    .header-meta .search-area input {
        padding-left: 30px;
        padding-right: 8px;
        font-size: 12px;
    }

    .account-initials {
        width: 28px;
        height: 28px;
    }

    .account-initials span {
        font-size: 10px;
    }

    .account-avatar {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .account-dashboard-header,
    .account-dashboard-content {
        grid-template-columns: 1fr;
    }

    .account-dashboard-header {
        flex-direction: column;
    }

    .account-dashboard-links {
        justify-content: flex-start;
    }

    .account-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-address-layout {
        grid-template-columns: 1fr;
    }

    .account-address-editor-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .account-address-form-shell .google-address-map {
        height: 280px;
        min-height: 280px;
    }

    .account-address-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .my-reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   MOBILE HEADER HEIGHT ALIGNMENT
========================================= */
@media (min-width: 768px) and (max-width: 991.98px) {
    body {
        margin-top: 92px;
    }

    .header_area .classy-nav-container {
        min-height: 92px;
        flex-wrap: wrap;
        align-items: stretch !important;
        overflow-x: hidden;
    }

    .header_area .classy-navbar {
        flex: 0 0 100%;
        min-width: 100%;
        width: 100%;
        height: 44px;
        min-height: 44px;
        padding: 0 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header_area .header-meta {
        flex: 0 0 100%;
        min-width: 0;
        width: 100%;
        height: 48px;
        align-items: stretch;
        padding: 0 12px;
        gap: 4px;
    }

    .header-meta .search-area {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        border-left: none;
        border-right: 1px solid rgba(235, 235, 235, 0.75);
    }

    .header-meta .search-area form,
    .header-meta .search-area input {
        width: 100%;
        min-width: 0;
        height: 48px;
        line-height: 48px;
    }

    .header_area .search-area form input:focus,
    .header-meta .search-area input:focus {
        width: 100%;
    }

    .header-meta .favourite-area,
    .header-meta .user-login-info,
    .header-meta .cart-area {
        flex: 0 0 48px;
        width: 48px;
        min-width: 48px;
        height: 48px;
        border-right: none;
    }

    .header-meta .favourite-area a,
    .header-meta .user-login-info a,
    .header-meta .cart-area a {
        width: 48px;
        min-width: 48px;
        height: 48px;
        border-left: none;
        border-right: none;
    }

    .header-meta .cart-area a span {
        top: 8px;
        right: 6px;
    }
}

@media (max-width: 767.98px) {
    body {
        margin-top: 84px;
    }

    .header_area .classy-nav-container {
        min-height: 84px;
        flex-wrap: wrap;
        align-items: stretch !important;
        overflow-x: hidden;
    }

    .header_area .classy-navbar {
        flex: 0 0 100%;
        min-width: 100%;
        width: 100%;
        height: 40px;
        min-height: 40px;
    }

    .header_area .classy-navbar .nav-brand img {
        max-height: 34px;
    }

    .header-meta {
        flex: 0 0 100%;
        min-width: 0;
        width: 100%;
        height: 44px;
        align-items: stretch;
    }

    .header-meta .search-area {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    .header-meta .search-area form,
    .header-meta .search-area input {
        width: 100%;
        min-width: 0;
        height: 44px;
        line-height: 44px;
    }

    .header_area .search-area form input:focus,
    .header-meta .search-area input:focus {
        width: 100%;
    }

    .header-meta .favourite-area {
        display: none;
    }

    .header-meta .user-login-info,
    .header-meta .cart-area {
        flex: 0 0 44px;
        width: 44px;
        min-width: 44px;
        height: 44px;
    }

    .header-meta .user-login-info a,
    .header-meta .cart-area a {
        width: 44px;
        min-width: 44px;
        height: 44px;
    }

    .header-meta .cart-area a span {
        top: 8px;
        right: 6px;
    }

    .right-side-cart-area {
        width: calc(100vw - 16px);
        max-width: 100vw;
        right: calc(-100vw - 16px);
        overflow-x: hidden;
        overflow-y: auto;
    }

    .right-side-cart-area.cart-on {
        right: 0;
    }

    .right-side-cart-area .cart-content {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .right-side-cart-area .cart-content .cart-list,
    .right-side-cart-area .cart-content .cart-amount-summary {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .right-side-cart-area .cart-content .cart-list {
        min-height: 220px;
        padding: 12px;
    }

    .right-side-cart-area .cart-content .cart-list .single-cart-item {
        margin-bottom: 14px;
        padding: 12px;
        background-color: #ffffff;
        border: 1px solid #E4E7EC;
        border-radius: 8px;
        box-shadow: 0 6px 18px rgba(31, 41, 51, 0.08);
    }

    .right-side-cart-area .cart-content .cart-list .single-cart-item .product-image {
        display: grid;
        grid-template-columns: 80px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
        min-width: 0;
        padding-right: 40px;
        text-decoration: none;
    }

    .right-side-cart-area .cart-content .cart-list .single-cart-item .product-image .cart-thumb {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 6px;
    }

    .right-side-cart-area .cart-content .cart-list .single-cart-item .product-image .cart-item-desc {
        position: static;
        width: auto;
        height: auto;
        min-width: 0;
        padding: 0;
        background-color: transparent !important;
        display: flex;
        flex-direction: column;
    }

    .right-side-cart-area .cart-content .cart-list .single-cart-item:hover .product-image .cart-item-desc {
        background-color: transparent !important;
    }

    .right-side-cart-area .cart-content .cart-list .single-cart-item .product-image .cart-item-desc .badge,
    .right-side-cart-area .cart-content .cart-list .single-cart-item .product-image .cart-item-desc .size,
    .right-side-cart-area .cart-content .cart-list .single-cart-item .product-image .cart-item-desc .color {
        color: #667085 !important;
        font-size: 11px;
        line-height: 1.3;
        margin-bottom: 4px;
        text-align: left;
    }

    .right-side-cart-area .cart-content .cart-list .single-cart-item .product-image .cart-item-desc h6 {
        color: #1F2933 !important;
        font-size: 13px;
        line-height: 1.25;
        margin-bottom: 8px;
        overflow-wrap: anywhere;
    }

    .right-side-cart-area .cart-content .cart-list .single-cart-item .product-image .cart-item-desc .price {
        order: 5;
        color: #1F2933 !important;
        font-size: 14px;
        line-height: 1.2;
        margin: 6px 0 0;
    }

    .right-side-cart-area .cart-content .cart-list .single-cart-item .product-image .cart-item-desc .cart-item-qty {
        order: 6;
        margin: 10px 0 0;
        gap: 8px;
    }

    .right-side-cart-area .cart-content .cart-list .single-cart-item .product-remove-btn {
        top: 6px;
        right: 6px;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1F2933;
        background-color: transparent;
    }

    .right-side-cart-area .cart-content .cart-list .single-cart-item .cart-qty-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        border-radius: 6px;
    }

    .right-side-cart-area .cart-content .cart-amount-summary {
        padding: 28px 18px 32px;
    }

    .right-side-cart-area .cart-content .cart-amount-summary h2 {
        margin-bottom: 24px;
    }

    .right-side-cart-area .cart-content .cart-amount-summary .summary-table li {
        gap: 16px;
        align-items: flex-start;
        line-height: 1.4;
    }

    .right-side-cart-area .cart-content .cart-amount-summary .summary-table li span:first-child {
        flex: 1 1 auto;
        min-width: 0;
    }

    .right-side-cart-area .cart-content .cart-amount-summary .summary-table li span:last-child {
        flex: 0 0 auto;
        text-align: right;
    }

    .right-side-cart-area .cart-content .cart-amount-summary .checkout-btn {
        margin-top: 28px !important;
    }

    .right-side-cart-area .cart-content .cart-amount-summary .checkout-btn .essence-btn,
    .right-side-cart-area .cart-content .cart-amount-summary .essence-btn,
    .empty-cart-content .essence-btn {
        width: 100%;
        min-width: 0;
        padding-left: 18px;
        padding-right: 18px;
    }

    .empty-cart {
        width: 100%;
        max-width: 100%;
        min-height: 260px;
        padding: 32px 18px;
    }

    .empty-cart-content {
        width: 100%;
        max-width: 100%;
    }

    .cart-qty-btn,
    .product-remove-btn {
        min-width: 36px;
        min-height: 36px;
    }
}

/* =========================================
   MOBILE OFF-CANVAS MENU
========================================= */
.breakpoint-on .classy-navbar .classy-menu {
    background-color: var(--color-surface);
}

.breakpoint-on .classy-navbar .classy-menu .classycloseIcon {
    border-bottom: 1px solid var(--color-border);
}

.breakpoint-on .classy-navbar .classy-menu .classycloseIcon .cross-wrap span {
    background-color: var(--color-text);
}

.breakpoint-on .classynav ul li {
    border-bottom: 1px solid var(--color-border);
}

.breakpoint-on .classynav ul li a {
    min-height: 56px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    color: var(--color-text) !important;
    background-color: var(--color-surface);
}

.breakpoint-on .classynav ul li a:hover,
.breakpoint-on .classynav ul li a:focus,
.breakpoint-on .classynav ul li.cn-dropdown-item.open > a,
.breakpoint-on .classynav ul li.current-item > a,
.breakpoint-on .classynav ul li.active > a {
    color: var(--color-primary) !important;
    background-color: var(--color-page-bg);
}

.breakpoint-on .classynav ul li .dropdown,
.breakpoint-on .classynav ul li .megamenu {
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

.breakpoint-on .classynav ul li .dropdown li a,
.breakpoint-on .classynav ul li .megamenu li a {
    color: var(--color-text) !important;
    background-color: var(--color-surface);
}

.breakpoint-on .classynav ul li .dropdown li a:hover,
.breakpoint-on .classynav ul li .dropdown li a:focus,
.breakpoint-on .classynav ul li .megamenu li a:hover,
.breakpoint-on .classynav ul li .megamenu li a:focus {
    color: var(--color-primary) !important;
    background-color: var(--color-page-bg);
}

.breakpoint-on .classynav ul li.has-down > a::after,
.breakpoint-on .classynav ul li.megamenu-item > a::after,
.breakpoint-on .classynav ul li.cn-dropdown-item > a::after,
.breakpoint-on .classynav ul li .dd-arrow {
    color: var(--color-muted);
}

/* =========================================
   COLOUR SYSTEM OVERRIDES
========================================= */
body {
    background-color: var(--color-page-bg);
    color: var(--color-text);
}

.bg-white,
.right-side-cart-area,
.right-side-account-area,
.order-card,
.order-meta-box,
.order-item-card,
.checkout-account-summary,
.saved-address-card,
.modal-content {
    background-color: var(--color-surface) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.welcome_area .hero-content h2,
.cta-area .cta-content h2,
.single_catagory_area .catagory-content a,
.single-product-wrapper .product-description h6,
.single-product-wrapper .product-description p,
.single_product_details_area .single_product_desc a > h2,
.order-details-confirmation .order-details-form li,
.product-topbar .total-products p,
.product-topbar .product-sorting p,
.product-topbar .nice-select,
.account-link-item,
.empty-cart-content h5,
.empty-orders-content h5 {
    color: var(--color-text);
}

p,
.welcome_area .hero-content h6,
.single-product-wrapper .product-description span,
.single_product_details_area .single_product_desc span,
.single_product_details_area .single_product_desc .product-desc,
.empty-cart-content p,
.empty-orders-content p,
.account-suggestions li,
.checkout_details_area form label,
.order-details-confirmation .card-body p,
.text-muted {
    color: var(--color-muted) !important;
}

.header_area .classynav ul li .megamenu li a,
.header_area .classynav ul li .dropdown li a,
.widget.brands ul li a,
.widget .catagories-menu .sub-menu li > a {
    color: var(--color-text);
}

.header_area .classynav ul li a:hover,
.header_area .classynav ul li .megamenu li a:hover,
.header_area .classynav ul li .dropdown li a:hover,
.single_catagory_area:hover .catagory-content a,
.widget.brands ul li a:hover,
.widget .catagories-menu .sub-menu li > a:hover,
.product-topbar .total-products p span,
.product-topbar .nice-select .option.selected,
.checkout_details_area form label span,
.single-product-wrapper .favme.active,
.single_product_details_area .single_product_desc .nice-select .list .option.selected {
    color: var(--color-primary) !important;
}

.header_area .classy-navbar,
.header_area .header-meta,
.footer_area {
    background-color: var(--color-primary);
}

.header_area .classynav ul li a,
.footer_area .single_widget_area .footer_menu ul li a,
.footer_area .single_widget_area .footer_widget_menu li a,
.footer_area .single_widget_area .footer_heading h6,
.footer_area .single_widget_area .footer_social_area a,
.footer_area .single_widget_area .subscribtion_form form button {
    color: var(--color-surface);
}

.footer_area .single_widget_area .subscribtion_form form input {
    color: var(--color-surface);
    border-bottom-color: rgba(var(--color-surface-rgb), 0.75);
}

.footer_area .single_widget_area .subscribtion_form form input::placeholder {
    color: rgba(var(--color-surface-rgb), 0.78);
}

.footer_area .single_widget_area .subscribtion_form form input:focus {
    color: var(--color-surface);
    border-bottom-color: var(--color-surface);
}

.essence-btn,
.btn.essence-btn,
#scrollUp,
.account-avatar,
.account-initials {
    background-color: var(--color-primary);
    color: var(--color-surface) !important;
}

.essence-btn:hover,
.essence-btn:focus,
.btn.essence-btn:hover,
.btn.essence-btn:focus,
.account-link-item:hover,
.account-link-item:focus {
    background-color: var(--color-secondary);
    color: var(--color-primary-dark) !important;
}

.header-meta .cart-area a span,
.right-side-cart-area .cart-button a span,
.account-close-btn button,
.logout-link,
.logout-link:hover,
.account-suggestions h6 {
    color: var(--color-primary) !important;
}

.header-meta .search-area,
.header-meta .favourite-area,
.header-meta .user-login-info,
.header-meta .cart-area,
.header-meta .favourite-area a,
.header-meta .user-login-info a,
.header-meta .cart-area a,
.checkout_details_area form .form-control,
.checkout_details_area form .nice-select,
.order-card,
.order-meta-box,
.order-item-card,
.order-details-confirmation,
.order-details-confirmation .order-details-form li,
.account-user-box,
.account-link-item,
.account-suggestions,
.cart-qty-btn {
    border-color: var(--color-border) !important;
}

.header-meta .search-area,
.header-meta .search-area input,
.right-side-cart-area .cart-button a,
.cart-qty-btn,
.cart-qty-btn:hover,
.order-number-box,
.account-suggestions,
.brands-area,
.single_product_details_area .single_product_desc .nice-select .list,
.product-topbar .nice-select .list {
    background-color: var(--color-page-bg);
}

.header-meta .search-area input,
.checkout_details_area form .form-control,
.checkout_details_area form .nice-select,
.modal-content .form-control {
    color: var(--color-text);
}

.header-meta .search-area input::placeholder,
.checkout_details_area form .form-control::placeholder,
.modal-content .form-control::placeholder {
    color: var(--color-muted);
}

.header-meta .search-area input:focus,
.checkout_details_area form .form-control:focus,
.modal-content .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.12rem rgba(var(--color-primary-rgb), 0.15);
}

.single-product-wrapper .product-badge.offer-badge span,
.single-product-wrapper .product-badge.new-badge span,
.single_product_details_area .single_product_desc .product-price,
.cta-area .cta-content h6 {
    color: var(--color-accent);
}

.single-product-wrapper .product-badge.offer-badge,
.single-product-wrapper .product-badge.new-badge {
    background-color: var(--color-accent);
}

.single-product-wrapper .product-badge.offer-badge span,
.single-product-wrapper .product-badge.new-badge span {
    color: var(--color-surface);
}

.single_product_details_area .single_product_desc .product-price span,
.single-product-wrapper .product-description p span {
    color: var(--color-muted);
}

.single-product-wrapper .favme,
.single_product_details_area .single_product_desc .cart-fav-box .favme {
    color: var(--color-muted);
}

.single-product-wrapper .favme.active,
.single_product_details_area .single_product_desc .cart-fav-box .favme.active {
    color: var(--color-accent) !important;
}

.right-side-cart-area .cart-content .cart-list .single-cart-item .product-image .cart-item-desc {
    background-color: rgba(var(--color-text-rgb), 0.76);
}

/* Two-step checkout */
.checkout-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 24px;
}

.checkout-stepper-item {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-surface);
    color: var(--color-muted);
    font-weight: 800;
}

.checkout-stepper-item span {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-page-bg);
    color: inherit;
    font-size: 13px;
}

.checkout-stepper-item.active,
.checkout-stepper-item.completed {
    border-color: rgba(var(--color-primary-rgb), 0.28);
    background: #EAF5F4;
    color: var(--color-primary-dark);
}

.checkout-stepper-item.active span {
    background: var(--color-primary);
    color: #FFFFFF;
}

.checkout-stepper-arrow {
    color: var(--color-muted);
    font-weight: 800;
}

.checkout-two-step-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
    gap: 24px;
    align-items: start;
}

.checkout-step-card {
    min-width: 0;
    padding: 24px;
    border: 1px solid #D0D7E2;
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: 0 16px 40px rgba(var(--color-text-rgb), 0.08);
}

.checkout-step-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E2E8F0;
}

.checkout-step-kicker {
    margin-bottom: 5px;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.checkout-step-card-header h5,
.checkout-subsection-heading h6,
.checkout-payment-options h6,
.checkout-payment-summary-card h6 {
    color: #1F2937;
    font-weight: 800;
}

.checkout-step-card-header p,
.checkout-subsection-heading p,
.checkout-payment-option small,
.checkout-payment-summary-card p,
.checkout-selected-rate small {
    color: #667085;
}

.checkout-subsection {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #E2E8F0;
}

.checkout-subsection:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.checkout-saved-address-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.checkout-select-card {
    display: grid !important;
    gap: 5px;
    margin: 0;
    padding: 14px !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 12px !important;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.checkout-select-card:has(input:checked) {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.12);
}

.checkout-select-card:hover {
    border-color: #94A3B8 !important;
    transform: translateY(-1px);
}

.checkout-select-card strong {
    color: #1F2937;
    line-height: 1.35;
}

.checkout-select-card small {
    color: #667085;
    line-height: 1.35;
}

.checkout-new-address-toggle {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #1F2937;
    font-weight: 800;
    cursor: pointer;
}

.checkout-new-address-fields {
    margin-top: 12px;
    padding: 16px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    background: #F8FAFC;
}

.checkout-new-address-fields label,
.checkout-payment-form label {
    color: #334155;
    font-weight: 800;
}

.checkout-new-address-fields .form-control,
.checkout-payment-form .form-control {
    border: 1.5px solid #CBD5E1 !important;
    background: #FFFFFF !important;
    color: #1F2937 !important;
}

.checkout-new-address-fields .form-control:focus,
.checkout-payment-form .form-control:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.16) !important;
}

.checkout-shipping-box {
    padding: 16px;
    border: 1px solid #D0D7E2;
    border-radius: 12px;
    background: #FFFFFF;
}

.checkout-shipping-help,
.checkout-shipping-message {
    margin: 10px 0 0;
    color: #667085;
    font-size: 13px;
}

.checkout-shipping-message.is-success {
    color: #126B45;
    font-weight: 800;
}

.checkout-shipping-message.is-error {
    color: var(--color-error);
    font-weight: 800;
}

.checkout-shipping-group {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.checkout-shipping-group h6 {
    margin-bottom: 0;
    color: #1F2937;
    font-weight: 800;
}

.checkout-shipping-rate {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    margin: 0;
    padding: 12px;
    border: 1.5px solid #CBD5E1;
    border-radius: 10px;
    background: #FFFFFF;
    cursor: pointer;
}

.checkout-shipping-rate:has(input:checked) {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.12);
}

.checkout-shipping-rate-content {
    display: grid;
    gap: 2px;
}

.checkout-shipping-rate-content strong,
.checkout-shipping-rate-price,
.checkout-selected-rate strong,
.checkout-selected-rate span {
    color: #1F2937;
    font-weight: 800;
}

.checkout-order-summary-card .order-details-form {
    display: grid;
    gap: 0;
}

.checkout-order-summary-card .order-details-form li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: baseline;
    gap: 18px;
    padding: 10px 0;
    border-bottom: 1px solid #E2E8F0;
    color: #475569;
    line-height: 1.45;
}

.checkout-order-summary-card .order-details-form li:last-child {
    border-bottom: 0;
}

.checkout-order-summary-card .order-details-form li > span:first-child {
    min-width: 0;
    color: #475569;
    font-weight: 700;
    word-break: normal;
    overflow-wrap: anywhere;
}

.checkout-currency-amount,
.checkout-shipping-rate-price,
.checkout-selected-rate .checkout-currency-amount {
    display: inline-block;
    min-width: 86px;
    color: #172033 !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 800;
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
    letter-spacing: 0.018em;
    line-height: 1.35;
    text-align: right;
    white-space: nowrap;
    text-rendering: geometricPrecision;
}

.checkout-order-summary-card .order-details-form li:last-child .checkout-currency-amount,
.checkout-order-summary-card .order-details-form li:last-child > span:first-child {
    color: #172033 !important;
    font-size: 16px;
    font-weight: 900;
}

.checkout-shipping-rate-content small {
    color: #667085;
}

.checkout-primary-action {
    width: 100%;
    margin-top: 18px;
}

.checkout-order-summary-card {
    position: sticky;
    top: 110px;
}

.checkout-payment-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.checkout-payment-summary-card {
    padding: 16px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    background: #F8FAFC;
}

.checkout-payment-summary-card p {
    margin-bottom: 4px;
    line-height: 1.45;
}

.checkout-selected-rate {
    display: grid;
    gap: 4px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #E2E8F0;
}

.checkout-selected-rate:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.checkout-payment-options {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.checkout-payment-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: flex-start;
    margin: 0;
    padding: 14px;
    border: 1.5px solid #CBD5E1;
    border-radius: 12px;
    background: #FFFFFF;
    cursor: pointer;
}

.checkout-payment-option:has(input:checked) {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.12);
}

.checkout-payment-option span {
    display: grid;
    gap: 3px;
}

.checkout-payment-option strong {
    color: #1F2937;
}

.checkout-payment-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

@media (max-width: 991.98px) {
    .checkout-two-step-grid {
        grid-template-columns: 1fr;
    }

    .checkout-order-summary-card {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .checkout-stepper {
        gap: 8px;
    }

    .checkout-stepper-item {
        flex: 1 1 0;
        justify-content: center;
        padding-inline: 10px;
    }

    .checkout-stepper-arrow {
        display: none;
    }

    .checkout-step-card {
        padding: 18px;
    }

    .checkout-step-card-header,
    .checkout-payment-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-saved-address-grid,
    .checkout-payment-summary-grid {
        grid-template-columns: 1fr;
    }

    .checkout-shipping-rate {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .checkout-shipping-rate-price {
        grid-column: 2;
        justify-self: end;
    }

    .checkout-order-summary-card .order-details-form li {
        gap: 12px;
        padding: 9px 0;
    }

    .checkout-currency-amount,
    .checkout-shipping-rate-price,
    .checkout-selected-rate .checkout-currency-amount {
        min-width: 78px;
        font-size: 14px;
        letter-spacing: 0.014em;
    }

    .checkout-payment-actions .btn,
    .checkout-payment-actions .account-dashboard-link {
        width: 100%;
    }
}

.right-side-cart-area .cart-content .cart-list .single-cart-item:hover .product-image .cart-item-desc {
    background-color: rgba(var(--color-text-rgb), 0.88);
}

.right-side-cart-area .cart-content .cart-list .single-cart-item .product-image .cart-item-desc .badge,
.right-side-cart-area .cart-content .cart-list .single-cart-item .product-image .cart-item-desc .size,
.right-side-cart-area .cart-content .cart-list .single-cart-item .product-image .cart-item-desc .color {
    color: rgba(var(--color-surface-rgb), 0.78);
}

.right-side-cart-area .cart-content .cart-list .single-cart-item .product-image .cart-item-desc h6,
.right-side-cart-area .cart-content .cart-list .single-cart-item .product-image .cart-item-desc .price {
    color: var(--color-surface);
}

.status-pending {
    background: rgba(var(--color-warning-rgb), 0.14);
    color: var(--color-warning);
}

.status-paid,
.status-delivered,
.status-approved {
    background: rgba(var(--color-success-rgb), 0.14);
    color: var(--color-success);
}

.status-processing,
.status-shipped {
    background: rgba(var(--color-primary-rgb), 0.14);
    color: var(--color-primary-dark);
}

.status-cancelled {
    background: rgba(var(--color-error-rgb), 0.14);
    color: var(--color-error);
}

.status-rejected {
    background: rgba(var(--color-error-rgb), 0.14);
    color: var(--color-error);
}

/* =========================================
   PRODUCT CARD RESPONSIVENESS
========================================= */
.single-product-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.owl-item .single-product-wrapper {
    height: 100%;
}

.single-product-wrapper .product-img {
    aspect-ratio: 3 / 4;
    background-color: var(--color-page-bg);
}

.single-product-wrapper .product-img a {
    display: block;
    height: 100%;
}

.single-product-wrapper .product-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-product-wrapper .product-img .hover-img {
    height: 100%;
    object-fit: cover;
}

.single-product-wrapper .product-description {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.single-product-wrapper .product-description > span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.single-product-wrapper .product-description h6 {
    display: -webkit-box;
    min-height: 2.7em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.single-product-wrapper .product-description .product-price {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    align-items: baseline;
}

.single-product-wrapper .product-description .product-price .old-price {
    margin-right: 0;
}

.single-product-wrapper .product-description .hover-content .essence-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767.98px) {
    .single-product-wrapper .product-img .product-badge {
        top: 12px;
        left: 12px;
    }

    .single-product-wrapper .product-img .product-favourite a {
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
        opacity: 1;
        visibility: visible;
        line-height: 44px;
    }

    .single-product-wrapper .product-description .hover-content {
        position: static;
        width: 100%;
        margin-top: 16px;
        opacity: 1;
        visibility: visible;
    }

    .single-product-wrapper .product-description .hover-content .add-to-cart-btn,
    .single-product-wrapper .product-description .hover-content .essence-btn {
        width: 100%;
    }

    .single-product-wrapper .product-description .hover-content .essence-btn {
        min-width: 0;
        padding-right: 18px;
        padding-left: 18px;
    }
}

@media (max-width: 767.98px) {
    .homepage-product-grid,
    .products-grid,
    .search-results-grid,
    .vendor-products-grid,
    .related-products-grid,
    .recently-viewed-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        align-items: start;
    }

    .homepage #featured-products,
    .homepage #new-arrivals,
    .homepage #top-rated-products {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .homepage-section__header,
    .products-browser-header,
    .search-results-header,
    .vendor-store-section-header {
        margin-bottom: 18px;
    }

    .homepage-section__header h2,
    .products-browser-header h3,
    .search-results-header h3,
    .vendor-store-section-header h2 {
        font-size: 22px;
        line-height: 1.2;
    }

    .homepage-section__header p,
    .products-browser-header p,
    .search-results-header p,
    .vendor-store-section-header p {
        font-size: 13px;
        line-height: 1.5;
    }

    .single-product-wrapper {
        min-width: 0;
        overflow: hidden;
        border: 1px solid rgba(228, 231, 236, 0.95);
        border-radius: 8px;
        background: var(--color-surface);
        box-shadow: 0 8px 18px rgba(31, 41, 51, 0.06);
    }

    .single-product-wrapper .product-img {
        aspect-ratio: 3 / 4;
        min-height: 0;
        overflow: hidden;
    }

    .single-product-wrapper .product-img a,
    .single-product-wrapper .product-img img,
    .single-product-wrapper .product-img .hover-img {
        height: 100%;
    }

    .single-product-wrapper .product-img img,
    .single-product-wrapper .product-img .hover-img {
        object-fit: cover;
    }

    .single-product-wrapper .product-img .product-favourite a {
        top: 8px;
        right: 8px;
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
        border: 1px solid rgba(228, 231, 236, 0.9);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 5px 14px rgba(31, 41, 51, 0.12);
        font-size: 14px;
        line-height: 34px;
        opacity: 1;
        visibility: visible;
    }

    .single-product-wrapper .product-img .product-badge {
        top: 8px;
        left: 8px;
        min-height: 24px;
        padding: 0 8px;
        border-radius: 999px;
    }

    .single-product-wrapper .product-img .product-badge span {
        font-size: 10px;
        line-height: 24px;
    }

    .single-product-wrapper .product-description {
        padding: 10px 9px 11px;
    }

    .single-product-wrapper .product-description > span {
        margin-bottom: 4px;
        color: var(--color-muted) !important;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0;
        line-height: 1.2;
    }

    .single-product-wrapper .product-description h6 {
        min-height: 34px;
        margin-bottom: 6px;
        color: var(--color-text);
        font-size: 12px;
        font-weight: 700;
        line-height: 1.35;
        -webkit-line-clamp: 2;
    }

    .single-product-wrapper .product-description .product-card-rating {
        min-height: 16px;
        margin: 0 0 6px;
        gap: 4px;
        font-size: 10px;
        white-space: nowrap;
    }

    .single-product-wrapper .product-card-stars {
        gap: 1px;
        font-size: 10px;
    }

    .single-product-wrapper .product-card-rating-text,
    .single-product-wrapper .product-card-rating.no-reviews {
        font-size: 10px;
    }

    .single-product-wrapper .product-description .product-price {
        margin-bottom: 8px;
        gap: 2px 6px;
        color: var(--color-accent);
        font-size: 14px;
        font-weight: 800;
        line-height: 1.2;
    }

    .single-product-wrapper .product-description .product-price .old-price {
        font-size: 11px;
    }

    .single-product-wrapper .product-description .hover-content {
        position: static;
        width: 100%;
        margin-top: auto;
        opacity: 1;
        visibility: visible;
    }

    .single-product-wrapper .product-description .hover-content .add-to-cart-btn,
    .single-product-wrapper .product-description .hover-content .essence-btn {
        width: 100%;
    }

    .single-product-wrapper .product-description .hover-content .essence-btn {
        min-width: 0;
        min-height: 38px;
        padding: 0 8px;
        border-radius: 7px;
        font-size: 11px;
        font-weight: 800;
        line-height: 38px;
        white-space: nowrap;
    }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
    .homepage-product-grid,
    .products-grid,
    .search-results-grid,
    .vendor-products-grid,
    .related-products-grid,
    .recently-viewed-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}
.header-meta .favourite-area a {
    position: relative;
}

.header-meta .favourite-area a #headerWishlistCount {
    position: absolute;
    top: 14px;
    right: 18px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--color-accent);
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    transform: none;
}

.wishlist-toggle {
    border: 0;
    cursor: pointer;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.wishlist-toggle.active,
.single-product-wrapper .favme.active,
.single_product_details_area .single_product_desc .cart-fav-box .favme.active {
    color: var(--color-accent) !important;
}

.wishlist-toggle.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

.product-card-rating {
    min-height: 20px;
    margin: 6px 0 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.product-card-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1;
}

.product-card-stars .filled {
    color: var(--color-warning);
}

.product-card-rating-text {
    color: var(--color-text);
    font-size: 12px;
    font-weight: 700;
}

.product-card-rating.no-reviews {
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 600;
}

.variant-help-text {
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.5;
    margin-top: -18px;
    margin-bottom: 20px;
}

.single_product_details_area .single_product_desc .nice-select .option.disabled,
.single_product_details_area .single_product_desc select option:disabled {
    color: #98A2B3;
    cursor: not-allowed;
    opacity: 0.65;
}

.cart-stock-warning {
    color: var(--color-error);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    margin: 6px 0 8px;
}

.cart-qty-btn:disabled,
.quick-add-btn.disabled,
#singleProductAddToCartBtn:disabled {
    cursor: not-allowed;
    opacity: 0.65;
    pointer-events: none;
}

.single-product-wrapper .product-description .hover-content .quick-add-btn.disabled,
.single-product-wrapper .product-description .hover-content .quick-add-btn.disabled:hover,
.single-product-wrapper .product-description .hover-content .quick-add-btn.disabled:focus {
    border: 1px solid #255F5B;
    background: #255F5B !important;
    color: #FFFFFF !important;
    opacity: 1;
    box-shadow: 0 8px 18px rgba(37, 95, 91, 0.22);
    cursor: not-allowed;
    pointer-events: none;
}

.checkout-stock-warning {
    border-color: rgba(183, 121, 31, 0.28);
    color: #6B4A0B;
}

.quick-add-help,
.quick-add-stock-note {
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.5;
}

.quick-add-stock-note {
    min-height: 20px;
    margin-top: -4px;
    margin-bottom: 12px;
    font-weight: 600;
}

.variant-reset-options,
.quick-add-reset {
    background: transparent;
    border: 0;
    color: var(--color-primary);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    margin: -6px 0 14px;
    padding: 0;
    text-decoration: underline;
}

.variant-reset-options:focus,
.quick-add-reset:focus {
    outline: 2px solid rgba(49, 119, 115, 0.35);
    outline-offset: 3px;
}

#quickAddToCartModal .form-control {
    min-height: 46px;
}

#quickAddToCartModal option:disabled {
    color: #98A2B3;
}

.wishlist-page-area {
    background: var(--color-page-bg);
}

.wishlist-header {
    margin-bottom: 28px;
}

.wishlist-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.wishlist-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
}

.wishlist-card-image {
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--color-page-bg);
}

.wishlist-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wishlist-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

.wishlist-card-brand {
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.wishlist-card h4 {
    margin: 0;
    font-size: 17px;
    line-height: 1.35;
}

.wishlist-card h4 a {
    color: var(--color-text);
}

.wishlist-card-price {
    margin: 0;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 700;
}

.wishlist-card-price .old-price {
    margin-right: 8px;
    color: var(--color-muted);
    font-weight: 500;
    text-decoration: line-through;
}

.wishlist-card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: auto;
}

.wishlist-card-actions .btn,
.wishlist-remove-btn {
    min-height: 44px;
}

.wishlist-view-btn {
    width: 100%;
}

.wishlist-remove-btn {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 0;
    background: #ffffff;
    color: var(--color-accent);
    font-weight: 700;
}

.wishlist-remove-btn:hover,
.wishlist-remove-btn:focus {
    border-color: var(--color-accent);
    background: var(--color-page-bg);
    color: var(--color-accent-dark);
}

.wishlist-empty-state {
    max-width: 560px;
    margin: 0 auto;
    padding: 32px 20px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
    text-align: center;
}

.wishlist-empty-state h4 {
    margin-bottom: 10px;
    color: var(--color-text);
}

.wishlist-empty-state p {
    color: var(--color-muted);
}

.search-results-area {
    background: var(--color-page-bg);
}

.search-results-header {
    max-width: 760px;
    margin-bottom: 28px;
}

.search-results-header h3 {
    margin-bottom: 8px;
    color: var(--color-text);
    font-size: 30px;
    line-height: 1.2;
}

.search-results-header p {
    margin-bottom: 0;
    color: var(--color-muted);
}

.search-results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    min-width: 0;
}

.search-empty-state {
    max-width: 560px;
    padding: 32px 20px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
    text-align: center;
}

.search-empty-state h4 {
    margin-bottom: 10px;
    color: var(--color-text);
    font-size: 20px;
    line-height: 1.35;
}

.search-empty-state p {
    color: var(--color-muted);
}

@media (max-width: 767.98px) {
    .header-meta .favourite-area a #headerWishlistCount {
        top: 6px;
        right: 6px;
    }

    .search-results-header h3 {
        font-size: 24px;
    }
}

@media (min-width: 768px) {
    .wishlist-grid,
    .search-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .wishlist-grid,
    .search-results-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .wishlist-grid,
    .search-results-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Homepage marketplace redesign */
.homepage {
    background: var(--color-page-bg);
    overflow-x: hidden;
}

.homepage-hero {
    min-height: 420px;
    background-position: center;
    background-size: cover;
}

.homepage-hero__overlay {
    min-height: 420px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.38) 52%, rgba(0, 0, 0, 0.24) 100%),
        linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18));
}

.homepage-hero__content {
    max-width: 640px;
    padding: 56px 0;
    color: #ffffff;
}

.homepage-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.homepage-hero .homepage-kicker {
    color: var(--color-secondary);
}

.homepage-hero h1 {
    margin-bottom: 18px;
    color: #ffffff;
    font-size: 50px;
    font-weight: 700;
    line-height: 1.06;
}

.homepage-hero p {
    max-width: 520px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    line-height: 1.6;
}

.homepage-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.homepage-secondary-btn {
    min-width: 170px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    line-height: 48px;
}

.homepage-secondary-btn:hover,
.homepage-secondary-btn:focus {
    background: #ffffff;
    color: var(--color-primary) !important;
    outline: 2px solid rgba(255, 255, 255, 0.55);
    outline-offset: 3px;
}

.homepage-section {
    padding: 88px 0;
    background: var(--color-surface);
}

.homepage-section--soft {
    background: var(--color-page-bg);
}

.homepage-section__header {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

.homepage-section__header h2,
.homepage-delivery-banner h2 {
    margin-bottom: 14px;
    color: var(--color-text);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.homepage-section__header h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: var(--color-primary);
}

.homepage-section__header p {
    margin-bottom: 0;
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.7;
}

.homepage-category-grid,
.homepage-product-grid,
.homepage-vendor-grid,
.homepage-trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.homepage-category-card,
.homepage-vendor-card,
.homepage-trust-card {
    min-width: 0;
    border: 1px solid rgba(228, 231, 236, 0.92);
    border-radius: 8px;
    background: var(--color-surface);
    box-shadow: 0 10px 24px rgba(31, 41, 51, 0.05);
}

.homepage-category-card {
    display: flex;
    min-height: 132px;
    flex-direction: column;
    justify-content: center;
    padding: 26px;
    color: var(--color-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.homepage-category-card:hover,
.homepage-category-card:focus {
    border-color: var(--color-primary);
    color: var(--color-text);
    box-shadow: 0 16px 32px rgba(31, 41, 51, 0.1);
    transform: translateY(-3px);
    outline: none;
}

.homepage-category-card__icon,
.homepage-vendor-card__initial,
.homepage-trust-card span {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-secondary);
    color: var(--color-primary);
}

.homepage-category-card__name {
    margin-top: 14px;
    color: var(--color-text);
    font-size: 18px;
    font-weight: 600;
}

.homepage-category-card__text {
    margin-top: 8px;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.6;
}

.homepage-product-grid {
    align-items: stretch;
}

.homepage-product-grid .single-product-wrapper {
    height: 100%;
    margin-bottom: 0;
    background: var(--color-surface);
}

.homepage-vendor-card,
.homepage-trust-card {
    padding: 28px;
}

a.homepage-vendor-card {
    display: block;
    color: inherit;
}

a.homepage-vendor-card:hover,
a.homepage-vendor-card:focus {
    color: inherit;
    border-color: rgba(49, 119, 115, 0.38);
    box-shadow: 0 14px 30px rgba(31, 41, 51, 0.1);
    transform: translateY(-3px);
}

.homepage-vendor-card__logo {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 50%;
}

.homepage-vendor-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.homepage-vendor-card__initial {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    font-size: 22px;
    font-weight: 700;
}

.homepage-vendor-card h3,
.homepage-trust-card h3 {
    margin-bottom: 10px;
    color: var(--color-text);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.homepage-vendor-card p,
.homepage-trust-card p {
    margin-bottom: 0;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.6;
}

.product-vendor-link {
    color: var(--color-primary);
    font-weight: 700;
}

.product-vendor-link:hover,
.product-vendor-link:focus {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.homepage-trust-section {
    background: var(--color-surface);
}

.homepage-trust-card span {
    margin-bottom: 18px;
    color: var(--color-primary);
}

.homepage-delivery-banner {
    padding: 0 0 88px;
    background: var(--color-surface);
}

.homepage-delivery-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 34px;
    border-radius: 8px;
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(37, 95, 91, 0.18);
}

.homepage-delivery-banner .homepage-kicker,
.homepage-delivery-banner h2 {
    color: #ffffff;
}

.homepage-delivery-banner h2 {
    margin-bottom: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
}

.homepage-delivery-banner .essence-btn {
    flex: 0 0 auto;
    background: #ffffff;
    color: var(--color-primary);
}

.homepage-delivery-banner .essence-btn:hover,
.homepage-delivery-banner .essence-btn:focus {
    background: var(--color-secondary);
    color: var(--color-primary-dark);
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 3px;
}

@media (max-width: 767.98px) {
    .homepage-hero,
    .homepage-hero__overlay {
        min-height: 360px;
    }

    .homepage-hero__overlay {
        background:
            linear-gradient(90deg, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0.44) 100%),
            linear-gradient(rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.16));
    }

    .homepage-hero__content {
        padding: 42px 0;
    }

    .homepage-hero h1 {
        font-size: 34px;
    }

    .homepage-hero p {
        font-size: 15px;
        line-height: 1.65;
    }

    .homepage-hero__actions .btn,
    .homepage-delivery-banner .btn {
        width: 100%;
        min-height: 44px;
    }

    .homepage-section {
        padding: 56px 0;
    }

    .homepage-section__header {
        margin-bottom: 28px;
        text-align: left;
    }

    .homepage-section__header h2,
    .homepage-delivery-banner h2 {
        font-size: 28px;
    }

    .homepage-section__header h2::after {
        margin-left: 0;
    }

    .homepage-delivery-banner {
        padding-bottom: 56px;
    }

    .homepage-delivery-banner__inner {
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
    }
}

@media (min-width: 768px) {
    .homepage-category-grid,
    .homepage-product-grid,
    .homepage-vendor-grid,
    .homepage-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homepage-section {
        padding: 76px 0;
    }

    .homepage-delivery-banner {
        padding-bottom: 76px;
    }
}

@media (min-width: 992px) {
    .homepage-section {
        padding: 92px 0;
    }

    .homepage-delivery-banner {
        padding-bottom: 92px;
    }

    .homepage-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .homepage-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .homepage-product-grid--compact,
    .homepage-vendor-grid,
    .homepage-trust-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Homepage contrast overrides */
.homepage .homepage-hero .homepage-hero__content .homepage-kicker {
    color: #ffffff !important;
    font-weight: 700;
    opacity: 1;
}

.homepage .homepage-hero .homepage-hero__content h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.homepage .homepage-hero .homepage-hero__content p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 400;
    line-height: 1.7;
    opacity: 1;
}

.homepage .homepage-hero .homepage-hero__actions .homepage-secondary-btn,
.homepage .homepage-hero .homepage-hero__actions a.homepage-secondary-btn {
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
}

.homepage .homepage-hero .homepage-hero__actions .homepage-secondary-btn:hover,
.homepage .homepage-hero .homepage-hero__actions .homepage-secondary-btn:focus,
.homepage .homepage-hero .homepage-hero__actions a.homepage-secondary-btn:hover,
.homepage .homepage-hero .homepage-hero__actions a.homepage-secondary-btn:focus {
    background: #ffffff;
    color: var(--color-primary) !important;
}

.homepage .homepage-section .homepage-section__header p,
.homepage .homepage-category-card .homepage-category-card__text,
.homepage .homepage-vendor-card p,
.homepage .homepage-trust-card p {
    color: #667085 !important;
    opacity: 1;
}

.homepage .homepage-trust-section .homepage-trust-card span,
.homepage .homepage-trust-section .homepage-trust-card span i {
    color: var(--color-primary) !important;
    opacity: 1;
}

.homepage .homepage-trust-section .homepage-trust-card h3 {
    color: #1F2933 !important;
    opacity: 1;
}

.homepage .homepage-trust-section .homepage-trust-card p {
    color: #667085 !important;
    opacity: 1;
}

.homepage .homepage-delivery-banner .homepage-kicker,
.homepage .homepage-delivery-banner h2 {
    color: #ffffff !important;
    opacity: 1;
}

.homepage .homepage-delivery-banner p {
    color: rgba(255, 255, 255, 0.9) !important;
    opacity: 1;
}

.homepage .homepage-delivery-banner .btn.essence-btn,
.homepage .homepage-delivery-banner a.btn.essence-btn,
.homepage .homepage-delivery-banner .essence-btn {
    border-color: #ffffff;
    background: #ffffff;
    color: var(--color-primary) !important;
}

.homepage .homepage-delivery-banner .btn.essence-btn *,
.homepage .homepage-delivery-banner a.btn.essence-btn *,
.homepage .homepage-delivery-banner .essence-btn * {
    color: var(--color-primary) !important;
}

.homepage .homepage-delivery-banner .btn.essence-btn:hover,
.homepage .homepage-delivery-banner .btn.essence-btn:focus,
.homepage .homepage-delivery-banner a.btn.essence-btn:hover,
.homepage .homepage-delivery-banner a.btn.essence-btn:focus,
.homepage .homepage-delivery-banner .essence-btn:hover,
.homepage .homepage-delivery-banner .essence-btn:focus {
    border-color: var(--color-secondary);
    background: var(--color-secondary);
    color: var(--color-primary-dark) !important;
}

.homepage .homepage-delivery-banner .btn.essence-btn:hover *,
.homepage .homepage-delivery-banner .btn.essence-btn:focus *,
.homepage .homepage-delivery-banner a.btn.essence-btn:hover *,
.homepage .homepage-delivery-banner a.btn.essence-btn:focus *,
.homepage .homepage-delivery-banner .essence-btn:hover *,
.homepage .homepage-delivery-banner .essence-btn:focus * {
    color: var(--color-primary-dark) !important;
}

/* Product browsing page */
.products-browser-area {
    background: var(--color-page-bg);
}

.products-browser-header {
    max-width: 760px;
    margin-bottom: 30px;
}

.products-browser-header h3 {
    margin-bottom: 8px;
    color: var(--color-text);
    font-size: 30px;
    line-height: 1.2;
}

.products-browser-header p {
    margin-bottom: 0;
    color: var(--color-muted) !important;
}

.products-browser-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    min-width: 0;
}

.products-filter-panel,
.products-empty-state {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
}

.products-filter-panel {
    padding: 18px;
}

.products-filter-form {
    display: grid;
    gap: 16px;
}

.products-filter-group {
    display: grid;
    gap: 7px;
}

.products-filter-group label,
.products-filter-checks label {
    margin-bottom: 0;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 700;
}

.products-filter-group select,
.products-filter-group input {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--color-text);
    font-size: 14px;
}

.products-filter-group select {
    padding: 0 12px;
}

.products-filter-group input {
    padding: 0 12px;
}

.products-filter-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.products-filter-checks {
    display: grid;
    gap: 10px;
}

.products-filter-checks label {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-page-bg);
}

.products-filter-checks input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.products-filter-actions {
    display: grid;
    gap: 10px;
}

.products-filter-actions .essence-btn,
.products-reset-link {
    min-height: 44px;
}

.products-reset-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 0;
    background: #ffffff;
    color: var(--color-primary) !important;
    font-weight: 700;
}

.products-reset-link:hover,
.products-reset-link:focus {
    border-color: var(--color-primary);
    background: var(--color-page-bg);
    color: var(--color-primary-dark) !important;
}

.products-results-panel {
    min-width: 0;
}

.products-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.products-active-filters span {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--color-secondary);
    color: var(--color-primary-dark);
    font-size: 12px;
    font-weight: 700;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    min-width: 0;
}

.products-grid .single-product-wrapper {
    height: 100%;
    margin-bottom: 0;
    background: var(--color-surface);
}

.products-empty-state {
    max-width: 580px;
    padding: 32px 20px;
    text-align: center;
}

.products-empty-state h4 {
    margin-bottom: 10px;
    color: var(--color-text);
    font-size: 20px;
    line-height: 1.35;
}

.products-empty-state p {
    color: var(--color-muted) !important;
}

@media (max-width: 767.98px) {
    .products-browser-header h3 {
        font-size: 24px;
    }

    .products-filter-actions .btn,
    .products-reset-link,
    .products-empty-state .btn {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .products-filter-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .products-filter-actions {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .products-browser-layout {
        grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
        align-items: start;
    }

    .products-filter-panel {
        position: sticky;
        top: 96px;
    }

    .products-filter-row,
    .products-filter-actions {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Public vendor store page */
.vendor-store-page {
    background: var(--color-page-bg);
    overflow-x: hidden;
}

.vendor-store-hero {
    padding: 72px 0 34px;
    background: linear-gradient(135deg, rgba(49, 119, 115, 0.1), rgba(226, 209, 249, 0.34));
}

.vendor-store-hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
    min-width: 0;
}

.vendor-store-hero__media {
    display: inline-flex;
    width: 92px;
    height: 92px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-surface);
    color: var(--color-primary);
    font-size: 38px;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(31, 41, 51, 0.1);
}

.vendor-store-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vendor-store-hero__content {
    min-width: 0;
}

.vendor-store-hero__content h1 {
    margin-bottom: 14px;
    color: var(--color-text);
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
}

.vendor-store-hero__content p {
    max-width: 720px;
    margin-bottom: 14px;
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.7;
}

.vendor-store-joined {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border: 1px solid rgba(49, 119, 115, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--color-primary-dark);
    font-size: 13px;
    font-weight: 700;
}

.vendor-store-stats {
    padding: 24px 0 0;
    background: var(--color-page-bg);
}

.vendor-store-stats__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.vendor-store-stats__grid article {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
}

.vendor-store-stats__grid span {
    display: block;
    margin-bottom: 4px;
    color: var(--color-primary);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
}

.vendor-store-stats__grid p {
    margin-bottom: 0;
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 700;
}

.vendor-store-products {
    background: var(--color-page-bg);
}

.vendor-store-section-header {
    max-width: 760px;
    margin-bottom: 30px;
}

.vendor-store-section-header h2 {
    margin-bottom: 8px;
    color: var(--color-text);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
}

.vendor-store-section-header p {
    margin-bottom: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

.vendor-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    min-width: 0;
}

.vendor-products-grid .single-product-wrapper {
    height: 100%;
    margin-bottom: 0;
    background: var(--color-surface);
}

.vendor-empty-state {
    max-width: 640px;
    padding: 34px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
}

.vendor-empty-state h2,
.vendor-empty-state h3 {
    margin-bottom: 10px;
    color: var(--color-text);
    font-weight: 800;
}

.vendor-empty-state p {
    margin-bottom: 22px;
    color: var(--color-muted);
    line-height: 1.6;
}

/* Static customer information pages */
.static-page {
    background: var(--color-page-bg);
    overflow-x: hidden;
}

.static-page-hero {
    padding: 76px 0 46px;
    background: linear-gradient(135deg, rgba(49, 119, 115, 0.1), rgba(226, 209, 249, 0.34));
}

.static-page-hero h1 {
    max-width: 800px;
    margin-bottom: 14px;
    color: var(--color-text);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
}

.static-page-hero p:not(.account-dashboard-kicker) {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.7;
}

.static-page-content {
    background: var(--color-page-bg);
}

.static-content-grid,
.static-faq-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.static-two-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

.static-info-card,
.static-policy-card {
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
}

.static-info-card > span {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--color-secondary);
    color: var(--color-primary);
    font-size: 18px;
}

.static-info-card h2,
.static-policy-card h2 {
    margin-bottom: 10px;
    color: var(--color-text);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
}

.static-policy-card h2:not(:first-child) {
    margin-top: 28px;
}

.static-info-card p,
.static-policy-card p,
.static-list li {
    color: var(--color-muted);
    line-height: 1.7;
}

.static-info-card p:last-child,
.static-policy-card p:last-child {
    margin-bottom: 0;
}

.static-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.static-list strong {
    color: var(--color-text);
}

.static-contact-form {
    display: grid;
    gap: 14px;
}

.static-contact-form label {
    margin-bottom: 6px;
    color: var(--color-text);
    font-weight: 700;
}

.static-contact-form .form-control {
    min-height: 44px;
    border-color: var(--color-border);
    color: var(--color-text);
}

.static-contact-form textarea.form-control {
    min-height: 130px;
}

.static-contact-form .form-control:disabled,
.newsletter-placeholder input:disabled,
.newsletter-placeholder button:disabled {
    cursor: not-allowed;
    opacity: 0.75;
}

.static-muted-note {
    margin: 14px 0 0;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.6;
}

.newsletter-placeholder {
    position: relative;
    display: flex;
    align-items: center;
}

.newsletter-placeholder input {
    width: 100%;
    padding-right: 48px;
}

.newsletter-placeholder button {
    position: absolute;
    right: 0;
    top: 0;
}

@media (max-width: 767.98px) {
    .vendor-store-hero {
        padding: 48px 0 26px;
    }

    .vendor-store-hero__content h1 {
        font-size: 28px;
    }

    .vendor-store-section-header h2 {
        font-size: 24px;
    }

    .vendor-empty-state {
        padding: 26px 20px;
    }

    .vendor-empty-state .btn {
        width: 100%;
        min-height: 44px;
    }

    .static-page-hero {
        padding: 52px 0 34px;
    }

    .static-page-hero h1 {
        font-size: 30px;
    }

    .static-info-card,
    .static-policy-card {
        padding: 22px;
    }

    .static-contact-form .btn {
        width: 100%;
        min-height: 44px;
    }
}

@media (min-width: 768px) {
    .vendor-store-hero__inner {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 30px;
    }

    .vendor-store-stats__grid,
    .vendor-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .static-two-column {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    }
}

@media (min-width: 992px) {
    .vendor-store-hero {
        padding-top: 86px;
    }

    .vendor-store-hero__content h1 {
        font-size: 42px;
    }

    .vendor-store-stats__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .vendor-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .static-content-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .vendor-products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Header live search suggestions */
.header_area .search-area {
    position: relative;
}

.header_area .search-area form {
    position: relative;
}

.search-suggestions-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 1200;
    width: min(100%, 420px);
    max-height: 360px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-surface);
    box-shadow: 0 18px 42px rgba(31, 41, 51, 0.16);
}

.search-suggestions-dropdown[hidden] {
    display: none;
}

.search-suggestion-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 54px;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text) !important;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.search-suggestion-option:last-child {
    border-bottom: 0;
}

.search-suggestion-option:hover,
.search-suggestion-option:focus,
.search-suggestion-option.is-active {
    background: #f3faf8;
    color: var(--color-primary) !important;
    outline: 2px solid rgba(49, 119, 115, 0.16);
    outline-offset: -2px;
}

.search-suggestion-text {
    min-width: 0;
}

.search-suggestion-name,
.search-suggestion-meta {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-suggestion-name {
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.search-suggestion-meta {
    margin-top: 4px;
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1.3;
}

.search-suggestion-rating {
    display: flex;
    min-height: 16px;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1;
}

.search-suggestion-stars {
    display: inline-flex;
    gap: 2px;
    color: var(--color-muted);
}

.search-suggestion-stars .filled {
    color: var(--color-warning);
}

.search-suggestion-rating-text {
    color: var(--color-muted);
    font-weight: 600;
    white-space: nowrap;
}

.search-suggestion-price {
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    align-self: center;
    justify-self: end;
    padding-left: 8px;
}

.search-suggestion-view-all {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-top: 1px solid var(--color-border);
    background: var(--color-page-bg);
    text-align: center;
    color: var(--color-primary) !important;
    font-weight: 700;
}

.search-suggestion-view-all:hover,
.search-suggestion-view-all:focus,
.search-suggestion-view-all.is-active {
    background: var(--color-secondary);
    color: var(--color-primary-dark) !important;
}

.search-suggestions-status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .search-suggestions-dropdown {
        right: auto;
        left: 0;
        width: min(100%, calc(100vw - 24px));
        max-width: min(100%, calc(100vw - 24px));
        max-height: min(360px, calc(100vh - 130px));
    }

    .search-suggestion-option {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 54px;
        gap: 10px;
        padding: 10px 12px;
    }

    .search-suggestion-price {
        justify-self: end;
        font-size: 12px;
    }

    .search-suggestion-view-all {
        display: flex;
    }
}

@media (max-width: 374.98px) {
    .search-suggestion-option {
        grid-template-columns: minmax(0, 1fr);
    }

    .search-suggestion-price {
        grid-column: 1;
        justify-self: start;
        padding-left: 0;
    }
}

/* Password reset flow */
.auth-page {
    min-height: calc(100vh - 90px);
    background:
        linear-gradient(180deg, rgba(226, 209, 249, 0.28) 0%, rgba(247, 248, 250, 0) 280px),
        var(--color-page-bg);
}

.auth-card {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 38px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: var(--color-surface);
    box-shadow: 0 22px 58px rgba(31, 41, 51, 0.12);
}

.auth-card .cart-page-heading {
    margin-bottom: 30px;
}

.auth-card .cart-page-heading h5 {
    color: var(--color-text);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
}

.auth-card .cart-page-heading p {
    max-width: 420px;
    margin: 8px auto 0;
    color: var(--color-muted);
    line-height: 1.6;
}

.auth-card .form-group {
    margin-bottom: 18px;
}

.auth-card label,
.account-password-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 700;
}

.auth-card .form-control,
.account-password-form .form-control {
    min-height: 48px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: var(--color-text);
    font-size: 15px;
    box-shadow: inset 0 1px 2px rgba(31, 41, 51, 0.04);
}

.auth-card .form-control::placeholder,
.account-password-form .form-control::placeholder {
    color: #98a2b3;
}

.auth-card .form-control:focus,
.password-field .form-control:focus,
.account-password-form .form-control:focus {
    background: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(49, 119, 115, 0.18);
}

.auth-card .essence-btn,
.account-password-form .essence-btn {
    min-height: 48px;
    border-radius: 10px;
    font-weight: 800;
}

.auth-support-link {
    margin-top: -4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.auth-support-link a,
.auth-card a {
    color: var(--color-primary);
    font-weight: 600;
}

.auth-support-link a:hover,
.auth-card a:hover {
    color: var(--color-primary-dark);
}

.password-reset-card .cart-page-heading p {
    color: var(--color-muted);
    line-height: 1.6;
}

.password-field {
    position: relative;
}

.password-field .form-control {
    min-height: 48px;
    padding-right: 54px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: #f7f8fa;
    color: var(--color-text);
    cursor: pointer;
    line-height: 1;
    transition: color 0.18s ease, background-color 0.18s ease;
    transform: translateY(-50%);
}

.password-toggle:hover,
.password-toggle:focus {
    background: rgba(49, 119, 115, 0.1);
    color: var(--color-primary);
    outline: 2px solid rgba(49, 119, 115, 0.2);
    outline-offset: -2px;
}

.password-toggle[aria-pressed="true"] {
    color: var(--color-primary);
}

.password-requirements {
    margin: 20px 0 26px;
    padding: 18px 20px;
    border: 1px solid rgba(49, 119, 115, 0.16);
    border-radius: 12px;
    background: #f3faf8;
}

.password-requirements p {
    margin-bottom: 8px;
    color: var(--color-text);
    font-weight: 700;
}

.password-requirements ul {
    margin: 0;
    padding-left: 20px;
    color: var(--color-muted);
    line-height: 1.7;
}

.password-reset-dev-link {
    overflow-wrap: anywhere;
    line-height: 1.6;
}

.account-password-shell {
    max-width: 640px;
    margin-right: auto;
    margin-left: auto;
    padding: 34px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: var(--color-surface);
    box-shadow: 0 18px 46px rgba(31, 41, 51, 0.09);
}

.account-password-form {
    gap: 2px;
}

.account-password-requirements {
    border-color: rgba(49, 119, 115, 0.16);
    border-radius: 12px;
    background: #f3faf8;
}

.account-password-requirements h5 {
    color: var(--color-text);
    font-weight: 800;
}

@media (max-width: 767.98px) {
    .auth-card {
        padding: 26px 18px;
        border-radius: 12px;
    }

    .auth-card .cart-page-heading h5 {
        font-size: 24px;
    }

    .auth-card .essence-btn,
    .account-password-form .essence-btn {
        width: 100%;
    }

    .password-toggle {
        right: 2px;
    }

    .account-password-shell {
        padding: 24px 18px;
        border-radius: 12px;
    }
}

/* Form validation feedback */
.form-control.is-invalid,
select.is-invalid,
textarea.is-invalid,
input.is-invalid,
.custom-control-input.is-invalid ~ .custom-control-label {
    border-color: #C0392B !important;
}

.form-control.is-invalid:focus,
select.is-invalid:focus,
textarea.is-invalid:focus,
input.is-invalid:focus {
    border-color: #C0392B !important;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.16) !important;
    outline: none;
}

.field-error {
    display: block;
    margin-top: 6px;
    color: #C0392B;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.form-error-summary {
    margin: 0 0 18px;
    padding: 13px 15px;
    border: 1px solid rgba(192, 57, 43, 0.22);
    border-radius: 10px;
    background: #FEF2F2;
    color: #C0392B;
    font-size: 14px;
    line-height: 1.45;
}

.form-error-summary:focus {
    outline: 3px solid rgba(192, 57, 43, 0.2);
    outline-offset: 2px;
}

.invoice-view-area {
    background: var(--color-page-bg);
}

.order-invoice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.order-invoice-actions .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.essence-btn.invoice-secondary-btn,
.btn.essence-btn.invoice-secondary-btn {
    background: #FFFFFF !important;
    color: #255F5B !important;
    border: 1.5px solid #317773 !important;
    box-shadow: 0 6px 16px rgba(37, 95, 91, 0.08);
}

.essence-btn.invoice-secondary-btn:hover,
.essence-btn.invoice-secondary-btn:focus,
.btn.essence-btn.invoice-secondary-btn:hover,
.btn.essence-btn.invoice-secondary-btn:focus {
    background: #E2D1F9 !important;
    color: #255F5B !important;
    border-color: #255F5B !important;
    box-shadow: 0 0 0 3px rgba(49, 119, 115, 0.18);
}

.essence-btn.invoice-secondary-btn.disabled,
.essence-btn.invoice-secondary-btn:disabled,
.essence-btn.invoice-secondary-btn[aria-disabled="true"],
.btn.essence-btn.invoice-secondary-btn.disabled,
.btn.essence-btn.invoice-secondary-btn:disabled,
.btn.essence-btn.invoice-secondary-btn[aria-disabled="true"] {
    background: #F2F4F7 !important;
    color: #667085 !important;
    border-color: #CBD5E1 !important;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
}

@media (max-width: 767.98px) {
    .order-invoice-actions .btn {
        width: 100%;
    }
}

/* Final scoped product-detail contrast overrides after legacy template rules. */
.single_product_details_area.product-detail-page .product-brand-eyebrow {
    color: var(--color-primary) !important;
}

.single_product_details_area.product-detail-page .product-meta-item span {
    color: var(--color-muted) !important;
}

.single_product_details_area.product-detail-page .product-detail-rating span,
.single_product_details_area.product-detail-page .product-stock-pill {
    opacity: 1;
}

.single_product_details_area.product-detail-page .product-detail-stars {
    color: var(--color-muted) !important;
}

.single_product_details_area.product-detail-page .product-detail-stars .filled {
    color: var(--color-warning) !important;
}

.single_product_details_area.product-detail-page .product-stock-pill.in-stock {
    color: var(--color-success) !important;
}

.single_product_details_area.product-detail-page .product-stock-pill.out-of-stock {
    color: var(--color-error) !important;
}

/* Final storefront product-card mobile compaction overrides. */
@media (max-width: 767.98px) {
    .homepage-product-grid,
    .products-grid,
    .search-results-grid,
    .vendor-products-grid,
    .related-products-grid,
    .recently-viewed-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
    .homepage-product-grid,
    .products-grid,
    .search-results-grid,
    .vendor-products-grid,
    .related-products-grid,
    .recently-viewed-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }
}

/* Mobile product-card height tightening. */
@media (max-width: 767.98px) {
    .single-product-wrapper .product-img {
        aspect-ratio: auto;
        height: clamp(170px, 56vw, 214px);
        max-height: 214px;
    }

    .single-product-wrapper .product-img img,
    .single-product-wrapper .product-img .hover-img {
        object-fit: cover;
    }

    .single-product-wrapper .product-description {
        padding: 8px 8px 9px;
    }

    .single-product-wrapper .product-description > span {
        margin-bottom: 3px;
        font-size: 9.5px;
        line-height: 1.15;
    }

    .single-product-wrapper .product-description h6 {
        min-height: 30px;
        margin-bottom: 4px;
        font-size: 11.5px;
        line-height: 1.28;
        -webkit-line-clamp: 2;
    }

    .single-product-wrapper .product-description .product-card-rating {
        min-height: 14px;
        margin: 0 0 4px;
        gap: 3px;
        font-size: 9.5px;
        line-height: 1;
    }

    .single-product-wrapper .product-card-stars {
        gap: 1px;
        font-size: 9.5px;
    }

    .single-product-wrapper .product-card-rating-text,
    .single-product-wrapper .product-card-rating.no-reviews {
        font-size: 9.5px;
        line-height: 1;
    }

    .single-product-wrapper .product-description .product-price {
        margin-bottom: 6px;
        font-size: 13.5px;
        line-height: 1.15;
    }

    .single-product-wrapper .product-description .product-price .old-price {
        font-size: 10px;
    }

    .single-product-wrapper .product-description .hover-content .essence-btn {
        min-height: 40px;
        height: 40px;
        padding: 0 7px;
        font-size: 10.5px;
        line-height: 40px;
    }

    .single-product-wrapper .product-img .product-favourite a {
        top: 7px;
        right: 7px;
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        font-size: 13px;
        line-height: 32px;
    }

    .homepage-section__header,
    .products-browser-header,
    .search-results-header,
    .vendor-store-section-header {
        margin-bottom: 14px;
    }
}

@media (max-width: 359.98px) {
    .single-product-wrapper .product-description .product-card-rating {
        gap: 2px;
    }

    .single-product-wrapper .product-card-rating-text {
        max-width: 40px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Unified storefront header actions */
.header_area,
.header_area .classy-nav-container,
.header_area .classy-navbar {
    background: #317773;
}

.header_area .classynav ul li a {
    color: #ffffff;
}

.header_area .classynav ul li a:hover,
.header_area .classynav ul li a:focus {
    color: #E2D1F9;
}

.header_area .header-meta {
    --header-action-height: 85px;
    --header-action-width: 88px;
    --header-action-border: 1px solid rgba(226, 209, 249, 0.28);
    --header-action-bg: #317773;
    --header-action-hover: rgba(226, 209, 249, 0.16);
    --header-badge-size: 21px;
    --header-badge-top: 17px;
    --header-badge-right: 17px;
    display: flex;
    align-items: stretch;
    background: var(--header-action-bg);
}

.header_area .header-meta .search-area,
.header_area .header-meta .favourite-area,
.header_area .header-meta .user-login-info,
.header_area .header-meta .cart-area {
    height: var(--header-action-height);
    min-height: var(--header-action-height);
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: var(--header-action-bg);
    border-left: 0;
    border-right: var(--header-action-border);
    padding: 0;
}

.header_area .header-meta .search-area {
    width: clamp(220px, 22vw, 320px);
    min-width: 220px;
    border-left: var(--header-action-border);
}

.header_area .header-meta .favourite-area,
.header_area .header-meta .user-login-info,
.header_area .header-meta .cart-area {
    width: var(--header-action-width);
    min-width: var(--header-action-width);
    flex: 0 0 var(--header-action-width);
}

.header_area .header-meta .search-area form,
.header_area .header-meta .favourite-area a,
.header_area .header-meta .user-login-info a,
.header_area .header-meta .cart-area a {
    width: 100%;
    flex: 0 0 100%;
    height: 100%;
    min-height: var(--header-action-height);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--color-text);
    line-height: 1;
    position: relative;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.header_area .header-meta .search-area form {
    justify-content: flex-start !important;
    background: #ffffff;
}

.header_area .header-meta .favourite-area a:hover,
.header_area .header-meta .favourite-area a:focus,
.header_area .header-meta .user-login-info a:hover,
.header_area .header-meta .user-login-info a:focus,
.header_area .header-meta .cart-area a:hover,
.header_area .header-meta .cart-area a:focus {
    background: var(--header-action-hover);
    color: #ffffff;
    outline: none;
}

.header_area .header-meta .favourite-area a:focus-visible,
.header_area .header-meta .user-login-info a:focus-visible,
.header_area .header-meta .cart-area a:focus-visible,
.header_area .header-meta .search-area input:focus-visible,
.header_area .header-meta .search-area button:focus-visible {
    box-shadow: inset 0 0 0 2px var(--color-primary);
}

.header_area .header-meta .search-area input {
    height: 100%;
    min-height: var(--header-action-height);
    line-height: normal;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 50px 0 48px;
    border: 0;
    background: #ffffff;
    color: var(--color-text);
    font-size: 14px;
}

.header_area .header-meta .search-area input::placeholder {
    color: var(--color-muted);
}

.header_area .header-meta .favourite-area img,
.header_area .header-meta .cart-area img,
.header_area .header-meta .user-login-info img {
    filter: brightness(0) invert(1);
}

.header_area .header-meta .search-area button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.header_area .header-meta .search-area button:hover,
.header_area .header-meta .search-area button:focus {
    color: var(--color-primary-dark);
}

.header_area .header-meta .favourite-area img,
.header_area .header-meta .cart-area img,
.header_area .header-meta .user-login-info img {
    width: 22px;
    height: 22px;
    max-width: 22px;
    object-fit: contain;
    display: block;
    margin: 0;
}

.header_area .header-meta .account-initials {
    width: 38px;
    height: 38px;
    margin: 0;
    background: #E2D1F9;
    color: #255F5B;
}

.header_area .header-meta .account-initials span {
    color: #255F5B !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.header_area .header-meta .header-count-badge,
.header_area .header-meta .favourite-area a #headerWishlistCount.header-count-badge,
.header_area .header-meta .cart-area a #headerCartCount.header-count-badge {
    position: absolute;
    top: var(--header-badge-top) !important;
    right: var(--header-badge-right) !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 2;
    min-width: var(--header-badge-size);
    height: var(--header-badge-size);
    padding: 0 5px;
    border-radius: 999px;
    background: #E2D1F9;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 7px rgba(31, 41, 51, 0.2);
    color: #255F5B !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    text-shadow: none;
    transform: none;
    white-space: nowrap;
    box-sizing: border-box;
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .header_area .header-meta {
        --header-action-height: 54px;
        --header-action-width: 52px;
        --header-badge-size: 20px;
        --header-badge-top: 7px;
        --header-badge-right: 5px;
        gap: 0;
        padding: 0 10px;
    }

    .header_area .header-meta .search-area {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    .header_area .header-meta .search-area input {
        min-height: var(--header-action-height);
        padding: 0 44px 0 42px;
        font-size: 13px;
    }

    .header_area .header-meta .search-area button {
        left: 0;
    }

    .header_area .header-meta .account-initials {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 767.98px) {
    .header_area .header-meta {
        --header-action-height: 44px;
        --header-action-width: 44px;
        --header-badge-size: 18px;
        --header-badge-top: 3px;
        --header-badge-right: 2px;
        padding: 0 8px;
    }

    .header_area .header-meta .favourite-area {
        display: flex;
    }

    .header_area .header-meta .favourite-area,
    .header_area .header-meta .user-login-info,
    .header_area .header-meta .cart-area,
    .header_area .header-meta .favourite-area a,
    .header_area .header-meta .user-login-info a,
    .header_area .header-meta .cart-area a {
        width: var(--header-action-width);
        min-width: var(--header-action-width);
        flex: 0 0 var(--header-action-width);
        height: var(--header-action-height);
        min-height: var(--header-action-height);
    }

    .header_area .header-meta .search-area {
        min-width: 0;
        border-left: var(--header-action-border);
    }

    .header_area .header-meta .search-area form,
    .header_area .header-meta .search-area input {
        min-height: var(--header-action-height);
        height: var(--header-action-height);
    }

    .header_area .header-meta .search-area input {
        padding: 0 34px 0 34px;
        font-size: 12px;
    }

    .header_area .header-meta .search-area button {
        width: 36px;
        min-width: 36px;
        height: 36px;
    }

    .header_area .header-meta .favourite-area img,
    .header_area .header-meta .cart-area img,
    .header_area .header-meta .user-login-info img {
        width: 20px;
        height: 20px;
        max-width: 20px;
    }

    .header_area .header-meta .account-initials {
        width: 31px;
        height: 31px;
    }

    .header_area .header-meta .account-initials span {
        font-size: 11px;
    }

    .header_area .header-meta .header-count-badge,
    .header_area .header-meta .favourite-area a #headerWishlistCount.header-count-badge,
    .header_area .header-meta .cart-area a #headerCartCount.header-count-badge {
        padding: 0 4px;
        font-size: 10px;
        border-width: 1.5px;
    }
}

@media (max-width: 360px) {
    .header_area .header-meta {
        --header-action-width: 42px;
        padding: 0 6px;
    }

    .header_area .header-meta .search-area input {
        font-size: 11px;
        padding-right: 30px;
    }
}

/* Final readable outline/white storefront button overrides. */
body a.btn.essence-btn[class*="secondary"],
body a.btn.essence-btn[class*="secondary"]:link,
body a.btn.essence-btn[class*="secondary"]:visited,
body button.btn.essence-btn[class*="secondary"],
body .btn.essence-btn[class*="secondary"],
body a.btn.essence-btn[class*="outline"],
body a.btn.essence-btn[class*="outline"]:link,
body a.btn.essence-btn[class*="outline"]:visited,
body button.btn.essence-btn[class*="outline"],
body .btn.essence-btn[class*="outline"],
body a.btn.essence-btn[class*="white"],
body a.btn.essence-btn[class*="white"]:link,
body a.btn.essence-btn[class*="white"]:visited,
body button.btn.essence-btn[class*="white"],
body .btn.essence-btn[class*="white"],
body a.btn.essence-btn.storefront-secondary-btn,
body a.btn.essence-btn.storefront-secondary-btn:link,
body a.btn.essence-btn.storefront-secondary-btn:visited,
body button.btn.essence-btn.storefront-secondary-btn,
body .btn.essence-btn.storefront-secondary-btn,
body a.btn.essence-btn.invoice-secondary-btn,
body a.btn.essence-btn.invoice-secondary-btn:link,
body a.btn.essence-btn.invoice-secondary-btn:visited,
body button.btn.essence-btn.invoice-secondary-btn,
body .btn.essence-btn.invoice-secondary-btn {
    border: 1.5px solid #317773 !important;
    background: #FFFFFF !important;
    color: #255F5B !important;
    text-shadow: none !important;
    opacity: 1;
}

body a.btn.essence-btn[class*="secondary"]:hover,
body a.btn.essence-btn[class*="secondary"]:focus,
body button.btn.essence-btn[class*="secondary"]:hover,
body button.btn.essence-btn[class*="secondary"]:focus,
body .btn.essence-btn[class*="secondary"]:hover,
body .btn.essence-btn[class*="secondary"]:focus,
body a.btn.essence-btn[class*="outline"]:hover,
body a.btn.essence-btn[class*="outline"]:focus,
body button.btn.essence-btn[class*="outline"]:hover,
body button.btn.essence-btn[class*="outline"]:focus,
body .btn.essence-btn[class*="outline"]:hover,
body .btn.essence-btn[class*="outline"]:focus,
body a.btn.essence-btn[class*="white"]:hover,
body a.btn.essence-btn[class*="white"]:focus,
body button.btn.essence-btn[class*="white"]:hover,
body button.btn.essence-btn[class*="white"]:focus,
body .btn.essence-btn[class*="white"]:hover,
body .btn.essence-btn[class*="white"]:focus,
body a.btn.essence-btn.storefront-secondary-btn:hover,
body a.btn.essence-btn.storefront-secondary-btn:focus,
body button.btn.essence-btn.storefront-secondary-btn:hover,
body button.btn.essence-btn.storefront-secondary-btn:focus,
body .btn.essence-btn.storefront-secondary-btn:hover,
body .btn.essence-btn.storefront-secondary-btn:focus,
body a.btn.essence-btn.invoice-secondary-btn:hover,
body a.btn.essence-btn.invoice-secondary-btn:focus,
body button.btn.essence-btn.invoice-secondary-btn:hover,
body button.btn.essence-btn.invoice-secondary-btn:focus,
body .btn.essence-btn.invoice-secondary-btn:hover,
body .btn.essence-btn.invoice-secondary-btn:focus {
    border-color: #255F5B !important;
    background: #E2D1F9 !important;
    color: #255F5B !important;
    box-shadow: 0 0 0 3px rgba(49, 119, 115, 0.18);
}

body a.btn.essence-btn[class*="secondary"].disabled,
body a.btn.essence-btn[class*="secondary"][aria-disabled="true"],
body button.btn.essence-btn[class*="secondary"]:disabled,
body .btn.essence-btn[class*="secondary"].disabled,
body .btn.essence-btn[class*="secondary"][aria-disabled="true"],
body a.btn.essence-btn[class*="outline"].disabled,
body a.btn.essence-btn[class*="outline"][aria-disabled="true"],
body button.btn.essence-btn[class*="outline"]:disabled,
body .btn.essence-btn[class*="outline"].disabled,
body .btn.essence-btn[class*="outline"][aria-disabled="true"],
body a.btn.essence-btn[class*="white"].disabled,
body a.btn.essence-btn[class*="white"][aria-disabled="true"],
body button.btn.essence-btn[class*="white"]:disabled,
body .btn.essence-btn[class*="white"].disabled,
body .btn.essence-btn[class*="white"][aria-disabled="true"],
body a.btn.essence-btn.storefront-secondary-btn.disabled,
body a.btn.essence-btn.storefront-secondary-btn[aria-disabled="true"],
body button.btn.essence-btn.storefront-secondary-btn:disabled,
body .btn.essence-btn.storefront-secondary-btn.disabled,
body .btn.essence-btn.storefront-secondary-btn[aria-disabled="true"],
body a.btn.essence-btn.invoice-secondary-btn.disabled,
body a.btn.essence-btn.invoice-secondary-btn[aria-disabled="true"],
body button.btn.essence-btn.invoice-secondary-btn:disabled,
body .btn.essence-btn.invoice-secondary-btn.disabled,
body .btn.essence-btn.invoice-secondary-btn[aria-disabled="true"] {
    border-color: #CBD5E1 !important;
    background: #F2F4F7 !important;
    color: #667085 !important;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
}
