/**
 * Driven Leadership - Single Product Page
 * v3.0.0 - FIGMA DESIGN SYSTEM
 * 
 * Design System from: drivenleadership.com Figma Homepage
 * Principles: Bold typography, generous spacing, orange accents, clean hierarchy
 * 
 * Brand Colors:
 * - Primary (Orange): #f5951c
 * - Secondary (Purple/Navy): #282261
 * 
 * Typography:
 * - Headings: Raleway ExtraBold (56px H1, 45px H2, 800 weight, 1.2 line-height)
 * - Body: Roboto Regular (18px, 400 weight, 1.5 line-height)
 * - Buttons: Roboto Medium (16px, 500 weight)
 */

/* ===================================
   DESIGN TOKENS (From Figma)
   =================================== */

:root {
    /* Colors */
    --dl-primary: #f89520;              /* Orange - CTAs */
    --dl-secondary: #2a2365;            /* Purple/Navy - Headings */
    --dl-primary-hover: #ffc800;        /* Orange Hover */
    --dl-secondary-hover: #2c2194;      /* Purple Hover */
    --dl-text-primary: #000000;         /* Body Text */
    --dl-text-secondary: #666666;       /* Grey/Muted */
    --dl-white: #ffffff;
    --dl-background-light: #FFFEF5;     /* Cream/Off-white */
    
    /* Typography */
    --dl-font-heading: 'Raleway', sans-serif;
    --dl-font-body: 'Roboto', sans-serif;
    
    /* Spacing (Figma values) */
    --dl-gap-section: 80px;
    --dl-gap-content: 32px;
    --dl-gap-medium: 30px;
    --dl-gap-element: 16px;
    
    /* Button Design */
    --dl-button-height: 56px;
    --dl-button-radius: 10px;
    --dl-button-padding: 24px;
    
    /* Container & Radii */
    --dl-radius-container: 20px;
    --dl-radius-badge: 20px;
}

/* ===================================
   WOOCOMMERCE OVERRIDES
   =================================== */

.woocommerce-single-product {
    width: 100% !important;
    max-width: 100% !important;
}

.woocommerce-notices-wrapper {
    margin-bottom: 0 !important;
}

/* ===================================
   HERO SECTION
   =================================== */

.driven-product-hero {
    background: linear-gradient(135deg, var(--dl-background-light) 0%, #F5F7FF 100%);
    padding: 112px 64px !important;
    margin: 0;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.driven-hero-container {
    max-width: 1312px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--dl-gap-section);
    align-items: center;
}

/* ===================================
   HERO CONTENT (LEFT)
   =================================== */

.driven-hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--dl-gap-content);
}

/* Product Meta Top (Category + Rating) */
.driven-product-meta-top {
    display: flex;
    align-items: center;
    gap: var(--dl-gap-element);
    flex-wrap: wrap;
}

.product_meta .posted_in {
    display: inline-block;
    background: rgba(40, 34, 97, 0.1);
    border: 2px solid rgba(40, 34, 97, 0.25);
    border-radius: var(--dl-radius-badge);
    padding: 4px 16px;
    font-family: var(--dl-font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--dl-secondary);
    text-decoration: none !important;
    margin: 0;
}

.product_meta .posted_in a {
    color: var(--dl-secondary) !important;
    text-decoration: none !important;
}

/* Product Title - BIG & BOLD (Figma H1) */
.driven-hero-title {
    font-family: var(--dl-font-heading) !important;
    font-size: 56px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: var(--dl-secondary) !important;
    margin: 0 !important;
    text-transform: none !important;
    letter-spacing: -0.02em;
}

/* Short Description */
.driven-hero-description {
    font-family: var(--dl-font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--dl-text-primary);
}

.driven-hero-description p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
}

/* Links in Short Description - Style like Training Template Add to Cart Button (Black Text on Orange) - HIGH SPECIFICITY */
#primary #main .driven-hero-description a {
    display: block !important;
    margin-top: var(--dl-gap-element) !important;
    margin-bottom: var(--dl-gap-element) !important;
    font-family: 'Raleway' !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
    background-color: var(--color-primary) !important;
    color: #000000 !important;
    border: none !important;
    border-radius: var(--radius-lg) !important;
    text-align: center !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    width: auto;
    max-width: fit-content;
    clear: both;
}

/* Force links to be on their own line with top spacing */
.driven-hero-description p:has(a) {
    margin-top: var(--dl-gap-element) !important;
}

#primary #main .driven-hero-description a:hover {
    background-color: #e68a19 !important;
    color: #000000 !important;
    text-decoration: none !important;
}

/* Price - LARGE & PROMINENT (Figma style) */
.driven-hero-price {
    margin: var(--dl-gap-element) 0;
}

.driven-hero-price .price {
    font-family: var(--dl-font-heading) !important;
    font-size: 48px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: var(--dl-primary) !important;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.driven-hero-price .price del {
    font-size: 32px;
    color: var(--dl-text-secondary);
    opacity: 0.6;
}

.driven-hero-price .price ins {
    text-decoration: none;
}

/* CTA Section */
.driven-hero-cta {
    margin-top: var(--dl-gap-element);
}

/* Add to Cart Button - Figma Style */
.driven-hero-cta .single_add_to_cart_button,
.driven-hero-cta .button.alt {
    font-family: var(--dl-font-body) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    height: var(--dl-button-height) !important;
    min-height: var(--dl-button-height) !important;
    padding: 0 var(--dl-button-padding) !important;
    background: var(--dl-primary) !important;
    color: #000000 !important;
    border: none !important;
    border-radius: var(--dl-button-radius) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 12px rgba(245, 149, 28, 0.3);
    position: relative;
}

/* Enhanced focus state for accessibility */
.driven-hero-cta .single_add_to_cart_button:focus-visible,
.driven-hero-cta .button.alt:focus-visible {
    outline: 3px solid var(--dl-secondary) !important;
    outline-offset: 3px !important;
    box-shadow: 0 4px 12px rgba(245, 149, 28, 0.3), 0 0 0 6px rgba(40, 34, 97, 0.2) !important;
}

/* Active state for better feedback */
.driven-hero-cta .single_add_to_cart_button:active,
.driven-hero-cta .button.alt:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(245, 149, 28, 0.3);
    transition: all 0.1s ease;
}

.driven-hero-cta .single_add_to_cart_button:hover,
.driven-hero-cta .button.alt:hover {
    background: var(--dl-primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 149, 28, 0.4);
}

/* Quantity Input */
.driven-hero-cta .quantity {
    margin-right: 12px;
}

.driven-hero-cta .quantity input.qty {
    height: var(--dl-button-height) !important;
    width: 60px;
    min-width: 60px;
    border: 2px solid var(--dl-secondary) !important;
    border-radius: var(--dl-button-radius);
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.driven-hero-cta .quantity input.qty:focus {
    outline: none;
    border-color: var(--dl-primary) !important;
    box-shadow: 0 0 0 3px rgba(248, 149, 32, 0.1);
}

/* ===================================
   HERO GALLERY (RIGHT)
   =================================== */

.driven-hero-gallery {
    position: relative;
    width: 100%;
}

.driven-hero-gallery .woocommerce-product-gallery {
    margin: 0 !important;
    border-radius: var(--dl-radius-container);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(40, 34, 97, 0.15);
    width: 100% !important;
    max-width: 100% !important;
}

.driven-hero-gallery .woocommerce-product-gallery__wrapper {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.driven-hero-gallery .woocommerce-product-gallery__image {
    width: 100% !important;
    max-width: 100% !important;
}

.driven-hero-gallery .woocommerce-product-gallery__image img {
    border-radius: var(--dl-radius-container);
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover;
    transition: none !important;
    transform: none !important;
}

/* Disable zoom on hover */
.driven-hero-gallery .woocommerce-product-gallery__image:hover img {
    transform: none !important;
    transition: none !important;
}

/* Hide lightbox trigger icon */
.driven-hero-gallery .woocommerce-product-gallery__trigger,
.woocommerce-product-gallery__trigger {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ===================================
   NO IMAGE - CENTERED LAYOUT
   =================================== */

.driven-hero-container:has(.driven-hero-gallery:empty),
.driven-hero-container:not(:has(.driven-hero-gallery img)),
.driven-hero-container:has(.driven-hero-gallery .woocommerce-product-gallery__wrapper:empty) {
    grid-template-columns: 1fr !important;
    max-width: 914px !important;
    margin: 0 auto !important;
    text-align: center !important;
    justify-items: center !important;
}

.driven-hero-container:has(.driven-hero-gallery:empty) .driven-hero-content,
.driven-hero-container:not(:has(.driven-hero-gallery img)) .driven-hero-content,
.driven-hero-container:has(.driven-hero-gallery .woocommerce-product-gallery__wrapper:empty) .driven-hero-content {
    text-align: center !important;
    align-items: center !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.driven-hero-container:has(.driven-hero-gallery:empty) .driven-hero-content *,
.driven-hero-container:not(:has(.driven-hero-gallery img)) .driven-hero-content *,
.driven-hero-container:has(.driven-hero-gallery .woocommerce-product-gallery__wrapper:empty) .driven-hero-content * {
    text-align: center !important;
}

.driven-hero-container:has(.driven-hero-gallery:empty) .driven-product-meta-top,
.driven-hero-container:not(:has(.driven-hero-gallery img)) .driven-product-meta-top,
.driven-hero-container:has(.driven-hero-gallery .woocommerce-product-gallery__wrapper:empty) .driven-product-meta-top {
    justify-content: center !important;
    margin: 0 auto !important;
}

.driven-hero-container:has(.driven-hero-gallery:empty) .driven-trust-row,
.driven-hero-container:not(:has(.driven-hero-gallery img)) .driven-trust-row,
.driven-hero-container:has(.driven-hero-gallery .woocommerce-product-gallery__wrapper:empty) .driven-trust-row {
    justify-content: center !important;
    margin: 0 auto !important;
}

.driven-hero-container:has(.driven-hero-gallery:empty) .driven-hero-cta,
.driven-hero-container:not(:has(.driven-hero-gallery img)) .driven-hero-cta,
.driven-hero-container:has(.driven-hero-gallery .woocommerce-product-gallery__wrapper:empty) .driven-hero-cta {
    display: flex !important;
    justify-content: center !important;
    margin: 0 auto !important;
}

/* Center buttons/links inside description when content is centered */
.driven-hero-container:has(.driven-hero-gallery:empty) .driven-hero-description a,
.driven-hero-container:not(:has(.driven-hero-gallery img)) .driven-hero-description a,
.driven-hero-container:has(.driven-hero-gallery .woocommerce-product-gallery__wrapper:empty) .driven-hero-description a {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}

/* ===================================
   PRODUCT DETAILS SECTION
   =================================== */

body .driven-product-hero + .driven-product-details,
body.single-product .driven-product-details,
.woocommerce-page .driven-product-details,
div.driven-product-details {
    max-width: 1312px !important;
    margin: 0 auto !important;
    padding: var(--dl-gap-section) 64px !important;
}

.driven-tabs-wrapper {
    width: 100%;
}

/* Tab Navigation - Style like "Product Details" heading */
.woocommerce-tabs .tabs {
    display: flex;
    gap: 40px;
    border-bottom: 3px solid #e8e8e8;
    padding: 0;
    margin: 0 0 var(--dl-gap-content) 0;
    list-style: none;
}

.woocommerce-tabs .tabs li {
    margin: 0;
    padding: 0;
}

.woocommerce-tabs .tabs li a {
    display: block;
    padding: 0 0 16px 0;
    font-family: var(--dl-font-heading) !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: var(--dl-text-secondary) !important;
    text-decoration: none !important;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    transition: all 0.3s ease;
}

.woocommerce-tabs .tabs li.active a,
.woocommerce-tabs .tabs li a:hover {
    color: var(--dl-secondary) !important;
    border-bottom-color: var(--dl-primary) !important;
}

/* Remove content from tabs - HIGH SPECIFICITY */
#primary #main .driven-product-hero .woocommerce-tabs ul.tabs.wc-tabs::before,
#primary #main .driven-product-hero .woocommerce-tabs ul.tabs.wc-tabs li::before {
    content: none;
}

/* Tab list item margin and border adjustments */
.woocommerce-js div.product .woocommerce-tabs ul.tabs li {
    margin-bottom: 0 !important;
}

.woocommerce-tabs .tabs li a {
    border-bottom: 7px solid transparent;
}

/* ===================================
   TAB CONTENT - WYSIWYG STYLING
   =================================== */

/* Tab panels */
.woocommerce-tabs .woocommerce-Tabs-panel {
    padding: var(--dl-gap-content) 0;
}

/* Remove decorative lines above/below Description heading - HIGH SPECIFICITY WITH ID */
body.single-product #tab-description h2::before,
body.single-product #tab-description h2::after,
body.single-product #tab-description h1::before,
body.single-product #tab-description h1::after,
body.single-product #tab-description h3::before,
body.single-product #tab-description h3::after,
body.woocommerce-page #tab-description h2::before,
body.woocommerce-page #tab-description h2::after,
body.woocommerce-page #tab-description h1::before,
body.woocommerce-page #tab-description h1::after,
body.woocommerce-page #tab-description h3::before,
body.woocommerce-page #tab-description h3::after,
.woocommerce-tabs #tab-description h2::before,
.woocommerce-tabs #tab-description h2::after,
.woocommerce-tabs #tab-description h1::before,
.woocommerce-tabs #tab-description h1::after,
.woocommerce-tabs #tab-description h3::before,
.woocommerce-tabs #tab-description h3::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}

/* Remove any border/line styling from Description heading - HIGH SPECIFICITY WITH ID */
body.single-product #tab-description > h2:first-child,
body.single-product #tab-description > h1:first-child,
body.single-product #tab-description > h3:first-child,
body.woocommerce-page #tab-description > h2:first-child,
body.woocommerce-page #tab-description > h1:first-child,
body.woocommerce-page #tab-description > h3:first-child,
.woocommerce-tabs #tab-description > h2:first-child,
.woocommerce-tabs #tab-description > h1:first-child,
.woocommerce-tabs #tab-description > h3:first-child {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

/* Remove any background or box-shadow that might create line effect - HIGH SPECIFICITY WITH ID */
body.single-product #tab-description > h2:first-child,
body.single-product #tab-description > h1:first-child,
body.woocommerce-page #tab-description > h2:first-child,
body.woocommerce-page #tab-description > h1:first-child,
.woocommerce-tabs #tab-description > h2:first-child,
.woocommerce-tabs #tab-description > h1:first-child {
    background: none !important;
    box-shadow: none !important;
}

/* Headings in WYSIWYG content */
.woocommerce-tabs h1,
.driven-hero-description h1 {
    font-family: var(--dl-font-heading) !important;
    font-size: 45px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: var(--dl-secondary) !important;
    margin: 0 0 24px 0 !important;
}

.woocommerce-tabs h2,
.driven-hero-description h2,
body.single-product #tab-description h2,
body.woocommerce-page #tab-description h2 {
    font-family: var(--dl-font-heading) !important;
    font-size: 36px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: var(--dl-secondary) !important;
    margin: 32px 0 20px 0 !important;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
}

/* Specifically target Description heading in tab panel - HIGH SPECIFICITY WITH ID */
body.single-product #tab-description h2,
body.single-product #tab-description h2::before,
body.single-product #tab-description h2::after,
body.woocommerce-page #tab-description h2,
body.woocommerce-page #tab-description h2::before,
body.woocommerce-page #tab-description h2::after,
.woocommerce-tabs #tab-description h2,
.woocommerce-tabs #tab-description h2::before,
.woocommerce-tabs #tab-description h2::after {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
}

.woocommerce-tabs h3,
.driven-hero-description h3 {
    font-family: var(--dl-font-heading) !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: var(--dl-secondary) !important;
    margin: 28px 0 16px 0 !important;
}

.woocommerce-tabs h4,
.driven-hero-description h4 {
    font-family: var(--dl-font-body) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: var(--dl-secondary) !important;
    margin: 24px 0 12px 0 !important;
}

.woocommerce-tabs h5,
.driven-hero-description h5 {
    font-family: var(--dl-font-body) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: var(--dl-secondary) !important;
    margin: 20px 0 10px 0 !important;
}

.woocommerce-tabs h6,
.driven-hero-description h6 {
    font-family: var(--dl-font-body) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: var(--dl-secondary) !important;
    margin: 16px 0 8px 0 !important;
}

/* Paragraphs */
.woocommerce-tabs p,
.driven-hero-description p {
    font-family: var(--dl-font-body) !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    color: var(--dl-text-primary) !important;
    margin: 0 0 20px 0 !important;
}

/* Lists */
.woocommerce-tabs ul,
.woocommerce-tabs ol,
.driven-hero-description ul,
.driven-hero-description ol {
    font-family: var(--dl-font-body) !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
    color: var(--dl-text-primary) !important;
    margin: 0 0 24px 0 !important;
    padding-left: 32px !important;
}

.woocommerce-tabs ul li,
.woocommerce-tabs ol li,
.driven-hero-description ul li,
.driven-hero-description ol li {
    margin-bottom: 12px !important;
}

.woocommerce-tabs ul {
    list-style-type: disc !important;
}

.woocommerce-tabs ol {
    list-style-type: decimal !important;
}

/* Links */
.woocommerce-tabs a,
.driven-hero-description a {
    color: var(--dl-primary) !important;
    text-decoration: underline !important;
    font-weight: 500 !important;
    transition: all 0.3s ease;
}

.woocommerce-tabs a:hover,
.driven-hero-description a:hover {
    color: var(--dl-primary-hover) !important;
    text-decoration: none !important;
}

/* Strong/Bold text */
.woocommerce-tabs strong,
.woocommerce-tabs b,
.driven-hero-description strong,
.driven-hero-description b {
    font-weight: 700 !important;
    color: var(--dl-secondary) !important;
}

/* Italic text */
.woocommerce-tabs em,
.woocommerce-tabs i,
.driven-hero-description em,
.driven-hero-description i {
    font-style: italic !important;
}

/* Blockquotes */
.woocommerce-tabs blockquote,
.driven-hero-description blockquote {
    border-left: 4px solid var(--dl-primary) !important;
    padding: 20px 24px !important;
    margin: 24px 0 !important;
    background: rgba(245, 149, 28, 0.05) !important;
    border-radius: 0 8px 8px 0 !important;
    font-style: italic !important;
}

.woocommerce-tabs blockquote p,
.driven-hero-description blockquote p {
    margin-bottom: 0 !important;
}

/* Code blocks */
.woocommerce-tabs code,
.woocommerce-tabs pre,
.driven-hero-description code,
.driven-hero-description pre {
    background: #f5f5f5 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    padding: 2px 6px !important;
    font-family: 'Courier New', monospace !important;
    font-size: 16px !important;
}

.woocommerce-tabs pre,
.driven-hero-description pre {
    padding: 16px !important;
    overflow-x: auto !important;
    margin: 20px 0 !important;
}

/* Buttons in content */
.woocommerce-tabs .button,
.woocommerce-tabs button,
.driven-hero-description .button,
.driven-hero-description button {
    font-family: var(--dl-font-body) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    height: var(--dl-button-height) !important;
    min-height: var(--dl-button-height) !important;
    padding: 0 var(--dl-button-padding) !important;
    background: var(--dl-primary) !important;
    color: #000000 !important;
    border: none !important;
    border-radius: var(--dl-button-radius) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    margin: 8px 8px 8px 0 !important;
}

.woocommerce-tabs .button:hover,
.woocommerce-tabs button:hover,
.driven-hero-description .button:hover,
.driven-hero-description button:hover {
    background: var(--dl-primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 149, 28, 0.4) !important;
}

/* Tables */
.woocommerce-tabs table,
.driven-hero-description table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 24px 0 !important;
    font-family: var(--dl-font-body) !important;
    font-size: 16px !important;
}

.woocommerce-tabs table th,
.driven-hero-description table th {
    background: var(--dl-secondary) !important;
    color: white !important;
    padding: 12px 16px !important;
    text-align: left !important;
    font-weight: 700 !important;
}

.woocommerce-tabs table td,
.driven-hero-description table td {
    padding: 12px 16px !important;
    border-bottom: 1px solid #e8e8e8 !important;
}

.woocommerce-tabs table tr:hover,
.driven-hero-description table tr:hover {
    background: rgba(245, 149, 28, 0.05) !important;
}

/* Images in content */
.woocommerce-tabs img,
.driven-hero-description img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    margin: 20px 0 !important;
}

/* Horizontal rules */
.woocommerce-tabs hr,
.driven-hero-description hr {
    border: none !important;
    border-top: 2px solid #e8e8e8 !important;
    margin: 32px 0 !important;
}

/* ===================================
   RELATED PRODUCTS (Hidden - using custom section)
   =================================== */

/* Hide default WooCommerce related products section */
.related.products {
    display: none !important;
}

/* ===================================
   CUSTOM RELATED PRODUCTS SECTION (from training template)
   =================================== */

.training-related-products {
    background: transparent;
    padding: 80px 20px;
    margin-top: 0;
}

.related-products-container {
    max-width: 1400px;
    margin: 0 auto;
}

.training-related-products h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 12px;
    color: var(--dl-secondary);
    font-family: var(--dl-font-heading);
    font-weight: 800;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--dl-text-secondary);
    margin-bottom: 48px;
    font-family: var(--dl-font-body);
    font-weight: 400;
    line-height: 1.5;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet */
@media (max-width: 1024px) {
    .driven-product-hero {
        padding: 80px 32px !important;
    }
    
    .driven-hero-container {
        grid-template-columns: 1fr;
        gap: var(--dl-gap-content);
    }
    
    .driven-hero-title {
        font-size: 42px !important;
    }
    
    .driven-hero-price .price {
        font-size: 36px !important;
    }
    
    .driven-product-details {
        grid-template-columns: 1fr !important;
        padding: var(--dl-gap-content) 32px !important;
    }
    
    .driven-details-sidebar {
        position: static;
        top: auto;
    }
    
    .training-related-products {
        padding: 60px 20px;
    }
    
    .training-related-products h2 {
        font-size: 32px !important;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .driven-product-hero {
        padding: 60px 20px !important;
    }
    
    .driven-hero-container {
        gap: var(--dl-gap-element);
    }
    
    .driven-hero-title {
        font-size: 32px !important;
    }
    
    .driven-hero-description {
        font-size: 16px;
    }
    
    .driven-hero-price .price {
        font-size: 28px !important;
    }
    
    .driven-hero-cta .single_add_to_cart_button,
    .driven-hero-cta .button.alt {
        width: 100%;
        justify-content: center;
    }
    
    .driven-trust-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .driven-product-details {
        padding: var(--dl-gap-element) 20px !important;
    }
    
    .training-related-products {
        padding: 40px 20px;
    }
    
    .training-related-products h2 {
        font-size: 28px !important;
    }
    
    .section-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }
}

/* ===================================
   UTILITY OVERRIDES
   =================================== */

/* Ensure Raleway & Roboto are properly loaded */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@800&family=Roboto:wght@400;500;700&display=swap');
