/**
 * product.css — Rodio Divi Child v2
 * Single Product Page — Replica del diseño React/Figma "DETALLE DEL PRODUCTO"
 * Scoped a body.rodio-wc-product-block
 */

/* ============================================================
   FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ============================================================
   BASE / RESET
   ============================================================ */
body.rodio-wc-product-block .rodio-pd-wrap,
body.rodio-wc-product-block .rodio-pd-wrap * {
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body.rodio-wc-product-block .rodio-pd-wrap {
    background: var(--rodio-gray-50, #f9fafb);
}

/* Hide Divi's default product layout artifacts on this page */
body.rodio-wc-product-block .woocommerce-product-gallery,
body.rodio-wc-product-block .et_pb_wc_images,
body.rodio-wc-product-block div.product .summary,
body.rodio-wc-product-block .woocommerce-tabs,
body.rodio-wc-product-block .related.products,
body.rodio-wc-product-block .up-sells.products {
    display: none !important;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.rodio-pd-breadcrumb-bar {
    background: #fff;
    border-bottom: 1px solid var(--rodio-gray-200, #e5e7eb);
}

.rodio-pd-breadcrumb {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 12px;
    color: var(--rodio-gray-600, #4b5563);
}

.rodio-pd-breadcrumb a,
.rodio-pd-breadcrumb .breadcrumb_last {
    color: var(--rodio-gray-600, #4b5563);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.15s;
}

.rodio-pd-breadcrumb a:hover {
    color: var(--rodio-teal, #00B3A6);
}

.rodio-pd-breadcrumb .breadcrumb_last {
    color: var(--rodio-gray-900, #111827);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 300px;
}

.rodio-pd-sep {
    color: var(--rodio-gray-400, #9ca3af);
    margin: 0 2px;
}

/* ============================================================
   CONTENT WRAPPER
   ============================================================ */
.rodio-pd-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 24px 48px;
}

/* ============================================================
   MAIN 3-COLUMN GRID
   ============================================================ */
.rodio-pd-main-grid {
    display: grid;
    grid-template-columns: 2fr 2.5fr 1.8fr;
    gap: 24px;
    margin-bottom: 48px;
    align-items: start;
}

/* ============================================================
   GALLERY — LEFT COLUMN
   ============================================================ */
.rodio-pd-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rodio-pd-gallery-main {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    cursor: zoom-in;
}

.rodio-pd-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.rodio-pd-gallery-main:hover img {
    transform: scale(1.05);
}

.rodio-pd-gallery-controls {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.2s;
}

.rodio-pd-gallery-main:hover .rodio-pd-gallery-controls {
    opacity: 1;
}

.rodio-pd-gallery-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
    cursor: pointer;
    color: var(--rodio-gray-700, #374151);
    transition: background 0.15s, box-shadow 0.15s;
}

.rodio-pd-gallery-btn:hover {
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,.18);
}

.rodio-pd-thumbnails {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.rodio-pd-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    background: #fff;
    padding: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.rodio-pd-thumb:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,.14);
}

.rodio-pd-thumb.active {
    border-color: var(--rodio-teal, #00B3A6);
}

.rodio-pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.rodio-pd-no-img {
    cursor: default;
}

/* ============================================================
   PRODUCT INFO — CENTER COLUMN
   ============================================================ */
.rodio-pd-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rodio-pd-title {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: var(--rodio-gray-900, #111827) !important;
    line-height: 1.3 !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.rodio-pd-subtitle {
    font-size: 14px;
    color: var(--rodio-gray-600, #4b5563);
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

.rodio-pd-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rodio-pd-stars {
    display: flex;
    gap: 2px;
}

.rodio-star {
    font-size: 16px;
    color: var(--rodio-gray-200, #e5e7eb);
    line-height: 1;
}

.rodio-star.filled {
    color: #facc15;
}

.rodio-pd-stars--lg .rodio-star {
    font-size: 18px;
}

.rodio-pd-review-count {
    font-size: 13px;
    color: var(--rodio-gray-500, #6b7280);
}

.rodio-pd-sep-line {
    border: none;
    border-top: 1px solid var(--rodio-gray-200, #e5e7eb);
    margin: 0;
}

/* Benefits */
.rodio-pd-section-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--rodio-gray-900, #111827) !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
}

.rodio-pd-benefits-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rodio-pd-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--rodio-gray-700, #374151);
    line-height: 1.4;
}

.rodio-check-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--rodio-teal, #00B3A6);
    margin-top: 1px;
}

/* Metadata grid */
.rodio-pd-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
}

.rodio-pd-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.rodio-pd-meta-label {
    color: var(--rodio-gray-500, #6b7280);
    white-space: nowrap;
}

.rodio-pd-meta-value {
    color: var(--rodio-gray-900, #111827);
    font-weight: 500;
}

.rodio-pd-meta-link {
    color: var(--rodio-teal, #00B3A6);
    font-weight: 500;
    text-decoration: none;
    transition: text-decoration 0.15s;
}

.rodio-pd-meta-link:hover {
    text-decoration: underline;
}

/* Badges */
.rodio-pd-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    line-height: 1;
    white-space: nowrap;
}

.rodio-pd-badge--green {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.rodio-pd-badge--red {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.rodio-pd-badge--orange {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.rodio-pd-badge--outline-red {
    background: transparent;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.rodio-pd-badge--sm {
    font-size: 10px;
    padding: 2px 8px;
}

.rodio-pd-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

/* Short description block */
.rodio-pd-desc-block p,
.rodio-pd-desc-text p {
    font-size: 13px;
    color: var(--rodio-gray-600, #4b5563);
    line-height: 1.6;
    margin: 0;
}

/* Share row */
.rodio-pd-share {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rodio-pd-share-label {
    font-size: 13px;
    color: var(--rodio-gray-500, #6b7280);
}

.rodio-pd-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.15s, transform 0.15s;
    flex-shrink: 0;
}

.rodio-pd-share-btn:hover {
    opacity: .85;
    transform: scale(1.08);
    color: #fff;
}

.rodio-pd-share-fb { background: #1877F2; }
.rodio-pd-share-tw { background: #000; }
.rodio-pd-share-wa { background: #25D366; }

/* ============================================================
   PURCHASE CARD — RIGHT COLUMN
   ============================================================ */
.rodio-pd-purchase {
    position: sticky;
    top: 80px;
}

.rodio-pd-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,.10);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* WooCommerce price inside card */
.rodio-pd-price-block .price,
.rodio-pd-price-block .woocommerce-Price-amount,
.rodio-pd-price-block ins .woocommerce-Price-amount {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--rodio-gray-900, #111827) !important;
    text-decoration: none !important;
    line-height: 1.2;
}

.rodio-pd-price-block del .woocommerce-Price-amount {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: var(--rodio-gray-400, #9ca3af) !important;
}

.rodio-pd-installment {
    font-size: 13px;
    color: var(--rodio-gray-500, #6b7280);
    margin: 4px 0 0;
    line-height: 1.4;
}

.rodio-pd-installment .woocommerce-Price-amount {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--rodio-teal, #00B3A6) !important;
}

.rodio-teal {
    color: var(--rodio-teal, #00B3A6) !important;
    font-weight: 600;
}

/* Card benefits list */
.rodio-pd-card-benefits {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rodio-pd-card-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--rodio-gray-700, #374151);
}

/* Quantity label */
.rodio-pd-qty-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--rodio-gray-700, #374151) !important;
    margin: 0 !important;
}

/* ── WooCommerce Add-to-Cart form override ─────────────────── */
.rodio-pd-atc-wrapper .cart {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 !important;
}

/* Custom quantity row — JS builds the +/- UI, we style the result */
.rodio-pd-atc-wrapper .quantity {
    display: none; /* hidden; our JS creates a custom quantity UI */
}

.rodio-pd-qty-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rodio-pd-qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--rodio-gray-200, #e5e7eb);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    color: var(--rodio-gray-700, #374151);
    font-size: 18px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s;
    flex-shrink: 0;
    line-height: 1;
}

.rodio-pd-qty-btn:hover {
    background: var(--rodio-gray-50, #f9fafb);
    border-color: var(--rodio-gray-400, #9ca3af);
}

.rodio-pd-qty-display {
    flex: 1;
    text-align: center;
    background: var(--rodio-gray-50, #f9fafb);
    border-radius: 8px;
    padding: 8px 4px;
    font-size: 16px;
    font-weight: 600;
    color: var(--rodio-gray-900, #111827);
}

/* Add to cart button */
.rodio-pd-atc-wrapper .single_add_to_cart_button,
.rodio-pd-atc-wrapper button[type="submit"] {
    width: 100% !important;
    height: 44px !important;
    background: var(--rodio-teal, #00B3A6) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 2px 8px rgba(0,179,166,.25) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-family: 'Inter', system-ui, sans-serif !important;
}

.rodio-pd-atc-wrapper .single_add_to_cart_button:hover,
.rodio-pd-atc-wrapper button[type="submit"]:hover {
    background: var(--rodio-teal-dk, #00968b) !important;
    box-shadow: 0 4px 14px rgba(0,179,166,.35) !important;
    transform: translateY(-1px) !important;
}

.rodio-pd-atc-wrapper .single_add_to_cart_button:active {
    transform: translateY(0) !important;
}

/* Variation selects for variable products */
.rodio-pd-atc-wrapper .variations {
    width: 100%;
    margin-bottom: 8px;
}

.rodio-pd-atc-wrapper .variations td,
.rodio-pd-atc-wrapper .variations th {
    padding: 4px 0;
    font-size: 13px;
}

.rodio-pd-atc-wrapper .variations select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--rodio-gray-200, #e5e7eb);
    border-radius: 8px;
    font-size: 13px;
    color: var(--rodio-gray-900, #111827);
    background: #fff;
    appearance: auto;
}

/* Buy Now button */
.rodio-btn-buy-now {
    width: 100%;
    height: 44px;
    background: transparent;
    color: var(--rodio-teal, #00B3A6);
    border: 2px solid var(--rodio-teal, #00B3A6);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    font-family: 'Inter', system-ui, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rodio-btn-buy-now:hover {
    background: var(--rodio-teal, #00B3A6);
    color: #fff;
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.rodio-pd-section {
    margin-bottom: 40px;
}

.rodio-pd-section-header {
    margin-bottom: 16px;
}

.rodio-pd-section-title {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: var(--rodio-gray-900, #111827) !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
}

.rodio-pd-section-subtitle {
    font-size: 13px;
    color: var(--rodio-gray-500, #6b7280);
    margin: 0;
}

/* ============================================================
   BUNDLE SECTION
   ============================================================ */
.rodio-pd-bundle-card {
    background: #fff;
    border: 1px solid var(--rodio-gray-200, #e5e7eb);
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    padding: 20px;
}

.rodio-pd-bundle-items {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.rodio-pd-bundle-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rodio-gray-400, #9ca3af);
    flex-shrink: 0;
    padding-top: 28px;
}

.rodio-pd-bundle-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--rodio-gray-50, #f9fafb);
    border-radius: 10px;
    padding: 12px;
    min-width: 240px;
    flex: 1 1 240px;
    max-width: 320px;
}

.rodio-pd-bundle-check-wrap {
    padding-top: 2px;
    flex-shrink: 0;
}

.rodio-bundle-checkbox {
    width: 16px;
    height: 16px;
    accent-color: var(--rodio-teal, #00B3A6);
    cursor: pointer;
}

.rodio-pd-bundle-img-link {
    width: 72px;
    height: 72px;
    background: #fff;
    border-radius: 8px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rodio-pd-bundle-img-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.rodio-pd-bundle-info {
    flex: 1;
    min-width: 0;
}

.rodio-pd-bundle-name {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--rodio-gray-900, #111827) !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rodio-pd-bundle-name a {
    color: inherit;
    text-decoration: none;
}

.rodio-pd-bundle-name a:hover {
    color: var(--rodio-teal, #00B3A6);
}

.rodio-pd-bundle-price .woocommerce-Price-amount {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--rodio-gray-900, #111827) !important;
}

.rodio-pd-bundle-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--rodio-gray-200, #e5e7eb);
    flex-wrap: wrap;
}

.rodio-pd-bundle-total-label {
    font-size: 13px;
    color: var(--rodio-gray-600, #4b5563);
    margin: 0 0 4px;
}

.rodio-pd-bundle-total .woocommerce-Price-amount,
.rodio-pd-bundle-total {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--rodio-gray-900, #111827) !important;
    margin: 0 !important;
}

.rodio-btn-bundle-atc {
    height: 48px;
    padding: 0 28px;
    background: var(--rodio-teal, #00B3A6);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,179,166,.25);
    font-family: 'Inter', system-ui, sans-serif;
    white-space: nowrap;
}

.rodio-btn-bundle-atc:hover {
    background: var(--rodio-teal-dk, #00968b);
    box-shadow: 0 4px 14px rgba(0,179,166,.35);
}

.rodio-btn-bundle-atc:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* ============================================================
   RELATED PRODUCTS
   ============================================================ */
.rodio-pd-related-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.rodio-pd-related-card {
    background: #fff;
    border: 1px solid var(--rodio-gray-200, #e5e7eb);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    transition: box-shadow 0.2s ease;
}

.rodio-pd-related-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
}

.rodio-pd-related-img-wrap {
    aspect-ratio: 1 / 1;
    background: var(--rodio-gray-50, #f9fafb);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rodio-pd-related-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease;
}

.rodio-pd-related-card:hover .rodio-pd-related-img-wrap img {
    transform: scale(1.04);
}

.rodio-pd-related-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rodio-pd-related-name {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: var(--rodio-gray-900, #111827) !important;
    margin: 0 !important;
    padding: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 30px;
}

.rodio-pd-related-name a {
    color: inherit;
    text-decoration: none;
}

.rodio-pd-related-name a:hover {
    color: var(--rodio-teal, #00B3A6);
}

.rodio-pd-related-price .woocommerce-Price-amount {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--rodio-gray-900, #111827) !important;
}

.rodio-btn-related-atc,
.rodio-btn-related-outline {
    display: block;
    text-align: center;
    width: 100%;
    height: 32px;
    line-height: 32px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    font-family: 'Inter', system-ui, sans-serif;
}

.rodio-btn-related-atc {
    background: var(--rodio-teal, #00B3A6);
    color: #fff !important;
    border: none;
}

.rodio-btn-related-atc:hover {
    background: var(--rodio-teal-dk, #00968b);
    color: #fff;
}

.rodio-btn-related-outline {
    background: transparent;
    color: var(--rodio-teal, #00B3A6) !important;
    border: 1px solid var(--rodio-teal, #00B3A6);
}

.rodio-btn-related-outline:hover {
    background: var(--rodio-teal, #00B3A6);
    color: #fff !important;
}

/* ============================================================
   DETAILS / DESCRIPTION CARD
   ============================================================ */
.rodio-pd-details-card {
    background: #fff;
    border: 1px solid var(--rodio-gray-200, #e5e7eb);
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    padding: 24px;
}

.rodio-pd-details-heading {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: var(--rodio-teal, #00B3A6) !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
}

.rodio-pd-description {
    font-size: 13px;
    color: var(--rodio-gray-600, #4b5563);
    line-height: 1.7;
}

.rodio-pd-description p {
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--rodio-gray-600, #4b5563);
}

.rodio-pd-description ul,
.rodio-pd-description ol {
    margin: 12px 0 12px 18px;
}

.rodio-pd-description li {
    font-size: 13px;
    color: var(--rodio-gray-600, #4b5563);
    margin-bottom: 6px;
    line-height: 1.5;
}

.rodio-pd-description li::marker {
    color: var(--rodio-teal, #00B3A6);
}

.rodio-pd-description h3,
.rodio-pd-description h4 {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--rodio-gray-900, #111827) !important;
    margin: 16px 0 8px !important;
    padding: 0 !important;
}

.rodio-pd-description table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 12px;
    background: var(--rodio-gray-50, #f9fafb);
    border-radius: 8px;
    overflow: hidden;
}

.rodio-pd-description table th,
.rodio-pd-description table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid var(--rodio-gray-200, #e5e7eb);
}

.rodio-pd-description table th {
    font-weight: 600;
    color: var(--rodio-gray-700, #374151);
    background: var(--rodio-gray-100, #f3f4f6);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.rodio-pd-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    background: rgba(0,0,0,.88);
    border: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

.rodio-pd-lightbox[open] {
    display: flex;
}

.rodio-pd-lightbox::backdrop {
    background: rgba(0,0,0,.88);
}

.rodio-pd-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

.rodio-pd-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,.15);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.rodio-pd-lightbox-close:hover {
    background: rgba(255,255,255,.25);
}

/* ============================================================
   RESPONSIVE — TABLET (< 1200px)
   ============================================================ */
@media (max-width: 1200px) {
    .rodio-pd-main-grid {
        grid-template-columns: 1fr 1fr;
    }

    .rodio-pd-purchase {
        grid-column: 1 / -1;
        position: static;
    }

    .rodio-pd-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .rodio-pd-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================================
   RESPONSIVE — MOBILE (< 768px)
   ============================================================ */
@media (max-width: 767px) {
    .rodio-pd-content {
        padding: 16px 16px 40px;
    }

    .rodio-pd-main-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 32px;
    }

    .rodio-pd-purchase {
        grid-column: 1;
        position: static;
    }

    .rodio-pd-card {
        max-width: 100%;
    }

    .rodio-pd-title {
        font-size: 18px !important;
    }

    .rodio-pd-meta-grid {
        grid-template-columns: 1fr;
    }

    .rodio-pd-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rodio-pd-bundle-items {
        flex-direction: column;
    }

    .rodio-pd-bundle-plus {
        padding-top: 0;
        transform: rotate(90deg);
    }

    .rodio-pd-bundle-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .rodio-btn-bundle-atc {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .rodio-pd-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
