/**
 * Algeria Woo Pack Pro — Stylesheet
 *
 * Covers:
 *  - Admin settings page (tabs, cards, toggle switches).
 *  - Frontend checkout styles (wilaya/baladiya dropdowns).
 *  - Variation swatches (color circles, label squares).
 *  - Testimonials slider.
 *  - Trust badges.
 *  - FAQ accordion.
 *  - Floating WhatsApp button.
 *  - Thank You page WhatsApp CTA.
 *
 * @package AlgeriaWooPack
 */

/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */

:root {
    --awp-green:       #25D366;  /* WhatsApp green */
    --awp-green-dark:  #1DA851;
    --awp-primary:     #1a5276;
    --awp-accent:      #e67e22;
    --awp-radius:      6px;
    --awp-shadow:      0 2px 8px rgba(0, 0, 0, 0.10);
    --awp-font:        -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   ADMIN — SETTINGS PAGE
   ========================================================================== */

.awp-settings-wrap {
    font-family: var(--awp-font);
    max-width: 900px;
}

.awp-settings-wrap h1 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.awp-version {
    font-size: 13px;
    font-weight: 400;
    color: #888;
    background: #f0f0f1;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Tab Navigation */
.awp-tab-nav {
    margin-bottom: 0 !important;
}

/* Settings Cards */
.awp-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: var(--awp-radius);
    padding: 20px 24px;
    margin-bottom: 20px;
    box-shadow: var(--awp-shadow);
}

.awp-card h2 {
    margin-top: 0;
    font-size: 16px;
    color: var(--awp-primary);
    border-bottom: 2px solid var(--awp-accent);
    padding-bottom: 8px;
    display: inline-block;
}

/* REST Endpoint Display */
.awp-endpoint-display {
    display: block;
    background: #f4f4f4;
    padding: 10px 14px;
    border-radius: var(--awp-radius);
    font-size: 13px;
    word-break: break-all;
    margin-top: 8px;
}

/* Webhook Test Button */
.awp-btn-test-webhook {
    margin-left: 8px !important;
}

.awp-webhook-status {
    margin-left: 10px;
    font-size: 13px;
    font-weight: 500;
}

/* Meta Box */
.awp-meta-box-wrap .awp-meta-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.awp-meta-box-wrap .awp-meta-section:last-child {
    border-bottom: none;
}
.awp-meta-box-wrap h4 {
    margin: 0 0 6px;
    color: var(--awp-primary);
}

.awp-line-count {
    display: block;
    color: #888;
    font-size: 12px;
    margin-top: 4px;
}

/* Per-product feature override table */
.awp-feature-overrides {
    background: #f8fafd;
    padding: 14px 16px;
    border-radius: var(--awp-radius);
    border-left: 4px solid var(--awp-primary);
}
.awp-feature-overrides h4 {
    color: var(--awp-primary);
}
.awp-feature-table {
    margin-top: 10px;
    border-collapse: collapse;
}
.awp-feature-table th,
.awp-feature-table td {
    padding: 8px 10px;
    vertical-align: middle;
}
.awp-feature-table tbody tr:nth-child(odd) td {
    background: #fff;
}
.awp-feature-table label {
    cursor: pointer;
    font-size: 13px;
}

/* ==========================================================================
   ADMIN — TOGGLE SWITCH
   ========================================================================== */

.awp-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    width: 46px;
    height: 26px;
}

.awp-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.awp-toggle-slider {
    position: absolute;
    inset: 0;
    background-color: #ccc;
    border-radius: 34px;
    transition: background-color 0.25s ease;
}

.awp-toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.awp-toggle input:checked + .awp-toggle-slider {
    background-color: var(--awp-green);
}

.awp-toggle input:checked + .awp-toggle-slider::before {
    transform: translateX(20px);
}

.awp-toggle-animate .awp-toggle-slider::before {
    box-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* ==========================================================================
   FRONTEND — DESIGN TOKENS (Golden Shade theme)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;600;700;900&display=swap');

:root {
    --awp-fe-gold:    #dcae1d;
    --awp-fe-gold-bg: #fffdf5;
    --awp-fe-ink:     #111111;
    --awp-fe-muted:   #555555;
    --awp-fe-line:    #e1e1e1;
    --awp-fe-soft:    #fafafa;
    --awp-fe-radius:  12px;
    --awp-fe-radius-sm: 8px;
    --awp-fe-shadow-sm: 0 4px 10px rgba(0,0,0,0.05);
    --awp-fe-shadow-md: 0 8px 20px rgba(0,0,0,0.08);
    --awp-fe-shadow-lg: 0 10px 30px rgba(0,0,0,0.10);
    --awp-fe-font: 'Tajawal', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
}

/* Shared attention-pulse animation */
@keyframes awp-attention-pulse {
    0%   { transform: scale(1);    box-shadow: 0 5px 15px rgba(17,17,17,0.20); }
    50%  { transform: scale(1.02); box-shadow: 0 8px 25px rgba(220,174,29,0.50); }
    100% { transform: scale(1);    box-shadow: 0 5px 15px rgba(17,17,17,0.20); }
}

/* RTL/LTR-safe number direction helper (used inline if desired) */
.awp-num-ltr {
    direction: ltr;
    display: inline-block;
    unicode-bidi: plaintext;
}

/* Apply Tajawal across all plugin frontend wrappers */
.awp-swatches,
.awp-testimonials-wrap,
.awp-trust-badges-wrap,
.awp-faq-wrap,
.awp-one-page-checkout,
.awp-wilaya-select,
.awp-baladiya-select {
    font-family: var(--awp-fe-font);
}

/* ==========================================================================
   FRONTEND — WILAYA / BALADIYA DROPDOWNS
   ========================================================================== */

.awp-wilaya-select select,
.awp-baladiya-select select {
    width: 100%;
    height: 56px;
    padding: 0 15px;
    border: 2px solid var(--awp-fe-line);
    border-radius: var(--awp-fe-radius-sm);
    font-family: var(--awp-fe-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--awp-fe-ink);
    background: #fff;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.awp-wilaya-select select:focus,
.awp-baladiya-select select:focus {
    border-color: var(--awp-fe-gold);
    outline: none;
    box-shadow: 0 0 8px rgba(220,174,29,0.20);
}

.awp-baladiya-select select:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: var(--awp-fe-soft);
}

/* ==========================================================================
   FRONTEND — VARIATION SWATCHES (image / color circles)
   ========================================================================== */

.awp-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 14px 0 22px;
    justify-content: flex-start;
}

/* v1.6.4.2 — Unified circular swatches (color + label/size) matching the
   reference design: solid color circles for color attrs, white circles
   with the letter/label centered for sizes/materials. Selected state =
   thick dark outline (no gold check badge). */
.awp-color-swatches .awp-swatch,
.awp-label-swatches .awp-swatch {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: #fff;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    font-family: var(--awp-fe-font, inherit);
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    transition: border-color .2s, transform .15s, box-shadow .2s, background-color .2s;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    box-sizing: border-box;
}

/* Color circles — hide any text fallback so the fill shows clean. */
.awp-color-swatches .awp-swatch {
    overflow: hidden;
    text-indent: -9999px;
    color: transparent;
    background-color: #f3f4f6;
}
.awp-color-swatches.awp-image-swatches .awp-swatch { background-color: #fff; }

/* Hover: subtle dark border lift (no gold). */
.awp-color-swatches .awp-swatch:hover,
.awp-label-swatches .awp-swatch:hover {
    border-color: #9ca3af;
}

/* Selected: thick dark outline ring, scaled slightly. */
.awp-color-swatches .awp-swatch.awp-swatch-selected,
.awp-label-swatches .awp-swatch.awp-swatch-selected {
    border-color: #111827;
    border-width: 3px;
    transform: scale(1.04);
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
}

/* v1.7.5.1 — Per-attribute swatch shape (circle / square / rounded / rectangle)
   and size (small / medium / large). Set in Swatches admin or per-product.

   Important: text/label swatches must auto-grow horizontally so labels like
   "Garantie 10 Ans" or "Medium" don't spill outside the swatch. Color and
   image swatches keep fixed square/circle dimensions. */

/* --- SHAPES --- */
.awp-swatches.awp-swatch-shape-circle    .awp-swatch { border-radius: 50%; }
.awp-swatches.awp-swatch-shape-square    .awp-swatch { border-radius: 0; }
.awp-swatches.awp-swatch-shape-rounded   .awp-swatch { border-radius: 10px; }
.awp-swatches.awp-swatch-shape-rectangle .awp-swatch { border-radius: 999px; }

/* --- SIZES — applies to COLOR / IMAGE swatches only (fixed dimensions). --- */
.awp-color-swatches.awp-swatch-size-small  .awp-swatch { width: 36px; height: 36px; font-size: 12px; }
.awp-color-swatches.awp-swatch-size-medium .awp-swatch { width: 48px; height: 48px; font-size: 14px; }
.awp-color-swatches.awp-swatch-size-large  .awp-swatch { width: 64px; height: 64px; font-size: 16px; }

/* Rectangle for color/image: stretch horizontally a bit, keep height fixed. */
.awp-color-swatches.awp-swatch-shape-rectangle .awp-swatch { border-radius: 8px; }
.awp-color-swatches.awp-swatch-shape-rectangle.awp-swatch-size-small  .awp-swatch { width: 64px; height: 36px; }
.awp-color-swatches.awp-swatch-shape-rectangle.awp-swatch-size-medium .awp-swatch { width: 84px; height: 44px; }
.awp-color-swatches.awp-swatch-shape-rectangle.awp-swatch-size-large  .awp-swatch { width: 110px; height: 56px; }

/* --- SIZES — LABEL/TEXT swatches: auto-width with min-width + horizontal
       padding so multi-character labels always fit inside the shape. --- */
.awp-label-swatches .awp-swatch {
    width: auto;
    min-width: 44px;
    padding: 0 14px;
    text-indent: 0;
    color: #111827;
    overflow: visible;
    white-space: nowrap;
}
.awp-label-swatches.awp-swatch-size-small  .awp-swatch { height: 32px; min-width: 36px; padding: 0 10px; font-size: 12px; }
.awp-label-swatches.awp-swatch-size-medium .awp-swatch { height: 40px; min-width: 44px; padding: 0 14px; font-size: 13px; }
.awp-label-swatches.awp-swatch-size-large  .awp-swatch { height: 52px; min-width: 56px; padding: 0 18px; font-size: 15px; }

/* v1.7.6.1 — Label/text swatches are ALWAYS pill-shaped and auto-width
   regardless of the per-attribute shape config (which only makes sense
   for color/image swatches). The `!important`s are deliberate: they
   guarantee long labels like "120*190" or "Garantie 10 Ans" never spill
   outside the swatch, even on themes that inject their own span sizing. */
.awp-label-swatches .awp-swatch,
.awp-label-swatches.awp-swatch-shape-circle  .awp-swatch,
.awp-label-swatches.awp-swatch-shape-square  .awp-swatch,
.awp-label-swatches.awp-swatch-shape-rounded .awp-swatch,
.awp-label-swatches.awp-swatch-shape-rectangle .awp-swatch {
    width: auto !important;
    height: auto !important;
    aspect-ratio: auto !important;
    border-radius: 999px !important;
    white-space: nowrap;
    overflow: visible;
    text-indent: 0;
    color: #111827;
    line-height: 1.2;
}
.awp-label-swatches .awp-swatch                                 { min-height: 40px; padding: 8px 14px !important; font-size: 13px; min-width: 44px; }
.awp-label-swatches.awp-swatch-size-small  .awp-swatch          { min-height: 36px; padding: 6px 12px !important; font-size: 12px; min-width: 40px; }
.awp-label-swatches.awp-swatch-size-medium .awp-swatch          { min-height: 40px; padding: 8px 14px !important; font-size: 13px; min-width: 44px; }
.awp-label-swatches.awp-swatch-size-large  .awp-swatch          { min-height: 48px; padding: 10px 18px !important; font-size: 15px; min-width: 56px; }

/* v1.7.6.0 — Mobile / phone friendly swatches.
   Touch targets must be at least 40px tall. Wrap across multiple lines
   instead of horizontal-scrolling, and tighten the gap. */
.awp-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    max-width: 100%;
    overflow: visible;
}
.awp-swatch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
}
@media (max-width: 600px) {
    .awp-swatches { gap: 8px; }
    /* Bump every swatch up to a comfortable touch target on phones. */
    .awp-color-swatches.awp-swatch-size-small  .awp-swatch { width: 40px; height: 40px; font-size: 12px; }
    .awp-color-swatches.awp-swatch-size-medium .awp-swatch { width: 44px; height: 44px; font-size: 13px; }
    .awp-color-swatches.awp-swatch-size-large  .awp-swatch { width: 56px; height: 56px; font-size: 15px; }
    .awp-color-swatches.awp-swatch-shape-rectangle.awp-swatch-size-small  .awp-swatch { width: 60px; height: 40px; }
    .awp-color-swatches.awp-swatch-shape-rectangle.awp-swatch-size-medium .awp-swatch { width: 76px; height: 44px; }
    .awp-color-swatches.awp-swatch-shape-rectangle.awp-swatch-size-large  .awp-swatch { width: 96px; height: 52px; }
    .awp-label-swatches.awp-swatch-size-small  .awp-swatch { min-height: 40px; padding: 8px 12px !important; font-size: 13px; }
    .awp-label-swatches.awp-swatch-size-medium .awp-swatch { min-height: 44px; padding: 9px 14px !important; font-size: 14px; }
    .awp-label-swatches.awp-swatch-size-large  .awp-swatch { min-height: 48px; padding: 11px 16px !important; font-size: 15px; }
}
@media (max-width: 380px) {
    .awp-swatches { gap: 6px; }
}

/* ==========================================================================
   FRONTEND — TESTIMONIALS SLIDER
   ========================================================================== */

.awp-testimonials-wrap {
    margin: 30px 0;
    padding: 28px 22px;
    background: #fff;
    border: 1px solid var(--awp-fe-line);
    border-top: 4px solid var(--awp-fe-gold);
    border-radius: var(--awp-fe-radius);
    box-shadow: var(--awp-fe-shadow-md);
    text-align: center;
}

.awp-testimonials-wrap h3 {
    margin: 0 0 18px;
    font-family: var(--awp-fe-font);
    font-size: 22px;
    font-weight: 900;
    color: var(--awp-fe-ink);
    letter-spacing: -0.2px;
}

.awp-testimonials-wrap h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--awp-fe-gold);
    border-radius: 2px;
    margin: 10px auto 0;
}

.awp-testimonials-slider {
    position: relative;
    min-height: 110px;
}

.awp-testimonial-text {
    font-size: 17px;
    font-style: normal;
    color: var(--awp-fe-muted);
    margin: 0 0 12px;
    line-height: 1.8;
    font-weight: 400;
}

.awp-testimonial-text::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 48px;
    color: var(--awp-fe-gold);
    line-height: 0;
    vertical-align: -18px;
    margin-right: 6px;
    margin-left: 6px;
    font-weight: 700;
}

.awp-testimonial-author {
    font-size: 15px;
    font-weight: 700;
    color: var(--awp-fe-ink);
    font-style: normal;
}

.awp-testimonial-author::before {
    content: '— ';
    color: var(--awp-fe-gold);
}

/* ==========================================================================
   FRONTEND — TRUST BADGES
   ========================================================================== */

.awp-trust-badges-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
    justify-content: center;
    padding: 18px;
    background: var(--awp-fe-soft);
    border: 1px dashed var(--awp-fe-gold);
    border-radius: var(--awp-fe-radius);
}

.awp-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 2px solid var(--awp-fe-line);
    color: var(--awp-fe-ink);
    border-radius: 30px;
    padding: 10px 18px;
    font-family: var(--awp-fe-font);
    font-size: 14px;
    font-weight: 700;
    box-shadow: var(--awp-fe-shadow-sm);
    transition: border-color 0.2s, transform 0.2s;
}

.awp-trust-badge:hover {
    border-color: var(--awp-fe-gold);
    transform: translateY(-1px);
}

.awp-badge-icon {
    font-size: 16px;
    color: var(--awp-fe-gold);
}

/* ==========================================================================
   FRONTEND — FAQ ACCORDION
   ========================================================================== */

.awp-faq-wrap {
    margin: 30px 0;
    padding: 28px 22px;
    background: #fff;
    border: 1px solid var(--awp-fe-line);
    border-radius: var(--awp-fe-radius);
    box-shadow: var(--awp-fe-shadow-md);
}

.awp-faq-wrap h3 {
    margin: 0 0 18px;
    font-family: var(--awp-fe-font);
    font-size: 22px;
    font-weight: 900;
    color: var(--awp-fe-ink);
    text-align: center;
}

.awp-faq-wrap h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--awp-fe-gold);
    border-radius: 2px;
    margin: 10px auto 0;
}

.awp-faq-list {
    border: 0;
    border-radius: var(--awp-fe-radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.awp-faq-item {
    border: 2px solid var(--awp-fe-line);
    border-radius: var(--awp-fe-radius-sm);
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.awp-faq-item:last-child {
    border-bottom: 2px solid var(--awp-fe-line);
}

.awp-faq-question {
    width: 100%;
    text-align: inherit;
    background: #fff;
    border: none;
    padding: 18px 20px;
    font-family: var(--awp-fe-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--awp-fe-ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: background 0.2s, color 0.2s;
}

.awp-faq-question:hover {
    background: var(--awp-fe-gold-bg);
}

.awp-faq-item:has(.awp-faq-question[aria-expanded="true"]) {
    border-color: var(--awp-fe-gold);
    box-shadow: 0 4px 10px rgba(220,174,29,0.10);
}

.awp-faq-question[aria-expanded="true"] {
    background: var(--awp-fe-gold-bg);
    color: var(--awp-fe-ink);
}

.awp-faq-icon {
    font-size: 22px;
    line-height: 1;
    font-style: normal;
    color: var(--awp-fe-gold);
    font-weight: 900;
    flex-shrink: 0;
    transition: transform 0.25s;
}

.awp-faq-question[aria-expanded="true"] .awp-faq-icon {
    transform: rotate(45deg);
}

.awp-faq-answer {
    padding: 4px 20px 18px;
    font-family: var(--awp-fe-font);
    font-size: 15px;
    color: var(--awp-fe-muted);
    line-height: 1.8;
    background: var(--awp-fe-gold-bg);
    border-top: 1px dashed #f0e0a8;
}

/* ==========================================================================
   FRONTEND — FLOATING WHATSAPP BUTTON
   ========================================================================== */

.awp-floating-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    background-color: var(--awp-green);
    border-radius: 50%;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.awp-floating-whatsapp:hover {
    background-color: var(--awp-green-dark);
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Pulse animation to attract attention */
@keyframes awp-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
    70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.awp-floating-whatsapp {
    animation: awp-pulse 2.5s infinite;
}

.awp-floating-whatsapp:hover {
    animation: none;
}

/* ==========================================================================
   FRONTEND — THANK YOU PAGE WHATSAPP BUTTON
   ========================================================================== */

.awp-thankyou-whatsapp {
    margin: 24px 0;
    text-align: center;
}

.awp-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--awp-green);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--awp-radius);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.15s;
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.40);
}

.awp-btn-whatsapp::before {
    /* WhatsApp icon via unicode */
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347z'/%3E%3Cpath d='M12 0C5.373 0 0 5.373 0 12c0 2.123.558 4.116 1.532 5.845L.057 23.776l6.064-1.453A11.944 11.944 0 0012 24c6.627 0 12-5.373 12-12S18.627 0 12 0zm0 22c-1.885 0-3.655-.51-5.176-1.396l-.371-.22-3.601.863.913-3.523-.242-.383A9.944 9.944 0 012 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10z'/%3E%3C/svg%3E") no-repeat center/contain;
}

.awp-btn-whatsapp:hover {
    background-color: var(--awp-green-dark);
    transform: translateY(-2px);
    color: #fff;
}

/* ==========================================================================
   FRONTEND — ONE-PAGE CHECKOUT EMBED
   ========================================================================== */

.awp-one-page-checkout {
    margin-top: 30px;
    padding: 28px 22px;
    background: var(--awp-fe-soft);
    border: 1px solid var(--awp-fe-line);
    border-top: 4px solid var(--awp-fe-gold);
    border-radius: var(--awp-fe-radius);
    box-shadow: var(--awp-fe-shadow-md);
    font-family: var(--awp-fe-font);
}

.awp-one-page-checkout h3 {
    margin: 0 0 18px;
    text-align: center;
    color: var(--awp-fe-ink);
    font-family: var(--awp-fe-font);
    font-size: 22px;
    font-weight: 900;
}

.awp-one-page-checkout h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--awp-fe-gold);
    border-radius: 2px;
    margin: 10px auto 0;
}

/* Make WooCommerce checkout buttons inside the embed match the gold/black CTA */
.awp-one-page-checkout #place_order,
.awp-one-page-checkout button[type="submit"] {
    width: 100%;
    background: var(--awp-fe-ink);
    color: #fff;
    padding: 18px;
    border: none;
    border-radius: var(--awp-fe-radius-sm);
    font-family: var(--awp-fe-font);
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    margin-top: 12px;
    transition: background 0.3s, transform 0.2s;
    animation: awp-attention-pulse 2.5s infinite ease-in-out;
}

.awp-one-page-checkout #place_order:hover,
.awp-one-page-checkout button[type="submit"]:hover {
    background: #333;
    animation: none;
    transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 600px) {

    .awp-floating-whatsapp {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
    }

    .awp-btn-whatsapp {
        width: 100%;
        justify-content: center;
        font-size: 15px;
    }

    .awp-trust-badges-wrap {
        flex-direction: column;
    }

    .awp-color-swatches .awp-swatch {
        width: 60px;
        height: 60px;
        border-width: 2px;
    }

    .awp-testimonials-wrap h3,
    .awp-faq-wrap h3,
    .awp-one-page-checkout h3 {
        font-size: 19px;
    }

    .awp-testimonial-text {
        font-size: 15px;
    }

    .awp-faq-question {
        font-size: 15px;
        padding: 16px;
    }
}

/* ============================================================
 * SECTION CUSTOMIZATION (banner + subtitle shared styles)
 * ============================================================ */
.awp-section-banner {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 auto 14px;
}
.awp-section-subtitle {
    text-align: center;
    color: #555;
    font-size: 15px;
    margin: -4px 0 18px;
}
.awp-section-heading {
    text-align: center;
    margin: 0 0 8px;
    font-family: Tajawal, sans-serif;
    color: #222;
}

/* ============================================================
 * ONE-PAGE CHECKOUT — LANDING FORM
 * ============================================================ */
body.awp-landing-mode .product .summary {
    /* Give the landing form room. */
    padding-bottom: 0;
}
.awp-landing-form-wrap {
    margin: 18px 0 28px;
}
.awp-landing-form {
    background: #fffdf6;
    border: 2px solid #dcae1d;
    border-radius: 14px;
    padding: 22px 22px 18px;
    box-shadow: 0 8px 24px rgba(220, 174, 29, 0.12);
    font-family: Tajawal, "Segoe UI", sans-serif;
}
.awp-lf-title {
    margin: 0 0 4px;
    font-size: 22px;
    color: #1f1f1f;
    text-align: center;
}
.awp-lf-subtitle {
    margin: 0 0 18px;
    text-align: center;
    color: #6b6b6b;
    font-size: 14px;
}
.awp-lf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.awp-lf-field {
    margin-bottom: 10px;
}
.awp-lf-input,
.awp-landing-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d8d3c2;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
}
.awp-lf-input:focus,
.awp-landing-form select:focus {
    outline: none;
    border-color: #dcae1d;
    box-shadow: 0 0 0 3px rgba(220, 174, 29, 0.18);
}
.awp-lf-section-label {
    display: block;
    font-weight: 600;
    color: #444;
    margin: 6px 0 8px;
    font-size: 14px;
}
.awp-lf-shipping {
    margin: 14px 0 6px;
    padding: 12px;
    background: #fff;
    border: 1px solid #eadfb6;
    border-radius: 10px;
}
.awp-lf-ship-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 6px;
    transition: background .15s, border-color .15s;
}
.awp-lf-ship-option:hover { background: #fbf6e3; }
.awp-lf-ship-option.is-active {
    border-color: #dcae1d;
    background: #fff8df;
}
.awp-lf-ship-option input[type="radio"] { display: none; }
.awp-lf-ship-radio {
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 2px solid #c8c8c8;
    background: #fff;
    flex-shrink: 0;
    position: relative;
}
.awp-lf-ship-option.is-active .awp-lf-ship-radio {
    border-color: #dcae1d;
    background: radial-gradient(circle, #dcae1d 0 6px, #fff 7px);
}
.awp-lf-ship-label { flex: 1; color: #333; }
.awp-lf-ship-price { font-weight: 600; color: #b8860b; }
.awp-lf-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 14px 0 12px;
}
.awp-lf-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d8d3c2;
    border-radius: 8px;
    overflow: hidden;
}
.awp-lf-qty-btn {
    width: 38px;
    height: 38px;
    background: #faf6e6;
    border: none;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}
.awp-lf-qty-btn:hover { background: #f0e6bf; }
.awp-lf-qty-input {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid #d8d3c2;
    border-right: 1px solid #d8d3c2;
    height: 38px;
    font-size: 15px;
}
.awp-lf-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    background: #fff8df;
    border-radius: 10px;
    padding: 12px 14px;
    margin: 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
.awp-lf-total-amount {
    font-size: 22px;
    color: #b8860b;
}
.awp-lf-btn {
    width: 100%;
    background: linear-gradient(180deg, #f1c333 0%, #dcae1d 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 10px;
    padding: 16px 18px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(220, 174, 29, 0.35);
    animation: awp-attention-pulse 2.4s ease-in-out infinite;
    transition: transform .1s;
}
.awp-lf-btn:hover  { transform: translateY(-1px); }
.awp-lf-btn:active { transform: translateY(0); }
.awp-lf-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
    animation: none;
}
.awp-lf-status {
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    min-height: 20px;
}
.awp-lf-status.is-error   { color: #c0392b; }
.awp-lf-status.is-success { color: #2e7d32; }

@media (max-width: 600px) {
    .awp-lf-row { grid-template-columns: 1fr; }
    .awp-lf-title { font-size: 19px; }
    .awp-lf-total-amount { font-size: 19px; }
}

/* ============================================================
 * ADMIN — Image Picker (product meta box)
 * ============================================================ */
.awp-image-picker {
    margin: 8px 0 14px;
}
.awp-image-picker .awp-image-preview {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    min-width: 0;
}
.awp-image-picker .awp-image-preview img {
    max-width: 80px;
    max-height: 80px;
    border-radius: 6px;
    border: 1px solid #ddd;
    vertical-align: middle;
}
.awp-image-picker .awp-image-pick {
    vertical-align: middle;
}
.awp-image-picker .awp-image-remove {
    margin-left: 8px;
    color: #c0392b;
    text-decoration: none;
    vertical-align: middle;
}
.awp-meta-section--opc {
    background: #fffaf0;
    border-left: 4px solid #dcae1d;
    padding: 14px 16px;
    border-radius: 6px;
    margin-top: 18px;
}

/* =====================================================================
 * v1.4.0 — Belt-and-suspenders kill switch for default WooCommerce CTA
 * ===================================================================== */
body.awp-landing-mode form.cart,
body.awp-landing-mode .single_add_to_cart_button,
body.awp-landing-mode .quantity:not(.awp-lf-qty),
body.awp-landing-mode .product_meta,
body.awp-landing-mode .woocommerce-variation-add-to-cart {
    display: none !important;
}

/* =====================================================================
 * v1.4.0 — RTL support for Arabic
 * ===================================================================== */
.awp-landing-form-wrap.awp-rtl,
.awp-landing-form-wrap[dir="rtl"] {
    direction: rtl;
    text-align: right;
}
.awp-landing-form-wrap.awp-rtl .awp-lf-input,
.awp-landing-form-wrap.awp-rtl select {
    text-align: right;
}

/* =====================================================================
 * v1.4.0 — Cross-sell add-on checkboxes inside the order form
 * ===================================================================== */
.awp-cross-sell-block {
    margin: 14px 0 8px;
    padding: 12px;
    border: 1px dashed #d4af37;
    border-radius: 8px;
    background: #fffdf5;
}
.awp-cross-sell-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 6px;
}
.awp-cross-sell-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid #e6dcb8;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.awp-cross-sell-item.is-checked {
    border-color: #d4af37;
    background: #fff8e1;
}
.awp-cross-sell-item .awp-cs-thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 4px;
}
.awp-cross-sell-item .awp-cs-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.awp-cross-sell-item .awp-cs-name { font-weight: 600; font-size: 14px; }
.awp-cross-sell-item .awp-cs-price { font-size: 13px; color: #8a6d1c; }

/* =====================================================================
 * v1.4.0 — Upsell / Downsell banners around the order form
 * ===================================================================== */
.awp-upsell-banner,
.awp-downsell-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin: 0 0 14px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: transform .15s, box-shadow .15s;
}
.awp-upsell-banner   { background: linear-gradient(135deg,#fff8d9,#ffe69c); border:1px solid #d4af37; }
.awp-downsell-banner { background: #f5f5f5; border:1px solid #ccc; margin: 14px 0 0; }
.awp-upsell-banner:hover,
.awp-downsell-banner:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.awp-upsell-banner img,
.awp-downsell-banner img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.awp-upd-body { display: flex; flex-direction: column; flex: 1; }
.awp-upd-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #8a6d1c;
    font-weight: 700;
}
.awp-upd-name  { font-size: 15px; font-weight: 600; }
.awp-upd-price { font-size: 14px; color: #555; }

/* =====================================================================
 * v1.4.0 — Image testimonials (customer photo with the quote)
 * ===================================================================== */
.awp-testimonial-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
    display: block;
    border: 2px solid #d4af37;
}
.awp-testimonial-slide.has-photo { text-align: center; }

/* ============================================================================
 * v1.5.0 — Announcement bar / Sticky CTA / Best Seller / Gift / Inline WA
 * ==========================================================================*/

/* --- Announcement bar (top of every page) --- */
.awp-announce-bar {
    display: flex; align-items: center; justify-content: center;
    gap: 12px; padding: 9px 44px 9px 16px;
    color: #fff; font-size: 14px; font-weight: 500;
    text-align: center; text-decoration: none;
    position: relative; line-height: 1.3;
}
a.awp-announce-bar:hover { color: #fff; opacity: .9; text-decoration: underline; }
.awp-announce-text { max-width: 1200px; }
.awp-announce-close {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    background: transparent; border: 0; color: inherit;
    font-size: 22px; line-height: 1; cursor: pointer; padding: 0 6px;
    opacity: .8;
}
.awp-announce-close:hover { opacity: 1; }

/* --- Sticky CTA (mobile bottom bar) --- */
.awp-sticky-cta {
    position: fixed; bottom: 0; left: 0; right: 0;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px;
    background: #fff;
    border-top: 1px solid #e2e2e2;
    box-shadow: 0 -4px 18px rgba(0,0,0,.10);
    z-index: 9998;
    transform: translateY(0);
    transition: transform .28s ease, opacity .28s ease;
}
.awp-sticky-cta.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
.awp-sticky-price {
    flex: 0 0 auto; font-size: 17px; font-weight: 700; color: #111;
    white-space: nowrap;
}
.awp-sticky-btn {
    flex: 1 1 auto;
    background: linear-gradient(135deg,#22c55e 0%,#16a34a 100%);
    color: #fff; font-size: 16px; font-weight: 700;
    padding: 13px 16px; border: 0; border-radius: 10px;
    cursor: pointer; box-shadow: 0 4px 12px rgba(22,163,74,.35);
    transition: transform .15s ease, box-shadow .2s ease;
}
.awp-sticky-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(22,163,74,.45); }
.awp-sticky-btn:active { transform: translateY(1px); }

/* Push body content up so the sticky bar doesn't cover the footer on mobile */
@media (max-width: 980px) {
    body.single-product { padding-bottom: 80px; }
}
@media (min-width: 981px) {
    .awp-sticky-cta { display: none; } /* desktop: form is always visible */
}

/* Briefly highlight the form when the sticky CTA scrolls to it */
.awp-flash { animation: awpFlash 1.2s ease; }
@keyframes awpFlash {
    0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
    50%  { box-shadow: 0 0 0 12px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* --- Best Seller ribbon --- */
.woocommerce ul.products li.product, .woocommerce div.product { position: relative; }
.awp-bestseller-ribbon {
    position: absolute; top: 12px; left: 12px;
    background: linear-gradient(135deg,#facc15 0%,#f59e0b 100%);
    color: #1a1a1a; font-size: 12px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .04em;
    padding: 5px 10px; border-radius: 999px;
    box-shadow: 0 3px 8px rgba(0,0,0,.18);
    z-index: 5; pointer-events: none;
}
.awp-rtl .awp-bestseller-ribbon, [dir="rtl"] .awp-bestseller-ribbon { left: auto; right: 12px; }

/* --- Free Gift section (inside checkout form) --- */
.awp-gift-section {
    display: flex; align-items: center; gap: 14px;
    background: linear-gradient(135deg,#fef3c7 0%,#fde68a 100%);
    border: 1px dashed #d97706; border-radius: 12px;
    padding: 12px 14px; margin: 16px 0;
    position: relative;
}
.awp-gift-tag {
    position: absolute; top: -10px; left: 12px;
    background: #d97706; color: #fff; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em;
    padding: 3px 8px; border-radius: 6px;
}
.awp-gift-img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.awp-gift-body { flex: 1 1 auto; }
.awp-gift-title { display: block; color: #92400e; font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.awp-gift-desc { color: #78350f; font-size: 13px; margin: 0; line-height: 1.4; }

/* --- Inline WhatsApp CTA inside form --- */
.awp-lf-wa {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; margin-top: 10px;
    background: #25d366; color: #fff !important;
    font-size: 15px; font-weight: 600;
    padding: 11px 14px; border-radius: 10px;
    text-decoration: none !important;
    transition: background .2s ease, transform .15s ease;
}
.awp-lf-wa:hover { background: #1ebe57; transform: translateY(-1px); }
.awp-lf-wa svg { flex: 0 0 auto; }

/* --- Cross-sell sub-line --- */
.awp-cross-sell-sub {
    color: #555; font-size: 13px; margin: 2px 0 8px; line-height: 1.4;
}

/* --- Upsell/Downsell subtitle --- */
.awp-upd-sub {
    display: block; color: #555; font-size: 13px;
    margin-top: 2px; line-height: 1.4;
}

/* Admin meta box: highlight new sections */
.awp-meta-section--gift       { background: #fffbeb; border-left: 3px solid #f59e0b; padding-left: 12px; }
.awp-meta-section--bestseller { background: #fef9c3; border-left: 3px solid #eab308; padding-left: 12px; }
.awp-meta-section--sticky     { background: #ecfdf5; border-left: 3px solid #16a34a; padding-left: 12px; }

/* =====================================================================
   v1.6.0 — Post & Boost additions
===================================================================== */

/* Bigger, more readable testimonial images */
.awp-testimonial-card img,
.awp-testim img,
.awp-testimonials-slider img {
    width: 110px !important;
    height: 110px !important;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.awp-testimonials-slider .awp-testim-text { font-size: 16px; line-height: 1.55; }
.awp-testimonials-slider .awp-testim-author { font-size: 14px; font-weight: 700; }

/* Animated arrow on cross-sell label — v1.6.4: standalone DOWN arrow
   sitting between the heading and the cross-sell list, so it visually
   POINTS at the cross-sell box (not just at the title text). */
/* v1.6.4.3 — Cross-sell wrapper places the arrow OUTSIDE the cross-sell
   box so it visually points DOWN at it. The arrow bounces continuously. */
.awp-cross-sell-wrap { display: block; margin: 14px 0 18px; }
.awp-cross-sell-wrap .awp-cs-heading { display: block; text-align: center; }
.awp-cross-sell-wrap .awp-cross-sell-sub { text-align: center; margin: 4px 0 6px; }
/* v1.6.5.6 — Arrow now points horizontally at the FIRST cross-sell
   checkbox, sitting absolutely just to the left of it. The cross-sell
   block becomes the positioning context. */
.awp-cross-sell-block { position: relative; }
.awp-cs-arrow-pointer {
    position: absolute !important;
    display: block !important;
    left: -2px;
    top: 50%;
    color: #16a34a;
    font-size: 1.9em;
    font-weight: 900;
    line-height: 1;
    z-index: 5;
    pointer-events: none;
    will-change: transform, opacity;
    /* Animation handles BOTH vertical centering (translateY -50%) AND the
       horizontal bounce that points at the checkbox. */
    animation: awpArrowRight 1s ease-in-out infinite !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.08);
}
@keyframes awpArrowRight {
    0%   { transform: translate(-8px, -50%); opacity: .55; }
    50%  { transform: translate( 6px, -50%); opacity: 1;   }
    100% { transform: translate(-8px, -50%); opacity: .55; }
}
@media (prefers-reduced-motion: reduce) {
    .awp-cs-arrow-pointer { animation: none !important; opacity: 1; }
}
/* Nudge the first item right a touch so the arrow has breathing room. */
.awp-cross-sell-block .awp-cross-sell-item:first-child { padding-left: 18px; }

/* v1.6.4 — Hide the standard WooCommerce "Payer" (Place order) + "Annuler"
   (Cancel) buttons everywhere our checkout / thank-you funnel takes over.
   The native buttons would confuse customers since the AWP REST endpoint
   handles the actual submission and the funnel handles the upsell flow. */
body.awp-landing-mode #place_order,
body.awp-landing-mode .woocommerce-checkout #place_order,
body.awp-landing-mode .woocommerce-checkout-payment #place_order,
body.awp-landing-mode .woocommerce-cart-form .actions .button[name="update_cart"],
body.awp-landing-mode form.checkout a.cancel,
body.awp-landing-mode .woocommerce-order .actions a.button.pay,
body.awp-landing-mode .woocommerce-order .actions a.button.cancel,
body.awp-landing-mode .woocommerce-thankyou-order-received + .order_details ~ .actions,
body.awp-thankyou-mode .woocommerce-order .actions a.pay,
body.awp-thankyou-mode .woocommerce-order .actions a.cancel,
body.awp-thankyou-mode a.button.pay,
body.awp-thankyou-mode a.button.cancel,
.awp-one-page-checkout #place_order,
.awp-landing-form-wrap a.cancel,
.awp-landing-form-wrap .cancel,
.awp-thankyou-funnel .cancel,
form.checkout a.cancel,
.woocommerce-order .order-actions .pay,
.woocommerce-order .order-actions .cancel { display: none !important; }

/* Style variants — all sections */
.awp-style-classic { /* default — no override */ }
.awp-style-minimal { background: transparent !important; box-shadow: none !important; border: 1px dashed #d4d4d8; padding: 12px; border-radius: 8px; }
.awp-style-bold    { background: linear-gradient(135deg,#1f2937,#0f172a) !important; color:#f3f4f6 !important; border-radius:14px; padding:16px; }
.awp-style-bold *  { color: inherit !important; }
.awp-style-card    { background:#fff; border:1px solid #e5e7eb; border-radius:14px; padding:14px; box-shadow:0 8px 24px rgba(0,0,0,.06); }

/* Bundle block */
.awp-bundle-block {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px; border: 2px dashed #16a34a; border-radius: 12px;
    background: #f0fdf4; cursor: pointer; margin: 14px 0;
}
.awp-bundle-block input[type="checkbox"] { margin-top: 4px; transform: scale(1.3); }
.awp-bundle-title { display:block; color:#166534; font-size:16px; font-weight:700; margin-bottom:6px; }
.awp-bundle-list  { margin: 4px 0 8px; padding-left: 18px; font-size: 14px; color: #374151; }
.awp-bundle-price del { color: #9ca3af; margin-right: 6px; }
.awp-bundle-save  { color: #b45309; font-style: normal; font-weight: 700; margin-left: 6px; }

/* Variation chooser */
.awp-variation-chooser { margin: 10px 0; }
.awp-var-row { display:flex; flex-direction:column; gap:4px; margin-bottom:8px; }
.awp-var-row label { font-size:13px; color:#374151; font-weight:600; }
.awp-var-select { padding:10px 12px; border:1px solid #d1d5db; border-radius:8px; font-size:14px; }

/* Preset trust badges */
.awp-preset-badges { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
.awp-preset-badge  {
    display:inline-flex; align-items:center; gap:6px;
    padding: 8px 12px; border-radius: 999px;
    background: #f1f5f9; border: 1px solid #e2e8f0;
    font-size: 13px; color: #0f172a; font-weight: 600;
}
.awp-preset-icon { font-size: 1.15em; }

/* Extra product-page sections */
.awp-extra-sections { display:flex; flex-direction:column; gap:18px; margin: 24px 0; }
.awp-extra-section  { padding: 14px; }
.awp-extra-title    { font-size: 22px; font-weight: 700; margin: 0 0 6px; }
.awp-extra-sub      { color:#4b5563; font-size: 15px; margin: 0 0 10px; line-height: 1.5; }
.awp-extra-img      { display:block; max-width:100%; height:auto; border-radius:12px; }

/* Thank-you upsell/downsell funnel */
.awp-thankyou-funnel {
    margin: 20px auto; max-width: 520px;
    padding: 18px; border-radius: 14px;
    background: #fff; border: 1px solid #e5e7eb;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
    text-align: center;
}
.awp-ty-card img    { max-width: 220px; height: auto; margin: 8px auto; display: block; border-radius: 10px; }
.awp-ty-card h3     { margin: 6px 0; font-size: 20px; }
.awp-ty-tag         { display:inline-block; padding:4px 10px; border-radius:999px; background:#fef3c7; color:#92400e; font-size:12px; font-weight:700; }
.awp-ty-price       { font-size: 18px; margin: 8px 0 14px; }
.awp-ty-price del   { color:#9ca3af; margin-right:6px; }
.awp-ty-yes         {
    display:inline-block; padding:12px 20px;
    background:#16a34a; color:#fff !important; border-radius:10px;
    text-decoration:none; font-weight:700;
}
.awp-ty-no          {
    display:inline-block; margin-left:8px;
    background:transparent; border:none; color:#6b7280; cursor:pointer;
    font-size:14px; text-decoration: underline;
}

/* Site preloader */
.awp-preloader {
    position: fixed; inset: 0; z-index: 999999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity .4s ease, visibility .4s ease;
}
.awp-preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.awp-preloader-logo {
    max-width: 180px; height: auto;
    animation: awpPulse 1.4s ease-in-out infinite;
}
.awp-preloader-spinner {
    width: 56px; height: 56px;
    border: 4px solid #e5e7eb;
    border-top-color: #16a34a;
    border-radius: 50%;
    animation: awpSpin 1s linear infinite;
}
@keyframes awpPulse { 0%,100%{ transform:scale(1); opacity:.85;} 50%{ transform:scale(1.06); opacity:1;} }
@keyframes awpSpin  { to { transform: rotate(360deg); } }

/* v1.6.1 — phone validation visual feedback */
.awp-input-error {
    border-color: #dc2626 !important;
    background: #fef2f2 !important;
    box-shadow: 0 0 0 3px rgba(220,38,38,.12) !important;
}

/* v1.6.1 — extra preloader styles (pulse + bouncing dots) */
.awp-preloader-pulse {
    width: 64px; height: 64px;
    background: #16a34a; border-radius: 50%;
    animation: awpPulse 1.4s ease-in-out infinite;
}
.awp-preloader-dots { display: flex; gap: 10px; }
.awp-preloader-dots span {
    width: 14px; height: 14px;
    background: #16a34a; border-radius: 50%;
    animation: awpBounce 1s ease-in-out infinite;
}
.awp-preloader-dots span:nth-child(2) { animation-delay: .15s; }
.awp-preloader-dots span:nth-child(3) { animation-delay: .3s;  }
@keyframes awpBounce { 0%,80%,100% { transform: scale(0); } 40% { transform: scale(1); } }

/* ==========================================================================
   v1.6.4 — RESPONSIVE (iOS / Android / Tablet / PC) + bundle/funnel polish
   ========================================================================== */

/* Bundle per-item attribute selectors */
.awp-bundle-item-vars {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin: 6px 0 4px;
}
.awp-bundle-var-row {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff; border: 1px solid #d1d5db;
    border-radius: 8px; padding: 4px 8px;
    font-size: 13px;
}
.awp-bundle-var-label { font-weight: 600; color: #374151; }
.awp-bundle-var-select {
    border: 1px solid #d1d5db; border-radius: 6px;
    padding: 4px 6px; font-size: 13px; background: #fff;
}

/* Thank-you WhatsApp (inline + standalone) hint copy */
.awp-ty-whatsapp-hint {
    margin: 16px 0 10px; font-size: 14px; color: #374151;
    line-height: 1.45; text-align: center;
}
.awp-ty-whatsapp-inline { margin-top: 14px; padding-top: 14px; border-top: 1px dashed #e5e7eb; }
.awp-ty-whatsapp-standalone {
    max-width: 520px; margin: 18px auto;
    padding: 18px; border-radius: 14px;
    background: #fff; border: 1px solid #e5e7eb;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
    text-align: center;
}

/* Tablet & small desktop */
@media (max-width: 980px) {
    .awp-thankyou-funnel { max-width: 92%; padding: 16px; }
    .awp-ty-card img     { max-width: 180px; }
    .awp-bundle-block    { gap: 10px; padding: 12px; }
    .awp-color-swatches .awp-swatch,
    .awp-label-swatches .awp-swatch { width: 52px; height: 52px; font-size: 14px; }
}

/* Phones (iOS Safari + Android Chrome) */
@media (max-width: 600px) {
    .awp-one-page-checkout { padding: 18px 14px; border-radius: 12px; }
    .awp-one-page-checkout h3 { font-size: 18px; }
    .awp-one-page-checkout #place_order,
    .awp-one-page-checkout button[type="submit"] {
        font-size: 17px; padding: 16px;
    }
    .awp-cross-sell-block,
    .awp-bundle-block { padding: 12px; border-radius: 10px; }
    .awp-color-swatches .awp-swatch,
    .awp-label-swatches .awp-swatch { width: 48px; height: 48px; font-size: 14px; }
    .awp-thankyou-funnel { max-width: 100%; margin: 14px 8px; padding: 14px; border-radius: 12px; }
    .awp-ty-card img     { max-width: 150px; }
    .awp-ty-card h3      { font-size: 18px; }
    .awp-ty-yes          { display: block; width: 100%; margin-bottom: 8px; }
    .awp-ty-no           { display: block; margin: 0 auto; }
    .awp-bundle-item-vars { flex-direction: column; align-items: stretch; }
    .awp-bundle-var-row   { width: 100%; justify-content: space-between; }
    .awp-ty-whatsapp-standalone { margin: 14px 8px; padding: 14px; }
}

/* Very small screens (older Android, iPhone SE) */
@media (max-width: 380px) {
    .awp-color-swatches .awp-swatch,
    .awp-label-swatches .awp-swatch { width: 44px; height: 44px; font-size: 13px; }
    .awp-bundle-title { font-size: 15px; }
    .awp-ty-card h3   { font-size: 17px; }
}

/* iOS-specific: prevent input zoom on focus (font-size >= 16px).
   Covers BOTH the legacy .awp-one-page-checkout wrapper AND the actual
   landing form inputs (.awp-lf-input + selects inside .awp-landing-form). */
@supports (-webkit-touch-callout: none) {
    .awp-one-page-checkout input[type="text"],
    .awp-one-page-checkout input[type="tel"],
    .awp-one-page-checkout input[type="email"],
    .awp-one-page-checkout select,
    .awp-landing-form .awp-lf-input,
    .awp-landing-form input[type="text"],
    .awp-landing-form input[type="tel"],
    .awp-landing-form input[type="email"],
    .awp-landing-form select,
    .awp-landing-form textarea { font-size: 16px !important; }
}

/* =====================================================================
 * v1.7.7.0 — Product page format picker (premium / friendly / warm)
 * Applied via <body class="awp-page-style-…"> set by class-checkout-ui.
 * Targets the landing form, swatches, sections and our own funnel blocks
 * without touching theme chrome (header / footer / menu).
 * ===================================================================== */

/* ---- PREMIUM: dark gold + serif, generous spacing ---- */
body.awp-page-style-premium {
    --awp-bg: #fbfaf7;
    --awp-accent: #b8893a;
    --awp-accent-dark: #8a6526;
    --awp-text: #1c1a16;
    --awp-muted: #6b6357;
    --awp-border: #e7e0d2;
}
body.awp-page-style-premium .awp-landing-form,
body.awp-page-style-premium .awp-card,
body.awp-page-style-premium [data-awp-section],
body.awp-page-style-premium .awp-thankyou-funnel {
    background: var(--awp-bg) !important;
    border: 1px solid var(--awp-border) !important;
    border-radius: 4px !important;
    color: var(--awp-text) !important;
    font-family: Georgia, "Cormorant Garamond", "Playfair Display", serif !important;
}
body.awp-page-style-premium .awp-landing-form h2,
body.awp-page-style-premium .awp-landing-form h3,
body.awp-page-style-premium [data-awp-section] h2,
body.awp-page-style-premium [data-awp-section] h3 {
    font-family: Georgia, "Playfair Display", serif !important;
    letter-spacing: 0.5px;
    color: var(--awp-accent-dark) !important;
}
body.awp-page-style-premium .awp-landing-form input,
body.awp-page-style-premium .awp-landing-form select,
body.awp-page-style-premium .awp-landing-form textarea {
    border: 1px solid var(--awp-border) !important;
    border-radius: 2px !important;
    background: #fff !important;
    color: var(--awp-text) !important;
}
body.awp-page-style-premium .awp-landing-form button[type="submit"],
body.awp-page-style-premium .awp-thankyou-funnel .button {
    background: var(--awp-accent) !important;
    border-color: var(--awp-accent-dark) !important;
    color: #fff !important;
    border-radius: 2px !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}
body.awp-page-style-premium .awp-swatches [data-swatch] {
    border-color: var(--awp-accent) !important;
}
body.awp-page-style-premium .awp-swatches [data-swatch][aria-checked="true"],
body.awp-page-style-premium .awp-swatches [data-swatch].is-selected {
    background: var(--awp-accent-dark) !important;
    color: #fff !important;
    border-color: var(--awp-accent-dark) !important;
}

/* ---- FRIENDLY: rounded corners, soft blues ---- */
body.awp-page-style-friendly {
    --awp-bg: #f5f9ff;
    --awp-accent: #3b82f6;
    --awp-accent-dark: #1d4ed8;
    --awp-text: #1e293b;
    --awp-muted: #64748b;
    --awp-border: #dbeafe;
}
body.awp-page-style-friendly .awp-landing-form,
body.awp-page-style-friendly .awp-card,
body.awp-page-style-friendly [data-awp-section],
body.awp-page-style-friendly .awp-thankyou-funnel {
    background: var(--awp-bg) !important;
    border: 1px solid var(--awp-border) !important;
    border-radius: 18px !important;
    color: var(--awp-text) !important;
    font-family: "Inter", "Segoe UI", system-ui, sans-serif !important;
}
body.awp-page-style-friendly .awp-landing-form input,
body.awp-page-style-friendly .awp-landing-form select,
body.awp-page-style-friendly .awp-landing-form textarea {
    border: 1.5px solid var(--awp-border) !important;
    border-radius: 12px !important;
    background: #fff !important;
}
body.awp-page-style-friendly .awp-landing-form input:focus,
body.awp-page-style-friendly .awp-landing-form select:focus,
body.awp-page-style-friendly .awp-landing-form textarea:focus {
    border-color: var(--awp-accent) !important;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15) !important;
}
body.awp-page-style-friendly .awp-landing-form button[type="submit"],
body.awp-page-style-friendly .awp-thankyou-funnel .button {
    background: var(--awp-accent) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 999px !important;
    font-weight: 700;
    padding: 14px 28px !important;
    box-shadow: 0 4px 12px rgba(59,130,246,0.25);
}
body.awp-page-style-friendly .awp-swatches [data-swatch] { border-radius: 14px !important; }

/* ---- WARM: terracotta + cream, hand-crafted feel ---- */
body.awp-page-style-warm {
    --awp-bg: #fdf6ec;
    --awp-accent: #c2410c;
    --awp-accent-dark: #9a3412;
    --awp-text: #3b1d0c;
    --awp-muted: #7c4a2a;
    --awp-border: #f0d9b5;
}
body.awp-page-style-warm .awp-landing-form,
body.awp-page-style-warm .awp-card,
body.awp-page-style-warm [data-awp-section],
body.awp-page-style-warm .awp-thankyou-funnel {
    background: var(--awp-bg) !important;
    border: 1px solid var(--awp-border) !important;
    border-radius: 8px !important;
    color: var(--awp-text) !important;
    font-family: "Nunito", "Quicksand", system-ui, sans-serif !important;
}
body.awp-page-style-warm .awp-landing-form h2,
body.awp-page-style-warm [data-awp-section] h2 {
    color: var(--awp-accent-dark) !important;
    font-weight: 800;
}
body.awp-page-style-warm .awp-landing-form input,
body.awp-page-style-warm .awp-landing-form select,
body.awp-page-style-warm .awp-landing-form textarea {
    border: 1.5px dashed var(--awp-border) !important;
    border-radius: 6px !important;
    background: #fff !important;
}
body.awp-page-style-warm .awp-landing-form button[type="submit"],
body.awp-page-style-warm .awp-thankyou-funnel .button {
    background: linear-gradient(180deg, var(--awp-accent), var(--awp-accent-dark)) !important;
    border: 1px solid var(--awp-accent-dark) !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-weight: 700;
    letter-spacing: 0.3px;
}
body.awp-page-style-warm .awp-swatches [data-swatch][aria-checked="true"],
body.awp-page-style-warm .awp-swatches [data-swatch].is-selected {
    background: var(--awp-accent) !important;
    color: #fff !important;
    border-color: var(--awp-accent-dark) !important;
}

/* =====================================================================
 * v1.7.8.0 — Auto-generated Home page layout
 * Themed by the same .awp-page-style-* body class as product pages.
 * ===================================================================== */
.awp-home { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.awp-home-hero { text-align: center; padding: 56px 16px 40px; }
.awp-home-hero h1 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 12px; }
.awp-home-hero p  { font-size: 18px; opacity: 0.85; margin: 0 0 20px; }
.awp-home-cta {
    display: inline-block !important;
    padding: 14px 32px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-size: 16px;
}
.awp-home-section { margin: 48px 0; }
.awp-home-section h2 {
    text-align: center;
    font-size: clamp(22px, 3vw, 32px);
    margin: 0 0 24px;
    position: relative;
    padding-bottom: 12px;
}
.awp-home-section h2::after {
    content: ""; display: block; width: 60px; height: 3px;
    background: currentColor; opacity: 0.4;
    margin: 12px auto 0; border-radius: 3px;
}
.awp-home-bottom-cta { text-align: center; padding: 56px 16px; margin-top: 40px; }
@media (max-width: 600px) {
    .awp-home-hero { padding: 32px 12px 24px; }
    .awp-home-section { margin: 32px 0; }
}

/* =====================================================================
 * v1.7.8.0 — 10 additional product-page format palettes
 * Each block themes: .awp-landing-form, .awp-card, [data-awp-section],
 * .awp-thankyou-funnel, swatches, AND the new .awp-home-* sections so
 * the home page picks up the same look as the product pages.
 * ===================================================================== */

/* ---- MINIMAL: clean white, lots of whitespace, sans-serif ---- */
body.awp-page-style-minimal {
    --awp-bg: #ffffff;
    --awp-accent: #111827;
    --awp-text: #111827;
    --awp-border: #e5e7eb;
}
body.awp-page-style-minimal .awp-landing-form,
body.awp-page-style-minimal .awp-card,
body.awp-page-style-minimal [data-awp-section],
body.awp-page-style-minimal .awp-thankyou-funnel,
body.awp-page-style-minimal .awp-home-hero,
body.awp-page-style-minimal .awp-home-bottom-cta {
    background: var(--awp-bg) !important;
    border: 1px solid var(--awp-border) !important;
    border-radius: 0 !important;
    color: var(--awp-text) !important;
    font-family: "Inter", "Helvetica Neue", sans-serif !important;
}
body.awp-page-style-minimal .awp-landing-form input,
body.awp-page-style-minimal .awp-landing-form select,
body.awp-page-style-minimal .awp-landing-form textarea {
    border: 0 !important;
    border-bottom: 1px solid var(--awp-border) !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding-left: 0 !important;
}
body.awp-page-style-minimal .awp-landing-form button[type="submit"],
body.awp-page-style-minimal .awp-home-cta,
body.awp-page-style-minimal .awp-thankyou-funnel .button {
    background: var(--awp-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ---- LUXURY: deep black + gold, high-end fashion ---- */
body.awp-page-style-luxury {
    --awp-bg: #0b0b0b;
    --awp-accent: #d4af37;
    --awp-accent-dark: #a8862b;
    --awp-text: #f5f1e6;
    --awp-border: #2a2418;
}
/* Only repaint the body background when WE own the page (home page). */
body.awp-page-style-luxury.awp-home-page {
    background: var(--awp-bg) !important;
    color: var(--awp-text) !important;
}
body.awp-page-style-luxury .awp-landing-form,
body.awp-page-style-luxury .awp-card,
body.awp-page-style-luxury [data-awp-section],
body.awp-page-style-luxury .awp-thankyou-funnel,
body.awp-page-style-luxury .awp-home-hero,
body.awp-page-style-luxury .awp-home-bottom-cta {
    background: #141414 !important;
    border: 1px solid var(--awp-accent-dark) !important;
    border-radius: 0 !important;
    color: var(--awp-text) !important;
    font-family: "Didot", "Bodoni Moda", Georgia, serif !important;
}
body.awp-page-style-luxury .awp-landing-form h1,
body.awp-page-style-luxury .awp-landing-form h2,
body.awp-page-style-luxury .awp-landing-form h3,
body.awp-page-style-luxury [data-awp-section] h2,
body.awp-page-style-luxury [data-awp-section] h3,
body.awp-page-style-luxury .awp-home h1,
body.awp-page-style-luxury .awp-home h2,
body.awp-page-style-luxury .awp-home h3 {
    color: var(--awp-accent) !important;
    letter-spacing: 2px;
    text-transform: uppercase;
}
body.awp-page-style-luxury .awp-landing-form input,
body.awp-page-style-luxury .awp-landing-form select,
body.awp-page-style-luxury .awp-landing-form textarea {
    background: #1c1c1c !important;
    border: 1px solid var(--awp-accent-dark) !important;
    color: var(--awp-text) !important;
    border-radius: 0 !important;
}
body.awp-page-style-luxury .awp-landing-form button[type="submit"],
body.awp-page-style-luxury .awp-home-cta,
body.awp-page-style-luxury .awp-thankyou-funnel .button {
    background: var(--awp-accent) !important;
    color: #0b0b0b !important;
    border: none !important;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 0 !important;
}

/* ---- BOUTIQUE: rose + cream, feminine elegant ---- */
body.awp-page-style-boutique {
    --awp-bg: #fdf2f3;
    --awp-accent: #d4516b;
    --awp-accent-dark: #a83a52;
    --awp-text: #3a1a22;
    --awp-border: #f5d6dc;
}
body.awp-page-style-boutique .awp-landing-form,
body.awp-page-style-boutique .awp-card,
body.awp-page-style-boutique [data-awp-section],
body.awp-page-style-boutique .awp-thankyou-funnel,
body.awp-page-style-boutique .awp-home-hero,
body.awp-page-style-boutique .awp-home-bottom-cta {
    background: var(--awp-bg) !important;
    border: 1px solid var(--awp-border) !important;
    border-radius: 22px !important;
    color: var(--awp-text) !important;
    font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
}
body.awp-page-style-boutique .awp-landing-form input,
body.awp-page-style-boutique .awp-landing-form select,
body.awp-page-style-boutique .awp-landing-form textarea {
    background: #fff !important;
    border: 1px solid var(--awp-border) !important;
    border-radius: 16px !important;
    color: var(--awp-text) !important;
}
body.awp-page-style-boutique .awp-landing-form button[type="submit"],
body.awp-page-style-boutique .awp-home-cta,
body.awp-page-style-boutique .awp-thankyou-funnel .button {
    background: var(--awp-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(212,81,107,0.25);
}

/* ---- TECH: dark mode + neon cyan, electronics & gadgets ---- */
body.awp-page-style-tech {
    --awp-bg: #0a0e1a;
    --awp-card: #121826;
    --awp-accent: #00e5ff;
    --awp-accent-dark: #0095a8;
    --awp-text: #e4ecff;
    --awp-border: #1d2842;
}
/* Body repaint scoped to our own home page to avoid clobbering the theme. */
body.awp-page-style-tech.awp-home-page {
    background: var(--awp-bg) !important;
    color: var(--awp-text) !important;
}
body.awp-page-style-tech .awp-landing-form,
body.awp-page-style-tech .awp-card,
body.awp-page-style-tech [data-awp-section],
body.awp-page-style-tech .awp-thankyou-funnel,
body.awp-page-style-tech .awp-home-hero,
body.awp-page-style-tech .awp-home-bottom-cta {
    background: var(--awp-card) !important;
    border: 1px solid var(--awp-border) !important;
    border-radius: 8px !important;
    color: var(--awp-text) !important;
    font-family: "JetBrains Mono", "Roboto Mono", "SF Mono", monospace !important;
}
body.awp-page-style-tech .awp-landing-form h1,
body.awp-page-style-tech .awp-landing-form h2,
body.awp-page-style-tech .awp-landing-form h3,
body.awp-page-style-tech [data-awp-section] h2,
body.awp-page-style-tech [data-awp-section] h3,
body.awp-page-style-tech .awp-home h1,
body.awp-page-style-tech .awp-home h2,
body.awp-page-style-tech .awp-home h3 {
    color: var(--awp-accent) !important;
    text-shadow: 0 0 12px rgba(0,229,255,0.45);
}
body.awp-page-style-tech .awp-landing-form input,
body.awp-page-style-tech .awp-landing-form select,
body.awp-page-style-tech .awp-landing-form textarea {
    background: #0a0e1a !important;
    border: 1px solid var(--awp-border) !important;
    border-radius: 6px !important;
    color: var(--awp-text) !important;
}
body.awp-page-style-tech .awp-landing-form input:focus {
    border-color: var(--awp-accent) !important;
    box-shadow: 0 0 0 2px rgba(0,229,255,0.25) !important;
}
body.awp-page-style-tech .awp-landing-form button[type="submit"],
body.awp-page-style-tech .awp-home-cta,
body.awp-page-style-tech .awp-thankyou-funnel .button {
    background: var(--awp-accent) !important;
    color: #061018 !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 18px rgba(0,229,255,0.45);
}

/* ---- ECO: forest green + sand, natural & sustainable ---- */
body.awp-page-style-eco {
    --awp-bg: #f7f3e9;
    --awp-accent: #2f6a3a;
    --awp-accent-dark: #1f4a26;
    --awp-text: #1f2a1f;
    --awp-border: #d9d3bf;
}
body.awp-page-style-eco .awp-landing-form,
body.awp-page-style-eco .awp-card,
body.awp-page-style-eco [data-awp-section],
body.awp-page-style-eco .awp-thankyou-funnel,
body.awp-page-style-eco .awp-home-hero,
body.awp-page-style-eco .awp-home-bottom-cta {
    background: var(--awp-bg) !important;
    border: 1px solid var(--awp-border) !important;
    border-radius: 10px !important;
    color: var(--awp-text) !important;
    font-family: "Lora", "Merriweather", Georgia, serif !important;
}
body.awp-page-style-eco .awp-landing-form h2,
body.awp-page-style-eco [data-awp-section] h2,
body.awp-page-style-eco .awp-home h2 { color: var(--awp-accent-dark) !important; }
body.awp-page-style-eco .awp-landing-form input,
body.awp-page-style-eco .awp-landing-form select,
body.awp-page-style-eco .awp-landing-form textarea {
    background: #fffdf5 !important;
    border: 1px solid var(--awp-border) !important;
    border-radius: 8px !important;
    color: var(--awp-text) !important;
}
body.awp-page-style-eco .awp-landing-form button[type="submit"],
body.awp-page-style-eco .awp-home-cta,
body.awp-page-style-eco .awp-thankyou-funnel .button {
    background: var(--awp-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 700;
}

/* ---- BOLD: yellow + black, urgency + high-energy promos ---- */
body.awp-page-style-bold {
    --awp-bg: #fef3c7;
    --awp-accent: #facc15;
    --awp-accent-dark: #000000;
    --awp-text: #111111;
    --awp-border: #000000;
}
body.awp-page-style-bold .awp-landing-form,
body.awp-page-style-bold .awp-card,
body.awp-page-style-bold [data-awp-section],
body.awp-page-style-bold .awp-thankyou-funnel,
body.awp-page-style-bold .awp-home-hero,
body.awp-page-style-bold .awp-home-bottom-cta {
    background: #fffbeb !important;
    border: 3px solid #000 !important;
    border-radius: 0 !important;
    color: var(--awp-text) !important;
    font-family: "Bebas Neue", "Oswald", Impact, sans-serif !important;
    box-shadow: 6px 6px 0 #000;
}
body.awp-page-style-bold .awp-landing-form h1,
body.awp-page-style-bold .awp-landing-form h2,
body.awp-page-style-bold [data-awp-section] h2,
body.awp-page-style-bold .awp-home h1,
body.awp-page-style-bold .awp-home h2 {
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 1px;
}
body.awp-page-style-bold .awp-landing-form input,
body.awp-page-style-bold .awp-landing-form select,
body.awp-page-style-bold .awp-landing-form textarea {
    background: #fff !important;
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    font-weight: 600;
}
body.awp-page-style-bold .awp-landing-form button[type="submit"],
body.awp-page-style-bold .awp-home-cta,
body.awp-page-style-bold .awp-thankyou-funnel .button {
    background: var(--awp-accent) !important;
    color: #000 !important;
    border: 3px solid #000 !important;
    border-radius: 0 !important;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 4px 4px 0 #000;
}

/* ---- MONOCHROME: pure black & white editorial ---- */
body.awp-page-style-monochrome {
    --awp-bg: #ffffff;
    --awp-accent: #000000;
    --awp-text: #000000;
    --awp-border: #000000;
}
body.awp-page-style-monochrome .awp-landing-form,
body.awp-page-style-monochrome .awp-card,
body.awp-page-style-monochrome [data-awp-section],
body.awp-page-style-monochrome .awp-thankyou-funnel,
body.awp-page-style-monochrome .awp-home-hero,
body.awp-page-style-monochrome .awp-home-bottom-cta {
    background: #fff !important;
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    color: #000 !important;
    font-family: "Times New Roman", "PT Serif", Georgia, serif !important;
}
body.awp-page-style-monochrome .awp-landing-form h1,
body.awp-page-style-monochrome .awp-landing-form h2,
body.awp-page-style-monochrome [data-awp-section] h2,
body.awp-page-style-monochrome .awp-home h1,
body.awp-page-style-monochrome .awp-home h2 {
    text-transform: uppercase;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
}
body.awp-page-style-monochrome .awp-landing-form input,
body.awp-page-style-monochrome .awp-landing-form select,
body.awp-page-style-monochrome .awp-landing-form textarea {
    background: #fff !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    color: #000 !important;
}
body.awp-page-style-monochrome .awp-landing-form button[type="submit"],
body.awp-page-style-monochrome .awp-home-cta,
body.awp-page-style-monochrome .awp-thankyou-funnel .button {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ---- PASTEL: soft mint + peach, playful kids & lifestyle ---- */
body.awp-page-style-pastel {
    --awp-bg: #ecfdf5;
    --awp-accent: #fb923c;
    --awp-accent-dark: #c2410c;
    --awp-text: #1f2937;
    --awp-border: #bbf7d0;
}
body.awp-page-style-pastel .awp-landing-form,
body.awp-page-style-pastel .awp-card,
body.awp-page-style-pastel [data-awp-section],
body.awp-page-style-pastel .awp-thankyou-funnel,
body.awp-page-style-pastel .awp-home-hero,
body.awp-page-style-pastel .awp-home-bottom-cta {
    background: var(--awp-bg) !important;
    border: 2px solid var(--awp-border) !important;
    border-radius: 24px !important;
    color: var(--awp-text) !important;
    font-family: "Quicksand", "Nunito", sans-serif !important;
}
body.awp-page-style-pastel .awp-landing-form input,
body.awp-page-style-pastel .awp-landing-form select,
body.awp-page-style-pastel .awp-landing-form textarea {
    background: #fff !important;
    border: 2px solid var(--awp-border) !important;
    border-radius: 16px !important;
}
body.awp-page-style-pastel .awp-landing-form button[type="submit"],
body.awp-page-style-pastel .awp-home-cta,
body.awp-page-style-pastel .awp-thankyou-funnel .button {
    background: var(--awp-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(251,146,60,0.3);
}

/* ---- NORDIC: light grey + sky, airy Scandinavian ---- */
body.awp-page-style-nordic {
    --awp-bg: #f8fafc;
    --awp-accent: #0ea5e9;
    --awp-accent-dark: #0369a1;
    --awp-text: #0f172a;
    --awp-border: #e2e8f0;
}
body.awp-page-style-nordic .awp-landing-form,
body.awp-page-style-nordic .awp-card,
body.awp-page-style-nordic [data-awp-section],
body.awp-page-style-nordic .awp-thankyou-funnel,
body.awp-page-style-nordic .awp-home-hero,
body.awp-page-style-nordic .awp-home-bottom-cta {
    background: var(--awp-bg) !important;
    border: 1px solid var(--awp-border) !important;
    border-radius: 4px !important;
    color: var(--awp-text) !important;
    font-family: "Karla", "Inter", "Helvetica Neue", sans-serif !important;
}
body.awp-page-style-nordic .awp-landing-form h2,
body.awp-page-style-nordic [data-awp-section] h2,
body.awp-page-style-nordic .awp-home h2 { font-weight: 300; letter-spacing: 1px; }
body.awp-page-style-nordic .awp-landing-form input,
body.awp-page-style-nordic .awp-landing-form select,
body.awp-page-style-nordic .awp-landing-form textarea {
    background: #fff !important;
    border: 1px solid var(--awp-border) !important;
    border-radius: 4px !important;
}
body.awp-page-style-nordic .awp-landing-form button[type="submit"],
body.awp-page-style-nordic .awp-home-cta,
body.awp-page-style-nordic .awp-thankyou-funnel .button {
    background: var(--awp-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: 500;
    letter-spacing: 1px;
}

/* ---- VIBRANT: magenta + electric blue, youth fashion ---- */
body.awp-page-style-vibrant {
    --awp-bg: #ffffff;
    --awp-accent: #ec4899;
    --awp-accent-dark: #6366f1;
    --awp-text: #1e1b4b;
    --awp-border: #e9d5ff;
}
body.awp-page-style-vibrant .awp-landing-form,
body.awp-page-style-vibrant .awp-card,
body.awp-page-style-vibrant [data-awp-section],
body.awp-page-style-vibrant .awp-thankyou-funnel,
body.awp-page-style-vibrant .awp-home-hero,
body.awp-page-style-vibrant .awp-home-bottom-cta {
    background: var(--awp-bg) !important;
    border: 2px solid transparent !important;
    border-radius: 16px !important;
    color: var(--awp-text) !important;
    font-family: "Poppins", "Inter", sans-serif !important;
    background-image:
        linear-gradient(var(--awp-bg), var(--awp-bg)),
        linear-gradient(135deg, var(--awp-accent), var(--awp-accent-dark));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}
body.awp-page-style-vibrant .awp-landing-form h1,
body.awp-page-style-vibrant .awp-landing-form h2,
body.awp-page-style-vibrant [data-awp-section] h2,
body.awp-page-style-vibrant .awp-home h1,
body.awp-page-style-vibrant .awp-home h2 {
    background: linear-gradient(90deg, var(--awp-accent), var(--awp-accent-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}
body.awp-page-style-vibrant .awp-landing-form input,
body.awp-page-style-vibrant .awp-landing-form select,
body.awp-page-style-vibrant .awp-landing-form textarea {
    background: #fff !important;
    border: 2px solid var(--awp-border) !important;
    border-radius: 12px !important;
}
body.awp-page-style-vibrant .awp-landing-form button[type="submit"],
body.awp-page-style-vibrant .awp-home-cta,
body.awp-page-style-vibrant .awp-thankyou-funnel .button {
    background: linear-gradient(135deg, var(--awp-accent), var(--awp-accent-dark)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(236,72,153,0.35);
}

/* ---- GOLDEN SHADE (celine-2026): clean white + bold gold price, pink soft badges ---- */
body.awp-page-style-golden_shade {
    --awp-bg: #ffffff;
    --awp-accent: #f5b800;
    --awp-accent-dark: #c99500;
    --awp-text: #1a1a1a;
    --awp-muted: #6b7280;
    --awp-border: #ececec;
    --awp-soft: #fce7e7;
    --awp-soft-text: #c1426b;
}
body.awp-page-style-golden_shade.awp-home-page {
    background: var(--awp-bg) !important;
    color: var(--awp-text) !important;
}
body.awp-page-style-golden_shade .awp-landing-form,
body.awp-page-style-golden_shade .awp-card,
body.awp-page-style-golden_shade [data-awp-section],
body.awp-page-style-golden_shade .awp-thankyou-funnel,
body.awp-page-style-golden_shade .awp-home-hero,
body.awp-page-style-golden_shade .awp-home-bottom-cta {
    background: #ffffff !important;
    border: 1px solid var(--awp-border) !important;
    border-radius: 14px !important;
    color: var(--awp-text) !important;
    font-family: "Cairo", "Inter", "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif !important;
    text-align: center;
}
body.awp-page-style-golden_shade .awp-landing-form h1,
body.awp-page-style-golden_shade .awp-landing-form h2,
body.awp-page-style-golden_shade [data-awp-section] h2,
body.awp-page-style-golden_shade .awp-home h1,
body.awp-page-style-golden_shade .awp-home h2 {
    color: var(--awp-text) !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px;
}
body.awp-page-style-golden_shade .price,
body.awp-page-style-golden_shade .awp-price,
body.awp-page-style-golden_shade .woocommerce-Price-amount,
body.awp-page-style-golden_shade .awp-lf-total-amount {
    color: var(--awp-accent) !important;
    font-weight: 900 !important;
    font-size: 1.8em !important;
}
body.awp-page-style-golden_shade del,
body.awp-page-style-golden_shade .price del .woocommerce-Price-amount {
    color: var(--awp-muted) !important;
    font-weight: 500 !important;
    opacity: 0.7;
}
body.awp-page-style-golden_shade [data-awp-section="testimonials"] .awp-badge,
body.awp-page-style-golden_shade [data-awp-section="preset_badges"] .awp-badge,
body.awp-page-style-golden_shade .awp-soft-badge {
    background: var(--awp-soft) !important;
    color: var(--awp-soft-text) !important;
    border-radius: 999px !important;
    padding: 6px 14px !important;
    border: none !important;
    font-weight: 600;
}
body.awp-page-style-golden_shade .awp-landing-form input,
body.awp-page-style-golden_shade .awp-landing-form select,
body.awp-page-style-golden_shade .awp-landing-form textarea {
    background: #fafafa !important;
    border: 1px solid var(--awp-border) !important;
    border-radius: 10px !important;
    color: var(--awp-text) !important;
    text-align: center;
}
body.awp-page-style-golden_shade .awp-landing-form button[type="submit"],
body.awp-page-style-golden_shade .awp-home-cta,
body.awp-page-style-golden_shade .awp-thankyou-funnel .button {
    background: var(--awp-accent) !important;
    color: #1a1a1a !important;
    border: none !important;
    border-radius: 999px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(245,184,0,0.35);
}
body.awp-page-style-golden_shade .awp-swatch.awp-swatch-selected,
body.awp-page-style-golden_shade .awp-swatch.is-selected {
    border-color: var(--awp-accent) !important;
    box-shadow: 0 0 0 2px var(--awp-accent) !important;
}

/* ---- LAYALIDZ (maisonlayalidz): deep navy + gold accents, two-column elegance ---- */
body.awp-page-style-layalidz {
    --awp-bg: #ffffff;
    --awp-accent: #1e2b6f;
    --awp-accent-dark: #14205a;
    --awp-gold: #c9a24e;
    --awp-gold-dark: #a8852f;
    --awp-text: #1e2b6f;
    --awp-muted: #6b7488;
    --awp-border: #e3e6f0;
    --awp-soft: #f4f6fb;
}
body.awp-page-style-layalidz.awp-home-page {
    background: var(--awp-bg) !important;
    color: var(--awp-text) !important;
}
body.awp-page-style-layalidz .awp-landing-form,
body.awp-page-style-layalidz .awp-card,
body.awp-page-style-layalidz [data-awp-section],
body.awp-page-style-layalidz .awp-thankyou-funnel,
body.awp-page-style-layalidz .awp-home-hero,
body.awp-page-style-layalidz .awp-home-bottom-cta {
    background: #ffffff !important;
    border: 1px solid var(--awp-border) !important;
    border-radius: 18px !important;
    color: var(--awp-text) !important;
    font-family: "Tajawal", "Cairo", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif !important;
    box-shadow: 0 2px 8px rgba(30,43,111,0.04);
}
body.awp-page-style-layalidz .awp-landing-form h1,
body.awp-page-style-layalidz .awp-landing-form h2,
body.awp-page-style-layalidz [data-awp-section] h2,
body.awp-page-style-layalidz .awp-home h1,
body.awp-page-style-layalidz .awp-home h2 {
    color: var(--awp-accent) !important;
    font-weight: 800 !important;
}
body.awp-page-style-layalidz .price,
body.awp-page-style-layalidz .awp-price,
body.awp-page-style-layalidz .woocommerce-Price-amount,
body.awp-page-style-layalidz .awp-lf-total-amount {
    color: var(--awp-gold) !important;
    font-weight: 800 !important;
    font-size: 1.6em !important;
}
body.awp-page-style-layalidz [data-awp-section="trust_badges"],
body.awp-page-style-layalidz [data-awp-section="preset_badges"] {
    background: var(--awp-soft) !important;
}
body.awp-page-style-layalidz [data-awp-section="trust_badges"] li::before,
body.awp-page-style-layalidz [data-awp-section="preset_badges"] li::before {
    color: var(--awp-gold) !important;
}
body.awp-page-style-layalidz .awp-landing-form input,
body.awp-page-style-layalidz .awp-landing-form select,
body.awp-page-style-layalidz .awp-landing-form textarea {
    background: #ffffff !important;
    border: 1px solid var(--awp-border) !important;
    border-radius: 10px !important;
    color: var(--awp-text) !important;
}
body.awp-page-style-layalidz .awp-landing-form input:focus,
body.awp-page-style-layalidz .awp-landing-form select:focus,
body.awp-page-style-layalidz .awp-landing-form textarea:focus {
    border-color: var(--awp-accent) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(30,43,111,0.12) !important;
}
body.awp-page-style-layalidz .awp-landing-form button[type="submit"],
body.awp-page-style-layalidz .awp-home-cta,
body.awp-page-style-layalidz .awp-thankyou-funnel .button {
    background: var(--awp-accent) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 22px rgba(30,43,111,0.28);
}
body.awp-page-style-layalidz .awp-swatch.awp-swatch-selected,
body.awp-page-style-layalidz .awp-swatch.is-selected {
    border-color: var(--awp-accent) !important;
    box-shadow: 0 0 0 2px var(--awp-accent) !important;
    color: var(--awp-accent) !important;
}

/* ============================================================
 * v1.7.9.8 — LAYOUT VARIATIONS PER STYLE
 * Each style now also changes container width, padding density,
 * section spacing, text alignment, image proportions and button
 * sizing — not just fonts and colors. Theme chrome stays
 * untouched; we only re-scope the AWP landing form, cards,
 * sections and the auto-generated home page.
 * ============================================================ */

/* ---- GOLDEN SHADE: narrow, ultra-centered, generous vertical rhythm ---- */
body.awp-page-style-golden_shade .awp-landing-form {
    max-width: 560px !important;
    margin: 24px auto !important;
    padding: 32px 28px !important;
    text-align: center;
}
body.awp-page-style-golden_shade [data-awp-section] {
    margin: 24px auto !important;
    padding: 20px !important;
    max-width: 560px;
}
body.awp-page-style-golden_shade .awp-landing-form .awp-lf-row,
body.awp-page-style-golden_shade .awp-landing-form > div {
    margin-bottom: 14px;
}
body.awp-page-style-golden_shade .awp-landing-form input,
body.awp-page-style-golden_shade .awp-landing-form select {
    padding: 14px 16px !important;
    font-size: 15px !important;
    text-align: center;
}
body.awp-page-style-golden_shade .awp-landing-form button[type="submit"] {
    padding: 16px 28px !important;
    font-size: 17px !important;
    width: 100%;
    margin-top: 8px;
}
body.awp-page-style-golden_shade .awp-swatches {
    justify-content: center !important;
    gap: 10px !important;
}
body.awp-page-style-golden_shade .woocommerce-product-gallery img,
body.awp-page-style-golden_shade .awp-home-hero img {
    border-radius: 14px !important;
    max-height: 520px;
    object-fit: cover;
}
body.awp-page-style-golden_shade .product .summary,
body.awp-page-style-golden_shade .product_title {
    text-align: center !important;
}

/* ---- LAYALIDZ: wide two-column, premium spacing, gold-accent dividers ---- */
body.awp-page-style-layalidz .awp-landing-form {
    max-width: 720px !important;
    margin: 32px auto !important;
    padding: 36px 32px !important;
}
body.awp-page-style-layalidz [data-awp-section] {
    margin: 28px auto !important;
    padding: 24px 28px !important;
    max-width: 720px;
}
body.awp-page-style-layalidz .awp-landing-form .awp-lf-row,
body.awp-page-style-layalidz .awp-landing-form > div {
    margin-bottom: 18px;
}
body.awp-page-style-layalidz .awp-landing-form input,
body.awp-page-style-layalidz .awp-landing-form select {
    padding: 14px 18px !important;
    font-size: 15px !important;
}
body.awp-page-style-layalidz .awp-landing-form button[type="submit"] {
    padding: 18px 32px !important;
    font-size: 17px !important;
    width: 100%;
    margin-top: 12px;
}
body.awp-page-style-layalidz .awp-swatches {
    gap: 12px !important;
}
body.awp-page-style-layalidz .awp-swatch {
    min-width: 44px;
    min-height: 44px;
}
body.awp-page-style-layalidz .woocommerce-product-gallery img,
body.awp-page-style-layalidz .awp-home-hero img {
    border-radius: 18px !important;
    box-shadow: 0 12px 32px rgba(30,43,111,0.12);
}
@media (min-width: 1024px) {
    body.awp-page-style-layalidz .product {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: start;
    }
    body.awp-page-style-layalidz .product .woocommerce-product-gallery {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }
    body.awp-page-style-layalidz .product .summary {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 24px 0;
    }
}
body.awp-page-style-layalidz [data-awp-section="trust_badges"] li,
body.awp-page-style-layalidz [data-awp-section="preset_badges"] li {
    padding: 8px 0;
    border-bottom: 1px solid var(--awp-border);
}
body.awp-page-style-layalidz [data-awp-section="trust_badges"] li:last-child,
body.awp-page-style-layalidz [data-awp-section="preset_badges"] li:last-child {
    border-bottom: none;
}

/* ---- LUXURY: ultra-tight letter-spacing, narrow container, sharp corners ---- */
body.awp-page-style-luxury .awp-landing-form {
    max-width: 600px !important;
    margin: 32px auto !important;
    padding: 40px 36px !important;
}
body.awp-page-style-luxury [data-awp-section] {
    margin: 32px auto !important;
    padding: 28px !important;
    max-width: 600px;
}
body.awp-page-style-luxury .awp-landing-form button[type="submit"] {
    padding: 20px 32px !important;
    font-size: 16px !important;
    width: 100%;
}

/* ---- BOUTIQUE: airy + romantic spacing, wider radius ---- */
body.awp-page-style-boutique .awp-landing-form {
    max-width: 620px !important;
    margin: 28px auto !important;
    padding: 36px 32px !important;
}
body.awp-page-style-boutique [data-awp-section] {
    margin: 28px auto !important;
    padding: 24px !important;
    max-width: 620px;
}

/* ---- TECH: compact, dense, monospace tight ---- */
body.awp-page-style-tech .awp-landing-form {
    max-width: 680px !important;
    margin: 16px auto !important;
    padding: 20px !important;
}
body.awp-page-style-tech [data-awp-section] {
    margin: 12px auto !important;
    padding: 16px !important;
    max-width: 680px;
}
body.awp-page-style-tech .awp-landing-form input,
body.awp-page-style-tech .awp-landing-form select {
    padding: 10px 12px !important;
    font-size: 14px !important;
}
body.awp-page-style-tech .awp-landing-form .awp-lf-row {
    margin-bottom: 10px;
}

/* ---- BOLD: chunky padding, oversized buttons, edge-to-edge ---- */
body.awp-page-style-bold .awp-landing-form {
    max-width: 700px !important;
    margin: 20px auto !important;
    padding: 28px 24px !important;
}
body.awp-page-style-bold .awp-landing-form button[type="submit"] {
    padding: 22px 32px !important;
    font-size: 19px !important;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}
body.awp-page-style-bold [data-awp-section] {
    margin: 20px auto !important;
    padding: 24px !important;
    max-width: 700px;
}

/* ---- MINIMAL: maximum whitespace, no borders, generous breathing room ---- */
body.awp-page-style-minimal .awp-landing-form {
    max-width: 560px !important;
    margin: 48px auto !important;
    padding: 48px 32px !important;
}
body.awp-page-style-minimal [data-awp-section] {
    margin: 48px auto !important;
    padding: 32px 0 !important;
    max-width: 560px;
    border-left: none !important;
    border-right: none !important;
}
body.awp-page-style-minimal .awp-landing-form input,
body.awp-page-style-minimal .awp-landing-form select {
    padding: 16px 0 !important;
    border-radius: 0 !important;
    border-width: 0 0 1px 0 !important;
    background: transparent !important;
}

/* ---- NORDIC: airy + light, generous gaps ---- */
body.awp-page-style-nordic .awp-landing-form {
    max-width: 640px !important;
    margin: 32px auto !important;
    padding: 36px 32px !important;
}
body.awp-page-style-nordic [data-awp-section] {
    margin: 36px auto !important;
    padding: 28px !important;
    max-width: 640px;
}

/* ---- PREMIUM: balanced classic, medium container ---- */
body.awp-page-style-premium .awp-landing-form {
    max-width: 640px !important;
    margin: 28px auto !important;
    padding: 32px 28px !important;
}
body.awp-page-style-premium [data-awp-section] {
    margin: 24px auto !important;
    padding: 24px !important;
    max-width: 640px;
}

/* ---- FRIENDLY: rounded everywhere, comfortable padding ---- */
body.awp-page-style-friendly .awp-landing-form {
    max-width: 620px !important;
    margin: 24px auto !important;
    padding: 28px 24px !important;
}
body.awp-page-style-friendly [data-awp-section] {
    margin: 20px auto !important;
    padding: 22px !important;
    max-width: 620px;
}

/* ---- WARM: terracotta cozy, medium ---- */
body.awp-page-style-warm .awp-landing-form {
    max-width: 620px !important;
    margin: 24px auto !important;
    padding: 30px 26px !important;
}
body.awp-page-style-warm [data-awp-section] {
    margin: 22px auto !important;
    padding: 22px !important;
    max-width: 620px;
}

/* ---- ECO: natural, lots of breathing room, organic radius ---- */
body.awp-page-style-eco .awp-landing-form {
    max-width: 640px !important;
    margin: 32px auto !important;
    padding: 36px 30px !important;
}
body.awp-page-style-eco [data-awp-section] {
    margin: 28px auto !important;
    padding: 26px !important;
    max-width: 640px;
}

/* ---- MONOCHROME: editorial, super tight container ---- */
body.awp-page-style-monochrome .awp-landing-form {
    max-width: 540px !important;
    margin: 40px auto !important;
    padding: 36px 28px !important;
}
body.awp-page-style-monochrome [data-awp-section] {
    margin: 32px auto !important;
    padding: 24px 0 !important;
    max-width: 540px;
    border-width: 1px 0 0 0 !important;
}

/* ---- PASTEL: playful, soft spacing ---- */
body.awp-page-style-pastel .awp-landing-form {
    max-width: 600px !important;
    margin: 24px auto !important;
    padding: 28px 24px !important;
}
body.awp-page-style-pastel [data-awp-section] {
    margin: 22px auto !important;
    padding: 22px !important;
    max-width: 600px;
}

/* ---- VIBRANT: bold, full-width buttons, energetic spacing ---- */
body.awp-page-style-vibrant .awp-landing-form {
    max-width: 680px !important;
    margin: 24px auto !important;
    padding: 28px 24px !important;
}
body.awp-page-style-vibrant .awp-landing-form button[type="submit"] {
    padding: 20px 28px !important;
    font-size: 18px !important;
    width: 100%;
}
body.awp-page-style-vibrant [data-awp-section] {
    margin: 22px auto !important;
    padding: 22px !important;
    max-width: 680px;
}

/* v1.7.9.9 — Thank-You funnel pitch videos (above upsell / downsell cards). */
.awp-thankyou-funnel .awp-ty-video { margin: 0 0 18px; }
.awp-thankyou-funnel .awp-ty-video[hidden] { display: none; }
.awp-thankyou-funnel .awp-ty-video-frame {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding-top: 125%; /* 4:5 portrait */
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
    background: #000;
}
.awp-thankyou-funnel .awp-ty-video-frame iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0; display: block;
}
.awp-thankyou-funnel .awp-ty-video-mp4 {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    margin: 0 auto;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
    background: #000;
    display: block;
}
.awp-thankyou-funnel .awp-ty-video-link {
    text-align: center;
    padding: 18px;
    background: #f6f7f9;
    border-radius: 12px;
}
.awp-thankyou-funnel .awp-ty-video-link a {
    font-weight: 700;
    text-decoration: none;
}

/* ====================================================================
 * v1.7.9.11 — Unmute overlay for thank-you upsell videos.
 * Surfaced when the browser blocks unmuted autoplay; clicking it
 * restores sound and removes itself.
 * ==================================================================== */
.awp-ty-video { position: relative; }
.awp-ty-video .awp-ty-unmute {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.72);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,.35);
    transition: transform .15s ease, background .15s ease;
}
.awp-ty-video .awp-ty-unmute:hover {
    background: rgba(0,0,0,.92);
    transform: scale(1.08);
}

/* ====================================================================
 * v1.7.9.11 — Page style: AMBER CARD
 * Inspired by Arabic eyewear/fashion mockup. Soft white background,
 * amber/gold accents, rounded card delivery options with radio
 * indicators, circular image swatches with selected ring + check.
 * ==================================================================== */
body.awp-page-style-amber_card {
    background: #fafaf8;
    color: #2b2b2b;
    font-family: 'Tajawal', 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body.awp-page-style-amber_card .awp-landing-form,
body.awp-page-style-amber_card .awp-card,
body.awp-page-style-amber_card [data-awp-section],
body.awp-page-style-amber_card .awp-thankyou-funnel {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 22px;
    box-shadow: 0 8px 28px rgba(0,0,0,.05);
    padding: 22px 18px;
}
body.awp-page-style-amber_card .awp-landing-form h1,
body.awp-page-style-amber_card .awp-landing-form h2,
body.awp-page-style-amber_card [data-awp-section] h2,
body.awp-page-style-amber_card .awp-swatches-label {
    color: #1a1a1a;
    font-weight: 800;
    letter-spacing: -.01em;
}
body.awp-page-style-amber_card .awp-landing-form input,
body.awp-page-style-amber_card .awp-landing-form select,
body.awp-page-style-amber_card .awp-landing-form textarea {
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    background: #fff;
    padding: 14px 16px;
    font-size: 15px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
body.awp-page-style-amber_card .awp-landing-form input:focus,
body.awp-page-style-amber_card .awp-landing-form select:focus,
body.awp-page-style-amber_card .awp-landing-form textarea:focus {
    outline: 0;
    border-color: #e6b53e;
    box-shadow: 0 0 0 3px rgba(230,181,62,.18);
}
/* Pill submit button with amber gradient */
body.awp-page-style-amber_card .awp-landing-form button[type="submit"],
body.awp-page-style-amber_card .awp-lf-btn,
body.awp-page-style-amber_card .awp-thankyou-funnel .button {
    background: linear-gradient(180deg, #f4c860 0%, #e0a626 100%);
    color: #2a1d00;
    font-weight: 800;
    border: 0;
    border-radius: 999px;
    padding: 16px 24px;
    font-size: 17px;
    box-shadow: 0 6px 18px rgba(224,166,38,.35);
    transition: transform .15s ease, box-shadow .15s ease;
}
body.awp-page-style-amber_card .awp-landing-form button[type="submit"]:hover,
body.awp-page-style-amber_card .awp-lf-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(224,166,38,.45);
}
/* Circular image swatches with amber selected ring + check badge */
body.awp-page-style-amber_card .awp-swatch {
    border-radius: 50% !important;
    border: 3px solid transparent !important;
    overflow: hidden;
    position: relative;
}
body.awp-page-style-amber_card .awp-swatch.awp-swatch-selected,
body.awp-page-style-amber_card .awp-swatch.is-selected {
    border-color: #e6b53e !important;
    box-shadow: 0 4px 14px rgba(230,181,62,.35);
}
body.awp-page-style-amber_card .awp-swatch.awp-swatch-selected::after,
body.awp-page-style-amber_card .awp-swatch.is-selected::after {
    content: '✓';
    position: absolute;
    top: -4px;
    right: -4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #22a45a;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
    border: 2px solid #fff;
}
/* Wilaya / commune selects as rounded cards */
body.awp-page-style-amber_card .awp-landing-form select {
    background-color: #fff;
    border: 1.5px solid #e5e5e5;
    border-radius: 14px;
}
body.awp-page-style-amber_card .price,
body.awp-page-style-amber_card .awp-lf-total-amount,
body.awp-page-style-amber_card .woocommerce-Price-amount {
    color: #b8860b;
    font-weight: 800;
}

/* ====================================================================
 * v1.7.9.11 — Page style: NAVY PILL
 * Inspired by Arabic women's fashion mockup. Clean white, navy
 * serif-ish heading with horizontal rule, circular size swatches,
 * and a full-width navy pill submit button with the total price
 * pinned to the left as a chip.
 * ==================================================================== */
body.awp-page-style-navy_pill {
    background: #fff;
    color: #1c1f3a;
    font-family: 'Tajawal', 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body.awp-page-style-navy_pill .awp-landing-form,
body.awp-page-style-navy_pill [data-awp-section],
body.awp-page-style-navy_pill .awp-thankyou-funnel {
    background: #fff;
    border: 0;
    box-shadow: none;
    padding: 18px 14px;
}
body.awp-page-style-navy_pill .awp-landing-form h1,
body.awp-page-style-navy_pill .awp-landing-form h2,
body.awp-page-style-navy_pill [data-awp-section] h2,
body.awp-page-style-navy_pill .awp-swatches-label {
    color: #1f2a63;
    font-weight: 800;
    font-style: italic;
    letter-spacing: -.01em;
    border-bottom: 1px solid #e7eaf3;
    padding-bottom: 10px;
    margin-bottom: 14px;
}
body.awp-page-style-navy_pill .awp-landing-form input,
body.awp-page-style-navy_pill .awp-landing-form select,
body.awp-page-style-navy_pill .awp-landing-form textarea {
    border: 1.5px solid #d8dcec;
    border-radius: 10px;
    background: #fff;
    padding: 14px 16px;
    color: #1c1f3a;
    transition: border-color .15s ease;
}
body.awp-page-style-navy_pill .awp-landing-form input:focus,
body.awp-page-style-navy_pill .awp-landing-form select:focus,
body.awp-page-style-navy_pill .awp-landing-form textarea:focus {
    outline: 0;
    border-color: #1f2a63;
    box-shadow: 0 0 0 3px rgba(31,42,99,.12);
}
/* Circle size swatches (labels) — navy outline when selected */
body.awp-page-style-navy_pill .awp-swatch {
    border-radius: 50% !important;
    border: 1.5px solid #d8dcec !important;
    background: #fff !important;
    color: #1c1f3a;
    font-weight: 700;
    min-width: 56px;
    min-height: 56px;
    width: auto !important;
    height: auto !important;
    aspect-ratio: 1/1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
body.awp-page-style-navy_pill .awp-swatch.awp-swatch-selected,
body.awp-page-style-navy_pill .awp-swatch.is-selected {
    border-color: #1f2a63 !important;
    border-width: 2.5px !important;
    color: #1f2a63;
    box-shadow: 0 4px 12px rgba(31,42,99,.18);
}
/* Image swatches keep being circles too */
body.awp-page-style-navy_pill .awp-swatch.awp-swatch-image {
    aspect-ratio: 1/1;
    overflow: hidden;
}
/* Submit area: position the total chip OVER the left side of the button */
body.awp-page-style-navy_pill .awp-landing-form button[type="submit"],
body.awp-page-style-navy_pill .awp-lf-btn {
    background: linear-gradient(180deg, #2a3d8f 0%, #1f2a63 100%);
    color: #fff;
    font-weight: 800;
    border: 0;
    border-radius: 999px;
    padding: 18px 24px 18px 110px; /* left padding to leave room for chip */
    font-size: 17px;
    width: 100%;
    box-shadow: 0 8px 22px rgba(31,42,99,.32);
    position: relative;
    z-index: 1;
    transition: transform .15s ease, box-shadow .15s ease;
}
body.awp-page-style-navy_pill .awp-landing-form button[type="submit"]:hover,
body.awp-page-style-navy_pill .awp-lf-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(31,42,99,.42);
}
/* Pull the total row INTO the button as a left-side chip */
body.awp-page-style-navy_pill .awp-lf-total {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: #1f2a63;
    font-weight: 800;
    padding: 8px 14px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    margin: 0 auto -52px; /* overlap the button below */
    top: 52px;
    left: 12px;
    width: max-content;
    max-width: 45%;
}
body.awp-page-style-navy_pill .awp-lf-total > span:first-child {
    display: none; /* hide the word "Total" — the chip is self-explanatory */
}
body.awp-page-style-navy_pill .awp-lf-total-amount {
    color: #1f2a63;
    font-weight: 800;
}
/* Payment hint below button — gentle grey */
body.awp-page-style-navy_pill .awp-inline-whatsapp,
body.awp-page-style-navy_pill .awp-payment-note {
    color: #8c92a8;
    font-size: 13px;
    text-align: center;
    margin-top: 10px;
}

/* ====================================================================
 * v1.7.9.11 — "No thanks" button styling on the upsell card.
 * Secondary look so it sits clearly UNDER the primary "Yes" CTA.
 * ==================================================================== */
.awp-thankyou-funnel .awp-ty-upsell .awp-ty-no {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 12px 18px;
    background: transparent;
    color: #777;
    border: 1px solid #d8d8d8;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.awp-thankyou-funnel .awp-ty-upsell .awp-ty-no:hover {
    background: #f5f5f5;
    color: #333;
    border-color: #bbb;
}

/* ====================================================================
 *  v1.7.9.17 — GLASSES page style
 *  Inspired by Golden Shade Glasses landing template.
 *  Black + gold (#dcae1d), Tajawal font, RTL-aware, pulsing CTA.
 * ==================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;600;700;900&display=swap');

body.awp-page-style-glasses,
body.awp-page-style-glasses .awp-landing-form,
body.awp-page-style-glasses [data-awp-section],
body.awp-page-style-glasses .awp-thankyou-funnel,
body.awp-page-style-glasses .awp-home-section {
    font-family: 'Tajawal', sans-serif;
}
body.awp-page-style-glasses .awp-landing-form,
body.awp-page-style-glasses .awp-card,
body.awp-page-style-glasses [data-awp-section],
body.awp-page-style-glasses .awp-thankyou-funnel {
    background: #fafafa;
    color: #111;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}
body.awp-page-style-glasses .awp-landing-form h2,
body.awp-page-style-glasses .awp-landing-form h3,
body.awp-page-style-glasses [data-awp-section] h2,
body.awp-page-style-glasses [data-awp-section] h3 {
    color: #111;
    font-weight: 900;
    text-align: center;
}
body.awp-page-style-glasses .awp-landing-form input,
body.awp-page-style-glasses .awp-landing-form select,
body.awp-page-style-glasses .awp-landing-form textarea {
    background: #fff;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    font-family: 'Tajawal', sans-serif;
}
body.awp-page-style-glasses .awp-landing-form input::placeholder { font-weight: 400; color: #888; }
body.awp-page-style-glasses .awp-landing-form input:focus,
body.awp-page-style-glasses .awp-landing-form select:focus,
body.awp-page-style-glasses .awp-landing-form textarea:focus {
    border-color: #dcae1d;
    outline: none;
    box-shadow: 0 0 8px rgba(220,174,29,0.2);
}
body.awp-page-style-glasses .awp-swatches [data-swatch] {
    border: 3px solid #eee;
    background: #fff;
}
body.awp-page-style-glasses .awp-swatches [data-swatch][aria-checked="true"],
body.awp-page-style-glasses .awp-swatches [data-swatch].is-selected {
    border-color: #dcae1d !important;
    box-shadow: 0 5px 15px rgba(220,174,29,0.3);
}
@keyframes awp-glasses-pulse {
    0%   { transform: scale(1);    box-shadow: 0 5px 15px rgba(17,17,17,0.2); }
    50%  { transform: scale(1.02); box-shadow: 0 8px 25px rgba(220,174,29,0.5); }
    100% { transform: scale(1);    box-shadow: 0 5px 15px rgba(17,17,17,0.2); }
}
body.awp-page-style-glasses .awp-landing-form button[type="submit"],
body.awp-page-style-glasses .awp-thankyou-funnel .button,
body.awp-page-style-glasses .awp-sticky-cta button,
body.awp-page-style-glasses .awp-sticky-cta a {
    background: #111 !important;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 20px;
    font-size: 22px;
    font-weight: 900;
    width: 100%;
    cursor: pointer;
    animation: awp-glasses-pulse 2.5s infinite ease-in-out;
    font-family: 'Tajawal', sans-serif;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}
body.awp-page-style-glasses .awp-landing-form button[type="submit"]:hover {
    background: #333 !important;
    animation: none;
    transform: translateY(-2px);
}
body.awp-page-style-glasses .price,
body.awp-page-style-glasses .woocommerce-Price-amount,
body.awp-page-style-glasses .awp-price-final {
    color: #dcae1d !important;
    font-size: 32px;
    font-weight: 900;
}
body.awp-page-style-glasses del .woocommerce-Price-amount {
    color: #999 !important;
    font-size: 20px;
}

/* ====================================================================
 *  v1.7.9.17 — MAISON page style
 *  Inspired by Maison Layali product layout.
 *  Deep navy (#1a237e) + gold (#dcae1d), Reem Kufi headings, elegant.
 * ==================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Reem+Kufi:wght@700&display=swap');

body.awp-page-style-maison {
    background: #fcfcfd;
    color: #111536;
    font-family: 'Tajawal', sans-serif;
}
body.awp-page-style-maison .awp-landing-form,
body.awp-page-style-maison .awp-card,
body.awp-page-style-maison [data-awp-section],
body.awp-page-style-maison .awp-thankyou-funnel {
    background: #fff;
    border: 1px solid #e8eaf6;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(26, 35, 126, 0.08);
    color: #111536;
    margin-bottom: 20px;
}
body.awp-page-style-maison .awp-landing-form h1,
body.awp-page-style-maison .awp-landing-form h2,
body.awp-page-style-maison .awp-landing-form h3,
body.awp-page-style-maison [data-awp-section] h1,
body.awp-page-style-maison [data-awp-section] h2,
body.awp-page-style-maison [data-awp-section] h3 {
    font-family: 'Reem Kufi', 'Tajawal', sans-serif;
    color: #1a237e;
    font-weight: 800;
    letter-spacing: 0.5px;
}
body.awp-page-style-maison .awp-landing-form input,
body.awp-page-style-maison .awp-landing-form select,
body.awp-page-style-maison .awp-landing-form textarea {
    background: #fff;
    border: 2px solid #e8eaf6;
    border-radius: 8px;
    padding: 14px;
    font-size: 16px;
    color: #111536;
    font-family: 'Tajawal', sans-serif;
}
body.awp-page-style-maison .awp-landing-form input:focus,
body.awp-page-style-maison .awp-landing-form select:focus,
body.awp-page-style-maison .awp-landing-form textarea:focus {
    border-color: #1a237e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26,35,126,0.1);
}
body.awp-page-style-maison .awp-swatches [data-swatch] {
    background-color: #f5f6fa;
    border: 2px solid #e8eaf6;
    border-radius: 10px;
    color: #111536;
}
body.awp-page-style-maison .awp-swatches [data-swatch][aria-checked="true"],
body.awp-page-style-maison .awp-swatches [data-swatch].is-selected {
    border-color: #1a237e !important;
    background-color: #fff !important;
    color: #1a237e !important;
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.2);
    transform: scale(1.05);
}
body.awp-page-style-maison .awp-landing-form button[type="submit"],
body.awp-page-style-maison .awp-thankyou-funnel .button,
body.awp-page-style-maison .awp-sticky-cta button,
body.awp-page-style-maison .awp-sticky-cta a {
    background: #1a237e !important;
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    font-size: 22px;
    font-weight: 800;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(26, 35, 126, 0.3);
    font-family: 'Tajawal', sans-serif;
    transition: 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}
body.awp-page-style-maison .awp-landing-form button[type="submit"]:hover {
    background: #111536 !important;
    transform: translateY(-2px);
}
body.awp-page-style-maison .price,
body.awp-page-style-maison .woocommerce-Price-amount,
body.awp-page-style-maison .awp-price-final {
    color: #dcae1d !important;
    font-size: 32px;
    font-weight: 900;
}
body.awp-page-style-maison del .woocommerce-Price-amount {
    color: #999 !important;
}
body.awp-page-style-maison .awp-gift-section,
body.awp-page-style-maison .awp-bundle-section {
    border: 2px dashed #dcae1d;
    background: #fffdf5;
}
