:root{--navy:#09294c;--blue:#2873ce;--pale:#e8edf7;--muted:#8291a5}*{box-sizing:border-box}body{margin:0;color:var(--navy);background:#edf1f7;font-family:Arial,sans-serif}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.4;cursor:default}.app{max-width:760px;margin:auto;background:white;min-height:100dvh;padding-bottom:120px}.demo{padding:13px 24px;background:var(--navy);color:white;font-size:10px;letter-spacing:2px;display:flex;justify-content:space-between}.demo span{opacity:.65;letter-spacing:.5px}header{padding:26px 24px;display:flex;align-items:center;justify-content:space-between}.logo{font-size:47px;letter-spacing:-3px;font-weight:750;text-decoration:none;color:var(--navy);display:flex;align-items:baseline;gap:13px}.logo small{font-size:13px;letter-spacing:.6px;font-weight:500}.search-toggle{border:1px solid #e5eaf0;border-radius:50%;width:42px;height:42px;background:white;font-size:28px;color:var(--muted)}main{padding:0 24px}h1{font-size:29px;letter-spacing:-.6px;margin:27px 0}h2{font-size:24px;letter-spacing:-.5px;margin:28px 0 20px}p{line-height:1.6}.hero{position:relative;border-radius:25px;overflow:hidden;width:100%;display:block;border:0;padding:0;background:#ddd}.hero img{width:100%;display:block}.section-head{display:flex;align-items:center;justify-content:space-between;margin-top:28px}.section-head h2{margin:10px 0;font-size:13px;text-transform:uppercase;letter-spacing:2px}.textbtn{border:0;background:none;color:var(--blue);padding:10px 0}.brands{display:flex;gap:21px;overflow:auto;padding:17px 0 14px;scrollbar-width:none}.brand{border:0;background:none;min-width:80px;padding:0;color:var(--navy);font-size:10px}.brand b{display:flex;align-items:center;justify-content:center;width:80px;height:80px;border-radius:50%;background:#edf0f8;margin-bottom:12px;font-size:15px;letter-spacing:-.5px;border:1px solid #e3e7ef}.brand:nth-child(3) b{background:#111;color:white;font-size:11px;letter-spacing:3px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:27px 17px}.photo{position:relative;background:#f2f3f7;border-radius:23px;overflow:hidden;aspect-ratio:1}.photo img{width:100%;height:100%;object-fit:cover}.add{position:absolute;bottom:12px;right:12px;background:var(--blue);color:white;width:40px;height:40px;border-radius:13px;border:0;font-size:22px}.product-name{font-size:14px;line-height:1.55;margin:12px 0 8px;min-height:64px}.price-row{display:flex;align-items:center;justify-content:space-between;gap:3px}.price{color:var(--blue);font-size:16px;font-weight:600}.stock{font-size:8px;color:#276d34;background:#c8f4ce;padding:4px 6px;border-radius:5px}.counter{display:flex;align-items:center;gap:15px;justify-content:flex-end;margin-top:13px}.counter button{width:33px;height:33px;border:1px solid var(--navy);border-radius:50%;background:white;color:var(--navy)}.counter button:last-child{background:var(--navy);color:white}nav{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);width:calc(100% - 40px);max-width:712px;border-radius:45px;background:var(--navy);display:flex;justify-content:space-around;padding:9px;z-index:10;box-shadow:0 8px 25px #09294c18}nav button{position:relative;color:#a3b0c4;background:none;border:0;border-radius:35px;min-width:59px;height:59px;font-size:10px;display:grid;place-content:center;gap:3px}nav button.active{background:var(--blue);color:white}svg{width:25px;height:25px;margin:auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.badge{position:absolute;right:1px;top:0;background:white;color:var(--navy);padding:2px 5px;border-radius:10px;font-size:10px}.toolbar{display:flex;gap:10px}.search{width:100%;border:1px solid #e3e7ee;border-radius:25px;padding:14px 18px;outline-color:var(--blue);color:var(--navy)}.filter{border:0;border-radius:25px;padding:0 14px;background:var(--pale);color:var(--navy)}.chips{display:flex;gap:8px;overflow:auto;padding:20px 0}.chip{white-space:nowrap;border:1px solid #e1e6ef;background:white;color:var(--navy);border-radius:25px;padding:11px 16px;font-size:12px}.chip.active{background:var(--pale);border-color:var(--blue);color:var(--blue)}.note{background:var(--pale);border-radius:17px;padding:15px;font-size:12px;line-height:1.6;color:#61738c}.cart-item{display:flex;align-items:center;gap:14px;border:1px solid #edf0f5;box-shadow:0 6px 18px #09294c0c;padding:18px;border-radius:24px;margin:15px 0}.cart-item img{width:66px;height:75px;object-fit:cover;border-radius:13px}.cart-info{flex:1;font-size:13px;line-height:1.5}.cart-info .price{display:block;margin-top:7px}.cart-item .counter{gap:10px;flex-shrink:0;margin:0}.summary{margin-top:25px;padding:20px;border:1px solid #edf0f5;border-radius:25px;box-shadow:0 6px 18px #09294c0c}.total{border-radius:19px;background:var(--pale);padding:20px;display:flex;align-items:center;justify-content:space-between}.total small{display:block;color:var(--muted);margin-bottom:10px}.total strong{font-size:28px}.total select{border:0;background:white;color:var(--blue);padding:10px;border-radius:18px;max-width:95px}.primary{width:100%;border:0;background:var(--blue);color:white;border-radius:27px;padding:17px;font-weight:600}.secondary{border:1px solid #d6dde7;background:white;color:var(--navy);border-radius:27px;padding:14px}.summary p{font-size:12px}.actions{display:flex;gap:10px}.actions .primary{flex:1}.empty{text-align:center;padding:60px 15px}.empty svg{width:55px;height:55px;color:#a0aec2}.empty p{color:#72839a;font-size:14px}label{display:block;font-size:12px;color:#61738c;margin:23px 0 7px}form input,form select{display:block;width:100%;border:1px solid #dae2ed;border-radius:12px;background:white;padding:15px;color:var(--navy);outline-color:var(--blue)}form .primary{margin-top:20px}.back{border:0;background:none;color:var(--blue);padding:12px 0}.user{display:flex;align-items:center;gap:16px;margin:24px 0}.avatar{width:65px;height:65px;border-radius:50%;background:var(--pale);display:grid;place-content:center;font-size:24px}.user small{display:block;margin-top:7px;color:var(--muted)}.menu-row{display:flex;align-items:center;justify-content:space-between;width:100%;padding:24px 0;border:0;border-bottom:1px solid #e1e7f0;background:white;color:var(--navy);text-align:left;font-size:18px}.menu-row svg{margin:0}.success{border-radius:50%;background:#dcf5e5;color:#2e8752;width:75px;height:75px;margin:35px auto 20px;display:grid;place-content:center;font-size:35px}.order{padding:20px;border:1px solid #e0e6ef;border-radius:18px;margin:15px 0;font-size:14px}.order small{color:var(--muted)}#toast{position:fixed;bottom:113px;left:50%;transform:translateX(-50%);background:var(--navy);color:white;border-radius:20px;padding:12px 22px;font-size:13px;z-index:20;display:none;white-space:nowrap}.result-head{display:flex;justify-content:space-between;align-items:baseline}.result-head small{color:var(--muted)}@media(min-width:650px){main{padding:0 40px}header{padding:30px 40px}.hero{max-height:350px}.hero img{height:350px;object-fit:cover}.product-name{font-size:17px}.brand{min-width:100px}.brand b{width:100px;height:100px}.photo{max-height:285px}.grid{gap:30px}.cart-item img{width:85px;height:85px}}@media(max-width:380px){main{padding:0 16px}.logo{font-size:39px}.logo small{font-size:11px}.cart-item{padding:12px;gap:8px}.cart-item .counter{gap:7px}.cart-item .counter button{width:27px;height:27px}.cart-item img{width:48px;height:60px}}
/* Safiya interface v2 */
:root{--navy:#102d50;--blue:#216ed0;--pale:#f0f4fa;--muted:#7e8c9c}body{background:#eef2f6;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}.app{max-width:560px;padding-bottom:calc(102px + env(safe-area-inset-bottom));background:#fff}.demo{padding:9px 22px;background:#f2f5f9;color:#667b92;font-size:8px;letter-spacing:1.5px}.demo span{opacity:1;font-size:8px}header{padding:24px 22px 22px}.logo{font-size:39px;gap:10px;letter-spacing:-2.2px}.logo small{font-size:10px;letter-spacing:.3px}.search-toggle{border:0;border-radius:14px;background:#f3f6fa;width:44px;height:44px;color:var(--navy);display:grid;place-content:center}svg{width:22px;height:22px;stroke-width:1.65;display:block}main{padding:0 22px}h1{font-size:28px;line-height:1.2;font-weight:650;letter-spacing:-1px;margin:12px 0 24px}h2{font-size:21px;font-weight:650;letter-spacing:-.6px}.home-intro>span{font-size:9px;letter-spacing:2px;color:var(--muted)}.home-intro h1{font-size:25px;margin:9px 0 21px}.home-search{display:flex;align-items:center;gap:12px;width:100%;padding:14px 16px;border:1px solid #e9edf3;background:#f8fafc;border-radius:14px;color:#8391a1;text-align:left;font-size:13px;margin-bottom:22px}.home-search svg{margin:0;flex-shrink:0}.hero{border-radius:19px}.hero img{height:auto;max-height:none;object-fit:contain}.section-head{margin-top:25px}.section-head h2{font-size:11px;letter-spacing:1.5px}.textbtn{font-size:12px;min-height:44px}.brands{gap:12px;padding:14px 0 8px}.brand{min-width:82px;font-size:8px;font-weight:600}.brand b{width:82px;height:64px;border-radius:15px;margin-bottom:10px;font-size:11px;letter-spacing:0;background:#f7f8fb;border:1px solid #edf0f4}.brand:nth-child(3) b{font-size:8px;letter-spacing:2px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:14px 0}.section-title h2{margin:8px 0}.icon-link{border:1px solid #e6ebf2;background:white;border-radius:50%;width:36px;height:36px;color:var(--navy)}.icon-link svg{width:17px;height:17px}.grid{gap:24px 14px}.photo{border-radius:15px;background:#f5f6f8;aspect-ratio:.88;max-height:none}.photo img{object-fit:contain;mix-blend-mode:multiply;padding:15px;width:100%;height:100%;image-rendering:auto}.availability{position:absolute;left:10px;top:10px;display:flex;gap:4px;align-items:center;background:#ffffffdf;border-radius:6px;padding:5px 6px;font-size:8px;color:#58756a}.availability i{width:4px;height:4px;background:#39936c;border-radius:50%}.product-brand{font-size:9px;letter-spacing:1.1px;color:#7e8b9c;margin-top:14px;font-weight:600}.product-name{font-size:12px;line-height:1.5;min-height:54px;margin:7px 0 10px;color:#233b56}.price{font-size:17px;color:var(--navy);font-weight:650;letter-spacing:-.4px}.add-product{display:flex;gap:7px;align-items:center;justify-content:center;width:100%;margin-top:12px;height:42px;border:0;border-radius:11px;background:var(--pale);color:var(--navy);font-size:12px;font-weight:600}.add-product svg{width:16px;height:16px;margin:0}.product .counter{height:42px;margin-top:12px;justify-content:space-between;background:var(--pale);border-radius:11px;padding:0 3px}.counter{gap:12px}.counter button{width:38px;height:38px;border:0;background:transparent;border-radius:9px;display:grid;place-content:center}.counter button:last-child{background:transparent;color:var(--navy)}.counter svg{width:16px;height:16px}.counter span{font-size:13px;font-weight:600}nav{bottom:0;width:100%;max-width:560px;border-radius:0;background:#ffffffed;backdrop-filter:blur(20px);border-top:1px solid #e8edf3;padding:9px 14px calc(9px + env(safe-area-inset-bottom));box-shadow:0 -8px 30px #17324f05;display:grid;grid-template-columns:repeat(4,1fr);gap:0}nav button{min-width:0;width:100%;height:56px;border-radius:0;color:#8b98a9;gap:5px;font-size:10px;font-weight:500;display:flex;flex-direction:column;align-items:center;justify-content:center}nav svg{width:23px;height:23px;margin:0;position:relative;z-index:1}nav button.active{background:transparent;color:var(--blue)}nav button.active:before{content:'';position:absolute;top:1px;left:50%;transform:translateX(-50%);width:49px;height:31px;background:#eaf2fe;border-radius:12px}nav button span{z-index:1}.badge{top:0;right:calc(50% - 24px);font-size:9px;background:var(--blue);color:white;border:2px solid white;min-width:18px;line-height:12px;padding:1px 3px;z-index:2}.toolbar{position:relative;gap:10px}.input-icon{position:absolute;left:15px;top:14px;color:#93a1b3}.input-icon svg{width:19px;height:19px}.search{padding:15px 12px 15px 43px;border:1px solid #e8edf3;background:#f8fafc;border-radius:13px;font-size:13px;min-width:0}.filter{width:48px;min-width:48px;border:1px solid #e8edf3;border-radius:13px;background:white;padding:0}.filter.selected{background:#eaf2fe;color:var(--blue);border-color:#bdd5f5}.catalog-title h1{margin:5px 0 7px}.catalog-title>span{display:block;color:#8391a1;font-size:12px;margin-bottom:23px}body[data-page=catalog] .search-toggle,body[data-page=checkout] header,body[data-page=checkout] nav{display:none}body[data-page=checkout] .app{padding-bottom:35px}body[data-page=checkout] main{padding-top:15px}.chips{gap:7px;padding:17px 0 5px}.chip{font-size:10px;padding:10px 14px;border-radius:10px;border-color:#e8edf3;min-height:39px}.chip.active{background:var(--navy);color:white;border-color:var(--navy)}.result-head h2{font-size:19px;margin:25px 0 18px}.result-head small{font-size:11px}.note{background:#f5f7fa;border-radius:12px;padding:13px;font-size:11px;color:#7d8a9b;margin-top:24px}.cart-item{display:grid;grid-template-columns:72px 1fr;gap:12px;border:0;border-bottom:1px solid #edf0f4;border-radius:0;padding:18px 0;margin:0;box-shadow:none}.cart-item img{width:72px;height:85px;border-radius:12px;grid-row:1/3;align-self:start;background:#f4f6f9;object-fit:contain}.cart-info{font-size:12px;line-height:1.5}.cart-info .price{font-size:16px}.cart-item .counter{grid-column:2;justify-self:end;background:var(--pale);border-radius:10px;gap:8px}.cart-item .counter button{width:34px;height:34px}.summary{margin-top:25px;padding:18px;border-radius:18px;background:#f7f9fc;border:1px solid #edf1f6;box-shadow:none}.total{padding:0;background:none;border-radius:0}.total small{font-size:11px;margin-bottom:7px}.total strong{font-size:29px;letter-spacing:-1px}.total select{font-size:11px;border:1px solid #e3e9f2;border-radius:10px;padding:10px;background:white;color:var(--navy)}.summary p{font-size:10px;color:#8190a1;line-height:1.6;margin:18px 0}.actions{flex-wrap:wrap}.actions .primary{order:0;flex-basis:100%}.clear-cart{order:1;border:0;background:none;color:#8a94a3;display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;width:100%;padding:8px}.clear-cart svg{width:14px;height:14px;margin:0}.primary{border-radius:13px;padding:16px;font-size:13px;min-height:48px;background:var(--navy)}.secondary{border-radius:13px;font-size:12px}.back{display:flex;align-items:center;gap:5px;min-height:44px;font-size:12px}.back svg{margin:0;width:18px;height:18px}label{font-size:11px;color:#6f8095;margin-top:20px}form input{font-size:14px;border-color:#e1e7ef;border-radius:12px;padding:14px;min-height:48px;background:#fafbfd}.user{margin:12px 0 23px}.avatar{border-radius:19px;background:#eef3fb;font-size:22px}.user strong{font-size:17px}.user small{font-size:11px}.menu-row{font-size:14px;gap:13px;min-height:73px;padding:16px 0}.menu-icon{background:#f0f4fa;border-radius:12px;padding:11px}.menu-icon svg{width:21px;height:21px}.menu-row>span:nth-child(2){flex:1}.menu-row>svg{width:17px;height:17px;color:#99a5b4}.empty h1{font-size:25px}.empty p{font-size:13px}.empty{padding:30px 8px}#toast{bottom:100px;border-radius:12px;font-size:12px}.order{border-radius:14px;font-size:12px}.order h3{font-size:16px}@media(min-width:650px){main{padding:0 26px}header{padding:25px 26px}.grid{gap:28px 18px}.photo img{padding:22px}.product-name{font-size:14px;min-height:63px}.brand{min-width:100px}.brand b{width:100px;height:72px}.cart-item{grid-template-columns:90px 1fr}.cart-item img{width:90px;height:100px}}@media(max-width:380px){main{padding:0 18px}header{padding:22px 18px}.logo{font-size:36px}.logo small{font-size:9px}.home-intro h1{font-size:23px}.availability{font-size:7px}.product-name{font-size:11px}.price{font-size:15px}}
body[data-page=home] .search-toggle{display:none}

/* Navigation: identical icon frames and stable label baselines. */
nav{padding-top:8px;padding-bottom:calc(8px + env(safe-area-inset-bottom));}
nav button{height:64px;gap:4px;line-height:1;isolation:isolate;}
nav button.active:before{display:none;}
nav .nav-icon{display:grid;place-items:center;width:52px;height:34px;border-radius:13px;flex:0 0 34px;}
nav button.active .nav-icon{background:#eaf2fe;}
nav .nav-icon svg{width:24px;height:24px;display:block;margin:0;stroke-width:1.75;flex:none;}
nav .nav-label{display:block;line-height:16px;font-size:11px;white-space:nowrap;}
nav .badge{top:0;right:calc(50% - 28px);}
nav button:focus-visible{outline:2px solid var(--blue);outline-offset:-2px;}
.logo{max-width:calc(100% - 60px);min-width:0;}
.logo.text-logo{font-size:27px;letter-spacing:3px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;line-height:1;font-weight:600;}
.logo.text-logo small{font-size:8px;letter-spacing:2.7px;font-weight:500;}
.logo .custom-logo{display:block;width:auto;max-width:100%;height:48px;object-fit:contain;object-position:left center;}

.search-suggestions{position:absolute;top:calc(100% + 8px);left:0;right:58px;z-index:30;max-height:340px;overflow-y:auto;overscroll-behavior:contain;background:white;border:1px solid #e3e9f2;border-radius:15px;box-shadow:0 14px 38px #102d5026;padding:6px;}.search-suggestions[hidden]{display:none}.search-option{display:flex;flex-direction:column;gap:5px;width:100%;padding:12px;text-align:left;border:0;border-radius:10px;background:white;color:var(--navy);line-height:1.4;min-height:58px;}.search-option small{font-size:10px;color:var(--muted);}.search-option span{font-size:13px;overflow-wrap:anywhere;}.search-option:hover,.search-option[aria-selected=true]{background:#edf4ff;}.suggestion-empty{font-size:12px;color:var(--muted);padding:8px 12px;margin:0;}

.logo .custom-logo{width:240px;height:auto;max-width:100%;max-height:48px;object-fit:contain;}

.address-field{position:relative}.address-options{position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:40;background:white;border:1px solid #dce4ef;box-shadow:0 10px 25px #102d5020;border-radius:12px;padding:6px;max-height:250px;overflow:auto;font-size:12px;color:#6f8095}.address-options[hidden]{display:none}.address-options button{display:block;width:100%;text-align:left;border:0;background:white;color:var(--navy);padding:13px 10px;border-radius:8px;font-size:13px;line-height:1.5}.address-options button:hover,.address-options button[aria-selected=true]{background:#edf4ff}form input:disabled{background:#eef1f5;color:#8b98a9}.address-credit{font-size:10px;color:var(--muted)}.address-credit a{color:inherit}#checkout select{min-height:48px;border-radius:12px;border-color:#e1e7ef}

/* Match the native country selector to checkout text fields, including WebKit. */
#checkout input,#checkout select{box-sizing:border-box;width:100%;min-height:48px;font-family:inherit;font-size:14px;line-height:20px;font-weight:400;border:1px solid #e1e7ef;border-radius:12px;padding:14px;background-color:#fafbfd;color:var(--navy);}
#checkout select{appearance:none;-webkit-appearance:none;-moz-appearance:none;display:block;height:50px;padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236f8095' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:20px 20px;}
#checkout input:focus-visible,#checkout select:focus-visible{outline:2px solid #8eb7f7;outline-offset:1px;}
#checkout input:disabled{background-color:#eef1f5;color:#8b98a9;}
#checkout select:invalid{color:#7e8c9c;}
#checkout select option{color:var(--navy);background:white;}

.server-order{padding:20px;border-color:#e5eaf1}.server-order h3{font-size:15px;overflow-wrap:anywhere;margin:16px 0 8px}.order-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.order-meta small{font-size:10px}.order-status{font-size:10px;padding:5px 8px;border-radius:7px;background:#f1f4f8;white-space:nowrap}.order-status.is-new{color:#287650;background:#edf7f1}.order-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:17px 0;border-bottom:1px solid #edf0f4}.order-line-info strong{display:block;font-size:12px;font-weight:500;line-height:1.55;overflow-wrap:anywhere}.order-line-info small{display:block;margin-top:7px;color:#8291a5;font-size:11px}.order-line-values{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:8px;min-width:72px}.order-quantity{font-size:12px;color:#64758b;white-space:nowrap}.order-line-sum{color:var(--blue);font-size:13px;white-space:nowrap}.order-grand-total{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;font-size:13px}.order-grand-total strong{font-size:20px}.server-order .order-help{font-size:11px;line-height:1.6;color:#7e8c9c;margin:16px 0 8px}.order-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.order-buttons .secondary{padding:12px;min-height:44px}.order-buttons .order-cancel{color:#ad5b59;padding:10px}.order-line-values input{width:68px;min-height:38px;padding:6px 8px;border:1px solid #dce4ef;border-radius:9px;color:var(--navy);background:#fafbfd;font:inherit;text-align:center}.order-remove{border:0;background:none;color:#a36562;font-size:10px;padding:5px;min-height:30px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:360px){.server-order{padding:14px}.order-line{gap:10px}.order-line-info strong{font-size:11px}.order-meta{flex-wrap:wrap}}
