:root{--ink:#252229;--muted:#736d78;--cream:#fffaf4;--coral:#e96f5d;--coral-dark:#cd5545;--sage:#789c88;--line:#eee5dc}
.hero{border-radius:0}
.product-image-frame{display:block;width:100%;aspect-ratio:1/1;overflow:hidden;background:var(--cream)}
.product-image-frame>img{display:block;width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:cover!important}
.product-card h5{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;line-height:1.35;min-height:2.7em}
.admin-stat-icon{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:14px;font-size:1.25rem}.admin-actions{display:flex;justify-content:flex-end;gap:.4rem;white-space:nowrap}.admin-actions form{display:flex;gap:.4rem}@media(max-width:1199px){.admin-actions,.admin-actions form{flex-wrap:wrap}}
.table tr:has(.badge.text-bg-secondary) .admin-actions button[value="toggle"]{background:#c69c72;border-color:#c69c72;color:#fff}.table tr:has(.badge.text-bg-secondary) .admin-actions button[value="toggle"]:hover{background:#ae835d;border-color:#ae835d;color:#fff}
.sortable-row{cursor:grab}.sortable-row:active{cursor:grabbing}.sortable-row.dragging{opacity:.35;background:#fff3cd}
.order-number{background-color:#8b5e3c!important;color:#fff!important}
.admin-sidebar a{white-space:nowrap}
.admin-stat-pending{background-color:#c65d00}
.table-cart-heading>tr>th{background-color:#c65d00;color:#fff;border-color:#db7b29}
.table-orders-heading>tr>th{background-color:#146c43;color:#fff;border-color:#2a7e59}
.login-logo{display:inline-block;max-width:240px;max-height:80px;width:auto;height:auto}.admin-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:1rem}.admin-gallery-item{display:block;border:1px solid var(--line);border-radius:14px;padding:.5rem;background:#fff}.admin-gallery-item img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px;margin-bottom:.5rem}.admin-gallery-item .form-check{margin:0;color:#dc3545;font-size:.9rem}
.site-logo{display:block;width:320px;max-width:calc(100vw - 120px);max-height:54px;height:auto}@media(max-width:767px){.site-logo{max-width:calc(100vw - 104px)}}
.product-card .category-chip{display:table;margin-left:auto;margin-right:auto;text-align:center}
.product-card>.p-3.p-md-4{padding-top:.5rem!important}@media(min-width:768px){.product-card>.p-3.p-md-4{padding-top:.75rem!important}}
#productos>.mb-4>div:last-child{justify-content:flex-end}
#productos>.mb-4>div:first-child{display:block!important}#productos>.mb-4>div:first-child h2{margin-top:.5rem}
.product-main-image{aspect-ratio:1/1;object-fit:contain;background:#fff}.product-gallery{display:flex;gap:.75rem;overflow-x:auto;padding:.25rem}.gallery-thumb{flex:0 0 76px;width:76px;height:76px;padding:3px;border:2px solid transparent;border-radius:12px;background:#fff}.gallery-thumb.active{border-color:var(--coral)}.gallery-thumb img{width:100%;height:100%;object-fit:cover;border-radius:8px}
*{box-sizing:border-box}body{font-family:'Quicksand',sans-serif;color:var(--ink);background:#fffdfb}.navbar{box-shadow:0 5px 25px rgba(50,35,25,.04)}.brand-mark{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:12px;background:var(--coral);color:#fff}.hero{background:linear-gradient(125deg,#fff0e8,#f5eee6 55%,#eaf3ed)}.eyebrow{color:var(--coral-dark);font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:.78rem}.display-title{font-size:clamp(2.2rem,6vw,4.6rem);line-height:1.02;font-weight:700}.hero-card{background:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.9);border-radius:28px;box-shadow:0 25px 60px rgba(93,62,43,.12)}.btn-brand{background:var(--coral);border-color:var(--coral);color:white;font-weight:700}.btn-brand:hover{background:var(--coral-dark);border-color:var(--coral-dark);color:white}.product-card{border:1px solid var(--line);border-radius:22px;overflow:hidden;transition:.25s; box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px; background:white}.product-card:hover{transform:translateY(-6px);box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;}.product-card img{width:100%;aspect-ratio:1/1;object-fit:cover;background:var(--cream)}.price{font-size:1.2rem;font-weight:700;color:var(--coral-dark)}.category-chip{background:#edf4ef;color:#476956;border-radius:999px;padding:.35rem .7rem;font-size:.75rem;font-weight:700}.form-control,.form-select{border-radius:12px;padding:.75rem;border-color:#ded5cc}.footer{background:#f6f1eb}.payment-pill{display:inline-block;background:white;border:1px solid var(--line);border-radius:999px;padding:.5rem .8rem;margin:.2rem}.admin-shell{min-height:100vh;background:#f6f3ef}.admin-sidebar{background:#28242b;color:white}.admin-sidebar a{color:#ddd4df;text-decoration:none;display:block;padding:.7rem .9rem;border-radius:10px}.admin-sidebar a:hover{background:#3d3740;color:white}.table-product-img{width:54px;height:54px;object-fit:cover;border-radius:10px}.checkout-card{border:1px solid var(--line);border-radius:20px;background:white; box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;}.empty-state{padding:5rem 1rem;text-align:center}.empty-state i{font-size:4rem;color:#d2c7bd}@media(max-width:767px){.admin-sidebar{min-height:auto}.display-title{font-size:2.55rem}}
.product-card{position:relative;display:flex;flex-direction:column;border-radius:26px}.product-card>.product-image-frame{flex:none}.product-card>.p-3.p-md-4{position:relative;display:flex;flex:1;flex-direction:column;padding:2.15rem 1.35rem 1.25rem!important}.product-card .category-chip{position:absolute;top:0;left:50%;max-width:calc(100% - 2rem);margin:0;transform:translate(-50%,-50%);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:.5rem 1rem;font-size:.8rem}.product-card h5{display:block;margin:0 0 1.15rem!important;min-height:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.25}.product-card h5 a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-card h5+div{margin-top:auto!important}.product-card form .btn{display:grid;place-items:center;width:52px;height:52px;padding:0;font-size:1.35rem}.product-card .price{font-size:1.45rem}@media(max-width:575px){.product-card>.p-3.p-md-4{padding:1.8rem .9rem 1rem!important}.product-card .category-chip{font-size:.72rem;padding:.4rem .7rem}.product-card h5{font-size:1rem}.product-card .price{font-size:1.2rem}.product-card form .btn{width:44px;height:44px}}
.product-card form .btn .bi-plus-lg:before{content:"\f244"}
.product-card>.p-3>strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Botón de carrito de las tarjetas del catálogo. */
.product-card>.p-3.p-md-4 h5+div{padding-right:56px}
.product-card>.p-3.p-md-4 form{position:absolute;right:5px;bottom:5px}

/* Paginación del catálogo. */
.pagination{
  --bs-pagination-color:#e96f5d;
  --bs-pagination-border-color:#e96f5d;
  --bs-pagination-hover-color:#fff;
  --bs-pagination-hover-bg:#e96f5d;
  --bs-pagination-hover-border-color:#e96f5d;
  --bs-pagination-focus-color:#fff;
  --bs-pagination-focus-bg:#e96f5d;
  --bs-pagination-active-color:#fff;
  --bs-pagination-active-bg:#e96f5d;
  --bs-pagination-active-border-color:#e96f5d;
}

@media(max-width:575px){
  .product-card>.p-3.p-md-4 h5+div{padding-right:48px}
}

.order-summary{display:flex;justify-content:space-between;gap:1rem;padding:.85rem 0;border-bottom:1px solid var(--line)}
.order-summary:last-child{border-bottom:0}.order-summary small{display:block;color:var(--muted);margin-top:.2rem}
@media(max-width:991px){.navbar-nav .btn-brand{margin-top:.35rem;text-align:center}.navbar-nav{align-items:stretch!important}}

/* Campos de tarjeta alojados de forma segura por PayPal. */
.paypal-card-field{display:block;position:relative;width:100%;height:54px;padding:0;background:#fff;border:1px solid #ded5cc;border-radius:12px}
.paypal-card-field:focus-within{border-color:#86b7fe;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}
@media(max-width:575px){.payment-card{padding:1.25rem!important}}

.accepted-cards{display:flex;align-items:center;justify-content:center;gap:1.15rem;margin:-.65rem 0 1.25rem}
.visa-mark{font-family:Arial,sans-serif;font-size:1.45rem;font-weight:900;font-style:italic;letter-spacing:-.08em;color:#1434cb;line-height:1}
.mastercard-mark{display:inline-flex;align-items:center;gap:.4rem;color:#333;font-family:Arial,sans-serif;font-size:.72rem}
.mastercard-circles{position:relative;display:inline-block;width:39px;height:24px}
.mastercard-circles:before,.mastercard-circles:after{content:"";position:absolute;top:0;width:24px;height:24px;border-radius:50%}
.mastercard-circles:before{left:0;background:#eb001b}
.mastercard-circles:after{right:0;background:#f79e1b;mix-blend-mode:multiply}
.cart-remove-button{display:inline-grid;place-items:center;flex:0 0 auto;width:28px;height:28px;padding:0;border:0;background:transparent;color:#dc3545;font-size:1rem;line-height:1;border-radius:50%}
.cart-remove-button:hover,.cart-remove-button:focus-visible{background:rgba(220,53,69,.09);color:#b02a37;outline:0}
.cart-product-link:hover,.cart-product-link:focus-visible{color:var(--coral-dark)!important;text-decoration:underline!important}
.text-secondary {
  --bs-text-opacity: 1;
  color: rgb(0, 0, 0) !important;
}

.btn-dark {

  --bs-btn-bg: #e96f5d;
font-weight: 700;
  border: #e96f5d;
}

.rounded-pill {
color: #fff;
    --bs-btn-bg: #e96f5d;
    font-weight: 700;
      border: #e96f5d;
}

.rounded-pill.btn:hover {
  background-color: #cd5545
} 

#searchCount {
  background-color: rgb(25, 135, 84) !important;
}

#searchCount.input-group-text.bg-white.text-secondary {
  color: #fff !important;
        border: #fff !important;
}

/* Analítica de tráfico del panel administrativo. */
.traffic-live-banner{display:flex;align-items:center;gap:.55rem;padding:.8rem 1rem;color:#155b3b;background:#e7f7ee;border:1px solid #b9e7ce;border-radius:14px;font-size:.9rem}.traffic-live-banner .ms-auto{color:#507261;font-size:.75rem}.traffic-live-dot{width:.55rem;height:.55rem;background:#20b26b;border-radius:50%;box-shadow:0 0 0 5px rgba(32,178,107,.12);animation:trafficPulse 2s ease-in-out infinite}.traffic-kpi{position:relative;overflow:hidden;padding:1.25rem;background:#fff;border:1px solid #ebe6e1;border-radius:20px;box-shadow:0 10px 30px rgba(37,34,41,.055)}.traffic-kpi:after{position:absolute;right:-28px;bottom:-34px;width:100px;height:100px;background:#f5eee8;border-radius:50%;content:""}.traffic-kpi-icon{display:grid;place-items:center;width:38px;height:38px;margin-bottom:1.1rem;color:#fff;background:#28242b;border-radius:12px;font-size:1rem}.traffic-kpi-label{color:#6f6972;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.traffic-kpi-value{position:relative;z-index:1;margin:.18rem 0;font-size:clamp(1.55rem,2.4vw,2.15rem);font-weight:700;line-height:1.1;letter-spacing:-.04em}.traffic-kpi small{position:relative;z-index:1;color:#88818a}.traffic-panel{padding:1.4rem;background:#fff;border:1px solid #ebe6e1;border-radius:22px;box-shadow:0 12px 36px rgba(37,34,41,.055)}.traffic-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.4rem}.traffic-panel-head h2{margin:0;font-size:1.08rem;font-weight:700}.traffic-panel-head p{margin:.25rem 0 0;color:#817a83;font-size:.8rem}.traffic-panel-head>span{padding:.35rem .6rem;color:#625b64;background:#f3efeb;border-radius:999px;font-size:.7rem;font-weight:700}.traffic-chart{display:flex;align-items:flex-end;gap:clamp(4px,.6vw,10px);height:280px;overflow-x:auto;padding:2.2rem .25rem 0;border-bottom:1px solid #ded8d2}.traffic-chart-column{position:relative;display:flex;min-width:10px;height:100%;flex:1;align-items:center;justify-content:flex-end;flex-direction:column}.traffic-chart-bar{width:min(22px,80%);min-height:3px;background:linear-gradient(180deg,#ed816f,#cd5545);border-radius:7px 7px 2px 2px;transition:.2s}.traffic-chart-column:hover .traffic-chart-bar{filter:saturate(1.25);transform:scaleX(1.12)}.traffic-chart-value{position:absolute;top:-1.55rem;opacity:0;color:#504950;font-size:.65rem;font-weight:700;transition:.2s}.traffic-chart-column:hover .traffic-chart-value{opacity:1}.traffic-chart-column small{height:1.35rem;margin-top:.4rem;color:#898289;font-size:.58rem;white-space:nowrap}.traffic-funnel{display:grid;gap:1.25rem}.traffic-funnel-step>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.45rem;font-size:.82rem}.traffic-funnel-step span i{width:1.2rem;color:#cd5545}.traffic-funnel-step strong small{margin-left:.25rem;color:#8a838b;font-weight:600}.traffic-funnel-step .progress{height:9px;background:#f1ece7}.traffic-funnel-step .progress-bar{background:linear-gradient(90deg,#ed816f,#cd5545);border-radius:99px}.traffic-table>:not(caption)>*>*{padding:.82rem .65rem;border-color:#eee9e4}.traffic-table thead th{color:#807981;font-size:.68rem;text-transform:uppercase;letter-spacing:.07em}.traffic-table td{font-size:.84rem}.traffic-table td small{display:block;color:#8b848c;font-size:.68rem}.traffic-table code{color:#7e4b42;font-size:.72rem}.traffic-ranking{display:grid;gap:1rem}.traffic-rank{display:grid;grid-template-columns:1fr auto;gap:.35rem .8rem}.traffic-rank strong,.traffic-rank small{display:block}.traffic-rank small{color:#8a838b;font-size:.68rem}.traffic-rank>span{font-weight:700}.traffic-rank-bar{grid-column:1/-1;height:6px;overflow:hidden;background:#f1ece7;border-radius:99px}.traffic-rank-bar i{display:block;height:100%;background:#e96f5d;border-radius:inherit}.traffic-products{display:grid;gap:.55rem}.traffic-products>a{display:grid;grid-template-columns:48px 1fr auto;gap:.8rem;align-items:center;padding:.55rem;color:inherit;border-radius:14px;text-decoration:none}.traffic-products>a:hover{background:#f8f4f0}.traffic-products img{width:48px;height:48px;object-fit:cover;border-radius:12px}.traffic-products span{min-width:0}.traffic-products strong,.traffic-products small{display:block}.traffic-products strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem}.traffic-products small{color:#8a838b;font-size:.68rem}.traffic-products b{font-size:.75rem}.traffic-subtitle{padding-bottom:.55rem;color:#8a838b;border-bottom:1px solid #eee9e4;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em}.traffic-tech{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.45rem 0;font-size:.78rem}.traffic-tech i{margin-right:.25rem;color:#cd5545}.traffic-empty{padding:2.5rem 1rem;color:#8a838b;text-align:center;font-size:.85rem}@keyframes trafficPulse{50%{opacity:.45;transform:scale(.8)}}@media(max-width:767px){.traffic-live-banner{align-items:flex-start;flex-wrap:wrap}.traffic-live-banner .ms-auto{width:100%;margin-left:1.1rem!important}.traffic-chart{height:230px}.traffic-panel{padding:1rem}.traffic-kpi{padding:1rem}}

.input-group-text.bg-white {
    background-color: rgb(25, 135, 84) !important;
      color: #fff !important;
      border: rgb(25, 135, 84) !important;
}

.password-field{position:relative}.password-field .form-control{padding-right:3.15rem}.password-toggle{position:absolute;top:50%;right:.45rem;display:grid;width:2.35rem;height:2.35rem;padding:0;place-items:center;color:#5c555e;background:transparent;border:0;border-radius:10px;transform:translateY(-50%)}.password-toggle:hover,.password-toggle:focus-visible{color:#252229;background:#f1ece7;outline:0}.password-toggle i{font-size:1.1rem;line-height:1}

.btn-ebay{background:#3665f3;border-color:#3665f3;color:#fff;font-weight:700}.btn-ebay:hover,.btn-ebay:focus-visible{background:#2348b8;border-color:#2348b8;color:#fff}.btn-ebay:disabled{background:#9bacdf;border-color:#9bacdf;color:#fff}.ebay-sync-overlay{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:1rem;background:rgba(20,18,22,.7)}.ebay-sync-overlay.d-none{display:none!important}.ebay-sync-dialog{width:min(720px,100%);max-height:calc(100vh - 2rem);overflow:auto;padding:1.5rem;background:#fff;border-radius:22px;box-shadow:0 24px 80px rgba(0,0,0,.3);outline:0}.ebay-sync-dialog .progress{height:1.35rem}.ebay-sync-log{min-height:180px;max-height:320px;overflow:auto;padding:1rem;background:#f7f5f2;border:1px solid #e6dfd8;border-radius:14px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem;line-height:1.55;white-space:pre-wrap}.product-selector{width:1.15rem;height:1.15rem;cursor:pointer}@media(max-width:575px){.ebay-sync-dialog{padding:1rem;border-radius:16px}.ebay-sync-log{min-height:150px}}
