/**
 * OLDFOX Global Styles
 * Basis styling voor alle pagina's
 * Version: 3.0
 */

/* ===================================
   CSS VARIABELEN
   =================================== */
:root {
    /* Kleuren */
    --of-zwart: #292928;
    --of-achtergrond: #EFEEE7;
    --of-bruin: #8B4513;
    --of-wit: #ffffff;
    --of-rand: rgba(41,41,40,0.12);
    --of-muted: rgba(41,41,40,0.45);
    --of-amber: #E8B84B;
    
    /* Typography */
    --of-font: 'Heebo', sans-serif;
    
    /* Border Radius */
    --of-r-knop: 50px;
    --of-r-kaart: 12px;
    
    /* Spacing */
    --of-spacing-xs: 8px;
    --of-spacing-sm: 12px;
    --of-spacing-md: 20px;
    --of-spacing-lg: 32px;
    --of-spacing-xl: 48px;
}

/* ===================================
   KNOPPEN (GLOBAAL)
   =================================== */
.button,
button[type="submit"],
.wp-block-button__link,
.woocommerce-button {
    background: var(--of-zwart);
    color: var(--of-achtergrond);
    border: none;
    border-radius: var(--of-r-knop);
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--of-font);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.18s ease;
    line-height: 1.4;
}

.button:hover,
button[type="submit"]:hover,
.wp-block-button__link:hover {
    background: #3d3d3c;
    color: var(--of-achtergrond);
    transform: translateY(-1px);
}

/* Outline knop */
.of-knop-outline,
.button.outline {
    background: transparent;
    color: var(--of-zwart);
    border: 1.5px solid var(--of-zwart);
}

.of-knop-outline:hover,
.button.outline:hover {
    background: var(--of-zwart);
    color: var(--of-achtergrond);
}

/* Bruine knop */
.of-knop-bruin,
.button.bruin {
    background: transparent;
    color: var(--of-bruin);
    border: 1.5px solid var(--of-bruin);
}

.of-knop-bruin:hover,
.button.bruin:hover {
    background: var(--of-bruin);
    color: var(--of-wit);
}

/* ===================================
   FORMULIEREN (GLOBAAL)
   =================================== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="url"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 0.5px solid rgba(41,41,40,0.25);
    border-radius: 8px;
    font-family: var(--of-font);
    font-size: 13px;
    background: var(--of-wit);
    color: var(--of-zwart);
    transition: border-color 0.18s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--of-bruin);
}

label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--of-muted);
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

/* ===================================
   KAARTEN (GLOBAAL)
   =================================== */
.of-kaart {
    background: var(--of-wit);
    border-radius: var(--of-r-kaart);
    border: 0.5px solid var(--of-rand);
    padding: var(--of-spacing-lg);
}

/* ===================================
   BADGES (GLOBAAL)
   =================================== */
.of-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.of-badge-nieuw {
    background: var(--of-amber);
    color: var(--of-zwart);
}

.of-badge-uitverkocht {
    background: var(--of-muted);
    color: var(--of-wit);
}

/* ===================================
   TABELLEN (GLOBAAL)
   =================================== */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

table th,
table td {
    padding: 12px 16px;
    border-bottom: 0.5px solid var(--of-rand);
    text-align: left;
}

table th {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--of-muted);
    font-weight: 600;
}

table tr:last-child td {
    border-bottom: none;
}

/* ===================================
   CONTAINERS (GLOBAAL)
   =================================== */
.of-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--of-spacing-md);
}

.of-container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--of-spacing-md);
}

/* ===================================
   LINKS (GLOBAAL)
   =================================== */
a {
    color: var(--of-bruin);
    text-decoration: none;
    transition: color 0.18s ease;
}

a:hover {
    color: var(--of-zwart);
}

/* ===================================
   HEADINGS (GLOBAAL)
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--of-font);
    color: var(--of-zwart);
    line-height: 1.3;
}

h1 { font-size: 32px; font-weight: 700; }
h2 { font-size: 24px; font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
h4 { font-size: 16px; font-weight: 600; }

/* ===================================
   UTILITIES
   =================================== */
.text-center { text-align: center; }
.text-muted { color: var(--of-muted); }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--of-spacing-sm); }
.mb-md { margin-bottom: var(--of-spacing-md); }
.mb-lg { margin-bottom: var(--of-spacing-lg); }
.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--of-spacing-sm); }
.mt-md { margin-top: var(--of-spacing-md); }
.mt-lg { margin-top: var(--of-spacing-lg); }

/* ===================================
   VENDOR BADGE FIXES
   =================================== */

/* VERBERG zakelijke verkoper badge overal */
.of-vendor-strip--zakelijk,
a[href*="zakelijk"] .of-vendor-strip,
.woocommerce-loop-product__link .of-vendor-strip:has(.of-vendor-icon--zakelijk) {
    display: none !important;
}

/* Particuliere verkoper badge - TOON WEL */
.of-vendor-strip--particulier {
    display: flex !important;
}

/* Fix vendor profiel header tekst (wit op grijs = onleesbaar) */
.of-vendor-header h1,
.of-vendor-header .vendor-name,
h1.vendor-profile-title {
    color: var(--of-zwart) !important;
    text-shadow: none !important;
}

/* ===================================
   WISHLIST VERBERGEN
   =================================== */

/* Verberg wishlist iconen overal */
.tinvwl_add_to_wishlist_button,
.tinv-wraper,
.tinvwl-shortcode-add-to-cart,
a.tinvwl_add_to_wishlist,
.wishlist-icon,
.add-to-wishlist,
[class*="wishlist"],
.yith-wcwl-add-to-wishlist,
.product-wishlist-button {
    display: none !important;
}

/* ===================================
   SHOP FIXES
   =================================== */

/* Verberg WooCommerce standaard sortering/resultaten balk (dubbele balk) */
.woocommerce-ordering,
.woocommerce-result-count {
    display: none !important;
}

/* OLDFOX custom sortering blijft zichtbaar */
.of-results-bar,
.of-shop-topbar {
    display: flex !important;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 768px) {
    .of-container,
    .of-container-narrow {
        padding: 0 16px;
    }
    
    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    h3 { font-size: 16px; }
}
