/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
body, p, span, div, a, input, button, select, textarea, li,
.nav > li > a, .header-main, .header-top, .header-bottom {
    font-family: 'DM Sans', sans-serif !important;
}
h1, h2, h3, h4, h5, h6,
.entry-title, .product-title, .woocommerce-loop-product__title,
.heading-font {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 600;
    letter-spacing: -0.02em;
}



@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
/* ── Variation Swatches: Renk (color) ── */
.gwvs-swatches .gwvs-swatch-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 4px 4px 4px 0;
    cursor: pointer;
}
.gwvs-swatches .gwvs-swatch-item .gwvs-swatch-color {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    flex-shrink: 0;
    transition: border-color .15s;
}
.gwvs-swatches .gwvs-swatch-item.selected .gwvs-swatch-color,
.gwvs-swatches .gwvs-swatch-item:hover .gwvs-swatch-color {
    border-color: #333;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #333;
}
.gwvs-swatches .gwvs-swatch-item .gwvs-swatch-label {
    font-size: 13px;
    color: #444;
    line-height: 1;
}
.gwvs-swatches .gwvs-swatch-item.selected .gwvs-swatch-label {
    font-weight: 600;
    color: #111;
}
.gwvs-swatches .gwvs-swatch-item.disabled { opacity: .35; cursor: not-allowed; }

/* ── Variation Swatches: Beden (button) ── */
.gwvs-swatches .gwvs-swatch-button {
    display: inline-block;
    min-width: 42px;
    padding: 7px 12px;
    margin: 4px 4px 4px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    background: #fff;
    color: #333;
    transition: background .15s, border-color .15s, color .15s;
}
.gwvs-swatches .gwvs-swatch-button:hover { border-color: #333; background: #f5f5f5; }
.gwvs-swatches .gwvs-swatch-button.selected {
    background: #111;
    border-color: #111;
    color: #fff;
    font-weight: 600;
}
.gwvs-swatches .gwvs-swatch-button.disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

/* ── Genel ── */
.variations select { display: none !important; }
.gwvs-swatches-container { margin-bottom: 8px; }

/* ════════════════════════════════════════════
   MODERN BUTON SİSTEMİ
   — Taban: 4px radius, uppercase, DM Sans
   — Birincil CTA: siyah dolgu ↔ hover outline
   — İkincil: outline ↔ hover koyu kenarlık
   ════════════════════════════════════════════ */

/* ── Tüm Flatsome .button için temel normalize ── */
.button {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background 0.22s, color 0.22s, border-color 0.22s, opacity 0.22s;
    box-shadow: none !important;
    text-shadow: none !important;
    text-decoration: none;
    cursor: pointer;
}
.button:hover { text-decoration: none; }

/* ── Birincil CTA: Sepete Ekle, Ödeme Yap, Giriş Yap, Üye Ol ── */
.single_add_to_cart_button,
.wc-proceed-to-checkout .checkout-button,
#place_order,
.button.alt:not(.icon):not(.circle):not(.is-form):not(.minus):not(.plus),
.button.primary:not(.icon):not(.circle),
.biglove-auth-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: #111 !important;
    color: #fff !important;
    border: 2px solid #111 !important;
    border-radius: 4px !important;
    padding: 13px 28px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    line-height: 1.4 !important;
}

.single_add_to_cart_button:hover,
.wc-proceed-to-checkout .checkout-button:hover,
#place_order:hover,
.button.alt:not(.icon):not(.circle):not(.is-form):not(.minus):not(.plus):hover,
.button.primary:not(.icon):not(.circle):hover,
.biglove-auth-submit:hover {
    background: transparent !important;
    color: #111 !important;
    border-color: #111 !important;
}

/* Disabled durumu */
.single_add_to_cart_button:disabled,
.single_add_to_cart_button.disabled,
#place_order:disabled,
.biglove-auth-submit:disabled {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* ── İkincil butonlar: Sepeti Güncelle, Kupon Uygula ── */
.woocommerce-cart-form .button:not(.checkout-button),
.cart-collaterals .button:not(.checkout-button),
.coupon .button,
.woocommerce-form .button:not(.button.alt):not(.biglove-auth-submit) {
    background: transparent !important;
    color: #444 !important;
    border: 1.5px solid #ddd !important;
    border-radius: 4px !important;
    padding: 11px 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
}
.woocommerce-cart-form .button:not(.checkout-button):hover,
.cart-collaterals .button:not(.checkout-button):hover,
.coupon .button:hover,
.woocommerce-form .button:not(.button.alt):not(.biglove-auth-submit):hover {
    border-color: #111 !important;
    color: #111 !important;
    background: transparent !important;
}

/* ── Üye Ol / Giriş Yap form alanları ── */
.biglove-auth-field input[type=text],
.biglove-auth-field input[type=email],
.biglove-auth-field input[type=password],
.biglove-auth-field input[type=tel] {
    width: 100%;
    border: 1.5px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    background: #fafafa;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    color: #111;
}
.biglove-auth-field input:focus {
    border-color: #111;
    background: #fff;
}

/* ── WooCommerce genel input alanları ── */
.woocommerce-Input,
.woocommerce-input-wrapper input,
.woocommerce input[type=text],
.woocommerce input[type=email],
.woocommerce input[type=password],
.woocommerce input[type=tel],
.woocommerce textarea,
.woocommerce select {
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 4px !important;
    padding: 11px 14px !important;
    font-size: 14px !important;
    font-family: 'DM Sans', sans-serif !important;
    background: #fafafa !important;
    transition: border-color 0.2s, background 0.2s !important;
}
.woocommerce-Input:focus,
.woocommerce-input-wrapper input:focus,
.woocommerce input[type=text]:focus,
.woocommerce input[type=email]:focus,
.woocommerce input[type=password]:focus {
    border-color: #111 !important;
    background: #fff !important;
    outline: none !important;
}

/* ── Hesabım sidebar nav ── */
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 24px; }
.woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888;
    border-left: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    text-decoration: none;
}
.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
    color: #111;
    border-left-color: #111;
}

/* ── Ürün kartı: "Sepete Ekle" hover butonu ── */
.product-bottom .button,
.woocommerce-loop-product__link + .button,
.loop-add-to-cart .button {
    border-radius: 4px !important;
}
