/* Boutique Specific Styles */

.boutique-container {
    max-width: 1400px;
    margin: 100px auto 40px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.shop-header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.shop-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.filter-btn:hover,
.filter-btn.active {
    background: white;
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* Layout Grid + Sidebar */
.shop-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

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

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.product-image {
    height: 180px;
    background: #2a2a2a;
    position: relative;
    overflow: hidden;
}

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

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.badge-gold {
    background: linear-gradient(135deg, #fbbf24, #d97706);
}

.badge-green {
    background: #4ade80;
    color: #064e3b;
}

.badge-red {
    background: #f87171;
    color: #450a0a;
}

.product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    color: #e5e5e5;
}

.product-info h3 {
    margin: 0 0 5px;
    font-size: 1.1rem;
}

.description {
    font-size: 0.85rem;
    color: #a3a3a3;
    margin-bottom: 10px;
    flex-grow: 1;
}

.meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.price {
    color: #4ade80;
}

.impact-indicator {
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
    padding: 4px 8px;
    border-radius: 4px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
}

.impact-indicator.positive {
    color: #4ade80;
}

.impact-indicator.negative {
    color: #f87171;
}

.add-to-cart-btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: white;
    color: #1a1a1a;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-to-cart-btn:hover {
    background: #f0f0f0;
    transform: scale(1.02);
}

.add-to-cart-btn.added {
    background: #4ade80;
    color: #064e3b;
}

/* Cart Sidebar */
.cart-sidebar {
    color: white;
}

.cart-sticky {
    position: sticky;
    top: 100px;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cart-sticky h2 {
    margin-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.cart-items {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    animation: slideIn 0.3s ease;
}

.cart-item-info h4 {
    margin: 0;
    font-size: 0.9rem;
}

.cart-item-price {
    font-size: 0.8rem;
    color: #a3a3a3;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-impact {
    font-size: 0.8rem;
    font-weight: bold;
}

.item-impact.positive {
    color: #4ade80;
}

.item-impact.negative {
    color: #f87171;
}

.remove-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 5px;
}

.remove-btn:hover {
    color: #f87171;
}

.cart-summary {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 500;
}

.impact-positive {
    color: #4ade80;
}

.impact-negative {
    color: #f87171;
}

.impact-neutral {
    color: #a3a3a3;
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
    border: none;
    border-radius: 8px;
    color: #0f172a;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
    transition: opacity 0.3s;
}

.checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.clear-btn {
    width: 100%;
    padding: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #a3a3a3;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
}

.clear-btn:hover {
    border-color: #f87171;
    color: #f87171;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}