.amira-produk-grid {
    display: grid;
    gap: 28px;
    width: 100%;
}
.amira-produk-grid.amira-cols-1 { grid-template-columns: 1fr; }
.amira-produk-grid.amira-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.amira-produk-grid.amira-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.amira-produk-grid.amira-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.amira-produk-card {
    background: #fff;
    border: 1px solid #e5eaf2;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(8, 40, 86, .10);
    transition: transform .25s ease, box-shadow .25s ease;
}
.amira-produk-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 38px rgba(8, 40, 86, .16);
}
.amira-produk-image {
    width: 100%;
    background: #fff;
    line-height: 0;
}
.amira-product-preview {
    display: block;
    width: 100%;
    cursor: zoom-in;
}
.amira-produk-image img {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    object-fit: contain;
    transition: transform .3s ease;
}
.amira-produk-card:hover .amira-produk-image img { transform: scale(1.012); }
.amira-produk-info { padding: 18px; }
.amira-produk-price-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    text-align: center;
}
.amira-produk-price-old { color: #8a94a3; font-size: 14px; text-decoration: line-through; }
.amira-produk-price-normal,
.amira-produk-price-discount { color: #0b376f; font-size: 21px; line-height: 1.2; font-weight: 800; }
.amira-produk-price-discount { color: #e31e24; }
.amira-produk-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 46px;
    padding: 11px 16px;
    border-radius: 10px;
    background: #0b376f;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .2s ease, transform .2s ease;
    box-sizing: border-box;
}
.amira-whatsapp-icon { width: 20px; height: 20px; flex: 0 0 20px; display: block; }
.amira-produk-button:hover { background: #082a56; color: #fff !important; transform: translateY(-1px); }
.amira-produk-empty { text-align: center; color: #6b7280; }

body.amira-lightbox-open { overflow: hidden; }
.amira-lightbox[hidden] { display: none !important; }
.amira-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}
.amira-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 8, 23, .88);
    backdrop-filter: blur(2px);
}
.amira-lightbox-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: min(1100px, 94vw);
    max-height: 92vh;
    padding: 18px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
    box-sizing: border-box;
}
.amira-lightbox-image {
    display: block;
    max-width: 100%;
    max-height: calc(92vh - 36px);
    width: auto;
    height: auto;
    border-radius: 10px;
    background: #fff;
}
.amira-lightbox-close {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.30);
    border-radius: 50%;
    background: rgba(11, 55, 111, .96);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    transition: transform .18s ease, background .18s ease;
}
.amira-lightbox-close svg { width: 22px; height: 22px; display: block; }
.amira-lightbox-close:hover,
.amira-lightbox-close:focus-visible {
    background: #e31e24;
    color: #fff;
    transform: scale(1.06);
    outline: none;
}

@media (max-width: 1024px) {
    .amira-produk-grid.amira-cols-3,
    .amira-produk-grid.amira-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .amira-produk-grid,
    .amira-produk-grid.amira-cols-1,
    .amira-produk-grid.amira-cols-2,
    .amira-produk-grid.amira-cols-3,
    .amira-produk-grid.amira-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .amira-produk-card { border-radius: 12px; }
    .amira-produk-info { padding: 10px; }
    .amira-produk-price-wrap { gap: 6px; margin-bottom: 10px; }
    .amira-produk-price-old { font-size: 11px; }
    .amira-produk-price-normal, .amira-produk-price-discount { font-size: 15px; }
    .amira-produk-button { min-height: 40px; padding: 9px 7px; gap: 6px; font-size: 11px; }
    .amira-whatsapp-icon { width: 17px; height: 17px; flex-basis: 17px; }
    .amira-lightbox { padding: 10px; }
    .amira-lightbox-dialog { width: 100%; padding: 12px; border-radius: 12px; }
    .amira-lightbox-image { max-height: calc(94vh - 24px); }
    .amira-lightbox-close { top: 8px; right: 8px; width: 38px; height: 38px; }
}
@media (max-width: 350px) {
    .amira-produk-grid,
    .amira-produk-grid.amira-cols-1,
    .amira-produk-grid.amira-cols-2,
    .amira-produk-grid.amira-cols-3,
    .amira-produk-grid.amira-cols-4 { grid-template-columns: 1fr; }
}
