/* Shop Page Styles - Platform links and product grid */

.shop-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #d9cbe5;
    font-size: 1.05em;
    line-height: 1.8;
}

/* Platform links section */
.shop-platforms {
    margin-bottom: 60px;
}

.shop-platforms .platforms {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.shop-platforms .platform-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
}

.shop-platforms .platform-icon {
    font-size: 2.5em;
    flex-shrink: 0;
}

.shop-platforms .platform-name {
    color: #fffacd;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.shop-platforms .platform-desc {
    color: #d9cbe5;
    font-size: 0.95em;
    line-height: 1.6;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.product-card {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 250, 205, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 250, 205, 0.4);
    box-shadow: 0 15px 40px rgba(255, 250, 205, 0.2);
}

.product-image-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 250, 205, 0.9);
    color: #0f1419;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    letter-spacing: 0.5px;
    z-index: 10;
}

.product-badge.featured {
    background: rgba(255, 193, 7, 0.9);
}

.product-badge.new {
    background: rgba(76, 175, 80, 0.9);
    color: white;
}

.product-info {
    padding: 25px;
}

.product-title {
    color: #fffacd;
    font-size: 1.4em;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.product-category {
    color: #c9b8d9;
    font-size: 0.9em;
    font-style: italic;
    margin-bottom: 15px;
}

.product-description {
    color: #d9cbe5;
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-options {
    border-top: 1px solid rgba(255, 250, 205, 0.1);
    padding-top: 20px;
    margin-bottom: 20px;
}

.product-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: #d9cbe5;
    font-size: 0.9em;
}

.option-label {
    font-weight: normal;
}

.option-price {
    color: #90ee90;
    font-size: 1.1em;
    font-weight: bold;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-buy {
    flex: 1;
    padding: 12px 20px;
    background: #fffacd;
    color: #0f1419;
    border: none;
    border-radius: 25px;
    font-size: 0.95em;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-family: Georgia, serif;
}

.btn-buy:hover,
.btn-buy:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 250, 205, 0.4);
}

.btn-details {
    padding: 12px 20px;
    background: rgba(255, 250, 205, 0.1);
    color: #fffacd;
    border: 2px solid rgba(255, 250, 205, 0.3);
    border-radius: 25px;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: Georgia, serif;
}

.btn-details:hover,
.btn-details:focus {
    background: rgba(255, 250, 205, 0.2);
    border-color: #fffacd;
}

/* Product filters */
.shop-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    padding: 0 20px;
}

.filter-tag {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 250, 205, 0.2);
    color: #d9cbe5;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tag:hover,
.filter-tag.active {
    background: rgba(255, 250, 205, 0.15);
    border-color: #fffacd;
    color: #fffacd;
}

/* Sold out state */
.product-card.sold-out {
    opacity: 0.7;
}

.product-card.sold-out .product-image {
    filter: grayscale(50%);
}

.product-card.sold-out .btn-buy {
    background: rgba(244, 67, 54, 0.3);
    color: #ff6b6b;
    cursor: not-allowed;
}

.product-card.sold-out .btn-buy:hover {
    transform: none;
}

/* Info banner */
.shop-banner {
    background: rgba(255, 250, 205, 0.1);
    border: 2px solid rgba(255, 250, 205, 0.2);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 40px;
    text-align: center;
}

.shop-banner h3 {
    color: #fffacd;
    margin-bottom: 10px;
}

.shop-banner p {
    color: #d9cbe5;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .shop-platforms .platforms {
        padding: 0 15px;
    }

    .shop-platforms .platform-link {
        padding: 20px;
        gap: 15px;
    }

    .shop-platforms .platform-icon {
        font-size: 2em;
    }

    .shop-platforms .platform-name {
        font-size: 1.15em;
    }

    .shop-platforms .platform-desc {
        font-size: 0.9em;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }

    .product-info {
        padding: 20px;
    }

    .product-actions {
        flex-direction: column;
    }

    .btn-details {
        width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (min-width: 1400px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    }
}
