/*---------------------------------------
  PALAVER SHOP STYLES
-----------------------------------------*/

:root {
    --shop-card-bg: rgba(35, 35, 51, 0.6);
    --shop-overlay: rgba(7, 7, 17, 0.85);
}

.shop-hero-section {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 40vh;
    position: relative;
    overflow: hidden;
}

.shop-badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6px 20px;
    background: rgba(184, 155, 94, 0.1);
    border: 1px solid var(--gold-muted);
    color: var(--gold-muted);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Product Cards */
.product-card {
    background: var(--shop-card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(184, 155, 94, 0.15);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-muted);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.product-img-wrapper {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #1a1a2e;
}

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--shop-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.product-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold-muted);
    color: var(--primary-color);
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 2;
}

.product-info {
    padding: 25px;
}

.product-title {
    color: var(--white-color);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.product-desc {
    color: rgba(236, 236, 241, 0.6);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    color: var(--gold-muted);
    font-weight: 800;
    font-size: 1.1rem;
}

.add-cart-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gold-muted);
    border: none;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.add-cart-btn:hover {
    background: var(--white-color);
    transform: rotate(90deg);
}

.quick-view-btn {
    border: 1px solid var(--gold-muted);
    color: var(--gold-muted);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: 0;
}

.quick-view-btn:hover {
    background: var(--gold-muted);
    color: var(--primary-color);
}

/* Cart Specifics */
.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: var(--gold-muted);
    color: var(--primary-color);
    width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-cart-toggle {
    position: relative;
    padding: 0 !important;
    font-size: 1.2rem;
    color: var(--white-color) !important;
}

.cart-items-empty i {
    opacity: 0.2;
}

/* Modal Specifics */
.product-modal .modal-content {
    background: var(--primary-color);
    border: 1px solid var(--gold-soft);
    border-radius: 0;
    overflow: hidden;
}

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

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    transition: all 0.3s ease;
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-close-btn:hover {
    transform: rotate(90deg);
}

.product-modal .custom-btn {
    border-radius: 0;
    letter-spacing: 2px;
}

@media (max-width: 991px) {
    .shop-hero-section {
        min-height: 30vh;
    }

    .modal-product-img {
        height: 300px;
    }
}