@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Ms+Madi&display=swap');

/* ============================================
   VARIABLES Y RESET
   ============================================ */
:root {
    --primary: #1a1a1a;
    --secondary: #666666;
    --accent: #ff6b35;
    --border: #e5e5e5;
    --bg: #ffffff;
    --bg-hover: #fafafa;
    --font: 'Inter', -apple-system, sans-serif;
}

.cart-box .cart-item .ci-name .cin-price {
    float: left;
    color: #1b424b;
    font-size: 17px !important;
    font-weight: 500 !important;
    font-family: "Kanit", sans-serif !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    border-bottom: none !important;
    background: var(--bg);
}

body {
    font-family: var(--font) !important;
    font-size: 15px;
    line-height: 1.6;
    color: #ffffff;
    background-color: #f5f1e3;
    background-position: center;
    background-size: contain;
}

/* ============================================
   HEADER - ESTÁTICO Y LIMPIO
   ============================================ */
header {
    height: auto !important;
    background: #ffffff00  !important;
    position: static !important;
    width: 100% !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1000 !important;
  border-bottom: 0px solid #000000 !important;
    box-shadow: none !important;
    padding: 20px 0;
}

header#header {
    height: 200px !important;
    background-size: 200px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-image: url(https://voucheroo.app/cartaonline/css_personalizado/chapaslista/logo.jpg) !important;
}

header .header-logo {
    text-align: center !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
}

.logologin {
    max-height: 60px !important;
    width: auto;
}

.header-menu-button {
    display: none;
}

body nav {
    display: none !important;
}

/* ============================================
   BARRA STICKY DE CATEGORÍAS
   ============================================ */
.sticky-categories {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    border-bottom: 0px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-nav {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0;
    margin: 0;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-nav-item {
    flex: 0 0 auto;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
    position: relative;
}

.category-nav-item:hover {
    color: var(--primary);
    background: var(--bg-hover);
}

.category-nav-item.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    font-weight: 600;
}

/* ============================================
   LAYOUT PRINCIPAL
   ============================================ */
#page-content {
    background: #ffffff00 !important;
    padding: 0;
    min-height: 100vh;
}

.cart-page {
    padding: 0 !important;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    display: none !important;
}

/* ============================================
   BANNER
   ============================================ */
.banner-container {
    margin: 32px 0;
}

.banner-container img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

/* ============================================
   ESTRUCTURA DE CATEGORÍAS
   ============================================ */
.cart-box {
    padding: 0;
}

.listado-productos-wrapper {
    margin-bottom: 56px;
    scroll-margin-top: 60px;
}

.listado-categoria-titulo {
    padding: 32px 0 24px;
    margin: 0;
    position: sticky;
    top: 57px;
    background-color: rgb(245 241 227);
    z-index: 10;
    text-align: center;
    border: 2px solid #76cfe1;
    margin-bottom: 10px;
}

.listado-categoria-titulo h4 {
    font-size: 24px;
    font-weight: 700;
    color: #76cfe1;
    margin: 0;
    text-transform: lowercase;
    letter-spacing: 1px;
    font-family: "Ms Madi", cursive;
}

/* ============================================
   PRODUCTOS - DISEÑO TIPO CARTA CLÁSICA
   ============================================ */
.cart-item.item {
    background-color: #f5f1e3 !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: none !important;
    transition: all 0.2s ease;
    padding-left: 16px;
    padding-right: 16px;
}

.cart-item.item:last-child {
    border-bottom: none;
}



.ci-img {
    display: none !important;
}

/* ============================================
   HEADER DEL PRODUCTO (Nombre + Precio)
   ============================================ */
.item__header.ci-name {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 8px;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    height: auto !important;
}

.item__title.cin-title {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    color: #1b424b; 
    margin: 0;
    text-transform: lowercase !important;
    letter-spacing: 0;
    line-height: 1.4;
    max-width: none !important;
    padding-right: 12px;
    font-family: "Kanit", sans-serif;
}

.item__title.cin-title::first-letter {
    text-transform: uppercase !important; /* si arriba hay !important, agregá !important acá también */
}

.item__title.cin-title img {
    width: 18px !important;
    height: 18px;
    vertical-align: middle !important;
    margin-left: 6px !important;
    opacity: 0.8;
}

/* PRECIO - Sin línea de puntos cuando hay descripción */
.item__price.cin-price,
.cin-price {
    flex: 0 0 auto;
    background: none !important;
    font-family: var(--font) !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    border-radius: 0 !important;
    position: static !important;
    white-space: nowrap;
    text-align: right !important;
    line-height: 1.4;
    color: #1b424b;
    font-size: 15px !important;
    font-weight: 600 !important;
    font-family: "Kanit", sans-serif !important;
}

/* ============================================
   DESCRIPCIÓN
   ============================================ */
.item__description.item-info {
    font-size: 14px !important;
    color: #1b424b !important;
    line-height: 1.6;
    margin: 0 0 0 0 !important;
    padding: 0 !important;
    text-align: left !important;
    max-width: 90%;
    text-transform: lowercase;
    font-family: "Kanit", sans-serif;
}

.variant-item span:first-child {
    flex: 0 0 auto;
    color: #1b424b !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    font-family: "Kanit", sans-serif !important;
}

.item__description.item-info::first-letter {
    text-transform: uppercase; /* si arriba hay !important, agregá !important acá también */
}

/* ============================================
   VARIANTES - Layout mejorado
   ============================================ */
.variants-container {
    margin-top: 16px;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.variant-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 0;
}

.variant-item span:first-child {
    flex: 0 0 auto;
    color: var(--secondary);
    font-size: 15px;
    font-weight: 500;
}

.variant-item .cin-price {
    font-size: 16px !important;
    margin-left: auto;
    font-weight: 500 !important;
}

/* Línea de puntos para variantes */
.variant-dots {
    flex: 1;
    border-bottom: 1px dotted #76cfde !important;
    margin: 0 12px;
    align-self: flex-end;
    margin-bottom: 5px;
}

/* ============================================
   FOOTER
   ============================================ */
.copyright {
    text-align: center;
    padding: 40px 20px;
    margin: 64px 0 0 0 !important;
    border-top: 1px solid var(--border);
    position: relative !important;
}

.copyright a {
    color: var(--secondary) !important;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.copyright a:hover {
    color: var(--primary) !important;
}

.ipage {
    height: 16px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.copyright a:hover .ipage {
    opacity: 1;
}

/* ============================================
   ESTADOS VACÍOS
   ============================================ */
.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--secondary);
    font-size: 15px;
}

/* ============================================
   OCULTAR ELEMENTOS INNECESARIOS
   ============================================ */
.h,
.section.home-category,
.fa-undo,
.fa-quote-right,
.button-add-cart,
.item__dots {
    display: none !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 600px) {
    header {
        padding: 16px 0;
    }
    
    .logologin {
        max-height: 50px !important;
    }
    
    .category-nav-item {
        padding: 14px 20px;
        font-size: 13px;
    }
    
.listado-categoria-titulo {
        padding: 10px 0 10px;
        top: 0px;
    }
    
.listado-categoria-titulo h4 {
        font-size: 32px;
        letter-spacing: 0.5px;
    }
    
    .item__title.cin-title {
        font-size: 18px !important	;
    }
    
    .cin-price {
        font-size: 16px !important;
    }
    
    .item__description.item-info {
        font-size: 13px !important;
        max-width: 100%;
    }
    
    .listado-productos-wrapper {
        scroll-margin-top: 56px;
    }
    
    .container {
        padding: 0 5px;
    }
}

@media (max-width: 400px) {
    .item__title.cin-title {
        font-size: 18px !important	;
    }
    
    .category-nav-item {
        padding: 12px 16px;
    }
}

    .logologin {
        vertical-align: middle;
        margin: auto;
        padding-top: 20px;
        max-height: fit-content !important;
    }