/* ============================================================
   Danaa Hakim Mohammed — PRODUCT DETAILS PAGE
   All colors driven by design tokens (css/base.css :root).
   ============================================================ */

/* ── PAGE HERO (Product Details — banner-4) ── */
.page-hero {
    background-image: url('../images/banners/product-banner.webp');
}

/* GALLERY — card fits the image's natural size (no fixed-height box) */
.gallery-main {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--surface-card);
}

.gallery-main img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.gallery-main:hover img {
    transform: scale(1.03);
}

.gallery-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-gold);
    color: var(--color-primary-deep);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
}

/* PRODUCT INFO */
.product-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 14px;
}

/* Short description — shown once under the title (live from DB) */
.product-desc {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-body);
    margin-bottom: 0;
}

/* At a Glance — 4 key highlights (2x2 grid) after the description */
.glance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.glance-item {
    background: var(--surface-ivory);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    min-width: 0;
}

.glance-label {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 4px;
}

.glance-val {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-strong);
    line-height: 1.4;
    word-break: break-word;
}

/* Specs table (tab) */
.spec-table {
    font-size: 14px;
    margin-bottom: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.spec-table th {
    width: 38%;
    background: var(--surface-cream);
    color: var(--text-body);
    font-weight: 600;
    border-color: var(--border-color);
    vertical-align: top;
}

.spec-table td {
    color: var(--text-strong);
    border-color: var(--border-color);
}

/* ACTION BUTTONS */
.btn-enquire-big {
    background: var(--color-primary);
    color: var(--text-on-dark);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background var(--transition-base);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-enquire-big:hover {
    background: var(--color-primary-deep);
    color: var(--text-on-dark);
}

.btn-whatsapp {
    background: var(--color-whatsapp);
    color: var(--text-on-dark);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background var(--transition-base);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background: var(--color-whatsapp-dark);
    color: var(--text-on-dark);
}
