/* =====================================================
   JD3 QUOTE ENGINE CSS
   Sign Configuration Page - Based on Screenshot Design
   ===================================================== */

/* =====================================================
   CSS VARIABLES & ROOT STYLES
   ===================================================== */
:root {
    /* Colors */
    --font-gotham: gotham, sans-serif;
    --jd3-accent: #5E3099;
    --jd3-accent-dark: #5e0182;
    --jd3-blue: #007bff;
    --jd3-purple: #5E3099;
    --jd3-magenta: #FE0198;
    --lumineon-colour: #FE0198;
    --dark-gray: #2a2a2a;
    --primary-blue: #3b82f6;
    --primary-green: #10b981;
    --primary-yellow: #f59e0b;
    --primary-red: #dc2626;
    --primary-blue-bg: #dbeaff;
    --primary-green-bg: #dcfce7;
    --primary-yellow-bg: #fef3c7;
    --primary-red-bg: #fee2e2;
    --primary-yellow-text: #d97705;
    --primary-blue-text: #3b82f6;
    --primary-green-text: #10b981;
    --primary-red-text: #dc2626;
    --primary-purple: #7b00d3;
    --primary-purple-bg: #f3e8ff;
    --primary-purple-text: #8b5cf6;
    --primary-cyan: #06b6d4;
    /* Vibrant Cyan (Teal) */
    --primary-cyan-bg: #e0f7fa;
    /* Soft Cyan Background */
    --primary-cyan-text: #0891b2;
}

a,
a:visited {
    color: #FE0198;
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    color: #E0068B;
    text-decoration: underline;
}

/* =====================================================
   GLOBAL RESET & BASE STYLES - MODIFIED
   ===================================================== */
/* 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*/

/* More specific reset that won't interfere with input behavior */
div,
section,
header,
footer,
nav,
article,
aside,
main,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
ul,
ol,
li,
dl,
dt,
dd,
figure,
figcaption {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-gotham);
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */
.hidden {
    display: none !important;
}

/* =====================================================
   HERO SECTION & NEON EFFECTS
   ===================================================== */
.hero-section {
    background: black;
    /* min-height: 100vh;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 60px 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}



.quote-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}

.quote-info p {
    font-size: 1.2rem;
    color: #ccc;
}


/* =====================================================
   PREVIEW SECTION
   ===================================================== */
.preview-section {
    background: #fff;
    color: #333;
    padding: 0 0 40px 0;
    text-align: center;
}

.sign-preview {
    margin-bottom: 40px;
}

.preview-text {
    font-size: 3rem;
    font-weight: 900;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 3px solid #333;
    border-radius: 15px;
    padding: 0;
    display: inline-block;
    background: #fff;
}

.sign-dimensions {
    max-width: 600px;
    margin: 0 auto;
}

.quote-information {
    max-width: 800px;
    margin: 0 auto;
}

.quote-information p {
    margin-bottom: 20px;
}

.sign-dimensions h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.sign-dimensions p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #666;
}

.disclaimer {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}







/* =====================================================
   POWER SUPPLY SELECTION COMPONENTS
   ===================================================== */












/* Responsive adjustments */
@media (max-width: 768px) {
    .brand-logos {
        height: 120px;
        /* Increased from 60px */
    }

    .brand-logo-wrapper {
        height: 80px;
        /* Increased from 40px */
        margin-right: 30px;
    }

    .brand-logo {
        height: 80px;
        /* Increased from 40px */
        max-width: 300px;
        /* Increased from 150px */
    }
}



/* Footer */
.footer {
    background: #000;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.jd3-footer-logo {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #ff00ff;
}


.jd3-footer-logo img {
    margin: 0 auto;
    height: 50px;
}

.footer p {
    font-size: 6pt;
    color: #ccc;
    max-width: 500px;
    margin: 0 auto;
}

/* =====================================================
   FORM CONTROLS & INTERACTIVE ELEMENTS
   ===================================================== */

/* Quantity Dropdown Styling */
.qty-dropdown {
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 6px;
    color: #fff;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
    text-align: center;
}

.qty-dropdown:hover {
    border-color: var(--jd3-purple);
    background: #333;
}

.qty-dropdown:focus {
    outline: none;
    border-color: var(--jd3-purple);
    box-shadow: 0 0 5px rgba(255, 0, 255, 0.3);
}

.qty-dropdown option {
    background: #2a2a2a;
    color: #fff;
    padding: 5px;
}

/* =====================================================
   UTILITY CLASSES & ALIGNMENT
   ===================================================== */



/* Fitting Option Line Items */
.fitting-option-item {
    background: rgba(255, 0, 255, 0.05);
    border-left: 3px solid var(--jd3-purple);
    margin-left: 10px;
}


/* =====================================================
   COMPREHENSIVE RESPONSIVE STYLES
   ===================================================== */

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 20px;
    }

    .neon-text {
        font-size: 2.5rem;
        padding: 15px 25px;
    }

    .jd3-logo {
        font-size: 2rem;
    }

    .quote-info h2 {
        font-size: 1.5rem;
    }

    .lumineon-specs {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
    }

    /* Reset grid positions for mobile - stack all boxes */
    .lumineon-specs .spec-box:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .lumineon-specs .spec-box:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

    .lumineon-specs .spec-box:nth-child(3) {
        grid-column: 1;
        grid-row: 3;
    }

    .lumineon-specs .spec-box:nth-child(4) {
        grid-column: 1;
        grid-row: 4;
    }

    .price-summary {
        grid-column: span 1;
    }

    .horizontal-scroll {
        gap: 20px;
    }

    .sign-card {
        min-width: 300px;
    }

    .ui-selector {
        flex-direction: column;
        align-items: center;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0;
    }

    .sign-wrapper {
        padding: 10px !important;
        gap: 10px !important;
    }

    .spec-box {
        padding: 15px !important;
    }

    .neon-text {
        font-size: 2rem;
        padding: 10px 20px;
    }

    .sign-card {
        min-width: 280px;
        padding: 20px;
    }

    .carousel-slide {
        padding: 20px;
    }

    /* Mobile styles for the new header layout */
    .spec-header-row-1 {
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
    }

    .spec-thumbnail {
        width: 50%;
        height: 80px;
        flex-shrink: 0;
    }

    .spec-qty-price {
        width: 50%;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .spec-header-row-2 {
        justify-content: flex-start;
    }

    .total-price-pill {
        align-self: stretch;
        justify-content: center;
        min-width: 0;
    }

    .qty-control {
        align-self: stretch;
        flex-shrink: 0;
    }

    /* Show mobile title section */
    .spec-mobile-title {
        display: block;
    }

    .spec-mobile-title h4 {
        margin-bottom: 8px;
        padding-bottom: 8px;
        font-size: 1.1rem;
    }

    .change-power-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}



/* =====================================================
   PARALLAX EFFECTS
   ===================================================== */

/* Parallax Hero Section with Summary class */
.hero-section.summary {
    position: relative;
    overflow: hidden;
    min-height: 83vh;
    display: flex;
    align-items: center;
}

/* Background layer with parallax image and filters */
.hero-section.summary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Enhanced parallax background implementation */
    background-image: var(--parallax-bg-image, url('https://cdn.jd3.uk/backgrounds/fallback-hero.jpg'));
    background-attachment: fixed;
    background-position: var(--parallax-bg-position, center center);
    background-repeat: no-repeat;
    background-size: cover;
    /* Apply filters and mask only to background */
    filter: grayscale(1) brightness(0.6) contrast(1.2);
    mask: linear-gradient(to bottom,
            transparent 0px,
            rgba(0, 0, 0, 1) 30px,
            rgba(0, 0, 0, 1) calc(100% - 30px),
            transparent 100%);
    -webkit-mask: linear-gradient(to bottom,
            transparent 0px,
            rgba(0, 0, 0, 1) 30px,
            rgba(0, 0, 0, 1) calc(100% - 30px),
            transparent 100%);
    z-index: 0;
}

/* Overlay gradient layer */
.hero-section.summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}


.hero-content.summary {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.quote-info {
    text-align: left;
}

.quote-info h1 {
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 25px 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    position: relative;
    /* Replace text-shadow with purple gradient */
    background: linear-gradient(135deg, #5E3099 0%, #8B5FBF 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Add drop shadow */
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4)) drop-shadow(0 16px 32px rgba(0, 0, 0, 0.2));
}

.quote-info h3 {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4)) drop-shadow(0 16px 32px rgba(0, 0, 0, 0.2));

}

.production-time {
    font-weight: 800;
    color: var(--primary-purple-text);
}

.quote-info h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ffffff 0%, #8B5FBF 50%, #5E3099 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(94, 48, 153, 0.5);
}

.quote-info p {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 400;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1.2rem;
    /* Replace text-shadow with purple gradient */
    background: linear-gradient(135deg, #5E3099 0%, #8B5FBF 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Replace stroke with external shadow outline */

}

.quote-information {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 50px 45px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.quote-information::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #5E3099 50%, transparent 100%);
    opacity: 0.7;
}

.quote-information h3 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 30px 0;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.01em;
    /* Replace text-shadow with purple gradient */
    background: linear-gradient(135deg, #8B5FBF 0%, #ffffff 50%, #5E3099 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Replace stroke with external shadow outline */

}

.quote-information p {
    font-size: 1.15rem;
    color: #f5f5f5;
    line-height: 1.8;
    margin: 0 0 25px 0;
    font-weight: 400;
    /* Subtle purple tint for body text */
    color: #e8e0f0;
}

.quote-information p:last-child {
    margin-bottom: 0;
    font-weight: 500;
    text-align: center;
    font-size: 1.25rem;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* Purple gradient for final paragraph */
    background: linear-gradient(135deg, #5E3099 0%, #8B5FBF 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quote-information strong {
    font-weight: 700;
    /* Purple gradient for emphasized text */
    background: linear-gradient(135deg, #5E3099 0%, #8B5FBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced glow effects for interactive elements */
.quote-information .hydrate {
    transition: all 0.3s ease;
}

.quote-information .hydrate:hover strong {
    background: linear-gradient(135deg, #8B5FBF 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: brightness(1.2);
}

/* =====================================================
   TRUST SECTION & BRAND LOGOS
   ===================================================== */

/* Trust Section */
.trust-section {
    background: #f8f9fa;
    color: #333;
    padding: 40px 0 20px 0;
    text-align: center;
}

/* Allow full-bleed brand slider inside trust section */
.trust-section>.container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.trust-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.trust-section p {
    font-size: 1.1rem;
    color: #666;
    max-width: 750px;
    margin: 0 auto 10px;
    padding: 0 10px;
}

/* Brand Logos */
.brand-logos {
    overflow: hidden;
    position: relative;
    width: 100vw;
    /* Full viewport width */
    height: 160px;
    /* Increased height for taller logos */
    margin-left: calc(-50vw + 50%);
    /* Center full-width element within container */
    background: linear-gradient(90deg, #f8f9fa 0%, transparent 5%, transparent 95%, #f8f9fa 100%);
}

/* Brand Carousel Styles */
.brand-carousel {
    position: relative;
    height: 100%;
    display: flex;
    width: calc(var(--track-width) * 2);
}

.brand-track {
    display: flex;
    align-items: center;
    height: 100%;
    flex-shrink: 0;
    width: var(--track-width);
}

.brand-carousel.animated .brand-track {
    animation: scrollBrands var(--animation-duration) linear infinite;
}

.brand-logo-wrapper {
    flex-shrink: 0;
    height: 120px;
    /* Doubled from 60px */
    margin-right: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    height: 70px;
    /* Doubled from 60px */
    width: auto;
    max-width: 400px;
    /* Increased from 200px for larger logos */
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(50%);
    object-fit: contain;
}

.brand-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Smooth scrolling animation */
@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-1 * var(--track-width)));
    }
}



/* =====================================================
   CTA SECTION & FOOTER
   ===================================================== */

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #000000 0%, #1a0f26 50%, #5E3099 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
    padding: 0px 10px;
}

p.terms-and-conditions {
    max-width: 210px;
    font-size: 7.5pt;
    text-align: center;
    line-height: 1.2;
    padding-top: 10px;
    margin-bottom: 0;
}

.cta-btn {
    background: white;
    border: 2px solid var(--jd3-accent);
    color: var(--jd3-accent);
    border: none;
    padding: 20px 40px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    font-size: 26px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    padding: 40px 10px 10px 10px;
    text-align: center;
}

.footer p {
    font-size: 8pt;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 15px;
}

.footer p.smaller-footer {
    font-size: 8pt;
    color: #ccc;
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 15px;
}

/* =====================================================
   MOBILE & RESPONSIVE STYLES
   ===================================================== */

/* Mobile title section - hidden on desktop */
.spec-mobile-title {
    display: none;
    margin-bottom: 15px;
}

.spec-mobile-title h4 {
    margin-bottom: 8px;
    border-bottom: 2px solid var(--jd3-purple);
    padding-bottom: 8px;
    font-size: 1.1rem;
}

.spec-mobile-title .change-power-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
}

/* LEDentity Section */
.ledentity-section {
    background: #111;
    color: #fff;
    padding: 80px 0;
}

/* LEDentity section styles are now handled by the shared .section-intro styles above */


/* Fallback for mobile devices where background-attachment: fixed doesn't work well */
@media (max-width: 768px) {
    .hide-on-mobile {
        display: none;
    }

    .disclaimer {
        padding: 0 10px;
    }

    .hero-section {
        padding: 20px 0;
    }

    .hero-section.summary::before {
        background-attachment: scroll;
        transform: translate3d(0, 0, 0);
        /* Alternative for mobile */
    }

    /* Ensure summary hero uses single-column layout on mobile */
    .hero-content.summary {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 40px 20px;
    }

    .hero-section.summary {
        min-height: auto;
    }

    .hero-section.summary::after {
        background-attachment: scroll;
        /* avoid iOS fixed background quirks */
    }

    .quote-info h1 {
        font-size: 2.2rem;
    }

    /* Center the quote info block on mobile only */
    .quote-info {
        text-align: center;
    }

    /* Center the decorative underline under the H1 on mobile */
    .quote-info h1::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .quote-information {
        padding: 24px;
    }

    /* Trust section brand logos responsive */
    .brand-logos {
        height: 120px;
        /* Increased from 60px */
    }

    .brand-logo-wrapper {
        height: 80px;
        /* Increased from 40px */
        margin-right: 30px;
    }

    .sign-preview {
        margin-bottom: 0;
    }

    .brand-logo {
        height: 80px;
        /* Increased from 40px */
        max-width: 300px;
        /* Increased from 150px */
    }
}

/* Remove from quote link styling */
.remove-from-quote-link {
    color: #dc3545;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.remove-from-quote-link:hover {
    color: #c82333;
    text-decoration: underline;
}

.price-pill-row:has(.remove-from-quote-link) {
    justify-content: center;
    margin-top: 0.25rem;
}

/* Removal overlay styling - similar to power supply overlays */
.sign-wrapper {
    position: relative;
}

.removal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    pointer-events: all;
    border-radius: 8px;
    backdrop-filter: blur(2px);
    border: 1px solid var(--primary-purple-text);
}

.removal-overlay-content {
    text-align: center;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
}

.removal-message h4 {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0 0 0.75rem 0;
    font-weight: 600;
    white-space: nowrap;
}

.removal-message p {
    color: #cccccc;
    font-size: 1rem;
    margin: 0 0 2rem 0;
    line-height: 1.4;
    white-space: nowrap;
}

.undo-removal-btn {
    background: #5E3099;
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 4px rgba(94, 48, 153, 0.2);
}

.undo-removal-btn:hover {
    background: #4a2478;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(94, 48, 153, 0.3);
}

.undo-removal-btn:active {
    transform: translateY(0);
}

.undo-icon {
    font-size: 1.3em;
    font-weight: bold;
}

/* Ensure overlay content is always clickable */
.removal-overlay * {
    pointer-events: all;
}

/* Ensure quantity dropdown shows even when removed */
.quote-item-removed .qty-dropdown {
    opacity: 1;
}

/* Quote Validation Errors */
.quote-validation-errors {
    margin: 20px 0;
    z-index: 1000;
}

.validation-error-box {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    color: #721c24;
    padding: 20px;
}

.validation-error-header h4 {
    margin: 0 0 10px 0;
    color: #721c24;
}

.validation-error-header p {
    margin: 0 0 15px 0;
    opacity: 0.9;
}

.validation-error-list {
    max-height: 200px;
    overflow-y: auto;
}

.validation-error-item {
    padding: 8px 0;
    border-bottom: 1px solid #f5c6cb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.validation-error-item:last-child {
    border-bottom: none;
}

.error-link {
    color: #0056b3;
    text-decoration: none;
    font-size: 0.9rem;
}

.error-link:hover {
    text-decoration: underline;
}

/* =====================================================
   DISCOUNT PRICE DISPLAY
   ===================================================== */

.price-with-discount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.original-price {
    color: #ffffff;
    text-decoration: line-through;
    font-size: 0.9em;
    opacity: 0.8;
    font-weight: 700;
    font-size: 1em;
}

.discounted-price {
    color: #dc2626;
    font-weight: 700;
    font-size: 1em;
}

/* Ensure proper alignment in different contexts */
.spec-box .price-with-discount {
    align-items: flex-end;
}

.price-pill .price-with-discount {
    align-items: center;
}

.total-price-pill .price-with-discount {
    align-items: center;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .price-with-discount {
        gap: 1px;
    }

    .original-price {
        font-size: 0.85em;
    }

    .discounted-price {
        font-size: 0.95em;
    }
}