/* ═══ نبراس hrws288 — بطاقات المتجر (Alghomlas-inspired · inside store only) ═══ */

.nebras-store-card--shop {
    --store-card-accent: #007a8c;
    --store-card-price: #231f1e;
    --store-card-promo: #c41e3a;
    position: relative;
    border-radius: 14px;
    border: 1px solid rgba(35, 31, 30, 0.08);
    background: #fff;
    box-shadow: 0 8px 24px rgba(13, 40, 64, 0.06);
}

.nebras-store-card--shop:hover {
    border-color: rgba(0, 122, 140, 0.28);
    box-shadow: 0 14px 32px rgba(0, 122, 140, 0.12);
}

.nebras-store-card-promo {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    z-index: 3;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--store-card-promo);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.nebras-store-card-stock {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    z-index: 3;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
}

.nebras-store-card-stock--in {
    background: rgba(5, 150, 105, 0.92);
    color: #fff;
}

.nebras-store-card-stock--out {
    background: rgba(100, 116, 139, 0.92);
    color: #fff;
}

.nebras-store-card-media {
    aspect-ratio: 3 / 4;
    background: linear-gradient(160deg, #f4f7fb 0%, #e8eef5 100%);
    overflow: hidden;
}

.nebras-store-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    padding: 0;
    display: block;
}

.nebras-store-card-body {
    gap: 8px !important;
}

.nebras-store-card-tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(0, 122, 140, 0.1);
    color: var(--store-card-accent);
    font-size: 0.68rem;
    font-weight: 800;
}

.nebras-store-card-title {
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
    color: var(--store-card-price);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nebras-store-card-meta {
    font-size: 0.76rem;
    line-height: 1.45;
    color: rgba(35, 31, 30, 0.62);
}

.nebras-store-card-accessory {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
}

.nebras-store-card-accessory--included {
    background: rgba(5, 150, 105, 0.1);
    color: #047857;
}

.nebras-store-card-accessory--excluded {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
}

.nebras-store-card-media img.nebras-clickable-media {
    cursor: zoom-in;
}

.nebras-store-card-media {
    position: relative;
}

.nebras-store-card-media:has(img.nebras-clickable-media)::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: 10px;
    inset-inline-start: 10px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(13, 40, 64, 0.72);
    color: #fff;
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.nebras-store-card-price-block .variant-price-stack {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
}

.nebras-store-card-price-block .variant-price-ex {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--store-card-price);
}

.nebras-store-card-price-block .variant-price-inc {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--store-card-accent);
}

.nebras-store-card-price-block .variant-price-note {
    font-size: 0.72rem;
    color: rgba(35, 31, 30, 0.55);
}

.nebras-store-card-price-block .variant-price-vat-bridge {
    font-size: 0.68rem;
    color: rgba(35, 31, 30, 0.45);
}

.nebras-store-card-price-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
}

.nebras-store-card-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--store-card-price);
}

.nebras-store-card-price--request {
    font-size: 0.88rem;
    color: #64748b;
}

.nebras-store-card-price-sub {
    font-size: 0.72rem;
    color: rgba(35, 31, 30, 0.55);
}

.nebras-store-card-cart,
.nebras-store-card--shop .nebras-store-sku-add-btn {
    margin-top: auto;
    width: 100%;
    padding: 11px 14px;
    border: none;
    border-radius: 10px;
    background: var(--store-card-accent);
    color: #fff;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.nebras-store-card-cart:hover,
.nebras-store-card--shop .nebras-store-sku-add-btn:hover {
    transform: translateY(-1px);
    background: #00606e;
}

.nebras-store-card-cart--ghost {
    background: #f1f5f9;
    color: #0d2840;
    border: 1px solid rgba(13, 40, 64, 0.12);
}

.nebras-store-card-cart--ghost:hover {
    background: #e2e8f0;
}

.nebras-store-card-specs {
    margin-top: 2px;
}

.nebras-store-card-specs li {
    font-size: 0.76rem;
}

.nebras-store-catalog-grid--premium .nebras-store-card--shop .nebras-store-card-cart-btn {
    display: none;
}

@media (max-width: 820px) {
    .nebras-store-catalog-grid {
        gap: 12px;
    }

    .nebras-store-card-title {
        font-size: 0.86rem !important;
    }
}
