/* BeoWorld Shop Styles */
/* Shop-specific styles for BeoWorld (memberships, merchandise, documents) */
/* Uses beoworld-common.css as foundation */

/* Shop product grid */
.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.shop-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.shop-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(222, 178, 86, 0.3);
    border-color: var(--beoworld-gold);
}

.shop-product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--beoworld-bg-light);
}

.shop-product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--beoworld-gold);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.shop-product-info {
    padding: 1.5rem;
}

.shop-product-category {
    color: var(--beoworld-blue);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.shop-product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--beoworld-bg-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.shop-product-description {
    color: var(--beoworld-text);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.shop-product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--beoworld-bg-light);
}

.shop-price-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--beoworld-blue);
}

.shop-price-currency {
    font-size: 1rem;
    color: var(--beoworld-text);
}

/* Shopping cart */
.shop-cart {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cart-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--beoworld-bg-light);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--beoworld-bg-light);
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 700;
    color: var(--beoworld-blue);
    margin-bottom: 0.5rem;
}

.cart-item-meta {
    color: var(--beoworld-text);
    font-size: 0.875rem;
}

.cart-item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--beoworld-blue);
}

.cart-item-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--beoworld-bg-light);
    border-radius: 20px;
    padding: 0.25rem 0.5rem;
}

.quantity-btn {
    background: none;
    border: none;
    color: var(--beoworld-blue);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s ease;
}

.quantity-btn:hover {
    color: var(--beoworld-gold);
}

.quantity-display {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

/* Cart summary */
.cart-summary {
    background: linear-gradient(135deg, var(--beoworld-blue) 0%, #2a6d8e 100%);
    color: white;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.cart-summary-row:last-child {
    border-bottom: none;
    padding-top: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.cart-summary-label {
    font-weight: 500;
}

.cart-summary-value {
    font-weight: 700;
}

/* Checkout form */
.checkout-form {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.checkout-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--beoworld-bg-light);
}

.checkout-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.checkout-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--beoworld-blue);
    margin-bottom: 1.5rem;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.payment-method {
    border: 2px solid var(--beoworld-bg-light);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-method:hover {
    border-color: var(--beoworld-gold);
    background: rgba(222, 178, 86, 0.05);
}

.payment-method.selected {
    border-color: var(--beoworld-gold);
    background: rgba(222, 178, 86, 0.1);
}

.payment-method i {
    font-size: 2rem;
    color: var(--beoworld-blue);
    margin-bottom: 0.5rem;
}

/* Membership packages */
.membership-shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.membership-package {
    background: white;
    border: 3px solid var(--beoworld-bg-light);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.membership-package:hover {
    border-color: var(--beoworld-gold);
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(222, 178, 86, 0.3);
}

.membership-package.featured {
    border-color: var(--beoworld-gold);
    border-width: 4px;
    position: relative;
    background: linear-gradient(135deg, rgba(222, 178, 86, 0.05) 0%, rgba(190, 138, 51, 0.05) 100%);
}

.membership-package.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--beoworld-gold);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.membership-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--beoworld-blue) 0%, #2a6d8e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.membership-icon i {
    font-size: 2.5rem;
    color: white;
}

.membership-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--beoworld-blue);
    margin-bottom: 0.5rem;
}

.membership-duration {
    color: var(--beoworld-text);
    margin-bottom: 1.5rem;
}

.membership-price-wrapper {
    margin: 2rem 0;
}

.membership-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--beoworld-gold);
    line-height: 1;
}

.membership-period {
    color: var(--beoworld-text);
    font-size: 1rem;
}

.membership-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.membership-feature {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--beoworld-bg-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.membership-feature:last-child {
    border-bottom: none;
}

.membership-feature i {
    color: var(--beoworld-gold);
    font-size: 1.25rem;
}

/* Order confirmation */
.order-confirmation {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.order-success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--beoworld-gold) 0%, var(--beoworld-gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.order-success-icon i {
    font-size: 3rem;
    color: white;
}

.order-number {
    font-size: 1.25rem;
    color: var(--beoworld-text);
    margin-top: 1rem;
}

.order-number strong {
    color: var(--beoworld-blue);
}

/* Responsive - Shop */
@media (max-width: 992px) {
    .shop-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem;
    }
    
    .membership-shop-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .shop-product-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        flex-direction: column;
    }
    
    .cart-item-image {
        width: 100%;
        height: 200px;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
}
