/*
Theme Name:   Hot Tabú
Theme URI:    https://hottabu.com
Description:  Child theme for Hot Tabú - Bienestar Íntimo en Manizales. Diseño por Claude Design.
Author:       Hot Tabú
Author URI:   https://hottabu.com
Template:     hello-elementor
Version:      1.1.2
License:      GNU General Public License v2 or later
Text Domain:  hot-tabu
*/

/* ═══ BASE ═══ */
* { box-sizing: border-box; }
body { 
    margin: 0; 
    background: #fdf6f0; 
    font-family: 'Jost', sans-serif; 
    min-width: 320px; 
    overflow-x: hidden; 
    color: #0d0407;
}
a { color: #ff2b4e; text-decoration: none; }
::selection { background: #ff2b4e; color: #fff5ee; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; }

/* ═══ ANIMATIONS ═══ */
@keyframes ht-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes ht-wiggle { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* ═══ MARQUEE BAR ═══ */
.ht-marquee { background: #ff2b4e; overflow: hidden; padding: 6px 0; }
.ht-marquee-track { display: flex; width: max-content; animation: ht-marquee 28s linear infinite; }
.ht-marquee span { display: flex; align-items: center; gap: 14px; padding-right: 14px; font-size: 10px; font-weight: 600; letter-spacing: .14em; color: #fff5ee; white-space: nowrap; }
.ht-marquee-dot { width: 2px; aspect-ratio: 1; border-radius: 50%; background: #ffd7de; flex-shrink: 0; align-self: center; }

/* ═══ HEADER ═══ */
.ht-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 5%; border-bottom: 1px solid #331018; position: sticky; top: 0; background: rgba(13,4,7,.92); backdrop-filter: blur(12px); z-index: 50; }
.ht-logo { display: flex; align-items: center; gap: 12px; flex: none; text-decoration: none; }
.ht-logo-icon { position: relative; width: 38px; height: 38px; display: inline-block; }
.ht-logo-icon-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid #ff2b4e; box-shadow: 0 0 10px rgba(255,43,78,.45); }
.ht-logo-icon-keyhole { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.ht-logo-icon-keyhole-top { width: 9px; height: 9px; border-radius: 50%; background: #ff2b4e; }
.ht-logo-icon-keyhole-bottom { width: 0; height: 0; border-left: 3px solid transparent; border-right: 3px solid transparent; border-bottom: 9px solid #ff2b4e; margin-top: -2px; }
.ht-logo-text { font-family: 'Sacramento', cursive; font-size: 30px; color: #ffd7de; text-shadow: 0 0 12px rgba(255,43,78,.6); white-space: nowrap; line-height: 1; }
.ht-nav { display: flex; gap: 34px; flex-wrap: wrap; justify-content: center; }
.ht-nav a { font-size: 12px; letter-spacing: .22em; color: #d9c2c7; font-weight: 500; transition: color .3s; }
.ht-nav a:hover, .ht-nav a.ht-nav-active { color: #ff2b4e; }
.ht-nav a.ht-nav-active { font-weight: 600; }
.ht-btn-wa { display: flex; align-items: center; gap: 9px; border: 1px solid #ff2b4e; border-radius: 3px; padding: 11px 20px; font-size: 12px; letter-spacing: .16em; color: #fff5ee; font-weight: 500; flex: none; transition: background .3s; }
.ht-btn-wa:hover { background: #ff2b4e; }
.ht-btn-wa svg { width: 15px; height: 15px; }

/* ═══ HERO ═══ */
.ht-hero { position: relative; padding: 72px 5% 88px; display: grid; grid-template-columns: repeat(auto-fit,minmax(340px,1fr)); gap: 48px; align-items: center; max-width: 1400px; margin: 0 auto; }
.ht-hero-content { display: flex; flex-direction: column; gap: 28px; }
.ht-hero-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ht-tag { font-size: 11px; font-weight: 700; letter-spacing: .22em; padding: 8px 16px; border-radius: 40px; }
.ht-tag-dark { background: #0d0407; color: #ffd7de; }
.ht-tag-light { display: flex; align-items: center; gap: 8px; background: #fdf6f0; color: #0d0407; border: 1px solid #0d0407; }
.ht-tag-dot { width: 6px; aspect-ratio: 1; border-radius: 50%; background: #ff2b4e; flex-shrink: 0; align-self: center; }
.ht-hero h1 { font-weight: 700; font-size: clamp(48px,6vw,88px); line-height: .98; color: #0d0407; letter-spacing: -.02em; text-transform: uppercase; }
.ht-hero h1 .ht-accent { color: #ff2b4e; }
.ht-hero h1 .ht-script { display: block; font-family: 'Sacramento',cursive; font-weight: 400; text-transform: none; font-size: .55em; color: #0d0407; letter-spacing: 0; white-space: nowrap; line-height: 1.2; margin-top: .18em; }
.ht-hero p { font-size: 17px; line-height: 1.7; color: #6b5a52; max-width: 440px; }
.ht-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.ht-btn-primary { background: #ff2b4e; color: #fff5ee; font-size: 14px; font-weight: 700; letter-spacing: .1em; padding: 17px 34px; border-radius: 40px; border: 2px solid #0d0407; box-shadow: 4px 4px 0 #0d0407; display: inline-block; text-decoration: none; transition: all .3s; }
.ht-btn-primary:hover { box-shadow: 0 0 48px rgba(255,43,78,.7); }
.ht-btn-link { font-size: 14px; font-weight: 600; letter-spacing: .1em; color: #0d0407; padding: 17px 10px; border-bottom: 2px solid #ff2b4e; text-decoration: none; transition: color .3s; }
.ht-btn-link:hover { color: #ff2b4e; }
.ht-hero-card { display: flex; justify-content: center; position: relative; }
.ht-card-offer { position: relative; border-radius: 32px; border: 2px solid #0d0407; background: #fff; overflow: hidden; box-shadow: 8px 8px 0 #ff2b4e; display: flex; flex-direction: column; width: min(400px,82vw); }
.ht-card-offer-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; border-bottom: 2px solid #0d0407; background: #0d0407; }
.ht-card-offer-header span { font-size: 11px; font-weight: 700; letter-spacing: .24em; color: #ffd7de; }
.ht-card-offer-header-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff2b4e; }
.ht-card-offer-img { position: relative; aspect-ratio: 1; background: #f3e8dd; display: flex; align-items: center; justify-content: center; }
.ht-card-offer-img img { max-width: 70%; max-height: 70%; object-fit: contain; }
.ht-card-offer-img-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; letter-spacing: .12em; color: #b09a8e; }
.ht-card-offer-body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; }
.ht-card-offer-title { font-size: 18px; font-weight: 700; color: #0d0407; }
.ht-card-offer-price-old { font-size: 13px; color: #b09a8e; text-decoration: line-through; }
.ht-card-offer-price-new { font-size: 16px; font-weight: 700; color: #ff2b4e; }
.ht-card-offer-btn { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: #fff5ee; background: #ff2b4e; border: 2px solid #0d0407; padding: 11px 20px; border-radius: 40px; text-decoration: none; transition: all .3s; }
.ht-card-offer-btn:hover { background: #0d0407; border-color: #0d0407; color: #fff; }
.ht-card-offer-badge { position: absolute; right: -20px; top: 26px; width: 88px; height: 88px; border-radius: 50%; background: #ff2b4e; border: 2px solid #0d0407; display: flex; align-items: center; justify-content: center; animation: ht-wiggle 3s ease-in-out infinite; pointer-events: none; }
.ht-card-offer-badge span { font-size: 24px; font-weight: 700; color: #fff5ee; }

/* ═══ SECTIONS ═══ */
.ht-section-dark { background: #0d0407; padding: 80px 5% 90px; }
.ht-section-cream { background: #fdf6f0; padding: 80px 5% 90px; }
.ht-section-pink { background: #ffd7de; border-top: 2px solid #0d0407; border-bottom: 2px solid #0d0407; padding: 64px 5%; }
.ht-section-cta { position: relative; background: #160509; border-top: 1px solid #331018; border-bottom: 1px solid #331018; padding: 110px 5%; overflow: hidden; }
.ht-container { max-width: 1400px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.ht-section-header { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ht-section-title { font-weight: 700; font-size: clamp(30px,3.4vw,48px); text-transform: uppercase; letter-spacing: -.01em; }
.ht-section-title-light { color: #fff5ee; }
.ht-section-title-dark { color: #0d0407; }
.ht-section-subtitle { font-size: 14px; color: #c78a94; }
.ht-section-subtitle-dark { font-size: 14px; color: #6b5a52; }
.ht-section-link { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: #0d0407; border-bottom: 2px solid #ff2b4e; padding-bottom: 4px; text-decoration: none; }
.ht-section-link:hover { color: #ff2b4e; }

/* ═══ CATEGORY CARDS ═══ */
.ht-cat-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 16px; }
.ht-cat-card { display: flex; flex-direction: column; background: #160509; border: 2px solid #331018; border-radius: 20px; overflow: hidden; text-decoration: none; transition: border-color .3s; }
.ht-cat-card:hover { border-color: #ff2b4e; }
.ht-cat-card-img { position: relative; aspect-ratio: 1; background: #1e0a10; display: flex; align-items: center; justify-content: center; }
.ht-cat-card-img-placeholder { font-size: 12px; letter-spacing: .12em; color: #8a5560; }
.ht-cat-card-body { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 18px; }
.ht-cat-card-title { font-size: 14px; font-weight: 600; letter-spacing: .08em; color: #fff5ee; }
.ht-cat-card-arrow { color: #ff2b4e; font-size: 16px; }

/* ═══ PRODUCT CARDS ═══ */
.ht-deal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.ht-deal-card { background: #fff; border: 2px solid #0d0407; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s; }
.ht-deal-card:hover { box-shadow: 5px 5px 0 #ff2b4e; }
.ht-deal-card-img { position: relative; aspect-ratio: 1; background: #f3e8dd; display: flex; align-items: center; justify-content: center; }
.ht-deal-card-img-placeholder { font-size: 12px; letter-spacing: .12em; color: #b09a8e; }
.ht-deal-card-badge { position: absolute; top: 12px; left: 12px; background: #ff2b4e; color: #fff5ee; font-size: 11px; font-weight: 700; letter-spacing: .1em; padding: 6px 12px; border-radius: 40px; border: 1.5px solid #0d0407; }
.ht-deal-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.ht-deal-card-cat { font-size: 10px; letter-spacing: .2em; color: #b09a8e; font-weight: 600; }
.ht-deal-card-name { font-size: 17px; font-weight: 600; color: #0d0407; }
.ht-deal-card-price-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ht-deal-card-price-new { font-size: 17px; font-weight: 700; color: #ff2b4e; }
.ht-deal-card-price-old { font-size: 13px; color: #b09a8e; text-decoration: line-through; }
.ht-deal-card-btn { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: #fff5ee; background: #ff2b4e; border: 1.5px solid #0d0407; padding: 9px 16px; border-radius: 40px; text-decoration: none; transition: all .3s; }
.ht-deal-card-btn:hover { background: #0d0407; border-color: #0d0407; color: #fff; }

/* ═══ TRUST ═══ */
.ht-trust-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 20px; max-width: 1400px; margin: 0 auto; }
.ht-trust-card { display: flex; flex-direction: column; gap: 12px; background: #fdf6f0; border: 2px solid #0d0407; border-radius: 20px; padding: 26px 24px; }
.ht-trust-icon { width: 44px; height: 44px; border-radius: 50%; background: #ff2b4e; border: 2px solid #0d0407; display: flex; align-items: center; justify-content: center; color: #fff5ee; flex: none; }
.ht-trust-icon svg { width: 20px; height: 20px; }
.ht-trust-title { font-size: 16px; font-weight: 700; color: #0d0407; }
.ht-trust-desc { font-size: 13px; color: #6b5a52; line-height: 1.6; }

/* ═══ CTA BANNER ═══ */
.ht-cta-glow { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(255,43,78,.13) 0%, transparent 62%); pointer-events: none; }
.ht-cta-content { position: relative; max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center; }
.ht-cta-eyebrow { font-size: 11px; letter-spacing: .42em; color: #e8a3ae; font-weight: 500; }
.ht-cta-title { font-family: 'Sacramento',cursive; font-size: clamp(56px,8vw,110px); line-height: .95; color: #ffd7de; text-shadow: 0 0 10px rgba(255,43,78,.9), 0 0 36px rgba(255,43,78,.65), 0 0 80px rgba(255,43,78,.4); }
.ht-cta-text { font-size: 16px; font-weight: 300; color: #c78a94; line-height: 1.7; max-width: 440px; }
.ht-cta-btn { background: #ff2b4e; color: #fff5ee; font-size: 13px; font-weight: 500; letter-spacing: .14em; padding: 17px 40px; border-radius: 3px; box-shadow: 0 0 28px rgba(255,43,78,.4); text-decoration: none; display: inline-block; transition: box-shadow .3s; }
.ht-cta-btn:hover { box-shadow: 0 0 48px rgba(255,43,78,.7); }

/* ═══ FOOTER ═══ */
.ht-footer { background: #0d0407; padding: 64px 5% 36px; }
.ht-footer-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 36px; }
.ht-footer-brand { display: flex; flex-direction: column; gap: 14px; }
.ht-footer-logo { font-family: 'Sacramento',cursive; font-size: 34px; color: #ffd7de; line-height: 1; }
.ht-footer-location { font-size: 13px; color: #8a5560; line-height: 1.7; }
.ht-footer-badge { font-size: 10px; letter-spacing: .2em; color: #8a5560; border: 1px solid #331018; border-radius: 40px; padding: 5px 12px; width: fit-content; }
.ht-footer-col { display: flex; flex-direction: column; gap: 12px; }
.ht-footer-col-title { font-size: 11px; letter-spacing: .28em; color: #c78a94; font-weight: 600; }
.ht-footer a { font-size: 14px; color: #d9c2c7; text-decoration: none; transition: color .3s; }
.ht-footer a:hover { color: #ffd7de; }
.ht-footer-bottom { max-width: 1400px; margin: 44px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #331018; padding-top: 24px; }
.ht-footer-copy { font-size: 12px; color: #8a5560; }
.ht-footer-slogan { font-size: 10px; letter-spacing: .34em; color: #ff2b4e; font-weight: 600; }

/* ═══ AGE VERIFICATION (+18) ═══ */
.ht-age-gate { display: flex; position: fixed; inset: 0; background: rgba(13,4,7,.96); z-index: 99999; align-items: center; justify-content: center; flex-direction: column; gap: 24px; padding: 32px; }
.ht-age-gate.hidden { display: none; }
.ht-age-gate-logo { font-family: 'Sacramento',cursive; font-size: 56px; color: #ffd7de; text-shadow: 0 0 10px rgba(255,43,78,.6); }
.ht-age-gate h2 { color: #fff5ee; font-weight: 600; font-size: 20px; text-align: center; }
.ht-age-gate p { color: #8a5560; font-size: 14px; text-align: center; max-width: 400px; }
.ht-age-gate-buttons { display: flex; gap: 16px; }
.ht-age-gate-yes { background: #ff2b4e; color: #fff5ee; border: 2px solid #ff2b4e; padding: 14px 36px; border-radius: 40px; font-size: 14px; font-weight: 700; letter-spacing: .1em; cursor: pointer; transition: all .3s; text-transform: uppercase; }
.ht-age-gate-yes:hover { background: transparent; color: #ff2b4e; }
.ht-age-gate-no { background: transparent; color: #8a5560; border: 2px solid #331018; padding: 14px 36px; border-radius: 40px; font-size: 14px; font-weight: 600; letter-spacing: .1em; cursor: pointer; text-transform: uppercase; }
.ht-age-gate-no:hover { border-color: #ff2b4e; color: #ff2b4e; }

/* ═══ MOBILE HAMBURGER ═══ */
.ht-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 60; }
.ht-hamburger span { display: block; width: 24px; height: 2px; background: #fff5ee; margin: 5px 0; transition: all .3s; }
.ht-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.ht-hamburger.active span:nth-child(2) { opacity: 0; }
.ht-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.ht-mobile-menu { display: none; position: fixed; inset: 0; background: rgba(13,4,7,.98); z-index: 55; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.ht-mobile-menu.active { display: flex; }
.ht-mobile-menu a { font-size: 20px; letter-spacing: .22em; color: #d9c2c7; font-weight: 500; text-decoration: none; text-transform: uppercase; transition: color .3s; }
.ht-mobile-menu a:hover { color: #ff2b4e; }
.ht-mobile-menu .ht-btn-wa { font-size: 14px; margin-top: 20px; }

/* ═══ IMAGE FIX: Square Canvas (replicates Smart Image Resize Pro) ═══ */
/* Creates a perfect square canvas for ALL product images */
.ht-cat-card-img { background: #fff !important; }
.ht-cat-card-img img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.ht-deal-card-img { background: #fff !important; }
.ht-deal-card-img img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 8px; }
.ht-card-offer-img { background: #fff !important; }
.ht-card-offer-img img { object-fit: contain; background: #fff; }

/* Force square display on ALL WooCommerce product images */
.woocommerce ul.products li.product img,
.woocommerce div.product div.images img,
.wp-post-image,
.attachment-woocommerce_thumbnail,
.attachment-woocommerce_single {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
    width: 100% !important;
    height: auto !important;
}

/* Shop page product images */
.woocommerce ul.products li.product a img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
    display: block;
}

/* ═══ MOBILE ═══ */
.ht-hidden { display: none !important; }
@media (max-width: 768px) {
    .ht-header { padding: 14px 20px; }
    .ht-nav { display: none; }
    .ht-hamburger { display: block; }
    .ht-btn-wa { font-size: 10px; padding: 8px 14px; letter-spacing: .1em; }
    .ht-btn-wa svg { width: 12px; height: 12px; }
    .ht-hero { padding: 40px 20px 60px; grid-template-columns: 1fr; }
    .ht-section-dark, .ht-section-cream { padding: 50px 20px 60px; }
    .ht-deal-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .ht-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .ht-cta-content { gap: 20px; }
    .ht-trust-grid { grid-template-columns: 1fr; }
    .ht-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
