
        :root {
            --primary-color: #E91E63;
            --secondary-color: #C2185B;
            --text-color: #4A4A4A;
            --background-color: #FFF0F5;
            --button-text: #FFFFFF;
            --shadow-color: rgba(233, 30, 99, 0.15);
            --valentine-pink: #FF69B4;
            --valentine-red: #FF1744;
            --valentine-light: #FFE4E9;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Roboto', sans-serif;
            margin: 0;
            padding: 0;
            background-color: var(--background-color);
            color: var(--text-color);
            /* Ensure proper scrolling in iframe */
            overflow-x: hidden;
            overflow-y: auto;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px 60px;
        }

        .page-header {
            display: flex;
            align-items: center;
            padding: 10px 15px;
            margin-bottom: 10px;
            background: white;
            box-shadow: 0 1px 3px var(--shadow-color);
            position: relative;
            flex-wrap: wrap;
        }

        .logo-container {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
        }

        .logo {
            height: 40px;
            width: auto;
        }

        .title-container {
            flex: 1;
            text-align: center;
        }

        .page-title {
            font-size: 1.6rem;
            margin: 0;
            color: var(--primary-color);
        }

        .page-subtitle {
            font-size: 0.9rem;
            margin: 2px 0 0 0;
            color: #666;
            font-weight: normal;
        }

        /* New Upsell Section Styles */
        .upsell-section {
            background: var(--background-color);
            padding: 30px;
            border-radius: 10px;
            margin-bottom: 30px;
            box-shadow: 0 4px 15px var(--shadow-color);
        }

        .selection-instructions {
            background: white;
            border-radius: 8px;
            padding: 20px;
            margin: 10px 0;
            box-shadow: 0 2px 5px var(--shadow-color);
        }

        .selection-instructions h3 {
            margin-bottom: 15px;
            color: var(--primary-color);
            font-size: 1.2rem;
        }

        .instruction-steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
        }

        .instruction-step {
            margin-bottom: 0;
            display: flex;
            align-items: flex-start;
            gap: 10px;
            background-color: #f9f9f9;
            padding: 12px;
            border-radius: 6px;
            transition: transform 0.2s;
        }

        .instruction-step:hover {
            transform: translateY(-2px);
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }

        .instruction-number {
            background: var(--primary-color);
            color: white;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            flex-shrink: 0;
        }

        .instruction-text {
            flex: 1;
            font-size: 0.95rem;
        }

        .upsell-header {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding: 20px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 5px var(--shadow-color);
        }

        .upsell-title {
            color: var(--primary-color);
            font-size: 1.8em;
            margin: 0;
        }

        .urgency-message {
            background: linear-gradient(135deg, #FF1744, #E91E63, #FF69B4);
            color: white;
            padding: 18px;
            border-radius: 8px;
            margin: 10px 0;
            text-align: center;
            animation: pulse 2s infinite;
            box-shadow: 0 4px 10px rgba(255, 23, 68, 0.4);
        }

        .urgency-message h3 {
            margin: 0 0 10px 0;
            font-size: 1.4em;
            text-shadow: 0 1px 2px rgba(0,0,0,0.2);
        }

        .urgency-content {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
        }

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

        .countdown {
            font-size: 1.8em;
            font-weight: bold;
            margin: 5px 0;
            text-shadow: 0 1px 2px rgba(0,0,0,0.2);
            background: rgba(0,0,0,0.15);
            padding: 8px 15px;
            border-radius: 6px;
        }

        .urgency-text {
            flex: 1;
            min-width: 200px;
            text-align: left;
            font-size: 1.05em;
            line-height: 1.4;
        }

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

        .upsell-summary {
            display: flex;
            flex-direction: column;
            width: 100%;
            gap: 15px;
        }

        .summary-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
        }

        .summary-row h4 {
            margin: 0;
            font-size: 1.1rem;
            color: var(--primary-color);
        }

        .discount-container {
            display: flex;
            flex-direction: column;
            width: 100%;
            margin-bottom: 10px;
        }

        .discount-input-container {
            display: flex;
            width: 100%;
            gap: 10px;
        }

        .discount-code-input {
            flex: 1;
            padding: 10px 12px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 0.95em;
            transition: border-color 0.3s, box-shadow 0.3s;
        }

        .discount-code-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(72, 70, 70, 0.1);
        }

        .apply-discount-button {
            background-color: var(--primary-color);
            color: var(--button-text);
            padding: 10px 15px;
            border: none;
            border-radius: 6px;
            font-size: 0.95em;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .apply-discount-button:hover:not(:disabled) {
            background-color: var(--secondary-color);
        }

        .apply-discount-button:disabled {
            background-color: #aaa;
            cursor: not-allowed;
        }

        .discount-message {
            margin-top: 5px;
            font-size: 0.9em;
        }

        .discount-success {
            color: #45a049;
        }

        .discount-error {
            color: #e74c3c;
        }

        .total-discount {
            color: #E91E63;
            font-weight: bold;
        }

        .original-price {
            text-decoration: line-through;
            color: #999;
            margin-right: 8px;
            font-size: 0.9em;
        }

        .upsell-note-input {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 0.95em;
            resize: vertical;
            min-height: 60px;
            transition: border-color 0.3s, box-shadow 0.3s;
        }

        .upsell-note-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(72, 70, 70, 0.1);
        }

        .upsell-button {
            background-color: var(--primary-color);
            color: var(--button-text);
            padding: 14px 25px;
            border: none;
            border-radius: 6px;
            font-size: 1.1em;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
        }

        .upsell-button:disabled {
            background-color: #aaa;
            cursor: not-allowed;
        }

        .upsell-button:hover:not(:disabled) {
            background-color: var(--secondary-color);
            transform: translateY(-2px);
        }

        .artwork-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr); /* 3 artworks per row on desktop */
            gap: 20px;
            margin-top: 15px;
            /* All artworks display in their actual ratio */
        }

        .artwork-item {
            position: relative;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.3s ease;
            aspect-ratio: auto; /* Let image determine aspect ratio - no forced ratio on desktop */
            overflow: visible;
            border-radius: 8px;
            margin-bottom: 50px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            background: white;
            min-height: 200px;
        }

        /* ALL Horizontal/Landscape artworks display in their actual ratio, no span on desktop */
        .artwork-item.horizontal-artwork {
            grid-column: span 1; /* Each artwork takes 1 column, 3 per row */
        }

        /* Portrait artworks also take 1 column */
        .artwork-item:not(.horizontal-artwork) {
            grid-column: span 1;
        }

        /* Desktop: All images show in their actual ratio */
        .artwork-item img {
            width: 100%;
            height: auto; /* Height adjusts to maintain actual image ratio */
            object-fit: contain; /* Show full image without cropping */
        }

        .artwork-item .watermarked {
            height: auto; /* Container adapts to image height */
        }

        .artwork-item.selected {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(72, 70, 70, 0.3);
            z-index: 20;
        }
        
        /* Highlight newly added artworks */
        .artwork-item.newly-added-artwork {
            animation: pulseGlow 2s ease-in-out;
        }
        
        .artwork-item.newly-added-artwork::before {
            content: '';
            position: absolute;
            top: -3px;
            left: -3px;
            right: -3px;
            bottom: -3px;
            border-radius: 12px;
            border: 2px solid #667eea;
            animation: fadeGlow 3s ease-in-out;
            pointer-events: none;
            z-index: 1;
        }
        
        @keyframes pulseGlow {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.02); }
        }
        
        @keyframes fadeGlow {
            0% {
                opacity: 1;
                box-shadow: 0 0 20px rgba(102, 126, 234, 0.8);
            }
            100% {
                opacity: 0;
                box-shadow: 0 0 0 rgba(102, 126, 234, 0);
            }
        }

        /* Generate New Previews Container - Always on top */
        .generate-new-container {
            width: 100%;
            margin-bottom: 30px;
        }

        /* Special styling for "Generate New Previews" button */
        .artwork-item.generate-new-item {
            display: flex !important;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border: 3px dashed var(--primary-color);
            background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
            cursor: pointer;
            transition: all 0.3s ease;
            min-height: 200px;
            aspect-ratio: 3/4;
            border-radius: 12px;
        }

        /* Hide artwork-specific elements for generate-new-item */
        .artwork-item.generate-new-item .artwork-item-details {
            display: none !important;
        }

        /* Prevent selection styling */
        .artwork-item.generate-new-item.selected {
            border: 3px dashed var(--primary-color) !important;
            box-shadow: none !important;
        }

        .artwork-item.generate-new-item:hover {
            background: linear-gradient(135deg, #e8f4f8 0%, #f0f9ff 100%);
            border-color: var(--secondary-color);
            transform: scale(1.02);
            box-shadow: 0 8px 20px rgba(72, 70, 70, 0.15);
        }

        .artwork-item.generate-new-item:active {
            transform: scale(0.98);
        }

        .generate-new-content {
            text-align: center;
            padding: 40px 20px;
            pointer-events: none; /* Prevent clicks on children */
        }

        .generate-new-icon {
            font-size: 72px;
            color: var(--primary-color);
            margin-bottom: 15px;
            transition: transform 0.3s ease;
        }

        .artwork-item.generate-new-item:hover .generate-new-icon {
            transform: rotate(90deg);
        }

        .generate-new-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 8px;
        }

        .generate-new-subtitle {
            font-size: 14px;
            color: var(--secondary-color);
        }

        @media (max-width: 768px) {
            .generate-new-icon {
                font-size: 56px;
            }
            .generate-new-title {
                font-size: 16px;
            }
            .generate-new-subtitle {
                font-size: 13px;
            }
        }

        @keyframes slideIn {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes slideOut {
            from {
                transform: translateX(0);
                opacity: 1;
            }
            to {
                transform: translateX(100%);
                opacity: 0;
            }
        }

        /* Valentine's glow effect for buttons */
        .valentine-glow {
            box-shadow: 0 0 15px rgba(255, 23, 68, 0.4), 
                        0 0 30px rgba(233, 30, 99, 0.3) !important;
            transition: box-shadow 0.3s ease;
        }

        /* Enhance Modal Styles */
        .enhance-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            z-index: 10000;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(5px);
            overflow-y: auto;
            padding: 20px;
        }

        .enhance-modal-overlay.active {
            display: flex;
        }

        /* Custom scrollbar for webkit browsers */
        .enhance-modal::-webkit-scrollbar,
        .enhance-processing-content::-webkit-scrollbar {
            width: 8px;
        }

        .enhance-modal::-webkit-scrollbar-track,
        .enhance-processing-content::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }

        .enhance-modal::-webkit-scrollbar-thumb,
        .enhance-processing-content::-webkit-scrollbar-thumb {
            background: #E91E63;
            border-radius: 10px;
        }

        .enhance-modal::-webkit-scrollbar-thumb:hover,
        .enhance-processing-content::-webkit-scrollbar-thumb:hover {
            background: #C2185B;
        }

        .enhance-modal {
            background: linear-gradient(to bottom, #FFF0F5, #FFFFFF);
            border-radius: 16px;
            padding: 40px;
            max-width: 500px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(233, 30, 99, 0.3);
            animation: modalSlideIn 0.3s ease-out;
            position: relative;
            z-index: 10001;
            border: 2px solid #FFE4E9;
            margin: auto;
            -webkit-overflow-scrolling: touch;
            scroll-behavior: smooth;
        }

        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .enhance-modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            font-size: 28px;
            color: #999;
            cursor: pointer;
            width: 35px;
            height: 35px;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.2s ease;
            display: none;
        }

        .enhance-modal-close:hover {
            background: #f0f0f0;
            color: #333;
        }

        .enhance-modal-close-down {
            position: absolute;
            bottom: -50px;
            left: 50%;
            transform: translateX(-50%);
            background: white;
            border: none;
            font-size: 32px;
            color: #667eea;
            cursor: pointer;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        .enhance-modal-close-down:hover {
            background: #667eea;
            color: white;
            transform: translateX(-50%) translateY(2px);
        }

        .enhance-modal-header {
            text-align: center;
            margin-bottom: 25px;
        }

        .enhance-modal-title {
            font-size: 24px;
            color: var(--primary-color);
            margin: 0 0 10px 0;
            font-weight: 600;
        }

        .enhance-modal-subtitle {
            font-size: 14px;
            color: #666;
            margin: 0;
        }

        .enhance-modal-loader {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 30px 0;
        }

        .enhance-loader-circle {
            width: 80px;
            height: 80px;
            border: 6px solid #FFE4E9;
            border-top: 6px solid #E91E63;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        .enhance-modal-info {
            background: linear-gradient(135deg, rgba(255, 23, 68, 0.08) 0%, rgba(255, 105, 180, 0.08) 100%);
            border-radius: 12px;
            padding: 25px;
            margin-top: 20px;
            border: 1px solid #FFE4E9;
        }

        .enhance-modal-info h3 {
            font-size: 16px;
            color: var(--primary-color);
            margin: 0 0 15px 0;
            font-weight: 600;
        }

        .enhance-modal-info ul {
            margin: 0;
            padding-left: 0;
            list-style: none;
        }

        .enhance-modal-info li {
            font-size: 14px;
            color: #555;
            margin-bottom: 12px;
            padding-left: 30px;
            position: relative;
            line-height: 1.6;
        }

        .enhance-modal-info li:before {
            content: '🎨';
            position: absolute;
            left: 0;
            font-size: 18px;
        }

        .enhance-modal-info li:last-child {
            margin-bottom: 0;
        }

        .enhance-modal-timer {
            text-align: center;
            margin-top: 20px;
            font-size: 14px;
            color: #888;
            font-weight: 500;
        }

        .enhance-modal-reload-btn {
            width: 100%;
            margin-top: 20px;
            padding: 12px 24px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }

        .enhance-modal-reload-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
        }

        .enhance-modal-reload-btn:active {
            transform: translateY(0);
        }

        @media (max-width: 768px) {
            .enhance-modal {
                padding: 25px 20px;
                max-width: 95%;
                width: 95%;
                margin: 15px;
                border-radius: 12px;
                max-height: 90vh;
                overflow-y: auto;
            }

            .enhance-modal-title {
                font-size: 20px;
                margin-bottom: 8px;
            }

            .enhance-modal-subtitle {
                font-size: 13px;
            }

            .enhance-modal-header {
                margin-bottom: 20px;
            }

            .enhance-modal-loader {
                margin: 20px 0;
            }

            .enhance-loader-circle {
                width: 60px;
                height: 60px;
                border-width: 5px;
            }

            .enhance-modal-close-down {
                width: 45px;
                height: 45px;
                font-size: 28px;
                bottom: -45px;
            }

            .enhance-modal-info {
                padding: 18px 15px;
                border-radius: 10px;
                margin-top: 15px;
            }

            .enhance-modal-info h3 {
                font-size: 14px;
                margin-bottom: 12px;
            }

            .enhance-modal-info li {
                font-size: 13px;
                margin-bottom: 10px;
                padding-left: 28px;
                line-height: 1.5;
            }

            .enhance-modal-info li:before {
                font-size: 16px;
            }

            .enhance-modal-timer {
                margin-top: 15px;
                font-size: 13px;
            }

            .enhance-modal-reload-btn {
                margin-top: 15px;
                padding: 12px 20px;
                font-size: 14px;
            }

            .enhance-processing-content {
                padding: 30px 20px;
                max-width: 95%;
                width: 95%;
                max-height: 85vh;
                border-radius: 16px;
            }

            .enhance-processing-icon {
                font-size: 48px;
                margin-bottom: 15px;
            }

            .enhance-processing-title {
                font-size: 20px;
            }

            .enhance-processing-subtitle {
                font-size: 13px !important;
                margin-bottom: 15px !important;
            }

            .enhance-modal-info h3 {
                font-size: 14px !important;
            }

            .enhance-modal-info li {
                font-size: 13px !important;
            }
        }

        @media (max-width: 480px) {
            .enhance-modal {
                padding: 20px 15px;
                max-width: 96%;
                width: 96%;
                margin: 10px;
                max-height: 92vh;
            }

            .enhance-modal-title {
                font-size: 18px;
            }

            .enhance-modal-subtitle {
                font-size: 12px;
            }

            .enhance-modal-header {
                margin-bottom: 15px;
            }

            .enhance-modal-loader {
                margin: 15px 0;
            }

            .enhance-loader-circle {
                width: 50px;
                height: 50px;
                border-width: 4px;
            }

            .enhance-modal-info {
                padding: 15px 12px;
                margin-top: 12px;
            }

            .enhance-modal-info h3 {
                font-size: 13px;
                margin-bottom: 10px;
            }

            .enhance-modal-info li {
                font-size: 12px;
                margin-bottom: 8px;
                padding-left: 25px;
            }

            .enhance-modal-info li:before {
                font-size: 14px;
            }

            .enhance-modal-timer {
                margin-top: 12px;
                font-size: 12px;
            }

            .enhance-modal-reload-btn {
                margin-top: 12px;
                padding: 10px 16px;
                font-size: 13px;
            }

            .enhance-processing-content {
                padding: 25px 15px;
                max-width: 100%;
                width: 100%;
                max-height: 95vh;
                border-radius: 12px;
            }

            .enhance-processing-icon {
                font-size: 42px;
                margin-bottom: 12px;
            }

            .enhance-processing-title {
                font-size: 18px;
            }

            .enhance-processing-subtitle {
                font-size: 12px !important;
                margin-bottom: 12px !important;
            }
        }

        .select-label {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0, 0, 0, 0.5);
            color: white;
            font-size: 1.2em;
            font-weight: bold;
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 3;
            -webkit-tap-highlight-color: transparent;
        }

        .artwork-item-details {
            position: relative;
            padding: 20px;
            background: white;
            border-radius: 8px;
            border-top: 1px solid #eee;
            display: none;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            z-index: 20;
            margin-top: 10px;
        }

        .artwork-item.selected .artwork-item-details {
            display: block;
        }

        .artwork-product-options {
            position: relative;
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 15px;
            z-index: 25;
        }

        .product-token {
            position: relative;
            border: 2px solid #ddd;
            border-radius: 8px;
            background-color: white;
            color: var(--primary-color);
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
            text-align: left;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            z-index: 30;
            padding: 12px 15px;
            overflow: hidden;
            width: 100%;
        }

        .product-token:hover {
            border-color: #e6c700;
            background-color: rgba(240, 219, 79, 0.05);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            transform: translateY(-2px);
        }

        .product-token.selected {
            border-color: #e6c700;
            background-color: #e6c700;
            color: #333;
        }

        .product-token-left {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .product-token-right {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
        }

        .product-token-name {
            font-size: 0.9em;
            font-weight: bold;
        }

        .product-token-price {
            font-weight: bold;
            font-size: 1.1em;
        }

        .ready-to-hang {
            font-size: 0.75em;
            color: #666;
            margin-top: 2px;
        }

        .ready-to-print {
            font-size: 0.75em;
            color: #666;
            margin-top: 2px;
        }

        .ready-to-send {
            font-size: 0.75em;
            color: #666;
            margin-top: 2px;
        }

        .perfect-gift {
            font-size: 0.75em;
            color: #E74C3C;
            margin-top: 2px;
            font-weight: bold;
        }

        .product-token.selected .ready-to-hang,
        .product-token.selected .ready-to-print,
        .product-token.selected .ready-to-send {
            color: #333;
        }

        .product-token.selected .perfect-gift {
            color: #333;
        }

        /* Poster-option CSS rule removed */
        .product-token.poster-option.selected .ready-to-print {
            color: #333;
        }
        .product-token.canvas-option {
            order: -3; /* Canvas options first */
        }

        .product-token.digital {
            order: 5; /* Digital option */
        }

        .product-token.digital.selected {
            background-color: #e6c700;
            color: #333;
        }

        .product-token.poster-option {
            order: 10; /* Move to the very bottom (after Digital) */
            border-color: #f0db4f;
        }

        .product-token.poster-option:hover {
            border-color: #e6c700;
            background-color: rgba(240, 219, 79, 0.05);
        }

        .product-token.poster-option.selected {
            border-color: #e6c700;
            background-color: #e6c700;
            color: #333;
        }

        .product-token.selected .product-token-price {
            color: #333;
        }

        .product-token.poster-option.selected .product-token-price {
            color: #333;
        }

        .product-token.canvas-option:after {
            content: none;
        }

        .artwork-item-title {
            margin: 0 0 10px 0;
            color: var(--primary-color);
            text-align: center;
            font-size: 1.1em;
        }

        .artwork-item img {
            width: 100%;
            height: auto; /* Height adjusts automatically to maintain image's actual ratio */
            object-fit: contain;
            background-color: #f5f5f5;
            display: block;
        }

        .watermarked {
            position: relative;
            width: 100%;
            height: auto; /* Adapts to image height - no fixed height */
            overflow: hidden; /* Contain watermark */
            display: block;
        }

        .watermarked::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('https://cdn.shopify.com/s/files/1/0765/6934/6396/files/46ce6d9b8ad6f5c33f9e27b29a93a249-fotor-20240910224739.jpg?v=1726085760') repeat;
            pointer-events: none;
            opacity: 0.35;
        }

        .price-tag {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            z-index: 1;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            backdrop-filter: blur(4px);
        }
        
        .price-tag-type {
            font-size: 0.7em;
        }

        .checkmark {
            position: absolute;
            top: 10px;
            left: 10px;
            background: var(--primary-color);
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 1;
        }

        .artwork-item.selected .checkmark {
            background: #45a049; /* Green color for selected state */
        }
        
        .artwork-remove {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(231, 76, 60, 0.8);
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 5;
            cursor: pointer;
            font-size: 1.2em;
            border: none;
        }
        
        .artwork-item.selected .artwork-remove {
            opacity: 1;
        }
        
        .artwork-remove:hover {
            background: rgba(231, 76, 60, 1);
            transform: scale(1.1);
        }

        .product-type-dropdown option {
            padding: 4px;
            font-size: 0.9em;
        }

        /* Additional styles for product tokens and price tags */
        .product-token-original-price {
            text-decoration: line-through;
            color: #999;
            font-size: 0.9em;
            font-weight: normal;
        }

        .product-token-discounted-price {
            color: #059669;
            font-weight: bold;
            font-size: 1.1em;
        }

        .product-token-savings {
            font-size: 0.7em;
            color: #059669;
            font-weight: bold;
        }

        .price-tag-original-price {
            text-decoration: line-through;
            color: rgba(255,255,255,0.7);
            font-size: 0.8em;
        }

        .price-tag-discounted-price {
            color: #fff;
            font-weight: bold;
        }

        .price-tag-savings {
            background: #00b894;
            color: white;
            padding: 1px 3px;
            border-radius: 2px;
            font-size: 0.7em;
            margin-top: 2px;
        }

        /* Pricing card styles */
        .pricing-card {
            background: #f8fafc;
            padding: 10px 8px;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
            transition: all 0.2s;
            flex: 0 0 120px;
            scroll-snap-align: start;
            text-align: center;
            height: auto;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .pricing-card-header {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            margin-bottom: 6px;
        }

        .pricing-card-emoji {
            font-size: 14px;
        }

        .pricing-card-name {
            font-weight: 600;
            font-size: 10px;
            color: #475569;
            line-height: 1.2;
        }

        .pricing-card-prices {
            margin-bottom: 4px;
        }

        .pricing-card-original-price {
            font-size: 8px;
            color: #94a3b8;
            margin-bottom: 2px;
        }

        .pricing-card-original-price-value {
            text-decoration: line-through;
        }

        .pricing-card-discounted-price {
            color: #059669;
            font-weight: 700;
            font-size: 12px;
            margin-bottom: 4px;
        }

        .pricing-card-savings {
            background: #dcfce7;
            color: #166534;
            padding: 2px 4px;
            border-radius: 3px;
            font-size: 7px;
            font-weight: 600;
            line-height: 1;
        }

        /* Cart Item Product Type Container - Stacked layout */
        .cart-item-product-type {
            display: block !important;
            width: 100% !important;
            max-width: 100% !important;
            overflow: visible !important;
            padding-bottom: 4px;
            padding-top: 4px;
            position: relative;
        }

        /* No scroll hints needed */
        .cart-item-product-type::after {
            display: none !important;
        }

        /* Cart Product Tokens - Wrapped grid layout */
        .cart-product-tokens {
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: wrap !important;
            gap: 8px;
            width: 100% !important;
            min-width: unset !important;
            padding-right: 0;
        }

        .cart-product-token {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            padding: 8px 10px;
            flex: 1 1 calc(50% - 4px);
            min-width: 0;
            max-width: calc(50% - 4px);
            border-radius: 10px;
            font-size: 11px;
            background: white;
            color: #333;
            border: 2px solid #e0e0e0;
            cursor: pointer;
            transition: all 0.2s ease;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
            box-sizing: border-box;
        }

        .cart-product-token:hover {
            border-color: #e6c700;
            background: rgba(240, 219, 79, 0.05);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

        .cart-product-token:active {
            transform: scale(0.98);
        }

        .cart-product-token.selected {
            background: #e6c700;
            color: #333;
            border-color: #e6c700;
        }

        .cart-product-token .token-header {
            display: flex;
            align-items: center;
            gap: 4px;
            font-weight: 600;
            font-size: 13px;
            margin-bottom: 4px;
        }

        .cart-product-token .token-size {
            font-size: 10px;
            color: #666;
            margin-bottom: 4px;
        }

        .cart-product-token.selected .token-size {
            color: #444;
        }

        .cart-product-token .token-delivery {
            font-size: 9px;
            color: #059669;
            font-weight: 500;
            background: #ecfdf5;
            padding: 2px 6px;
            border-radius: 4px;
            margin-bottom: 6px;
            white-space: nowrap;
        }

        .cart-product-token.selected .token-delivery {
            background: rgba(255,255,255,0.3);
            color: #333;
        }

        .cart-product-token .token-price-section {
            display: flex;
            align-items: baseline;
            gap: 4px;
            margin-top: auto;
        }

        .cart-product-token .token-price {
            font-weight: 700;
            font-size: 14px;
            color: #059669;
        }

        .cart-product-token.selected .token-price {
            color: #333;
        }

        .cart-product-token .token-info {
            font-size: 9px;
            color: #666;
            margin-top: 4px;
        }

        .cart-product-token.selected .token-info {
            color: #444;
        }

        @media (max-width: 768px) {
            .cart-product-tokens {
                gap: 6px;
                margin-top: 8px;
                padding-right: 0;
            }
            
            .cart-product-token {
                flex: 1 1 calc(50% - 3px);
                max-width: calc(50% - 3px);
                min-width: 0;
                padding: 7px 8px;
            }
            
            .cart-product-token .token-header {
                font-size: 11px;
            }
            
            .cart-product-token .token-size {
                font-size: 9px;
            }
            
            .cart-product-token .token-delivery {
                font-size: 8px;
            }
            
            .cart-product-token .token-price {
                font-size: 12px;
            }
        }

        .loading {
            display: none;
            width: 100%;
            padding: 60px 20px;
            align-items: center;
            justify-content: center;
        }

        .loading-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            max-width: 80%;
        }

        .loading-message {
            margin-top: 12px;
            font-size: 14px;
            color: #888;
            text-align: center;
        }

        .loading-spinner {
            width: 40px;
            height: 40px;
            border: 4px solid #f0f0f0;
            border-top: 4px solid var(--primary-color);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }


.language-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: sans-serif;
  font-size: 14px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  white-space: nowrap; /* prevents text/select wrapping */
}

.language-selector #country-flag img {
  height: 16px;
  width: auto;
  vertical-align: middle;
  display: inline-block;
}

.language-selector select {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 14px;
  background-color: #f9f9f9;
  cursor: pointer;
}


        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @media (max-width: 768px) {
            .container {
                padding: 10px;
            }

            .header {
                padding: 20px 0;
                margin-bottom: 20px;
            }

            h1 {
                font-size: 1.8em;
            }
            
            .subtitle {
                font-size: 1em;
            }
            
            .trustpilot-container {
                right: 10px;
                padding: 4px 8px;
            }
            
            .trustpilot-logo {
                height: 26px;
            }
            
            .trustpilot-container:after {
                font-size: 12px;
                margin-left: 6px;
            }

            .artwork-grid {
                grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
                gap: 20px 15px;
            }

            /* TABLET (768px): 2 columns, all artworks display in their actual ratio, 1 column each */
            .artwork-item.horizontal-artwork {
                grid-column: span 1; /* Each artwork takes 1 column */
            }

            .artwork-item {
                aspect-ratio: auto; /* Let images determine their own ratio */
            }

            .generate-new-container {
                margin-bottom: 20px;
            }

            .artwork-item.generate-new-item {
                min-height: 160px;
            }

            .generate-new-icon {
                font-size: 48px !important;
            }

            .generate-new-title {
                font-size: 16px !important;
            }

            .generate-new-subtitle {
                font-size: 12px !important;
            }

            .artwork-item {
                margin-bottom: 25px;
                overflow: visible !important;
                z-index: 5;
            }

            .artwork-item.selected {
                z-index: 25;
            }

            .artwork-item-details {
                padding: 15px;
                border-radius: 6px;
            }

            .artwork-product-options {
                gap: 8px;
            }
            
            .product-token {
                padding: 10px 12px;
                border-width: 1px;
            }
            
            .product-token-name {
                font-size: 0.85em;
            }
            
            .product-token-price {
                font-size: 1em;
            }
            
            .artwork-item.selected .artwork-item-details {
                padding-bottom: 20px;
            }

            .select-label {
                background: rgba(0, 0, 0, 0.6);
                font-size: 1.1em;
                text-shadow: 0 2px 4px rgba(0,0,0,0.5);
            }

            .artwork-item.selected {
                transform: translateY(-2px);
                box-shadow: 0 6px 12px rgba(0,0,0,0.2);
            }
            
            .product-token {
                min-height: 60px;
            }
            
            .product-token:active {
                transform: scale(0.98);
            }

            .upsell-header {
                flex-direction: column;
                gap: 15px;
                padding: 15px;
                margin-bottom: 20px;
            }

            .upsell-summary {
                flex-direction: column;
                gap: 12px;
                width: 100%;
            }

            .upsell-section {
                padding: 15px;
            }

            .selection-instructions {
                padding: 12px;
            }

            .instruction-step {
                gap: 8px;
            }

            .upsell-button {
                width: 100%;
                padding: 12px;
            }
            
            .upsell-note-input {
                font-size: 16px; /* Prevent zoom on input focus in iOS */
            }
            
            .cart-note-input {
                font-size: 16px; /* Prevent zoom on input focus in iOS */
            }
        }

        @media (max-width: 480px) {
            .page-header {
                flex-direction: column;
                padding: 10px;
                align-items: center;
            }
            
            .logo-container {
                position: relative;
                left: auto;
                top: auto;
                transform: none;
                margin-bottom: 8px;
            }
            
            .title-container {
                margin: 5px 0;
            }
            
            .trustpilot-container {
                position: relative;
                right: auto;
                top: auto;
                transform: none;
                margin-top: 10px;
                margin-bottom: 5px;
                padding: 6px 12px;
                width: 140px;
                justify-content: center;
            }
            
            .trustpilot-logo {
                height: 28px;
            }
            
            .logo {
                max-width: 120px;
            }

            h1 {
                font-size: 1.6em;
                margin-bottom: 5px;
            }

            .subtitle {
                font-size: 0.9em;
                margin-bottom: 15px;
            }

            .upsell-section {
                padding: 12px;
                margin-bottom: 20px;
            }

            .upsell-title {
                font-size: 1.3em;
            }

            /* ===== MOBILE (480px): Show each image in its FULL ACTUAL RATIO ===== */
            /* - One image per row                                              */
            /* - One column stack per screen                                    */
            /* - NO forced 3:2 ratio - images display in their natural ratio    */
            /* - Width fills screen, height adjusts automatically               */
            
            .artwork-grid {
                grid-template-columns: 1fr; /* Single column - one artwork per line */
                gap: 25px;
            }
            .artwork-item {
                grid-column: span 1 !important; /* Force single column on mobile */
                aspect-ratio: auto !important; /* Remove forced aspect ratio - let image determine size */
                margin: 0 auto 25px;
                max-width: 100%; /* Allow full width on mobile */
                width: 100%;
            }

            /* On mobile: ALL artworks show their actual ratio, not forced to 3:2 */
            .artwork-item.horizontal-artwork {
                grid-column: span 1 !important; /* Override 2-column span to 1 on mobile */
                aspect-ratio: auto !important; /* Show actual image ratio, not forced 3:2 */
            }

            /* Images fill width, height adjusts to maintain actual ratio */
            .artwork-item img {
                object-fit: contain !important; /* Show full image in actual ratio */
                width: 100%;
                height: auto !important;
            }

            /* Watermarked container adapts to image height on mobile */
            .artwork-item .watermarked {
                height: auto !important;
            }

            /* Remove min-height on mobile to allow natural sizing */
            .artwork-item {
                min-height: auto !important;
            }

            .generate-new-container {
                margin-bottom: 15px;
            }

            .artwork-item.generate-new-item {
                min-height: 140px;
                padding: 15px;
            }

            .generate-new-content {
                padding: 20px 15px;
            }

            .generate-new-icon {
                font-size: 40px !important;
            }

            .generate-new-title {
                font-size: 14px !important;
            }

            .generate-new-subtitle {
                font-size: 11px !important;
            }

            .price-tag {
                font-size: 0.85em;
                padding: 3px 6px;
                right: 5px;
                top: 5px;
            }

            .checkmark {
                width: 22px;
                height: 22px;
                font-size: 0.8em;
                left: 5px;
                top: 5px;
            }
            
            .artwork-item-title {
                font-size: 1em;
            }
            
            .ready-to-hang, 
            .ready-to-print,
            .ready-to-send,
            .perfect-gift {
                font-size: 0.7em;
            }
            
            .select-label {
                font-size: 1em;
            }

            .urgency-message {
                padding: 12px;
            }
            
            .countdown {
                font-size: 1.3em;
            }

            .artwork-item-details {
                padding: 15px;
                margin-top: 15px;
                border-radius: 10px;
                border: 1px solid #eee;
            }
            
            .artwork-item-title {
                font-size: 1.2em;
                margin-bottom: 12px;
            }
            
            .select-label {
                font-size: 1.2em;
                font-weight: bold;
                background: rgba(0, 0, 0, 0.5);
            }
            
            .artwork-product-options {
                gap: 10px;
            }
            
            .product-token {
                padding: 12px 15px;
                min-height: 65px;
            }
            
            /* Make sure the urgency message is properly sized */
            .urgency-message {
                margin: 15px auto;
                max-width: 450px;
            }
        }

        /* Fix Safari issues */
        @supports (-webkit-touch-callout: none) {
            .product-token {
                -webkit-tap-highlight-color: transparent;
            }
            
            input, textarea, select, button {
                font-size: 16px !important; /* Prevent zoom on input focus in iOS */
            }
        }

        @media (min-width: 1200px) {
            .container {
                max-width: 1400px;
            }
            .artwork-grid {
                grid-template-columns: repeat(4, 1fr); /* Keep 4 columns on large screens */
            }
            .artwork-item {
                aspect-ratio: auto; /* Let each image show in its own actual ratio */
            }
        }

        @media (max-height: 600px) and (orientation: landscape) {
            .header {
                padding: 10px 0;
            }

            .logo {
                max-width: 120px;
            }

            .artwork-item {
                aspect-ratio: auto; /* Let each image show in its own actual ratio */
            }

            .upsell-header {
                margin-bottom: 15px;
            }
        }

        /* Add floating cart styles */
        .floating-cart {
            position: fixed !important;
            bottom: 20px;
            right: 20px;
            background: var(--primary-color);
            color: white;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex !important;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            z-index: 1000003 !important;
            -webkit-tap-highlight-color: transparent;
            visibility: visible !important;
            opacity: 1 !important;
            pointer-events: auto !important;
            transition: opacity 0.2s ease, visibility 0.2s ease;
        }

        .floating-cart.cart-hidden {
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
        }

        .floating-cart:hover {
            transform: scale(1.1);
            background: var(--secondary-color);
        }

        .cart-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background: #e74c3c;
            color: white;
            min-width: 24px;
            height: 24px;
            border-radius: 12px;
            display: flex !important;
            align-items: center;
            justify-content: center;
            font-size: 0.8em;
            font-weight: bold;
            opacity: 1 !important;
            visibility: visible !important;
            transform: scale(1);
            transition: all 0.3s ease;
            padding: 0 6px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            z-index: 1000;
        }

        .cart-count.visible {
            opacity: 1;
            transform: scale(1);
        }

        .cart-icon {
            font-size: 1.5em;
        }

        .cart-summary {
            position: fixed;
            bottom: 90px;
            right: 20px;
            background: white;
            padding: 20px;
            border-radius: 16px;
            box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
            width: 350px;
            max-width: calc(100vw - 40px);
            max-height: 80vh;
            overflow-y: auto;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.3s ease;
            z-index: 999;
        }

        .cart-summary.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            height: 87%;
        }

        .cart-summary-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }

        .cart-summary-title {
            font-size: 1.2em;
            color: var(--primary-color);
            margin: 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .cart-summary-title i {
            color: var(--primary-color);
        }

        .cart-summary-close {
            cursor: pointer;
            color: var(--secondary-color);
            font-size: 1.2em;
            height: 30px;
            width: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.2s;
        }

        .cart-summary-close:hover {
            background-color: #f5f5f5;
        }
        
        .cart-clear-button {
            background-color: transparent;
            color: #999;
            border: 1px solid #ddd;
            border-radius: 4px;
            padding: 4px 8px;
            font-size: 0.8em;
            cursor: pointer;
            transition: all 0.2s ease;
            margin-left: 10px;
        }
        
        .cart-clear-button:hover {
            background-color: #f0f0f0;
            color: #e74c3c;
            border-color: #e74c3c;
        }

        .cart-note-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(72, 70, 70, 0.1);
        }

        /* Enhanced Discount Badge */
        .discount-badge-container {
            margin: 12px 0;
            display: flex;
            justify-content: center;
        }

        .discount-badge {
            background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 50%, #c13584 100%);
            color: white;
            padding: 12px 20px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
                box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
            }
            50% {
                transform: scale(1.02);
                box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
            }
        }

        .discount-icon {
            font-size: 1.5em;
            animation: rotate 3s linear infinite;
        }

        @keyframes rotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .discount-text {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .discount-label {
            font-size: 0.85em;
            opacity: 0.95;
            font-weight: 500;
        }

        .discount-percentage {
            font-size: 1.1em;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        .cart-summary-total {
            font-weight: bold;
            color: var(--primary-color);
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #eee;
            font-size: 1.1em;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .total-pricing {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 4px;
        }

        .original-price {
            text-decoration: line-through;
            color: #999;
            font-size: 0.9em;
            font-weight: 500;
        }

        .discounted-price {
            font-weight: bold;
            color: #45a049;
            font-size: 1.3em;
        }

        .secure-checkout-wrapper {
            margin-top: 10px;
        }

        /* Mobile styles for simplified button */
        @media (max-width: 768px) {
            .checkout-main {
                gap: 8px;
            }

            .security-shield {
                font-size: 1.2em;
            }

            .checkout-text {
                font-size: 1em;
            }

            .payment-icons i {
                font-size: 1.1em;
                padding: 2px 4px;
            }

            .shop-pay-icon {
                font-size: 0.65em;
                padding: 2px 5px;
            }

            .security-note {
                font-size: 0.8em;
                margin-top: 6px;
            }
        }

        .cart-summary-button {
            width: 100%;
            padding: 18px 28px;
            border: none;
            border-radius: 14px;
            font-size: 1.15em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            box-shadow: 0 4px 14px rgba(0, 122, 255, 0.4);
            -webkit-font-smoothing: antialiased;
            letter-spacing: 0.2px;
        }

        .enhanced-secure-button {
            background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
            color: white;
            border: 1px solid #15803d;
            box-shadow: 0 4px 0 #166534, 0 8px 20px rgba(34, 197, 94, 0.3);
            position: relative;
        }

        .enhanced-secure-button:hover:not(:disabled) {
            background: linear-gradient(135deg, #16a34a 0%, #15803d 50%, #166534 100%);
            box-shadow: 0 6px 0 #166534, 0 12px 25px rgba(34, 197, 94, 0.4);
            transform: translateY(-2px);
        }

        .enhanced-secure-button:active:not(:disabled) {
            transform: translateY(2px);
            box-shadow: 0 2px 0 #166534, 0 4px 15px rgba(34, 197, 94, 0.3);
        }

        /* Unified Checkout Button — Apple-style clean, bold CTA */
        .unified-checkout-button {
            background: #007AFF;
            color: #ffffff;
            border: none;
            box-shadow: 0 4px 14px rgba(0, 122, 255, 0.4);
            position: relative;
            border-radius: 14px;
            font-size: 1.15em;
            font-weight: 600;
            letter-spacing: 0.2px;
            padding: 18px 28px;
            -webkit-font-smoothing: antialiased;
        }

        .unified-checkout-button:hover:not(:disabled) {
            background: #0066DD;
            box-shadow: 0 6px 20px rgba(0, 122, 255, 0.55);
            transform: translateY(-1px);
        }

        .unified-checkout-button:active:not(:disabled) {
            background: #005BBB;
            transform: translateY(1px);
            box-shadow: 0 2px 8px rgba(0, 122, 255, 0.35);
        }

        .checkout-main-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 1.1em;
            font-weight: 700;
            width: 100%;
        }

        /* Payment Icons Container Below Button */
        .payment-icons-container {
            margin-top: 12px;
            padding: 12px;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 8px;
            border: 1px solid rgba(0, 48, 135, 0.1);
        }

        .cart-summary-button:hover:not(:disabled) {
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(0, 122, 255, 0.5);
        }
        
        .cart-summary-button:disabled {
            background: #d1d5db;
            color: #9ca3af;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
            border: none;
        }

        .secure-checkout-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }

        .checkout-main {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .security-shield {
            font-size: 1.3em;
            margin-right: 2px;
        }

        .checkout-text {
            font-size: 1.1em;
            font-weight: 700;
            letter-spacing: 0.3px;
        }

        /* Colors for unified checkout button */
        .unified-checkout-button .security-shield {
            filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
        }

        .unified-checkout-button .checkout-text {
            color: #ffffff;
        }

        .payment-icons {
            display: flex;
            gap: 6px;
            align-items: center;
            flex-wrap: wrap;
            justify-content: center;
        }

        .payment-icons svg {
            height: 20px;
            width: auto;
            transition: transform 0.2s ease;
            flex-shrink: 0;
        }

        .payment-icons svg:hover {
            transform: scale(1.05);
        }

        @media (max-width: 600px) {
            .payment-icons {
                gap: 4px;
            }
            .payment-icons svg {
                height: 18px;
            }
            .discount-badge {
                padding: 10px 16px;
            }
            .discount-icon {
                font-size: 1.3em;
            }
        }

        .payment-icons i {
            font-size: 1.2em;
            background: rgba(255, 255, 255, 0.9);
            padding: 3px 5px;
            border-radius: 4px;
            transition: transform 0.2s ease;
        }

        .payment-icons i:hover {
            transform: scale(1.05);
        }

        .fab.fa-cc-visa {
            color: #1a1f71;
        }

        .fab.fa-cc-mastercard {
            color: #eb001b;
        }

        .fab.fa-google-pay {
            color: #4285f4;
        }

        .fab.fa-apple-pay {
            color: #000000;
        }

        .shop-pay-icon {
            background: #5a31f4;
            color: white;
            font-size: 0.7em;
            font-weight: 700;
            padding: 3px 6px;
            border-radius: 4px;
            letter-spacing: 0.5px;
            transition: transform 0.2s ease;
        }

        .shop-pay-icon:hover {
            transform: scale(1.05);
        }

        .security-note {
            margin-top: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-size: 0.85em;
            color: #003087;
            font-weight: 500;
        }

        .security-note i {
            color: #003087;
            font-size: 0.9em;
        }

        .cart-note-label {
            display: block;
            margin-bottom: 8px;
            color: var(--primary-color);
            font-weight: 500;
        }

        .cart-popup-badge {
            position: absolute;
            top: -6px;
            right: -6px;
            background: #e74c3c;
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            transform: scale(1);
            transition: all 0.3s ease;
            z-index: 1001;
        }

        .cart-popup-badge.visible {
            transform: scale(1);
        }

        @media (max-width: 768px) {
            .floating-cart {
                bottom: 15px;
                right: 15px;
                width: 55px;
                height: 55px;
                display: flex !important;
                visibility: visible !important;
                opacity: 1 !important;
            }
        }

        @media (max-width: 480px) {
            .floating-cart {
                width: 50px;
                height: 50px;
                bottom: 15px;
                right: 15px;
                display: flex !important;
                visibility: visible !important;
                opacity: 1 !important;
            }

            .cart-icon {
                font-size: 1.2em;
            }

            .cart-count {
                min-width: 22px;
                height: 22px;
                font-size: 0.7em;
                top: -6px;
                right: -6px;
            }
        }

        .upsell-note-input {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 0.9em;
            resize: vertical;
            min-height: 60px;
        }

        .upsell-note-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(72, 70, 70, 0.1);
        }

        /* Quick Tokens Menu Styles */
        .quick-tokens-menu {
            background-color: white;
            padding: 15px 20px;
            margin-bottom: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            position: relative;
        }

        .tokens-explanation {
            text-align: center;
            padding: 10px 0 5px;
            background-color: var(--background-color);
        }

        .tokens-explanation p {
            margin: 0;
            font-size: 16px;
            font-weight: 500;
            color: var(--primary-color);
        }

        .token-container {
            display: flex;
            flex-wrap: nowrap;
            gap: 12px;
            padding-bottom: 5px;
            white-space: nowrap;
        }

        .token {
            display: inline-block;
            padding: 8px 15px;
            background-color: #f7f7f7;
            border-radius: 20px;
            color: var(--primary-color);
            font-size: 14px;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s ease;
            border: 1px solid #e0e0e0;
            white-space: nowrap;
        }

        .token:hover {
            background-color: var(--primary-color);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        /* Token menu responsive adjustments */
        @media (max-width: 768px) {
            .quick-tokens-menu {
                padding: 12px;
            }
            
            .token {
                padding: 6px 12px;
                font-size: 13px;
            }
        }

        @media (max-width: 480px) {
            .quick-tokens-menu {
                padding: 10px;
            }
            
            .token {
                padding: 6px 10px;
                font-size: 12px;
            }
            
            .token-container {
                gap: 8px;
            }
        }

        /* Product Type Selection */
        .product-types {
            margin-top: 20px;
            padding: 15px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 5px var(--shadow-color);
        }

        .product-types h3 {
            margin-bottom: 15px;
            color: var(--primary-color);
        }

        .product-options {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 15px;
        }

        .product-option {
            flex: 1;
            min-width: 150px;
            background: var(--background-color);
            border: 1px solid #ddd;
            border-radius: 5px;
            padding: 10px;
            cursor: pointer;
            text-align: center;
            transition: all 0.3s ease;
        }

        .product-option.selected {
            border-color: var(--primary-color);
            background: rgba(72, 70, 70, 0.1);
        }

        .product-option h4 {
            margin: 0 0 5px 0;
            color: var(--primary-color);
        }

        .product-option .price {
            font-weight: bold;
            font-size: 1.2em;
        }

        .product-option .description {
            font-size: 0.9em;
            margin-top: 5px;
            color: var(--secondary-color);
        }

        @media (max-width: 768px) {
            .product-options {
                flex-direction: column;
            }
            
            .product-option {
                min-width: 100%;
            }
        }

        /* Cart item with product type */
        .cart-item-content {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            width: 100%;
        }

        .cart-item-details {
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        /* Poster option styles removed */

        /* Add loading improvements for mobile */
        img {
            display: block;
            max-width: 100%;
            height: auto;
        }

        @media (max-width: 480px) {
            /* Additional mobile optimizations */
            .container {
                padding: 10px 15px;
            }

            .upsell-section {
                padding: 15px 12px;
            }
            
            /* Add better button styles for mobile */
            .upsell-button, .cart-summary-button {
                padding: 15px;
                font-size: 1.1em;
                border-radius: 8px;
            }
            
            /* Add better loading styles for slower connections */
            .loading-spinner {
                width: 45px;
                height: 45px;
                border-width: 4px;
            }
            
            /* Add helper class for showing/hiding elements on mobile */
            .mobile-only {
                display: block;
            }
            
            .desktop-only {
                display: none;
            }
        }

        @media (min-width: 481px) {
            .mobile-only {
                display: none;
            }
            
            .desktop-only {
                display: block;
            }
        }

        /* Add success message styles */
        .success-message {
            background-color: #2c3e50;
            color: #fff;
            padding: 30px;
            border-radius: 10px;
            text-align: center;
            max-width: 600px;
            margin: 0 auto;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .success-message h3 {
            font-size: 24px;
            margin-bottom: 15px;
            color: #fff;
        }
        
        .order-info {
            background-color: rgba(255,255,255,0.1);
            padding: 15px;
            border-radius: 8px;
            margin: 20px 0;
            text-align: left;
        }
        
        .order-info p {
            margin: 10px 0;
        }
        
        .coupon-box {
            background-color: #3498db;
            padding: 15px;
            border-radius: 8px;
            margin: 25px 0;
        }
        
        .coupon-box h4 {
            margin-top: 0;
            font-size: 18px;
            margin-bottom: 10px;
        }
        
        .coupon-code {
            font-size: 26px;
            font-weight: bold;
            letter-spacing: 2px;
            background-color: rgba(255,255,255,0.9);
            color: #2c3e50;
            padding: 10px;
            margin: 10px auto;
            border-radius: 5px;
            display: inline-block;
            min-width: 200px;
        }
        
        .contact-info {
            margin-top: 20px;
            font-size: 14px;
        }
        
        .contact-info a {
            color: #3498db;
            text-decoration: underline;
        }

        /* Add collapsible instructions styles */
        .collapsible-instructions {
            margin-bottom: 20px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 5px var(--shadow-color);
            overflow: hidden;
        }

        .collapsible-header {
            background-color: white;
            padding: 15px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background-color 0.3s;
        }

        .collapsible-header:hover {
            background-color: #f5f5f5;
        }

        .collapsible-header h3 {
            margin: 0;
            color: var(--primary-color);
            font-size: 1.2rem;
        }

        .toggle-icon {
            font-size: 1.4em;
            transition: transform 0.3s;
        }

        .toggle-icon.open {
            transform: rotate(45deg);
        }

        .collapsible-content {
            display: none;
            padding: 0 15px 15px;
            border-top: 1px solid #eee;
        }

        .instructions-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }

        .instructions-column {
            flex: 1;
            min-width: 250px;
        }

        .order-steps {
            padding-left: 25px;
            margin: 10px 0;
        }

        .order-steps li {
            margin-bottom: 8px;
            line-height: 1.4;
        }

        .size-tabs {
            display: flex;
            gap: 10px;
            margin: 15px 0;
            overflow-x: auto;
            padding-bottom: 5px;
        }

        .size-tab {
            padding: 8px 15px;
            cursor: pointer;
            background-color: #f5f5f5;
            border: none;
            border-radius: 20px;
            font-size: 0.9em;
            transition: all 0.3s;
        }

        .size-tab.active {
            background-color: var(--primary-color);
            color: white;
        }

        .size-content {
            background-color: #f9f9f9;
            padding: 15px;
            border-radius: 8px;
        }

        .size-item {
            margin-bottom: 12px;
            display: flex;
            flex-direction: column;
        }

        .size-name {
            font-weight: 600;
            margin-bottom: 2px;
        }

        .size-dimensions {
            font-size: 0.9em;
            color: #666;
        }

        @media (max-width: 768px) {
            .instructions-grid {
                flex-direction: column;
                gap: 15px;
            }
            
            .size-tabs {
                gap: 8px;
            }
            
            .size-tab {
                padding: 6px 12px;
                font-size: 0.85em;
            }
            
            .size-item {
                margin-bottom: 10px;
            }
        }

        @keyframes cartPulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.3); }
            100% { transform: scale(1); }
        }
        
        .cart-pulse {
            animation: cartPulse 0.6s ease;
        }
        
        /* Add styles for PayPal buttons */
        #cartPaypalButtonContainer {
            margin-top: 10px;
            width: 100%;
        }
        
        #cartPaypalButtonContainer .paypal-checkout-button {
            width: 100%;
            border-radius: 4px;
            background: #ffc439;
            border: none;
            padding: 12px 16px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        #cartPaypalButtonContainer .paypal-checkout-button:hover {
            background: #ffb800;
            transform: translateY(-1px);
        }

        .payment-button-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
        }

        .payment-text {
            font-size: 0.85em;
            color: #333;
            font-weight: 500;
        }

        .payment-logos {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .payment-logo {
            height: 20px;
            width: auto;
        }

        .payment-separator {
            color: #666;
            font-size: 0.8em;
        }

        .google-pay-logo {
            background: #4285f4;
            color: white;
            font-size: 0.7em;
            font-weight: 700;
            padding: 3px 6px;
            border-radius: 4px;
            letter-spacing: 0.3px;
        }

        .apple-pay-logo {
            background: #000;
            color: white;
            font-size: 0.7em;
            font-weight: 500;
            padding: 3px 6px;
            border-radius: 4px;
        }

        .shop-pay-logo {
            background: #5a31f4;
            color: white;
            font-size: 0.7em;
            font-weight: 700;
            padding: 3px 6px;
            border-radius: 4px;
            letter-spacing: 0.3px;
        }
        
        /* Trustpilot logo styles */
        .trustpilot-container {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 10;
            display: flex;
            align-items: center;
            background-color: #00b67a;
            border-radius: 5px;
            padding: 8px 12px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .trustpilot-logo {
            height: 32px;
            transition: transform 0.2s ease;
        }
        
        .trustpilot-container:hover {
            background-color: #00a066;
        }
        
        .trustpilot-container:hover .trustpilot-logo {
            transform: scale(1.05);
        }
        
        .trustpilot-container:after {
            content: "Trustpilot";
            color: white;
            font-weight: bold;
            margin-left: 10px;
            font-size: 16px;
            letter-spacing: 0.5px;
        }
        
        @media (max-width: 768px) {
            .trustpilot-logo {
                height: 20px;
                padding: 4px 8px;
            }
        }

        @media (max-width: 480px) {
            .page-header {
                flex-direction: column;
                padding: 10px;
                align-items: center;
            }
            
            .logo-container {
                position: relative;
                left: auto;
                top: auto;
                transform: none;
                margin-bottom: 8px;
            }
            
            .title-container {
                margin: 5px 0;
            }
            
            .trustpilot-container {
                position: relative;
                right: auto;
                top: auto;
                transform: none;
                margin-top: 5px;
            }
        }

        .page-header.compact-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
  background: white;
}

.logo-trustpilot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.logo {
  height: 100px;
}

.trustpilot-container {
  background-color: #00b67a;
  border-radius: 5px;
  padding: 4px 10px;
}

.trustpilot-logo {
  height: 18px;
}

.title-block {
  flex: 1;
  text-align: left;
  padding-left: 10px;
}

.page-title {
  font-size: 1rem;
  margin: 0;
  color: #333;
}

.page-subtitle {
  font-size: 0.8rem;
  margin: 2px 0 0;
  color: #666;
}

@media (max-width: 480px) {
  .page-header.compact-header {
    flex-direction: row;
    align-items: center;
  }

  .title-block {
    text-align: left;
  }
}
.trustpilot-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fef5f6;
  border-bottom: 1px solid #eee;
  padding: 7px 12px;
  /* iPhone notch / Dynamic Island padding */
  padding-top: max(7px, env(safe-area-inset-top));
  padding-left:  max(12px, env(safe-area-inset-left));
  padding-right: max(12px, env(safe-area-inset-right));
  font-family: sans-serif;
  font-size: 0.9rem;
  color: #222;
  gap: 8px;
  text-decoration: none;
  transition: background 0.2s;
  flex-wrap: wrap;
  row-gap: 6px;
  min-width: 0;
  -webkit-tap-highlight-color: transparent;
}

.trustpilot-bar:hover {
  background-color: #fde7ea;
}

.trustpilot-bar .rating-text { font-weight: 600; white-space: nowrap; }

.trustpilot-bar .stars { height: 20px; flex-shrink: 0; }

#saleMidnightBanner {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
  color: #dc2626 !important;
  border: 1px solid rgba(220, 38, 38, 0.28);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 700 !important;
  letter-spacing: 0.2px;
  white-space: normal;
  margin-left: 0 !important;
  box-shadow: 0 1px 3px rgba(220,38,38,0.08);
  flex-shrink: 1;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  text-align: center;
}

@media (max-width: 480px) {
  .trustpilot-bar {
    font-size: 0.82rem;
    padding: 5px 10px;
    padding-top: max(5px, env(safe-area-inset-top));
    gap: 6px;
  }
  .trustpilot-bar .stars { height: 14px; }
  #saleMidnightBanner {
    font-size: 0.7rem;
    padding: 2px 8px;
    gap: 3px;
  }
}
@media (max-width: 380px) {
  /* On narrow phones, drop the verbose "ends at midnight" copy — keep clock + time left */
  #saleMidnightBanner .sale-midnight-long { display: none; }
  #saleMidnightBanner { font-size: 0.68rem; padding: 2px 7px; }
}
@media (max-width: 340px) {
  /* On the narrowest phones drop the "Excellent" label so the countdown fits */
  .trustpilot-bar .rating-text { display: none; }
}

        .social-share-box {
            background-color: #1877f2;
            padding: 20px;
            border-radius: 8px;
            margin: 25px 0;
            text-align: center;
        }
        
        .social-share-box h4 {
            margin-top: 0;
            font-size: 18px;
            margin-bottom: 10px;
            color: white;
        }
        
        .social-share-box p {
            margin-bottom: 15px;
            color: rgba(255, 255, 255, 0.9);
        }
        
        .share-button {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background-color: white;
            color: #1877f2;
            padding: 12px 24px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
        }
        
        .share-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }
        
        .share-button i {
            font-size: 1.2em;
        }
        
        .order-info {
            background-color: rgba(255,255,255,0.1);
            padding: 15px;
            border-radius: 8px;
            margin: 20px 0;
            text-align: left;
        }
        
        .order-info p {
            margin: 10px 0;
        }

        /* Reviews Section Styles */
        .reviews-section {
            background-color: white;
            border-radius: 8px;
            padding: 30px 20px;
            margin: 30px 0;
            box-shadow: 0 2px 8px var(--shadow-color);
        }

        .reviews-header {
            text-align: center;
            margin-bottom: 25px;
        }

        .reviews-title {
            color: var(--primary-color);
            font-size: 1.6rem;
            margin-bottom: 10px;
        }

        .reviews-rating {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
        }

        .rating-stars {
            color: #FFD700;
            font-size: 1.4rem;
            letter-spacing: 2px;
        }

        .rating-text {
            color: #666;
            font-size: 0.9rem;
        }

        .reviews-container {
            position: relative;
            margin: 0 auto;
            max-width: 1000px;
            overflow: hidden;
        }

        .reviews-slider {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            gap: 20px;
            padding: 10px 5px 20px;
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* Internet Explorer and Edge */
        }

        .reviews-slider::-webkit-scrollbar {
            display: none; /* Chrome, Safari, and Opera */
        }

        .review-card {
            flex: 0 0 calc(100% - 40px);
            max-width: calc(100% - 40px);
            scroll-snap-align: start;
            background-color: #f9f9f9;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease;
        }

        .review-card:hover {
            transform: translateY(-5px);
        }

        .review-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .review-author {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            overflow: hidden;
            border: 2px solid #ddd;
        }

        .author-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .author-info {
            display: flex;
            flex-direction: column;
        }

        .author-name {
            margin: 0 0 5px;
            font-size: 1rem;
            color: var(--primary-color);
        }

        .review-stars {
            color: #FFD700;
            font-size: 0.9rem;
            letter-spacing: 1px;
        }

        .review-date {
            color: #999;
            font-size: 0.8rem;
        }

        .review-media {
            width: 100%;
            margin-bottom: 15px;
            border-radius: 8px;
            overflow: hidden;
            max-height: 300px;
        }

        .review-image, 
        .review-video {
            width: 100%;
            height: auto;
            object-fit: cover;
            display: block;
            border-radius: 8px;
        }

        .review-video {
            max-height: 300px;
        }

        .review-text {
            color: #333;
            font-size: 0.95rem;
            line-height: 1.5;
            margin-bottom: 15px;
            font-style: italic;
        }

        .review-product {
            display: flex;
            align-items: center;
            gap: 10px;
            background-color: white;
            padding: 10px;
            border-radius: 6px;
        }

        .product-thumbnail {
            width: 40px;
            height: 40px;
            object-fit: cover;
            border-radius: 4px;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px 60px;
        }

        .page-header {
            display: flex;
            align-items: center;
            padding: 10px 15px;
            margin-bottom: 10px;
            background: white;
            box-shadow: 0 1px 3px var(--shadow-color);
            position: relative;
            flex-wrap: wrap;
        }

        .logo-container {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
        }

        .logo {
            height: 40px;
            width: auto;
        }

        .title-container {
            flex: 1;
            text-align: center;
        }

        .page-title {
            font-size: 1.6rem;
            margin: 0;
            color: var(--primary-color);
        }

        .page-subtitle {
            font-size: 0.9rem;
            margin: 2px 0 0 0;
            color: #666;
            font-weight: normal;
        }

        /* New Upsell Section Styles */
        .upsell-section {
            background: var(--background-color);
            padding: 30px;
            border-radius: 10px;
            margin-bottom: 30px;
            box-shadow: 0 4px 15px var(--shadow-color);
        }

        .selection-instructions {
            background: white;
            border-radius: 8px;
            padding: 20px;
            margin: 10px 0;
            box-shadow: 0 2px 5px var(--shadow-color);
        }

        .selection-instructions h3 {
            margin-bottom: 15px;
            color: var(--primary-color);
            font-size: 1.2rem;
        }

        .instruction-steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
        }

        .instruction-step {
            margin-bottom: 0;
            display: flex;
            align-items: flex-start;
            gap: 10px;
            background-color: #f9f9f9;
            padding: 12px;
            border-radius: 6px;
            transition: transform 0.2s;
        }

        .instruction-step:hover {
            transform: translateY(-2px);
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }

        .instruction-number {
            background: var(--primary-color);
            color: white;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            flex-shrink: 0;
        }

        .instruction-text {
            flex: 1;
            font-size: 0.95rem;
        }

        .upsell-header {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding: 20px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 5px var(--shadow-color);
        }

        .upsell-title {
            color: var(--primary-color);
            font-size: 1.8em;
            margin: 0;
        }

        .urgency-message {
            background: linear-gradient(135deg, #FF1744, #E91E63, #FF69B4);
            color: white;
            padding: 18px;
            border-radius: 8px;
            margin: 10px 0;
            text-align: center;
            animation: pulse 2s infinite;
            box-shadow: 0 4px 10px rgba(255, 23, 68, 0.4);
        }

        .urgency-message h3 {
            margin: 0 0 10px 0;
            font-size: 1.4em;
            text-shadow: 0 1px 2px rgba(0,0,0,0.2);
        }

        .urgency-content {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
        }

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

        .countdown {
            font-size: 1.8em;
            font-weight: bold;
            margin: 5px 0;
            text-shadow: 0 1px 2px rgba(0,0,0,0.2);
            background: rgba(0,0,0,0.15);
            padding: 8px 15px;
            border-radius: 6px;
        }

        .urgency-text {
            flex: 1;
            min-width: 200px;
            text-align: left;
            font-size: 1.05em;
            line-height: 1.4;
        }

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

        .upsell-summary {
            display: flex;
            flex-direction: column;
            width: 100%;
            gap: 15px;
        }

        .summary-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
        }

        .summary-row h4 {
            margin: 0;
            font-size: 1.1rem;
            color: var(--primary-color);
        }

        .discount-container {
            display: flex;
            flex-direction: column;
            width: 100%;
            margin-bottom: 10px;
        }

        .discount-input-container {
            display: flex;
            width: 100%;
            gap: 10px;
        }

        .discount-code-input {
            flex: 1;
            padding: 10px 12px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 0.95em;
            transition: border-color 0.3s, box-shadow 0.3s;
        }

        .discount-code-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(72, 70, 70, 0.1);
        }

        .apply-discount-button {
            background-color: var(--primary-color);
            color: var(--button-text);
            padding: 10px 15px;
            border: none;
            border-radius: 6px;
            font-size: 0.95em;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .apply-discount-button:hover:not(:disabled) {
            background-color: var(--secondary-color);
        }

        .apply-discount-button:disabled {
            background-color: #aaa;
            cursor: not-allowed;
        }

        .discount-message {
            margin-top: 5px;
            font-size: 0.9em;
        }

        .discount-success {
            color: #45a049;
        }

        .discount-error {
            color: #e74c3c;
        }

        .total-discount {
            color: #E91E63;
            font-weight: bold;
        }

        .original-price {
            text-decoration: line-through;
            color: #999;
            margin-right: 8px;
            font-size: 0.9em;
        }

        .upsell-note-input {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 0.95em;
            resize: vertical;
            min-height: 60px;
            transition: border-color 0.3s, box-shadow 0.3s;
        }

        .upsell-note-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(72, 70, 70, 0.1);
        }

        .upsell-button {
            background-color: var(--primary-color);
            color: var(--button-text);
            padding: 14px 25px;
            border: none;
            border-radius: 6px;
            font-size: 1.1em;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
        }

        .upsell-button:disabled {
            background-color: #aaa;
            cursor: not-allowed;
        }

        .upsell-button:hover:not(:disabled) {
            background-color: var(--secondary-color);
            transform: translateY(-2px);
        }

        .artwork-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr); /* 3 artworks per row on desktop */
            gap: 20px;
            margin-top: 15px;
            /* All artworks display in their actual ratio */
        }

        .artwork-item {
            position: relative;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.3s ease;
            aspect-ratio: auto; /* Let image determine aspect ratio - no forced ratio on desktop */
            overflow: visible;
            border-radius: 8px;
            margin-bottom: 50px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            background: white;
            min-height: 200px;
        }

        /* ALL Horizontal/Landscape artworks display in their actual ratio, no span on desktop */
        .artwork-item.horizontal-artwork {
            grid-column: span 1; /* Each artwork takes 1 column, 3 per row */
        }

        /* Portrait artworks also take 1 column */
        .artwork-item:not(.horizontal-artwork) {
            grid-column: span 1;
        }

        /* Desktop: All images show in their actual ratio */
        .artwork-item img {
            width: 100%;
            height: auto; /* Height adjusts to maintain actual image ratio */
            object-fit: contain; /* Show full image without cropping */
        }

        .artwork-item .watermarked {
            height: auto; /* Container adapts to image height */
        }

        .artwork-item.selected {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(72, 70, 70, 0.3);
            z-index: 20;
        }
        
        /* Highlight newly added artworks */
        .artwork-item.newly-added-artwork {
            animation: pulseGlow 2s ease-in-out;
        }
        
        .artwork-item.newly-added-artwork::before {
            content: '';
            position: absolute;
            top: -3px;
            left: -3px;
            right: -3px;
            bottom: -3px;
            border-radius: 12px;
            border: 2px solid #667eea;
            animation: fadeGlow 3s ease-in-out;
            pointer-events: none;
            z-index: 1;
        }
        
        @keyframes pulseGlow {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.02); }
        }
        
        @keyframes fadeGlow {
            0% {
                opacity: 1;
                box-shadow: 0 0 20px rgba(102, 126, 234, 0.8);
            }
            100% {
                opacity: 0;
                box-shadow: 0 0 0 rgba(102, 126, 234, 0);
            }
        }

        /* Generate New Previews Container - Always on top */
        .generate-new-container {
            width: 100%;
            margin-bottom: 30px;
        }

        /* Special styling for "Generate New Previews" button */
        .artwork-item.generate-new-item {
            display: flex !important;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border: 3px dashed var(--primary-color);
            background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
            cursor: pointer;
            transition: all 0.3s ease;
            min-height: 200px;
            aspect-ratio: 3/4;
            border-radius: 12px;
        }

        /* Hide artwork-specific elements for generate-new-item */
        .artwork-item.generate-new-item .artwork-item-details {
            display: none !important;
        }

        /* Prevent selection styling */
        .artwork-item.generate-new-item.selected {
            border: 3px dashed var(--primary-color) !important;
            box-shadow: none !important;
        }

        .artwork-item.generate-new-item:hover {
            background: linear-gradient(135deg, #e8f4f8 0%, #f0f9ff 100%);
            border-color: var(--secondary-color);
            transform: scale(1.02);
            box-shadow: 0 8px 20px rgba(72, 70, 70, 0.15);
        }

        .artwork-item.generate-new-item:active {
            transform: scale(0.98);
        }

        .generate-new-content {
            text-align: center;
            padding: 40px 20px;
            pointer-events: none; /* Prevent clicks on children */
        }

        .generate-new-icon {
            font-size: 72px;
            color: var(--primary-color);
            margin-bottom: 15px;
            transition: transform 0.3s ease;
        }

        .artwork-item.generate-new-item:hover .generate-new-icon {
            transform: rotate(90deg);
        }

        .generate-new-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 8px;
        }

        .generate-new-subtitle {
            font-size: 14px;
            color: var(--secondary-color);
        }

        @media (max-width: 768px) {
            .generate-new-icon {
                font-size: 56px;
            }
            .generate-new-title {
                font-size: 16px;
            }
            .generate-new-subtitle {
                font-size: 13px;
            }
        }

        @keyframes slideIn {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes slideOut {
            from {
                transform: translateX(0);
                opacity: 1;
            }
            to {
                transform: translateX(100%);
                opacity: 0;
            }
        }

        /* Valentine's glow effect for buttons */
        .valentine-glow {
            box-shadow: 0 0 15px rgba(255, 23, 68, 0.4), 
                        0 0 30px rgba(233, 30, 99, 0.3) !important;
            transition: box-shadow 0.3s ease;
        }

        /* Enhance Modal Styles */
        .enhance-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            z-index: 10000;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(5px);
            overflow-y: auto;
            padding: 20px;
        }

        .enhance-modal-overlay.active {
            display: flex;
        }

        /* Custom scrollbar for webkit browsers */
        .enhance-modal::-webkit-scrollbar,
        .enhance-processing-content::-webkit-scrollbar {
            width: 8px;
        }

        .enhance-modal::-webkit-scrollbar-track,
        .enhance-processing-content::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }

        .enhance-modal::-webkit-scrollbar-thumb,
        .enhance-processing-content::-webkit-scrollbar-thumb {
            background: #E91E63;
            border-radius: 10px;
        }

        .enhance-modal::-webkit-scrollbar-thumb:hover,
        .enhance-processing-content::-webkit-scrollbar-thumb:hover {
            background: #C2185B;
        }

        .enhance-modal {
            background: linear-gradient(to bottom, #FFF0F5, #FFFFFF);
            border-radius: 16px;
            padding: 40px;
            max-width: 500px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(233, 30, 99, 0.3);
            animation: modalSlideIn 0.3s ease-out;
            position: relative;
            z-index: 10001;
            border: 2px solid #FFE4E9;
            margin: auto;
            -webkit-overflow-scrolling: touch;
            scroll-behavior: smooth;
        }

        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .enhance-modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            font-size: 28px;
            color: #999;
            cursor: pointer;
            width: 35px;
            height: 35px;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.2s ease;
            display: none;
        }

        .enhance-modal-close:hover {
            background: #f0f0f0;
            color: #333;
        }

        .enhance-modal-close-down {
            position: absolute;
            bottom: -50px;
            left: 50%;
            transform: translateX(-50%);
            background: white;
            border: none;
            font-size: 32px;
            color: #667eea;
            cursor: pointer;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        .enhance-modal-close-down:hover {
            background: #667eea;
            color: white;
            transform: translateX(-50%) translateY(2px);
        }

        .enhance-modal-header {
            text-align: center;
            margin-bottom: 25px;
        }

        .enhance-modal-title {
            font-size: 24px;
            color: var(--primary-color);
            margin: 0 0 10px 0;
            font-weight: 600;
        }

        .enhance-modal-subtitle {
            font-size: 14px;
            color: #666;
            margin: 0;
        }

        .enhance-modal-loader {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 30px 0;
        }

        .enhance-loader-circle {
            width: 80px;
            height: 80px;
            border: 6px solid #FFE4E9;
            border-top: 6px solid #E91E63;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        .enhance-modal-info {
            background: linear-gradient(135deg, rgba(255, 23, 68, 0.08) 0%, rgba(255, 105, 180, 0.08) 100%);
            border-radius: 12px;
            padding: 25px;
            margin-top: 20px;
            border: 1px solid #FFE4E9;
        }

        .enhance-modal-info h3 {
            font-size: 16px;
            color: var(--primary-color);
            margin: 0 0 15px 0;
            font-weight: 600;
        }

        .enhance-modal-info ul {
            margin: 0;
            padding-left: 0;
            list-style: none;
        }

        .enhance-modal-info li {
            font-size: 14px;
            color: #555;
            margin-bottom: 12px;
            padding-left: 30px;
            position: relative;
            line-height: 1.6;
        }

        .enhance-modal-info li:before {
            content: '🎨';
            position: absolute;
            left: 0;
            font-size: 18px;
        }

        .enhance-modal-info li:last-child {
            margin-bottom: 0;
        }

        .enhance-modal-timer {
            text-align: center;
            margin-top: 20px;
            font-size: 14px;
            color: #888;
            font-weight: 500;
        }

        .enhance-modal-reload-btn {
            width: 100%;
            margin-top: 20px;
            padding: 12px 24px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }

        .enhance-modal-reload-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
        }

        .enhance-modal-reload-btn:active {
            transform: translateY(0);
        }

        @media (max-width: 768px) {
            .enhance-modal {
                padding: 25px 20px;
                max-width: 95%;
                width: 95%;
                margin: 15px;
                border-radius: 12px;
                max-height: 90vh;
                overflow-y: auto;
            }

            .enhance-modal-title {
                font-size: 20px;
                margin-bottom: 8px;
            }

            .enhance-modal-subtitle {
                font-size: 13px;
            }

            .enhance-modal-header {
                margin-bottom: 20px;
            }

            .enhance-modal-loader {
                margin: 20px 0;
            }

            .enhance-loader-circle {
                width: 60px;
                height: 60px;
                border-width: 5px;
            }

            .enhance-modal-close-down {
                width: 45px;
                height: 45px;
                font-size: 28px;
                bottom: -45px;
            }

            .enhance-modal-info {
                padding: 18px 15px;
                border-radius: 10px;
                margin-top: 15px;
            }

            .enhance-modal-info h3 {
                font-size: 14px;
                margin-bottom: 12px;
            }

            .enhance-modal-info li {
                font-size: 13px;
                margin-bottom: 10px;
                padding-left: 28px;
                line-height: 1.5;
            }

            .enhance-modal-info li:before {
                font-size: 16px;
            }

            .enhance-modal-timer {
                margin-top: 15px;
                font-size: 13px;
            }

            .enhance-modal-reload-btn {
                margin-top: 15px;
                padding: 12px 20px;
                font-size: 14px;
            }

            .enhance-processing-content {
                padding: 30px 20px;
                max-width: 95%;
                width: 95%;
                max-height: 85vh;
                border-radius: 16px;
            }

            .enhance-processing-icon {
                font-size: 48px;
                margin-bottom: 15px;
            }

            .enhance-processing-title {
                font-size: 20px;
            }

            .enhance-processing-subtitle {
                font-size: 13px !important;
                margin-bottom: 15px !important;
            }

            .enhance-modal-info h3 {
                font-size: 14px !important;
            }

            .enhance-modal-info li {
                font-size: 13px !important;
            }
        }

        @media (max-width: 480px) {
            .enhance-modal {
                padding: 20px 15px;
                max-width: 96%;
                width: 96%;
                margin: 10px;
                max-height: 92vh;
            }

            .enhance-modal-title {
                font-size: 18px;
            }

            .enhance-modal-subtitle {
                font-size: 12px;
            }

            .enhance-modal-header {
                margin-bottom: 15px;
            }

            .enhance-modal-loader {
                margin: 15px 0;
            }

            .enhance-loader-circle {
                width: 50px;
                height: 50px;
                border-width: 4px;
            }

            .enhance-modal-info {
                padding: 15px 12px;
                margin-top: 12px;
            }

            .enhance-modal-info h3 {
                font-size: 13px;
                margin-bottom: 10px;
            }

            .enhance-modal-info li {
                font-size: 12px;
                margin-bottom: 8px;
                padding-left: 25px;
            }

            .enhance-modal-info li:before {
                font-size: 14px;
            }

            .enhance-modal-timer {
                margin-top: 12px;
                font-size: 12px;
            }

            .enhance-modal-reload-btn {
                margin-top: 12px;
                padding: 10px 16px;
                font-size: 13px;
            }

            .enhance-processing-content {
                padding: 25px 15px;
                max-width: 100%;
                width: 100%;
                max-height: 95vh;
                border-radius: 12px;
            }

            .enhance-processing-icon {
                font-size: 42px;
                margin-bottom: 12px;
            }

            .enhance-processing-title {
                font-size: 18px;
            }

            .enhance-processing-subtitle {
                font-size: 12px !important;
                margin-bottom: 12px !important;
            }
        }

        .select-label {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0, 0, 0, 0.5);
            color: white;
            font-size: 1.2em;
            font-weight: bold;
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 3;
            -webkit-tap-highlight-color: transparent;
        }

        .artwork-item-details {
            position: relative;
            padding: 20px;
            background: white;
            border-radius: 8px;
            border-top: 1px solid #eee;
            display: none;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            z-index: 20;
            margin-top: 10px;
        }

        .artwork-item.selected .artwork-item-details {
            display: block;
        }

        .artwork-product-options {
            position: relative;
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 15px;
            z-index: 25;
        }

        .product-token {
            position: relative;
            border: 2px solid #ddd;
            border-radius: 8px;
            background-color: white;
            color: var(--primary-color);
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
            text-align: left;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            z-index: 30;
            padding: 12px 15px;
            overflow: hidden;
            width: 100%;
        }

        .product-token:hover {
            border-color: #e6c700;
            background-color: rgba(240, 219, 79, 0.05);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            transform: translateY(-2px);
        }

        .product-token.selected {
            border-color: #e6c700;
            background-color: #e6c700;
            color: #333;
        }

        .product-token-left {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .product-token-right {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
        }

        .product-token-name {
            font-size: 0.9em;
            font-weight: bold;
        }

        .product-token-price {
            font-weight: bold;
            font-size: 1.1em;
        }

        .ready-to-hang {
            font-size: 0.75em;
            color: #666;
            margin-top: 2px;
        }

        .ready-to-print {
            font-size: 0.75em;
            color: #666;
            margin-top: 2px;
        }

        .ready-to-send {
            font-size: 0.75em;
            color: #666;
            margin-top: 2px;
        }

        .perfect-gift {
            font-size: 0.75em;
            color: #E74C3C;
            margin-top: 2px;
            font-weight: bold;
        }

        .product-token.selected .ready-to-hang,
        .product-token.selected .ready-to-print,
        .product-token.selected .ready-to-send {
            color: #333;
        }

        .product-token.selected .perfect-gift {
            color: #333;
        }

        /* Poster-option CSS rule removed */

        .product-token.canvas-option {
            order: -3; /* Canvas options first */
        }

        .product-token.digital {
            order: 5; /* Digital option */
        }

        .product-token.digital.selected {
            background-color: #e6c700;
            color: #333;
        }

        .product-token.canvas-option:after {
            content: none;
        }

        .artwork-item-title {
            margin: 0 0 10px 0;
            color: var(--primary-color);
            text-align: center;
            font-size: 1.1em;
        }

        .artwork-item img {
            width: 100%;
            height: auto; /* Height adjusts automatically to maintain image's actual ratio */
            object-fit: contain;
            background-color: #f5f5f5;
            display: block;
        }

        .watermarked {
            position: relative;
            width: 100%;
            height: auto; /* Adapts to image height - no fixed height */
            overflow: hidden; /* Contain watermark */
            display: block;
        }

        .watermarked::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('https://cdn.shopify.com/s/files/1/0765/6934/6396/files/46ce6d9b8ad6f5c33f9e27b29a93a249-fotor-20240910224739.jpg?v=1726085760') repeat;
            pointer-events: none;
            opacity: 0.35;
        }

        .price-tag {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            z-index: 1;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            backdrop-filter: blur(4px);
        }
        
        .price-tag-type {
            font-size: 0.7em;
        }

        .checkmark {
            position: absolute;
            top: 10px;
            left: 10px;
            background: var(--primary-color);
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 1;
        }

        .artwork-item.selected .checkmark {
            background: #45a049; /* Green color for selected state */
        }
        
        .artwork-remove {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(231, 76, 60, 0.8);
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 5;
            cursor: pointer;
            font-size: 1.2em;
            border: none;
        }
        
        .artwork-item.selected .artwork-remove {
            opacity: 1;
        }
        
        .artwork-remove:hover {
            background: rgba(231, 76, 60, 1);
            transform: scale(1.1);
        }

        .product-type-dropdown option {
            padding: 4px;
            font-size: 0.9em;
        }

        /* Additional styles for product tokens and price tags */
        .product-token-original-price {
            text-decoration: line-through;
            color: #999;
            font-size: 0.9em;
            font-weight: normal;
        }

        .product-token-discounted-price {
            color: #059669;
            font-weight: bold;
            font-size: 1.1em;
        }

        .product-token-savings {
            font-size: 0.7em;
            color: #059669;
            font-weight: bold;
        }

        .price-tag-original-price {
            text-decoration: line-through;
            color: rgba(255,255,255,0.7);
            font-size: 0.8em;
        }

        .price-tag-discounted-price {
            color: #fff;
            font-weight: bold;
        }

        .price-tag-savings {
            background: #00b894;
            color: white;
            padding: 1px 3px;
            border-radius: 2px;
            font-size: 0.7em;
            margin-top: 2px;
        }

        /* Pricing card styles */
        .pricing-card {
            background: #f8fafc;
            padding: 10px 8px;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
            transition: all 0.2s;
            flex: 0 0 120px;
            scroll-snap-align: start;
            text-align: center;
            height: auto;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .pricing-card-header {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            margin-bottom: 6px;
        }

        .pricing-card-emoji {
            font-size: 14px;
        }

        .pricing-card-name {
            font-weight: 600;
            font-size: 10px;
            color: #475569;
            line-height: 1.2;
        }

        .pricing-card-prices {
            margin-bottom: 4px;
        }

        .pricing-card-original-price {
            font-size: 8px;
            color: #94a3b8;
            margin-bottom: 2px;
        }

        .pricing-card-original-price-value {
            text-decoration: line-through;
        }

        .pricing-card-discounted-price {
            color: #059669;
            font-weight: 700;
            font-size: 12px;
            margin-bottom: 4px;
        }

        .pricing-card-savings {
            background: #dcfce7;
            color: #166534;
            padding: 2px 4px;
            border-radius: 3px;
            font-size: 7px;
            font-weight: 600;
            line-height: 1;
        }

        /* Cart Item Product Type Container - Stacked layout */
        .cart-item-product-type {
            display: block !important;
            width: 100% !important;
            max-width: 100% !important;
            overflow: visible !important;
            padding-bottom: 4px;
            padding-top: 4px;
            position: relative;
        }

        /* No scroll hints needed */
        .cart-item-product-type::after {
            display: none !important;
        }

        /* Cart Product Tokens - Wrapped grid layout */
        .cart-product-tokens {
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: wrap !important;
            gap: 8px;
            width: 100% !important;
            min-width: unset !important;
            padding-right: 0;
        }

        .cart-product-token {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            padding: 8px 10px;
            flex: 1 1 calc(50% - 4px);
            min-width: 0;
            max-width: calc(50% - 4px);
            border-radius: 10px;
            font-size: 11px;
            background: white;
            color: #333;
            border: 2px solid #e0e0e0;
            cursor: pointer;
            transition: all 0.2s ease;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
            box-sizing: border-box;
        }

        .cart-product-token:hover {
            border-color: #e6c700;
            background: rgba(240, 219, 79, 0.05);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

        .cart-product-token:active {
            transform: scale(0.98);
        }

        .cart-product-token.selected {
            background: #e6c700;
            color: #333;
            border-color: #e6c700;
        }

        .cart-product-token .token-header {
            display: flex;
            align-items: center;
            gap: 4px;
            font-weight: 600;
            font-size: 13px;
            margin-bottom: 4px;
        }

        .cart-product-token .token-size {
            font-size: 10px;
            color: #666;
            margin-bottom: 4px;
        }

        .cart-product-token.selected .token-size {
            color: #444;
        }

        .cart-product-token .token-delivery {
            font-size: 9px;
            color: #059669;
            font-weight: 500;
            background: #ecfdf5;
            padding: 2px 6px;
            border-radius: 4px;
            margin-bottom: 6px;
            white-space: nowrap;
        }

        .cart-product-token.selected .token-delivery {
            background: rgba(255,255,255,0.3);
            color: #333;
        }

        .cart-product-token .token-price-section {
            display: flex;
            align-items: baseline;
            gap: 4px;
            margin-top: auto;
        }

        .cart-product-token .token-price {
            font-weight: 700;
            font-size: 14px;
            color: #059669;
        }

        .cart-product-token.selected .token-price {
            color: #333;
        }

        .cart-product-token .token-info {
            font-size: 9px;
            color: #666;
            margin-top: 4px;
        }

        .cart-product-token.selected .token-info {
            color: #444;
        }

        @media (max-width: 768px) {
            .cart-product-tokens {
                gap: 6px;
                margin-top: 8px;
                padding-right: 0;
            }
            
            .cart-product-token {
                flex: 1 1 calc(50% - 3px);
                max-width: calc(50% - 3px);
                min-width: 0;
                padding: 7px 8px;
            }
            
            .cart-product-token .token-header {
                font-size: 11px;
            }
            
            .cart-product-token .token-size {
                font-size: 9px;
            }
            
            .cart-product-token .token-delivery {
                font-size: 8px;
            }
            
            .cart-product-token .token-price {
                font-size: 12px;
            }
        }

        .loading {
            display: none;
            width: 100%;
            padding: 60px 20px;
            align-items: center;
            justify-content: center;
        }

        .loading-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            max-width: 80%;
        }

        .loading-message {
            margin-top: 12px;
            font-size: 14px;
            color: #888;
            text-align: center;
        }

        .loading-spinner {
            width: 40px;
            height: 40px;
            border: 4px solid #f0f0f0;
            border-top: 4px solid var(--primary-color);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }


.language-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: sans-serif;
  font-size: 14px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  white-space: nowrap; /* prevents text/select wrapping */
}

.language-selector #country-flag img {
  height: 16px;
  width: auto;
  vertical-align: middle;
  display: inline-block;
}

.language-selector select {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 14px;
  background-color: #f9f9f9;
  cursor: pointer;
}


        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @media (max-width: 768px) {
            .container {
                padding: 10px;
            }

            .header {
                padding: 20px 0;
                margin-bottom: 20px;
            }

            h1 {
                font-size: 1.8em;
            }
            
            .subtitle {
                font-size: 1em;
            }
            
            .trustpilot-container {
                right: 10px;
                padding: 4px 8px;
            }
            
            .trustpilot-logo {
                height: 26px;
            }
            
            .trustpilot-container:after {
                font-size: 12px;
                margin-left: 6px;
            }

            .artwork-grid {
                grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
                gap: 20px 15px;
            }

            /* TABLET (768px): 2 columns, all artworks display in their actual ratio, 1 column each */
            .artwork-item.horizontal-artwork {
                grid-column: span 1; /* Each artwork takes 1 column */
            }

            .artwork-item {
                aspect-ratio: auto; /* Let images determine their own ratio */
            }

            .generate-new-container {
                margin-bottom: 20px;
            }

            .artwork-item.generate-new-item {
                min-height: 160px;
            }

            .generate-new-icon {
                font-size: 48px !important;
            }

            .generate-new-title {
                font-size: 16px !important;
            }

            .generate-new-subtitle {
                font-size: 12px !important;
            }

            .artwork-item {
                margin-bottom: 25px;
                overflow: visible !important;
                z-index: 5;
            }

            .artwork-item.selected {
                z-index: 25;
            }

            .artwork-item-details {
                padding: 15px;
                border-radius: 6px;
            }

            .artwork-product-options {
                gap: 8px;
            }
            
            .product-token {
                padding: 10px 12px;
                border-width: 1px;
            }
            
            .product-token-name {
                font-size: 0.85em;
            }
            
            .product-token-price {
                font-size: 1em;
            }
            
            .artwork-item.selected .artwork-item-details {
                padding-bottom: 20px;
            }

            .select-label {
                background: rgba(0, 0, 0, 0.6);
                font-size: 1.1em;
                text-shadow: 0 2px 4px rgba(0,0,0,0.5);
            }

            .artwork-item.selected {
                transform: translateY(-2px);
                box-shadow: 0 6px 12px rgba(0,0,0,0.2);
            }
            
            .product-token {
                min-height: 60px;
            }
            
            .product-token:active {
                transform: scale(0.98);
            }

            .upsell-header {
                flex-direction: column;
                gap: 15px;
                padding: 15px;
                margin-bottom: 20px;
            }

            .upsell-summary {
                flex-direction: column;
                gap: 12px;
                width: 100%;
            }

            .upsell-section {
                padding: 15px;
            }

            .selection-instructions {
                padding: 12px;
            }

            .instruction-step {
                gap: 8px;
            }

            .upsell-button {
                width: 100%;
                padding: 12px;
            }
            
            .upsell-note-input {
                font-size: 16px; /* Prevent zoom on input focus in iOS */
            }
            
            .cart-note-input {
                font-size: 16px; /* Prevent zoom on input focus in iOS */
            }
        }

        @media (max-width: 480px) {
            .page-header {
                flex-direction: column;
                padding: 10px;
                align-items: center;
            }
            
            .logo-container {
                position: relative;
                left: auto;
                top: auto;
                transform: none;
                margin-bottom: 8px;
            }
            
            .title-container {
                margin: 5px 0;
            }
            
            .trustpilot-container {
                position: relative;
                right: auto;
                top: auto;
                transform: none;
                margin-top: 10px;
                margin-bottom: 5px;
                padding: 6px 12px;
                width: 140px;
                justify-content: center;
            }
            
            .trustpilot-logo {
                height: 28px;
            }
            
            .logo {
                max-width: 120px;
            }

            h1 {
                font-size: 1.6em;
                margin-bottom: 5px;
            }

            .subtitle {
                font-size: 0.9em;
                margin-bottom: 15px;
            }

            .upsell-section {
                padding: 12px;
                margin-bottom: 20px;
            }

            .upsell-title {
                font-size: 1.3em;
            }

            /* ===== MOBILE (480px): Show each image in its FULL ACTUAL RATIO ===== */
            /* - One image per row                                              */
            /* - One column stack per screen                                    */
            /* - NO forced 3:2 ratio - images display in their natural ratio    */
            /* - Width fills screen, height adjusts automatically               */
            
            .artwork-grid {
                grid-template-columns: 1fr; /* Single column - one artwork per line */
                gap: 25px;
            }
            .artwork-item {
                grid-column: span 1 !important; /* Force single column on mobile */
                aspect-ratio: auto !important; /* Remove forced aspect ratio - let image determine size */
                margin: 0 auto 25px;
                max-width: 100%; /* Allow full width on mobile */
                width: 100%;
            }

            /* On mobile: ALL artworks show their actual ratio, not forced to 3:2 */
            .artwork-item.horizontal-artwork {
                grid-column: span 1 !important; /* Override 2-column span to 1 on mobile */
                aspect-ratio: auto !important; /* Show actual image ratio, not forced 3:2 */
            }

            /* Images fill width, height adjusts to maintain actual ratio */
            .artwork-item img {
                object-fit: contain !important; /* Show full image in actual ratio */
                width: 100%;
                height: auto !important;
            }

            /* Watermarked container adapts to image height on mobile */
            .artwork-item .watermarked {
                height: auto !important;
            }

            /* Remove min-height on mobile to allow natural sizing */
            .artwork-item {
                min-height: auto !important;
            }

            .generate-new-container {
                margin-bottom: 15px;
            }

            .artwork-item.generate-new-item {
                min-height: 140px;
                padding: 15px;
            }

            .generate-new-content {
                padding: 20px 15px;
            }

            .generate-new-icon {
                font-size: 40px !important;
            }

            .generate-new-title {
                font-size: 14px !important;
            }

            .generate-new-subtitle {
                font-size: 11px !important;
            }

            .price-tag {
                font-size: 0.85em;
                padding: 3px 6px;
                right: 5px;
                top: 5px;
            }

            .checkmark {
                width: 22px;
                height: 22px;
                font-size: 0.8em;
                left: 5px;
                top: 5px;
            }
            
            .artwork-item-title {
                font-size: 1em;
            }
            
            .ready-to-hang, 
            .ready-to-print,
            .ready-to-send,
            .perfect-gift {
                font-size: 0.7em;
            }
            
            .select-label {
                font-size: 1em;
            }

            .urgency-message {
                padding: 12px;
            }
            
            .countdown {
                font-size: 1.3em;
            }

            .artwork-item-details {
                padding: 15px;
                margin-top: 15px;
                border-radius: 10px;
                border: 1px solid #eee;
            }
            
            .artwork-item-title {
                font-size: 1.2em;
                margin-bottom: 12px;
            }
            
            .select-label {
                font-size: 1.2em;
                font-weight: bold;
                background: rgba(0, 0, 0, 0.5);
            }
            
            .artwork-product-options {
                gap: 10px;
            }
            
            .product-token {
                padding: 12px 15px;
                min-height: 65px;
            }
            
            /* Make sure the urgency message is properly sized */
            .urgency-message {
                margin: 15px auto;
                max-width: 450px;
            }
        }

        /* Fix Safari issues */
        @supports (-webkit-touch-callout: none) {
            .product-token {
                -webkit-tap-highlight-color: transparent;
            }
            
            input, textarea, select, button {
                font-size: 16px !important; /* Prevent zoom on input focus in iOS */
            }
        }

        @media (min-width: 1200px) {
            .container {
                max-width: 1400px;
            }
            .artwork-grid {
                grid-template-columns: repeat(4, 1fr); /* Keep 4 columns on large screens */
            }
            .artwork-item {
                aspect-ratio: auto; /* Let each image show in its own actual ratio */
            }
        }

        @media (max-height: 600px) and (orientation: landscape) {
            .header {
                padding: 10px 0;
            }

            .logo {
                max-width: 120px;
            }

            .artwork-item {
                aspect-ratio: auto; /* Let each image show in its own actual ratio */
            }

            .upsell-header {
                margin-bottom: 15px;
            }
        }

        /* Add floating cart styles */
        .floating-cart {
            position: fixed !important;
            bottom: 20px;
            right: 20px;
            background: var(--primary-color);
            color: white;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex !important;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            z-index: 1000003 !important;
            -webkit-tap-highlight-color: transparent;
            visibility: visible !important;
            opacity: 1 !important;
            pointer-events: auto !important;
            transition: opacity 0.2s ease, visibility 0.2s ease;
        }

        .floating-cart.cart-hidden {
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
        }

        .floating-cart:hover {
            transform: scale(1.1);
            background: var(--secondary-color);
        }

        .cart-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background: #e74c3c;
            color: white;
            min-width: 24px;
            height: 24px;
            border-radius: 12px;
            display: flex !important;
            align-items: center;
            justify-content: center;
            font-size: 0.8em;
            font-weight: bold;
            opacity: 1 !important;
            visibility: visible !important;
            transform: scale(1);
            transition: all 0.3s ease;
            padding: 0 6px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            z-index: 1000;
        }

        .cart-count.visible {
            opacity: 1;
            transform: scale(1);
        }

        .cart-icon {
            font-size: 1.5em;
        }

        .cart-summary {
            position: fixed;
            bottom: 90px;
            right: 20px;
            background: white;
            padding: 20px;
            border-radius: 16px;
            box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
            width: 350px;
            max-width: calc(100vw - 40px);
            max-height: 80vh;
            overflow-y: auto;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.3s ease;
            z-index: 999;
        }

        .cart-summary.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            height: 87%;
        }

        .cart-summary-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }

        .cart-summary-title {
            font-size: 1.2em;
            color: var(--primary-color);
            margin: 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .cart-summary-title i {
            color: var(--primary-color);
        }

        .cart-summary-close {
            cursor: pointer;
            color: var(--secondary-color);
            font-size: 1.2em;
            height: 30px;
            width: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.2s;
        }

        .cart-summary-close:hover {
            background-color: #f5f5f5;
        }
        
        .cart-clear-button {
            background-color: transparent;
            color: #999;
            border: 1px solid #ddd;
            border-radius: 4px;
            padding: 4px 8px;
            font-size: 0.8em;
            cursor: pointer;
            transition: all 0.2s ease;
            margin-left: 10px;
        }
        
        .cart-clear-button:hover {
            background-color: #f0f0f0;
            color: #e74c3c;
            border-color: #e74c3c;
        }

        .cart-note-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(72, 70, 70, 0.1);
        }

        /* Enhanced Discount Badge */
        .discount-badge-container {
            margin: 12px 0;
            display: flex;
            justify-content: center;
        }

        .discount-badge {
            background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 50%, #c13584 100%);
            color: white;
            padding: 12px 20px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
                box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
            }
            50% {
                transform: scale(1.02);
                box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
            }
        }

        .discount-icon {
            font-size: 1.5em;
            animation: rotate 3s linear infinite;
        }

        @keyframes rotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .discount-text {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .discount-label {
            font-size: 0.85em;
            opacity: 0.95;
            font-weight: 500;
        }

        .discount-percentage {
            font-size: 1.1em;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        .cart-summary-total {
            font-weight: bold;
            color: var(--primary-color);
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #eee;
            font-size: 1.1em;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .total-pricing {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 4px;
        }

        .original-price {
            text-decoration: line-through;
            color: #999;
            font-size: 0.9em;
            font-weight: 500;
        }

        .discounted-price {
            font-weight: bold;
            color: #45a049;
            font-size: 1.3em;
        }

        .secure-checkout-wrapper {
            margin-top: 10px;
        }

        /* Mobile styles for simplified button */
        @media (max-width: 768px) {
            .checkout-main {
                gap: 8px;
            }

            .security-shield {
                font-size: 1.2em;
            }

            .checkout-text {
                font-size: 1em;
            }

            .payment-icons i {
                font-size: 1.1em;
                padding: 2px 4px;
            }

            .shop-pay-icon {
                font-size: 0.65em;
                padding: 2px 5px;
            }

            .security-note {
                font-size: 0.8em;
                margin-top: 6px;
            }
        }

        .cart-summary-button {
            width: 100%;
            padding: 18px 28px;
            border: none;
            border-radius: 14px;
            font-size: 1.15em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            box-shadow: 0 4px 14px rgba(0, 122, 255, 0.4);
            -webkit-font-smoothing: antialiased;
            letter-spacing: 0.2px;
        }

        .enhanced-secure-button {
            background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
            color: white;
            border: 1px solid #15803d;
            box-shadow: 0 4px 0 #166534, 0 8px 20px rgba(34, 197, 94, 0.3);
            position: relative;
        }

        .enhanced-secure-button:hover:not(:disabled) {
            background: linear-gradient(135deg, #16a34a 0%, #15803d 50%, #166534 100%);
            box-shadow: 0 6px 0 #166534, 0 12px 25px rgba(34, 197, 94, 0.4);
            transform: translateY(-2px);
        }

        .enhanced-secure-button:active:not(:disabled) {
            transform: translateY(2px);
            box-shadow: 0 2px 0 #166534, 0 4px 15px rgba(34, 197, 94, 0.3);
        }

        /* Unified Checkout Button — Apple-style clean, bold CTA */
        .unified-checkout-button {
            background: #007AFF;
            color: #ffffff;
            border: none;
            box-shadow: 0 4px 14px rgba(0, 122, 255, 0.4);
            position: relative;
            border-radius: 14px;
            font-size: 1.15em;
            font-weight: 600;
            letter-spacing: 0.2px;
            padding: 18px 28px;
            -webkit-font-smoothing: antialiased;
        }

        .unified-checkout-button:hover:not(:disabled) {
            background: #0066DD;
            box-shadow: 0 6px 20px rgba(0, 122, 255, 0.55);
            transform: translateY(-1px);
        }

        .unified-checkout-button:active:not(:disabled) {
            background: #005BBB;
            transform: translateY(1px);
            box-shadow: 0 2px 8px rgba(0, 122, 255, 0.35);
        }

        .checkout-main-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 1.1em;
            font-weight: 700;
            width: 100%;
        }

        /* Payment Icons Container Below Button */
        .payment-icons-container {
            margin-top: 12px;
            padding: 12px;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 8px;
            border: 1px solid rgba(0, 48, 135, 0.1);
        }

        .cart-summary-button:hover:not(:disabled) {
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(0, 122, 255, 0.5);
        }
        
        .cart-summary-button:disabled {
            background: #d1d5db;
            color: #9ca3af;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
            border: none;
        }

        .secure-checkout-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }

        .checkout-main {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .security-shield {
            font-size: 1.3em;
            margin-right: 2px;
        }

        .checkout-text {
            font-size: 1.1em;
            font-weight: 700;
            letter-spacing: 0.3px;
        }

        /* Colors for unified checkout button */
        .unified-checkout-button .security-shield {
            filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
        }

        .unified-checkout-button .checkout-text {
            color: #ffffff;
        }

        .payment-icons {
            display: flex;
            gap: 6px;
            align-items: center;
            flex-wrap: wrap;
            justify-content: center;
        }

        .payment-icons svg {
            height: 20px;
            width: auto;
            transition: transform 0.2s ease;
            flex-shrink: 0;
        }

        .payment-icons svg:hover {
            transform: scale(1.05);
        }

        @media (max-width: 600px) {
            .payment-icons {
                gap: 4px;
            }
            .payment-icons svg {
                height: 18px;
            }
            .discount-badge {
                padding: 10px 16px;
            }
            .discount-icon {
                font-size: 1.3em;
            }
        }

        .payment-icons i {
            font-size: 1.2em;
            background: rgba(255, 255, 255, 0.9);
            padding: 3px 5px;
            border-radius: 4px;
            transition: transform 0.2s ease;
        }

        .payment-icons i:hover {
            transform: scale(1.05);
        }

        .fab.fa-cc-visa {
            color: #1a1f71;
        }

        .fab.fa-cc-mastercard {
            color: #eb001b;
        }

        .fab.fa-google-pay {
            color: #4285f4;
        }

        .fab.fa-apple-pay {
            color: #000000;
        }

        .shop-pay-icon {
            background: #5a31f4;
            color: white;
            font-size: 0.7em;
            font-weight: 700;
            padding: 3px 6px;
            border-radius: 4px;
            letter-spacing: 0.5px;
            transition: transform 0.2s ease;
        }

        .shop-pay-icon:hover {
            transform: scale(1.05);
        }

        .security-note {
            margin-top: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-size: 0.85em;
            color: #003087;
            font-weight: 500;
        }

        .security-note i {
            color: #003087;
            font-size: 0.9em;
        }

        .cart-note-label {
            display: block;
            margin-bottom: 8px;
            color: var(--primary-color);
            font-weight: 500;
        }

        .cart-popup-badge {
            position: absolute;
            top: -6px;
            right: -6px;
            background: #e74c3c;
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            transform: scale(1);
            transition: all 0.3s ease;
            z-index: 1001;
        }

        .cart-popup-badge.visible {
            transform: scale(1);
        }

        @media (max-width: 768px) {
            .floating-cart {
                bottom: 15px;
                right: 15px;
                width: 55px;
                height: 55px;
                display: flex !important;
                visibility: visible !important;
                opacity: 1 !important;
            }

            .cart-summary {
                bottom: 80px;
                right: 15px;
                width: calc(100% - 30px);
                padding: 15px;
                border-radius: 12px;
            }
            
            .cart-summary-item {
                padding: 8px 10px;
                margin-bottom: 8px;
            }
            
            .cart-note-input {
                min-height: 70px;
                padding: 10px;
            }
            
            .cart-summary-button {
                padding: 12px;
            }
        }

        @media (max-width: 480px) {
            .floating-cart {
                width: 50px;
                height: 50px;
                bottom: 15px;
                right: 15px;
                display: flex !important;
                visibility: visible !important;
                opacity: 1 !important;
            }

            .cart-icon {
                font-size: 1.2em;
            }

            .cart-count {
                min-width: 22px;
                height: 22px;
                font-size: 0.7em;
                top: -6px;
                right: -6px;
            }
            
            .cart-summary {
                bottom: 75px;
                right: 15px;
                padding: 15px;
                border-radius: 12px;
            }
            
            .cart-summary-title {
                font-size: 1.1em;
            }
            
            .cart-summary-item {
                font-size: 0.9em;
            }
        }

        @media (max-height: 600px) {
            .cart-summary {
                max-height: 70vh;
            }
        }

        .upsell-note-input {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 0.9em;
            resize: vertical;
            min-height: 60px;
        }

        .upsell-note-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(72, 70, 70, 0.1);
        }

        /* Quick Tokens Menu Styles */
        .quick-tokens-menu {
            background-color: white;
            padding: 15px 20px;
            margin-bottom: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            position: relative;
        }

        .tokens-explanation {
            text-align: center;
            padding: 10px 0 5px;
            background-color: var(--background-color);
        }

        .tokens-explanation p {
            margin: 0;
            font-size: 16px;
            font-weight: 500;
            color: var(--primary-color);
        }

        .token-container {
            display: flex;
            flex-wrap: nowrap;
            gap: 12px;
            padding-bottom: 5px;
            white-space: nowrap;
        }

        .token {
            display: inline-block;
            padding: 8px 15px;
            background-color: #f7f7f7;
            border-radius: 20px;
            color: var(--primary-color);
            font-size: 14px;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s ease;
            border: 1px solid #e0e0e0;
            white-space: nowrap;
        }

        .token:hover {
            background-color: var(--primary-color);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        /* Token menu responsive adjustments */
        @media (max-width: 768px) {
            .quick-tokens-menu {
                padding: 12px;
            }
            
            .token {
                padding: 6px 12px;
                font-size: 13px;
            }
        }

        @media (max-width: 480px) {
            .quick-tokens-menu {
                padding: 10px;
            }
            
            .token {
                padding: 6px 10px;
                font-size: 12px;
            }
            
            .token-container {
                gap: 8px;
            }
        }

        /* Product Type Selection */
        .product-types {
            margin-top: 20px;
            padding: 15px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 5px var(--shadow-color);
        }

        .product-types h3 {
            margin-bottom: 15px;
            color: var(--primary-color);
        }

        .product-options {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 15px;
        }

        .product-option {
            flex: 1;
            min-width: 150px;
            background: var(--background-color);
            border: 1px solid #ddd;
            border-radius: 5px;
            padding: 10px;
            cursor: pointer;
            text-align: center;
            transition: all 0.3s ease;
        }

        .product-option.selected {
            border-color: var(--primary-color);
            background: rgba(72, 70, 70, 0.1);
        }

        .product-option h4 {
            margin: 0 0 5px 0;
            color: var(--primary-color);
        }

        .product-option .price {
            font-weight: bold;
            font-size: 1.2em;
        }

        .product-option .description {
            font-size: 0.9em;
            margin-top: 5px;
            color: var(--secondary-color);
        }

        @media (max-width: 768px) {
            .product-options {
                flex-direction: column;
            }
            
            .product-option {
                min-width: 100%;
            }
        }

        /* Cart item with product type */
        .cart-item-content {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            width: 100%;
        }

        .cart-item-details {
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        /* Poster option styles removed */

        /* Add loading improvements for mobile */
        img {
            display: block;
            max-width: 100%;
            height: auto;
        }

        @media (max-width: 480px) {
            /* Additional mobile optimizations */
            .container {
                padding: 10px 15px;
            }

            .upsell-section {
                padding: 15px 12px;
            }
            
            /* Add better button styles for mobile */
            .upsell-button, .cart-summary-button {
                padding: 15px;
                font-size: 1.1em;
                border-radius: 8px;
            }
            
            /* Add better loading styles for slower connections */
            .loading-spinner {
                width: 45px;
                height: 45px;
                border-width: 4px;
            }
            
            /* Add helper class for showing/hiding elements on mobile */
            .mobile-only {
                display: block;
            }
            
            .desktop-only {
                display: none;
            }
        }

        @media (min-width: 481px) {
            .mobile-only {
                display: none;
            }
            
            .desktop-only {
                display: block;
            }
        }

        /* Add success message styles */
        .success-message {
            background-color: #2c3e50;
            color: #fff;
            padding: 30px;
            border-radius: 10px;
            text-align: center;
            max-width: 600px;
            margin: 0 auto;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .success-message h3 {
            font-size: 24px;
            margin-bottom: 15px;
            color: #fff;
        }
        
        .order-info {
            background-color: rgba(255,255,255,0.1);
            padding: 15px;
            border-radius: 8px;
            margin: 20px 0;
            text-align: left;
        }
        
        .order-info p {
            margin: 10px 0;
        }
        
        .coupon-box {
            background-color: #3498db;
            padding: 15px;
            border-radius: 8px;
            margin: 25px 0;
        }
        
        .coupon-box h4 {
            margin-top: 0;
            font-size: 18px;
            margin-bottom: 10px;
        }
        
        .coupon-code {
            font-size: 26px;
            font-weight: bold;
            letter-spacing: 2px;
            background-color: rgba(255,255,255,0.9);
            color: #2c3e50;
            padding: 10px;
            margin: 10px auto;
            border-radius: 5px;
            display: inline-block;
            min-width: 200px;
        }
        
        .contact-info {
            margin-top: 20px;
            font-size: 14px;
        }
        
        .contact-info a {
            color: #3498db;
            text-decoration: underline;
        }

        /* Add collapsible instructions styles */
        .collapsible-instructions {
            margin-bottom: 20px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 5px var(--shadow-color);
            overflow: hidden;
        }

        .collapsible-header {
            background-color: white;
            padding: 15px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background-color 0.3s;
        }

        .collapsible-header:hover {
            background-color: #f5f5f5;
        }

        .collapsible-header h3 {
            margin: 0;
            color: var(--primary-color);
            font-size: 1.2rem;
        }

        .toggle-icon {
            font-size: 1.4em;
            transition: transform 0.3s;
        }

        .toggle-icon.open {
            transform: rotate(45deg);
        }

        .collapsible-content {
            display: none;
            padding: 0 15px 15px;
            border-top: 1px solid #eee;
        }

        .instructions-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }

        .instructions-column {
            flex: 1;
            min-width: 250px;
        }

        .order-steps {
            padding-left: 25px;
            margin: 10px 0;
        }

        .order-steps li {
            margin-bottom: 8px;
            line-height: 1.4;
        }

        .size-tabs {
            display: flex;
            gap: 10px;
            margin: 15px 0;
            overflow-x: auto;
            padding-bottom: 5px;
        }

        .size-tab {
            padding: 8px 15px;
            cursor: pointer;
            background-color: #f5f5f5;
            border: none;
            border-radius: 20px;
            font-size: 0.9em;
            transition: all 0.3s;
        }

        .size-tab.active {
            background-color: var(--primary-color);
            color: white;
        }

        .size-content {
            background-color: #f9f9f9;
            padding: 15px;
            border-radius: 8px;
        }

        .size-item {
            margin-bottom: 12px;
            display: flex;
            flex-direction: column;
        }

        .size-name {
            font-weight: 600;
            margin-bottom: 2px;
        }

        .size-dimensions {
            font-size: 0.9em;
            color: #666;
        }

        @media (max-width: 768px) {
            .instructions-grid {
                flex-direction: column;
                gap: 15px;
            }
            
            .size-tabs {
                gap: 8px;
            }
            
            .size-tab {
                padding: 6px 12px;
                font-size: 0.85em;
            }
            
            .size-item {
                margin-bottom: 10px;
            }
        }

        @keyframes cartPulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.3); }
            100% { transform: scale(1); }
        }
        
        .cart-pulse {
            animation: cartPulse 0.6s ease;
        }
        
        /* Add styles for PayPal buttons */
        #cartPaypalButtonContainer {
            margin-top: 10px;
            width: 100%;
        }
        
        #cartPaypalButtonContainer .paypal-checkout-button {
            width: 100%;
            border-radius: 4px;
            background: #ffc439;
            border: none;
            padding: 12px 16px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        #cartPaypalButtonContainer .paypal-checkout-button:hover {
            background: #ffb800;
            transform: translateY(-1px);
        }

        .payment-button-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
        }

        .payment-text {
            font-size: 0.85em;
            color: #333;
            font-weight: 500;
        }

        .payment-logos {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .payment-logo {
            height: 20px;
            width: auto;
        }

        .payment-separator {
            color: #666;
            font-size: 0.8em;
        }

        .google-pay-logo {
            background: #4285f4;
            color: white;
            font-size: 0.7em;
            font-weight: 700;
            padding: 3px 6px;
            border-radius: 4px;
            letter-spacing: 0.3px;
        }

        .apple-pay-logo {
            background: #000;
            color: white;
            font-size: 0.7em;
            font-weight: 500;
            padding: 3px 6px;
            border-radius: 4px;
        }

        .shop-pay-logo {
            background: #5a31f4;
            color: white;
            font-size: 0.7em;
            font-weight: 700;
            padding: 3px 6px;
            border-radius: 4px;
            letter-spacing: 0.3px;
        }
        
        /* Trustpilot logo styles */
        .trustpilot-container {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 10;
            display: flex;
            align-items: center;
            background-color: #00b67a;
            border-radius: 5px;
            padding: 8px 12px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .trustpilot-logo {
            height: 32px;
            transition: transform 0.2s ease;
        }
        
        .trustpilot-container:hover {
            background-color: #00a066;
        }
        
        .trustpilot-container:hover .trustpilot-logo {
            transform: scale(1.05);
        }
        
        .trustpilot-container:after {
            content: "Trustpilot";
            color: white;
            font-weight: bold;
            margin-left: 10px;
            font-size: 16px;
            letter-spacing: 0.5px;
        }
        
        @media (max-width: 768px) {
            .trustpilot-logo {
                height: 20px;
                padding: 4px 8px;
            }
        }

        @media (max-width: 480px) {
            .page-header {
                flex-direction: column;
                padding: 10px;
                align-items: center;
            }
            
            .logo-container {
                position: relative;
                left: auto;
                top: auto;
                transform: none;
                margin-bottom: 8px;
            }
            
            .title-container {
                margin: 5px 0;
            }
            
            .trustpilot-container {
                position: relative;
                right: auto;
                top: auto;
                transform: none;
                margin-top: 5px;
            }
        }

        .page-header.compact-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
  background: white;
}

.logo-trustpilot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.logo {
  height: 100px;
}

.trustpilot-container {
  background-color: #00b67a;
  border-radius: 5px;
  padding: 4px 10px;
}

.trustpilot-logo {
  height: 18px;
}

.title-block {
  flex: 1;
  text-align: left;
  padding-left: 10px;
}

.page-title {
  font-size: 1rem;
  margin: 0;
  color: #333;
}

.page-subtitle {
  font-size: 0.8rem;
  margin: 2px 0 0;
  color: #666;
}

@media (max-width: 480px) {
  .page-header.compact-header {
    flex-direction: row;
    align-items: center;
  }

  .title-block {
    text-align: left;
  }
}
.trustpilot-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fef5f6;
  border-bottom: 1px solid #eee;
  padding: 7px 12px;
  /* iPhone notch / Dynamic Island padding */
  padding-top: max(7px, env(safe-area-inset-top));
  padding-left:  max(12px, env(safe-area-inset-left));
  padding-right: max(12px, env(safe-area-inset-right));
  font-family: sans-serif;
  font-size: 0.9rem;
  color: #222;
  gap: 8px;
  text-decoration: none;
  transition: background 0.2s;
  flex-wrap: wrap;
  row-gap: 6px;
  min-width: 0;
  -webkit-tap-highlight-color: transparent;
}

.trustpilot-bar:hover {
  background-color: #fde7ea;
}

.trustpilot-bar .rating-text { font-weight: 600; white-space: nowrap; }

.trustpilot-bar .stars { height: 20px; flex-shrink: 0; }

#saleMidnightBanner {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
  color: #dc2626 !important;
  border: 1px solid rgba(220, 38, 38, 0.28);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 700 !important;
  letter-spacing: 0.2px;
  white-space: normal;
  margin-left: 0 !important;
  box-shadow: 0 1px 3px rgba(220,38,38,0.08);
  flex-shrink: 1;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  text-align: center;
}

@media (max-width: 480px) {
  .trustpilot-bar {
    font-size: 0.82rem;
    padding: 5px 10px;
    padding-top: max(5px, env(safe-area-inset-top));
    gap: 6px;
  }
  .trustpilot-bar .stars { height: 14px; }
  #saleMidnightBanner {
    font-size: 0.7rem;
    padding: 2px 8px;
    gap: 3px;
  }
}
@media (max-width: 380px) {
  /* On narrow phones, drop the verbose "ends at midnight" copy — keep clock + time left */
  #saleMidnightBanner .sale-midnight-long { display: none; }
  #saleMidnightBanner { font-size: 0.68rem; padding: 2px 7px; }
}
@media (max-width: 340px) {
  /* On the narrowest phones drop the "Excellent" label so the countdown fits */
  .trustpilot-bar .rating-text { display: none; }
}

        .social-share-box {
            background-color: #1877f2;
            padding: 20px;
            border-radius: 8px;
            margin: 25px 0;
            text-align: center;
        }
        
        .social-share-box h4 {
            margin-top: 0;
            font-size: 18px;
            margin-bottom: 10px;
            color: white;
        }
        
        .social-share-box p {
            margin-bottom: 15px;
            color: rgba(255, 255, 255, 0.9);
        }
        
        .share-button {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background-color: white;
            color: #1877f2;
            padding: 12px 24px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
        }
        
        .share-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }
        
        .share-button i {
            font-size: 1.2em;
        }
        
        .order-info {
            background-color: rgba(255,255,255,0.1);
            padding: 15px;
            border-radius: 8px;
            margin: 20px 0;
            text-align: left;
        }
        
        .order-info p {
            margin: 10px 0;
        }

        /* Reviews Section Styles */
        .reviews-section {
            background-color: white;
            border-radius: 8px;
            padding: 30px 20px;
            margin: 30px 0;
            box-shadow: 0 2px 8px var(--shadow-color);
        }

        .reviews-header {
            text-align: center;
            margin-bottom: 25px;
        }

        .reviews-title {
            color: var(--primary-color);
            font-size: 1.6rem;
            margin-bottom: 10px;
        }

        .reviews-rating {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
        }

        .rating-stars {
            color: #FFD700;
            font-size: 1.4rem;
            letter-spacing: 2px;
        }

        .rating-text {
            color: #666;
            font-size: 0.9rem;
        }

        .reviews-container {
            position: relative;
            margin: 0 auto;
            max-width: 1000px;
            overflow: hidden;
        }

        .reviews-slider {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            gap: 20px;
            padding: 10px 5px 20px;
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* Internet Explorer and Edge */
        }

        .reviews-slider::-webkit-scrollbar {
            display: none; /* Chrome, Safari, and Opera */
        }

        .review-card {
            flex: 0 0 calc(100% - 40px);
            max-width: calc(100% - 40px);
            scroll-snap-align: start;
            background-color: #f9f9f9;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease;
        }

        .review-card:hover {
            transform: translateY(-5px);
        }

        .review-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .review-author {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            overflow: hidden;
            border: 2px solid #ddd;
        }

        .author-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .author-info {
            display: flex;
            flex-direction: column;
        }

        .author-name {
            margin: 0 0 5px;
            font-size: 1rem;
            color: var(--primary-color);
        }

        .review-stars {
            color: #FFD700;
            font-size: 0.9rem;
            letter-spacing: 1px;
        }

        .review-date {
            color: #999;
            font-size: 0.8rem;
        }

        .review-media {
            width: 100%;
            margin-bottom: 15px;
            border-radius: 8px;
            overflow: hidden;
            max-height: 300px;
        }

        .review-image, 
        .review-video {
            width: 100%;
            height: auto;
            object-fit: cover;
            display: block;
            border-radius: 8px;
        }

        .review-video {
            max-height: 300px;
        }

        .review-text {
            color: #333;
            font-size: 0.95rem;
            line-height: 1.5;
            margin-bottom: 15px;
            font-style: italic;
        }

        .review-product {
            display: flex;
            align-items: center;
            gap: 10px;
            background-color: white;
            padding: 10px;
            border-radius: 6px;
        }

        .product-thumbnail {
            width: 40px;
            height: 40px;
            object-fit: cover;
            border-radius: 4px;
        }

        .product-name {
            font-size: 0.85rem;
            color: var(--primary-color);
            font-weight: 500;
        }

        .reviews-navigation {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 20px;
            gap: 15px;
        }

        .nav-button {
            width: 40px;
            height: 40px;
            border: none;
            border-radius: 50%;
            background-color: var(--primary-color);
            color: white;
            font-size: 1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }

        .nav-button:hover {
            background-color: var(--secondary-color);
            transform: translateY(-2px);
        }

        .nav-button:active {
            transform: translateY(0);
        }

        .review-dots {
            display: flex;
            gap: 8px;
        }

        .review-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: #ddd;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .review-dot.active {
            background-color: var(--primary-color);
            transform: scale(1.2);
        }

        .reviews-cta {
            text-align: center;
            margin-top: 30px;
        }

        .reviews-cta-button {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background-color: #00b67a;
            color: white;
            text-decoration: none;
            padding: 12px 20px;
            border-radius: 6px;
            font-weight: 500;
            transition: all 0.3s ease;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .reviews-cta-button:hover {
            background-color: #00a066;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }

        .trustpilot-stars {
            height: 20px;
        }

        /* Responsive styles for reviews section */
        @media (min-width: 768px) {
            .review-card {
                flex: 0 0 calc(50% - 20px);
                max-width: calc(50% - 20px);
            }
        }

        @media (min-width: 992px) {
            .review-card {
                flex: 0 0 calc(33.333% - 20px);
                max-width: calc(33.333% - 20px);
            }
        }

        @media (max-width: 767px) {
            .reviews-section {
                padding: 20px 15px;
                margin: 20px 0;
            }

            .reviews-title {
                font-size: 1.4rem;
            }

            .rating-stars {
                font-size: 1.2rem;
            }

            .review-card {
                padding: 15px;
            }

            .author-avatar {
                width: 40px;
                height: 40px;
            }

            .review-text {
                font-size: 0.9rem;
            }

            .nav-button {
                width: 35px;
                height: 35px;
            }
        }

        @media (max-width: 480px) {
            .reviews-title {
                font-size: 1.3rem;
            }

            .review-media {
                max-height: 200px;
            }

            .review-video {
                max-height: 200px;
            }

            .review-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            .review-date {
                align-self: flex-end;
                margin-top: -30px;
            }

            .product-thumbnail {
                width: 30px;
                height: 30px;
            }

            .reviews-cta-button {
                padding: 10px 15px;
                font-size: 0.9rem;
            }

            .trustpilot-stars {
                height: 16px;
            }
        }

        /* Instagram-style Circle Menu Styles */
        .quick-tokens-menu {
            background-color: #f8f8f8;
            padding: 15px 0;
            overflow: hidden;
            position: relative;
            z-index: 10;
        }
        
        .insta-circle-container {
            display: flex;
            overflow-x: auto;
            padding: 5px 15px;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE and Edge */
            gap: 15px;
        }
        
        .insta-circle-container::-webkit-scrollbar {
            display: none; /* Chrome, Safari, Opera */
        }
        
        .insta-circle {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: #333;
            min-width: 75px;
            text-align: center;
            transition: transform 0.2s;
            position: relative;
        }
        
        .insta-circle:hover {
            transform: translateY(-3px);
        }

        /* Add discount badge to circle menu when thanks discount is active */
        .insta-circle.discounted::after {
            content: '40% OFF';
            position: absolute;
            top: -8px;
            right: -8px;
            background: linear-gradient(135deg, #ff6b6b, #ff8e53);
            color: white;
            font-size: 10px;
            font-weight: bold;
            padding: 2px 6px;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(255, 107, 107, 0.4);
            z-index: 100;
        }
        
        .insta-circle-inner {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            margin-bottom: 8px;
            position: relative;
            background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
            padding: 2px;
            overflow: hidden;
        }
        
        /* Create a separate element for the overlay to avoid conflicts */
        .insta-circle-inner::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 2;
            pointer-events: none;
        }
        
        .insta-circle-inner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
            object-position: center;
            display: block;
            position: relative;
            z-index: 1;
            border: 2px solid white;
        }
        
        .insta-circle span {
            font-size: 12px;
            font-weight: 500;
            margin-top: 2px;
            max-width: 80px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        /* Fallback style in case images fail to load */
        .insta-circle-inner::before {
            content: '';
            position: absolute;
            top: 2px;
            left: 2px;
            right: 2px;
            bottom: 2px;
            background-color: #f0f0f0;
            border-radius: 50%;
            z-index: 0;
        }
        
        @media (max-width: 768px) {
            .insta-circle-inner {
                width: 60px;
                height: 60px;
            }
            
            .insta-circle {
                min-width: 65px;
            }
            
            .insta-circle span {
                font-size: 11px;
            }
        }
        
        @media (max-width: 480px) {
            .insta-circle-inner {
                width: 55px;
                height: 55px;
            }
            
            .insta-circle {
                min-width: 60px;
            }
            
            .insta-circle span {
                font-size: 10px;
            }
        }

        /* New Instagram Circle Menu Styles */
        .quick-tokens-menu {
          background-color: #f8f8f8;
          padding: 15px 0;
          margin-bottom: 20px;
          width: 100%;
          overflow-x: hidden;
          position: relative;
          z-index: 50;
        }

        .insta-circle-container {
          display: flex;
          overflow-x: auto;
          padding: 10px 15px;
          gap: 20px;
          scrollbar-width: none;
          -ms-overflow-style: none;
          scroll-behavior: smooth;
          -webkit-overflow-scrolling: touch;
          position: relative;
          z-index: 51;
        }

        .insta-circle-container::-webkit-scrollbar {
          display: none;
        }

        .insta-circle {
          display: flex;
          flex-direction: column;
          align-items: center;
          text-decoration: none;
          color: #333;
          min-width: 80px;
          transition: transform 0.2s;
          position: relative;
          z-index: 52;
        }

        .insta-circle:hover {
          transform: translateY(-3px);
        }

        .circle-bg {
          width: 100px;  /* Increased from 75px */
          height: 100px; /* Increased from 75px */
          border-radius: 50%;
          position: relative;
          background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
          padding: 3px;
          margin-bottom: 8px;
          z-index: 53;
        }

        .circle-img {
          position: absolute;
          top: 3px;
          left: 3px;
          right: 3px;
          bottom: 3px;
          border-radius: 50%;
          background-size: cover;
          background-position: center;
          border: 2px solid white;
          z-index: 54 !important;
        }

        .circle-overlay {
          position: absolute;
          top: 0;
          left: 0;
          right: 0;
          bottom: 0;
          background-size: 100% 100%;
          background-position: center;
          background-repeat: no-repeat;
          z-index: 55 !important;
          pointer-events: none;
        }

        .insta-circle span {
          font-size: 12px;
          font-weight: 500;
          margin-top: 4px;
          text-align: center;
          max-width: 80px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          z-index: 52;
        }

        @media (max-width: 768px) {
          .circle-bg {
            width: 75px;  /* Increased from 65px */
            height: 75px; /* Increased from 65px */
          }
          
          .insta-circle {
            min-width: 70px;
          }
          
          .insta-circle span {
            font-size: 11px;
          }
        }

        @media (max-width: 480px) {
          .circle-bg {
            width: 70px;  /* Increased from 60px */
            height: 70px; /* Increased from 60px */
          }
          
          .insta-circle {
            min-width: 65px;
          }
          
          .insta-circle span {
            font-size: 10px;
          }
        }

        /* Force all circle images to have high z-index and be visible */
        .circle-img {
          background-color: #ffffff !important;
          opacity: 1 !important;
          visibility: visible !important;
          display: block !important;
        }

        .insta-circle span {
          font-size: 12px;
          font-weight: 500;
          margin-top: 4px;
          text-align: center;
          max-width: 100px; /* Increased from 80px to match circle width */
          white-space: normal; /* Changed from nowrap to allow text wrapping */
          overflow: visible; /* Changed from hidden */
          line-height: 1.2; /* Added for better readability of wrapped text */
          display: block; /* Ensure span takes full width */
          z-index: 52;
        }

        @media (max-width: 768px) {
          .circle-bg {
            width: 90px;  /* Increased to be proportional to desktop */
            height: 90px; /* Increased to be proportional to desktop */
          }
          
          .insta-circle {
            min-width: 90px; /* Increased to match circle width */
          }
          
          .insta-circle span {
            font-size: 11px;
            max-width: 90px; /* Match the circle width */
          }
        }

        @media (max-width: 480px) {
          .circle-bg {
            width: 80px;  /* Increased to be proportional */
            height: 80px; /* Increased to be proportional */
          }
          
          .insta-circle {
            min-width: 80px; /* Match circle width */
          }
          
          .insta-circle span {
            font-size: 10px;
            max-width: 80px; /* Match the circle width */
          }
        }

        .insta-circle span {
          font-size: 14px; /* Increased from 12px */
          font-weight: 600; /* Changed from 500 to make text bolder */
          margin-top: 8px; /* Increased from 4px to add more space between circle and text */
          text-align: center;
          max-width: 110px; /* Increased width for text */
          white-space: normal;
          overflow: visible;
          line-height: 1.3; /* Slightly increased for better readability */
          display: block; /* Ensure span takes full width */
          z-index: 52;
        }

        .circle-bg {
          width: 120px;  /* Significantly increased from 100px */
          height: 120px; /* Significantly increased from 100px */
          border-radius: 50%;
          position: relative;
          background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
          padding: 4px; /* Increased border thickness */
          margin-bottom: 10px; /* Increased from 8px */
          z-index: 53;
        }

        /* Increase gap between circles */
        .insta-circle-container {
          gap: 25px; /* Increased from 15px */
          padding: 15px 20px; /* Increased padding around circles */
        }

        .insta-circle {
          min-width: 120px; /* Match circle width */
          margin-bottom: 10px; /* Add some bottom margin */
        }

        @media (max-width: 768px) {
          .circle-bg {
            width: 100px;  /* Increased size for tablets */
            height: 100px;
          }
          
          .insta-circle {
            min-width: 100px;
          }
          
          .insta-circle span {
            font-size: 13px; /* Increased from 11px */
            max-width: 100px;
            font-weight: 600;
          }
          
          .insta-circle-container {
            gap: 20px; /* Slightly smaller gap for tablets */
          }
        }

        @media (max-width: 480px) {
          .circle-bg {
            width: 95px;  /* Significantly increased for mobile */
            height: 95px;
          }
          
          .insta-circle {
            min-width: 95px;
          }
          
          .insta-circle span {
            font-size: 12px; /* Increased from 10px */
            max-width: 95px;
            font-weight: 600;
          }
          
          /* Increase contrast and visibility of image */
          .circle-img {
            border: 3px solid white; /* Thicker white border */
          }
          
          /* Make sure quick-tokens-menu has enough space */
          .quick-tokens-menu {
            padding: 15px 5px;
          }
          
          .insta-circle-container {
            padding: 5px 15px;
            gap: 15px; /* Smaller gap for very small screens */
          }
        }

        /* Add styles for the new title */
        .circle-menu-title {
          text-align: center;
          font-size: 20px;
          color: var(--primary-color);
          margin-bottom: 15px;
          font-weight: 600;
          padding: 0 10px;
        }

        @media (max-width: 768px) {
          .circle-menu-title {
            font-size: 18px;
            margin-bottom: 12px;
          }
        }

        @media (max-width: 480px) {
          .circle-menu-title {
            font-size: 16px;
            margin-bottom: 10px;
          }
        }

        /* Delete button icon */
        .artwork-delete-btn {
            position: absolute;
            top: 10px;
            right: 100px;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 30;
            font-size: 20px;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            border: 2px solid transparent;
            color: white;
        }

        .artwork-delete-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(255, 59, 48, 0.4);
            background: rgba(255, 59, 48, 1);
        }

        .artwork-delete-btn:active {
            transform: scale(0.95);
        }

        /* Favorite heart icon */
        .favorite-heart {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 36px;
            height: 36px;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 30;
            font-size: 20px;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            border: 2px solid transparent;
        }

        /* Share button next to heart */
        .artwork-share-btn {
            position: absolute;
            top: 10px;
            right: 52px;
            width: 36px;
            height: 36px;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 30;
            font-size: 16px;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            border: none;
            color: #8e8e8e;
            padding: 0;
            font-family: inherit;
        }
        .artwork-share-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
            background: rgba(255, 255, 255, 1);
            color: #667eea;
        }
        .artwork-share-btn:active {
            transform: scale(0.95);
        }

        .favorite-heart:hover {
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
            background: rgba(255, 255, 255, 1);
        }

        .favorite-heart:active {
            transform: scale(0.95);
        }

        .favorite-heart.favorited {
            background: rgba(255, 90, 95, 0.1);
            border-color: #ff5a5f;
        }

        .favorite-heart .heart-icon {
            transition: all 0.3s ease;
        }

        .favorite-heart .heart-icon.favorited {
            color: #ff5a5f;
            animation: heartBeat 0.3s ease;
        }

        @keyframes heartBeat {
            0%, 100% { transform: scale(1); }
            25% { transform: scale(1.3); }
            50% { transform: scale(1.1); }
            75% { transform: scale(1.2); }
        }

        /* Enhance button (bottom right) */
        .artwork-enhance-btn {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background: linear-gradient(135deg, #FF1744, #E91E63);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            display: flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            z-index: 30;
            font-size: 13px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(233, 30, 99, 0.3);
            border: none;
            white-space: nowrap;
        }

        .artwork-enhance-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(233, 30, 99, 0.5);
            background: linear-gradient(135deg, #E91E63, #C2185B);
        }

        .artwork-enhance-btn:active {
            transform: translateY(0);
        }
        
        .artwork-enhance-btn.enhanced {
            background: linear-gradient(135deg, #7B1FA2, #6A1B9A);
        }

        /* Enhance processing modal */
        .enhance-processing-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            z-index: 999999;
            justify-content: center;
            align-items: center;
            overflow-y: auto;
            padding: 20px;
        }

        .enhance-processing-modal.active {
            display: flex;
        }

        .enhance-processing-content {
            background: linear-gradient(to bottom, #FFF0F5, #FFFFFF);
            border-radius: 20px;
            padding: 40px;
            max-width: 500px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            text-align: center;
            box-shadow: 0 20px 60px rgba(233, 30, 99, 0.4);
            border: 2px solid #FFE4E9;
            margin: auto;
            -webkit-overflow-scrolling: touch;
            scroll-behavior: smooth;
        }

        .enhance-processing-icon {
            font-size: 64px;
            margin-bottom: 20px;
            animation: enhanceRotate 2s linear infinite;
        }

        @keyframes enhanceRotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .enhance-processing-title {
            font-size: 24px;
            font-weight: bold;
            color: #E91E63;
            margin-bottom: 10px;
        }

        .enhance-processing-message {
            font-size: 16px;
            color: #666;
            margin-bottom: 20px;
            line-height: 1.5;
        }

        .enhance-processing-timer {
            font-size: 32px;
            font-weight: bold;
            color: #E91E63;
            margin: 20px 0;
        }

        /* Enhancement prompt modal */
        .enhance-prompt-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            z-index: 999999;
            justify-content: center;
            align-items: center;
        }

        .enhance-prompt-modal.active {
            display: flex;
        }

        .enhance-prompt-content {
            background: linear-gradient(to bottom, #FFF0F5, #FFFFFF);
            border-radius: 20px;
            padding: 30px;
            max-width: 500px;
            width: 90%;
            box-shadow: 0 20px 60px rgba(233, 30, 99, 0.4);
            border: 2px solid #FFE4E9;
            max-height: 80vh;
            overflow-y: auto;
        }

        .enhance-prompt-title {
            font-size: 24px;
            font-weight: bold;
            color: #E91E63;
            margin-bottom: 20px;
            text-align: center;
        }

        .enhance-prompt-options {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 20px;
        }

        .enhance-prompt-option {
            background: white;
            border: 2px solid #FFE4E9;
            border-radius: 12px;
            padding: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .enhance-prompt-option:hover {
            border-color: #E91E63;
            background: #FFF5F8;
            transform: translateX(5px);
        }

        .enhance-prompt-option.selected {
            border-color: #E91E63;
            background: #FFF0F5;
            box-shadow: 0 4px 12px rgba(233, 30, 99, 0.2);
        }

        .enhance-prompt-option input[type="radio"] {
            width: 20px;
            height: 20px;
            accent-color: #E91E63;
            cursor: pointer;
        }

        .enhance-prompt-option label {
            flex: 1;
            cursor: pointer;
            font-size: 15px;
            color: #333;
        }

        .enhance-custom-input {
            width: 100%;
            padding: 15px;
            border: 2px solid #FFE4E9;
            border-radius: 12px;
            font-size: 15px;
            margin-top: 10px;
            resize: vertical;
            min-height: 80px;
            font-family: inherit;
        }

        .enhance-custom-input:focus {
            outline: none;
            border-color: #E91E63;
            background: #FFF5F8;
        }

        .enhance-prompt-buttons {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }

        .enhance-prompt-submit,
        .enhance-prompt-cancel {
            flex: 1;
            padding: 15px;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .enhance-prompt-submit {
            background: linear-gradient(135deg, #FF1744, #E91E63);
            color: white;
        }

        .enhance-prompt-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(233, 30, 99, 0.5);
        }

        .enhance-prompt-cancel {
            background: #f5f5f5;
            color: #666;
        }

        .enhance-prompt-cancel:hover {
            background: #e0e0e0;
        }

        .enhance-prompt-note {
            font-size: 13px;
            color: #666;
            text-align: center;
            margin-top: 15px;
            font-style: italic;
        }

        /* Favorites section */
        .favorites-section {
            margin-bottom: 40px;
        }

        .favorites-section h2 {
            color: var(--primary-color);
            font-size: 1.8rem;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .favorites-section h2::before {
            content: '❤️';
            font-size: 1.5rem;
        }

        .favorites-empty {
            background: white;
            padding: 40px;
            border-radius: 10px;
            text-align: center;
            color: #666;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .favorites-empty p {
            font-size: 1.1rem;
            margin: 0;
        }

        /* Lazy loading styles */
        .artwork-item img {
            transition: opacity 0.3s ease;
        }

        .artwork-item img[data-src] {
            opacity: 0;
        }

        .artwork-item img.loaded {
            opacity: 1;
        }

        .artwork-item.lazy-loading::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
            border-radius: 8px;
            z-index: 1;
        }

        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }

        .artwork-item.lazy-loading img {
            visibility: hidden;
        }

        /* Pagination styles */
        .pagination-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            padding: 40px 20px;
            margin-top: 20px;
        }

        .pagination-info {
            font-size: 1rem;
            color: var(--text-color);
            font-weight: 500;
        }

        .pagination-controls {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .pagination-btn {
            background: var(--primary-color);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 600;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .pagination-btn:hover:not(:disabled) {
            background: var(--secondary-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .pagination-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
            opacity: 0.6;
        }

        .pagination-btn:active:not(:disabled) {
            transform: translateY(0);
        }

        .page-numbers {
            display: flex;
            gap: 5px;
        }

        .page-number {
            background: white;
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
            padding: 8px 14px;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.2s ease;
            min-width: 40px;
            text-align: center;
        }

        .page-number:hover {
            background: var(--primary-color);
            color: white;
        }

        .page-number.active {
            background: var(--primary-color);
            color: white;
        }

        @media (max-width: 768px) {
            .pagination-container {
                flex-direction: column;
                gap: 15px;
            }

            .pagination-btn {
                padding: 10px 20px;
                font-size: 0.9rem;
            }

            .page-number {
                padding: 6px 10px;
                font-size: 0.9rem;
            }
        }

        /* Infinite scroll styles */
        #scrollSentinel {
            height: 20px;
            margin: 20px 0;
        }

        .infinite-loading {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
            gap: 15px;
        }

        .infinite-loading-spinner {
            width: 50px;
            height: 50px;
            border: 4px solid #f3f3f3;
            border-top: 4px solid var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .infinite-loading-text {
            font-size: 1rem;
            color: var(--text-color);
            font-weight: 500;
        }

        .end-of-content {
            text-align: center;
            padding: 40px 20px;
            color: #666;
            font-size: 1rem;
        }

        .end-of-content::before {
            content: '✨';
            display: block;
            font-size: 2rem;
            margin-bottom: 10px;
        }

        /* Mobile UX Optimizations for Product Options */
        @media (max-width: 768px) {
            .artwork-product-options {
                gap: 10px !important;
            }
            
            .product-token {
                padding: 12px 14px !important;
                border-width: 2px !important;
                margin-bottom: 10px !important;
                min-height: auto !important;
            }
            
            .product-token-left {
                flex: 1 !important;
                min-width: 0 !important;
            }
            
            .product-token-right {
                flex-shrink: 0 !important;
                margin-left: 12px !important;
            }
            
            .product-token-name {
                font-size: 0.95em !important;
                line-height: 1.3 !important;
                margin-bottom: 3px !important;
            }
            
            .product-token-price {
                font-size: 1.1em !important;
                font-weight: 700 !important;
            }
            
            .perfect-gift, .ready-to-hang {
                font-size: 0.7em !important;
                padding: 2px 6px !important;
                white-space: nowrap !important;
            }
            
            .product-token-original-price {
                font-size: 0.85em !important;
            }
            
            .product-token-discounted-price {
                font-size: 1.15em !important;
            }
        }

        /* ===== Shipping Address Modal ===== */
        .addr-overlay {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 9999999;
            background: rgba(0,0,0,0.55);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            justify-content: center;
            align-items: flex-start;
            padding: 20px 12px;
            overflow-y: auto;
            animation: addrFadeIn 0.25s ease;
        }
        .addr-overlay.visible { display: flex; }
        @keyframes addrFadeIn { from { opacity: 0; } to { opacity: 1; } }
        @keyframes addrSlideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

        .addr-card {
            background: #fff;
            border-radius: 16px;
            width: 100%;
            max-width: 480px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.25);
            animation: addrSlideUp 0.3s ease;
            overflow: hidden;
            margin: auto 0;
        }

        .addr-header {
            background: linear-gradient(135deg, #E91E63, #C2185B);
            color: #fff;
            padding: 18px 24px;
            display: flex;
            align-items: center;
            gap: 12px;
            position: relative;
        }
        .addr-header svg { flex-shrink: 0; }
        .addr-header h2 { font-size: 1.15rem; margin: 0; font-weight: 600; }
        .addr-header p { font-size: 0.8rem; margin: 2px 0 0; opacity: 0.85; }
        .addr-close-btn {
            position: absolute;
            top: 12px;
            right: 14px;
            background: rgba(255,255,255,0.2);
            border: none;
            color: #fff;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            line-height: 1;
            transition: background 0.2s;
        }
        .addr-close-btn:hover { background: rgba(255,255,255,0.35); }

        .addr-body { padding: 20px 24px 24px; }

        .addr-ai-box {
            background: linear-gradient(135deg, #f3e8ff 0%, #ede9fe 100%);
            border: 1.5px solid #c4b5fd;
            border-radius: 12px;
            padding: 14px;
            margin-bottom: 18px;
        }
        .addr-ai-label {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.8rem;
            font-weight: 600;
            color: #6d28d9;
            margin-bottom: 8px;
        }
        .addr-ai-textarea {
            width: 100%;
            border: 1.5px solid #ddd6fe;
            border-radius: 8px;
            padding: 10px 12px;
            font-size: 0.9rem;
            font-family: inherit;
            resize: none;
            min-height: 60px;
            transition: border-color 0.2s;
            background: #fff;
        }
        .addr-ai-textarea:focus { outline: none; border-color: #8b5cf6; }
        .addr-ai-textarea::placeholder { color: #a78bfa; }
        .addr-ai-btn {
            margin-top: 8px;
            background: linear-gradient(135deg, #7c3aed, #6d28d9);
            color: #fff;
            border: none;
            border-radius: 8px;
            padding: 8px 16px;
            font-size: 0.82rem;
            font-weight: 600;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: transform 0.15s, opacity 0.2s;
        }
        .addr-ai-btn:hover { transform: scale(1.03); }
        .addr-ai-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
        .addr-voice-btn {
            margin-top: 8px;
            margin-left: 6px;
            background: linear-gradient(135deg, #ef4444, #dc2626);
            color: #fff;
            border: none;
            border-radius: 8px;
            padding: 8px 14px;
            font-size: 0.82rem;
            font-weight: 600;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: transform 0.15s, opacity 0.2s, background 0.3s;
        }
        .addr-voice-btn:hover { transform: scale(1.03); }
        .addr-voice-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
        .addr-voice-btn.recording {
            background: linear-gradient(135deg, #dc2626, #b91c1c);
            animation: addrPulseRec 1s ease-in-out infinite;
        }
        @keyframes addrPulseRec {
            0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.5); }
            50% { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
        }
        .addr-voice-btn .addr-voice-dot {
            width: 8px; height: 8px;
            background: #fff;
            border-radius: 50%;
            display: none;
        }
        .addr-voice-btn.recording .addr-voice-dot {
            display: inline-block;
            animation: addrBlink 0.8s ease-in-out infinite;
        }
        @keyframes addrBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
        .addr-voice-btn.recording .addr-voice-icon { display: none; }
        .addr-ai-actions { display: flex; align-items: center; flex-wrap: wrap; }
        .addr-ai-spinner {
            width: 14px; height: 14px;
            border: 2px solid rgba(255,255,255,0.3);
            border-top-color: #fff;
            border-radius: 50%;
            animation: addrSpin 0.6s linear infinite;
            display: none;
        }
        .addr-ai-btn.loading .addr-ai-spinner { display: inline-block; }
        .addr-ai-btn.loading .addr-ai-btn-text { display: none; }
        @keyframes addrSpin { to { transform: rotate(360deg); } }

        .addr-zip-confirm {
            display: none;
            background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
            border: 1.5px solid #f59e0b;
            border-radius: 10px;
            padding: 10px 12px;
            margin-top: 6px;
            font-size: 0.78rem;
            color: #92400e;
            animation: addrSlideDown 0.3s ease;
        }
        .addr-zip-confirm.visible { display: block; }
        .addr-zip-confirm-text {
            margin-bottom: 8px;
            line-height: 1.4;
        }
        .addr-zip-confirm-text strong { color: #b45309; }
        .addr-zip-confirm-actions {
            display: flex;
            gap: 8px;
        }
        .addr-zip-confirm-btn {
            flex: 1;
            padding: 6px 10px;
            border-radius: 6px;
            font-size: 0.75rem;
            font-weight: 600;
            cursor: pointer;
            border: none;
            transition: all 0.15s;
        }
        .addr-zip-confirm-btn.accept {
            background: linear-gradient(135deg, #f59e0b, #d97706);
            color: #fff;
        }
        .addr-zip-confirm-btn.accept:hover { transform: scale(1.03); }
        .addr-zip-confirm-btn.keep {
            background: #fff;
            color: #92400e;
            border: 1.5px solid #fbbf24;
        }
        .addr-zip-confirm-btn.keep:hover { background: #fffbeb; }

        .addr-corrections-summary {
            display: none;
            background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
            border: 1.5px solid #34d399;
            border-radius: 10px;
            padding: 10px 12px;
            margin-top: 8px;
            font-size: 0.76rem;
            color: #065f46;
            animation: addrSlideDown 0.3s ease;
        }
        .addr-corrections-summary.visible { display: block; }
        .addr-corrections-summary ul {
            margin: 4px 0 0 16px;
            padding: 0;
            line-height: 1.5;
        }
        .addr-corrections-summary li { margin-bottom: 2px; }
        .addr-corrections-summary .corr-label { font-weight: 600; color: #047857; }

        @keyframes addrSlideDown {
            from { opacity: 0; transform: translateY(-6px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .addr-divider {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 16px 0;
            font-size: 0.75rem;
            color: #9ca3af;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .addr-divider::before, .addr-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: #e5e7eb;
        }

        .addr-field {
            margin-bottom: 12px;
        }
        .addr-field label {
            display: block;
            font-size: 0.78rem;
            font-weight: 600;
            color: #374151;
            margin-bottom: 4px;
        }
        .addr-field input, .addr-field select {
            width: 100%;
            border: 1.5px solid #d1d5db;
            border-radius: 8px;
            padding: 9px 12px;
            font-size: 0.9rem;
            font-family: inherit;
            transition: border-color 0.2s, box-shadow 0.2s;
            background: #fff;
            -webkit-appearance: none;
        }
        .addr-field input:focus, .addr-field select:focus {
            outline: none;
            border-color: #E91E63;
            box-shadow: 0 0 0 3px rgba(233,30,99,0.1);
        }
        .addr-field input.addr-error { border-color: #ef4444; }
        .addr-field .addr-country-select.addr-error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.1); }
        .addr-field .addr-err-msg {
            font-size: 0.72rem;
            color: #ef4444;
            margin-top: 2px;
            display: none;
        }
        .addr-field input.addr-error + .addr-err-msg { display: block; }
        .addr-field .addr-country-select.addr-error ~ .addr-err-msg { display: block; }

        /* Friendly helper hint under inputs — explains WHY we ask (phone, email, etc.) */
        .addr-field .addr-hint {
            display: flex;
            gap: 6px;
            align-items: flex-start;
            font-size: 0.72rem;
            line-height: 1.45;
            color: #6b7280;
            margin-top: 6px;
        }
        .addr-field .addr-hint svg { flex-shrink: 0; margin-top: 1px; color: #9ca3af; }
        .addr-field .addr-hint strong { color: #374151; font-weight: 600; }
        .addr-field .addr-hint .addr-hint-warn {
            color: #b45309;
            background: #fffbeb;
            padding: 1px 6px;
            border-radius: 4px;
            font-weight: 600;
        }

        /* "What happens next" info panel shown at top of the address-modal body */
        .addr-info-panel {
            background: linear-gradient(135deg, #f5f3ff, #fdf2f8);
            border: 1px solid #e9d5ff;
            border-radius: 10px;
            padding: 12px 14px;
            margin-bottom: 16px;
        }
        .addr-info-panel-title {
            font-size: 0.78rem;
            font-weight: 700;
            color: #4c1d95;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .addr-info-panel-list { display: grid; gap: 8px; }
        .addr-info-panel-item {
            display: flex;
            gap: 10px;
            align-items: flex-start;
            font-size: 0.76rem;
            line-height: 1.45;
            color: #374151;
        }
        .addr-info-panel-num {
            flex-shrink: 0;
            width: 18px; height: 18px;
            border-radius: 50%;
            background: #7c3aed;
            color: #fff;
            font-size: 0.65rem;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-top: 1px;
        }

        .addr-row { display: flex; gap: 10px; }
        .addr-row .addr-field { flex: 1; }

        .addr-country-select {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 9px 12px;
            border: 1.5px solid #d1d5db;
            border-radius: 8px;
            cursor: pointer;
            transition: border-color 0.2s;
            background: #fff;
        }
        .addr-country-select:hover { border-color: #E91E63; }
        .addr-country-flag { font-size: 1.3rem; }
        .addr-country-name { flex: 1; font-size: 0.9rem; }
        .addr-country-chevron { color: #9ca3af; font-size: 0.8rem; }

        .addr-country-dropdown {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #fff;
            border: 1.5px solid #d1d5db;
            border-radius: 8px;
            max-height: 200px;
            overflow-y: auto;
            z-index: 10;
            box-shadow: 0 8px 25px rgba(0,0,0,0.12);
            margin-top: 4px;
        }
        .addr-country-dropdown.open { display: block; }
        .addr-country-search {
            position: sticky;
            top: 0;
            padding: 8px 12px;
            border-bottom: 1px solid #e5e7eb;
            background: #fff;
        }
        .addr-country-search input {
            width: 100%;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
            padding: 6px 10px;
            font-size: 0.82rem;
        }
        .addr-country-opt {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            cursor: pointer;
            font-size: 0.85rem;
            transition: background 0.1s;
        }
        .addr-country-opt:hover { background: #fce7f3; }
        .addr-country-opt.selected { background: #fdf2f8; font-weight: 600; }

        .addr-submit-btn {
            width: 100%;
            background: linear-gradient(135deg, #E91E63, #C2185B);
            color: #fff;
            border: none;
            border-radius: 10px;
            padding: 14px;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            margin-top: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: transform 0.15s, box-shadow 0.2s;
            box-shadow: 0 4px 14px rgba(233,30,99,0.3);
        }
        .addr-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(233,30,99,0.4); }
        .addr-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

        .addr-skip-link {
            display: block;
            text-align: center;
            margin-top: 10px;
            font-size: 0.78rem;
            color: #9ca3af;
            cursor: pointer;
            text-decoration: underline;
        }
        .addr-skip-link:hover { color: #6b7280; }

        .addr-trust {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            margin-top: 12px;
            font-size: 0.72rem;
            color: #9ca3af;
        }

        @media (max-width: 500px) {
            .addr-card { border-radius: 12px; }
            .addr-header { padding: 14px 16px; }
            .addr-body { padding: 16px; }
            .addr-row { flex-direction: column; gap: 0; }
        }

    
        /* ===================================================================== */
        /*  BUYING-INTENT FIXES — gallery cards (2026-06-12)                      */
        /*  Make price + the "order" action visible while browsing; demote the    */
        /*  "Request Artist" button so it stops competing with buying.            */
        /* ===================================================================== */
        /* Price tag — pinned top-left over the artwork so price + the buy action
           are visible while browsing. High specificity + !important to win over
           later CSS files. Taps pass through to the card (which expands to the
           priced size options). */
        .artwork-item > .artwork-price-teaser {
            position: absolute !important;
            top: 60px !important; left: 12px !important;
            right: auto !important; bottom: auto !important;
            z-index: 45 !important;
            pointer-events: none !important;
            display: flex !important; flex-direction: column !important;
            align-items: flex-start !important; gap: 1px !important;
            background: linear-gradient(135deg, #d4af37, #b8860b) !important;
            color: #fff !important;
            padding: 6px 11px !important;
            border-radius: 11px !important;
            box-shadow: 0 3px 12px rgba(0,0,0,0.28) !important;
            text-align: left !important;
            max-width: 70% !important;
        }
        .artwork-price-teaser .apt-price { font-size: 15px; font-weight: 800; letter-spacing: -0.2px; line-height: 1.05; }
        .artwork-price-teaser .apt-price .apt-from { font-size: 10.5px; font-weight: 600; opacity: 0.92; text-transform: lowercase; }
        .artwork-price-teaser .apt-price .apt-compare { font-size: 11px; font-weight: 600; opacity: 0.85; margin-left: 5px; text-decoration: line-through; text-decoration-thickness: 1px; }
        .artwork-price-teaser .apt-cta { font-size: 10px; font-weight: 700; opacity: 0.96; line-height: 1.1; }
        .artwork-item.selected > .artwork-price-teaser { display: none !important; }

        /* Demote "Request Artist" to a quiet secondary chip. Higher specificity
           (.artwork-item .artwork-enhance-btn) beats the loud red rules in the
           later artworks-page-2/8 css files. */
        .artwork-item .artwork-enhance-btn {
            background: rgba(255,255,255,0.94) !important;
            color: #5a6c7d !important;
            font-size: 11px !important;
            font-weight: 600 !important;
            padding: 5px 11px !important;
            box-shadow: 0 1px 5px rgba(0,0,0,0.16) !important;
            border: 1px solid rgba(0,0,0,0.07) !important;
            background-image: none !important;
        }
        .artwork-item .artwork-enhance-btn:hover {
            background: #fff !important;
            transform: translateY(-1px) !important;
            box-shadow: 0 3px 9px rgba(0,0,0,0.2) !important;
        }

        /* ---- Action bar: make ORDER the primary CTA, demote "Request artist" ---- */
        /* The bottom action bar previously led with a loud red "Request Artist"
           button competing with the buy path. Re-rank: Order is the hero, the
           artist request is a quiet ghost link. */
        .ig-action-bar {
            gap: 10px !important;
        }
        .ig-order-btn {
            flex: 1 1 auto !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 7px !important;
            min-height: 42px !important;
            padding: 9px 14px !important;
            border: none !important;
            border-radius: 11px !important;
            background: linear-gradient(135deg, #10b981, #059669) !important;
            color: #fff !important;
            font-size: 14.5px !important;
            font-weight: 800 !important;
            letter-spacing: -0.2px !important;
            cursor: pointer !important;
            box-shadow: 0 4px 14px rgba(5,150,105,0.34) !important;
            transition: transform .12s ease, box-shadow .12s ease !important;
            -webkit-tap-highlight-color: transparent;
        }
        .ig-order-btn .ig-order-ico { font-size: 16px !important; line-height: 1 !important; }
        .ig-order-btn:hover { transform: translateY(-1px) !important; box-shadow: 0 6px 18px rgba(5,150,105,0.42) !important; }
        .ig-order-btn:active { transform: translateY(0) scale(0.98) !important; }
        /* Once the card is selected/expanded, the size options carry the buy
           action — soften the bar CTA into a "scroll to options" affordance. */
        .artwork-item.selected .ig-order-btn {
            background: #fff !important;
            color: #059669 !important;
            box-shadow: 0 1px 5px rgba(0,0,0,0.12) !important;
            border: 1.5px solid #10b981 !important;
        }

        /* Demote the artist request to a quiet ghost link, no red. */
        .ig-enhance-btn.ig-enhance-btn--ghost {
            flex: 0 0 auto !important;
            background: transparent !important;
            background-image: none !important;
            color: #8a97a3 !important;
            box-shadow: none !important;
            border: none !important;
            font-size: 11.5px !important;
            font-weight: 600 !important;
            padding: 6px 6px !important;
            text-decoration: underline !important;
            text-underline-offset: 2px !important;
            text-decoration-color: rgba(138,151,163,0.5) !important;
        }
        .ig-enhance-btn.ig-enhance-btn--ghost:hover {
            color: #5a6c7d !important;
            background: transparent !important;
            transform: none !important;
            box-shadow: none !important;
        }
        /* ---- No-risk reassurance strip (above the grid) ---- */
        .no-risk-strip {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px 10px;
            max-width: 760px;
            margin: 2px auto 18px;
            padding: 11px 12px;
            background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
            border: 1px solid #bbf7d0;
            border-radius: 14px;
            box-shadow: 0 1px 6px rgba(5,150,105,0.08);
        }
        .no-risk-strip .nr-item {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 12.5px;
            font-weight: 600;
            color: #065f46;
            line-height: 1.2;
            white-space: nowrap;
        }
        .no-risk-strip .nr-ico { font-size: 14px; line-height: 1; }
        /* Separators between items on wider screens */
        .no-risk-strip .nr-item:not(:last-child)::after {
            content: "";
            display: inline-block;
            width: 1px;
            height: 13px;
            margin-left: 10px;
            background: #86efac;
        }
        @media (max-width: 560px) {
            .no-risk-strip {
                flex-wrap: nowrap;
                overflow-x: auto;
                justify-content: flex-start;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
                border-radius: 12px;
                gap: 0;
            }
            .no-risk-strip::-webkit-scrollbar { display: none; }
            .no-risk-strip .nr-item { flex: 0 0 auto; padding: 0 4px; font-size: 12px; }
            .no-risk-strip .nr-item:not(:last-child)::after { margin-left: 12px; margin-right: 2px; }
        }
        /* ---- In-grid gamified "Add more, save more" progress banner ---- */
        /* Products first: the gallery grid is display:grid, so `order` reliably
           moves these helper cards to the very end (even past infinite-scroll
           products) without risky DOM reordering. Shoppable artwork now leads. */
        .artwork-grid .generate-new-item { order: 998; }
        .artwork-grid .share-gallery-card { order: 999; grid-column: 1 / -1; }

        .in-grid-tier-banner {
            grid-column: 1 / -1;
            width: 100%;
            box-sizing: border-box;
            background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
            border: 1px solid #a7f3d0;
            border-radius: 14px;
            padding: 12px 14px 13px;
            margin: 14px 0;
            box-shadow: 0 2px 10px rgba(16,185,129,0.12);
        }
        .in-grid-tier-banner.igb-maxed {
            background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
            border-color: #34d399;
        }
        .in-grid-tier-banner .igb-head {
            display: flex; align-items: center; justify-content: space-between; gap: 8px;
            margin-bottom: 10px;
        }
        .in-grid-tier-banner .igb-title { font-size: 14px; font-weight: 800; color: #065f46; letter-spacing: -0.2px; }
        .in-grid-tier-banner .igb-badge {
            font-size: 10px; font-weight: 700; color: #047857;
            background: rgba(255,255,255,0.8); border: 1px solid #a7f3d0;
            padding: 3px 8px; border-radius: 999px; white-space: nowrap;
        }
        .in-grid-tier-banner .igb-track {
            position: relative; height: 8px; border-radius: 999px;
            background: rgba(6,95,70,0.12); margin: 3px 2px 9px;
        }
        .in-grid-tier-banner .igb-fill {
            position: absolute; left: 0; top: 0; bottom: 0; width: 0;
            border-radius: 999px;
            background: linear-gradient(90deg, #34d399, #059669);
            transition: width .45s cubic-bezier(.2,.8,.2,1);
        }
        .in-grid-tier-banner .igb-node {
            position: absolute; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px;
            border-radius: 50%; background: #fff; border: 2px solid #6ee7b7;
            transition: border-color .3s, transform .3s; z-index: 1;
        }
        .in-grid-tier-banner .igb-node--on { border-color: #059669; background: #059669; transform: scale(1.12); }
        .in-grid-tier-banner .igb-tiers {
            display: flex; justify-content: space-between; gap: 6px; margin-bottom: 9px;
        }
        .in-grid-tier-banner .igb-tier {
            flex: 1; text-align: center; font-size: 11.5px; font-weight: 600; color: #6b7c76;
            background: rgba(255,255,255,0.55); border: 1px solid transparent;
            border-radius: 8px; padding: 5px 4px; transition: all .25s ease;
        }
        .in-grid-tier-banner .igb-tier b { font-weight: 800; }
        .in-grid-tier-banner .igb-tier--on {
            color: #065f46; background: #fff; border-color: #34d399;
            box-shadow: 0 1px 5px rgba(5,150,105,0.18);
        }
        .in-grid-tier-banner .igb-tier--best { position: relative; }
        .in-grid-tier-banner .igb-msg {
            text-align: center; font-size: 12.5px; font-weight: 600; color: #065f46; line-height: 1.3;
        }
        .in-grid-tier-banner .igb-msg b { font-weight: 800; }
        /* ---- Variant price tokens on the card (tap = add that size to cart) ---- */
        .ig-variant-tokens {
            display: flex;
            gap: 6px;
            overflow-x: auto;
            padding: 9px 12px 0;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            background: var(--ig-surface, #fff);
        }
        .ig-variant-tokens::-webkit-scrollbar { display: none; }
        .ig-vt {
            flex: 0 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1px;
            padding: 6px 11px;
            border-radius: 11px;
            border: 1.5px solid #e5e7eb;
            background: #fafafa;
            cursor: pointer;
            transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .1s ease;
            -webkit-tap-highlight-color: transparent;
            font-family: inherit;
        }
        .ig-vt:active { transform: scale(0.95); }
        .ig-vt .vt-label {
            display: inline-flex; align-items: center; gap: 3px;
            font-size: 10px; font-weight: 600; color: #6b7280;
            white-space: nowrap; line-height: 1.15;
        }
        .ig-vt .vt-price { font-size: 12.5px; font-weight: 800; color: #111827; line-height: 1.2; white-space: nowrap; }
        .ig-vt .vt-was { font-size: 9.5px; font-weight: 500; color: #9ca3af; text-decoration: line-through; margin-left: 3px; }
        .ig-vt .vt-pop { font-size: 9px; color: #f59e0b; line-height: 1; }
        .ig-vt.vt-active {
            border-color: #10b981;
            background: #ecfdf5;
            box-shadow: 0 1px 7px rgba(5,150,105,0.25);
        }
        .ig-vt.vt-active .vt-label { color: #047857; }
        .ig-vt.vt-active .vt-price { color: #059669; }

        /* CTA state swap: "Add to cart" ⇄ "✓ In cart · View cart" */
        .ig-order-btn .ig-order-txt--incart { display: none; }
        .artwork-item.selected .ig-order-btn .ig-order-txt--add { display: none; }
        .artwork-item.selected .ig-order-btn .ig-order-txt--incart { display: inline; }

        /* Remove-from-cart × — was a faint black blob over the artwork. Make it
           an obvious, friendly control: white pill, red ×, real tap target.
           Specificity (.artwork-item .artwork-remove) beats css-2's override. */
        .artwork-item .artwork-remove {
            width: 34px !important;
            height: 34px !important;
            top: 50px !important;
            right: 10px !important;
            border-radius: 50% !important;
            background: rgba(255,255,255,0.96) !important;
            color: #dc2626 !important;
            border: 1.5px solid rgba(220,38,38,0.35) !important;
            box-shadow: 0 2px 10px rgba(0,0,0,0.22) !important;
            font-size: 19px !important;
            font-weight: 700 !important;
            line-height: 31px !important;
            text-align: center !important;
            transition: transform .12s ease, background .15s ease !important;
        }
        .artwork-item .artwork-remove:hover { background: #fef2f2 !important; transform: scale(1.08) !important; }
        .artwork-item .artwork-remove:active { transform: scale(0.92) !important; }
        /* ---- Card bottom strip v2: tokens pop, CTA never wraps, visible like ---- */
        /* Tokens: white tappable chips with depth; ACTIVE = solid green w/ ✓ */
        .ig-variant-tokens {
            gap: 7px !important;
            padding: 10px 12px 4px !important;
        }
        .ig-vt {
            background: #fff !important;
            border: 1.5px solid #e5e7eb !important;
            box-shadow: 0 1px 4px rgba(0,0,0,0.07) !important;
            padding: 6px 12px !important;
            border-radius: 12px !important;
        }
        .ig-vt:hover { border-color: #a7f3d0 !important; }
        .ig-vt .vt-label { font-size: 10px !important; color: #6b7280 !important; }
        .ig-vt .vt-price { font-size: 13px !important; }
        .ig-vt.vt-active {
            background: linear-gradient(135deg, #10b981, #059669) !important;
            border-color: #059669 !important;
            box-shadow: 0 3px 12px rgba(5,150,105,0.38) !important;
        }
        .ig-vt.vt-active .vt-label { color: rgba(255,255,255,0.92) !important; }
        .ig-vt.vt-active .vt-label::before { content: "✓ "; font-weight: 800; }
        .ig-vt.vt-active .vt-price { color: #fff !important; }
        .ig-vt.vt-active .vt-was { color: rgba(255,255,255,0.72) !important; }
        .ig-vt.vt-active .vt-pop { color: #fde68a !important; }

        /* CTA: single line, always. Shorter in-cart label + nowrap + autosize */
        .ig-order-btn { min-width: 0 !important; }
        .ig-order-btn .ig-order-txt {
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            font-size: 14px !important;
        }
        .artwork-item.selected .ig-order-btn { min-height: 42px !important; }

        /* Like button: the white 🤍 emoji vanished on the white bar — give it
           a soft circular chip so it reads as a real control */
        .ig-action-bar .ig-action-btn {
            width: 42px !important;
            height: 42px !important;
            padding: 0 !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            border-radius: 50% !important;
            background: #f3f4f6 !important;
            border: 1px solid #e5e7eb !important;
            font-size: 19px !important;
            flex: 0 0 auto !important;
        }
        .ig-action-bar .ig-action-btn.liked { background: #fef2f2 !important; border-color: #fecaca !important; }

        /* Tighter bar rhythm + hairline between tokens and actions */
        .ig-action-bar { padding: 8px 12px 10px !important; }
        .ig-enhance-btn.ig-enhance-btn--ghost { white-space: nowrap !important; }
        /* Artist link lives on its own slim row under the bar — CTA gets full
           width in every locale. Hidden once the item is in the cart (checkout
           is the only job then). */
        .ig-artist-row {
            display: flex;
            justify-content: center;
            padding: 0 12px 9px;
            background: var(--ig-surface, #fff);
            margin-top: -2px;
            /* Must stack above the invisible .select-label overlay (like the
               action bar's z-index:100) or taps hit the overlay and ADD TO
               CART instead of opening the artist modal */
            position: relative;
            z-index: 100;
            pointer-events: auto;
        }
        .artwork-item.selected .ig-artist-row { display: none !important; }
        /* end BUYING-INTENT FIXES */
