/* Public catalogue — mobile-first styles */

body.shop-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #fafafa;
}

.shop-logo {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

/* Cover banner */
.shop-cover {
    background: linear-gradient(135deg, #212529, #495057);
    background-size: cover;
    background-position: center;
}

.shop-cover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.shop-cover-desc {
    max-width: 640px;
}

/* Category chips scroll horizontally on small screens */
.category-chips {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

/* Product cards */
.product-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.product-img-wrap {
    overflow: hidden;
    border-radius: 0.375rem 0.375rem 0 0;
    background: #f1f3f5;
}

.product-img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    width: 100%;
}

.x-small {
    font-size: 0.75rem;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.colour-dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

/* Product details gallery */
.product-main-img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    cursor: zoom-in;
    background: #f1f3f5;
}

.product-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    cursor: pointer;
    flex-shrink: 0;
}

/* Touch-friendly buttons on small screens */
@media (max-width: 575.98px) {
    .product-card .btn {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
}
