/* =========================
   SHOP PAGE — 1:1 DESIGN
========================= */

.shop-page {
    background: #F6F2EA;
    min-height: 100vh;
    padding: 110px 0 80px;
    width: 100%;
    overflow-x: hidden;
}

/* HEADER */
.shop-header { margin-bottom: 44px; }

.shop-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: #121212;
    margin-bottom: 12px;
    margin-top: 8px;
}

.shop-header p {
    color: #888;
    font-size: .95rem;
    font-family: 'Inter', sans-serif;
    max-width: 440px;
    line-height: 1.7;
}

/* BREADCRUMB */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: .82rem;
    font-family: 'Inter', sans-serif;
}
.breadcrumb a { color: #aaa; transition: color .2s; }
.breadcrumb a:hover { color: #b79aad; }
.breadcrumb span { color: #aaa; }

/* FILTERS */
.shop-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 9px 20px;
    border: 1.5px solid rgba(18,18,18,.15);
    background: transparent;
    color: #666;
    border-radius: 999px;
    cursor: pointer;
    font-size: .82rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all .2s;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: #b79aad;
    color: #121212;
}

.filter-btn.active {
    background: #b79aad;
    color: white;
    border-color: #b79aad;
}

/* PRODUCT GRID */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 48px;
}

.shop-loading, .shop-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: #aaa;
    font-family: 'Inter', sans-serif;
}

.product-link { display: block; text-decoration: none; color: inherit; }

/* PRODUCT CARD */
.shop-product {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.shop-product:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,.1);
}

.shop-product-img-wrap {
    position: relative;
    overflow: hidden;
}

.shop-product-img-wrap img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: transform .55s ease;
}

.shop-product:hover .shop-product-img-wrap img {
    transform: scale(1.06);
}

.wishlist-heart {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s, transform .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    color: #888;
}

.wishlist-heart:hover { color: #b79aad; transform: scale(1.1); }
.shop-product:hover .wishlist-heart { opacity: 1; }

.shop-product-info {
    padding: 16px 18px 18px;
}

.shop-product-info h3 {
    color: #121212;
    font-size: .9rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 6px;
    line-height: 1.3;
}

.shop-product-info p {
    color: #555;
    font-weight: 600;
    font-size: .875rem;
    font-family: 'Inter', sans-serif;
}

/* PAGINATION */
.shop-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

.pg-btn {
    width: 38px;
    height: 38px;
    border: 1.5px solid rgba(18,18,18,.12);
    background: white;
    border-radius: 10px;
    cursor: pointer;
    font-size: .875rem;
    font-family: 'Inter', sans-serif;
    color: #555;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pg-btn:hover:not([disabled]) {
    border-color: #b79aad;
    color: #b79aad;
}

.pg-btn.pg-active {
    background: #b79aad;
    color: white;
    border-color: #b79aad;
    font-weight: 600;
}

.pg-btn[disabled] {
    opacity: .3;
    cursor: not-allowed;
}

.pg-prev, .pg-next { font-size: 1rem; }

/* RESPONSIVE */
@media (max-width: 1200px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  {
    .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .shop-page { padding-top: 90px; }
    .shop-header h1 { font-size: 2rem; }
}
@media (max-width: 480px)  { .shop-grid { grid-template-columns: 1fr; } }
