/* =====================================================
   PRODUCT SECTIONS - LAYOUT
   ===================================================== */

.sign-section {
    background: #000;
    color: #fff;
    padding: 50px 0 0 0;
}

/* Alternating backgrounds for sign sections 
.sign-section:nth-child(even) {
    background: #111;
    /* Slightly lighter for even sections 
}

.sign-section:nth-child(odd) {
    background: #000;
    /* Default dark for odd sections */
}

/* Alternative: More dramatic alternating backgrounds */
/*
.sign-section:nth-child(even) {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.sign-section:nth-child(odd) {
    background: linear-gradient(135deg, #000000 0%, #1a0f26 100%);
}
*/

.section-intro {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 10px;
}

.section-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-logo img {
    height: 40px;
    max-width: 90%;
    object-fit: contain;
}

.section-logo.ledentity img {
    height: 50px;
    margin-bottom: 10px;
}

.ledentity .section-description,
.magicmirror .section-description {
    max-width: 650px;
}

.section-logo.ledentity_x img {
    height: 65px;
    margin-bottom: 2px;
}

.section-logo.ledentity_external img {
    height: 55px;
    margin-bottom: 2px;
}

.section-logo.lumineon img {
    height: 40px;
    margin-bottom: 15px;
}

.section-logo.lumineon_external img,
.section-logo.lumineon_trade img {
    height: 65px;
    margin-bottom: 15px;
}

.section-logo.three_d_letters img {
    height: 85px;
    margin-bottom: 15px;

}

.section-logo.sustaineon img {
    height: 46px;
    margin-bottom: 15px;
}

.section-logo.magicmirror img {
    height: 70px;
    margin-bottom: 15px;
}

.section-logo.magicmirror_luxe img {
    height: 85px;
    margin-bottom: 15px;
}

.section-logo.glo img {
    height: 65px;
    margin-bottom: 2px;
}

.section-logo.sign_makers img {
    height: 60px;
    margin-bottom: 15px;

}




.section-description {
    flex: 1;
    margin: 0 auto;
    max-width: 800px;
    padding: 0px 10px;
    margin-bottom: 10px;
    /* Slight offset to align with title baseline */
}

.section-description h3,
.section-description h4 {
    text-align: center;
    /* Slight offset to align with title baseline */
}





.section-description p {
    font-size: 11pt;
    line-height: 1.4;
    color: #ccc;
    margin: 0;
    text-align: center
}

p.footnote {
    padding-top: 15px;
    max-width: 500px;
    font-size: 11px;
    margin: 0 auto;
}

/* =====================================================
   SIGN WRAPPER & CONTAINER LAYOUT
   ===================================================== */

/* Sign Wrapper - Contains spec and power supply boxes */
.sign-wrapper {
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #000000 30%, #1a0f26 60%, #5E3099 100%);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 20px;
}


/* =====================================================
   PRODUCT SPECIFICATION COMPONENTS
   ===================================================== */

/* Spec Box Layout */
.spec-box {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #333;
}

.spec-box h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #fff;
    border-bottom: 2px solid var(--primary-yellow);
    padding-bottom: 10px;
}

/* Spec Header Layout */
.spec-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

/* Row 1: Thumbnail and Qty/Price */
.spec-header-row-1 {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

/* Row 2: Power Supply Button */
.spec-header-row-2 {
    display: flex;
    align-items: flex-start;
}

.spec-header-left {
    display: contents;
    /* This allows the children to participate in the parent grid */
}

.spec-thumbnail {
    flex-shrink: 0;
    width: auto;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #333;
    background: #1a1a1a;
}

.spec-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.spec-qty-price {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.spec-header-right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    flex-shrink: 0;
    grid-column: 3;
    min-width: 200px;
}

.spec-header h4 {
    margin-bottom: 0;
    border-bottom: 2px solid var(--jd3-purple);
    padding-bottom: 10px;
    flex-grow: 1;
    min-width: 0;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #2a2a2a;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #444;
}

.qty-control label {
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 500;
    white-space: nowrap;
}

.total-price-pill {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    color: black;
    font-weight: 600;
}

.total-price-pill .price-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

.price-each {
    font-size: 0.8rem;
}

.price-value {
    background: white;
    border-radius: 20px;
    font-size: 24px;
    font-weight: 600;
    padding: 3px 10px;
    text-align: center;
}

/* Price pill row styling */
.price-pill-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

/* Quantity row styling */
.price-pill-row:first-child {
    justify-content: flex-end;
}

/* Price row styling */
.price-pill-row:last-child {
    justify-content: flex-end;

}

/* Quantity dropdown in price pill */
.total-price-pill .qty-dropdown {
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 6px;
    color: #fff;
    padding: 6px 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 50px;
    text-align: center;
}

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

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

.total-price-pill label {
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 500;
    white-space: nowrap;
}



/* =====================================================
   SPECIFICATION TABLES & CONTENT
   ===================================================== */

/* Spec content and row styling */
.spec-content {
    color: #ccc;
}



.spec-row {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #333;
    font-size: 0.9rem;
    align-items: center;
}

/* Alternative two-column layout for spec rows */
.spec-row.two-column {
    grid-template-columns: 3fr 1fr;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row:last-child {
    border-bottom: none;
}

/* Header row styling - make price header right-aligned and bold */
.spec-content>.spec-row:first-child {
    font-weight: 600;
    color: #fff;
    border-bottom: 2px solid #444;
    padding-bottom: 10px;
}

.spec-content>.spec-row:first-child span:last-child {
    text-align: right;
}

/* Price column alignment */
.spec-row .price-col {
    text-align: right;
    justify-self: end;
    padding-right: 10px;
}

/* Power supply and fixing line items */
.spec-row.power-supply-item,
.spec-row.fixing-item,
.optional-item-line {}

/* SKU pill fixing alignment */
.power-btn-content h5 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sku-pill-fixing {
    margin-left: auto;
}

/* =================================
   LUMINEON SECTION - Pink Gradient Theme
   ================================= */




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

@media (max-width: 768px) {
    .sign-wrapper {
        grid-template-columns: 1fr;
    }

    /* Mobile spec header layout fix */
    .spec-header-row-1 {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 15px;
        width: 100%;
    }

    /* Mobile thumbnail - 50% of available width */
    .spec-thumbnail {
        flex: 0 0 48%;
        /* Slightly less than 50% to account for gap */
        width: 48%;
        height: 120px;
        /* Increased height for mobile visibility */
        max-width: none;
        border-radius: 8px;
        overflow: hidden;
        border: 2px solid #333;
        background: #1a1a1a;
    }

    .spec-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Mobile price pill - 50% of available width */
    .spec-qty-price2 {
        flex: 0 0 48%;
        /* Slightly less than 50% to account for gap */
        width: 48%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 10px;
    }

    .total-price-pill {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        color: black;
        font-weight: 600;
        width: 100%;
    }

    /* Mobile price pill styling */
    .price-pill-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
    }

    .price-value {
        background: white;
        border-radius: 20px;
        font-size: 18px;
        /* Slightly smaller on mobile */
        font-weight: 600;
        padding: 8px 12px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }

    .total-price-pill .qty-dropdown {
        background: #2a2a2a;
        border: 1px solid #444;
        border-radius: 6px;
        color: #fff;
        padding: 6px 8px;
        font-size: 0.85rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        min-width: 45px;
        text-align: center;
    }

    .total-price-pill label {
        font-size: 0.85rem;
        color: #ccc;
        font-weight: 500;
        white-space: nowrap;
        margin-right: 5px;
    }

    .price-each {
        font-size: 0.75rem;
    }

    /* Remove any conflicting styles that might cause horizontal overflow */
    .spec-qty-price {
        display: none;
        /* Hide the old layout on mobile */
    }

    .section-intro {
        flex-direction: column;
        gap: 30px;
    }

    .section-title {
        flex: none;
        text-align: center;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }

    .section-description {
        padding-top: 0;
        text-align: center;
    }

    .lumineon-section .section-intro,
    .sustaineon-section .section-intro,
    .ledentity-section .section-intro {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
    }

    .lumineon-section .section-logo,
    .sustaineon-section .section-logo,
    .ledentity-section .section-logo {
        height: 80px;
    }

    .lumineon-section .section-logo img,
    .sustaineon-section .section-logo img,
    .ledentity-section .section-logo img {
        height: 80px;
    }

    .lumineon-section .section-description,
    .sustaineon-section .section-description,
    .ledentity-section .section-description {
        height: auto;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {

    .lumineon-section .section-intro,
    .sustaineon-section .section-intro,
    .ledentity-section .section-intro {
        gap: 20px;
    }

    .lumineon-section .section-logo,
    .sustaineon-section .section-logo,
    .ledentity-section .section-logo {
        height: 60px;
    }

    .lumineon-section .section-logo img,
    .sustaineon-section .section-logo img,
    .ledentity-section .section-logo img {
        height: 60px;
    }

    .lumineon-section .section-description p,
    .sustaineon-section .section-description p,
    .ledentity-section .section-description p {
        font-size: 1rem;
    }

    /* Even smaller screens - adjust thumbnail height */
    .spec-thumbnail {
        height: 100px;
    }

    .price-value {
        font-size: 16px;
        padding: 6px 10px;
    }

    .total-price-pill .qty-dropdown {
        font-size: 0.8rem;
        padding: 5px 6px;
        min-width: 60px;
        height: 36px;
    }

    .total-price-pill label {
        font-size: 0.8rem;
    }

    .spec-header {
        margin-bottom: 0px !important;
    }
}

.remove-sign-btn {

    background: #c82333;
    color: #eee;
    border: none;
    padding: 4px 6px;
    border-radius: 6px;
    font-size: 0.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.remove-optional-btn,
.inline-change-btn,
.sku-pill-optional-price {
    background: #c82333;
    color: #000;
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 10px;

}

/* Remove Overlay Styling */
.remove-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 50, 50, 0.2);
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    backdrop-filter: blur(4px);
    z-index: 201;
}

.remove-overlay-content {
    text-align: center;
    color: #fff;
    padding: 40px;
    max-width: 700px;
}

.remove-overlay-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.remove-overlay-content p {
    font-size: 1rem;
    margin-bottom: 25px;
    color: #ccc;
    line-height: 1.4;
}

.restore-sign-btn {
    background: var(--primary-yellow);
    color: #000;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.restore-sign-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}