.shop-product-card {
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    border-radius: 14px;
    border-color: var(--andala-border, #e4e8ef);
}

.shop-product-card:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.shop-product-card .shop-product-image {
    aspect-ratio: 4 / 3;
    background: #f5f6fa;
    overflow: hidden;
}

.shop-product-card .shop-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-product-card .card-inner {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.shop-product-card .product-price {
    font-size: 1.05rem;
    font-weight: 600;
}

.shop-gallery-main {
    position: relative;
    background: linear-gradient(145deg, #ebf3ff 0%, #f3e8ff 55%, #ecfeff 100%);
    border-radius: var(--andala-radius-lg, 20px);
    overflow: hidden;
    border: 1px solid rgba(0, 82, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 82, 255, 0.1);
}

.shop-gallery-main img {
    width: 100%;
    height: auto;
    display: block;
    background: transparent;
}

.shop-gallery-main--empty {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.shop-gallery-thumb {
    width: 76px;
    height: 76px;
    border: 2px solid var(--andala-border, #e4e8ef);
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.shop-gallery-thumb:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 82, 255, 0.12);
}

.shop-gallery-thumb.is-active {
    border-color: var(--andala-primary, #0052ff);
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.15);
}

.shop-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Product detail page */

.product-show__store {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--andala-primary, #0052ff);
    text-decoration: none;
}

.product-show__store:hover {
    color: var(--andala-primary-dark, #003ecb);
}

.product-show__header {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    margin-top: 0.65rem;
}

.product-show__title {
    font-size: clamp(1.55rem, 2.3vw, 2.05rem);
    font-weight: 750;
    letter-spacing: -0.02em;
    color: var(--andala-ink, #0b1220);
    margin: 0;
    line-height: 1.25;
}

.product-show__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    background: var(--andala-primary-soft, #ebf3ff);
    color: var(--andala-primary, #0052ff);
}

.product-show__pill--featured {
    background: var(--andala-violet-soft, #f3e8ff);
    color: var(--andala-violet, #7c3aed);
}

.product-show__story {
    line-height: 1.8;
    color: #364a63;
    font-size: 1rem;
    margin-top: 1.1rem;
}

.product-show__buy {
    border: 1px solid rgba(0, 82, 255, 0.14);
    border-radius: var(--andala-radius-lg, 20px);
    background:
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.08), transparent 40%),
        radial-gradient(circle at bottom left, rgba(0, 82, 255, 0.08), transparent 45%),
        #fff;
    box-shadow: 0 16px 40px rgba(0, 82, 255, 0.08);
}

.product-show__buy .card-inner {
    padding: 1.25rem;
}

.product-show__price {
    font-size: 1.65rem;
    font-weight: 750;
    color: var(--andala-primary, #0052ff);
    letter-spacing: -0.02em;
}

.product-show__cta {
    background: var(--andala-gradient-warm, linear-gradient(135deg, #0052ff 0%, #7c3aed 100%));
    border: 0;
    box-shadow: 0 10px 24px rgba(0, 82, 255, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-show__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0, 82, 255, 0.34);
    background: var(--andala-gradient-warm, linear-gradient(135deg, #0052ff 0%, #7c3aed 100%));
}

.product-show__variants {
    border: 1px solid var(--andala-border, #e4e8ef);
    border-radius: var(--andala-radius, 14px);
    overflow: hidden;
    background: #fff;
}

.product-show__variants .table {
    margin-bottom: 0;
}

.product-show__variants .table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--andala-muted, #8b93a7);
    border-bottom-color: var(--andala-border, #e4e8ef);
    background: var(--andala-bg, #f7f9fc);
}

.product-show__variants .table td {
    border-color: var(--andala-border, #e4e8ef);
    vertical-align: middle;
}

.shop-store-banner {
    max-height: 220px;
    object-fit: cover;
    width: 100%;
}

.shop-store-logo {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.shop-cart-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 0.375rem;
    border: 1px solid #dbdfea;
    background: #f5f6fa;
}

.shop-filter-panel {
    background: #fff;
    border: 1px solid #dbdfea;
    border-radius: 0.5rem;
    padding: 1.25rem;
}

.shop-featured-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

@media (min-width: 992px) {
    .shop-filter-panel.sticky-lg-top {
        top: 5.5rem;
    }
}

.andala-page-hero {
    background: var(--andala-gradient);
    color: #fff;
    border-radius: var(--andala-radius-lg);
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.andala-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.35), transparent 45%);
}

.andala-page-hero > * { position: relative; }

.andala-page-hero h1,
.andala-page-hero h3 {
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.andala-page-hero p {
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    max-width: 560px;
}
