/*
Theme Name: Storefront Child - Gabo The Baker
Description: Tema hijo de Storefront para Gabo The Baker
Author: Mario
Template: storefront
Version: 1.0.0
Text Domain: storefront-child
*/

/* 
=== TUS ESTILOS PERSONALIZADOS AQUÍ ===
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

/* Botones personalizados */
.btn-outline-primary {
    border-color: #5d5e3e !important;
    color: #5d5e3e !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: #5d5e3e !important;
    border-color: #5d5e3e !important;
    color: #ffffff !important;
}

.btn-primary {
    background-color: #5d5e3e !important;
    border-color: #5d5e3e !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #4a4b2e !important;
    border-color: #4a4b2e !important;
}

.btn-outline-secondary {
    border-color: #8B4513 !important;
    color: #8B4513 !important;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
    background-color: #8B4513 !important;
    border-color: #8B4513 !important;
    color: #ffffff !important;
}

.btn-secondary {
    background-color: #8B4513 !important;
    border-color: #8B4513 !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: #6d3410 !important;
    border-color: #6d3410 !important;
}

/* Aplicar Poppins globalmente */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
div {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 300;
}

p {
    font-weight: 300;
}

/* Mayor especificidad para sobrescribir Bootstrap y Storefront */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.alpha,
.beta,
.gamma,
.delta {
    font-weight: 200 !important;
    color: #333333 !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.h1 {
    font-size: 4rem !important;
}

.h2 {
    font-size: 3rem !important;
}

.storefront-handheld-footer-bar ul {
    padding-left: 0;
}

.col-full {
    width: 100%;
    max-width: 1440px !important;
    margin: 0 auto !important;
}

.col-full .woocommerce-breadcrumb {
    padding: 0 1rem !important;
}

.site-main {
    padding: 0 1rem !important;
}

.site-content .content-area {
    width: 100%;
}

.site-content .content-area .site-main {
    width: 100%;
    max-width: 1440px !important;
    margin: 0 auto !important;
}

@media (max-width: 767px) {
    .container {
        max-width: 100% !important;
    }
}

@media (min-width: 768px) {

    .container,
    .container-md,
    .container-sm {
        max-width: 1440px !important;
    }
}

@media (min-width: 992px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 1440px !important;
    }
}

@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1440px !important;
    }
}

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1440px !important;
    }
}

.space-section {
    padding: 8rem 0;
}

.space-margin-bottom {
    margin-bottom: 8rem;
}

.space-margin-top {
    margin-top: 8rem;
}

.space-main-top {
    padding-top: 50px;
}

/* 📱 MOBILE - 767px and below (Phones, small devices) */
@media (max-width: 767px) {

    .space-margin-top {
        margin-top: 4rem;
    }

    .space-section {
        padding: 4rem 0;
    }

    .space-margin-bottom {
        margin-bottom: 4rem;
    }
}

@media (min-width: 768px) {
    .storefront-full-width-content .woocommerce-tabs ul.tabs {
        width: 15%;
        float: left;
        margin-right: 4.347826087%;
    }

    .storefront-full-width-content .woocommerce-tabs .panel {
        width: 75%;
        float: right;
        margin-right: 0;
        margin-bottom: 3.706325903em;
    }
}

.woocommerce-tabs .panel h2:first-of-type {
    display: none !important;
}

.woocommerce-product-gallery .flex-viewport {
    padding-left: 10% !important;
}

.product_title {
    color: #5d5e3e !important;
    border-bottom: 3px solid #f4a460;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.woocommerce-product-details__short-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.woocommerce-Price-amount {
    color: #5d5e3e !important;
    font-weight: 600;
}

@media (min-width: 768px) {
    .storefront-sorting {
        display: none !important;
    }
}

.entry-header .entry-title {
    text-align: center !important;
    margin-bottom: 4% !important;
}

.wc-bookings-date-picker .ui-datepicker td.bookable a.ui-state-default {
    background-color: #f4a460 !important;
}

.wc-bookings-date-picker .ui-datepicker td.bookable a.ui-state-hover {
    background-color: #e89a50 !important;
}

.wc-bookings-date-picker .ui-datepicker td.bookable a.ui-state-active {
    background-color: #e89a50 !important;
    /* Mismo color más oscuro */
}

ul.products {
    padding-left: 0 !important;
}

@media (max-width: 767px) {

    .col2-set#customer_login .col-1,
    .col2-set.addresses .col-1 {
        width: 100% !important;
        float: none !important;
        margin-right: 0% !important;
        display: block;
    }

    .col2-set#customer_login .col-2,
    .col2-set.addresses .col-2 {
        width: 100% !important;
        float: none !important;
        margin-right: 0% !important;
        display: block;
    }
}