/* Boutique - Modern Premium Theme */

.shop-page {
    --shop-primary: #ff6b81;
    --shop-primary-dark: #f73266;
    --shop-gold: #d4af37;
    --shop-bg-soft: #fff0f3;
    --shop-text: #1a1a1a;
    --shop-muted: #64748b;
    --shop-card: #ffffff;
    --shop-border: #f1e4e8;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 50px 0;
}

.boutique-hero {
    background: linear-gradient(135deg, var(--shop-bg-soft) 0%, #fff9f2 100%);
    border: 1px solid #ffe3ea;
    border-radius: 28px;
    padding: 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.hero-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--shop-gold);
    background: #ffffff;
    border: 1px solid #f5e5b0;
    border-radius: 999px;
    padding: 7px 14px;
    margin-bottom: 12px;
}

.boutique-hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--shop-text);
    margin-bottom: 8px;
}

.highlight-pink {
    color: var(--shop-primary);
}

.boutique-hero p {
    color: var(--shop-muted);
    max-width: 560px;
}

.hero-stats {
    display: flex;
    gap: 14px;
}

.stat-card {
    min-width: 130px;
    background: #fff;
    border: 1px solid #f5e6ea;
    border-radius: 16px;
    padding: 15px;
    text-align: center;
}

.stat-value {
    display: block;
    font-weight: 800;
    font-size: 26px;
    color: #0f172a;
}

.stat-label {
    color: var(--shop-muted);
    font-size: 13px;
}

.boutique-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
}

.category-ribbon {
    grid-column: 1 / -1;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 4px;
}

.category-ribbon::-webkit-scrollbar {
    display: none;
}

.ribbon-item {
    min-width: 92px;
    text-decoration: none;
    color: #475569;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.ribbon-icon {
    width: 66px;
    height: 66px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #f0dbe2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: 0.25s ease;
    overflow: hidden;
}

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

.ribbon-item span {
    font-size: 13px;
    font-weight: 600;
}

.ribbon-item:hover .ribbon-icon {
    transform: translateY(-3px);
    border-color: #f6bdcb;
    box-shadow: 0 10px 20px rgba(247, 50, 102, 0.12);
}

.ribbon-item.active .ribbon-icon {
    background: linear-gradient(135deg, var(--shop-primary), #f7a6b5);
    border-color: transparent;
    color: #fff;
}

.ribbon-item.active span {
    color: var(--shop-primary-dark);
}

.sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.filter-panel {
    background: #fff;
    border: 1px solid var(--shop-border);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 18px;
}

.search-box input,
.sort-select {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 11px 12px 11px 38px;
    color: #334155;
    background: #fff;
}

.sort-select {
    padding: 11px 12px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-item {
    text-decoration: none;
    border-radius: 10px;
    padding: 11px 12px;
    color: #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s ease;
}

.category-item:hover {
    background: #fff4f7;
}

.category-item.active {
    background: var(--shop-primary);
    color: #fff;
}

.count-badge {
    font-size: 13px;
    color: #94a3b8;
}

.category-item.active .count-badge {
    color: rgba(255, 255, 255, 0.85);
}

.price-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    cursor: pointer;
    font-size: 14px;
}

.radio-option input {
    display: none;
}

.radio-custom {
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    position: relative;
}

.radio-option input:checked + .radio-custom {
    border-color: var(--shop-primary);
}

.radio-option input:checked + .radio-custom::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--shop-primary);
    position: absolute;
    top: 2px;
    left: 2px;
}

.sidebar-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-filter,
.btn-reset {
    border-radius: 10px;
    padding: 11px 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
}

.btn-filter {
    background: linear-gradient(135deg, var(--shop-primary), var(--shop-primary-dark));
    color: #fff;
    cursor: pointer;
}

.btn-reset {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.products-area {
    min-width: 0;
}

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

.products-header p {
    color: var(--shop-muted);
    margin: 0;
}

.clear-link {
    color: var(--shop-primary-dark);
    text-decoration: none;
    font-weight: 600;
}

.boutique-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.shop-page .product-card {
    background: var(--shop-card);
    border: 1px solid var(--shop-border);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: 0.25s ease;
}

.shop-page .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.product-badge {
    position: absolute;
    top: 22px;
    left: 22px;
    color: #fff;
    font-size: 12px;
    border-radius: 999px;
    padding: 6px 10px;
    z-index: 2;
    font-weight: 700;
}

.badge-sale {
    background: #ef4444;
}

.badge-new {
    background: #10b981;
}

.shop-page .product-image-wrapper {
    position: relative;
    height: 245px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;
    background: #f8fafc;
}

.shop-page .product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.shop-page .product-card:hover .product-image-wrapper img {
    transform: scale(1.06);
}

.product-action-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    justify-content: center;
    padding-bottom: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
    opacity: 0;
    transition: 0.25s ease;
}

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

.action-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    text-decoration: none;
    background: #fff;
    color: var(--shop-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.action-btn.disabled {
    color: #cbd5e1;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-category {
    color: #94a3b8;
    font-size: 13px;
}

.product-info h3 {
    font-size: 17px;
    color: #0f172a;
}

.current-price {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}

.stock-status {
    color: #64748b;
    font-size: 13px;
    margin: 0;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    border: 1px dashed #f1cad5;
    background: #fff7f9;
    padding: 36px;
    border-radius: 16px;
}

.shop-pagination {
    margin-top: 32px;
}

@media (max-width: 1100px) {
    .shop-page {
        padding: 20px;
    }

    .boutique-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }
}

@media (max-width: 700px) {
    .boutique-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .boutique-hero h1 {
        font-size: 34px;
    }

    .hero-stats {
        width: 100%;
    }

    .stat-card {
        flex: 1;
    }

    .sidebar-actions {
        grid-template-columns: 1fr;
    }
}
