/* Touch: 2026-02-14 */
:root {
    --primary-color: #D1B26C;
    /* Gold/Bread crust color */
    --secondary-color: #faedcd;
    /* Light cream */
    --text-color: #333;
    --bg-light: #fefae0;
    --bg-dark: #1a1a1a;
    /* Footer/Dark sections */
    --font-main: 'Playfair Display', serif;
    /* For headings */
    --font-body: 'Open Sans', sans-serif;
    /* For body text */
    --transition: all 0.3s ease;
}

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

/* Global form inputs – ensure text is always dark and readable */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="date"],
textarea,
select {
    color: #111;
    background-color: #fff;
}
input::placeholder,
textarea::placeholder {
    color: #999;
}

body {
    font-family: var(--font-body);
    background-color: #fff;
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1140px;
    /* Enforcing 1140px as requested */
    margin: 0 auto;
    padding: 0 15px;
}

.section-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .section-wrap {
        padding: 0;
    }
}

/* Header */
header {
    background: #fff;
    /* Removed default dark styling as header.php handles this now */
}

/* ... existing header styles overridden by header-fix.css ... */

/* Hero Section */
.hero {
    background: url('../uploads/2026/hero-bg.png') no-repeat center center/cover;
    height: 600px;
    /* Default height */
    display: flex;
    align-items: center;
    position: relative;
    color: #fff;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-btn);
    transition: var(--transition);
}

.btn:hover {
    background: #fff;
    color: #111;
}

/* ===== BENEFITS BAR ===== */
.benefits-bar {
    background: #f9f9f9;
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}

.benefits-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 20px 25px;
    border-radius: 0px;
    transition: all 0.4s ease;
    cursor: pointer;
    flex: 1;
}

.benefit-item:hover {
    background: var(--primary-color);
    /* Gold/Beige background on hover */
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 163, 115, 0.3);
}

.benefit-item:hover .benefit-icon {
    background: #fff;
    color: var(--primary-color);
    transform: scale(1.1) rotate(5deg);
}

.benefit-item:hover .benefit-text h4,
.benefit-item:hover .benefit-text p {
    color: #fff;
}

.benefit-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.benefit-text h4 {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 3px;
    transition: color 0.3s;
}

.benefit-text p {
    font-size: 13px;
    color: #777;
    margin: 0;
    transition: color 0.3s;
}

/* Benefits Bar Responsive */
@media (max-width: 992px) {
    .benefits-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .benefit-item {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .benefits-grid {
        flex-direction: column;
    }

    .benefit-item {
        width: 100%;
        justify-content: center;
    }
}

/* ===== CATEGORY CARDS SECTION ===== */
.category-cards-section {
    padding: 40px 0;
    background: #fff;
}

.category-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    height: 280px;
    overflow: hidden;
    display: block;
    cursor: pointer;
}

.category-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.category-card:hover .category-card-image {
    transform: scale(1.08);
}

.category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
    transition: background 0.3s ease;
}

.category-card:hover .category-card-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.category-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 25px 30px;
    color: #fff;
    z-index: 2;
}

.category-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.category-card-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
    font-weight: 400;
}

.category-card-btn {
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #D1B26C;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.category-card-btn .arrow {
    transition: transform 0.3s ease;
}

.category-card:hover .category-card-btn {
    color: #fff;
}

.category-card:hover .category-card-btn .arrow {
    transform: translateX(5px);
}

/* Category Cards Responsive */
@media (max-width: 992px) {
    .category-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-card:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .category-cards-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        height: 220px;
    }

    .category-card:last-child {
        grid-column: span 1;
    }

    .category-card-title {
        font-size: 22px;
    }

    .category-card-content {
        padding: 20px;
    }
}

/* Product Grid */
.products-section {
    padding: 60px 0;
    text-align: center;
}

.offer-strip {
    padding: 50px 0;
}

.offer-strip-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 50px;
    min-height: 170px;
    background: url('../uploads/2026/wide-banner.png') center/cover;
    border-radius: 0;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.offer-strip-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
}

.offer-strip-content,
.offer-strip-cta {
    position: relative;
    z-index: 1;
    color: #fff;
}

.offer-strip-content {
    max-width: 520px;
}

.offer-strip-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.offer-strip-content h2 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 6px;
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    line-height: 1.15;
}

.offer-strip-accent {
    color: #e7d2a3;
}

.offer-strip-categories {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
}

.offer-strip-categories a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.offer-strip-categories a:hover {
    color: #fff;
    transform: translateX(4px);
}

.offer-strip-highlight {
    font-size: 2rem;
    font-weight: 600;
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: #fff;
}

.offer-strip-highlight span {
    font-size: 2.4rem;
    color: var(--primary-color);
}

.offer-strip-cta {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.btn-offer {
    border-color: #fff;
    color: #fff;
    padding: 12px 28px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

.btn-offer .arrow {
    margin-left: 10px;
}

.btn-offer:hover {
    background: #fff;
    color: #111;
}

@media (max-width: 900px) {
    .offer-strip-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .offer-strip-cta {
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 600px) {
    .offer-strip-inner {
        padding: 20px;
    }

    .offer-strip-content h2 {
        font-size: 1.8rem;
    }

    .offer-strip-highlight {
        font-size: 1.6rem;
    }
}

.section-title {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    font-family: var(--font-main);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
    /* Default 4 columns */
    gap: 30px;
    justify-content: center;
    justify-items: center;
    margin: 0 auto;
}

.product-section .product-grid {
    justify-content: center;
    justify-items: center;
    margin: 0 auto;
}

.product-section[data-mode="grid"] .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    justify-content: center;
    gap: 30px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.product-section[data-mode="grid"] .product-card-modern {
    width: 100%;
}

.product-carousel {
    position: relative;
}

.carousel-dots {
    display: none;
    justify-content: center;
    gap: 6px;
    margin-top: 6px;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: #d9cbb2;
    opacity: 0.5;
    cursor: pointer;
}

.carousel-dots .dot.active {
    opacity: 1;
    background: #b99457;
}

.section-cta {
    display: none;
    margin: 18px auto 0;
    padding: 12px 24px;
    border: 1px solid #e6dbc8;
    color: #1a1a1a;
    text-transform: uppercase;
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-align: center;
    width: auto;
    max-width: 400px;
    white-space: nowrap;
}

.section-cta:hover {
    background: #f7f3ec;
}

/* Center grid when less than 4 items */
@media (min-width: 993px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 280px));
        justify-content: center;
    }
}

.product-card {
    background: #fff;
    padding: 20px;
    border: 1px solid #eee;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center content */
}

.product-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 250px;
    /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
}

.product-name {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-family: var(--font-main);
    font-weight: 600;
}

.product-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {

    /* Tablet */
    .hero h1 {
        font-size: 2.8rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet */
    }

    .features-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {

    /* Mobile */
    .hero {
        height: 450px;
        /* Smaller hero */
        background-position: center bottom;
    }

    .hero-content {
        margin: 0;
        text-align: center;
        width: 100%;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .features-grid {
        flex-direction: column;
        /* Stack vertically */
        align-items: center;
    }

    .feature-item {
        margin-bottom: 30px;
        max-width: 100%;
    }

    .promo-banners-flex {
        flex-direction: column;
        /* Stack banners */
    }

    /* Ensure padding is consistent */
    .container {
        padding: 0 20px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        justify-content: center;
        justify-items: center;
    }

    /* Naše pečivo - flex wrap s min 2 produkty v řádku */
    .product-section[data-mode="grid"] .product-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
        padding: 0 15px;
    }

    .product-section[data-mode="grid"] .product-card-modern {
        flex: 0 0 calc(50% - 7px);
        min-width: 0;
        width: auto;
        max-width: 280px;
    }

    /* Carousel sekce - oprava scrollu a mezer */
    .product-section[data-mode="carousel"] .product-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 15px 6px 15px;
        scroll-padding-left: 15px;
    }

    .product-section[data-mode="carousel"] .product-card-modern {
        flex: 0 0 calc(100% - 30px);
        max-width: 320px;
        scroll-snap-align: start;
    }

    .product-grid::-webkit-scrollbar {
        height: 6px;
    }

    .product-grid::-webkit-scrollbar-thumb {
        background: #e6dbc8;
        border-radius: 999px;
    }

    .product-section[data-mode="carousel"] .carousel-dots {
        display: flex;
    }

    .section-cta {
        display: inline-flex;
        justify-content: center;
        width: auto;
        max-width: calc(100% - 30px);
        white-space: normal;
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* Zmenšení obrázků v mobilním zobrazení */
    .product-card-image {
        height: 200px;
    }
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    background: #D1B26C;
    padding: 25px 0;
}

.newsletter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.newsletter-icon {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
}

.newsletter-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) rotate(5deg);
    border-color: #fff;
}

.newsletter-text h3 {
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
}

.newsletter-text p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.newsletter-form-inline {
    display: flex;
    gap: 0;
    flex: 1;
    max-width: 500px;
}

.newsletter-form-inline input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #ddd;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    background: #fff;
    outline: none;
}

.newsletter-form-inline input::placeholder {
    color: #999;
}

.newsletter-form-inline button {
    padding: 14px 25px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.newsletter-form-inline button:hover {
    background: #333;
}

/* ===== MAIN FOOTER ===== */
.main-footer {
    background: #1a1a1a;
    color: #888;
    padding: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding: 50px 0;
    border-bottom: 1px solid #333;
}

.footer-content h4 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 25px;
}

/* Instagram Grid */
.footer-instagram h4 {
    margin-bottom: 8px;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.insta-item {
    aspect-ratio: 1;
    overflow: hidden;
    display: block;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.insta-item:hover img {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Footer Links */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #D1B26C;
}

.payment-methods {
    margin-top: 20px;
}

.payment-methods span {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #666;
    display: block;
    margin-bottom: 10px;
}

.payment-icons {
    display: flex;
    gap: 12px;
}

.payment-icons i {
    font-size: 24px;
    color: #666;
    transition: color 0.3s ease;
}

.payment-icons i:hover {
    color: #D1B26C;
}

/* Footer Contact */
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.footer-contact ul li i {
    color: #D1B26C;
    margin-top: 3px;
    width: 16px;
}

.footer-contact ul li a {
    color: #D1B26C;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-contact ul li a:hover {
    opacity: 0.8;
}

/* Footer Bottom */
.footer-bottom {
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    height: 90px;
    width: auto;
    display: block;
}

.footer-logo .logo-text {
    font-family: 'Jost', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 3px;
    display: block;
}

.footer-logo .logo-subtext {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    color: #D1B26C;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: #D1B26C;
    color: #D1B26C;
}

/* Hero Animation Styles */
.slide-content {
    opacity: 0;
    transform: translateY(30px) translateZ(0);
    transition: all 0.8s ease;
    -webkit-transition: all 0.8s ease;
    -webkit-transform: translateY(30px) translateZ(0);
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.slide-content.animated {
    opacity: 1;
    transform: translateY(0) translateZ(0);
    -webkit-transform: translateY(0) translateZ(0);
}

.slide-content .slide-label {
    opacity: 0;
    transform: translateX(-30px) translateZ(0);
    -webkit-transform: translateX(-30px) translateZ(0);
    transition: all 0.6s ease 0.2s;
    -webkit-transition: all 0.6s ease 0.2s;
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.slide-content.animated .slide-label {
    opacity: 1;
    transform: translateX(0) translateZ(0);
    -webkit-transform: translateX(0) translateZ(0);
}

.slide-content h1 {
    opacity: 0;
    transform: translateY(20px) translateZ(0);
    -webkit-transform: translateY(20px) translateZ(0);
    transition: all 0.8s ease 0.4s;
    -webkit-transition: all 0.8s ease 0.4s;
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.slide-content.animated h1 {
    opacity: 1;
    transform: translateY(0) translateZ(0);
    -webkit-transform: translateY(0) translateZ(0);
}

.slide-content .btn {
    opacity: 0;
    transform: translateY(20px) translateZ(0);
    -webkit-transform: translateY(20px) translateZ(0);
    transition: all 0.1s ease-in-out 0.1s;
    -webkit-transition: all 0.1s ease-in-out 0.1s;
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.slide-content.animated .btn {
    opacity: 1;
    transform: translateY(0) translateZ(0);
    -webkit-transform: translateY(0) translateZ(0);
}

/* Scroll to Top Button with Circular Progress */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top .progress-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    transform: rotate(-90deg);
    pointer-events: none;
}

.scroll-to-top .progress-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 2;
}

.scroll-to-top .progress-bar {
    fill: none;
    stroke: #f5f5dc;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 125.66;
    stroke-dashoffset: 125.66;
    transition: stroke-dashoffset 0.3s ease;
}

.scroll-to-top i {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.7);
}

.scroll-to-top:hover {
    transform: translateY(-2px);
}

/* Mobile optimization for scroll button - hidden on mobile */
@media (max-width: 768px) {
    .scroll-to-top {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

/* Footer Responsive */
@media (max-width: 992px) {
    .newsletter-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-left {
        flex-direction: column;
    }

    .newsletter-form-inline {
        width: 100%;
        max-width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .instagram-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 600px) {
    .newsletter-form-inline {
        flex-direction: column;
    }

    .newsletter-form-inline button {
        width: 100%;
    }

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
    }
}

/* ===== MODERN PRODUCT CARDS ===== */
.product-card-modern {
    background: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card-modern:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.product-card-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.product-card-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease;
}

/* Removed zoom effect on hover - instant image swap instead */

/* Overlay with icons */
.product-card-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.product-card-modern:hover .product-card-overlay {
    opacity: 1;
    transform: translateX(0);
}

.product-icon {
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-icon:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

/* Product info section */
.product-card-info {
    padding: 20px 5px;
    text-align: center;
}

.product-card-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.product-card-price .vat-text {
    font-size: 13px;
    font-weight: 400;
    color: #888;
}

.product-card-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #111;
    text-decoration: none;
    display: block;
    letter-spacing: -0.2px;
}

.product-card-name:hover {
    color: #111;
    text-decoration: none;
}

/* Responsive for modern cards */
@media (max-width: 992px) {
    .product-card-image {
        height: 220px;
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-card-image {
        height: 180px;
    }
    
    .product-card-info {
        padding: 15px 5px;
    }
    
    .product-card-price {
        font-size: 16px;
    }
    
    .product-card-name {
        font-size: 14px;
    }
    
    .product-icon {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
}

/* ===== PRODUCT PAGE STYLES ===== */

/* Breadcrumb */
.breadcrumb {
    background: #f9f9f9;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb a,
.breadcrumb span {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #666;
}

.breadcrumb a:hover {
    color: #111;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: #ccc;
}

.breadcrumb .current {
    color: #111;
    font-weight: 500;
}

/* Product Detail */
.product-detail {
    padding: 60px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Gallery */
.product-gallery {
    position: sticky;
    top: 120px;
}

.main-image-wrapper {
    position: relative;
    background: #f5f5f5;
    overflow: hidden;
    margin-bottom: 15px;
}

.main-product-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: opacity 0.2s ease;
}

.zoom-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
}

.zoom-btn:hover {
    background: #111;
    color: #fff;
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.thumbnail {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    overflow: hidden;
}

.thumbnail.active {
    border-color: #111;
}

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

/* Product Info */
.product-info {
    padding-top: 10px;
}

.product-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
    color: #111;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
}

.product-code {
    color: #888;
}

.product-availability {
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-availability.in-stock {
    color: #2ecc71;
}

.product-price-box {
    background: #f9f9f9;
    padding: 25px;
    margin-bottom: 25px;
    text-align: left;
}

.price-line-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 5px;
}

.price-main {
    font-family: 'Jost', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #111;
}

.price-vat {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #888;
}

.price-no-vat {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.product-short-desc {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.product-short-desc p {
    margin-bottom: 10px;
}

/* Variant selector */
.product-variants {
    margin-bottom: 24px;
}
.variants-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.variant-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 12px 22px;
    border: 2px solid #ddd;
    background: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
    text-align: center;
}
.variant-btn:hover {
    border-color: #D1B26C;
    color: #D1B26C;
}
.variant-btn.is-active {
    border-color: #D1B26C;
    background: #D1B26C;
    color: #fff;
}
.variant-btn .variant-price {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.85;
}
.variant-btn.is-active .variant-price {
    opacity: 1;
}

.show-full-desc {
    display: inline-block;
    margin-top: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.show-full-desc:hover {
    color: #b89a52;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.quantity-selector {
    display: flex;
    border: 1px solid #ddd;
}

.qty-btn {
    width: 44px;
    height: 50px;
    background: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

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

.qty-input {
    width: 60px;
    height: 50px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.qty-input:focus {
    outline: none;
}

.btn-add-to-cart {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    min-width: 200px;
    /* ❌ pryč */
    /* height: 50px; */
    min-height: 50px;
    padding: 0 25px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    line-height: 1;
}

.btn-add-to-cart:hover {
    background: #b89a52;
}

.btn-ask {
    height: 50px;
    padding: 0 25px;
    background: transparent;
    border: 1px solid #111;
    color: #111;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-ask:hover {
    background: #111;
    color: #fff;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid #eeeeee38;
    margin-top: 25px;
    flex-wrap: wrap;
}

.payment-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 28px;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-icons i {
    font-size: 28px;
    color: #555;
    line-height: 1;
}

/* Share Icons */
.product-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.share-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #888;
}

.share-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 18px;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.share-icon:hover {
    color: #111;
}

/* Description Section */
.product-description-section {
    background: #f9f9f9;
    padding: 60px 0;
}

.description-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    padding: 15px 30px;
    background: transparent;
    border: none;
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #888;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn:hover {
    color: #111;
}

.tab-btn.active {
    color: #111;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #111;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.full-description {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    max-width: 800px;
}

.full-description h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: #111;
    margin: 30px 0 15px;
}

.full-description p {
    margin-bottom: 15px;
}

.full-description ul,
.full-description ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.full-description li {
    margin-bottom: 8px;
}

/* Reviews */
.no-reviews {
    text-align: center;
    padding: 60px 20px;
}

.no-reviews i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-reviews p {
    font-family: 'Inter', sans-serif;
    color: #888;
    margin-bottom: 20px;
}

.btn-write-review {
    padding: 12px 30px;
    background: #111;
    color: #fff;
    border: none;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-write-review:hover {
    background: #333;
}

/* Related Products */
.related-products {
    padding: 60px 0;
    text-align: center;
}

.related-products .section-title {
    margin-bottom: 40px;
}

.related-products .product-grid {
    justify-content: center;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    width: 100%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #111;
}

.modal-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    color: #111;
    margin-bottom: 5px;
}

.modal-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #888;
    margin-bottom: 30px;
}

/* Ask Form */
.ask-form .form-group {
    margin-bottom: 20px;
}

.ask-form label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.ask-form input,
.ask-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

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

.btn-submit-ask {
    width: 100%;
    padding: 15px;
    background: #111;
    color: #fff;
    border: none;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s ease;
}

.btn-submit-ask:hover {
    background: #333;
}

/* Zoom Modal */
.zoom-modal .modal-close {
    color: #fff;
    font-size: 36px;
    top: 20px;
    right: 30px;
}

.zoomed-image {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
}

.zoom-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.zoom-nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.zoom-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Product Page Responsive */
@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-gallery {
        position: static;
    }
    
    .main-product-image {
        height: 400px;
    }
    
    .product-title {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .product-detail {
        padding: 30px 0;
    }
    
    .main-product-image {
        height: 300px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .product-title {
        font-size: 40px;
        font-weight: 700;
        letter-spacing: -0.5px;
    }
    
    .price-main {
        font-size: 26px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .quantity-selector {
        width: 100%;
        justify-content: center;
    }
    
    .btn-add-to-cart, .btn-ask {
        width: 100%;
        justify-content: center;
        padding: 18px 0 !important;
        min-height: 56px;
        border-radius: 0 !important;
        font-size: 18px;
        font-weight: 700;
    }
    
    .modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .description-tabs {
        overflow-x: auto;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 14px;
        white-space: nowrap;
    }
}
button.btn-add-to-cart {
    padding-block: 18px;
    padding-inline: 0;
}

/* ============================================
   AUTH PAGES (Login, Register)
   ============================================ */

.auth-page {
    min-height: 70vh;
    padding: 60px 20px;
    background: #f8f8f8;
}

.auth-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.auth-card {
    background: #fff;
    padding: 40px;
    border: 1px solid #eee;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
}

.auth-header p {
    color: #666;
    font-size: 15px;
}

.auth-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 15px;
    margin-bottom: 20px;
}

.error-item {
    color: #dc2626;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-item + .error-item {
    margin-top: 8px;
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #333;
}

.auth-form label .required {
    color: #dc2626;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="tel"],
.auth-form textarea,
.auth-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-size: 15px;
    transition: border-color 0.2s;
}

.auth-form input:focus,
.auth-form textarea:focus,
.auth-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.password-input {
    position: relative;
}

.password-input input {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
}

.toggle-password:hover {
    color: #333;
}

.form-hint {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

.checkbox-group {
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    padding-left: 32px;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-label .checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    background: #fff;
    border: 2px solid #ddd;
    transition: all 0.2s ease;
}

.checkbox-label:hover .checkmark {
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label .checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark::after {
    display: block;
}

.checkbox-label input[type="checkbox"]:focus ~ .checkmark {
    box-shadow: 0 0 0 3px rgba(209, 178, 108, 0.2);
}

.checkbox-text {
    color: #555;
}

.checkbox-text a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.checkbox-text a:hover {
    color: #b89a5a;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.form-options .form-group {
    margin-bottom: 0;
}

.forgot-link {
    font-size: 14px;
    color: var(--primary-color);
}

.btn-auth {
    width: 100%;
    padding: 14px 30px;
    background: #111;
    color: #fff;
    border: none;
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s;
}

.btn-auth:hover {
    background: #333;
}

.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #eee;
}

.auth-divider span {
    background: #fff;
    padding: 0 15px;
    position: relative;
    color: #888;
    font-size: 13px;
}

.auth-footer {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 500;
}

.auth-benefits {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    height: fit-content;
}

.auth-benefits h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.auth-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #444;
}

.auth-benefits li:last-child {
    border-bottom: none;
}

.auth-benefits li i {
    color: var(--primary-color);
    font-size: 18px;
    width: 24px;
}

/* ============================================
   ACCOUNT PAGES (Dashboard, Orders, Settings)
   ============================================ */

.account-page {
    min-height: 70vh;
    padding: 40px 20px;
    background: #f8f8f8;
}

.account-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
    width: 100%;
    min-width: 0;
}

/* Account Sidebar */
.account-sidebar {
    background: #fff;
    border: 1px solid #eee;
    position: sticky;
    top: 120px;
}

.account-user-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    border-bottom: 1px solid #eee;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #888;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    font-size: 15px;
}

.user-email {
    font-size: 13px;
    color: #888;
}

.account-menu {
    padding: 15px 0;
}

.account-menu .menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    color: #444;
    font-size: 14px;
    transition: all 0.2s;
}

.account-menu .menu-item:hover {
    background: #f8f8f8;
    color: #111;
}

.account-menu .menu-item.active {
    background: #f0f0f0;
    color: #111;
    font-weight: 500;
    border-left: 3px solid var(--primary-color);
}

.account-menu .menu-item i {
    width: 20px;
    text-align: center;
    color: #888;
}

.account-menu .menu-item.active i {
    color: var(--primary-color);
}

.menu-badge {
    margin-left: auto;
    background: var(--primary-color);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    font-weight: 600;
}

.menu-divider {
    height: 1px;
    background: #eee;
    margin: 10px 0;
}

.menu-logout {
    color: #dc2626 !important;
}

.menu-logout i {
    color: #dc2626 !important;
}

/* Account Content */
.account-content {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
    min-width: 0;
}

.account-welcome h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.account-welcome p {
    color: #666;
    font-size: 15px;
    margin-bottom: 30px;
}

.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-header h1 i {
    color: var(--primary-color);
}

.page-header p {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

/* Stats Cards */
.account-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f8f8;
    border: 1px solid #eee;
}

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-icon.points {
    background: #fef3c7;
    color: #d97706;
}

.stat-icon.orders {
    background: #dbeafe;
    color: #2563eb;
}

.stat-icon.member {
    background: #dcfce7;
    color: #16a34a;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
}

.stat-label {
    font-size: 13px;
    color: #888;
}

/* Quick Actions */
.quick-actions {
    margin-bottom: 30px;
}

.quick-actions h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    margin-bottom: 15px;
}

.action-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: #f8f8f8;
    border: 1px solid #eee;
    color: #444;
    font-size: 13px;
    text-align: center;
    transition: all 0.2s;
}

.action-card:hover {
    border-color: var(--primary-color);
    background: #fff;
}

.action-card i {
    font-size: 24px;
    color: var(--primary-color);
}

/* Recent Orders */
.recent-orders {
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
}

.view-all {
    font-size: 13px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    background: #f8f8f8;
    border: 1px dashed #ddd;
}

.empty-state.large {
    padding: 80px 20px;
}

.empty-state i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 0;
}

.empty-state .empty-icon i {
    font-size: 64px;
}

.empty-state h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    margin-bottom: 10px;
}

.empty-state p {
    color: #888;
    margin-bottom: 25px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: #111;
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.btn-primary i {
    font-size: 14px;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    color: #111;
    border: 1px solid #ddd;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: #111;
}

.orders-table table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}

.orders-table th,
.orders-table td {
    padding: 12px 15px;
    word-break: break-word;
    overflow-wrap: anywhere;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.orders-table th {
    text-transform: uppercase;
    color: #888;
    font-weight: 500;
    /* removed invalid width/display, keep only correct styles */
}

.status-badge.pending {
    background: #fef3c7;
    color: #d97706;
}

.status-badge.processing {
    background: #dbeafe;
    color: #2563eb;
}

.status-badge.shipped {
    background: #e0e7ff;
    color: #4f46e5;
}

.status-badge.completed {
    background: #dcfce7;
    color: #16a34a;
}

.status-badge.cancelled {
    background: #fef2f2;
    color: #dc2626;
}

.btn-link {
    color: var(--primary-color);
    font-size: 13px;
}

/* Points Info Card */
.points-info-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 25px;
    border: 1px solid #fcd34d;
}

.points-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.points-header i {
    font-size: 24px;
    color: #d97706;
}

.points-header h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
}

.points-info-card p {
    color: #92400e;
    font-size: 14px;
    margin-bottom: 15px;
}

.points-progress .progress-bar {
    height: 8px;
    background: rgba(255,255,255,0.5);
    overflow: hidden;
}

.points-progress .progress-fill {
    height: 100%;
    background: #d97706;
}

.progress-text {
    display: block;
    font-size: 12px;
    color: #92400e;
    margin-top: 8px;
}

/* Settings Sections */
.settings-section {
    border: 1px solid #eee;
    padding: 25px;
    margin-bottom: 25px;
}

.settings-section .section-header {
    margin-bottom: 20px;
}

.settings-section .section-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.settings-section .section-header h2 i {
    color: var(--primary-color);
}

.section-desc {
    font-size: 13px;
    color: #888;
    margin-top: 5px;
}

.settings-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.settings-form .form-group {
    margin-bottom: 20px;
}

.settings-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #333;
}

.settings-form input[type="text"],
.settings-form input[type="email"],
.settings-form input[type="password"],
.settings-form input[type="tel"],
.settings-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-size: 15px;
    transition: border-color 0.2s;
}

.settings-form input:focus,
.settings-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.settings-form input:disabled {
    background: #f5f5f5;
    color: #888;
}

.form-actions {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.info-section {
    background: #f8f8f8;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item .label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
}

.info-item .value {
    font-size: 15px;
    font-weight: 500;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.alert-success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

/* Points Balance Card */
.points-balance-card {
    background: linear-gradient(135deg, #111 0%, #333 100%);
    color: #fff;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.balance-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.balance-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.balance-value {
    font-size: 42px;
    font-weight: 700;
    font-family: 'Cormorant Garamond', serif;
}

.balance-label {
    font-size: 14px;
    color: #999;
}

.balance-worth {
    text-align: right;
}

.worth-label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}

.worth-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

/* How it works */
.points-how-it-works {
    margin-bottom: 30px;
}

.points-how-it-works h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    margin-bottom: 20px;
}

.how-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.how-card {
    text-align: center;
    padding: 25px;
    background: #f8f8f8;
    border: 1px solid #eee;
}

.how-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: var(--primary-color);
}

.how-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.how-card p {
    font-size: 13px;
    color: #666;
}

/* Rewards Timeline */
.points-progress-section {
    margin-bottom: 30px;
}

.points-progress-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    margin-bottom: 20px;
}

.rewards-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 20px 0;
}

.rewards-timeline::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: #eee;
}

.reward-item {
    text-align: center;
    position: relative;
    flex: 1;
}

.reward-marker {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 3px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 12px;
    font-weight: 600;
    color: #888;
    position: relative;
    z-index: 1;
}

.reward-item.achieved .reward-marker {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.reward-item.current .reward-marker {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.reward-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 3px;
}

.reward-desc {
    font-size: 12px;
    color: #888;
}

/* Orders List */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    border: 1px solid #eee;
    background: #fff;
}

.order-header {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
}

.order-id .label,
.order-date .label {
    display: block;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.order-id .value {
    font-weight: 600;
}

.order-status {
    margin-left: auto;
}

.order-items {
    padding: 20px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.order-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.order-item .item-info {
    flex: 1;
}

.order-item .item-name {
    display: block;
    font-size: 14px;
}

.order-item .item-qty {
    font-size: 12px;
    color: #888;
}

.order-item .item-price {
    font-weight: 500;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f8f8;
    border-top: 1px solid #eee;
}

.order-total .label {
    font-size: 13px;
    color: #666;
}

.order-total .value {
    font-size: 18px;
    font-weight: 600;
}

/* Points History */
.points-history h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-benefits {
        order: -1;
    }
    
    .account-container {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
        width: 100%;
    }
    
    .account-sidebar {
        position: static;
    }
    
    .account-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .action-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .how-cards {
        grid-template-columns: 1fr;
    }
    
    .points-balance-card {
        padding: 25px 20px;
    }
    
    .rewards-timeline {
        flex-direction: column;
        gap: 20px;
    }
    
    .rewards-timeline::before {
        display: none;
    }
    
    .reward-item {
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
    }
    
    .reward-marker {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .auth-card {
        padding: 25px;
    }
    
    .auth-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .account-content {
        padding: 20px;
        width: 100%;
        max-width: 100%;
    }
    
    .account-stats {
        grid-template-columns: 1fr;
    }
    
    .action-cards {
        grid-template-columns: 1fr;
    }
    
    .settings-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .points-balance-card {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .balance-main {
        flex-direction: column;
    }
    
    .balance-worth {
        text-align: center;
    }
    
    .order-header {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    /* Section header stacking on mobile */
    .settings-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .settings-section .section-header h2 {
        font-size: 16px;
    }
    
    .section-desc {
        font-size: 12px;
    }
    
    /* Account content overflow fix */
    .account-page {
        padding: 20px 10px;
    }
    
    .account-content {
        overflow-x: hidden;
        word-wrap: break-word;
    }

    .orders-table {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* How cards responsive */
    .how-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .how-card {
        padding: 20px 15px;
    }
    
    .how-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    /* Rewards timeline mobile */
    .rewards-timeline {
        flex-direction: column;
        gap: 15px;
    }
    
    .reward-item {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }
    
    .reward-marker {
        width: 36px;
        height: 36px;
        font-size: 11px;
        flex-shrink: 0;
    }
    
    .reward-name {
        font-size: 14px;
    }
    
    .reward-desc {
        font-size: 12px;
    }
    
    /* Page header mobile */
    .page-header h1 {
        font-size: 22px;
    }
    
    .page-header p {
        font-size: 13px;
    }
    
    /* Balance card mobile */
    .balance-value {
        font-size: 32px;
    }
    
    .balance-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .worth-value {
        font-size: 20px;
    }
}

/* ============================================
   SEARCH PAGE
   ============================================ */

.search-page {
    padding: 30px 0 60px;
    background: linear-gradient(180deg, #faf8f5 0%, #f5f0e8 100%);
    min-height: 70vh;
    animation: searchFadeIn 0.5s ease both;
}

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

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 20px;
    color: #888;
}

.breadcrumb a {
    color: #8b7355;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    color: #ccc;
}

.breadcrumb .current {
    color: #333;
    font-weight: 500;
}

/* Search Header */
.search-header {
    background: #fff;
    border: 1px solid #e8e2da;
    padding: 35px 40px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 12px 24px rgba(38, 28, 18, 0.08);
    animation: searchCardIn 0.5s ease both;
}

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

.search-title {
    font-family: 'Jost', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #2c2418;
    margin: 0 0 8px 0;
}

.search-subtitle {
    font-size: 15px;
    color: #8b7355;
    margin: 0 0 25px 0;
}

.search-header-bar {
    max-width: 600px;
    margin: 0 auto;
}

.search-header-form {
    display: flex;
    gap: 0;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-icon {
    position: absolute;
    left: 18px;
    color: #a89880;
    font-size: 16px;
}

.search-header-input {
    width: 100%;
    padding: 16px 50px 16px 48px;
    border: 2px solid #e8e2da;
    border-right: none;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    background: #faf8f5;
    transition: all 0.2s;
}

.search-header-input:focus {
    outline: none;
    border-color: #D1B26C;
    background: #fff;
}

.search-clear {
    position: absolute;
    right: 12px;
    color: #a89880;
    font-size: 14px;
    padding: 5px;
    transition: color 0.2s;
}

.search-clear:hover {
    color: #333;
}

.search-header-btn {
    padding: 16px 30px;
    background: #D1B26C;
    color: #fff;
    border: 2px solid #D1B26C;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.search-header-btn:hover {
    background: #c9a85a;
    border-color: #c9a85a;
}

/* Search Layout */
.search-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

/* Sidebar */
.search-sidebar {
    background: #fff;
    border: 1px solid #e8e2da;
    position: sticky;
    top: 120px;
}

.filter-section {
    padding: 25px;
    border-bottom: 1px solid #f0ebe3;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-section h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #2c2418;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-section h3 i {
    color: #D1B26C;
    font-size: 14px;
}

/* Category Filter List */
.category-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-filter-list li {
    margin-bottom: 0;
}

.category-filter-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: #5a5044;
    font-size: 14px;
    border-bottom: 1px solid #f5f0e8;
    transition: all 0.2s;
}

.category-filter-list a:hover {
    color: #2c2418;
    padding-left: 5px;
}

.category-filter-list a.active {
    color: #D1B26C;
    font-weight: 600;
}

.category-filter-list .count {
    background: #f5f0e8;
    padding: 3px 10px;
    font-size: 12px;
    color: #8b7355;
    border-radius: 12px;
}

.category-filter-list a.active .count {
    background: #D1B26C;
    color: #fff;
}

/* Price Filter */
.price-range-display {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.price-label {
    display: block;
    color: #8b7355;
    margin-bottom: 5px;
}

.price-values {
    color: #2c2418;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-inputs input {
    flex: 1;
    padding: 12px;
    border: 1px solid #e8e2da;
    font-size: 14px;
    text-align: center;
    width: 80px;
    background: #faf8f5;
    transition: all 0.2s;
}

.price-inputs input:focus {
    outline: none;
    border-color: #D1B26C;
    background: #fff;
}

.price-sep {
    color: #a89880;
}

.btn-filter {
    width: 100%;
    padding: 14px;
    background: #2c2418;
    color: #fff;
    border: none;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-filter:hover {
    background: #D1B26C;
}

/* Search Content */
.search-content {
    min-height: 500px;
}

/* Toolbar */
.search-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px 20px;
    border: 1px solid #e8e2da;
    margin-bottom: 25px;
}

.results-count {
    font-size: 14px;
    color: #8b7355;
}

.results-count strong {
    color: #2c2418;
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sort-select,
.per-page-select {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.sort-select label,
.per-page-select label {
    font-family: 'Jost', 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #8b7355;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.sort-select select,
.per-page-select select {
    font-family: 'Jost', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #2c2418;
    padding: 10px 36px 10px 14px;
    border: 1px solid #e8e2da;
    border-radius: 0;
    cursor: pointer;
    background-color: #faf8f5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b7355' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: all 0.2s ease;
    min-width: 120px;
}

.sort-select select:hover,
.per-page-select select:hover {
    border-color: #d4c4a8;
    background-color: #fff;
}

.sort-select select:focus,
.per-page-select select:focus {
    outline: none;
    border-color: #D1B26C;
    box-shadow: 0 0 0 3px rgba(209, 178, 108, 0.15);
    background-color: #fff;
}

/* Better touch targets for mobile */
@media (max-width: 768px) {
    .sort-select,
    .per-page-select {
        flex: 1;
        min-width: 0;
    }
    
    .sort-select label,
    .per-page-select label {
        font-size: 12px;
    }
    
    .sort-select select,
    .per-page-select select {
        width: 100%;
        font-size: 16px; /* Prevents iOS zoom on focus */
        padding: 12px 40px 12px 14px;
        min-width: 0;
        min-height: 44px; /* Apple HIG touch target */
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .toolbar-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .sort-select,
    .per-page-select {
        width: 100%;
    }
    
    .sort-select select,
    .per-page-select select {
        flex: 1;
    }
}

/* Search Grid */
.search-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.search-grid .product-card-modern {
    background: #fff;
    border: 1px solid #f0ebe3;
    transition: all 0.3s ease;
}

.search-grid .product-card-modern:hover {
    border-color: #e8e2da;
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.1);
}

.search-grid .product-card-image-wrapper {
    background: #faf8f5;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border: 1px solid #e8e2da;
}

.no-results-icon {
    font-size: 64px;
    color: #e8e2da;
    margin-bottom: 20px;
}

.no-results h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    margin-bottom: 10px;
    color: #2c2418;
}

.no-results p {
    color: #8b7355;
    margin-bottom: 25px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 40px 0 20px;
}

.page-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid #e8e2da;
    color: #5a5044;
    font-size: 14px;
    font-family: 'Jost', sans-serif;
    transition: all 0.2s;
}

.page-btn:hover {
    background: #2c2418;
    border-color: #2c2418;
    color: #fff;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #fff;
    border: 1px solid #e8e2da;
    color: #5a5044;
    font-size: 14px;
    transition: all 0.2s;
}

.page-num:hover {
    border-color: #D1B26C;
    color: #D1B26C;
}

.page-num.active {
    background: #D1B26C;
    border-color: #D1B26C;
    color: #fff;
}

.page-dots {
    color: #a89880;
    padding: 0 5px;
}

.page-info {
    font-size: 14px;
    color: #888;
}

/* Responsive */
@media (max-width: 1024px) {
    .search-layout {
        grid-template-columns: 1fr;
    }
    
    .search-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    
    .filter-section {
        border-bottom: none;
        border-right: 1px solid #f0ebe3;
    }
    
    .filter-section:last-child {
        border-right: none;
    }
    
    .search-header {
        padding: 25px 20px;
    }
    
    .search-title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .search-sidebar {
        grid-template-columns: 1fr;
    }
    
    .filter-section {
        border-right: none;
        border-bottom: 1px solid #f0ebe3;
    }
    
    .search-toolbar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .toolbar-actions {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .search-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .page-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .page-num {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .search-grid {
        grid-template-columns: 1fr;
    }
    
    .search-header-form {
        flex-direction: column;
    }
    
    .search-header-input {
        border-right: 2px solid #e8e2da;
    }
    
    .search-header-btn {
        width: 100%;
    }
}

/* ============================================
   LIVE SEARCH DROPDOWN
   ============================================ */

.search-area {
    position: relative;
}

.live-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e8e2da;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    max-height: 450px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
}

.live-search-results.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.live-search-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 25px;
    color: #8b7355;
    font-size: 14px;
}

.live-search-items {
    padding: 0;
}

.live-search-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-bottom: 1px solid #f5f0e8;
    transition: background 0.2s;
}

.live-search-item:hover {
    background: #faf8f5;
}

.live-search-img {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    background: #f5f0e8;
    overflow: hidden;
}

.live-search-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-search-info {
    flex: 1;
    min-width: 0;
}

.live-search-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #2c2418;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-search-cat {
    display: block;
    font-size: 12px;
    color: #a89880;
    margin-top: 3px;
}

.live-search-price {
    font-size: 14px;
    font-weight: 600;
    color: #D1B26C;
    white-space: nowrap;
}

.live-search-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    background: #faf8f5;
    color: #2c2418;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border-top: 1px solid #e8e2da;
}

.live-search-all:hover {
    background: #D1B26C;
    color: #fff;
}

.live-search-empty,
.live-search-error {
    padding: 30px 20px;
    text-align: center;
    color: #8b7355;
    font-size: 14px;
}
/* Cart Page + Toast */
.cart-page {
    background: radial-gradient(900px 500px at 5% -10%, rgba(209, 178, 108, 0.18), transparent 60%),
        radial-gradient(700px 400px at 100% 10%, rgba(0, 0, 0, 0.04), transparent 55%),
        #fff;
    padding: 50px 0 80px;
}

.cart-hero .container {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.cart-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    position: relative;
}

:root {
    --global-strip-height: 42px;
}

.global-delivery-strip {
    background: linear-gradient(90deg, #2f7a1f, #3f9b2a);
    color: #fff;
    padding: 10px 16px;
    text-align: center;
    font-size: 13px;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.global-delivery-strip a {
    color: #fff;
    text-decoration: underline;
    font-weight: 700;
    margin-left: 6px;
    display: inline-block;
}

.global-delivery-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 900px) {
    .global-delivery-strip {
        padding: 6px 10px;
        font-size: 12px;
    }
}

.availability-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #111;
    color: #fff;
    padding: 10px 14px;
    border: 1px solid #2b2b2b;
    text-decoration: none;
    min-width: 220px;
}

.availability-cta .availability-icon {
    width: 34px;
    height: 34px;
    border: 1px solid #2b2b2b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1c1c1c;
}

.availability-cta .availability-title {
    font-size: 13px;
    font-weight: 700;
    display: block;
}

.availability-cta .availability-subtitle {
    font-size: 12px;
    color: #cfcfcf;
    display: block;
}

.availability-cta .availability-caret {
    margin-left: auto;
    font-size: 12px;
    color: #cfcfcf;
}

.availability-cta:hover {
    background: #111;
    border-color: #2b2b2b;
}

.page-basic {
    padding: 30px 0 60px;
}

.page-hero {
    background: #f7f3ed;
    padding: 28px 0;
    margin-bottom: 24px;
}

.delivery-rules .page-hero {
    background: linear-gradient(90deg, #f7f3ed, #ece7df);
    border-bottom: 0;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #eee0cc;
    padding: 6px 12px;
    font-size: 12px;
    margin-bottom: 10px;
}

.page-hero h1 {
    margin: 0 0 8px;
    font-size: 32px;
}

.page-hero p {
    margin: 0;
    color: #444;
}

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

.delivery-rules .content-block:nth-child(odd) {
    background: #fff;
}

.delivery-rules .content-block:nth-child(even) {
    background: #f7f7f7;
}

.delivery-rules .content-block h2 {
    color: #111;
}

.delivery-rules .content-block p,
.delivery-rules .content-block li {
    color: #444;
}

.delivery-rules .content-block.content-highlight {
    border-color: #111;
    background: #f5f1e9;
}

.delivery-rules .content-block.content-cta {
    background: #f2fbf0;
    border-color: #2f7a1f;
}

.delivery-rules .content-block a {
    color: #111;
    text-decoration: underline;
}

.page-content .content-block {
    background: #fff;
    border: 1px solid #eee0cc;
    padding: 20px 22px;
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(10px);
    transition: transform 0.35s ease, opacity 0.35s ease;
    border-radius: 0;
}

.page-content .content-block.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.page-content .content-block.content-highlight {
    border-color: #D1B26C;
    background: #fffaf2;
}

.page-content .content-block.content-cta {
    border-color: #2f7a1f;
    background: #f2fbf0;
}

.page-content .content-block .cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #2f7a1f;
    color: #fff;
    padding: 10px 16px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 6px;
}

.delivery-help {
    margin-top: 24px;
    border-radius: 0;
    padding: 16px 18px;
    border: 1px dashed #e6d8c3;
    background: #fffaf2;
}

.delivery-help .cart-help-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.delivery-help .cart-btn-outline {
    border-color: #111;
}

.page-content .content-block h2 {
    margin: 0 0 10px;
    font-size: 20px;
}

.page-content .content-block p {
    margin: 0 0 10px;
    color: #444;
}

.page-content .content-list {
    margin: 0 0 10px 18px;
}

.page-content .content-list li {
    margin-bottom: 6px;
}

.plan-tras-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin-bottom: 20px;
}

.plan-tras-map-card {
    background: #fff;
    border: 1px solid #eee0cc;
    padding: 16px;
    position: relative;
    border-radius: 0;
}

.plan-tras-embedded {
    margin-bottom: 24px;
}

.routes-map {
    height: 520px;
    width: 100%;
    border: 1px solid #eee0cc;
    position: relative;
    border-radius: 0;
}

.map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    font-size: 13px;
}

.map-legend .legend-item {
    border-radius: 0;
}

.plan-tras-map-card .cart-min-alert {
    margin-bottom: 12px;
}

.plan-tras-panel .plan-info-cta .cta-link {
    margin-top: 8px;
}

.map-loading {
    position: absolute;
    inset: 16px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px dashed #e6d8c3;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    z-index: 2;
    gap: 10px;
}

.map-loading.is-visible {
    display: flex;
}

.map-loading .spinner {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.custom-pin {
    position: relative;
}

.custom-pin .pin-core {
    width: 22px;
    height: 22px;
    background: #D1B26C;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(209, 178, 108, 0.4);
    position: relative;
    z-index: 2;
}

.custom-pin .pin-pulse {
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    background: rgba(209, 178, 108, 0.25);
    animation: pulse 1.6s ease-out infinite;
}

@keyframes pulse {
    0% { transform: scale(0.4); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f7f3ed;
    padding: 4px 8px;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.plan-tras-panel {
    display: grid;
    gap: 14px;
}

.embedded-panel {
    margin-top: 16px;
}

.plan-tras-panel .panel-block {
    background: #fff;
    border: 1px solid #eee0cc;
    padding: 16px;
    border-radius: 0;
}

.plan-tras-panel label {
    font-size: 13px;
    display: block;
    margin: 10px 0 6px;
}

.plan-tras-panel .address-field {
    position: relative;
    display: flex;
    align-items: center;
}

.plan-tras-panel .address-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e3d5bf;
}

.mode-toggle {
    display: flex;
    gap: 8px;
    margin: 10px 0;
}

.mode-btn {
    border: 1px solid #e3d5bf;
    background: #fff;
    padding: 6px 12px;
    cursor: pointer;
}

.mode-btn.is-active {
    background: #D1B26C;
    border-color: #D1B26C;
    color: #fff;
}

.plan-result {
    background: #fffaf2;
    border-color: #D1B26C;
}

.plan-result-text {
    font-size: 16px;
    font-weight: 700;
}

.plan-result-sub {
    color: #6b7280;
    margin-top: 6px;
}

.plan-tras-cta {
    margin-top: 10px;
}

@media (max-width: 980px) {
    .plan-tras-layout {
        grid-template-columns: 1fr;
    }
    .routes-map {
        height: 360px;
    }
}
@media (max-width: 900px) {
    .delivery-rules .content-grid {
        grid-template-columns: 1fr;
    }
    .delivery-help {
        margin-top: 10px;
    }
    .page-hero h1 {
        font-size: 26px;
    }
}

.checkout-page .cart-steps {
    margin-bottom: 18px;
}

.checkout-page .cart-step {
    border-radius: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.checkout-page .cart-step::after {
    display: none;
}

.checkout-page .cart-step.done .step-title,
.checkout-page .cart-step.done .step-subtitle {
    color: #3c840f;
}

.checkout-page .cart-step[data-href] {
    cursor: pointer;
}

.checkout-page .cart-step[data-href]:hover {
    transform: translateY(-6px);
}

.checkout-page .cart-step[data-href]:hover .step-index {
    background: #D1B26C;
    color: #fff;
    transform: rotate(-6deg) scale(1.06);
}

.checkout-page .cart-step.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.checkout-page .cart-step.is-disabled:hover {
    transform: none;
}

.checkout-page .cart-step.is-disabled .step-index {
    background: #EAECEF;
    color: #BCBFC6;
}

.checkout-page .cart-step.is-disabled:hover .step-index {
    background: #EAECEF;
    color: #BCBFC6;
    transform: none;
}

.checkout-page .step-index {
    transition: transform 0.25s ease;
}

.checkout-page .cart-step.done:hover .step-index {
    background: #22c55e;
    color: #fff;
}

.checkout-page .cart-info-banner {
    border-radius: 0;
}

.cart-step {
    display: flex;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    align-items: center;
    position: relative;
    overflow: hidden;
    opacity: 0.7;
}

.cart-step::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(209, 178, 108, 0.18), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-step.active {
    border-color: rgba(209, 178, 108, 0.6);
    opacity: 1;
    transform: translateY(-2px);
}

.cart-step.active::after {
    opacity: 1;
}

.step-index {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    font-weight: 700;
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    flex-shrink: 0;
}

.cart-step.active .step-index {
    background: #D1B26C;
    color: #fff;
}

.cart-step.done .step-index {
    background: #22c55e;
    color: #fff;
}

.step-title {
    font-weight: 700;
    display: block;
    color: #111;
}

.step-subtitle {
    font-size: 12px;
    color: #666;
}

.cart-heading h1 {
    font-size: 32px;
    margin: 0 0 6px;
}

.cart-heading p {
    margin: 0;
    color: #555;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 26px;
}

.cart-table-head {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr 40px;
    gap: 16px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #111;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cart-items {
    display: grid;
    gap: 16px;
    margin-top: 14px;
}

.cart-item {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr 40px;
    gap: 16px;
    background: #fff;
    border-radius: 16px;
    padding: 16px 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    align-items: center;
}

.cart-item-product {
    display: flex;
    gap: 14px;
    align-items: center;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f5;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-name {
    font-weight: 700;
    margin-bottom: 4px;
}

.cart-item-meta {
    font-size: 12px;
    color: #777;
}

.cart-item-price .price-main,
.cart-item-total .price-main {
    font-weight: 700;
    font-size: 16px;
}

.cart-item-price .price-sub,
.cart-item-total .price-sub {
    font-size: 12px;
    color: #777;
}

.cart-item-qty {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f6f6f6;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.cart-item-qty .qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #111;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.cart-item-qty .qty-input {
    width: 48px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
}

.cart-item-remove {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    cursor: pointer;
    color: #333;
}

.cart-empty {
    display: none;
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px dashed rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.cart-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 20px;
    background: #f6f1e4;
    color: #D1B26C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.cart-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cart-help,
.cart-summary {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.cart-help-title {
    font-weight: 700;
    margin-bottom: 12px;
}

.cart-help-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.cart-help-list a {
    color: #333;
    text-decoration: none;
    display: flex;
    gap: 10px;
    align-items: center;
}

.cart-help-list i {
    color: #D1B26C;
}

.cart-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cart-summary-badge {
    background: #111;
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 15px;
}

.cart-summary-row.small {
    font-size: 13px;
    color: #666;
}

.cart-summary-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 12px 0;
}

.cart-summary-note {
    font-size: 12px;
    color: #777;
    margin: 0;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cart-btn-primary {
    background: #111;
    color: #fff;
    border-color: #111;
}

.cart-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
}

.cart-btn-secondary {
    background: #fff;
    color: #111;
    border-color: #111;
}

.cart-btn-outline {
    background: #fff;
    color: #111;
    border-color: #D1B26C;
}

.cart-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.cart-btn:disabled,
.cart-btn.is-disabled {
    background: #e5e7eb;
    color: #6b7280;
    border-color: #cbd5e1;
}

.cart-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    background: #111;
    color: #fff;
    border-radius: 18px;
    padding: 16px 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    width: min(360px, calc(100% - 40px));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transform: translateY(30px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s ease;
    z-index: 9999;
}

.cart-toast.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cart-toast-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #D1B26C;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.cart-toast-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.cart-toast-subtitle {
    font-size: 12px;
    color: #d6d6d6;
    margin-bottom: 10px;
}

.cart-toast-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cart-toast-btn {
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
}

.cart-toast-primary {
    background: #D1B26C;
    color: #111;
}

.cart-toast-ghost {
    background: transparent;
    color: #fff;
    border-color: #444;
}

.cart-toast-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    margin-left: auto;
}

.cart-icon-bump {
    animation: cartBump 0.4s ease;
}

@keyframes cartBump {
    0% { transform: scale(1); }
    40% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@media (max-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-table-head {
        display: none;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cart-item-remove {
        justify-self: flex-end;
    }
}

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

    .cart-step {
        opacity: 1;
    }

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

/* Cart toast overrides */
.cart-toast {
    top: 24px;
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translate(-50%, -20px);
    background: #66ae4e;
    border-radius: 0;
}

.cart-toast.show {
    transform: translate(-50%, 0);
}

.cart-toast-icon {
    background: #ffffff;
    color: #66ae4e;
    border-radius: 0;
}

.cart-toast-btn,
.cart-toast-primary {
    border-radius: 0;
}

.cart-toast-close {
    color: #ffffff;
}

/* Cart toast overrides v2 */
.cart-toast {
    background: #3c840f;
    width: 100%;
    left: 0;
    right: 0;
    max-width: none;
    border-radius: 0;
    justify-content: center;
}

.cart-toast-content,
.cart-toast-title {
    color: #ffffff;
}

.cart-toast-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.cart-toast-btn,
.cart-toast-primary {
    background: #ffffff;
    color: #3c840f;
    border-color: #ffffff;
    border-radius: 0;
}

.cart-toast-close {
    color: #ffffff;
}

/* Cart toast position override (no transform) */
.cart-toast {
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    transform: none;
}

.cart-toast.show {
    transform: none;
}

/* Cart toast position + icon override */
.cart-toast {
    top: 0;
    bottom: auto;
    transform: none;
}

.cart-toast-icon {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    border-radius: 50%;
}

/* Cart toast spacing + animation */
.cart-toast {
    left: 30px;
    right: 30px;
    width: calc(100% - 60px);
    top: 20px;
}

.cart-toast.show {
    animation: toastSlideIn 0.35s ease forwards;
}

.cart-toast.hide {
    animation: toastSlideOut 0.35s ease forwards;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        top: 0;
    }
    to {
        opacity: 1;
        top: 20px;
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        top: 20px;
    }
    to {
        opacity: 0;
        top: 0;
    }
}

/* Cart toast button hover */
.cart-toast .cart-toast-btn:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

/* Cart page overrides (zero radius + beige header + hover steps) */
.cart-page .cart-step,
.cart-page .cart-table-head,
.cart-page .cart-item,
.cart-page .cart-item-image,
.cart-page .cart-summary,
.cart-page .cart-help,
.cart-page .cart-btn,
.cart-page .cart-empty,
.cart-page .cart-summary-badge,
.cart-page .cart-item-qty,
.cart-page .qty-btn,
.cart-page .cart-item-remove,
.cart-page .cart-info-banner,
.cart-page .cart-min-alert {
    border-radius: 0;
}

.cart-page .cart-table-head {
    background: #D1B26C;
    color: #111;
}

.cart-page .cart-step {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cart-page .step-index {
    transition: transform 0.25s ease;
}

.cart-page .cart-step:hover {
    transform: translateY(-6px);
}

.cart-page .cart-step:hover .step-index {
    transform: rotate(-6deg) scale(1.08);
}

.cart-info-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px dashed #3c840f;
    color: #3c840f;
    padding: 12px 16px;
    background: rgba(60, 132, 15, 0.06);
}

.cart-info-banner i {
    font-size: 18px;
}

.cart-min-alert {
    display: none;
    align-items: center;
    gap: 12px;
    border: 1px dashed #b91c1c;
    color: #b91c1c;
    padding: 12px 16px;
    background: rgba(185, 28, 28, 0.06);
    margin-bottom: 12px;
}

.cart-min-alert i {
    font-size: 18px;
    color: #b91c1c;
}

.cart-min-alert strong {
    font-weight: 700;
}

.cart-min-alert.is-visible {
    display: flex;
}

.cart-page .cart-item {
    cursor: pointer;
}

.cart-page .cart-item-link {
    color: inherit;
    text-decoration: none;
}

.cart-page .cart-item-link:hover .cart-item-name {
    text-decoration: underline;
}

#cartAskBtn {
    border: 2px solid #111;
    color: #111;
    background: transparent;
    border-radius: 0;
}

#cartAskBtn i {
    color: #111;
}

.cart-page .cart-btn-primary {
    background: #D1B26C;
    color: #111;
    border-color: #D1B26C;
}

.cart-page .cart-btn-secondary {
    background: #fff;
    color: #111;
    border-color: #111;
}

/* Cart modal radius override */
#cartAskModal .modal-content,
#cartAskModal .modal-close,
#cartAskModal input,
#cartAskModal textarea,
#cartAskModal button {
    border-radius: 0;
}

/* Cart page beige + buttons + no shadow */
.cart-page .cart-step {
    background: #D1B26C;
    color: #fff;
}

.cart-page .cart-step .step-title,
.cart-page .cart-step .step-subtitle {
    color: #fff;
}

.cart-page .cart-table-head {
    background: #D1B26C;
    color: #fff;
}

.cart-page .cart-btn-primary {
    color: #fff;
}

.cart-page .cart-btn-primary:hover {
    background: #fff;
    color: #D1B26C;
    border: 2px solid #D1B26C;
    box-shadow: none;
    transform: none;
}

#cartContinueBtn {
    padding: 16px 30px 20px;
    font-size: 16px;
}

.cart-page .cart-item {
    box-shadow: none;
    border: 1px solid #e0e0e0;
    border-radius: 0;
}

.cart-upsell {
    padding: 50px 0 70px;
    background: #fff;
}

.cart-upsell h3 {
    font-size: 24px;
    color: #111;
    margin-bottom: 24px;
    text-align: left;
}

/* Cart steps color restore + active index */
.cart-page .cart-step {
    background: #fff;
    color: #111;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cart-page .cart-step .step-title {
    color: #111;
}

.cart-page .cart-step .step-subtitle {
    color: #666;
}

.cart-page .cart-step.active .step-index {
    color: #fff;
}

/* Cart upsell spacing + carousel */
.cart-upsell {
    margin-top: 30px;
}

.cart-upsell h3 {
    margin-bottom: 10px;
}

.cart-upsell .product-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}

.cart-upsell .product-card-modern {
    flex: 0 0 260px;
    scroll-snap-align: start;
}

.cart-upsell .product-grid::-webkit-scrollbar {
    height: 8px;
}

.cart-upsell .product-grid::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
}

/* Cart upsell tweaks */
.cart-upsell {
    padding-top: 0;
}

.cart-upsell h3 {
    font-weight: 500;
}

/* First step no gradient */
.cart-page .cart-step:first-child::after {
    display: none;
}

/* Hover states for ask + back buttons */
#cartAskBtn:hover,
.cart-page .cart-btn-secondary:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

#cartAskBtn:hover i {
    color: #fff;
}

/* Upsell carousel controls + spacing */
.cart-upsell {
    padding-top: 0;
}

.cart-upsell h3 {
    font-weight: 500;
    margin-bottom: 10px;
}

.cart-upsell-carousel {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 20px;
}

.cart-upsell-track .product-grid {
    display: flex;
    gap: 28px;
    overflow: hidden;
    scroll-behavior: smooth;
}

.cart-upsell-track .product-card-modern {
    flex: 0 0 260px;
}

.upsell-nav {
    width: 42px;
    height: 42px;
    border: 2px solid #111;
    background: #fff;
    color: #111;
    font-size: 18px;
    cursor: pointer;
}

.upsell-nav:hover {
    background: #111;
    color: #fff;
}

@media (max-width: 900px) {
    .cart-upsell-carousel {
        grid-template-columns: 32px minmax(0, 1fr) 32px;
    }

    .cart-upsell-track .product-card-modern {
        flex: 0 0 220px;
    }
}

@media (max-width: 640px) {
    .cart-upsell-carousel {
        grid-template-columns: 1fr;
    }

    .upsell-nav {
        display: none;
    }

    .cart-upsell-track .product-grid {
        overflow-x: auto;
        padding-bottom: 6px;
    }
}

/* Upsell carousel alignment fixes */
.cart-upsell-track {
    overflow-x: auto;
}

.cart-upsell-track .product-grid {
    margin: 0;
    padding: 0;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    scroll-padding-right: 0;
}

.cart-upsell-track .product-card-modern {
    scroll-snap-align: start;
}

.cart-upsell-track::-webkit-scrollbar {
    height: 0;
}

/* Cart step hover link */
.cart-page .cart-step[data-href] {
    cursor: pointer;
}

.cart-page .cart-step[data-href]:hover .step-index {
    background: #D1B26C;
    color: #fff;
}

.cart-page .cart-step.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cart-page .cart-step.is-disabled::after {
    opacity: 0;
}

.cart-page .cart-step.is-disabled:hover {
    transform: none;
}

.cart-page .cart-step.is-disabled .step-index {
    background: #d1d5db;
    color: #6b7280;
}

/* Checkout page */
.checkout-page {
    background: #fff;
    padding: 40px 0 70px;
}

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

.checkout-section {
    padding: 24px 0;
    border-bottom: 1px solid #eee;
}

.checkout-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    text-transform: none;
    color: #6b7280;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.checkout-section-title i {
    color: #D1B26C;
    font-size: 22px;
}

.checkout-options {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
}

.option-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid #e6d8c3;
    background: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.option-radio {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.option-radio input {
    position: absolute;
    opacity: 0;
    inset: 0;
    margin: 0;
    cursor: pointer;
}

.option-radio-ui {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 2px solid #b89c74;
    background: #fff;
    display: inline-block;
    transition: all 0.2s ease;
}

.option-radio input:checked + .option-radio-ui {
    background: #b89c74;
    box-shadow: inset 0 0 0 4px #fff;
}

.option-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.option-title {
    font-weight: 600;
    color: #111;
}

.option-desc {
    font-size: 13px;
    color: #6b5f4c;
}

.option-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.option-title {
    font-weight: 600;
    color: #111;
}

.option-price {
    font-weight: 600;
    color: #111;
    font-size: 18px;
}

.option-price.is-free {
    color: #16a34a;
}

.option-logo img {
    max-height: 44px;
    max-width: 100px;
    object-fit: contain;
}

.option-card.is-selected {
    background: #f7efe2;
    border-color: #d6b98f;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.option-card:hover {
    border-color: #d6b98f;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.checkout-summary {
    border: 1px solid #eee;
    padding: 20px;
    align-self: flex-start;
    background: #fffdf8;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    border: 1px dashed #e6d8c3;
    background-image: linear-gradient(0deg, rgba(0,0,0,0.02) 0, rgba(0,0,0,0.02) 1px, transparent 1px, transparent 22px);
    background-size: 100% 22px;
}

.summary-header {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-size: 18px;
    margin-top: 22px;
}

.summary-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.checkout-item {
    display: grid;
    grid-template-columns: 1fr 40px 80px;
    gap: 8px;
    font-size: 14px;
    border-bottom: 1px solid #f2f2f2;
    padding-bottom: 8px;
}

.checkout-item-name {
    color: #111;
}

.checkout-item-price {
    text-align: right;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.summary-muted {
    color: #8b8b8b;
}

.summary-row .is-free {
    color: #16a34a;
    font-weight: 600;
}

.summary-divider {
    border-top: 1px solid #eee;
    margin: 12px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 700;
    margin-top: 100px;
    margin-bottom: 6px;
}

.summary-sub {
    font-size: 13px;
    color: #777;
    margin-bottom: 14px;
}

.summary-actions {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.checkout-summary .cart-btn,
.checkout-summary .cart-help,
.checkout-summary .checkout-delivery {
    border-radius: 0;
}

.checkout-summary .cart-btn {
    border-radius: 0;
}

#checkoutContinueBtn {
    background: #D1B26C;
    color: #fff;
    border-color: #D1B26C;
    padding: 16px 18px;
    box-shadow: none;
}

#checkoutContinueBtn:hover {
    background: #fff;
    border-color: #D1B26C;
    color: #D1B26C;
    box-shadow: none;
    transform: none;
}

.checkout-summary .cart-help {
    border: 1px dashed #e6d8c3;
    background: white;
}

.checkout-page .cart-btn-secondary:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.checkout-page #cartAskBtn {
    border-color: #111;
}

.checkout-summary::before,
.checkout-summary::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    height: 6px;
    background: radial-gradient(circle, transparent 3px, #fffdf8 3px);
    background-size: 12px 6px;
}

.checkout-summary::before {
    top: -3px;
}

.checkout-summary::after {
    bottom: -3px;
}

.checkout-info-banner {
    margin-bottom: 10px;
}

.checkout-info-page .checkout-section-body {
    margin-top: 30px;
}

.checkout-info-page #checkoutDeliveryAddress {
    font-size: 12px;
    line-height: 1.3;
}

.checkout-account {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.checkout-summary-cta {
    margin-top: 16px;
    padding: 16px;
    background: #e7f4e6;
    border-radius: 0;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.checkout-btn-submit {
    width: 100%;
    border-radius: 0;
    border: 0;
    background: #3c840f;
    color: #fff;
    font-size: 18px;
    padding: 20px 24px;
    animation: checkout-shake 6s ease-in-out infinite;
}

.checkout-btn-submit:hover {
    background: #fff;
    color: #3c840f;
    border: 1px solid #3c840f;
}

.checkout-cta-note {
    margin-top: 6px;
    font-size: 12px;
    color: #3c840f;
    text-align: center;
}

.checkout-info-page .form-group.is-error input,
.checkout-info-page .form-group.is-error select,
.checkout-info-page .form-group.is-error textarea {
    border-color: #b91c1c;
    background: #fff5f5;
}

.checkout-btn-register {
    border-radius: 0;
    border: 1px solid #111;
    background: transparent;
    color: #111;
}

.checkout-btn-register:hover {
    background: #111;
    color: #fff;
}

.checkout-btn-login {
    border-radius: 0;
    border: 1px solid #d1b26c;
    background: transparent;
    color: #d1b26c;
}

.checkout-btn-login:hover {
    background: #d1b26c;
    color: #fff;
}

.checkout-info-page .delivery-address.is-hidden {
    display: none;
}

@keyframes checkout-shake {
    0%, 85% {
        transform: translateX(0);
    }
    88% {
        transform: translateX(-2px);
    }
    90% {
        transform: translateX(2px);
    }
    92% {
        transform: translateX(-2px);
    }
    94% {
        transform: translateX(2px);
    }
    96% {
        transform: translateX(-1px);
    }
    100% {
        transform: translateX(0);
    }
}

.checkout-delivery {
    margin-top: 18px;
    padding: 16px;
    border: 1px dashed #e3d5c0;
    background: #fffaf2;
    border-radius: 0;
}

.checkout-delivery-header h3 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #111;
    margin-bottom: 6px;
}

.checkout-delivery-header p {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 14px;
}

.checkout-delivery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
}

.delivery-date-card {
    border: 1px solid #e5e7eb;
    background: #fff;
    padding: 16px;
    display: grid;
    gap: 10px;
    border-radius: 0;
}

.delivery-date-card label {
    font-size: 13px;
    color: #444;
}

.delivery-date-card input[type="date"] {
    border: 1px solid #d1c2ac;
    padding: 12px 12px;
    font-size: 14px;
    background: #fffdf8;
    border-radius: 0;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.02);
}

.delivery-calendar {
    border: 1px solid #d1c2ac;
    background: #fffdf8;
    padding: 10px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #111;
}

.calendar-nav {
    border: 1px solid #d1c2ac;
    background: #fff;
    padding: 4px 8px;
    cursor: pointer;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    font-size: 11px;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 6px;
    text-align: center;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    border: 1px solid #eee0cc;
    background: #fff;
    padding: 8px 0;
    text-align: center;
    cursor: pointer;
    font-size: 13px;
}

.calendar-day.is-muted {
    color: #c5b9a6;
    background: #f9f4ec;
    cursor: default;
}

.calendar-day.is-disabled {
    color: #b0b0b0;
    background: #f1f1f1;
    cursor: not-allowed;
}

.calendar-day.is-selected {
    background: #D1B26C;
    color: white;
    border-color: #D1B26C;
}

.calendar-day.is-empty {
    border: 0;
    background: transparent;
    cursor: default;
    pointer-events: none;
}

.delivery-note {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

.delivery-address {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    grid-column: 1 / -1;
}

.delivery-address label {
    font-size: 13px;
    color: #444;
}

.delivery-address-input {
    position: relative;
    display: flex;
    align-items: center;
}

.delivery-address-input input {
    width: 100%;
    padding: 12px 40px 12px 12px;
    border: 1px solid #d1c2ac;
    background: #fff;
    font-size: 14px;
    border-radius: 0;
}

.delivery-address-input input:disabled {
    background: #f3f3f3;
    color: #9ca3af;
    cursor: not-allowed;
}

.delivery-address-spinner {
    position: absolute;
    right: 36px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #d1c2ac;
    border-top-color: #8b6a3c;
    animation: spin 0.8s linear infinite;
    opacity: 0;
}

.delivery-address-spinner.is-visible {
    opacity: 1;
}

.delivery-address-clear {
    position: absolute;
    right: 8px;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
}

.delivery-suggestions {
    border: 1px solid #e6d8c3;
    background: #fff;
    display: none;
    max-height: 220px;
    overflow: auto;
    border-radius: 0;
}

.delivery-suggestions.is-open {
    display: block;
}

.delivery-suggestion {
    padding: 10px 12px;
    border-bottom: 1px solid #f0e6d8;
    font-size: 13px;
    cursor: pointer;
}

.delivery-suggestion:hover {
    background: #f7efe2;
}

.delivery-address-hint {
    font-size: 12px;
    color: #9a7b4f;
}

.delivery-address.is-disabled {
    opacity: 0.55;
}

.checkout-toggle-row {
    margin-bottom: 16px;
}

.checkout-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.checkout-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkout-toggle-box {
    width: 20px;
    height: 20px;
    border: 1px solid #d1c2ac;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.15s ease;
}

.checkout-toggle-box i {
    font-size: 11px;
    opacity: 0;
}

.checkout-toggle-text {
    font-size: 14px;
    font-weight: 600;
    color: #2f2f2f;
}

.checkout-toggle input[type="checkbox"]:checked + .checkout-toggle-box {
    background: #8b6a3c;
    border-color: #8b6a3c;
}

.checkout-toggle input[type="checkbox"]:checked + .checkout-toggle-box i {
    opacity: 1;
}

.checkout-toggle input[type="checkbox"]:focus-visible + .checkout-toggle-box {
    outline: 2px solid rgba(139, 106, 60, 0.35);
    outline-offset: 2px;
}

.field-error {
    display: none;
    font-size: 12px;
    color: #b91c1c;
}

.field-error.is-visible {
    display: block;
}

.delivery-address.is-error .delivery-address-input input,
.delivery-date-card.is-error input[type=\"date\"] {
    border-color: #b91c1c;
    background: #fff5f5;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

    .summary-actions {
        flex-direction: column;
    }

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

@media (max-width: 640px) {
    .option-card {
        grid-template-columns: auto 1fr;
    }

    .option-meta {
        grid-column: 2 / 3;
        align-items: flex-start;
    }

    .checkout-item {
        grid-template-columns: 1fr auto;
    }

    .checkout-item-qty {
        display: none;
    }
}

/* Upsell scroll container tweaks */
.cart-upsell-track .product-grid {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cart-upsell-track .product-grid::-webkit-scrollbar {
    display: none;
}

.cart-upsell-track {
    min-width: 0;
}


.checkout-options .option-card.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

/* Custom button styles for production page */
.btn--green {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
}

.btn--green:hover {
    background-color: #218838;
    border-color: #1e7e34;
    color: white;
}

.btn--black {
    background-color: #000;
    border-color: #000;
    color: white;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
}

.btn--black:hover {
    background-color: #333;
    border-color: #333;
    color: white;
}

.btn--white-small {
    background-color: white;
    border-color: #ddd;
    color: #333;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 400;
}

.btn--white-small:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    color: #333;
}
