:root{
  --red:#d71920;
  --red-deep:#a70f16;
  --red-soft:#fff0f1;
  --rose:#ffe4e6;
  --ink:#17191f;
  --muted:#6f7682;
  --line:#e9e3df;
  --paper:#fffaf7;
  --white:#fff;
  --cream:#f7f1ea;
  --charcoal:#20262e;
  --green:#118c4f;
  --shadow:0 22px 70px rgba(85,32,25,.11);
  --shadow-soft:0 12px 35px rgba(43,28,24,.08);
  --radius:26px;
  --radius-sm:16px;
  --max:1180px;
  font-family:"DM Sans",Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#17191f;
  background:#fffaf7;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:#fffaf7;color:var(--ink);font-family:"DM Sans",Inter,system-ui,sans-serif;font-size:16px;line-height:1.55;letter-spacing:-.01em;overflow-x:hidden}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
input,select,textarea{font-size:16px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.eyebrow,.section-label,.service-topline,.shop-mode-kicker,.home-offer-eyebrow,.flow-kicker,.order-kicker,.imei-kicker,.question-intro,.section-intro>p:first-child,.catalog-hero-proof span,.topline{font-size:.74rem;letter-spacing:.22em;text-transform:uppercase;color:var(--red);font-weight:800}
.button,.button-primary,.button-secondary,.primary-cta,.secondary-cta,.store-link,.header-help,.shop-support,.search-button,.order-submit,.submit-quote,.quote-button,.save-product,.save-homepage,.save-settings,.change-password,.add-product,.add-buyback,.new-orders-button,.refresh-orders{border:0;border-radius:999px;padding:14px 22px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.button:hover,.button-primary:hover,.button-secondary:hover,.primary-cta:hover,.secondary-cta:hover,.store-link:hover,.header-help:hover,.shop-support:hover,.search-button:hover{transform:translateY(-2px)}
.button-primary,.primary-cta,.search-button,.order-submit,.submit-quote,.quote-button,.save-product,.save-homepage,.save-settings,.change-password,.add-product,.add-buyback,.new-orders-button{background:linear-gradient(135deg,var(--red),var(--red-deep));color:#fff;box-shadow:0 14px 34px rgba(215,25,32,.22)}
.button-secondary,.secondary-cta,.header-help,.store-link{background:#fff;color:var(--ink);border:1px solid var(--line);box-shadow:var(--shadow-soft)}
.shop-whatsapp,.shop-support[href*="wa.me"],.whatsapp-float{background:var(--green)!important;color:#fff!important}
.utility-bar{background:#17191f;color:#fff;display:flex;align-items:center;justify-content:center;gap:28px;padding:9px 18px;font-size:.84rem}
.utility-bar p{margin:0;color:#f5eee9}
.utility-bar a{font-weight:800;color:#fff}
.site-header,.catalog-header,.service-header,body>header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.88);backdrop-filter:blur(20px);border-bottom:1px solid rgba(223,214,209,.72);padding:16px clamp(18px,4vw,46px);display:flex;align-items:center;gap:18px}
.site-header{top:0}
.brand,.catalog-brand,.service-brand,.logo,.admin-brand,.footer-brand{display:flex;align-items:center;gap:13px;font-weight:900;letter-spacing:.02em}
.brand img,.catalog-brand img,.service-brand img,.logo img,.admin-brand img,.footer-brand img{width:58px;height:58px;border-radius:50%;object-fit:cover;background:#fff;border:1px solid #eee;box-shadow:0 8px 24px rgba(0,0,0,.06)}
.brand strong,.catalog-brand strong,.service-brand strong,.logo span,.admin-brand span,.footer-brand strong{font-size:1.15rem;line-height:1}
.brand small,.catalog-brand small,.service-brand small,.logo small,.admin-brand small,.footer-brand small{display:block;margin-top:5px;font-size:.68rem;letter-spacing:.18em;color:var(--red);font-weight:700}
.site-header nav,.catalog-header nav,.service-header nav,body>header nav,.category-nav{display:flex;align-items:center;gap:8px}
.category-nav{justify-content:center;background:#fff;border-bottom:1px solid var(--line);padding:10px 20px}
.site-header nav a,.catalog-header nav a,.service-header nav a,body>header nav a,.category-nav a,.mobile-channel-nav a{padding:11px 14px;border-radius:999px;color:#555d68;font-weight:800;font-size:.94rem}
.site-header nav a:hover,.catalog-header nav a:hover,.service-header nav a:hover,body>header nav a:hover,.category-nav a:hover,.site-header nav a.active,.catalog-header nav a.active,.service-header nav a.active,body>header nav a.active,.category-nav a.active,.mobile-channel-nav a.active{background:var(--red-soft);color:var(--red)}
.market-search,.search-form,.catalog-search,.phone-search-box{flex:1;min-width:230px;display:flex;align-items:center;background:#fff;border:1px solid var(--line);border-radius:999px;box-shadow:0 10px 28px rgba(35,28,24,.06);overflow:hidden}
.market-search input,.search-form input,.catalog-search input,.phone-search-box input{width:100%;border:0;outline:0;background:transparent;padding:16px 18px;color:var(--ink);font-size:16px}
.search-category{border:0;border-right:1px solid var(--line);background:#fff;padding:0 14px;height:54px;color:#555}
.search-button{border-radius:0 999px 999px 0;align-self:stretch;min-height:54px;padding-inline:24px}
.header-actions{display:flex;align-items:center;gap:10px}
.header-link,.orders-button,.deliver-to,.cart-button,.menu-button{border:1px solid var(--line);background:#fff;border-radius:18px;min-height:52px;padding:9px 14px;display:flex;align-items:center;gap:10px;color:var(--ink);box-shadow:0 8px 20px rgba(36,30,25,.05)}
.header-link small,.deliver-to small{display:block;color:var(--muted);font-size:.72rem;font-weight:700}
.header-link strong,.deliver-to strong{display:block;font-size:.88rem}
.cart-count,.new-order-count,.mobile-new-order-count{display:inline-grid;place-items:center;background:var(--red);color:#fff;border-radius:999px;min-width:22px;height:22px;font-size:.72rem}
.menu-button{width:52px;justify-content:center;display:none}
.menu-button span{width:20px;height:2px;background:var(--ink);display:block;margin:3px;border-radius:99px}
.hero,.catalog-hero,.sell-hero,.services-hero,.wholesale-hero{max-width:var(--max);margin:34px auto;padding:clamp(26px,5vw,64px);border-radius:30px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-soft);display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);gap:34px;align-items:center;overflow:hidden}
.hero h1,.catalog-hero h1,.sell-hero h1,.services-hero h1,.wholesale-hero h1,.page-title,h1{font-family:"Newsreader",Georgia,serif;font-size:clamp(2.6rem,7vw,5.8rem);line-height:.92;letter-spacing:-.06em;margin:12px 0;color:#14171d}
.hero h1 em,.catalog-hero h1 em,.sell-hero h1 em,.services-hero h1 em,.wholesale-hero h1 em{color:var(--red);font-style:italic}
.hero-lead,.section-copy,.catalog-hero p,.sell-copy p,.services-hero p,.wholesale-hero p{font-size:clamp(1.05rem,1.8vw,1.25rem);color:#636b76;max-width:650px}
.hero-actions,.button-row,.valuation-actions,.contact-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:24px}
.hero-media,.services-hero-art,.local-media,.device-lineup-banner{position:relative;border-radius:30px;overflow:hidden;background:#fff;box-shadow:0 25px 70px rgba(69,32,27,.14);border:1px solid #fff}
.hero-media img,.home-hero-poster,.services-owner-poster,.home-shop-photo,.local-media img,.device-lineup-banner img{width:100%;height:100%;object-fit:cover}
.hero-caption{position:absolute;left:18px;bottom:18px;background:rgba(255,255,255,.9);backdrop-filter:blur(16px);border-radius:18px;padding:12px 14px;font-weight:800;box-shadow:var(--shadow-soft)}
.trustline,.catalog-assurance,.detail-assurance,.confidence-grid,.stat-grid,.commerce-stat-grid,.wholesale-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:var(--max);margin:20px auto}
.trustline span,.catalog-assurance article,.detail-assurance article,.confidence-grid article,.stat-grid article,.commerce-stat-grid article,.wholesale-proof article{background:#fff;border:1px solid var(--line);border-radius:22px;padding:18px;box-shadow:var(--shadow-soft);font-weight:800}
.section-shell,.shop-section,.sell-section,.service-section,.stories,.confidence-section,.local-section,.contact-band,.home-offer-section,.section-head,.service-directory,.faq,.guide,.why{max-width:var(--max);margin:54px auto;padding:0 clamp(18px,3vw,0px)}
.section-head,.section-heading,.directory-heading,.results-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:20px}
.section-head h2,.section-heading h2,.directory-heading h2,.home-offer-title,.service-directory h2,.faq h2,.guide h2,.why h2,.contact-band h2,.panel h2{font-size:clamp(2rem,4vw,3.45rem);line-height:1;letter-spacing:-.05em;margin:0;font-family:"Newsreader",Georgia,serif}
.services-grid,.service-grid,.story-grid,.why-grid,.step-grid,.simple-journey,.process-list,.location-list,.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.services-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.service-card,.story-grid article,.why-grid article,.step-grid article,.simple-journey article,.process-list article,.location-list article,.quote-card,.tracking-card-admin,.order-card,.panel,.homepage-editor-card,.editor-card-head,.business-callout,.catalogue-note,.notice{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow-soft)}
.service-card{min-height:220px;display:flex;flex-direction:column;justify-content:space-between;transition:transform .18s ease,box-shadow .18s ease}
.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.service-card.featured,.service-sell,.service-wholesale{background:#fff;color:var(--ink);border-color:#f0d8d8}
.service-repair{background:#20262e;color:#fff}
.service-card h3{font-size:clamp(1.45rem,2.4vw,2.35rem);line-height:1;margin:10px 0;letter-spacing:-.04em}
.service-card p{color:inherit;opacity:.78;margin:0}
.service-card b{border-bottom:2px solid currentColor;padding-bottom:8px;width:max-content;margin-top:22px}
.service-icon,.step-icon{width:auto;min-width:54px;height:34px;border-radius:999px;background:var(--red-soft);color:var(--red);display:inline-grid;place-items:center;font-weight:900;font-size:.78rem;padding:0 12px;text-transform:uppercase;letter-spacing:.08em}
.featured .service-icon,.service-sell .service-icon,.service-wholesale .service-icon{background:var(--red-soft);color:var(--red)}
.trust-list{display:flex;gap:10px;flex-wrap:wrap;padding:0;margin:24px 0 0;list-style:none}
.trust-list li{background:#fff;border:1px solid var(--line);border-radius:999px;padding:9px 13px;color:#424850;font-weight:900;box-shadow:0 8px 22px rgba(40,31,26,.05)}
.brand-section{background:#fff;border:1px solid var(--line);border-radius:34px;padding:32px;box-shadow:var(--shadow-soft)}
.brands{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.brands a{min-height:78px;border-radius:18px;background:#fff;border:1px solid #eadfda;display:flex;align-items:center;padding:18px;font-size:1.18rem;font-weight:900;letter-spacing:-.03em;box-shadow:0 8px 20px rgba(84,35,28,.05);transition:.18s ease}
.brands a:hover{transform:translateY(-2px);border-color:var(--red);color:var(--red)}
.local-section{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}
.local-copy h2,.sell-copy h2{font-family:"Newsreader",Georgia,serif;font-size:clamp(2.2rem,5vw,4.2rem);line-height:.96;letter-spacing:-.05em;margin:8px 0 16px}
.local-copy h3{font-size:1.4rem;margin:20px 0 8px}
.local-copy h3 small{display:block;color:var(--red);font-size:.82rem;letter-spacing:.16em;text-transform:uppercase;margin-top:4px}
.shop-details{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}
.shop-details div{background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px;box-shadow:var(--shadow-soft)}
.shop-details small{display:block;color:var(--muted);font-weight:800;margin-bottom:4px}
.home-offer-section{display:grid;grid-template-columns:.9fr 1.1fr;gap:24px;align-items:center;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:30px;padding:30px;box-shadow:var(--shadow-soft)}
.home-offer-section h2{color:var(--ink)}
.home-offer-section p{color:var(--muted)}
.home-offer-poster-wrap{border-radius:28px;overflow:hidden;background:#fff}
.home-offer-poster{width:100%;max-height:440px;object-fit:cover}
.confidence-grid,.why-grid{grid-template-columns:repeat(4,1fr)}
.confidence-grid article h3,.why-grid article h3,.story-grid article h3,.faq-grid summary{font-size:1.25rem;line-height:1.1;margin:10px 0;color:var(--ink)}
.confidence-grid article p,.why-grid article p,.story-grid article p,.faq-grid p{color:var(--muted);margin:0}
.why-grid article::before{content:"";display:block;width:42px;height:4px;background:var(--red);border-radius:999px;margin-bottom:14px}
.story-grid article{padding:0;overflow:hidden}
.story-grid article img{width:100%;height:260px;object-fit:cover;background:#f7f1ea}
.story-grid article small,.story-grid article h3,.story-grid article p{display:block;margin-left:20px;margin-right:20px}
.story-grid article small{margin-top:18px;color:var(--red);font-weight:900;letter-spacing:.12em;text-transform:uppercase;font-size:.72rem}
.story-grid article p{margin-bottom:22px}
.faq-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.faq-grid details{background:#fff;border:1px solid var(--line);border-radius:22px;padding:18px 20px;box-shadow:var(--shadow-soft)}
.faq-grid summary{cursor:pointer;font-weight:900;list-style:none}
.faq-grid summary::-webkit-details-marker{display:none}
.faq-grid summary::after{content:"+";float:right;color:var(--red);font-size:1.4rem;line-height:1}
.faq-grid details[open] summary::after{content:"–"}
.contact-band{background:transparent}
.contact-layout{background:#fff;border:1px solid var(--line);border-radius:30px;padding:32px;box-shadow:var(--shadow-soft);display:flex;align-items:center;justify-content:space-between;gap:24px}
.catalog-toolbar,.buyback-toolbar,.toolbar{max-width:var(--max);margin:20px auto;padding:20px;background:#fff;border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow-soft);display:grid;grid-template-columns:1.3fr repeat(3,minmax(150px,.45fr));gap:14px}
.filter-row{display:flex;gap:12px;flex-wrap:wrap}
.filter,.brand-filter,.condition-filter,.sort-filter,.buyback-brand-filter,.buyback-search,.search-input{width:100%;border:1px solid var(--line);border-radius:16px;padding:14px 16px;background:#fff;outline:none;color:var(--ink);font-size:16px}
.catalog-results,.product-main,.sell-layout,.contact-layout,.analytics-layout{max-width:var(--max);margin:26px auto 70px;padding:0 clamp(18px,3vw,0px)}
.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.product-card,.catalog-grid article,.product-modal,.quote-result{background:#fff;border:1px solid var(--line);border-radius:30px;overflow:hidden;box-shadow:var(--shadow-soft);transition:.18s ease}
.product-card:hover,.catalog-grid article:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.product-card img,.catalog-grid article img,.phone-card img{height:250px;width:100%;object-fit:cover;background:#fbf4ef}
.product-card-content,.phone-card-content{padding:20px}
.condition-pill,.status-pill,.buyback-active,.privacy-pill,.offer-bonus-badge,.live-indicator{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:7px 11px;background:var(--red-soft);color:var(--red);font-size:.78rem;font-weight:900}
.status-pill.live,.buyback-active,.live-indicator{background:#eaf8ef;color:var(--green)}
.status-pill.hidden,.stock-zero{background:#f3f3f3;color:#777}
.empty-state,.empty-inventory,.catalog-loading{text-align:center;color:var(--muted);padding:36px!important}
.catalog-empty{grid-column:1/-1;background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:var(--shadow-soft);text-align:left;color:var(--ink)}
.catalog-empty h3{margin:0 0 8px;font-size:1.45rem;letter-spacing:-.03em}
.catalog-empty p{margin:0;color:var(--muted);max-width:620px}
.empty-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.empty-actions a{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:12px 16px;background:#17191f;color:#fff;font-weight:900}
.empty-actions .shop-whatsapp{background:var(--green)!important}
.product-detail{display:grid;grid-template-columns:.95fr 1.05fr;gap:28px;background:#fff;border:1px solid var(--line);border-radius:36px;padding:24px;box-shadow:var(--shadow)}
.product-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.product-grid img,.product-main img{border-radius:24px;background:#f8f1ed;object-fit:cover}
.product-form,.checkout,.order-form,.tracking-form,.flow-form,.sell-form,.homepage-form,.settings-form,.password-form,.buyback-form{display:grid;gap:14px}
.product-form input,.product-form select,.checkout input,.checkout select,.order-form input,.tracking-form input,.flow-form input,.flow-form select,.flow-form textarea,.sell-form input,.sell-form select,.sell-form textarea,.homepage-form input,.homepage-form textarea,.settings-form input,.settings-form textarea,.settings-form select,.password-form input,.buyback-form input,.buyback-form textarea{width:100%;border:1px solid var(--line);border-radius:16px;padding:14px 15px;background:#fff;outline:none;color:var(--ink);font-size:16px}
textarea{min-height:104px;resize:vertical}
label{font-weight:800;color:#2a2f36}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.sell-layout{display:grid;grid-template-columns:.95fr 1.05fr;gap:24px;align-items:start}
.sell-copy,.sell-form,.imei-detect,.quote-result,.estimate,.selected-phone{background:#fff;border:1px solid var(--line);border-radius:30px;padding:24px;box-shadow:var(--shadow-soft)}
.valuation-progress{height:8px;background:#f0e5df;border-radius:999px;overflow:hidden;margin-bottom:18px}
.valuation-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--red),var(--red-deep));border-radius:999px}
.valuation-step{display:none}
.valuation-step.active{display:block}
.step-number{font-size:.8rem;color:var(--red);font-weight:900;text-transform:uppercase;letter-spacing:.16em}
.switch-row,.settings-toggle-row,.accessory-checks,.issue-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.switch-row label,.settings-toggle-row label,.accessory-checks label,.issue-checks label{border:1px solid var(--line);border-radius:18px;padding:14px;background:#fff;display:flex;align-items:center;gap:10px}
.quote-head,.quote-device,.quote-meta,.quote-breakdown div,.cart-total,.order-summary div{display:flex;align-items:center;justify-content:space-between;gap:12px}
.quote-result strong,.result-bonus{font-size:2rem;color:var(--red)}
.result-points{padding-left:18px;color:var(--muted)}
.result-disclaimer,.fineprint,.ownership-note,.password-hint{font-size:.88rem;color:var(--muted)}
.imei-upload-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.imei-preview{max-height:220px;border-radius:18px;object-fit:cover;background:#f5eee8}
.modal-card,.flow-modal,.order-modal,.tracking-modal,.buyback-modal,.search-overlay,.cart-drawer{position:fixed;z-index:100;background:#fff;border:1px solid var(--line);box-shadow:0 30px 100px rgba(0,0,0,.2)}
.scrim{position:fixed;inset:0;background:rgba(17,20,24,.44);backdrop-filter:blur(4px);z-index:90;opacity:0;visibility:hidden;pointer-events:none;transition:.2s ease}
.scrim.open{opacity:1;visibility:visible;pointer-events:auto}
.modal-card,.flow-modal,.order-modal,.tracking-modal,.buyback-modal{left:50%;top:50%;transform:translate(-50%,-50%);width:min(720px,calc(100vw - 28px));max-height:88vh;overflow:auto;border-radius:30px;padding:26px}
.modal-card[aria-hidden="true"],.flow-modal[aria-hidden="true"],.order-modal[aria-hidden="true"],.tracking-modal[aria-hidden="true"],.buyback-modal[aria-hidden="true"],.search-overlay[aria-hidden="true"]{opacity:0;visibility:hidden;pointer-events:none}
.modal-card.open,.flow-modal.open,.order-modal.open,.tracking-modal.open,.buyback-modal.open,.search-overlay.open{opacity:1;visibility:visible;pointer-events:auto}
.cart-drawer{right:18px;top:18px;bottom:18px;width:min(420px,calc(100vw - 36px));border-radius:30px;padding:20px;display:flex;flex-direction:column;transform:translateX(calc(100% + 42px));opacity:0;visibility:hidden;pointer-events:none;transition:.22s ease}
.cart-drawer.open{transform:translateX(0);opacity:1;visibility:visible;pointer-events:auto}
.cart-head,.cart-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cart-items{flex:1;overflow:auto;padding:12px 0}
.modal-close,.flow-close,.order-close,.tracking-close,.buyback-close,.search-close,.cart-close,.sidebar-close{border:0;background:#f6eeea;border-radius:999px;width:42px;height:42px;font-size:1.2rem}
.search-overlay{inset:0;background:#fffaf7;padding:clamp(24px,6vw,80px);overflow:auto}
.search-panel{max-width:980px;margin:0 auto}
.search-panel .search-input{font-size:clamp(2rem,7vw,5.2rem);font-family:"Newsreader",Georgia,serif;border:0;border-bottom:4px solid var(--ink);border-radius:0;background:transparent;padding:18px 0}
.search-results{margin-top:28px;display:grid;gap:12px}
.device-app-header,.device-bottom-nav{display:none}
footer{margin-top:70px;background:#17191f;color:#fff;padding:46px clamp(18px,5vw,60px)}
.footer-grid{max-width:var(--max);margin:0 auto;display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:24px}
footer a{display:block;color:#e9e1dc;margin:8px 0}
footer p,footer small{color:#c9c2bd}
.footer-bottom{max-width:var(--max);margin:30px auto 0;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.whatsapp-float{position:fixed;right:22px;bottom:22px;z-index:60;border-radius:999px;padding:13px 18px;box-shadow:0 16px 32px rgba(17,140,79,.24);font-weight:900}
.admin-shell{min-height:100vh;display:grid;grid-template-columns:280px 1fr;background:#f7f1ea}
.sidebar{background:#1d232b;color:#fff;padding:26px 20px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:22px}
.sidebar nav{display:grid;gap:8px}
.nav-item{border:0;background:transparent;color:#cdd3da;text-align:left;border-radius:16px;padding:14px 16px;font-weight:800;display:flex;align-items:center;gap:12px}
.nav-item.active,.nav-item:hover{background:#fff;color:var(--red)}
.sidebar-bottom{margin-top:auto;border-top:1px solid rgba(255,255,255,.12);padding-top:20px;display:grid;gap:12px}
.sidebar-bottom a,.logout{color:#fff;background:transparent;border:0;text-align:left;font-weight:800}
.admin-main{padding:28px clamp(18px,4vw,44px)}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}
.admin-heading h1{font-size:clamp(2rem,5vw,4rem);line-height:1;margin:0;font-family:"Newsreader",Georgia,serif;letter-spacing:-.05em}
.dashboard-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.dashboard-grid article,.analytics-chart-panel,.analytics-secondary,.table-wrap,.request-grid,.top-pages-list,.recent-visitors-list,.low-stock-list{background:#fff;border:1px solid var(--line);border-radius:24px;padding:20px;box-shadow:var(--shadow-soft)}
.dashboard-grid strong,.chart-total{font-size:2rem;color:var(--red)}
.panel{margin-bottom:22px}
.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.admin-search{display:flex;gap:12px;align-items:center}
.admin-search input{border:1px solid var(--line);border-radius:999px;padding:14px 18px;min-width:260px;font-size:16px}
table{width:100%;border-collapse:separate;border-spacing:0 10px}
th{text-align:left;font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);padding:8px 12px}
td{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 12px;vertical-align:middle}
td:first-child{border-left:1px solid var(--line);border-radius:16px 0 0 16px}
td:last-child{border-right:1px solid var(--line);border-radius:0 16px 16px 0}
.phone-cell{display:flex;align-items:center;gap:12px}
.phone-cell img{width:54px;height:54px;border-radius:14px;object-fit:cover;background:#f8f1ed}
.row-actions{display:flex;gap:8px;flex-wrap:wrap}
.row-actions button{border:1px solid var(--line);border-radius:999px;background:#fff;padding:9px 12px;font-weight:800}
.row-actions .delete{color:var(--red)}
.login-screen{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#fff8f4,#ffe4e6)}
.login-card{width:min(430px,calc(100vw - 32px));background:#fff;border-radius:32px;padding:30px;box-shadow:var(--shadow);border:1px solid var(--line)}
.login-form{display:grid;gap:14px}
.login-form input{border:1px solid var(--line);border-radius:16px;padding:15px;font-size:16px}
.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,18px);background:#17191f;color:#fff;padding:14px 18px;border-radius:999px;z-index:160;box-shadow:0 18px 40px rgba(0,0,0,.22);opacity:0;visibility:hidden;pointer-events:none;transition:.2s ease}
.toast.show{opacity:1;visibility:visible;transform:translate(-50%,0)}
@media (max-width:1050px){
  .site-header,.catalog-header,.service-header,body>header{align-items:flex-start;flex-wrap:wrap}
  .site-header nav,.catalog-header nav,.service-header nav,body>header nav,.header-actions,.deliver-to{display:none}
  .menu-button{display:flex}
  .market-search,.search-form{order:5;flex-basis:100%}
  .hero,.catalog-hero,.sell-hero,.services-hero,.wholesale-hero,.product-detail,.sell-layout{grid-template-columns:1fr}
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .catalog-toolbar{grid-template-columns:1fr 1fr}
  .catalog-grid{grid-template-columns:repeat(2,1fr)}
  .dashboard-grid{grid-template-columns:repeat(2,1fr)}
  .admin-shell{grid-template-columns:1fr}
  .sidebar{position:fixed;inset:0 auto 0 0;width:300px;transform:translateX(-105%);transition:.2s ease;z-index:120}
  .admin-shell.sidebar-open .sidebar{transform:none}
}
@media (max-width:760px){
  body{padding-bottom:86px}
  .utility-bar,.category-nav,.mobile-channel-nav{display:none}
  body.device-ui-ready .site-header,body.device-ui-ready .catalog-header,body.device-ui-ready .service-header,body.device-ui-ready>header:not(.device-app-header){display:none!important}
  .site-header,.catalog-header,.service-header,body>header{position:relative;padding:16px 18px;border-bottom:0;background:#fff}
  .brand img,.catalog-brand img,.service-brand img,.logo img{width:52px;height:52px}
  .brand strong,.catalog-brand strong,.service-brand strong,.logo span{font-size:1rem}
  .hero,.catalog-hero,.sell-hero,.services-hero,.wholesale-hero{margin:12px 14px 24px;padding:28px 22px;border-radius:30px}
  .hero h1,.catalog-hero h1,.sell-hero h1,.services-hero h1,.wholesale-hero h1{font-size:3.25rem}
  .hero-lead,.section-copy,.catalog-hero p,.sell-copy p{font-size:1rem}
  .trustline,.catalog-assurance,.detail-assurance,.confidence-grid,.stat-grid,.commerce-stat-grid,.wholesale-proof,.services-grid,.service-grid,.story-grid,.why-grid,.step-grid,.simple-journey,.process-list,.location-list,.catalog-grid,.dashboard-grid{grid-template-columns:1fr}
  .section-shell,.shop-section,.sell-section,.service-section,.stories,.confidence-section,.local-section,.contact-band,.home-offer-section,.catalog-results,.product-main,.sell-layout{margin:32px auto;padding:0 14px}
  .section-head,.section-heading,.directory-heading,.results-head,.panel-head,.topbar{align-items:flex-start;flex-direction:column}
  .catalog-toolbar,.buyback-toolbar,.toolbar{margin:14px;padding:16px;grid-template-columns:1fr;border-radius:24px}
  .form-grid,.switch-row,.settings-toggle-row,.accessory-checks,.issue-checks{grid-template-columns:1fr}
  .product-card img,.catalog-grid article img{height:220px}
  .footer-grid{grid-template-columns:1fr}
  .whatsapp-float{right:16px;bottom:96px}
  .device-app-header{display:flex;flex-direction:column;gap:12px;padding:14px 14px 12px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:85}
  .device-app-top{width:100%;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px}
  .device-app-brand{display:flex;align-items:center;gap:10px;min-width:0}
  .device-app-brand img,.device-app-header img{width:48px;height:48px;border-radius:50%;object-fit:cover;border:1px solid #eee;background:#fff}
  .device-app-brand strong{display:block;font-size:1rem;line-height:1;color:var(--ink);letter-spacing:.02em}
  .device-app-brand small{display:block;margin-top:4px;font-size:.62rem;letter-spacing:.12em;color:var(--red);font-weight:800}
  .device-location{display:flex;align-items:center;gap:6px;color:var(--ink)}
  .device-location svg,.device-order-link svg,.device-search svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;color:var(--red)}
  .device-location span{display:none}
  .device-order-link{position:relative;width:48px;height:48px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--ink)}
  .device-cart-count{position:absolute;right:-4px;top:-5px;display:grid;place-items:center;min-width:20px;height:20px;border-radius:50%;background:var(--red);color:#fff;font-size:.72rem;font-weight:900}
  .device-search{width:100%;display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:8px;border:1px solid var(--line);border-radius:18px;background:#fff;padding:8px 8px 8px 14px;box-shadow:0 8px 20px rgba(40,31,26,.05)}
  .device-search input{min-width:0;border:0;outline:0;background:transparent;height:40px;font-size:16px;color:var(--ink)}
  .device-search button{border:0;border-radius:14px;background:var(--red);color:#fff;font-weight:900;height:40px;padding:0 14px}
  .device-bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:12px;right:12px;bottom:12px;z-index:80;background:rgba(255,255,255,.94);backdrop-filter:blur(20px);border:1px solid var(--line);box-shadow:0 18px 45px rgba(33,26,22,.18);border-radius:26px;padding:8px}
  .device-bottom-nav a{display:grid;place-items:center;gap:2px;border-radius:20px;padding:8px 4px;color:#737b85;font-size:.75rem;font-weight:800}
  .device-bottom-nav a.active{background:var(--red-soft);color:var(--red)}
  .device-bottom-nav svg{width:22px;height:22px}
  .admin-main{padding:18px 14px 96px}
  .mobile-tabbar{display:grid!important;grid-template-columns:repeat(4,1fr);position:fixed;left:12px;right:12px;bottom:12px;z-index:90;background:#fff;border:1px solid var(--line);border-radius:26px;padding:8px;box-shadow:0 18px 45px rgba(33,26,22,.18)}
  .mobile-tab{border:0;background:transparent;border-radius:20px;padding:8px 4px;color:#737b85;font-size:.75rem;font-weight:800}
  .mobile-tab.active{background:var(--red-soft);color:var(--red)}
  table,thead,tbody,tr,th,td{display:block}
  thead{display:none}
  tr{background:#fff;border:1px solid var(--line);border-radius:20px;margin-bottom:12px;padding:10px}
  td{border:0!important;border-radius:0!important;padding:9px 6px}
  td::before{content:attr(data-label);display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);font-weight:900;margin-bottom:3px}
}
@media (max-width:430px){
  .hero h1,.catalog-hero h1,.sell-hero h1,.services-hero h1,.wholesale-hero h1{font-size:2.8rem}
  .market-search,.search-form,.catalog-search,.phone-search-box{border-radius:22px;align-items:stretch}
  .search-category{display:none}
  .search-button{border-radius:18px;margin:6px;min-height:48px}
}
