/* lp-core.css — extracted verbatim from views/storefront/landing-page.php (PR#307 pattern).
   The only dynamic value ($primaryColor) became var(--lp-primary), set inline by the view. */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        /* Fix for in-app browsers (FB, TikTok, Telegram) */
        :root {
            --app-height: 100%;
            --vh: 1vh;
        }
        body { 
            font-family: 'Cairo', sans-serif; 
            background: #fff; 
            color: #1f2937;
            min-height: 100vh;
            min-height: calc(var(--vh, 1vh) * 100); /* JS-calculated fallback */
            min-height: 100dvh; /* Dynamic viewport height for modern browsers */
            min-height: var(--app-height, 100vh);
        }
        
        .landing-page { max-width: 100%; margin: 0 auto; }
        
        /* Image Section */
        .lp-image { width: 100%; }
        .lp-image img { width: 100%; height: auto; display: block; }
        .lp-image a { display: block; }
        
        /* Order Form */
        .lp-order-form {
            padding: 30px 20px;
            background: #f9fafb;
        }
        .lp-order-form h3 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            text-align: center;
            color: #1f2937;
        }
        .lp-order-form .form-group { margin-bottom: 16px; }
        .lp-order-form .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-bottom: 12px;
        }
        .lp-order-form .form-row.full {
            grid-template-columns: 1fr;
        }
        .lp-order-form .form-row > * { min-width: 0; box-sizing: border-box; }
        .lp-order-form .form-row .form-group { margin-bottom: 0; }
        .lp-order-form input,
        .lp-order-form select {
            width: 100%;
            padding: 14px 16px;
            border: 1px solid #e5e7eb;
            border-radius: 10px;
            font-family: inherit;
            font-size: 1rem;
            background: #fff;
            color: #1f2937;
            transition: border-color 0.2s;
        }
        .lp-order-form input:focus,
        .lp-order-form select:focus {
            outline: none;
            border-color: var(--lp-primary);
        }
        .lp-order-form input::placeholder { color: #9ca3af; }
        .lp-order-form .btn-submit {
            width: 100%;
            padding: 16px;
            border: none;
            border-radius: 10px;
            font-family: inherit;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        .lp-order-form .btn-submit:hover { transform: translateY(-2px); }
        .lp-order-form .btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
        .form-error {
            color: #ef4444;
            font-size: 0.85rem;
            margin-top: 4px;
            display: none;
        }
        .form-success {
            background: #d1fae5;
            color: #065f46;
            padding: 16px;
            border-radius: 10px;
            text-align: center;
            display: none;
        }
        
        /* Expand Button for Order Form */
        .btn-expand-form {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            width: 100%;
            padding: 18px 32px;
            border: none;
            border-radius: 12px;
            font-family: inherit;
            font-size: 1.2rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }
        .btn-expand-form:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
        }
        .btn-expand-form.expanded {
            display: none;
        }
        
        /* Order Form Container Animation */
        .order-form-container {
            margin-top: 20px;
            animation: slideDown 0.4s ease-out;
        }
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Order Summary */
        .order-summary {
            background: #f3f4f6;
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 16px;
        }
        .order-summary-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 0;
            font-size: 0.95rem;
        }
        .order-summary-row.total {
            border-top: 2px solid #e5e7eb;
            margin-top: 8px;
            padding-top: 12px;
            font-size: 1.1rem;
            font-weight: 700;
        }
        .order-summary-row .label { color: inherit; opacity: 0.6; }
        .order-summary-row .value { font-weight: 600; color: inherit; }
        .order-summary-row.total .value { color: var(--lp-primary); font-size: 1.2rem; }
        .shipping-note { font-size: 0.8rem; color: inherit; opacity: 0.5; text-align: center; margin-top: 8px; }
        .free-shipping-badge {
            background: #d1fae5;
            color: #065f46;
            font-size: 0.75rem;
            padding: 2px 8px;
            border-radius: 10px;
            font-weight: 600;
        }
        
        /* Order Button - Simple Link */
        .lp-order-button { padding: 20px; text-align: center; }
        .lp-order-button a.order-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 16px 40px;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.1rem;
            transition: all 0.3s;
            cursor: pointer;
        }
        .lp-order-button a.order-link:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
        
        /* Expandable Order Button with Form */
        .lp-expand-order {
            padding: 15px;
            transition: all 0.4s ease;
        }
        
        .expand-order-trigger {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            padding: 18px 40px;
            border-radius: 14px;
            border: none;
            font-weight: 700;
            font-size: 1.15rem;
            font-family: inherit;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
            box-shadow: 0 6px 25px rgba(0,0,0,0.2);
            position: relative;
            overflow: hidden;
        }
        
        .expand-order-trigger::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            animation: btnShimmer 2s infinite;
        }
        
        @keyframes btnShimmer {
            0% { left: -100%; }
            100% { left: 100%; }
        }
        
        .expand-order-trigger:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 35px rgba(0,0,0,0.25);
        }
        
        .expand-order-trigger i {
            font-size: 1.3rem;
            transition: transform 0.3s;
        }
        
        .expand-order-trigger.expanded i.bi-cart-plus {
            display: none;
        }
        
        .expand-order-trigger .bi-x-lg {
            display: none;
        }
        
        .expand-order-trigger.expanded .bi-x-lg {
            display: inline-block;
        }
        
        /* Expanded Form Container */
        .expand-form-container {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease, opacity 0.3s ease, margin 0.3s ease;
            opacity: 0;
            margin-top: 0;
        }
        
        .expand-form-container.show {
            /* Animation seed only — JS (toggleExpandForm) measures the real height
               and promotes to max-height:none after the transition settles, so tall
               per-piece variant forms (qty>12) never clip the submit button. */
            max-height: 2500px;
            opacity: 1;
            margin-top: 20px;
        }
        
        .expand-order-form {
            padding: 25px 20px;
            border-radius: 16px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
            border: 2px solid;
        }
        
        .expand-order-form h4 {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 20px;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        
        .expand-order-form h4 i {
            font-size: 1.3rem;
        }
        
        .expand-order-form .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-bottom: 12px;
        }
        
        .expand-order-form .form-row.full {
            grid-template-columns: 1fr;
        }
        
        .expand-order-form input,
        .expand-order-form select {
            width: 100%;
            padding: 14px 16px;
            border: none;
            border-radius: 10px;
            font-size: 16px; /* ≥16px: prevents iOS focus auto-zoom */
            font-family: inherit;
            background: rgba(255,255,255,0.95);
            color: #333;
            transition: all 0.2s;
        }
        
        .expand-order-form input:focus,
        .expand-order-form select:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
            background: #fff;
        }
        
        .expand-order-form input::placeholder {
            color: #888;
        }
        
        .expand-order-form select {
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: left 14px center;
            padding-left: 35px;
            cursor: pointer;
        }
        
        .expand-order-form .btn-submit-expand {
            width: 100%;
            padding: 16px;
            border: none;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: all 0.3s;
            margin-top: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            font-family: inherit;
        }
        
        .expand-order-form .btn-submit-expand:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.25);
        }
        
        .expand-order-form .btn-submit-expand:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }
        
        .expand-order-form .btn-submit-expand .spinner {
            display: none;
            width: 20px;
            height: 20px;
            border: 2px solid currentColor;
            border-top-color: transparent;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        
        .expand-order-form .btn-submit-expand.loading .spinner {
            display: block;
        }
        
        .expand-order-form .btn-submit-expand.loading .btn-text,
        .expand-order-form .btn-submit-expand.loading i:not(.spinner) {
            display: none;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        .expand-form-success {
            text-align: center;
            padding: 30px 20px;
            display: none;
        }
        
        .expand-form-success i {
            font-size: 3rem;
            margin-bottom: 15px;
            display: block;
        }
        
        .expand-form-success h5 {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 10px;
        }
        
        .expand-form-success p {
            opacity: 0.8;
            margin: 0;
        }
        
        @media (max-width: 500px) {
            .expand-order-trigger {
                padding: 16px 30px;
                font-size: 1.05rem;
            }
        }
        
        /* ===== Classic Form Style (Shopify-like) ===== */
        .lp-classic-form {
            background: #fff;
            padding: 24px 16px;
            max-width: 100%;
        }
        .lp-classic-form .classic-form-title {
            font-size: 1.4rem;
            font-weight: 800;
            text-align: center;
            color: #1a1a2e;
            margin-bottom: 4px;
        }
        .lp-classic-form .classic-form-subtitle {
            font-size: 0.85rem;
            color: #6b7280;
            text-align: center;
            margin-bottom: 20px;
        }
        /* Summary box at top */
        .lp-classic-form .classic-summary {
            background: #f9fafb;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            padding: 14px 16px;
            margin-bottom: 20px;
        }
        .lp-classic-form .classic-summary-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 7px 0;
            font-size: 0.9rem;
            color: #374151;
        }
        .lp-classic-form .classic-summary-row .cs-label {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #6b7280;
            font-weight: 500;
        }
        .lp-classic-form .classic-summary-row .cs-label i {
            font-size: 1rem;
            color: #9ca3af;
        }
        .lp-classic-form .classic-summary-row .cs-value {
            font-weight: 600;
            color: #1f2937;
        }
        .lp-classic-form .classic-summary-row.cs-total {
            border-top: 1.5px solid #e5e7eb;
            margin-top: 4px;
            padding-top: 10px;
            font-size: 0.95rem;
        }
        .lp-classic-form .classic-summary-row.cs-total .cs-label {
            color: #374151;
            font-weight: 700;
        }
        .lp-classic-form .classic-summary-row.cs-total .cs-value {
            font-weight: 800;
            font-size: 1rem;
            color: #1f2937;
        }
        /* Field groups */
        .lp-classic-form .cf-group {
            margin-bottom: 14px;
        }
        .lp-classic-form .cf-group .cf-label {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 4px;
            font-size: 0.82rem;
            font-weight: 600;
            color: #374151;
            margin-bottom: 6px;
        }
        .lp-classic-form .cf-group .cf-label .cf-required {
            color: #ef4444;
            font-weight: 700;
        }
        .lp-classic-form .cf-input-wrap {
            position: relative;
        }
        .lp-classic-form .cf-input-wrap .cf-icon {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #9ca3af;
            font-size: 1rem;
            pointer-events: none;
        }
        .lp-classic-form .cf-input-wrap input,
        .lp-classic-form .cf-input-wrap select {
            width: 100%;
            padding: 13px 44px 13px 14px;
            border: 1.5px solid #e5e7eb;
            border-radius: 10px;
            font-family: inherit;
            font-size: 0.95rem;
            background: #fff;
            color: #1f2937;
            transition: border-color 0.2s, box-shadow 0.2s;
            appearance: none;
            -webkit-appearance: none;
        }
        .lp-classic-form .cf-input-wrap select {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: left 14px center;
            padding-left: 35px;
            cursor: pointer;
        }
        .lp-classic-form .cf-input-wrap input:focus,
        .lp-classic-form .cf-input-wrap select:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
        }
        .lp-classic-form .cf-input-wrap input::placeholder {
            color: #b0b0b0;
        }
        .lp-classic-form .cf-phone-error {
            color: #ef4444;
            font-size: 0.8rem;
            margin-top: 4px;
            display: none;
        }
        /* Delivery type - classic light style */
        .lp-classic-form .classic-delivery-options {
            display: flex;
            gap: 8px;
        }
        .lp-classic-form .classic-delivery-opt {
            flex: 1;
            cursor: pointer;
        }
        .lp-classic-form .classic-delivery-opt input { display: none; }
        .lp-classic-form .classic-delivery-opt .cd-content {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 11px 10px;
            border-radius: 10px;
            border: 1.5px solid #e5e7eb;
            background: #fff;
            transition: all 0.2s;
            text-align: center;
        }
        .lp-classic-form .classic-delivery-opt .cd-content i {
            font-size: 0.95rem;
            color: #6b7280;
        }
        .lp-classic-form .classic-delivery-opt .cd-content span {
            font-size: 0.8rem;
            color: #374151;
        }
        .lp-classic-form .classic-delivery-opt .cd-content .cd-price {
            font-weight: 600;
            font-size: 0.75rem;
            color: #10b981;
        }
        .lp-classic-form .classic-delivery-opt.selected .cd-content {
            border-color: #10b981;
            background: #ecfdf5;
        }
        .lp-classic-form .classic-delivery-opt.selected .cd-content i {
            color: #10b981;
        }
        .lp-classic-form .classic-delivery-opt:hover .cd-content {
            border-color: #d1d5db;
        }
        /* Quantity stepper */
        .lp-classic-form .classic-qty-stepper {
            display: flex;
            align-items: center;
            border: 1.5px solid #e5e7eb;
            border-radius: 10px;
            overflow: hidden;
            background: #fff;
        }
        .lp-classic-form .classic-qty-stepper button {
            width: 48px;
            height: 48px;
            border: none;
            background: #f3f4f6;
            font-size: 1.2rem;
            font-weight: 700;
            color: #374151;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.15s;
        }
        .lp-classic-form .classic-qty-stepper button:hover {
            background: #e5e7eb;
        }
        .lp-classic-form .classic-qty-stepper input {
            flex: 1;
            text-align: center;
            border: none;
            font-family: inherit;
            font-size: 1.1rem;
            font-weight: 700;
            color: #1f2937;
            background: transparent;
            padding: 10px 0;
            -moz-appearance: textfield;
        }
        .lp-classic-form .classic-qty-stepper input::-webkit-outer-spin-button,
        .lp-classic-form .classic-qty-stepper input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        /* Generic quantity stepper (order_form + order_button default style) —
           neutral palette so it reads correctly on light AND dark form backgrounds */
        .lp-qty-stepper {
            display: flex;
            align-items: center;
            border: 1.5px solid rgba(128,128,128,0.35);
            border-radius: 10px;
            overflow: hidden;
            background: rgba(255,255,255,0.06);
            max-width: 220px;
            margin: 0 auto;
        }
        .lp-qty-stepper button {
            flex: 0 0 46px;
            width: 46px;
            height: 44px;
            border: none;
            background: rgba(128,128,128,0.18);
            color: inherit;
            font-size: 1.25rem;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.15s;
        }
        .lp-qty-stepper button:hover,
        .lp-qty-stepper button:active {
            background: rgba(128,128,128,0.32);
        }
        .lp-qty-stepper input[name="quantity"] {
            flex: 1;
            width: 100%;
            min-width: 0;
            text-align: center;
            border: none;
            background: transparent;
            font-family: inherit;
            font-size: 1.05rem;
            font-weight: 700;
            color: inherit;
            padding: 10px 0;
            -moz-appearance: textfield;
        }
        .lp-qty-stepper input::-webkit-outer-spin-button,
        .lp-qty-stepper input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        /* Quantity-offer tiles (order_button + follow_offers, new pages only).
           Colors inherit from the form so this works on both the dark default form
           and the light classic form; green accent matches the existing offer row. */
        .lp-offers-tiles { display:flex; flex-direction:column; gap:8px; margin:0 0 14px; }
        .lp-offer-tile {
            display:flex; align-items:center; gap:10px; width:100%;
            padding:11px 13px; border-radius:12px; cursor:pointer; text-align:start;
            border:1.5px solid rgba(128,128,128,.32);
            background:rgba(128,128,128,.06); color:inherit; font:inherit;
            transition:border-color .15s, background .15s, transform .05s;
        }
        .lp-offer-tile:hover { border-color:rgba(22,163,74,.55); }
        .lp-offer-tile:active { transform:scale(.995); }
        .lp-offer-tile.active { border-color:#16a34a; background:rgba(22,163,74,.12); }
        .lp-offer-radio {
            flex:0 0 18px; width:18px; height:18px; border-radius:50%;
            border:2px solid rgba(128,128,128,.5); position:relative; transition:border-color .15s;
        }
        .lp-offer-tile.active .lp-offer-radio { border-color:#16a34a; }
        .lp-offer-tile.active .lp-offer-radio::after {
            content:''; position:absolute; inset:3px; border-radius:50%; background:#16a34a;
        }
        .lp-offer-main { flex:1 1 auto; display:flex; flex-direction:column; gap:2px; min-width:0; }
        .lp-offer-name { font-weight:700; font-size:.95rem; }
        .lp-offer-free { display:inline-flex; align-items:center; gap:4px; color:#16a34a; font-size:.72rem; font-weight:700; }
        .lp-offer-price { flex:0 0 auto; display:flex; flex-direction:column; align-items:flex-end; gap:1px; line-height:1.15; }
        .lp-offer-old { opacity:.55; font-size:.78rem; font-weight:400; }
        .lp-offer-now { font-weight:800; font-size:1rem; white-space:nowrap; }
        .lp-offer-save { color:#16a34a; font-size:.72rem; font-weight:700; white-space:nowrap; }
        /* Submit button */
        .lp-classic-form .classic-submit-btn {
            width: 100%;
            padding: 16px;
            border: none;
            border-radius: 12px;
            font-family: inherit;
            font-size: 1.15rem;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: all 0.3s;
            margin-top: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
            color: #fff;
        }
        .lp-classic-form .classic-submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.2);
        }
        .lp-classic-form .classic-submit-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }
        .lp-classic-form .classic-submit-btn .spinner {
            display: none;
            width: 20px;
            height: 20px;
            border: 2px solid currentColor;
            border-top-color: transparent;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        .lp-classic-form .classic-submit-btn.loading .spinner {
            display: block;
        }
        .lp-classic-form .classic-submit-btn.loading .btn-text,
        .lp-classic-form .classic-submit-btn.loading i:not(.spinner) {
            display: none;
        }
        /* Success state */
        .lp-classic-form .classic-form-success {
            text-align: center;
            padding: 30px 20px;
            display: none;
        }
        .lp-classic-form .classic-form-success i {
            font-size: 3rem;
            color: #22c55e;
            margin-bottom: 15px;
            display: block;
        }
        .lp-classic-form .classic-form-success h5 {
            font-size: 1.3rem;
            font-weight: 700;
            color: #1f2937;
            margin-bottom: 10px;
        }
        .lp-classic-form .classic-form-success p {
            color: #6b7280;
            margin: 0;
        }
        
        /* Sticky Bottom Order Button */
        .sticky-order-btn {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 998;
            padding: 12px 20px;
            padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
            display: flex;
            align-items: center;
            justify-content: center;
            transform: translateY(100%);
            transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        .sticky-order-btn.visible {
            transform: translateY(0);
        }
        .sticky-order-btn button {
            width: 100%;
            max-width: 500px;
            border: none;
            border-radius: 14px;
            padding: 14px 28px;
            font-size: 1.15rem;
            font-weight: 700;
            font-family: inherit;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: transform 0.2s, box-shadow 0.2s;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            animation: stickyPulse 2.5s ease-in-out infinite;
        }
        .sticky-order-btn button:active {
            transform: scale(0.97);
        }
        /* Remove the double-tap-zoom click delay on the CTA
           (older Android WebViews / in-app browsers). */
        .sticky-order-btn button {
            touch-action: manipulation;
        }
        @keyframes stickyPulse {
            0%, 100% { box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
            50% { box-shadow: 0 4px 25px rgba(245,158,11,0.4); }
        }
        
        /* Free Text */
        .lp-free-text { padding: 24px 20px; }
        .lp-free-text-content {
            white-space: pre-wrap;
            line-height: 1.8;
            font-size: 1rem;
        }
        
        /* Force clean styling on free text content - override any pasted inline styles */
        .lp-free-text-content * {
            background: transparent !important;
            background-color: transparent !important;
            font-family: inherit !important;
        }
        
        /* Allow inline color styles on headings and spans (AI sets these for brand colors) */
        .lp-free-text-content h1,
        .lp-free-text-content h2,
        .lp-free-text-content h3,
        .lp-free-text-content h4,
        .lp-free-text-content h5,
        .lp-free-text-content h6,
        .lp-free-text-content span {
            /* Do NOT override color — let inline styles work for headings/spans */
        }
        
        /* Other elements inherit parent text color */
        .lp-free-text-content p,
        .lp-free-text-content li,
        .lp-free-text-content ul,
        .lp-free-text-content ol,
        .lp-free-text-content div {
            color: inherit !important;
        }
        
        .lp-free-text-content strong,
        .lp-free-text-content b {
            font-weight: 700 !important;
        }
        
        .lp-free-text-content em,
        .lp-free-text-content i:not(.bi) {
            font-style: italic !important;
        }
        
        .lp-free-text-content ul,
        .lp-free-text-content ol {
            padding-right: 20px;
            margin: 10px 0;
        }
        
        /* Contact Button */
        .lp-contact-button { padding: 20px; text-align: center; }
        .lp-contact-button a {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 32px;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            color: #fff;
            transition: all 0.3s;
        }
        .lp-contact-button a:hover { transform: translateY(-2px); opacity: 0.9; }
        .lp-contact-button a i { font-size: 1.3rem; }
        
        /* Countdown */
        .lp-countdown {
            padding: 40px 20px;
            text-align: center;
        }
        .lp-countdown h4 {
            font-size: 1.3rem;
            margin-bottom: 24px;
            font-weight: 600;
        }
        .countdown-boxes {
            display: flex;
            justify-content: center;
            gap: 12px;
            direction: ltr;
        }
        .countdown-box {
            padding: 16px 20px;
            border-radius: 12px;
            min-width: 70px;
            background: rgba(255,255,255,0.1);
        }
        .countdown-box .number {
            font-size: 2rem;
            font-weight: 800;
            display: block;
            line-height: 1.2;
        }
        .countdown-box .label {
            font-size: 0.8rem;
            opacity: 0.8;
            margin-top: 4px;
        }
        
        /* Fake Visitors — minimal inline */
        .lp-fake-visitors { padding: 14px 20px; }
        .visitors-inline {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-weight: 600;
        }
        .visitors-inline .visitor-count {
            font-weight: 800;
            font-size: 1.15rem;
            font-variant-numeric: tabular-nums;
        }
        .visitors-inline .visitors-label { color: #4b5563; font-size: 0.95rem; }
        .lp-live-dot {
            width: 9px; height: 9px; border-radius: 50%;
            background: currentColor; position: relative; flex: 0 0 auto;
        }
        .lp-live-dot::after {
            content: ''; position: absolute; inset: 0; border-radius: 50%;
            background: currentColor;
            animation: lpLivePulse 1.8s ease-out infinite;
        }
        @keyframes lpLivePulse {
            0% { transform: scale(1); opacity: 0.5; }
            70%, 100% { transform: scale(2.6); opacity: 0; }
        }
        @media (prefers-reduced-motion: reduce) {
            .lp-live-dot::after { animation: none; }
        }
        
        /* Special Offer Section */
        .lp-special-offer {
            position: relative;
            text-align: center;
            overflow: hidden;
        }
        .lp-special-offer .offer-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            padding: 8px 16px;
            border-radius: 25px;
            font-size: 0.85rem;
            font-weight: 700;
            color: #fff;
            animation: badge-pulse 2s ease-in-out infinite;
            z-index: 10;
        }
        @keyframes badge-pulse {
            0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
            50% { transform: scale(1.05); box-shadow: 0 0 20px 5px rgba(239, 68, 68, 0.2); }
        }
        .offer-content { padding: 15px 0; }
        .offer-title { font-size: 2rem; font-weight: 800; margin-bottom: 10px; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
        .offer-subtitle { font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; opacity: 0.95; }
        .offer-description { font-size: 1rem; opacity: 0.85; margin-bottom: 20px; }
        .offer-pricing {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 20px;
        }
        .offer-pricing .original-price { text-decoration: line-through; font-size: 1.2rem; }
        .offer-pricing .offer-price { font-size: 2.5rem; font-weight: 800; text-shadow: 0 2px 15px rgba(0,0,0,0.3); }
        .offer-pricing .savings-badge {
            padding: 8px 18px;
            border-radius: 25px;
            font-size: 0.9rem;
            font-weight: 700;
            color: #000;
        }
        .offer-timer { margin-top: 20px; }
        .timer-label { font-size: 0.95rem; opacity: 0.85; margin-bottom: 12px; display: block; }
        .timer-boxes { display: flex; justify-content: center; gap: 10px; direction: ltr; }
        .timer-box {
            background: rgba(0,0,0,0.25);
            padding: 10px 15px;
            border-radius: 10px;
            min-width: 55px;
            text-align: center;
            backdrop-filter: blur(5px);
        }
        .timer-box span { display: block; font-size: 1.5rem; font-weight: 700; }
        .timer-box small { font-size: 0.75rem; opacity: 0.8; }
        
        /* Offer animations */
        .offer-pulse { animation: offer-pulse-anim 2s ease-in-out infinite; }
        @keyframes offer-pulse-anim {
            0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
            50% { box-shadow: 0 0 0 20px rgba(245, 158, 11, 0); }
        }
        .offer-bounce { animation: offer-bounce-anim 1.5s ease-in-out infinite; }
        @keyframes offer-bounce-anim {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-8px); }
        }
        .offer-shake { animation: offer-shake-anim 0.6s ease-in-out infinite; }
        @keyframes offer-shake-anim {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-4px); }
            75% { transform: translateX(4px); }
        }
        
        /* Price Display Section */
        .lp-price-display {
            border-radius: 0;
            border-top: 1.5px solid rgba(255,255,255,0.12);
            border-bottom: 1.5px solid rgba(255,255,255,0.12);
        }
        .price-title { font-size: 0.95rem; color: inherit; opacity: 0.7; margin-bottom: 10px; font-weight: 500; }
        .price-row {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
        }
        .price-original { font-weight: 500; }
        .discount-badge {
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 700;
            color: #fff;
        }
        .installment-info { display: flex; align-items: center; justify-content: center; gap: 8px; }
        
        /* Product Offers Section */
        .lp-product-offers { padding: 16px 14px; }
        .lp-product-offers .offers-header { text-align: center; margin-bottom: 14px; }
        .lp-product-offers .offers-header h3 { font-size: 1.3rem; font-weight: 700; color: inherit; margin-bottom: 5px; }
        .lp-product-offers .offers-header p { color: inherit; opacity: 0.7; font-size: 0.95rem; }
        .lp-product-offers .offers-grid { display: grid; gap: 10px; }
        .lp-product-offers .offers-grid.columns-1 { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
        .lp-product-offers .offers-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
        .lp-product-offers .offers-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
        .lp-product-offers .no-offers { text-align: center; padding: 40px; color: #9ca3af; background: #f9fafb; border-radius: 16px; }

        /* "Click to choose" CTA banner — prominent + unmissable so the buyer knows
           the offers are tappable (conversion aid). */
        .lp-product-offers .offers-cta {
            display: flex; align-items: center; justify-content: center; gap: 8px;
            margin: 0 auto 12px; max-width: 520px;
            padding: 9px 14px; border-radius: 12px;
            background: linear-gradient(135deg, rgba(16,185,129,0.14), rgba(16,185,129,0.05));
            border: 1.5px dashed rgba(16,185,129,0.55);
            color: #10b981; font-weight: 800; font-size: 0.9rem; line-height: 1.3; text-align: center;
        }
        .lp-product-offers .offers-cta .cta-hand { font-size: 1.2rem; line-height: 1; animation: lpTapBounce 1.4s ease-in-out infinite; }
        @keyframes lpTapBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
        /* Per-card affordance — a clear "tap to choose" pill; hidden once selected.
           flex-basis:100% (+ parent flex-wrap below) forces it onto its own full-width
           row BELOW the image/content row instead of squeezing in as a side column. */
        .lp-product-offers .product-offer-card .offer-tap-hint {
            display: flex; align-items: center; justify-content: center; gap: 5px;
            flex: 0 0 100%; width: 100%; box-sizing: border-box;
            margin-top: 9px; padding: 6px 12px;
            border-radius: 9px; font-size: 0.8rem; font-weight: 700;
            background: rgba(16,185,129,0.10); color: #10b981;
            border: 1px solid rgba(16,185,129,0.3);
        }
        .lp-product-offers .product-offer-card .offer-tap-hint i { animation: lpTapPulse 1.4s ease-in-out infinite; transform-origin: center; }
        @keyframes lpTapPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: 0.55; } }
        .lp-product-offers .product-offer-card.selected .offer-tap-hint { display: none; }
        @media (prefers-reduced-motion: reduce) {
            .lp-product-offers .offers-cta .cta-hand,
            .lp-product-offers .product-offer-card .offer-tap-hint i { animation: none; }
        }

        .lp-product-offers .product-offer-card {
            position: relative;
            padding: 13px 15px;
            border-radius: 13px;
            cursor: pointer;
            transition: all 0.3s ease;
            -webkit-tap-highlight-color: transparent;
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            outline: none;
        }
        .lp-product-offers .product-offer-card:focus,
        .lp-product-offers .product-offer-card:active {
            outline: none;
        }
        .lp-product-offers .product-offer-card.hover-lift:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(0,0,0,0.12); }
        .lp-product-offers .product-offer-card.hover-glow:hover { box-shadow: 0 0 30px rgba(16, 185, 129, 0.35); }
        .lp-product-offers .product-offer-card.hover-scale:hover { transform: scale(1.03); }
        .lp-product-offers .product-offer-card.selected { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25); }
        
        .lp-product-offers .product-offer-card .offer-badge {
            position: absolute;
            top: -10px;
            right: 16px;
            padding: 6px 14px;
            border-radius: 15px;
            font-size: 0.75rem;
            font-weight: 700;
            color: #fff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.15);
        }
        .lp-product-offers .product-offer-card .offer-featured-badge {
            position: absolute;
            top: -10px;
            left: 16px;
            padding: 6px 14px;
            border-radius: 15px;
            font-size: 0.75rem;
            font-weight: 700;
            color: #fff;
            background: linear-gradient(135deg, #f59e0b, #d97706);
            box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
        }
        
        .lp-product-offers .product-offer-card .offer-info { margin-bottom: 8px; }
        .lp-product-offers .product-offer-card .offer-title { font-weight: 700; font-size: 1rem; margin-bottom: 3px; }
        .lp-product-offers .product-offer-card .offer-desc { font-size: 0.8rem; opacity: 0.7; margin-bottom: 3px; }
        .lp-product-offers .product-offer-card .offer-quantity { font-size: 0.8rem; opacity: 0.6; }
        
        .lp-product-offers .product-offer-card .offer-pricing {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }
        .lp-product-offers .product-offer-card .compare-price { font-size: 0.85rem; }
        .lp-product-offers .product-offer-card .offer-price { font-size: 1.3rem; font-weight: 800; }
        .lp-product-offers .product-offer-card .discount-pct {
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 700;
        }

        .lp-product-offers .product-offer-card .offer-free-shipping-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 700;
            background: #dcfce7;
            color: #166534;
        }
        
        .lp-product-offers .offers-grid.layout-list .product-offer-card {
            display: flex;
            align-items: center;
            gap: 20px;
        }
        .lp-product-offers .offers-grid.layout-list .offer-info { flex: 1; margin-bottom: 0; }
        .lp-product-offers .offers-grid.layout-list .offer-pricing { flex-shrink: 0; }
        
        /* Compact layout */
        .lp-product-offers .offers-grid.layout-compact .product-offer-card { padding: 14px; }
        .lp-product-offers .offers-grid.layout-compact .offer-title { font-size: 0.95rem; }
        .lp-product-offers .offers-grid.layout-compact .offer-price { font-size: 1.2rem; }
        
        @media (max-width: 640px) {
            .lp-product-offers .offers-grid.columns-2,
            .lp-product-offers .offers-grid.columns-3 { grid-template-columns: 1fr; }
            .lp-product-offers .product-offer-card .offer-price { font-size: 1.3rem; }
        }
        
        @media (max-width: 640px) {
            .offer-title { font-size: 1.6rem; }
            .offer-subtitle { font-size: 1.1rem; }
            .offer-pricing .offer-price { font-size: 2rem; }
            .timer-boxes { gap: 6px; }
            .timer-box { min-width: 48px; padding: 8px 10px; }
            .timer-box span { font-size: 1.2rem; }
        }
        
        /* Animations */
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }
        .pulse { animation: pulse 2s ease-in-out infinite; }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .fade-in { animation: fadeIn 0.5s ease-out; }
        /* PERF (LP-4): the first section is the above-the-fold LCP candidate (often the
           hero image or price block). Skip its fade-in so its opacity:0->1 doesn't delay LCP.
           Below-the-fold sections keep the fade. */
        .landing-page > *:first-child.fade-in { animation: none; }
        /* Same rule through the display:contents section wrapper (wrapper is the
           real first child now; it never carries .fade-in itself). */
        .landing-page > [data-lp-section]:first-child > .fade-in { animation: none; }

        /* Mobile responsive */
        @media (max-width: 640px) {
            .countdown-boxes { gap: 8px; }
            .countdown-box { padding: 12px 14px; min-width: 60px; }
            .countdown-box .number { font-size: 1.6rem; }
            .lp-order-button a { width: 90%; padding: 14px 20px; }
        }
        
        /* Offer Images - Small on left */
        .lp-product-offers .product-offer-card .offer-header-clickable {
            display: flex;
            align-items: flex-start;
            flex-wrap: wrap;
            column-gap: 12px;
            row-gap: 0;
            -webkit-tap-highlight-color: transparent;
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            user-select: none;
        }
        .lp-product-offers .product-offer-card.has-image .offer-image {
            width: 70px;
            height: 70px;
            min-width: 70px;
            border-radius: 8px;
            overflow: hidden;
            flex-shrink: 0;
        }
        .lp-product-offers .product-offer-card .offer-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .lp-product-offers .product-offer-card .offer-content {
            flex: 1;
            min-width: 0;
        }
        .lp-product-offers .offers-grid.layout-list .product-offer-card.has-image .offer-image {
            width: 60px;
            height: 60px;
            min-width: 60px;
        }
        .lp-product-offers .offers-grid.layout-list .product-offer-card .offer-image img {
            height: 60px;
        }
        
        /* Product Offers Expandable Order Form - Clean & Simple */
        .product-offers-order-form {
            margin-top: 20px;
            animation: slideDown 0.3s ease;
        }
        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .offers-form-container {
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        }
        .offers-form-header {
            text-align: center;
            margin-bottom: 16px;
        }
        .offers-form-header h4 {
            font-size: 1.1rem;
            font-weight: 600;
            margin: 0 0 8px 0;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }
        .selected-offer-summary {
            font-size: 0.85rem;
            opacity: 0.8;
            background: rgba(255,255,255,0.08);
            padding: 6px 12px;
            border-radius: 6px;
            display: inline-block;
        }
        .offers-order-form .form-group {
            margin-bottom: 12px;
        }
        .offers-order-form .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-bottom: 12px;
        }
        .offers-order-form .form-row > * { min-width: 0; box-sizing: border-box; }
        .offers-order-form .form-row .form-group { margin-bottom: 0; }
        .offers-order-form .form-group label {
            display: block;
            font-size: 0.85rem;
            margin-bottom: 4px;
            font-weight: 500;
            opacity: 0.9;
        }
        .offers-order-form .form-group label i {
            margin-left: 4px;
        }
        .offers-order-form .form-group label .required-badge {
            display: none;
        }
        .offers-order-form .form-group input,
        .offers-order-form .form-group select,
        .offers-order-form .form-group textarea {
            width: 100%;
            padding: 10px 12px;
            border-radius: 8px;
            border: 1px solid rgba(255,255,255,0.15);
            background: rgba(255,255,255,0.08);
            color: inherit;
            font-size: 1rem; /* ≥16px: prevents iOS focus auto-zoom */
            font-family: inherit;
            transition: all 0.2s;
        }
        .offers-order-form .form-group input::placeholder,
        .offers-order-form .form-group textarea::placeholder {
            color: rgba(255,255,255,0.4);
        }
        .offers-order-form .form-group input:focus,
        .offers-order-form .form-group select:focus,
        .offers-order-form .form-group textarea:focus {
            outline: none;
            border-color: #10b981;
            background: rgba(255,255,255,0.12);
        }
        .offers-order-form .form-group select option {
            background: #1f2937;
            color: white;
        }
        
        /* Delivery Type Options - Simple */
        .delivery-type-options {
            display: flex;
            gap: 8px;
        }
        .delivery-option {
            flex: 1;
            cursor: pointer;
        }
        .delivery-option input {
            display: none;
        }
        .delivery-option-content {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 8px 10px;
            border-radius: 8px;
            border: 1px solid rgba(255,255,255,0.15);
            background: rgba(255,255,255,0.06);
            transition: all 0.2s;
            text-align: center;
        }
        .delivery-option-content i {
            font-size: 0.95rem;
            opacity: 0.6;
        }
        .delivery-option-content span {
            font-size: 0.78rem;
        }
        .delivery-option-content .delivery-price {
            font-weight: 600;
            font-size: 0.72rem;
            color: #10b981;
        }
        .delivery-option.selected .delivery-option-content {
            border-color: #10b981;
            background: rgba(16, 185, 129, 0.1);
        }
        .delivery-option:hover .delivery-option-content {
            border-color: rgba(255,255,255,0.3);
        }
        
        /* Order Summary - Compact */
        .offers-order-summary {
            background: rgba(255,255,255,0.06);
            border-radius: 8px;
            padding: 12px;
            margin: 14px 0;
        }
        .offers-order-summary .summary-row {
            display: flex;
            justify-content: space-between;
            padding: 4px 0;
            font-size: 0.85rem;
            opacity: 0.9;
        }
        .offers-order-summary .summary-row.total {
            border-top: 1px solid rgba(255,255,255,0.1);
            margin-top: 6px;
            padding-top: 8px;
            font-weight: 600;
            font-size: 1rem;
            opacity: 1;
        }
        .offers-order-summary .summary-row.total span:last-child {
            color: #10b981;
        }
        
        /* Landing Page Delivery Type Options - Compact Pills */
        .lp-delivery-type-options {
            display: flex;
            gap: 8px;
        }
        .lp-delivery-option {
            flex: 1;
            cursor: pointer;
        }
        .lp-delivery-option input {
            display: none;
        }
        .lp-delivery-option-content {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 10px 12px;
            border-radius: 8px;
            border: 1.5px solid #e5e7eb;
            background: #fff;
            transition: all 0.2s;
            text-align: center;
        }
        .lp-delivery-option-content i {
            font-size: 0.95rem;
            color: #6b7280;
        }
        .lp-delivery-option-content span {
            font-size: 0.8rem;
            color: #374151;
        }
        .lp-delivery-option-content .lp-delivery-price {
            font-weight: 600;
            font-size: 0.75rem;
            color: #10b981;
        }
        .lp-delivery-option.selected .lp-delivery-option-content {
            border-color: #10b981;
            background: #ecfdf5;
        }
        .lp-delivery-option.selected .lp-delivery-option-content i {
            color: #10b981;
        }
        .lp-delivery-option:hover .lp-delivery-option-content {
            border-color: #d1d5db;
        }
        /* Dark theme for expandable form */
        .expand-delivery .lp-delivery-option-content {
            border-color: rgba(255,255,255,0.15);
            background: rgba(255,255,255,0.06);
        }
        .expand-delivery .lp-delivery-option-content i,
        .expand-delivery .lp-delivery-option-content span {
            color: rgba(255,255,255,0.75);
        }
        .expand-delivery .lp-delivery-option.selected .lp-delivery-option-content {
            border-color: #10b981;
            background: rgba(16, 185, 129, 0.12);
        }
        .expand-delivery .lp-delivery-option.selected .lp-delivery-option-content i,
        .expand-delivery .lp-delivery-option.selected .lp-delivery-option-content span {
            color: #10b981;
        }
        
        /* Submit Button - Clean */
        .offers-submit-btn {
            width: 100%;
            padding: 12px 16px;
            border-radius: 8px;
            border: none;
            font-size: 1rem;
            font-weight: 600;
            font-family: inherit;
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.2s;
        }
        .offers-submit-btn:hover {
            opacity: 0.9;
            transform: translateY(-1px);
        }
        .offers-submit-btn:active {
            transform: translateY(0);
        }
        .offers-submit-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }
        .offers-submit-btn i {
            font-size: 1.1rem;
        }
        
        /* Success Message */
        .offers-success-message {
            text-align: center;
            padding: 20px;
        }
        .offers-success-message i {
            font-size: 3rem;
            color: #10b981;
            margin-bottom: 10px;
            display: block;
        }
        .offers-success-message p {
            font-size: 1rem;
            margin: 0;
            opacity: 0.9;
        }
        
        /* Inline Form Styles - Form inside offer card */
        .offer-header-clickable {
            cursor: pointer;
        }
        .product-offer-card.selected {
            box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
        }
        .offer-inline-form {
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid rgba(0,0,0,0.1);
            animation: slideDown 0.3s ease;
        }
        .offer-inline-form .offers-order-form {
            padding: 16px;
            border-radius: 10px;
        }
        .offer-inline-form .form-group {
            margin-bottom: 12px;
        }
        .offer-inline-form .form-group label {
            display: block;
            font-size: 0.8rem;
            margin-bottom: 4px;
            font-weight: 500;
        }
        .offer-inline-form .form-group label i {
            margin-left: 4px;
        }
        .offer-inline-form .form-group input,
        .offer-inline-form .form-group select {
            width: 100%;
            padding: 10px;
            border-radius: 8px;
            border: 1px solid rgba(255,255,255,0.15);
            background: rgba(255,255,255,0.08);
            color: inherit;
            font-size: 0.9rem;
            font-family: inherit;
        }
        .offer-inline-form .form-group input:focus,
        .offer-inline-form .form-group select:focus {
            outline: none;
            border-color: #10b981;
        }
        .offer-inline-form .form-group select option {
            background: #1f2937;
            color: white;
        }
        .offer-inline-form .delivery-type-options {
            display: flex;
            gap: 8px;
        }
        .offer-inline-form .delivery-option {
            flex: 1;
            cursor: pointer;
        }
        .offer-inline-form .delivery-option input { display: none; }
        .offer-inline-form .delivery-option-content {
            padding: 8px;
            border-radius: 8px;
            border: 1px solid rgba(255,255,255,0.15);
            text-align: center;
            transition: all 0.2s;
        }
        .offer-inline-form .delivery-option-content i { font-size: 1rem; display: block; margin-bottom: 2px; }
        .offer-inline-form .delivery-option-content span { font-size: 0.75rem; display: block; }
        .offer-inline-form .delivery-option-content .delivery-price { color: #10b981; font-weight: 600; }
        .offer-inline-form .delivery-option.selected .delivery-option-content {
            border-color: #10b981;
            background: rgba(16, 185, 129, 0.1);
        }
        .inline-order-summary {
            background: rgba(255,255,255,0.05);
            border-radius: 8px;
            padding: 10px;
            margin: 12px 0;
        }
        .inline-order-summary .summary-line {
            display: flex;
            justify-content: space-between;
            font-size: 0.85rem;
            padding: 3px 0;
        }
        .inline-order-summary .summary-line.total {
            border-top: 1px solid rgba(255,255,255,0.1);
            margin-top: 6px;
            padding-top: 8px;
            font-weight: 600;
        }
        .inline-order-summary .summary-line.total span:last-child {
            color: #10b981;
        }
        .inline-submit-btn {
            width: 100%;
            padding: 12px;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-family: inherit;
            transition: opacity 0.2s;
        }
        .inline-submit-btn:hover { opacity: 0.9; }
        .inline-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
        .inline-success {
            text-align: center;
            padding: 20px;
            color: #10b981;
        }
        .inline-success i { font-size: 2.5rem; display: block; margin-bottom: 8px; }
        .inline-success span { font-size: 0.95rem; }
        .order-number-display {
            margin-top: 12px;
            padding: 10px 15px;
            background: rgba(16, 185, 129, 0.1);
            border-radius: 8px;
            font-size: 1rem;
            color: #059669;
        }
        
        @media (max-width: 640px) {
            .delivery-type-options {
                flex-direction: row;
            }
            .offers-form-container {
                padding: 16px;
                border-radius: 10px;
            }
        }
        
        /* ===== Custom Form Section ===== */
        .lp-custom-form {
            padding: 28px 20px;
        }
        .lp-custom-form h3 {
            text-align: center;
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 6px;
        }
        .lp-custom-form .cf-description {
            text-align: center;
            font-size: 0.9rem;
            opacity: 0.7;
            margin-bottom: 20px;
        }
        .lp-custom-form .cf-field-group {
            margin-bottom: 14px;
        }
        .lp-custom-form .cf-field-group label {
            display: block;
            font-size: 0.88rem;
            font-weight: 500;
            margin-bottom: 6px;
        }
        .lp-custom-form .cf-field-group label .required-star {
            color: #ef4444;
            margin-right: 2px;
        }
        .lp-custom-form input[type="text"],
        .lp-custom-form input[type="number"],
        .lp-custom-form input[type="email"],
        .lp-custom-form input[type="tel"],
        .lp-custom-form textarea,
        .lp-custom-form select {
            width: 100%;
            padding: 10px 14px;
            border: 1.5px solid #e5e7eb;
            border-radius: 10px;
            font-size: 1rem; /* ≥16px: prevents iOS focus auto-zoom */
            font-family: 'Cairo', sans-serif;
            transition: border-color 0.2s;
            background: #fff;
            color: #1f2937;
        }
        .lp-custom-form input:focus,
        .lp-custom-form textarea:focus,
        .lp-custom-form select:focus {
            outline: none;
            border-color: var(--cf-accent, #6366f1);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        }
        .lp-custom-form textarea {
            resize: vertical;
            min-height: 80px;
        }
        
        /* Image Select Grid */
        .cf-image-select-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
            gap: 10px;
        }
        .cf-image-option {
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            padding: 10px 6px 8px;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s;
            background: #fff;
        }
        .cf-image-option:hover {
            border-color: var(--cf-accent, #6366f1);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        }
        .cf-image-option.selected {
            border-color: var(--cf-accent, #6366f1);
            background: rgba(99, 102, 241, 0.05);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
        }
        .cf-image-option img {
            width: 56px;
            height: 56px;
            object-fit: contain;
            margin: 0 auto 6px;
            display: block;
            border-radius: 6px;
        }
        .cf-image-option .cf-opt-label {
            font-size: 0.78rem;
            color: #4b5563;
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .cf-image-option.selected .cf-opt-label {
            color: var(--cf-accent, #6366f1);
            font-weight: 600;
        }
        .cf-image-option .cf-check-icon {
            display: none;
            position: absolute;
            top: 4px;
            left: 4px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--cf-accent, #6366f1);
            color: #fff;
            font-size: 12px;
            line-height: 20px;
        }
        .cf-image-option.selected .cf-check-icon {
            display: block;
        }
        .cf-image-option {
            position: relative;
        }
        
        /* Custom form contact fields */
        .cf-contact-fields {
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid rgba(0,0,0,0.08);
        }
        .cf-contact-fields .cf-field-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }
        
        /* Submit button */
        .cf-submit-btn {
            display: block;
            width: 100%;
            padding: 14px;
            border: none;
            border-radius: 12px;
            font-size: 1.05rem;
            font-weight: 700;
            font-family: 'Cairo', sans-serif;
            cursor: pointer;
            transition: all 0.2s;
            margin-top: 18px;
        }
        .cf-submit-btn:hover {
            opacity: 0.9;
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.15);
        }
        .cf-submit-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }
        
        /* Custom form success */
        .cf-success-message {
            display: none;
            text-align: center;
            padding: 30px 20px;
        }
        .cf-success-message i {
            font-size: 3rem;
            color: #10b981;
            display: block;
            margin-bottom: 12px;
        }
        .cf-success-message span {
            font-size: 1.1rem;
            font-weight: 600;
            color: #10b981;
        }
        .cf-success-message .cf-order-num {
            display: block;
            margin-top: 8px;
            font-size: 0.9rem;
            color: #6b7280;
        }
        
        /* Phone error */
        .cf-phone-error {
            display: none;
            color: #ef4444;
            font-size: 0.8rem;
            margin-top: 4px;
        }
        
        /* ===== Image Upload Field (Formulaire Personnalisé) ===== */
        .cf-image-upload-wrapper {
            position: relative;
        }
        .cf-image-upload-area {
            border: 2px dashed #d1d5db;
            border-radius: 12px;
            padding: 28px 16px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            background: rgba(255,255,255,0.6);
        }
        .cf-image-upload-area:hover {
            border-color: var(--cf-accent, #6366f1);
            background: rgba(99, 102, 241, 0.04);
            transform: translateY(-1px);
        }
        .cf-image-upload-area.dragover {
            border-color: var(--cf-accent, #6366f1);
            background: rgba(99, 102, 241, 0.08);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
        }
        .cf-image-upload-area i {
            font-size: 2rem;
            color: #9ca3af;
            display: block;
            margin-bottom: 8px;
            transition: color 0.3s;
        }
        .cf-image-upload-area:hover i {
            color: var(--cf-accent, #6366f1);
        }
        .cf-image-upload-area .cf-upload-text {
            font-size: 0.9rem;
            color: #6b7280;
            font-weight: 500;
        }
        .cf-image-upload-area .cf-upload-hint {
            font-size: 0.75rem;
            color: #9ca3af;
            margin-top: 4px;
            display: block;
        }
        .cf-image-preview-box {
            display: none;
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            border: 2px solid #e5e7eb;
            background: #f9fafb;
        }
        .cf-image-preview-box img {
            width: 100%;
            max-height: 250px;
            object-fit: contain;
            display: block;
        }
        .cf-image-preview-box .cf-remove-image {
            position: absolute;
            top: 8px;
            left: 8px;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: rgba(239, 68, 68, 0.9);
            color: #fff;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            transition: all 0.2s;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        }
        .cf-image-preview-box .cf-remove-image:hover {
            background: #ef4444;
            transform: scale(1.1);
        }
        .cf-image-preview-box .cf-image-name {
            padding: 8px 12px;
            font-size: 0.8rem;
            color: #6b7280;
            background: #f3f4f6;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .cf-upload-error {
            display: none;
            color: #ef4444;
            font-size: 0.8rem;
            margin-top: 6px;
        }
        
        @media (max-width: 480px) {
            .cf-image-select-grid {
                grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
                gap: 8px;
            }
            .cf-image-option img {
                width: 44px;
                height: 44px;
            }
            .cf-contact-fields .cf-field-row {
                grid-template-columns: 1fr;
            }
            .cf-image-upload-area {
                padding: 20px 12px;
            }
            .cf-image-upload-area i {
                font-size: 1.6rem;
            }
        }
        
        /* ===== Landing Page Variant Selector ===== */
        .lp-variants-section { margin: 12px 0; }
        .lp-variant-group { margin-bottom: 12px; }
        .lp-variant-label { font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
        .lp-variant-label .required { color: #ef4444; }
        .lp-variant-selected-name { font-weight: 400; color: #6b7280; font-size: 0.85rem; }
        .lp-color-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
        .lp-color-swatch {
            width: 36px; height: 36px; border-radius: 50%; border: 2px solid #e5e7eb;
            cursor: pointer; position: relative; transition: all 0.2s; display: flex; align-items: center; justify-content: center;
            padding: 0; outline: none;
        }
        .lp-color-swatch:hover { transform: scale(1.1); }
        .lp-color-swatch.active { border-color: #111; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #111; }
        .lp-color-swatch .swatch-check { display: none; color: #fff; font-size: 14px; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
        .lp-color-swatch.active .swatch-check { display: flex; }
        .lp-color-swatch.sold-out { opacity: 0.35; cursor: not-allowed; }
        .lp-color-swatch.sold-out:hover { transform: none; }
        .lp-swatch-soldout-line {
            position: absolute;
            top: 50%;
            left: -2px;
            right: -2px;
            height: 2px;
            background: #ef4444;
            transform: rotate(-45deg);
            border-radius: 1px;
        }
        .lp-text-options { display: flex; flex-wrap: wrap; gap: 8px; }
        .lp-text-option {
            padding: 8px 16px; border: 2px solid #e5e7eb; border-radius: 8px; background: #fff;
            cursor: pointer; font-size: 0.85rem; transition: all 0.2s; display: flex; align-items: center; gap: 6px;
        }
        .lp-text-option:hover { border-color: #9ca3af; }
        .lp-text-option.active { border-color: #111; background: #f9fafb; font-weight: 600; }
        .lp-text-option.sold-out { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; border-color: #e5e7eb; background: #f3f4f6; }
        .lp-text-option.sold-out:hover { border-color: #e5e7eb; background: #f3f4f6; transform: none; }
        /* Soft "doesn't fit your current pick" — dimmed + muted grey slash but STILL
           clickable (clicking clears the conflicting other-group pick → no dead-end).
           Distinct from .sold-out (unclickable, red slash). */
        .lp-color-swatch.lp-variant-incompatible,
        .lp-text-option.lp-variant-incompatible,
        .lp-image-text-option.lp-variant-incompatible { opacity: 0.45; cursor: pointer; position: relative; }
        .lp-text-option.lp-variant-incompatible { text-decoration: line-through; }
        .lp-swatch-incompat-line {
            position: absolute; top: 50%; left: -2px; right: -2px; height: 2px;
            background: #9ca3af; transform: rotate(-45deg); border-radius: 1px; pointer-events: none;
        }
        .lp-text-option .option-price {
            display: inline-flex; align-items: center;
            font-size: 10.5px; font-weight: 700; line-height: 1;
            padding: 3px 8px; margin-inline-start: 6px;
            border-radius: 999px; background: #16a34a; color: #fff;
            white-space: nowrap; letter-spacing: 0.2px;
        }
        .lp-text-option .option-price.negative { background: #dc2626; color: #fff; }
        .lp-text-option.active .option-price { background: rgba(255,255,255,0.28); color: #fff; }
        .lp-variant-error { color: #ef4444; font-size: 0.8rem; display: none; margin-top: 4px; }

        /* ===== LP image_text variant (graceful no-thumb fallback) ===== */
        .lp-image-text-options { display: flex; flex-wrap: wrap; gap: 10px; }
        .lp-image-text-option {
            position: relative;
            min-height: 44px; padding: 10px 16px;
            border: 2px solid #e5e7eb; border-radius: 12px;
            background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
            color: #111827; cursor: pointer;
            font-size: 0.9rem; font-weight: 600;
            display: inline-flex; align-items: center; justify-content: center; gap: 6px;
            transition: border-color .2s, box-shadow .2s, transform .18s;
        }
        .lp-image-text-option:hover { border-color: #9ca3af; transform: translateY(-1px); }
        .lp-image-text-option.active {
            border-color: #111;
            background: #fff;
            box-shadow: 0 4px 14px rgba(0,0,0,0.1), 0 0 0 3px rgba(17,17,17,0.08);
        }
        .lp-image-text-option.sold-out {
            opacity: 0.4; cursor: not-allowed; text-decoration: line-through;
        }
        .lp-image-text-option .option-price {
            display: inline-flex; align-items: center;
            font-size: 10.5px; font-weight: 700; line-height: 1;
            padding: 3px 8px; margin-inline-start: 6px;
            border-radius: 999px; background: #16a34a; color: #fff;
            white-space: nowrap;
        }
        .lp-image-text-option .option-price.negative { background: #dc2626; }
        .expand-order-form .lp-image-text-option,
        .offers-order-form .lp-image-text-option {
            background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: inherit;
        }
        .expand-order-form .lp-image-text-option.active,
        .offers-order-form .lp-image-text-option.active {
            border-color: #fff; background: rgba(255,255,255,0.18); color: #fff;
        }
        
        /* Dark mode variant styles for expand form */
        .expand-order-form .lp-variant-label { color: inherit; }
        .expand-order-form .lp-color-swatch { border-color: rgba(255,255,255,0.2); }
        .expand-order-form .lp-color-swatch.active { border-color: #fff; box-shadow: 0 0 0 2px rgba(0,0,0,0.3), 0 0 0 4px #fff; }
        .expand-order-form .lp-text-option { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: inherit; }
        .expand-order-form .lp-text-option:hover { border-color: rgba(255,255,255,0.4); }
        .expand-order-form .lp-text-option.active { border-color: #fff; background: rgba(255,255,255,0.15); }
        .expand-order-form .lp-variant-selected-name { color: rgba(255,255,255,0.6); }
        
        /* Inline offer form variant styles */
        .offers-order-form .lp-variant-label { color: inherit; }
        .offers-order-form .lp-color-swatch { border-color: rgba(255,255,255,0.2); }
        .offers-order-form .lp-color-swatch.active { border-color: #fff; box-shadow: 0 0 0 2px rgba(0,0,0,0.3), 0 0 0 4px #fff; }
        .offers-order-form .lp-text-option { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: inherit; }
        .offers-order-form .lp-text-option:hover { border-color: rgba(255,255,255,0.4); }
        .offers-order-form .lp-text-option.active { border-color: #fff; background: rgba(255,255,255,0.15); }
        
        /* ===== Fast Checkout Animations ===== */
        /* Sequential field guide - active field nudge */
        .lp-fc-guide .fc-guide-active input,
        .lp-fc-guide .fc-guide-active select {
            border-color: #f59e0b !important;
            background: #fff !important;
            box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12) !important;
            animation: lpFcNudge 2.4s ease-in-out infinite;
        }
        /* Completed field - green border */
        .lp-fc-guide .fc-guide-done input,
        .lp-fc-guide .fc-guide-done select {
            border-color: #22c55e !important;
            background: #f0fdf4 !important;
            animation: none !important;
            box-shadow: none !important;
        }
        @keyframes lpFcNudge {
            0%, 100% { transform: translateX(0); box-shadow: 0 0 0 3px rgba(245,158,11,0.08); }
            20% { transform: translateX(-2px); }
            40% { transform: translateX(2px); }
            60% { transform: translateX(-1.5px); }
            70% { transform: translateX(1px); }
            80% { transform: translateX(0); box-shadow: 0 0 0 5px rgba(245,158,11,0.14); }
        }
        /* Error shake */
        .lp-fc-guide .fc-error input,
        .lp-fc-guide .fc-error select { border-color: #ef4444 !important; background: #fef2f2 !important; animation: lpFcShake 0.4s ease-in-out !important; }
        @keyframes lpFcShake {
            0%, 100% { transform: translateX(0); }
            20%, 60% { transform: translateX(-5px); }
            40%, 80% { transform: translateX(5px); }
        }
        /* Submit button pulse + shine when ready */
        .lp-fc-guide .fc-btn-ready {
            position: relative; overflow: hidden;
            will-change: transform, box-shadow;
            animation: lpFcPulse 3s cubic-bezier(0.4,0,0.2,1) infinite !important;
        }
        .lp-fc-guide .fc-btn-ready::after {
            content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%);
            transform: translateX(-100%); will-change: transform;
            animation: lpFcShine 3s cubic-bezier(0.4,0,0.2,1) infinite;
        }
        .lp-fc-guide .fc-btn-ready:hover { animation: none !important; transform: translateY(-2px); }
        .lp-fc-guide .fc-btn-ready:hover::after { animation: none; transform: translateX(100%); }
        @keyframes lpFcPulse {
            0%, 100% { transform: scale(1); box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
            50% { transform: scale(1.02); box-shadow: 0 4px 18px rgba(0,0,0,0.22); }
        }
        @keyframes lpFcShine {
            0%, 40% { transform: translateX(-100%); }
            60%, 100% { transform: translateX(100%); }
        }
        /* Dark mode (expand form) overrides for guide */
        .expand-order-form .fc-guide-active input,
        .expand-order-form .fc-guide-active select {
            border-color: #f59e0b !important;
            background: rgba(255,255,255,0.95) !important;
            color: #333 !important;
            box-shadow: 0 0 0 3px rgba(245,158,11,0.25) !important;
        }
        .expand-order-form .fc-guide-done input,
        .expand-order-form .fc-guide-done select {
            border-color: #22c55e !important;
            background: rgba(220,252,231,0.95) !important;
            color: #333 !important;
        }
        /* iOS double-tap guard: transform-on-hover eats the first tap on touch
           devices (Instagram/Facebook in-app browsers, Safari). Neutralize the
           lift/scale hovers on tappable targets; color/shadow hovers stay. */
        @media (hover: none) and (pointer: coarse) {
            .lp-order-form .btn-submit:hover,
            .lp-order-button a.order-link:hover,
            .lp-contact-button a:hover,
            .lp-product-offers .product-offer-card.hover-lift:hover,
            .lp-product-offers .product-offer-card.hover-scale:hover,
            .lp-color-swatch:hover,
            .lp-image-text-option:hover { transform: none !important; }
        }
