:root {
    --navy: #0a1628;
    --ocean: #0e3d6e;
    --teal: #00b4c8;
    --gold: #f0c040;
    --sand: #f5f0e8;
    --white: #ffffff;
    --gray: #8a9bb0;
    --light: #eef2f7;
    --card-bg: #ffffff;
    --border: #dde4ef;
    --danger: #d64545;
    --success: #2f8f56;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    color: var(--navy);
    background: radial-gradient(circle at 10% 10%, rgba(0, 180, 200, 0.08), transparent 35%),
                radial-gradient(circle at 90% 10%, rgba(240, 192, 64, 0.11), transparent 35%),
                var(--sand);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--navy);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.site-nav-inner {
    max-width: 1300px;
    margin: 0 auto;
    height: 80px;
    padding: 0 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.96);
    padding: 0.4rem 0.8rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
}

.logo:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.logo img {
    display: block;
    height: 52px;
    width: auto;
}

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--navy);
    margin: 0;
    line-height: 1;
}

.promo-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.35rem 0 0.15rem;
}

.promo-badges.detail {
    margin: 0.7rem 0 0.3rem;
}

.promo-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.56rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    background: linear-gradient(135deg, #0e3d6e 0%, #00b4c8 100%);
}

.promo-pill-discount {
    background: linear-gradient(135deg, #0d8f54 0%, #37bf7d 100%);
}

.catalogo-note {
    margin-top: 0.8rem;
    border: 1px solid var(--border);
    background: #f8fbff;
    border-radius: 10px;
    padding: 0.8rem 0.9rem;
    color: #3b5777;
    font-size: 0.9rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--teal);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.search-bar {
    width: 260px;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
    padding: 0.43rem 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    transition: width 0.25s ease, background 0.2s ease;
}

.search-bar:focus-within {
    width: 300px;
    background: rgba(255, 255, 255, 0.2);
}

.search-bar input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: var(--white);
    font-size: 0.85rem;
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.54);
}

.cart-btn {
    border: none;
    background: var(--teal);
    color: var(--white);
    border-radius: 24px;
    padding: 0.48rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease;
}

.cart-btn:hover {
    background: #009fb2;
    transform: scale(1.03);
}

.cart-count {
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.68rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.2rem;
}

.main-shell {
    flex: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.8rem 1.4rem 2.8rem;
}

.alert {
    border-radius: 10px;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    font-size: 0.92rem;
}

.alert ul {
    margin: 0;
    padding-left: 1.1rem;
}

.alert-success {
    background: #ebf8f0;
    border-color: #bee7cb;
    color: #175e34;
}

.alert-error {
    background: #fff1f1;
    border-color: #ffc9c9;
    color: #952c2c;
}

.site-footer {
    margin-top: auto;
    background: var(--navy);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    padding: 2rem 1rem;
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.footer-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-title {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.footer-brand .footer-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

.footer-contact-item {
    margin: 0.35rem 0;
    font-size: 0.9rem;
}

.footer-contact a {
    color: #8be7f1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.contact-icon {
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    vertical-align: middle;
    color: inherit;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer p {
    margin: 0;
}

.site-footer-brand {
    margin-top: 0.32rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer-brand a {
    color: #8be7f1;
    text-decoration: none;
    font-weight: 700;
}

.site-footer-brand a:hover {
    text-decoration: underline;
}

.site-footer span {
    color: var(--teal);
}

.hero-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(14, 61, 110, 0.25);
    margin-bottom: 1rem;
    height: 430px;
}

.hero-slides {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.18, 1);
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-slide-bg-fallback {
    background: linear-gradient(135deg, #0a1628 0%, #0e3d6e 55%, #00b4c8 100%);
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(0,180,200,0.08)' d='M0,192L60,186.7C120,181,240,171,360,186.7C480,203,600,245,720,245.3C840,245,960,203,1080,181.3C1200,160,1320,160,1380,160L1440,160L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'/%3E%3C/svg%3E") bottom/cover no-repeat;
    pointer-events: none;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 580px;
    padding: 0 7%;
}

.hero-tag {
    display: inline-block;
    background: var(--teal);
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    padding: 0.3rem 0.72rem;
    margin-bottom: 0.8rem;
}

.hero-slide-content h1 {
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.7rem, 5.5vw, 4.3rem);
    line-height: 0.95;
    letter-spacing: 0.03em;
}

.hero-slide-content p {
    margin: 0.8rem 0 1.3rem;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
}

.hero-cta {
    display: inline-block;
    text-decoration: none;
    background: var(--gold);
    color: var(--navy);
    border-radius: 8px;
    padding: 0.66rem 1.2rem;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(240, 192, 64, 0.4);
}

.hero-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 5;
    pointer-events: none;
}

.hero-arrow {
    pointer-events: all;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 1.45rem;
    cursor: pointer;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.29);
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 6;
}

.hero-dot {
    border: none;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--teal);
}

.categorias-box,
.filtros,
.toolbar,
.producto,
.product-gallery,
.product-summary,
.product-description-card,
.product-meta-card,
.empty,
.checkout-shell,
.thanks-shell {
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    box-shadow: 0 2px 10px rgba(10, 22, 40, 0.06);
}

.categorias-box {
    padding: 1.3rem;
}

.categorias-box h2,
.filtros h3,
.checkout-title,
.thanks-title,
.product-description-card h2,
.product-meta-card h2 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.05em;
    margin: 0 0 0.9rem;
    font-size: 1.5rem;
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.9rem;
}

.categoria {
    display: block;
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    transition: transform 0.17s ease, box-shadow 0.2s ease;
}

.categoria:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(14, 61, 110, 0.11);
}

.categoria p {
    margin: 0.15rem 0;
    font-weight: 700;
}

.categoria small {
    color: #5c6d84;
}

.categoria-color-line {
    display: block;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

.container-shop {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.filtros {
    width: 250px;
    flex-shrink: 0;
    position: sticky;
    top: 82px;
    padding: 1rem;
}

.filter-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    border-radius: 8px;
    padding: 0.52rem 0.6rem;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.18rem;
    color: #41526a;
}

.filter-link:hover {
    background: #e9f0f8;
}

.filter-link.active {
    background: var(--ocean);
    color: var(--white);
    font-weight: 700;
}

.filter-color-line {
    width: 4px;
    height: 14px;
    border-radius: 999px;
}

.sort-form select,
.search-form input,
.search-form button,
.add-form input,
.add-form button,
.product-buy-box input,
.product-buy-box button,
.checkout-grid input,
.checkout-grid select,
.checkout-actions a,
.checkout-actions button,
.checkout-panel,
.thanks-actions a,
.cart-drawer-clear,
.cart-drawer-checkout,
.cart-drawer-close {
    font-family: 'DM Sans', sans-serif;
}

.sort-form select,
.search-form input,
.add-form input,
.product-buy-box input,
.checkout-grid input,
.checkout-grid textarea,
.checkout-grid select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.56rem 0.7rem;
    outline: none;
}

.sort-form select:focus,
.search-form input:focus,
.add-form input:focus,
.product-buy-box input:focus,
.checkout-grid input:focus,
.checkout-grid textarea:focus,
.checkout-grid select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 2px rgba(0, 180, 200, 0.2);
}

.container-shop main {
    flex: 1;
    min-width: 0;
}

.toolbar {
    margin-bottom: 0.8rem;
    padding: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: space-between;
}

.toolbar p {
    margin: 0;
    color: #607089;
    font-size: 0.88rem;
}

.search-form {
    display: flex;
    gap: 0.5rem;
    flex: 1;
}

.search-form button,
.add-form button,
.product-buy-box button,
.checkout-actions button,
.cart-drawer-checkout {
    border: none;
    border-radius: 8px;
    background: var(--ocean);
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.search-form button:hover,
.add-form button:hover,
.product-buy-box button:hover,
.checkout-actions button:hover,
.cart-drawer-checkout:hover {
    background: var(--teal);
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 280px));
    gap: 0.9rem;
    justify-content: flex-start;
}

.producto {
    padding: 0.7rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.producto:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(14, 61, 110, 0.13);
}

.producto img {
    width: 100%;
    height: 176px;
    object-fit: cover;
    border-radius: 9px;
    background: linear-gradient(135deg, #e8f4ff, #d2ebff);
}

.producto h4 {
    margin: 0.7rem 0 0.2rem;
    font-size: 0.94rem;
}

.product-title-link,
.product-card-link,
.product-detail-link {
    text-decoration: none;
}

.product-title-link:hover,
.product-detail-link:hover {
    color: var(--ocean);
}

.producto .sku {
    margin: 0;
    color: #7d8da4;
    font-size: 0.76rem;
}

.precio {
    margin: 0.38rem 0 0.2rem;
    font-size: 1.05rem;
    color: var(--navy);
    font-weight: 700;
}

.precio-anterior {
    margin: 0.28rem 0 0.1rem;
    color: #7a889d;
    font-size: 0.82rem;
    text-decoration: line-through;
}

.stock {
    margin: 0 0 0.52rem;
    font-size: 0.82rem;
}

.stock.ok {
    color: #237047;
}

.stock.ko {
    color: #a93232;
}

.product-detail-link {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--ocean);
    display: inline-block;
    margin-bottom: 0.55rem;
}

.add-form {
    display: flex;
    gap: 0.5rem;
}

.add-form input {
    width: 70px;
    flex: 0 0 auto;
}

.add-form button {
    flex: 1;
    padding: 0.55rem;
}

.add-form button:disabled,
.product-buy-box button:disabled,
.checkout-actions button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.empty {
    padding: 1.5rem;
    color: #607089;
    text-align: center;
    grid-column: 1 / -1;
}

.product-detail-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.breadcrumb {
    color: #607089;
    font-size: 0.85rem;
}

.breadcrumb a {
    text-decoration: none;
    color: var(--ocean);
}

.product-detail-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.85fr);
    gap: 1rem;
}

.product-gallery,
.product-summary,
.product-description-card,
.product-meta-card {
    padding: 1rem;
}

.product-main-image {
    width: 100%;
    height: 430px;
    object-fit: contain;
    border-radius: 10px;
    background: #f1f5fa;
}

.product-thumbnails {
    margin-top: 0.75rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-thumb {
    width: 74px;
    height: 74px;
    border-radius: 8px;
    border: 2px solid transparent;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
}

.product-thumb.active {
    border-color: var(--teal);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-condition,
.product-summary .sku,
.product-stock-note {
    margin: 0.2rem 0;
}

.product-price-large {
    margin: 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
}

.product-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.7rem 0;
}

.product-category-pill {
    text-decoration: none;
    background: #eaf6f9;
    color: #0d5c71;
    border-radius: 999px;
    padding: 0.27rem 0.58rem;
    font-size: 0.77rem;
    font-weight: 700;
}

.product-summary-list {
    margin: 0.7rem 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.42rem;
}

.product-summary-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #edf1f6;
    padding-bottom: 0.5rem;
    font-size: 0.85rem;
}

.product-buy-box {
    display: flex;
    gap: 0.5rem;
}

.product-buy-box input {
    width: 88px;
    flex: 0 0 auto;
}

.product-buy-box button {
    padding: 0.65rem 0.8rem;
    flex: 1;
}

.product-description-body {
    color: #40526b;
    line-height: 1.62;
}

.product-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.product-meta-item {
    border: 1px solid #e5ebf3;
    border-radius: 8px;
    padding: 0.58rem 0.65rem;
}

.product-meta-item small {
    display: block;
    font-size: 0.73rem;
    color: #6f7f96;
    margin-bottom: 0.2rem;
}

.checkout-shell,
.thanks-shell {
    padding: 1.2rem;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 1rem;
}

.checkout-title,
.thanks-title {
    margin-bottom: 0.6rem;
}

.checkout-summary {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.85rem;
    background: #fafcff;
    margin-bottom: 0.85rem;
}

.checkout-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ecf1f6;
    padding: 0.46rem 0;
    font-size: 0.88rem;
}

.checkout-row:last-child {
    border-bottom: none;
}

.checkout-totals {
    margin-top: 0.6rem;
    border-top: 2px solid #e8eef6;
    padding-top: 0.55rem;
}

.checkout-total {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ocean);
}

.checkout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.checkout-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.checkout-field label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #42536b;
}

.checkout-field.full {
    grid-column: 1 / -1;
}

.field-error {
    color: #b73939;
    font-size: 0.78rem;
}

.checkout-actions {
    margin-top: 0.85rem;
    display: flex;
    gap: 0.55rem;
}

.checkout-actions a,
.checkout-actions button,
.thanks-actions a {
    flex: 1;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    padding: 0.66rem 0.8rem;
    font-weight: 700;
}

.checkout-actions a {
    border: 1px solid var(--border);
    background: #fff;
}

.checkout-panel {
    border: 2px solid rgba(14, 61, 110, 0.34);
    border-radius: 12px;
    padding: 1rem;
    background: #fbfdff;
    position: sticky;
    top: 84px;
    height: fit-content;
}

.checkout-panel h3 {
    margin: 0 0 0.7rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.05em;
}

.checkout-alias {
    border: 1px solid #d7e6f2;
    border-radius: 8px;
    background: #f4faff;
    padding: 0.64rem;
    margin-bottom: 0.7rem;
    font-weight: 700;
    word-break: break-all;
}

.checkout-panel small {
    color: #63738a;
    line-height: 1.45;
}

.thanks-head {
    text-align: center;
    margin-bottom: 1rem;
}

.thanks-order {
    color: var(--ocean);
    font-size: 1.8rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.05em;
}

.thanks-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 0.9rem;
}

.thanks-item {
    border: 1px solid #e6edf5;
    border-radius: 8px;
    padding: 0.55rem;
}

.thanks-item small {
    display: block;
    color: #68809b;
    font-size: 0.73rem;
    margin-bottom: 0.2rem;
}

.thanks-list {
    border: 1px solid #e4ebf3;
    border-radius: 10px;
    overflow: hidden;
}

.thanks-row {
    padding: 0.56rem 0.68rem;
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    border-bottom: 1px solid #edf2f7;
    font-size: 0.88rem;
}

.thanks-row:last-child {
    border-bottom: none;
}

.thanks-total {
    margin-top: 0.75rem;
    border-top: 2px solid #e5edf6;
    padding-top: 0.55rem;
}

.thanks-total p {
    margin: 0.18rem 0;
    display: flex;
    justify-content: space-between;
}

.thanks-total .final {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--ocean);
}

.thanks-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.6rem;
}

.thanks-actions a:first-child {
    background: var(--ocean);
    color: var(--white);
}

.thanks-actions a:last-child {
    border: 1px solid var(--border);
    background: #fff;
}

.cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 14, 24, 0.45);
    z-index: 110;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.cart-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    width: min(420px, 100vw);
    background: #fff;
    z-index: 120;
    border-left: 1px solid #dbe5f1;
    box-shadow: -14px 0 30px rgba(10, 22, 40, 0.22);
    transform: translateX(100%);
    transition: transform 0.24s ease;
    display: flex;
    flex-direction: column;
}

.cart-drawer.is-open {
    transform: translateX(0);
}

.cart-drawer-head {
    height: 66px;
    border-bottom: 1px solid #e6edf5;
    padding: 0 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-drawer-title {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.06em;
    font-size: 1.25rem;
}

.cart-drawer-close {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.9rem;
    color: #64778e;
    line-height: 1;
}

.cart-drawer-body {
    overflow-y: auto;
    padding: 0.85rem;
    flex: 1;
}

.cart-empty {
    color: #64778e;
    font-size: 0.9rem;
}

.cart-line {
    border-radius: 10px;
    border: 1px solid #dce5f1;
    padding: 0.65rem;
    margin-bottom: 0.55rem;
}

.cart-line.error {
    border-color: #efb4b4;
    background: #fff5f5;
}

.cart-line p {
    margin: 0.15rem 0;
}

.cart-line .name {
    font-weight: 700;
    font-size: 0.88rem;
}

.cart-line .meta {
    font-size: 0.77rem;
    color: #6c8098;
}

.cart-line .total {
    font-size: 0.94rem;
    font-weight: 700;
}

.cart-line .warn {
    font-size: 0.75rem;
    color: #b73939;
    font-weight: 700;
}

.cart-drawer-summary {
    margin-top: 0.85rem;
    border-top: 1px solid #e5ecf5;
    padding-top: 0.7rem;
}

.cart-drawer-summary p {
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-summary strong {
    font-size: 1.4rem;
}

.cart-drawer-checkout {
    display: block;
    text-decoration: none;
    text-align: center;
    margin-top: 0.7rem;
    padding: 0.7rem 0.8rem;
}

.cart-drawer-checkout.disabled {
    opacity: 0.45;
    pointer-events: none;
}

.cart-drawer-clear {
    width: 100%;
    margin-top: 0.45rem;
    border-radius: 8px;
    border: none;
    background: var(--danger);
    color: #fff;
    font-weight: 700;
    padding: 0.58rem;
    cursor: pointer;
}

@media (max-width: 1000px) {
    .site-nav-inner {
        gap: 0.7rem;
    }

    .search-bar {
        width: 210px;
    }

    .search-bar:focus-within {
        width: 240px;
    }

    .container-shop {
        flex-direction: column;
    }

    .filtros {
        width: 100%;
        position: static;
    }

    .product-detail-shell,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-panel {
        position: static;
    }
}

@media (max-width: 720px) {
    .site-nav-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 0.75rem 0.9rem;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        padding-top: 0.25rem;
    }

    .nav-right {
        width: 100%;
        justify-content: space-between;
    }

    .search-bar,
    .search-bar:focus-within {
        width: calc(100% - 140px);
    }

    .main-shell {
        padding: 1rem 0.9rem 2rem;
    }

    .hero-carousel {
        height: 360px;
    }

    .hero-slide-content {
        padding: 0 1.1rem;
    }

    .toolbar,
    .search-form,
    .add-form,
    .product-buy-box,
    .checkout-actions,
    .thanks-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-grid,
    .thanks-grid,
    .product-meta-grid {
        grid-template-columns: 1fr;
    }

    .product-main-image {
        height: 300px;
    }

    .productos-grid {
        grid-template-columns: 1fr;
    }

    .logo-text {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .footer-section {
        text-align: left;
        padding: 0 0.5rem;
    }
}
