@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@300;400;500;600&display=swap');

:root {
    --primary: #f5c200;
    --primary-dark: #d4a800;
    --accent: #1a6eff;
    --dark: #111214;
    --dark2: #1e2024;
    --text: #2c2c2c;
    --text-muted: #6b7280;
    --light: #f4f5f7;
    --white: #ffffff;
    --radius: 10px;
    --shadow: 0 4px 24px rgba(0,0,0,0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Barlow', sans-serif; color: var(--text); background: var(--white); }
img { max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── NAVBAR ── */
.t1-nav {
    position: sticky; top: 0; z-index: 1000;
    background: var(--white);
    border-bottom: 2px solid #f0f0f0;
    padding: 0 48px;
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.t1-nav-logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.7rem; font-weight: 800; letter-spacing: -0.5px;
    display: flex; align-items: center; gap: 8px;
}
.t1-nav-logo img { height: 44px; max-width: 180px; object-fit: contain; }
.t1-nav-menu { display: flex; gap: 32px; list-style: none; }
.t1-nav-menu a {
    font-size: 0.85rem; font-weight: 600; color: var(--text);
    transition: color .2s; position: relative; padding-bottom: 4px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.t1-nav-menu a::after { content:''; position:absolute; bottom:0; left:0; width:0; height:2px; background:var(--primary); transition:width .25s; }
.t1-nav-menu a:hover::after { width:100%; }
.t1-nav-menu a:hover { color: var(--dark); }
.t1-nav-actions { display: flex; gap: 12px; align-items: center; }
.t1-btn-cart {
    background: var(--dark); color: var(--white); border: none;
    border-radius: 8px; padding: 10px 22px; font-size: 0.85rem;
    font-weight: 700; cursor: pointer; display: flex; align-items: center;
    gap: 8px; transition: all .2s; text-transform: uppercase; letter-spacing: 0.5px;
}
.t1-btn-cart:hover { background: var(--primary); color: var(--dark); }

/* Hamburger */
.t1-hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.t1-hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--dark); border-radius: 2px; transition: all .3s;
}
.t1-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.t1-hamburger.open span:nth-child(2) { opacity: 0; }
.t1-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú móvil */
.t1-nav-mobile {
    display: none; position: fixed; top: 68px; left: 0; right: 0;
    background: var(--white); border-bottom: 2px solid #f0f0f0;
    padding: 20px 24px; z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    flex-direction: column; gap: 0;
}
.t1-nav-mobile.open { display: flex; }
.t1-nav-mobile li { list-style: none; border-bottom: 1px solid #f0f0f0; }
.t1-nav-mobile li:last-child { border-bottom: none; }
.t1-nav-mobile a {
    display: block; padding: 14px 0; font-size: 0.9rem;
    font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: 0.5px;
}

/* ── SLIDER / HERO ── */
.t1-slider { position: relative; overflow: hidden; background: var(--dark); height: 580px; }
.t1-slide {
    position: absolute; inset: 0; opacity: 0;
    transition: opacity 0.8s ease; pointer-events: none;
    display: flex; align-items: center;
}
.t1-slide.active { opacity: 1; pointer-events: all; }
.t1-slide-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center center;
    transition: transform 8s ease;
}
.t1-slide.active .t1-slide-bg { transform: scale(1.04); }
.t1-slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(17,18,20,0.93) 30%, rgba(17,18,20,0.15) 100%);
}
.t1-slide-content { position: relative; z-index: 2; padding: 0 60px; max-width: 620px; }
.t1-slide-content h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 4.8rem; font-weight: 800; color: var(--white);
    line-height: 1.0; margin-bottom: 18px; text-transform: uppercase;
}
.t1-slide-content h1 em { color: var(--primary); font-style: normal; }
.t1-slide-content p {
    color: rgba(255,255,255,0.8); font-size: 1.1rem;
    margin-bottom: 36px; line-height: 1.6; font-weight: 300;
}
.t1-slide-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.t1-slider-controls {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 10;
}
.t1-slider-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.4); border: none; cursor: pointer;
    transition: all .3s; padding: 0;
}
.t1-slider-dot.active { background: var(--primary); transform: scale(1.3); }
.t1-slider-prev, .t1-slider-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.12); border: 2px solid rgba(255,255,255,0.2);
    color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
    font-size: 1.1rem; z-index: 10; transition: all .2s;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(6px);
}
.t1-slider-prev { left: 20px; }
.t1-slider-next { right: 20px; }
.t1-slider-prev:hover, .t1-slider-next:hover { background: var(--primary); border-color: var(--primary); color: var(--dark); }

/* Botones */
.t1-btn-primary {
    background: var(--primary); color: var(--dark); font-weight: 700;
    padding: 14px 32px; border-radius: 8px; font-size: 0.9rem;
    border: none; cursor: pointer; transition: all .2s; display: inline-block;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.t1-btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,194,0,0.4); }
.t1-btn-secondary {
    background: var(--accent); color: var(--white); font-weight: 700;
    padding: 14px 32px; border-radius: 8px; font-size: 0.9rem;
    border: none; cursor: pointer; transition: all .2s; display: inline-block;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.t1-btn-secondary:hover { opacity: .88; transform: translateY(-2px); }

/* ── CATEGORIAS ── */
.t1-cat-wrap {
    position: relative; border-top: 8px solid var(--light);
    background: #ccc; display: flex; align-items: stretch;
}
.t1-cat-track-outer { flex: 1; overflow: hidden; }
.t1-cat-track {
    display: flex; transition: transform .45s ease;
}
.t1-cat-item {
    position: relative; min-width: 25%; height: 210px;
    overflow: hidden; cursor: pointer; display: block; flex-shrink: 0;
}
.t1-cat-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.t1-cat-item:hover img { transform: scale(1.09); }
.t1-cat-sin-imagen { width: 100%; height: 100%; background: linear-gradient(135deg, #1e2024 0%, #2d3139 50%, #1a1d21 100%); }
.t1-cat-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.05) 55%, transparent 100%);
    display: flex; align-items: flex-end; padding: 20px;
}
.t1-cat-overlay span {
    color: var(--white); font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem; font-weight: 700; text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.t1-cat-prev, .t1-cat-next {
    width: 44px; flex-shrink: 0; background: rgba(0,0,0,0.4);
    border: none; color: #fff; cursor: pointer; font-size: 1.1rem;
    transition: background .2s; z-index: 2;
}
.t1-cat-prev:hover, .t1-cat-next:hover { background: var(--primary); color: var(--dark); }

@media (max-width: 768px) {
    .t1-cat-item { min-width: 50%; height: 160px; }
}
@media (max-width: 480px) {
    .t1-cat-item { min-width: 50%; height: 140px; }
}

/* ── SECCIONES ── */
.t1-section { padding: 64px 48px; background: var(--white); border-top: 8px solid var(--light); }
.t1-section-alt { padding: 64px 48px; background: var(--light); border-top: 8px solid #e2e4e8; border-bottom: 8px solid #e2e4e8; }
.t1-section-title {
    font-family: 'Barlow Condensed', sans-serif; font-size: 2.2rem;
    font-weight: 800; margin-bottom: 8px; position: relative;
    display: inline-block; text-transform: uppercase; letter-spacing: 0.5px;
}
.t1-section-title::after { content:''; display:block; height:3px; width:50px; background:var(--primary); margin-top:8px; border-radius:2px; }
.t1-section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; }
.t1-ver-todos { font-size: 0.85rem; font-weight: 700; color: var(--accent); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

/* ── PRODUCTOS ── */
.t1-productos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.t1-prod-card { border: 1px solid #e8e8e8; border-radius: var(--radius); background: var(--white); transition: box-shadow .25s, transform .25s; position: relative; }.t1-prod-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.13); transform: translateY(-4px); }
.t1-prod-img { background: #fafafa; height: 210px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #f0f0f0; position: relative;}
.t1-prod-img img { max-height: 190px; object-fit: contain; transition: transform .35s; }
.t1-prod-card:hover .t1-prod-img img { transform: scale(1.07); }
.t1-prod-body { padding: 16px 18px; }
.t1-prod-nombre { font-size: 0.87rem; color: var(--text); margin-bottom: 12px; font-weight: 500; line-height: 1.4; min-height: 36px; }
.t1-prod-footer { display: flex; justify-content: space-between; align-items: center; }
.t1-prod-precio { font-family: 'Barlow Condensed', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--dark); }
.t1-btn-agregar { background: var(--primary); border: none; border-radius: 6px; padding: 8px 16px; font-size: 0.8rem; font-weight: 700; color: var(--dark); cursor: pointer; transition: all .2s; text-transform: uppercase; }
.t1-btn-agregar:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ── RESEÑAS ── */
.t1-resenas-inner { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.t1-resenas-titulo { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; flex-wrap: wrap; }
.t1-stars { color: var(--primary); font-size: 1.3rem; letter-spacing: 3px; }
.t1-resenas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.t1-resena-card { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); border: 1px solid #ececec; }
.t1-resena-card .stars { color: var(--primary); font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }
.t1-resena-card p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; font-style: italic; }
.t1-resena-autor { font-size: 0.8rem; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; }
.t1-resena-autor-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: var(--dark); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.8rem; flex-shrink: 0; }
.t1-resenas-foto { border-radius: var(--radius); overflow: hidden; height: 320px; box-shadow: var(--shadow); }
.t1-resenas-foto img { width: 100%; height: 100%; object-fit: cover; }

/* ── MARCAS ── */
.t1-marcas { padding: 40px 48px; background: var(--white); border-top: 8px solid var(--light); border-bottom: 8px solid var(--light); }
.t1-marcas-inner { display: flex; gap: 40px; align-items: center; justify-content: center; flex-wrap: wrap; }
.t1-marcas-inner img { height: 36px; object-fit: contain; filter: grayscale(1); opacity: 0.5; transition: all .25s; }
.t1-marcas-inner img:hover { filter: none; opacity: 1; }
.t1-marcas-inner span { font-weight: 700; color: #bbb; font-size: 1rem; }

/* ── BANNER CTA ── */
.t1-banner-cta {
    background: var(--dark2); padding: 60px 48px;
    text-align: center; position: relative; overflow: hidden;
    border-top: 8px solid #161819;
}
.t1-banner-cta::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse at center, rgba(245,194,0,0.07) 0%, transparent 70%); }
.t1-banner-cta h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--white); margin-bottom: 24px; position: relative; text-transform: uppercase; letter-spacing: 1px; }

/* ── FOOTER ── */
.t1-footer {
    background: var(--dark); color: rgba(255,255,255,0.7); padding: 48px;
    border-top: 8px solid #0a0b0c;  /* separación visible del banner */
}
.t1-footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: start; }
.t1-footer-mapa { border-radius: var(--radius); overflow: hidden; height: 170px; background: #2a2d31; }
.t1-footer-mapa iframe { width: 100%; height: 100%; border: none; }
.t1-footer-whatsapp { display: flex; flex-direction: column; gap: 16px; }
.t1-wa-item { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; font-weight: 600; color: var(--white); transition: opacity .2s; }
.t1-wa-item:hover { opacity: .8; }
.t1-wa-icon { width: 40px; height: 40px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; color: #fff; }
.t1-footer-bottom { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; font-size: 0.8rem; }

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
    .t1-productos-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
    .t1-productos-grid { grid-template-columns: repeat(2, 1fr); }
    .t1-categorias { grid-template-columns: repeat(2, 1fr); }
    .t1-resenas-inner { grid-template-columns: 1fr; }
    .t1-resenas-foto { display: none; }
    .t1-section, .t1-section-alt { padding: 48px 32px; }
    .t1-banner-cta { padding: 48px 32px; }
    .t1-footer { padding: 40px 32px; }
    .t1-marcas { padding: 32px; }
}
@media (max-width: 768px) {
    .t1-nav { padding: 0 20px; height: 60px; }
    .t1-nav-menu { display: none; }
    .t1-hamburger { display: flex; }
    .t1-nav-mobile { top: 60px; }
    .t1-slider { height: 420px; }
    .t1-slide-content { padding: 0 24px; }
    .t1-slide-content h1 { font-size: 2.8rem; }
    .t1-section, .t1-section-alt { padding: 40px 20px; }
    .t1-banner-cta { padding: 40px 20px; }
    .t1-footer { padding: 36px 20px; }
    .t1-footer-grid { grid-template-columns: 1fr; }
    .t1-resenas-grid { grid-template-columns: 1fr; }
    .t1-productos-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .t1-marcas { padding: 28px 20px; }
}
@media (max-width: 480px) {
    .t1-slider { height: 340px; }
    .t1-slide-content h1 { font-size: 2.2rem; }
    .t1-productos-grid { grid-template-columns: repeat(2, 1fr); }
    .t1-categorias { grid-template-columns: repeat(2, 1fr); }
    .t1-cat-item { height: 150px; }
}