/*
Theme Name: Farmart Child
Theme URI: https://demo4.drfuri.com/farmart/
Author: DrFuri
Author URI: http://drfuri.com
Description: Farmart Child Theme.
Version: 1.0
License: GNU General Public License v2+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: farmart
Domain Path: /lang/
Tags: one-column, two-columns, left-sidebar, right-sidebar, full-width-template, post-formats, theme-options, threaded-comments, translation-ready
Template: farmart
*/
/* === SINGLE PRODUCT WEBSTAURANT LAYOUT === */
.arf-single-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 10px;
}

.arf-breadcrumbs {
    margin-bottom: 10px;
}

.arf-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.arf-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

.arf-main-grid {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 30px;
}

.arf-buy-box {
    border: 1px solid #e5e5e5;
    padding: 18px;
    border-radius: 8px;
    background: #fff;
}

.arf-buy-box .price {
    font-size: 28px;
    color: #d72f2f;
    font-weight: 700;
}

.arf-short-desc {
    margin-top: 10px;
    font-size: 14px;
    color: #444;
}

.arf-add-to-cart {
    margin-top: 15px;
}

.arf-shipping-note {
    margin-top: 10px;
    font-size: 13px;
    color: #333;
    background: #f4f8ff;
    padding: 6px 10px;
    border-radius: 4px;
}

.arf-upsells-vertical {
    margin-top: 20px;
    border-top: 1px solid #e5e5e5;
    padding-top: 15px;
}

.arf-tabs {
    margin-top: 40px;
}

.arf-related-bottom {
    margin-top: 40px;
}

@media (max-width: 992px) {
    .arf-main-grid {
        grid-template-columns: 1fr;
    }
}

/* Espaciado para la tabla de Tiered Price dentro del buy box */
.arf-box-calculator {
    margin-top: 12px;
    margin-bottom: 12px;
}

/* Si el plugin usa una tabla, darle estilo similar */
.arf-box-calculator table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.arf-box-calculator table th,
.arf-box-calculator table td {
    padding: 6px 8px;
    border-bottom: 1px solid #e5e5e5;
}

/* Un poco de margen arriba del total si el plugin lo pone como bloque */
.arf-box-calculator .total,
.arf-box-calculator .tiered-total,
.arf-box-calculator .tpt-total {
    margin-top: 8px;
    font-weight: 700;
}
/* Ocultar precio principal arriba del producto (Farmart) */
.single-product .fm-entry-product-header .price {
    display: none !important;
}

/* Ocultar línea de existencia "Availability: X disponibles" */
.single-product .fm-entry-product-header .fm-stock,
.single-product .fm-entry-product-header .fm-stock .stock {
    display: none !important;
}
/* Ocultar descripción corta completa en página de producto */
.single-product .woocommerce-product-details__short-description {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Ocultar etiqueta "Quantity:" en el resumen de producto */
.single-product .single-button-wrapper .quantity .label {
    display: none !important;
}
/* Ocultar nombre del producto en la caja de resumen de Tiered Pricing */
.single-product .tier-pricing-summary-table [data-tier-pricing-table-summary-product-name] {
    display: none !important;
}
/* Ocultar label de accesibilidad que muestra el nombre del producto en quantity */
.single-product label.screen-reader-text[for^="quantity_"] {
    display: none !important;
    position: absolute !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}
