/* ================================
   PEHRAWAAH — LUXURY PRODUCT CARD
   ================================ */

.tf-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

/* CARD CONTAINER */
.pw-product-card {
    background: #FFFFFF;
    border: 1px solid rgba(11, 59, 44, 0.1);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 6px 20px rgba(11, 59, 44, 0.05);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.35s ease;
}

.pw-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(11, 59, 44, 0.12);
    border-color: #C5A059;
}

/* IMAGE WRAPPER (3:4 PORTRAIT RATIO) */
.pw-product-image-wrapper {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #F8F6F0;
    text-decoration: none;
}

.tf-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.tf-product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #F4EFE6;
    color: #7B8C86;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* BADGES */
.pw-badge-stack {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.pw-badge-new {
    background: #0B3B2C !important;
    color: #FFFFFF !important;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(11, 59, 44, 0.25);
}

.pw-badge-discount {
    background: #C5A059 !important;
    color: #07261C !important;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(197, 160, 89, 0.35);
}

/* WISHLIST BUTTON */
.pw-wishlist-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: #7B8C86;
    display: grid;
    place-items: center;
    font-size: 15px;
    cursor: pointer;
    z-index: 3;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}

.pw-wishlist-icon:hover,
.pw-wishlist-icon.active {
    background: #FFFFFF;
    color: #E02424;
    border-color: #E02424;
    transform: scale(1.1);
}

/* INFO SECTION */
.pw-product-info {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.pw-product-category {
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #C5A059;
}

.pw-product-name {
    margin: 0;
    font-family: var(--font-heading, 'Bodoni Moda', serif);
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.35;
    min-height: 42px;
    color: #161E1A;
}

.pw-product-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pw-product-name a:hover {
    color: #0B3B2C;
}

/* PRICING */
.pw-product-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.tf-price-offer {
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    font-size: 18px;
    font-weight: 700;
    color: #0B3B2C;
}

.tf-price-original {
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    font-size: 14px;
    color: #7B8C86;
    text-decoration: line-through;
}

.tf-price-regular {
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    font-size: 18px;
    font-weight: 700;
    color: #0B3B2C;
}

/* ADD TO BAG BUTTON */
.pw-add-to-cart-btn {
    width: 100%;
    margin-top: auto;
    padding: 11px 16px;
    border-radius: 8px;
    background: #0B3B2C !important;
    color: #FFFFFF !important;
    border: 1px solid #0B3B2C !important;
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.pw-add-to-cart-btn:hover {
    background: #07261C !important;
    border-color: #C5A059 !important;
    box-shadow: 0 4px 14px rgba(11, 59, 44, 0.3) !important;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .tf-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .tf-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .pw-product-info {
        padding: 12px 10px 14px;
        gap: 6px;
    }
    .pw-product-name {
        font-size: 14px;
        min-height: 38px;
    }
    .tf-price-offer, .tf-price-regular {
        font-size: 16px;
    }
    .pw-add-to-cart-btn {
        padding: 9px 10px;
        font-size: 12px;
    }
}
