/* B2B / wholesale landing page. A page-specific sheet linked only from
   b2b/landing.html, so its selectors stay global (as the page authored them) —
   they cannot affect other pages because the sheet loads nowhere else. The
   shared site-chrome overrides (.navbar-brand, the responsive .navbar/.container/
   body rules, the .alert family) are intentionally global. font-family is explicit
   because the global body font is Orbitron. */

    /* Add more spacing between navbar and content on mobile specifically for wholesale page */
    @media (max-width: 991.98px) {
        .b2b-hero {
            padding-top: 120px;
            margin-top: 60px;
        }
    }

    /* Override CKEditor text color for b2b-intro content */
    .b2b-intro,
    .b2b-intro p,
    .b2b-intro div,
    .b2b-intro span,
    .b2b-intro * {
        color: #FFFFFF !important;
    }

    /* B2B Page Specific Styles */
    .b2b-container {
        font-family: 'Arial', sans-serif;
        line-height: 1.6;
        overflow-x: hidden;
    }

    .b2b-container p {
        font-family: 'Arial', sans-serif;
        line-height: 1.6;
        font-size: 1.25rem;
        color: #FFFFFF;
    }

    .b2b-container section {
        padding: 5rem 0;
    }

    .b2b-hero {
        padding-top: 7rem;
        margin-bottom: 2rem;
    }

    .b2b-title {
        font-size: 3rem;
        color: #ff00ff;
        text-shadow: 0 0 15px #ff00ff;
        margin-bottom: 1.5rem;
        font-family: 'Orbitron', sans-serif;
    }

    .b2b-subtitle {
        font-size: 1.8rem;
        color: #00ffff;
        margin-bottom: 1.5rem;
        font-family: 'Orbitron', sans-serif;
    }

    .b2b-intro {
        font-size: 1.4rem;
        line-height: 1.7;
    }

    .b2b-hero-image {
        border-radius: 15px;
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    }

    .b2b-hero-placeholder {
        background: rgba(0, 0, 0, 0.5);
        border: 2px solid rgba(0, 255, 255, 0.3);
        border-radius: 15px;
        height: 400px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .section-title {
        color: #ff00ff;
        font-size: 2.5rem;
        margin-bottom: 2rem;
        text-shadow: 0 0 10px #ff00ff;
        font-family: 'Orbitron', sans-serif;
    }

    .benefit-card {
        background: rgba(0, 0, 0, 0.5);
        border: 2px solid rgba(0, 255, 255, 0.3);
        border-radius: 15px;
        padding: 2rem;
        height: 100%;
        transition: all 0.3s ease;
        text-align: center;
    }

    .benefit-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
    }

    .benefit-icon {
        font-size: 2.5rem;
        color: #00ffff;
        margin-bottom: 1.5rem;
    }

    .benefit-card h3 {
        color: #ff00ff;
        margin-bottom: 1rem;
        font-family: 'Orbitron', sans-serif;
        font-size: 1.4rem;
    }

    .benefit-card p {
        font-size: 1.2rem;
    }

    .benefits-text,
    .process-text {
        background: rgba(0, 0, 0, 0.3);
        border-radius: 15px;
        padding: 2rem;
        margin-top: 2rem;
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
        color: #FFFFFF;
    }

    .benefits-text p,
    .process-text p {
        color: #FFFFFF !important;
    }

    .process-steps {
        background: rgba(0, 0, 0, 0.5);
        border: 2px solid rgba(255, 0, 255, 0.3);
        border-radius: 15px;
        padding: 3rem;
    }

    .process-step {
        display: flex;
        margin-bottom: 2rem;
        position: relative;
    }

    .process-step:last-child {
        margin-bottom: 0;
    }

    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50px;
        left: 25px;
        width: 2px;
        height: calc(100% - 30px);
        background: linear-gradient(to bottom, #ff00ff, #00ffff);
    }

    .step-number {
        width: 50px;
        height: 50px;
        background: #ff00ff;
        color: #000;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bold;
        font-size: 1.5rem;
        margin-right: 1.5rem;
        flex-shrink: 0;
        box-shadow: 0 0 15px #ff00ff;
    }

    .step-content {
        padding-top: 0.5rem;
    }

    .step-content h3 {
        color: #00ffff;
        margin-bottom: 0.5rem;
        font-family: 'Orbitron', sans-serif;
    }

    .step-content p {
        font-size: 1.2rem;
    }

    .product-card-link {
        text-decoration: none;
        color: inherit;
        display: block;
        height: 100%;
    }

    .product-card-link:hover {
        text-decoration: none;
        color: inherit;
    }

    .product-card {
        background: rgba(0, 0, 0, 0.5);
        border: 2px solid rgba(0, 255, 255, 0.3);
        border-radius: 15px;
        overflow: hidden;
        transition: all 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 255, 255, 0.5);
        border-color: rgba(255, 0, 255, 0.5);
    }

    .card-img-container {
        height: 200px;
        overflow: hidden;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .product-card .card-img-top {
        width: 100%;
        height: auto;
        max-height: 100%;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

    .product-card:hover .card-img-top {
        transform: scale(1.05);
    }

    .product-card .card-body {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 1.5rem;
        background: rgba(0, 0, 0, 0.7);
    }

    .product-card .card-title {
        color: #ff00ff;
        font-size: 1.3rem;
        font-family: 'Orbitron', sans-serif;
        margin-bottom: 1rem;
        transition: color 0.3s ease;
    }

    .product-card:hover .card-title {
        color: #ff80ff;
    }

    .product-card .card-text {
        flex-grow: 1;
        margin-bottom: 1.2rem;
        color: rgba(255, 255, 255, 0.9);
    }

    .price {
        color: white;
        font-size: 1.25rem;
        margin-bottom: 0.8rem;
    }

    .wholesale-price {
        color: #00ffff;
        font-size: 1.2rem;
        font-weight: bold;
        padding: 0.6rem 1rem;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 5px;
        display: inline-block;
        margin: 0 auto;
        transition: all 0.3s ease;
        border: 1px solid rgba(0, 255, 255, 0.3);
    }

    .product-card:hover .wholesale-price {
        background: rgba(0, 255, 255, 0.1);
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    }

    .empty-products-message {
        background: rgba(0, 0, 0, 0.3);
        border: 2px solid rgba(0, 255, 255, 0.2);
        border-radius: 15px;
        padding: 3rem;
        text-align: center;
        color: rgba(255, 255, 255, 0.9);
    }

    .empty-products-message i {
        color: rgba(0, 255, 255, 0.7);
        margin-bottom: 1rem;
    }

    .venues-list {
        background: rgba(0, 0, 0, 0.3);
        border-radius: 15px;
        padding: 2rem;
    }

    .venue-subtitle {
        color: rgba(255, 255, 255, 0.7);
        margin-bottom: 2rem;
    }

    .contact-form-container {
        background: rgba(0, 0, 0, 0.5);
        border: 2px solid rgba(255, 0, 255, 0.3);
        border-radius: 15px;
        padding: 3rem;
        box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
    }

    .b2b-form label {
        display: block;
        color: white;
        margin-bottom: 0.5rem;
        font-family: 'Arial', sans-serif;
        font-weight: 500;
    }

    .b2b-form .form-control {
        display: block;
        width: 100%;
        background: rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(0, 255, 255, 0.3);
        color: white;
        border-radius: 8px;
        padding: 0.75rem;
        font-family: 'Arial', sans-serif;
        box-sizing: border-box;
    }

    .b2b-form .form-control:focus {
        background: rgba(0, 0, 0, 0.5);
        border-color: #00ffff;
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    }

    .form-note {
        font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.7);
        margin-top: 1rem;
    }

    /* .btn-rave styles are in components/buttons.css */

    .process-text {
        background: rgba(0, 0, 0, 0.3);
        border-radius: 15px;
        padding: 1.5rem;
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
    }

    /* Mobile Responsiveness */
    @media (max-width: 768px) {
        .b2b-container section {
            padding: 3rem 0;
        }

        .b2b-title {
            font-size: 2rem;
        }

        .b2b-subtitle {
            font-size: 1.4rem;
        }

        .section-title {
            font-size: 1.8rem;
        }

        .b2b-hero {
            padding-top: 5rem;
        }

        .benefit-card {
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .process-steps {
            padding: 1.5rem;
        }

        .contact-form-container {
            padding: 1.5rem;
        }

        /* Clean form layout for mobile - stack fields vertically with consistent alignment */
        #b2b-contact-form .row {
            display: flex;
            flex-direction: column;
            margin-left: 0;
            margin-right: 0;
        }

        #b2b-contact-form .row > div[class*="col-"] {
            flex: 0 0 100%;
            width: 100%;
            max-width: 100%;
            padding-left: 0;
            padding-right: 0;
        }

        .b2b-intro {
            font-size: 1.2rem;
            line-height: 1.6;
        }

        .benefit-card p {
            font-size: 1.1rem;
        }

        .b2b-container p {
            font-size: 1.15rem;
        }

        .step-content p {
            font-size: 1.1rem;
        }

        .card-img-container {
            height: 180px;
        }

        .wholesale-price {
            font-size: 1.1rem;
            padding: 0.5rem 0.8rem;
        }

        .price {
            font-size: 1.15rem;
        }

        .btn-rave {
            padding: 0.6rem 1.5rem;
            font-size: 0.9rem;
        }
    }

    @media (max-width: 576px) {
        .container {
            padding-left: 10px;
            padding-right: 10px;
            width: 100%;
            max-width: 100%;
            margin-left: auto;
            margin-right: auto;
            box-sizing: border-box;
        }

        .b2b-container {
            width: 100%;
            overflow-x: hidden;
        }

        .b2b-container section {
            padding: 2rem 0;
            width: 100%;
            margin-bottom: 1.5rem;
        }

        .b2b-hero {
            padding-top: 3.5rem;
            margin-bottom: 0;
            text-align: center;
        }

        .b2b-title {
            font-size: 2.2rem;
            margin-bottom: 1rem;
            text-align: center;
            line-height: 1.2;
        }

        .b2b-subtitle {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            text-align: center;
            line-height: 1.3;
        }

        .b2b-intro {
            font-size: 1.2rem;
            text-align: center;
            margin-bottom: 1.5rem;
            line-height: 1.5;
            padding: 0 5px;
        }

        .b2b-hero .btn-rave {
            display: block;
            width: 90%;
            padding: 0.9rem 1rem;
            font-size: 1.1rem;
            margin: 0 auto;
            border-radius: 50px;
        }

        .b2b-hero-image {
            margin-top: 1.5rem;
            width: 90%;
            margin-left: auto;
            margin-right: auto;
            display: block;
        }

        .section-title {
            font-size: 2rem;
            text-align: center;
            line-height: 1.3;
            margin-bottom: 1.5rem;
        }

        .benefit-card {
            padding: 1.5rem;
            margin-bottom: 1.2rem;
            border-radius: 15px;
            border-width: 2px;
            margin-left: auto;
            margin-right: auto;
            width: 100%;
            box-sizing: border-box;
        }

        .benefit-icon {
            font-size: 2.2rem;
            margin-bottom: 1rem;
        }

        .benefit-card h3 {
            font-size: 1.5rem;
            margin-bottom: 0.7rem;
        }

        .benefit-card p {
            font-size: 1.2rem;
            line-height: 1.4;
        }

        .process-steps {
            padding: 2rem;
            border-radius: 15px;
            margin-left: auto;
            margin-right: auto;
            width: 100%;
        }

        .step-number {
            width: 45px;
            height: 45px;
            font-size: 1.3rem;
            margin-right: 1.2rem;
        }

        .step-content h3 {
            font-size: 1.5rem;
        }

        .step-content p {
            font-size: 1.2rem;
            line-height: 1.4;
        }

        .process-step:not(:last-child)::after {
            top: 45px;
            left: 22px;
        }

        .product-card {
            margin-bottom: 1.5rem;
            border-radius: 15px;
        }

        .contact-form-container {
            padding: 2rem;
            border-radius: 15px;
            margin: 0 auto;
            width: 100%;
        }

        .b2b-form label {
            font-size: 1.2rem;
            margin-bottom: 0.4rem;
            display: block;
        }

        .b2b-form .form-control {
            padding: 0.8rem;
            font-size: 1.1rem;
            height: auto;
            width: 100%;
            margin-bottom: 1.2rem;
            border-radius: 10px;
            line-height: 1.5;
        }

        .message-textarea {
            min-height: 120px;
        }

        .b2b-form .btn-rave {
            width: 100%;
            padding: 1rem;
            font-size: 1.1rem;
            margin-top: 0.5rem;
            border-radius: 50px;
        }

        .b2b-benefits .container > .row,
        .b2b-process .container > .row,
        .b2b-products .container > .row,
        .b2b-contact .container > .row {
            margin-left: 0;
            margin-right: 0;
        }

        .b2b-benefits .container > .row > .col-md-4,
        .b2b-products .container > .row > .col-md-3 {
            padding-left: 10px;
            padding-right: 10px;
        }

        .benefits-text,
        .process-text {
            width: 100%;
            margin-left: auto;
            margin-right: auto;
            padding: 2.5rem;
            line-height: 1.8;
        }
    }

    @media (max-width: 430px) {
        body {
            overflow-x: hidden;
        }

        .container {
            padding-left: 10px;
            padding-right: 10px;
            margin-left: auto;
            margin-right: auto;
            box-sizing: border-box;
        }

        .row {
            margin-left: 0;
            margin-right: 0;
        }

        .col, .col-md-3, .col-md-4, .col-md-6, .col-lg-6, .col-lg-8, .col-lg-10, .col-12 {
            padding-left: 10px;
            padding-right: 10px;
        }

        /* Ensure form fields stay consistently aligned - override general column padding */
        #b2b-contact-form .row > div[class*="col-"] {
            padding-left: 0;
            padding-right: 0;
        }

        .b2b-container section {
            padding: 1.5rem 0;
            margin-bottom: 1.2rem;
        }

        .b2b-title {
            font-size: 2rem;
            margin-bottom: 0.8rem;
            padding: 0 5px;
            line-height: 1.2;
        }

        .b2b-subtitle {
            font-size: 1.4rem;
            margin-bottom: 0.8rem;
            padding: 0 5px;
        }

        .section-title {
            font-size: 1.8rem;
            margin-bottom: 1.2rem;
        }

        .b2b-hero {
            padding-top: 3rem;
        }

        .b2b-intro {
            font-size: 1.15rem;
            line-height: 1.4;
            margin-bottom: 1.2rem;
            padding: 0 5px;
        }

        .b2b-hero .btn-rave {
            width: 90%;
            padding: 0.8rem;
            font-size: 1.1rem;
            margin-bottom: 1rem;
        }

        .benefit-card {
            padding: 1.3rem;
            margin-bottom: 1rem;
            border-radius: 12px;
            margin-left: auto;
            margin-right: auto;
            width: 100%;
            box-sizing: border-box;
        }

        .benefit-icon {
            font-size: 1.8rem;
            margin-bottom: 0.8rem;
        }

        .benefit-card h3 {
            font-size: 1.4rem;
            margin-bottom: 0.6rem;
        }

        .benefit-card p {
            font-size: 1.15rem;
            line-height: 1.4;
        }

        .b2b-container p {
            font-size: 1.15rem;
            line-height: 1.4;
        }

        .process-steps {
            padding: 1.5rem;
            border-radius: 12px;
            margin-left: auto;
            margin-right: auto;
            width: 100%;
        }

        .process-step {
            margin-bottom: 1.2rem;
        }

        .step-number {
            width: 40px;
            height: 40px;
            font-size: 1.2rem;
            margin-right: 1rem;
        }

        .step-content h3 {
            font-size: 1.4rem;
            margin-bottom: 0.3rem;
        }

        .step-content p {
            font-size: 1.15rem;
            line-height: 1.4;
        }

        .process-step:not(:last-child)::after {
            top: 40px;
            left: 20px;
        }

        .contact-form-container {
            padding: 1.5rem;
            border-radius: 12px;
            margin: 0 auto;
            width: 100%;
        }

        .b2b-form label {
            font-size: 1.15rem;
            margin-bottom: 0.3rem;
        }

        .b2b-form .form-control {
            padding: 0.8rem;
            font-size: 1.15rem;
            border-radius: 8px;
            margin-bottom: 1rem;
        }

        .b2b-form .form-control::placeholder {
            font-size: 1.05rem;
        }

        .btn-rave {
            padding: 0.8rem;
            font-size: 1.1rem;
            border-radius: 30px;
        }

        .b2b-form .btn-rave {
            padding: 0.8rem;
        }

        .form-note {
            font-size: 1rem;
            margin-top: 0.8rem;
        }

        .product-card {
            border-radius: 12px;
            margin-bottom: 1.2rem;
        }

        .card-img-container {
            height: 150px;
        }

        .product-card .card-body {
            padding: 1.2rem;
        }

        .product-card .card-title {
            font-size: 1.3rem;
            margin-bottom: 0.6rem;
        }

        .product-card .card-text {
            font-size: 1.15rem;
            margin-bottom: 0.7rem;
            line-height: 1.4;
        }

        .price {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
        }

        .wholesale-price {
            font-size: 1.15rem;
            padding: 0.6rem 0.8rem;
            width: 100%;
            display: block;
            text-align: center;
            line-height: 1.2;
        }

        .wholesale-note {
            font-size: 1.05rem;
            padding: 0.6rem 1rem;
            line-height: 1.3;
        }

        /* Fixed and sticky elements */
        .navbar {
            padding: 0.6rem 1rem;
        }

        .navbar-brand {
            font-size: 1.4rem;
        }

        .navbar-toggler {
            padding: 0.4rem 0.5rem;
        }

        .benefits-text,
        .process-text {
            padding: 2rem;
            line-height: 1.7;
        }
    }

    @media (max-width: 360px) {
        .container {
            padding-left: 10px;
            padding-right: 10px;
            margin-left: auto;
            margin-right: auto;
            box-sizing: border-box;
        }

        /* Ensure form fields stay consistently aligned at 360px */
        #b2b-contact-form .row > div[class*="col-"] {
            padding-left: 0;
            padding-right: 0;
        }

        .b2b-container section {
            padding: 1.2rem 0;
            margin-bottom: 1rem;
        }

        .b2b-title {
            font-size: 1.8rem;
            line-height: 1.2;
        }

        .b2b-subtitle {
            font-size: 1.3rem;
        }

        .section-title {
            font-size: 1.7rem;
        }

        .b2b-hero .btn-rave {
            font-size: 1.1rem;
            padding: 0.7rem;
        }

        .benefit-card {
            padding: 1.1rem;
            margin-left: auto;
            margin-right: auto;
            width: 100%;
            box-sizing: border-box;
        }

        .benefit-icon {
            font-size: 1.7rem;
            margin-bottom: 0.7rem;
        }

        .benefit-card h3 {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
        }

        .benefit-card p {
            font-size: 1.1rem;
        }

        .b2b-container p {
            font-size: 1.1rem;
        }

        .process-steps {
            padding: 1.2rem;
            margin-left: auto;
            margin-right: auto;
            width: 100%;
        }

        .step-number {
            width: 38px;
            height: 38px;
            font-size: 1.1rem;
            margin-right: 0.8rem;
        }

        .step-content h3 {
            font-size: 1.3rem;
        }

        .step-content p {
            font-size: 1.1rem;
        }

        .process-step:not(:last-child)::after {
            top: 38px;
            left: 19px;
        }

        .contact-form-container {
            padding: 1.2rem;
            width: 100%;
            margin: 0 auto;
        }

        .b2b-form label {
            font-size: 1.15rem;
            margin-bottom: 0.3rem;
        }

        .b2b-form .form-control {
            padding: 0.7rem;
            font-size: 1.1rem;
        }

        .b2b-form .form-control::placeholder {
            font-size: 1rem;
        }

        .btn-rave {
            padding: 0.7rem;
            font-size: 1.1rem;
        }

        .form-note {
            font-size: 0.95rem;
        }

        .card-img-container {
            height: 130px;
        }

        .product-card .card-body {
            padding: 1rem;
        }

        .product-card .card-title {
            font-size: 1.2rem;
        }

        .product-card .card-text {
            font-size: 1.1rem;
        }

        .price {
            font-size: 1.15rem;
        }

        .wholesale-price {
            font-size: 1.1rem;
            padding: 0.5rem 0.7rem;
        }

        .benefits-text,
        .process-text {
            padding: 1.5rem;
            line-height: 1.6;
        }
    }

    .form-control::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

    .message-textarea::placeholder {
        color: rgba(255, 255, 255, 0.8);
        opacity: 1;
    }

    .b2b-contact h2.section-title {
        color: #ffffff;
        text-shadow: 0 0 10px #ffffff;
    }

    .b2b-contact label {
        color: white;
    }

    .wholesale-note {
        font-size: 1.05rem;
        color: rgba(255, 255, 255, 0.8);
        background: rgba(0, 0, 0, 0.3);
        padding: 0.8rem 1.2rem;
        border-radius: 10px;
        display: inline-block;
        border: 1px solid rgba(0, 255, 255, 0.2);
        margin-top: 0.5rem;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    }

    /* Alert styles for messages */
    .alert {
        padding: 15px 20px;
        border-radius: 10px;
        margin-bottom: 20px;
        font-family: 'Arial', sans-serif;
        font-size: 1.1rem;
        color: white;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    }

    .alert-success {
        background: rgba(0, 180, 0, 0.3);
        border: 2px solid rgba(0, 255, 0, 0.5);
        box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    }

    .alert-danger {
        background: rgba(180, 0, 0, 0.3);
        border: 2px solid rgba(255, 0, 0, 0.5);
        box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
    }

    @media (max-width: 430px) {
        .alert {
            padding: 12px 15px;
            font-size: 1rem;
            border-radius: 8px;
        }
    }

    @media (max-width: 360px) {
        .alert {
            padding: 10px 12px;
            font-size: 0.95rem;
            border-radius: 6px;
        }
    }

    /* Additional stylings for admin-edited content */
    .b2b-intro,
    .benefits-text,
    .process-text,
    .venues-list,
    .b2b-container [data-admin-editable] {
        color: #FFFFFF !important;
    }

    .b2b-intro p,
    .benefits-text p,
    .process-text p,
    .venues-list p,
    .b2b-container [data-admin-editable] p,
    .b2b-intro span,
    .benefits-text span,
    .process-text span,
    .venues-list span,
    .b2b-intro div,
    .benefits-text div,
    .process-text div,
    .venues-list div,
    .b2b-intro *,
    .benefits-text *,
    .process-text *,
    .venues-list * {
        color: #FFFFFF !important;
    }

    /* Hide the brand on mobile */
    .navbar-brand {
        display: none;
    }
