﻿.shop-sidebar { position: sticky; top: 110px; }
@media (max-width: 1024px) { .shop-sidebar { position: static; top: auto; } }

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

.shop-mobile-head {
    display: none;
}

.product-card .product-img {
    position: relative;
}

.shop-page .product-card .product-desc {
    display: none !important;
}

.product-card .product-img img {
    width: 100%;
    height: 240px;
    display: block;
    object-fit: cover;
}

.product-card-badges {
    position: absolute;
    left: 10px;
    top: 10px;
    right: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    pointer-events: none;
}

.product-card-badges span {
    border-radius: 999px;
    background: rgba(255, 250, 243, 0.94);
    color: #4a0404;
    padding: 5px 8px;
    font-size: 0.68rem;
    font-weight: 900;
    box-shadow: 0 6px 16px rgba(74, 4, 4, 0.08);
}

@media (max-width: 768px) {
    .shop-page {
        background: #f8f2ea;
    }

    .shop-page .page-hero {
        display: none;
    }

    .shop-page > .page-section {
        padding: 12px 12px 18px;
        background: #f8f2ea;
    }

    .shop-page > .page-section:first-of-type {
        padding-top: 10px;
    }

    .shop-page > .page-section.light {
        display: none;
    }

    .shop-mobile-head {
        display: grid;
        gap: 9px;
        width: min(100%, 680px);
        margin: 0 auto 10px;
        padding: 10px 2px 4px;
    }

    .shop-mobile-head .section-kicker {
        margin-bottom: 3px;
        font-size: 0.68rem;
        letter-spacing: 0.18em;
        color: #9a7a24;
    }

    .shop-mobile-head h1 {
        margin: 0;
        color: #32120f;
        font-size: 1.55rem;
        line-height: 1.08;
    }

    .shop-mobile-chips {
        display: flex;
        gap: 7px;
        overflow-x: auto;
        padding: 2px 0 4px;
        scrollbar-width: none;
    }

    .shop-mobile-chips::-webkit-scrollbar {
        display: none;
    }

    .shop-mobile-chips button {
        flex: 0 0 auto;
        min-height: 34px;
        border: 1px solid #eadfca;
        border-radius: 999px;
        background: #fffaf3;
        color: #4a0404;
        padding: 7px 11px;
        font-size: 0.74rem;
        font-weight: 900;
    }

    .shop-mobile-chips button.active {
        background: #4a0404;
        border-color: #4a0404;
        color: #fffaf3;
    }

    .shop-page .shop-shell {
        display: block;
        width: min(100%, 680px);
        margin: 0 auto;
    }

    .shop-page .shop-sidebar {
        display: grid;
        gap: 8px;
        margin-bottom: 12px;
    }

    .mobile-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 40px;
        border: 1px solid rgba(74, 4, 4, 0.12);
        border-radius: 8px;
        background: #4a0404;
        color: #fff;
        padding: 0 12px;
        font-weight: 800;
        font-size: 0.84rem;
        cursor: pointer;
    }

    .mobile-filter-toggle::after {
        content: "+";
        font-size: 1.1rem;
        line-height: 1;
    }

    .shop-sidebar.filters-open .mobile-filter-toggle::after {
        content: "-";
    }

    .shop-page .shop-sidebar .mobile-extra-filter {
        display: none;
    }

    .shop-page .shop-sidebar.filters-open .mobile-extra-filter {
        display: block;
    }

    .shop-page .filter-panel {
        border-radius: 8px;
        padding: 10px;
        box-shadow: 0 8px 20px rgba(74, 4, 4, 0.04);
    }

    .shop-page .filter-heading {
        margin-bottom: 7px;
        font-size: 0.66rem;
        letter-spacing: 0.14em;
    }

    .shop-page .search-panel input,
    .shop-page .sort-panel select {
        min-height: 40px;
        border-radius: 8px;
        padding: 9px 11px;
        font-size: 0.86rem;
    }

    .shop-page .sidebar-list {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
    }

    .shop-page .sidebar-list li {
        flex: 1 1 auto;
    }

    .shop-page .sidebar-list .sidebar-link {
        border-radius: 8px;
        padding: 9px 10px;
        min-height: 36px;
        text-align: center;
        font-size: 0.76rem;
    }

    .shop-page .shop-main {
        gap: 10px;
    }

    .shop-page .shop-controls {
        gap: 8px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin: 0 0 2px;
    }

    .shop-page .shop-controls .nav-order-btn {
        display: none;
    }

    .shop-page .results-count {
        display: inline-flex;
        align-items: center;
        min-height: 30px;
        border: 1px solid #eadfca;
        border-radius: 8px;
        background: #fffaf3;
        padding: 0 10px;
        font-size: 0.78rem;
    }

    .shop-page .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        margin-top: 0;
    }

    .shop-page .product-card {
        border-radius: 8px;
        min-height: 0;
        box-shadow: 0 8px 18px rgba(74, 4, 4, 0.05);
        transform: none;
    }

    .shop-page .product-card:hover {
        transform: none;
    }

    .shop-page .product-card .product-img {
        min-height: 0;
        aspect-ratio: 1 / 1;
    }

    .shop-page .product-card .product-img img {
        height: 100%;
    }

    .shop-page .product-card-badges {
        left: 7px;
        top: 7px;
        right: 7px;
        gap: 4px;
    }

    .shop-page .product-card-badges span {
        padding: 4px 6px;
        font-size: 0.58rem;
    }

    .shop-page .product-card .product-meta {
        padding: 10px;
        gap: 7px;
    }

    .shop-page .product-card .product-desc {
        display: none;
    }

    .shop-page .product-card h3 {
        font-size: 0.92rem;
        line-height: 1.25;
        min-height: 2.45em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .shop-page .product-card .product-category {
        font-size: 0.7rem;
        letter-spacing: 0.08em;
    }

    .shop-page .product-card .stock-note {
        display: none;
    }

    .shop-page .product-card .stock-note.out {
        display: block;
        font-size: 0.72rem;
    }

    .shop-page .product-card .price-line {
        gap: 4px 6px;
        align-items: center;
    }

    .shop-page .product-card .price {
        font-size: 0.92rem;
        line-height: 1.15;
    }

    .shop-page .product-card .mrp,
    .shop-page .product-card .discount-badge {
        font-size: 0.7rem;
    }

    .shop-page .product-card .customize-link {
        min-height: 36px;
        border-radius: 8px;
        padding: 8px 8px;
        font-size: 0.74rem;
        line-height: 1.1;
    }

    .shop-page .footer {
        margin-top: 0;
        padding: 30px 12px 18px;
    }

    .shop-page .footer-content {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        align-items: start;
        text-align: left;
    }

    .shop-page .footer-section:first-child,
    .shop-page .footer-section:last-child {
        grid-column: 1 / -1;
    }

    .shop-page .footer-section h3 {
        margin-bottom: 8px;
        font-size: 0.84rem;
    }

    .shop-page .footer-section p,
    .shop-page .footer-section a,
    .shop-page .footer-section li {
        font-size: 0.78rem;
        line-height: 1.45;
    }

    .shop-page .footer-section ul li {
        margin-bottom: 6px;
    }

    .shop-page .footer-bottom {
        margin-top: 18px;
        padding-top: 14px;
        font-size: 0.72rem;
    }

    .shop-page .whatsapp-float {
        right: 12px;
        bottom: 12px;
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 420px) {
    .shop-page .product-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .shop-page > .page-section {
        padding-left: 9px;
        padding-right: 9px;
    }

    .shop-page .product-grid {
        gap: 8px;
    }

    .shop-page .product-card .product-meta {
        padding: 9px;
    }

    .shop-page .product-card h3 {
        font-size: 0.84rem;
    }

    .shop-page .product-card .product-category {
        font-size: 0.62rem;
    }

    .shop-page .product-card .price {
        font-size: 0.86rem;
    }

    .shop-page .product-card .customize-link {
        min-height: 34px;
        font-size: 0.7rem;
    }
}

