/* Smorty Phase 4 — premium UI/UX and CRO layer */
:root{--ui-radius-sm:12px;--ui-radius:18px;--ui-radius-lg:28px;--ui-shadow-sm:0 8px 24px rgba(15,23,42,.07);--ui-shadow:0 18px 50px rgba(15,23,42,.11);--ui-border:rgba(148,163,184,.22);--ui-surface:rgba(255,255,255,.88);--ui-muted:#64748b;--ui-success:#16a34a;--ui-focus:0 0 0 4px color-mix(in srgb,var(--primary-color,#ff7a00) 22%,transparent)}
*{scroll-margin-top:110px}body{font-feature-settings:"kern" 1,"liga" 1;background:linear-gradient(180deg,#fff 0,#fbfcff 44%,#f8fafc 100%)}
a,button,input,select,textarea,summary{transition:color .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:0;box-shadow:var(--ui-focus)!important}.skip-link{position:fixed;inset-inline-start:16px;top:-80px;z-index:99999;background:#111827;color:#fff;padding:12px 18px;border-radius:12px}.skip-link:focus{top:16px}.site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.82);backdrop-filter:saturate(160%) blur(18px);border-bottom:1px solid var(--ui-border)}.nav-wrap{gap:22px}.main-nav{gap:6px}.main-nav a{position:relative;padding:11px 13px;border-radius:12px;font-weight:750}.main-nav a:hover,.main-nav a[aria-current="page"]{background:color-mix(in srgb,var(--primary-color,#ff7a00) 10%,transparent);color:var(--primary-color,#ff7a00)}.header-cta,.btn,.buy-btn{min-height:48px;display:inline-flex;align-items:center;justify-content:center;border-radius:14px;font-weight:850;letter-spacing:-.01em;box-shadow:0 8px 20px color-mix(in srgb,var(--primary-color,#ff7a00) 20%,transparent)}.header-cta:hover,.btn:hover,.buy-btn:hover{transform:translateY(-2px);box-shadow:0 14px 28px color-mix(in srgb,var(--primary-color,#ff7a00) 27%,transparent)}.language-select,.theme-toggle{min-height:44px;border-radius:12px}.section{padding-block:clamp(56px,7vw,96px)}.section-head{max-width:720px;margin-inline:auto;margin-bottom:36px}.section-head h2{font-size:clamp(1.7rem,3.4vw,2.6rem);letter-spacing:-.035em}.section-head p{color:var(--ui-muted);font-size:1.05rem;line-height:1.75}.hero{position:relative;isolation:isolate;padding-block:clamp(64px,9vw,120px);overflow:hidden}.hero:before{content:"";position:absolute;width:520px;height:520px;border-radius:50%;background:color-mix(in srgb,var(--primary-color,#ff7a00) 16%,transparent);filter:blur(80px);inset-inline-start:-180px;top:-260px;z-index:-1}.hero-grid{gap:clamp(34px,7vw,88px);align-items:center}.hero h1{font-size:clamp(2.6rem,6vw,5rem);line-height:1.02;letter-spacing:-.055em;max-width:800px}.hero p{font-size:clamp(1.05rem,2vw,1.25rem);line-height:1.8;max-width:680px}.hero-card{border:1px solid rgba(255,255,255,.5);border-radius:var(--ui-radius-lg);box-shadow:var(--ui-shadow);overflow:hidden;background:rgba(255,255,255,.18);backdrop-filter:blur(14px)}.hero-card img{display:block;aspect-ratio:16/10;object-fit:cover}.homepage-category-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:24px}.homepage-category-links a{padding:9px 14px;border:1px solid var(--ui-border);border-radius:999px;background:var(--ui-surface);font-weight:750}.category-tab{box-shadow:var(--ui-shadow-sm);border:1px solid var(--ui-border)!important}.category-tab:hover{transform:translateY(-3px)}.offers-grid{gap:clamp(16px,2.5vw,28px)}.offer-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius);overflow:hidden;background:var(--ui-surface);box-shadow:var(--ui-shadow-sm);display:flex;flex-direction:column;min-width:0}.offer-card:hover{transform:translateY(-5px);box-shadow:var(--ui-shadow)}.offer-image{aspect-ratio:1/1;object-fit:cover;background:#f1f5f9}.offer-body{display:flex;flex-direction:column;gap:10px;padding:20px;flex:1}.offer-title{font-size:1.08rem;line-height:1.4}.offer-desc{color:var(--ui-muted);line-height:1.65}.price-row{margin-top:auto}.new-price{font-size:1.32rem;font-weight:900}.old-price{color:#94a3b8}.badge,.duration{width:max-content;border-radius:999px}.feature-card,.review-card,.proof-card,.faq-item,.related-card,.seo-content-grid section{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);box-shadow:var(--ui-shadow-sm)}.feature-card,.seo-content-grid section{padding:clamp(22px,3vw,32px)}.faq-item{overflow:hidden}.faq-item summary{padding:20px 22px;font-weight:850;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:18px}.faq-item summary:after{content:"+";font-size:1.35rem}.faq-item[open] summary:after{content:"−"}.faq-item p{padding:0 22px 22px;color:var(--ui-muted);line-height:1.75}.seo-breadcrumbs{display:flex;flex-wrap:wrap;gap:9px;align-items:center;color:var(--ui-muted);font-size:.93rem;margin-bottom:28px}.seo-breadcrumbs a:hover{color:var(--primary-color,#ff7a00)}.seo-offer-grid,.seo-category-hero{border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);padding:clamp(22px,4vw,48px);background:var(--ui-surface);box-shadow:var(--ui-shadow);gap:clamp(28px,5vw,64px)}.seo-main-product-image{border-radius:22px;background:#f1f5f9;object-fit:cover}.seo-offer-grid dl{display:grid;grid-template-columns:auto 1fr;gap:10px 20px;padding:18px 0}.seo-offer-grid dt{color:var(--ui-muted)}.seo-offer-grid dd{font-weight:850}.product-trust-row{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.product-trust-pill{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:999px;background:#f0fdf4;color:#166534;font-size:.9rem;font-weight:800;border:1px solid #bbf7d0}.mobile-buy-bar{display:none}.checkout-ref-page{padding-block:clamp(30px,5vw,70px)}.checkout-ref-shell{max-width:1180px}.checkout-ref-step-card,.checkout-ref-summary-card{border:1px solid var(--ui-border)!important;border-radius:var(--ui-radius)!important;box-shadow:var(--ui-shadow-sm)!important;background:var(--ui-surface)!important}.checkout-ref-payment-card{border-radius:16px!important;border:1px solid var(--ui-border)!important;min-height:92px}.checkout-ref-payment-card:hover{transform:translateY(-2px);box-shadow:var(--ui-shadow-sm)}.checkout-ref-payment-card.selected,.checkout-ref-payment-card:has(input:checked){border-color:var(--primary-color,#ff7a00)!important;box-shadow:var(--ui-focus)!important}.checkout-ref-page input,.checkout-ref-page select,.checkout-ref-page textarea,.admin-body input,.admin-body select,.admin-body textarea{min-height:48px;border-radius:12px!important;border:1px solid #dbe3ee!important;background:#fff;padding:11px 13px}.checkout-ref-page input[type=file]{padding:9px}.checkout-ref-page label,.admin-body label{font-weight:750}.checkout-ref-page button[type=submit]{min-height:52px;font-size:1rem}.checkout-ref-step-card.active{border-color:color-mix(in srgb,var(--primary-color,#ff7a00) 40%,var(--ui-border))!important}.site-footer{position:relative;background:#0f172a;color:#cbd5e1;padding-top:70px}.site-footer:before{content:"";position:absolute;inset:0 0 auto;height:1px;background:linear-gradient(90deg,transparent,var(--primary-color,#ff7a00),transparent)}.footer-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 32px;border-radius:22px;background:linear-gradient(135deg,color-mix(in srgb,var(--primary-color,#ff7a00) 92%,#fff),color-mix(in srgb,var(--primary-color,#ff7a00) 68%,#7c3aed));color:#fff;margin-bottom:50px;box-shadow:0 20px 60px rgba(0,0,0,.18)}.footer-cta h2{margin:0 0 6px;font-size:clamp(1.4rem,3vw,2.1rem)}.footer-cta p{margin:0;opacity:.9}.footer-cta .btn{background:#fff!important;color:#111827!important;box-shadow:none}.seo-footer-grid h2{font-size:1rem;color:#fff;text-transform:uppercase;letter-spacing:.06em}.seo-footer-grid a{color:#cbd5e1;padding-block:5px}.seo-footer-grid a:hover{color:#fff;transform:translateX(3px)}[dir=rtl] .seo-footer-grid a:hover{transform:translateX(-3px)}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-block:24px}.admin-body{background:#f5f7fb}.admin-pro-sidebar{background:#0f172a!important}.admin-nav-list a{border-radius:12px;margin:3px 10px;padding:12px 14px}.admin-nav-list a.active,.admin-nav-list a:hover{background:rgba(255,255,255,.1)}.admin-pro-top{position:sticky;top:0;z-index:20;background:rgba(245,247,251,.9);backdrop-filter:blur(14px);padding-block:18px;border-bottom:1px solid var(--ui-border)}.admin-card{border:1px solid var(--ui-border)!important;border-radius:18px!important;box-shadow:var(--ui-shadow-sm)!important;background:#fff!important}.admin-table-wrap{border:1px solid var(--ui-border);border-radius:18px;overflow:auto;background:#fff;box-shadow:var(--ui-shadow-sm)}.admin-table{min-width:760px}.admin-table th{position:sticky;top:0;background:#f8fafc;z-index:2}.admin-table th,.admin-table td{padding:14px 16px!important}.admin-btn{min-height:40px;border-radius:11px!important;display:inline-flex;align-items:center;justify-content:center}.admin-form{border-radius:18px!important}.admin-profile-pill{border:1px solid var(--ui-border);background:#fff;box-shadow:var(--ui-shadow-sm)}
@media(max-width:900px){.site-header{backdrop-filter:blur(12px)}.main-nav{padding:14px;border:1px solid var(--ui-border);border-radius:18px;box-shadow:var(--ui-shadow);background:#fff}.main-nav a{min-height:46px;display:flex;align-items:center}.nav-actions{gap:8px}.header-cta{display:none}.section{padding-block:52px}.hero{text-align:center}.hero p{margin-inline:auto}.hero-btn{width:100%;max-width:360px}.offers-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.offer-body{padding:15px}.offer-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.footer-cta{flex-direction:column;text-align:center;padding:26px 20px}.footer-cta .btn{width:100%}.mobile-buy-bar{position:fixed;display:flex;align-items:center;justify-content:space-between;gap:12px;bottom:0;inset-inline:0;z-index:999;padding:12px max(16px,env(safe-area-inset-left)) calc(12px + env(safe-area-inset-bottom));background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-top:1px solid var(--ui-border);box-shadow:0 -12px 30px rgba(15,23,42,.12)}.mobile-buy-bar strong{display:block}.mobile-buy-bar small{color:var(--ui-muted)}.mobile-buy-bar .buy-btn{min-width:150px}.seo-offer-page{padding-bottom:100px}.checkout-ref-page{padding-bottom:28px}.admin-pro-main{padding:16px!important}.admin-pro-top{margin:-16px -16px 18px;padding:14px 16px}.admin-profile-pill small{display:none}}
@media(max-width:560px){.offers-grid{grid-template-columns:1fr;gap:16px}.offer-title{font-size:.96rem}.offer-body{padding:13px}.offer-desc{display:none}.new-price{font-size:1.08rem}.buy-btn{min-height:44px;font-size:.9rem}.seo-offer-grid,.seo-category-hero{padding:18px;border-radius:20px}.seo-content-grid{grid-template-columns:1fr!important}.product-trust-pill{font-size:.82rem}.footer-bottom{align-items:flex-start!important}.mobile-buy-bar .buy-btn{min-width:132px}.checkout-ref-payment-grid{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
[data-theme=dark] body{background:#07101f}[data-theme=dark] .site-header{background:rgba(7,16,31,.84)}[data-theme=dark] .offer-card,[data-theme=dark] .feature-card,[data-theme=dark] .faq-item,[data-theme=dark] .seo-offer-grid,[data-theme=dark] .seo-category-hero,[data-theme=dark] .seo-content-grid section{background:rgba(15,23,42,.86)}

/* Phase 4 customer hotfix */
.seo-footer-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px}
@media(max-width:700px){.seo-footer-grid-compact{grid-template-columns:1fr}}
@media(max-width:560px){.offer-card{max-width:440px;width:100%;margin-inline:auto}.offer-image{height:auto;aspect-ratio:16/10;object-fit:cover}.offer-body{padding:18px}.offer-title{font-size:1.08rem}.offer-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.new-price{font-size:1.25rem}}

/* Global UI/settings hotfix */
.language-switcher{position:relative;z-index:70}.language-switcher-toggle{min-height:44px;display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--border-color,#e2e8f0);border-radius:14px;background:var(--surface-color,#fff);color:var(--text-color,#0f172a);font:inherit;cursor:pointer}.language-switcher-toggle img,.language-switcher-menu img{border-radius:50%;object-fit:cover}.language-switcher-menu{position:absolute;top:calc(100% + 8px);inset-inline-end:0;min-width:170px;padding:6px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;box-shadow:0 18px 45px rgba(15,23,42,.18)}.language-switcher-menu button{width:100%;display:flex;align-items:center;gap:10px;border:0;background:transparent;padding:10px;border-radius:10px;text-align:start;cursor:pointer}.language-switcher-menu button:hover,.language-switcher-menu button[aria-selected=true]{background:#f1f5f9}.footer-cta{max-width:760px;margin-inline:auto;padding:20px 24px!important;min-height:0!important}.footer-cta h2{font-size:clamp(1.15rem,3vw,1.5rem)!important;margin-bottom:4px}.footer-cta p{font-size:.95rem!important;margin:0}.footer-cta .btn{padding:11px 18px!important;min-height:44px}.footer-payment-logos{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.footer-payment-logos:empty{display:none}.footer-payment-logos img{width:auto!important;max-width:64px!important;height:30px!important;object-fit:contain;background:#fff;border-radius:7px;padding:4px}.contact-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:20px}.contact-actions .btn{min-width:180px}.contact-panel{max-width:760px;margin:auto;text-align:center}
@media(max-width:900px){.nav-wrap{display:flex!important}.brand{order:1}.nav-actions{order:2;margin-inline-start:auto!important}.mobile-menu-btn{order:3;margin-inline-start:10px!important}.main-nav{order:4}.nav-actions .header-cta{display:none!important}.language-switcher-toggle{padding:7px 10px}.language-switcher-toggle span:nth-child(2){max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.footer-cta{padding:18px!important;text-align:center}.footer-cta .btn{width:100%}.contact-actions{flex-direction:column}.contact-actions .btn{width:100%}}

/* Language switcher hotfix: works without JavaScript on desktop and mobile. */
details.language-switcher{position:relative;z-index:90}
details.language-switcher>summary{list-style:none}
details.language-switcher>summary::-webkit-details-marker{display:none}
details.language-switcher[open] .language-chevron{transform:rotate(180deg)}
.language-chevron{display:inline-block;transition:transform .18s ease}
details.language-switcher .language-switcher-menu{display:none}
details.language-switcher[open] .language-switcher-menu{display:block}
.language-switcher-menu a{width:100%;display:flex;align-items:center;gap:10px;border:0;background:transparent;padding:10px;border-radius:10px;text-align:start;cursor:pointer;color:#0f172a;text-decoration:none}
.language-switcher-menu a:hover,.language-switcher-menu a[aria-current=true]{background:#f1f5f9}

/* Footer safety payments badge */
.footer-safety-payments{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  min-width:0;
}
.footer-safety-label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:inherit;
  font-weight:700;
  white-space:nowrap;
}
.footer-safety-label svg{flex:0 0 auto}
.footer-safety-logos{
  display:block;
  line-height:0;
}
.footer-safety-logos img{
  display:block;
  width:auto;
  height:34px;
  max-width:210px;
  object-fit:contain;
}
@media(max-width:760px){
  .footer-safety-payments{
    justify-content:center;
    gap:9px;
  }
  .footer-safety-label{font-size:.9rem}
  .footer-safety-logos img{
    height:28px;
    max-width:175px;
  }
}



/* Language switcher final fix: keep menu inside header and never clip it. */
.site-header,
.site-header .container,
.nav-wrap,
.nav-actions,
.language-switcher {
  overflow: visible !important;
}
.site-header { z-index: 10000 !important; }
.nav-actions { position: relative; z-index: 10001 !important; }
.language-switcher { position: relative; z-index: 10002 !important; }
.language-switcher-toggle {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  z-index: 2;
}
.language-switcher-menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  inset-inline-end: 0 !important;
  inset-inline-start: auto !important;
  width: max-content !important;
  min-width: 190px !important;
  max-width: min(280px, calc(100vw - 24px)) !important;
  max-height: min(420px, calc(100vh - 100px)) !important;
  overflow-y: auto !important;
  z-index: 10003 !important;
  display: block;
  padding: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(15,23,42,.28);
}
.language-switcher-menu[hidden] { display: none !important; }
.language-switcher.is-open .language-chevron { transform: rotate(180deg); }
.language-switcher-menu a {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #0f172a;
  text-decoration: none;
  white-space: nowrap;
}
.language-switcher-menu a:hover,
.language-switcher-menu a[aria-current="true"] { background: #f1f5f9; }
@media (max-width: 900px) {
  .language-switcher-menu {
    position: fixed !important;
    top: 76px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100vh - 92px) !important;
  }
  .language-switcher-menu a { min-height: 50px; padding: 12px 14px; }
}


/* Final public dark-mode contrast and editable theme-icon fix */
.theme-toggle{display:inline-grid!important;place-items:center!important;width:46px;height:44px;padding:0!important;overflow:hidden}
.theme-toggle-icon{display:grid;place-items:center;width:100%;height:100%;line-height:1}
.theme-toggle-icon img{width:22px!important;height:22px!important;object-fit:contain!important;display:block!important}
html[data-theme="dark"] .language-switcher-toggle{background:#fff!important;border-color:#e2e8f0!important;color:#111827!important}
html[data-theme="dark"] .language-switcher-toggle span,
html[data-theme="dark"] .language-switcher-toggle .language-chevron{color:#111827!important}
html[data-theme="dark"] .review-card{background:#e5e7eb!important;border-color:#d1d5db!important;color:#111827!important}
html[data-theme="dark"] .review-card p,
html[data-theme="dark"] .review-card strong,
html[data-theme="dark"] .review-card h3,
html[data-theme="dark"] .review-card .review-author,
html[data-theme="dark"] .review-card .review-quote{color:#111827!important}
html[data-theme="dark"] .review-card .stars{color:#f59e0b!important}
