/* =========================
   Container / Grid
   ========================= */
.product-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    width: 100%;
}

@media (min-width: 1024px) {
    .product-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================
   Card Base
   ========================= */
.product-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    font-family: system-ui, -apple-system, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

/* =========================
   Header
   ========================= */
.product-card-header {
    padding: 20px;
    background-color: #0b6db4;
    color: #ffffff;
}

@media (min-width: 768px) {
    .product-card-header {
        padding: 24px 32px;
    }
}

.product-card-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.product-card-code {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
    word-break: break-word;
}

@media (min-width: 768px) {
    .product-card-code {
        font-size: 28px;
    }
}

.product-card-name {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 4px 0 0 0;
    word-break: break-word;
}

@media (min-width: 768px) {
    .product-card-name {
        font-size: 16px;
    }
}

.product-card-formula {
    font-family: monospace;
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .product-card-formula {
        font-size: 12px;
        padding: 6px 16px;
    }
}

/* =========================
   Body Layout
   ========================= */
.product-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

@media (min-width: 768px) {
    .product-card-body {
        display: grid;
        grid-template-columns: 200px 1fr;
    }
}

/* =========================
   Left: Image Section
   ========================= */
.product-card-left {
    padding: 24px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .product-card-left {
        padding: 32px 0 32px 32px;
    }
}

.product-card-image {
    width: 120px;
    height: 120px;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .product-card-image {
        width: 150px;
        height: 150px;
    }
}

.product-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* =========================
   Right: Properties Section
   ========================= */
.product-card-right {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .product-card-right {
        padding: 32px;
    }
}

.product-card-section-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .product-card-section-title {
        margin-bottom: 20px;
    }
}

.product-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

@media (min-width: 450px) {
    .product-card-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px 16px;
    }
}

@media (min-width: 768px) {
    .product-card-grid {
        margin-bottom: 28px;
    }
}

.product-card-label {
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 2px;
    display: block;
}

.product-card-value {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
    word-break: break-word;
}

@media (min-width: 768px) {
    .product-card-value {
        font-size: 16px;
        line-height: 1.2;
    }
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #8da3b9;
    border-radius: 50%;
    margin-right: 6px;
    flex-shrink: 0;
}

/* =========================
   Footer/CTA
   ========================= */
.product-card-divider {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}

@media (min-width: 768px) {
    .product-card-divider {
        padding-top: 24px;
    }
}

.product-card-cta {
    display: block;
    width: 100%;
    background: #111b27;
    color: #ffffff;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

@media (min-width: 768px) {
    .product-card-cta {
        padding: 14px;
        font-size: 14px;
    }
}

.product-card-cta:hover {
    background: #1a2938;
}
