/*
Theme Name: Triss Child - Radulovi
Theme URI: https://studioradulovi.com/
Description: Child theme for Triss. Adds product-page trust badges, key specs under the price, delivery line and stock flag for the Radulovi wig shop. Safe from parent updates.
Author: Radulovi
Template: triss
Version: 1.0.0
Text Domain: triss-child
*/

/* ===========================================================
 *  Radulovi single-product enhancements
 *  Flat & minimal to match the site. Colour and font are
 *  inherited from the theme: --rad-accent is injected from the
 *  Customizer "Primary Color", and no font-family is declared,
 *  so everything uses the site's own typography.
 *  All classes are prefixed .radulovi- to avoid collisions.
 * =========================================================== */

:root { --rad-accent: #d3ad69; } /* fallback; overridden inline from the Customizer */

/* Key specs shown right under the price — spec-sheet style - */
.radulovi-specs {
    list-style: none;
    margin: 18px 0 22px;
    padding: 0;
    border-top: 1px solid #ececec;
}
.radulovi-specs li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 2px;
    border-bottom: 1px solid #ececec;
}
.radulovi-specs li > i {
    flex: 0 0 auto;
    width: 22px;
    text-align: center;
    font-size: 15px;
    color: var(--rad-accent);
}
.radulovi-specs .radulovi-spec-label {
    flex: 0 0 auto;
    min-width: 90px;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 11px;
    color: #9a9a9a;
}
.radulovi-specs .radulovi-spec-value {
    flex: 1 1 auto;
    font-size: 14.5px;
    font-weight: 600;
    color: #2b2b2b;
    text-align: right;
}

/* "Last piece" stock flag — text only, on-brand ---------- */
.radulovi-stock-flag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 2px 0 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--rad-accent);
}
.radulovi-stock-flag i { font-size: 12px; }

/* Trust badges under the add-to-cart button — flat list --- */
.radulovi-trust-badges {
    list-style: none;
    margin: 22px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid #ececec;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.radulovi-trust-badges li {
    display: flex;
    align-items: center;
    gap: 13px;
}
.radulovi-trust-badges li i {
    flex: 0 0 auto;
    width: 22px;
    text-align: center;
    font-size: 17px;
    color: var(--rad-accent);
}
.radulovi-trust-badges li strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
}
.radulovi-trust-badges li small {
    display: block;
    font-size: 12.5px;
    color: #8f8f8f;
    line-height: 1.35;
}

/* Delivery line ------------------------------------------ */
.radulovi-delivery-line {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid #ececec;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}
.radulovi-delivery-line i {
    color: var(--rad-accent);
    margin-top: 3px;
}
.radulovi-delivery-line b { color: #222; font-weight: 600; }

/* Description section (replaces the tabs) — readable prose --- */
.radulovi-description {
    clear: both;
    max-width: 880px;
    margin: 40px auto 0;
    padding: 30px 0 10px;
    border-top: 1px solid #ececec;
}
.radulovi-description .radulovi-description-title {
    font-size: 24px;
    line-height: 1.3;
    margin: 0 0 20px;
    text-align: center;
}
.radulovi-description.entry-content p {
    font-size: 15px;
    line-height: 1.85;
    color: #4a4a4a;
    margin: 0 0 1.15em;
}
.radulovi-description.entry-content img,
.radulovi-description.entry-content iframe,
.radulovi-description.entry-content video {
    max-width: 100%;
    height: auto;
}
.radulovi-description.entry-content iframe,
.radulovi-description.entry-content video {
    max-height: 640px;
}
