/* =========================================================
   RIDEL-SIP - SISTEMA SIP / ECOMMERCE
   Catálogo SIP + Detalle de Producto
========================================================= */

:root {
    --sip-black: #050505;
    --sip-dark: #101010;
    --sip-card: #151515;
    --sip-orange: #ff7a00;
    --sip-orange-soft: #ff9a25;
    --sip-white: #ffffff;
    --sip-gray: #c7c7c7;
    --sip-muted: #777777;
    --sip-green: #25D366;
    --sip-border: rgba(255, 122, 0, 0.18);
}

/* =========================================================
   BASE GENERAL
========================================================= */

body.sip-shop-page,
body.sip-detail-page {
    background: #050505;
    color: #ffffff;
}

.sip-page {
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background:
        radial-gradient(circle at 80% 8%, rgba(255, 122, 0, 0.16), transparent 35%),
        linear-gradient(90deg, #020202 0%, #070707 45%, #101010 100%);
}

.sip-page::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.58) 40%, rgba(0, 0, 0, 0.15) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.sip-page > :not(.decor) {
    position: relative;
    z-index: 2;
}

.sip-page img {
    max-width: 100%;
    display: block;
}

/* Decorativos: no deben empujar el contenido */
body.sip-shop-page .decor,
body.sip-detail-page .decor {
    position: absolute !important;
    z-index: 1 !important;
    pointer-events: none;
}

/* =========================================================
   HEADER: usa .site-header (ver bloque HEADER al final del archivo,
   mismo header que index.php / modelos.php)
========================================================= */

/* =========================================================
   PÁGINA SISTEMA SIP - HERO CATÁLOGO
========================================================= */

.sip-shop-hero {
    max-width: 1450px;
    margin: 0 auto;
    padding: 32px 48px 70px;
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 40px;
    align-items: center;
}

.sip-mini-title {
    display: inline-block;
    color: var(--sip-orange);
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.sip-shop-hero-text h1 {
    font-family: "Anton", Impact, sans-serif;
    font-size: clamp(72px, 8vw, 130px);
    line-height: 0.9;
    text-transform: uppercase;
    font-weight: 400;
    margin: 0;
}

.sip-shop-hero-text h1 strong {
    display: block;
    color: var(--sip-orange);
    font-weight: 400;
}

.sip-shop-hero-text p {
    margin-top: 22px;
    max-width: 620px;
    color: var(--sip-gray);
    font-size: 18px;
    line-height: 1.55;
}

.sip-hero-buttons {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.sip-main-btn,
.sip-cart-top-btn {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    text-transform: uppercase;
    font-weight: 950;
    letter-spacing: 0.7px;
    text-decoration: none;
}

.sip-main-btn {
    gap: 16px;
    background: linear-gradient(90deg, var(--sip-orange), var(--sip-orange-soft));
    color: #050505;
    padding: 15px 14px 15px 28px;
}

.sip-main-btn span {
    width: 42px;
    height: 42px;
    background: #050505;
    color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 30px;
}

.sip-cart-top-btn {
    gap: 12px;
    border: 2px solid var(--sip-orange);
    color: var(--sip-orange);
    padding: 14px 20px;
}

.sip-cart-top-btn strong {
    width: 28px;
    height: 28px;
    background: var(--sip-orange);
    color: #050505;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.sip-shop-hero-image {
    position: relative;
    height: 460px;
    background: rgba(15, 15, 15, 0.96);
    border: 1px solid var(--sip-border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

.sip-shop-hero-image .hero-dots {
    position: absolute;
    z-index: 10;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sip-shop-hero-image .hero-dot {
    width: 12px;
    height: 12px;
    background: #555555;
    border: none;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    transition: 0.3s ease;
}

.sip-shop-hero-image .hero-dot.active {
    background: var(--sip-orange);
    box-shadow: 0 0 14px rgba(255, 122, 0, 0.9);
    transform: scale(1.25);
}

.sip-shop-hero-image img#heroImage {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.sip-shop-hero-image img#heroImage.changing {
    opacity: 0;
    transform: scale(1.03);
}

.sip-shop-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 34px;
}

.sip-hero-floating-card {
    position: absolute;
    right: 28px;
    top: 28px;
    background: rgba(0, 0, 0, 0.86);
    border: 1px solid rgba(255, 122, 0, 0.35);
    border-radius: 16px;
    padding: 14px 18px;
    text-align: right;
}

.sip-hero-floating-card span {
    display: block;
    color: var(--sip-gray);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 800;
}

.sip-hero-floating-card strong {
    color: var(--sip-orange);
    font-size: 24px;
    font-weight: 950;
}

/* =========================================================
   TÍTULOS
========================================================= */

.sip-shop-title {
    max-width: 1450px;
    margin: 0 auto 28px;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.sip-shop-title span {
    width: 180px;
    height: 3px;
    background: var(--sip-orange);
    box-shadow: 0 0 20px rgba(255, 122, 0, 0.8);
}

.sip-shop-title h2 {
    font-family: "Anton", Impact, sans-serif;
    font-size: 42px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: center;
    margin: 0;
}

/* =========================================================
   CATEGORÍAS CATÁLOGO
========================================================= */

.sip-category-tabs {
    max-width: 1450px;
    margin: 0 auto 34px;
    padding: 0 48px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sip-category-tabs a {
    color: #ffffff;
    background: rgba(15, 15, 15, 0.96);
    border: 1px solid rgba(255, 122, 0, 0.28);
    border-radius: 999px;
    padding: 12px 18px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: 0.25s ease;
}

.sip-category-tabs a:hover,
.sip-category-tabs a.active {
    background: var(--sip-orange);
    color: #050505;
    transform: translateY(-2px);
}

/* =========================================================
   CONTENEDOR CATÁLOGO
========================================================= */

.sip-catalog-wrapper {
    max-width: 1450px;
    margin: 0 auto 70px;
    padding: 0 48px;
}

.sip-category-block {
    margin-bottom: 48px;
    scroll-margin-top: 130px;
}

.sip-category-header {
    background: rgba(15, 15, 15, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 24px 28px;
    margin-bottom: 22px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.sip-category-header small {
    color: var(--sip-orange);
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 1px;
}

.sip-category-header h3 {
    font-family: "Anton", Impact, sans-serif;
    font-size: 38px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 6px 0;
}

.sip-category-header p {
    color: var(--sip-gray);
    line-height: 1.5;
    max-width: 780px;
    margin: 0;
}

.sip-category-header strong {
    color: var(--sip-orange);
    font-size: 13px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* =========================================================
   TARJETAS DE PRODUCTOS CATÁLOGO
========================================================= */

.sip-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.sip-product-card {
    background: #f4f4f4;
    color: #111111;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 122, 0, 0.14);
    transition: 0.25s ease;
    display: flex;
    flex-direction: column;
    min-height: 560px;
}

.sip-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 35px rgba(255, 122, 0, 0.25);
}

.sip-product-img-box {
    position: relative;
    display: block;
    height: 250px;
    background: #ffffff;
    border-bottom: 1px solid #e2e2e2;
    overflow: hidden;
}

.sip-product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    transition: 0.25s ease;
}

.sip-product-card:hover .sip-product-img-box img {
    transform: scale(1.04);
}

.sip-product-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--sip-orange);
    color: #050505;
    border-radius: 8px;
    padding: 8px 11px;
    font-size: 12px;
    font-weight: 950;
}

.sip-product-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sip-product-line {
    color: #666666;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
    margin: 0 0 7px;
}

.sip-product-name {
    color: #111111;
    font-size: 24px;
    font-weight: 950;
    line-height: 1.05;
    text-decoration: none;
    margin-bottom: 10px;
}

.sip-product-name:hover {
    color: var(--sip-orange);
}

.sip-product-desc {
    color: #333333;
    font-size: 14px;
    line-height: 1.35;
    min-height: 38px;
    margin-bottom: 10px;
}

.sip-product-seller {
    color: #333333;
    font-size: 13px;
    margin-bottom: 10px;
}

.sip-product-seller strong {
    color: #111111;
}

.sip-product-rating {
    color: #ffb000;
    font-size: 16px;
    margin-bottom: 12px;
}

.sip-product-rating span {
    color: #777777;
    font-size: 12px;
}

.sip-product-info-list {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
}

.sip-product-info-list span {
    background: #ffffff;
    border-radius: 9px;
    padding: 7px 9px;
    font-size: 12px;
    font-weight: 700;
    color: #333333;
}

.sip-product-price {
    margin-top: auto;
    margin-bottom: 16px;
}

.sip-product-price small {
    display: block;
    color: #777777;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 4px;
}

.sip-product-price strong {
    color: #111111;
    font-size: 30px;
    font-weight: 950;
}

.sip-product-actions {
    display: grid;
    gap: 10px;
}

.sip-detail-btn,
.sip-add-btn {
    width: 100%;
    border-radius: 12px;
    padding: 13px 15px;
    text-align: center;
    font-weight: 950;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.25s ease;
    font-size: 14px;
}

.sip-detail-btn {
    display: block;
    background: #111111;
    color: #ffffff;
    text-decoration: none;
}

.sip-detail-btn:hover {
    background: var(--sip-orange);
    color: #050505;
}

.sip-add-btn {
    border: none;
    background: linear-gradient(90deg, var(--sip-orange), var(--sip-orange-soft));
    color: #050505;
}

.sip-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 122, 0, 0.35);
}

.sip-cart-control {
    width: 100%;
}

.sip-add-form {
    display: block;
    width: 100%;
}

.sip-qty-stepper {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    gap: 8px;
    align-items: center;
}

.sip-qty-btn {
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #050505;
    color: #ffffff;
    font-weight: 900;
    font-size: 20px;
    cursor: pointer;
    transition: 0.25s ease;
}

.sip-qty-btn:hover {
    background: var(--sip-orange);
    color: #050505;
}

.sip-qty-value {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(255, 122, 0, 0.4);
    background: #111111;
    color: var(--sip-orange);
    font-weight: 950;
    font-size: 16px;
}

/* =========================================================
   PRODUCTO SIP - VISTA DETALLE
========================================================= */

.product-detail-wrapper {
    max-width: 1450px;
    margin: 0 auto;
    padding: 24px 48px 80px;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #bdbdbd;
    font-size: 14px;
    margin-bottom: 24px;
}

.product-breadcrumb a {
    color: var(--sip-orange);
    font-weight: 800;
    text-decoration: none;
}

.product-breadcrumb strong {
    color: #ffffff;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 64%) 36%;
    gap: 34px;
    align-items: start;
}

.product-gallery {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.product-thumbs {
    display: grid;
    gap: 12px;
}

.product-thumb {
    width: 92px;
    height: 92px;
    border-radius: 14px;
    border: 2px solid transparent;
    background: #ffffff;
    cursor: pointer;
    overflow: hidden;
    padding: 6px;
    transition: 0.25s ease;
}

.product-thumb.active,
.product-thumb:hover {
    border-color: var(--sip-orange);
    box-shadow: 0 0 18px rgba(255, 122, 0, 0.35);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-main-image {
    position: relative;
    height: 620px;
    background: #f2f2f2;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 122, 0, 0.18);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.48);
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 34px;
}

.product-image-label {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(0, 0, 0, 0.88);
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(255, 122, 0, 0.28);
}

.product-image-label span {
    display: block;
    background: var(--sip-orange);
    color: #050505;
    padding: 9px 20px;
    text-transform: uppercase;
    font-weight: 950;
}

.product-image-label strong {
    display: block;
    color: #ffffff;
    padding: 11px 20px;
    font-size: 15px;
}

.product-buy-box {
    position: sticky;
    top: 150px;
    background: rgba(15, 15, 15, 0.97);
    border: 1px solid rgba(255, 122, 0, 0.2);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.5);
}

.product-category-label {
    color: var(--sip-orange);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-buy-box h1 {
    color: #ffffff;
    font-size: 34px;
    line-height: 1.1;
    margin-bottom: 12px;
}

.product-seller {
    color: #c7c7c7;
    font-size: 14px;
    margin-bottom: 14px;
}

.product-seller strong {
    color: #ffffff;
}

.product-detail-rating {
    color: #ffb000;
    font-size: 18px;
    margin-bottom: 20px;
}

.product-detail-rating span {
    color: #c7c7c7;
    margin-left: 8px;
    font-size: 14px;
}

.product-detail-price {
    margin-bottom: 18px;
}

.product-detail-price strong {
    display: block;
    color: #ffffff;
    font-size: 46px;
    font-weight: 950;
    line-height: 1;
}

.product-detail-price span {
    color: #c7c7c7;
}

.product-detail-price small {
    display: block;
    color: var(--sip-orange);
    font-weight: 800;
    margin-top: 6px;
}

.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.product-badges span {
    background: rgba(255, 122, 0, 0.12);
    border: 1px solid rgba(255, 122, 0, 0.28);
    color: var(--sip-orange);
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 900;
}

.quantity-control {
    margin-bottom: 15px;
}

.quantity-control label {
    display: block;
    color: #c7c7c7;
    margin-bottom: 8px;
    font-weight: 800;
}

.quantity-control div {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    gap: 8px;
}

.qty-btn,
.quantity-control input {
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #050505;
    color: #ffffff;
    font-weight: 900;
    text-align: center;
}

.qty-btn {
    cursor: pointer;
    font-size: 20px;
}

.qty-btn:hover {
    background: var(--sip-orange);
    color: #050505;
}

.cubicador-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: rgba(255, 122, 0, 0.08);
    border: 1px solid rgba(255, 122, 0, 0.28);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 15px;
}

.cubicador-box strong {
    color: #c7c7c7;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.cubicador-box span {
    color: var(--sip-orange);
    font-weight: 950;
    font-size: 18px;
}

.m2-calculator-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: rgba(0, 200, 120, 0.08);
    border: 1px solid rgba(0, 200, 120, 0.28);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 15px;
}

.m2-calculator-box strong {
    color: #c7c7c7;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.m2-calculator-box span {
    color: var(--sip-green);
    font-weight: 950;
    font-size: 18px;
}

.calc-reverse-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-bottom: 15px;
}

.calc-reverse-input {
    height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #050505;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
}

.calc-reverse-btn {
    height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 122, 0, 0.4);
    background: transparent;
    color: var(--sip-orange);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: 0.2s ease;
}

.calc-reverse-btn:hover {
    background: var(--sip-orange);
    color: #050505;
}

.calc-warning {
    display: block;
    color: #ff8080;
    font-size: 13px;
    font-weight: 700;
    margin: -6px 0 15px;
}

@media (max-width: 480px) {
    .calc-reverse-row {
        grid-template-columns: 1fr;
    }
}

.product-add-cart {
    width: 100%;
    border: none;
    background: linear-gradient(90deg, var(--sip-orange), var(--sip-orange-soft));
    color: #050505;
    padding: 15px;
    border-radius: 12px;
    font-weight: 950;
    text-transform: uppercase;
    margin-bottom: 12px;
    cursor: pointer;
    transition: 0.25s ease;
}

.product-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 22px rgba(255, 122, 0, 0.42);
}

.product-whatsapp {
    display: block;
    width: 100%;
    background: transparent;
    color: var(--sip-green);
    border: 2px solid var(--sip-green);
    padding: 13px;
    border-radius: 12px;
    font-weight: 950;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 22px;
    text-decoration: none;
    transition: 0.25s ease;
}

.product-whatsapp:hover {
    background: var(--sip-green);
    color: #050505;
}

.product-delivery-box {
    border-top: 1px solid rgba(255, 122, 0, 0.2);
    padding-top: 20px;
}

.product-delivery-box h3 {
    text-transform: uppercase;
    margin-bottom: 14px;
    color: #ffffff;
}

.delivery-item {
    display: grid;
    gap: 4px;
    margin-bottom: 13px;
}

.delivery-item strong {
    color: #ffffff;
}

.delivery-item span {
    color: #c7c7c7;
    font-size: 14px;
}

/* =========================================================
   DESCRIPCIÓN Y ESPECIFICACIONES
========================================================= */

.product-info-section {
    max-width: 1450px;
    margin: 0 auto 80px;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 62% 38%;
    gap: 28px;
}

.product-description-box,
.product-spec-box {
    background: #ffffff;
    color: #111111;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.product-description-box h2,
.product-spec-box h2 {
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 18px;
    border-bottom: 3px solid var(--sip-orange);
    display: inline-block;
    padding-bottom: 6px;
}

.product-description-box p {
    color: #333333;
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-description-box img {
    width: 100%;
    height: 330px;
    object-fit: contain;
    background: #f2f2f2;
    border-radius: 16px;
    padding: 20px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 0;
    border-bottom: 1px solid #e2e2e2;
}

.spec-row span {
    color: #666666;
    font-weight: 800;
}

.spec-row strong {
    color: #111111;
    text-align: right;
}

/* =========================================================
   PRODUCTOS RELACIONADOS
========================================================= */

.related-products-section {
    max-width: 1450px;
    margin: 0 auto 90px;
    padding: 0 48px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.related-products-grid .sip-product-card {
    min-height: 520px;
}

.related-products-grid .sip-product-img-box {
    height: 230px;
}

/* =========================================================
   AYUDA FINAL
========================================================= */

.sip-help-box {
    max-width: 1450px;
    margin: 0 auto 70px;
    padding: 34px 48px;
    background: rgba(15, 15, 15, 0.96);
    border: 1px solid rgba(255, 122, 0, 0.18);
    border-radius: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 26px;
}

.sip-help-box h2 {
    font-family: "Anton", Impact, sans-serif;
    font-size: 40px;
    text-transform: uppercase;
    font-weight: 400;
    margin: 0 0 8px;
}

.sip-help-box p {
    color: var(--sip-gray);
    font-size: 15px;
    max-width: 760px;
    margin: 0;
}

.sip-help-box a {
    background: var(--sip-green);
    color: #050505;
    padding: 15px 22px;
    border-radius: 999px;
    font-weight: 950;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1300px) {
    .sip-product-grid,
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .product-buy-box {
        position: relative;
        top: auto;
    }
}

@media (max-width: 1050px) {
    body.sip-shop-page .main-header,
    body.sip-detail-page .main-header {
        height: auto !important;
        min-height: 105px !important;
        max-height: none !important;
        padding: 14px 28px !important;
        grid-template-columns: auto 1fr auto !important;
    }

    body.sip-shop-page .brand-logo,
    body.sip-detail-page .brand-logo {
        width: 135px !important;
        max-width: 135px !important;
    }

    .sip-shop-hero {
        grid-template-columns: 1fr;
    }

    .sip-product-grid,
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sip-category-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sip-category-header strong {
        white-space: normal;
    }

    .product-info-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body.sip-shop-page .main-header,
    body.sip-detail-page .main-header {
        min-height: 85px !important;
        padding: 14px 18px !important;
    }

    body.sip-shop-page .brand-logo,
    body.sip-detail-page .brand-logo {
        width: 120px !important;
        max-width: 120px !important;
    }

    .sip-shop-hero,
    .sip-catalog-wrapper,
    .sip-category-tabs,
    .sip-shop-title,
    .product-detail-wrapper,
    .product-info-section,
    .related-products-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .sip-shop-hero {
        padding-top: 24px;
        padding-bottom: 50px;
    }

    .sip-shop-hero-text h1 {
        font-size: clamp(58px, 17vw, 86px);
    }

    .sip-shop-hero-image {
        height: 320px;
    }

    .sip-shop-title {
        gap: 14px;
    }

    .sip-shop-title span {
        width: 60px;
    }

    .sip-shop-title h2 {
        font-size: 30px;
    }

    .sip-product-grid,
    .related-products-grid {
        grid-template-columns: 1fr;
    }

    .sip-category-header {
        padding: 22px;
    }

    .sip-category-header h3 {
        font-size: 30px;
    }

    .product-detail-wrapper {
        padding-top: 20px;
    }

    .product-gallery {
        grid-template-columns: 1fr;
    }

    .product-thumbs {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .product-thumb {
        min-width: 82px;
        width: 82px;
        height: 82px;
    }

    .product-main-image {
        height: 360px;
    }

    .product-main-image img {
        padding: 22px;
    }

    .product-image-label {
        top: 14px;
        right: 14px;
    }

    .product-buy-box {
        padding: 22px;
    }

    .product-buy-box h1 {
        font-size: 28px;
    }

    .product-detail-price strong {
        font-size: 36px;
    }

    .product-description-box,
    .product-spec-box {
        padding: 22px;
    }

    .sip-help-box {
        margin-left: 18px;
        margin-right: 18px;
        padding: 26px;
        flex-direction: column;
        align-items: flex-start;
    }

    .sip-help-box a {
        width: 100%;
        text-align: center;
    }
}

/* =========================================================
   AJUSTES FINOS: ESPACIADO HEADER -> CONTENIDO
   SISTEMA SIP / PRODUCTO SIP
========================================================= */

/* Evitar que el breadcrumb agregue espacio extra */
body.sip-detail-page .product-breadcrumb {
    margin-top: 0;
    margin-bottom: 18px;
}

/* =========================================================
   CARRITO Y CHECKOUT
========================================================= */

.cart-title {
    margin-top: 8px;
}

.cart-empty-box {
    max-width: 720px;
    margin: 40px auto;
    padding: 46px;
    background: rgba(15, 15, 15, 0.96);
    border: 1px solid var(--sip-border);
    border-radius: 24px;
    text-align: center;
}

.cart-empty-box h2 {
    font-size: 30px;
    margin-bottom: 14px;
}

.cart-empty-box p {
    color: var(--sip-gray);
    line-height: 1.6;
    margin-bottom: 26px;
}

.cart-empty-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cart-secondary-btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 26px;
    border: 2px solid var(--sip-orange);
    color: var(--sip-orange);
    border-radius: 999px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
    margin-top: 30px;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item-card {
    display: grid;
    grid-template-columns: 96px 1fr auto auto auto;
    align-items: center;
    gap: 20px;
    padding: 18px;
    background: rgba(15, 15, 15, 0.96);
    border: 1px solid var(--sip-border);
    border-radius: 18px;
}

.cart-item-image {
    width: 96px;
    height: 96px;
    border-radius: 12px;
    overflow: hidden;
    background: #0c0c0c;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.cart-item-line {
    color: var(--sip-orange);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}

.cart-item-name {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
}

.cart-item-unit {
    color: var(--sip-gray);
    font-size: 14px;
}

.cart-item-qty-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.cart-qty-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--sip-gray);
}

.cart-item-qty-form input[type="number"] {
    width: 68px;
    padding: 8px;
    text-align: center;
    background: #0c0c0c;
    border: 1px solid var(--sip-border);
    border-radius: 8px;
    color: #fff;
}

.cart-update-btn,
.cart-remove-btn {
    cursor: pointer;
    border: none;
    font-weight: 800;
}

.cart-update-btn {
    padding: 8px 12px;
    background: transparent;
    border: 1px solid var(--sip-orange);
    color: var(--sip-orange);
    border-radius: 8px;
    font-size: 12px;
    text-transform: uppercase;
}

.cart-item-subtotal {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    white-space: nowrap;
}

.cart-item-subtotal span {
    font-size: 12px;
    color: var(--sip-gray);
    text-transform: uppercase;
}

.cart-item-subtotal strong {
    font-size: 18px;
    color: var(--sip-orange);
}

.cart-item-remove-form {
    display: flex;
}

.cart-remove-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 60, 60, 0.12);
    color: #ff8a8a;
    font-size: 16px;
}

.cart-clear-form {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}

.cart-clear-btn {
    background: transparent;
    border: none;
    color: var(--sip-gray);
    text-decoration: underline;
    cursor: pointer;
    font-size: 13px;
}

.cart-summary-box {
    position: sticky;
    top: 24px;
    padding: 26px;
    background: rgba(15, 15, 15, 0.96);
    border: 1px solid var(--sip-border);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-summary-box h3 {
    font-size: 20px;
    margin-bottom: 4px;
}

.cart-summary-row,
.cart-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
}

.cart-summary-total {
    padding-top: 12px;
    border-top: 1px solid var(--sip-border);
    font-size: 20px;
    font-weight: 900;
}

.cart-checkout-btn,
.cart-whatsapp-btn {
    justify-content: center;
    width: 100%;
    text-align: center;
}

.cart-payment-note {
    font-size: 12px;
    color: var(--sip-gray);
    text-align: center;
}

.cart-continue-link {
    text-align: center;
    font-size: 14px;
    color: var(--sip-gray);
    text-decoration: underline;
}

/* Checkout */

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 26px;
    background: rgba(15, 15, 15, 0.96);
    border: 1px solid var(--sip-border);
    border-radius: 20px;
}

.checkout-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkout-field label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--sip-gray);
}

.checkout-field input,
.checkout-field textarea,
.checkout-field select {
    padding: 12px 14px;
    background: #0c0c0c;
    border: 1px solid var(--sip-border);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
}

.checkout-field textarea {
    resize: vertical;
}

.checkout-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%23ff7a00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

.shipping-status-box {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 122, 0, 0.28);
    background: rgba(255, 122, 0, 0.08);
    color: #c7c7c7;
    font-size: 14px;
    font-weight: 700;
}

.shipping-status-box[data-status="free"] {
    border-color: rgba(0, 200, 120, 0.4);
    background: rgba(0, 200, 120, 0.1);
    color: var(--sip-green);
}

.shipping-status-box[data-status="paid"] {
    border-color: rgba(255, 122, 0, 0.4);
    background: rgba(255, 122, 0, 0.1);
    color: var(--sip-orange);
}

.shipping-status-box[data-status="out_of_region"],
.shipping-status-box[data-status="unknown"] {
    border-color: rgba(220, 60, 60, 0.4);
    background: rgba(220, 60, 60, 0.1);
    color: #ff8080;
}

.shipping-status-box[data-status="pickup"] {
    border-color: rgba(0, 200, 120, 0.4);
    background: rgba(0, 200, 120, 0.1);
    color: #ffffff;
    font-weight: 500;
}

.shipping-status-box[data-status="pickup"] strong {
    color: var(--sip-green);
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    text-transform: uppercase;
}

.delivery-method-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.delivery-method-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 12px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #050505;
    color: #c7c7c7;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.delivery-method-option input {
    accent-color: var(--sip-orange);
    margin: 0;
}

.delivery-method-option:has(input:checked) {
    border-color: var(--sip-orange);
    background: rgba(255, 122, 0, 0.1);
    color: #ffffff;
}

@media (max-width: 480px) {
    .delivery-method-toggle {
        grid-template-columns: 1fr;
    }
}

.checkout-submit-btn {
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.checkout-whatsapp-btn {
    justify-content: center;
    background: var(--sip-green);
    color: #050505;
    text-decoration: none;
    font-size: 15px;
}

.checkout-whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 22px rgba(0, 200, 120, 0.42);
}

@media (max-width: 992px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary-box {
        position: relative;
        top: auto;
    }
}

@media (max-width: 768px) {
    .cart-item-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cart-item-image {
        margin: 0 auto;
    }

    .cart-item-qty-form {
        align-items: center;
    }

    .cart-item-subtotal {
        align-items: center;
    }

    .cart-empty-box {
        margin: 24px 18px;
        padding: 30px 22px;
    }
}

/* =========================================================
   HEADER (mismo header usado en modelos.php)
========================================================= */

.site-header {
    padding: 20px 40px 10px;
    position: sticky !important;
    top: 0 !important;
    z-index: 80 !important;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    max-width: 1450px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
    justify-content: space-between;
}

.logo-block img {
    width: 110px;
    display: block;
}

.site-header .main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
    flex-wrap: wrap;
}

.site-header .main-nav a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.25s ease;
}

.site-header .main-nav a:hover,
.site-header .main-nav a.active {
    color: #ff7a00;
}

.header-inner .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid #ff7a00;
    color: #ff7a00;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    transition: 0.25s ease;
}

.header-inner .btn-whatsapp:hover {
    background: #ff7a00;
    color: #000000;
}

.header-inner .btn-whatsapp img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.header-inner .cotiza {
    white-space: nowrap;
}

.header-inner .menu-toggle {
    display: none;
    background: transparent;
    color: #ff7a00;
    border: none;
    font-size: 38px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .site-header {
        padding: 14px 16px;
    }

    .header-inner {
        flex-wrap: nowrap;
        align-items: center;
    }

    .logo-block {
        position: relative;
        z-index: 10005;
    }

    .logo-block img {
        width: 90px;
    }

    .header-inner .btn-whatsapp {
        display: none;
    }

    .header-inner .menu-toggle {
        display: flex;
        position: relative;
        z-index: 10005;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        background: transparent;
        color: #ff7a00;
        border: none;
        font-size: 34px;
        line-height: 1;
        cursor: pointer;
    }

    #mainNav.main-nav {
        position: fixed !important;
        z-index: 10000 !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        margin: 0 !important;
        padding: 120px 28px 38px !important;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.98), rgba(8, 8, 8, 0.98)) !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 0 !important;

        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateX(100%) !important;
        transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    #mainNav.main-nav.show {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateX(0) !important;
    }

    #mainNav.main-nav a {
        width: 100% !important;
        display: block !important;
        padding: 19px 0 !important;
        font-size: 18px !important;
        border-bottom: 1px solid rgba(255, 122, 0, 0.26);
    }

    #mainNav.main-nav a.nav-cart-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
    }

    #mainNav.main-nav a.nav-cart-link .nav-cart-badge {
        position: static !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 auto !important;
        width: 22px !important;
        min-width: 22px !important;
    }
}