﻿/* Shield badge for download protected images */
.shield-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 1.25rem;
    color: #bfff1a;
    background: #181c22;
    border-radius: 50%;
    padding: 2px 6px 2px 6px;
    box-shadow: 0 2px 8px #0006;
    z-index: 10;
    border: 1.5px solid #222;
    pointer-events: none;
}

/* Professional Vehicle/Fleet Details Section for Image Cards */
.vehicle-details {
    background: #181a1b;
    border: 1px solid #333;
    border-radius: 10px;
    margin: 1rem 1rem 1rem 1rem;
    padding: 1.1rem 1.3rem 1.1rem 1.3rem;
    color: #e0e0e0;
    font-size: 1.01rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    max-width: 98%;
}
.vehicle-details-title {
    font-size: 1.13rem;
    font-weight: 700;
    color: #ccff00;
    margin-bottom: 0.7rem;
    letter-spacing: 0.01em;
}
.vehicle-details-grid {
    display: grid;
    grid-template-columns: 120px 1fr;
    row-gap: 0.25rem;
    column-gap: 1.1rem;
    margin-bottom: 0.7rem;
}
.vehicle-label {
    font-weight: 600;
    color: #b0c4de;
    text-align: right;
    padding-right: 0.5em;
    border-right: 1px solid #222;
    font-size: 0.98rem;
}
.vehicle-value {
    color: #fff;
    font-weight: 500;
    padding-left: 0.7em;
    font-size: 0.98rem;
    word-break: break-word;
}
.vehicle-details-grid > .vehicle-label:not(:last-child),
.vehicle-details-grid > .vehicle-value:not(:last-child) {
    border-bottom: 1px solid #232323;
    padding-bottom: 0.18em;
}
.vehicle-notes {
    margin-top: 0.7rem;
    font-size: 0.97rem;
    color: #e0e0e0;
    background: #202225;
    border-radius: 6px;
    padding: 0.7em 0.9em;
    border-left: 3px solid #ccff00;
}
.vehicle-notes span {
    font-weight: 600;
    color: #ccff00;
    margin-right: 0.4em;
}
/* Orange band for 'Other' category */
.collection-card.other::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #ff9800;
    z-index: 1;
}
/* Utility: Center content in parent (flex) */
.center-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    width: 100%;
}
/* Themed header for 'Other Emergency Services' page */
.page-header.other {
    background: linear-gradient(90deg, #0a1a2f 0%, #1a2a4f 100%);
    color: #fff;
    padding: 3rem 0 2rem 0;
    text-align: center;
    position: relative;
}
.page-header.other h1 {
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.page-header.other h1 span, .page-header.other h1 .emoji {
    font-size: 2.5rem;
    vertical-align: middle;
}
.page-header.other p {
    font-size: 1.15rem;
    color: #b0c4de;
    margin-bottom: 0;
}
/* Admin dashboard delete button */
.btn-delete {
    background: none;
    border: none;
    color: #ff4d4f;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
}
.btn-delete:hover, .btn-delete:focus-visible {
    background: rgba(255,77,79,0.12);
    color: #d90429;
    outline: none;
}
/* --- StockMedia Pro: Mobile Optimization --- */

/* Form Input Accessibility - Prevent iOS zoom */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="search"],
    input[type="tel"],
    input[type="url"],
    input[type="number"],
    textarea,
    select {
        font-size: 16px !important;
        min-height: 44px;
    }

    .gallery-grid, .image-grid, .collection-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    .image-card, .gallery-item, .product-card {
        min-width: 0;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .main-header, .main-header nav, .footer-content {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .main-header .logo {
        font-size: 1.2rem;
    }
    .main-header .menu-toggle {
        font-size: 2rem;
        padding: 0.5rem 1rem;
    }
    .lightbox img {
        max-width: 98vw;
        max-height: 60vh;
    }
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 2rem;
        padding: 0.5rem 1rem;
    }
    .lightbox-info {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    .btn, button, .action-btn {
        min-height: 44px;
        min-width: 44px;
        font-size: 1rem;
    }
    .footer-section, .footer-content {
        padding: 1rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .main-header, .main-header nav, .footer-content {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
    .gallery-grid, .image-grid, .collection-grid {
        grid-template-columns: 1fr !important;
        gap: 0.5rem;
    }
    .image-card, .gallery-item, .product-card {
        padding: 0.5rem;
        font-size: 0.95rem;
    }
    .lightbox img {
        max-width: 99vw;
        max-height: 40vh;
    }
    .lightbox-close {
        top: 5px;
        right: 5px;
        font-size: 1.5rem;
        padding: 0.25rem 0.5rem;
    }
    .lightbox-info {
        font-size: 0.95rem;
        padding: 0.25rem 0.5rem;
    }
    .btn, button, .action-btn {
        min-height: 40px;
        min-width: 40px;
        font-size: 0.95rem;
    }
    html, body {
        overflow-x: hidden;
    }
}
/* Notify.js Toasts & Modals */
.notify-toast {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    max-width: 90vw;
    background: #222;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75em;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.25s, top 0.25s;
}
.notify-toast.show {
    opacity: 1;
    pointer-events: auto;
    top: 3.5rem;
}
.notify-toast.notify-success { background: #1bbf4c; color: #fff; }
.notify-toast.notify-error { background: #e74c3c; color: #fff; }
.notify-toast.notify-info { background: #222; color: #fff; }
.notify-icon { font-size: 1.3em; font-weight: bold; }

.notify-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}
.notify-modal-content {
    background: #111;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    padding: 2rem 2.5rem 1.5rem;
    min-width: 320px;
    max-width: 95vw;
    text-align: center;
    animation: notify-modal-in 0.18s cubic-bezier(.4,1.4,.6,1) both;
    border: 1px solid #333;
}
@keyframes notify-modal-in {
    0% { transform: scale(0.92) translateY(30px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}
.notify-modal-message {
    font-size: 1.15rem;
    margin-bottom: 1.2em;
    color: #e0e0e0;
}
.notify-modal-input {
    width: 90%;
    padding: 0.6em 0.9em;
    font-size: 1.05em;
    border: 1px solid #333;
    border-radius: 6px;
    margin-bottom: 1.2em;
    background: #222;
    color: #e0e0e0;
}
.notify-modal-actions {
    display: flex;
    gap: 1.2em;
    justify-content: center;
}
.notify-btn {
    padding: 0.5em 1.3em;
    font-size: 1em;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.18s;
}
.notify-btn-primary {
    background: #1bbf4c;
    color: #fff;
}
.notify-btn-primary:hover {
    background: #159c3a;
}
.notify-btn-secondary {
    background: #333;
    color: #e0e0e0;
}
.notify-btn-secondary:hover {
    background: #444;
}
/* Admin Analytics Charts */
.analytics-charts {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}
.analytics-charts canvas {
    background: #111;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem;
    max-width: 100%;
}
/* Skeleton Loader for Gallery */
.gallery-skeletons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.image-card.skeleton {
    background: linear-gradient(90deg, #1a1a1a 25%, #222 50%, #1a1a1a 75%);
    background-size: 400% 100%;
    animation: skeleton-loading 1.2s infinite linear;
    border-radius: var(--radius-lg);
    min-height: 220px;
}
@keyframes skeleton-loading {
    0% { background-position: 100% 0; }
    100% { background-position: 0 0; }
}

/* Focus and active states for accessibility */
.image-card:focus {
    outline: 3px solid var(--accent);
    z-index: 2;
}
.like-btn:focus, .like-btn.active {
    outline: 2px solid var(--accent);
    background: var(--accent);
    color: var(--white);
}
/* Leaderboard */
.leaderboard {
    max-width: 700px;
    margin: 3rem auto 2rem auto;
    padding: 0;
    background: transparent;
}
.leaderboard-inner {
    background: #111;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem 2.5rem 1.5rem;
    border: 1px solid #333;
}
.leaderboard-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
    text-align: center;
}
.leaderboard-empty {
    text-align: center;
    color: #888;
    padding: 2rem 0;
}
.leaderboard-empty a {
    color: var(--high-vis);
    font-weight: 600;
}
.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.lb-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #222;
    transition: background 0.15s;
}
.lb-row:last-child {
    border-bottom: none;
}
.lb-row:hover {
    background: #1a1a1a;
}
.lb-row--top {
    background: linear-gradient(90deg, rgba(238,108,77,0.06) 0%, transparent 100%);
}
.lb-row--top:first-child {
    border-radius: var(--radius) var(--radius) 0 0;
}
.lb-medal {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}
.lb-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #333;
    color: #ccc;
    font-size: 0.85rem;
    font-weight: 700;
}
.lb-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}
.lb-name {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lb-cats {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.lb-cat {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.55rem;
    border-radius: 10px;
    text-transform: capitalize;
}
.lb-cat--fire {
    background: rgba(218,41,28,0.12);
    color: var(--fire);
}
.lb-cat--police {
    background: rgba(0,94,184,0.12);
    color: var(--police);
}
.lb-cat--ambulance, .lb-cat--ems {
    background: rgba(0,150,57,0.12);
    color: var(--ambulance);
}
.lb-cat--other {
    background: var(--gray-100);
    color: var(--gray-600);
}
.lb-count {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
    text-align: right;
    min-width: 70px;
}
.lb-count small {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
    margin-left: 0.15rem;
}

@media (max-width: 600px) {
    .leaderboard-inner {
        padding: 1.25rem 1rem 1rem;
    }
    .lb-row {
        gap: 0.6rem;
        padding: 0.7rem 0.5rem;
    }
    .lb-medal {
        font-size: 1.2rem;
        width: 30px;
    }
    .lb-count {
        font-size: 1rem;
        min-width: 55px;
    }
}

/* Admin Analytics */
.admin-analytics {
    max-width: 600px;
    margin: 3rem auto 2rem auto;
    background: #111;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem 2.5rem;
    display: none;
    border: 1px solid #333;
}
.admin-analytics.active {
    display: block;
}
.analytics-list {
    list-style: none;
    margin: 1rem 0 0 0;
    padding: 0;
}
.analytics-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #333;
    color: #ccc;
}
.analytics-list li:last-child {
    border-bottom: none;
}

/* Profile Tab Icon */
.profile-icon {
    font-size: 1.1em;
    margin-right: 0.3em;
    vertical-align: middle;
}

/* ===== PROFESSIONAL TOAST NOTIFICATIONS ===== */
#toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
    max-width: 420px;
    width: 100%;
}

.site-toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg, 12px);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 1.5px 6px rgba(0,0,0,0.08);
    pointer-events: auto;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.35s cubic-bezier(.4,0,.2,1), transform 0.35s cubic-bezier(.4,0,.2,1);
    backdrop-filter: blur(8px);
}

.site-toast--visible {
    opacity: 1;
    transform: translateX(0);
}

.site-toast--exit {
    opacity: 0;
    transform: translateX(40px);
}

.site-toast--success {
    background: linear-gradient(135deg, #009639 0%, #00b84a 100%);
}

.site-toast--error {
    background: linear-gradient(135deg, #da291c 0%, #ff4d4d 100%);
}

.site-toast--warning {
    background: linear-gradient(135deg, #e67e22 0%, #f5a623 100%);
}

.site-toast--info {
    background: linear-gradient(135deg, #005eb8 0%, #0077cc 100%);
}

.site-toast__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    font-size: 1rem;
    flex-shrink: 0;
}

.site-toast__msg {
    flex: 1;
    line-height: 1.4;
}

.site-toast__close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0 0 0 0.5rem;
    line-height: 1;
    transition: color 0.2s;
    flex-shrink: 0;
}

.site-toast__close:hover {
    color: #fff;
}

@media (max-width: 480px) {
    #toast-container {
        top: auto;
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: 100%;
    }
}

/* ===== CART DRAWER (Slide-in Panel) ===== */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0);
    z-index: 8500;
    visibility: hidden;
    transition: background 0.3s, visibility 0.3s;
}
.cart-drawer-overlay.open {
    background: rgba(0,0,0,0.45);
    visibility: visible;
}
.cart-drawer-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: #111;
    box-shadow: -8px 0 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(.22,.68,0,1.0);
    z-index: 8501;
}
.cart-drawer-overlay.open .cart-drawer-panel {
    right: 0;
}
.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #333;
}
.cart-drawer-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.cart-drawer-count {
    background: #ee6c4d;
    color: #fff;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-weight: 700;
}
.cart-drawer-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #888;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.cart-drawer-close:hover {
    background: #222;
    color: #fff;
}
.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.cart-drawer-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem;
    border-radius: 10px;
    background: #1a1a1a;
    transition: background 0.15s;
}
.cart-drawer-item:hover {
    background: #222;
}
.cart-drawer-item-img {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.cart-drawer-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}
.cart-drawer-item-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #e0e0e0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-drawer-item-license {
    font-size: 0.75rem;
    color: #888;
}
.cart-drawer-item-price {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--high-vis);
}
.cart-drawer-item-remove {
    background: none;
    border: none;
    color: #888;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: color 0.15s, background 0.15s;
    flex-shrink: 0;
}
.cart-drawer-item-remove:hover {
    color: #ff4444;
    background: rgba(255,68,68,0.1);
}
.cart-drawer-footer {
    padding: 1.25rem 1.5rem;
    border-top: 2px solid #333;
    background: #0f0f0f;
}
.cart-drawer-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}
.cart-drawer-total-amount {
    font-size: 1.3rem;
    color: var(--high-vis);
}
.cart-drawer-checkout-btn {
    width: 100%;
    padding: 0.85rem;
    background: var(--high-vis);
    color: #000;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s;
}
.cart-drawer-checkout-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(204,255,0,0.25);
}
.cart-drawer-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #888;
    padding: 3rem 1rem;
}
.cart-drawer-empty-icon {
    font-size: 3rem;
    opacity: 0.4;
}
.cart-drawer-empty p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #888;
}
.cart-trigger {
    cursor: pointer;
    transition: color 0.2s;
}
.cart-trigger:hover {
    color: #ee6c4d !important;
}

/* ===== SIMULATED CHECKOUT MODAL ===== */
.checkout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    padding: 1rem;
}
.checkout-modal {
    background: #111;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
    max-width: 820px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid #333;
}
.checkout-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #888;
    cursor: pointer;
    z-index: 2;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}
.checkout-close:hover {
    background: #222;
    color: #fff;
}
.checkout-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.checkout-left {
    padding: 2rem;
    border-right: 1px solid #333;
}
.checkout-right {
    padding: 2rem;
}
.checkout-left h2,
.checkout-right h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #fff;
}
.checkout-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
}
.checkout-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 8px;
    background: #1a1a1a;
}
.checkout-item img {
    width: 56px;
    height: 42px;
    object-fit: cover;
    border-radius: 6px;
}
.checkout-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.checkout-item-title {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #e0e0e0;
}
.checkout-item-license {
    font-size: 0.75rem;
    color: #888;
}
.checkout-item-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--high-vis);
    white-space: nowrap;
}
.checkout-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 2px solid #333;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}
.checkout-total-amount {
    color: var(--high-vis);
    font-size: 1.35rem;
}
.checkout-demo-badge {
    background: rgba(204, 255, 0, 0.1);
    border: 1px solid rgba(204, 255, 0, 0.3);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    color: var(--high-vis);
    text-align: center;
    margin-bottom: 1.25rem;
    font-weight: 600;
}
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.checkout-form label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.checkout-form label span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.checkout-form input {
    padding: 0.7rem 0.9rem;
    border: 2px solid #333;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
    font-family: 'SF Mono', 'Consolas', monospace;
    background: #1a1a1a;
    color: #e0e0e0;
}
.checkout-form input:focus {
    outline: none;
    border-color: var(--high-vis);
    box-shadow: 0 0 0 3px rgba(204,255,0,0.15);
}
.checkout-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.checkout-pay-btn {
    margin-top: 0.5rem;
    padding: 0.9rem;
    background: var(--high-vis);
    color: #000;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s;
}
.checkout-pay-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26,26,46,0.25);
}
.checkout-processing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem 0;
    color: #525252;
}
.checkout-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e5e5;
    border-top-color: #1a1a2e;
    border-radius: 50%;
    animation: ck-spin 0.8s linear infinite;
}
@keyframes ck-spin {
    to { transform: rotate(360deg); }
}
.checkout-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem 0;
    text-align: center;
}
.checkout-success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #009639, #00b84a);
    color: #fff;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}
.checkout-success h3 {
    font-size: 1.3rem;
    color: #1a1a2e;
}
.checkout-success p {
    color: #888;
    font-size: 0.95rem;
}
.checkout-dl-btn {
    display: block;
    margin: 0.4rem 0;
    padding: 0.65rem 1.2rem;
    background: #222;
    border-radius: 8px;
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.15s;
}
.checkout-dl-btn:hover {
    background: #333;
}
.checkout-done-btn {
    margin-top: 1rem;
    padding: 0.7rem 2rem;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}
.checkout-done-btn:hover {
    opacity: 0.9;
}
@media (max-width: 700px) {
    .checkout-content {
        grid-template-columns: 1fr;
    }
    .checkout-left {
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
    }
}

/* ===========================================
   BLUELIGHT MEDIA - COLOR PALETTE
   =========================================== */
:root {
    --police-blue: #002366;
    --fire-red: #d90429;
    --high-vis: #ccff00;
    --dark-bg: #050505;

    --primary: #002366;
    --secondary: #080808;
    --accent: #d90429;
    --accent-hover: #ff4444;
    /* UK Service Colors */
    --fire: #d90429;
    --fire-light: #ff4444;
    --police: #002366;
    --police-light: #1a4da1;
    --ambulance: #ccff00;
    --ambulance-light: #d7ff33;
    /* UI Colors */
    --white: #111;
    --gray-50: #181a1b;
    --gray-100: #1a1a1a;
    --gray-200: #222;
    --gray-300: #333;
    --gray-400: #555;
    --gray-500: #888;
    --gray-600: #b0b0b0;
    --gray-700: #ccc;
    --gray-800: #e0e0e0;
    --gray-900: #fff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.7);
    --shadow: 0 4px 8px rgba(0,0,0,0.75);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.8);
    --shadow-xl: 0 18px 28px rgba(0,0,0,0.85);
    --radius: 8px;
    --radius-lg: 12px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.5;
    color: #e0e0e0;
    background: var(--dark-bg);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Top Bar */
.top-bar {
    background: #080808;
    color: #888;
    padding: 0.4rem 2rem;
    font-size: 0.8rem;
    border-bottom: 1px solid #1a1a1a;
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-links {
    display: flex;
    gap: 1.25rem;
}

.top-bar-links a {
    color: #777;
    transition: color 0.2s;
    font-weight: 500;
}

.top-bar-links a:hover {
    color: var(--high-vis);
}

/* Main Header */
.main-header {
    background: #0a0a0a;
    padding: 1rem 2rem;
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    display: flex;
    gap: 0.25rem;
}

.logo-accent {
    color: var(--high-vis);
}

/* Search Container */
.search-container {
    flex: 1;
    max-width: 600px;
    display: flex;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-right: 50px;
    border: 1px solid #333;
    border-radius: var(--radius);
    font-size: 1rem;
    background: #111;
    color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: var(--high-vis);
    box-shadow: 0 0 0 3px rgba(204,255,0,0.2);
}

.search-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    padding: 0 1rem;
    background: var(--high-vis);
    color: #000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.search-btn:hover {
    background: #d7ff33;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.25rem;
    margin-left: auto;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    font-weight: 500;
    color: #ccc;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-links a:hover {
    background: rgba(204,255,0,0.1);
    color: var(--high-vis);
}

/* Dropdown Navigation */
.nav-links > li {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.nav-dropdown-trigger::after {
    content: '';
    font-size: 0.7rem;
    opacity: 0.7;
    transition: transform 0.2s;
}

.nav-links > li:hover .nav-dropdown-trigger::after {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 0.5rem 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    transform: translateX(-50%) translateY(10px);
    z-index: 1001;
}

.nav-links > li:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: #adb5bd;
    font-weight: 400;
    border-radius: 0;
    transition: all 0.2s;
}

.nav-dropdown a:hover {
    background: rgba(204,255,0,0.1);
    color: var(--high-vis);
}

.nav-dropdown-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    width: 24px;
    min-width: 24px;
    line-height: 1;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
    font-variant-emoji: emoji;
    text-align: center;
}

.nav-dropdown-divider {
    height: 1px;
    background: #333;
    margin: 0.5rem 0;
}

.nav-dropdown-header {
    padding: 0.5rem 1.25rem 0.25rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    font-weight: 600;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav-toggle:hover {
    border-color: var(--high-vis);
    color: var(--high-vis);
}

@media (max-width: 1024px) {
    .main-header {
        padding: 0.75rem 1rem;
    }

    .main-header nav {
        gap: 1rem;
    }

    .logo {
        font-size: 1rem;
        gap: 0.35rem;
    }

    .logo-icon {
        font-size: 1.25rem;
    }

    .search-container {
        max-width: none;
        min-width: 0;
        flex: 1;
    }

    .search-input {
        padding: 0.65rem 0.85rem;
        padding-right: 45px;
        font-size: 1rem;
    }

    .search-btn {
        padding: 0 0.75rem;
        right: 3px;
        top: 3px;
        bottom: 3px;
        font-size: 0.85rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 54px;
        left: 0;
        right: 0;
        background: #0a0a0a;
        border-top: 1px solid #222;
        flex-direction: column;
        padding: 0;
        gap: 0;
        max-height: calc(100vh - 54px);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid #222;
    }

    .nav-links > li > a {
        display: block;
        padding: 0.875rem 1.25rem;
        border-bottom: none;
        border-radius: 0;
    }

    .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: #050505;
        padding: 0 0 0 1.25rem;
        display: none;
        margin-top: 0;
    }

    .nav-links > li.dropdown-open .nav-dropdown {
        display: block;
    }

    .nav-dropdown a {
        padding: 0.75rem 1rem;
    }

    .mobile-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 0.65rem 0.75rem;
    }

    .main-header nav {
        gap: 0.5rem;
    }

    .logo {
        font-size: 0.95rem;
        flex-shrink: 0;
    }

    .logo-text {
        display: none;
    }

    .logo-icon {
        font-size: 1.25rem;
    }

    .search-container {
        display: none;
    }

    .nav-links {
        top: 50px;
    }

    .mobile-nav-toggle {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .main-header {
        padding: 0.5rem 0.5rem;
    }

    .main-header nav {
        gap: 0.25rem;
    }

    .logo {
        font-size: 0.9rem;
    }

    .mobile-nav-toggle {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        padding: 0;
    }

    .nav-links > li > a {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .nav-dropdown a {
        padding: 0.65rem 0.85rem;
        font-size: 0.9rem;
    }
}

/* Hero Search Section */
.hero-search {
    background: linear-gradient(135deg, #002366 0%, #050505 100%);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="8"/></svg>');
    background-size: 200px;
    opacity: 0.5;
}

.hero-search .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.hero-search h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
    color: #fff;
}

.hero-search p {
    font-size: 1.25rem;
    color: #ccc;
    margin-bottom: 2rem;
}

.hero-search-box {
    display: flex;
    gap: 0;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    background: #111;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid #333;
}

.hero-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    background: #111;
    color: #fff;
}

.hero-input:focus {
    outline: none;
}

.hero-input::placeholder {
    color: #888;
}

.hero-search-btn {
    padding: 1rem 2rem;
    background: var(--high-vis);
    color: #000;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.hero-search-btn:hover {
    background: #d7ff33;
}

.quick-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.quick-links span {
    color: #999;
}

.quick-links a {
    background: rgba(204,255,0,0.1);
    border: 1px solid rgba(204,255,0,0.25);
    color: var(--high-vis);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    transition: background 0.2s;
}

.quick-links a:hover {
    background: rgba(204,255,0,0.2);
}

.uk-services-strip {
    background: linear-gradient(180deg, #0a0a0a 0%, #0f0f0f 100%);
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    padding: 1.25rem 2rem;
}

.uk-services-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.uk-service-pill {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.9rem 1rem;
    border-radius: var(--radius);
    border: 1px solid #333;
    background: #111;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.uk-service-pill strong {
    font-size: 0.95rem;
    line-height: 1.2;
    color: #fff;
}

.uk-service-pill span {
    font-size: 0.8rem;
    color: #999;
}

.uk-service-pill:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.uk-service-pill.fire {
    border-color: rgba(217, 4, 41, 0.5);
}

.uk-service-pill.police {
    border-color: rgba(0, 35, 102, 0.7);
}

.uk-service-pill.ambulance {
    border-color: rgba(204, 255, 0, 0.3);
}

.uk-service-pill.command {
    border-color: rgba(204, 255, 0, 0.3);
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
}

.view-all {
    color: var(--high-vis);
    font-weight: 500;
    transition: opacity 0.2s;
}

.view-all:hover {
    opacity: 0.8;
}

.section-subtitle {
    color: #b0b0b0;
    margin-top: -1rem;
    margin-bottom: 1.5rem;
}

/* Browse Section */
.browse-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.collection-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: var(--shadow);
    border: 1px solid #222;
    transition: transform 0.3s, box-shadow 0.3s;
}

.collection-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.collection-image {
    position: absolute;
    inset: 0;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    opacity: 0.5;
}

.collection-card:hover .collection-image img {
    transform: scale(1.05);
}

.collection-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
}

.collection-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.image-count {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
}

/* Collection Card Service Colors */
.collection-card.fire::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--fire);
    z-index: 1;
}

.collection-card.police::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--police);
    z-index: 1;
}

.collection-card.ambulance::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--ambulance);
    z-index: 1;
}

/* Trending Section */
.trending-section {
    padding: 4rem 2rem;
    background: #0a0a0a;
}

.trending-section .section-header,
.trending-section .image-grid,
.trending-section .load-more {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Filter Pills */
.filter-pills {
    display: flex;
    gap: 0.5rem;
}

.pill {
    padding: 0.5rem 1.25rem;
    border: 1px solid #444;
    background: transparent;
    color: #ccc;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.pill:hover {
    border-color: var(--high-vis);
    color: var(--high-vis);
}

.pill.active {
    background: var(--high-vis);
    border-color: var(--high-vis);
    color: #000;
    font-weight: 600;
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.image-card {
    background: #111;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #222;
    transition: box-shadow 0.3s, transform 0.3s;
}

.image-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.image-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.image-card:hover .image-wrapper img {
    transform: scale(1.05);
}

.image-actions {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s;
}

.image-actions .like-btn::before {
    content: '\2665';
    font-size: 1rem;
    line-height: 1;
}

.image-actions .action-btn:not(.like-btn)::before {
    content: '\25ef';
    font-size: 0.95rem;
    line-height: 1;
}

.image-card:hover .image-actions {
    opacity: 1;
    transform: translateY(0);
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #222;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #ccc;
    box-shadow: var(--shadow);
    transition: transform 0.2s, background 0.2s;
}

.action-btn:hover {
    transform: scale(1.1);
    background: #333;
}

.like-btn.liked {
    background: var(--fire);
    color: var(--white);
}

.image-badge {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
}

.image-badge.fire { background: var(--fire); }
.image-badge.police { background: var(--police); }
.image-badge.ambulance { background: var(--ambulance); }

.new-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    background: #ffd700;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    z-index: 2;
    pointer-events: none;
}

.owner-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    background: #ccff00;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    z-index: 2;
    pointer-events: none;
}

.owner-badge-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    background: #ccff00;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contributor-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.65);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    z-index: 2;
    pointer-events: none;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contributor-badge-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.image-info {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.image-title {
    font-weight: 500;
    color: #e0e0e0;
    font-size: 0.9rem;
}

.image-price {
    color: var(--high-vis);
    font-weight: 600;
}

/* Load More */
.load-more {
    text-align: center;
}

.load-more-btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: transparent;
    border: 2px solid var(--high-vis);
    color: var(--high-vis);
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.2s;
}

.load-more-btn:hover {
    background: var(--high-vis);
    color: #000;
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 2rem;
    background: #0a0a0a;
}

.pricing-section .section-header {
    flex-direction: column;
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-section .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: #111;
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    border: 2px solid #333;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: var(--high-vis);
    transform: translateY(-4px);
}

.pricing-card.featured {
    background: #0f0f0f;
    color: #fff;
    transform: scale(1.05);
    border-color: var(--high-vis);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--high-vis);
    color: #000;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.pricing-card .price-main {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--high-vis);
}

.pricing-card.featured .price-main {
    color: var(--high-vis);
}

.pricing-card ul {
    list-style: none;
    text-align: left;
}

.pricing-card li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ccc;
}

.pricing-card li::before {
    content: '';
    color: var(--high-vis);
    font-weight: bold;
}

.pricing-card.featured li::before {
    color: var(--high-vis);
}

/* Footer */
footer {
    background: #0a0a0a;
    color: #e0e0e0;
    padding: 4rem 2rem 0;
    border-top: 1px solid #222;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-section h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
    color: #999;
}

.footer-section.brand p {
    color: #ccc;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.vat-notice {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #ccc;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--high-vis);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    color: #888;
    font-size: 0.85rem;
}

/* Page Header */
.page-header {
    padding: 3rem 2rem;
    text-align: center;
    color: var(--white);
    position: relative;
}

.page-header.fire { background: linear-gradient(135deg, var(--fire), #a01a10); }
.page-header.police { background: linear-gradient(135deg, var(--police), #003d7a); }
.page-header.ambulance { background: linear-gradient(135deg, var(--ambulance), #006228); }
.page-header.about { background: linear-gradient(135deg, var(--primary), var(--secondary)); }

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 1rem 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.gallery-item:hover .product-overlay {
    opacity: 1;
    transform: translateY(0);
}

.product-overlay .price {
    color: #f8fafc;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.btn-buy {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-buy:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

.btn-preview {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-preview:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

/* About Page */
.about-content, .legal-content {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2, .legal-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: #fff;
}

.about-content p, .legal-content p {
    margin-bottom: 1rem;
    color: #ccc;
}

.licence-info {
    background: #111;
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid #333;
}

.licence-info h3 {
    margin-bottom: 1rem;
    color: #fff;
}

.licence-info ul {
    margin-left: 1.5rem;
}

.licence-info li {
    margin-bottom: 0.5rem;
    color: #ccc;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    z-index: 3000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.cookie-banner.hidden {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-banner p {
    font-size: 0.9rem;
}

.cookie-banner a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-banner button {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.cookie-banner button:hover {
    background: var(--accent-hover);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 70%;
    border-radius: var(--radius);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

.lightbox-info {
    text-align: center;
    color: var(--white);
}

.lightbox-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.lightbox-price {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 2rem;
}

.cookie-table th,
.cookie-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.cookie-table th {
    background: var(--primary);
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-section .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-header nav {
        flex-wrap: wrap;
    }
    
    .search-container {
        order: 3;
        max-width: 100%;
        width: 100%;
        margin-top: 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-search h1 {
        font-size: 2rem;
    }
    
    .hero-search-box {
        flex-direction: column;
    }
    
    .hero-search-btn {
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }

    .uk-services-strip {
        padding: 1rem;
    }

    .uk-services-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .collection-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-pills {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-section li {
        margin: 0;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .top-bar {
        display: none;
    }
    
    .hero-search {
        padding: 3rem 1rem;
    }
    
    .hero-search h1 {
        font-size: 1.5rem;
    }

    .uk-services-inner {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .image-info {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }
}

/* Old styles compatibility - keeping some for gallery pages */
.categories {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.categories h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    background: #111;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid;
}

.category-card.fire { border-color: var(--fire); }
.category-card.police { border-color: var(--police); }
.category-card.ambulance { border-color: var(--ambulance); }

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--gray-500);
}

/* Featured section */
.featured {
    padding: 4rem 2rem;
    background: #0a0a0a;
}

.featured h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #fff;
}

.section-desc {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 2rem;
}

/* ============================================
   DYNAMIC GALLERY - Loading & Empty States
   ============================================ */


.no-images-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: #111;
    border-radius: var(--radius-lg);
    border: 2px dashed #333;
}

.no-images-message p {
    color: #888;
    margin-bottom: 0.5rem;
}

.no-images-message a {
    color: var(--high-vis);
    font-weight: 600;
}

.no-images-message a:hover {
    text-decoration: underline;
}

.error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: var(--fire);
    background: rgba(220, 38, 38, 0.1);
    border-radius: var(--radius);
}

/* ============================================
   LIGHTBOX STYLES
   ============================================ */

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
    position: relative;
}

.lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
    transition: all 0.2s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 2001;
    transition: all 0.2s;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav.prev {
    left: 1rem;
    border-radius: 0 8px 8px 0;
}

.lightbox-nav.next {
    right: 1rem;
    border-radius: 8px 0 0 8px;
}

.lightbox-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    background: #0f0f0f;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.lightbox-image-section {
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.lightbox-image-wrapper {
    position: relative;
    max-width: 100%;
    max-height: 80vh;
}

.lightbox-image-wrapper img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-details {
    padding: 2rem;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 90vh;
}

.lightbox-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.lightbox-description {
    color: #aaa;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.lightbox-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #111;
    border-radius: var(--radius);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #888;
    font-weight: 600;
}

.meta-value {
    color: #ddd;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.lightbox-keywords {
    margin-bottom: 1.5rem;
}

.keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.keyword-pill {
    padding: 0.25rem 0.75rem;
    background: #222;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #ccc;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.lightbox-licensing h3 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.license-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.license-option {
    cursor: pointer;
}

.license-option input {
    display: none;
}

.license-card {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.25rem;
    padding: 1rem;
    border: 2px solid #333;
    border-radius: var(--radius);
    transition: all 0.2s;
}

.license-option input:checked + .license-card {
    border-color: var(--high-vis);
    background: rgba(204, 255, 0, 0.05);
}

.license-name {
    font-weight: 600;
    color: #ddd;
}

.license-price {
    font-weight: 700;
    color: var(--high-vis);
    text-align: right;
}

.license-desc {
    grid-column: 1 / -1;
    font-size: 0.8rem;
    color: #888;
}

.lightbox-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.lightbox-actions .btn-primary,
.lightbox-actions .btn-secondary,
.lightbox-actions .btn-add-collection {
    flex: 1 1 170px;
    min-width: 0;
    white-space: normal;
    line-height: 1.3;
    padding: 0.85rem 1rem;
}

.lightbox-actions .btn-primary:disabled {
    background: var(--gray-400, #555);
    color: var(--gray-600, #999);
    cursor: not-allowed;
    opacity: 0.6;
    filter: grayscale(0.4);
}

.lightbox-actions .btn-primary:disabled:hover {
    background: var(--gray-400, #555);
}

.btn-report {
    flex: 1 1 100%;
    padding: 0.6rem 1rem;
    background: transparent;
    border: 1px solid rgba(217, 4, 41, 0.35);
    border-radius: var(--radius, 8px);
    color: #ff6b6b;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.btn-report:hover {
    background: rgba(217, 4, 41, 0.12);
    border-color: rgba(217, 4, 41, 0.6);
}

.report-panel {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(217, 4, 41, 0.06);
    border: 1px solid rgba(217, 4, 41, 0.25);
    border-radius: var(--radius, 8px);
}

.report-panel.active {
    display: block;
}

.report-panel-title {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    color: #ff6b6b;
}

.report-select,
.report-textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    margin-bottom: 0.6rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius, 8px);
    color: #e0e0e0;
    font-size: 0.875rem;
    box-sizing: border-box;
}

.report-select option {
    background: #1a1a1a;
}

.report-textarea {
    resize: vertical;
    min-height: 60px;
}

.report-panel-actions {
    display: flex;
    gap: 0.6rem;
}

.btn-report-submit {
    flex: 1;
    padding: 0.6rem 1rem;
    background: rgba(217, 4, 41, 0.8);
    border: none;
    border-radius: var(--radius, 8px);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-report-submit:hover:not(:disabled) {
    background: var(--fire, #d90429);
}

.btn-report-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-report-cancel {
    padding: 0.6rem 1rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius, 8px);
    color: #999;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-report-cancel:hover {
    background: rgba(255,255,255,0.06);
}

.btn-add-cart, .btn-favorite {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-add-cart {
    background: var(--ambulance);
    color: white;
}

.btn-add-cart:hover {
    background: #047857;
}

.btn-favorite {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-favorite:hover {
    background: var(--gray-200);
}

.btn-favorite.active {
    background: rgba(217, 4, 41, 0.2);
    color: var(--fire);
    border-color: var(--fire);
}

.similar-images {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
}

.similar-images h4 {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #888;
}

.similar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.similar-item {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.similar-item:hover {
    transform: scale(1.05);
}

.similar-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   LIGHTBOX RATINGS & COMMENTS
   ============================================ */

.lightbox-rating-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
}

.lightbox-rating-section h4,
.lightbox-comments-section h4 {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rating-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.star-rating-input {
    display: flex;
    gap: 0.25rem;
}

.star-btn {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: #444;
    cursor: pointer;
    padding: 0.25rem;
    transition: all 0.15s;
    line-height: 1;
}

.star-btn::before {
    content: '\2605';
}

.star-btn:hover,
.star-btn.filled {
    color: var(--high-vis);
    transform: scale(1.1);
}

.star-btn.user-rated {
    color: var(--high-vis);
}

.rating-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-avg {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--high-vis);
}

.rating-count {
    font-size: 0.85rem;
    color: #666;
}

/* Comments Section */
.lightbox-comments-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
}

.comment-form {
    margin-bottom: 1.5rem;
}

.comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: var(--radius);
    color: #ddd;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 60px;
    font-family: inherit;
}

.comment-form textarea:focus {
    outline: none;
    border-color: var(--high-vis);
    box-shadow: 0 0 0 2px rgba(204, 255, 0, 0.1);
}

.comment-form textarea::placeholder {
    color: #555;
}

.btn-post-comment {
    margin-top: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--high-vis);
    color: #000;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-post-comment:hover {
    background: #b8e600;
}

.comments-container {
    max-height: 300px;
    overflow-y: auto;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comments-loading,
.comments-error,
.comments-empty {
    padding: 1.5rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.comments-error {
    color: var(--fire);
}

.comment {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #1a1a1a;
    border-radius: var(--radius);
    border: 1px solid #252525;
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    flex-wrap: wrap;
}

.comment-author {
    font-weight: 600;
    color: #ddd;
    font-size: 0.9rem;
}

.verified-badge {
    background: var(--high-vis);
    color: #000;
    font-size: 0.65rem;
    padding: 0.1rem 0.35rem;
    border-radius: 9999px;
    font-weight: 700;
}

.comment-date {
    font-size: 0.75rem;
    color: #666;
}

.comment-text {
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.comment-actions {
    display: flex;
    gap: 1rem;
}

.comment-like-btn,
.comment-delete-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.2rem 0;
    transition: color 0.15s;
}

.comment-like-btn:hover {
    color: var(--fire);
}

.comment-delete-btn:hover {
    color: var(--fire);
}

/* Lightbox Notification */
.lightbox-notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1.5rem;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: var(--radius);
    color: #ddd;
    font-size: 0.9rem;
    z-index: 10001;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
}

.lightbox-notification.success {
    border-color: var(--ambulance);
    color: var(--ambulance);
}

.lightbox-notification.error {
    border-color: var(--fire);
    color: var(--fire);
}

.lightbox-notification.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translate(-50%, -10px);
    }
}

@media (max-width: 900px) {
    .lightbox-content {
        grid-template-columns: 1fr;
    }
    
    .lightbox-image-section {
        min-height: 300px;
    }
    
    .lightbox-nav {
        top: auto;
        bottom: 5rem;
        transform: none;
    }
}

/* Collection Picker Modal */
.collection-picker-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.collection-picker-overlay.active {
    opacity: 1;
    visibility: visible;
}

.collection-picker-container {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 400px;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.2s;
}

.collection-picker-overlay.active .collection-picker-container {
    transform: scale(1);
}

.collection-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gray-300);
}

.collection-picker-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--gray-900);
}

.collection-picker-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-600);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.collection-picker-close:hover {
    color: var(--gray-900);
}

.collection-picker-body {
    padding: 1rem;
    overflow-y: auto;
    flex: 1;
}

.collection-picker-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.collection-picker-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--gray-200);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    text-align: left;
}

.collection-picker-item:hover {
    background: var(--gray-300);
    border-color: var(--high-vis);
}

.collection-picker-icon {
    font-size: 1.5rem;
}

.collection-picker-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.collection-picker-name {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.95rem;
}

.collection-picker-count {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.collection-picker-add {
    font-size: 1.25rem;
    color: var(--high-vis);
    font-weight: 700;
}

.collection-picker-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--gray-600);
}

.collection-picker-empty p {
    margin-bottom: 1rem;
}

.collection-picker-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--gray-300);
    text-align: center;
}

.collection-picker-create {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--high-vis);
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.collection-picker-create:hover {
    opacity: 0.8;
}

.btn-add-collection {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-add-collection:hover {
    background: var(--gray-200);
    border-color: var(--high-vis);
    color: var(--gray-900);
}

/* ============================================
   SEARCH STYLES
   ============================================ */

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #111;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid #333;
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 100;
}

.search-suggestions.active {
    display: block;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.15s;
    color: #ccc;
}

.suggestion-item:hover {
    background: #1a1a1a;
}

.search-results-section {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.search-header {
    margin-bottom: 2rem;
}

.search-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.search-header p {
    color: #888;
}

.search-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-controls-unified {
    display: grid;
    grid-template-columns: minmax(220px, 1.6fr) repeat(4, minmax(140px, 1fr)) auto;
    align-items: flex-end;
    gap: 0.85rem 1rem;
    padding: 0.9rem 1rem;
    background: linear-gradient(180deg, #252a31, #1e2228);
    border: 1px solid #3f4550;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    max-width: 100%;
    overflow: hidden;
}

.search-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem 1.5rem;
}

.search-filter-row-top {
    justify-content: space-between;
}

.search-filter-row-bottom {
    padding-top: 0;
    border-top: none;
}

.search-controls-unified .adv-filter-group label {
    color: #b8bcc3;
}

.search-controls-unified .adv-filter-group {
    min-width: 0;
    background: rgba(14, 16, 20, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.6rem 0.65rem;
}

.search-controls-unified .category-group,
.search-controls-unified .orientation-group {
    padding-bottom: 0.52rem;
}

.search-controls-unified .date-range-group {
    padding-bottom: 0.56rem;
}

.search-controls-unified .filter-pills,
.search-controls-unified .orientation-pills {
    flex-wrap: wrap;
}

.search-controls-unified #sortSelect,
.search-controls-unified #regionSelect,
.search-controls-unified .date-range-inputs input[type="date"] {
    background: #13161b;
    border-color: #3f4550;
}

.search-controls-unified .date-range-inputs {
    color: #b8bcc3;
}

.search-controls-unified .pill {
    border-color: #3f4550;
}

.sort-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-control label {
    color: #888;
    font-size: 0.9rem;
}

.sort-control select {
    padding: 0.5rem 1rem;
    border: 1px solid #333;
    border-radius: var(--radius);
    background: #111;
    color: #ccc;
    cursor: pointer;
}

/* Advanced filters row */
.search-advanced-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1.5rem;
    padding: 1rem 1.25rem;
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.adv-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.filter-actions-group {
    margin-left: 0;
    align-self: center;
    justify-content: flex-end;
    display: flex;
    background: transparent;
    border: none;
    padding: 0;
}

.filter-actions-group label {
    display: none;
}

.adv-filter-group label {
    font-size: 0.74rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.orientation-pills {
    display: flex;
    gap: 0.4rem;
}

.orientation-pills .pill {
    padding: 0.25rem 0.7rem;
    font-size: 0.78rem;
}

#regionSelect {
    padding: 0.4rem 0.75rem;
    border: 1px solid #333;
    border-radius: var(--radius);
    background: #1a1a1a;
    color: #ccc;
    font-size: 0.82rem;
    cursor: pointer;
    min-width: 145px;
}

#sortSelect {
    padding: 0.4rem 0.75rem;
    border: 1px solid #333;
    border-radius: var(--radius);
    background: #1a1a1a;
    color: #ccc;
    font-size: 0.82rem;
    cursor: pointer;
    min-width: 160px;
}

.date-range-inputs {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #888;
    font-size: 0.8rem;
    flex-wrap: wrap;
}

.date-range-inputs input[type="date"] {
    padding: 0.35rem 0.6rem;
    border: 1px solid #333;
    border-radius: var(--radius);
    background: #1a1a1a;
    color: #ccc;
    font-size: 0.8rem;
    cursor: pointer;
    color-scheme: dark;
    min-width: 120px;
    max-width: 160px;
}

.adv-filter-reset {
    padding: 0.45rem 0.9rem;
    font-size: 0.84rem;
    border-radius: 8px;
    min-height: 38px;
    align-self: flex-end;
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.13);
    font-weight: 600;
}

@media (max-width: 1400px) {
    .search-controls-unified {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .category-group,
    .date-range-group {
        grid-column: span 2;
    }
}

@media (max-width: 980px) {
    .search-controls-unified {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-group,
    .orientation-group,
    .date-range-group {
        grid-column: 1 / -1;
    }

    .filter-actions-group {
        grid-column: 1 / -1;
        justify-self: end;
    }
}

@media (max-width: 600px) {
    .search-controls-unified {
        grid-template-columns: 1fr;
        align-items: stretch;
        padding: 1rem;
    }

    .search-controls-unified .adv-filter-group {
        padding: 0.55rem 0.6rem;
    }

    .search-filter-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.9rem;
    }

    .search-filter-row-bottom {
        padding-top: 0.8rem;
    }

    .search-advanced-filters {
        flex-direction: column;
        align-items: stretch;
    }

    #sortSelect,
    #regionSelect {
        width: 100%;
    }

    .filter-actions-group {
        grid-column: auto;
        width: 100%;
        justify-self: stretch;
    }

    .adv-filter-reset {
        width: 100%;
    }

    .date-range-inputs {
        flex-wrap: wrap;
    }

    .date-range-inputs input[type="date"] {
        flex: 1 1 140px;
    }
}

.search-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-500);
}

.search-empty svg {
    stroke: var(--gray-300);
    margin-bottom: 1rem;
}

.search-empty h3 {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    background: var(--gray-800);
    color: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-xl);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3000;
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-success {
    background: var(--ambulance);
}

.toast-error {
    background: var(--fire);
}

.toast-info {
    background: var(--police);
}

.toast-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    font-size: 0.75rem;
}

.toast-message {
    font-weight: 500;
}

/* ============================================
   LOADING SKELETONS
   ============================================ */

.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card {
    aspect-ratio: 4/3;
}

.skeleton-text {
    height: 1rem;
    margin-top: 0.5rem;
}

.skeleton-text.short {
    width: 60%;
}

/* ============================================
   LIGHT MODE (opt-in)
   ============================================ */

body.light-mode {
    --dark-bg: #f5f5f5;
    --police-blue: #002366;
    --fire-red: #d90429;
    --high-vis: #006400;
    --white: #fff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #868e96;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    background: #f5f5f5;
    color: #212529;
}

body.light-mode .top-bar {
    background: #e9ecef;
    border-color: #dee2e6;
    color: #495057;
}

body.light-mode .top-bar-links a {
    color: #495057;
}

body.light-mode .top-bar-links a:hover {
    color: var(--police-blue);
}

body.light-mode .main-header {
    background: #fff;
    border-color: #e9ecef;
}

body.light-mode .logo {
    color: #212529;
}

body.light-mode .logo-accent {
    color: var(--police-blue);
}

body.light-mode .search-input {
    background: #f1f3f5;
    border-color: #dee2e6;
    color: #212529;
}

body.light-mode .search-input:focus {
    border-color: var(--police-blue);
}

body.light-mode .nav-link {
    color: #495057;
}

body.light-mode .nav-link:hover {
    color: var(--police-blue);
}

body.light-mode .hero-search {
    background: linear-gradient(135deg, #002366 0%, #1a4da1 100%);
}

body.light-mode .hero-search h1,
body.light-mode .hero-search p {
    color: #fff;
}

body.light-mode .hero-input {
    background: #fff;
    color: #212529;
}

body.light-mode .hero-search-btn {
    background: var(--fire-red);
    color: #fff;
}

body.light-mode .quick-links span {
    color: rgba(255,255,255,0.9);
}

body.light-mode .quick-links a {
    color: #fff;
    background: rgba(255,255,255,0.2);
}

body.light-mode .section-header h2 {
    color: #212529;
}

body.light-mode .section-header a {
    color: var(--police-blue);
}

body.light-mode .collection-card {
    border-color: #e9ecef;
}

body.light-mode .trending-section {
    background: #fff;
}

body.light-mode .pill {
    border-color: #dee2e6;
    color: #495057;
}

body.light-mode .pill:hover {
    border-color: var(--police-blue);
    color: var(--police-blue);
}

body.light-mode .pill.active {
    background: var(--police-blue);
    border-color: var(--police-blue);
    color: #fff;
}

body.light-mode .image-card {
    background: #fff;
    border-color: #e9ecef;
}

body.light-mode .image-title {
    color: #212529;
}

body.light-mode .image-price {
    color: var(--high-vis);
}

body.light-mode .load-more-btn {
    border-color: var(--police-blue);
    color: var(--police-blue);
}

body.light-mode .load-more-btn:hover {
    background: var(--police-blue);
    color: #fff;
}

body.light-mode .pricing-section {
    background: #f8f9fa;
}

body.light-mode .pricing-card {
    background: #fff;
    border-color: #e9ecef;
}

body.light-mode .pricing-card h3 {
    color: #212529;
}

body.light-mode .pricing-card .price-main {
    color: var(--high-vis);
}

body.light-mode .pricing-card li {
    color: #495057;
}

body.light-mode .pricing-card li::before {
    color: var(--high-vis);
}

body.light-mode .pricing-card.featured {
    background: var(--police-blue);
    color: #fff;
}

body.light-mode .pricing-card.featured h3,
body.light-mode .pricing-card.featured li {
    color: #fff;
}

body.light-mode .popular-badge {
    background: var(--fire-red);
}

body.light-mode footer {
    background: #212529;
    color: #fff;
}

body.light-mode .footer-section h4 {
    color: #adb5bd;
}

body.light-mode .footer-section a {
    color: #ced4da;
}

body.light-mode .footer-section a:hover {
    color: #fff;
}

body.light-mode .uk-services-strip {
    background: linear-gradient(180deg, #e9ecef 0%, #f1f3f5 100%);
    border-color: #dee2e6;
}

body.light-mode .uk-service-pill {
    background: #fff;
    border-color: #dee2e6;
}

body.light-mode .uk-service-pill strong {
    color: #212529;
}

body.light-mode .uk-service-pill span {
    color: #495057;
}

body.light-mode .lightbox-content {
    background: #fff;
}

body.light-mode .lightbox-title {
    color: #212529;
}

body.light-mode .lightbox-description {
    color: #495057;
}

body.light-mode .lightbox-meta {
    background: #f8f9fa;
}

body.light-mode .meta-label {
    color: #868e96;
}

body.light-mode .meta-value {
    color: #212529;
}

body.light-mode .keyword-pill {
    background: #e9ecef;
    color: #495057;
}

body.light-mode .license-card {
    border-color: #dee2e6;
}

body.light-mode .license-option input:checked + .license-card {
    border-color: var(--police-blue);
    background: rgba(0, 35, 102, 0.05);
}

body.light-mode .license-name {
    color: #212529;
}

body.light-mode .license-price {
    color: var(--high-vis);
}

body.light-mode .license-desc {
    color: #868e96;
}

body.light-mode .action-btn {
    background: #fff;
    color: #495057;
}

body.light-mode .action-btn:hover {
    background: #f1f3f5;
}

body.light-mode .cart-drawer-panel {
    background: #fff;
}

body.light-mode .cart-drawer-header {
    border-color: #e9ecef;
}

body.light-mode .cart-drawer-header h2 {
    color: #212529;
}

body.light-mode .cart-drawer-item {
    background: #f8f9fa;
}

body.light-mode .cart-drawer-item-title {
    color: #212529;
}

body.light-mode .cart-drawer-item-price {
    color: var(--high-vis);
}

body.light-mode .cart-drawer-footer {
    background: #f8f9fa;
    border-color: #e9ecef;
}

body.light-mode .cart-drawer-total {
    color: #212529;
}

/* ================================================
   COMMUNITY FEATURES STYLES
   ================================================ */

/* Page Header Section */
.page-header-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(0, 35, 102, 0.3), rgba(217, 4, 41, 0.2));
    margin-bottom: 2rem;
}

.page-header-section h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.page-header-section p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* Collections Page */
.collections-page {
    min-height: 80vh;
    padding: 0 2rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.collections-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.collections-tabs {
    display: flex;
    gap: 0.5rem;
    background: var(--gray-100);
    padding: 0.25rem;
    border-radius: var(--radius);
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--gray-600);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.tab-btn:hover {
    color: var(--gray-800);
}

.tab-btn.active {
    background: var(--high-vis);
    color: #000;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Collection Card - Full style used on Collections page */
.collection-card-full {
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.collection-card-full:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--high-vis);
}

.collection-card-full .collection-preview {
    height: 140px;
    background: linear-gradient(135deg, var(--police, #002366), var(--fire, #d90429));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.collection-card-full .collection-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-card-full .collection-thumbnail {
    font-size: 3rem;
}

.collection-card-full .featured-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--high-vis);
    color: #000;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.collection-card-full .community-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--police);
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.collection-card-full .collection-info {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    background: transparent;
}

.collection-card-full .collection-info h3 {
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: none;
}

.collection-card-full .collection-desc {
    color: var(--gray-600);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.collection-card-full .collection-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.collection-card-full .collection-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.collection-card-full .collection-actions .btn-small {
    flex: 1;
    text-align: center;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-block;
    cursor: pointer;
}

.collection-card-full .collection-actions .btn-small:first-child {
    background: var(--gray-200);
    color: var(--gray-800);
    border: none;
}

.collection-card-full .collection-actions .btn-small:first-child:hover {
    background: var(--high-vis);
    color: #000;
}

.collection-card-full .collection-actions .btn-danger {
    background: rgba(217, 4, 41, 0.15);
    color: #ff4d6d;
    border: 1px solid rgba(217, 4, 41, 0.3);
}

.collection-card-full .collection-actions .btn-danger:hover {
    background: var(--fire);
    color: #fff;
    border-color: var(--fire);
}

.collections-empty,
.auth-prompt {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--gray-600);
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--gray-300);
}

.auth-prompt .btn-primary {
    margin-top: 1rem;
}

/* Requests Page */
.requests-page {
    min-height: 80vh;
    padding: 0 2rem 3rem;
}

.requests-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.requests-filters {
    display: flex;
    gap: 1rem;
}

.requests-filters select {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 6px;
}

.requests-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.request-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.request-header {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.request-category {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.request-category.cat-fire {
    background: rgba(217, 4, 41, 0.2);
    color: #ff6b6b;
}

.request-category.cat-police {
    background: rgba(0, 35, 102, 0.3);
    color: #74c0fc;
}

.request-category.cat-ems {
    background: rgba(204, 255, 0, 0.15);
    color: var(--high-vis, #ccff00);
}

.request-category.cat-other {
    background: rgba(255, 255, 255, 0.1);
    color: #adb5bd;
}

.request-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.request-status.status-open {
    background: rgba(64, 192, 87, 0.2);
    color: #69db7c;
}

.request-status.status-in-progress {
    background: rgba(255, 193, 7, 0.2);
    color: #ffd43b;
}

.request-status.status-fulfilled {
    background: rgba(102, 126, 234, 0.2);
    color: #748ffc;
}

.request-title {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.request-description {
    color: #adb5bd;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.request-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #868e96;
    margin-bottom: 1rem;
}

.request-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.request-responses {
    color: #868e96;
    font-size: 0.9rem;
}

.requests-empty {
    text-align: center;
    padding: 3rem;
    color: #adb5bd;
}

/* Blog Page */
.blog-page {
    min-height: 80vh;
    padding: 0 2rem 3rem;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

@media (max-width: 900px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: var(--gray-200);
    border: 1px solid var(--gray-300);
    color: var(--gray-600);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--high-vis);
    color: var(--dark-bg);
    border-color: var(--high-vis);
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blog-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-300);
    transition: border-color 0.2s, transform 0.2s;
}

.blog-card:hover {
    border-color: var(--high-vis);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .blog-card {
        grid-template-columns: 1fr;
    }
}

.blog-card-image {
    height: 100%;
    min-height: 150px;
    background: linear-gradient(135deg, var(--police-blue, #002366), var(--fire-red, #d90429));
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.blog-card-content {
    padding: 1.25rem;
}

.blog-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--high-vis);
    color: var(--dark-bg);
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-card-content h2 {
    margin-bottom: 0.5rem;
}

.blog-card-content h2 a {
    color: var(--gray-900);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card-content h2 a:hover {
    color: var(--high-vis);
}

.blog-excerpt {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-section {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    border: 1px solid var(--gray-300);
}

.sidebar-section h3 {
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.newsletter-sidebar p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.newsletter-sidebar form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-sidebar input {
    padding: 0.75rem;
    background: var(--gray-200);
    border: 1px solid var(--gray-300);
    color: var(--gray-800);
    border-radius: var(--radius);
}

.newsletter-sidebar input:focus {
    outline: none;
    border-color: var(--high-vis);
}

.popular-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-posts li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-300);
}

.popular-posts li:last-child {
    border-bottom: none;
}

.popular-posts a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.popular-posts a:hover {
    color: var(--high-vis);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.35rem 0.75rem;
    background: var(--gray-200);
    color: var(--gray-600);
    border-radius: var(--radius);
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid var(--gray-300);
}

.tag:hover {
    background: var(--high-vis);
    color: var(--dark-bg);
    border-color: var(--high-vis);
}

.featured-mini {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.featured-mini-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--police), var(--fire));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-900);
    font-weight: bold;
    font-size: 1.2rem;
}

.featured-mini-info {
    flex: 1;
}

.featured-mini-info strong {
    color: var(--gray-900);
    display: block;
}

.featured-mini-info p {
    color: var(--gray-500);
    font-size: 0.85rem;
    margin: 0;
}

/* Gift Cards Page */
.gift-cards-page {
    min-height: 80vh;
    padding: 0 2rem 3rem;
}

.gift-cards-container {
    max-width: 1000px;
    margin: 0 auto;
}

.gift-card-purchase,
.gift-card-redeem,
.gift-card-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.gift-card-purchase h2,
.gift-card-redeem h2,
.gift-card-info h2 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.gift-card-purchase > p,
.gift-card-redeem > p {
    color: #adb5bd;
    margin-bottom: 1.5rem;
}

.gift-card-preview {
    margin-bottom: 2rem;
}

.gift-card-visual {
    max-width: 350px;
    margin: 0 auto;
}

.gift-card-design {
    background: linear-gradient(135deg, var(--police-blue, #002366), var(--fire-red, #d90429));
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    aspect-ratio: 1.6/1;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.gift-card-logo {
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
}

.gift-card-amount {
    color: var(--high-vis, #ccff00);
    font-size: 2.5rem;
    font-weight: bold;
    margin: auto 0;
}

.gift-card-code {
    color: rgba(255, 255, 255, 0.7);
    font-family: monospace;
    font-size: 1rem;
    letter-spacing: 2px;
}

.amount-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.amount-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.amount-btn.active,
.amount-btn:hover {
    border-color: var(--high-vis, #ccff00);
    background: rgba(204, 255, 0, 0.1);
}

.gift-card-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin: 1.5rem 0;
    font-size: 1.2rem;
}

.gift-card-total span:first-child {
    color: #adb5bd;
}

.total-amount {
    color: var(--high-vis, #ccff00);
    font-weight: bold;
    font-size: 1.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.info-item {
    text-align: center;
    padding: 1rem;
}

.info-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.info-item h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #adb5bd;
    font-size: 0.9rem;
}

/* Print Store Page */
.print-store-page {
    min-height: 80vh;
    padding: 0 2rem 3rem;
}

.print-store-intro {
    margin-bottom: 3rem;
}

.print-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.print-feature {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.print-feature h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.print-feature p {
    color: #adb5bd;
    font-size: 0.9rem;
}

.print-selection-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.print-selection-info h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--high-vis, #ccff00);
    color: #050505;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.step p {
    color: #adb5bd;
    font-size: 0.9rem;
}

.step a {
    color: var(--high-vis, #ccff00);
}

.popular-prints h2 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.prints-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.print-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.print-image-placeholder {
    height: 150px;
    background: linear-gradient(135deg, var(--police-blue, #002366), var(--fire-red, #d90429));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.print-info {
    padding: 1.25rem;
}

.print-info h3 {
    color: #fff;
    margin-bottom: 0.25rem;
}

.print-category {
    color: #868e96;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.print-pricing {
    color: var(--high-vis, #ccff00);
    font-weight: 600;
    margin-bottom: 1rem;
}

.print-options-guide h2 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.options-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.options-table {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
}

.options-table h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.options-table table {
    width: 100%;
    border-collapse: collapse;
}

.options-table th,
.options-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.options-table th {
    color: #adb5bd;
    font-weight: 500;
    font-size: 0.85rem;
}

.options-table td {
    color: #fff;
}

.options-table td:not(:first-child) {
    color: var(--high-vis, #ccff00);
}

.custom-print-request {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
}

.custom-print-request h2 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.custom-print-request > p {
    color: #adb5bd;
    margin-bottom: 1.5rem;
}

/* Bulk Licensing Page */
.bulk-licensing-page {
    min-height: 80vh;
    padding: 0 2rem 3rem;
}

.bulk-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.bulk-intro p {
    color: #adb5bd;
    font-size: 1.1rem;
    line-height: 1.7;
}

.bulk-options h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.package-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.package-card:hover {
    border-color: rgba(204, 255, 0, 0.3);
}

.package-card.featured {
    border-color: var(--high-vis, #ccff00);
    transform: scale(1.02);
}

.package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--high-vis, #ccff00);
    color: #050505;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.package-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.package-header h3 {
    color: #fff;
    margin-bottom: 0.75rem;
}

.package-price .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--high-vis, #ccff00);
}

.package-price .period {
    color: #868e96;
    font-size: 0.9rem;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.package-features li {
    padding: 0.5rem 0;
    color: #adb5bd;
    font-size: 0.95rem;
}

.package-savings {
    text-align: center;
    color: #69db7c;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.package-card .btn-primary {
    width: 100%;
}

.bulk-use-cases h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.use-case {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.use-case-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.use-case h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.use-case p {
    color: #adb5bd;
    font-size: 0.85rem;
}

.custom-bulk-request {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.custom-bulk-request h2 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.custom-bulk-request > p {
    color: #adb5bd;
    margin-bottom: 1.5rem;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #adb5bd;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.bulk-faq h2 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
}

.faq-item h4 {
    color: #fff;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: #adb5bd;
    line-height: 1.6;
}

/* Photographer Profile Page */
.photographer-page {
    min-height: 80vh;
    padding: 0 2rem 3rem;
}

.photographer-header {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .photographer-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.photographer-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--police-blue, #002366), var(--fire-red, #d90429));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
    flex-shrink: 0;
}

.photographer-info {
    flex: 1;
}

.photographer-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.photographer-name h1 {
    color: #fff;
    font-size: 1.75rem;
}

.verified-badge {
    background: var(--high-vis, #ccff00);
    color: #050505;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.photographer-bio {
    color: #adb5bd;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.photographer-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

.stat-label {
    color: #868e96;
    font-size: 0.85rem;
}

.photographer-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.photographer-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.photographer-tabs .tab-btn {
    background: transparent;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 1.5rem;
}

.photographer-tabs .tab-btn.active {
    background: transparent;
    border-bottom-color: var(--high-vis, #ccff00);
    color: var(--high-vis, #ccff00);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.portfolio-item {
    aspect-ratio: 4/3;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.portfolio-item:hover {
    transform: scale(1.02);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
}

.about-content h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.about-content p {
    color: #adb5bd;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #adb5bd;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Comments & Ratings */
.comments-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.comments-section h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.comment-form {
    margin-bottom: 1.5rem;
}

.comment-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    resize: vertical;
    min-height: 80px;
    margin-bottom: 0.75rem;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.comment-author {
    color: #fff;
    font-weight: 500;
}

.comment-date {
    color: #868e96;
    font-size: 0.85rem;
}

.comment-text {
    color: #adb5bd;
    line-height: 1.6;
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.star {
    font-size: 1.5rem;
    color: #495057;
    cursor: pointer;
    transition: color 0.2s;
}

.star.active,
.star:hover {
    color: #ffd43b;
}

.rating-count {
    color: #868e96;
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
}

.testimonials-section h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
}

.testimonial-text {
    color: #adb5bd;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.testimonial-text::before {
    content: '"';
    font-size: 2rem;
    color: var(--high-vis, #ccff00);
    line-height: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--police-blue, #002366), var(--fire-red, #d90429));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
}

.testimonial-author-info strong {
    color: #fff;
    display: block;
}

.testimonial-author-info span {
    color: #868e96;
    font-size: 0.85rem;
}

/* Newsletter Section */
.newsletter-section {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(0, 35, 102, 0.3), rgba(217, 4, 41, 0.2));
    text-align: center;
}

.newsletter-section h2 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.newsletter-section p {
    color: #adb5bd;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}

.newsletter-form input[type="email"]::placeholder {
    color: #868e96;
}

/* Featured Photographer Section */
.featured-photographer-section {
    padding: 3rem 2rem;
}

.featured-photographer-section h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
}

.featured-photographer-card {
    display: flex;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    align-items: center;
}

@media (max-width: 600px) {
    .featured-photographer-card {
        flex-direction: column;
        text-align: center;
    }
}

.featured-photographer-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--police-blue, #002366), var(--fire-red, #d90429));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    flex-shrink: 0;
}

.featured-photographer-info h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.featured-photographer-info p {
    color: #adb5bd;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Shared Form Styles */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    color: #adb5bd;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--high-vis, #ccff00);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #868e96;
}

.form-group select option {
    background: #1a1a1a;
    color: #fff;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #adb5bd;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: var(--high-vis, #ccff00);
    color: #050505;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
}

.btn-primary:hover {
    background: #b8e600;
    transform: translateY(-2px);
}

.btn-primary.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-small {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gray-200);
    color: var(--gray-800);
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-weight: 500;
}

.btn-small:hover {
    background: var(--high-vis);
    color: #000;
}

/* ============================================
   COMPREHENSIVE RESPONSIVE DESIGN SYSTEM
   ============================================ */

/* Base fluid typography */
html {
    font-size: clamp(14px, 2vw, 16px);
}

/* Container utility */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

/* ===== MOBILE NAVIGATION SYSTEM ===== */
.mobile-nav-toggle {
    display: none;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    z-index: 1002;
    transition: transform 0.3s ease;
}

.mobile-nav-toggle:hover {
    color: var(--high-vis, #ccff00);
}

/* Tablet and below - show mobile nav */
@media (max-width: 1024px) {
    .mobile-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        order: 3;
    }
    
    .main-header nav {
        flex-wrap: wrap;
        gap: 1rem;
        position: relative;
    }
    
    .logo {
        order: 1;
    }
    
    .search-container {
        order: 2;
        flex: 1;
        min-width: 200px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 0.35rem);
        left: 0;
        right: 0;
        background: #0a0a0a;
        border-top: 1px solid #333;
        border-bottom: 1px solid #333;
        flex-direction: column;
        padding: 0;
        gap: 0;
        z-index: 1001;
        max-height: min(78vh, calc(100dvh - 64px));
        overflow-y: auto;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid #222;
    }
    
    .nav-links > li > a,
    .nav-links > li > .nav-dropdown-trigger {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .nav-dropdown-trigger::after {
        transition: transform 0.3s ease;
    }
    
    .nav-dropdown {
        position: static;
        transform: none !important;
        min-width: 100%;
        background: #111;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transition: max-height 0.3s ease;
    }
    
    .nav-links > li.dropdown-open .nav-dropdown {
        max-height: 500px;
        border-top: 1px solid #333;
    }
    
    .nav-links > li.dropdown-open .nav-dropdown-trigger::after {
        transform: rotate(180deg);
    }
    
    .nav-dropdown a {
        padding: 0.875rem 2rem;
        border-bottom: 1px solid #1a1a1a;
    }
    
    .nav-dropdown a:last-child {
        border-bottom: none;
    }
    
    .nav-dropdown-header {
        padding: 0.75rem 2rem 0.5rem;
    }
    
    .nav-dropdown-divider {
        margin: 0;
    }
}

/* ===== HEADER RESPONSIVE ===== */
@media (max-width: 768px) {
    .main-header {
        padding: 0.75rem 1rem;
    }
    
    .main-header nav {
        gap: 0.75rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .logo-icon {
        font-size: 1.25rem;
    }
    
    .search-container {
        order: 4;
        width: 100%;
        flex: none;
        margin-top: 0.5rem;
    }
    
    .search-input {
        padding: 0.625rem 0.875rem;
        padding-right: 44px;
        font-size: 0.9rem;
    }
    
    .search-btn {
        padding: 0 0.75rem;
    }
    
    .nav-links {
        left: 0;
        right: 0;
    }
}

@media (max-width: 480px) {
    .main-header {
        padding: 0.5rem 0.75rem;
    }
    
    .logo-text {
        font-size: 0.95rem;
    }
    
    .nav-links {
        left: 0;
        right: 0;
    }
    
    .nav-links > li > a,
    .nav-links > li > .nav-dropdown-trigger {
        padding: 0.875rem 1rem;
    }
    
    .nav-dropdown a {
        padding: 0.75rem 1.5rem;
    }
}

/* ===== TOP BAR RESPONSIVE ===== */
@media (max-width: 768px) {
    .top-bar {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .top-bar-links {
        gap: 1rem;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .top-bar {
        display: none;
    }
}

/* ===== HERO SECTIONS RESPONSIVE ===== */
.hero-search,
.hero-section,
.page-hero {
    padding: clamp(2rem, 8vw, 5rem) clamp(1rem, 4vw, 2rem);
}

.hero-search h1,
.hero-section h1,
.page-hero h1 {
    font-size: clamp(1.5rem, 5vw, 3rem);
    line-height: 1.2;
}

.hero-search p,
.hero-section p,
.page-hero p {
    font-size: clamp(0.9rem, 2.5vw, 1.25rem);
}

.hero-search-box {
    flex-direction: column;
    gap: 0;
}

@media (min-width: 600px) {
    .hero-search-box {
        flex-direction: row;
    }
}

/* ===== GRID LAYOUTS RESPONSIVE ===== */
.gallery-grid,
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: clamp(0.75rem, 2vw, 1.5rem);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
}

/* UK Services Strip */
.uk-services-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: clamp(0.75rem, 2vw, 1.5rem);
}

@media (max-width: 600px) {
    .uk-services-inner {
        grid-template-columns: 1fr;
    }
    
    .uk-services-strip {
        padding: clamp(0.75rem, 3vw, 1.5rem);
    }
}

/* ===== CARDS RESPONSIVE ===== */
.image-card,
.collection-card,
.product-card,
.pricing-card {
    min-width: 0;
    max-width: 100%;
}

.image-card img,
.collection-card img,
.product-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
}

@media (max-width: 480px) {
    .image-card,
    .collection-card,
    .product-card {
        border-radius: 8px;
    }
    
    .image-info {
        padding: 0.75rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .image-meta {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ===== SECTIONS RESPONSIVE ===== */
section,
.section {
    padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
}

.section-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

@media (min-width: 768px) {
    .section-header {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.section-header h2 {
    font-size: clamp(1.25rem, 4vw, 2rem);
}

/* ===== FOOTER RESPONSIVE ===== */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem 1.5rem;
    }
    
    .footer-section li {
        margin: 0;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ===== LIGHTBOX RESPONSIVE ===== */
.lightbox {
    padding: clamp(0.5rem, 2vw, 2rem);
}

.lightbox img {
    max-width: 95vw;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-close {
    top: clamp(0.5rem, 2vw, 1rem);
    right: clamp(0.5rem, 2vw, 1rem);
    font-size: clamp(1.5rem, 4vw, 2rem);
    padding: clamp(0.25rem, 1vw, 0.5rem) clamp(0.5rem, 2vw, 1rem);
}

.lightbox-info {
    padding: clamp(0.5rem, 2vw, 1rem) clamp(1rem, 3vw, 2rem);
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.lightbox-nav {
    font-size: clamp(1.5rem, 4vw, 2rem);
    padding: clamp(0.5rem, 2vw, 1rem);
}

@media (max-width: 600px) {
    .lightbox img {
        max-height: 60vh;
    }
    
    .lightbox-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .lightbox-actions button {
        width: 100%;
    }
}

/* ===== FORMS RESPONSIVE ===== */
.form-group {
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: clamp(0.625rem, 2vw, 0.875rem) clamp(0.75rem, 2vw, 1rem);
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 1rem;
}

/* ===== BUTTONS RESPONSIVE ===== */
.btn,
button,
.action-btn {
    padding: clamp(0.5rem, 2vw, 0.875rem) clamp(1rem, 3vw, 1.5rem);
    font-size: clamp(0.875rem, 2vw, 1rem);
    min-height: 44px;
    touch-action: manipulation;
}

.btn-primary.btn-large {
    padding: clamp(0.875rem, 2.5vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

/* Button group responsive */
.btn-group,
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (max-width: 480px) {
    .btn-group,
    .action-buttons {
        flex-direction: column;
    }
    
    .btn-group > *,
    .action-buttons > * {
        width: 100%;
    }
}

/* ===== FILTER/TABS RESPONSIVE ===== */
.filter-pills,
.filter-tabs,
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
}

.filter-pills::-webkit-scrollbar,
.filter-tabs::-webkit-scrollbar,
.tabs::-webkit-scrollbar {
    display: none;
}

.filter-pill,
.filter-tab,
.tab {
    white-space: nowrap;
    flex-shrink: 0;
}

/* ===== MODALS RESPONSIVE ===== */
.modal-content,
.dialog-content {
    width: min(95vw, 600px);
    max-height: 90vh;
    overflow-y: auto;
    margin: clamp(1rem, 4vw, 2rem);
    padding: clamp(1rem, 4vw, 2rem);
}

/* ===== TABLES RESPONSIVE ===== */
@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table {
        min-width: 600px;
    }
}

/* ===== AUTH PAGES RESPONSIVE ===== */
.auth-container {
    width: min(95vw, 480px);
    margin: clamp(1rem, 4vw, 3rem) auto;
    padding: clamp(1.25rem, 4vw, 2rem);
}

.auth-tabs {
    flex-direction: row;
}

.auth-tab {
    padding: clamp(0.75rem, 2vw, 1rem);
    font-size: clamp(0.875rem, 2vw, 1rem);
}

/* ===== CART/CHECKOUT RESPONSIVE ===== */
.cart-drawer {
    width: min(100vw, 420px);
}

@media (max-width: 480px) {
    .cart-drawer {
        width: 100vw;
    }
    
    .cart-item {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .cart-item-image {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
}

/* ===== PROFILE/DASHBOARD RESPONSIVE ===== */
.profile-header,
.dashboard-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .profile-header,
    .dashboard-header {
        flex-direction: row;
        text-align: left;
    }
}

.profile-stats,
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(120px, 100%), 1fr));
    gap: 1rem;
}

/* ===== UPLOAD PAGE RESPONSIVE ===== */
.upload-zone {
    padding: clamp(1.5rem, 5vw, 3rem);
}

.upload-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr));
    gap: 1rem;
}

/* ===== PRINT SIZES/VARIANTS RESPONSIVE ===== */
.size-options,
.variant-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr));
    gap: 0.75rem;
}

/* ===== COOKIE BANNER RESPONSIVE ===== */
.cookie-banner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: clamp(1rem, 3vw, 1.5rem);
}

@media (min-width: 768px) {
    .cookie-banner {
        flex-direction: row;
        text-align: left;
    }
}

/* ===== TOAST NOTIFICATIONS RESPONSIVE ===== */
.notify-toast,
.toast {
    left: 50%;
    transform: translateX(-50%);
    width: min(90vw, 400px);
    max-width: 90vw;
}

/* ===== LANDSCAPE MOBILE ADJUSTMENTS ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-search,
    .hero-section,
    .page-hero {
        padding: 1.5rem 2rem;
    }
    
    .hero-search h1,
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .lightbox img {
        max-height: 70vh;
    }
    
    .nav-links {
        max-height: 60vh;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .main-header,
    .top-bar,
    .cookie-banner,
    .footer,
    .mobile-nav-toggle,
    .lightbox,
    .cart-drawer {
        display: none !important;
    }
    
    body {
        background: #fff;
        color: #000;
    }
    
    .image-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== SAFE AREA (NOTCH) SUPPORT ===== */
@supports (padding: env(safe-area-inset-top)) {
    .main-header {
        padding-top: max(1rem, env(safe-area-inset-top));
        padding-left: max(2rem, env(safe-area-inset-left));
        padding-right: max(2rem, env(safe-area-inset-right));
    }
    
    .footer {
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
    }
    
    @media (max-width: 768px) {
        .main-header {
            padding-left: max(1rem, env(safe-area-inset-left));
            padding-right: max(1rem, env(safe-area-inset-right));
        }
    }
}

.btn-danger {
    background: rgba(217, 4, 41, 0.3);
    color: #ff6b6b;
}

.btn-danger:hover {
    background: rgba(217, 4, 41, 0.5);
}

.btn-secondary {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

/* ============================================
   BUTTON VISUAL HIERARCHY CONSISTENCY
   ============================================ */

:root {
    --btn-shadow-primary: 0 8px 20px rgba(204, 255, 0, 0.18);
    --btn-shadow-secondary: 0 6px 16px rgba(0, 0, 0, 0.25);
    --btn-shadow-danger: 0 8px 20px rgba(217, 4, 41, 0.22);
}

.btn-primary,
.btn-save,
.hero-search-btn,
.load-more-btn,
.btn-preview,
.btn-buy,
.btn-approve,
.cart-drawer-checkout-btn,
.checkout-pay-btn,
.auth-required .btn-primary {
    background: var(--high-vis, #ccff00);
    color: #050505;
    border: 1px solid rgba(204, 255, 0, 0.45);
    box-shadow: var(--btn-shadow-primary);
    font-weight: 700;
}

.btn-primary:hover,
.btn-save:hover,
.hero-search-btn:hover,
.load-more-btn:hover,
.btn-preview:hover,
.btn-buy:hover,
.btn-approve:hover,
.cart-drawer-checkout-btn:hover,
.checkout-pay-btn:hover,
.auth-required .btn-primary:hover {
    background: #d8ff3a;
    border-color: rgba(216, 255, 58, 0.7);
    transform: translateY(-1px);
}

.btn-secondary,
.btn-small,
.btn-view,
.btn-logout,
.btn-report-cancel,
.collection-card-full .collection-actions .btn-small,
.item-actions .btn-sm {
    background: rgba(255, 255, 255, 0.08);
    color: #e8ecef;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: var(--btn-shadow-secondary);
}

.btn-secondary:hover,
.btn-small:hover,
.btn-view:hover,
.btn-logout:hover,
.btn-report-cancel:hover,
.collection-card-full .collection-actions .btn-small:hover,
.item-actions .btn-sm:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.34);
    color: #fff;
}

.btn-danger,
.btn-reject,
.btn-report,
.btn-report-submit,
.collection-card-full .collection-actions .btn-danger {
    background: rgba(217, 4, 41, 0.22);
    color: #ff9aa8;
    border: 1px solid rgba(217, 4, 41, 0.45);
    box-shadow: var(--btn-shadow-danger);
}

.btn-danger:hover,
.btn-reject:hover,
.btn-report:hover,
.btn-report-submit:hover:not(:disabled),
.collection-card-full .collection-actions .btn-danger:hover {
    background: rgba(217, 4, 41, 0.35);
    border-color: rgba(217, 4, 41, 0.7);
    color: #ffd5dc;
}

button:focus-visible,
.btn:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-danger:focus-visible,
.btn-save:focus-visible,
.btn-preview:focus-visible,
.btn-buy:focus-visible,
.btn-report:focus-visible,
.btn-report-submit:focus-visible,
.btn-report-cancel:focus-visible {
    outline: 2px solid var(--high-vis, #ccff00);
    outline-offset: 2px;
}

body.light-mode .btn-secondary,
body.light-mode .btn-small,
body.light-mode .btn-view,
body.light-mode .btn-logout,
body.light-mode .btn-report-cancel {
    background: #f2f5f7;
    color: #1f2937;
    border-color: #d5dbe1;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

body.light-mode .btn-secondary:hover,
body.light-mode .btn-small:hover,
body.light-mode .btn-view:hover,
body.light-mode .btn-logout:hover,
body.light-mode .btn-report-cancel:hover {
    background: #e9eef3;
    border-color: #c9d2dc;
    color: #111827;
}

/* ============================================
   FINAL PASS: NAV + FOOTER MOBILE ERGONOMICS
   ============================================ */

@media (max-width: 768px) {
    .nav-links {
        padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
        overscroll-behavior: contain;
    }

    .nav-links > li > a,
    .nav-links > li > .nav-dropdown-trigger,
    .nav-dropdown a {
        min-height: 48px;
        align-items: center;
    }

    .nav-dropdown {
        padding-bottom: 0.35rem;
    }

    .mobile-nav-toggle {
        min-width: 44px;
        min-height: 44px;
        font-weight: 700;
    }

    .footer-content {
        gap: 1rem;
    }

    .footer-section ul {
        gap: 0.45rem 1rem;
    }

    .footer-section a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: 0.2rem 0.1rem;
    }

    .social-links a {
        width: 44px;
        height: 44px;
    }

    .footer-bottom {
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }
}

@media (max-width: 480px) {
    .footer-content {
        text-align: center;
    }

    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.15rem;
    }

    .footer-section a {
        justify-content: center;
        width: 100%;
        max-width: 280px;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }
}

/* ============================================
   UNIFIED MOBILE BUTTON SCALING SYSTEM
   ============================================ */

@media (max-width: 1024px) {
    :root {
        --btn-height-mobile: clamp(42px, 5.6vw, 52px);
        --btn-font-mobile: clamp(0.9rem, 1.7vw, 1rem);
        --btn-pad-x-mobile: clamp(0.9rem, 2.4vw, 1.35rem);
        --btn-pad-y-mobile: clamp(0.5rem, 1.4vw, 0.8rem);
        --btn-radius-mobile: clamp(8px, 1.2vw, 12px);
    }

    button,
    .btn,
    .btn-primary,
    .btn-secondary,
    .btn-save,
    .btn-logout,
    .btn-preview,
    .btn-buy,
    .load-more-btn,
    .hero-search-btn,
    .btn-post-comment,
    .btn-report,
    .btn-report-submit,
    .btn-report-cancel,
    .btn-add-collection,
    .btn-favorite,
    .btn-add-cart,
    .notify-btn,
    .mobile-toggle,
    .filter-btn,
    .tab-btn,
    .profile-tab,
    .auth-required .btn-primary,
    .auth-required .btn-google,
    .collection-card-actions button,
    .request-actions .btn,
    .owner-header .btn {
        min-height: var(--btn-height-mobile);
        font-size: var(--btn-font-mobile);
        line-height: 1.2;
        padding: var(--btn-pad-y-mobile) var(--btn-pad-x-mobile);
        border-radius: var(--btn-radius-mobile);
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }

    .btn-sm,
    .btn-small,
    .request-actions .btn-sm,
    .panel-header .btn-sm,
    .collection-card-full .collection-actions .btn-small,
    .item-actions .btn-sm {
        min-height: clamp(38px, 4.6vw, 44px);
        font-size: clamp(0.8rem, 1.55vw, 0.92rem);
        padding: clamp(0.35rem, 1vw, 0.55rem) clamp(0.7rem, 1.6vw, 1rem);
        border-radius: clamp(6px, 1vw, 10px);
    }

    .mobile-nav-toggle,
    .search-btn,
    .action-btn,
    .cart-drawer-close,
    .modal-close,
    .lightbox-close,
    .remove-favorite,
    .comment-like-btn,
    .comment-delete-btn,
    .star-btn {
        width: clamp(40px, 5.4vw, 50px);
        height: clamp(40px, 5.4vw, 50px);
        min-width: clamp(40px, 5.4vw, 50px);
        min-height: clamp(40px, 5.4vw, 50px);
        padding: 0;
        border-radius: clamp(8px, 1.2vw, 12px);
        font-size: clamp(0.95rem, 1.8vw, 1.15rem);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .search-btn {
        border-radius: clamp(8px, 1vw, 10px);
    }

    .mobile-nav-toggle,
    .action-btn,
    .search-btn {
        border-width: 1px;
    }
}

@media (max-width: 768px) {
    .lightbox-actions,
    .report-panel-actions,
    .checkout-row,
    .request-actions,
    .owner-header-actions,
    .profile-actions,
    .collection-card-actions,
    .item-actions,
    .btn-group,
    .action-buttons {
        gap: 0.6rem;
    }

    .hero-search-btn,
    .load-more-btn,
    .btn-report,
    .btn-post-comment,
    .auth-required .btn-primary,
    .auth-required .btn-google {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --btn-height-mobile: 44px;
        --btn-font-mobile: 0.92rem;
        --btn-pad-x-mobile: 0.95rem;
        --btn-pad-y-mobile: 0.5rem;
    }

    .btn-sm,
    .btn-small,
    .collection-card-full .collection-actions .btn-small,
    .item-actions .btn-sm {
        min-height: 40px;
        font-size: 0.83rem;
    }

    .mobile-nav-toggle,
    .search-btn,
    .action-btn,
    .cart-drawer-close,
    .modal-close,
    .lightbox-close,
    .remove-favorite,
    .comment-like-btn,
    .comment-delete-btn,
    .star-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    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: 9999;
    padding: 1rem;
}

.modal-content {
    background: var(--secondary);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-content h2 {
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.modal-content .form-group {
    margin-bottom: 1.25rem;
}

.modal-content label {
    display: block;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.modal-content input[type="text"],
.modal-content textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    color: var(--gray-900);
    font-size: 1rem;
}

.modal-content input[type="text"]:focus,
.modal-content textarea:focus {
    outline: none;
    border-color: var(--high-vis);
    box-shadow: 0 0 0 3px rgba(204,255,0,0.2);
}

.modal-content textarea {
    min-height: 100px;
    resize: vertical;
}

.modal-content .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--gray-700);
}

.modal-content .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--high-vis);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--gray-500);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--gray-900);
}


/* Success/Error Messages */
.success-message {
    padding: 1rem;
    background: rgba(64, 192, 87, 0.2);
    color: #69db7c;
    border-radius: 8px;
    text-align: center;
}

.error-message {
    padding: 1rem;
    background: rgba(217, 4, 41, 0.2);
    color: #ff6b6b;
    border-radius: 8px;
    text-align: center;
}

/* Light Mode Overrides for New Components */
body.light-mode .page-header-section {
    background: linear-gradient(135deg, rgba(0, 35, 102, 0.1), rgba(217, 4, 41, 0.1));
}

body.light-mode .page-header-section h1 {
    color: #212529;
}

body.light-mode .page-header-section p {
    color: #495057;
}

body.light-mode .tab-btn {
    background: #f1f3f5;
    color: #495057;
}

body.light-mode .tab-btn.active {
    background: var(--high-vis);
    color: #000;
}

body.light-mode .tab-btn:hover:not(.active) {
    background: #e9ecef;
    color: #212529;
}

body.light-mode .collection-card-full,
body.light-mode .request-card,
body.light-mode .blog-card,
body.light-mode .sidebar-section,
body.light-mode .gift-card-purchase,
body.light-mode .gift-card-redeem,
body.light-mode .gift-card-info,
body.light-mode .print-feature,
body.light-mode .print-selection-info,
body.light-mode .print-card,
body.light-mode .options-table,
body.light-mode .custom-print-request,
body.light-mode .package-card,
body.light-mode .use-case,
body.light-mode .custom-bulk-request,
body.light-mode .faq-item,
body.light-mode .photographer-header,
body.light-mode .about-content,
body.light-mode .comments-section,
body.light-mode .comment,
body.light-mode .testimonial-card,
body.light-mode .featured-photographer-card,
body.light-mode .modal-content {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

body.light-mode .collection-info h3,
body.light-mode .request-title,
body.light-mode .blog-card-content h2 a,
body.light-mode .sidebar-section h3,
body.light-mode .gift-card-purchase h2,
body.light-mode .gift-card-redeem h2,
body.light-mode .gift-card-info h2,
body.light-mode .info-item h4,
body.light-mode .print-feature h4,
body.light-mode .print-selection-info h2,
body.light-mode .print-info h3,
body.light-mode .options-table h3,
body.light-mode .custom-print-request h2,
body.light-mode .bulk-options h2,
body.light-mode .package-header h3,
body.light-mode .bulk-use-cases h2,
body.light-mode .use-case h4,
body.light-mode .custom-bulk-request h2,
body.light-mode .bulk-faq h2,
body.light-mode .faq-item h4,
body.light-mode .photographer-name h1,
body.light-mode .about-content h3,
body.light-mode .comments-section h3,
body.light-mode .comment-author,
body.light-mode .testimonials-section h2,
body.light-mode .testimonial-author-info strong,
body.light-mode .newsletter-section h2,
body.light-mode .featured-photographer-section h2,
body.light-mode .featured-photographer-info h3,
body.light-mode .modal-content h2,
body.light-mode .step h4,
body.light-mode .popular-prints h2,
body.light-mode .print-options-guide h2 {
    color: #212529;
}

body.light-mode .collection-desc,
body.light-mode .request-description,
body.light-mode .blog-excerpt,
body.light-mode .newsletter-sidebar p,
body.light-mode .popular-posts a,
body.light-mode .gift-card-purchase > p,
body.light-mode .gift-card-redeem > p,
body.light-mode .info-item p,
body.light-mode .print-feature p,
body.light-mode .step p,
body.light-mode .custom-print-request > p,
body.light-mode .bulk-intro p,
body.light-mode .package-features li,
body.light-mode .use-case p,
body.light-mode .custom-bulk-request > p,
body.light-mode .faq-item p,
body.light-mode .photographer-bio,
body.light-mode .about-content p,
body.light-mode .comment-text,
body.light-mode .testimonial-text,
body.light-mode .newsletter-section p,
body.light-mode .featured-photographer-info p,
body.light-mode .form-group label,
body.light-mode .checkbox-label,
body.light-mode .checkbox-group label {
    color: #495057;
}

body.light-mode .collection-meta,
body.light-mode .request-meta,
body.light-mode .blog-meta,
body.light-mode .comment-date,
body.light-mode .rating-count,
body.light-mode .testimonial-author-info span,
body.light-mode .stat-label,
body.light-mode .package-price .period,
body.light-mode .print-category {
    color: #868e96;
}

body.light-mode .requests-filters select,
body.light-mode .newsletter-sidebar input,
body.light-mode .form-group input,
body.light-mode .form-group textarea,
body.light-mode .form-group select,
body.light-mode .comment-form textarea,
body.light-mode .newsletter-form input[type="email"] {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #212529;
}

body.light-mode .amount-btn {
    background: #f1f3f5;
    color: #212529;
}

body.light-mode .amount-btn.active,
body.light-mode .amount-btn:hover {
    background: rgba(204, 255, 0, 0.3);
}

body.light-mode .gift-card-total {
    background: #f8f9fa;
}

body.light-mode .gift-card-total span:first-child {
    color: #495057;
}

body.light-mode .options-table th {
    color: #495057;
}

body.light-mode .options-table td {
    color: #212529;
}

body.light-mode .filter-btn {
    background: #f1f3f5;
    color: #495057;
}

body.light-mode .filter-btn.active,
body.light-mode .filter-btn:hover {
    background: var(--police-blue, #002366);
    color: #fff;
}

body.light-mode .tag {
    background: #f1f3f5;
    color: #495057;
}

body.light-mode .tag:hover {
    background: var(--police-blue, #002366);
    color: #fff;
}

body.light-mode .btn-small {
    background: #f2f5f7;
    color: #1f2937;
    border-color: #d5dbe1;
}

body.light-mode .btn-small:hover {
    background: #e9eef3;
    color: #111827;
    border-color: #c9d2dc;
}

body.light-mode .btn-secondary {
    background: #f2f5f7;
    color: #1f2937;
    border-color: #d5dbe1;
}

body.light-mode .btn-secondary:hover {
    background: #e9eef3;
    color: #111827;
    border-color: #c9d2dc;
}

body.light-mode .social-link {
    background: #f1f3f5;
    color: #495057;
}

body.light-mode .social-link:hover {
    background: #e9ecef;
    color: #212529;
}

body.light-mode .modal-overlay {
    background: rgba(0, 0, 0, 0.5);
}

body.light-mode .modal-close {
    color: #495057;
}

body.light-mode .modal-close:hover {
    color: #212529;
}

body.light-mode .loading-spinner {
    border-color: #dee2e6;
    border-top-color: var(--police-blue, #002366);
}

body.light-mode .stat-value {
    color: #212529;
}

body.light-mode .cart-drawer-total-amount {
    color: var(--high-vis);
}

body.light-mode .cart-drawer-checkout-btn {
    background: var(--police-blue);
    color: #fff;
}

body.light-mode .search-suggestions {
    background: #fff;
    border-color: #dee2e6;
}

body.light-mode .suggestion-item {
    color: #495057;
}

body.light-mode .suggestion-item:hover {
    background: #f8f9fa;
}

body.light-mode .leaderboard-inner {
    background: #fff;
    border-color: #e9ecef;
}

body.light-mode .leaderboard-title {
    color: #212529;
}

body.light-mode .lb-row {
    border-color: #f1f3f5;
}

body.light-mode .lb-row:hover {
    background: #f8f9fa;
}

body.light-mode .lb-rank {
    background: #e9ecef;
    color: #495057;
}

body.light-mode .about-content h2,
body.light-mode .legal-content h2 {
    color: #212529;
}

body.light-mode .about-content p,
body.light-mode .legal-content p {
    color: #495057;
}

body.light-mode .licence-info {
    background: #f8f9fa;
    border-color: #e9ecef;
}

body.light-mode .licence-info h3 {
    color: #212529;
}

body.light-mode .licence-info li {
    color: #495057;
}

body.light-mode .category-card {
    background: #fff;
}

body.light-mode .category-card h3 {
    color: var(--police-blue);
}

body.light-mode .featured {
    background: #fff;
}

body.light-mode .featured h2 {
    color: #212529;
}

body.light-mode .no-images-message {
    background: #f8f9fa;
    border-color: #dee2e6;
}

body.light-mode .no-images-message p {
    color: #495057;
}

body.light-mode .no-images-message a {
    color: var(--police-blue);
}

body.light-mode .dark-toggle-floating {
    background: #212529;
    color: #fff;
}

body.light-mode .dark-toggle-floating:hover {
    background: #343a40;
}

.dark-toggle-floating {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 999px;
    background: #222;
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    z-index: 4000;
    transition: background 0.2s, transform 0.2s;
}

.dark-toggle-floating:hover {
    background: #333;
    transform: scale(1.05);
}

/* ============================================
   CART STYLES
   ============================================ */

.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.cart-empty-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #111;
    border-radius: var(--radius);
    border: 1px solid #333;
}

.cart-item-image {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    margin-bottom: 0.25rem;
    color: #fff;
}

.cart-item-details .license-type {
    font-size: 0.85rem;
    color: #888;
}

.cart-item-price {
    font-weight: 600;
    color: var(--high-vis);
}

.cart-item-remove {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #333;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.2s;
}

.cart-item-remove:hover {
    background: var(--fire);
    color: white;
}

.cart-summary {
    padding: 1.5rem;
    background: #111;
    border-radius: var(--radius);
    border: 1px solid #333;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.total-amount {
    color: var(--high-vis);
}

.btn-checkout {
    width: 100%;
    padding: 1rem;
    background: var(--ambulance);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-checkout:hover {
    background: #047857;
}

/* ============================================
   WATERMARK OVERLAY (for previews)
   ============================================ */

.watermarked {
    position: relative;
}

.watermarked::after {
    content: 'PREVIEW';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.3);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    letter-spacing: 0.5em;
    white-space: nowrap;
}

/* ============================================
   CONTRIBUTOR LEADERBOARD
   ============================================ */

.leaderboard {
    background: #111;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid #333;
}

.leaderboard h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: #fff;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #1a1a1a;
    border-radius: var(--radius);
}

.leaderboard-rank {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: #ccc;
}

.leaderboard-item:nth-child(1) .leaderboard-rank {
    background: linear-gradient(135deg, #ffd700, #ffb800);
    color: white;
}

.leaderboard-item:nth-child(2) .leaderboard-rank {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: white;
}

.leaderboard-item:nth-child(3) .leaderboard-rank {
    background: linear-gradient(135deg, #cd7f32, #b87333);
    color: white;
}

.leaderboard-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--police);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.leaderboard-info {
    flex: 1;
}

.leaderboard-name {
    font-weight: 600;
}

.leaderboard-stats {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.leaderboard-count {
    font-weight: 700;
    color: var(--ambulance);
}

/* ============================================
   IMAGE CARD ENHANCEMENTS
   ============================================ */

.image-card {
    cursor: pointer;
}

.image-actions .favorite-btn.active .heart-icon {
    color: var(--fire);
}

.image-actions .preview-btn {
    background: rgba(255, 255, 255, 0.9);
}

/* Keep image-card controls compact even with global button sizing rules. */
.image-actions .action-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    font-size: 0.9rem;
}

.image-actions .like-btn::before {
    font-size: 0.9rem;
}

.image-actions .action-btn:not(.like-btn)::before {
    font-size: 0.82rem;
}

.lightbox-actions .btn-primary,
.lightbox-actions .btn-secondary,
.lightbox-actions .btn-add-collection {
    flex: 1 1 150px;
    min-height: 40px;
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* ============================================
   LAZY LOADING FADE IN
   ============================================ */

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

/* ============================================
   INFINITE SCROLL INDICATOR
   ============================================ */

.load-more {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.load-more-btn {
    padding: 1rem 2rem;
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.load-more-btn:hover {
    background: var(--gray-200);
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.loading-more {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-500);
}

.loading-more::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ============================================
   EMPTY STATE STYLES
   ============================================ */

.blog-empty,
.requests-empty,
.collections-empty,
.collections-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--gray-300);
    margin: 2rem 0;
}

.blog-empty .empty-icon,
.requests-empty .empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.blog-empty h3,
.requests-empty h3,
.collections-empty h3 {
    font-size: 1.5rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.blog-empty p,
.requests-empty p,
.collections-empty p,
.collections-empty-state p {
    color: var(--gray-500);
    max-width: 400px;
    margin: 0 auto 1.5rem;
}

.quick-category-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.quick-category-links .btn-primary {
    padding: 0.75rem 1.5rem;
}

.quick-category-links .collection-card {
    min-width: 150px;
    padding: 1.5rem;
    text-decoration: none;
}

/* Empty state for featured photographer */
.featured-photographer-avatar.empty {
    opacity: 0.5;
    background: var(--gray-200);
}

.featured-photographer-info h3:only-child,
.featured-photographer-info p:last-child {
    color: var(--gray-500);
}

/* Empty state for testimonials */
.testimonials-empty {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--gray-300);
}

.testimonials-empty .empty-icon {
    font-size: 3rem;
    opacity: 0.4;
    margin-bottom: 1rem;
}

.testimonials-empty p {
    color: var(--gray-500);
    max-width: 400px;
    margin: 0 auto;
}

/* ============================================
   MOBILE FIXES: VISIBILITY + TAP TARGETS
   ============================================ */

@media (hover: none), (pointer: coarse) {
    .image-actions {
        opacity: 1;
        transform: translateY(0);
    }

    .image-actions .action-btn {
        background: rgba(17, 17, 17, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.18);
    }
}

@media (max-width: 480px) {
    .image-title {
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .lightbox-actions .btn-primary,
    .lightbox-actions .btn-secondary,
    .lightbox-actions .btn-add-collection,
    .btn-report,
    .btn-post-comment {
        width: 100%;
    }

    .browse-section,
    .trending-section,
    .pricing-section,
    .newsletter-section,
    .featured-photographer-section,
    .testimonials-section,
    .requests-page,
    .blog-page,
    .collections-page,
    .events-page,
    .polls-page,
    .photographer-page,
    .photographers-page,
    .account-main {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .gallery-grid,
    .image-grid,
    .portfolio-grid,
    .photographer-grid,
    .collections-grid {
        gap: 0.75rem;
    }

    .item-list li,
    .request-card,
    .blog-card,
    .panel,
    .settings-section {
        min-width: 0;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 768px) {
    .lightbox-actions .btn-primary,
    .lightbox-actions .btn-secondary,
    .lightbox-actions .btn-add-collection {
        min-height: 40px !important;
        font-size: 0.88rem;
        padding: 0.6rem 0.8rem;
    }

    .image-actions .action-btn {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
    }
}

/* ============================================
   MOBILE POLISH PASS: HOME + CATEGORY PAGES
   ============================================ */

@media (max-width: 768px) {
    .hero-search {
        padding-top: 2.25rem;
        padding-bottom: 2.25rem;
    }

    .hero-search h1 {
        font-size: clamp(1.45rem, 6vw, 2.1rem);
        line-height: 1.2;
    }

    .hero-search p {
        font-size: 0.95rem;
        margin-bottom: 1.1rem;
    }

    .hero-search-box {
        border-radius: 12px;
    }

    .hero-input,
    .hero-search-btn {
        min-height: 44px;
    }

    .quick-links {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.35rem;
        scrollbar-width: none;
    }

    .quick-links::-webkit-scrollbar {
        display: none;
    }

    .quick-links a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .section-header h2 {
        font-size: clamp(1.25rem, 5.4vw, 1.6rem);
        line-height: 1.2;
    }

    .page-header {
        padding: 2.1rem 1rem;
    }

    .page-header h1 {
        font-size: clamp(1.4rem, 6vw, 2rem);
        line-height: 1.2;
    }

    .page-header p {
        font-size: 0.95rem;
        max-width: 40ch;
        margin-left: auto;
        margin-right: auto;
    }

    .gallery-section {
        padding-top: 1.25rem;
        padding-bottom: 2rem;
    }

    .gallery-section h3 {
        font-size: 1.05rem;
        margin-bottom: 0.75rem;
    }

    .gallery-item {
        border-radius: 10px;
    }
}

@media (max-width: 560px) {
    .filter-pills,
    .orientation-pills {
        flex-wrap: nowrap;
    }

    .pill,
    .orientation-pills .pill {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

@media (hover: none), (pointer: coarse) {
    .gallery-item .product-overlay {
        opacity: 1;
        transform: translateY(0);
        padding-top: 2rem;
        gap: 0.5rem;
    }

    .gallery-item .btn-preview {
        min-height: 40px;
        padding: 0.65rem 1rem;
    }
}

.heart-icon::before {
    content: '\2665';
}

.preview-btn span::before {
    content: '\25ef';
}

/* ============================================
   MOBILE STABILITY HOTFIX (FINAL OVERRIDES)
   ============================================ */

@media (max-width: 1024px) {
    .main-header {
        padding: 0.7rem 0.9rem !important;
    }

    .main-header nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 0.55rem !important;
        min-height: 52px !important;
    }

    .mobile-nav-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        margin-left: auto !important;
        z-index: 1302 !important;
    }

    .search-container {
        min-width: 0 !important;
        max-width: none !important;
        flex: 1 1 auto !important;
    }

    .nav-links {
        display: none !important;
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        top: calc(env(safe-area-inset-top, 0px) + 56px) !important;
        max-height: calc(100dvh - (env(safe-area-inset-top, 0px) + 56px)) !important;
        overflow-y: auto !important;
        background: #0a0a0a !important;
        border-top: 1px solid #222 !important;
        border-bottom: 1px solid #222 !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 0 max(0.65rem, env(safe-area-inset-bottom, 0px)) !important;
        z-index: 1301 !important;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links > li,
    .nav-links > li > a,
    .nav-links > li > .nav-dropdown-trigger,
    .nav-dropdown a {
        width: 100% !important;
    }

    .nav-links > li > a,
    .nav-links > li > .nav-dropdown-trigger,
    .nav-dropdown a {
        min-height: 48px !important;
        padding: 0.8rem 1rem !important;
        align-items: center !important;
    }

    .nav-dropdown {
        display: none !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        max-height: none !important;
        border: none !important;
        background: #050505 !important;
    }

    .nav-links > li.dropdown-open .nav-dropdown {
        display: block !important;
    }

    .owner-header,
    .profile-header,
    .section-header {
        min-width: 0 !important;
    }

    .panel,
    .settings-section,
    .request-card,
    .blog-card,
    .item-list li,
    .history-table,
    .data-table {
        min-width: 0 !important;
    }
}

@media (max-width: 768px) {
    .search-container {
        display: none !important;
    }

    .logo-text {
        display: none !important;
    }

    .nav-links {
        top: calc(env(safe-area-inset-top, 0px) + 52px) !important;
        max-height: calc(100dvh - (env(safe-area-inset-top, 0px) + 52px)) !important;
    }

    .image-actions,
    .gallery-item .product-overlay {
        opacity: 1 !important;
        transform: none !important;
    }

    .action-btn,
    .btn-preview,
    .btn-save,
    .btn-logout,
    .btn-report,
    .btn-report-submit,
    .btn-report-cancel,
    .load-more-btn,
    .hero-search-btn {
        min-height: 44px !important;
    }

    .btn-report,
    .btn-post-comment,
    .hero-search-btn {
        width: 100% !important;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 0.9rem !important;
        text-align: center !important;
    }

    .footer-section ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.15rem !important;
    }

    .footer-section a {
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .social-links {
        justify-content: center !important;
    }

    .social-links a {
        width: 44px !important;
        height: 44px !important;
    }
}

/* ============================================
   MOBILE-FIRST CORE LAYOUT FOUNDATION
   ============================================ */

:root {
    --layout-gutter: 0.75rem;
    --layout-section-y: 1.5rem;
    --layout-header-gap: 0.5rem;
    --layout-grid-gap: 0.75rem;
}

.main-header {
    padding: 0.7rem var(--layout-gutter);
}

.main-header nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--layout-header-gap);
}

.search-container {
    min-width: 0;
    width: 100%;
}

main,
section,
.section,
.page-header,
.gallery-section,
.browse-section,
.trending-section,
.pricing-section,
.newsletter-section,
.featured-photographer-section,
.testimonials-section,
.account-main,
.requests-page,
.blog-page,
.collections-page,
.events-page,
.polls-page,
.photographer-page,
.photographers-page {
    padding-left: var(--layout-gutter);
    padding-right: var(--layout-gutter);
    padding-top: var(--layout-section-y);
    padding-bottom: var(--layout-section-y);
}

.gallery-grid,
.image-grid,
.collection-grid,
.portfolio-grid,
.photographer-grid,
.collections-grid {
    grid-template-columns: 1fr;
    gap: var(--layout-grid-gap);
}

.footer-content {
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    :root {
        --layout-gutter: 1rem;
        --layout-section-y: 2rem;
        --layout-header-gap: 0.75rem;
        --layout-grid-gap: 1rem;
    }

    .main-header nav {
        grid-template-columns: auto minmax(220px, 1fr) auto;
    }

    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 561px) {
    .gallery-grid,
    .image-grid,
    .collection-grid,
    .portfolio-grid,
    .photographer-grid,
    .collections-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    :root {
        --layout-gutter: 1.5rem;
        --layout-section-y: 2.5rem;
        --layout-header-gap: 1rem;
        --layout-grid-gap: 1.25rem;
    }

    .main-header nav {
        grid-template-columns: auto minmax(360px, 520px) 1fr;
    }

    .gallery-grid,
    .image-grid,
    .portfolio-grid,
    .photographer-grid,
    .collections-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .collection-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-content {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    :root {
        --layout-gutter: 2rem;
        --layout-grid-gap: 1.5rem;
    }

    .gallery-grid,
    .image-grid,
    .portfolio-grid,
    .photographer-grid,
    .collections-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .collection-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .lightbox-actions .btn-download,
    .lightbox-actions .btn-favorite {
        width: auto !important;
        flex: 1 1 calc(50% - 0.3rem) !important;
        min-width: 0;
        min-height: 34px !important;
        padding: 0.45rem 0.65rem !important;
        font-size: 0.78rem !important;
        line-height: 1.2;
        white-space: nowrap;
    }

    .lightbox-actions .btn-add-collection {
        width: 100% !important;
        flex: 1 1 100% !important;
    }
}

@media (max-width: 480px) {
    .lightbox-actions .btn-download,
    .lightbox-actions .btn-favorite {
        min-height: 32px !important;
        padding: 0.4rem 0.55rem !important;
        font-size: 0.74rem !important;
    }
}

@media (max-width: 768px) {
    .main-header .logo-text {
        display: inline-flex !important;
        align-items: center;
        gap: 0.2rem;
        font-size: calc(0.82rem + 10px);
        line-height: 1.1;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .main-header .logo-text {
        font-size: calc(0.74rem + 10px);
    }
}

/* Final mobile menu polish */
@media (max-width: 1024px) {
    .main-header .mobile-nav-toggle {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.24);
        background: linear-gradient(180deg, rgba(30, 30, 30, 0.95), rgba(12, 12, 12, 0.96));
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38);
        color: #f4f4f4;
        font-size: 1.2rem;
        line-height: 1;
        transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    }

    .main-header .mobile-nav-toggle:hover,
    .main-header .mobile-nav-toggle:focus-visible {
        border-color: rgba(204, 255, 0, 0.55);
        background: linear-gradient(180deg, rgba(44, 44, 44, 0.95), rgba(18, 18, 18, 0.96));
        color: var(--high-vis);
        transform: translateY(-1px);
        outline: none;
    }

    .main-header .mobile-nav-toggle[aria-expanded="true"] {
        border-color: rgba(204, 255, 0, 0.6);
        background: rgba(204, 255, 0, 0.12);
        color: var(--high-vis);
    }

    .main-header .nav-links {
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 14px;
        background: linear-gradient(180deg, rgba(10, 10, 10, 0.98), rgba(6, 6, 6, 0.99));
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.48);
        backdrop-filter: blur(10px);
        overflow: hidden;
        opacity: 0;
        transform: translateY(-8px) scale(0.985);
        transform-origin: top;
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .main-header .nav-links.active {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .main-header .nav-links > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .main-header .nav-links > li:last-child {
        border-bottom: none;
    }

    .main-header .nav-links > li > a,
    .main-header .nav-links > li > .nav-dropdown-trigger {
        padding: 0.95rem 1rem;
        font-weight: 600;
        color: #e6e6e6;
    }

    .main-header .nav-links > li > a:hover,
    .main-header .nav-links > li > .nav-dropdown-trigger:hover {
        background: rgba(204, 255, 0, 0.1);
        color: var(--high-vis);
    }

    .main-header .nav-links > li.dropdown-open > .nav-dropdown-trigger {
        color: var(--high-vis);
        background: rgba(204, 255, 0, 0.08);
    }

    .main-header .nav-dropdown {
        background: rgba(16, 16, 16, 0.95);
    }

    .main-header .nav-dropdown a {
        padding: 0.8rem 1.25rem;
        color: #d4d4d4;
    }
}

@media (max-width: 480px) {
    .main-header .mobile-nav-toggle {
        width: 40px;
        height: 40px;
        border-radius: 11px;
        font-size: 1.1rem;
    }

    .main-header .nav-links {
        border-radius: 12px;
    }

    .main-header .nav-links > li > a,
    .main-header .nav-links > li > .nav-dropdown-trigger {
        padding: 0.88rem 0.9rem;
        font-size: 0.95rem;
    }
}

/* ===== BRANDED LOADING SPINNERS ===== */
/* Minimal Modern Circular Spinner - Standardized Site-wide */
.loading-spinner {
    --spinner-size: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 2rem auto;
    color: var(--gray-500);
    font-size: 0.92rem;
    font-weight: 600;
    text-align: center;
}
.loading-spinner .spinner {
    width: var(--spinner-size);
    height: var(--spinner-size);
    border: 3px solid rgba(255,255,255,0.12);
    border-top: 3px solid var(--high-vis, #ccff00);
    border-radius: 50%;
    box-sizing: border-box;
    animation: spin 0.8s linear infinite;
    margin-bottom: 0.7rem;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== LIGHTBOX ACTION SIZE ALIGNMENT ===== */
.lightbox-actions .btn-download,
.lightbox-actions .btn-favorite {
    flex: 1 1 100% !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.85rem !important;
    line-height: 1.2;
    min-height: 0 !important;
}

