/*
Theme Name: Kadence Child - Sombrerería Delgado
Theme URI: https://sombrereriadelgado.com
Description: Tema hijo personalizado para Sombrerería Delgado. Sombreros y texanas con tradición chihuahuense.
Author: Fer Martinez
Author URI: https://dobolchis.com
Template: kadence
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: sombrereria-delgado
*/

/* ==========================================================================
   Sombrerería Delgado - Custom Styles
   ========================================================================== */

:root {
    --sd-primary: #1a1a1a;
    --sd-secondary: #8B6914;
    --sd-accent: #C49A2C;
    --sd-gold: #D4A843;
    --sd-dark: #0d0d0d;
    --sd-light: #f5f0e8;
    --sd-cream: #FAF3E6;
    --sd-text: #2c2c2c;
    --sd-text-light: #6b6b6b;
    --sd-border: #e0d5c4;
}

/* ── Typography ────────────────────────────────────────────────────────── */
body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--sd-text);
}

/* ── Footer Customizations ─────────────────────────────────────────────── */
.site-footer {
    background-color: var(--sd-dark) !important;
    color: #e0d5c4 !important;
    border-top: 3px solid var(--sd-accent);
}

.site-footer .site-footer-wrap {
    padding-top: 3rem;
}

.site-footer .footer-widget-area {
    color: #c9bfae !important;
}

.site-footer .widget-title,
.site-footer h2,
.site-footer h3,
.site-footer h4 {
    color: var(--sd-gold) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem !important;
    margin-bottom: 1.2rem !important;
    position: relative;
    padding-bottom: 0.75rem;
}

.site-footer .widget-title::after,
.site-footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--sd-accent);
}

.site-footer a {
    color: #c9bfae !important;
    text-decoration: none !important;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.site-footer a:hover {
    color: var(--sd-gold) !important;
    padding-left: 4px;
}

.site-footer .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .widget ul li {
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.site-footer .widget ul li:last-child {
    border-bottom: none;
}

.site-footer p {
    color: #a89e8e !important;
    line-height: 1.7;
    font-size: 0.9rem;
}

/* Footer bottom bar */
.site-bottom-footer-wrap {
    background-color: rgba(0,0,0,0.3) !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
}

.site-bottom-footer-wrap .site-info p,
.site-bottom-footer-wrap .site-info {
    color: #6b6153 !important;
    font-size: 0.8rem !important;
}

/* Footer social icons */
.site-footer .social-button {
    background-color: rgba(196, 154, 44, 0.15) !important;
    color: var(--sd-gold) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.site-footer .social-button:hover {
    background-color: var(--sd-accent) !important;
    color: var(--sd-dark) !important;
    transform: translateY(-2px);
}

/* ── Header / Navigation ───────────────────────────────────────────────── */
.site-header {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

#main-header .header-navigation .menu > li > a {
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem !important;
    transition: color 0.3s ease;
}

#main-header .header-navigation .menu > li > a:hover {
    color: var(--sd-accent) !important;
}

/* ── SEO Footer Info Block ─────────────────────────────────────────────── */
.sd-footer-about {
    line-height: 1.8;
}

.sd-footer-about .sd-footer-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.sd-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    font-size: 0.88rem;
    color: #a89e8e;
}

.sd-footer-contact-item svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    fill: var(--sd-accent);
}

/* ── WooCommerce Enhancements ──────────────────────────────────────────── */
.woocommerce .products .product {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce .products .product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.woocommerce .button,
.woocommerce .added_to_cart {
    background-color: var(--sd-accent) !important;
    color: white !important;
    border: none !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease !important;
}

.woocommerce .button:hover,
.woocommerce .added_to_cart:hover {
    background-color: var(--sd-secondary) !important;
    transform: translateY(-1px);
}

/* ── Page Hero Sections ────────────────────────────────────────────────── */
.sd-page-hero {
    background: linear-gradient(135deg, var(--sd-dark) 0%, #2a1f0f 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.sd-page-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--sd-gold);
    margin-bottom: 0.5rem;
}

.sd-page-hero p {
    color: #c9bfae;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .sd-page-hero h1 {
        font-size: 1.8rem;
    }
    
    .site-footer .widget-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ── HeroMuestra Pattern (2 cols, empty spacer) ──────────────────────────── */
@media (max-width: 768px) {
    .sd-hero-pattern .kt-row-column-wrap > .wp-block-kadence-column:last-child {
        display: none;
    }
}
