/* Radaport WooCommerce styling - Toolrack / Codezeel inspired layout */
/* Version: 1.2.0 */

/* --------------------------------------------------------------------------
   1. Fonts & CSS variables
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&display=swap');

:root {
    --rad-primary: #F24A47;
    --rad-primary-dark: #D63A37;
    --rad-primary-light: #F57270;
    --rad-secondary: #1D2550;
    --rad-secondary-light: #2A3568;
    --rad-secondary-muted: #64748B;
    --rad-admin: #0282FB;
    --rad-admin-dark: #016AD4;
    --rad-admin-light: #3A99FD;
    --rad-bg: #F8FAFC;
    --rad-card: #ffffff;
    --rad-border: #E2E8F0;
    --rad-text-primary: #1a1d21;
    --rad-text-secondary: #4a5568;
    --rad-text-muted: #6b7280;
    --rad-success: #06d6a0;
    --rad-warning: #ffa41b;
    --rad-error: #ef476f;
    --rad-shadow-sm: 0 1px 2px 0 rgba(26, 29, 33, 0.05);
    --rad-shadow: 0 4px 6px -1px rgba(26, 29, 33, 0.08), 0 2px 4px -2px rgba(26, 29, 33, 0.05);
    --rad-shadow-lg: 0 10px 25px -5px rgba(26, 29, 33, 0.1), 0 8px 10px -6px rgba(26, 29, 33, 0.05);
    --rad-radius: 0.75rem;
    --rad-radius-sm: 0.5rem;
}

/* --------------------------------------------------------------------------
   2. Global / scope resets for WooCommerce pages
   -------------------------------------------------------------------------- */
body.woocommerce-page,
body.tax-product_cat,
body.single-product,
body.woocommerce-shop {
    font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--rad-bg);
    color: var(--rad-text-primary);
}

body.woocommerce-page h1,
body.woocommerce-page h2,
body.woocommerce-page h3,
body.woocommerce-page h4,
body.woocommerce-page h5,
body.woocommerce-page h6,
body.woocommerce-page p,
body.woocommerce-page li,
body.woocommerce-page a,
body.woocommerce-page span,
body.woocommerce-page div,
body.woocommerce-page button,
body.woocommerce-page input,
body.woocommerce-page table,
body.woocommerce-page th,
body.woocommerce-page td,
body.woocommerce-page label,
body.woocommerce-page select {
    font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --------------------------------------------------------------------------
   3. Header
   -------------------------------------------------------------------------- */
header.wp-block-template-part .radaport-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 50 !important;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid var(--rad-border) !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

header.wp-block-template-part .radaport-header-inner {
    min-height: 64px !important;
    align-items: center !important;
}

header.wp-block-template-part .radaport-header-logo img {
    height: 48px !important;
    width: auto !important;
    max-height: 48px !important;
    object-fit: contain !important;
    display: block !important;
}

/* Navigation: desktop */
header.wp-block-template-part .radaport-header-nav .wp-block-navigation__container {
    gap: 0.5rem !important;
}

header.wp-block-template-part .radaport-header-nav .wp-block-navigation-item a {
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    color: var(--rad-text-secondary) !important;
    text-decoration: none !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: 0.5rem !important;
    transition: color 0.15s ease, background-color 0.15s ease !important;
}

header.wp-block-template-part .radaport-header-nav .wp-block-navigation-item a:hover,
header.wp-block-template-part .radaport-header-nav .wp-block-navigation-item.current-menu-item a,
header.wp-block-template-part .radaport-header-nav .wp-block-navigation-item.current_page_item a {
    color: var(--rad-admin) !important;
    background-color: rgba(2, 130, 251, 0.06) !important;
}

/* Active Shop link mimic Next.js */
header.wp-block-template-part .radaport-header-nav .wp-block-navigation-item a[href="/shop"] {
    color: var(--rad-admin) !important;
    font-weight: 600 !important;
}

/* Admin Login pill button */
header.wp-block-template-part .radaport-header-nav .wp-block-navigation-item.radaport-header-admin a {
    background: var(--rad-admin) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 0.5rem 1.25rem !important;
    margin-left: 0.25rem !important;
}

header.wp-block-template-part .radaport-header-nav .wp-block-navigation-item.radaport-header-admin a:hover {
    background: var(--rad-admin-dark) !important;
    color: #ffffff !important;
}

/* Hide WooCommerce injected account / cart icons in header */
header.wp-block-template-part .wp-block-woocommerce-customer-account,
header.wp-block-template-part .wc-block-mini-cart,
header.wp-block-template-part .wp-block-woocommerce-mini-cart {
    display: none !important;
}

/* Mobile hamburger */
header.wp-block-template-part .radaport-header-nav .wp-block-navigation__responsive-container-open svg {
    color: var(--rad-text-primary) !important;
}

@media (max-width: 781px) {
    header.wp-block-template-part .radaport-header-inner {
        min-height: 56px !important;
    }

    header.wp-block-template-part .radaport-header-logo img {
        height: 40px !important;
        max-height: 40px !important;
    }

    header.wp-block-template-part .radaport-header-nav .wp-block-navigation__responsive-container-content {
        padding: 1.5rem !important;
    }

    header.wp-block-template-part .radaport-header-nav .wp-block-navigation__container {
        flex-direction: column !important;
        gap: 0.25rem !important;
    }

    header.wp-block-template-part .radaport-header-nav .wp-block-navigation-item a {
        padding: 0.75rem 1rem !important;
        border-radius: 0.5rem !important;
    }

    header.wp-block-template-part .radaport-header-nav .wp-block-navigation-item.radaport-header-admin a {
        margin-left: 0 !important;
        margin-top: 0.5rem !important;
        text-align: center !important;
    }
}

/* --------------------------------------------------------------------------
   4. Footer
   -------------------------------------------------------------------------- */
footer.wp-block-template-part .radaport-footer {
    background: var(--rad-secondary) !important;
    color: #ffffff !important;
    padding-top: 4rem !important;
    padding-bottom: 2rem !important;
}

footer.wp-block-template-part .radaport-footer-grid {
    gap: 2rem !important;
    margin-bottom: 3rem !important;
}

footer.wp-block-template-part .radaport-footer-brand {
    gap: 0.75rem !important;
}

footer.wp-block-template-part .radaport-footer-logo img {
    height: 64px !important;
    width: auto !important;
    max-height: 64px !important;
    object-fit: contain !important;
    display: block !important;
}

footer.wp-block-template-part .radaport-footer-description,
footer.wp-block-template-part .radaport-footer-tagline {
    color: #d1d5db !important;
    font-size: 0.9375rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

footer.wp-block-template-part .radaport-footer-tagline {
    color: #9ca3af !important;
    font-size: 0.8125rem !important;
}

footer.wp-block-template-part .radaport-footer-heading {
    color: #ffffff !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    margin-top: 0 !important;
    margin-bottom: 1.25rem !important;
}

footer.wp-block-template-part .radaport-footer-links .wp-block-navigation__container {
    flex-direction: column !important;
    gap: 0.75rem !important;
}

footer.wp-block-template-part .radaport-footer-links .wp-block-navigation-item a {
    color: #d1d5db !important;
    font-size: 0.9375rem !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    padding: 0 !important;
    transition: color 0.15s ease !important;
}

footer.wp-block-template-part .radaport-footer-links .wp-block-navigation-item a:hover {
    color: var(--rad-admin-light) !important;
    text-decoration: none !important;
}

footer.wp-block-template-part .radaport-footer-bottom {
    border-top: 1px solid var(--rad-secondary-light) !important;
    padding-top: 2rem !important;
    margin-top: 2rem !important;
}

footer.wp-block-template-part .radaport-footer-bottom p {
    color: #9ca3af !important;
    font-size: 0.875rem !important;
    margin: 0 !important;
}

@media (max-width: 781px) {
    footer.wp-block-template-part .radaport-footer-grid {
        flex-direction: column !important;
    }

    footer.wp-block-template-part .radaport-footer-grid .wp-block-column {
        flex-basis: 100% !important;
    }

    footer.wp-block-template-part .radaport-footer-heading {
        margin-bottom: 0.75rem !important;
        margin-top: 1.5rem !important;
    }
}

/* --------------------------------------------------------------------------
   5. Product page container
   -------------------------------------------------------------------------- */
.radaport-product-page {
    padding-top: 2.5rem !important;
    padding-bottom: 4rem !important;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Breadcrumbs */
.radaport-product-page .radaport-breadcrumbs,
.radaport-product-page .wp-block-woocommerce-breadcrumbs {
    margin-bottom: 1.5rem !important;
    font-size: 0.875rem !important;
    color: var(--rad-text-muted) !important;
}

.radaport-product-page .wp-block-woocommerce-breadcrumbs a,
.radaport-product-page .radaport-breadcrumbs a {
    color: var(--rad-text-muted) !important;
    text-decoration: none !important;
}

.radaport-product-page .wp-block-woocommerce-breadcrumbs a:hover,
.radaport-product-page .radaport-breadcrumbs a:hover {
    color: var(--rad-primary) !important;
}

/* --------------------------------------------------------------------------
   6. Two-column product layout
   -------------------------------------------------------------------------- */
.radaport-product-columns {
    gap: 3.5rem !important;
    margin-bottom: 3.5rem !important;
    align-items: flex-start !important;
}

.radaport-product-columns .wp-block-column {
    min-width: 0;
}

/* Product image gallery */
.radaport-product-page .radaport-product-gallery,
.radaport-product-page .wp-block-woocommerce-product-image-gallery {
    background: var(--rad-card) !important;
    border-radius: var(--rad-radius) !important;
    padding: 1.5rem !important;
    border: 1px solid var(--rad-border) !important;
    box-shadow: var(--rad-shadow-sm) !important;
}

.radaport-product-page .woocommerce-product-gallery__image img,
.radaport-product-page .wp-block-woocommerce-product-image-gallery img {
    border-radius: var(--rad-radius-sm) !important;
    object-fit: contain !important;
}

/* --------------------------------------------------------------------------
   7. Product summary (right column)
   -------------------------------------------------------------------------- */
.radaport-product-summary {
    gap: 0.75rem !important;
}

/* Brand / category label */
.radaport-product-brand {
    display: inline-block !important;
    margin-bottom: 0.25rem !important;
}

.radaport-product-brand a {
    display: inline-block !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: var(--rad-primary) !important;
    text-decoration: none !important;
    background: rgba(242, 74, 71, 0.08) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 9999px !important;
}

/* Product title */
.radaport-product-page h1.radaport-product-title,
.radaport-product-page h1.wp-block-post-title,
.radaport-product-page .wp-block-post-title {
    margin-top: 0 !important;
    margin-bottom: 0.25rem !important;
    font-family: 'Archivo', sans-serif !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: var(--rad-text-primary) !important;
    letter-spacing: -0.02em !important;
}

@media (min-width: 782px) {
    .radaport-product-page h1.radaport-product-title,
    .radaport-product-page h1.wp-block-post-title,
    .radaport-product-page .wp-block-post-title {
        font-size: 2.5rem !important;
    }
}

/* Rating */
.radaport-product-page .radaport-product-rating,
.radaport-product-page .wp-block-woocommerce-product-rating {
    margin-bottom: 0.25rem !important;
}

.radaport-product-page .star-rating {
    color: #fbbf24 !important;
    font-size: 1rem !important;
}

.radaport-product-page .woocommerce-review-link {
    color: var(--rad-text-muted) !important;
    font-size: 0.875rem !important;
    text-decoration: none !important;
    margin-left: 0.5rem !important;
}

/* Price */
.radaport-product-page .radaport-product-price,
.radaport-product-page .wp-block-woocommerce-product-price {
    margin-bottom: 0.5rem !important;
}

.radaport-product-page .woocommerce-Price-amount,
.radaport-product-page .wc-block-components-product-price__value {
    font-family: 'Archivo', sans-serif !important;
    font-size: 1.875rem !important;
    font-weight: 800 !important;
    color: var(--rad-text-primary) !important;
}

.radaport-product-page .wc-block-components-product-price__regular-value,
.radaport-product-page del .woocommerce-Price-amount {
    font-size: 1.25rem !important;
    font-weight: 500 !important;
    color: var(--rad-text-muted) !important;
    text-decoration: line-through !important;
    margin-right: 0.75rem !important;
}

.radaport-product-page ins .woocommerce-Price-amount {
    color: var(--rad-primary) !important;
    text-decoration: none !important;
}

/* --------------------------------------------------------------------------
   8. Urgency badges
   -------------------------------------------------------------------------- */
.radaport-urgency-badges {
    gap: 0.5rem !important;
    margin-bottom: 0.75rem !important;
}

.radaport-urgency-badges .wp-block-woocommerce-product-stock-indicator,
.radaport-stock-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin: 0 !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: var(--rad-success) !important;
    background: rgba(6, 214, 160, 0.08) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 9999px !important;
    width: auto !important;
}

.radaport-urgency-badges .wp-block-woocommerce-product-stock-indicator::before {
    content: '' !important;
    display: inline-block !important;
    width: 8px !important;
    height: 8px !important;
    background: var(--rad-success) !important;
    border-radius: 50% !important;
}

.radaport-viewing-count {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin: 0 !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: var(--rad-warning) !important;
    background: rgba(255, 164, 27, 0.08) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 9999px !important;
    width: auto !important;
}

.radaport-fire-icon {
    font-size: 1rem !important;
    line-height: 1 !important;
}

/* --------------------------------------------------------------------------
   9. Short description
   -------------------------------------------------------------------------- */
.radaport-product-page .radaport-product-excerpt,
.radaport-product-page .wp-block-post-excerpt {
    margin-bottom: 1.25rem !important;
}

.radaport-product-page .wp-block-post-excerpt__excerpt {
    color: var(--rad-text-secondary) !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

/* --------------------------------------------------------------------------
   10. Add to cart form
   -------------------------------------------------------------------------- */
.radaport-product-page .radaport-add-to-cart,
.radaport-product-page .wp-block-woocommerce-add-to-cart-form,
.radaport-product-page .wp-block-add-to-cart-form {
    margin-bottom: 1.25rem !important;
}

.radaport-product-page form.cart {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 1rem !important;
    margin-bottom: 0 !important;
}

.radaport-product-page .quantity {
    margin-right: 0 !important;
}

.radaport-product-page .quantity input.qty {
    width: 90px !important;
    height: 52px !important;
    border-radius: var(--rad-radius-sm) !important;
    border: 1px solid var(--rad-border) !important;
    padding: 0.5rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    background: #ffffff !important;
    color: var(--rad-text-primary) !important;
    box-shadow: inset 0 1px 2px rgba(26, 29, 33, 0.05) !important;
}

.radaport-product-page .single_add_to_cart_button,
.radaport-product-page .button.alt,
.radaport-product-page button[type="submit"].single_add_to_cart_button {
    background: linear-gradient(135deg, var(--rad-primary) 0%, var(--rad-primary-dark) 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--rad-radius-sm) !important;
    padding: 0 2.5rem !important;
    height: 52px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
    box-shadow: 0 4px 14px rgba(242, 74, 71, 0.25) !important;
    cursor: pointer !important;
}

.radaport-product-page .single_add_to_cart_button:hover,
.radaport-product-page .button.alt:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(242, 74, 71, 0.35) !important;
}

@media (max-width: 781px) {
    .radaport-product-page form.cart {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .radaport-product-page .single_add_to_cart_button {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* --------------------------------------------------------------------------
   11. Product extras
   -------------------------------------------------------------------------- */
.radaport-product-extras {
    margin-bottom: 1.25rem !important;
}

.radaport-product-extras ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.625rem !important;
}

.radaport-product-extras li {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    font-size: 0.9375rem !important;
    color: var(--rad-text-secondary) !important;
    margin: 0 !important;
}

.radaport-extra-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    flex-shrink: 0 !important;
    border-radius: 9999px !important;
    background: rgba(242, 74, 71, 0.08) !important;
    color: var(--rad-primary) !important;
}

.radaport-extra-icon svg {
    width: 18px !important;
    height: 18px !important;
}

.radaport-product-extras li strong {
    color: var(--rad-text-primary) !important;
    font-weight: 600 !important;
}

/* --------------------------------------------------------------------------
   12. Payment box
   -------------------------------------------------------------------------- */
.radaport-payment-box {
    background: #ffffff !important;
    border: 1px solid var(--rad-border) !important;
    border-radius: var(--rad-radius-sm) !important;
    padding: 1rem 1.25rem !important;
    margin-bottom: 1.5rem !important;
    box-shadow: var(--rad-shadow-sm) !important;
}

.radaport-payment-title {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin: 0 0 0.75rem 0 !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    color: var(--rad-text-secondary) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
}

.radaport-lock-icon {
    display: inline-flex !important;
    align-items: center !important;
    color: var(--rad-success) !important;
}

.radaport-lock-icon svg {
    width: 16px !important;
    height: 16px !important;
}

.radaport-payment-list {
    list-style: none !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    padding: 0 !important;
    margin: 0 !important;
}

.radaport-payment-list li {
    width: 56px !important;
    height: 36px !important;
    border-radius: 0.25rem !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(26, 29, 33, 0.08) !important;
    border: 1px solid #e5e7eb !important;
}

.radaport-payment-list li svg {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

/* --------------------------------------------------------------------------
   13. Product meta
   -------------------------------------------------------------------------- */
.radaport-product-page .radaport-product-meta,
.radaport-product-page .wp-block-woocommerce-product-meta {
    margin-top: 1rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid var(--rad-border) !important;
    font-size: 0.875rem !important;
    color: var(--rad-text-muted) !important;
}

.radaport-product-page .wp-block-woocommerce-product-meta .wp-block-group {
    gap: 0.75rem 1.5rem !important;
    flex-wrap: wrap !important;
}

.radaport-product-page .wp-block-woocommerce-product-meta a {
    color: var(--rad-primary) !important;
    text-decoration: none !important;
}

/* --------------------------------------------------------------------------
   14. Product details tabs
   -------------------------------------------------------------------------- */
.radaport-product-details,
.radaport-product-page .wp-block-woocommerce-product-details {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

.radaport-product-page .woocommerce-tabs {
    background: #ffffff !important;
    border: 1px solid var(--rad-border) !important;
    border-radius: var(--rad-radius) !important;
    padding: 2rem !important;
    box-shadow: var(--rad-shadow-sm) !important;
}

.radaport-product-page .woocommerce-tabs ul.tabs {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 1.5rem 0 !important;
    border-bottom: 2px solid var(--rad-border) !important;
    gap: 0.25rem !important;
}

.radaport-product-page .woocommerce-tabs ul.tabs::before {
    display: none !important;
}

.radaport-product-page .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.radaport-product-page .woocommerce-tabs ul.tabs li a {
    display: block !important;
    padding: 0.875rem 1.25rem !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    color: var(--rad-text-muted) !important;
    text-decoration: none !important;
}

.radaport-product-page .woocommerce-tabs ul.tabs li.active {
    border-bottom-color: var(--rad-primary) !important;
    background: transparent !important;
}

.radaport-product-page .woocommerce-tabs ul.tabs li.active a {
    color: var(--rad-primary) !important;
}

.radaport-product-page .woocommerce-Tabs-panel {
    padding: 1rem 0 0 0 !important;
    color: var(--rad-text-secondary) !important;
    line-height: 1.7 !important;
    font-size: 0.9375rem !important;
}

.radaport-product-page .woocommerce-Tabs-panel h2,
.radaport-product-page .woocommerce-Tabs-panel h4 {
    font-family: 'Archivo', sans-serif !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    color: var(--rad-text-primary) !important;
}

.radaport-product-page .woocommerce-Tabs-panel p {
    margin-bottom: 1rem !important;
    font-size: 0.9375rem !important;
}

.radaport-product-page .woocommerce-Tabs-panel ul,
.radaport-product-page .woocommerce-Tabs-panel ol {
    list-style: disc !important;
    padding-left: 1.25rem !important;
    margin-bottom: 1rem !important;
    font-size: 0.9375rem !important;
}

.radaport-product-page .woocommerce-Tabs-panel li {
    font-size: 0.9375rem !important;
}

.radaport-product-page .woocommerce-Tabs-panel table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 1rem 0 !important;
    font-size: 0.9375rem !important;
}

.radaport-product-page .woocommerce-Tabs-panel table th,
.radaport-product-page .woocommerce-Tabs-panel table td {
    padding: 0.75rem 1rem !important;
    border: 1px solid var(--rad-border) !important;
    text-align: left !important;
}

.radaport-product-page .woocommerce-Tabs-panel table th {
    background: #f9fafb !important;
    font-weight: 600 !important;
    color: var(--rad-text-primary) !important;
    width: 35% !important;
}

/* --------------------------------------------------------------------------
   15. Shipping & Returns section
   -------------------------------------------------------------------------- */
.radaport-shipping-section {
    background: #ffffff !important;
    border: 1px solid var(--rad-border) !important;
    border-radius: var(--rad-radius) !important;
    padding: 2rem !important;
    margin-bottom: 3rem !important;
    box-shadow: var(--rad-shadow-sm) !important;
}

.radaport-section-title {
    font-family: 'Archivo', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    color: var(--rad-text-primary) !important;
}

.radaport-shipping-section p {
    color: var(--rad-text-secondary) !important;
    line-height: 1.7 !important;
    margin-bottom: 0.75rem !important;
}

/* --------------------------------------------------------------------------
   16. Related products
   -------------------------------------------------------------------------- */
.radaport-product-page .wp-block-woocommerce-product-collection {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

.radaport-product-page .wp-block-woocommerce-product-collection h2,
.radaport-product-page .related.products > h2,
.radaport-product-page section.related.products h2 {
    font-family: 'Archivo', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--rad-text-primary) !important;
    margin-bottom: 1.5rem !important;
    text-align: left !important;
}

.radaport-product-page .wc-block-grid__product,
.radaport-product-page .wp-block-woocommerce-product-collection .wc-block-product {
    background: #ffffff !important;
    border: 1px solid var(--rad-border) !important;
    border-radius: var(--rad-radius) !important;
    padding: 1rem !important;
    transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}

.radaport-product-page .wc-block-grid__product:hover,
.radaport-product-page .wp-block-woocommerce-product-collection .wc-block-product:hover {
    box-shadow: var(--rad-shadow-lg) !important;
    transform: translateY(-2px) !important;
}

.radaport-product-page .wc-block-grid__product .wc-block-components-product-image,
.radaport-product-page .wp-block-woocommerce-product-collection .wc-block-components-product-image {
    border-radius: var(--rad-radius-sm) !important;
    overflow: hidden !important;
    margin-bottom: 1rem !important;
}

.radaport-product-page .wc-block-grid__product-title,
.radaport-product-page .wp-block-woocommerce-product-collection .wc-block-grid__product .wp-block-post-title {
    font-family: 'Archivo', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    color: var(--rad-text-primary) !important;
    margin-bottom: 0.5rem !important;
}

.radaport-product-page .wc-block-grid__product-title a,
.radaport-product-page .wp-block-woocommerce-product-collection .wc-block-grid__product .wp-block-post-title a {
    color: var(--rad-text-primary) !important;
    text-decoration: none !important;
}

.radaport-product-page .wc-block-grid__product-title a:hover,
.radaport-product-page .wp-block-woocommerce-product-collection .wc-block-grid__product .wp-block-post-title a:hover {
    color: var(--rad-primary) !important;
}

.radaport-product-page .wc-block-grid__product .wc-block-components-product-price,
.radaport-product-page .wp-block-woocommerce-product-collection .wc-block-grid__product .wc-block-components-product-price {
    font-family: 'Archivo', sans-serif !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: var(--rad-primary) !important;
    text-align: center !important;
    margin-bottom: 0.75rem !important;
}

.radaport-product-page .wp-block-button__link,
.radaport-product-page .wc-block-grid__product .wp-block-button__link {
    background-color: var(--rad-primary) !important;
    color: #ffffff !important;
    border-radius: var(--rad-radius-sm) !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    border: none !important;
    transition: background-color 0.15s ease !important;
}

.radaport-product-page .wp-block-button__link:hover,
.radaport-product-page .wc-block-grid__product .wp-block-button__link:hover {
    background-color: var(--rad-primary-dark) !important;
}

/* --------------------------------------------------------------------------
   17. Archive / category pages
   -------------------------------------------------------------------------- */
.archive.woocommerce-page,
.post-type-archive-product.woocommerce-page,
.tax-product_cat.woocommerce-page,
.tax-product_tag.woocommerce-page {
    font-family: 'Archivo', sans-serif !important;
    background-color: var(--rad-bg) !important;
}

.archive.woocommerce-page h1.wp-block-query-title,
.post-type-archive-product.woocommerce-page h1.wp-block-query-title,
.tax-product_cat.woocommerce-page h1.wp-block-query-title,
.tax-product_tag.woocommerce-page h1.wp-block-query-title {
    font-family: 'Archivo', sans-serif !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: var(--rad-text-primary) !important;
    margin-bottom: 1.5rem !important;
    margin-top: 2.5rem !important;
    text-align: left !important;
}

.archive.woocommerce-page .wp-block-woocommerce-product-collection,
.post-type-archive-product.woocommerce-page .wp-block-woocommerce-product-collection,
.tax-product_cat.woocommerce-page .wp-block-woocommerce-product-collection,
.tax-product_tag.woocommerce-page .wp-block-woocommerce-product-collection {
    margin-bottom: 3rem !important;
}

.archive.woocommerce-page .wc-block-product-template,
.post-type-archive-product.woocommerce-page .wc-block-product-template,
.tax-product_cat.woocommerce-page .wc-block-product-template,
.tax-product_tag.woocommerce-page .wc-block-product-template {
    gap: 1.5rem !important;
}

.archive.woocommerce-page .wc-block-product,
.post-type-archive-product.woocommerce-page .wc-block-product,
.tax-product_cat.woocommerce-page .wc-block-product,
.tax-product_tag.woocommerce-page .wc-block-product {
    background: #ffffff !important;
    border: 1px solid var(--rad-border) !important;
    border-radius: var(--rad-radius) !important;
    padding: 1rem !important;
    transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}

.archive.woocommerce-page .wc-block-product:hover,
.post-type-archive-product.woocommerce-page .wc-block-product:hover,
.tax-product_cat.woocommerce-page .wc-block-product:hover,
.tax-product_tag.woocommerce-page .wc-block-product:hover {
    box-shadow: var(--rad-shadow-lg) !important;
    transform: translateY(-2px) !important;
}

.archive.woocommerce-page .wc-block-product .wc-block-components-product-image,
.post-type-archive-product.woocommerce-page .wc-block-product .wc-block-components-product-image,
.tax-product_cat.woocommerce-page .wc-block-product .wc-block-components-product-image,
.tax-product_tag.woocommerce-page .wc-block-product .wc-block-components-product-image {
    border-radius: var(--rad-radius-sm) !important;
    overflow: hidden !important;
    margin-bottom: 1rem !important;
}

.archive.woocommerce-page .wc-block-product .wp-block-post-title,
.post-type-archive-product.woocommerce-page .wc-block-product .wp-block-post-title,
.tax-product_cat.woocommerce-page .wc-block-product .wp-block-post-title,
.tax-product_tag.woocommerce-page .wc-block-product .wp-block-post-title {
    font-family: 'Archivo', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    color: var(--rad-text-primary) !important;
    margin-bottom: 0.5rem !important;
}

.archive.woocommerce-page .wc-block-product .wp-block-post-title a,
.post-type-archive-product.woocommerce-page .wc-block-product .wp-block-post-title a,
.tax-product_cat.woocommerce-page .wc-block-product .wp-block-post-title a,
.tax-product_tag.woocommerce-page .wc-block-product .wp-block-post-title a {
    color: var(--rad-text-primary) !important;
    text-decoration: none !important;
}

.archive.woocommerce-page .wc-block-product .wp-block-post-title a:hover,
.post-type-archive-product.woocommerce-page .wc-block-product .wp-block-post-title a:hover,
.tax-product_cat.woocommerce-page .wc-block-product .wp-block-post-title a:hover,
.tax-product_tag.woocommerce-page .wc-block-product .wp-block-post-title a:hover {
    color: var(--rad-primary) !important;
}

.archive.woocommerce-page .wc-block-product .wc-block-components-product-price,
.post-type-archive-product.woocommerce-page .wc-block-product .wc-block-components-product-price,
.tax-product_cat.woocommerce-page .wc-block-product .wc-block-components-product-price,
.tax-product_tag.woocommerce-page .wc-block-product .wc-block-components-product-price {
    font-family: 'Archivo', sans-serif !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: var(--rad-primary) !important;
    text-align: center !important;
    margin-bottom: 0.75rem !important;
}

.archive.woocommerce-page .wc-block-product .wp-block-button__link,
.post-type-archive-product.woocommerce-page .wc-block-product .wp-block-button__link,
.tax-product_cat.woocommerce-page .wc-block-product .wp-block-button__link,
.tax-product_tag.woocommerce-page .wc-block-product .wp-block-button__link {
    background-color: var(--rad-primary) !important;
    color: #ffffff !important;
    border-radius: var(--rad-radius-sm) !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    width: 100% !important;
    text-align: center !important;
    border: none !important;
    transition: background-color 0.15s ease !important;
}

.archive.woocommerce-page .wc-block-product .wp-block-button__link:hover,
.post-type-archive-product.woocommerce-page .wc-block-product .wp-block-button__link:hover,
.tax-product_cat.woocommerce-page .wc-block-product .wp-block-button__link:hover,
.tax-product_tag.woocommerce-page .wc-block-product .wp-block-button__link:hover {
    background-color: var(--rad-primary-dark) !important;
}

.archive.woocommerce-page .woocommerce-result-count,
.post-type-archive-product.woocommerce-page .woocommerce-result-count,
.tax-product_cat.woocommerce-page .woocommerce-result-count,
.tax-product_tag.woocommerce-page .woocommerce-result-count {
    font-size: 0.875rem !important;
    color: var(--rad-text-muted) !important;
    margin-bottom: 1.5rem !important;
}

.archive.woocommerce-page .woocommerce-ordering select,
.post-type-archive-product.woocommerce-page .woocommerce-ordering select,
.tax-product_cat.woocommerce-page .woocommerce-ordering select,
.tax-product_tag.woocommerce-page .woocommerce-ordering select {
    border: 1px solid var(--rad-border) !important;
    border-radius: var(--rad-radius-sm) !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
    background: #ffffff !important;
    color: var(--rad-text-primary) !important;
}

/* --------------------------------------------------------------------------
   18. Responsive adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 781px) {
    .radaport-product-columns {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .radaport-product-page h1.radaport-product-title,
    .radaport-product-page h1.wp-block-post-title,
    .radaport-product-page .wp-block-post-title {
        font-size: 1.625rem !important;
    }

    .radaport-product-page .woocommerce-Price-amount,
    .radaport-product-page .wc-block-components-product-price__value {
        font-size: 1.5rem !important;
    }

    .radaport-product-page .woocommerce-tabs {
        padding: 1.25rem !important;
    }

    .radaport-product-page .woocommerce-tabs ul.tabs li a {
        padding: 0.75rem 0.875rem !important;
        font-size: 0.875rem !important;
    }

    .radaport-shipping-section {
        padding: 1.5rem !important;
    }

    .radaport-payment-box {
        padding: 1rem !important;
    }

    .archive.woocommerce-page h1.wp-block-query-title,
    .post-type-archive-product.woocommerce-page h1.wp-block-query-title,
    .tax-product_cat.woocommerce-page h1.wp-block-query-title,
    .tax-product_tag.woocommerce-page h1.wp-block-query-title {
        font-size: 1.5rem !important;
    }
}

/* --------------------------------------------------------------------------
   19. Utility fixes
   -------------------------------------------------------------------------- */
.wp-block-post-title a {
    color: inherit !important;
    text-decoration: none !important;
}

/* Ensure WooCommerce default stock badge doesn't conflict */
.radaport-product-page .wp-block-woocommerce-product-stock-indicator .wc-block-components-product-stock-indicator {
    background: transparent !important;
    padding: 0 !important;
    font-size: inherit !important;
    color: inherit !important;
}

/* Remove underlines from product links */
.woocommerce-page a:where(:not(.wp-element-button)) {
    text-decoration: none !important;
}

.woocommerce-page a:where(:not(.wp-element-button)):hover {
    text-decoration: none !important;
}
