/*
 Theme Name:   Goldsmith Child
 Theme URI:    https://www.mittalsafetyworks.com
 Description:  Child theme for Goldsmith - Mittal Safety Works
 Author:       Mittal Safety Works
 Author URI:   https://www.mittalsafetyworks.com
 Template:     goldsmith
 Version:      1.0.0
 Text Domain:  goldsmith-child
*/

/* ============================================================
   INDCARE Product Page — Mittal Safety Works
   Complete design system for single product pages
   ============================================================ */

/* ── HIDE PRICE (B2B quote model) ────────────────────────── */
.single-product .woocommerce-Price-amount,
.single-product .price,
.single-product span.price,
.single-product p.price,
.single-product .woocommerce-variation-price,
.single-product .goldsmith-summary-item.goldsmith-price,
.single-product .woobt-price-wrap,
.single-product .goldsmith-viewed-offer-time,
.single-product .goldsmith-cart-goal-wrapper { display: none !important; }

/* Hide native add to cart button */
.single-product .cart .single_add_to_cart_button,
.single-product form.cart { display: none !important; }

/* ── BRAND STRIP ─────────────────────────────────────────── */
.indcare-brand-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e8e8e8;
    flex-wrap: wrap;
}
.indcare-brand-logo img {
    height: 28px;
    width: auto;
    object-fit: contain;
}
.indcare-brand-divider {
    width: 1px;
    height: 16px;
    background: #ddd;
}
.indcare-category-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1a1a1a;
    background: #f5f5f5;
    padding: 3px 10px;
    border-radius: 2px;
    font-family: 'Jost', sans-serif;
}
.indcare-brand-tagline {
    font-size: 11px;
    color: #aaa;
    font-family: 'Jost', sans-serif;
    letter-spacing: 0.5px;
    margin-left: auto;
}

/* ── CERTIFICATION BADGES ────────────────────────────────── */
.indcare-cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 14px 0 18px;
}
.indcare-cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-family: 'Jost', sans-serif;
    line-height: 1;
}
.indcare-cert-badge.isi     { background:#e8f4fd; color:#1565c0; border:1px solid #90caf9; }
.indcare-cert-badge.ce      { background:#e8f5e9; color:#2e7d32; border:1px solid #a5d6a7; }
.indcare-cert-badge.iso     { background:#fff8e1; color:#f57f17; border:1px solid #ffe082; }
.indcare-cert-badge.en      { background:#fce4ec; color:#c62828; border:1px solid #ef9a9a; }
.indcare-cert-badge.is15298 { background:#f3e5f5; color:#6a1b9a; border:1px solid #ce93d8; }

/* ── PRODUCT SHORT DESCRIPTION — FEATURE LIST ───────────── */
.single-product .woocommerce-product-details__short-description p {
    font-size: 15px;
    line-height: 1.75;
    color: #444;
    margin-bottom: 16px;
    font-family: 'Jost', sans-serif;
}
.single-product .woocommerce-product-details__short-description ul,
.single-product .woocommerce-Tabs-panel--description ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    border: 1px solid #efefef;
    border-radius: 4px;
    overflow: hidden;
}
.single-product .woocommerce-product-details__short-description ul li,
.single-product .woocommerce-Tabs-panel--description ul li {
    position: relative;
    padding: 10px 14px 10px 40px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
    line-height: 1.6;
    font-family: 'Jost', sans-serif;
    color: #333;
    background: #fff;
    transition: background 0.15s;
}
.single-product .woocommerce-product-details__short-description ul li:last-child,
.single-product .woocommerce-Tabs-panel--description ul li:last-child { border-bottom: none; }
.single-product .woocommerce-product-details__short-description ul li:hover,
.single-product .woocommerce-Tabs-panel--description ul li:hover { background: #fafafa; }
.single-product .woocommerce-product-details__short-description ul li::before,
.single-product .woocommerce-Tabs-panel--description ul li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #1a1a1a;
    font-weight: 700;
    font-size: 13px;
    width: 20px;
    height: 20px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 20px;
    text-align: center;
}
.single-product .woocommerce-product-details__short-description ul li strong,
.single-product .woocommerce-Tabs-panel--description ul li strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* ── REQUEST QUOTE BUTTON ────────────────────────────────── */
.indcare-cta-block {
    margin: 20px 0 6px;
}
.indcare-quote-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1a1a1a;
    color: #fff !important;
    padding: 15px 36px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid #1a1a1a;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    font-family: 'Jost', sans-serif;
    width: 100%;
    justify-content: center;
    border-radius: 2px;
}
.indcare-quote-btn:hover {
    background: #fff;
    color: #1a1a1a !important;
}
.indcare-quote-btn svg { width:18px; height:18px; fill:currentColor; flex-shrink:0; }
.indcare-cta-note {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin: 8px 0 0;
    font-family: 'Jost', sans-serif;
    letter-spacing: 0.3px;
}

/* ── ENQUIRY LINKS ───────────────────────────────────────── */
.indcare-enquiry-section {
    background: #f9f9f9;
    border: 1px solid #ececec;
    border-radius: 4px;
    padding: 16px 18px;
    margin: 16px 0;
    font-family: 'Jost', sans-serif;
}
.indcare-enquiry-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888;
    margin: 0 0 12px;
}
.indcare-enquiry-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}
.indcare-enquiry-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a !important;
    text-decoration: none !important;
    padding: 10px 8px;
    border: 1.5px solid #ddd;
    border-radius: 3px;
    transition: all 0.2s;
    background: #fff;
    letter-spacing: 0.3px;
    text-align: center;
}
.indcare-enquiry-link svg { width:15px; height:15px; flex-shrink:0; }
.indcare-enquiry-link:hover,
.indcare-link-form:hover { border-color:#1a1a1a; background:#1a1a1a; color:#fff !important; }
.indcare-link-wa  { border-color:#25d366; color:#25d366 !important; }
.indcare-link-wa:hover { background:#25d366; color:#fff !important; border-color:#25d366; }
.indcare-link-call { border-color:#1565c0; color:#1565c0 !important; }
.indcare-link-call:hover { background:#1565c0; color:#fff !important; border-color:#1565c0; }

/* ── TRUST STRIP ─────────────────────────────────────────── */
.indcare-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid #ececec;
    border-radius: 4px;
    overflow: hidden;
    margin: 16px 0 20px;
    background: #fff;
}
.indcare-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 8px;
    border-right: 1px solid #ececec;
    text-align: center;
    font-family: 'Jost', sans-serif;
}
.indcare-trust-item:last-child { border-right: none; }
.indcare-trust-item svg { width:20px; height:20px; color:#1a1a1a; stroke:#1a1a1a; }
.indcare-trust-item span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #555;
    line-height: 1.3;
}

/* ── PRODUCT SPEC TABLE (in tabs/description) ────────────── */
.single-product .woocommerce-Tabs-panel--description table,
.single-product .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    font-family: 'Jost', sans-serif;
    border: 1px solid #efefef;
    border-radius: 4px;
    overflow: hidden;
}
.single-product .woocommerce-Tabs-panel--description table td,
.single-product .woocommerce-Tabs-panel--description table th {
    padding: 11px 16px;
    border-bottom: 1px solid #f5f5f5;
    vertical-align: middle;
    line-height: 1.5;
}
.single-product .woocommerce-Tabs-panel--description table tr:first-child td:first-child { font-weight: 700; }
.single-product .woocommerce-Tabs-panel--description table td:first-child {
    background: #f8f8f8;
    font-weight: 600;
    color: #333;
    width: 36%;
}
.single-product .woocommerce-Tabs-panel--description table tr:last-child td { border-bottom: none; }
.single-product .woocommerce-Tabs-panel--description table tr:hover td { background: #fffdf0 !important; }

/* ── PRODUCT GALLERY POLISH ──────────────────────────────── */
.single-product .woocommerce-product-gallery__image img {
    border-radius: 2px;
}

/* ── PRODUCT TABS POLISH ─────────────────────────────────── */
.single-product .woocommerce-tabs .wc-tab h2 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    margin-bottom: 16px;
    font-family: 'Jost', sans-serif;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

/* ── CONTACT PAGE — ENQUIRY FORM HIGHLIGHT ───────────────── */
body.page-id-111 .wpcf7-form {
    background: #fff;
    padding: 30px;
    border: 1px solid #ececec;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
body.page-id-111 .wpcf7-form textarea {
    min-height: 160px;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

/* ── MOBILE RESPONSIVE ───────────────────────────────────── */
@media (max-width: 768px) {
    .indcare-enquiry-links { grid-template-columns: 1fr 1fr; }
    .indcare-trust-strip { grid-template-columns: repeat(2, 1fr); }
    .indcare-trust-item:nth-child(2) { border-right: none; }
    .indcare-trust-item:nth-child(3) { border-right: 1px solid #ececec; }
    .indcare-cert-badge { font-size: 10px; padding: 4px 8px; }
    .indcare-quote-btn { font-size: 13px; padding: 14px 20px; }
    .indcare-brand-tagline { display: none; }
    .single-product .woocommerce-product-details__short-description ul li { font-size: 13px; }
}
@media (max-width: 480px) {
    .indcare-enquiry-links { grid-template-columns: 1fr; }
    .indcare-trust-strip { grid-template-columns: repeat(2, 1fr); }
}
