/* SmartDeal PDP v2.1 — Complete Styles (Storefront-compatible) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ══ STOREFRONT OVERRIDES — Force our layout ══ */
.sd-custom-pdp .site-main { max-width: 1100px !important; padding: 0 20px !important; }
#sd-product-page { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.sd-custom-pdp .storefront-breadcrumb,
.sd-custom-pdp .storefront-sorting { display: none !important; }
/* CRITICAL: sticky needs ALL ancestors to have overflow: visible */
body.sd-custom-pdp,
body.sd-custom-pdp #page,
body.sd-custom-pdp #content,
body.sd-custom-pdp #primary,
body.sd-custom-pdp .site-content,
body.sd-custom-pdp .content-area,
body.sd-custom-pdp .site-main,
body.sd-custom-pdp .entry-content,
body.sd-custom-pdp .type-product,
.sd-custom-pdp .sd-pdp,
.sd-custom-pdp .sd-pdp-grid,
.sd-custom-pdp article,
.sd-custom-pdp .product { overflow: visible !important; }
/* Hide FOMO/live viewer plugins on PDP */
.sd-custom-pdp .wcv-message,
.sd-custom-pdp [class*="wcv-"],
.sd-custom-pdp .wcbv-notice,
.sd-custom-pdp .live-sales-notification,
.sd-custom-pdp .woocommerce-live-visitors,
.sd-custom-pdp [class*="visitor"],
.sd-custom-pdp [class*="watching"],
.sd-custom-pdp [class*="personas"],
.sd-custom-pdp [class*="live-view"],
.sd-custom-pdp [class*="product-view"],
.sd-custom-pdp [class*="woovv"],
.sd-custom-pdp [class*="viendo"],
.sd-custom-pdp [class*="wt-cli"],
.sd-custom-pdp [class*="view-count"],
.sd-custom-pdp [class*="people-viewing"],
.sd-custom-pdp [class*="real-time"],
.sd-custom-pdp [class*="currently-viewing"],
.sd-custom-pdp [class*="live_view"],
.sd-custom-pdp [class*="product_view"],
.sd-custom-pdp .sd-info > p:last-of-type[style],
.sd-custom-pdp .cart + div:not(.sd-cart-total):not([class*="sd-"]) { display: none !important; }
/* Hide default Storefront/WooCommerce elements replaced by our custom PDP */
.sd-custom-pdp .woocommerce-product-gallery,
.sd-custom-pdp .summary > .price,
.sd-custom-pdp .woocommerce-tabs,
.sd-custom-pdp .related.products,
.sd-custom-pdp .upsells.products,
.sd-custom-pdp .product_meta { display: none !important; }

/* ══ BASE ══ */
.sd-pdp { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important; font-size: 14px; color: #111; }
.sd-pdp, .sd-pdp * { box-sizing: border-box; }
.sd-pdp h1, .sd-pdp h2, .sd-pdp h3, .sd-pdp h4, .sd-pdp p, .sd-pdp span, .sd-pdp div, .sd-pdp a, .sd-pdp button { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important; }

/* ══ TWO-COLUMN GRID ══ */
.sd-pdp .sd-pdp-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 36px !important; align-items: start !important; }
.sd-pdp .sd-pdp-grid > * { min-width: 0; }

/* ══ GALLERY (left column) ══ */
.sd-pdp .sd-gallery { align-self: stretch; z-index: 1; }
.sd-pdp .sd-gallery__sticky { position: sticky; top: 80px; }
.sd-pdp .sd-gallery__main { overflow: hidden; position: relative; }
.sd-pdp .sd-gallery__main { position: relative; background: #fff; border-radius: 14px; min-height: 200px; display: flex !important; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #e5e7eb; }
.sd-pdp .sd-gallery__img { max-width: 100% !important; height: auto !important; padding: 20px; object-fit: contain; }
.sd-pdp .sd-gallery__badge-discount { position: absolute; top: 12px; left: 12px; background: #dc2626; color: #fff; font-size: 14px; font-weight: 800; padding: 6px 10px; border-radius: 8px; z-index: 2; line-height: 1.2; }
.sd-pdp .sd-gallery__badge-estado { position: absolute; top: 12px; right: 12px; background: #111; color: #fff; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); z-index: 2; }
.sd-pdp .sd-gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; justify-content: center; flex-wrap: wrap; }
.sd-pdp .sd-gallery__thumb { width: 56px; height: 56px; background: #f5f6f7; border-radius: 8px; border: 2px solid transparent; overflow: hidden; cursor: pointer; transition: all 0.2s; }
.sd-pdp .sd-gallery__thumb img { width: 100% !important; height: 100% !important; object-fit: cover; }
.sd-pdp .sd-gallery__thumb--active { border-color: #111; background: #e5e7eb; }
.sd-pdp .sd-payment-strip { margin-top: 14px; padding: 14px 18px; background: linear-gradient(135deg, #f0fdf4 0%, #f9fafb 100%); border-radius: 10px; border: 1px solid #e5e7eb; }
.sd-pdp .sd-payment-strip__installment { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.sd-pdp .sd-payment-strip__label { font-size: 12px; color: #059669; font-weight: 700; }
.sd-pdp .sd-payment-strip__amount { font-size: 20px; font-weight: 900; color: #059669; }
.sd-pdp .sd-payment-strip__cards { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11px; color: #6b7280; }
.sd-pdp .sd-payment-strip__card-badge { display: inline-flex; align-items: center; }
.sd-pdp .sd-payment-strip__mp { background: #00bcff; color: #fff; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 5px; }

/* ══ INFO (right column) ══ */
.sd-pdp .sd-info { display: flex; flex-direction: column; gap: 0; min-width: 0; overflow: hidden; }
.sd-pdp .sd-info__title { margin: 0 !important; padding: 0 !important; font-size: 22px !important; font-weight: 800 !important; color: #111 !important; line-height: 1.3 !important; }
.sd-pdp .sd-info__sku { font-size: 12px; color: #9ca3af; font-family: monospace !important; margin-top: 4px; display: block; }

/* ── Badges ── */
.sd-pdp .sd-badges { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; align-items: stretch; }
.sd-pdp .sd-badge { background: #f3f4f6; color: #111; border: 1px solid #d1d5db; font-size: 11px; font-weight: 600; padding: 10px 6px; border-radius: 8px; cursor: pointer; text-align: center; display: flex !important; flex-direction: column; align-items: center; justify-content: flex-start; line-height: 1.3; transition: opacity 0.2s; min-width: 0; }
.sd-pdp .sd-badge:hover { opacity: 0.8; }
.sd-pdp .sd-badge__icon { font-size: 16px; margin-bottom: 4px; }
.sd-pdp .sd-badge__subtext { font-size: 12px; font-weight: 800; margin-top: -2px; }
.sd-pdp .sd-badge__hint { font-size: 9px; opacity: 0.5; margin-top: auto; padding-top: 6px; }

/* ── Google rating ── */
.sd-pdp .sd-google-rating { display: inline-flex !important; align-items: center; gap: 8px; margin-top: 10px; text-decoration: none !important; background: #f9fafb; padding: 8px 14px; border-radius: 8px; border: 1px solid #f0f0f0; transition: border-color 0.2s; color: inherit !important; }
.sd-pdp .sd-google-rating:hover { border-color: #d1d5db; }
.sd-pdp .sd-stars { color: #facc15 !important; font-size: 14px; letter-spacing: -1px; }
.sd-pdp .sd-google-rating strong { color: #111 !important; font-size: 14px; }
.sd-pdp .sd-google-rating__count { color: #6b7280; font-size: 12px; }
.sd-pdp .sd-google-rating__link { font-size: 11px; color: #0284c7 !important; font-weight: 600; margin-left: 2px; }

/* ── Short desc ── */
.sd-pdp .sd-short-desc { margin: 12px 0 0 !important; font-size: 13.5px !important; color: #4b5563 !important; line-height: 1.65 !important; background: #f9fafb; padding: 12px 14px; border-radius: 10px; border-left: 3px solid #0284c7; word-wrap: break-word; overflow-wrap: break-word; }

/* ── Spec chips ── */
.sd-pdp .sd-spec-chips { display: flex !important; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sd-pdp .sd-chip { background: #f3f4f6; color: #374151; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 8px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #e5e7eb; }
.sd-pdp .sd-chip__icon { font-size: 14px; }

/* ── Stock urgency ── */
.sd-pdp .sd-stock { display: flex !important; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 10px 14px; border-radius: 8px; margin-top: 10px; }
.sd-pdp .sd-stock--low { color: #ea580c; background: #fff7ed; }
.sd-pdp .sd-stock--critical { color: #dc2626; background: #fef2f2; }
.sd-pdp .sd-stock__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: sd-pulse 1.5s infinite; flex-shrink: 0; }
@keyframes sd-pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ── Price block ── */
.sd-pdp .sd-price-block { background: #f9fafb; border-radius: 12px; padding: 18px; border: 1px solid #e5e7eb; border-top: 3px solid #C5FF3E; margin-top: 14px; }
.sd-pdp .sd-price__normal { font-size: 13px; color: #9ca3af; }
.sd-pdp .sd-price__normal s { font-weight: 500; }
.sd-pdp .sd-price__transfer-row { display: flex !important; align-items: center; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.sd-pdp .sd-price__amount { font-size: 30px !important; font-weight: 900 !important; color: #059669 !important; letter-spacing: -0.5px; line-height: 1.1; }
.sd-pdp .sd-price__savings-badge { background: #059669; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; white-space: nowrap; }
.sd-pdp .sd-price__transfer-label { font-size: 12px; color: #059669; font-weight: 600; margin-top: 3px; display: flex; align-items: center; gap: 6px; }
.sd-pdp .sd-price__info-btn { background: none; border: 1px solid #059669; color: #059669; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; cursor: pointer; }
.sd-pdp .sd-price__divider { margin: 14px 0; border: 0; border-top: 1px solid #e5e7eb; }
.sd-pdp .sd-price__card { font-size: 16px; font-weight: 600; color: #4b5563; }
.sd-pdp .sd-price__card-sub { font-size: 12px; font-weight: 400; color: #9ca3af; }
.sd-pdp .sd-price__installments { font-size: 13px; color: #6b7280; margin-top: 3px; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.sd-pdp .sd-price__installments strong { color: #374151; }
.sd-pdp .sd-mp-badge { background: #00bcff; color: #fff !important; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.sd-pdp .sd-price__card-logos { display: flex; gap: 6px; margin-top: 6px; align-items: center; }
.sd-pdp .sd-price__card-logo { display: inline-flex; align-items: center; }
.sd-pdp .sd-price__mixed { display: flex; align-items: flex-start; gap: 8px; }
.sd-pdp .sd-price__mixed > span { font-size: 16px; margin-top: 1px; }
.sd-pdp .sd-price__mixed-title { font-size: 13px; font-weight: 600; color: #374151; }
.sd-pdp .sd-price__mixed-desc { font-size: 12px; color: #6b7280; margin-top: 2px; line-height: 1.5; }

/* ── Section label ── */
.sd-pdp .sd-section-label { font-size: 11px !important; font-weight: 700 !important; color: #9ca3af !important; text-transform: uppercase; letter-spacing: 1px; margin-top: 20px; margin-bottom: 8px; }

/* ── Warranty selector ── */
.sd-pdp .sd-warranty-selector { display: flex !important; gap: 8px; }
.sd-pdp .sd-warranty-opt { flex: 1; text-align: center; padding: 10px 8px; border-radius: 10px; cursor: pointer; border: 2px solid #e5e7eb; background: #fff; transition: all 0.2s; }
.sd-pdp .sd-warranty-opt--active { border-color: #059669 !important; background: #f0fdf4 !important; }
.sd-pdp .sd-warranty-opt__label { font-size: 13px; font-weight: 700; color: #111; }
.sd-pdp .sd-warranty-opt__sub { font-size: 11px; color: #6b7280; }
.sd-pdp .sd-warranty-opt--active .sd-warranty-opt__sub { color: #059669; font-weight: 600; }
.sd-pdp .sd-warranty-opt__price { font-size: 11px; color: #059669; font-weight: 600; }

/* ── Office upsell ── */
.sd-pdp .sd-office-upsell { display: flex !important; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; cursor: pointer; border: 2px solid #e5e7eb; background: #fff; transition: all 0.2s; }
.sd-pdp .sd-office-upsell--selected { border-color: #0284c7 !important; background: #eff6ff !important; }
.sd-pdp .sd-office__icon { width: 44px; height: 44px; background: #eb3c00; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 6px; }
.sd-pdp .sd-office__info { flex: 1; min-width: 0; }
.sd-pdp .sd-office__name { font-size: 13px; font-weight: 700; color: #111; }
.sd-pdp .sd-office__desc { font-size: 11px; color: #6b7280; margin-top: 1px; }
.sd-pdp .sd-office__price { text-align: right; flex-shrink: 0; }
.sd-pdp .sd-office__price-old { font-size: 10px; color: #9ca3af; text-decoration: line-through; }
.sd-pdp .sd-office__price-new { font-size: 15px; font-weight: 700; color: #0284c7; }
.sd-pdp .sd-office__check { width: 18px; height: 18px; border-radius: 4px; border: 2px solid #d1d5db; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s; }
.sd-pdp .sd-office-upsell--selected .sd-office__check { background: #0284c7; border-color: #0284c7; }
.sd-pdp .sd-office-upsell--selected .sd-office__check::after { content: '✓'; color: #fff; font-size: 12px; font-weight: 700; }

/* ── CTA buttons ── */
.sd-pdp .sd-cta-row { display: flex !important; gap: 10px; margin-top: 16px; }
.sd-pdp .sd-cta-row form.cart { flex: 1; display: flex !important; margin: 0 !important; padding: 0 !important; }
.sd-pdp .sd-cta-row form.cart .quantity { display: none !important; }
.sd-pdp .sd-btn { padding: 14px !important; border: none !important; border-radius: 10px !important; font-size: 15px !important; font-weight: 700 !important; cursor: pointer; text-decoration: none !important; display: flex !important; align-items: center; justify-content: center; transition: opacity 0.2s; line-height: 1.2 !important; }
.sd-pdp .sd-btn:hover { opacity: 0.9; }
.sd-pdp .sd-btn--cart { flex: 1; background: #111 !important; color: #fff !important; width: 100%; }
.sd-pdp .sd-btn--whatsapp { padding: 14px 20px !important; background: #25d366 !important; color: #fff !important; font-size: 14px !important; flex-shrink: 0; white-space: nowrap; gap: 6px; }
.sd-pdp .sd-cart-total { text-align: center; font-size: 12px; color: #6b7280; margin-top: 6px; }

/* ── Cert compact ── */
.sd-pdp .sd-cert-compact { margin-top: 12px; padding: 12px 16px; background: #f9fafb; border-radius: 12px; border: 1px solid #f0f0f0; cursor: pointer; display: flex !important; align-items: center; justify-content: space-between; transition: border-color 0.2s; }
.sd-pdp .sd-cert-compact:hover { border-color: #d1d5db; }
.sd-pdp .sd-cert-compact__inner { display: flex; align-items: center; gap: 8px; }
.sd-pdp .sd-cert-compact__inner > span { font-size: 18px; }
.sd-pdp .sd-cert-compact__title { font-size: 14px; font-weight: 700; color: #111; }
.sd-pdp .sd-cert-compact__sub { font-size: 12px; color: #6b7280; }
.sd-pdp .sd-cert-compact__link { font-size: 12px; color: #0284c7 !important; font-weight: 600; white-space: nowrap; }

/* ── Shipping ── */
.sd-pdp .sd-shipping { margin-top: 12px; padding: 14px 18px; background: #f9fafb; border-radius: 12px; border: 1px solid #f0f0f0; }
.sd-pdp .sd-shipping__title { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: #111; margin-bottom: 12px; }
.sd-pdp .sd-shipping select { width: 100% !important; padding: 10px 12px !important; border-radius: 8px !important; border: 1px solid #d1d5db !important; font-size: 13px !important; color: #374151; background: #fff; margin-bottom: 8px; cursor: pointer; appearance: auto !important; -webkit-appearance: auto !important; }
.sd-pdp .sd-shipping__option { display: flex !important; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 8px; border: 1px solid #e5e7eb; background: #fff; margin-bottom: 6px; cursor: pointer; transition: all 0.2s; }
.sd-pdp .sd-shipping__option--selected { border: 2px solid #059669 !important; background: #f0fdf4 !important; }
.sd-pdp .sd-shipping__option-name { font-size: 13px; font-weight: 600; color: #111; }
.sd-pdp .sd-shipping__option-sub { font-size: 11px; color: #6b7280; }
.sd-pdp .sd-shipping__option-price { font-size: 15px; font-weight: 700; color: #059669; }
.sd-pdp .sd-shipping__express-badge { background: #fef3c7; color: #92400e; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 3px; margin-left: 4px; }
.sd-pdp .sd-shipping__pickup { display: flex; align-items: center; gap: 8px; padding: 10px 12px; margin-top: 6px; font-size: 12px; color: #6b7280; }

/* ══ TABS (full width below grid) ══ */
.sd-pdp .sd-tabs-wrapper { margin-top: 32px; }
.sd-pdp .sd-tabs { display: flex !important; gap: 0; border-bottom: 2px solid #e5e7eb; margin-bottom: 20px; }
.sd-pdp .sd-tab { padding: 12px 20px !important; border: none !important; border-bottom: 2px solid transparent !important; background: transparent !important; font-size: 14px !important; font-weight: 400 !important; color: #6b7280 !important; cursor: pointer; margin-bottom: -2px; transition: all 0.2s; }
.sd-pdp .sd-tab--active { font-weight: 700 !important; color: #111 !important; border-bottom-color: #111 !important; }
.sd-pdp .sd-tab-content { display: none; }
.sd-pdp .sd-tab-content--active { display: block !important; }

/* Specs table — redesigned to look clean and professional */
.sd-pdp .sd-specs-table { overflow: hidden; }
.sd-pdp .sd-specs-table h2, .sd-pdp .sd-specs-table h3, .sd-pdp .sd-specs-table h4 {
    font-size: 15px !important; font-weight: 800 !important; margin: 24px 0 8px !important;
    color: #111 !important; padding-bottom: 8px; border-bottom: 2px solid #111;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.sd-pdp .sd-specs-table h2:first-child, .sd-pdp .sd-specs-table h3:first-child, .sd-pdp .sd-specs-table h4:first-child { margin-top: 0 !important; }
.sd-pdp .sd-specs-table dl {
    display: grid !important; grid-template-columns: 180px 1fr !important;
    gap: 0 !important; margin: 0 !important; border-radius: 10px; overflow: hidden;
    border: 1px solid #e5e7eb;
}
.sd-pdp .sd-specs-table dt {
    padding: 12px 16px !important; margin: 0 !important; font-size: 12px !important;
    color: #6b7280 !important; font-weight: 700 !important; border-bottom: 1px solid #f0f0f0;
    background: #f9fafb; text-transform: uppercase; letter-spacing: 0.3px;
    display: flex; align-items: center;
}
.sd-pdp .sd-specs-table dd {
    padding: 12px 16px !important; margin: 0 !important; font-size: 13px !important;
    color: #111 !important; font-weight: 500 !important; border-bottom: 1px solid #f0f0f0;
    border-left: 1px solid #f0f0f0; line-height: 1.5;
}
.sd-pdp .sd-specs-table dt:last-of-type, .sd-pdp .sd-specs-table dd:last-of-type { border-bottom: none; }
.sd-pdp .sd-specs-table ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.sd-pdp .sd-specs-table li { padding: 3px 0; font-size: 13px; }
.sd-pdp .sd-specs-table li::before { content: '•'; color: #059669; font-weight: 700; margin-right: 6px; }

/* Description */
.sd-pdp .sd-desc { max-width: 700px; line-height: 1.7; color: #374151; }
.sd-pdp .sd-desc h3 { font-size: 18px !important; font-weight: 700 !important; margin: 0 0 12px !important; }
.sd-pdp .sd-desc h4 { font-size: 15px !important; font-weight: 700 !important; margin: 20px 0 8px !important; }
.sd-pdp .sd-desc__profiles { display: grid !important; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.sd-pdp .sd-desc__profile { padding: 14px; background: #f9fafb; border-radius: 10px; }
.sd-pdp .sd-desc__profile > span { font-size: 24px; }
.sd-pdp .sd-desc__profile strong { font-size: 13px; display: block; margin-top: 6px; }
.sd-pdp .sd-desc__profile p { font-size: 12px !important; color: #6b7280 !important; margin: 4px 0 0 !important; line-height: 1.5; }

/* Reviews */
.sd-pdp .sd-reviews__summary { display: flex !important; align-items: center; gap: 16px; margin-bottom: 20px; }
.sd-pdp .sd-reviews__big-score { text-align: center; }
.sd-pdp .sd-reviews__number { font-size: 40px !important; font-weight: 900 !important; color: #111 !important; line-height: 1; }
.sd-pdp .sd-reviews__stars-big { color: #facc15 !important; font-size: 20px; }
.sd-pdp .sd-reviews__count { font-size: 12px; color: #6b7280; }
.sd-pdp .sd-reviews__bars { flex: 1; padding-left: 20px; border-left: 1px solid #e5e7eb; }
.sd-pdp .sd-reviews__bar-row { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.sd-pdp .sd-reviews__bar-row > span { font-size: 12px; width: 20px; }
.sd-pdp .sd-reviews__bar { flex: 1; height: 8px; background: #f3f4f6; border-radius: 4px; overflow: hidden; }
.sd-pdp .sd-reviews__bar > div { height: 100%; background: #facc15; border-radius: 4px; }
.sd-pdp .sd-review { padding: 16px; background: #f9fafb; border-radius: 10px; margin-bottom: 10px; }
.sd-pdp .sd-review__header { display: flex !important; justify-content: space-between; align-items: center; }
.sd-pdp .sd-review__author { display: flex; align-items: center; gap: 10px; }
.sd-pdp .sd-review__avatar { width: 36px; height: 36px; border-radius: 50%; display: flex !important; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.sd-pdp img.sd-review__avatar--photo { display: block !important; object-fit: cover; background: #f3f4f6; }
.sd-pdp .sd-review__name { font-size: 13px; font-weight: 600; color: #111; }
.sd-pdp .sd-review__verified { background: #d1fae5; color: #047857; font-size: 9px; font-weight: 600; padding: 1px 6px; border-radius: 3px; margin-left: 4px; }
.sd-pdp .sd-review__date { font-size: 11px; color: #9ca3af; }
.sd-pdp .sd-review__stars { color: #facc15 !important; font-size: 13px; }
.sd-pdp .sd-review__text { margin: 8px 0 0 !important; font-size: 13px !important; color: #4b5563 !important; line-height: 1.5; }
.sd-pdp .sd-reviews__see-all { display: inline-block; margin-top: 8px; font-size: 13px; color: #0284c7 !important; font-weight: 600; text-decoration: none !important; }

/* ══ RELATED / CROSS-SELL PRODUCTS ══ */
.sd-pdp .sd-related,
.sd-pdp .sd-cross-sell { margin-top: 40px; }
.sd-pdp .sd-related__title,
.sd-pdp .sd-cross-sell__title { margin: 0 0 16px !important; font-size: 16px !important; font-weight: 700 !important; }
.sd-pdp .sd-related__grid { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ── Rich product card ── */
.sd-pdp .sd-rp-card {
    display: flex; flex-direction: column;
    border: 1px solid #e5e7eb; background: #fff;
    transition: box-shadow 0.2s, border-color 0.2s;
    overflow: hidden;
}
.sd-pdp .sd-rp-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); border-color: #ccc; }
.sd-pdp .sd-rp-card__link { text-decoration: none !important; color: inherit !important; display: flex; flex-direction: column; flex: 1; }
/* Image area */
.sd-pdp .sd-rp-card__img {
    position: relative; background: #fff; padding: 20px 16px 12px;
    display: flex; align-items: center; justify-content: center; min-height: 160px;
}
.sd-pdp .sd-rp-card__img img { max-height: 150px !important; width: auto !important; object-fit: contain; margin: 0 !important; }
.sd-pdp .sd-rp-card__disc {
    position: absolute; top: 10px; left: 10px;
    background: #ef4444; color: #fff; font-size: 11px; font-weight: 700;
    padding: 3px 7px; border-radius: 4px;
}
.sd-pdp .sd-rp-card__warranty {
    position: absolute; bottom: 8px; left: 10px;
    background: #fff; border: 1px solid #d1fae5; color: #059669;
    font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 20px;
}
/* Urgency strip */
.sd-pdp .sd-rp-card__urgency {
    background: #fef2f2; color: #dc2626;
    font-size: 11px; font-weight: 600; text-align: center;
    padding: 6px 12px; border-top: 1px solid #fee2e2;
}
/* Body */
.sd-pdp .sd-rp-card__body { padding: 12px 14px 10px; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.sd-pdp .sd-rp-card__estado {
    display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.4px;
    padding: 2px 8px; border-radius: 4px; align-self: flex-start;
}
.sd-pdp .sd-rp-card__name {
    font-size: 14px !important; font-weight: 600 !important;
    color: #111 !important; line-height: 1.35; margin-top: 2px;
}
/* Spec chips */
.sd-pdp .sd-rp-card__chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.sd-pdp .sd-rp-card__chip {
    font-size: 10px; color: #374151; background: #f3f4f6;
    border: 1px solid #e5e7eb; padding: 2px 7px; border-radius: 4px; white-space: nowrap;
}
/* Price */
.sd-pdp .sd-rp-card__price { font-size: 20px !important; font-weight: 800 !important; color: #111 !important; margin-top: 4px; }
.sd-pdp .sd-rp-card__price-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sd-pdp .sd-rp-card__price-old { font-size: 12px; color: #9ca3af; text-decoration: line-through; }
.sd-pdp .sd-rp-card__savings {
    font-size: 11px; font-weight: 700; color: #92400e;
    background: #fef3c7; padding: 2px 7px; border-radius: 4px;
}
.sd-pdp .sd-rp-card__install { font-size: 11px; color: #6b7280; }
/* Delivery badges */
.sd-pdp .sd-rp-card__delivery { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.sd-pdp .sd-rp-card__del-badge {
    font-size: 10px; color: #065f46; background: #d1fae5;
    border: 1px solid #a7f3d0; padding: 3px 8px; border-radius: 20px; white-space: nowrap;
}
/* Bottom CTA button */
.sd-pdp .sd-rp-card__btn {
    display: flex; align-items: center; justify-content: center;
    margin: 0; padding: 12px; min-height: 44px;
    background: #fff; border-top: 1px solid #e5e7eb;
    color: #111 !important; font-size: 13px; font-weight: 600;
    text-decoration: none !important; transition: background 0.15s, color 0.15s;
}
.sd-pdp .sd-rp-card__btn:hover { background: #C5FF3E; color: #111 !important; border-color: #C5FF3E; }

/* ══ MODALS ══ */
.sd-modal { border: none; border-radius: 16px; padding: 28px; max-width: 460px; width: calc(100% - 32px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); max-height: 90vh; overflow-y: auto; }
.sd-modal::backdrop { background: rgba(0,0,0,0.5); }
.sd-modal__title { margin: 0 0 4px !important; font-size: 18px !important; font-weight: 700 !important; }
.sd-modal__subtitle { margin: 0 0 16px !important; font-size: 12px !important; color: #6b7280 !important; }
.sd-modal__close { width: 100%; padding: 11px; background: #111 !important; color: #fff !important; border: none !important; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; margin-top: 16px; }
.sd-modal__section { background: #f9fafb; border-radius: 10px; padding: 14px 16px; margin-bottom: 8px; }
.sd-modal__section--green { background: #f0fdf4; }
.sd-modal__section--red { background: #fef2f2; }
.sd-modal__check { color: #059669; font-weight: 700; margin-right: 4px; }
.sd-modal__cross { color: #dc2626; font-weight: 700; margin-right: 4px; }
.sd-estado-card { padding: 12px 14px; border-radius: 10px; margin-bottom: 6px; border: 1px solid #f0f0f0; position: relative; }
.sd-estado-card--highlight { background: #f0fdf4 !important; border: 2px solid #059669 !important; }
.sd-estado-card__tag { position: absolute; top: 8px; right: 12px; background: #ecfccb; color: #65a30d; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.sd-estado-card__label { font-size: 14px !important; font-weight: 700 !important; color: #111 !important; display: flex; align-items: center; gap: 8px; }
.sd-estado-card__desc { margin: 4px 0 0 22px !important; font-size: 12.5px !important; color: #4b5563 !important; line-height: 1.5; }

/* ══ RESPONSIVE ══ */
@media (max-width: 768px) {
    .sd-pdp .sd-pdp-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
    .sd-pdp .sd-gallery { position: static !important; }
    .sd-pdp .sd-gallery__main { min-height: 280px; }
    .sd-pdp .sd-info__title { font-size: 18px !important; }
    .sd-pdp .sd-price__amount { font-size: 24px !important; }
    .sd-pdp .sd-badges { flex-direction: column; }
    .sd-pdp .sd-warranty-selector { flex-direction: column; }
    .sd-pdp .sd-desc__profiles { grid-template-columns: 1fr !important; }
    .sd-pdp .sd-related__grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
    .sd-pdp .sd-rp-card__delivery { display: none; }
    .sd-pdp .sd-rp-card__img { min-height: 120px; padding: 14px 10px 10px; }
    .sd-pdp .sd-rp-card__img img { max-height: 110px !important; }
    .sd-pdp .sd-rp-card__body { padding: 10px 10px 8px; }
    .sd-pdp .sd-rp-card__price { font-size: 16px !important; }
    .sd-pdp .sd-specs-table dl { grid-template-columns: 1fr !important; }
    .sd-pdp .sd-specs-table dt { background: #f3f4f6; }
}

/* ══ UPSELL CARDS (Office + Insurance) ══ */
.sd-pdp .sd-upsell-card { display: flex !important; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; cursor: pointer; border: 2px solid #e5e7eb; background: #fff; transition: all 0.2s; margin-bottom: 8px; }
.sd-pdp .sd-upsell-card--selected { border-color: #0284c7 !important; background: #eff6ff !important; }
.sd-pdp .sd-upsell-card__icon { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sd-pdp .sd-upsell-card__info { flex: 1; min-width: 0; }
.sd-pdp .sd-upsell-card__name { font-size: 13px; font-weight: 700; color: #111; }
.sd-pdp .sd-upsell-card__desc { font-size: 11px; color: #6b7280; margin-top: 2px; line-height: 1.4; }
.sd-pdp .sd-upsell-card__price { text-align: right; flex-shrink: 0; }
.sd-pdp .sd-upsell-card__price-old { font-size: 10px; color: #9ca3af; text-decoration: line-through; }
.sd-pdp .sd-upsell-card__price-new { font-size: 14px; font-weight: 700; color: #0284c7; }
.sd-pdp .sd-upsell-card__check { width: 18px; height: 18px; border-radius: 4px; border: 2px solid #d1d5db; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.15s; }
.sd-pdp .sd-upsell-card--selected .sd-upsell-card__check { background: #0284c7; border-color: #0284c7; }
.sd-pdp .sd-upsell-card--selected .sd-upsell-card__check::after { content: '✓'; color: #fff; font-size: 12px; font-weight: 700; }

/* ══ COTIZADOR EN VIVO ══ */
.sd-pdp .sd-quoter { margin-top: 16px; border: 2px solid #111; border-radius: 12px; overflow: hidden; }
.sd-pdp .sd-quoter__header { display: flex !important; justify-content: space-between; align-items: center; padding: 12px 16px; background: #111; color: #fff; }
.sd-pdp .sd-quoter__title { font-size: 14px; font-weight: 700; }
.sd-pdp .sd-quoter__toggle { display: flex; gap: 4px; background: rgba(255,255,255,0.15); border-radius: 6px; padding: 3px; }
.sd-pdp .sd-quoter__toggle-btn { border: none !important; background: transparent !important; color: rgba(255,255,255,0.6) !important; font-size: 11px !important; font-weight: 600 !important; padding: 5px 10px !important; border-radius: 4px !important; cursor: pointer; transition: all 0.15s; white-space: nowrap; }
.sd-pdp .sd-quoter__toggle-btn--active { background: #fff !important; color: #111 !important; }
.sd-pdp .sd-quoter__lines { padding: 0; }
.sd-pdp .sd-quoter__line { display: flex !important; justify-content: space-between; padding: 10px 16px; font-size: 13px; color: #374151; border-bottom: 1px solid #f0f0f0; }
.sd-pdp .sd-quoter__line:last-child { border-bottom: none; }
.sd-pdp .sd-quoter__total { display: flex !important; justify-content: space-between; padding: 12px 16px; background: #f0fdf4; border-top: 2px solid #059669; }
.sd-pdp .sd-quoter__total > span:first-child { font-size: 13px; font-weight: 700; color: #059669; }
.sd-pdp .sd-quoter__total-amount { font-size: 20px !important; font-weight: 900 !important; color: #059669 !important; }

/* ══ AI SPECS TABLE ══ */
.sd-pdp .sd-ai-specs { max-width: 100%; }
.sd-pdp .sd-ai-spec-group { margin-bottom: 4px; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; }
.sd-pdp .sd-ai-spec-header { display: flex !important; align-items: center; gap: 8px; padding: 10px 16px; background: #111; color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.sd-pdp .sd-ai-spec-icon { font-size: 16px; }
.sd-pdp .sd-ai-spec-row { display: flex !important; justify-content: space-between; padding: 10px 16px; font-size: 13px; border-bottom: 1px solid #f3f4f6; gap: 16px; }
.sd-pdp .sd-ai-spec-row:last-child { border-bottom: none; }
.sd-pdp .sd-ai-spec-row:nth-child(odd) { background: #fafafa; }
.sd-pdp .sd-ai-spec-label { color: #6b7280; font-weight: 600; min-width: 120px; flex-shrink: 0; }
.sd-pdp .sd-ai-spec-value { color: #111; font-weight: 500; text-align: right; line-height: 1.5; }
.sd-pdp .sd-ai-spec-keyboard-note { padding: 12px 16px; background: #f0fdf4; border-top: 1px solid #bbf7d0; font-size: 12px; color: #15803d; line-height: 1.6; }
.sd-pdp .sd-ai-spec-keyboard-note strong { color: #047857; }

/* ══ SECTION SPACING ══ */
.sd-pdp .sd-price-block { margin-top: 16px; }
.sd-pdp .sd-badges { margin-top: 20px; }
.sd-pdp .sd-spec-chips { margin-top: 16px; }
.sd-pdp .sd-stock { margin-top: 14px; }
.sd-pdp .sd-cta-row { margin-top: 20px; }
.sd-pdp .sd-short-desc { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e5e7eb; }
.sd-pdp .sd-google-rating { margin-top: 16px; }
.sd-pdp .sd-price__mixed { margin-top: 16px; }
.sd-pdp .sd-section-label { margin-top: 24px; }
.sd-pdp .sd-warranty-selector { margin-top: 8px; }
.sd-pdp .sd-quoter { margin-top: 16px; }

/* ══ STICKY BAR (always visible) ══ */
.sd-sticky-bar {
    position: fixed !important; bottom: 0; left: 0; right: 0; z-index: 9999;
    background: #fff; border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
.sd-sticky-bar__inner {
    max-width: 1100px; margin: 0 auto;
    display: flex !important; align-items: center;
    padding: 10px 20px; gap: 16px;
}
/* Left: price block */
.sd-sticky-bar__summary { display: flex; flex-direction: column; min-width: 0; flex-shrink: 0; }
.sd-sticky-bar__name {
    font-size: 11px; color: #9ca3af; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; max-width: 280px;
    margin-bottom: 1px;
}
.sd-sticky-bar__total { display: flex; align-items: baseline; gap: 6px; }
.sd-sticky-bar__amount { font-size: 22px; font-weight: 900; color: #059669; white-space: nowrap; }
.sd-sticky-bar__sub { font-size: 11px; color: #6b7280; }
.sd-sticky-bar__installments { font-size: 11px; color: #6b7280; white-space: nowrap; margin-top: 1px; }
.sd-sticky-bar__installments strong { color: #111; }
.sd-mp-badge-sm { background: #009ee3; color: #fff; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px; letter-spacing: .1px; white-space: nowrap; }
/* Middle: extras chips (hidden when empty) */
.sd-sticky-bar__items {
    display: flex; flex-wrap: nowrap; gap: 4px; flex: 1; min-width: 0;
    overflow: hidden; align-items: center;
}
.sd-sticky-bar__items:empty { display: none; }
.sd-sticky-bar__item {
    font-size: 11px; color: #374151; background: #f3f4f6;
    padding: 4px 9px; border-radius: 20px; white-space: nowrap;
    border: 1px solid #e5e7eb;
}
/* Right: action buttons — todos 44px exactos */
.sd-sticky-bar__buttons {
    display: flex !important; gap: 8px; align-items: stretch;
    flex-shrink: 0; margin-left: auto;
}
/* El form no debe agregar altura extra */
.sd-sticky-bar__buttons form {
    display: flex !important; margin: 0 !important; padding: 0 !important;
}
/* Base compartida: todos igual */
.sd-sticky-bar__buttons .sd-btn,
.sd-sticky-bar__buttons .sd-btn--viewcart {
    height: 44px !important; min-height: 44px !important; max-height: 44px !important;
    box-sizing: border-box !important; padding: 0 !important;
    border-radius: 10px !important;
    display: inline-flex !important; align-items: center !important;
    justify-content: center !important; flex-shrink: 0 !important;
}
/* CTA principal */
.sd-sticky-bar__buttons .sd-btn--cart {
    padding: 0 24px !important; font-size: 14px !important; font-weight: 700 !important;
    background: #111 !important; color: #fff !important; gap: 6px !important;
    border: none !important; white-space: nowrap !important;
}
/* WhatsApp: icono solo 44×44 */
.sd-sticky-bar__buttons .sd-btn--whatsapp {
    width: 44px !important;
    background: #25d366 !important; color: #fff !important;
    border: none !important;
}
.sd-sticky-bar__buttons .sd-btn--whatsapp svg { flex-shrink: 0; }
/* Ver carrito: outline sutil, 44×44 */
.sd-sticky-bar__buttons .sd-btn--viewcart {
    width: 44px !important;
    background: transparent !important; color: #9ca3af !important;
    border: 1.5px solid #e5e7eb !important; cursor: pointer;
}
.sd-sticky-bar__buttons .sd-btn--viewcart:hover {
    background: #f3f4f6 !important; color: #374151 !important; border-color: #d1d5db !important;
}

@media (max-width: 768px) {
    .sd-sticky-bar__inner { padding: 8px 12px; gap: 10px; }
    .sd-sticky-bar__amount { font-size: 18px; }
    .sd-sticky-bar__items { display: none !important; }
    .sd-sticky-bar__buttons .sd-btn,
    .sd-sticky-bar__buttons .sd-btn--viewcart { height: 42px !important; min-height: 42px !important; max-height: 42px !important; }
    .sd-sticky-bar__buttons .sd-btn--cart { padding: 0 16px !important; font-size: 13px !important; }
    .sd-sticky-bar__buttons .sd-btn--whatsapp { width: 42px !important; }
    .sd-sticky-bar__buttons .sd-btn--viewcart { width: 42px !important; }
    .sd-sticky-bar__installments { display: none; }
}

/* ══ MINI REVIEWS ══ */
.sd-pdp .sd-mini-reviews { margin-top: 16px; padding: 12px 16px; background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; }
.sd-pdp .sd-mini-reviews__header { display: flex !important; align-items: center; gap: 6px; font-size: 13px; color: #111; margin-bottom: 8px; }
.sd-pdp .sd-mini-reviews__quotes { display: flex; flex-direction: column; gap: 6px; }
.sd-pdp .sd-mini-review { font-size: 12px; color: #374151; font-style: italic; line-height: 1.4; word-wrap: break-word; overflow-wrap: break-word; }
.sd-pdp .sd-mini-review span { font-style: normal; font-weight: 600; color: #6b7280; }
.sd-pdp .sd-mini-reviews__link { font-size: 12px; font-weight: 600; color: #0284c7; text-decoration: none; margin-left: auto; white-space: nowrap; }
.sd-pdp .sd-mini-reviews__link:hover { text-decoration: underline; }

/* ══ WHATSAPP BUTTON SVG ══ */
.sd-pdp .sd-btn--whatsapp svg { flex-shrink: 0; }
.sd-pdp .sd-btn--whatsapp { display: inline-flex !important; align-items: center; gap: 6px; }

/* ══ KEYBOARD CHIP ══ */
.sd-pdp .sd-chip--keyboard { background: #fffbeb !important; border-color: #f59e0b !important; }
.sd-pdp .sd-chip--keyboard:hover { background: #fef3c7 !important; }

/* ══ WHY REFURBISHED CARDS ══ */
.sd-pdp .sd-why-refurb { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.sd-pdp .sd-why-refurb__card { padding: 16px; border-radius: 10px; border: 1px solid #e5e7eb; background: #fafafa; }
.sd-pdp .sd-why-refurb__icon { font-size: 24px; margin-bottom: 6px; }
.sd-pdp .sd-why-refurb__label { font-size: 14px; font-weight: 700; color: #111; margin-bottom: 4px; }
.sd-pdp .sd-why-refurb__desc { font-size: 12px; color: #6b7280; line-height: 1.5; }

/* ══ FAQ ACCORDION ══ */
.sd-pdp .sd-faq-section { margin-top: 24px; }
.sd-pdp .sd-faq-section:first-child { margin-top: 0; }
.sd-pdp .sd-faq-section__title { font-size: 16px; font-weight: 700; color: #111; margin-bottom: 12px; }
.sd-pdp .sd-faq-accordion { border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; }
.sd-pdp .sd-faq-item { border-bottom: 1px solid #f0f0f0; }
.sd-pdp .sd-faq-item:last-child { border-bottom: none; }
.sd-pdp .sd-faq-item__q { display: flex !important; justify-content: space-between; align-items: center; width: 100%; padding: 14px 16px; background: none; border: none !important; cursor: pointer; font-size: 13px; font-weight: 600; color: #111; text-align: left; gap: 12px; transition: background 0.15s; }
.sd-pdp .sd-faq-item__q:hover { background: #f9fafb; }
.sd-pdp .sd-faq-item__arrow { font-size: 18px; font-weight: 400; color: #9ca3af; transition: transform 0.2s; flex-shrink: 0; }
.sd-pdp .sd-faq-item--open .sd-faq-item__arrow { transform: rotate(45deg); }
.sd-pdp .sd-faq-item__a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; padding: 0 16px; font-size: 13px; color: #6b7280; line-height: 1.6; }
.sd-pdp .sd-faq-item--open .sd-faq-item__a { max-height: 200px; padding: 0 16px 14px; }

/* ══ CROSS-SELL ══ */
.sd-pdp .sd-cross-sell { margin-top: 40px; }
.sd-pdp .sd-cross-sell__title { font-size: 20px; font-weight: 800; color: #111; margin-bottom: 16px; }

/* ══ STORE FAQ ══ */
.sd-pdp .sd-store-faq { margin-top: 40px; margin-bottom: 40px; }
.sd-pdp .sd-store-faq__title { font-size: 20px; font-weight: 800; color: #111; margin-bottom: 16px; }

@media (max-width: 768px) {
    .sd-pdp .sd-why-refurb { grid-template-columns: 1fr; }
}

/* ══ HIDE FLOATING WHATSAPP PLUGIN ══ */
.sd-custom-pdp .joinchat,
.sd-custom-pdp .wa-float,
.sd-custom-pdp [class*="whatsapp-float"],
.sd-custom-pdp [class*="wa-chat"],
.sd-custom-pdp [class*="joinchat"],
.sd-custom-pdp .qlwapp-toggle,
.sd-custom-pdp [id*="whatsapp"],
.sd-custom-pdp .wa-btn-float { display: none !important; }

/* ══ MINI REVIEWS LINK ══ */
.sd-pdp .sd-mini-reviews__link { margin-left: auto; font-size: 12px; color: #059669; font-weight: 600; text-decoration: none; white-space: nowrap; }
.sd-pdp .sd-mini-reviews__link:hover { text-decoration: underline; }

/* ══ IPHONE VARIANTS ══ */
.sd-pdp .sd-variants { margin-top: 16px; }
.sd-pdp .sd-variants__group { margin-bottom: 12px; }
.sd-pdp .sd-variants__label { font-size: 11px; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.sd-pdp .sd-variants__options { display: flex !important; flex-wrap: wrap; gap: 6px; }
.sd-pdp .sd-variant-btn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border: 2px solid #e5e7eb; border-radius: 8px; font-size: 12px; font-weight: 600; color: #374151; background: #fff; text-decoration: none; transition: all 0.15s; cursor: pointer; }
.sd-pdp .sd-variant-btn:hover { border-color: #111; color: #111; }
.sd-pdp .sd-variant-btn--active { border-color: #111 !important; background: #111 !important; color: #fff !important; pointer-events: none; }
.sd-pdp .sd-variant-btn__price { font-size: 10px; color: #059669; font-weight: 700; }
.sd-pdp .sd-variant-btn--active .sd-variant-btn__price { color: #a7f3d0; }
.sd-pdp .sd-variant-btn__dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid #d1d5db; flex-shrink: 0; }

/* Floating cart, WhatsApp, Klaviyo — handled by global.css */

/* ═══ SIDE PANEL — POST ADD TO CART ═══ */
.sd-sidepanel-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4); z-index: 99998;
    opacity: 0; visibility: hidden; transition: all 0.3s;
}
.sd-sidepanel-overlay--visible { opacity: 1; visibility: visible; }

.sd-sidepanel {
    position: fixed; top: 0; right: 0; bottom: 0; width: 420px;
    background: #fff; z-index: 99999;
    transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
    display: flex; flex-direction: column;
    box-shadow: -8px 0 30px rgba(0,0,0,0.15);
    overflow-y: auto;
}
.sd-sidepanel--visible { transform: translateX(0); }

.sd-sidepanel__header {
    display: flex !important; justify-content: space-between; align-items: center;
    padding: 20px; border-bottom: 1px solid #f0f0f0;
}
.sd-sidepanel__check { display: flex !important; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: #059669; }
.sd-sidepanel__close { background: none; border: none !important; font-size: 28px; color: #9ca3af; cursor: pointer; padding: 0; line-height: 1; }
.sd-sidepanel__close:hover { color: #111; }

/* Check animation */
.sd-check-circle { stroke-dasharray: 157; stroke-dashoffset: 157; animation: sd-circle 0.6s 0.1s forwards; }
.sd-check-path { stroke-dasharray: 48; stroke-dashoffset: 48; animation: sd-check 0.4s 0.5s forwards; }
@keyframes sd-circle { to { stroke-dashoffset: 0; } }
@keyframes sd-check { to { stroke-dashoffset: 0; } }

.sd-sidepanel__product {
    display: flex !important; gap: 14px; padding: 20px; background: #f9fafb; border-bottom: 1px solid #f0f0f0;
}
.sd-sidepanel__img { width: 80px; height: 80px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: #fff; border: 1px solid #e5e7eb; }
.sd-sidepanel__img img { width: 100%; height: 100%; object-fit: contain; }
.sd-sidepanel__info { flex: 1; min-width: 0; }
.sd-sidepanel__name { font-size: 14px; font-weight: 700; color: #111; line-height: 1.3; }
.sd-sidepanel__estado { font-size: 12px; color: #6b7280; margin-top: 4px; }
.sd-sidepanel__price { font-size: 18px; font-weight: 900; color: #059669; margin-top: 6px; }

.sd-sidepanel__timer {
    display: flex !important; align-items: center; gap: 8px;
    padding: 12px 20px; background: #fefce8; border-bottom: 1px solid #fde68a;
    font-size: 13px; color: #92400e;
}
.sd-sidepanel__timer strong { font-size: 15px; color: #b45309; font-variant-numeric: tabular-nums; }

.sd-sidepanel__upsells { padding: 20px; flex: 1; }
.sd-sidepanel__upsells-title { font-size: 13px; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }

.sd-sidepanel__upsell {
    display: flex !important; justify-content: space-between; align-items: center;
    padding: 12px 14px; border: 1.5px solid #e5e7eb; border-radius: 10px; margin-bottom: 8px;
    transition: all 0.15s;
}
.sd-sidepanel__upsell--added { border-color: #059669; background: #f0fdf4; }
.sd-sidepanel__upsell-info { flex: 1; min-width: 0; }
.sd-sidepanel__upsell-name { font-size: 13px; font-weight: 700; color: #111; }
.sd-sidepanel__upsell-desc { font-size: 11px; color: #6b7280; margin-top: 2px; }
.sd-sidepanel__upsell-action { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; margin-left: 12px; }
.sd-sidepanel__upsell-price { font-size: 13px; font-weight: 700; color: #059669; }
.sd-sidepanel__upsell-btn {
    padding: 6px 16px; border: none !important; border-radius: 6px;
    background: #111 !important; color: #fff !important; font-size: 12px; font-weight: 600;
    cursor: pointer; transition: all 0.15s; white-space: nowrap;
}
.sd-sidepanel__upsell-btn:hover { background: #333 !important; }
.sd-sidepanel__upsell-btn--added {
    background: #059669 !important; pointer-events: none;
}

.sd-sidepanel__actions { padding: 20px; border-top: 1px solid #f0f0f0; }
.sd-sidepanel__btn-checkout {
    display: block; width: 100%; padding: 14px; text-align: center;
    background: #111; color: #fff !important; font-size: 15px; font-weight: 700;
    border-radius: 10px; text-decoration: none; transition: background 0.15s;
}
.sd-sidepanel__btn-checkout:hover { background: #333; }
.sd-sidepanel__btn-continue {
    display: block; width: 100%; padding: 12px; text-align: center; margin-top: 8px;
    background: none; border: none !important; color: #6b7280; font-size: 13px; font-weight: 600;
    cursor: pointer;
}
.sd-sidepanel__btn-continue:hover { color: #111; }

/* Mobile: bottom sheet */
@media (max-width: 768px) {
    .sd-sidepanel {
        top: auto; left: 0; right: 0; bottom: 0; width: 100%;
        max-height: 85vh; border-radius: 16px 16px 0 0;
        transform: translateY(100%);
    }
    .sd-sidepanel--visible { transform: translateY(0); }
}

/* ══ VIEW CART BUTTON ══ */
.sd-btn--viewcart {
    position: relative; display: inline-flex !important; align-items: center; justify-content: center;
    padding: 10px 12px !important; background: transparent !important; color: #6b7280 !important;
    border-radius: 10px; border: 1.5px solid #e5e7eb !important; cursor: pointer; transition: background 0.15s, color 0.15s; flex-shrink: 0;
}
.sd-btn--viewcart:hover { background: #f3f4f6 !important; color: #111 !important; }
.sd-sticky-cart-count {
    position: absolute; top: -6px; right: -6px;
    background: #059669; color: #fff; font-size: 10px; font-weight: 700;
    min-width: 18px; height: 18px; line-height: 18px; text-align: center;
    border-radius: 50%; display: none;
}
.sd-sticky-cart-count--visible { display: block !important; }

/* ══ SIDE PANEL — ADDED ITEMS SUMMARY ══ */
.sd-sidepanel__summary { padding: 0 20px 12px; }
.sd-sidepanel__added-item {
    display: flex !important; justify-content: space-between; align-items: center;
    padding: 8px 0; font-size: 12px; color: #374151; border-bottom: 1px solid #f3f4f6;
}
.sd-sidepanel__added-item:last-child { border-bottom: none; }
.sd-sidepanel__total {
    display: flex !important; justify-content: space-between; align-items: center;
    padding: 14px 20px; background: #f0fdf4; border-top: 2px solid #059669;
}
.sd-sidepanel__total > span:first-child { font-size: 13px; font-weight: 600; color: #047857; }
.sd-sidepanel__total-amount { font-size: 20px; font-weight: 900; color: #059669; }

/* ══ SIDE PANEL — REMOVE BUTTON ══ */
.sd-sidepanel__remove {
    background: none; border: none !important; color: #9ca3af; font-size: 14px;
    cursor: pointer; padding: 0 0 0 8px; line-height: 1; flex-shrink: 0;
}
.sd-sidepanel__remove:hover { color: #ef4444; }
.sd-sidepanel__added-item { gap: 8px; }

/* ═══ SIDE PANEL — UNIFIED CONFIGURATOR ═══ */
.sd-panel-config { padding: 16px 20px; flex: 1; overflow-y: auto; }
.sd-panel-group { margin-bottom: 16px; }
.sd-panel-group__label { font-size: 11px; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.sd-panel-group__options { display: flex; gap: 6px; flex-wrap: wrap; }
.sd-panel-opt {
    flex: 1; min-width: 0; padding: 10px 12px;
    border: 2px solid #e5e7eb; background: #fff;
    cursor: pointer; transition: all 0.15s;
    display: flex; flex-direction: column; gap: 2px;
    text-align: left; font-family: inherit;
}
.sd-panel-opt:hover { border-color: #111; }
.sd-panel-opt--active { border-color: #059669 !important; background: #f0fdf4 !important; }
.sd-panel-opt__name { font-size: 12px; font-weight: 700; color: #111; }
.sd-panel-opt__detail { font-size: 10px; color: #6b7280; }
.sd-panel-opt__price { font-size: 11px; font-weight: 700; color: #059669; margin-top: 2px; }
.sd-panel-opt--active .sd-panel-opt__price { color: #047857; }

/* Hide global bar on PDP — PDP has its own sticky bar */
.sd-custom-pdp .sd-global-bar,
body.sd-custom-pdp .sd-global-bar { display: none !important; }

/* ═══ SIDE PANEL — EMPTY STATE ═══ */
.sd-panel-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 60px 40px; text-align: center; flex: 1;
}
.sd-panel-empty__icon { font-size: 64px; margin-bottom: 16px; opacity: 0.3; }
.sd-panel-empty__title { font-size: 18px; font-weight: 800; color: #111; margin-bottom: 8px; }
.sd-panel-empty__text { font-size: 13px; color: #6b7280; line-height: 1.6; max-width: 280px; margin-bottom: 24px; }
.sd-panel-empty__btn {
    padding: 12px 28px; background: #111; color: #fff;
    border: none !important; border-radius: 10px; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: background 0.15s;
}
.sd-panel-empty__btn:hover { background: #333; }

/* Panel total installments */
.sd-sidepanel__total-installments { font-size: 11px; color: #6b7280; margin-top: 2px; }
.sd-sidepanel__total-installments strong { color: #111; }

/* ══ SIDE PANEL — OTROS ITEMS EN EL CARRITO ══ */
.sd-sidepanel__other-items {
    border-top: 1px solid #e5e7eb;
    padding: 12px 20px;
}
.sd-sidepanel__other-label {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    color: #6b7280; letter-spacing: 0.05em; margin-bottom: 8px;
}
.sd-sidepanel__other-item {
    display: flex; align-items: center; gap: 10px;
    padding: 7px 0; border-bottom: 1px solid #f3f4f6;
}
.sd-sidepanel__other-item:last-child { border-bottom: none; }
.sd-sidepanel__other-img { width: 44px; height: 44px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: #f3f4f6; }
.sd-sidepanel__other-img img { width: 100%; height: 100%; object-fit: cover; }
.sd-sidepanel__other-noimg { width: 44px; height: 44px; }
.sd-sidepanel__other-info { flex: 1; min-width: 0; }
.sd-sidepanel__other-name { font-size: 13px; font-weight: 500; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-sidepanel__other-price { font-size: 12px; color: #6b7280; margin-top: 2px; }
.sd-sidepanel__other-remove {
    background: none; border: none; cursor: pointer;
    color: #9ca3af; font-size: 14px; padding: 4px; line-height: 1; flex-shrink: 0;
}
.sd-sidepanel__other-remove:hover { color: #374151; }

/* Side panel remove button */
.sd-sidepanel__remove {
    background: none; border: none; cursor: pointer;
    font-size: 16px; padding: 4px 8px; color: #dc2626;
    font-weight: 700; opacity: 0.5; transition: opacity 0.15s;
    flex-shrink: 0; align-self: flex-start; line-height: 1;
}
.sd-sidepanel__remove:hover { opacity: 1; }

/* Quantity handled in cart/checkout, not PDP */

/* ══ BREADCRUMBS ══ */
.sd-breadcrumb {
    display: flex !important; align-items: center; gap: 6px; flex-wrap: wrap;
    font-size: 12px; color: #9ca3af; margin-bottom: 16px; padding: 10px 0 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.sd-breadcrumb a { color: #6b7280; text-decoration: none; transition: color 0.15s; }
.sd-breadcrumb a:hover { color: #111; }
.sd-breadcrumb__sep { color: #d1d5db; font-size: 11px; }
.sd-breadcrumb__current { color: #374151; font-weight: 600; }

/* ══ GALLERY WARRANTY BADGE ══ */
.sd-pdp .sd-gallery__badge-warranty {
    position: absolute; bottom: 12px; left: 12px;
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(255,255,255,.92); backdrop-filter: blur(4px);
    color: #1a7a3a; font-family: 'Inter', sans-serif !important;
    font-size: 10px; font-weight: 700;
    padding: 4px 10px; border-radius: 6px;
    border: 1px solid #a3ddb5; z-index: 2;
}

/* ══ GALLERY ZOOM BUTTON ══ */
.sd-pdp .sd-gallery__zoom-btn {
    position: absolute; bottom: 12px; right: 12px;
    background: rgba(255,255,255,.9); backdrop-filter: blur(4px);
    border: 1px solid #d1d5db; border-radius: 8px;
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 2; transition: all 0.2s;
    color: #374151;
}
.sd-pdp .sd-gallery__zoom-btn svg { flex-shrink: 0; width: 20px; height: 20px; }
.sd-pdp .sd-gallery__zoom-btn:hover { background: #fff; border-color: #111; color: #111; }
.sd-pdp .sd-gallery__zoomable { cursor: zoom-in; }

/* ══ GALLERY SWIPE DOTS (mobile) ══ */
.sd-gallery__dots {
    display: none; justify-content: center; gap: 6px; margin-top: 8px;
}
.sd-gallery__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #d1d5db; transition: all 0.2s;
}
.sd-gallery__dot--active { background: #111; transform: scale(1.2); }
@media (max-width: 768px) {
    .sd-gallery__dots { display: flex; }
}

/* ══ BEST PRICE TAG ══ */
.sd-pdp .sd-price__best-tag {
    display: inline-block;
    background: #059669; color: #fff;
    font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px;
    padding: 2px 7px; border-radius: 4px; margin-right: 4px;
    vertical-align: middle;
}

/* ══ SHIPPING PREVIEW (above CTA) ══ */
.sd-pdp .sd-shipping-preview {
    display: flex; flex-direction: column; gap: 6px;
    margin-top: 12px; padding: 12px 14px;
    background: #f0fdf4; border-radius: 10px; border: 1px solid #bbf7d0;
}
.sd-pdp .sd-shipping-preview__item {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: #15803d; font-weight: 500;
}
.sd-pdp .sd-shipping-preview__item strong { font-weight: 700; }
.sd-pdp .sd-shipping-preview__item svg { flex-shrink: 0; }

/* ══ CTA TRUST MICRO-COPY ══ */
.sd-pdp .sd-cta-trust {
    display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
    margin-top: 8px; font-size: 11px; color: #6b7280; font-weight: 500;
}
.sd-pdp .sd-cta-trust span {
    display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
}
.sd-pdp .sd-cta-trust svg { color: #059669; }

/* ══ EXTRAS NUDGE (below ATC trust badges) ══ */
.sd-pdp .sd-extras-nudge {
    display: flex; flex-direction: column; gap: 4px;
    margin-top: 10px; margin-bottom: 2px;
}
.sd-pdp .sd-extras-nudge__item {
    display: flex; align-items: center; gap: 7px;
    padding: 8px 12px;
    background: #f8faff; border: 1px solid #e5e7eb; border-radius: 8px;
    font-size: 12px; color: #374151; text-decoration: none;
    transition: background 0.12s, border-color 0.12s;
}
.sd-pdp .sd-extras-nudge__item:hover {
    background: #f0f5ff; border-color: #c7d2fe; color: #111;
}
.sd-pdp .sd-extras-nudge__item svg:first-child { color: #059669; flex-shrink: 0; }
.sd-pdp .sd-extras-nudge__item span { flex: 1; }
.sd-pdp .sd-extras-nudge__item svg:last-child { color: #9ca3af; flex-shrink: 0; }

/* ══ CHIP INFO (keyboard etc) ══ */
.sd-pdp .sd-chip--info {
    cursor: pointer; border-color: #e5e7eb; transition: border-color 0.2s;
}
.sd-pdp .sd-chip--info:hover { border-color: #9ca3af; }
.sd-pdp .sd-chip__info-icon { opacity: 0.4; margin-left: 2px; vertical-align: middle; }

/* ══ LIGHTBOX ══ */
.sd-lightbox {
    position: fixed; inset: 0; z-index: 99999;
    background: rgba(0,0,0,.92); border: none; padding: 0; margin: 0;
    width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh;
    align-items: center; justify-content: center;
}
.sd-lightbox:not([open]) { display: none !important; }
.sd-lightbox::backdrop { background: transparent; }
.sd-lightbox[open] { display: flex !important; }
.sd-lightbox__img {
    max-width: 90vw; max-height: 85vh; object-fit: contain;
    border-radius: 4px; user-select: none;
}
.sd-lightbox__close {
    position: absolute; top: 16px; right: 20px;
    background: none; border: none; color: #fff; font-size: 36px;
    cursor: pointer; z-index: 2; line-height: 1; opacity: 0.7;
    transition: opacity 0.15s;
}
.sd-lightbox__close:hover { opacity: 1; }
.sd-lightbox__prev,
.sd-lightbox__next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.15); border: none; color: #fff;
    font-size: 32px; width: 48px; height: 48px; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background 0.2s; z-index: 2;
}
.sd-lightbox__prev { left: 16px; }
.sd-lightbox__next { right: 16px; }
.sd-lightbox__prev:hover,
.sd-lightbox__next:hover { background: rgba(255,255,255,.3); }
.sd-lightbox__counter {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,.7); font-size: 13px; font-weight: 600;
    font-family: 'Inter', sans-serif;
}

/* ══ BADGES responsive ══ */
@media (max-width: 768px) {
    .sd-pdp .sd-badges { grid-template-columns: repeat(2, 1fr); }
}

/* ══ MOBILE RESPONSIVE — Lightbox ══ */
@media (max-width: 768px) {
    .sd-lightbox__prev,
    .sd-lightbox__next { width: 36px; height: 36px; font-size: 24px; }
    .sd-lightbox__prev { left: 8px; }
    .sd-lightbox__next { right: 8px; }
    .sd-lightbox__img { max-width: 96vw; max-height: 80vh; }
    .sd-pdp .sd-gallery__zoom-btn { width: 32px; height: 32px; bottom: 8px; right: 8px; }
    .sd-pdp .sd-gallery__badge-warranty { bottom: 8px; left: 8px; }
    /* Hide thumbs on mobile (dots replace them) */
    .sd-pdp .sd-gallery__thumbs { display: none !important; }
    /* Shipping preview compact */
    .sd-pdp .sd-shipping-preview { padding: 10px 12px; }
    /* CTA trust wrap */
    .sd-pdp .sd-cta-trust { gap: 8px; }
    /* Breadcrumb */
    .sd-breadcrumb { font-size: 11px; margin-bottom: 12px; }
}
