body {
    padding-top: 56px;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    background-color: #0b0b0b;
}

@media (max-width: 767.98px) {
    .navbar-collapse {
        text-align: center;
    }

    .navbar-nav {
        margin: 0 auto;
    }
}

.my-shadow {
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.15), 0 5px 20px 0 rgba(0, 0, 0, 0.05);
}

.line {
    border-color: rgba(255,255,255,0.08);
    margin: 18px 0;
}

a {
    color: inherit;
    color: #fff !important;
}

.font-dark-color {
    color: #fff;
}

.container-fluid {
    max-width: 90%;
    position: relative;
    text-align: center;
    color: white;
}

a:link, a:visited, a:hover, a:active {
    text-decoration: none;
}

hr {
    border-radius: 10%;
    opacity: 30%;
    display: block;
    width: 100%;
    height: 1px;
    background-color: #DDDDDD;
}

.custom-bar {
    background-color: #111;
}

/* START Used in index page */
.each-category-card {
    padding: 0.5% 0.5% 0.5% 0.5%;
}

.category-container {
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


.category-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 45%,
        rgba(0,0,0,0.55) 100%
    );
}

.category-container img {
    transition: transform 0.4s ease;
}

.category-container:hover img {
    transform: scale(1.05);
}

.category-container:hover .centered-text-img {
    transform: translate(-50%, -50%) scale(1.06);
}

.category-container:hover::after {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.1),
        rgba(0,0,0,0.5)
    );
}

.home-section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin: 20px 0 30px;
}

.fit-image {
    object-fit: cover;
    width: 100%;
}

.centered-text-img {
    position: absolute;
    top: 68%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    padding: 8px 20px;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
    border-radius: 30px;
    will-change: transform;
    transition: transform 0.35s ease;
}

/* END Used in index page */

/* START Item page */
.item-page {
    max-width: 90%;
    position: relative;
    text-align: center;
}

.item-page img {
    max-height: 520px;
    object-fit: contain;
}

.item-name h3 {
    font-size: 28px;
    letter-spacing: 1px;
}

.price {
    font-size: 22px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.item-description {
    color: #9aa0a6;
    line-height: 1.6;
    margin-top: 10px;
    margin-bottom: 20px;
}

.overlay {
    background-color: rgba(0, 0, 0, .3);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
}

.item-name {
    text-transform:uppercase;
    color: #fff;
}

.item-description {

}

.overlay.active {
    visibility: visible;
}

.popup {
    background-color: #f8f8f8;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, .3);
    border-radius: 3px;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transform: scale(0.7);
    transition: .3s ease all;
    min-width: 300px;
}

.popup.active {
    opacity: 1;
    transform: scale(1);
}

.popup .btn-close {
    line-height: 16px;
    display: block;
    transition: .3s ease all;
}

.popup .btn-close:hover {
    color: #000000;
}

/* END Item page */

/* START Listing page */
.item-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #151515;
    border: 1px solid #222;
    border-radius: 10px;
    transition: all 0.25s ease;
    width: 100%;
}

.item-card:hover {
    transition: 0.2s;
    transform: translateY(-6px);
    background: #1b1b1b;
    border-color: #2a2a2a;
    box-shadow: 0 0 18px rgba(255,255,255,0.06);
}

.item-card:hover .price {
  color: #1e88ff;   /* o el color acento que elijas */
  transition: 0.2s;
}

.item-card img {
  transition: transform 0.3s ease;
}

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

.item-link {
    display: block;
    width: 100%;
}

.item-img-wrapper {
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    background: #0f0f0f;
   box-shadow: inset 0 -20px 30px rgba(0,0,0,0.3);
}

.item-img-size {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* mantiene proporción. cover hace que sea mas grande */
  object-position: center;
}

/* Used for header in listing page */
.soft-grey-color {
    background-color: #151515;
}

.small-font {
    font-size: 16px;
}

.card-item-desc {
    display: flex;
    flex-direction: column;
    padding: 20px 15px;
    flex: 1;
}

.card-item-title {
    font-size: 14pt;
    text-align: center;
    min-height: 48px;        /* 👈 reserva espacio para 2 líneas */
    display: flex;
    align-items: flex-start; /* 👈 arranca arriba */
    justify-content: center;
}

.card-item-price {
    font-size: 17pt;
    margin-top: auto;   /* 👈 empuja el precio hacia abajo */
    text-align: center;
}

/* END Listing page */

.outside {
    margin-top: 2%;
    margin-bottom: 2%;
}


.carousel-item {
    height: 50vh;
    min-height: 280px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.portfolio-item {
    margin-bottom: 30px;
}

a.btn-buy {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;

    text-decoration: none;
    color: initial;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.btn-buy, .btn-buy:visited {
    background: linear-gradient(135deg, #1e88ff, #3aa0ff);
    color: white !important;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    padding: 14px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 14px rgba(30,136,255,0.25);
    width: 100%;
    font-size: 18px;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30,136,255,0.35);
    background: linear-gradient(135deg, #2196f3, #4dabff);
}

.btn-buy:active {
    transform: translateY(0px);
    box-shadow: 0 4px 10px rgba(30,136,255,0.25);
}

.btn-buy:disabled {
    background: #1a1a1a !important;
    color: #555 !important;
    box-shadow: none;
    cursor: not-allowed;
}

.centered-div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.list-group-item  {
    color: #272727 !important;
    background-color: #272727 !important;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu a::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 6px;
    top: .8em;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem;
}

.footer  {
    color: #fff !important;
    text-decoration-color: #fff !important;
    background-color: #000 !important;
}

.cropped {
    width: 90%; /* width of container */
    max-height: 800px; /* height of container */
    overflow: hidden;
}

.cropped img {
    margin: -35% 0px 0px -25%;
}

/* CART USES */

.trash-button {
    display: flex;
    align-items: center;
    float: right;
    width: auto;
    justify-content: center;
}

.trash {
    opacity: 0.8;
    color: #888;
    font-size: 18px;
    transition: 0.2s;
}

.trash:hover {
    color: #ff4d4d;
    opacity: 1;
}

.cart-container {
    background: #111;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 20px;
}

.product-meta {
    font-size: 13px;
    color: #888;
    margin-top: 6px;
}

.cart-cropped {
    width: 200px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f0f0f;
    border-radius: 8px;
    overflow: hidden;
}

.cart-cropped img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin: 0;
}

.delete-cart-btn {
    font-size: 14px;
    color: #777 !important;
    transition: 0.2s;
}

.delete-cart-btn:hover {
    color: #ff4d4d !important;
}

.description-box {
    text-align: left;
    padding-left: 30px;
    background: #111;
    box-shadow: 0 4px 18px rgba(0,0,0,0.35);
    border: none;
    border-radius: 6px;
    padding: 25px;
}

.price-title {
    color: #aaa !important;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.price-divider {
    height: 1px;
    background: #222;
    margin: 15px 0 20px 0;
}



.price-title p {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
}

.price {
    color: #fff;
}

.category-item {
  display: flex;
  align-items: center;     /* centra verticalmente el número */
  width: 100%;
  padding: 12px 16px;
}

.category-text {
  flex: 1;                 /* ocupa todo el espacio disponible */
  text-align: center;      /* centra el texto */
}

.category-item .badge {
  flex-shrink: 0;          /* evita que el número se comprima */
  margin-left: 10px;
}

.category-item:hover {
  background-color: #111;
}

/* CART */
.each-item-cart {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 14px 0;
}

.cart-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

.cart-name {
    padding-top: 10px;
    font-size: 20px;
    text-align: left;
}

.cart-price {
    padding-top: 10px;
    font-size: 20px;
    text-align: right;
}

.cart-subprice {
    padding-top: 10px;
    color: #777;
    display: inline-block;
}

.cart-quantity {
    width: 70px;
    height: 40px;
    text-align: center;
    background: #151515;
    border: 1px solid #2a2a2a;
    color: #fff;
    border-radius: 6px;
}

.final-price-cart {
    position: sticky;
    top: 80px;
    background: #111;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #222;
}

.final-price-cart input[type="text"],
.final-price-cart input[type="email"] {
    background: #101010;
    border: 1px solid #2a2a2a;
    color: white;
    border-radius: 6px;
    padding: 8px;
    width: 100%;
}

.final-price-cart label {
    color: #aaa;
    font-size: 14px;
}

.final-price-cart input[type="radio"] {
    accent-color: #1e88ff;
}

.final-price {
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.checkout-card {
    background: #151515;
    border: 1px solid #262626;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 18px;
}

.checks {
    text-align: left;
}

.user-info {
    margin-left: 5%;
}


.overlay-cart {
    background-color: rgba(0, 0, 0, .3);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
}

.overlay-cart.active {
    visibility: visible;
}

.popup-cart {
    background-color: #f8f8f8;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, .3);
    border-radius: 3px;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transform: scale(0.7);
    transition: .3s ease all;
    width: 80%;
    height: 80%;
    overflow: auto
}

.checkout-block {
    padding: 2% 5% 2% 5%;
    margin-top: 0;
    margin-bottom: 2%;
}

.payment-bank {
    padding-top: 3%;
    display: flex;
}

.payment-mp {
    padding-top: 3%;
    display: none;
}

.payment-mp-button {
    display: flex;
    justify-content: center;
    padding-bottom: 3%;
}

.payment-deposit {
    padding-top: 3%;
    display: none;
}

.payment-mp-with-status {
    text-align: center;
    padding-top: 3%;
    display: none;
}

.finalize-buy {
    display: inline;
}

.mp-button {
    background-color: #009ee3;
    color: #fff;
    display: inline-block;
    width: auto;
    min-width: 7.88889em;
    font-family: Proxima Nova, -apple-system, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;
    font-weight: 400;
    text-align: center;
    border-radius: 4px;
    padding: 7px 16px;
    -webkit-transition: .18s ease-out;
    transition: .18s ease-out;
    -webkit-transition-property: background, color;
    transition-property: background, color;
    -webkit-font-smoothing: antialiased;
}

.mp-button--filled {
    cursor: pointer;
}

.mp-button:hover {
    background-color: #008DCA;
}

.combobox {
    width: 90%;
    background-color: #E7E7E7;
    border: 0;
    outline: 1px solid #E7E7E7;
    outline-offset: -1px;
}

.combobox:hover {
    background-color: #DEDEDE;
}

.filters-style {
    background-color: #151515;
}

.filters-title {
  border-bottom: 1px solid #222;
  padding-bottom: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #777;
  margin-bottom: 8px;
  cursor: default;
}

/* =========================
   MODAL SUCCESS - DARK STYLE
========================= */

#successModal .modal-content {
    background: #151515;
    border: 1px solid #262626;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    color: #fff;
}

#successModal .modal-header {
    border-bottom: 1px solid #222;
    padding: 20px 24px;
}

#successModal .modal-title {
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#successModal .modal-body {
    padding: 25px 30px;
}

#successModal hr {
    background: #222;
    opacity: 1;
}

#successModal .modal-footer {
    border-top: 1px solid #222;
}

/* Cerrar */
#successModal .close {
    color: #aaa;
    opacity: 1;
    transition: 0.2s;
}

#successModal .close:hover {
    color: #fff;
}

/* Bloques de pago */
#successModal .payment-bank,
#successModal .payment-mp,
#successModal .payment-deposit {
    background: #111;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

/* Texto secundario */
#successModal p {
    color: #ccc;
}

#successModal strong {
    color: #fff;
}

/* Totales */
#successModal .row p {
    margin-bottom: 8px;
}

/* Total final destacado */
#successModal #final-cart-price-with-discount {
    font-weight: 700;
    font-size: 20px;
    color: #1e88ff;
}

#successModal .modal-content {
    transform: scale(0.95);
    opacity: 0;
    transition: 0.3s ease;
}

#successModal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

#successModal .payment-mp .col-md-12:last-child {
    display: flex;
    justify-content: center;
}

#successModal .payment-mp .mp-button {
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 8px;
    transition: 0.25s ease;
}

#successModal .payment-mp .mp-button:hover {
    transform: scale(1.04);
}

.navbar-brand img {
    transition: 0.25s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* ================= NAVBAR PRO ================= */

.logo-left {
    position: absolute;
    left: 20px;
}

.logo-left img {
    height: 40px;
    transition: 0.25s ease;
}

.logo-left img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.nav-centered {
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-right {
    position: absolute;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Carrito */
.cart-icon {
    position: relative;
    font-size: 18px;
    color: white;
    transition: 0.2s;
}

.cart-icon:hover {
    color: #1e88ff;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #1e88ff;
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 20px;
}

/* Buscador moderno */
.search-form {
    position: relative;
}

.search-form input {
    background: #151515;
    border: 1px solid #2a2a2a;
    color: white;
    padding: 6px 12px 6px 34px;
    border-radius: 20px;
    font-size: 14px;
    transition: 0.25s;
    width: 160px;
}

.search-form input:focus {
    outline: none;
    border-color: #1e88ff;
    width: 200px;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-size: 13px;
}

/* Blur al hacer scroll */
.custom-bar.scrolled {
    backdrop-filter: blur(10px);
    background: rgba(17,17,17,0.85);
    transition: 0.3s;
}

.cart-icon.bump {
    animation: bump 0.3s ease;
}

@keyframes bump {
    50% { transform: scale(1.2); }
}

/* ================= DROPDOWN DARK FIX ================= */

.dropdown-menu {
    background-color: #111 !important;
    border: 1px solid #222 !important;
}

.dropdown-item {
    color: #fff !important;
    background-color: #111 !important;
    transition: 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #1a1a1a !important;
    color: #1e88ff !important;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #1e88ff !important;
    color: #fff !important;
}

/* MOBILE NAV FIX */
@media (max-width: 767.98px) {

    .navbar-brand img {
        height: 32px;
    }

    .navbar-toggler {
        border: none;
    }

    .navbar-collapse {
        text-align: center;
        background: #111;
        padding: 20px 0;
    }

    .cart-icon {
        font-size: 20px;
    }

    .search-form input {
        width: 100%;
    }

}

.desktop-right > *:not(:last-child) {
    margin-right: 20px;
}

/* CHECKOUT */

.checkout-message {
    padding: 100px 20px;
}

.checkout-card {
    background: #111;
    padding: 60px 20px;
    border-radius: 8px;
    text-align: center;
}

.checkout-card h1 {
    color: #fff;
    font-weight: bold;
}

.checkout-card p {
    color: #ccc;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    font-size: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}