/**
 * BIO FILAMENT — WooCommerce single-product page polish.
 *
 * The theme applies no design to WooCommerce's default product-page chrome:
 * the breadcrumb is raw text joined by an HTML-entity slash, the spec table
 * is an unstyled <table>, and the review form fields have no borders or
 * background. This brings that chrome in line with the rest of the site
 * (see assets/css/style.css in the specific/ and specific2/ builds) without
 * touching WooCommerce's own templates.
 */

/* ---------- Breadcrumb ----------
   Spacing and the separator rule live in bf-product-page.php (they belong with
   the page-structure styles); only typography and link colour are set here. */
.woocommerce-breadcrumb {
    display: block;
    padding: 0;
    font-size: .82rem;
    color: #93A29C;
}
.woocommerce-breadcrumb a {
    color: #5C6B66;
    text-decoration: none;
}
.woocommerce-breadcrumb a:hover { color: #1B6B47; text-decoration: underline; }

/* ---------- Additional information (spec) table ---------- */
.woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: .88rem;
}
.woocommerce-product-attributes tr:not(:last-child) th,
.woocommerce-product-attributes tr:not(:last-child) td {
    border-bottom: 1px solid #F1F5F3;
}
.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
    padding: .75rem .25rem;
    text-align: start;
    font-weight: 400;
    color: #1F2926;
}
.woocommerce-product-attributes th {
    width: 40%;
    font-weight: 700;
    color: #5C6B66;
}
.woocommerce-product-attributes td p { margin: 0; }

/* ---------- Tabs (مراجعات / معلومات إضافية) ---------- */
.woocommerce-tabs ul.tabs {
    display: flex;
    gap: 1.5rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid #DEE7E3;
}
.woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0 0 .75rem;
    font-size: .92rem;
    font-weight: 700;
    color: #93A29C;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.woocommerce-tabs ul.tabs li.active,
.woocommerce-tabs ul.tabs li a:focus {
    color: #1B6B47;
    border-bottom-color: #1B6B47;
}
.woocommerce-tabs ul.tabs li a { text-decoration: none; color: inherit; }
.woocommerce-tabs .panel > h2 { font-size: 1.1rem; font-weight: 800; margin: 0 0 1rem; }

/* ---------- Category / meta line ---------- */
.product_meta { display: none; } /* "Uncategorized" adds no information for a single-category catalogue */

/* ---------- Review form fields ---------- */
#review_form #respond .comment-form-author input,
#review_form #respond .comment-form-comment textarea {
    width: 100%;
    max-width: 26rem;
    padding: .6rem .8rem;
    border: 1px solid #DEE7E3;
    border-radius: 8px;
    background: #fff;
    font-family: inherit;
    font-size: .9rem;
}
#review_form #respond .comment-form-comment textarea { max-width: 100%; }
#review_form #respond .comment-form-author input:focus,
#review_form #respond .comment-form-comment textarea:focus {
    outline: none;
    border-color: #1B6B47;
    box-shadow: 0 0 0 3px rgba(27,107,71,.12);
}
#review_form #respond label {
    display: block;
    font-weight: 700;
    font-size: .85rem;
    margin-bottom: .45rem;
    color: #1F2926;
}
#review_form #respond p.form-submit input[type="submit"] {
    background: #1B6B47;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: .65rem 1.5rem;
    font-weight: 700;
    font-size: .88rem;
    cursor: pointer;
}
#review_form #respond p.form-submit input[type="submit"]:hover { background: #145237; }

/* ---------- Star rating input ---------- */
#respond p.comment-form-rating label { margin-bottom: .5rem; }
