/* --- /shop/style.css --- */

/* 1. Import Main Site Styles for Consistency */
@import url('../style.css');

/* 2. Shop-Specific Enhancements */

/* Shop Hero - More compact and focused */
.shop-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-color: var(--royal-blue);
    /* A slightly different, more intricate pattern for the shop */
    background-image: radial-gradient(circle at 50% 50%, rgba(207, 167, 110, 0.08) 0%, transparent 60%),
                      linear-gradient(135deg, #0a1f35 0%, #1a3c61 100%);
    border-bottom: 3px solid var(--rich-gold);
    margin-bottom: 60px;
}

.shop-hero h2 { font-size: 3.5rem; color: var(--rich-gold); margin-bottom: 15px; }
.shop-hero p { font-size: 1.2rem; color: #e0e0e0; max-width: 600px; margin: 0 auto; }

/* Shop Layout Grid */
.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr; /* Sidebar + Product Grid */
    gap: 40px;
    align-items: start;
}

/* Sidebar Filters - Elegant & Clean */
.shop-sidebar {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid #eee;
}

.filter-group { margin-bottom: 30px; }
.filter-title {
    font-size: 1.1rem;
    color: var(--royal-blue);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    position: relative;
}
.filter-title::after {
    content: ''; position: absolute; bottom: -1px; left: 0; width: 40px; height: 2px; background: var(--rich-gold);
}

.filter-list li {
    margin-bottom: 10px;
}
.filter-list a {
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    font-weight: 500;
}
.filter-list a:hover, .filter-list a.active {
    color: var(--royal-blue);
}
.filter-list a.active { font-weight: 700; }
.filter-count { font-size: 0.8rem; color: #aaa; background: #f5f5f5; padding: 2px 8px; border-radius: 10px; }

/* Premium Product Cards */
.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.shop-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    display: flex;
    flex-direction: column;
}
.shop-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-gold);
    border-color: var(--rich-gold);
}

.shop-card-img {
    height: 320px; /* Taller images for premium feel */
    position: relative;
    overflow: hidden;
}
.shop-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.shop-card:hover .shop-card-img img { transform: scale(1.08); }

/* Overlay Actions on Hover */
.shop-actions {
    position: absolute;
    bottom: -50px; /* Hidden by default */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(to top, rgba(14, 42, 71, 0.8), transparent);
    transition: bottom 0.4s ease;
    opacity: 0;
}
.shop-card:hover .shop-actions { bottom: 0; opacity: 1; }

.action-btn {
    width: 45px; height: 45px;
    background: var(--white);
    color: var(--royal-blue);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.action-btn:hover {
    background: var(--rich-gold);
    color: var(--white);
}

.shop-card-info {
    padding: 25px;
    text-align: center;
    background: var(--white);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.shop-card-cat { font-size: 0.75rem; color: var(--rich-gold); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; font-weight: 700; }
.shop-card-title { font-family: var(--font-heading); font-size: 1.25rem; color: var(--royal-blue); margin-bottom: 12px; line-height: 1.3; }
.shop-card-price { font-size: 1.3rem; color: var(--royal-blue); font-weight: 700; }

/* Responsive Layout */
@media (max-width: 900px) {
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { margin-bottom: 40px; }
    .shop-hero { height: 300px; }
    .shop-hero h2 { font-size: 2.5rem; }
}
