/*
VARS LOADED FROM SITE THEME BASED ON PHP SELECTION
*/

/* -------------------------------------------------------
   Overlay variable defaults — used by lightbox, dialogs,
   and any full-screen overlays. Themes may override these
   in their own :root blocks; if they don't, these apply.
------------------------------------------------------- */
:root {
    --overlay-bg:           rgba(18, 18, 22, 0.97);
    --overlay-bg-secondary: rgba(28, 28, 34, 0.98);
    --overlay-text:         rgba(230, 228, 222, 1);
    --overlay-text-muted:   rgba(170, 165, 155, 1);
    --overlay-border:       rgba(70, 68, 80, 1);
    --danger-color:         rgba(210, 55, 55, 1);
    --danger-color-hover:   rgba(235, 75, 75, 1);
    --warning-color:        rgba(200, 160, 40, 1);
    --surface-elevated-dark: rgba(32, 30, 40, 1);
    --pulse-glow:           rgba(72, 160, 148, 0.5);
    --social-glow:          rgba(72, 120, 200, 0.4);
}

    html {
        touch-action: manipulation;
    }

/* General Styles */
    body {
        color: var(--font-color);
        background-color: var(--bg-color);
        font-family: 'Manrope', sans-serif !important;
        transition: all 0.3s ease;
    }
    

    .desaturated {
        filter: grayscale(100%);
    }

    .inverted {
        filter: invert(100%);
    }

    .color-shift {
        filter: hue-rotate(90deg);
    }


    .thidden {
        display: none;
    }

    .txt-green {
        color: var(--font-green);
    }

    .txt-orange {
        color: var(--accent-light-orange) !important;
    }

    .txt-blue {
        color: var(--font-blue);
    }

    .txt-white {
        color: var(--font-white);
    }

    .txt-left {
        text-align: left;
    }

    .txt-center {
            text-align: center;
    }

    .txt-right {
        text-align: right;
    }
        
    /* Theme Styles */
    .mode-dark {
        background-color: var(--bg-dark-color);
        color: var(--font-dark-color);
    }

    .mode-light {
        background-color: var(--bg-light-color);
        color: var(--font-light-color);
    }

    .disable-animations {
        transition: none !important;
        animation: none !important;
    }

    .disable-animations * {
        transition: none !important;
        animation: none !important;
    }
        
    h1, h2, h3, h4, h5, h6 {
        color: var(--heading-color);
        font-family: 'Poppins', sans-serif !important;
    }

    .mode-light h1, .mode-light h2, .mode-light h3, .mode-light h4, .mode-light h5, .mode-light h6 {
        color: var(--heading-light-color);
        font-weight: 500;
    }

    .mode-dark h1, .mode-dark h2, .mode-dark h3, .mode-dark h4, .mode-dark h5, .mode-dark h6 {
        color: var(--heading-dark-color);
        font-weight: 500;
    }


    h1 {
        font-size: 24px !important;
        font-weight: 600;
    }

    h2 {
        font-size: 24px !important;
        font-weight: 400;
    }

    h3 {
        font-size: 22px !important;
        font-weight: 300;
    }

    h4 {
        font-size: 20px !important;
        font-weight: 300;
    }

    h5 {
        font-size: 16px !important;
        font-weight: 300;
    }

    h6 {
        font-size: 16px !important;
        font-weight: 100;
    }

    .fs-12 {
        font-size: 10px !important;
    }
        
    .fw-100{
        font-weight: 100 !important;
    }
    .fw-200{
        font-weight: 200 !important;
    }
    .fw-300{
        font-weight: 300 !important;
    }
    .fw-400{
        font-weight: 400 !important;
    }
    .fw-500{
        font-weight: 500 !important;
    }
    .fw-600{
        font-weight: 600 !important;
    }
    .fw-700{
        font-weight: 700 !important;
    }
    .fw-800{
        font-weight: 800 !important;
    }
        
    p {
      color: var(--font-color);
      font-size: 16px;
      transition: all 0.3 ease;
      font-family: 'Manrope', sans-serif !important;
    }

    .mode-dark p {
        color: var(--font-dark-color);
    }

    .mode-light p {
        color: var(--font-light-color);
    }
    
    .icon {
        color: var(--icon-color);
    }

    .mode-light .icon {
        color: var(--icon-light-color);
    }    

    .mode-dark .icon {
        color: var(--icon-dark-color);
    }

    .social {
        color: var(--icon-dark-color);
        text-shadow: 0px 0px 3px var(--social-glow);
        transition: all 0.3 ease;
    }

    .mode-light .social {
        color: var(--icon-dark-color);
        text-shadow: 0px 0px 5px var(--social-glow);
        transition: all 0.3 ease;
    }    

    .mode-dark .social {
        color: var(--icon-dark-color);
        text-shadow: 0px 0px 5px var(--social-glow);
        transition: all 0.3 ease;
    }

    .social:hover {
        color: var(--accent-orange);
        transition: all 0.3 ease;
    }

    .mode-light .social:hover {
        color: var(--accent-orange);
        transition: all 0.3 ease;
    }    

    .mode-dark .social:hover {
        color: var(--accent-orange);
        transition: all 0.3 ease;
    }
        
    /* Custom Container */
    .location-container {
        background-color: var(--bg-light-color);
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }

    .mode-dark .location-container {
        background-color: var(--surface-elevated-dark);
    }

    /* Custom Card */
    .location-card {
        border: none;
        max-width: 655px;
        height: 456px;
        border-radius: 15px;
        margin: 24px auto;
        background-color: var(--bg-color);
        color: var(--font-color);
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }

    .mode-light .location-card {
        background-color: var(--bg-color);
        color: var(--font-color);
    }
        
    .mode-dark .location-card {
        background-color: var(--bg-dark-color);
        color: var(--font-dark-color);
    }

    @media (max-width: 992px) {
        .location-card {
            height: 100%;
        }
    }

    .themeImage {
        max-height: 50px;
    }

    /* Accessibility Styles */
    .large-cursor {
        cursor: zoom-in;
    }

    /* Buttons and Icons */
    .menu-button {
        font-size: 24px;
        cursor: pointer;
    }

    .menu-icon {
        margin-left: -2px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        font-size: 24px;
        color: var(--icon-color);
        background-color: var(--bg-color);
        display: flex;
        justify-content: center;
        align-items: center;
        border: none;
        cursor: pointer;
    }

    .light-mode .menu-icon {
        color: var(--icon-light-color);
    }

    .dark-mode .menu-icon {
        color: var(--icon-dark-color);
    }

    .shadow {
        box-shadow: 0px 0px 24px var(--soft-shadow);
    }

    /* Accessibility Button */
.accessibility-btn {
        position: fixed;
        left: 2vw;
        bottom: 2vh;
        font-size: 36px;
        line-height: 48px;
        background-color: var(--accessibility-blue);
        color: var(--font-dark-color);
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border: none;
        padding: 0;
        z-index: 3000;
        transition: all 0.3s ease-in;
        box-shadow: 0px 0px 24px var(--soft-shadow);
    }

.accessibility-btn:focus-visible {
    outline: 3px solid var(--heading-color);
    outline-offset: 3px;
}
    
    .accessibility-btn.bottom {
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 20px;
        left: 2vw;
        bottom: 1vh;
        background-color: var(--bg-dark-color);
    }    

    @media (max-width: 761px) {
        .accessibility-btn.bottom {
            left: -40px;
            bottom: -40px;
        }
    }
        
    .mode-dark .accessibility-btn {
        background-color: var(--bg-light-color);
        color: var(--accessibility-blue);
    }
        
    .accessibility-menu-btn .active {
        background-color: var(--bg-light-color);
        color: var(--accessibility-blue);
    }
        
    .mode-dark .accessibility-menu-btn .active {
        background-color: var(--bg-light-color);
        color: var(--accessibility-blue);
    }

    .accessibility-menu {
        position: fixed;
        opacity: 0;
        color: var(--accessibility-blue);
        border-radius: 25px;
        border: 5px solid var(--accessibility-blue);
        bottom: 2vh; 
        left: 2vw; 
        height: 0px; 
        width: 0px; 
        background-color: var(--bg-color);
        padding: 20px;
        overflow-y: auto;
        z-index: 2000;
        box-shadow: 0px 0px 200px var(--soft-shadow);
        transition: all 0.3s ease;
    }
    
.accessibility-menu.bottom{
        bottom: 1vh; 
        left: 2vw; 
    }
        
    .mode-dark .accessibility-menu {
        color: var(--font-dark-color);
        border: 5px solid var(--bg-light-color);
        background-color: var(--accessibility-blue);
    }
        
    .mode-dark .accessibility-menu .btn {
        color: var(--font-dark-color);
        border-color: var(--bg-light-color);
        background-color: var(--accessibility-blue);
    }
        
    .mode-dark .accessibility-menu .btn:hover {
        background-color: var(--font-blue);
    }

    .accessibility-menu h2 {
        color: var(--accessibility-blue);
    }
    
    .mode-dark .accessibility-menu h2 {
        color: var(--heading-dark-color);
    }

.accessibility-menu.active {
        opacity: 1;
        height: auto;
        max-height: 85vh;
        width: min(425px, 96vw);
        max-width: calc(100vw - 4vw);
    }
        
        
    /* Language */
        
    /* language Button */
    .language-btn {
        position: fixed;
        right: 20px;
        top: 20px;
        font-size: 28px;
        line-height: 28px;
        background-color: var(--accessibility-blue);
        color: var(--font-dark-color);
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 3000;
        transition: all 0.3s ease-in;
        box-shadow: 0px 0px 24px var(--soft-shadow);
    }
    
    .language-btn.bottom {
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 20px;
        right: 11px;
        top: 11px;
        background-color: var(--bg-dark-color);
    }

    @media (max-width: 761px) {
        .language-btn.bottom {
            right: -40px;
            top: -40px;
        }
    }
    
    .mode-dark .language-btn {
        background-color: var(--bg-light-color);
        color: var(--accessibility-blue);
    }
        
    .language-menu-btn .active {
        background-color: var(--bg-light-color);
        color: var(--accessibility-blue);
    }
        
    .mode-dark .language-menu-btn .active {
        background-color: var(--bg-light-color);
        color: var(--accessibility-blue);
    }

    .language-menu {
        position: fixed;
        opacity: 0;
        color: var(--accessibility-blue);
        border-radius: 25px;
        border: 5px solid var(--accessibility-blue);
        right: 20px;
        top: 20px; 
        width: 0px;
        height: 0px; 
        background-color: var(--bg-color);
        padding: 20px;
        overflow-y: auto;
        z-index: 2000;
        box-shadow: 0px 0px 200px var(--soft-shadow);
        transition: all 0.3s ease;
    }

    .language-menu.bottom {
        right: 11px;
        top: 11px;
    }
        
    .language-menu.active {
        opacity: 1;
        right: 20px;
        height: 475px; 
        width: 225px; 
    }        
        
    .mode-dark .language-menu {
        color: var(--font-dark-color);
        border: 5px solid var(--bg-light-color);
        background-color: var(--accessibility-blue);
    }
        
    .mode-dark .language-menu .btn {
        color: var(--font-dark-color);
        border-color: var(--bg-light-color);
        background-color: var(--accessibility-blue);
    }
        
    .mode-dark .language-menu .btn:hover {
        background-color: var(--font-blue);
    }

    .language-menu h2 {
        color: var(--accessibility-blue);
    }
    
    .mode-dark .language-menu h2 {
        color: var(--heading-dark-color);
    }

    .sidebar{
        background-color: var(--bg-light-color);
    }

    .mode-dark .sidebar {
        background-color: var(--bg-dark-color);
    }

    /* SIDEBAR */
    a.sidebar-link  {
        text-decoration: none;
        cursor: pointer;
        color: var(--font-light-color);
        font-size: 32px;
        font-weight: 100;
        line-height: 48px;
        transition: all 0.3s ease-in-out;
    }

    .mode-dark a.sidebar-link  {
        color: var(--font-dark-color);
        transition: all 0.3s ease-in-out;
    }

    a.sidebar-link:hover  {
        color: var(--accent-orange);
    }

    .mode-dark a.sidebar-link:hover  {
        color: var(--accent-dark-orange);
    }

     a.sidebar-link-sm  {
        text-decoration: none;
        cursor: pointer;
        color: var(--bg-dark-secondary);
        font-size: 18px;
        font-weight: 600;
        line-height: 24px;
        transition: all 0.3s ease-in-out;
    }

    .mode-dark a.sidebar-link-sm  {
        color: var(--bg-light-secondary);
        transition: all 0.3s ease-in-out;
    }

    a.sidebar-link-sm:hover  {
        color: var(--accent-orange);
    }

    .mode-dark a.sidebar-link-sm:hover  {
        color: var(--accent-orange);
    }

    
    /* MINI CART */

    /* Backdrop overlay */
    .cart-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.42);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        z-index: 4998;
        cursor: pointer;
    }
    .cart-backdrop.active {
        display: block;
    }

    /* Cart panel */
    .cart-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        width: 400px;
        max-width: 92vw;
        background-color: var(--bg-color);
        border-radius: 20px 0 0 20px;
        z-index: 5000;
        display: flex;
        flex-direction: column;
        box-shadow: -8px 0 48px rgba(0, 0, 0, 0.22);
        transform: translateX(100%);
        transition: transform 0.32s ease;
        pointer-events: none;
        opacity: 0;
    }
    .cart-menu.active {
        transform: translateX(0);
        pointer-events: auto;
        opacity: 1;
    }
    .mode-dark .cart-menu {
        background-color: var(--bg-dark-secondary);
    }

    /* --- Cart Header --- */
    .cart-panel-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px 14px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        flex-shrink: 0;
    }
    .mode-dark .cart-panel-header {
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }
    .cart-panel-title {
        font-family: 'Poppins', sans-serif;
        font-size: 1rem;
        font-weight: 700;
        color: var(--heading-light-color);
        display: flex;
        align-items: center;
    }
    .cart-panel-title .fa-shopping-bag {
        color: var(--accent-orange);
    }
    .mode-dark .cart-panel-title {
        color: var(--heading-dark-color);
    }
    .cart-count-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 22px;
        height: 22px;
        border-radius: 11px;
        background: var(--accent-orange);
        color: #fff;
        font-size: 0.72rem;
        font-weight: 700;
        padding: 0 6px;
    }
    .cart-close-x {
        background: none;
        border: none;
        padding: 4px 8px;
        cursor: pointer;
        font-size: 1rem;
        color: var(--font-color);
        opacity: 0.45;
        line-height: 1;
        transition: opacity 0.15s;
    }
    .cart-close-x:hover {
        opacity: 0.85;
    }
    .mode-dark .cart-close-x {
        color: var(--font-dark-color);
    }

    /* --- Cart Body (scrollable) --- */
    .cart-panel-body {
        flex: 1;
        overflow-y: auto;
        padding: 16px 20px;
    }
    .cart-panel-body::-webkit-scrollbar {
        width: 4px;
    }
    .cart-panel-body::-webkit-scrollbar-track {
        background: transparent;
    }
    .cart-panel-body::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.15);
        border-radius: 2px;
    }
    .mode-dark .cart-panel-body::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.15);
    }

    /* Cart items container */
    #cart-items-container {
        padding-right: 2px;
    }

    /* Empty state */
    .cart-empty-icon img {
        max-width: 72px;
        opacity: 0.7;
    }

    /* Pricing hints table */
    .cart-price-hints {
        background: rgba(0, 0, 0, 0.03);
        border-radius: 10px;
        padding: 12px 14px;
    }
    .mode-dark .cart-price-hints {
        background: rgba(255, 255, 255, 0.05);
    }
    .cart-price-row {
        display: flex;
        justify-content: space-between;
        font-size: 0.84rem;
        padding: 5px 0;
        color: var(--font-color);
        opacity: 0.75;
    }
    .mode-dark .cart-price-row {
        color: var(--font-dark-color);
    }
    .cart-price-row:not(:last-child) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
    .mode-dark .cart-price-row:not(:last-child) {
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }

    /* Gallery promo card (empty state) */
    .cart-gallery-promo {
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 14px;
        padding: 14px;
    }
    .mode-dark .cart-gallery-promo {
        border-color: rgba(255, 255, 255, 0.1);
    }
    .cart-gallery-promo-info {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        position: relative;
    }
    .cart-gallery-promo-img img {
        max-width: 60px;
        max-height: 60px;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 8px;
    }
    .cart-gallery-promo-name {
        font-weight: 700;
        font-size: 0.9rem;
        color: var(--heading-light-color);
    }
    .mode-dark .cart-gallery-promo-name {
        color: var(--heading-dark-color);
    }
    .cart-gallery-promo-count {
        font-size: 0.78rem;
        opacity: 0.6;
        margin-top: 2px;
    }
    .cart-gallery-promo-price {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--accent-orange);
        font-family: 'Poppins', sans-serif;
        margin-top: 4px;
    }
    .cart-best-value-badge {
        position: absolute;
        top: 0;
        right: 0;
        background: var(--accent-orange);
        color: #fff;
        font-size: 0.65rem;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 20px;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        white-space: nowrap;
    }

    /* Preview icon inside populated cart */
    .cart-preview-icon-wrap {
        position: relative;
        display: inline-block;
    }
    .cart-preview-icon {
        width: 90px;
        height: 90px;
        object-fit: contain;
    }
    .cart-preview-count {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.8rem;
        font-weight: 700;
        color: #fff;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    }

    /* --- Cart Footer (sticky) --- */
    .cart-panel-footer {
        flex-shrink: 0;
        padding: 14px 20px 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }
    .mode-dark .cart-panel-footer {
        border-top-color: rgba(255, 255, 255, 0.08);
    }

    /* Prepaid notice */
    .cart-prepaid-notice {
        font-size: 0.78rem;
        color: var(--accent-orange);
        font-weight: 600;
        margin-bottom: 10px;
        padding: 8px 10px;
        background: rgba(238, 81, 58, 0.07);
        border-radius: 8px;
    }

    /* Subtotal row */
    .cart-subtotal-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    }
    .mode-dark .cart-subtotal-row {
        border-bottom-color: rgba(255, 255, 255, 0.07);
    }
    .cart-subtotal-lbl {
        font-size: 0.88rem;
        font-weight: 700;
        color: var(--heading-light-color);
    }
    .mode-dark .cart-subtotal-lbl {
        color: var(--heading-dark-color);
    }
    .cart-subtotal-amt {
        font-size: 1.35rem;
        font-weight: 700;
        color: var(--accent-orange);
        font-family: 'Poppins', sans-serif;
    }

    /* Checkout button */
    .cart-checkout-btn {
        border-radius: 12px;
        font-size: 0.9rem;
        font-weight: 700;
        padding: 12px;
    }

    /* Trust signals */
    .cart-trust-signals {
        display: flex;
        justify-content: center;
        gap: 16px;
        font-size: 0.68rem;
        color: var(--font-color);
        opacity: 0.4;
        margin-top: 10px;
    }
    .mode-dark .cart-trust-signals {
        color: var(--font-dark-color);
    }

    /* Remove all — subtle link */
    .cart-remove-all-btn {
        font-size: 0.75rem;
        color: var(--font-color);
        opacity: 0.45;
        text-decoration: none;
    }
    .cart-remove-all-btn:hover {
        opacity: 0.7;
        text-decoration: underline;
    }
    .mode-dark .cart-remove-all-btn {
        color: var(--font-dark-color);
    }

    /* Quantity +/- controls for physical products */
    .qty-controls {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        margin-left: 8px;
        vertical-align: middle;
    }

    .qty-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        border: 1px solid rgba(0, 0, 0, 0.2);
        background: rgba(0, 0, 0, 0.05);
        color: inherit;
        font-size: 14px;
        font-weight: 600;
        line-height: 1;
        cursor: pointer;
        transition: background 0.15s, border-color 0.15s;
        padding: 0;
    }

    .qty-btn:hover {
        background: rgba(0, 0, 0, 0.12);
        border-color: rgba(0, 0, 0, 0.35);
    }

    .mode-dark .qty-btn {
        border-color: rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.08);
    }

    .mode-dark .qty-btn:hover {
        background: rgba(255, 255, 255, 0.18);
        border-color: rgba(255, 255, 255, 0.4);
    }

    .qty-display {
        min-width: 18px;
        text-align: center;
        font-size: 13px;
        font-weight: 600;
    }

    .collapsible {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        user-select: none;
    }

    .collapsible-label {
        flex: 1 1 auto;
    }

    .collapsible .total-sum {
        margin-left: auto;
        white-space: nowrap;
    }

    .collapsible-arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        color: var(--icon-color);
        transition: transform 0.2s ease;
    }

    .collapsible-arrow.expanded {
        transform: rotate(180deg);
    }

    /* Entire Gallery summary card */
    .entire-gallery-summary {
        margin-bottom: 8px;
    }

    .entire-gallery-card {
        border: 2px solid var(--prepaid-font-color);
        border-radius: 12px;
        background: var(--prepaid-background-color);
        color: var(--prepaid-font-color);
        padding: 16px;
    }

    .entire-gallery-card i {
        color: var(--prepaid-font-color);
        opacity: 0.85;
    }

    .entire-gallery-card h5 {
        margin: 4px 0;
        font-weight: 700;
        font-size: 1.1rem;
        color: var(--prepaid-font-color);
    }

    .entire-gallery-card p {
        font-size: 0.9rem;
        opacity: 0.9;
        color: var(--prepaid-font-color);
    }

    .entire-gallery-card .eg-price {
        font-size: 1.15rem;
        color: var(--prepaid-font-color);
    }

    .mode-dark .entire-gallery-card {
        border-color: var(--prepaid-font-color);
        background: var(--prepaid-background-color);
    }

    /* Hide individual items when in Entire Gallery mode */
    .cart-group.entire-gallery-mode .cart-item {
        display: none;
    }

    .cart-group.entire-gallery-mode .entire-gallery-summary {
        display: block;
    }

    /* Reset and Skip Link */
    .skip-link {
        position: absolute;
        color: var(--font-white);
        z-index: 1000;
    }

    .skip-link {
        top: -50px;
        left: 0;
        padding: 10px;
        text-decoration: none;
    }

    .skip-link:focus {
        top: 0;
    }

    .reset-btn {
        margin-top: 1rem;
        background-color: var(--danger-color);
        color: var(--font-white);
        width: 100%;
        text-align: center;
        padding: 0.5rem;
        cursor: pointer;
    }

    .reset-btn:hover {
        background-color: var(--danger-color-hover);
    }

    img {
        filter: brightness(100%);
        transition: all 0.3s ease;
    }

    .mode-dark img {
        filter: brightness(100%);
    }

    .bannerImage{
        max-width: 95vw;
        max-height: 150px;
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .customImage{
        max-width: 95vw;
        max-height: 150px;
        padding-top: 25px;
        padding-bottom: 25px;
    }

    @keyframes heroFadeIn {
        from {
            opacity: 0;
            transform: scale(0.96);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    /* Photographer theme icon (gallery landing card) */
    .themeIcon {
        max-width: 140px;
        max-height: 90px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .heroImage {
        max-width: 100%;
        max-height: 425px;
        border-radius: 9px;
        border: 10px solid var(--photo-border-color);
        transition: all 0.3s ease;
        opacity: 0;
    }

    .heroImage.loaded {
        animation: heroFadeIn 1.4s ease 0.6s forwards;
    }

    .mode-dark .heroImage {
        border: 10px solid var(--photo-border-dark-color);
    }

    .circle {
        background-color: var(--heading-light-color);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        animation: bounceAndPulse 1.5s infinite ease-in-out;
    }

    .fa-chevron-down {
        font-size: 20px;
        color: var(--font-white);
    }

    .mode-dark .circle {
        background-color: var(--heading-dark-color);
    }

    .mode-dark .fa-chevron-down {
        color: var(--heading-color);
    }

    @keyframes bounce {
        0% {
            transform: translateY(0);
        }
        100% {
            transform: translateY(10px);
        }
    }

    @keyframes bounceAndPulse {
        0%, 100% {
            transform: translateY(0) scale(1);
            box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.5); 
        }
        50% {
            transform: translateY(10px) scale(1.1);
            box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3); 
        }
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.1);
        }
        100% {
            transform: scale(1);
        }
    }

    .gallery-counts div {
        display: inline-block;
        min-width: 44%;
        padding: 5px;
        border-radius: 25px;
    }

    .gallery-counts {
        display: flex;
        justify-content: space-between;
    }

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

    @media (max-width: 992px) {
        .gallery-counts div {
            display: block;
            margin-bottom: 10px;
        }
    }

    .prepaid {
        opacity: 0.6;
        background-color: var(--prepaid-background-color);
        border: 2px solid var(--prepaid-border-color);
        transition: all 0.3s ease;
    }

    .prepaid p {
        color: var(--prepaid-font-color);
        opacity: 1;
        font-weight: 500;
        transition: all 0.3s ease;
    }
        
    .prepaid i {
        color: var(--prepaid-icon-color);
        transition: all 0.3s ease;
    }

    .rounded {
        border-radius: 25px !important;
    }

    .border-none {
        border: 0px solid #fff !important;
    }

    .menu-cart {
        background-color: var(--cart-grey);
        border-radius: 25px;
        display: flex;
        align-items: baseline;
        padding: 0px 10px 0px 10px;
        justify-content: space-between;
        transition: all 0.3s ease;
    }


    .mode-dark .menu-cart {
        background-color: var(--cart-dark-grey);
    }

    .circle-total {
        position: relative;
        left: -24px;
        top: -10px;
        height: 20px;
        width: 20px;
        border-radius: 50%;
        line-height: 20px;
        text-align: center;
        font-size: 10px;
        transform: scale(1);
    }

    .badge {
        height: 20px;
        width: 20px;
        line-height: 10px;
        font-size: 10px;
        text-align: center;
        transform: scale(1);
        transition: all 0.3s ease-in-out;
        z-index: 2;
    }

    .badge-sm {
        height: 18px;
        width: 18px;
        line-height: 18px;
        font-size: 8px;
        text-align: center;
        transform: scale(1);
        transition: all 0.3s ease-in-out;
        z-index: 2;
    }

    .badge-lg {
        height: 30px;
        width: 30px;
        line-height: 30px;
        font-size: 20px;
        text-align: center;
        transform: scale(1);
        transition: all 0.3s ease-in-out;
        z-index: 2;
    }

    .bdg-green {
        background-color: var(--prepaid-font-color);
        border-color: var(--prepaid-font-color);
        transition: all 0.3s ease-in-out;
    }
    
    .bdg-dark {
        background-color: var(--bg-dark-secondary);
        border-color: var(--bg-dark-secondary);
        box-shadow: 0 0 0 0 var(--bg-dark-secondary);
    }

    .bdg-orange {
        background-color: var(--accent-light-orange);
        border-color: var(--accent-light-orange);
        transition: all 0.3s ease-in-out;
    }

    .bdg-light-pulse {
        background-color: var(--bg-light-color);
        border-color: var(--bg-light-color);
        animation: pulse 2.3s infinite;
        transition: all 0.3s ease-in-out;
    }

    .bdg-light-pulse:nth-child(odd) {
      animation: pulse 2.3s infinite; 
    }

    .bdg-light-pulse:nth-child(even) {
      animation: pulse 1.6s infinite;
    }

    .bdg-light-pulse:nth-child(1) {
      animation: pulse 2.1s infinite; 
    }

    .bdg-light-pulse:nth-child(4) {
      animation: pulse 1.9s infinite; 
    }

    .bdg-light-pulse:nth-child(6) {
      animation: pulse 2.4s infinite; 
    }

    .bdg-green-pulse {
        background-color: var(--prepaid-font-color);
        border-color: var(--prepaid-font-color);
        box-shadow: 0 0 0 0 var(--prepaid-font-color);
        animation: pulseGreen 1.9s infinite;
        transition: all 0.3s ease-in-out;
    }
    
    .bdg-dark-pulse {
        background-color: var(--bg-dark-secondary);
        border-color: var(--bg-dark-secondary);
        box-shadow: 0 0 0 0 var(--bg-dark-secondary);
    }

    .bdg-orange-pulse {
        background-color: var(--accent-light-orange);
        border-color: var(--accent-light-orange);
        box-shadow: 0 0 0 0 var(--accent-light-orange);
        animation: pulseOrange 1.7s infinite;
        transition: all 0.3s ease-in-out;
    }

    .circle-green {
        color: var(--font-white);
        background-color: var(--accent-green);
        box-shadow: 0 0 0 0 var(--accent-green);
        animation: pulseGreen 1.9s infinite;
        transition: all 0.3s ease-in-out;
    }

    .circle-orange {
        color: var(--font-white);
        background-color: var(--accent-dark-orange);
        box-shadow: 0 0 0 0 var(--accent-dark-orange);
        animation: pulseOrange 1.7s infinite;
        transition: all 0.3s ease-in-out;
    }

    .mode-dark .circle-green {
        color: var(--font-white);
        background-color: var(--accent-dark-green);
        box-shadow: 0 0 0 0 var(--accent-dark-green);
        animation: pulseGreen 1.9s infinite;
    }

    .mode-dark .circle-orange {
        color: var(--font-white);
        background-color: var(--accent-dark-orange);
        box-shadow: 0 0 0 0 var(--accent-dark-orange);
        animation: pulseOrange 1.7s infinite;
    }

    .mode-dark .prepaid {
        opacity: 1;
    }

    .mode-dark .prepaid p {
        opacity: 1;
    }

    .container-fluid {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

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

    .secondary-menu {
        background-color: var(--bg-color);
        color: var(--heading-color);
        transition: all 0.3s ease;
    }

    .secondary-menu.is-stuck-shadow {
        box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18);
    }

    .mode-dark .secondary-menu {
    background-color: var(--bg-dark-color);
    color: var(--font-dark-color);
    }

    .mode-dark .modal-content {
    background-color: var(--bg-dark-color);
    border: 3px solid var(--accent-orange);
    color: var(--font-dark-color);
    box-shadow: 0px 0px 44px var(--soft-shadow);
    }

    .mode-light .secondary-menu {
        background-color: var(--bg-light-color);
        color: var(--heading-color);
        transition: all 0.3s ease;
    }
    @keyframes pulse {
        0% {
            transform: scale(0.95);
            box-shadow: 0 0 0 0 var(--pulse-glow);
        }

        70% {
            transform: scale(1);
            box-shadow: 0 0 0 9px rgba(244, 244, 244, 0);
        }

        100% {
            transform: scale(0.95);
            box-shadow: 0 0 0 0 rgba(244, 244, 244, 0);
        }
    }

    @keyframes pulseOrange {
        0% {
            transform: scale(0.95);
            box-shadow: 0 0 0 0 var(--accent-dark-orange);
        }

        70% {
            transform: scale(1);
            box-shadow: 0 0 0 10px rgba(238, 81, 58, 0);
        }

        100% {
            transform: scale(0.95);
            box-shadow: 0 0 0 0 rgba(238, 81, 58, 0);
        }
    }

    @keyframes pulseGreen {
        0% {
            transform: scale(0.95);
            box-shadow: 0 0 0 0 var(--accent-dark-green);
        }

        70% {
            transform: scale(1);
            box-shadow: 0 0 0 10px rgba(44, 182, 167, 0);
        }

        100% {
            transform: scale(0.95);
            box-shadow: 0 0 0 0 rgba(44, 182, 167, 0);
        }
    } 

    @keyframes flashingAnimation {
        0% {
            opacity: 1;
        }
        100% {
            opacity: 0.5;
        }
    }

    .category-item {
        transition: all 0.3s ease;
    }

    .category-item .btn {
        border-color: var(--accent-orange);
        color: var(--accent-orange);
        transition: all 0.3s ease;
    }

    .category-item .btn:hover {
        background-color: var(--accent-orange);
        color: var(--font-dark-color);
    }

    .category-item.active .btn {
        background-color: var(--accent-orange);
        color: var(--font-dark-color);
        font-weight: 800;
    }

    .category-card h5{
        color: var(--heading-color);
        padding-top: 5px;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
    }

    .category-card:hover h5{
        color: var(--accent-dark-orange);
        transition: all 0.3s ease-in-out;
    }

    .mode-dark .category-item.active h5 {
        color: var(--heading-dark-color);
    }

    .mode-dark .category-card:hover h5{
        color: var(--heading-dark-color);
        transition: all 0.3s ease-in-out;
    }
    
    .mode-dark .category-card h5{
        color: var(--accent-dark-orange);
        transition: all 0.3s ease-in-out;
    }

    #products {
        top: 62px;
        padding-top: 15px;
        transition: all 0.3s ease;
    }

    .mode-dark #products {
        transition: all 0.3s ease;
    }

    #products-container {
        height: 0px;
        opacity: 0;
        pointer-events: none;
        transition: all 0.5s ease;
    }

    #products-container.show {
        height: 100%;
        pointer-events: auto;
        opacity: 1;
    }

    #products-container .card {
        margin-top: 15px;
        border: 2px solid var(--bg-light-color);
        transition: all 0.3s ease-in-out;
    }

    .mode-dark #products-container .card {
        background-color: var(--cart-dark-grey);
    }

    #products-container .card:hover {
        border-color: var(--accent-orange);
        box-shadow: 0px 0px 22px var(--soft-shadow);
    }

    .mode-dark #products-container .card:hover {
        border-color: var(--accent-orange);
        box-shadow: 0px 0px 22px var(--soft-shadow);
    }

    #products-container .card.h-100.product.selected {
        transition: all 0.3s ease;
        border-color: var(--accent-orange);
        background-color: var(--bg-light-secondary);
        box-shadow: 0px 0px 11px var(--accent-orange), 0px 0px 44px var(--soft-shadow);
        transform: scale(1.01);
    }

    .mode-dark #products-container .card.h-100.product.selected {
        border-color: var(--accent-dark-orange);
        background-color: var(--bg-dark-secondary);
        box-shadow: 0px 0px 66px var(--soft-shadow);
        transform: scale(1.02);
    }

    .product-image {
        border-radius: 10px;
    }

    .product-img {
        max-width: 75px;
        max-height: 75px;
        transition: all 0.3 ease;
    }

    .product-img:hover {
        transform: scale(1.1);
    }

    .spin-out {
        transform: rotate(360deg);
    }

    .gallery-item {
        position: relative;
    }

.overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(255, 255, 255, 0.75);
        justify-content: center;
        align-items: center;
        pointer-events: none;
        display: flex;
        z-index: 1;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.95);
        transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out, visibility 0s linear 0.3s;
    }

    .overlay.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
        transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out, visibility 0s linear;
    }

    .overlay-content {
        text-align: center;
        color: var(--font-white);
    }

    .prepaid-footer {
        position: fixed;
        bottom: -100%;
        left: 0px;
        background-color: var(--prepaid-background-color);
        color: var(--prepaid-font-color);
        border-radius: 25px 25px 0px 0px;
        padding: 10px;
        transition: all 0.3s ease;
    }

    .fixed-bottom {
        bottom: 0;
        left: 0;
    }

    /* Define the style for the underline */
.fancy-underline {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

/* Create the pseudo-element for the underline */
.fancy-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-orange); /* Change this to your preferred underline color */
    transition: width 0.3s ease;
}

/* Define the hover effect */
.fancy-underline:hover::after {
    width: 98%;
}

/* Optional: Adjustments for links */
.fancy-underline:hover {
    color: inherit;
}

/* Ken Burns Slideshow */
#carousel {
    width: 100%;
}

.kb-slideshow {
    position: relative;
    overflow: hidden;
    height: 72vh;
    border: 16px solid var(--photo-border-color);
    background-color: #111;
    border-radius: 20px;
    cursor: pointer;
}

.kb-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.kb-slide.kb-active {
    opacity: 1;
}

.kb-slide img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: translate(-50%, -50%) scale(1.0);
}

/* Ken Burns animation variants — 4 directions, cycles per slide */
.kb-slide.kb-dir-1.kb-active img {
    animation: kbDir1 7s ease-in-out forwards;
}
.kb-slide.kb-dir-2.kb-active img {
    animation: kbDir2 7s ease-in-out forwards;
}
.kb-slide.kb-dir-3.kb-active img {
    animation: kbDir3 7s ease-in-out forwards;
}
.kb-slide.kb-dir-4.kb-active img {
    animation: kbDir4 7s ease-in-out forwards;
}

@keyframes kbDir1 {
    from { transform: translate(-50%, -50%) scale(1.10) translate(1.5%, 1%); }
    to   { transform: translate(-50%, -50%) scale(1.00) translate(0%,    0%); }
}
@keyframes kbDir2 {
    from { transform: translate(-50%, -50%) scale(1.00); }
    to   { transform: translate(-50%, -50%) scale(1.10); }
}
@keyframes kbDir3 {
    from { transform: translate(-50%, -50%) scale(1.10) translate(-1.5%, 1%); }
    to   { transform: translate(-50%, -50%) scale(1.00) translate(0%,     0%); }
}
@keyframes kbDir4 {
    from { transform: translate(-50%, -50%) scale(1.00) translate(1%, -1%); }
    to   { transform: translate(-50%, -50%) scale(1.10) translate(0%,  0%); }
}

/* Slide counter */
.kb-counter {
    position: absolute;
    bottom: 14px;
    right: 18px;
    color: rgba(255, 255, 255, 0.75);
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    z-index: 10;
    pointer-events: none;
}

/* Prev / Next nav */
.kb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.28);
    border: none;
    color: rgba(255, 255, 255, 0.8);
    width: 44px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
    font-size: 1rem;
}
.kb-nav:hover {
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
}
.kb-nav-prev { left: 0; border-radius: 0 3px 3px 0; }
.kb-nav-next { right: 0; border-radius: 3px 0 0 3px; }



#activeProduct .card {
    border: none;
    text-align: left !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#activeProduct .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.mode-dark #activeProduct .card {
    border: none;
    background-color: var(--cart-dark-grey);
    color: var(--heading-dark-color);
}

.mode-dark #activeProduct .card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

#activeProduct .card .btn {
    position: absolute;
    background-color: var(--accent-orange);
    border: 3px solid var(--bg-light-color);
    color: var(--font-dark-color);
    bottom: -20px;
    left: 25%;
    right: 25%;
    margin: 0 auto;
    transition: all 0.3 ease;
}

#activeProduct .card .btn:hover {
    background-color: var(--bg-light-color);
    border: 2px solid var(--accent-orange);
    color: var(--accent-orange);

}

.btn {
    border-radius: 20px;
    cursor: pointer;
    padding: 10px;
    font-weight: 800;
}

.btn-danger {
    cursor: pointer;
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
}

.btn-danger:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    background-color: var(--bg-light-color);
}

.btn-outline-danger {
    cursor: pointer;
    background-color: var(--bg-light-color);
    border: 2px solid var(--accent-orange);
    color: var(--accent-orange);
}

.btn-outline-danger:hover {
    background-color: var(--accent-orange);
    border: 2px solid var(--bg-light-color);
    color: var(--bg-light-color);
}

.btn-outline-primary {
    background-color: var(--bg-light-color);
    border: 1px solid var(--heading-light-color);
    color: var(--heading-light-color);
    margin-bottom: 2px;
}

.btn-outline-primary:hover {
    background-color: var(--bg-light-color);
    border: 1px solid var(--accent-orange);
    color: var(--accent-orange);
}

.btn-square {
    width: 51px; 
    height: 52px;
    border-radius: 10px;
    transition: all 0.3 ease-in-out;
}

.btn-square.active {
    border: 2px solid var(--accent-orange);
    color: var(--accent-orange);
}

.donation-added {
    background-color: var(--accent-orange);
    color: var(--font-dark-color);
    border-radius: 10px;
}

/* --- Cart Feedback Chip --- */
#cartChip {
    position: fixed;
    top: 115px; /* JS overrides this to secondary-menu bottom + 8px */
    right: 1rem;
    width: 300px;
    background: var(--overlay-bg);
    color: var(--overlay-text);
    border: 1px solid var(--overlay-border);
    border-radius: 12px;
    box-shadow: 0 6px 28px var(--soft-shadow);
    z-index: 6000;
    transform: translateX(calc(100% + 2rem));
    transition: transform 0.32s cubic-bezier(0.34, 1.4, 0.64, 1);
    pointer-events: none;
}
#cartChip.show {
    transform: translateX(0);
    pointer-events: auto;
}
.cart-chip-inner {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
}
.cart-chip-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 7px;
    flex-shrink: 0;
    background: var(--overlay-bg-secondary);
}
.cart-chip-body {
    flex: 1;
    min-width: 0;
}
.cart-chip-title {
    font-weight: 600;
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--overlay-text);
}
.cart-chip-meta {
    display: flex;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--overlay-text-muted);
    margin-top: 0.1rem;
}
.cart-chip-price {
    color: var(--accent-orange);
    font-weight: 600;
}
.cart-chip-view {
    background: var(--accent-orange);
    color: var(--font-white);
    border: none;
    border-radius: 7px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.15s;
}
.cart-chip-view:hover {
    background: var(--accent-light-orange);
}
.cart-chip-close {
    background: none;
    border: none;
    color: var(--overlay-text-muted);
    padding: 0.2rem;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 0.7rem;
    opacity: 0.55;
    line-height: 1;
}
.cart-chip-close:hover {
    opacity: 1;
}
.mode-dark #cartChip {
    background: var(--surface-elevated-dark);
    border-color: var(--overlay-border);
}

img.logo {
    height: 75px;
    max-width: 100%;
    transition: all 0.3s ease;
}

.live img.logo {
    max-height: 75px;
}

.secondary-menu img.logo {
    max-height: 75px;
}

.secondary-menu .live img.logo {
        max-height: 50px;   
    }

@media (max-width: 761px) {
    .secondary-menu img.logo {
        max-height: 50px;
    }
    
    .secondary-menu .live img.logo {
        max-height: 40px;   
    }
}

.secondary-menu img.logo {
    max-height: 50px;
}

/* --- Logo slides up off-screen / heading text fades in when scrolled past heading --- */
.nav-logo-area {
    position: relative;
    overflow: hidden;
}

.nav-logo-area img.logo {
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.nav-heading-text {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: 600;
    color: var(--heading-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

/* Scrolled past heading: logo slides up and out, heading fades in */
.secondary-menu.past-heading .nav-logo-area img.logo {
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
}

.secondary-menu.past-heading .nav-heading-text {
    opacity: 1;
}

/* Image clicked: logo slides back down into view, heading fades out */
.secondary-menu.image-selected .nav-logo-area img.logo {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.secondary-menu.image-selected .nav-heading-text {
    opacity: 0;
}

.mode-dark .nav-heading-text {
    color: var(--font-dark-color);
}

.donation-logo{
    max-height: 75px;
}

.donation-text{
    font-weight: 500;
    font-size: 14px;
    color: var(--heading-light-color);
}

.mode-dark .donation-text{
    color: var(--heading-dark-color);
}

.donation-link{
    font-weight: 100;
    font-size: 12px;
    text-decoration: none;
    color: var(--prepaid-font-color);
}

.footer-text {
    font-weight: 100;
    font-size: 12px;
}

.footer-text a {
    font-weight: 200;
    font-size: 12px;
    text-decoration: none;
    color: var(--accent-light-orange);
}

.footer-text a:hover {
    font-weight: 300;
    text-decoration: none;
    color: var(--accent-dark-orange);
}

/* Cart item row — flex layout */
.cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    position: relative;
}
.cart-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: var(--overlay-border);
    opacity: 0.5;
}
.cart-thumb-wrap {
    position: relative;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}
.cart-thumb-wrap:hover .cart-thumb-zoom {
    opacity: 1;
}
.cart-thumb-zoom {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.15s ease;
    cursor: pointer;
}
.cart-item-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    background: var(--bg-dark-secondary, #eee);
}
.cart-item-details {
    flex: 1;
    min-width: 0;
}
.cart-item-name {
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.cart-item-meta {
    font-size: 0.78rem;
    color: var(--font-muted-color, #888);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.cart-item-qty-label {
    display: inline-flex;
    align-items: center;
}
.remove-from-cart {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--font-muted-color, #aaa);
    font-size: 0.7rem;
    padding: 4px 6px;
    cursor: pointer;
    border-radius: 4px;
    line-height: 1;
    transition: color 0.15s ease, background 0.15s ease;
}
.remove-from-cart:hover {
    color: var(--danger-color, #dc3545);
    background: rgba(220, 53, 69, 0.1);
}

/* Cart image lightbox — z-index must exceed cart panel (5000) */
#cartImageLightbox {
    z-index: 6000;
}
.cart-lightbox-modal .modal-content {
    border: 1px solid var(--overlay-border);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
    border-radius: 10px;
}
.cart-lightbox-modal .modal-header {
    border-bottom: 1px solid var(--overlay-border);
}
.mode-light .cart-lightbox-modal .modal-content {
    background: var(--bg-color);
    color: var(--font-color);
}
.mode-light .cart-lightbox-modal .modal-header {
    background: var(--bg-color);
}
.mode-dark .cart-lightbox-modal .modal-content {
    background: var(--bg-dark-color);
    color: var(--font-dark-color);
}
.mode-dark .cart-lightbox-modal .modal-header {
    background: var(--bg-dark-color);
}
.mode-dark .cart-lightbox-modal .btn-close {
    filter: invert(1) grayscale(1) brightness(200%);
}
.cart-lightbox-img {
    display: block;
    max-width: 100%;
    max-height: 75vh;
    margin: 0 auto;
    border-radius: 6px;
    object-fit: contain;
}

.checkout-label {
    font-size: 14px;
    font-weight: light;
    color: var(--heading-color);
    font-family: 'Poppins', sans-serif !important;
}


/* STYLE FOR SHOPPING CART */
.callout {
    border-left: 4px solid var(--prepaid-border-color);
    background-color: var(--prepaid-background-color);
    color: var(--prepaid-border-color);
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}

.callout .checkout-label {
    color: var(--prepaid-border-color);
}

.callout i {
    color: var(--prepaid-border-color);
}

/* Album Select: nudge + campaign modal */
.gallery-nudge-widget {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translate(-100%, -50%);
    background: var(--prepaid-background-color);
    color: var(--prepaid-font-color);
    border-radius: 0 12px 12px 0;
    padding: 16px;
    box-shadow: 2px 0 8px var(--shadow-color);
    z-index: 9999;
    max-width: 260px;
    transition: transform 0.5s ease-out;
    opacity: 0.95;
    border-left: 4px solid var(--accent-orange);
}

#nudgeText {
    font-weight: 900;
}

.gallery-nudge-widget.visible {
    transform: translate(0, -50%);
}

/* Album UX V2: lightbox */

.zoom-image-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: rgba(0, 0, 0, 0.62);
    color: var(--font-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.zoom-image-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.album-lightbox-modal .modal-content {
    background: var(--overlay-bg);
    color: var(--overlay-text);
    border: 1px solid var(--overlay-border);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
    border-radius: 0;
    min-height: 100vh;
}

.album-lightbox-modal .modal-header {
    background: var(--overlay-bg-secondary);
    border-bottom: 1px solid var(--accent-dark-orange) !important;
}

.album-lightbox-modal .modal-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(100vh - 72px);
}

.mode-dark .album-lightbox-modal .btn-close {
    filter: invert(1) grayscale(1) brightness(200%);
}

.album-lightbox-esc-hint {
    font-size: 0.85rem;
    color: var(--overlay-text-muted);
}

.album-lightbox-esc-hint kbd {
    background: var(--overlay-border);
    color: var(--overlay-text);
    border: 1px solid var(--overlay-border);
    box-shadow: none;
}

.album-lightbox-stage {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 210px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-lightbox-img {
    max-width: 100%;
    max-height: 72vh;
    border-radius: 8px;
}

.album-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--overlay-border);
    background: var(--overlay-bg);
    color: var(--overlay-text);
}

.album-lightbox-prev {
    left: 10px;
}

.album-lightbox-next {
    right: 10px;
}

.album-lightbox-meta {
    font-size: 0.86rem;
    opacity: 0.8;
}

.btn-hold-preview.is-holding {
    background-color: var(--warning-color);
    border-color: var(--warning-color);
    color: var(--font-white);
}

.emoji-big {
    font-size: 2.25rem;
    line-height: 1;
    display: inline-block;
    margin-bottom: 4px;
}

.close-nudge {
    position: absolute;
    top: 6px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--cart-dark-grey);
    cursor: pointer;
}

.close-nudge:hover {
    color: var(--font-color);
}

.prepaid-slideout {
    position: fixed;
    right: -315px;
    bottom: 120px;
    background: var(--prepaid-background-color);
    color: var(--prepaid-font-color);
    padding: 15px 25px;
    border-radius: 12px 0 0 12px;
    box-shadow: 0 3px 10px var(--shadow-color);
    font-size: 14px;
    font-weight: 500;
    transition: right 0.5s ease;
    z-index: 1050;
    border-left: 10px solid var(--accent-orange);
}

.prepaid-slideout.show {
    right: 0;
}

/* -------------------------------------------------------
   Entire-gallery proximity hint (inside mini-cart footer)
   ------------------------------------------------------- */

/* Shown once the remaining gap drops below half the gallery price */
.gallery-deal-hint {
    background: var(--prepaid-background-color);
    color: var(--prepaid-font-color);
    border-radius: 8px;
    padding: 10px 12px 8px;
    margin-bottom: 10px;
    text-align: center;
}
.gallery-deal-hint-text {
    font-size: 0.85rem;
    margin: 0 0 8px;
}

.animates-modal {
    background: var(--accent-orange);
    border-radius: 20px;
    border: none !important;
    padding: 0;
}

.animates-modal .modal-header,
.animates-modal .modal-footer {
    border: none !important;
}

.animates-title {
    font-weight: 900;
    font-size: 42px;
    margin-top: 15px;
    margin-bottom: 10px;
    color: var(--font-color);
    text-transform: uppercase;
}

.animates-subtitle {
    font-weight: 700;
    font-size: 22px;
    color: var(--heading-color);
    margin-bottom: 10px;
}

.animates-text {
    font-size: 17px;
    font-weight: 500;
    color: var(--font-color);
    line-height: 1.45;
    padding: 0 15px;
}

.animates-primary-btn {
    border: 4px solid var(--accent-orange);
    background: var(--bg-dark-color);
    color: var(--font-dark-color);
    font-size: 18px;
    padding: 12px 0;
    border-radius: 40px;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
}

.animates-primary-btn:hover {
    border: 4px solid var(--bg-dark-color);
    background: var(--accent-orange);
    color: var(--font-color);
    font-size: 18px;
    padding: 12px 0;
    border-radius: 40px;
    font-weight: 700;
}

.animates-skip-btn {
    background: var(--accent-orange);
    color: var(--font-color);
    font-size: 14px;
    font-weight: 700;
    border-radius: 30px;
    padding: 8px 20px;
}

.animates-footer {
    border: none;
    background: transparent;
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

/* ============================================================
   Model Release Modal — generic admin-designed modal
   Colors injected as CSS custom properties on the modal element
   from admin DB values (--mr-bg, --mr-text, --mr-accent, etc.)
   ============================================================ */
.mr-modal .mr-modal-dialog {
    max-width: var(--mr-width, 480px);
}
.mr-modal .mr-modal-content {
    background: var(--mr-bg, #ffffff);
    color: var(--mr-text, #333333);
    border-radius: var(--mr-radius, 12px);
    border: none;
    overflow: hidden;
    font-family: var(--mr-font, Poppins, system-ui, sans-serif);
}
.mr-hero {
    width: 100%;
    max-height: 200px;
    overflow: hidden;
}
.mr-hero-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.mr-modal-body {
    padding: 24px;
}
.mr-logo-wrap {
    text-align: center;
    margin-bottom: 12px;
}
.mr-logo {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
}
.mr-headline {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--mr-text, #333333);
    margin-bottom: 6px;
    text-align: center;
}
.mr-subheadline {
    font-size: 1rem;
    font-weight: 600;
    color: var(--mr-text, #333333);
    opacity: 0.85;
    text-align: center;
    margin-bottom: 12px;
}
.mr-body-text {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 14px;
}
.mr-legal-scroll {
    max-height: 140px;
    overflow-y: auto;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 14px;
    font-size: 0.8rem;
    line-height: 1.45;
    background: rgba(0,0,0,0.02);
}
.mr-legal-text {
    color: var(--mr-text, #333333);
    opacity: 0.8;
}
.mr-form .mr-field-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--mr-text, #333333);
    margin-bottom: 2px;
}
.mr-form .mr-field-input {
    border-color: rgba(0,0,0,0.15);
    font-size: 0.88rem;
}
.mr-form .mr-field-input:focus {
    border-color: var(--mr-accent, #e8513a);
    box-shadow: 0 0 0 2px rgba(232,81,58,0.15);
}
.mr-req {
    color: var(--mr-accent, #e8513a);
    font-weight: 700;
}
.mr-consent-check {
    font-size: 0.85rem;
}
.mr-consent-label {
    color: var(--mr-text, #333333);
}
.mr-cta-btn {
    background: var(--mr-btn-bg, var(--mr-accent, #e8513a));
    color: var(--mr-btn-text, #ffffff);
    border: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 12px;
    border-radius: calc(var(--mr-radius, 12px) / 2);
    transition: opacity 0.2s ease;
}
.mr-cta-btn:hover {
    opacity: 0.9;
    color: var(--mr-btn-text, #ffffff);
}
.mr-cta-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.mr-skip-btn {
    background: transparent;
    color: var(--mr-text, #333333);
    opacity: 0.5;
    font-size: 0.85rem;
    font-weight: 500;
    border: none;
    transition: opacity 0.2s ease;
}
.mr-skip-btn:hover {
    opacity: 0.8;
    color: var(--mr-text, #333333);
}

/* Dark mode */
.mode-dark .mr-modal .mr-modal-content {
    box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.mode-dark .mr-legal-scroll {
    border-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
}
.mode-dark .mr-form .mr-field-input {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.15);
    color: var(--mr-text, #eeeeee);
}
.mode-dark .mr-form .mr-field-input:focus {
    border-color: var(--mr-accent, #e8513a);
    box-shadow: 0 0 0 2px rgba(232,81,58,0.25);
}

/* ============================================================
   Styles consolidated from inline <style> blocks in views
   ============================================================ */

/* --- login/termsofuse.php --- */
.bodytext {
    color: var(--font-color);
}

/* --- layout/footer_login.php: Scene to Believe SVG hover --- */
.stb-svg {
    transition: 0.3s ease-in-out;
    transform: scale(1.0);
}

.stb-svg:hover {
    transform: scale(1.1);
}

/* --- checkout/paymentconfirm_view.php: order confirmation items --- */
.confirmedItem {
    color: var(--font-color);
    margin-top: 20px;
    padding-bottom: 10px;
    border-bottom: 1px dotted var(--social-glow);
    transition: all 0.3s ease-in-out;
}

.confirmedItem img {
    transition: all 0.3s ease-in-out;
}

.confirmedItem:hover img {
    transform: scale(1.02);
}

.confirmedItem .label {
    color: var(--social-glow);
    font-weight: 800;
}

/* --- layout/header.php + main/index.php: best-value product banner --- */
.best-value-banner {
    position: absolute;
    top: -35px;
    left: 30%;
    width: 99%;
    height: 30px;
    background-color: var(--accent-orange);
    overflow: hidden;
    text-align: center;
    color: var(--font-white);
    transform: rotate(45deg);
    transform-origin: left bottom;
    z-index: 1;
    box-shadow: 0px 0px 5px var(--social-glow);
    line-height: 30px;
    font-weight: bold;
}

.best-value-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: inherit;
    transform-origin: bottom left;
    transform: skewY(-45deg);
    box-shadow: 0px 0px 5px var(--shadow-color);
}

.best-value-banner:after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
    animation: shimmerSweep 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmerSweep {
    0%, 45% { left: -80%; }
    100%    { left: 160%; }
}

.gallery-icon {
    position: absolute;
    max-width: 100%;
    max-height: 60%;
    width: auto;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.best-value-container {
    position: relative;
    overflow: hidden;
}

/* --- registration/entry_view.php: country phone flag --- */
.phone-flag {
    display: inline-block;
    width: 24px;
    height: 16px;
    background-size: cover;
    background-position: center center;
    border-radius: 2px;
    margin-right: 4px;
}

.flag-default { background-color: var(--cart-grey); }
.flag-us { background-image: url('/assets/img/flags/us.png'); }
.flag-ca { background-image: url('/assets/img/flags/ca.png'); }
.flag-uk { background-image: url('/assets/img/flags/uk.png'); }
.flag-au { background-image: url('/assets/img/flags/au.png'); }
.flag-nz { background-image: url('/assets/img/flags/nz.png'); }
.flag-jp { background-image: url('/assets/img/flags/jp.png'); }

/* layout/navbar.php */
.navbar-fixed {
    top: 0px;
    z-index: 98;
    position: fixed;
    width: 100%;
    transition: all 1s ease-in-out;
}

/* login/vieworder.php */
/* ---------- Order page polish (Bootstrap-friendly) ---------- */

.order-wrap { padding-top: 1.5rem; padding-bottom: 2rem; }

.order-card {
    border: 1px solid rgba(0,0,0,.075);
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.06);
}

.order-card-header {
    background: linear-gradient(180deg, rgba(13,110,253,.10), rgba(13,110,253,.02));
    border-bottom: 1px solid rgba(0,0,0,.06);
    padding: 1.25rem 1.25rem;
}

.order-title { margin: 0; font-weight: 700; letter-spacing: .2px; }

.order-subtitle {
    margin-top: .25rem;
    color: rgba(0,0,0,.60);
    font-size: .95rem;
}

.order-summary { padding: 1rem 1.25rem; }

.order-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
}

@media (max-width: 992px) { .order-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 576px) { .order-summary-grid { grid-template-columns: 1fr; } }

.order-summary-box {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: .75rem;
    padding: .85rem .9rem;
    min-height: 90px;
}

.order-summary-label {
    color: rgba(0,0,0,.55);
    font-size: .85rem;
    margin-bottom: .25rem;
}

.order-summary-value {
    font-weight: 600;
    color: rgba(0,0,0,.85);
    line-height: 1.25rem;
    word-break: break-word;
}

.order-table-wrap { padding: 0 1.25rem 1.25rem; }

.order-table { margin: 0; }

.order-table thead th {
    font-size: .85rem;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: rgba(0,0,0,.55);
    border-top: 0;
}

.order-item-row td { vertical-align: top; }

/* Don't force square crop */
.order-thumb {
    width: 100px;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    border-radius: .75rem;
    border: 1px solid rgba(0,0,0,.08);
    background: #fff;
    display: block;
}

.order-bundle-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .55rem;
    border-radius: 999px;
    background: rgba(13,110,253,.10);
    color: rgba(13,110,253,.95);
    font-weight: 600;
    font-size: .8rem;
    margin-bottom: .35rem;
}

.order-product-name { font-weight: 700; color: rgba(0,0,0,.85); }

.order-qty { color: rgba(0,0,0,.65); font-size: .95rem; }

.order-label { color: rgba(0,0,0,.55); font-size: .85rem; }

.order-meta { font-size: .9rem; color: rgba(0,0,0,.75); }

.order-status-main { font-weight: 700; color: rgba(0,0,0,.80); }

.order-status-sub { margin-top: .15rem; font-size: .9rem; color: rgba(0,0,0,.60); }

.order-price { font-weight: 800; }

.order-time { color: rgba(0,0,0,.60); font-size: .9rem; }

.order-empty {
    padding: 2rem;
    border: 1px dashed rgba(0,0,0,.25);
    border-radius: 1rem;
    color: rgba(0,0,0,.65);
    background: rgba(0,0,0,.02);
}

.order-pending { display: flex; align-items: flex-start; gap: .5rem; }

/* Loader that renders consistently */
.order-loader {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(13,110,253,.25);
    border-top-color: rgba(13,110,253,.95);
    border-radius: 50%;
    animation: orderspin .7s linear infinite;
    flex: 0 0 auto;
    margin-top: .2rem;
}

@keyframes orderspin { to { transform: rotate(360deg); } }

/* Column widths (no inline styles) */
.order-col-item { width: 100px; }
.order-col-price { width: 140px; }
.order-col-status { width: 220px; }
.order-col-updated { width: 170px; }

/* =========================================================
   Photographer Upsell Modal
   ========================================================= */

.photographer-upsell-modal {
    border-radius: 20px;
    overflow: hidden;
}

.photographer-upsell-body {
    padding: 2rem 1.75rem 1.25rem;
}

.photographer-upsell-subtitle {
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 0.75rem;
}

.photographer-upsell-text {
    font-size: 1rem;
    margin-top: 1rem;
}

.photographer-upsell-primary-btn {
    font-weight: 700;
    border-radius: 999px;
    padding: 0.8rem;
    border: none;
}

.photographer-upsell-footer {
    border-top: none;
    justify-content: center;
    padding-bottom: 1.5rem;
}

/* Kringle theme */
.photographer-upsell-modal.theme-kringles {
    background: #fff7d9;
    border: 3px solid #c72c2c;
}

.photographer-upsell-modal.theme-kringles .photographer-upsell-subtitle {
    color: #4a2b00;
}

.photographer-upsell-modal.theme-kringles .photographer-upsell-text {
    color: #3a2300;
}

.photographer-upsell-modal.theme-kringles .photographer-upsell-primary-btn {
    background: #c72c2c;
    color: #fff;
}

.photographer-upsell-modal.theme-kringles .photographer-upsell-primary-btn:hover {
    background: #e23b3b;
}

.photographer-upsell-modal.theme-kringles .photographer-upsell-skip-btn {
    background: transparent;
    color: #4a2b00;
    border: none;
    font-weight: 600;
}

/* Ashley theme */
.photographer-upsell-modal.theme-ashley {
    background: #f9f4ec;
    border: 3px solid #6b4b2a;
}

.photographer-upsell-modal.theme-ashley .photographer-upsell-subtitle {
    color: #4a3320;
}

.photographer-upsell-modal.theme-ashley .photographer-upsell-text {
    color: #5a4636;
}

.photographer-upsell-modal.theme-ashley .photographer-upsell-primary-btn {
    background: #6b4b2a;
    color: #fff;
}

.photographer-upsell-modal.theme-ashley .photographer-upsell-primary-btn:hover {
    background: #866040;
}

/* =========================================================
   Gallery filter bar — layout toggle buttons (#8)
   ========================================================= */

.btn-circle {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid var(--accent-orange);
    color: var(--accent-orange);
    background-color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-circle:hover {
    background-color: var(--accent-orange);
    color: var(--font-white);
}

.btn-circle.active {
    background-color: var(--accent-orange);
    color: var(--font-white);
    border-color: var(--accent-orange);
}

.btn-circle:hover .icon,
.btn-circle.active .icon {
    color: var(--font-white);
}

.mode-dark .btn-circle {
    border-color: var(--accent-dark-orange);
    color: var(--accent-dark-orange);
}

.mode-dark .btn-circle:hover,
.mode-dark .btn-circle.active {
    background-color: var(--accent-dark-orange);
    color: var(--font-white);
    border-color: var(--accent-dark-orange);
}

.mode-dark .btn-circle:hover .icon,
.mode-dark .btn-circle.active .icon {
    color: var(--font-white);
}

/* =========================================================
   End gallery filter bar
   ========================================================= */

/* =========================================================
   Order downloads page — bg slow drift + text shadow
   ========================================================= */

@keyframes bgSlowDrift {
    0%   { background-position: center 35%; }
    50%  { background-position: center 65%; }
    100% { background-position: center 35%; }
}

.order-dl-bg {
    background-attachment: scroll !important;
    background-position: center center !important;
    animation: bgSlowDrift 30s ease-in-out infinite;
}

/* =========================================================
   End order downloads page
   ========================================================= */

.photographer-upsell-modal.theme-ashley .photographer-upsell-skip-btn {
    background: transparent;
    color: #4a3320;
    border: none;
    font-weight: 600;
}

/* =====================================================
   Checkout — polished card + summary design system
   Adapted from cheddar.findyourpictures.com patterns
   ===================================================== */

/* Section card — no hard border, soft radius + shadow */
.co-card {
    border: none !important;
    border-radius: 15px !important;
    background-color: var(--bg-color);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08) !important;
    padding: 28px !important;
    margin-bottom: 20px;
}
.mode-dark .co-card {
    background-color: var(--bg-dark-color);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3) !important;
}

/* Back button + heading row wrapper */
.co-step-heading-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}
.co-step-heading-row .co-step-heading {
    margin-bottom: 0;
    flex: 1;
}
.co-back-btn {
    background: none;
    border: none;
    padding: 2px 6px;
    font-size: 0.8rem;
    color: var(--font-muted-color, #888);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}
.co-back-btn:hover { color: var(--accent-orange); }
.mode-dark .co-back-btn { color: var(--font-dark-color); }
.mode-dark .co-back-btn:hover { color: var(--accent-light-orange); }

/* Section heading + subtext */
.co-step-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.mode-dark .co-step-heading { color: var(--heading-dark-color); }

/* Numbered step badge inside co-step-heading */
.co-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-orange);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    flex-shrink: 0;
    line-height: 1;
}
.mode-dark .co-step-num { background: var(--accent-dark-orange); }

.co-step-subtext {
    font-size: 0.78rem;
    color: var(--font-color);
    opacity: 0.45;
    margin-bottom: 20px;
}

/* Muted ALL-CAPS section label (e.g. "ITEMS") */
.co-section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--font-color);
    opacity: 0.38;
    margin-bottom: 10px;
}

/* Summary line: label left, amount right */
.co-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
}
.co-summary-line .lbl {
    font-size: 0.83rem;
    color: var(--font-color);
    flex: 1;
    line-height: 1.4;
}
.co-summary-line .lbl.muted { opacity: 0.55; }
.co-summary-line .lbl small  { font-size: 0.72rem; opacity: 0.6; }
.co-summary-line .amt {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--font-color);
    white-space: nowrap;
    padding-left: 12px;
}
.co-summary-line.discount .lbl,
.co-summary-line.discount .amt { color: var(--accent-orange); }

/* Total row */
.co-summary-line.co-total .lbl {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--heading-color);
}
.co-summary-line.co-total .amt {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent-orange);
    font-family: 'Poppins', sans-serif;
}
.mode-dark .co-summary-line .lbl { color: var(--font-dark-color); }
.mode-dark .co-summary-line .amt { color: var(--font-dark-color); }
.mode-dark .co-summary-line.co-total .lbl { color: var(--heading-dark-color); }

/* Centered narrow divider */
.co-divider {
    border: none;
    border-top: 1.5px solid var(--border-muted);
    margin: 14px auto;
    width: 55%;
}
.mode-dark .co-divider { border-color: rgba(255, 255, 255, 0.1); }

/* Security badges (very muted, below the total) */
.co-security {
    border-top: 1px solid var(--border-muted);
    padding-top: 12px;
    margin-top: 16px;
    display: flex;
    gap: 16px;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--font-color);
    opacity: 0.35;
    flex-wrap: wrap;
}

/* ─── Donation card (checkout step 2) ────────────────────────────── */
.don-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.don-btns-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.don-btn {
    flex: 1;
    padding: 10px 6px;
    font-weight: 700;
    font-size: 0.88rem;
    border: 2px solid var(--accent-orange);
    color: var(--accent-orange);
    background: transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    line-height: 1;
}
.don-btn:hover,
.don-btn.don-btn-selected {
    background: var(--accent-orange);
    color: #fff;
}

.don-btn-roundup {
    display: block;
    width: 100%;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 0.85rem;
    border: 2px solid var(--prepaid-font-color);
    color: var(--prepaid-font-color);
    background: transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    text-align: center;
}
.don-btn-roundup:hover,
.don-btn-roundup.don-btn-selected {
    background: var(--prepaid-font-color);
    color: #fff;
}

.don-thankyou {
    background: var(--prepaid-background-color);
    color: var(--prepaid-font-color);
    border-radius: 10px;
    padding: 12px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 12px;
}

.don-skip {
    display: block;
    text-align: center;
    font-size: 0.78rem;
    color: var(--font-color);
    opacity: 0.45;
    background: none;
    border: none;
    cursor: pointer;
    margin-top: 14px;
    padding: 0;
    width: 100%;
    transition: opacity 0.15s;
}
.don-skip:hover { opacity: 0.75; }

/* dark mode */
.mode-dark .don-thankyou {
    background: var(--prepaid-background-dark-color, rgba(44,182,167,0.15));
    color: var(--prepaid-font-dark-color, var(--prepaid-font-color));
}

/* Prepaid explanation modal — star + number badge */
.contains-prepaid-feedback {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.contains-prepaid-star {
    color: var(--accent-orange);
}
.contains-prepaid-total {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
}
