﻿/* Mummy Jâ€™s Treats â€“ Pure CSS, no frameworks */
:root {
    --primary: #E07A5F;
    --secondary: #D97706;
    --light: #FFF8F0;
    --dark: #2D3142;
    --white: #ffffff;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

header,
footer {
    background: var(--primary);
    color: #fff;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
}

.logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.logo:focus {
    outline: 2px solid #FFD89B;
    outline-offset: 2px;
    border-radius: 6px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

nav a:hover {
    color: #FFD89B;
}

nav a:focus {
    outline: 2px solid #FFD89B;
    outline-offset: 2px;
    border-radius: 4px;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    background: transparent;
    border: none;
    color: #fff;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.hamburger:hover,
.hamburger:focus {
    transform: scale(1.1);
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

/* Mobile menu */
@media (max-width: 1100px) {
    .hamburger {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        padding: 1rem 0;
    }

    nav ul.show {
        display: flex;
    }
}

/* Layout */
main {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: #C65D48;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    text-align: center;
    margin: 2rem 0;
}

h2 {
    font-size: 2.2rem;
    margin: 2.5rem 0 1.5rem;
    text-align: center;
}

/* Hero */
.hero {
    position: relative;
    color: #fff;
    text-align: center;
    margin-bottom: 3rem;
}

.hero img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: cover;
}

.stories-hero {
    margin-bottom: 1.5rem;
}

.stories-hero .hero-text {
    position: static;
    transform: none;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, #C65D48, #D97706);
    border-radius: 14px;
    padding: 1.5rem 1.25rem;
}

.stories-grid .card {
    text-align: left;
}

.stories-grid .card img,
.stories-grid .card video {
    width: 100%;
    border-radius: 10px;
}

.story-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
}

.story-card-media {
    width: 100%;
    aspect-ratio: 4 / 5;
    min-height: 220px;
    background: rgba(45, 49, 66, 0.06);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.story-card-media-landscape {
    aspect-ratio: 16 / 10;
    min-height: 190px;
}

.story-card-media img,
.story-card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-card-avatar {
    width: 84px;
    height: 84px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.story-card-body {
    padding: 1rem 1rem 1.1rem;
    display: grid;
    gap: 0.55rem;
}

.story-card-title {
    margin: 0;
    color: #C65D48;
    font-size: 1.22rem;
    line-height: 1.3;
}

.story-card-copy {
    margin: 0;
    color: var(--dark);
    line-height: 1.65;
    font-size: 0.98rem;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-card .story-card-copy {
    -webkit-line-clamp: 5;
}

.blog-story-card .story-card-copy {
    -webkit-line-clamp: 7;
}

@media (min-width: 1101px) {
    #testimonials-grid.stories-grid,
    #blog-list.stories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.4rem;
    }

    #testimonials-grid .story-card.is-featured,
    #blog-list .story-card.is-featured {
        grid-row: span 2;
    }

    #testimonials-grid .story-card.is-featured .story-card-media {
        aspect-ratio: 4 / 5;
    }

    #blog-list .story-card.is-featured .story-card-media {
        aspect-ratio: 16 / 9;
    }

    #testimonials-grid .story-card.is-featured .story-card-body,
    #blog-list .story-card.is-featured .story-card-body {
        padding: 1.2rem 1.2rem 1.3rem;
        gap: 0.65rem;
    }

    #testimonials-grid .story-card.is-featured .story-card-title,
    #blog-list .story-card.is-featured .story-card-title {
        font-size: 1.35rem;
    }

    #testimonials-grid .story-card.is-featured .story-card-copy,
    #blog-list .story-card.is-featured .story-card-copy {
        font-size: 1.02rem;
    }

    #testimonials-grid .story-card.is-featured .story-card-copy {
        -webkit-line-clamp: 10;
    }

    #blog-list .story-card.is-featured .story-card-copy {
        -webkit-line-clamp: 9;
    }
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    padding: 2rem;
    border-radius: 12px;
    color: #fff;
}

.hero-text h1 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text p {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card:hover,
.card:focus {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    loading: lazy;
}

.card h3 {
    margin: 1rem 0 0.5rem;
    color: #C65D48;
    font-weight: 700;
}

.card p {
    color: var(--dark);
    line-height: 1.6;
}

.price {
    color: #D97706;
    font-weight: bold;
    font-size: 1.3rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: #fff;
    color: var(--dark);
    padding: 2rem;
    border-radius: 12px;
    max-width: 90%;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--dark);
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
}

.close:hover,
.close:focus {
    color: var(--primary);
    transform: scale(1.2);
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Form */
form {
    max-width: 600px;
    margin: 3rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
}

input,
textarea,
select,
button {
    width: 100%;
    padding: 0.8rem;
    margin: 0.8rem 0;
    border: 1px solid #ccc;
    border-radius: 8px;
}

button {
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: 600;
}

button:hover {
    background: var(--secondary);
}

button:active {
    transform: scale(0.98);
}

button:focus {
    outline: 3px solid #D97706;
    outline-offset: 2px;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
}

footer p {
    margin: 0;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

footer a {
    color: #fff;
    text-decoration: underline;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Professional sections */
.featured-section {
    margin: 4rem 0;
}

.testimonial-form {
    max-width: 640px;
    margin: 2rem auto 0;
    background: #fff;
    padding: 1.75rem 1.5rem;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.testimonial-form h3 {
    margin-bottom: 0.5rem;
}

.testimonial-form p {
    margin-bottom: 1rem;
    color: var(--dark);
}

.testimonial-status {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--primary);
}

.story-builder {
    position: relative;
    background: rgba(255, 255, 255, 0.58);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 18px 34px rgba(45, 49, 66, 0.14);
    overflow: hidden;
}

.story-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: rgba(61, 64, 91, 0.12);
}

.story-progress span {
    display: block;
    height: 100%;
    width: 33.33%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.25s ease;
}

.story-builder h3 {
    margin-top: 0.4rem;
}

.story-step-frame {
    position: relative;
    min-height: 320px;
    margin-top: 0.8rem;
}

.story-step {
    display: none;
}

.story-step.active {
    display: block;
}

.story-step.slide-in-right {
    animation: storySlideInRight 0.22s ease;
}

.story-step.slide-in-left {
    animation: storySlideInLeft 0.22s ease;
}

.story-step h4 {
    margin-bottom: 0.6rem;
    color: #c65d48;
}

.story-hint {
    margin: 0 0 0.6rem;
    font-size: 0.84rem;
    color: rgba(45, 49, 66, 0.8);
}

.story-step textarea {
    min-height: 140px;
    resize: none;
}

.story-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    margin-top: 0.7rem;
}

.story-actions.split {
    justify-content: space-between;
}

.story-actions .btn {
    width: auto;
    min-width: 120px;
}

#story-skip-media {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(61, 64, 91, 0.2);
    color: var(--dark);
}

#story-skip-media:hover,
#story-skip-media:focus {
    background: rgba(255, 255, 255, 0.95);
}

.media-zones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 0.6rem;
}

.media-drop-zone {
    min-height: 168px;
    border: 1px dashed rgba(61, 64, 91, 0.35);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.65);
    display: grid;
    justify-items: center;
    align-content: center;
    text-align: center;
    padding: 0.85rem;
    cursor: pointer;
    gap: 0.35rem;
}

.media-icon {
    font-size: 1.35rem;
}

.media-title {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.92rem;
}

.media-preview {
    width: 84px;
    height: 84px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(224, 122, 95, 0.5);
}

.story-upload-progress {
    margin-top: 0.7rem;
    padding: 0.6rem 0.7rem;
    border: 1px solid rgba(61, 64, 91, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
}

.story-upload-bar {
    width: 100%;
    height: 0.5rem;
    border-radius: 999px;
    background: rgba(61, 64, 91, 0.14);
    overflow: hidden;
}

.story-upload-bar span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.15s linear;
}

.story-upload-progress p {
    margin: 0.4rem 0 0;
    font-size: 0.82rem;
    color: rgba(45, 49, 66, 0.85);
}

.shine-button {
    position: relative;
    overflow: hidden;
}

.shine-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -140%;
    width: 75%;
    height: 100%;
    transform: skewX(-22deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    animation: shineMove 2.8s ease-in-out infinite;
}

@keyframes storySlideInRight {
    from { transform: translateX(18px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes storySlideInLeft {
    from { transform: translateX(-18px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes shineMove {
    0% { left: -140%; }
    60%, 100% { left: 140%; }
}

.visitor-counter {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(224, 122, 95, 0.15);
    border-radius: 8px;
    color: var(--dark);
}

.visitor-counter strong {
    color: #C65D48;
    font-weight: 700;
}

.about-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.owner-photo {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.business-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(224, 122, 95, 0.15);
    border-radius: 8px;
    color: var(--dark);
}

.business-info p {
    color: var(--dark);
}

.business-info strong {
    color: #C65D48;
    font-weight: 700;
}

.business-info p {
    margin: 0.5rem 0;
}

.contact-section {
    max-width: 600px;
    margin: 0 auto;
}

/* Form improvements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.required {
    color: #C65D48;
}

input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-color: var(--primary);
}

input:invalid:not(:placeholder-shown),
select:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #D97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #fff;
}

/* Modal improvements */
.modal {
    transition: opacity 0.3s ease;
}

.modal[aria-hidden="false"] {
    display: flex;
}

.modal-content {
    animation: modalSlideIn 0.3s ease;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Card button */
.view-details {
    margin-top: 1rem;
    width: auto;
    padding: 0.6rem 1.5rem;
}

/* Accessibility - skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #C65D48;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* Loading state */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--primary);
}

/* Thank you page */
.thank-you-page {
    text-align: center;
    padding: 6rem 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-page h1 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.thank-you-page p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--dark);
}

.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.cart-link:hover,
.cart-link:focus {
    background: rgba(255, 255, 255, 0.18);
    outline: 2px solid #FFD89B;
    outline-offset: 2px;
}

.cart-count {
    min-width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    display: none;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0 0.35rem;
}

.cart-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.card-actions {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
}

.add-to-cart {
    width: auto;
    padding: 0.6rem 1.2rem;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
}

.add-to-cart:hover,
.add-to-cart:focus {
    background: #b85f05;
}

.add-to-cart:disabled {
    background: #9aa0a6;
    cursor: not-allowed;
}

.card-stock-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: #C65D48;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    margin-bottom: 0.4rem;
}

.cart-page {
    max-width: 1280px;
    margin: 0 auto;
    padding-bottom: 7rem;
}

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

.cart-subtitle {
    margin-top: -0.8rem;
    margin-bottom: 1.4rem;
}

.cart-mobile-header,
.mobile-shipping-progress {
    display: none;
}

.mobile-back {
    text-decoration: none;
    color: var(--dark);
    font-size: 1.2rem;
    width: 2.3rem;
    height: 2.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(61, 64, 91, 0.09);
}

.mobile-close {
    text-decoration: none;
    color: var(--dark);
    font-size: 1.2rem;
    width: 2.3rem;
    height: 2.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(61, 64, 91, 0.09);
}

.cart-items {
    display: grid;
    gap: 1rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 1rem;
    background: #fff;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 5px 20px rgba(45, 49, 66, 0.08);
    position: relative;
    overflow: hidden;
}

.cart-item-shell {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 1rem;
    width: 100%;
    transition: transform 0.2s ease;
}

.swipe-delete {
    position: absolute;
    top: 0.9rem;
    right: -92px;
    width: 84px;
    height: calc(100% - 1.8rem);
    border-radius: 10px;
    border: none;
    background: #dc3545;
    color: #fff;
    font-weight: 700;
    margin: 0;
    padding: 0;
    transition: right 0.2s ease;
}

.cart-item.swiped .cart-item-shell {
    transform: translateX(-78px);
}

.cart-item.swiped .swipe-delete {
    right: 0.9rem;
}

.cart-item img,
.saved-item img,
.upsell-card img {
    width: 100%;
    height: 100%;
    max-height: 108px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-item-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.cart-item-top h3 {
    margin: 0;
    font-size: 1.2rem;
}

.cart-meta {
    color: rgba(61, 64, 91, 0.75);
    font-size: 0.94rem;
    margin: 0.25rem 0 0.35rem;
}

.save-later,
.remove-item,
.move-to-cart,
.promo-toggle {
    width: auto;
    border: none;
    background: transparent;
    color: var(--primary);
    padding: 0;
    margin: 0;
    font-size: 0.92rem;
    text-decoration: underline;
    cursor: pointer;
}

.cart-price {
    font-weight: 700;
    font-size: 1.05rem;
    white-space: nowrap;
}

.cart-item-actions {
    margin-top: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid rgba(61, 64, 91, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
}

.qty-control button {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    margin: 0;
    padding: 0;
    background: #fff;
    color: var(--dark);
    border: 1px solid rgba(61, 64, 91, 0.3);
}

.qty-control span {
    min-width: 1rem;
    text-align: center;
    font-weight: 600;
}

.saved-section,
.upsell-section {
    margin-top: 2.2rem;
}

.saved-items {
    display: grid;
    gap: 0.9rem;
}

.saved-item {
    background: #fff;
    border-radius: 14px;
    padding: 0.9rem;
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 0.8rem;
    align-items: center;
}

.saved-item h4 {
    margin: 0;
}

.saved-item p,
.saved-empty {
    margin: 0.2rem 0 0.5rem;
}

.upsell-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(180px, 220px);
    overflow-x: auto;
    gap: 0.9rem;
    padding-bottom: 0.5rem;
}

.upsell-card {
    background: #fff;
    border-radius: 14px;
    padding: 0.8rem;
    box-shadow: 0 5px 18px rgba(45, 49, 66, 0.08);
}

.upsell-card h4 {
    margin: 0.7rem 0 0.15rem;
    font-size: 1rem;
}

.upsell-card p {
    margin: 0 0 0.6rem;
    font-weight: 600;
}

.upsell-stock-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    border-radius: 999px;
    padding: 0.15rem 0.5rem;
    margin: 0 0 0.45rem;
}

.upsell-stock-badge.in {
    background: #2d9b72;
}

.upsell-stock-badge.low {
    background: #d97706;
}

.upsell-stock-badge.out {
    background: #c65d48;
}

.upsell-card .btn:disabled {
    background: #9aa0a6;
    cursor: not-allowed;
}

.upsell-card .btn {
    width: 100%;
    padding: 0.65rem;
}

.order-summary {
    position: sticky;
    top: 5.2rem;
    background: #fff;
    border-radius: 18px;
    padding: 1.2rem;
    box-shadow: 0 8px 26px rgba(45, 49, 66, 0.12);
}

.express-checkout h2 {
    margin: 0 0 0.8rem;
    font-size: 1.1rem;
    text-align: left;
}

.express-buttons {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.express {
    margin: 0;
    border-radius: 10px;
    padding: 0.75rem;
    border: none;
    color: #fff;
    font-weight: 700;
}

.express.apple { background: #121212; }
.express.google { background: #1a73e8; }
.express.paypal { background: #003087; }

.summary-lines {
    border-top: 1px solid rgba(61, 64, 91, 0.15);
    border-bottom: 1px solid rgba(61, 64, 91, 0.15);
    padding: 1rem 0;
    margin: 0.9rem 0;
}

.line-item {
    display: flex;
    justify-content: space-between;
    margin: 0.55rem 0;
}

.line-item.total {
    font-size: 1.18rem;
}

.shipping-progress {
    margin: 0.8rem 0;
}

.shipping-progress p {
    margin: 0 0 0.45rem;
    font-size: 0.9rem;
}

.shipping-progress-bar {
    width: 100%;
    height: 0.58rem;
    border-radius: 999px;
    background: rgba(61, 64, 91, 0.12);
    overflow: hidden;
}

.shipping-progress-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transition: width 0.25s ease;
}

#promo-field {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

#promo-field .btn {
    width: auto;
    margin: 0;
    padding: 0.8rem 1.1rem;
}

.checkout-btn {
    width: 100%;
    margin: 0.5rem 0 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.checkout-panel {
    margin: 0 0 1rem;
    background: #fff;
    border: 1px solid rgba(61, 64, 91, 0.14);
    border-radius: 14px;
    padding: 1rem;
}

.checkout-panel h3 {
    margin: 0 0 0.4rem;
    font-size: 1.1rem;
    text-align: left;
}

.checkout-panel-note {
    margin: 0 0 0.8rem;
    color: rgba(61, 64, 91, 0.8);
    font-size: 0.9rem;
}

.checkout-delivery-note {
    margin: 0 0 0.85rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(217, 119, 6, 0.45);
    border-radius: 10px;
    background: rgba(217, 119, 6, 0.12);
    color: #7a3e00;
    font-size: 0.9rem;
    line-height: 1.5;
}

.bank-transfer-card {
    border: 1px solid rgba(61, 64, 91, 0.2);
    border-radius: 12px;
    padding: 0.8rem;
    background: rgba(224, 122, 95, 0.08);
    margin-bottom: 0.85rem;
}

.bank-transfer-card p {
    margin: 0.2rem 0;
    font-size: 0.92rem;
}

.checkout-form {
    display: grid;
    gap: 0.55rem;
}

.checkout-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

.checkout-form input {
    margin: 0;
}

.checkout-meta {
    margin: 0;
    color: rgba(61, 64, 91, 0.8);
    font-size: 0.82rem;
}

.checkout-confirm-btn {
    margin-top: 0.35rem;
    position: relative;
}

.checkout-confirm-btn .checkout-btn-loading {
    display: none;
}

.checkout-confirm-btn.is-processing {
    opacity: 0.85;
    pointer-events: none;
}

.checkout-confirm-btn.is-processing .checkout-btn-label {
    display: none;
}

.checkout-confirm-btn.is-processing .checkout-btn-loading {
    display: inline;
}

.checkout-message {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    color: rgba(61, 64, 91, 0.85);
}

.checkout-message.ok {
    color: #2d9b72;
    font-weight: 600;
}

.checkout-message.error {
    color: #c65d48;
    font-weight: 600;
}

body.cart-screen.checkout-focus nav,
body.cart-screen.checkout-focus .cart-link {
    display: none;
}

/* Hide WhatsApp float when checkout panel is open - prevents covering total / Confirm Payment */
body.cart-screen.checkout-focus .whatsapp-float {
    display: none;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.trust-badges span {
    background: rgba(224, 122, 95, 0.12);
    color: var(--dark);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
}

.mobile-checkout-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(61, 64, 91, 0.14);
    padding: 0.75rem 1rem calc(0.95rem + env(safe-area-inset-bottom));
    gap: 0.65rem;
    z-index: 1300;
}

.mobile-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-checkout-bar p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(61, 64, 91, 0.75);
}

.mobile-checkout-bar strong {
    font-size: 1.05rem;
}

.mobile-checkout-bar .btn {
    margin: 0;
    width: 100%;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-size: 0.98rem;
    animation: checkoutPulse 2.2s ease-in-out infinite;
}

@keyframes checkoutPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(224, 122, 95, 0.45);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(224, 122, 95, 0);
    }
}

.cart-toast {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    background: var(--dark);
    color: #fff;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    display: inline-flex;
    gap: 0.7rem;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2300;
}

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

.toast-undo {
    width: auto;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: #FFD89B;
    text-decoration: underline;
}

.toast-link {
    width: auto;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: #FFD89B;
    text-decoration: underline;
    font-weight: 600;
}

.order-only-form {
    display: grid;
    gap: 0.55rem;
}

.order-only-form textarea {
    min-height: 88px;
}

.order-modal-content {
    width: min(560px, 96vw);
}

.whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 2200;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.75rem 1rem;
    font-weight: 700;
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.38);
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    background: #20ba59;
    color: #fff;
}

@supports not (aspect-ratio: 1 / 1) {
    .story-card-media {
        height: 240px;
    }

    .story-card-media-landscape {
        height: 200px;
    }
}

.cart-empty {
    background: #fff;
    border-radius: 14px;
    padding: 1.4rem;
    text-align: left;
    box-shadow: 0 5px 20px rgba(45, 49, 66, 0.08);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Runtime mobile fallback for devices that report desktop-sized viewports */
body.force-mobile .hamburger {
    display: block;
}

body.force-mobile nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary);
    padding: 1rem 0;
}

body.force-mobile nav ul.show {
    display: flex;
}

body.force-mobile .grid {
    grid-template-columns: 1fr;
    gap: 1rem;
}

body.force-mobile .card {
    text-align: left;
}

body.force-mobile .card img {
    height: 190px;
}

body.force-mobile .card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

body.force-mobile .view-details,
body.force-mobile .add-to-cart {
    width: 100%;
    min-height: 44px;
}

body.force-mobile.cart-screen header,
body.force-mobile.cart-screen footer {
    display: none;
}

body.force-mobile .cart-layout {
    grid-template-columns: 1fr;
}

body.force-mobile .cart-mobile-header,
body.force-mobile .mobile-shipping-progress,
body.force-mobile .mobile-checkout-bar {
    display: grid;
}

body.force-mobile .mobile-checkout-bar {
    display: flex;
    flex-direction: column;
}

    /* On cart page with force-mobile, push WhatsApp float above the fixed mobile checkout bar */
    body.force-mobile.cart-screen .whatsapp-float {
        bottom: 8rem;
    }

body.force-mobile .cart-items {
    gap: 0;
}

body.force-mobile .cart-item {
    padding: 0.9rem 0;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid rgba(61, 64, 91, 0.14);
}

body.force-mobile .cart-item-shell {
    grid-template-columns: 100px minmax(0, 1fr);
}

body.force-mobile .remove-item {
    display: none;
}

/* Responsive improvements */
@media (max-width: 1100px) {
    header {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .logo {
        font-size: 1.35rem;
    }

    .logo img {
        width: 38px;
        height: 38px;
    }

    .cart-link {
        margin-left: auto;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .modal-content {
        max-width: 95%;
        padding: 1.5rem;
    }

    .thank-you-page {
        padding: 4rem 1rem;
    }

    .card-actions {
        flex-direction: column;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .card {
        text-align: left;
    }

    .card img {
        height: 190px;
    }

    .card > div {
        padding: 1rem;
    }

    .card-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .view-details,
    .add-to-cart {
        width: 100%;
        min-height: 44px;
    }

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

    .cart-mobile-header {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        margin-bottom: 0.9rem;
        column-gap: 0.7rem;
    }

    .cart-mobile-header p {
        margin: 0;
        text-align: left;
        font-weight: 600;
        color: var(--dark);
    }

    .cart-main h1 {
        display: none;
    }

    .cart-subtitle {
        margin-top: 0;
        margin-bottom: 0.8rem;
        text-align: center;
    }

    .mobile-shipping-progress {
        display: block;
        background: #fff;
        border-radius: 12px;
        padding: 0.7rem 0.8rem;
        margin-bottom: 1rem;
        box-shadow: 0 3px 12px rgba(45, 49, 66, 0.08);
    }

    .mobile-shipping-progress p {
        margin: 0 0 0.4rem;
        font-size: 0.86rem;
    }

    .order-summary {
        position: static;
        display: block;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin-top: 0.8rem;
    }

    .express-checkout,
    .order-summary .summary-lines,
    .order-summary .trust-badges {
        display: none;
    }

    .order-summary .checkout-panel {
        display: block;
    }

    .mobile-checkout-bar {
        display: flex;
        flex-direction: column;
    }

    /* Push WhatsApp float above the fixed mobile checkout bar on cart page */
    body.cart-screen .whatsapp-float {
        bottom: 8rem;
    }

    .cart-items {
        gap: 1rem;
    }

    /* Ensure cart items stay wide enough so text doesn't stack vertically */
    .cart-item,
    .cart-item-shell {
        grid-template-columns: 100px minmax(0, 1fr);
        align-items: flex-start;
    }

    .cart-item img {
        max-height: 100px;
    }

    .cart-item-actions {
        justify-content: flex-end;
        align-items: flex-end;
        gap: 0.65rem;
    }

    .remove-item {
        display: none;
    }

    .cart-page {
        padding-bottom: 8.5rem;
    }

    .cart-item-top {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.45rem;
    }

    .cart-price {
        white-space: nowrap;
    }

    #promo-field {
        grid-template-columns: 1fr;
    }

    #promo-field .btn {
        width: 100%;
    }

    .saved-item {
        grid-template-columns: 84px 1fr;
    }

    .saved-item img {
        max-height: 84px;
    }

    .mobile-checkout-bar .btn {
        min-width: 120px;
    }

    body.cart-screen .cart-toast {
        right: 0.75rem;
        left: 0.75rem;
        bottom: 5.4rem;
    }
}

@media (max-width: 480px) {
    .cart-page {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .cart-item-shell {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 0.75rem;
    }

    .swipe-delete {
        width: 76px;
    }

    .cart-item.swiped .cart-item-shell {
        transform: translateX(-70px);
    }

    .qty-control {
        min-height: 44px;
        padding: 0.3rem 0.55rem;
    }

    .qty-control button {
        width: 2.1rem;
        height: 2.1rem;
    }

    .mobile-checkout-bar {
        padding: 0.7rem 0.75rem;
        gap: 0.75rem;
    }

    .mobile-checkout-bar .btn {
        min-width: 105px;
        padding: 0.7rem 0.9rem;
    }

    footer {
        padding-bottom: 5.4rem;
    }

    .whatsapp-float {
        right: 0.75rem;
        bottom: 4.7rem;
    }
}

@media (max-width: 430px) {
    .cart-item-shell {
        grid-template-columns: 88px minmax(0, 1fr);
    }
}

/* Final mobile alignment overrides */
@media (max-width: 1100px) {
    #menu-grid.grid,
    body.force-mobile #menu-grid.grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    #menu-grid .card,
    body.force-mobile #menu-grid .card {
        border-radius: 12px;
        overflow: hidden;
    }

    #menu-grid .card-actions,
    body.force-mobile #menu-grid .card-actions {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .stories-hero {
        margin-top: 0.25rem;
        margin-bottom: 1rem;
    }

    .stories-hero .hero-text {
        border-radius: 12px;
        padding: 1rem 0.9rem;
    }

    .stories-hero .hero-text h1 {
        font-size: 1.55rem;
        line-height: 1.25;
        margin: 0;
    }

    #testimonials-grid.grid,
    #blog-list.grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .stories-grid .card {
        border-radius: 12px;
        overflow: hidden;
    }

    .stories-grid .card img,
    .stories-grid .card video {
        max-height: 220px;
        object-fit: cover;
    }

    .story-card {
        border-radius: 12px;
    }

    .story-card-media {
        aspect-ratio: 4 / 5;
    }

    .story-card-media-landscape {
        aspect-ratio: 16 / 10;
    }

    .story-card-avatar {
        width: 72px;
        height: 72px;
        font-size: 1.7rem;
    }

    .story-card-body {
        padding: 0.85rem 0.9rem 0.95rem;
        gap: 0.45rem;
    }

    .story-card-title {
        font-size: 1.08rem;
    }

    .story-card-copy {
        font-size: 0.95rem;
    }

    .testimonial-form {
        margin-top: 1rem;
        padding: 1rem 0.9rem;
        border-radius: 12px;
    }

    .story-step-frame {
        min-height: 360px;
    }

    .media-zones {
        grid-template-columns: 1fr;
    }

    .story-actions {
        justify-content: space-between;
    }

    .story-actions .btn {
        min-width: 46%;
    }

    .testimonial-form input,
    .testimonial-form textarea,
    .testimonial-form button {
        min-height: 44px;
    }

    body.cart-screen .cart-page,
    body.force-mobile .cart-page {
        max-width: 460px;
        margin: 0 auto;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-bottom: 9.25rem;
    }

    body.cart-screen header,
    body.cart-screen footer {
        display: none;
    }

    body.cart-screen main.cart-page {
        padding-top: 0.75rem;
    }

    body.cart-screen .cart-main {
        min-width: 0;
    }

    body.cart-screen .cart-item,
    body.force-mobile .cart-item {
        padding: 0.85rem 0;
    }

    body.cart-screen .cart-item-shell,
    body.force-mobile .cart-item-shell {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 0.75rem;
        align-items: start;
    }

    body.cart-screen .cart-item-content,
    body.force-mobile .cart-item-content {
        min-width: 0;
        overflow: visible;
    }

    body.cart-screen .cart-item-top,
    body.force-mobile .cart-item-top {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.55rem;
        width: 100%;
    }

    body.cart-screen .cart-item-top > div,
    body.force-mobile .cart-item-top > div {
        min-width: 0;
        flex: 1;
    }

    body.cart-screen .cart-item-top h3,
    body.cart-screen .cart-meta,
    body.force-mobile .cart-item-top h3,
    body.force-mobile .cart-meta {
        overflow-wrap: break-word;
        word-break: normal;
    }

    body.cart-screen .cart-item-top h3,
    body.force-mobile .cart-item-top h3 {
        font-size: 1rem;
        line-height: 1.35;
    }

    body.cart-screen .cart-price,
    body.force-mobile .cart-price {
        white-space: nowrap;
        font-size: 1rem;
        flex-shrink: 0;
        align-self: flex-start;
    }

    body.cart-screen .cart-item-actions,
    body.force-mobile .cart-item-actions {
        width: 100%;
        margin-top: 0.55rem;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.55rem;
    }

    body.cart-screen .remove-item,
    body.force-mobile .remove-item {
        display: inline-block;
    }

    body.cart-screen .swipe-delete,
    body.force-mobile .swipe-delete {
        display: none;
    }

    body.cart-screen .cart-item.swiped .cart-item-shell,
    body.force-mobile .cart-item.swiped .cart-item-shell {
        transform: none;
    }

    body.cart-screen .qty-control,
    body.force-mobile .qty-control {
        min-height: 44px;
    }

    body.cart-screen .mobile-checkout-bar,
    body.force-mobile .mobile-checkout-bar {
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    body.cart-screen .cart-toast,
    body.force-mobile .cart-toast {
        width: min(92vw, 420px);
        left: 50%;
        right: auto;
        transform: translate(-50%, 10px);
        justify-content: space-between;
    }

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

@media (prefers-reduced-motion: reduce) {
    .mobile-checkout-bar .btn {
        animation: none;
    }
}

@media (max-width: 480px) {
    body.cart-screen .cart-page {
        max-width: 100%;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        padding-bottom: 9.5rem;
    }

    body.cart-screen .cart-item {
        padding: 0.75rem 0;
    }

    body.cart-screen .cart-item-shell {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 0.7rem;
    }

    body.cart-screen .cart-item-top h3 {
        font-size: 0.98rem;
    }

    body.cart-screen .cart-item-top,
    body.force-mobile .cart-item-top {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    body.cart-screen .cart-item-top > div,
    body.force-mobile .cart-item-top > div {
        min-width: 0;
    }

    body.cart-screen .cart-price,
    body.force-mobile .cart-price {
        justify-self: start;
    }

    body.cart-screen .save-later,
    body.force-mobile .save-later {
        font-size: 0.9rem;
        line-height: 1.2;
    }

    body.cart-screen .mobile-checkout-bar {
        max-width: 100%;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

.testimonial-status.ok {
    color: #2d9b72;
    font-weight: 600;
}

.confetti-layer {
    pointer-events: none;
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.confetti-bit {
    position: absolute;
    width: 8px;
    height: 12px;
    border-radius: 2px;
    opacity: 0;
}

.confetti-layer.burst .confetti-bit {
    animation: confettiFall 0.95s ease-out forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-30px) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    100% {
        transform: translateY(320px) rotate(280deg);
        opacity: 0;
    }
}