/* 1. Stop horizontal scrolling on the whole page */
html, body {
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: lightgreen;
    position: relative;
    text-decoration: none;
}

    a::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 4px;
        border-radius: 4px;
        background-color: red;
        bottom: 0;
        left: 0;
        transform-origin: right;
        transform: scaleX(0);
        transition: transform .3s ease-in-out;
    }

    a:hover::before {
        transform-origin: left;
        transform: scaleX(1);
    }

body {
    min-height: 100vh;
    background: #020024;
    background: linear-gradient(90deg,rgba(2, 0, 36, 1) 0%, rgba(55, 143, 219, 1) 45%, rgba(0, 212, 255, 1) 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 40px 20px;
}

.navbar {
    background: #12151a;
}

.shopImg {
    float: left;
    width: 300px;
    height: 300px;
    object-fit: cover;
    display: block;
    margin: auto;
    
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    align-items: start;
}

/* text can shrink and ellipsis */
.brand-title {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    flex-wrap: wrap;
    max-width: 100%;
    min-width: 0;
}

/* tagline should not push the cart off screen on small devices */
.afTagline {
    white-space: nowrap;
    font-size: 30px;
}

.navbar-nav {
    font-size: 30px;
}

.navbar-brand {
    font-size: 50px;
    font-family: "Asimovian", sans-serif;
}

.af-red {
    color: cornflowerblue;
}

/* logo stays fixed size */
.vikingLogo {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
}

.logo-img {
    width: 200px;
}

.event-card {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .event-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transition: left 0.6s;
    }

    .event-card:hover::before {
        left: 100%;
    }

    .event-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
        border-color: rgba(255, 255, 255, 0.4);
    }

.card-header {
    display: flex;
    align-items: center;
    justify-content: center; /* Centers horizontally */
}

.time-section {
    display: flex;
    gap: 4px;
    margin: 17px 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.description {
    color: rgba(255, 255, 255, 0.85);
    font-family: arial;
    font-size: 13px;
    line-height: 1.6;
    margin-top: 7px;
    animation: fadeIn 0.8s ease-out 0.2s both;
    flex: 1;
    overflow-y: auto;
    height: 60px;
    padding-right: 8px;
    padding-left: 8px;
}

.itemTitle {
    color: black;
    font-weight: 800;
    font-size: 20px;
    text-align: center;
    border: 2px solid #333; /* Example border style */
    padding: 10px 15px; /* Adjust padding as needed */
    border-radius: 10px; /* Adjust the value for desired roundedness */
    background: linear-gradient(90deg,rgba(191, 119, 17, 1) 0%, rgba(253, 212, 29, 1) 50%, rgba(191, 119, 17, 1) 100%);
    margin-top: 10px;
}

.description::-webkit-scrollbar {
    width: 6px;
}

.description::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.description::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 10px;
    transition: background 0.3s ease;
}

    .description::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}



.card-footer {
    padding-top: 2px;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}



.price-tag {
    font-size: 20px;
    font-weight: 800;
    color: #f093fb;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-button {
    background: linear-gradient(90deg,rgba(17, 109, 166, 1) 0%, rgba(24, 82, 133, 1) 52%, rgba(17, 129, 209, 1) 100%);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .cta-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(245, 87, 108, 0.5);
    }

    .cta-button:active {
        transform: translateY(0);
    }

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

.customContainer {
    background: linear-gradient(90deg,rgba(17, 109, 166, 1) 0%, rgba(24, 82, 133, 1) 52%, rgba(17, 129, 209, 1) 100%);
    margin: 10px;
    padding: 10px;
}

.customText {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 30px;
    color: white;
    text-align: center;
}


/*title*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@900&display=swap');

.pageHeader {
    font-size: 20px;
    color: white;
    border: 4px solid grey;
    border-radius: 15px;
    padding: 20px;
}

.pageHeaderTitle {
    font-family: "Asimovian", sans-serif;
    font-weight: 800;
    font-size: 40px;
    color: white;
    text-shadow: 3px 3px darkred;
    display: inline-block; 
    border: 2px solid gray;
    padding: 2px 15px; 
    border-radius: 15px; 
    background: black;
}

.pageTitle {
    /* outline */
    -webkit-text-stroke: 1px #333;
    -webkit-text-fill-color: white;
    /* fallback */
    /* for demo purpose */
    font-family: "Asimovian", sans-serif;
    text-shadow: 2px 2px 5px darkorange;
    font-size: 50px;
    text-align: center;
}




/* CONTACT FORM */

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3da9fc 100%);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.contact-header {
    text-align: center;
    color: #ffffff;
    margin-bottom: 40px;
}

    .contact-header h1 {
        font-size: 2.5em;
        margin-bottom: 10px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .contact-header p {
        font-size: 1.1em;
        opacity: 0.9;
    }

.form-group {
    margin-bottom: 25px;
}

    .form-group label {
        display: block;
        color: #ffffff;
        font-weight: 600;
        margin-bottom: 8px;
        font-size: 1.05em;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px 15px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.95);
        font-size: 1em;
        transition: all 0.3s ease;
        box-sizing: border-box;
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #ffd700;
            background: #ffffff;
            box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
        }

    .form-group textarea {
        min-height: 150px;
        resize: vertical;
        font-family: inherit;
    }

.product-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.product-type-option {
    position: relative;
}

    .product-type-option input[type="checkbox"] {
        position: absolute;
        opacity: 0;
    }

    .product-type-option label {
        display: block;
        padding: 15px;
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 8px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 600;
    }

    .product-type-option input[type="checkbox"]:checked + label {
        background: #ffd700;
        border-color: #ffd700;
        color: #1e3c72;
        transform: scale(1.05);
    }

    .product-type-option label:hover {
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
    }

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1e3c72;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
    }

    .submit-btn:active {
        transform: translateY(0);
    }

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
}

.alert-success {
    background: rgba(76, 175, 80, 0.9);
    color: white;
    border: 2px solid #4caf50;
}

.alert-danger {
    background: rgba(244, 67, 54, 0.9);
    color: white;
    border: 2px solid #f44336;
}

.required {
    color: #ffd700;
}

/* Cart  */

.cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 1950;
}

    .cart-backdrop.open {
        opacity: 1;
        pointer-events: auto;
    }

.cart-count {
    background: #ef4444;
    color: #fff;
    border-radius: 9999px;
    padding: 0.1rem 0.5rem;
    font-size: 0.7rem;
    vertical-align: top;
    margin-left: 0.25rem;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #d60030;
    color: #fff;
    border-radius: 999px;
    font-size: .65rem;
    line-height: 1;
    padding: 2px 6px;
}

.cart-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #e63946;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    cursor: pointer;
    z-index: 2000;
}

.cart-fab-header {
    flex: 0 0 auto;
    position: relative;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    padding: 10px 16px 70px; /* leave room above footer */
    gap: 16px;
}

.cart-item {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.03);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item button {
    background: none;
    border: none;
    color: #ccc;
    font-size: 1rem;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.2s;
}

.cart-item button:hover {
    color: #e63946;
}

.cart-item-title {
    font-weight: 600;
    color: #63f38b; /* green text for item name */
    font-size: 0.95rem;
}

.cart-item small {
    display: block;
    color: #bbb;
    font-size: 0.85rem;
}

.cart-panel-footer {
    border-top: 1px solid rgba(255,255,255,.05);
    gap: 12px;
}

.cart-panel-header {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111318;
}

.cart-panel-header,
.cart-panel-footer {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.04);
    color: cornflowerblue;
}

    .cart-panel-header h3 {
        margin: 0;
        font-size: 1.2rem;
        color: #90caf9; /* light blue accent */
    }

    .cart-panel-header button {
        background: none;
        border: none;
        color: #e8ebf0;
        font-size: 1.1rem;
        cursor: pointer;
    }

    .cart-panel-header h3 {
        margin: 0;
        font-size: 1.2rem;
        color: #90caf9; /* light blue accent */
    }

    .cart-panel-header button {
        background: none;
        border: none;
        color: #e8ebf0;
        font-size: 1.1rem;
        cursor: pointer;
    }

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #e8ebf0;
    font-size: 0.95rem;
}

.checkout-btn {
    background: #e63946;
    color: #fff;
    border: none;
    padding: 12px 0;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.25s;
}

.cart-total span {
    opacity: .8;
}

.cart-total strong {
    margin-left: 6px;
}

.checkout-btn {
    width: 100%;
    background: #e63946;
    color: #fff;
    border: none;
    padding: 10px 0;
    border-radius: 14px;
    cursor: pointer;
    border-radius: 12px;
}
.vaf-navbar {
    background: #111318;
    min-height: 72px;
}

.add-to-cart-toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: #16a34a;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: translateY(-8px);
    z-index: 1200;
}

    .add-to-cart-toast.show {
        opacity: 1;
        transform: translateY(0);
    }

.floating-cart-btn {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    border: none;
    background: #111827;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
    z-index: 1100;
}

    .floating-cart-btn:hover {
        background: #1f2937;
    }


.pageHeader {
    padding: 1.5rem 1rem 0.75rem;
    text-align: center;
}

.pageHeaderTitle {
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    font-weight: 700;
    letter-spacing: 0.03em;
}

.pageHeaderText {
    max-width: 46rem;
    margin: 0.5rem auto 0;
    color: #444;
    font-size: 0.95rem;
}

.filterBar {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem 1rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

    .filterBar::-webkit-scrollbar {
        height: 6px;
    }

.filterBtn {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s ease;
}

    .filterBtn.active,
    .filterBtn:hover {
        background: #0f766e;
        border-color: #0f766e;
        color: #fff;
    }

.productWrap {
    padding: 0 1rem 3rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

/* Card */
.event-card.product-card {
    background: #fff;
    border: 1px solid rgba(15,118,110,0.08);
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-shadow: 0 8px 24px rgba(15,118,110,0.04);
}

.product-card .card-header {
    background: #f7fafc;
}

.product-card .imageContainer {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card .shopImg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card .itemTitle {
    font-weight: 600;
    font-size: 1rem;
    margin: 0.75rem 0.9rem 0;
}

.product-card .time-section {
    padding: 0 0.9rem 0.5rem;
    flex: 1;
}

.product-card .description {
    font-size: 0.8rem;
    color: #555;
    min-height: 2.5rem;
}

.product-card .badge {
    display: inline-block;
    margin-top: 0.4rem;
    font-size: 0.68rem;
    background: rgba(15,118,110,0.1);
    color: #0f766e;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
}

.product-card .card-footer {
    padding: 0.75rem 0.9rem 0.9rem;
    border-top: 1px solid rgba(0,0,0,0.03);
    display: flex;
    gap: 0.5rem;
}

.cta-button {
    flex: 1;
    border: none;
    background: #0f766e;
    color: #fff;
    border-radius: 0.75rem;
    padding: 0.5rem 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-align: center;
}

    .cta-button:active {
        transform: translateY(1px);
    }

@media (max-width: 600px) {
    .pageHeader {
        text-align: left;
    }

    .productWrap {
        padding: 0 0.5rem 3rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(248, 250, 252, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-box {
    background: #fff;
    padding: 1.25rem 1.75rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(15, 118, 110, 0.08);
    text-align: center;
}

.spinner {
    width: 34px;
    height: 34px;
    border: 3px solid #0f766e;
    border-top-color: transparent;
    border-radius: 9999px;
    margin: 0 auto 0.75rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.site-footer {
    background-color: #111;
    color: #ccc;
    padding: 1.5rem 1rem;
    font-size: 0.9rem;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 0.8rem;
}

    .footer-links a {
        color: #ccc;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .footer-links a:hover {
            color: #fff;
            text-decoration: underline;
        }

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 0.6rem;
}

@media (max-width: 600px) {
    .footer-links {
        flex-direction: column;
        gap: 0.6rem;
    }
}

.info-page {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    line-height: 1.6;
    color: #ddd;
}

    .info-page h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        color: #fff;
        text-align: center;
    }

    .info-page h2 {
        font-size: 1.2rem;
        color: #fff;
        margin-top: 1.4rem;
    }

    .info-page a {
        color: #9cf;
        text-decoration: none;
    }

        .info-page a:hover {
            text-decoration: underline;
        }

/* logo on the left */
.header-logo {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
}

/* 2. Header layout: title and cart on one line without overlap */
.site-header,
.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
}

/* 3. Title should shrink before pushing screen sideways */
.site-title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 1.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 4. Cart button stays fixed width */
.cart-button,
#cartToggle,
.cart-icon {
    flex: 0 0 auto;
}

/* final say on the slide out cart */
.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 90vw);
    height: 100vh;
    overflow-y: auto;
    background: #0f1115;
    border-left: 1px solid rgba(255,255,255,.08);
    box-shadow: -6px 0 20px rgba(0,0,0,.45);
    transform: translateX(100%);
    transition: transform .25s ease-out;
    z-index: 2001; /* higher than backdrop */
}

    .cart-panel.open {
        transform: translateX(0);
    }


@media (max-width: 480px) {
    .site-title {
        font-size: 1rem;
    }
    .brand-title {
        font-size:2rem;

    }
}

/* stop horizontal scroll everywhere */
html, body {
    overflow-x: hidden;
}

/* header wrapper (the black bar in your screenshot) */
.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .5rem 1rem;
    min-height: 64px;
}

/* logo on the left */
.header-logo {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
}

/* title in the middle */
.header-title {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* cart on the right */
.header-cart {
    flex: 0 0 auto;
    position: relative;
}

/* if the gradient container is wider than screen */
.header-wrapper,
.top-gradient {
    max-width: 100%;
    overflow: hidden;
}

/* smaller on phones */
@media (max-width: 480px) {
    .header-title {
        font-size: 1rem;
    }
}

/* make the navbar container a flex row */
.vaf-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

/* brand should be able to shrink */
.vaf-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex: 1 1 auto;
    min-width: 0;
}

/* extra safety on very small screens */
@media (max-width: 575.98px) {
    .brand-title {
        max-width: 70vw; /* leave room for cart */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .afTagline {
        display: none; /* optional, hides the long part to prevent overlap */
    }

    .pageHeader {
        display: none;  /* Remove on small screens */
    }

    .vikingLogo {
        width: 40px;
        height: 40px;
    }
}

/* make the dynamic filter bar wrap instead of scroll */
.filterBar {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: .5rem 1rem 1rem;
    max-width: 100%;
    box-sizing: border-box;
}

    /* filter buttons, keep them tidy on small screens */
    .filterBar .filterBtn {
        border: none;
        background: #121212;
        color: #fff;
        padding: .45rem .85rem;
        border-radius: 999px;
        font-size: .85rem;
        cursor: pointer;
        white-space: nowrap;
    }

        .filterBar .filterBtn.active {
            background: #d60030;
            color: #fff;
        }

/* small screens, allow a little more wrapping room */
@media (max-width: 576px) {
    .filterBar {
        padding-left: .5rem;
        padding-right: .5rem;
    }

    .customText {
        font-size: 20px;
    }
}

.captcha-box {
    color: lightgreen;
    font-weight
}

/* Image modal */
.image-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

    .image-modal.open {
        display: flex;
    }

.image-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.image-modal-content {
    position: relative;
    background: #fff;
    border-radius: 1rem;
    padding: 1rem 3rem;
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

    .image-modal-content img {
        max-width: 70vw;
        max-height: 70vh;
        object-fit: contain;
    }

.image-modal-close {
    position: absolute;
    top: 0.4rem;
    right: 0.6rem;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
}

.image-modal-nav {
    border: none;
    background: rgba(15, 118, 110, 0.1);
    font-size: 2rem;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-prev {
    margin-right: 0.5rem;
}

.image-modal-next {
    margin-left: 0.5rem;
}

@media (max-width: 600px) {
    /* On small screens, keep the modal small in case something still opens it */
    .image-modal-content {
        padding: 0.75rem 1rem;
        max-width: 95vw;
        max-height: 80vh;
    }

    .image-modal-nav {
        display: none; /* rely on swipe in the card */
    }

    .image-modal-close {
        top: 0.2rem;
        right: 0.4rem;
    }

    /* Image container becomes a nice swipe area */
    .product-card .imageContainer {
        cursor: grab;
        touch-action: pan-y;
    }
}
