/* ====================================================
   MODERN CATALOGUE STYLES (LONGINES INSPIRED)
==================================================== */

/* Grid Layout Overrides */
.longines-product-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.product-item {
    width: 25%;
    /* 4 per row desktop */
    padding: 10px;
}

@media (max-width: 992px) {
    .product-item {
        width: 33.333%;
        /* 3 per row tablet */
    }
}

@media (max-width: 576px) {
    .product-item {
        width: 50%;
        /* 2 per row mobile */
    }
}

/* Product Card */
.premium-product-card {
    position: relative;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    margin-bottom: 20px;
    border-radius: 4px;
    /* Slight radius */
    overflow: hidden;
}

.premium-product-card:hover {
    transform: scale(1.02);
    /* Subtle scale */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* Image Container */
.premium-card-image {
    position: relative;
    display: block;
    width: 100%;
    padding-bottom: 125%;
    /* 4:5 Aspect Ratio typically */
    overflow: hidden;
    background: #f9f9f9;
}

.premium-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Secondary Hover Image */
.premium-card-image .img-hover {
    opacity: 0;
    transform: scale(1.05);
    /* Start slightly zoomed in */
}

.premium-product-card:hover .premium-card-image .img-hover {
    opacity: 1;
    transform: scale(1);
}

.premium-product-card:hover .premium-card-image .img-main {
    opacity: 0;
}

/* Badges */
.premium-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    z-index: 5;
    background: #fff;
    color: #000;
}

.premium-badge.sale {
    background: #000;
    color: #fff;
}

/* Card Content */
.premium-card-content {
    padding: 15px 10px;
    text-align: center;
}

.premium-card-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 5px;
}

.premium-card-title {
    font-size: 14px;
    font-weight: 600;
    margin: 5px 0;
    line-height: 1.4;
}

.premium-card-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s;
}

.premium-card-title a:hover {
    color: #666;
}

.premium-card-price {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-top: 5px;
}

.premium-card-price del {
    color: #999;
    font-size: 13px;
    margin-right: 5px;
}

.premium-card-price .sale-price {
    color: #d9534f;
}

/* Quick Actions */
.premium-card-actions {
    margin-top: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.premium-product-card:hover .premium-card-actions {
    opacity: 1;
    transform: translateY(0);
}

.btn-premium-action {
    display: inline-block;
    padding: 8px 20px;
    background: #000;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
    width: 100%;
}

.btn-premium-action:hover {
    background: #333;
    color: #fff;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .premium-card-actions {
        opacity: 1;
        /* Always show on mobile? Or keep hidden until tap? */
        transform: translateY(0);
        margin-top: 10px;
    }
}