:root {
    --bg-color: #fdf6fb;
    --sidebar-bg: #fcecf1;
    --accent-sage: #fbdfeb;
    --accent-rose: #f7e5e2;
    --text-dark: #763d4f;
    --text-muted: #a1536c;
    --card-shadow: 0 10px 30px rgba(165, 90, 127, 0.178);
    --toolbar-bg: #f7d1dd;
    --btn-rose: #d86b8e;
    --btn-rose-hover: #be5376;
    --border-soft: #f2dfe6;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    display: flex;
    min-height: 100vh;
}

/* Desktop passes through wrapper transparently */
.mobile-sticky-group {
    display: contents;
}

/* Sidebar Aesthetic (Desktop) */
.sidebar {
    width: 300px;
    height: 100vh;
    background: var(--sidebar-bg);
    position: fixed;
    top: 0;
    left: 0;
    border-right: 1px solid #f2ece7;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 26px;
    overflow-y: auto;
    z-index: 910;
}

.profile-banner {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: 0 6px 18px rgba(118, 61, 79, 0.1);
}

.profile-section h2 {
    margin: 0 0 8px 0;
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--text-dark);
}

.profile-section p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.categories {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.categories h4 {
    margin: 0 0 10px 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #c98da0;
    font-weight: 700;
}

.categories-buttons-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cat-btn {
    text-align: left;
    background: none;
    border: none;
    padding: 11px 15px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-dark);
    font-family: inherit;
    transition: all 0.25s ease;
}

.cat-btn:hover {
    background: #faf6f2;
    color: #d86b8e;
}

.cat-btn.active {
    background: var(--accent-sage);
    color: #d86b8e;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(216, 107, 142, 0.1);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(161, 83, 108, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* Main Boutique Store Layout */
.main-content {
    margin-left: 300px;
    padding: 96px 36px 50px 36px;
    width: calc(100% - 300px);
    min-height: 100vh;
    position: relative;
}

/* Top Utility Bar */
.top-utility-bar {
    position: fixed;
    top: 0;
    right: 0;
    width: calc(100% - 300px);
    min-height: 68px;
    background-color: var(--toolbar-bg);
    border-bottom: 1px solid #eec1d0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 28px;
    z-index: 900;
    backdrop-filter: blur(8px);
}

.mobile-brand-row {
    display: none;
}

.mobile-filters-toggle {
    display: none;
}

.utility-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
}

.utility-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.collapsible-filters {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.utility-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.desktop-only-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Search & Sort */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 195px;
    padding: 7px 12px 7px 32px;
    border: 1px solid #d79ab0;
    border-radius: 10px;
    background-color: #fffcfc;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
    border-color: var(--btn-rose);
    box-shadow: 0 0 0 3px rgba(216, 107, 142, 0.14);
}

.search-icon {
    position: absolute;
    left: 10px;
    font-size: 13px;
    color: var(--text-muted);
    pointer-events: none;
}

/* Price Filters */
.price-filter-container {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-dark);
}

.price-filter-container input {
    width: 68px;
    padding: 6px 9px;
    border: 1px solid #ca819a;
    border-radius: 8px;
    background-color: #fffcfc;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 13px;
    outline: none;
}

.price-filter-container input:focus {
    border-color: var(--btn-rose);
}

.sort-select {
    padding: 7px 11px;
    border: 1px solid #dfa4b9;
    border-radius: 10px;
    background-color: #fff8fb;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    outline: none;
    cursor: pointer;
}

/* Dropdown Menu */
.dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.utility-drop-btn {
    background-color: #ffe7ef;
    border: 1px solid #dfa4b9;
    color: #964f67;
    padding: 7px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.utility-drop-btn:hover {
    background-color: #fff5f8;
    border-color: #c97d98;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background-color: #ffffff;
    border: 1px solid #f4dce5;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(118, 61, 79, 0.14);
    width: 220px;
    max-height: 360px;
    overflow-y: auto;
    padding: 6px;
    display: none;
    flex-direction: column;
    gap: 3px;
    z-index: 1050;
}

.dropdown-menu.open {
    display: flex;
}

.drop-item {
    text-align: left;
    background: none;
    border: none;
    padding: 9px 13px;
    font-size: 13px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    color: var(--text-dark);
    transition: 0.15s ease;
}

.drop-item:hover {
    background-color: #fff2f6;
    color: #d86b8e;
}

.drop-item.active {
    background-color: var(--sidebar-bg);
    color: var(--text-dark);
    font-weight: 600;
}

/* Language Switcher */
.lang-switcher {
    display: inline-flex;
    background: #ffe7ef;
    border: 1px solid #dfa4b9;
    border-radius: 10px;
    padding: 2px;
    gap: 2px;
}

.lang-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 9px;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn.active {
    background: var(--text-dark);
    color: #ffffff;
}

/* Info Heart Button */
.info-heart-btn {
    background: none;
    border: none;
    font-size: 32px;
    color: #a44d67;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 2px 4px;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.info-heart-btn:hover {
    transform: scale(1.1);
    color: #763d4f;
}

.info-lbl {
    font-size: 10.5px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    margin-top: -1px;
}

/* Results Toolbar Meta */
.catalog-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-muted);
    gap: 10px;
    flex-wrap: wrap;
}

.reset-filter-btn {
    background: #ffe7ef;
    border: 1px solid #e7b7c8;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.reset-filter-btn:hover {
    background: #fbdfeb;
}

/* Shop Grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
    gap: 26px;
}

/* Product Card */
.item-card {
    background: #fff8f8;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    border: 1px solid #f6e8ee;
    position: relative;
    min-width: 0;
}

.item-card.clickable {
    cursor: pointer;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(165, 90, 127, 0.2);
}

.item-card.is-sold-out {
    background: #fcf4f7;
    border-color: #f0dce4;
}

.item-img-wrap {
    position: relative;
    width: 100%;
    height: 255px;
    background: #ffffff;
    overflow: hidden;
}

.item-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.3s ease;
}

.item-card:hover img {
    transform: scale(1.03);
}

.item-card.is-sold-out img {
    filter: saturate(0.55) opacity(0.72);
}

.stock-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(118, 61, 79, 0.14);
}

.stock-badge.available {
    background: rgba(255, 250, 252, 0.92);
    color: var(--text-dark);
    border: 1px solid rgba(216, 107, 142, 0.25);
}

.stock-badge.sold-out {
    background: rgba(118, 61, 79, 0.9);
    color: #fff6f9;
}

.item-info {
    padding: 18px 18px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
    min-width: 0;
}

.item-name {
    font-family: 'Playfair Display', serif;
    font-size: 16.5px;
    font-weight: 600;
    margin: 0;
    line-height: 1.35;
    color: var(--text-dark);
    word-break: break-word;
}

.item-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
    min-width: 0;
}

.item-price {
    font-size: 15px;
    color: #d86b8e;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.item-shop-mini {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-tag {
    font-size: 11px;
    background: #f7eef2;
    padding: 4px 10px;
    border-radius: 30px;
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: auto;
    color: var(--text-muted);
    font-weight: 500;
}

.item-actions-row {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    gap: 8px;
}

.choose-btn {
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    border: none;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.7px;
    cursor: pointer;
    transition: all 0.22s ease;
    background: linear-gradient(135deg, #d86b8e 0%, #b84c6f 100%);
    color: #ffffff;
    box-shadow: 0 5px 14px rgba(216, 107, 142, 0.26);
}

.choose-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(184, 76, 111, 0.34);
}

.choose-btn:disabled,
.choose-btn.sold-out-btn {
    background: #edd7df;
    color: #986576;
    cursor: not-allowed;
    box-shadow: none;
}

/* Loading & Empty States */
.grid-state-box {
    grid-column: 1 / -1;
    background: #fff8fa;
    border: 1px dashed #e6bfd0;
    border-radius: 20px;
    padding: 48px 24px;
    text-align: center;
    color: var(--text-muted);
}

.grid-state-box p {
    margin: 0 0 14px 0;
    font-size: 15px;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(118, 61, 79, 0.24);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    padding: 16px;
}

.modal-overlay.open {
    display: flex;
}

.modal-content {
    background: #ffffff;
    padding: 32px;
    border-radius: 28px;
    width: 100%;
    max-width: 460px;
    max-height: 90dvh;
    overflow-y: auto;
    text-align: center;
    position: relative;
    animation: popUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 60px rgba(118, 61, 79, 0.18);
    border: 1px solid #f2ece7;
}

.info-modal-content {
    background: #eea3bb;
    color: #763d4f;
    padding: 36px 32px;
    border-radius: 24px;
    width: 100%;
    max-width: 510px;
    max-height: 90dvh;
    overflow-y: auto;
    text-align: center;
    position: relative;
    box-shadow: 0 30px 70px rgba(164, 77, 103, 0.24);
    animation: popUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.info-modal-content .close-btn {
    color: rgba(255, 255, 255, 0.85);
}

.info-modal-content .close-btn:hover {
    color: #ffffff;
}

.info-modal-banner {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 18px;
}

.info-modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin: 0 0 22px 0;
    letter-spacing: 0.5px;
    color: #763d4f;
}

.collapsible-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.collapse-trigger {
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    padding: 13px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: all 0.2s ease;
}

.collapse-trigger:hover {
    background: rgba(255, 255, 255, 0.32);
}

.collapse-content {
    background: rgba(118, 61, 79, 0.12);
    border-radius: 12px;
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}

.collapse-content.open {
    max-height: 280px;
    padding: 10px 18px;
}

.collapse-content p {
    font-size: 13.5px;
    line-height: 1.6;
    margin: 6px 0;
    color: #fff6f9;
}

@keyframes popUp {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border: none;
    background: none;
    cursor: pointer;
    color: #bfa3ae;
    transition: 0.2s;
    line-height: 1;
}

.close-btn:hover {
    color: var(--text-dark);
}

.modal-img-container {
    width: 100%;
    height: 270px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 18px;
    background: #faf8f5;
}

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

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 23px;
    margin: 0;
    color: var(--text-dark);
}

.modal-meta-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.modal-pill {
    font-size: 11.5px;
    padding: 4px 11px;
    border-radius: 999px;
    background: #fcecf1;
    color: var(--text-muted);
    font-weight: 600;
}

.modal-price {
    font-size: 19px;
    color: #d86b8e;
    font-weight: 700;
    margin: 10px 0 8px;
}

.modal-description {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 8px 0 14px;
}

.modal-stock-line {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 14px;
}

.modal-choose-wrap {
    margin-bottom: 18px;
}

.modal-links-heading {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
    margin: 0 0 10px 0;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.shop-link {
    background: var(--text-dark);
    color: #ffffff;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 13.5px;
    transition: all 0.25s ease;
    border: 1px solid var(--text-dark);
}

.shop-link:hover {
    background: transparent;
    color: var(--text-dark);
}

/* Confirm Selection Modal */
.confirm-modal-content {
    max-width: 390px;
    padding: 28px 26px;
}

.confirm-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.confirm-cancel-btn {
    flex: 1;
    padding: 11px;
    border-radius: 12px;
    border: 1px solid #e3c2cf;
    background: #fff7fa;
    color: var(--text-dark);
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
}

.confirm-yes-btn {
    flex: 1;
    padding: 11px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #d86b8e 0%, #b84c6f 100%);
    color: #ffffff;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1400;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
}

.toast {
    background: #ffffff;
    color: var(--text-dark);
    border: 1px solid #f0cbd8;
    border-left: 5px solid #d86b8e;
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(118, 61, 79, 0.2);
    font-size: 13.5px;
    font-weight: 600;
    animation: popUp 0.25s ease;
}

.toast.error {
    border-left-color: #c0395b;
    background: #fff5f7;
}

/* ==========================================
   MOBILE & TABLET STYLING (Zero Overlap Sticky Architecture)
   ========================================== */
@media (max-width: 859px) {
    body {
        flex-direction: column;
        overflow-x: clip;
    }

    .mobile-sticky-group {
        display: flex;
        flex-direction: column;
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 990;
        box-shadow: 0 6px 20px rgba(118, 61, 79, 0.1);
    }

    .top-utility-bar {
        order: 1;
        position: static;
        width: 100%;
        min-height: 0;
        padding: 10px 12px 8px 12px;
        gap: 8px;
        border-bottom: 1px solid #eec1d0;
    }

    .mobile-brand-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
    }

    .mobile-brand-title {
        font-family: 'Playfair Display', serif;
        font-size: 18px;
        font-weight: 700;
        color: var(--text-dark);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }

    .mobile-brand-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    .desktop-only-actions {
        display: none;
    }

    .utility-controls-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .utility-left {
        flex: 1;
        min-width: 0;
        flex-wrap: wrap;
        gap: 6px;
    }

    .search-box {
        flex: 1 1 110px;
        min-width: 0;
    }

    .search-input {
        width: 100%;
        font-size: 12.5px;
        padding: 7px 10px 7px 28px;
    }

    .mobile-filters-toggle {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        background: #ffe7ef;
        border: 1px solid #dfa4b9;
        color: #763d4f;
        padding: 7px 11px;
        border-radius: 10px;
        font-size: 12.5px;
        font-weight: 600;
        font-family: inherit;
        cursor: pointer;
        flex-shrink: 0;
        position: relative;
    }

    .filter-active-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #d86b8e;
    }

    .collapsible-filters {
        display: none;
        order: 3;
        flex-basis: 100%;
        width: 100%;
        padding-top: 8px;
        margin-top: 2px;
        border-top: 1px dashed rgba(161, 83, 108, 0.22);
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .collapsible-filters.open {
        display: flex;
    }

    .price-filter-container {
        font-size: 12px;
        gap: 4px;
        flex-wrap: nowrap;
    }

    .price-filter-container input {
        width: 56px;
        padding: 5px 6px;
        font-size: 12px;
    }

    .sort-select {
        flex: 1 1 130px;
        min-width: 0;
        font-size: 12px;
        padding: 6px 8px;
    }

    .utility-right {
        gap: 6px;
    }

    .utility-drop-btn {
        font-size: 12.5px;
        padding: 7px 10px;
        max-width: 135px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .dropdown-menu {
        left: auto;
        right: 0;
        width: 210px;
        max-width: calc(100vw - 24px);
        max-height: 60vh;
    }

    .info-heart-btn {
        font-size: 24px;
        padding: 0 2px;
    }

    .info-lbl {
        font-size: 8.5px;
    }

    /* Compact Horizontal Categories Strip inside Sticky Header */
    .sidebar {
        order: 2;
        position: static;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #f0dbe3;
        padding: 8px 12px;
        gap: 0;
        overflow: visible;
    }

    .profile-section,
    .sidebar-footer,
    .categories h4 {
        display: none;
    }

    .categories-buttons-row {
        flex-direction: row;
        overflow-x: auto;
        width: 100%;
        gap: 6px;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .categories-buttons-row::-webkit-scrollbar {
        display: none;
    }

    .cat-btn {
        white-space: nowrap;
        padding: 6px 12px;
        font-size: 12px;
        flex-shrink: 0;
        background: rgba(255, 255, 255, 0.55);
    }

    .cat-btn.active {
        background: var(--accent-sage);
    }

    /* Main Content starts naturally right below sticky header */
    .main-content {
        margin-left: 0;
        margin-top: 0;
        padding: 14px 12px 36px 12px;
        width: 100%;
    }

    .catalog-meta-row {
        margin-bottom: 12px;
        font-size: 12px;
    }

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

    .item-card {
        border-radius: 16px;
    }

    .item-img-wrap {
        height: 170px;
    }

    .stock-badge {
        top: 8px;
        left: 8px;
        padding: 3px 8px;
        font-size: 10px;
    }

    .item-info {
        padding: 11px;
        gap: 4px;
    }

    .item-name {
        font-size: 13.5px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .item-price-row {
        flex-wrap: wrap;
        gap: 2px 6px;
    }

    .item-price {
        font-size: 13.5px;
    }

    .item-shop-mini {
        font-size: 10.5px;
        max-width: 100%;
    }

    .item-tag {
        font-size: 10px;
        padding: 3px 8px;
    }

    .item-actions-row {
        padding-top: 8px;
    }

    .choose-btn {
        padding: 8px 10px;
        font-size: 11.5px;
        border-radius: 10px;
    }

    .modal-content,
    .info-modal-content {
        width: 100%;
        padding: 22px 16px;
        border-radius: 22px;
    }

    .info-modal-banner {
        display: none;
    }

    .info-modal-content h2 {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .modal-img-container {
        height: 205px;
    }

    .modal-content h2 {
        font-size: 20px;
    }

    .toast-container {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }
}

@media (max-width: 360px) {
    .shop-grid {
        gap: 9px;
    }

    .item-img-wrap {
        height: 150px;
    }

    .mobile-brand-title {
        font-size: 16px;
    }
}
