@charset "utf-8";
/* CSS Document */
/* POPUP HORARIO ESPECIAL */
.popup-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,0.5);justify-content:center;align-items:center;z-index:1000}.popup-content{background-color:white;padding:20px;border-radius:8px;box-shadow:0 4px 8px rgba(0,0,0,0.2);max-width:90%;margin:0 20px;text-align:center;position:relative}.popup-close{cursor:pointer;color:#555;font-size:24px;position:absolute;top:10px;right:15px;font-weight:bold}.close-button{margin-top:15px;padding:10px 20px;font-size:16px;color:white;background-color:#007bff;border:none;border-radius:4px;cursor:pointer}.close-button:hover{background-color:#0056b3}@media (max-width:600px){.popup-content{padding:15px;font-size:16px}.popup-close{font-size:28px;top:5px;right:10px}}
/* BotÃ³n de oferta (verde suave) */
.btn.btt_sale:before{background:#27ae60!important;z-index:-1;border-radius:4px;box-shadow:0 2px 6px rgba(0,0,0,.2)}.btn.btt_sale.active:before,.btn.btt_sale:active:before,.btn.btt_sale:focus:before,.btn.btt_sale:hover:before{background:#219150!important}.btn.btt_sale .tooltip-sale{position:absolute;bottom:100%;left:50%;transform:translateX(-50%) translateY(-10px);background:#219150;color:#fff;padding:3px 6px;border-radius:4px;font-size:12px;white-space:nowrap;opacity:0;visibility:hidden;transition:opacity .2s ease-in-out;pointer-events:none;z-index:10}.btn.btt_sale .tooltip-sale::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);border-width:5px;border-style:solid;border-color:#219150 transparent transparent}.btn.btt_sale:hover .tooltip-sale{opacity:1;visibility:visible}
/* Modificaciones Polymaker */
.subgroup-separator{margin-top:40px;padding-top:20px;border-top:2px dashed #ccc}.badge-overlay{margin-top:5px;padding:4px 0 0;text-align:center}.item-image+.badge-overlay{margin-bottom:8px}.badge-custom{display:inline-block;background:rgba(255,255,255,.85);color:#333;border-radius:6px;font-size:11px;padding:2px 6px;margin:2px 4px;font-weight:500;box-shadow:0 1px 2px rgba(0,0,0,.1)}
.product-thumb-info{position:relative}.sold-out-overlay{position:absolute;bottom:0;left:0;right:0;text-align:center;padding:6px;font-weight:700;font-size:14px;border-bottom-left-radius:6px;border-bottom-right-radius:6px;color:#fff;z-index:5}.sold-out-overlay.agotado{background:rgba(200,0,0,.7)}.sold-out-overlay.soon{background:rgba(0,90,255,.7)}.sold-out-overlay.available{background: rgba(0, 200, 0, 0.7)}.sold-out-overlay.backorder{background: rgba(255, 200, 0, 0.7)}
.search-mobile-icon {font-size: 30px !important;padding-left: 3px}
.search-wrapper-pc {
    position: relative;
    display: inline-block;
}

/* Campo de bÃºsqueda 10px mÃ¡s a la izquierda del icono */
.search-container-pc {
    position: absolute;
    right: calc(100% + 10px); /* mÃ¡s a la izquierda respecto al botÃ³n */
    top: 50%;
    transform: translateY(-50%);
    display: none;
    background: white;
    padding: 10px;
    width: 280px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 9999;
}

.search-container-pc input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #aaa;
    border-radius: 4px;
}

/* âŒ Eliminamos los estilos del contenedor de resultados */
.search-results-pc,
.search-results-pc div,
.search-results-pc div:hover {
    display: none !important;
}

/* SMARTPHONES */
.mobile-search-box {
    position: absolute;
    top: 60px; /* Ajusta segÃºn la altura de tu header */
    left: 0;
    width: 100%;
    background: #fff;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none;
    animation: slideDown 0.3s ease forwards;
}

.mobile-search-box input {
    width: 100%;
    padding: 8px;
    border: 1px solid #aaa;
    border-radius: 4px;
    font-size: 16px;
}

.mobile-search-results {
    margin-top: 8px;
    max-height: 200px;
    overflow-y: auto;
}

.mobile-search-results div {
    padding: 6px;
    cursor: pointer;
}

.mobile-search-results div:hover {
    background-color: #eee;
}
@media (max-width: 768px) {
  .search-results-section .product-item {
    width: 50% !important;
  }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.sold-out-overlay.on_request {
    background-color: #2196F3; /* Azul informativo */
    color: white;
}
/* IMG TO IMG */
/* CONTENEDOR: ya lo gestiona .responsive-1by1 */
/* NUEVO CONTENEDOR CUADRADO */
.square-image-container {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	position: relative;
}

/* Ya no uses absolute aquÃ­ */
.image-hover-wrapper {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

/* Mantiene las imÃ¡genes superpuestas y centradas */
.image-hover-wrapper img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	transition: opacity 0.4s ease-in-out;
	display: block;
}

.image-hover-wrapper img.primary-img {
	z-index: 1;
	opacity: 1;
}

.image-hover-wrapper img.secondary-img {
	z-index: 2;
	opacity: 0;
	pointer-events: none;
}
.has-secondary:hover img.secondary-img {
	opacity: 1;
}

.has-secondary:hover img.primary-img {
	opacity: 0;
}
/* CARRITO */
.cartbtt a {
  position: relative;
  display: inline-block;
  font-size: 16px;
  color: #fff;
  padding: 7px;
  line-height: 1;
}
.menu-extra .cartbtt a {
	font-size: inherit;
	padding: 0;
	display: block
}
.cartbtt .cart-count-desktop,
.cartbtt .cart-count-mobile {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(35%, -35%); /* ðŸ‘ˆ AJUSTA vertical/horizontal */
  background-color: #e53935;
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  pointer-events: none;
}

.menu-wrap.line .menu-items>li>a, .menu-wrap.line .menu-items>li>a:active, .menu-wrap.line .menu-items>li>a:focus, .menu-wrap.line .menu-items>li>a:hover {
	color: inherit;
}
.menu-extra .cartbtt .cart-count-desktop {
	right: -5px;
}
.shop-menu .menu-extra-items li {
    font-size: 22px;
}
.shop-menu .menu-extra-items li.myaccount {
	margin-top:0px;
    line-height: 40px;
}
.cartbtt.xs-shown a {
  position: relative;
  display: inline-block;
  font-size: 24px;
  color: #fff;
  padding: 8px;
  padding-right: 10px;
  line-height: 1;
}
.header:not(.header-over) .cartbtt.xs-shown a {
	color: inherit;
}
.header .cart-sp.xs-shown {
	font-size: 25px;
}

.cartbtt.xs-shown .cart-count-mobile {
  position: absolute;
  top: 0;
  right: 5px;
  transform: translate(30%, -30%);
  background-color: #e53935;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  pointer-events: none;
}


/* Panel del carrito */
.cart-item-image {
  width: 70px;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.2;
}

.cart-item-meta {
  font-size: 12px;
  color: #777;
  margin-bottom: 8px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cart-item-qty {
  display: flex;
  align-items: center;
}

.qty-btn {
  background: #eee;
  border: none;
  padding: 4px 8px;
  font-size: 14px;
  cursor: pointer;
}

.qty-input {
  width: 30px;
  text-align: center;
  margin: 0 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 28px;
}

.cart-item-price {
  font-family: Montserrat;
  font-size: 14px;
  font-weight: 700;
  margin-left: auto;
  margin-right: 10px;
}

.remove-item {
  background: none;
  border: none;
  color: #e53935;
  cursor: pointer;
}
/* CART NUEVO */
/*
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 10000;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open {
  transform: translateX(0);
}
.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}
.cart-drawer-footer {
  padding: 1rem;
  border-top: 1px solid #ddd;
  background-color: #fafafa;
}
.cart-item {
  display: flex;
  margin-bottom: 15px;
  gap: 10px;
}
.cart-item-image img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}
.cart-item-info {
  flex: 1;
  font-size: 13px;
}
.cart-item-title {
  font-weight: bold;
  margin-bottom: 3px;
}
.cart-item-variant {
  color: #777;
  font-size: 12px;
}
.cart-item-price {
  font-weight: bold;
  color: #2196f3;
  margin-top: 4px;
}
.cart-item-remove {
  color: #e53935;
  font-size: 12px;
  display: inline-block;
  margin-top: 5px;
}*/
/* ===== CART DRAWER PRO ===== */
:root{
  --cart-w: 420px;
  --cart-radius: 16px;
  --cart-border: rgba(0,0,0,.08);
  --cart-shadow: 0 18px 60px rgba(0,0,0,.25);
  --cart-muted: #6b7280;
  --cart-bg: #fff;
  --cart-soft: #f8fafc;
  --cart-primary: #2563eb;
  --cart-danger: #ef4444;
}

/* Overlay */
.cart-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 9999;
  /*backdrop-filter: blur(2px);*/
}

.cart-overlay.open{
  opacity: 1;
  visibility: visible;
}

/* Drawer base */
.cart-drawer{
  position: fixed;
  top: 12px;
  right: 12px;
  height: calc(100vh - 24px);
  width: min(var(--cart-w), calc(100vw - 24px));
  background: var(--cart-bg);
  border: 1px solid var(--cart-border);
  border-radius: var(--cart-radius);
  box-shadow: var(--cart-shadow);
  transform: translateX(110%);
  opacity: 0.96;
  transition: transform .28s cubic-bezier(.2,.9,.2,1), opacity .28s ease;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cart-drawer.open{
  transform: translateX(0);
  opacity: 1;
}

/* Header sticky */
.cart-drawer-header{
  position: sticky;
  top: 0;
  z-index: 2;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--cart-border);
  background: linear-gradient(180deg, #fff, #fff 70%, rgba(255,255,255,.92));
}
body.drawer-open{
  overflow: hidden;
}

.cart-drawer-header h4{
  margin: 0;
  font-size: 16px;
  letter-spacing: .2px;
}

/* Close button nicer */
.close-cart{
  border: 0;
  background: transparent;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: background .15s ease, transform .15s ease;
}
.close-cart:hover{ background: rgba(0,0,0,.06); transform: scale(1.02); }

/* Body */
.cart-drawer-body{
  flex: 1;
  overflow: auto;
  padding: 14px 14px 10px;
  background: var(--cart-soft);
}
.cart-price {
	font-family: Montserrat;
}
/* Footer sticky + CTA pro */
.cart-drawer-footer{
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding: 14px 16px;
  border-top: 1px solid var(--cart-border);
  background: #fff;
}
.cart-drawer{
  will-change: transform;
  transform: translate3d(110%,0,0);
}
.cart-drawer.open{
  transform: translate3d(0,0,0);
}
/* Subtotal row */
.cart-price-title{ color: var(--cart-muted); font-weight: 600; }
.cart-price{ font-weight: 800; font-size: 16px; }

/* Buttons area */
.cart-actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.cart-actions a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}

.cart-actions .btn-cart{
  background: rgba(0,0,0,.06);
  color: #111827;
}

.cart-actions .btn-checkout{
  background: var(--cart-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37,99,235,.28);
}

.cart-actions .btn-checkout:hover{ filter: brightness(.97); }

/* Items as cards */
.cart-item{
  display:flex;
  gap: 12px;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--cart-border);
  background: #fff;
  border-radius: 14px;
}

.cart-item-image img{
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  background: #f3f4f6;
  border: 1px solid var(--cart-border);
}

.cart-item-info{
  flex: 1;
  min-width: 0;
  font-size: 13px;
}

.cart-item-title{
  font-weight: 800;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-variant{
  color: var(--cart-muted);
  font-size: 12px;
  margin-bottom: 8px;
}

/* price + remove line */
/*.cart-item-meta{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}*/
.cart-item-meta{
  color: var(--cart-muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.cart-item-price{
  font-weight: 800;
  color: #0f172a;
}

.cart-item-remove{
  color: var(--cart-danger);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  user-select: none;
}

.cart-item-remove:hover{ text-decoration: underline; }

/* Optional: smooth scrollbar (webkit) */
.cart-drawer-body::-webkit-scrollbar{ width: 10px; }
.cart-drawer-body::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.15);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: content-box;
}
.cart-item-actions{
  display:flex;
  align-items:center;
  gap: 10px;
  justify-content: space-between;
  margin-top: 10px;
}

.cart-item-qty{
  display:flex;
  align-items:center;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.qty-btn{
  border: 0;
  width: 34px;
  height: 34px;
  background: rgba(0,0,0,.04);
  cursor: pointer;
  font-weight: 800;
}

.qty-input{
  width: 44px;
  height: 34px;
  border: 0;
  text-align: center;
  outline: none;
  font-weight: 700;
}

.remove-item{
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(239,68,68,.10);
  color: #ef4444;
  cursor: pointer;
}
.remove-item:hover{ filter: brightness(.95); }
.cart-loading{
  padding: 14px;
  border: 1px dashed rgba(0,0,0,.15);
  background: #fff;
  border-radius: 14px;
  color: #6b7280;
  font-weight: 600;
}
/* FIN DE CART */
/* Productos - BotÃ³n aÃ±adir al carrito */
/* Estilos del botÃ³n de aÃ±adir al carrito */
.product-thumb-info .addtocart-btn-wrapper,
.product-thumb-info .addreserve-btn-wrapper {
	position: absolute;
	top: 30px;
	right: 30px;
	z-index: 3;
	opacity: 0;
	transform: translate3d(0, 0, 0);
	transition: ease transform 300ms, ease opacity 300ms;
}

.product-thumb-info .addtocart-btn-wrapper a.addtocart-btn,
.product-thumb-info .addreserve-btn-wrapper a.addreserve-btn {
	position: relative;
	transform: translate3d(0, 0, 0);
	transition: ease transform 300ms, ease opacity 300ms;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #212121;
	background: #FFF;
	width: 40px;
	height: 40px;
	border-radius: 100%;
	font-size: 1rem;
	box-shadow: 0px 0px 12px -4px rgb(0 0 0 / 40%);
	text-decoration: none;
}

.product-thumb-info .addreserve-btn-wrapper a.addreserve-btn {
	background: #fffde7;
}

.product-thumb-info .addtocart-btn-wrapper a.addtocart-btn:hover {
	color: #FFF;
	background: #0088CC;
}

.product-thumb-info .addreserve-btn-wrapper a.addreserve-btn:hover {
	color: #FFF;
	background: #fdd835;
}

/* Mostrar el botÃ³n al hacer hover sobre el producto */
li.pitem:hover .addtocart-btn-wrapper,
li.pitem:hover .addreserve-btn-wrapper {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}
.swatch-circle.rainbow {
	border: 1px solid #aaa;
    background: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet);
}
.color-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
	margin-right: 20px; /* margen adicional a la derecha */
	box-sizing: border-box;
}
.color-swatch {
	position: relative;
	cursor: pointer;
	width: 32px; /* igual que el cÃ­rculo + margen */
}

.color-swatch input[type="checkbox"] {
	display: none;
}

.swatch-circle {
	display: inline-block;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 2px solid #ccc;
	box-shadow: inset 0 0 2px rgba(0,0,0,0.2);
	transition: all 0.2s ease-in-out;
}

.color-swatch input[type="checkbox"]:checked + .swatch-circle {
	border: 3px solid #000;
	box-shadow: 0 0 4px rgba(0,0,0,0.4);
}
.shop-sidebar-left {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.page-shopmain-sidebar {
    flex: 0 0 250px;
    max-width: 250px;
}

.page-shopmain-content {
    flex: 1;
    min-width: 0;
}
.container-shop {
	max-width: 1600px;
}
.field-group>label {
	font-weight: 900;
}
.multi-choice .choice input[type="checkbox"]:checked + .choice-text {
	background-color: #e0f0ff;
	border: 1px solid #007bff;
	color: #007bff;
	font-weight: 600;
	border-radius: 4px;
	padding: 4px 6px;
}
.color-swatch input[type="checkbox"]:checked + .swatch-circle {
	border: 3px solid #007bff;
	box-shadow: 0 0 6px rgba(0, 123, 255, 0.6), inset 0 0 3px rgba(255,255,255,0.4);
	transform: scale(1.1);
}

.color-swatch input[type="checkbox"]:checked + .swatch-circle::after {
	color: #007bff;
	font-size: 14px;
	font-weight: bold;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.multi-choice .choice input[type="checkbox"] + .choice-text,
.color-swatch .swatch-circle {
	transition: all 0.2s ease;
	cursor: pointer;
}
.color-swatch {
    position: relative;
}

.color-swatch:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 125%; /* justo encima */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    white-space: nowrap;
    border-radius: 4px;
    z-index: 10;
    opacity: 0;
    animation: fadeInTooltip 0.2s forwards;
    pointer-events: none;
}

@keyframes fadeInTooltip {
    to {
        opacity: 1;
    }
}
.swatch-circle.translucent {
	border: 1px solid #aaa;
	position: relative;
}
ul.products_especial {
    display: flex
;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none outside;
    clear: both;
}
.shop-dev-warning {
    background: #fff3cd;
    color: #856404;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    border-bottom: 1px solid #ffeeba;
    z-index: 999;
}
.shop-dev-warning {
    position: sticky;
    top: 0;
    background-color: #ffeeba;
    color: #664d03;
    text-align: center;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 2px solid #ffd966;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    z-index: 2;
}
.product-colors {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	align-items: flex-start;
}

.color-thumb {
	width: 36px;
	height: 36px;
	display: inline-block;
	margin: 4px;
	border: 1px solid #ccc;
	overflow: hidden;
	text-decoration: none;
	box-sizing: border-box;
	position: relative;
	transition: transform 0.2s ease;
	border-radius: 50%; /* Aplica siempre para mantener forma circular */
}

/* Colores planos: usa un pseudo-elemento con el color como fondo */
.color-thumb:not(.img-thumb)::before {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-color: currentColor;
}

/* Imágenes: también se ven circulares */
.color-thumb.img-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}

/* Hover & selección */
.color-thumb:hover {
	transform: scale(1.1);
	border-color: #333;
}

.color-thumb.selected {
	border: 2px solid #000;
}
.product-colors {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: flex-start;
}

.color-thumb {
	width: 36px;
	height: 36px;
	display: inline-block;
	border: 1px solid #ccc;
	overflow: visible;
	text-decoration: none;
	box-sizing: border-box;
	position: relative;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, opacity .18s ease;
	border-radius: 50%;
	background: #fff;
}

.color-thumb:not(.img-thumb)::before {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-color: currentColor;
}

.color-thumb.img-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}

.color-thumb:hover {
	transform: scale(1.1);
	border-color: #333;
	box-shadow: 0 8px 18px rgba(0,0,0,.14);
	z-index: 5;
}

.color-thumb.selected {
	border: 2px solid #000;
	box-shadow: 0 0 0 3px rgba(0,0,0,.08);
}

/* Tooltip custom */
.color-thumb[data-tooltip]::after {
	content: attr(data-tooltip);
	position: absolute;
	left: 50%;
	bottom: calc(100% + 10px);
	transform: translateX(-50%) translateY(6px);
	background: rgba(0, 0, 0, 0.9);
	color: #fff;
	padding: 6px 9px;
	font-size: 12px;
	line-height: 1.3;
	white-space: nowrap;
	border-radius: 6px;
	opacity: 0;
	pointer-events: none;
	transition: opacity .16s ease, transform .16s ease;
	z-index: 30;
	box-shadow: 0 10px 20px rgba(0,0,0,.18);
}

.color-thumb[data-tooltip]:hover::after {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}
.color-thumb.out-of-stock {
	position: relative;
	opacity: .68;
	pointer-events: auto;
}

.color-thumb.out-of-stock .stock-cross {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: linear-gradient(
		135deg,
		transparent 43%,
		rgba(255,255,255,.96) 46%,
		rgba(255,255,255,.96) 54%,
		transparent 57%
	);
	pointer-events: none;
	z-index: 2;
}

/* PAGINA CARRITO */
/* Cart modern */
.cart-page{
  padding: 28px 0;
}

.cart-grid{
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
}

@media (max-width: 980px){
  .cart-grid{ grid-template-columns: 1fr; }
}

.cart-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.06);
  overflow: hidden;
}

.cart-card-header{
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.cart-card-header h2{
  margin: 0;
  font-size: 18px;
  letter-spacing: .2px;
}

.cart-items{
  padding: 14px;
  display: grid;
  gap: 12px;
  background: #f8fafc;
}

.cart-item{
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
}

.cart-item img{
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  background: #f3f4f6;
}

.cart-item-title{
  margin: 0 0 6px 0;
  font-weight: 800;
  font-size: 14px;
}

.cart-item-title a{ color: inherit; text-decoration: none; }
.cart-item-title a:hover{ text-decoration: underline; }

.cart-item-meta{
  color: #6b7280;
  font-size: 12px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cart-item-right{
  text-align: right;
  display:flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.cart-price{
  font-weight: 800;
  color: #0f172a;
}

.cart-total{
  color: #6b7280;
  font-size: 12px;
}

.cart-qty{
  display: inline-flex;
  align-items:center;
  gap: 6px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 12px;
  padding: 6px;
}

.cart-qty button{
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 10px;
  background: rgba(0,0,0,.06);
  cursor: pointer;
}

.cart-qty input{
  width: 44px;
  text-align: center;
  border: 0;
  outline: none;
  font-weight: 800;
  background: transparent;
}

.cart-remove{
  border: 0;
  background: transparent;
  color: #ef4444;
  cursor: pointer;
  font-weight: 800;
}

.cart-actions-row{
  padding: 14px 16px;
  border-top: 1px solid rgba(0,0,0,.08);
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cart-actions-row .btn{
  border-radius: 12px;
}

/* Summary sticky */
.cart-summary{
  position: sticky;
  top: 92px;
}

.cart-summary-body{
  padding: 14px 16px;
}

.summary-line{
  display:flex;
  justify-content: space-between;
  padding: 8px 0;
  color: #111827;
}

.summary-line .muted{ color:#6b7280; font-weight: 700; }
.summary-total{
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,.08);
  font-weight: 900;
  font-size: 16px;
}
.cart-page .cart-price,
.cart-page .cart-total,
.cart-page .summary-line span:last-child,
.cart-page .summary-total span:last-child {
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: .2px;
}

.cart-page .cart-item-meta{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.cart-page .cart-total{
  color:#6b7280;
  font-size: 13px;
}
.cart-item.is-saving { opacity: .7; }
.cart-item.is-saving .cart-item-title::after {
  content: " · guardando…";
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}
/* === CART PAGE: FIX TITULO LARGO SIN TAPAR ACCIONES === */

/* tu .cart-item ya es grid, perfecto */
.cart-page .cart-item{
  align-items: start;          /* mejor que center cuando hay 2+ líneas */
}

/* el DIV del medio (titulo/precio/total) debe poder "encoger" */
.cart-page .cart-item > div:nth-child(2){
  min-width: 0;               /* CLAVE: permite que el texto no invada la col derecha */
}

/* el bloque derecho NO debe encogerse */
.cart-page .cart-item-right{
  flex: 0 0 auto;
  white-space: nowrap;
}

/* título: wrap sano, sin romper layout */
.cart-page .cart-item-title{
  margin: 0 0 6px 0;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.25;
  overflow-wrap: anywhere;     /* evita strings largas (modelos, SKUs) */
  word-break: break-word;
}

/* opcional: si quieres limitar a 2 líneas sin “pena” porque habrá tooltip */
.cart-page .cart-item-title{
  display: -webkit-box;
  -webkit-line-clamp: 2;       /* cambia a 3 si quieres más */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-empty{
  padding: 14px;
  border: 1px dashed rgba(0,0,0,.18);
  background: #fff;
  border-radius: 14px;
  color: #6b7280;
  font-weight: 600;
  text-align: center;
}
/* Badge estado producto (Disponible / Bajo pedido / Próximamente / Agotado) */
.product-status-badge{
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 6;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none; /* para que no rompa el click al <a> */
}

/* Variantes por estado (reutiliza tus nombres overlayClass) */
.product-status-badge.agotado   { background: rgba(200, 0, 0, .78); }
.product-status-badge.soon      { background: rgba(0, 90, 255, .78); }
.product-status-badge.available { background: rgba(0, 170, 0, .78); }
.product-status-badge.backorder { background: rgba(255, 170, 0, .85); color: #111; }

/* Opcional: en móvil que no sea enorme */
@media (max-width: 768px){
  .product-status-badge{ top: 8px; left: 8px; font-size: 11px; padding: 5px 9px; }
}
.discount-msg{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.25;
}

.discount-msg.is-loading{
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.08);
  color: #334155;
}

.discount-msg.is-error{
  background: #fff1f2;
  border: 1px solid rgba(225,29,72,.22);
  color: #9f1239;
}

.discount-msg.is-success{
  background: #ecfdf5;
  border: 1px solid rgba(16,185,129,.22);
  color: #065f46;
}
/* CHECKOUT */
.checkout-page{ padding: 28px 0; }

.checkout-notice{
  display:flex; justify-content:space-between; align-items:center;
  gap: 12px; padding: 14px 16px; margin-bottom: 16px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,.06);
}

.checkout-grid{
  display:grid;
  grid-template-columns: 1fr 420px;
  gap: 18px;
}
.checkout-grid input {
	font-family: Montserrat;
}
@media (max-width: 980px){
  .checkout-grid{ grid-template-columns: 1fr; }
}

.checkout-card{
  background:#fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.06);
  overflow:hidden;
}
.checkout-card-header{
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.checkout-card-header h2{ margin:0; font-size: 18px; }
.checkout-card-header p{ margin:6px 0 0; color:#6b7280; font-size: 13px; }

.checkout-card-body{ padding: 14px 16px; background:#fff; }

/*.checkout-summary{ position: sticky; top: 92px; align-self: start; }*/

.checkout-fields{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.checkout-fields .full{ grid-column: 1 / -1; }
@media (max-width: 600px){
  .checkout-fields{ grid-template-columns: 1fr; }
}

.checkout-items{ display:grid; gap: 10px; margin-bottom: 12px; }
.checkout-item{
  display:grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  align-items:center;
  padding: 10px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  background: #fff;
}
.ci-img img{ width:56px; height:56px; object-fit:cover; border-radius: 12px; border:1px solid rgba(0,0,0,.08); }
.ci-title a{ color: inherit; text-decoration:none; font-weight:800; }
.ci-meta{ color:#6b7280; font-size: 12px; margin-top: 2px; }
.ci-total{ font-weight: 900; white-space: nowrap; font-family: Montserrat; }

.checkout-totals{
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,.08);
  display:grid; gap: 8px;
  font-family: Montserrat;
}
.checkout-totals .line{ display:flex; justify-content:space-between; }
.checkout-totals .total{ padding-top: 10px; border-top: 1px solid rgba(0,0,0,.08); font-size: 16px; }

.checkout-pay{ margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.08); }
.checkout-pay h3{ margin:0 0 10px; font-size: 14px; text-transform: uppercase; letter-spacing: .4px; }

.pay-opt{
  display:flex; align-items:center; gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  margin-bottom: 8px;
  cursor:pointer;
}
.terms{ display:flex; gap:10px; align-items:flex-start; margin: 10px 0 14px; color:#334155; }
/* Checkout modern inputs (override seguro) */
.checkout-page .field-wrap { position: relative; }

.checkout-page .field-control{
  width: 100%;
  border: 1px solid rgba(0,0,0,.14) !important;
  border-radius: 12px;
  background: #fff;
  padding: 12px 12px;
  line-height: 1.2;
  outline: none;
}

.checkout-page .field-control:focus{
  border-color: rgba(37,99,235,.6) !important;
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}

.checkout-page .field-group > label{
  font-weight: 800;
  margin-bottom: 6px;
  display: inline-block;
  color: #111827;
}

/* si el tema usa field-back para borde, lo apagamos para no “doblar” */
.checkout-page .field-back{ display:none !important; }
.checkout-sep{
  height: 1px;
  background: rgba(0,0,0,.08);
  margin: 14px 0;
}

.checkout-section-head h3{
  margin: 0;
  font-size: 15px;
  font-weight: 900;
}
.checkout-section-head p{
  margin: 6px 0 12px;
  color:#6b7280;
  font-size: 13px;
}

.checkout-delivery{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
@media (max-width: 600px){
  .checkout-delivery{ grid-template-columns: 1fr; }
}

.opt-card{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 12px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  cursor:pointer;
  background:#fff;
}
.opt-card input{ margin-top: 3px; }
.opt-card .opt-body small{ display:block; color:#6b7280; margin-top: 3px; }

.pay-details{
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  background: rgba(0,0,0,.02);
}
.pay-details p{ margin: 0; color:#334155; font-size: 13px; }
.checkout-delivery.compact{ display:grid; gap:8px; margin-bottom: 10px; }
.checkout-sep{ margin: 10px 0; }               /* menos separación */
.checkout-section-head p{ margin: 4px 0 10px; } /* menos aire */
.checkout-grid .field-group+.field-group { margin-top:5px;}

/* NOTICE login más visible */
.checkout-notice--hero{
  border: 1px solid rgba(37,99,235,.22);
  background: linear-gradient(180deg, rgba(37,99,235,.08), rgba(37,99,235,.04));
  box-shadow: 0 10px 30px rgba(37,99,235,.10);
  border-radius: 18px;
  padding: 16px 18px;
  align-items: center;
}

.checkout-notice--hero > div:first-child{
  display:flex;
  gap: 10px;
  align-items:flex-start;
}

.checkout-notice--hero > div:first-child::before{
  content: "👤";
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
}

.checkout-notice--hero strong{
  display:block;
  font-size: 14px;
}

/* DELIVERY cards */
.checkout-delivery.compact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 600px){
  .checkout-delivery.compact{ grid-template-columns: 1fr; }
}

.delivery-opt{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  padding: 12px 14px;
  background: #fff;
  cursor: pointer;
  display:flex;
  gap: 12px;
  align-items:flex-start;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.delivery-opt:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}

.delivery-opt input{
  margin-top: 3px;
  transform: scale(1.15);
}

.delivery-ui strong{
  display:block;
  font-weight: 900;
}
.delivery-ui small{
  display:block;
  margin-top: 4px;
  color:#6b7280;
  font-size: 12px;
}

/* estado seleccionado */
.delivery-opt:has(input:checked){
  border-color: rgba(37,99,235,.40);
  box-shadow: 0 12px 30px rgba(37,99,235,.12);
  background: linear-gradient(180deg, rgba(37,99,235,.06), rgba(37,99,235,.02));
}
/* TERMS más visible */
.terms--card{
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(0,0,0,.02);
  border-radius: 16px;
  padding: 12px 12px;
  gap: 12px;
}

.terms--card input{
  margin-top: 4px;
  width: 18px;
  height: 18px;
}

.terms--card strong{
  font-weight: 900;
}

.terms--card a{
  font-weight: 800;
  text-decoration: underline;
}
.product-substitute-notice{
  margin: 10px 0 14px 0;
  padding: 12px 14px;
  border: 1px solid #e6e6e6;
  border-left: 4px solid #f0b429;
  background: #fffaf0;
  border-radius: 10px;
  line-height: 1.25;
  font-size: 14px;
}
.product-substitute-notice .link{
  font-weight: 700;
  text-decoration: underline;
  margin-left: 6px;
}
/* =========================
   SHOP ACCOUNT
   ========================= */

.shop-account-page {
    padding-top: 15px;
}

.ts-account-shell {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.ts-account-sidebar {
    width: 260px;
    flex: 0 0 260px;
}

.ts-account-content {
    flex: 1 1 auto;
    min-width: 0;
}

.ts-account-usercard,
.ts-account-panel,
.ts-account-card,
.ts-account-stat {
    background: #fff;
    border: 1px solid #e7ebf0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .035);
}

.ts-account-usercard {
    padding: 18px 20px;
    margin-bottom: 16px;
}

.ts-account-usercard__name {
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #2f3447;
    line-height: 1.3;
    margin-bottom: 5px;
}

.ts-account-usercard__email {
    font-size: 13px;
    color: #7c8798;
    line-height: 1.5;
    word-break: break-word;
}

.ts-account-nav {
    background: #fff;
    border: 1px solid #e7ebf0;
    border-radius: 8px;
    padding: 10px;
}

.ts-account-nav__item {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 6px;
    color: #2f3447;
    text-decoration: none;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: all .18s ease;
}

.ts-account-nav__item + .ts-account-nav__item {
    margin-top: 4px;
}

.ts-account-nav__item i {
    color: #6e7788;
    width: 16px;
    text-align: center;
}

.ts-account-nav__item:hover {
    background: #f5f8fb;
    color: #1f70b8;
    text-decoration: none;
}

.ts-account-nav__item:hover i,
.ts-account-nav__item.active i {
    color: #1f70b8;
}

.ts-account-nav__item.active {
    background: #eef5fb;
    color: #1f70b8;
}

.ts-account-panel {
    padding: 22px;
}

.ts-account-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf1f5;
}

.ts-account-title {
    margin: 0 0 6px 0;
    font-family: Montserrat, sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #2f3447;
    line-height: 1.2;
}

.ts-account-subtitle {
    margin: 0;
    font-size: 14px;
    color: #6f7a8a;
    line-height: 1.7;
}

.ts-account-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.ts-account-stat {
    padding: 18px 18px 16px;
}

.ts-account-stat__label {
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #7a8596;
    margin-bottom: 10px;
}

.ts-account-stat__value {
    font-family: Montserrat, sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #2f3447;
    line-height: 1;
}

.ts-account-card {
    padding: 20px;
    height: 100%;
}

.ts-account-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.ts-account-card__title {
    margin: 0;
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #2f3447;
}

.ts-account-card__link {
    color: #1f70b8;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.ts-account-card__link:hover {
    text-decoration: underline;
}

.ts-account-empty {
    border: 1px dashed #d6dde6;
    border-radius: 6px;
    padding: 34px 20px;
    text-align: center;
    background: #fafbfd;
}

.ts-account-empty i {
    display: block;
    font-size: 22px;
    color: #1f70b8;
    margin-bottom: 12px;
}

.ts-account-empty p {
    margin: 0;
    font-size: 14px;
    color: #758091;
}

.ts-account-links {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 12px;
}

.ts-account-linkbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 54px;
    padding: 14px 15px;
    border: 1px solid #e7ebf0;
    border-radius: 6px;
    color: #2f3447;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    background: #fff;
    transition: all .18s ease;
}

.ts-account-linkbox:hover {
    color: #1f70b8;
    border-color: #d2e2f2;
    background: #f8fbfe;
    text-decoration: none;
}

.ts-account-form label {
    display: block;
    margin-bottom: 7px;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #516072;
}

.ts-account-form .field-wrap .field-back {
    border-color: #dbe2ea;
    border-radius: 6px;
}

.ts-account-form .field-control {
    font-family: Raleway, sans-serif;
    color: #2f3447;
}

.ts-account-actions {
    margin-top: 18px;
}

.ts-account-note {
    font-size: 14px;
    line-height: 1.7;
    color: #6f7a8a;
}

#shop-account-content.is-loading {
    opacity: .55;
    pointer-events: none;
    transition: opacity .2s ease;
}

@media (max-width: 1024px) {
    .ts-account-shell {
        flex-direction: column;
    }

    .ts-account-sidebar {
        width: 100%;
        flex: 1 1 auto;
    }

    .ts-account-nav {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 10px;
    }

    .ts-account-nav__item {
        white-space: nowrap;
        margin-top: 0 !important;
    }

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

@media (max-width: 767px) {
    .ts-account-panel,
    .ts-account-card,
    .ts-account-usercard {
        padding: 16px;
    }

    .ts-account-title {
        font-size: 24px;
    }

    .ts-account-stats {
        grid-template-columns: 1fr;
    }

    .ts-account-links {
        grid-template-columns: 1fr;
    }
}
.ts-address-list {
    margin-top: 4px;
}

.ts-address-card {
    height: 100%;
    border: 1px solid #e7ebf0;
    border-radius: 6px;
    background: #fff;
    padding: 18px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.ts-address-card.is-default {
    border-color: #cfe1f3;
    box-shadow: 0 0 0 1px rgba(31,112,184,.04);
}

.ts-address-card__head {
    margin-bottom: 14px;
}

.ts-address-card__alias {
    font-family: Montserrat, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #2f3447;
    line-height: 1.2;
    margin-bottom: 7px;
}

.ts-address-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ts-address-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 20px;
    background: #f3f6fa;
    color: #667387;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.ts-address-badge.is-default {
    background: #eef5fb;
    color: #1f70b8;
}

.ts-address-card__body {
    margin-bottom: 16px;
}

.ts-address-line {
    font-size: 14px;
    line-height: 1.65;
    color: #5f6b7b;
}

.ts-address-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ts-address-card__actions .btn {
    min-height: 40px;
}
.ts-password-help {
    margin-top: 8px;
    padding: 14px 16px;
    border: 1px solid #e7ebf0;
    border-radius: 6px;
    background: #fafbfd;
}

.ts-password-help__title {
    margin-bottom: 8px;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #2f3447;
}

.ts-password-help__list {
    margin: 0;
    padding-left: 18px;
    color: #6b7686;
    font-size: 13px;
    line-height: 1.7;
}

.ts-security-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ts-security-summary__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid #e7ebf0;
    border-radius: 6px;
    background: #fff;
}

.ts-security-summary__label {
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #516072;
}

.ts-security-summary__value {
    font-size: 13px;
    font-weight: 700;
    color: #6f7a8a;
}

.ts-security-summary__value.is-ok {
    color: #1d8f52;
}
.shop-account-login-page {
    padding-top: 20px;
}

.ts-login-layout {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.ts-login-side {
    width: 38%;
    flex: 0 0 38%;
}

.ts-login-main {
    width: 62%;
    flex: 0 0 62%;
}

.ts-login-box,
.ts-login-card {
    background: #fff;
    border: 1px solid #e7ebf0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,.035);
    height: 100%;
}

.ts-login-box {
    padding: 30px;
}

.ts-login-card {
    padding: 26px 28px;
}

.ts-login-box__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #1f70b8;
}

.ts-login-box__title {
    margin: 0 0 10px 0;
    font-family: Montserrat, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    color: #2f3447;
}

.ts-login-box__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #6f7a8a;
}

.ts-login-benefits {
    margin-top: 24px;
    display: grid;
    gap: 12px;
}

.ts-login-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid #e7ebf0;
    border-radius: 6px;
    background: #fafbfd;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #2f3447;
}

.ts-login-benefit i {
    color: #1f70b8;
    width: 18px;
    text-align: center;
}

.ts-login-tabs {
    margin-bottom: 20px;
}

.ts-login-form .field-group {
    margin-bottom: 18px;
}

.ts-recoverypassword-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.ts-recoverypassword-main {
    width: 60%;
    justify-content: center;
}
.ts-login-card,
.ts-login-box,
.ts-account-card {
    background-color: rgb(250, 250, 250) !important;
}
.ts-password-wrap {
    position: relative;
}
.ts-password-wrap .field-control {
    padding-right: 46px;
}
.ts-password-wrap i#togglePassword,
.ts-password-wrap i#toggleRPassword,
.ts-password-wrap i#toggleRPassword2,
.ts-password-wrap i.ts-password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    float: none;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 4;
    cursor: pointer;
}
.ts-password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    line-height: 1;
    color: #7b8697;
    cursor: pointer;
    z-index: 4;
}
.ts-password-toggle:hover {
    color: #1f70b8;
}
@media (max-width: 767px) {
    .ts-password-toggle {
        width: 44px;
        height: 44px;
    }
}
.ts-form-helper {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: #6f7a8a;
}

@media (max-width: 1024px) {
    .ts-login-layout {
        flex-direction: column;
    }

    .ts-login-side,
    .ts-login-main {
        width: 100%;
        flex: 1 1 auto;
    }
}
.js-shop-account-login-alert {
    margin-bottom: 20px;
}

.alert-warning {
    color: #7a5a00;
    background: #fff8db;
    border: 1px solid #f1de9a;
}
.ts-account-sidebar__footer {
    margin-top: 12px;
}

.ts-account-logout-form {
    display: block;
    width: 100%;
    margin: 0;
}

.ts-account-nav__item--logout {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #e7ebf0;
    border-radius: 8px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #b42318;
    transition: all .18s ease;
}

.ts-account-nav__item--logout i {
    color: #b42318;
    width: 16px;
    text-align: center;
}

.ts-account-nav__item--logout:hover {
    background: #fff5f5;
    border-color: #f1c7c7;
    color: #912018;
}

.ts-account-nav__item--logout:hover i {
    color: #912018;
}

@media (max-width: 1024px) {
    .ts-account-sidebar__footer {
        margin-top: 10px;
    }

    .ts-account-nav__item--logout {
        justify-content: center;
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    .ts-account-sidebar__footer {
        margin-top: 8px;
    }

    .ts-account-nav__item--logout {
        min-height: 42px;
        padding: 10px 14px;
        border-radius: 6px;
    }
}
.ts-account-sessions-list {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ts-session-card {
    border: 1px solid #e7ebf0;
    border-radius: 6px;
    background: #fff;
    padding: 14px;
}

.ts-session-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.ts-session-card__title {
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #2f3447;
    line-height: 1.4;
}

.ts-session-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.ts-session-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    border-radius: 20px;
    background: #f3f6fa;
    color: #667387;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.ts-session-badge.is-current,
.ts-session-badge.is-active {
    background: #eef5fb;
    color: #1f70b8;
}

.ts-session-badge.is-revoked,
.ts-session-badge.is-expired {
    background: #f7f1f1;
    color: #9b4d4d;
}

.ts-session-card__meta {
    display: grid;
    gap: 6px;
    font-size: 13px;
    line-height: 1.6;
    color: #6b7686;
}

.ts-session-card__actions {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 767px) {
    .ts-session-card__actions .btn,
    .ts-account-actions .btn {
        width: 100%;
    }

    .ts-account-actions .btn + .btn {
        margin-top: 8px;
    }
}
.ts-account-actions--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ts-account-sessions-list {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ts-session-card {
    border: 1px solid #e7ebf0;
    border-radius: 6px;
    background: #fff;
    padding: 16px;
}

.ts-session-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.ts-session-card__title {
    margin: 0;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #2f3447;
    line-height: 1.35;
}

.ts-session-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.ts-session-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    border-radius: 20px;
    background: #f3f6fa;
    color: #667387;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.ts-session-badge.is-current,
.ts-session-badge.is-active {
    background: #eef5fb;
    color: #1f70b8;
}

.ts-session-badge.is-revoked,
.ts-session-badge.is-expired {
    background: #fbeeee;
    color: #ba3d3d;
}

.ts-session-card__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
    font-size: 13px;
    line-height: 1.6;
    color: #6b7686;
}

.ts-session-card__actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 767px) {
    .ts-session-card__meta {
        grid-template-columns: 1fr;
    }

    .ts-account-actions--inline {
        flex-direction: column;
    }

    .ts-account-actions--inline .btn,
    .ts-session-card__actions .btn {
        width: 100%;
    }
}
.ts-login-form input,
#shop-account-content input,
.ts-2fa-recovery-codes {
    font-family: Montserrat, sans-serif;
}
/* =========================
   SHOP ACCOUNT - 2FA
   ========================= */

.ts-2fa-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ts-2fa-summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid #e7ebf0;
    border-radius: 8px;
    background: #fbfcfe;
}

.ts-2fa-summary__main {
    flex: 1 1 auto;
    min-width: 0;
}

.ts-2fa-summary__text {
    margin: 10px 0 0 0;
    font-size: 14px;
    line-height: 1.7;
    color: #6f7a8a;
}

.ts-2fa-summary__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 12px;
}

.ts-2fa-summary__meta-item {
    font-size: 13px;
    color: #5f6b7b;
}

.ts-2fa-summary__meta-item strong {
    color: #2f3447;
    font-weight: 700;
    margin-right: 4px;
}

.ts-2fa-summary__action {
    flex: 0 0 auto;
}

.ts-2fa-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ts-2fa-status-badge.is-enabled {
    background: #eaf7ef;
    color: #1d8f52;
}

.ts-2fa-status-badge.is-disabled {
    background: #f3f6fa;
    color: #667387;
}

.ts-2fa-setup-box,
.ts-2fa-recovery-box,
#ts-2fa-enabled-box {
    border: 1px solid #e7ebf0;
    border-radius: 8px;
    background: #fff;
    padding: 20px;
}

.ts-2fa-steps {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.ts-2fa-steps__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #667387;
}

.ts-2fa-steps__num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eef5fb;
    color: #1f70b8;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    margin-top: 1px;
}

.ts-2fa-setup-grid {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.ts-2fa-qr-card {
    display: flex;
    align-items: stretch;
}

.ts-2fa-qr-card__inner {
    width: 100%;
    padding: 18px;
    border: 1px solid #edf1f5;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

#ts-2fa-qr-wrap img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.ts-2fa-setup-form {
    min-width: 0;
}

.ts-2fa-recovery-box__head {
    margin-bottom: 16px;
}

.ts-2fa-recovery-box__head h3 {
    margin-bottom: 8px;
}

.ts-2fa-recovery-box__head p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #6f7a8a;
}

.ts-2fa-recovery-codes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.ts-2fa-recovery-code {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #dde5ee;
    border-radius: 6px;
    background: #fafbfd;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    color: #2f3447;
}

.ts-2fa-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ts-2fa-action-card {
    border: 1px solid #edf1f5;
    border-radius: 8px;
    background: #fbfcfe;
    padding: 18px;
    height: 100%;
}

.ts-2fa-action-card__head {
    margin-bottom: 16px;
}

.ts-2fa-action-card__head h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
}

.ts-2fa-action-card__head p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #6f7a8a;
}

.ts-2fa-help {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e9eef4;
    font-size: 13px;
    line-height: 1.7;

    color: #7b8697;
}

@media (max-width: 1024px) {
    .ts-2fa-setup-grid {
        grid-template-columns: 1fr;
    }

    .ts-2fa-actions-grid {
        grid-template-columns: 1fr;
    }

    .ts-2fa-recovery-codes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ts-2fa-summary {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .ts-2fa-setup-box,
    .ts-2fa-recovery-box,
    #ts-2fa-enabled-box,
    .ts-2fa-summary {
        padding: 16px;
    }

    .ts-2fa-recovery-codes {
        grid-template-columns: 1fr;
    }

    .ts-2fa-summary__action .btn {
        width: 100%;
    }
}

.ts-2fa-recovery-box {
    margin-top: 22px;
    padding: 22px;
    border: 1px solid #e7ebf0;
    border-radius: 10px;
    background: #fbfcfe;
}

.ts-2fa-recovery-box__head {
    margin-bottom: 18px;
}

.ts-2fa-recovery-box__head h3 {
    margin: 0 0 8px 0;
}

.ts-2fa-recovery-box__head p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #6f7a8a;
}

.ts-2fa-recovery-codes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ts-2fa-recovery-code {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 14px 12px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    background: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .04em;
    color: #2f3447;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

@media (max-width: 1024px) {
    .ts-2fa-recovery-codes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ts-2fa-recovery-codes {
        grid-template-columns: 1fr;
    }

    .ts-2fa-recovery-code {
        font-size: 16px;
        min-height: 54px;
    }
}
.ts-account-form--address .ts-form-section {
    margin-bottom: 28px;
    padding: 22px 22px 18px;
    border: 1px solid #e8edf3;
    border-radius: 10px;
    background: #fbfcfe;
}

.ts-account-form--address .ts-form-section__head {
    margin-bottom: 16px;
}

.ts-account-form--address .ts-form-section__head h3 {
    margin: 0 0 4px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    color: #1e2b4a;
}

.ts-account-form--address .ts-form-section__head p {
    margin: 0;
    font-size: 13px;
    color: #555;
	font-weight: 500;
}

.ts-account-form--address .field-group {
    margin-bottom: 16px;
}

.ts-account-form--address .field-group label {
    display: block;
    margin-bottom: 7px;
}

.ts-account-form--address textarea.field-control {
    min-height: 90px;
    resize: vertical;
}

.ts-address-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 767px) {
    .ts-account-form--address .ts-form-section {
        padding: 18px 16px 14px;
    }
}

.ts-form-section__head {
	border-bottom: 2px solid #1f70b8;
    padding-bottom: 5px;
}

label {
    font-weight: bold;
    color: #333;
}
.ts-account-form .field-wrap .field-back {
	border-color: #000;
}
/* =========================================
   CHECKOUT V3 - más contrastado y más claro
   ========================================= */

.checkout-page .container {
    max-width: 1320px;
}

.checkout-page {
    padding: 34px 0;
}

.checkout-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 26px;
}

.checkout-card {
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-radius: 20px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.checkout-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e8eef5;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
}

.checkout-card-header h2 {
    font-size: 24px;
    line-height: 1.15;
    font-weight: 800;
    color: #0f172a;
}

.checkout-card-header p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.55;
    color: #64748b;
}

.checkout-card-body {
    padding: 22px 24px;
    background: #ffffff;
}

/*.checkout-summary {
    position: sticky;
    top: 110px;
    align-self: start;
}*/

.checkout-card-body > .checkout-sep {
    display: none;
}

.checkout-form-block {
    margin-bottom: 20px;
    padding: 18px;
    border: 2px solid #dde6ef;
    /*border-radius: 18px;*/
    background: linear-gradient(180deg, #f8fbff 0%, #f2f7fb 100%);
}

.checkout-form-block--notes {
    background: linear-gradient(180deg, #ffffff 0%, #fafcfe 100%);
}

.checkout-address-picker {
    margin-bottom: 16px;
    padding: 14px 14px 2px;
    border: 1px dashed #bfd3e6;
    border-radius: 14px;
    background: #ffffff;
}

.checkout-section-head {
    margin-bottom: 14px;
}

.checkout-section-head h3 {
    font-size: 17px;
    line-height: 1.2;
    font-weight: 900;
    color: #0f172a;
}

.checkout-section-head p {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.65;
    color: #64748b;
    max-width: 72ch;
}

.checkout-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 16px;
}

.checkout-page .field-group {
    margin: 0 !important;
}

.checkout-page .field-group > label {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
}

.checkout-page .field-wrap {
    position: relative;
}

.checkout-page .field-back {
    display: none !important;
}

.checkout-page .field-control {
    width: 100%;
    min-height: 50px;
    padding: 13px 14px;
    border: 1px solid #cfd9e4 !important;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
    font-size: 14px;
    color: #0f172a;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.checkout-page .field-control::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.checkout-page .field-control:hover {
    border-color: #b9c8d8 !important;
    background: #fcfdff;
}

.checkout-page .field-control:focus {
    border-color: #3b82f6 !important;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}

.checkout-page textarea.field-control {
    min-height: 120px;
    resize: vertical;
    padding-top: 14px;
}

.checkout-page select.field-control {
    padding-right: 38px;
}

.checkout-delivery.compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.delivery-opt {
    min-height: 84px;
    padding: 14px 16px;
    border: 1px solid #d5e0eb;
    border-radius: 16px;
    background: #ffffff;
    align-items: center;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.delivery-opt:hover {
    transform: translateY(-1px);
    border-color: #bdd0e4;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.delivery-opt input {
    margin-top: 0;
}

.delivery-ui strong {
    font-size: 14px;
    line-height: 1.25;
    color: #0f172a;
}

.delivery-ui small {
    margin-top: 5px;
    line-height: 1.45;
    color: #64748b;
}

.delivery-opt:has(input:checked) {
    border-color: #93c5fd;
    background: linear-gradient(180deg, #eff6ff 0%, #f8fbff 100%);
    box-shadow: 0 14px 30px rgba(59, 130, 246, 0.10);
}

.checkout-ship-block {
    padding-top: 0;
}

.checkout-items {
    gap: 12px;
}

.checkout-item {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e5edf4;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.ci-img img {
    width: 64px;
    height: 64px;
}

.ci-title a {
    line-height: 1.35;
}

.checkout-totals {
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e6edf4;
}

.checkout-pay {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e6edf4;
}

.pay-opt {
    min-height: 48px;
    border: 1px solid #d7e1ea;
    border-radius: 14px;
    background: #ffffff;
}

.pay-opt:hover {
    border-color: #bfd0e0;
}

.pay-details {
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid #dbe6f0;
    border-radius: 14px;
    background: #f7fbff;
}

.terms--card {
    margin-top: 16px;
    padding: 14px;
    border: 1px solid #dae4ee;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.checkout-page .btn.col-12[type="submit"] {
    min-height: 52px;
    font-size: 14px;
    font-weight: 800;
}

/* =========================================
   CHECKOUT V4 - datos y direcciones
   ========================================= */
.checkout-form-block {
    border: 1px solid #e2e6ea;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: none;
}

.checkout-form-block--notes {
    background: #ffffff;
}

.checkout-page .checkout-address-picker {
    border-color: #d8dde3;
    background: #fafafa;
}

#billing_company_group[hidden],
.checkout-shipping-section[hidden] {
    display: none !important;
}

.checkout-identity-fields {
    align-items: end;
}

.checkout-page .field-group--document {
    width: 100%;
    max-width: 280px;
    justify-self: start;
}

.checkout-address-subsection {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e2e6ea;
}

.checkout-subsection-head {
    margin-bottom: 14px;
}

.checkout-subsection-head h4 {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 900;
    color: #27313b;
}

.checkout-subsection-head p {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.55;
    color: #64748b;
}

.checkout-address-fields {
    display: grid;
    grid-template-columns: minmax(135px, .55fr) minmax(200px, 1.25fr) minmax(190px, 1fr);
    gap: 16px;
}

.checkout-address-fields .address-wide {
    grid-column: 1 / -1;
}

.checkout-contact-fields {
    grid-template-columns: minmax(0, 1.25fr) minmax(210px, .75fr);
}

.checkout-section-head--actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

.checkout-section-head--actions > div {
    min-width: 0;
}

.checkout-copy-btn {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid #8fbbe3;
    border-radius: 12px;
    background: #ffffff;
    color: #1768aa;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.checkout-copy-btn:hover,
.checkout-copy-btn:focus-visible {
    border-color: #1f70b8;
    background: #eef7ff;
    box-shadow: 0 0 0 4px rgba(31, 112, 184, .1);
}

.checkout-shipping-recipient {
    margin-bottom: 0;
}

.checkout-totals .shipping-cost {
    margin: 2px -6px 0;
    padding: 9px 6px;
    border-radius: 10px;
    background: #f8fafc;
}

.checkout-totals .shipping-cost strong {
    color: #1768aa;
    text-align: right;
}

.checkout-totals .shipping-cost strong.is-pending {
    color: #9a6700;
    font-size: 12px;
}

@media (max-width: 767px) {
    .checkout-page .field-group--document {
        max-width: none;
    }

    .checkout-address-fields,
    .checkout-contact-fields {
        grid-template-columns: 1fr;
    }

    .checkout-address-fields .address-wide {
        grid-column: auto;
    }

    .checkout-section-head--actions {
        display: block;
    }

    .checkout-copy-btn {
        width: 100%;
        margin-top: 12px;
    }
}
@media (max-width: 1200px) {
    .checkout-grid {
        grid-template-columns: minmax(0, 1fr) 340px;
    }
}

@media (max-width: 980px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }
}

@media (max-width: 767px) {
    .checkout-card-header,
    .checkout-card-body {
        padding: 16px;
    }

    .checkout-form-block {
        padding: 14px;
        margin-bottom: 14px;
        border-radius: 12px;
    }

    .checkout-fields,
    .checkout-delivery.compact {
        grid-template-columns: 1fr;
    }

    .checkout-item {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .ci-total {
        grid-column: 2;
        justify-self: start;
        margin-top: 4px;
    }
}
/* =========================================
   CHECKOUT V5 - estilo tienda / pasos
   Coherente con la zona de cliente
   ========================================= */
.checkout-page .checkout-grid {
    align-items: start;
}

.checkout-page .checkout-card {
    border: 1px solid #e1e5ea;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(20, 33, 48, .035);
}

.checkout-page .checkout-card-header {
    background: #ffffff;
}

.checkout-page .checkout-main-card > .checkout-card-body {
    background: #f5f6f8;
}

.checkout-page .checkout-form-block {
    margin-bottom: 24px;
    padding: 0 22px 22px;
    border: 1px solid #dfe3e8;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: none;
}

.checkout-page .checkout-form-block:last-child {
    margin-bottom: 0;
}

.checkout-page .checkout-step-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 -22px 22px;
    padding: 14px 18px;
    border-bottom: 1px solid #dfe3e8;
    background: #eef1f4;
}

.checkout-page .checkout-step-number {
    display: inline-flex;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    background: #1f70b8;
    color: #ffffff;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.checkout-page .checkout-step-copy {
    min-width: 0;
}

.checkout-page .checkout-step-copy h3 {
    margin: 0;
    color: #202a35;
    font-size: 16px;
    line-height: 1.3;
}

.checkout-page .checkout-step-copy p {
    margin: 3px 0 0;
    color: #697684;
    font-size: 12px;
    line-height: 1.4;
}

.checkout-page .field-control {
    min-height: 48px;
    border-color: #d5dbe1 !important;
    border-radius: 2px;
    background: #ffffff;
    box-shadow: none;
}

.checkout-page textarea.field-control {
    border-radius: 2px;
}

.checkout-page .field-control:focus {
    border-color: #1f70b8 !important;
    box-shadow: 0 0 0 3px rgba(31, 112, 184, .10);
}

.checkout-page .checkout-address-picker,
.checkout-page .checkout-copy-btn,
.checkout-page .delivery-opt,
.checkout-page .pay-opt,
.checkout-page .pay-details,
.checkout-page .terms--card,
.checkout-page .checkout-item,
.checkout-page .checkout-totals .shipping-cost {
    border-radius: 3px;
}

.checkout-page .checkout-address-picker {
    border-color: #dfe3e8;
    background: #f7f8fa;
}

.checkout-page .delivery-opt {
    border-color: #dfe3e8;
    background: #ffffff;
}

.checkout-page .delivery-opt:hover {
    transform: none;
    border-color: #b7c8d7;
    box-shadow: none;
}

.checkout-page .delivery-opt:has(input:checked) {
    border-color: #77afe0;
    background: #f3f8fd;
    box-shadow: inset 3px 0 0 #1f70b8;
}

.checkout-page .checkout-shipping-section {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #dfe3e8;
}

.checkout-page .checkout-shipping-head {
    margin-bottom: 18px;
}

.checkout-page .checkout-shipping-head h3 {
    font-size: 16px;
}

.checkout-page .checkout-copy-btn {
    border-color: #9dbbd5;
}

.checkout-page .checkout-notes-inline {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #dfe3e8;
}

.checkout-page .checkout-item,
.checkout-page .pay-opt,
.checkout-page .pay-details,
.checkout-page .terms--card {
    border-color: #e1e5ea;
    background: #ffffff;
    box-shadow: none;
}

.checkout-page .ci-img,
.checkout-page .ci-img img {
    border-radius: 2px;
}

.checkout-page .checkout-totals .shipping-cost {
    background: #f5f6f8;
}

.checkout-page .btn.col-12[type="submit"] {
    border-radius: 2px !important;
}

.checkout-page .checkout-summary {
    align-self: start;
    height: auto;
    position: sticky;
    top: 95px;
}

@media (max-width: 980px) {
    .checkout-page .checkout-summary {
        position: static;
    }
}

@media (max-width: 767px) {
    .checkout-page .checkout-form-block {
        margin-bottom: 16px;
        padding: 0 16px 18px;
        border-radius: 3px;
    }

    .checkout-page .checkout-step-head {
        margin: 0 -16px 18px;
        padding: 13px 14px;
    }

    .checkout-page .checkout-step-number {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
    }
}
/* =========================================
   CHECKOUT V6 - resumen y confirmaciones
   ========================================= */
.checkout-page .field-help {
    display: block;
    margin-top: 6px;
    color: #697684;
    font-size: 11px;
    line-height: 1.45;
}

.checkout-page .checkout-item {
    grid-template-columns: 68px minmax(0, 1fr);
    align-items: start;
    gap: 12px 14px;
    padding: 14px;
}

.checkout-page .ci-img {
    grid-row: 1 / span 2;
}

.checkout-page .ci-img img {
    width: 68px;
    height: 68px;
}

.checkout-page .ci-info {
    min-width: 0;
}

.checkout-page .ci-title a {
    display: block;
    font-size: 13px;
    line-height: 1.4;
}

.checkout-page .ci-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 9px;
    margin-top: 9px;
    font-size: 12px;
}

.checkout-page .ci-qty {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 8px;
    border-radius: 2px;
    background: #edf5fb;
    color: #31526e;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    line-height: 1;
}

.checkout-page .ci-qty strong {
    color: #155f9e;
    font-size: 15px;
    font-weight: 900;
}

.checkout-page .ci-unit-price {
    color: #697684;
    font-size: 12px;
    white-space: nowrap;
}

.checkout-page .ci-total {
    grid-column: 2;
    justify-self: end;
    margin: 0;
    color: #202a35;
    font-size: 14px;
    line-height: 1.2;
}

.checkout-page .checkout-legal {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.checkout-page .checkout-legal .terms--card {
    margin: 0;
    padding: 12px;
    border-radius: 3px;
    background: #ffffff;
}

.checkout-page .checkout-legal .terms--card input {
    flex: 0 0 18px;
    accent-color: #1f70b8;
}

.checkout-page .checkout-legal .terms--card span {
    color: #334155;
    font-size: 13px;
    line-height: 1.5;
}

.checkout-page .checkout-payment-obligation {
    margin: 0;
    padding: 10px 12px;
    border-left: 3px solid #1f70b8;
    background: #f5f6f8;
    color: #536170;
    font-size: 11px;
    line-height: 1.5;
}

.checkout-page .checkout-legal + .btn[type="submit"] {
    margin-top: 12px;
}

@media (max-width: 767px) {
    .checkout-page .checkout-item {
        grid-template-columns: 60px minmax(0, 1fr);
        padding: 12px;
    }

    .checkout-page .ci-img img {
        width: 60px;
        height: 60px;
    }

    .checkout-page .ci-total {
        grid-column: 2;
    }
}
li.f-prof {
	background-color: #1b6eb2;
	color: #fff;
	border: 1px solid #1b6eb2;
}
li.f-prof a {
	color: #fff;
}
.menu-wrap.line .menu-items ul li.f-prof a.active, .menu-wrap.line .menu-items ul li.f-prof a:active, .menu-wrap.line .menu-items ul li.f-prof a:focus, .menu-wrap.line .menu-items ul li.f-prof a:hover {
	color: #fff;
}
.attr-col .cl.cl-text{
	width:auto !important;
	min-width:48px;
	height:auto !important;
	line-height:1.2 !important;
	padding:8px 12px;
	border-radius:999px !important;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	background:#fff;
	border:1px solid #d9d9d9;
	color:#333;
	font-size:13px;
	font-weight:600;
	text-decoration:none;
}

.attr-col .cl.cl-text.active{
	border-color:#111;
	box-shadow:0 0 0 2px rgba(0,0,0,.08) inset;
}

.attr-col .cl.cl-text.nostock{
	opacity:.45;
}
.product-colors .color-text-btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:38px;
	padding:8px 14px;
	margin:0 8px 8px 0;
	border:1px solid #d9d9d9;
	border-radius:8px;
	background:#fff;
	color:#333;
	font-size:13px;
	font-weight:600;
	line-height:1.2;
	text-decoration:none !important;
	transition:all .2s ease;
}

.product-colors .color-text-btn:hover{
	border-color:#999;
	background:#f7f7f7;
	color:#111;
}

.product-colors .color-text-btn.selected{
	border-color:#111;
	box-shadow:0 0 0 2px rgba(0,0,0,.08) inset;
	background:#f3f3f3;
}

.product-colors .color-text-btn.out-of-stock{
	opacity:.45;
	text-decoration:line-through !important;
}

.product-colors .color-text-btn.out-of-stock:hover{
	background:#fff;
}
/* NUEVOS PRODUCTOS PRINCIPALES CON FAMILIAS Y VARIANTES */
.ts-product-families .ts-family-card {
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(0,0,0,.08);
	box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.ts-product-families .ts-family-card .item-content {
	padding: 20px 22px 18px;
}

.ts-product-families .ts-family-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 12px;
}

.ts-product-families .ts-family-title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
	text-transform: uppercase;
}

.ts-product-families .ts-family-title a {
	color: #1e73be;
	text-decoration: none;
}

.ts-product-families .ts-family-title a:hover {
	text-decoration: underline;
}

.ts-product-families .ts-family-time {
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 600;
	color: #222;
	text-decoration: underline;
	white-space: nowrap;
}

.ts-product-families .ts-family-desc {
	color: #333;
	font-size: 15px;
	line-height: 1.55;
	margin-bottom: 16px;
}

.ts-product-families .ts-family-variants {
	clear: both;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid rgba(0,0,0,.08);
}

.ts-product-families .ts-family-variants-title {
	margin-bottom: 10px;
	font-size: 14px;
	color: #6b7280;
	font-weight: 400;
}

.ts-product-families .ts-family-variants-title .ts-family-from-price {
	color: #222;
	font-weight: 600;
}

.ts-product-families .ts-family-variant {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 14px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(0,0,0,.055);
}

.ts-product-families .ts-family-variant:last-child {
	border-bottom: 0;
}

.ts-product-families .ts-family-variant-info {
	min-width: 0;
}

.ts-product-families .ts-family-variant-title {
	display: block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
	color: #222;
}

.ts-product-families .ts-family-variant-status {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	margin-top: 6px;
	padding: 4px 9px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.15;
	white-space: nowrap;
}

/* En almacén */
.ts-product-families .ts-family-variant-status-success {
	background: rgba(40, 167, 69, .13);
	color: #1f8f3a;
	border: 1px solid rgba(40, 167, 69, .30);
}

/* Próximamente */
.ts-product-families .ts-family-variant-status-soon {
	background: rgba(30, 115, 190, .13);
	color: #1e73be;
	border: 1px solid rgba(30, 115, 190, .32);
}

/* Bajo pedido */
.ts-product-families .ts-family-variant-status-request {
	background: rgba(255, 193, 7, .22);
	color: #8a6500;
	border: 1px solid rgba(255, 193, 7, .45);
}

	
.ts-product-families .ts-family-variant-status-soon::before {
	content: "\23F1";
	margin-right: 5px;
}

.ts-product-families .ts-family-variant-status-success::before {
	content: "\2713";
	margin-right: 5px;
}

.ts-product-families .ts-family-variant-status-request::before {
	content: "\21BB";
	margin-right: 5px;
}

.ts-product-families .ts-family-variant-price {
	font-size: 15px;
	font-weight: 600;
	color: #222;
	white-space: nowrap;
}

.ts-product-families .ts-family-variant-price .tooltip-sale {
	display: block;
	font-size: 11px;
	font-weight: 600;
	color: #c0392b;
	line-height: 1.15;
}

.ts-product-families .ts-family-variant-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 12px;
	border-radius: 4px;
	border: 1px solid rgba(30,115,190,.35);
	background: #1e73be;
	border-color: #1e73be;
	color: #fff !important;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.ts-product-families .ts-family-variant-btn:hover {
	background: #fff !important;
	color: #1e73be !important;
}

.ts-product-families .ts-family-note {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(0,0,0,.055);
	font-size: 12px;
	line-height: 1.45;
	color: #7a8290;
}

.ts-product-families .product_mw_badge {
	z-index: 6;
}

@media (max-width: 767px) {
	.ts-product-families .ts-family-card .item-content {
		padding: 18px;
	}

	.ts-product-families .ts-family-head {
		display: block;
	}

	.ts-product-families .ts-family-time {
		display: inline-block;
		margin-top: 8px;
		white-space: normal;
	}

	.ts-product-families .ts-family-variant {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.ts-product-families .ts-family-variant-price {
		font-size: 16px;
	}

	.ts-product-families .ts-family-variant-btn {
		width: fit-content;
	}
}

.ts-product-families .ts-family-row {
	margin-bottom: 28px;
}

.ts-product-families .ts-family-row::after {
	content: "";
	display: table;
	clear: both;
}

.ts-product-families .ts-family-card {
	width: 100%;
	display: block;
}

.ts-product-families .ts-family-card .item-content::after {
	content: "";
	display: block;
	clear: both;
}
.ts-product-families .ts-family-variants-details {
	clear: both;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid rgba(0,0,0,.08);
}

.ts-product-families .ts-family-variants-details summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	cursor: pointer;
	list-style: none;
	font-size: 14px;
	color: #6b7280;
}

.ts-product-families .ts-family-variants-details summary::-webkit-details-marker {
	display: none;
}

.ts-product-families .ts-family-summary-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 12px;
	border-radius: 4px;
	background: #1e73be;
	color: #fff !important;
	font-size: 0;
	font-weight: 600;
	white-space: nowrap;
}

.ts-product-families .ts-family-summary-action::after {
	content: "Ver Productos";
	font-size: 14px;
}

.ts-product-families .ts-family-variants-details[open] .ts-family-summary-action {
	background: #444;
}

.ts-product-families .ts-family-variants-details[open] .ts-family-summary-action::after {
	content: "Ocultar Productos";
}
.product-purchase-row {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 10px;
	width: 100%;
	margin-top: 12px;
}

.product-quantity {
	display: inline-flex;
	align-items: stretch;
	height: 46px;
	border: 1px solid #d8d8d8;
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

.product-qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	min-width: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	font-size: 14px;
}

.product-qty-btn:hover:not(:disabled) {
	background: rgba(0, 0, 0, 0.06);
}

.product-qty-btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.product-qty-input {
	width: 76px !important;
	min-width: 76px;
	height: 44px !important;
	padding: 0 8px !important;
	border: 0 !important;
	border-right: 1px solid #d8d8d8 !important;
	border-left: 1px solid #d8d8d8 !important;
	border-radius: 0 !important;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	appearance: textfield;
	-moz-appearance: textfield;
}

.product-qty-input::-webkit-inner-spin-button,
.product-qty-input::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

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

.product-back-row {
	display: block;
	clear: both;
	width: 100%;
	margin-top: 18px;
}

.product-back-row .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.product .cart.is-submitting {
	opacity: 0.75;
}

@media (max-width: 575px) {
	.product-purchase-row {
		align-items: stretch;
	}

	.product-add-cart-btn {
		flex: 1 1 180px;
	}

	.product-back-row .btn {
		width: 100%;
	}
}
/* Review checkout feedback; the storefront styles remain the existing baseline. */
.shop2-checkout-preview-notice { padding: 12px 16px; border: 1px solid #b7d8f2; border-radius: 8px; background: #edf6fd; color: #234663; }

.shop2-review-banner {
    box-sizing: border-box;
    padding: 8px 16px;
    border-bottom: 1px solid #c7dff2;
    background: #edf6ff;
    color: #285479;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

/* Shop2: cart layouts are independent, including on narrow touch screens. */
.cart-drawer {
    height: calc(100vh - 24px);
    height: calc(100dvh - 24px);
}
.cart-drawer .cart-drawer-header,
.cart-drawer .cart-drawer-footer { flex-shrink: 0; }
.cart-drawer .cart-drawer-header h4 { font-size: 18px; }
.cart-drawer .close-cart { width: 44px; height: 44px; font-size: 18px; }
.cart-drawer .cart-drawer-body { min-height: 0; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.cart-drawer .cart-drawer-footer { padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
.cart-drawer .cart-drawer-footer > .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; }
.cart-drawer .cart-drawer-footer > .row > div { width: auto; padding: 0; }
.cart-drawer .cart-price-title { font-size: 15px; }
.cart-drawer .cart-price { font-size: 19px; white-space: nowrap; }
.cart-drawer .cart-actions a { min-height: 46px; font-size: 15px; line-height: 1.4; }
.cart-drawer .cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px 12px;
    align-items: start;
}
.cart-drawer .cart-item-image { grid-column: 1; grid-row: 1 / span 2; width: 72px; }
.cart-drawer .cart-item-image img { width: 72px; height: 72px; object-fit: contain; }
.cart-drawer .cart-item-info { display: contents; }
.cart-drawer .cart-item-title {
    grid-column: 2;
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: anywhere;
    display: block;
    overflow: visible;
}
.cart-drawer .cart-item-meta { grid-column: 2; margin: 0; font-size: 14px; }
.cart-drawer .cart-item-meta:empty { display: none; }
.cart-drawer .cart-item-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 44px;
    gap: 8px;
    align-items: center;
    margin-top: 0;
}
.cart-drawer .cart-item-qty { width: max-content; }
.cart-drawer .qty-btn { width: 44px; height: 44px; padding: 0; font-size: 18px; }
.cart-drawer .qty-input { width: 40px; height: 44px; margin: 0; border-radius: 0; font-size: 16px; }
.cart-drawer .cart-item-price { min-width: 0; margin: 0; text-align: right; font-size: 16px; white-space: nowrap; }
.cart-drawer .remove-item { width: 44px; height: 44px; font-size: 16px; }
.cart-drawer :is(a, button, input):focus-visible,
.cart-page :is(a, button, input, summary):focus-visible { outline: 3px solid #1b6fb3; outline-offset: 3px; }

.cart-page .cart-grid { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
.cart-page .cart-card { min-width: 0; }
.cart-page .cart-card-header { flex-wrap: wrap; gap: 8px 16px; }
.cart-page .cart-card-header h1 { margin: 0; font-size: 23px; line-height: 1.35; }
.cart-page .cart-card-header h2 { font-size: 21px; line-height: 1.35; }
.cart-page .cart-count-label { color: #657586; font-size: 15px; }
.cart-page .cart-summary-jump { display: none; }
.cart-page .cart-items { gap: 12px; }
.cart-page .cart-item { grid-template-columns: 84px minmax(0, 1fr) auto; margin-bottom: 0; }
.cart-page .cart-item img { object-fit: contain; }
.cart-page .cart-item-title { font-size: 15px; line-height: 1.45; white-space: normal; -webkit-line-clamp: 3; }
.cart-page .cart-item-meta { font-size: 14px; }
.cart-page .cart-price { font-size: 17px; }
.cart-page .cart-total { font-size: 14px; line-height: 1.45; }
.cart-page .cart-qty { gap: 0; padding: 0; overflow: hidden; }
.cart-page .cart-qty button { width: 44px; height: 44px; border-radius: 0; font-size: 18px; }
.cart-page .cart-qty input { width: 44px; height: 44px; margin: 0; font-size: 16px; }
.cart-page .cart-remove { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; font-size: 16px; }
.cart-page .cart-remove:hover { background: #fff1f2; }
.cart-page .cart-actions-row { align-items: center; justify-content: space-between; gap: 8px 16px; }
.cart-page .cart-continue,
.cart-page .cart-clear { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 14px; line-height: 1.4; }
.cart-page .cart-continue { color: #1b6fb3; font-weight: 600; }
.cart-page .cart-clear { color: #657586; }
.cart-page .cart-clear:hover { color: #c72c41; }
.cart-page .cart-summary { align-self: start; top: calc(var(--shop2-header-offset, 132px) + 16px); scroll-margin-top: calc(var(--shop2-header-offset, 132px) + 16px); }
.cart-page .summary-line { gap: 16px; font-size: 15px; line-height: 1.5; }
.cart-page .summary-line > span:last-child { flex-shrink: 0; white-space: nowrap; }
.cart-page .summary-total { font-size: 18px; }
.cart-page .cart-delivery-note { margin: 8px 0 0; color: #657586; font-size: 14px; line-height: 1.5; }
.cart-page .cart-checkout-action { margin-top: 16px; }
.cart-page .cart-checkout-action .btn { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 48px; border-radius: 10px; font-size: 15px; line-height: 1.4; padding: 14px 12px; }
.cart-page .cart-discount { margin-top: 16px; border-top: 1px solid #e3e9ef; }
.cart-page .cart-discount summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 12px 0; color: #42586a; font-size: 14px; font-weight: 600; line-height: 1.45; cursor: pointer; list-style: none; }
.cart-page .cart-discount summary::-webkit-details-marker { display: none; }
.cart-page .cart-discount summary::after { content: '+'; font-size: 22px; font-weight: 400; }
.cart-page .cart-discount[open] summary::after { content: '−'; }
.cart-page .cart-discount form > label { display: block; margin: 4px 0 7px; color: #42586a; font-size: 14px; font-weight: 600; }
.cart-page .cart-discount-fields { display: grid; grid-template-columns: minmax(0, 1fr) 90px; gap: 8px; }
.cart-page .cart-discount-fields > div { min-width: 0; }
.cart-page .cart-discount-fields .field-group { margin: 0; }
.cart-page .cart-discount-fields .field-control { height: 46px; padding: 10px 12px; font-size: 16px; border-radius: 8px; }
.cart-page .cart-discount-fields .btn { min-height: 46px; padding: 10px; border-radius: 8px; font-size: 14px; line-height: 1.4; }
.cart-page:has(.cart-empty) .cart-clear,
.cart-page:has(.cart-empty) .cart-summary-jump,
.cart-page:has(.cart-empty) .cart-checkout-action,
.cart-page:has(.cart-empty) .cart-discount,
.cart-page:has(.cart-empty) .cart-delivery-note { display: none; }
.cart-page .cart-empty { padding: 24px 16px; font-size: 16px; line-height: 1.5; }

@media (max-width: 1100px) {
    .cart-page .cart-grid { grid-template-columns: minmax(0, 1fr) 320px; }
    .cart-page .cart-item { grid-template-columns: 72px minmax(0, 1fr); }
    .cart-page .cart-item img { width: 72px; height: 72px; }
    .cart-page .cart-item-right { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (max-width: 980px) {
    .cart-page .cart-grid { grid-template-columns: minmax(0, 1fr); }
    .cart-page .cart-summary { position: static; }
    .cart-page .cart-summary-jump { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; flex-basis: 100%; min-height: 44px; padding-top: 8px; margin-top: 4px; border-top: 1px solid #e3e9ef; font-size: 14px; font-weight: 600; line-height: 1.4; color: #1b6fb3; }
}
@media (max-width: 575px) {
    .cart-page { padding: 18px 0; }
    .cart-page .cart-items { padding: 10px; }
    .cart-page .cart-item { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 10px; }
    .cart-page .cart-item img { width: 64px; height: 64px; }
    .cart-page .cart-item-title { display: block; overflow: visible; -webkit-line-clamp: unset; }
    .cart-page .cart-item-right { grid-column: 1 / -1; }
    .cart-page .cart-card-header,
    .cart-page .cart-summary-body,
    .cart-page .cart-actions-row { padding-right: 14px; padding-left: 14px; }
}
@media (max-width: 359px) {
    .cart-drawer .cart-item-actions { grid-template-columns: minmax(0, 1fr) 44px; }
    .cart-drawer .cart-item-price { grid-column: 1; grid-row: 2; text-align: left; }
    .cart-drawer .remove-item { grid-column: 2; grid-row: 1; }
    .cart-page .cart-discount-fields { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 981px) and (max-height: 850px) {
    .cart-page .cart-summary { position: static; }
}
