/* =========================================================
   ELECTROOESTE
   CSS GENERAL
   ========================================================= */

:root {
    --yellow: #ffc107;
    --yellow-dark: #e0a800;

    --dark: #17191d;
    --dark-2: #22262d;

    --text: #252932;
    --muted: #6f7680;

    --light: #f4f5f7;
    --white: #ffffff;

    --border: #e3e6ea;

    --green: #198754;
    --red: #dc3545;
}


/* =========================================================
   GENERAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--white);
    color: var(--text);

    font-family:
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.section-padding {
    padding: 85px 0;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: relative;
    z-index: 1000;

    background: var(--dark);

    box-shadow:
        0 2px 10px rgba(0, 0, 0, .15);
}

.site-header .navbar {
    min-height: 72px;
    padding: 12px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;

    color: #fff !important;

    font-size: 21px;
    font-weight: 800;

    letter-spacing: .6px;
}

.navbar-brand i {
    margin-right: 8px;

    color: var(--yellow);
}

.site-header .nav-link {
    margin: 0 7px;

    color: rgba(255, 255, 255, .82) !important;

    font-size: 15px;
    font-weight: 500;

    transition: color .2s ease;
}

.site-header .nav-link:hover {
    color: var(--yellow) !important;
}

.site-header .btn-warning {
    padding: 9px 15px;

    border-color: var(--yellow);

    font-weight: 700;
}

.site-header .navbar-toggler {
    border-color: rgba(255,255,255,.2);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 610px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(18, 20, 24, .96) 0%,
            rgba(18, 20, 24, .88) 52%,
            rgba(18, 20, 24, .52) 100%
        ),
        url("../img/hero.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #fff;
}

.min-vh-75 {
    min-height: 560px;
}

.hero-label {
    display: inline-block;

    margin-bottom: 15px;

    color: var(--yellow);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.hero h1 {
    max-width: 760px;

    margin-bottom: 20px;

    font-size: clamp(42px, 5vw, 68px);
    font-weight: 800;

    line-height: 1.02;
}

.hero h1 span {
    color: var(--yellow);
}

.hero p {
    max-width: 680px;

    margin-bottom: 30px;

    color: rgba(255,255,255,.82);

    font-size: 19px;
    line-height: 1.6;
}

.hero .btn {
    padding: 13px 24px;

    font-weight: 700;
}


/* =========================================================
   TITULOS DE SECCION
   ========================================================= */

.section-title span,
.section-small-title {
    color: #b58300;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.4px;
}

.section-title h2 {
    margin-top: 7px;

    color: var(--text);

    font-size: 37px;
    font-weight: 800;
}

.section-title p {
    max-width: 600px;

    margin: 10px auto 0;

    color: var(--muted);
}


/* =========================================================
   CATEGORIAS
   ========================================================= */

.category-card {
    height: 100%;

    padding: 28px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: #fff;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.category-card:hover {
    transform: translateY(-6px);

    border-color: #f4cc53;

    box-shadow:
        0 16px 38px rgba(0, 0, 0, .09);
}

.category-icon {
    width: 50px;
    height: 50px;

    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #fff5d1;
    color: #9d7100;

    font-size: 22px;
}

.category-card h3 {
    margin-bottom: 11px;

    font-size: 22px;
    font-weight: 700;
}

.category-card p {
    min-height: 50px;

    color: var(--muted);

    font-size: 14px;
}

.category-link {
    color: var(--text);

    font-size: 14px;
    font-weight: 700;
}

.category-link i {
    margin-left: 5px;

    transition: transform .2s;
}

.category-link:hover {
    color: #a97900;
}

.category-link:hover i {
    transform: translateX(4px);
}


/* =========================================================
   VENTAJAS
   ========================================================= */

.advantages {
    padding: 55px 0;

    background: var(--dark);
    color: #fff;
}

.advantages i {
    margin-bottom: 13px;

    color: var(--yellow);

    font-size: 30px;
}

.advantages h4 {
    font-weight: 700;
}

.advantages p {
    margin-bottom: 0;

    color: #bfc4cb;
}


/* =========================================================
   MARCAS
   ========================================================= */

.brand-card {
    min-height: 95px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: #fff;

    color: #444;

    font-size: 18px;
    font-weight: 800;

    transition: .25s;
}

.brand-card:hover {
    transform: translateY(-3px);

    border-color: var(--yellow);

    box-shadow:
        0 10px 28px rgba(0,0,0,.07);
}


/* =========================================================
   NOSOTROS
   ========================================================= */

.about-box {
    min-height: 360px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 40px;

    border-radius: 18px;

    background: var(--dark);

    color: #fff;

    text-align: center;
}

.about-box i {
    margin-bottom: 20px;

    color: var(--yellow);

    font-size: 72px;
}

.about-box h3 {
    font-size: 33px;
    font-weight: 800;
}

.about-box p {
    color: #bfc5cc;
}


/* =========================================================
   CTA
   ========================================================= */

.cta {
    padding: 75px 0;

    background: var(--yellow);
}

.cta h2 {
    font-size: 38px;
    font-weight: 800;
}

.cta p {
    margin-bottom: 25px;

    font-size: 18px;
}


/* =========================================================
   PAGINA DE PRODUCTOS
   ========================================================= */

.catalog-page {
    min-height: 600px;

    background: #f4f5f7;
}

.catalog-header {
    padding: 45px 0 32px;
}

.catalog-breadcrumb {
    margin-bottom: 22px;

    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    color: #818791;

    font-size: 13px;
}

.catalog-breadcrumb a {
    color: #69717b;
}

.catalog-breadcrumb a:hover {
    color: #9d7100;
}

.catalog-header h1 {
    margin-bottom: 8px;

    color: var(--text);

    font-size: 40px;
    font-weight: 800;
}

.catalog-header p {
    margin-bottom: 0;

    color: var(--muted);
}

.catalog-content {
    padding-bottom: 80px;
}


/* =========================================================
   BUSCADOR
   ========================================================= */

.catalog-search {
    margin-bottom: 18px;

    padding: 15px;

    display: flex;

    gap: 10px;

    border-radius: 12px;

    background: #fff;

    box-shadow:
        0 5px 18px rgba(0,0,0,.04);
}

.catalog-search-input {
    position: relative;

    flex: 1;
}

.catalog-search-input i {
    position: absolute;

    top: 50%;
    left: 17px;

    transform: translateY(-50%);

    color: #9a9fa5;
}

.catalog-search-input input {
    width: 100%;
    height: 48px;

    padding:
        0 18px 0 45px;

    border: 1px solid var(--border);
    border-radius: 8px;

    outline: none;

    transition: border-color .2s;
}

.catalog-search-input input:focus {
    border-color: var(--yellow);
}

.catalog-search .btn {
    min-width: 110px;

    font-weight: 700;
}


/* =========================================================
   BARRA DE ORDENAMIENTO
   ========================================================= */

.catalog-toolbar {
    min-height: 75px;

    margin-bottom: 28px;
    padding: 15px 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-radius: 12px;

    background: #fff;

    box-shadow:
        0 5px 18px rgba(0,0,0,.04);
}

.catalog-toolbar strong {
    font-weight: 800;
}

.catalog-toolbar select {
    min-width: 180px;

    padding: 10px 14px;

    border: 1px solid #d6dae0;
    border-radius: 8px;

    background: #fff;

    color: var(--text);

    outline: none;
}

.catalog-toolbar select:focus {
    border-color: var(--yellow);
}


/* =========================================================
   GRILLA DE PRODUCTOS
   ========================================================= */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 22px;
}


/* =========================================================
   TARJETA DE PRODUCTO
   ========================================================= */

.product-card {
    position: relative;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: #fff;

    box-shadow:
        0 5px 18px rgba(0,0,0,.035);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.product-card:hover {
    transform: translateY(-5px);

    border-color: #e6c14e;

    box-shadow:
        0 16px 38px rgba(0,0,0,.10);
}

.discount-badge {
    position: absolute;

    top: 14px;
    left: 14px;

    z-index: 5;

    padding: 6px 9px;

    border-radius: 6px;

    background: #e63838;
    color: #fff;

    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   IMAGEN PRODUCTO
   ========================================================= */

.product-image {
    height: 255px;

    padding: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #fff;
}

.product-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    transition: transform .25s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-no-image {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #d7d9dc;

    font-size: 70px;
}


/* =========================================================
   INFORMACION PRODUCTO
   ========================================================= */

.product-info {
    padding: 20px;

    border-top: 1px solid #f0f1f2;
}

.product-category {
    display: block;

    margin-bottom: 7px;

    color: #89909a;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .7px;
}

.product-info h2 {
    min-height: 48px;

    margin: 0 0 6px;

    font-size: 17px;
    font-weight: 700;

    line-height: 1.4;
}

.product-info h2 a {
    color: var(--text);
}

.product-info h2 a:hover {
    color: #9d7100;
}

.product-brand {
    display: block;

    min-height: 20px;

    margin-bottom: 12px;

    color: #848b93;

    font-size: 13px;
}

.old-price {
    color: #9da2a8;

    font-size: 13px;

    text-decoration: line-through;
}

.product-price {
    margin-bottom: 4px;

    color: var(--text);

    font-size: 25px;
    font-weight: 900;
}

.product-stock {
    margin-top: 8px;

    font-size: 13px;
    font-weight: 600;
}

.product-stock.available {
    color: var(--green);
}

.product-stock.unavailable {
    color: var(--red);
}

.btn-product {
    width: 100%;

    margin-top: 17px;
    padding: 11px 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-radius: 8px;

    background: var(--yellow);

    color: #151515;

    font-size: 14px;
    font-weight: 800;

    transition:
        background .2s,
        transform .2s;
}

.btn-product:hover {
    background: var(--yellow-dark);

    color: #111;
}

.btn-product i {
    transition: transform .2s;
}

.btn-product:hover i {
    transform: translateX(3px);
}


/* =========================================================
   SIN PRODUCTOS
   ========================================================= */

.no-products {
    padding: 60px 20px;

    border-radius: 14px;

    background: #fff;

    text-align: center;

    box-shadow:
        0 5px 18px rgba(0,0,0,.04);
}

.no-products > i {
    margin-bottom: 15px;

    color: #bbb;

    font-size: 45px;
}

.no-products h2 {
    font-weight: 800;
}

.no-products p {
    color: var(--muted);
}


/* =========================================================
   PAGINA DETALLE DE PRODUCTO
   ========================================================= */

.product-page {
    min-height: 600px;

    background: #f4f5f7;
}

.product-detail {
    padding: 40px 0 80px;
}

.product-detail-card {
    margin-top: 25px;
    padding: 42px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 55px;

    border-radius: 16px;

    background: #fff;

    box-shadow:
        0 8px 30px rgba(0,0,0,.06);
}


/* =========================================================
   IMAGEN DETALLE
   ========================================================= */

.product-detail-image {
    position: relative;

    min-height: 500px;

    padding: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 13px;

    background: #fff;
}

.product-detail-image img {
    width: 100%;
    height: 450px;

    object-fit: contain;
}

.product-detail-image .product-no-image {
    min-height: 400px;
}

.detail-discount {
    position: absolute;

    top: 18px;
    left: 18px;

    z-index: 2;

    padding: 7px 11px;

    border-radius: 6px;

    background: #df3838;

    color: #fff;

    font-size: 13px;
    font-weight: 800;
}


/* =========================================================
   INFORMACION DETALLE
   ========================================================= */

.detail-category {
    display: inline-block;

    margin-bottom: 13px;
    padding: 6px 10px;

    border-radius: 6px;

    background: #fff3c4;

    color: #987000;

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
}

.product-detail-info h1 {
    margin-bottom: 9px;

    color: var(--text);

    font-size: 38px;
    font-weight: 800;

    line-height: 1.13;
}

.product-sku {
    margin-bottom: 25px;

    color: #808791;

    font-size: 13px;
}

.detail-old-price {
    color: #999fa6;

    font-size: 16px;

    text-decoration: line-through;
}

.detail-price {
    margin-bottom: 18px;

    color: var(--text);

    font-size: 42px;
    font-weight: 900;

    line-height: 1;
}

.detail-summary {
    color: #666e77;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   DATOS PRODUCTO
   ========================================================= */

.product-data {
    margin-top: 22px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;
}

.product-data div {
    padding: 13px 15px;

    border-radius: 8px;

    background: #f5f6f7;
}

.product-data span {
    display: block;

    margin-bottom: 2px;

    color: #838a92;

    font-size: 12px;
}

.product-data strong {
    font-size: 14px;
}


/* =========================================================
   STOCK
   ========================================================= */

.detail-stock {
    margin-top: 22px;

    font-size: 14px;
    font-weight: 700;
}

.detail-stock.available {
    color: var(--green);
}

.detail-stock.unavailable {
    color: var(--red);
}

.detail-stock span {
    margin-left: 6px;

    color: #858b92;

    font-weight: 400;
}


/* =========================================================
   COMPRA
   ========================================================= */

.purchase-row {
    margin-top: 18px;

    display: grid;

    grid-template-columns:
        130px 1fr;

    gap: 12px;
}

.quantity {
    height: 50px;

    display: grid;

    grid-template-columns:
        38px 1fr 38px;

    overflow: hidden;

    border: 1px solid #d7dbe0;
    border-radius: 8px;

    background: #fff;
}

.quantity button {
    border: 0;

    background: #f2f3f4;

    color: var(--text);

    font-size: 20px;

    cursor: pointer;
}

.quantity button:hover {
    background: #e7e9eb;
}

.quantity input {
    width: 100%;

    border: 0;

    background: #fff;

    text-align: center;

    outline: 0;
}

.btn-add-cart {
    min-height: 50px;

    border: 0;
    border-radius: 8px;

    background: var(--yellow);

    color: #151515;

    font-weight: 800;

    cursor: pointer;

    transition: background .2s;
}

.btn-add-cart:hover {
    background: var(--yellow-dark);
}


/* =========================================================
   WHATSAPP PRODUCTO
   ========================================================= */

.btn-whatsapp-product {
    width: 100%;

    margin-top: 11px;
    padding: 13px;

    display: block;

    border-radius: 8px;

    background: #1fba59;

    color: #fff;

    text-align: center;

    font-weight: 800;

    transition: background .2s;
}

.btn-whatsapp-product:hover {
    background: #199d4b;

    color: #fff;
}


/* =========================================================
   DESCRIPCION PRODUCTO
   ========================================================= */

.product-description-box {
    margin-top: 28px;
    padding: 32px;

    border-radius: 14px;

    background: #fff;

    box-shadow:
        0 5px 18px rgba(0,0,0,.035);
}

.product-description-box h2 {
    margin-bottom: 15px;

    font-size: 25px;
    font-weight: 800;
}

.product-description-box p {
    margin-bottom: 0;

    color: #686f77;

    line-height: 1.75;
}


/* =========================================================
   PRODUCTOS RELACIONADOS
   ========================================================= */

.related-section {
    margin-top: 65px;
}

.related-heading {
    margin-bottom: 24px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;
}

.related-heading span {
    color: #a77900;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .6px;
}

.related-heading h2 {
    margin: 4px 0 0;

    color: var(--text);

    font-weight: 800;
}

.related-heading > a {
    color: var(--text);

    font-weight: 700;
}

.related-heading > a:hover {
    color: #9d7100;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding-top: 60px;

    background: var(--dark);

    color: #fff;
}

.site-footer h4 {
    font-weight: 800;
}

.site-footer h4 i {
    color: var(--yellow);
}

.site-footer h5 {
    margin-bottom: 15px;

    font-size: 16px;
    font-weight: 700;
}

.site-footer p {
    color: #aeb4bc;
}

.site-footer a {
    margin-bottom: 7px;

    display: block;

    color: #b9bec5;

    font-size: 14px;
}

.site-footer a:hover {
    color: var(--yellow);
}

.footer-bottom {
    margin-top: 45px;
    padding: 20px;

    border-top:
        1px solid rgba(255,255,255,.08);

    color: #949ba4;

    text-align: center;

    font-size: 13px;
}


/* =========================================================
   BOTONES BOOTSTRAP
   ========================================================= */

.btn-warning {
    background: var(--yellow);
    border-color: var(--yellow);

    color: #171717;

    font-weight: 700;
}

.btn-warning:hover,
.btn-warning:focus {
    background: var(--yellow-dark);
    border-color: var(--yellow-dark);

    color: #111;
}


/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 1199px) {

    .product-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 991px) {

    .hero {
        min-height: 520px;
    }

    .site-header .navbar-nav {
        padding-top: 15px;
        padding-bottom: 10px;
    }

    .site-header .nav-link {
        margin: 0;

        padding: 10px 0;
    }

    .site-header .nav-item.ms-lg-3 {
        margin-top: 10px;
    }

    .product-grid {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }

    .product-detail-card {
        grid-template-columns: 1fr;

        gap: 35px;
    }

}


/* =========================================================
   RESPONSIVE CELULAR
   ========================================================= */

@media (max-width: 575px) {

    .section-padding {
        padding: 60px 0;
    }


    /* HEADER */

    .navbar-brand {
        font-size: 18px;
    }


    /* HERO */

    .hero {
        min-height: 520px;

        text-align: center;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero .btn {
        width: 100%;

        margin-bottom: 10px;
    }


    /* CATALOGO */

    .catalog-header {
        padding: 32px 0 24px;
    }

    .catalog-header h1 {
        font-size: 31px;
    }

    .catalog-search {
        flex-direction: column;
    }

    .catalog-search .btn {
        min-height: 48px;
    }

    .catalog-toolbar {
        align-items: stretch;
        flex-direction: column;

        gap: 13px;
    }

    .catalog-toolbar select {
        width: 100%;
    }


    /* PRODUCTOS */

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 290px;
    }


    /* DETALLE */

    .product-detail {
        padding: 25px 0 55px;
    }

    .product-detail-card {
        padding: 20px;
    }

    .product-detail-image {
        min-height: 350px;

        padding: 20px;
    }

    .product-detail-image img {
        height: 310px;
    }

    .product-detail-info h1 {
        font-size: 29px;
    }

    .detail-price {
        font-size: 34px;
    }

    .product-data {
        grid-template-columns: 1fr;
    }

    .purchase-row {
        grid-template-columns: 1fr;
    }

    .quantity {
        width: 140px;
    }

    .btn-add-cart {
        min-height: 50px;
    }

    .product-description-box {
        padding: 22px;
    }

    .related-heading {
        align-items: flex-start;
        flex-direction: column;
    }


    /* FOOTER */

    .site-footer {
        text-align: center;
    }

}
/* =========================================================
   CARRITO HEADER
   ========================================================= */

.cart-nav-link {
    display: flex !important;
    align-items: center;
    gap: 6px;
}

.cart-count {
    min-width: 21px;
    height: 21px;

    padding: 0 5px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: var(--yellow);
    color: #151515;

    font-size: 11px;
    font-weight: 900;
}


/* =========================================================
   CARRITO
   ========================================================= */

.cart-page {
    min-height: 650px;
    background: #f4f5f7;
}

.cart-header {
    padding: 45px 0 30px;
}

.cart-header h1 {
    margin-bottom: 8px;

    font-size: 40px;
    font-weight: 800;
}

.cart-header p {
    margin: 0;
    color: var(--muted);
}

.cart-content {
    padding-bottom: 80px;
}


/* CARGANDO */

.cart-loading {
    padding: 60px 20px;

    color: #777;

    text-align: center;

    font-size: 17px;
}

.cart-loading i {
    margin-right: 7px;
}


/* VACIO */

.cart-empty {
    padding: 65px 25px;

    border-radius: 16px;

    background: #fff;

    text-align: center;

    box-shadow:
        0 7px 25px rgba(0,0,0,.05);
}

.cart-empty-icon {
    width: 80px;
    height: 80px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff4ca;
    color: #ad7e00;

    font-size: 32px;
}

.cart-empty h2 {
    font-weight: 800;
}

.cart-empty p {
    margin-bottom: 25px;

    color: var(--muted);
}


/* LAYOUT */

.cart-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        350px;

    gap: 28px;

    align-items: start;
}

.cart-box {
    overflow: hidden;

    border-radius: 14px;

    background: #fff;

    box-shadow:
        0 5px 20px rgba(0,0,0,.045);
}

.cart-box-header {
    min-height: 72px;

    padding: 18px 22px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 1px solid #eceef0;
}

.cart-box-header h2 {
    margin: 0;

    font-size: 20px;
    font-weight: 800;
}

.cart-clear {
    border: 0;
    background: none;

    color: #b43a3a;

    font-size: 13px;
    font-weight: 600;
}

.cart-clear:hover {
    color: #dc3545;
}


/* ITEM */

.cart-item {
    padding: 20px 22px;

    display: grid;

    grid-template-columns:
        90px
        minmax(170px, 1fr)
        100px
        115px
        110px
        35px;

    gap: 18px;

    align-items: center;

    border-bottom: 1px solid #eceef0;
}

.cart-item:last-child {
    border-bottom: 0;
}

.cart-item-image {
    width: 90px;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border: 1px solid #e6e8eb;
    border-radius: 9px;

    background: #fff;
}

.cart-item-image img {
    width: 100%;
    height: 100%;

    padding: 7px;

    object-fit: contain;
}

.cart-item-image i {
    color: #d5d8dc;

    font-size: 35px;
}

.cart-item-category {
    margin-bottom: 4px;

    color: #91979e;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .7px;

    text-transform: uppercase;
}

.cart-item-name {
    display: block;

    color: var(--text);

    font-size: 15px;
    font-weight: 750;

    line-height: 1.35;
}

.cart-item-name:hover {
    color: #a57700;
}

.cart-item-meta {
    margin-top: 5px;

    color: #868d95;

    font-size: 12px;
}

.cart-item-unit-price {
    font-weight: 700;
}

.cart-item-price-mobile {
    display: none;

    margin-top: 7px;

    font-weight: 800;
}


/* CANTIDAD */

.cart-item-quantity {
    display: grid;

    grid-template-columns:
        32px 40px 32px;

    position: relative;
}

.cart-item-quantity button {
    height: 36px;

    border: 1px solid #d9dde1;

    background: #f5f6f7;
}

.cart-item-quantity button:first-child {
    border-radius: 6px 0 0 6px;
}

.cart-item-quantity button:nth-of-type(2) {
    border-radius: 0 6px 6px 0;
}

.cart-item-quantity input {
    width: 40px;
    height: 36px;

    border-top: 1px solid #d9dde1;
    border-bottom: 1px solid #d9dde1;
    border-left: 0;
    border-right: 0;

    text-align: center;
}

.cart-item-quantity small {
    position: absolute;

    top: 42px;
    left: 0;

    width: 110px;

    color: #969ca3;

    font-size: 10px;
}

.cart-item-total {
    font-size: 16px;
    font-weight: 900;

    text-align: right;
}

.cart-item-remove {
    width: 32px;
    height: 32px;

    border: 0;
    border-radius: 6px;

    background: transparent;

    color: #a9afb5;
}

.cart-item-remove:hover {
    background: #feecec;

    color: #dc3545;
}


/* SEGUIR COMPRANDO */

.continue-shopping {
    margin-top: 17px;

    display: inline-block;

    color: #545b63;

    font-size: 14px;
    font-weight: 700;
}

.continue-shopping:hover {
    color: #9d7100;
}


/* RESUMEN */

.cart-summary {
    position: sticky;
    top: 25px;

    padding: 27px;

    border-radius: 14px;

    background: #fff;

    box-shadow:
        0 5px 20px rgba(0,0,0,.055);
}

.cart-summary h2 {
    margin-bottom: 25px;

    font-size: 21px;
    font-weight: 800;
}

.summary-row {
    margin-bottom: 14px;

    display: flex;
    justify-content: space-between;

    color: #676e76;

    font-size: 14px;
}

.summary-divider {
    margin: 20px 0;

    border-top: 1px solid #e5e7e9;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.summary-total span {
    font-size: 17px;
    font-weight: 700;
}

.summary-total strong {
    font-size: 28px;
    font-weight: 900;
}

.summary-note {
    margin-top: 22px;

    padding: 12px;

    border-radius: 8px;

    background: #f5f6f7;

    color: #676e75;

    font-size: 12px;
    line-height: 1.5;
}

.summary-note i {
    margin-right: 4px;
}


/* WHATSAPP */

.cart-whatsapp-button {
    width: 100%;
    min-height: 50px;

    margin-top: 20px;

    border: 0;
    border-radius: 8px;

    background: #1faf59;
    color: #fff;

    font-size: 15px;
    font-weight: 800;
}

.cart-whatsapp-button:hover {
    background: #199b4c;
}

.cart-whatsapp-button i {
    margin-right: 5px;

    font-size: 18px;
}

.cart-security {
    margin-top: 14px;

    color: #8a9198;

    text-align: center;

    font-size: 11px;
}


/* =========================================================
   CARRITO RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

}


@media (max-width: 800px) {

    .cart-item {
        grid-template-columns:
            75px 1fr auto;

        gap: 14px;
    }

    .cart-item-image {
        width: 75px;
        height: 75px;
    }

    .cart-item-unit-price {
        display: none;
    }

    .cart-item-price-mobile {
        display: block;
    }

    .cart-item-quantity {
        grid-column: 2;
    }

    .cart-item-total {
        grid-column: 3;
        grid-row: 2;

        align-self: start;
    }

    .cart-item-remove {
        grid-column: 3;
        grid-row: 1;

        justify-self: end;
    }

}


@media (max-width: 575px) {

    .cart-header {
        padding: 30px 0 22px;
    }

    .cart-header h1 {
        font-size: 31px;
    }

    .cart-box-header {
        align-items: flex-start;
        flex-direction: column;

        gap: 8px;
    }

    .cart-item {
        padding: 17px;

        grid-template-columns:
            65px 1fr 30px;
    }

    .cart-item-image {
        width: 65px;
        height: 65px;
    }

    .cart-item-total {
        margin-top: 8px;

        grid-column: 2;
        grid-row: 3;

        text-align: left;
    }

    .cart-summary {
        padding: 22px;
    }

}
/* =========================================================
   CHECKOUT
   ========================================================= */

.checkout-box {
    margin-top: 30px;
    padding: 27px;

    border-radius: 14px;

    background: #fff;

    box-shadow:
        0 5px 20px rgba(0,0,0,.045);
}

.checkout-title {
    margin-bottom: 25px;

    display: flex;
    align-items: flex-start;

    gap: 14px;
}

.checkout-number {
    width: 37px;
    height: 37px;

    flex: 0 0 37px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--yellow);
    color: #171717;

    font-weight: 900;
}

.checkout-title h2 {
    margin: 0;

    font-size: 21px;
    font-weight: 800;
}

.checkout-title p {
    margin: 3px 0 0;

    color: #7e858d;

    font-size: 13px;
}

.checkout-box .form-label {
    font-size: 13px;
    font-weight: 700;
}

.checkout-input {
    min-height: 47px;

    border-color: #dfe2e5;
}

.checkout-input:focus {
    border-color: var(--yellow);

    box-shadow:
        0 0 0 .2rem rgba(255,193,7,.15);
}

textarea.checkout-input {
    min-height: 90px;
}

@media (max-width: 575px) {

    .checkout-box {
        padding: 20px;
    }

}

/* =========================================================
   GALERÍA DE PRODUCTO
   ========================================================= */

.product-gallery {
    min-width: 0;
}


.product-gallery .product-detail-image {
    position: relative;

    width: 100%;

    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border: 1px solid #ececec;
    border-radius: 18px;

    background: #fff;
}


.product-gallery .product-detail-image img {
    width: 100%;
    height: 500px;

    padding: 30px;

    display: block;

    object-fit: contain;

    transition:
        opacity .15s ease,
        transform .25s ease;
}


.product-gallery .product-detail-image:hover img {
    transform: scale(1.03);
}


/* =========================================================
   MINIATURAS
   ========================================================= */

.product-thumbnails {
    margin-top: 15px;

    display: flex;

    gap: 12px;

    overflow-x: auto;

    padding: 3px 3px 8px;
}


.product-thumbnail {
    width: 82px;
    height: 82px;

    flex: 0 0 82px;

    padding: 6px;

    border: 2px solid #e5e5e5;
    border-radius: 11px;

    background: #fff;

    cursor: pointer;

    transition: .2s;
}


.product-thumbnail:hover {
    border-color: #ffc107;

    transform: translateY(-2px);
}


.product-thumbnail.active {
    border-color: #ffc107;

    box-shadow:
        0 0 0 2px rgba(255, 193, 7, .18);
}


.product-thumbnail img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}


/* =========================================================
   SCROLL MINIATURAS
   ========================================================= */

.product-thumbnails::-webkit-scrollbar {
    height: 6px;
}


.product-thumbnails::-webkit-scrollbar-track {
    background: #eee;

    border-radius: 20px;
}


.product-thumbnails::-webkit-scrollbar-thumb {
    background: #bbb;

    border-radius: 20px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .product-gallery .product-detail-image {
        min-height: 420px;
    }


    .product-gallery .product-detail-image img {
        height: 420px;
    }

}


@media (max-width: 576px) {

    .product-gallery .product-detail-image {
        min-height: 330px;
    }


    .product-gallery .product-detail-image img {
        height: 330px;

        padding: 18px;
    }


    .product-thumbnail {
        width: 70px;
        height: 70px;

        flex-basis: 70px;
    }

}