/* Kill old desktop hero layout */
.desktop-hero, .hero-container, .hero-content, .hero-visuals,
#mobileProductGrid {
    display: none !important;
}

/* Z-index Stack */
.offcanvas {
    z-index: 10005 !important;
}

.offcanvas-backdrop {
    z-index: 10004 !important;
}

#header.sticky-top {
    z-index: 10002 !important;
}

/* Mobile Header Adjustment */
@media (max-width: 768px) {
    header,
    .main-header {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;
        z-index: 10001;
        background: #fff;
        border-bottom: 1px solid #eee;
    }

    body {
        padding-top: 60px;
    }
}

/* Product Grid */
#productGrid {
    padding: 20px 16px 40px;
    background: #fafafa;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 900px) {
    .image-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1200px) {
    .image-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Product Card */
.product-card-grid {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
    cursor: pointer;
}

.product-card-grid:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img-wrap {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.product-card-grid:hover .card-img-wrap img {
    transform: scale(1.05);
}

.discount-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #000;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
}

.card-info {
    padding: 12px;
    text-align: center;
}

.card-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 12px;
    margin-right: 5px;
}

.price-new {
    font-weight: 700;
    color: #000;
    font-size: 15px;
}

/* Tailoring Tag */
.tailoring-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 5px;
    background: #f0faf0;
    border: 1px solid #c3e6c3;
    border-radius: 20px;
    padding: 3px 9px;
}

.tailoring-icon {
    font-size: 11px;
    color: #2e7d32;
    line-height: 1;
}

.tailoring-text {
    font-size: 10px;
    font-weight: 600;
    color: #2e7d32;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

@media (min-width: 1200px) {
    .h1, h1 {
        font-size: 1.8rem;
    }
}
