/*
 *  Elegant Header Styling - Definitive Version
 *  Developer: A seasoned front-end & graphics specialist
 *  Website: Zote High Fashion
*/

/* ---------------------------------- */
/* 1. Root & Color Palette            */
/* ---------------------------------- */
:root {
    --color-gold-bright: #d8b84f;
    --color-gold-muted: #967430;
    --color-black-velvet: #111111;
    --color-text-light: #f5f5f5;
    --color-ivory: #fffdf2;
    --color-orange: #f05a28;
    --color-border: #d9d0bf;
    --font-primary: 'Montserrat', sans-serif;
}

.font-o {
    color: var(--color-orange)
}

@font-face {
    font-family: 'Euro-bold';
    /* Name of the font family */
    src: url('/static/fonts/Eurostile-Bold.ttf') format('truetype');
    /* Path to the font file */
    font-weight: normal;
    /* Specify the font weight */
    font-style: normal;
    /* Specify the font style */

}

/* ---------------------------------- */
/* 2. Global & Body Styles            */
/* ---------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-ivory);
    color: var(--color-black-velvet);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* ---------------------------------- */
/* 3. The Sculpted Hero Header        */
/* ---------------------------------- */
.hero-header {
    height: 10vh;
    min-height: 75px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--color-gold-muted);
    background-image: url('../images/Zote2.jpeg');
    background-blend-mode: luminosity;
    background-size: cover;
    background-position: center top;
}

/* ---------------------------------- */
/* 4. The SVG Curve Container         */
/* ---------------------------------- */
.header-curve {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.header-curve svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 35px;
}

.header-curve .shape-fill {
    fill: var(--color-ivory);
}

/* ---------------------------------- */
/* 5. Header Content & Navigation     */
/* ---------------------------------- */
.header-content-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 10;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-gold-bright);
    text-decoration: none;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--color-text-light);
}

.catchphrase {
    color: var(--color-text-light);
    font-weight: 300;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: -5px;
    opacity: 0.8;
    padding-left: 2px;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav a {
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-bottom: 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold-muted);
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.main-nav a:hover {
    color: var(--color-gold-bright);
}

.main-nav a:hover::after {
    width: 100%;
}

/* ---------------------------------- */
/* 6. Hero Text (Moved from below)    */
/* ---------------------------------- */
.hero-text {
    position: absolute;
    top: 50%;
    left: 3rem;
    transform: translateY(-50%);
    z-index: 5;
    max-width: 45%;
    color: var(--color-orange);
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.9;
    line-height: 1.7;
}

/* ---------------------------------- */
/* 7. Suspended Nav Card              */
/* ---------------------------------- */
.suspended-nav-card {
    position: absolute;
    top: 60vh;
    right: 15%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 240, 0.95);
    padding: 1.5rem 2.5rem;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 20;
    width: max-content;
}

.suspended-nav-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.suspended-nav-card a {
    text-decoration: none;
    color: var(--color-black-velvet);
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.suspended-nav-card a:hover {
    color: var(--color-gold-muted);
}


/* ---------------------------------- */
/* 8. Main Content & Product Display  */
/* ---------------------------------- */

/* 
 * THE ONLY CHANGE IS HERE.
 * The custom 'display: flex' rule is REMOVED. This rule was conflicting
 * with Bootstrap's grid system, causing the sidebar to drop. Now, Bootstrap
 * has full control of the layout, and our custom CSS only handles padding.
*/
.main-container {
    padding: 8rem 5rem;
}

/* --- Individual Product Card Styling --- */
.product-card {
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-image-container {
    position: relative;
    background-color: #ffffff;
}

.card-image-container img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.sale-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--color-gold-bright);
    color: var(--color-black-velvet);
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    z-index: 5;
}

.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-name {
    font-size: 0.8rem;
    padding: 1.0rem;
    font-weight: 400;
    color: var(--color-black-velvet);
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-border);
    border-top: 1px solid var(--color-border);
}

.price-order {
    padding: 0.7rem 0.9rem;
}

.product-price {
    font-size: 0.8rem;
    text-align: right;
    padding: 0.6rem 1rem;
}

.product-price del {
    color: #999;
    margin-right: 0.5rem;
}

.buy-button {
    display: inline-block;
    padding: 0.6rem 1rem;
    border: 1px solid #ddd;
    color: var(--color-orange);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.buy-button:hover {
    background-color: var(--color-black-velvet);
    color: #fff;
    border-color: var(--color-black-velvet);
}

/* --- Sidebar & Pagination Styling --- */
.widget {
    margin-bottom: 3rem;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}

.widget ul {
    list-style: none;
    padding-left: 0;
}

.widget li {
    margin-bottom: 0.75rem;
}

.widget a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s ease;
}

.widget a:hover {
    color: var(--color-gold-muted);
}

.price-slider {
    width: 100%;
}

.price-range-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #777;
    margin-top: 0.5rem;
}

.pagination ul {
    display: inline-flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
}

.pagination a {
    display: block;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    color: var(--color-black-velvet);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #f9f9f9;
    border-color: #ddd;
}

.pagination a.active {
    background-color: var(--color-black-velvet);
    color: #fff;
    border-color: var(--color-black-velvet);
    pointer-events: none;
}

/* ---------------------------------- */
/* 10. Product Detail Page            */
/* ---------------------------------- */
.hero-header-small {
    height: 25vh;
}

.product-page-main {
    padding: 5rem 0;
    background-color: #fff;
}

.product-thumbnails .thumbnail-item {
    cursor: pointer;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
    opacity: 0.7;
}

.product-thumbnails .thumbnail-item:hover {
    border-color: #ccc;
    opacity: 1;
}

.main-product-image {
    border: 1px solid #f0f0f0;
}

.product-details .product-title {
    font-weight: 500;
}

.product-details .product-price-main .current-price {
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-black-velvet);
}

.product-details .product-price-main .original-price {
    font-size: 1.25rem;
    margin-left: 1rem;
}

.product-details .quantity-input {
    max-width: 80px;
    text-align: center;
}

.product-details .add-to-cart-btn {
    letter-spacing: 2px;
}

.related-products-section {
    padding: 6rem 0;
    border-top: 1px solid #eee;
    margin-top: 6rem;
}

.related-products-section h2 {
    margin-bottom: 3rem;
    font-weight: 400;
}

.app-nav ul {
    list-style: none;
    display: flex;
}

.app-nav li {
    margin-left: 2.5rem;
}

.app-nav a {
    color: var(--color-text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-bottom: 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.app-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold-muted);
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.app-nav a:hover {
    color: var(--color-gold-bright);
}

.app-nav a:hover::after {
    width: 100%;
}

/* ---------------------------------- */
/* 11. Card UX Enhancements           */
/* ---------------------------------- */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card .card-image-container {
    overflow: hidden;
}

.product-card img {
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .card-overlay {
    opacity: 1;
}

.view-details-btn {
    color: #fff;
    border: 1px solid #fff;
    padding: 0.5rem 1.5rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    background-color: rgba(0, 0, 0, 0.3);
}

/* --- Price Styling --- */
.product-price .price-original {
    color: #999;
    margin-right: 0.5rem;
    font-size: 0.9em;
}

.product-price .price-sale {
    color: var(--color-orange);
    font-weight: 600;
}

.product-price .price-regular {
    color: var(--color-black-velvet);
    font-weight: 500;
}

/* ADMIN */
.admin-link a {
    color: var(--color-text-light);
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.admin-link a:hover {
    opacity: 1;
    color: var(--color-gold-bright);
}

/* ---------------------------------- */
/* 12. Footer                         */
/* ---------------------------------- */
.site-footer {
    background: #151515;
    color: var(--color-text-light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 2rem;
    align-items: start;
}

.footer-logo {
    color: var(--color-gold-bright);
    display: inline-block;
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-decoration: none;
    margin-bottom: 1rem;
}

.site-footer h2 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gold-bright);
    margin-bottom: 1rem;
}

.site-footer p,
.site-footer a {
    color: rgba(245, 245, 245, 0.78);
    display: block;
    font-size: 0.92rem;
    margin-bottom: 0.6rem;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.footer-copy {
    max-width: 28rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    color: rgba(245, 245, 245, 0.62);
    font-size: 0.82rem;
}

/* ---------------------------------- */
/* 13. Checkout                       */
/* ---------------------------------- */
.checkout-shell {
    background: #f7f3ec;
    padding: 5rem 0;
}

.checkout-heading {
    max-width: 760px;
    margin-bottom: 2.5rem;
}

.checkout-heading span,
.checkout-promise span {
    color: var(--color-gold-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.checkout-heading h1 {
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    font-weight: 600;
    margin: 0.35rem 0 0.8rem;
}

.checkout-heading p {
    color: #56524b;
    font-size: 1.05rem;
    max-width: 680px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 2rem;
    align-items: start;
}

.checkout-form,
.checkout-summary {
    background: #fff;
    border: 1px solid #e7ded1;
    border-radius: 0;
    box-shadow: 0 18px 45px rgba(49, 52, 60, 0.08);
}

.checkout-form {
    padding: 2rem;
}

.checkout-step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 1rem;
    padding: 0 0 2rem;
}

.checkout-step+.checkout-step {
    border-top: 1px solid #eee7dc;
    padding-top: 2rem;
}

.step-marker {
    align-items: center;
    background: var(--color-black-velvet);
    border-radius: 0;
    color: #fff;
    display: flex;
    font-weight: 700;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.step-body h2,
.checkout-summary h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.map-preview {
    border: 1px solid #ded4c7;
    border-radius: 0;
    height: 260px;
    overflow: hidden;
}

.map-preview iframe {
    border: 0;
    height: 100%;
    width: 100%;
}

.payment-options {
    display: grid;
    gap: 0.85rem;
}

.payment-option {
    align-items: flex-start;
    border: 1px solid #ded4c7;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    gap: 0.8rem;
    padding: 1rem;
}

.payment-option input {
    margin-top: 0.25rem;
}

.payment-option small {
    color: #696158;
    display: block;
    margin-top: 0.25rem;
}

.checkout-submit {
    width: 100%;
}

.checkout-summary {
    padding: 1.5rem;
    position: sticky;
    top: 1rem;
}

.summary-product {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.summary-product img {
    aspect-ratio: 1;
    border: 1px solid #eee7dc;
    height: 86px;
    object-fit: cover;
    width: 86px;
}

.summary-product h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.summary-product p {
    color: #696158;
    margin: 0;
}

.checkout-summary dl {
    margin: 0;
}

.checkout-summary dl div {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-top: 1px solid #eee7dc;
}

.checkout-summary dt {
    color: #696158;
    font-weight: 500;
}

.checkout-summary dd {
    margin: 0;
    font-weight: 600;
}

.summary-total {
    font-size: 1.15rem;
}

.checkout-promise {
    background: #f7f3ec;
    border-radius: 0;
    margin-top: 1.5rem;
    padding: 1rem;
}

.checkout-promise p {
    color: #56524b;
    font-size: 0.9rem;
    margin: 0.35rem 0 0;
}

.checkout-alert {
    border-radius: 0;
    margin-bottom: 1.5rem;
}

/* ---------------------------------- */
/* 14. Bespoke Compact Storefront     */
/* ---------------------------------- */
.btn,
.form-control,
.form-select,
.product-card,
.checkout-form,
.checkout-summary,
.payment-option,
.map-preview,
.checkout-promise,
.alert {
    border-radius: 0 !important;
}

.btn {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 1.7px;
    padding: 0.72rem 1.05rem;
    text-transform: uppercase;
}

.btn-dark {
    background: var(--color-black-velvet);
    border-color: var(--color-black-velvet);
}

.btn-dark:hover,
.btn-dark:focus {
    background: #000;
    border-color: var(--color-gold-bright);
    color: var(--color-gold-bright);
}

.form-label {
    color: #39342c;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.form-control,
.form-select {
    border-color: #cfc4b0;
    color: var(--color-black-velvet);
    font-size: 0.88rem;
    min-height: 42px;
}

.hero-header {
    background-color: #0e0d0b;
    background-blend-mode: multiply;
    min-height: 75px;
    height: 10vh;
}

.header-content-wrapper {
    max-width: 1320px;
    padding: 0.75rem 2.5rem;
    align-items: center;
}

.logo {
    color: var(--color-gold-bright);
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: 5px;
}

.catchphrase {
    color: rgba(255, 253, 242, 0.84);
    font-size: 0.62rem;
    letter-spacing: 3.4px;
}

.app-nav ul {
    gap: 2rem;
    padding-left: 0;
}

.app-nav li {
    margin-left: 0;
}

.app-nav a {
    color: rgba(255, 253, 242, 0.86);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.app-nav a::after {
    background-color: var(--color-orange);
}

.header-curve svg {
    height: 35px;
}

.main-container {
    max-width: 1480px;
    padding: 4.25rem 3rem 4.75rem;
}

.product-grid {
    --bs-gutter-x: 1.15rem;
    --bs-gutter-y: 1.35rem;
}

.product-card {
    background: #fffef8;
    border-color: #d9d0bf;
    box-shadow: none !important;
}

.product-card:hover {
    box-shadow: 0 18px 32px rgba(17, 17, 17, 0.08) !important;
    transform: translateY(-4px);
}

.card-image-container {
    background: #fbf8ed;
}

.sale-badge {
    background: var(--color-orange);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.1px;
    left: 0;
    padding: 0.32rem 0.62rem;
    top: 0;
}

.product-name {
    border-color: var(--color-border);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    line-height: 1.45;
    min-height: 54px;
    padding: 0.78rem 0.85rem;
}

.product-price {
    background: #fffdf2;
    font-size: 0.76rem;
    padding: 0.62rem 0.85rem 0.72rem;
}

.product-price .price-sale {
    color: var(--color-orange);
}

.view-details-btn {
    background-color: rgba(17, 17, 17, 0.78);
    border-color: var(--color-gold-bright);
    color: var(--color-gold-bright);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    padding: 0.48rem 1.05rem;
}

.sidebar {
    border-left: 1px solid #e0d7c7;
    padding-left: 1.5rem;
}

.widget {
    margin-bottom: 2.2rem;
}

.widget-title {
    border-bottom-color: var(--color-border);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    text-transform: uppercase;
}

.widget li {
    margin-bottom: 0.48rem;
}

.widget a,
.price-range-display {
    color: #5d554a;
    font-size: 0.78rem;
}

.pagination {
    --bs-pagination-border-radius: 0;
    --bs-pagination-active-bg: var(--color-black-velvet);
    --bs-pagination-active-border-color: var(--color-black-velvet);
    --bs-pagination-color: var(--color-black-velvet);
}

.pagination a,
.pagination .page-link {
    border-color: #d9d0bf;
    font-size: 0.78rem;
    padding: 0.55rem 0.85rem;
}

.product-page-main {
    background: var(--color-ivory);
    padding: 3.75rem 0 4.5rem;
}

.main-product-image,
.product-thumbnails .thumbnail-item {
    border-color: #d9d0bf;
}

.product-details .product-title {
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.1;
}

.product-details .product-price-main .current-price {
    color: var(--color-black-velvet);
    font-size: 1.3rem;
    font-weight: 700;
}

.product-description {
    color: #4f473d;
    font-size: 0.95rem;
}

.related-products-section {
    border-top-color: #d9d0bf;
    margin-top: 4rem;
    padding: 4rem 0 0;
}

.related-products-section h2 {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.checkout-shell {
    background:
        linear-gradient(90deg, rgba(216, 184, 79, 0.08) 0, transparent 34%),
        var(--color-ivory);
    padding: 4rem 0 4.75rem;
}

.checkout-heading {
    border-left: 3px solid var(--color-orange);
    margin-bottom: 1.8rem;
    max-width: 700px;
    padding-left: 1rem;
}

.checkout-heading span,
.checkout-promise span {
    color: var(--color-gold-muted);
    font-size: 0.66rem;
    letter-spacing: 2px;
}

.checkout-heading h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1;
    margin: 0.25rem 0 0.65rem;
}

.checkout-heading p {
    color: #51483c;
    font-size: 0.92rem;
}

.checkout-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.35rem;
}

.checkout-form,
.checkout-summary {
    background: #fffef8;
    border-color: #d9d0bf;
    box-shadow: 0 14px 30px rgba(17, 17, 17, 0.06);
}

.checkout-form {
    padding: 1.45rem;
}

.checkout-step {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0.8rem;
    padding-bottom: 1.45rem;
}

.checkout-step+.checkout-step {
    border-top-color: #e5dccd;
    padding-top: 1.45rem;
}

.step-marker {
    background: var(--color-black-velvet);
    border: 1px solid var(--color-gold-bright);
    border-radius: 0;
    color: var(--color-gold-bright);
    font-size: 0.72rem;
    height: 28px;
    width: 28px;
}

.step-body h2,
.checkout-summary h2 {
    font-size: 0.86rem;
    letter-spacing: 1.4px;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
}

.map-preview {
    height: 210px;
}

.payment-options {
    gap: 0.65rem;
}

.payment-option {
    background: #fffdf2;
    border-color: #d9d0bf;
    padding: 0.82rem;
}

.payment-option:has(input:checked) {
    border-color: var(--color-orange);
    box-shadow: inset 3px 0 0 var(--color-orange);
}

.payment-option strong {
    font-size: 0.84rem;
}

.payment-option small {
    color: #62584b;
    font-size: 0.76rem;
    line-height: 1.45;
}

.checkout-summary {
    padding: 1.15rem;
}

.summary-product {
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.summary-product img {
    border-color: #d9d0bf;
    height: 72px;
    width: 72px;
}

.summary-product h3 {
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.35;
}

.summary-product p {
    font-size: 0.78rem;
}

.checkout-summary dl div {
    border-top-color: #e5dccd;
    padding: 0.58rem 0;
}

.checkout-summary dt,
.checkout-summary dd {
    font-size: 0.82rem;
}

.summary-total dt,
.summary-total dd {
    color: var(--color-black-velvet);
    font-size: 0.98rem;
}

.summary-total dd {
    color: var(--color-orange);
}

.checkout-promise {
    background: #f8f2df;
    margin-top: 1rem;
    padding: 0.85rem;
}

.checkout-promise p {
    font-size: 0.78rem;
}

.site-footer {
    background: #0f0e0c;
    border-top: 4px solid var(--color-gold-bright);
    padding: 3rem 0 1.35rem;
}

.footer-grid {
    grid-template-columns: minmax(240px, 1.25fr) repeat(3, minmax(150px, 0.8fr));
    gap: 2.4rem;
}

.footer-logo {
    color: var(--color-gold-bright);
    font-size: 1.9rem;
    letter-spacing: 5px;
    margin-bottom: 0.7rem;
}

.footer-copy {
    color: rgba(255, 253, 242, 0.76);
    font-size: 0.82rem;
    line-height: 1.7;
    max-width: 22rem;
}

.footer-list h2 {
    color: var(--color-gold-bright);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.9rem;
}

.footer-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-list li {
    border-top: 1px solid rgba(255, 253, 242, 0.12);
    color: rgba(255, 253, 242, 0.72);
    font-size: 0.78rem;
    line-height: 1.45;
    padding: 0.52rem 0;
}

.footer-list li:first-child {
    border-top-color: rgba(216, 184, 79, 0.5);
}

.footer-contact li:first-child,
.footer-contact a:hover {
    color: var(--color-orange);
}

.site-footer p,
.site-footer a {
    font-size: 0.78rem;
}

.footer-bottom {
    border-top-color: rgba(216, 184, 79, 0.28);
    color: rgba(255, 253, 242, 0.52);
    font-size: 0.72rem;
    margin-top: 2.2rem;
    padding-top: 1.1rem;
}

.auth-shell,
.account-shell {
    background:
        linear-gradient(90deg, rgba(216, 184, 79, 0.08) 0, transparent 30%),
        var(--color-ivory);
    padding: 4rem 0 4.75rem;
}

.auth-panel {
    border: 1px solid #d9d0bf;
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    margin: 0 auto;
    max-width: 920px;
    min-height: 420px;
}

.auth-panel-narrow {
    max-width: 760px;
}

.auth-copy {
    background: #0f0e0c;
    color: rgba(255, 253, 242, 0.82);
    padding: 2.2rem;
}

.auth-copy span,
.account-header span {
    color: var(--color-gold-bright);
    display: block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.auth-copy h1,
.account-header h1 {
    color: #fffdf2;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.08;
    margin-bottom: 0.9rem;
}

.auth-copy p {
    font-size: 0.86rem;
    line-height: 1.7;
    margin: 0;
}

.auth-form {
    background: #fffef8;
    padding: 2.2rem;
}

.auth-form .form-control {
    margin-bottom: 0.85rem;
}

.auth-submit {
    margin-top: 0.35rem;
    width: 100%;
}

.auth-switch {
    color: #5d554a;
    font-size: 0.78rem;
    margin: 1rem 0 0;
    text-align: center;
}

.auth-switch a,
.checkout-auth-choice a,
.verified-contact a,
.account-recommendations a {
    color: var(--color-orange);
    font-weight: 700;
    text-decoration: none;
}

.field-error,
.auth-notice,
.auth-dev-code {
    color: var(--color-orange);
    font-size: 0.76rem;
    margin: -0.35rem 0 0.75rem;
}

.auth-notice,
.auth-dev-code {
    border: 1px solid rgba(240, 90, 40, 0.35);
    margin: 0 0 1rem;
    padding: 0.7rem;
}

.auth-dev-code {
    color: var(--color-black-velvet);
    border-color: var(--color-gold-bright);
}

.code-input {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.35rem;
    text-align: center;
    text-transform: uppercase;
}

.checkout-auth-choice {
    border: 1px solid #d9d0bf;
    box-shadow: inset 3px 0 0 var(--color-orange);
    margin-bottom: 1rem;
    padding: 1rem;
}

.checkout-auth-choice p {
    color: #51483c;
    font-size: 0.82rem;
    margin-bottom: 0.85rem;
}

.checkout-auth-choice div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.verified-contact {
    align-items: center;
    border: 1px solid #d9d0bf;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
}

.verified-contact span,
.verified-contact small {
    color: #6a5f52;
    display: block;
    font-size: 0.72rem;
}

.verified-contact strong {
    display: block;
    font-size: 0.88rem;
}

.account-header {
    align-items: end;
    background: #0f0e0c;
    border: 1px solid #0f0e0c;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding: 2rem;
}

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

.account-section {
    background: #fffef8;
    border: 1px solid #d9d0bf;
    padding: 1.25rem;
}

.account-section-wide {
    grid-column: 1 / -1;
}

.account-section h2 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.account-section dl,
.account-section p {
    margin: 0;
}

.account-section dl div,
.account-list li {
    border-top: 1px solid #e5dccd;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
}

.account-section dt,
.account-list span {
    color: #675d50;
    font-size: 0.78rem;
    font-weight: 500;
}

.account-section dd,
.account-list strong {
    font-size: 0.82rem;
    font-weight: 700;
    margin: 0;
}

.account-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.account-recommendations {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.account-recommendations a {
    border: 1px solid #d9d0bf;
    color: var(--color-black-velvet);
    display: block;
    font-size: 0.78rem;
    padding: 0.85rem;
}

.account-recommendations a:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}

/* In-Checkout Interactive Auth Widget */
.checkout-auth-widget {
    background: #fffdf7;
    border: 1px solid #d9d0bf;
    border-left: 4px solid var(--color-gold-bright);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.auth-widget-intro {
    font-size: 0.84rem;
    color: #554c3e;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.auth-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #e5dccd;
    padding-bottom: 0.5rem;
}

.auth-tab-btn {
    background: transparent;
    border: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.4rem 0.8rem;
    color: #6a6154;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.auth-tab-btn.active {
    color: var(--color-black-velvet);
    border-bottom-color: var(--color-gold-bright);
    font-weight: 700;
}

.auth-hint {
    font-size: 0.74rem;
    color: #7a7062;
    margin-top: 0.4rem;
    display: block;
}

.auth-widget-alert {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    border-radius: 0;
}

.auth-widget-alert.alert-error {
    background: #fff0ed;
    border: 1px solid #f9b8a8;
    color: #a82e16;
}

.auth-widget-alert.alert-success {
    background: #f0f9f2;
    border: 1px solid #bce2c7;
    color: #1e6b36;
}

.verify-instructions {
    background: #0f0e0c;
    color: #fffdf2;
    padding: 1rem;
    margin-bottom: 1rem;
}

.verify-instructions span {
    color: var(--color-gold-bright);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 0.25rem;
}

.verify-instructions p {
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.5;
}

.auth-standalone-links {
    font-size: 0.76rem;
    color: #7a7062;
}

.auth-standalone-links a {
    color: var(--color-orange);
    text-decoration: none;
    font-weight: 600;
}

/* Account Portal Layout Elements */
.account-subtitle {
    color: rgba(255, 253, 242, 0.72);
    font-size: 0.84rem;
    margin: 0;
}

.account-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-title-wrap h2 {
    margin-bottom: 0 !important;
}

.account-profile-dl {
    margin: 0;
}

.account-profile-dl div {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 0;
    border-top: 1px solid #e5dccd;
    font-size: 0.82rem;
}

.account-profile-dl dt {
    color: #675d50;
    font-weight: 500;
}

.account-profile-dl dd {
    font-weight: 700;
    margin: 0;
}

.account-purchases-table {
    font-size: 0.82rem;
    margin-bottom: 0;
}

.account-purchases-table th {
    font-weight: 700;
    letter-spacing: 0.8px;
    font-size: 0.72rem;
    text-transform: uppercase;
    color: #6a6154;
    border-bottom: 2px solid #0f0e0c;
    padding: 0.75rem 0.5rem;
}

.account-purchases-table td {
    vertical-align: middle;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #e5dccd;
}

.reference-chip {
    display: inline-block;
    background: #0f0e0c;
    color: var(--color-gold-bright);
    font-size: 0.68rem;
    font-family: monospace;
    padding: 0.2rem 0.5rem;
    letter-spacing: 0.5px;
}

.cart-items-list {
    margin-bottom: 0.5rem;
}

.cart-items-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    border-top: 1px solid #e5dccd;
    font-size: 0.82rem;
}

.price-val {
    font-weight: 700;
    color: var(--color-black-velvet);
}

.empty-state {
    text-align: center;
    padding: 1.5rem 1rem;
    color: #7a7062;
    font-size: 0.84rem;
}

.account-recommendations-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.recommendation-card {
    border: 1px solid #d9d0bf;
    background: #fff;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.recommendation-card:hover {
    transform: translateY(-2px);
    border-color: var(--color-gold-bright);
    box-shadow: 0 6px 16px rgba(15, 14, 12, 0.08);
}

.recommendation-thumb {
    height: 160px;
    background: #f7f5ef;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recommendation-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-placeholder {
    font-size: 1.1rem;
    letter-spacing: 3px;
    color: #a39a8c;
    font-weight: 700;
}

.recommendation-body {
    padding: 0.85rem;
}

.recommendation-body h3 {
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0 0 0.4rem;
    line-height: 1.35;
    color: var(--color-black-velvet);
}

.recommendation-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-orange);
}

@media (max-width: 991px) {
    .header-content-wrapper {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .app-nav ul {
        flex-wrap: wrap;
        gap: 0.8rem 1.4rem;
        padding-left: 0;
    }

    .app-nav li {
        margin-left: 0;
    }

    .app-nav a {
        font-size: 0.9rem;
    }

    .hero-header {
        min-height: auto;
        height: auto;
    }

    .checkout-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .auth-panel,
    .account-grid,
    .account-recommendations {
        grid-template-columns: 1fr;
    }

    .account-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .main-container {
        padding: 3rem 1rem;
    }

    .sidebar {
        border-left: 0;
        border-top: 1px solid #e0d7c7;
        margin-top: 2rem;
        padding-left: 0;
        padding-top: 1.5rem;
    }
}

/* ADD THIS ENTIRE SECTION TO THE END OF style.css */

/* ---------------------------------- */
/* 15. Admin Form & Modal Styling     */
/* ---------------------------------- */

.modal-body.admin-form-body {
    background-color: #f8f9fa;
    /* A slightly off-white background for the form area */
}

/* Tab Navigation Styling */
.nav-tabs .nav-link {
    color: var(--color-black-velvet);
    border: none;
    border-bottom: 2px solid transparent;
    font-weight: 500;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: var(--color-gold-muted);
    background-color: transparent;
    border-color: var(--color-gold-muted);
}

/* Form Input Styling */
.form-control:focus,
.form-select:focus {
    border-color: var(--color-gold-muted);
    box-shadow: 0 0 0 0.25rem rgba(155, 128, 40, 0.25);
    /* Muted gold shadow */
}

/* Sub-Form Card Styling (for Variants and Images) */
.subform-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0;
    padding: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.subform-card .remove-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 0;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.2s ease;
}

.subform-card .remove-btn:hover {
    background-color: #dc3545;
    /* Red on hover */
    color: #fff;
    border-color: #dc3545;
}

/* Image Upload Field Styling */
.image-upload-field {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.image-upload-field .img-preview {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 0;
    border: 1px solid #dee2e6;
}

/* NEW STYLES FOR THE UPLOAD COMPONENT */
.image-upload-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.image-preview-container {
    flex-shrink: 0;
    width: 150px;
    /* Enlarge the preview space */
    height: 150px;
    border: 2px dashed #ced4da;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.image-preview-container .img-preview {
    max-width: 100%;
    max-height: 100%;
    display: none;
    /* Hidden by default */
}

.image-preview-container .preview-text {
    color: #6c757d;
    font-size: 0.9rem;
    text-align: center;
}

.image-preview-container.has-image .preview-text {
    display: none;
}

.image-preview-container.has-image .img-preview {
    display: block;
}

/* ==========================================================================
   16. Sleek Gold Noir Customer Auth & OTP Components
   ========================================================================== */

.identifier-pill {
    align-items: center;
    background: #fffdf2;
    border: 1px solid #d9d0bf;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
}

.identifier-pill small {
    color: #6a5f52;
    display: block;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.identifier-pill strong {
    color: var(--color-black-velvet);
    display: block;
    font-size: 0.95rem;
}

.identifier-pill a {
    color: var(--color-orange);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.identifier-pill a:hover {
    text-decoration: underline;
}

.otp-wrap {
    margin-bottom: 1.25rem;
}

.otp-tiles {
    display: flex;
    gap: 0.65rem;
    justify-content: space-between;
}

.otp-box {
    background: #fffdf2;
    border: 1px solid #d9d0bf;
    border-radius: 0;
    color: var(--color-black-velvet);
    font-family: monospace;
    font-size: 1.45rem;
    font-weight: 700;
    height: 52px;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.otp-box:focus {
    border-color: var(--color-gold-bright);
    box-shadow: 0 0 0 3px rgba(216, 184, 79, 0.25);
    outline: none;
}

.otp-footer {
    margin-top: 1.25rem;
    text-align: center;
}

.btn-resend {
    background: none;
    border: none;
    color: var(--color-orange);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0;
    text-decoration: none;
}

.btn-resend:hover {
    text-decoration: underline;
}

.change-contact-link {
    color: #6a5f52;
    font-size: 0.78rem;
    text-decoration: none;
}

.change-contact-link:hover {
    color: var(--color-black-velvet);
}

.btn-dev-fill {
    background: none;
    border: 1px solid #999;
    cursor: pointer;
    font-size: 0.72rem;
    margin-left: 0.5rem;
    padding: 0.15rem 0.4rem;
}

.nav-account-btn {
    color: var(--color-gold-bright) !important;
    font-weight: 600;
}

.nav-signout-btn {
    color: rgba(245, 245, 245, 0.6) !important;
    margin-left: 0.25rem;
    text-decoration: none;
    margin: 0 1.5rem;
}

.nav-signout-btn:hover {
    color: var(--color-orange) !important;
}

/* ---------------------------------- */
/* 15. Header Cart Icon & Badge       */
/* ---------------------------------- */
.cart-nav-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 1.25rem;
}

.cart-nav-link {
    color: #ffffff;
    text-decoration: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.25s ease, transform 0.2s ease;
}

.cart-nav-link:hover {
    color: var(--color-gold-bright);
    transform: scale(1.05);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--color-orange);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    min-width: 19px;
    height: 19px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    border: 2px solid #111111;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

/* ---------------------------------- */
/* 16. Delivery Zones & Options       */
/* ---------------------------------- */
.delivery-zones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .delivery-zones {
        grid-template-columns: 1fr;
    }
}

.delivery-zone-card {
    border: 1.5px solid #ded4c7;
    background: #fffdf9;
    padding: 0.95rem 1rem;
    display: flex;
    gap: 0.75rem;
    cursor: pointer;
    align-items: flex-start;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.delivery-zone-card:hover {
    border-color: var(--color-gold-bright);
}

.delivery-zone-card.active {
    border-color: var(--color-gold-muted);
    background: #fffdf0;
    box-shadow: 0 3px 10px rgba(150, 116, 48, 0.12);
}

.delivery-zone-card input[type="radio"] {
    margin-top: 0.2rem;
    accent-color: var(--color-orange);
}

.zone-card-body {
    flex-grow: 1;
}

.badge-fee {
    background: #f0ece3;
    color: var(--color-black-velvet);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 2px 7px;
    letter-spacing: 0.3px;
}

.disabled-option {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
    background: #f8f8f8 !important;
}

/* ---------------------------------- */
/* 17. Multi-Item Checkout Basket     */
/* ---------------------------------- */
.summary-basket-list {
    max-height: 380px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1rem;
    padding-right: 4px;
}

.summary-basket-item {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #eee7dc;
}

.basket-thumb {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    border: 1px solid #eee7dc;
    background: #f9f9f9;
    overflow: hidden;
}

.basket-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.basket-item-info {
    flex-grow: 1;
    min-width: 0;
}

.basket-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--color-black-velvet);
}

.basket-item-remove {
    color: #aaa;
    font-size: 0.78rem;
    text-decoration: none;
    padding: 2px 4px;
    transition: color 0.2s ease;
}

.basket-item-remove:hover {
    color: var(--color-orange);
}

.basket-meta {
    display: flex;
    gap: 0.5rem;
    font-size: 0.74rem;
    color: #777;
    margin: 3px 0;
}

.variant-tag {
    background: #f0ece3;
    padding: 1px 6px;
    color: #555;
    font-weight: 500;
}

.qty-tag {
    color: #444;
    font-weight: 600;
}

.basket-line-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-black-velvet);
}

.switch-account-link {
    color: var(--color-orange);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

.switch-account-link:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Sleek Architectural Search Bar (Sharp Edges, Noir Side Label, Gold Accents)
   -------------------------------------------------------------------------- */
.site-search-section {
    padding: 1rem 0;
    background: transparent;
}

.site-search-wrapper {
    display: flex;
    align-items: stretch;
    max-width: 680px;
    margin: 0 auto;
    border-radius: 0 !important;
    box-shadow: 0 4px 18px rgba(17, 17, 17, 0.08);
}

.search-side-label {
    background-color: var(--color-black-velvet, #111111);
    color: var(--color-gold-bright, #d8b84f);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.35rem;
    height: 40px;
    border: 1px solid var(--color-black-velvet, #111111);
    border-right: none;
    border-radius: 0 !important;
    user-select: none;
    flex-shrink: 0;
    margin-bottom: 0;
}

.search-input-group {
    display: flex;
    flex-grow: 1;
    position: relative;
    height: 40px;
    border-radius: 0 !important;
}

.search-input-field {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    border: 1px solid var(--color-black-velvet, #111111);
    border-radius: 0 !important;
    padding: 0 3.2rem 0 1.1rem;
    font-size: 0.88rem;
    color: var(--color-black-velvet, #111111);
    font-family: var(--font-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input-field::placeholder {
    color: #8c8983;
    font-size: 0.84rem;
    font-weight: 400;
}

.search-input-field:focus {
    border-color: var(--color-gold-bright, #d8b84f);
    outline: none;
    box-shadow: inset 0 0 0 1px var(--color-gold-bright, #d8b84f);
}

.search-action-btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 48px;
    background-color: var(--color-black-velvet, #111111);
    border: 1px solid var(--color-black-velvet, #111111);
    border-radius: 0 !important;
    color: var(--color-gold-bright, #d8b84f);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.05rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.search-action-btn:hover {
    background-color: var(--color-gold-bright, #d8b84f);
    color: var(--color-black-velvet, #111111);
    border-color: var(--color-gold-bright, #d8b84f);
}

@media (max-width: 576px) {
    .search-side-label {
        padding: 0 0.85rem;
        font-size: 0.65rem;
        letter-spacing: 1.5px;
    }
    .search-input-field {
        font-size: 0.80rem;
        padding-left: 0.75rem;
    }
}

/* --------------------------------------------------------------------------
   Footer Scannable QR & Voucher Referral Offer
   -------------------------------------------------------------------------- */
.footer-grid {
    grid-template-columns: minmax(200px, 1.15fr) minmax(130px, 0.75fr) minmax(150px, 0.85fr) minmax(250px, 1.25fr) !important;
    gap: 2rem;
}

.footer-qr-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(216, 184, 79, 0.25);
    padding: 0.85rem;
    display: flex;
    gap: 0.85rem;
    align-items: center;
    border-radius: 0;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.footer-qr-card:hover {
    border-color: var(--color-gold-bright, #d8b84f);
    background: rgba(216, 184, 79, 0.05);
}

.footer-qr-frame {
    flex-shrink: 0;
    background: #ffffff;
    padding: 5px;
    border: 1px solid rgba(216, 184, 79, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-qr-img {
    display: block;
    width: 68px;
    height: 68px;
    object-fit: contain;
}

.qr-scan-badge {
    display: block;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--color-black-velvet, #111111);
    background: var(--color-gold-bright, #d8b84f);
    width: 100%;
    text-align: center;
    padding: 2px 0;
    margin-top: 3px;
}

.footer-offer-content {
    flex-grow: 1;
    min-width: 0;
}

.offer-voucher-tag {
    font-size: 0.70rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold-bright, #d8b84f);
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
}

.offer-voucher-text {
    font-size: 0.72rem !important;
    line-height: 1.45;
    color: rgba(255, 253, 242, 0.75) !important;
    margin-bottom: 0.5rem !important;
}

.offer-voucher-text strong {
    color: #ffffff;
}

.offer-voucher-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--color-gold-bright, #d8b84f);
    color: var(--color-black-velvet, #111111) !important;
    font-size: 0.68rem !important;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.2s ease;
    margin-bottom: 0 !important;
}

.offer-voucher-btn:hover {
    background: #ffffff;
    color: #000000 !important;
    box-shadow: 0 2px 8px rgba(216, 184, 79, 0.4);
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.75rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
    }
}