.product-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 125;
    background: rgba(15, 31, 44, 0.48);
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
.product-modal-backdrop.visible {
    opacity: 1;
    pointer-events: auto;
}
.product-modal-shell {
    width: min(960px, 100%);
    max-height: min(86vh, 860px);
    overflow: auto;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(15, 31, 44, .28);
    transform: translateY(16px);
    transition: transform .22s ease;
}
.product-modal-backdrop.visible .product-modal-shell {
    transform: translateY(0);
}
.product-modal-loading {
    padding: 34px;
    text-align: center;
    color: var(--muted);
    font-weight: 600;
}
.product-overview-shell {
    padding: 26px;
}
.product-overview-topbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}
.product-overview-close {
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.product-overview-grid {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
    gap: 24px;
}
.product-overview-image-frame {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 24px;
    background: linear-gradient(180deg, #fffef9 0%, #f5efe4 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
}
.product-overview-stock-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(160, 34, 34, 0.94);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(15, 31, 44, 0.14);
}
.product-overview-stock-badge[hidden] {
    display: none !important;
}
.product-overview-image-frame img,
.product-overview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.product-overview-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.product-overview-thumb {
    width: 76px;
    height: 76px;
    border-radius: 16px;
    border: 1px solid var(--line);
    overflow: hidden;
    background: #fff;
    padding: 0;
    cursor: pointer;
}
.product-overview-thumb.is-active {
    border-color: color-mix(in srgb, var(--primary) 28%, var(--line));
    box-shadow: 0 0 0 2px rgba(13, 92, 75, 0.08);
}
.product-overview-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.product-overview-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(13, 92, 75, 0.08);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
}
.product-overview-copy h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(24px, 2.5vw, 32px);
    line-height: 1.02;
    color: #10273d;
    margin-bottom: 8px;
}
.product-overview-unit {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}
.product-overview-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}
.product-overview-price strong {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 26px;
    line-height: 1;
    color: #102d48;
}
.product-overview-price span {
    font-size: 13px;
    color: var(--muted);
    text-decoration: line-through;
}
.product-overview-description {
    color: #32485a;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}
.product-overview-detail-block {
    border-top: 1px solid var(--line);
    padding-top: 12px;
    margin: 0 0 18px;
}
.product-overview-detail-block h3 {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 7px;
}
.product-overview-detail-content {
    color: #32485a;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}
.product-overview-description p,
.product-overview-detail-content p {
    margin: 0 0 10px;
}
.product-overview-description p:last-child,
.product-overview-detail-content p:last-child {
    margin-bottom: 0;
}
.product-overview-description ul,
.product-overview-description ol,
.product-overview-detail-content ul,
.product-overview-detail-content ol {
    margin: 0 0 10px 18px;
    padding: 0;
}
.product-overview-description table,
.product-overview-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}
.product-overview-description th,
.product-overview-description td,
.product-overview-detail-content th,
.product-overview-detail-content td {
    border: 1px solid var(--line);
    padding: 7px 9px;
    text-align: left;
}
.product-overview-variations {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
}
.product-overview-variations-title {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6a7b8a;
}
.product-overview-variation-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.product-overview-variation-option {
    flex: 0 0 104px;
    width: 104px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 7px 8px 6px;
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.product-overview-variation-option:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--primary) 24%, var(--line));
}
.product-overview-variation-option.is-active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 92, 75, 0.16), inset 0 0 0 1px rgba(13, 92, 75, 0.1);
    background: color-mix(in srgb, var(--primary) 9%, #fff);
    transform: translateY(-1px);
}
.product-overview-variation-option.is-active .product-overview-variation-unit {
    color: var(--primary);
}
.product-overview-variation-option.is-active .product-overview-variation-price {
    color: var(--primary-deep);
}
.product-overview-variation-option.is-active .product-overview-variation-mrp {
    color: #5f7181;
}
.product-overview-variation-option.is-out {
    opacity: 0.66;
}
.product-overview-variation-unit {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #10273d;
    line-height: 1.2;
    margin-bottom: 3px;
}
.product-overview-variation-price {
    display: block;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
    margin-bottom: 2px;
}
.product-overview-variation-mrp {
    display: block;
    font-size: 10px;
    color: #708191;
    text-decoration: line-through;
    line-height: 1;
}
.product-overview-variation-status {
    display: block;
    font-size: 9px;
    font-weight: 800;
    color: #b45142;
    margin-top: 4px;
}
.product-overview-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0 18px;
}
.product-overview-add,
.product-overview-primary,
.product-overview-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.product-overview-add {
    border: 0;
    background: #f7cd34;
    color: #0f2b44;
}
.product-overview-primary {
    border: 0;
    background: var(--primary);
    color: #fff;
}
.product-overview-secondary {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
}
body.product-modal-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .product-modal-backdrop {
        padding: 12px;
    }
    .product-overview-shell {
        padding: 18px;
    }
    .product-overview-grid {
        grid-template-columns: 1fr;
    }
    .product-overview-copy h2 {
        font-size: clamp(22px, 7vw, 30px);
    }
    .product-overview-variation-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .product-overview-variation-option {
        width: auto;
        flex-basis: auto;
    }
}
