/* ─── PRODUCT PAGE — Hero full-width + tabs ─── */

body.product #wrapper { padding-top: 0 !important; display: none !important; }
body.product .breadcrumb_spacing { display: none !important; }


/* ══ Hero ══════════════════════════════════════════════════════ */
.ss-product-hero { position: relative; border-bottom: 3px solid #111; }

.ss-product-hero-media {
  position: relative;
  height: 640px;
  overflow: hidden;
  background: #1a1a1a;
}

.ss-product-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Gradientes sobre la imagen */
.ss-product-hero-gradient-right {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 35%, rgba(0,0,0,.45) 60%, rgba(0,0,0,.6) 100%);
  pointer-events: none;
}
.ss-product-hero-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 55%;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
  pointer-events: none;
}

/* Stickers Panda en el hero */
.ss-product-hero-media .st_product_sticker_box {
  position: absolute !important;
  top: 24px !important;
  left: 32px !important;
  z-index: 4 !important;
  display: flex !important;
  gap: 8px !important;
  flex-direction: row !important;
}

/* Info sobreimpresa bottom-left */
.ss-product-hero-overlay-info {
  position: absolute;
  bottom: 100px;
  left: 32px;
  max-width: 45%;
  z-index: 3;
}
.ss-product-hero-brand {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.ss-product-hero-title {
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1;
  letter-spacing: -.5px;
}
.ss-product-hero-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,.65);
}

/* Miniaturas bottom-left */
.ss-product-hero-thumbs {
  position: absolute;
  bottom: 24px;
  left: 32px;
  display: flex;
  gap: 8px;
  z-index: 3;
}
.ss-product-hero-thumb {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  border: 2px solid transparent;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  background-color: rgba(255,255,255,.15);
  transition: border-color .15s;
}
.ss-product-hero-thumb.active { border-color: #fff; }
.ss-product-hero-thumb:hover { border-color: rgba(255,255,255,.6); }

/* ══ Info Card flotante ══════════════════════════════════════════ */
.ss-product-info-card {
  position: absolute;
  right: 36px;
  top: 20px;
  width: 460px;
  max-height: calc(100% - 40px);
  overflow-y: auto;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 8px 40px rgba(0,0,0,.28);
  z-index: 5;
}

/* Badge descuento en esquina superior derecha de la card */
.ss-pic-discount-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: #e63946;
  border-radius: 6px;
  padding: 4px 9px;
  line-height: 1.2;
  letter-spacing: 0.3px;
}

/* Scrollbar discreta */
.ss-product-info-card::-webkit-scrollbar { width: 4px; }
.ss-product-info-card::-webkit-scrollbar-track { background: transparent; }
.ss-product-info-card::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

/* Rating */
.ss-pic-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.ss-pic-stars-wrap {
  display: flex;
  gap: 1px;
  line-height: 1;
}
.ss-star {
  font-size: 15px;
  letter-spacing: 0;
}
.ss-star--full  { color: #111; }
.ss-star--half  { color: #111; opacity: .45; }
.ss-star--empty { color: #ddd; }
.ss-pic-rating-text {
  font-size: 12px;
  color: #777;
}

/* Precio */
.ss-pic-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.ss-pic-price {
  font-size: 38px;
  font-weight: 900;
  color: #111;
  line-height: 1;
}
.ss-pic-price-old {
  font-size: 15px;
  color: #bbb;
  text-decoration: line-through;
}
.ss-pic-price-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.ss-pic-badge-save {
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.ss-pic-vat {
  font-size: 11px;
  color: #555;
}

/* Stock */
.ss-pic-stock {
  font-size: 12px;
  color: #555;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eee;
}
.ss-pic-stock strong { color: #111; }

/* Spec pills */
.ss-pic-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.ss-pic-spec-pill {
  flex: 1 1 auto;
  min-width: 0;
}
.ss-pic-spec-pill {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
}
.ss-pic-spec-val {
  font-size: 13px;
  font-weight: 900;
  color: #111;
  white-space: nowrap;
}
.ss-pic-spec-label {
  font-size: 10px;
  color: #888;
  margin-top: 1px;
  white-space: nowrap;
}

/* ── CTA: botones wishlist y compare en la info-card ── */

/* Wishlist — estado normal */
.ss-product-info-card .add_to_love svg path { fill: none; transition: fill .2s, stroke .2s; }
.ss-product-info-card .add_to_love:hover svg path { stroke: #e00; }

/* Wishlist — estado añadido */
.ss-product-info-card .add_to_love.st_added { border-color: #e00 !important; }
.ss-product-info-card .add_to_love.st_added svg path { fill: #e00; stroke: #e00; }

/* Compare — estado añadido */
.ss-product-info-card .stcompare_add.st_added { border-color: #111 !important; background: #111 !important; color: #fff !important; }
.ss-product-info-card .stcompare_add.st_added svg { stroke: #fff; }

/* Ocultar el #main de Panda — invisible pero en DOM para sus scripts JS */
body.product .ss-panda-hidden {
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ══ Tabs section ══════════════════════════════════════════════ */
.ss-product-tabs-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px 64px;
}

/* Nav tabs */
.ss-product-tabs-wrap .product_info_tabs { border-bottom: none !important; }

.ss-product-tabs-wrap .nav-tabs {
  display: flex !important;
  gap: 0 !important;
  border-bottom: 2px solid #e8e8e8 !important;
  margin-bottom: 40px !important;
  padding: 0 !important;
  list-style: none !important;
  flex-wrap: nowrap !important;
}

.ss-product-tabs-wrap .nav-tabs .nav-item { margin: 0 !important; }

.ss-product-tabs-wrap .nav-tabs .nav-link {
  display: block !important;
  padding: 12px 24px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #888 !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  margin-bottom: -2px !important;
  text-decoration: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  transition: color .15s, border-color .15s !important;
}
.ss-product-tabs-wrap .nav-tabs .nav-link:hover { color: #111 !important; }
.ss-product-tabs-wrap .nav-tabs .nav-link.active {
  color: #111 !important;
  border-bottom-color: #111 !important;
}

/* Tab pane */
.ss-product-tabs-wrap .tab-content { border: none !important; background: transparent !important; }
.ss-product-tabs-wrap .tab-pane { padding: 0 !important; }

/* Mobile tab title — ocultar en desktop */
@media (min-width: 992px) {
  .ss-product-tabs-wrap .mobile_tab_title { display: none !important; }
}

/* Tab body */
.ss-product-tabs-wrap .tab-pane-body {
  padding: 0 !important;
}

/* Hide the hidden product-details tab nav item */
.ss-product-tabs-wrap .ss-tab-hidden { display: none !important; }
.ss-product-tabs-wrap #product-details { display: none !important; }

/* ── Description tab: 2-column grid ── */
.ss-product-tabs-wrap #description .tab-pane-body .product-description { all: unset; display: block; }
.ss-product-tabs-wrap .product_description_container { all: unset !important; display: block !important; }
.ss-product-tabs-wrap .product_description_container .st_read_more_box { all: unset !important; display: block !important; }

.ss-desc-tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.ss-desc-col-text {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
}

/* ── Specs table (used in both description right-col and standalone tab) ── */
.ss-specs-table-wrap {
  background: #f5f5f5;
  border-radius: 10px;
  overflow: hidden;
}

.ss-spec-row {
  display: flex;
  align-items: baseline;
  padding: 12px 18px;
  border-bottom: 1px solid #e8e8e8;
  gap: 12px;
}
.ss-spec-row:last-child { border-bottom: none; }
.ss-spec-row:nth-child(even) { background: rgba(0,0,0,.02); }

.ss-spec-name {
  flex: 0 0 45%;
  font-size: 13px;
  color: #666;
  font-weight: 400;
}
.ss-spec-value {
  flex: 1;
  font-size: 13px;
  color: #111;
  font-weight: 600;
}

/* Standalone specs tab gets a bit more breathing room */
.ss-specs-standalone {
  max-width: 700px;
}

/* ── Attachments tab ── */
.ss-attachments-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 700px;
}

.ss-attachment-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1.5px solid #e8e8e8;
  border-radius: 10px;
  text-decoration: none;
  color: #111;
  transition: border-color .2s;
}
.ss-attachment-item:hover { border-color: #111; }

.ss-attachment-icon {
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #555;
}

.ss-attachment-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ss-attachment-name {
  font-size: 13px;
  font-weight: 700;
  color: #111;
}
.ss-attachment-desc {
  font-size: 12px;
  color: #888;
}
.ss-attachment-size {
  font-size: 11px;
  color: #bbb;
}

.ss-attachment-dl {
  font-size: 11px;
  font-weight: 700;
  color: #555;
  background: #f5f5f5;
  padding: 4px 10px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* ── Mobile: stack description grid to single column ── */
@media (max-width: 991px) {
  .ss-desc-tab-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ══ Reviews section ══════════════════════════════════════════════ */

/* Hide Reviews tab from tabs nav — pero mostrar el bloque en ss-product-reviews-wrap */
.ss-product-tabs-wrap .nav-tabs .nav-item:has([data-module="stproductcomments"]),
.ss-product-tabs-wrap [id^="extra-"]:has(.pcomments_block) { display: none !important; }

.ss-product-reviews-wrap {
  background: #fafafa;
  border-top: 1px solid #e8e8e8;
  padding: 60px 40px;
}
.ss-reviews-layout {
  max-width: 1200px;
  margin: 0 auto;
}
.ss-product-reviews-wrap > * {
  width: 100%;
}

/* ── 2-column layout ── */
.ss-reviews-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0 60px;
  align-items: start;
}

/* ── Estado sin comentarios: 1 columna centrada ── */
.ss-reviews-layout.ss-reviews-empty-state {
  grid-template-columns: 1fr;
  text-align: center;
}
.ss-reviews-layout.ss-reviews-empty-state .ss-reviews-summary {
  display: none !important;
}
.ss-reviews-layout.ss-reviews-empty-state .ss-reviews-header-row {
  justify-content: center;
}
.ss-reviews-layout.ss-reviews-empty-state #empty-product-comment {
  display: flex !important;
  justify-content: center;
}
.ss-reviews-layout.ss-reviews-empty-state .ss-reviews-sort {
  display: none !important;
}

/* ── Left summary card ── */
.ss-reviews-summary {
  display: flex !important;
  flex-direction: column !important;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 32px;
  position: sticky;
  top: 100px;
  float: none;
  width: auto;
}
.ss-reviews-summary > * {
  display: block;
  float: none;
  width: 100%;
}
.ss-reviews-score-block {
  text-align: center;
  margin-bottom: 24px;
}
.ss-reviews-score {
  display: block;
  font-size: 56px;
  font-weight: 900;
  color: #111;
  line-height: 1;
  letter-spacing: -2px;
  margin: 0;
}
.ss-reviews-stars {
  display: block;
  font-size: 22px;
  color: #111;
  letter-spacing: -1px;
  margin: 6px 0;
}
.ss-rstar--off { color: #ddd; }
.ss-reviews-count {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #999;
  margin: 0;
}

/* Distribution bars */
.ss-reviews-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  width: 100%;
}
.ss-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.ss-bar-label {
  width: 20px;
  text-align: right;
  color: #555;
  font-weight: 600;
  flex-shrink: 0;
}
.ss-bar-track {
  flex: 1;
  height: 6px;
  background: #eee;
  border-radius: 3px;
  overflow: hidden;
}
.ss-bar-fill {
  height: 100%;
  background: #111;
  border-radius: 3px;
  transition: width .4s ease;
}
.ss-bar-num {
  width: 24px;
  color: #999;
  flex-shrink: 0;
}

/* Write review button */
.ss-write-review-btn {
  display: block !important;
  width: 100% !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .5px !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: background .2s !important;
}
.ss-write-review-btn:hover { background: #333 !important; color: #fff !important; }

/* ── Right col ── */
.ss-reviews-right { min-width: 0; }
.ss-reviews-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.ss-reviews-title {
  font-size: 22px;
  font-weight: 900;
  color: #111;
  letter-spacing: -.3px;
  margin: 0;
}
.ss-reviews-sort {
  font-size: 12px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #555;
  background: #fff;
  cursor: pointer;
}

/* Review cards */
.ss-review-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: flex-start;
}
.ss-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ss-review-content { flex: 1; min-width: 0; }
.ss-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.ss-review-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ss-review-author {
  font-size: 13px;
  font-weight: 700;
  color: #111;
}
.ss-review-verified {
  font-size: 11px;
  color: #bbb;
}
.ss-review-date {
  font-size: 11px;
  color: #bbb;
}
.ss-review-stars {
  font-size: 14px;
  color: #111;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}
.ss-review-title {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}
.ss-review-body {
  font-size: 13px;
  color: #666;
  line-height: 1.65;
  margin: 0;
}

/* See all link */
.ss-reviews-footer-cta { margin-top: 20px; text-align: center; }
.ss-see-all-link {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  text-decoration: underline;
}
.ss-see-all-link:hover { color: #333; }

/* Hide native elements we don't use */
.ss-product-reviews-wrap .material-icons,
.ss-product-reviews-wrap .comments-nb,
.ss-product-reviews-wrap .comment-buttons { display: none !important; }

/* ══ Write review modal ════════════════════════════════════════ */
.product-comment-modal { z-index: 1050 !important; }

.product-comment-modal .modal-dialog {
  margin: 48px auto !important;
  max-width: 580px !important;
}
.product-comment-modal .modal-content {
  background: #fff !important;
  border-radius: 16px !important;
  border: none !important;
  box-shadow: 0 24px 80px rgba(0,0,0,.18) !important;
  overflow: hidden !important;
}

/* Header */
.product-comment-modal .modal-header {
  padding: 24px 28px 20px !important;
  border-bottom: 1px solid #f0f0f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.product-comment-modal .modal-header .h2 {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #111 !important;
  margin: 0 !important;
  letter-spacing: -.3px !important;
}
.product-comment-modal .modal-header .close {
  font-size: 22px !important;
  color: #999 !important;
  opacity: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  background: none !important;
  border: none !important;
}
.product-comment-modal .modal-header .close:hover { color: #111 !important; }

/* Body */
.product-comment-modal .modal-body {
  padding: 24px 28px 28px !important;
}

/* Product strip */
.ss-modal-product-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8f8f8;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
}
.ss-modal-product-img img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
}
.ss-modal-product-info { flex: 1; min-width: 0; }
.ss-modal-product-name {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin: 0 0 3px;
}
.ss-modal-product-desc {
  font-size: 12px;
  color: #999;
  line-height: 1.5;
  margin: 0;
}

/* Rating criteria */
.ss-modal-criteria { margin-bottom: 4px; }
#post-product-comment-modal #criterions_list {
  list-style: none;
  padding: 0;
  margin: 0;
}
#post-product-comment-modal #criterions_list li { margin-bottom: 8px; }
#post-product-comment-modal .criterion-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
#post-product-comment-modal .criterion-rating label {
  font-size: 12px;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin: 16px 0 0;
}
#post-product-comment-modal #ratingNotChosen {
  font-size: 11px;
  color: #e74c3c;
  margin-top: 4px;
}

/* Footer row */
.ss-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}
.ss-modal-footer p.required {
  font-size: 11px;
  color: #bbb;
  margin: 0;
}
.ss-modal-footer .post-comment-buttons {
  display: flex;
  gap: 10px;
}

/* Form fields */
#post-product-comment-modal .form-label,
#post-product-comment-modal label.form-label {
  display: block !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #555 !important;
  text-transform: uppercase !important;
  letter-spacing: .6px !important;
  margin: 16px 0 6px !important;
}
#post-product-comment-modal input[type="text"],
#post-product-comment-modal textarea {
  width: 100% !important;
  border: 1.5px solid #e0e0e0 !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  color: #111 !important;
  background: #fff !important;
  transition: border-color .15s !important;
  box-sizing: border-box !important;
  resize: vertical !important;
}
#post-product-comment-modal input[type="text"]:focus,
#post-product-comment-modal textarea:focus {
  outline: none !important;
  border-color: #111 !important;
}
#post-product-comment-modal textarea { min-height: 100px !important; }

/* Footer row */
#post-product-comment-modal .post-comment-buttons {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  align-items: center !important;
}
#post-product-comment-modal .row:last-child {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 20px !important;
}
#post-product-comment-modal .row:last-child > [class*="col-"] {
  float: none !important;
  padding: 0 !important;
}
#post-product-comment-modal p.required {
  font-size: 11px !important;
  color: #bbb !important;
  margin: 0 !important;
}

/* Buttons */
.product-comment-modal .btn-comment,
.product-comment-modal .btn-comment-big,
.product-comment-modal .btn-comment-huge {
  background: #111 !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 11px 24px !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  letter-spacing: .2px !important;
  transition: background .2s !important;
  line-height: 1.4 !important;
}
.product-comment-modal .btn-comment:hover,
.product-comment-modal .btn-comment-big:hover,
.product-comment-modal .btn-comment-huge:hover {
  background: #333 !important;
}
.product-comment-modal .btn-comment-inverse,
.product-comment-modal .btn-comment-inverse.btn-comment-big,
.product-comment-modal .btn-comment-inverse.btn-comment-huge {
  background: #fff !important;
  color: #111 !important;
  border: 1.5px solid #ddd !important;
}
.product-comment-modal .btn-comment-inverse:hover {
  background: #f5f5f5 !important;
  border-color: #bbb !important;
}

/* ── Alert modals (success / error) ── */
.ss-alert-modal .modal-header { gap: 10px; }
.ss-alert-modal .modal-header .h2::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  vertical-align: middle;
  margin-right: 8px;
  position: relative;
  top: -1px;
}
.ss-alert-modal .modal-header--check .h2::before {
  background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}
.ss-alert-modal .modal-header--error .h2::before {
  background: #ef4444 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center/12px no-repeat;
}
.ss-alert-modal .modal-body { text-align: center; padding-top: 28px !important; }
.ss-alert-modal .modal-body #product-comment-posted-modal-message,
.ss-alert-modal .modal-body #product-comment-post-error-message { margin-bottom: 24px; font-size: 15px; color: #444; }
.ss-alert-modal .post-comment-buttons { justify-content: center !important; }

/* ── Responsive ── */
@media (max-width: 1200px) {
  .ss-product-info-card { width: 400px; right: 20px; }
  .ss-product-hero-overlay-info { max-width: 40%; }
}
@media (max-width: 992px) {
  .ss-product-hero-media { height: auto; min-height: 480px; }
  .ss-product-info-card {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
    border-top: 2px solid #111;
  }
  .ss-product-hero-overlay-info { max-width: 90%; bottom: 24px; left: 20px; }
  .ss-product-hero-title { font-size: 28px; }
  .ss-product-hero-thumbs { bottom: auto; top: 16px; left: 16px; }
  .ss-product-tabs-wrap { padding: 32px 20px 48px; }

  /* Reviews — mobile layout */
  .ss-product-reviews-wrap { padding: 28px 20px; }
  .ss-reviews-layout { grid-template-columns: 1fr; gap: 24px; }

  /* Summary card: horizontal — score left, bars right */
  .ss-reviews-summary {
    position: static !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 16px !important;
    padding: 20px !important;
    border-radius: 12px !important;
  }
  .ss-reviews-score-block {
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
    text-align: center !important;
    width: auto !important;
    align-self: center !important;
    padding-top: 8px !important;
  }
  .ss-reviews-score { font-size: 42px; }
  .ss-reviews-stars { font-size: 16px; margin: 4px 0; }
  .ss-reviews-count { font-size: 10px; }
  .ss-reviews-bars {
    flex: 1 !important;
    min-width: 0 !important;
    margin-bottom: 0 !important;
    width: auto !important;
    gap: 5px;
  }
  .ss-bar-track { height: 5px; }
  .ss-write-review-btn {
    width: 100% !important;
    margin-top: 8px !important;
    flex-basis: 100% !important;
  }
}

/* ══ Mobile — ficha de producto ══════════════════════════════════════ */
@media (max-width: 767px) {

  /* ── HERO: flex-column para controlar el orden de apilado ── */
  .ss-product-hero { border-bottom: none; }
  .ss-product-hero-media {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    background: #f0f0f0;
    position: relative;
  }

  /* La imagen ocupa su propio espacio 4:3 */
  .ss-product-hero-img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    order: 1;
  }

  /* Ocultar gradientes en mobile */
  .ss-product-hero-gradient-right,
  .ss-product-hero-gradient-bottom { display: none; }

  /* Stickers: absoluto sobre la imagen (order no aplica a absolutos) */
  .ss-product-hero-media .st_product_sticker_box {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    gap: 5px !important;
    z-index: 4;
  }

  /* ── THUMBNAILS: scroll horizontal, order 2 ── */
  .ss-product-hero-thumbs {
    position: static;
    top: auto;
    left: auto;
    overflow-x: auto;
    display: flex;
    padding: 10px 16px;
    background: #fff;
    gap: 8px;
    scrollbar-width: none;
    border-bottom: 1px solid #ebebeb;
    order: 2;
  }
  .ss-product-hero-thumbs::-webkit-scrollbar { display: none; }
  .ss-product-hero-thumb {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 6px;
    border-width: 2px;
  }

  /* ── OVERLAY INFO: debajo de los thumbs, order 3 ── */
  .ss-product-hero-overlay-info {
    position: static;
    max-width: 100%;
    bottom: auto;
    left: auto;
    background: #fff;
    padding: 20px 20px 4px;
    order: 3;
  }
  .ss-product-hero-brand {
    color: #555;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  .ss-product-hero-title {
    color: #111;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -.5px;
    line-height: 1.15;
    margin-bottom: 4px;
  }
  .ss-product-hero-subtitle {
    color: #999;
    font-size: 13px;
    margin-bottom: 0;
  }

  /* ── INFO CARD: posición estática, sin sombra, padding ajustado, order 4 ── */
  .ss-product-info-card {
    position: static;
    width: 100%;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
    border-top: 1px solid #ebebeb;
    padding: 20px;
    background: #fff;
    order: 4;
  }

  /* Rating */
  .ss-pic-rating {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e8e8e8;
  }
  .ss-pic-stars-wrap .ss-star { font-size: 14px; }

  /* Precio */
  .ss-pic-price {
    font-size: 36px;
    font-weight: 900;
  }
  .ss-pic-price-old { font-size: 15px; }
  .ss-pic-price-badges { margin-bottom: 16px; }
  .ss-pic-badge-save {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 5px;
  }

  /* Stock */
  .ss-pic-stock { font-size: 12px; }

  /* ── Specs: grid 2x2 ── */
  .ss-pic-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 20px;
  }
  .ss-pic-spec-pill {
    background: #f5f5f5;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    padding: 12px;
    text-align: left;
    min-width: 0;
    flex: none;
  }
  .ss-pic-spec-val {
    font-size: 14px;
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    white-space: normal;
  }
  .ss-pic-spec-label {
    font-size: 10px;
    color: #999;
    margin-top: 3px;
    white-space: normal;
  }

  /* ── Add to cart: fila flex, botones icon al lado del CTA ── */
  .ss-product-info-card > div[style*="flex-direction:row"],
  .ss-product-info-card > div[style*="flex-direction: row"] {
    flex-direction: row !important;
    gap: 8px !important;
    align-items: stretch !important;
  }
  .ss-product-info-card .add-to-cart {
    flex: 1 !important;
    padding: 15px 12px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
    letter-spacing: .2px;
  }
  .ss-product-info-card .add_to_love,
  .ss-product-info-card .stcompare_add {
    flex-shrink: 0 !important;
    width: 48px !important;
    padding: 13px 14px !important;
    border-radius: 8px !important;
  }

  /* ── Trust row: 4 iconos horizontales ── */
  .ss-product-info-card [style*="justify-content:space-around"],
  .ss-product-info-card [style*="justify-content: space-around"] {
    padding-top: 14px;
    margin-top: 4px;
    border-top: 1px solid #e8e8e8;
    display: flex !important;
    justify-content: space-around !important;
    flex-wrap: nowrap !important;
    gap: 4px;
  }

  /* ── Tabs: scroll horizontal, desactivar acordeón móvil de Panda ── */
  .ss-product-tabs-wrap { padding: 0 0 32px; }

  /* Forzar tabs siempre visibles (Panda los oculta en mobile con sttab_2) */
  .ss-product-tabs-wrap .product_info_tabs .nav-tabs {
    display: flex !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    flex-wrap: nowrap !important;
    border-bottom: 2px solid #e8e8e8 !important;
    padding: 0 !important;
    background: #fff !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
  }
  .ss-product-tabs-wrap .product_info_tabs .nav-tabs::-webkit-scrollbar { display: none; }
  .ss-product-tabs-wrap .product_info_tabs .nav-tabs .nav-item { flex-shrink: 0 !important; }
  .ss-product-tabs-wrap .product_info_tabs .nav-tabs .nav-link {
    white-space: nowrap !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    display: block !important;
  }
  .ss-product-tabs-wrap .product_info_tabs .nav-tabs .nav-link.active {
    border-bottom-width: 3px !important;
  }

  /* Ocultar el título-acordeón que Panda inyecta en mobile */
  .ss-product-tabs-wrap .mobile_tab_title { display: none !important; }

  /* El tab-pane activo siempre visible */
  .ss-product-tabs-wrap .tab-pane.active { display: block !important; }
  .ss-product-tabs-wrap .tab-pane-body { display: block !important; visibility: visible !important; }

  .ss-product-tabs-wrap .tab-content { padding: 20px; }

  /* Specs table inside tab */
  .ss-specs-table-wrap { border-radius: 8px; }
  .ss-spec-row { padding: 10px 14px; }
  .ss-spec-name { font-size: 12px; }
  .ss-spec-value { font-size: 12px; }

  /* ── Reviews: layout vertical ── */
  .ss-product-reviews-wrap { padding: 20px; }
  .ss-reviews-layout { grid-template-columns: 1fr; gap: 16px; }
  .ss-reviews-summary {
    position: static;
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
  }
  .ss-reviews-score-block { margin-bottom: 0; flex-shrink: 0; }
  .ss-reviews-score { font-size: 40px; }
  .ss-reviews-stars { font-size: 16px; margin: 4px 0; }
  .ss-reviews-count { font-size: 10px; }
  .ss-reviews-bars { margin-bottom: 0; gap: 5px; flex: 1; min-width: 140px; }
  .ss-bar-track { height: 5px; }
  .ss-write-review-btn { flex-basis: 100%; margin-top: 0 !important; }
  .ss-review-card { padding: 16px; gap: 10px; }
  .ss-review-avatar { width: 34px; height: 34px; font-size: 13px; }
  .ss-reviews-header-row { margin-bottom: 16px; }
  .ss-reviews-title { font-size: 18px; }

  /* ── Related: Swiper en mobile — cards no colapsen ── */
  .ss-related-section .products_slider .swiper-slide { height: auto; }
  .ss-related-section .products_slider .ajax_block_product { height: 100%; }
  .ss-related-section .products_slider .pro_outer_box { height: 100%; display: flex; flex-direction: column; }
  .ss-related-section .products_slider .pro_second_box { flex: 1; display: flex; flex-direction: column; }
  .ss-related-section .products_slider .pro_kuan_box { margin-top: auto; }

  /* ── ACC blocks: padding más compacto ── */
  .ss-acc-fullwidth-top,
  .ss-acc-fullwidth-top2 { margin: 0; }
}

/* ══ Trust row ════════════════════════════════════════════════════════ */
.ss-pic-trust-row {
  display: flex;
  justify-content: space-around;
  padding: 14px 0 0;
  margin-top: 12px;
  border-top: 1px solid #eee;
}
.ss-pic-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}
.ss-pic-trust-item svg {
  color: #888;
  flex-shrink: 0;
}
.ss-pic-trust-item span {
  font-size: 10px;
  color: #888;
  line-height: 1.3;
}

/* ══ Bloque envío ══════════════════════════════════════════════════════ */
.ss-pic-delivery {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.ss-pic-delivery-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #444;
  line-height: 1.4;
}
.ss-pic-delivery-row svg {
  color: #888;
  flex-shrink: 0;
  margin-top: 1px;
}
.ss-pic-delivery-row strong { color: #111; }

/* ── Mobile breadcrumb: barra compacta blanca encima de la galería ── */
@media (max-width: 767px) {
  body.product .ss-category-hero { display: block; }
  body.product .ss-category-hero--slim {
    background: #fff;
    border-bottom: 1px solid #ebebeb;
    padding: 10px 20px;
  }
  body.product .ss-category-hero--slim .ss-category-hero-bg { display: none; }
  body.product .ss-category-hero--slim .ss-category-breadcrumb {
    color: #bbb;
    font-size: 11px;
    margin-bottom: 0;
  }
  body.product .ss-category-hero--slim .ss-category-breadcrumb a { color: #666; }
  body.product .ss-category-hero--slim .ss-breadcrumb-current { color: #333; font-weight: 600; }
}

.ssa-wrap label { margin-bottom: 0; }

/* ── Mailalert (aviso sin stock) ─────────────────────────────── */
.ss-mailalert-trigger {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
  width: 100%;
}
.ss-mailalert-trigger:hover { background: #333; }

.ss-mailalert-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ss-mailalert-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}
.ss-mailalert-modal-box {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px 24px;
  width: 100%;
  max-width: 420px;
  margin: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
.ss-mailalert-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #888;
  line-height: 1;
}
.ss-mailalert-modal-close:hover { color: #111; }
.ss-mailalert-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin: 0;
}
.ss-mailalert-modal-subtitle {
  font-size: 13px;
  color: #666;
  margin: 0;
}
.ss-mailalert-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ss-mailalert-input {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  color: #111;
  background: #fff;
  outline: none;
  transition: border-color .15s;
  box-sizing: border-box;
}
.ss-mailalert-input:focus { border-color: #111; }
.ss-mailalert-btn {
  width: 100%;
  padding: 13px 18px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.ss-mailalert-btn:hover { background: #333; }
.ss-mailalert-gdpr { font-size: 11px; color: #888; }
.ss-mailalert-feedback { font-size: 13px; }
.ss-mailalert-confirmed {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #2a7a2a;
  font-weight: 600;
  margin: 0;
  padding: 13px 16px;
  background: #f0faf0;
  border-radius: 8px;
  border: 1.5px solid #b8e0b8;
}

/* ══ CTA row ═══════════════════════════════════════════════════ */
/* desktop: una sola fila */
.ss-pic-cta-wrap {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: stretch;
  margin-bottom: 0;
}

.ss-pic-cta-wrap > .ss-pic-cta-main,
.ss-pic-cta-wrap > button.ss-pic-cta-main {
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box;
}

button.ss-pic-cta-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.4;
  transition: background .2s;
}
button.ss-pic-cta-main:hover { background: #333; }

.ss-pic-cta-main .ss-mailalert,
.ss-pic-cta-main .ss-mailalert-trigger {
  flex: 1;
  width: 100%;
}

.ss-pic-cta-icon {
  flex: 0 0 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 0;
  background: #fff;
  color: #111;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s;
  box-sizing: border-box;
}
.ss-pic-cta-icon.st_added { border-color: #ddd; color: #e00; }

/* mobile: botón principal 100% fila 1, iconos 50/50 fila 2 */
@media (max-width: 767px) {
  .ss-pic-cta-wrap { flex-wrap: wrap; }
  .ss-pic-cta-wrap > .ss-pic-cta-main,
  .ss-pic-cta-wrap > button.ss-pic-cta-main {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
  }
  .ss-pic-cta-icon { flex: 1 1 calc(50% - 4px); }
}

/* ══ Quickview modal ══════════════════════════════════════════ */
.ss-quickview .modal-dialog {
  max-width: 860px;
  width: calc(100% - 32px);
  margin: 16px auto;
}

.ss-quickview-content {
  border-radius: 16px;
  overflow: hidden;
  border: none;
  box-shadow: 0 12px 48px rgba(0,0,0,.18);
}

.ss-quickview-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #444;
  transition: border-color .15s;
}
.ss-quickview-close:hover { border-color: #111; color: #111; }

.ss-quickview-body {
  display: flex;
  flex-direction: row;
  min-height: 420px;
}

.ss-quickview-img-col {
  flex: 0 0 45%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.ss-quickview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ss-quickview-info-col {
  flex: 1;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

.ss-quickview-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #888;
}

.ss-quickview-name {
  font-size: 20px;
  font-weight: 800;
  color: #111;
  margin: 0;
  line-height: 1.25;
}

.ss-quickview-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.ss-quickview-price {
  font-size: 22px;
  font-weight: 800;
  color: #111;
}

.ss-quickview-price-old {
  font-size: 15px;
  color: #aaa;
  text-decoration: line-through;
}

.ss-quickview-badge {
  font-size: 12px;
  font-weight: 700;
  background: #e00;
  color: #fff;
  border-radius: 4px;
  padding: 2px 7px;
}
.ss-quickview-badge--img {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  font-size: 13px;
  padding: 3px 8px;
}

.ss-quickview-stock { font-size: 13px; }
.ss-quickview-stock--in  { color: #1a7a3a; font-weight: 600; }
.ss-quickview-stock--out { color: #888; }

.ss-quickview-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.55;
}

.ss-quickview-cta { margin-top: 4px; }
.ss-quickview-cta .add-to-cart,
.ss-quickview-cta .btn-add-to-cart {
  width: 100%;
  padding: 13px 20px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.ss-quickview-cta .ss-mailalert-trigger { width: 100%; }

.ss-quickview .ss-quickview-link {
  margin-top: auto;
  text-align: center;
}

@media (max-width: 600px) {
  .ss-quickview-body { flex-direction: column; }
  .ss-quickview-img-col { flex: 0 0 220px; height: 220px; }
  .ss-quickview-info-col { padding: 20px 18px; }
}
