/***********************GENERAL************************************/
/*
COLORES:
CARNE: #fa9c7b;
DORADO: #c8a165;
ROSA: #a7b7b;
AZUL: #7bbebd;
MORADO: #9786ae;
*/
@font-face {
	font-family: montserrat;
	src: url(../fonts/Montserrat-VariableFont_wght.ttf);
}
@font-face {
    font-family: calistoga;
    src: url(../fonts/Calistoga-Regular.ttf);
}

* {
	font-family: montserrat;
}
.special-font {
	font-family: calistoga;
    font-weight: 700;
    margin-bottom: 15px;
}
a {
    color: #fa9c7b;
    text-decoration: none;
}
a:hover {
  color: #fa9c7b !important;
}
.nav-link:focus, .nav-link:hover {

}
.text-dark {
	color: #393939;
}
.nav-link {
	color: #393939;
    margin: 0 10px;
    text-transform: uppercase;
}
.dropdown-menu {
	min-width: 350px;
}
.dropdown-menu a.nav-link {
    font-size: 14px;
    padding-bottom: 5px;
}
.bg-danger {
	background-color: #fa7b7b !important;
}
.btn-success {
	background-color: #1cc373;
    border-color: #1cc373;
}
.bg-primary {
  background-color: #fa9c7b !important;
}
.btn-primary {
	background-color: #fa9c7b;
    border-color: #fa9c7b;
}
.btn-primary:hover{
  background-color: #ec8b67;
  border-color: #fa9c7b;
}
.nav-link.active,
.dropdown-item.active, .dropdown-item:active {
	background: #fa9c7b;
	color: white !important;
}
.text-primary {
	color: #ec8b67 !important;
}
.alert-info {
	background-color: #ed8b6761;
    border-color: #ec8b67;
}
#navbarSupportedContent {
	align-self: end;
}
footer .title-wrap {
	display: flex;
	justify-content: start;
}
footer .title-wrap .title {
	text-transform: uppercase;
    font-size: 20px;
    font-weight: 700;
    color: #393939;

    text-align: center;
	margin-bottom: 20px;
	padding-bottom: 5px;
	position: relative;
}
footer .title-wrap .title::after {
	content: '';
	position: absolute;
    bottom: 0;
	left: 0;
	width: 50%;
	height: 1px;
    border-bottom: 4px #fa9c7b solid;
}
footer .menu-wrap ul {
    list-style: circle;
    padding: 0;
    padding-left: 15px;
}
footer .menu-wrap ul li {
}
footer .menu-wrap ul li a {
	padding: 0;
    margin: 0;
}
.breadcrumb a {
	color: #393939;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
}
.breadcrumb-item.active {
	color: #ec8b67 !important;
    text-transform: uppercase;
	font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
}
.contacto .contacto-wrap {
    background: white;
    box-shadow: 2px 2px 10px #00000033;
    padding: 25px 70px;
}
.contacto .contacto-wrap input[type="text"]{
    border: none;
    border-bottom: 3px #fa9c7b solid;
    margin-bottom: 15px;
    border-radius: 0;
}
#carousel {
	position: relative;
}
.carrito nav.navbar {
	display: none;
}
/**************************HOME************************************/
#custom-products .productos-ultimos .title-wrap,
.productos-sales .title-wrap,
.productos-best .title-wrap,
.brand-slider .title-wrap {
	display: flex;
	justify-content: center;
}
#custom-products .productos-ultimos .title-wrap .productos-title,
.productos-sales .title-wrap .productos-title,
.productos-best .title-wrap .productos-title,
.brand-slider .title-wrap .title {
    text-align: center;
	margin-bottom: 50px;
	padding-bottom: 20px;
	position: relative;
	font-weight: 700;
}
.productos-sales .title-wrap .productos-title,
.productos-best .title-wrap .productos-title,
.brand-slider .title-wrap .title{
    margin-top: 100px;
}
#custom-products .productos-ultimos .title-wrap .productos-title::after {
	content: '';
	position: absolute;
    bottom: 0;
	left: 25%;
	width: 50%;
	height: 1px;
    border-bottom: 4px #c8a165 dashed;
}
.productos-best .title-wrap .productos-title::after {
	content: '';
	position: absolute;
    bottom: 0;
	left: 25%;
	width: 50%;
	height: 1px;
    border-bottom: 4px #9786ae solid;
}
.brand-slider .title-wrap .title::after {
	content: '';
	position: absolute;
    bottom: 0;
	left: 25%;
	width: 50%;
	height: 1px;
    border-bottom: 4px #9786ae solid;
}
.productos-sales .title-wrap .productos-title::after {
    height: 29px;
    width: 50%;
    background: linear-gradient(135deg, white 35%, transparent 25%) -25px 0, linear-gradient(225deg, white 35%, transparent 25%) -25px 0, linear-gradient(315deg, white 35%, transparent 25%), linear-gradient(45deg, white 35%, transparent 25%);
    background-color: #fa7b7b;
    display: block;
    content: "";
    background-size: 16px 31px;
    background-repeat: repeat-x;
	position: absolute;
	bottom: 0;
    left: 25%;
}
.productos-sales .title-wrap .productos-title::after {
    bottom: -10px;
}
#instagram .title-wrap .subtitle h3 {
    position: relative;
}
#instagram .title-wrap .subtitle h3::after {

}
.image-text-section {
	margin: 50px 0;
}
.image-text-section .title {
	font-size: 30px;
    font-weight: 700;
    line-height: 19px;
}
.image-text-section .subtitle {
	font-size: 19px;
    font-weight: 500;
	position: relative;
    padding-bottom: 25px;
	margin-bottom: 30px;
}
.image-text-section .subtitle::after,
#reparacion .image-text-section .subtitle::after{
	content: url('https://mariamaquinasdecoser.com/files/assets/20240323185658_Pespunte-doble-verde.png');
	position: absolute;
    bottom: 0;
	left: 0;
}
#reparacion .image-text-section{
	flex-direction: row-reverse;
}
#instagram .subtitle::after {
	content: url('https://mariamaquinasdecoser.com/files/assets/20240401095348_Pespunte-zig-zag-naranja.png');
}
/***********************ARCHIVE************************************/
.catalogue .sidebar-item .list-group,
.catalogue .sidebar-item .list-group-item{
	border: none !important;
}
.catalogue .sidebar-item .list-group-item a{
	color: black;
	font-size: 14px;
}
.catalogue .sidebar-title {
	font-size: 16px;
	color: #333333;
	font-weight: 700;
}
.catalogue .title-wrap{
	display: flex;
    position: relative;
    justify-content: center;
}
.catalogue .title-wrap h1 {
	font-size: 28px;
	font-weight: 600;
    text-align: center;
	position: relative;
    padding-bottom: 20px;
}
.catalogue .title-wrap h1::after {
	content: '';
	position: absolute;
    bottom: 0;
	left: 25%;
	width: 50%;
	height: 1px;
    border-bottom: 4px #fa9c7b dashed;
}
/***********************ARCHIVE ITEM*******************************/
.product-item {
	border: 0;
	padding: 10px;
    box-shadow: 0 0 0 0 transparent;
    transition: all ease 1s;
}
.product-item:hover {
	box-shadow: 0px 14px 13px 5px #0000001a;
    transition: all ease 1s;
}
.product-item .card-img{
    box-shadow: 0px 0px 10px 5px #0000001a;
    transition: all ease 2s;
}
.product-item:hover .card-img {
	box-shadow: 0 0 0 0 transparent;
    transition: all ease 0s;
}
.product-item .card-body{

}
.product-item .card-body .name{
	font-size: 16px;
  	color: #393939;
}
.product-item .card-body .name a{
	font-size: 16px !important;
  	color: #393939 !important;
}
.product-item .card-body .price-stars {

}
.product-item .card-body .price-stars .price{

}
.product-item .card-body .price-stars .price .money{
	color: #c8a165;
}
.productos-sales .product-item .card-body .price-stars .price .money {
	color: #fa7b7b !important;
}
.productos-best .product-item .card-body .price-stars .price .money {
  color: #9786ae !important;
}
.product-item .card-body .price-stars .stars .star {
	color: #FFEB3B !important;
	margin-left: 2px;
}
.product-item .card-body .price-stars .stars .star svg{
    height: 16px !important;
    width: 16px !important;
}
/************************DETAIL************************************/
.product-detail h1 {
	font-size: 30px;
    font-weight: 600;
}
.product-detail .product-price {
	display: flex;
    /*flex-direction: column;*/
}
.product-detail .product-price del {
	font-size: 36px;
    font-weight: 400 !important;
}
.product-detail .product-price ins {
	font-size: 36px !important;
    font-weight: 700 !important;
    text-decoration: none;
}
.product-detail #tallas .form-check {
	padding: 0 !important;
}
.product-detail .cart-plus-minus-box {
	height: 37px;
    width: 50px;
}
.product-detail .nav-link {
	border: none;
    font-weight: 500;
    color: #777777;
}
.product-detail .nav-link.active{
 	border: none;
    border-bottom: 3px #fa9c7b solid;
    padding: 10px 0;
    margin-left: 0;
    color: black;
    font-weight: 600;
    font-size: 16px;
}
.product-detail .tab-content {

}
.product-detail .cart-plus-minus-box {
	border: none;
    border-bottom: 1px silver solid;
}
.product-detail .ltn__social-media {
	margin-bottom: 25px;
}
.product-detail .ltn__social-media .list-group-item {
	border: none;
	padding: 5px;
}

/***********************REPARACION************************************/
#icon-section h3{
	font-size: 18px;
	font-weight: 700;
	color: #393939;
    text-align: center;
}
#icon-section .icontext-container p {
	font-size: 14px;
    color: #393939;
    text-align: center;
}
#icon-section .icontext-container > div {
	display: flex;
	justify-content: center;
}
#icon-section .icontext-container {
	margin-bottom: 25px;
}
#google_reviews {
	background: white;
	padding-top: 50px;
	padding-bottom: 50px;
}
/***********************DEVICES************************************/
@media (max-width: 767px) {
	.image-text-section .subtitle::after {
		left: 38% !important;
    }
}


/*********************** BLACK FRIDAY 2026 - MARÍA MÁQUINAS ************************************/
.bf-top-ticker {
    background: linear-gradient(90deg, #111111 0%, #1f1a17 50%, #111111 100%);
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #d4af37;
}

.maria-black-friday-hero {
    background: radial-gradient(circle at 10% 20%, rgba(250, 156, 123, 0.08) 0%, rgba(255, 255, 255, 1) 90%);
}

.bf-poster-frame {
    max-width: 440px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bf-poster-frame:hover {
    transform: translateY(-4px);
}

.bf-main-poster {
    border: 3px solid #d4af37;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.bf-glow-border {
    border: 3px solid #d4af37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}

.bf-badge-pill {
    display: inline-flex;
    align-items: center;
    background: #111111;
    color: #ffc107;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid #d4af37;
}

.bf-fire {
    margin-right: 6px;
    font-size: 14px;
}

.bf-main-title {
    font-family: calistoga, montserrat, sans-serif;
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.5px;
}

.bf-subtitle {
    color: #666666;
    font-size: 16px;
}

.bf-separator {
    width: 60px;
    height: 4px;
    background: #d4af37;
    border-radius: 2px;
}

.bf-quick-pill {
    background: #ffffff;
    transition: all 0.25s ease;
}

.bf-quick-pill:hover {
    background: #fff5f2;
    border-color: #fa9c7b !important;
    transform: translateY(-2px);
}

/* CARDS DE OFERTAS BLACK FRIDAY */
.bf-deal-card {
    background: #ffffff;
    border: 2px solid #eaeaea;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.bf-deal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12);
    border-color: #d4af37;
}

.bf-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #e62117;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 50px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(230, 33, 23, 0.35);
}

.bf-card-image-wrap {
    overflow: hidden;
    background: #000000;
}

.bf-deal-img {
    transition: transform 0.4s ease;
    max-height: 420px;
    object-fit: contain;
    width: 100%;
}

.bf-deal-card:hover .bf-deal-img {
    transform: scale(1.03);
}

.bf-card-footer {
    padding: 20px;
    background: #fafafa;
    border-top: 1px solid #eeeeee;
}

.bf-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.bf-old-price {
    font-size: 15px;
    color: #888888;
    text-decoration: line-through;
    font-weight: 600;
}

.bf-save-tag {
    font-size: 12px;
    font-weight: 700;
    color: #155724;
    background-color: #d4edda;
    border-radius: 4px;
    padding: 2px 8px;
}

.bf-new-price-wrap {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 4px;
}

.bf-price-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #111111;
    text-transform: uppercase;
}

.bf-new-price {
    font-size: 28px;
    font-weight: 900;
    color: #e62117;
}

.bf-price-tag-highlight {
    font-size: 30px;
    font-weight: 900;
    color: #e62117;
}

.bf-btn-cta {
    background: #111111;
    color: #ffffff !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    border-radius: 50px;
    border: 2px solid #d4af37;
    padding: 10px 20px;
    transition: all 0.25s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.bf-btn-cta:hover {
    background: #d4af37;
    color: #111111 !important;
    border-color: #d4af37;
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}

.bf-guarantee-item {
    transition: transform 0.2s ease;
}

.bf-guarantee-item:hover {
    transform: translateY(-2px);
}

.smaller {
    font-size: 11px;
}

/* MINI CARDS EN EL HERO */
.bf-mini-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 10px;
    transition: all 0.25s ease;
}

.bf-mini-card:hover {
    border-color: #d4af37;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.bf-mini-img-wrap {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.bf-mini-img-wrap img {
    width: 100%;
    height: auto;
}

.bf-mini-title {
    font-weight: 700;
    font-size: 13px;
    color: #222222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bf-mini-price {
    font-weight: 900;
    font-size: 16px;
    color: #e62117;
}

/* SECCIÓN OFERTAS Y DETALLES BLACK FRIDAY */
.maria-black-friday-deals {
    background: #fbfbfb;
    position: relative;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.bf-hero-main-banner {
    transition: transform 0.3s ease;
}

.bf-hero-main-banner:hover {
    transform: translateY(-4px);
}

.bf-hero-title {
    font-family: calistoga, montserrat, sans-serif;
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.5px;
}

.bf-hero-desc {
    color: #666666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.bf-guarantee-icon {
    font-size: 28px;
    line-height: 1;
}

.bf-guarantee-text {
    font-weight: 700;
    font-size: 13px;
    color: #222222;
}

@media (max-width: 767px) {
    .bf-main-poster {
        max-width: 300px;
        margin-bottom: 20px;
    }
    .bf-new-price {
        font-size: 24px;
    }
    .bf-deal-img {
        max-height: 300px;
    }
}

/* ==========================================================================
   MARIA THEME: HEADER NAVIGATION CON PESPUNTE ZIGZAG ROSA REBAJAS (#fa7b7b)
   OPTIMIZADO PARA ALBERGAR MÁS ENLACES CON HOLGURA
   ========================================================================== */
.maria-nav-links .nav-link {
    font-size: 0.81rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
    padding: 0.5rem 0.52rem !important;
    white-space: nowrap !important;
}

@media (min-width: 1300px) {
    .maria-nav-links .nav-link {
        font-size: 0.84rem !important;
        padding: 0.5rem 0.65rem !important;
        letter-spacing: 0.25px !important;
    }
}

.maria-nav-links .nav-link:hover,
.maria-nav-links .nav-link.active,
.maria-nav-links .nav-item.active > .nav-link,
.maria-nav-links .nav-item.show > .nav-link {
    color: #fa7b7b !important;
}

@media (min-width: 992px) {
    .maria-nav-links > .nav-item:not(.dropdown):not(:has(.search-icon)):not(:has(.user-icon)):not(:has(.cart-icon)) > .nav-link::after,
    .maria-nav-links > .nav-item.dropdown > .nav-link::after {
        content: '';
        position: absolute;
        bottom: 2px;
        left: 50%;
        width: 0;
        height: 7px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 6' width='12' height='6'%3E%3Cpath d='M0 5 L3 1 L6 5 L9 1 L12 5' fill='none' stroke='%23fa7b7b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: repeat-x;
        background-size: 11px 5.5px;
        background-position: center bottom;
        transition: width 0.22s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.22s ease;
        transform: translateX(-50%);
        opacity: 0;
        pointer-events: none;
    }

    .maria-nav-links > .nav-item:hover > .nav-link::after,
    .maria-nav-links > .nav-item > .nav-link.active::after,
    .maria-nav-links > .nav-item.active > .nav-link::after,
    .maria-nav-links > .nav-item.show > .nav-link::after {
        width: calc(100% - 0.9rem);
        opacity: 1;
    }

    .maria-nav-links .dropdown-menu {
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        border-radius: 12px !important;
        box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.1), 0 5px 15px -5px rgba(0, 0, 0, 0.04) !important;
        padding: 8px !important;
        animation: mariaDropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    @keyframes mariaDropdownFade {
        from { opacity: 0; transform: translateY(6px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .maria-nav-links .dropdown-item {
        font-size: 0.88rem !important;
        font-weight: 500 !important;
        color: #343a40 !important;
        padding: 7px 14px !important;
        border-radius: 8px !important;
        transition: all 0.18s ease !important;
    }
    .maria-nav-links .dropdown-item:hover,
    .maria-nav-links .dropdown-item.active {
        background-color: #fff5f5 !important;
        color: #fa7b7b !important;
        transform: translateX(4px);
    }
}

.maria-nav-links .search-icon,
.maria-nav-links .user-icon,
.maria-nav-links .cart-icon {
    width: 34px !important;
    height: 34px !important;
}

.maria-nav-links .search-icon:hover,
.maria-nav-links .user-icon:hover,
.maria-nav-links .cart-icon:hover {
    background-color: #fff0f0;
    color: #fa7b7b !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   MARIA THEME: ESPACIADO DE RESPIRO PROFESIONAL BAJO EL HEADER
   ========================================================================== */
body:not(.home) #main,
.catalogue,
.archive-page,
.product-detail,
.checkout-page,
body:not(.home) #main > .container,
body:not(.home) #main > .container-fluid {
    padding-top: 2rem !important;
}

@media (min-width: 992px) {
    body:not(.home) #main,
    .catalogue,
    .archive-page,
    .product-detail,
    .checkout-page,
    body:not(.home) #main > .container,
    body:not(.home) #main > .container-fluid {
        padding-top: 2.75rem !important;
    }
}

/* ==========================================================================
   MARIA THEME: REDISEÑO PROFESIONAL (HOME, ARCHIVO, PRODUCTO & CHECKOUT)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HOME: TIPOGRAFÍA EDITORIAL Y JERARQUÍA
   -------------------------------------------------------------------------- */
.home-brand-claim,
#main > .container > h2,
#main h2:not(.bf-main-title):not(.accordion-header) {
    font-size: 1.85rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    letter-spacing: -0.3px;
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 16px;
}

#main > .container > h2::after,
.home-brand-claim::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 7px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 6' width='12' height='6'%3E%3Cpath d='M0 5 L3 1 L6 5 L9 1 L12 5' fill='none' stroke='%23fa7b7b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 12px 6px;
}

/* --------------------------------------------------------------------------
   2. ARCHIVO / LISTADO DE PRODUCTOS (/shop/category/...)
   -------------------------------------------------------------------------- */
.catalogue, .archive-page {
    background-color: #fafbfc;
    padding-top: 1.5rem;
    padding-bottom: 3.5rem;
}

.catalogue .title-wrap h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #18181b;
    letter-spacing: -0.3px;
    text-align: left;
    padding-bottom: 0;
    margin-bottom: 1.5rem;
}

.catalogue .title-wrap h1::after {
    display: none; /* Eliminar línea dashed antigua desalineada */
}

/* Botón de Filtros refinado */
.action-bar-inner .btn,
.catalogue .btn-outline-secondary,
.catalogue .btn-filter {
    border-radius: 50px !important;
    border: 1px solid #d1d5db !important;
    background: #ffffff !important;
    color: #374151 !important;
    font-weight: 600 !important;
    font-size: 0.86rem !important;
    padding: 7px 18px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease !important;
}

.action-bar-inner .btn:hover,
.catalogue .btn-outline-secondary:hover {
    border-color: #fa7b7b !important;
    color: #fa7b7b !important;
    background: #fff5f5 !important;
    transform: translateY(-1px);
}

/* Breadcrumbs elegantes */
.breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    font-size: 0.82rem !important;
}
.breadcrumb a {
    color: #6b7280 !important;
    text-decoration: none !important;
    transition: color 0.18s ease;
}
.breadcrumb a:hover {
    color: #fa7b7b !important;
}
.breadcrumb-item.active {
    color: #fa7b7b !important;
    font-weight: 600 !important;
}

/* Tarjetas de Producto Modernas */
.product-item {
    background: #ffffff !important;
    border: 1px solid #eaedf0 !important;
    border-radius: 16px !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    transition: transform 0.28s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.28s ease, border-color 0.28s ease !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(250, 123, 123, 0.4) !important;
}

/* Contenedor de Imagen de la tarjeta */
.product-item .card-img {
    background: #fcfcfd !important;
    padding: 24px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 230px !important;
    box-shadow: none !important;
    border-bottom: 1px solid #f3f4f6 !important;
    position: relative;
    overflow: hidden;
}

.product-item .card-img img,
.product-item .card-img-hover img {
    max-height: 185px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    transition: transform 0.35s ease !important;
}

.product-item:hover .card-img img {
    transform: scale(1.05) !important;
}

/* Cuerpo de la tarjeta */
.product-item .card-body {
    padding: 16px 18px 20px !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-item .category a {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #9ca3af !important;
}

.product-item .category a:hover {
    color: #fa7b7b !important;
}

.product-item .name a {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    line-height: 1.4 !important;
    margin-top: 4px !important;
    margin-bottom: 10px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.7rem;
    transition: color 0.18s ease !important;
}

.product-item .name a:hover {
    color: #fa7b7b !important;
}

.product-item .price .money {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #111827 !important;
    letter-spacing: -0.3px !important;
}

/* Badge de Agotado en la tarjeta */
.product-item .agotado-label,
.product-item span:contains("AGOTADO"),
.product-item div:has(> [data-stock="0"]) {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #64748b !important;
    background: #f1f5f9 !important;
    padding: 3px 10px !important;
    border-radius: 50px !important;
    display: inline-block !important;
    margin-top: 6px !important;
    border: 1px solid #e2e8f0 !important;
}

/* --------------------------------------------------------------------------
   3. FICHA DE PRODUCTO (/product/product-...)
   -------------------------------------------------------------------------- */
.product-detail {
    padding-top: 1.5rem;
    padding-bottom: 4rem;
}

/* Enmarcado de galería principal */
.product-detail .images .mainImage {
    background: #ffffff;
    border: 1px solid #eaedf0;
    border-radius: 18px;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    min-height: 380px;
}

.product-detail #mainImage {
    max-height: 480px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-detail .images .thumbs figure {
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    overflow: hidden;
    padding: 2px;
    background: #ffffff;
    transition: all 0.2s ease;
    cursor: pointer;
}

.product-detail .images .thumbs figure:hover,
.product-detail .images .thumbs figure.active {
    border-color: #fa7b7b !important;
    box-shadow: 0 3px 10px rgba(250, 123, 123, 0.25) !important;
    transform: translateY(-2px);
}

.product-detail .images .thumbs figure img {
    border-radius: 6px;
    height: 70px !important;
    width: 100% !important;
    object-fit: contain;
}

/* Tipografía de la Ficha */
.product-detail h1 {
    font-size: 2.15rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    letter-spacing: -0.4px !important;
    line-height: 1.25 !important;
    margin-bottom: 0.65rem !important;
}

.product-detail .product-price {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: #111827 !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 1.25rem !important;
}

.product-detail .product-price ins {
    color: #fa7b7b !important;
}

/* Tarjeta Banner "Contacta con nosotros para solicitarlo" */
#mensaje_agotado {
    background: linear-gradient(135deg, #fff7f5 0%, #fffbfb 100%) !important;
    border: 1.5px solid #fed7cc !important;
    border-radius: 14px !important;
    padding: 16px 20px !important;
    color: #b8381d !important;
    box-shadow: 0 4px 15px rgba(250, 123, 123, 0.08) !important;
    margin: 1.2rem 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#mensaje_agotado b {
    font-size: 0.95rem !important;
    letter-spacing: 0.4px !important;
    font-weight: 700 !important;
    color: #b8381d !important;
}

#mensaje_agotado::before {
    content: '🧵';
    font-size: 1.2rem;
    display: inline-block;
}

/* Selector de Cantidad */
.pro-qty.cart-plus-minus {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #d1d5db !important;
    border-radius: 10px !important;
    overflow: hidden;
    height: 48px;
    background: #ffffff;
    margin-right: 12px;
}

.product-detail .cart-plus-minus-box {
    border: none !important;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    width: 55px !important;
    height: 100% !important;
    color: #111827;
}

/* Botones de Acción (Comprar / Agotado) */
.product-detail .theme-btn-1.btn-success,
.product-detail .theme-btn-1.btn-primary {
    background-color: #fa7b7b !important;
    border-color: #fa7b7b !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    height: 48px !important;
    padding: 0 28px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 15px rgba(250, 123, 123, 0.3) !important;
    transition: all 0.25s ease !important;
}

.product-detail .theme-btn-1.btn-success:hover,
.product-detail .theme-btn-1.btn-primary:hover {
    background-color: #e66b6b !important;
    border-color: #e66b6b !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 123, 123, 0.45) !important;
}

.product-detail .theme-btn-1.btn-danger {
    background-color: #94a3b8 !important;
    border-color: #94a3b8 !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    height: 48px !important;
    padding: 0 28px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    opacity: 0.9;
}

/* Pestañas de Descripción / Detalles */
.product-detail .nav-tabs {
    border-bottom: 2px solid #f3f4f6;
    margin-top: 2.5rem;
    gap: 15px;
}

.product-detail .nav-link {
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: #6b7280 !important;
    border: none !important;
    padding: 10px 4px !important;
    position: relative;
}

.product-detail .nav-link.active {
    color: #fa7b7b !important;
    background: transparent !important;
}

.product-detail .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #fa7b7b;
    border-radius: 3px;
}

.product-detail .tab-content {
    padding-top: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #374151;
}

/* --------------------------------------------------------------------------
   4. CHECKOUT UNIFICADO (/checkout) - MINIMALISTA, LIMPIO Y ACCESIBLE
   -------------------------------------------------------------------------- */
.checkout-page {
    background-color: #f8fafc;
    min-height: 100vh;
    padding-top: 2.5rem !important;
    padding-bottom: 5rem !important;
}

/* Tarjetas contenedoras de secciones del Checkout - Estilo Minimalista */
.checkout-page .col-lg-7 > form,
.checkout-page .col-lg-7 > .row,
.checkout-page .card {
    background: #ffffff !important;
    border: 1px solid #eaedf0 !important;
    border-radius: 16px !important;
    padding: 24px 28px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
    margin-bottom: 22px !important;
}

.checkout-page .card-header {
    background: transparent !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 0 0 12px 0 !important;
    margin-bottom: 16px !important;
}

.checkout-page .card-body {
    padding: 0 !important;
}

.checkout-page h3.text-dark {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    letter-spacing: -0.2px;
    border-bottom: 1.5px solid #f1f5f9;
    padding-bottom: 10px;
    margin-bottom: 16px;
}

.checkout-page .form-label {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    margin-bottom: 5px;
}

.checkout-page .form-control,
.checkout-page .form-select {
    height: 46px !important;
    border-radius: 10px !important;
    border: 1.5px solid #cbd5e1 !important;
    font-size: 0.92rem !important;
    padding: 9px 14px !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    background-image: none !important; /* Elimina checks verdes gigantes desalineados */
}

.checkout-page .form-control:focus,
.checkout-page .form-select:focus {
    border-color: #fa7b7b !important;
    box-shadow: 0 0 0 3px rgba(250, 123, 123, 0.16) !important;
}

/* Evitar checks invasivos que descuadran el input en el checkout */
.checkout-page .is-valid,
.checkout-page .was-validated .form-control:valid,
.checkout-page .was-validated .form-select:valid {
    background-image: none !important;
    border-color: #cbd5e1 !important;
    padding-right: 14px !important;
}

/* Columna Resumen del Carrito Lateral */
.checkout-page .col-lg-5 > div,
.checkout-page .card.border-0.shadow-sm,
#cart-summary {
    background: #ffffff !important;
    border: 1px solid #eaedf0 !important;
    border-radius: 18px !important;
    padding: 26px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03) !important;
    position: sticky;
    top: 90px;
}

.checkout-page h4,
.checkout-page .card-header h5 {
    font-size: 1.18rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

/* Corrección de Visibilidad del Cupón (Eliminar invisible text-light) */
.checkout-page #coupons h3,
.checkout-page #coupons .section-title,
.checkout-page .section-title.text-light,
.checkout-page h3.section-title,
.checkout-page #coupons .text-light {
    color: #1e293b !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.75rem !important;
    letter-spacing: 0.2px;
}

.checkout-page #coupon_code {
    color: #1e293b !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    font-size: 0.92rem !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.checkout-page #coupon_code::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}

.checkout-page #applyCouponBtn,
.checkout-page .input-group .btn {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-radius: 0 10px 10px 0 !important;
    background: #fa7b7b !important;
    border-color: #fa7b7b !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 0 20px !important;
    transition: all 0.2s ease !important;
}

.checkout-page #applyCouponBtn:hover,
.checkout-page .input-group .btn:hover {
    background: #e66b6b !important;
    border-color: #e66b6b !important;
    color: #ffffff !important;
}

/* Caja de Ayuda y Garantías en Checkout */
.checkout-page .help-block,
.checkout-page .border-top.pt-3.text-muted {
    background: #f8fafc;
    border: 1px dashed #cbd5e1 !important;
    border-radius: 12px;
    padding: 16px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #64748b;
}

/* Supresión de checkmarks verdes intrusivos en checkout */
.checkout-page .form-control.is-valid,
.checkout-page .was-validated .form-control:valid,
.checkout-page .form-select.is-valid,
.checkout-page .was-validated .form-select:valid {
    background-image: none !important;
    border-color: #cbd5e1 !important;
    box-shadow: none !important;
    padding-right: 0.75rem !important;
}

/* Espaciado del contenedor principal en páginas interiores */
#main.page-main,
.page-main {
    padding-top: 1.75rem !important;
    padding-bottom: 3rem !important;
}
@media (min-width: 992px) {
    #main.page-main,
    .page-main {
        padding-top: 2.5rem !important;
        padding-bottom: 4rem !important;
    }
}



