@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');
:root{--navy:#0b2d6b;--navy-2:#082153;--orange:#ff6425;--orange-2:#ff4e14;--cream:#fff8f3;--text:#10234a;--muted:#77819a;--line:#e9edf4;--green:#1ca75b;--shadow:0 12px 35px rgba(10,33,83,.08);--radius:22px;--radius-sm:14px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'Cairo',Tahoma,Arial,sans-serif;color:var(--text);background:#fff;line-height:1.65}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}button,input,select,textarea{font:inherit}.container{width:min(1180px,calc(100% - 32px));margin:auto}.top-strip{background:var(--navy);color:#fff;font-size:12px}.top-strip-inner{display:flex;justify-content:space-between;padding:7px 0;opacity:.92}.site-header{position:sticky;top:0;z-index:100;background:#fff;box-shadow:0 1px 0 rgba(10,33,83,.08)}.nav-wrap{height:82px;display:flex;align-items:center;gap:26px}.brand{display:flex;align-items:center;gap:10px;min-width:128px}.brand-mark{width:48px;height:48px;border:3px solid var(--navy);border-radius:50%;display:grid;place-items:center;background:#fff;font-size:24px;box-shadow:inset 0 -5px 0 rgba(255,100,37,.12)}.brand-text{display:flex;flex-direction:column;line-height:1}.brand-text strong{font-size:22px;font-weight:900;color:var(--navy)}.brand-text small{letter-spacing:2px;font-weight:900;color:var(--orange);font-size:10px;margin-top:5px}.desktop-nav{display:flex;gap:22px;align-items:center;flex:1;justify-content:center}.desktop-nav a{font-size:14px;font-weight:700;color:#22365f;position:relative;padding:10px 0}.desktop-nav a:hover{color:var(--orange)}.nav-actions{display:flex;align-items:center;gap:9px}.icon-link,.account-link,.cart-pill{border:1px solid var(--line);height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:#fff}.icon-link{width:42px;font-size:25px}.account-link{padding:0 14px;font-size:13px;font-weight:700}.cart-pill{gap:8px;padding:0 13px;background:var(--navy);color:#fff;border-color:var(--navy);font-weight:800;font-size:13px}.cart-pill b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--orange);font-size:11px}.menu-toggle{display:none;border:0;background:var(--navy);color:#fff;border-radius:12px;width:42px;height:42px;font-size:20px}.mobile-menu{display:none}.hero{padding:24px 0 10px}.hero-card{position:relative;border-radius:30px;overflow:hidden;background:linear-gradient(120deg,#ff6828,#ff4b14);min-height:420px;box-shadow:var(--shadow)}.hero-card img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,33,83,.02),rgba(8,33,83,.05))}.section{padding:42px 0}.section.tight{padding-top:24px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:18px;gap:20px}.section-heading h2{margin:0;font-size:27px;font-weight:900;color:var(--navy)}.section-heading p{margin:4px 0 0;color:var(--muted);font-size:14px}.text-link{font-weight:800;color:var(--orange);font-size:13px}.promo-grid{display:grid;grid-template-columns:1.1fr 1fr 1.1fr;gap:16px}.promo-card{border-radius:22px;overflow:hidden;min-height:215px;background:#f5f6f9;box-shadow:var(--shadow);position:relative}.promo-card img{width:100%;height:100%;object-fit:cover}.promo-label{position:absolute;bottom:14px;right:14px;background:rgba(255,255,255,.94);padding:9px 13px;border-radius:12px;font-size:12px;font-weight:800;color:var(--navy);box-shadow:0 8px 20px rgba(0,0,0,.12)}.category-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.category-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:12px;text-align:center;transition:.2s}.category-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#ffd3c1}.category-thumb{aspect-ratio:1.2/1;border-radius:15px;overflow:hidden;background:#f7f7f8}.category-thumb img{width:100%;height:100%;object-fit:cover}.category-card strong{display:block;font-size:13px;margin-top:10px}.products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product-card{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 7px 22px rgba(10,33,83,.05);transition:.22s}.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.product-image-wrap{display:block;position:relative;aspect-ratio:1.3/1;overflow:hidden;background:#f5f5f5}.product-image-wrap img{width:100%;height:100%;object-fit:cover;transition:.35s}.product-card:hover .product-image-wrap img{transform:scale(1.035)}.discount-badge{position:absolute;top:10px;right:10px;background:var(--orange);color:#fff;border-radius:9px;padding:5px 8px;font-size:11px;font-weight:900;z-index:1}.product-body{padding:14px}.product-meta{display:flex;justify-content:space-between;align-items:center}.rating{font-size:11px;color:#f5a000;font-weight:800}.heart{border:0;background:#f4f6f9;width:31px;height:31px;border-radius:50%;font-size:18px;color:var(--navy);cursor:pointer}.product-card h3{font-size:15px;margin:7px 0 4px;color:var(--navy)}.product-card p{font-size:11.5px;color:var(--muted);height:38px;overflow:hidden;margin:0 0 12px}.product-bottom{display:flex;align-items:end;justify-content:space-between;gap:10px}.price{display:flex;flex-direction:column}.price strong{color:var(--navy);font-size:15px}.price del{font-size:10px;color:#a4aaba}.add-cart,.primary-btn,.secondary-btn{border:0;border-radius:11px;padding:10px 13px;font-weight:800;cursor:pointer}.add-cart,.primary-btn{background:var(--orange);color:#fff}.add-cart{font-size:11px;white-space:nowrap}.secondary-btn{background:#eef2f8;color:var(--navy)}.split-banner{display:grid;grid-template-columns:1fr 1.1fr;gap:18px}.visual-banner{border-radius:24px;overflow:hidden;background:#f5f6f7;min-height:260px;box-shadow:var(--shadow)}.visual-banner img{width:100%;height:100%;object-fit:cover}.features-card{margin-top:18px;border-radius:22px;overflow:hidden;background:var(--navy)}.features-card img{width:100%;max-height:210px;object-fit:cover}.page-hero{background:linear-gradient(130deg,var(--navy),#123f92);color:#fff;padding:55px 0}.page-hero h1{font-size:38px;margin:0 0 7px}.page-hero p{margin:0;opacity:.82}.filters{display:flex;gap:10px;overflow:auto;padding-bottom:6px}.filter-chip{border:1px solid var(--line);background:#fff;padding:9px 14px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}.filter-chip.active,.filter-chip:hover{background:var(--navy);color:#fff;border-color:var(--navy)}.cart-layout,.checkout-layout,.account-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px}.card-box{border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 9px 25px rgba(10,33,83,.045);padding:20px}.cart-item{display:grid;grid-template-columns:110px 1fr auto;gap:15px;padding:15px 0;border-bottom:1px solid var(--line)}.cart-item:last-child{border:0}.cart-item img{width:110px;height:85px;object-fit:cover;border-radius:14px}.cart-item h3{margin:0 0 4px;font-size:15px}.cart-item p{margin:0;color:var(--muted);font-size:11px}.qty-control{display:flex;align-items:center;gap:8px;margin-top:10px}.qty-control input{width:54px;text-align:center;border:1px solid var(--line);border-radius:9px;padding:7px}.summary-row{display:flex;justify-content:space-between;padding:10px 0;color:#465473}.summary-row.total{border-top:1px solid var(--line);font-size:18px;font-weight:900;color:var(--navy);margin-top:8px;padding-top:16px}.full-btn{display:block;width:100%;text-align:center;margin-top:14px;padding:13px 16px;border-radius:12px;background:var(--orange);color:#fff;border:0;font-weight:900;cursor:pointer}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-group{display:flex;flex-direction:column;gap:6px}.form-group.full{grid-column:1/-1}.form-group label{font-size:12px;font-weight:800;color:#344665}.form-control{border:1px solid var(--line);background:#fff;border-radius:11px;padding:11px 12px;outline:none;color:var(--text)}.form-control:focus{border-color:#ff9b72;box-shadow:0 0 0 3px rgba(255,100,37,.08)}textarea.form-control{min-height:100px;resize:vertical}.auth-shell{min-height:70vh;display:grid;place-items:center;padding:50px 16px;background:linear-gradient(180deg,#fff,#fff8f4)}.auth-card{width:min(470px,100%);border:1px solid var(--line);border-radius:24px;background:#fff;padding:28px;box-shadow:var(--shadow)}.auth-card h1{margin:0 0 4px;color:var(--navy);font-size:27px}.auth-card>p{margin:0 0 22px;color:var(--muted);font-size:13px}.account-sidebar{background:var(--navy);color:#fff;border-radius:22px;padding:18px;height:max-content}.account-sidebar .user-head{padding:10px 5px 18px;border-bottom:1px solid rgba(255,255,255,.12);margin-bottom:10px}.account-sidebar a{display:block;padding:11px 12px;border-radius:10px;font-size:13px;font-weight:700;opacity:.88}.account-sidebar a:hover{background:rgba(255,255,255,.08);opacity:1}.account-main{display:grid;gap:18px}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.stat-card{border:1px solid var(--line);border-radius:17px;padding:18px;background:#fff}.stat-card b{display:block;font-size:24px;color:var(--navy)}.stat-card span{font-size:11px;color:var(--muted)}.empty-state{text-align:center;padding:55px 20px;color:var(--muted)}.empty-state strong{display:block;color:var(--navy);font-size:19px;margin-bottom:5px}.contact-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:22px}.info-stack{display:grid;gap:12px}.info-card{background:var(--navy);color:#fff;border-radius:18px;padding:20px}.info-card h3{margin:0 0 5px}.info-card p{margin:0;opacity:.8;font-size:13px}.site-footer{margin-top:55px;background:#082153;color:#fff;padding:45px 0 95px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.1fr;gap:30px}.footer-grid h4{margin:0 0 13px}.footer-grid a,.footer-grid span{display:block;color:#d7e0f4;font-size:12px;margin:8px 0}.footer-grid p{color:#b7c4df;font-size:12px}.brand.inverted .brand-mark{border-color:#fff;background:#fff}.brand.inverted .brand-text strong{color:#fff}.social-row{display:flex;gap:8px;flex-wrap:wrap}.social-row span{border:1px solid rgba(255,255,255,.16);padding:5px 9px;border-radius:8px}.muted{opacity:.7}.mobile-bottom-nav{display:none}.toast{position:fixed;top:105px;left:50%;transform:translateX(-50%);z-index:300;padding:12px 18px;border-radius:12px;color:#fff;font-weight:800;font-size:12px;box-shadow:0 12px 25px rgba(0,0,0,.18);transition:.3s}.toast.success{background:#1ca75b}.toast.error{background:#d74848}.toast.hide{opacity:0;transform:translate(-50%,-15px);pointer-events:none}
@media(max-width:1000px){.desktop-nav{display:none}.menu-toggle{display:block}.promo-grid{grid-template-columns:1fr 1fr}.promo-grid .promo-card:last-child{grid-column:1/-1}.category-strip{grid-template-columns:repeat(3,1fr)}.products-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.mobile-menu.open{display:grid;position:absolute;top:100%;right:16px;left:16px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px;box-shadow:var(--shadow)}.mobile-menu a{padding:11px 12px;border-radius:9px;font-size:13px;font-weight:700}.mobile-menu a:hover{background:#fff4ef;color:var(--orange)}}
@media(max-width:700px){body{padding-bottom:68px}.top-strip{display:none}.container{width:min(100% - 22px,1180px)}.nav-wrap{height:68px;gap:8px}.brand{min-width:auto}.brand-mark{width:40px;height:40px;font-size:20px}.brand-text strong{font-size:18px}.brand-text small{font-size:8px}.account-link,.icon-link{display:none}.cart-pill{height:39px;padding:0 10px}.menu-toggle{width:39px;height:39px}.hero{padding-top:12px}.hero-card{min-height:210px;border-radius:18px}.hero-card img{object-position:center}.section{padding:30px 0}.section-heading{align-items:center}.section-heading h2{font-size:21px}.section-heading p{display:none}.promo-grid{grid-template-columns:1fr;gap:12px}.promo-grid .promo-card:last-child{grid-column:auto}.promo-card{min-height:175px;border-radius:17px}.category-strip{display:flex;overflow:auto;padding-bottom:8px;scrollbar-width:none}.category-card{min-width:122px}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card{border-radius:15px}.product-body{padding:10px}.product-card h3{font-size:12px}.product-card p{display:none}.add-cart{padding:8px;font-size:9px}.price strong{font-size:12px}.product-bottom{align-items:center}.split-banner{grid-template-columns:1fr;gap:12px}.visual-banner{min-height:180px;border-radius:18px}.page-hero{padding:34px 0}.page-hero h1{font-size:28px}.cart-layout,.checkout-layout,.account-layout,.contact-grid{grid-template-columns:1fr}.cart-item{grid-template-columns:82px 1fr}.cart-item img{width:82px;height:72px}.cart-item>div:last-child{grid-column:2}.form-grid{grid-template-columns:1fr}.form-group.full{grid-column:auto}.stat-grid{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr;gap:20px}.footer-brand{grid-column:1/-1}.site-footer{padding-bottom:35px}.mobile-bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;right:0;left:0;background:#fff;border-top:1px solid var(--line);z-index:200;height:64px;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -8px 25px rgba(10,33,83,.06)}.mobile-bottom-nav a{display:grid;place-items:center;align-content:center;gap:1px;font-size:18px;color:#52627f;position:relative}.mobile-bottom-nav small{font-size:9px;font-weight:800}.mobile-cart{color:var(--orange)!important}.mobile-cart b{position:absolute;top:5px;left:calc(50% - 24px);background:var(--orange);color:#fff;width:17px;height:17px;border-radius:50%;display:grid;place-items:center;font-size:8px}.auth-shell{padding:28px 11px}.auth-card{padding:22px;border-radius:18px}}

/* =========================================================
   ATYAF VISUAL MATCH PASS — 2026-10-04
   Matches the supplied home/account references more closely.
   ========================================================= */
:root{--navy:#082a67;--navy2:#0b347c;--orange:#ff5a16;--orange2:#ff6d1d;--line:#e9edf4;--muted:#7a8498;--text:#0d2a61;--shadow:0 10px 28px rgba(10,42,103,.08);--green:#2db66d}
body{background:#fff;color:#102a59;font-family:'Cairo',Tahoma,Arial,sans-serif}
.container{width:min(1180px,calc(100% - 44px));margin-inline:auto}

/* Header */
.atyaf-header{position:relative;top:auto;box-shadow:0 1px 0 rgba(8,42,103,.08);background:#fff;z-index:100}
.atyaf-nav-wrap{min-height:112px;height:auto;display:grid;grid-template-columns:180px minmax(0,1fr) 430px;grid-template-areas:"logo nav tools";align-items:center;gap:18px;padding:10px 0}
.brand-logo{grid-area:logo;min-width:0;justify-self:start}
.brand-logo img{width:156px;height:95px;object-fit:contain}
.atyaf-main-nav{grid-area:nav;display:flex;justify-content:center;gap:24px;white-space:nowrap}
.atyaf-main-nav a{font-size:13px;font-weight:800;color:#17356b;padding:14px 0;position:relative}
.atyaf-main-nav a.active:after,.atyaf-main-nav a:hover:after{content:"";position:absolute;right:20%;left:20%;bottom:4px;height:3px;border-radius:6px;background:var(--orange)}
.header-tools{grid-area:tools;display:grid;grid-template-columns:1fr auto auto;gap:9px;align-items:center;direction:rtl}
.header-search{grid-column:1/-1;height:42px;border:1px solid #e2e6ed;background:#fbfbfc;border-radius:18px;display:flex;align-items:center;gap:8px;padding:0 14px;order:-1}
.header-search input{width:100%;border:0;outline:0;background:transparent;text-align:right;color:#394760;font-size:12px}
.search-icon{font-size:22px;color:#0f2a5f;transform:rotate(-15deg)}
.cart-link-clean{height:42px;display:flex;align-items:center;gap:7px;font-size:12px;font-weight:800;color:#17356b;white-space:nowrap}
.cart-link-clean b{min-width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:var(--orange);color:#fff;font-size:10px}
.cart-icon{font-size:21px}
.auth-btn{height:42px;border-radius:9px;padding:0 17px;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:12px;white-space:nowrap}
.login-btn{border:1.5px solid #123b7f;background:#fff;color:#10336d}
.signup-btn{background:var(--orange);color:#fff;border:1.5px solid var(--orange)}
.atyaf-header .menu-toggle{display:none}

/* Hero exact visual crop */
.home-hero{width:100%;background:#fff}
.hero-reference-shell{position:relative;width:100%;overflow:hidden;background:#ff5b14}
.hero-reference-shell>img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.hero-html-cta{position:absolute;right:67.8%;bottom:5.8%;transform:translateX(50%);height:42px;min-width:170px;padding:0 24px;border-radius:999px;background:#fff;color:#e95016;display:flex;align-items:center;justify-content:center;gap:10px;font-weight:900;font-size:16px;box-shadow:0 5px 15px rgba(0,0,0,.10)}

/* Promo cards */
.home-promos{padding:18px 0 8px;background:#fff}
.reference-promos{grid-template-columns:1fr .9fr 1fr;gap:16px}
.reference-card{min-height:0;height:auto;border-radius:13px;box-shadow:none;border:0;background:transparent}
.reference-card img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain;border-radius:13px}

/* headings */
.category-section{padding:18px 0 10px}.products-home{padding:10px 0 25px}
.reference-heading{align-items:center;margin-bottom:11px;direction:ltr}
.reference-heading>div{direction:rtl}.reference-heading h2{font-size:20px;line-height:1.2}.reference-heading .text-link{font-size:12px;color:#0f3c82}

/* categories */
.reference-category-strip{grid-template-columns:repeat(6,1fr);gap:10px;overflow:visible}
.reference-category{border:0;border-radius:0;padding:0;background:transparent;box-shadow:none}
.reference-category:hover{transform:none;box-shadow:none;border-color:transparent}
.reference-category .category-thumb{width:82px;height:82px;aspect-ratio:1;border-radius:50%;margin:auto;background:#f4f5f7;border:1px solid #edf0f4;padding:6px;overflow:hidden}
.reference-category .category-thumb img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.reference-category strong{font-size:12px;margin-top:6px;color:#142f65;font-weight:800}

/* Products */
.reference-products{grid-template-columns:repeat(5,1fr);gap:18px}
.reference-product-card{border:1px solid #eef0f4;border-radius:12px;box-shadow:0 5px 14px rgba(7,39,96,.08);overflow:hidden;background:#fff}
.reference-product-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(7,39,96,.10)}
.reference-product-card .product-image-wrap{aspect-ratio:1.65/1;background:#f4f4f4;position:relative}
.reference-product-card .product-image-wrap img{object-fit:cover;width:100%;height:100%}
.floating-heart{position:absolute;z-index:2;top:8px;left:8px;width:30px;height:30px;border-radius:50%;background:rgba(17,30,50,.72);color:#fff;font-size:20px}
.reference-product-card .discount-badge{top:8px;right:8px;font-size:9px;padding:4px 6px}
.reference-product-card .product-body{padding:9px 10px 10px;text-align:right}
.reference-product-card .product-body h3{font-size:13px;margin:0 0 2px;color:#16336d;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.reference-product-card .product-body p{font-size:10px;color:#8b93a2;margin:0;height:18px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-rating-row{display:flex;justify-content:flex-end;margin-top:4px}.product-rating-row .rating{font-size:11px}
.product-price-line{display:flex;align-items:center;gap:7px;margin:1px 0 7px}.product-price-line strong{font-size:13px;color:#12356f}.product-price-line del{font-size:9px;color:#9aa4b6}
.full-add-cart{width:100%;border-radius:7px;padding:7px 8px;font-size:11px;background:var(--orange);color:#fff}

/* Bottom marketing */
.bottom-marketing{padding:0 0 0;background:#fff}
.bottom-marketing-grid{display:grid;grid-template-columns:1fr 1fr;gap:0;width:100%;max-width:none;padding:0}
.bottom-marketing-card{display:block;overflow:hidden;min-height:0;border-radius:0;background:transparent}
.bottom-marketing-card img{display:block;width:100%;height:auto;object-fit:contain}

/* Footer */
.reference-footer{margin-top:0;background:#09295f;padding:26px 0 28px;border-top:3px solid rgba(255,255,255,.35)}
.reference-footer-grid{grid-template-columns:1.15fr .9fr 1.05fr 1.15fr;gap:24px;align-items:start}
.footer-logo img{width:120px;height:80px;object-fit:contain;background:#fff;border-radius:50%}
.footer-brand p{margin:6px 0 0;color:#fff;font-weight:700;font-size:12px}
.reference-footer h4{font-size:13px;margin:0 0 9px;color:#fff}.reference-footer a,.reference-footer span,.reference-footer p{font-size:11px}
.footer-phone{font-size:15px!important;font-weight:900!important;color:#fff!important}.social-row span{font-size:18px!important;border:0!important;padding:0 5px!important;margin:0!important}

/* Account page closer to supplied reference */
.account-reference-page{background:#f7f9fc;min-height:100vh;padding:0 0 40px}
.account-dashboard-shell{display:grid;grid-template-columns:1fr 220px;gap:0;max-width:1440px;margin:auto;background:#f7f9fc}
.account-reference-sidebar{background:#09295f;color:#fff;min-height:calc(100vh - 0px);padding:22px 14px;position:sticky;top:0;height:100vh}
.account-reference-sidebar .account-logo{display:block;text-align:center;margin-bottom:18px}.account-reference-sidebar .account-logo img{width:110px;height:80px;object-fit:contain;margin:auto;background:#fff;border-radius:50%}
.account-user-mini{text-align:center;padding:12px 8px 18px;border-bottom:1px solid rgba(255,255,255,.13);margin-bottom:10px}.account-user-mini strong{display:block;font-size:13px}.account-user-mini small{opacity:.76;font-size:10px}
.account-reference-sidebar nav{display:grid;gap:4px}.account-reference-sidebar nav a{padding:11px 12px;border-radius:8px;font-size:12px;font-weight:700;display:flex;justify-content:space-between;align-items:center}.account-reference-sidebar nav a.active,.account-reference-sidebar nav a:hover{background:var(--orange);color:#fff}
.account-side-app{margin-top:22px;border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:12px;text-align:center}.account-side-app img{width:100%;border-radius:10px;margin-top:10px}
.account-content{padding:18px 20px 30px;min-width:0}
.account-welcome{position:relative;background:#ff5d18;border-radius:0 0 24px 24px;overflow:hidden;min-height:155px;margin:-18px -20px 18px;color:#fff;display:flex;align-items:center;padding:28px 42px}.account-welcome:after{content:"";position:absolute;left:0;bottom:0;width:50%;height:100%;background:url('../images/reference/hero-reference.webp') left center/cover no-repeat;opacity:.95;clip-path:polygon(0 0,100% 0,76% 100%,0 100%)}.account-welcome-text{position:relative;z-index:2;margin-right:auto;width:49%;text-align:right}.account-welcome h1{margin:0 0 6px;font-size:28px}.account-welcome p{margin:0;font-size:14px}
.account-current-order{background:#fff;border:1px solid #edf0f4;border-radius:18px;padding:17px;margin-bottom:14px;box-shadow:0 4px 12px rgba(10,42,103,.04)}
.account-current-order-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.account-current-order-head h2{font-size:17px;margin:0}.order-status{background:#e6f8ee;color:#25a35f;padding:6px 12px;border-radius:8px;font-size:11px;font-weight:900}
.order-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:14px}.progress-step{text-align:center;position:relative;font-size:10px;color:#6f7b90}.progress-step:before{content:"";display:block;width:22px;height:22px;border-radius:50%;background:#e0e5ee;border:4px solid #fff;box-shadow:0 0 0 1px #d8deea;margin:0 auto 7px;position:relative;z-index:2}.progress-step.done:before{background:#163d88}.progress-step.active:before{background:var(--orange)}.progress-step:not(:last-child):after{content:"";position:absolute;top:11px;right:50%;width:100%;height:3px;background:#dfe4ec;z-index:1}.progress-step.done:not(:last-child):after{background:#183f8c}
.account-quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}.quick-card{background:#fff;border:1px solid #edf0f4;border-radius:13px;padding:15px;text-align:center}.quick-icon{width:52px;height:52px;border-radius:50%;margin:auto auto 8px;display:grid;place-items:center;background:#fff1eb;color:var(--orange);font-size:25px}.quick-card strong{display:block;font-size:13px;color:#17366f}.quick-card small{display:block;font-size:10px;color:#8c95a6;margin:4px 0 9px}.quick-card a{display:inline-flex;border:1px solid var(--orange);border-radius:7px;color:#e95115;padding:5px 16px;font-size:10px;font-weight:900}
.account-dashboard-columns{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:12px}.dashboard-panel{background:#fff;border:1px solid #edf0f4;border-radius:14px;padding:14px;min-width:0}.dashboard-panel h3{font-size:14px;margin:0 0 10px;color:#17366f}.dashboard-order-row{display:grid;grid-template-columns:62px 1fr auto;gap:9px;align-items:center;padding:8px 0;border-bottom:1px solid #eef1f5}.dashboard-order-row:last-child{border-bottom:0}.dashboard-order-row img{width:62px;height:48px;object-fit:cover;border-radius:7px}.dashboard-order-row strong{font-size:11px}.dashboard-order-row small{font-size:9px;color:#8d96a7}.dashboard-address{border:1px solid #eef1f5;border-radius:9px;padding:10px;margin-bottom:8px;font-size:10px}.dashboard-favorite{display:grid;grid-template-columns:55px 1fr;gap:8px;align-items:center;padding:7px 0}.dashboard-favorite img{width:55px;height:47px;object-fit:cover;border-radius:7px}.dashboard-favorite strong{font-size:10px}.dashboard-favorite span{font-size:10px;color:#17366f;font-weight:900}

@media(max-width:1050px){
  .atyaf-nav-wrap{grid-template-columns:120px 1fr 300px}.brand-logo img{width:115px}.atyaf-main-nav{gap:12px}.atyaf-main-nav a{font-size:11px}.header-tools{grid-template-columns:1fr auto}.signup-btn{display:none}.header-search{grid-column:1/-1}.reference-products{grid-template-columns:repeat(4,1fr)}
  .account-dashboard-columns{grid-template-columns:1fr 1fr}.account-dashboard-columns .dashboard-panel:first-child{grid-column:1/-1}
}
@media(max-width:820px){
  .container{width:min(100% - 24px,1180px)}
  .atyaf-nav-wrap{display:flex;min-height:72px;padding:6px 0;gap:8px}.brand-logo{margin-left:auto}.brand-logo img{width:86px;height:58px}.atyaf-main-nav,.header-search,.signup-btn{display:none}.header-tools{display:flex;gap:7px}.cart-link-clean span:not(.cart-icon){display:none}.login-btn{display:none}.atyaf-header .menu-toggle{display:block}.mobile-menu.open{display:grid}
  .hero-reference-shell>img{min-height:230px;object-fit:cover;object-position:center}.hero-html-cta{display:none}
  .reference-promos{grid-template-columns:1fr;gap:10px}.reference-card img{width:100%}
  .reference-category-strip{display:flex;overflow:auto;padding:2px 0 8px;scrollbar-width:none}.reference-category{min-width:84px}.reference-category .category-thumb{width:68px;height:68px}
  .reference-products{grid-template-columns:repeat(2,1fr);gap:10px}.reference-product-card .product-body h3{font-size:11px}.full-add-cart{font-size:9px}
  .bottom-marketing-grid{grid-template-columns:1fr}.bottom-marketing-card img{width:100%}
  .reference-footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}
  .account-dashboard-shell{grid-template-columns:1fr}.account-reference-sidebar{display:none}.account-content{padding:12px}.account-welcome{margin:-12px -12px 12px;min-height:135px;padding:20px}.account-welcome:after{width:58%;opacity:.6}.account-welcome-text{width:70%}.account-welcome h1{font-size:22px}.account-quick-grid{grid-template-columns:1fr 1fr}.account-dashboard-columns{grid-template-columns:1fr}.account-dashboard-columns .dashboard-panel:first-child{grid-column:auto}
}
@media(max-width:480px){
  .reference-products{grid-template-columns:1fr 1fr}.reference-product-card .product-image-wrap{aspect-ratio:1.35/1}.reference-heading h2{font-size:17px}.reference-heading .text-link{font-size:10px}.account-quick-grid{grid-template-columns:1fr 1fr}.quick-card{padding:11px}.quick-icon{width:44px;height:44px}.account-welcome-text{width:100%}.account-welcome:after{opacity:.28;width:100%}
}

/* ===== ATYAF FINAL UI POLISH v3 ===== */
.ui-icon{width:1em;height:1em;display:inline-block;vertical-align:-.15em;flex:0 0 auto}
.search-icon .ui-icon,.cart-icon .ui-icon{width:20px;height:20px}
.heading-icon{width:22px;height:22px;color:var(--orange);stroke-width:2.15}
.reference-heading h2{display:flex;align-items:center;gap:7px}
.reference-heading .text-link{display:inline-flex;align-items:center;gap:5px;font-weight:800}
.reference-heading .text-link .ui-icon{width:14px;height:14px}
.cart-link-clean{padding:0 4px;transition:.2s}.cart-link-clean:hover{color:var(--orange)}
.cart-icon{display:inline-flex;align-items:center;justify-content:center;color:var(--navy)}
.header-search{height:42px;border:1px solid #e3e8f0;border-radius:14px;display:flex;align-items:center;gap:9px;padding:0 12px;background:#f8fafc;transition:.2s}
.header-search:focus-within{background:#fff;border-color:#cdd8e8;box-shadow:0 0 0 3px rgba(11,45,107,.05)}
.header-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#243657;font-size:12px}
.search-icon{display:inline-flex;color:#496080}
.menu-toggle{align-items:center;justify-content:center}.menu-toggle .ui-icon{width:21px;height:21px}
.mobile-menu-search{display:none}

/* richer cards without looking templated */
.reference-card{transition:transform .22s ease,box-shadow .22s ease}.reference-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(8,42,103,.08)}
.reference-product-card{transition:transform .2s ease,box-shadow .2s ease;border-color:#e8edf4}
.reference-product-card .product-image-wrap{overflow:hidden}.reference-product-card .product-image-wrap img{transition:transform .28s ease}.reference-product-card:hover .product-image-wrap img{transform:scale(1.025)}
.floating-heart{display:grid;place-items:center;border:0;cursor:pointer;backdrop-filter:blur(4px)}.floating-heart .ui-icon{width:17px;height:17px}
.product-rating-row .rating{display:inline-flex;align-items:center;gap:4px;color:#f2a000}.product-rating-row .rating .ui-icon{width:13px;height:13px;fill:#f2a000;stroke:#f2a000}.product-rating-row .rating b{font-size:10px;color:#45546c}
.full-add-cart{display:flex;align-items:center;justify-content:center;gap:7px;min-height:36px}.full-add-cart .ui-icon{width:16px;height:16px}
.full-add-cart:hover{background:#ed5319}
.reference-category{transition:transform .2s ease}.reference-category:hover{transform:translateY(-2px)}
.reference-category .category-thumb{box-shadow:0 3px 12px rgba(10,33,83,.05)}

/* footer icons */
.footer-phone{display:inline-flex!important;align-items:center;gap:7px}.footer-phone .ui-icon{width:17px;height:17px}
.social-row{display:flex;align-items:center;gap:8px}.social-row a{width:34px;height:34px;border:1px solid rgba(255,255,255,.18);border-radius:10px;display:grid!important;place-items:center!important;color:#fff!important;margin:0!important;transition:.2s}.social-row a:hover{background:#fff;color:var(--navy)!important}.social-row .ui-icon{width:17px;height:17px}

/* account icons */
.quick-icon .ui-icon{width:25px;height:25px}.dashboard-panel h3{display:flex;align-items:center;gap:7px}.dashboard-panel h3 .ui-icon{width:17px;height:17px;color:var(--orange)}
.account-reference-sidebar nav a .ui-icon{width:17px;height:17px;opacity:.95}
.account-current-order-head h2{display:flex;align-items:center;gap:7px}

/* Mobile navigation icons */
.mobile-bottom-nav a>span{display:flex;align-items:center;justify-content:center;height:25px}.mobile-bottom-nav .ui-icon{width:22px;height:22px;stroke-width:1.9}.mobile-bottom-nav a{transition:.2s}.mobile-bottom-nav a:hover,.mobile-bottom-nav a:focus{color:var(--navy)}

/* Better natural food visibility on home */
.products-home{padding-top:28px}.reference-products{align-items:stretch}.reference-product-card{height:100%;display:flex;flex-direction:column}.reference-product-card .product-body{display:flex;flex-direction:column;flex:1}.reference-product-card .full-add-cart{margin-top:auto}

@media(max-width:820px){
  body{background:#fff;padding-bottom:72px}
  .atyaf-header{position:sticky;top:0;z-index:500;box-shadow:0 5px 18px rgba(9,41,95,.06)}
  .atyaf-nav-wrap{height:68px;min-height:68px;padding:5px 0;align-items:center}
  .brand-logo{margin-left:auto;order:3}.brand-logo img{width:78px;height:52px}
  .header-tools{order:1;margin-right:auto;display:flex!important;align-items:center;gap:6px}
  .cart-link-clean{height:40px;min-width:42px;justify-content:center;padding:0 7px;border:1px solid #e5eaf1;border-radius:12px;background:#fff;position:relative}
  .cart-link-clean b{position:absolute;top:-5px;left:-4px;width:18px;min-width:18px;height:18px;font-size:9px;border:2px solid #fff}
  .cart-icon .ui-icon{width:21px;height:21px}
  .atyaf-header .menu-toggle{display:flex!important;width:40px;height:40px;border:1px solid #e5eaf1;background:#fff;color:var(--navy);border-radius:12px}
  .mobile-menu{position:absolute;top:100%;right:10px;left:10px;border-radius:16px;background:#fff;border:1px solid #e8edf4;box-shadow:0 18px 38px rgba(5,35,85,.14);padding:10px;gap:3px;max-height:calc(100vh - 90px);overflow:auto}
  .mobile-menu-search{display:flex;height:44px;align-items:center;gap:8px;border:1px solid #e5eaf1;border-radius:12px;background:#f8fafc;padding:0 10px;margin-bottom:6px}.mobile-menu-search span{display:flex;color:#55708f}.mobile-menu-search .ui-icon{width:18px;height:18px}.mobile-menu-search input{border:0;background:transparent;outline:0;width:100%;font-size:12px;color:#263a5b}
  .mobile-menu a{font-size:12px;padding:10px 12px;border-radius:10px}.mobile-menu a:hover{background:#fff5f0}

  .home-hero{padding-top:0}.hero-reference-shell{border-radius:0}.hero-reference-shell>img{width:100%;height:auto;min-height:0;aspect-ratio:2110/728;object-fit:cover;object-position:center}
  .home-promos{padding:10px 0 3px}.reference-promos{gap:9px}.reference-card{border-radius:14px;overflow:hidden}.reference-card img{border-radius:14px;aspect-ratio:auto;height:auto;object-fit:contain}
  .section{padding:23px 0}.category-section{padding-top:22px}.products-home{padding-top:19px}
  .reference-heading{margin-bottom:12px;gap:10px}.reference-heading h2{font-size:18px}.reference-heading .text-link{font-size:10px}
  .reference-category-strip{gap:11px;margin-left:-12px;margin-right:-12px;padding:3px 12px 10px;scroll-snap-type:x proximity}.reference-category{min-width:76px;scroll-snap-align:start}.reference-category .category-thumb{width:62px;height:62px;padding:4px}.reference-category strong{font-size:10.5px;line-height:1.3}
  .reference-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.reference-product-card{border-radius:14px;overflow:hidden}.reference-product-card .product-image-wrap{aspect-ratio:1.35/1}.reference-product-card .product-body{padding:9px}.reference-product-card .product-body h3{font-size:11px;line-height:1.5}.reference-product-card .product-body p{display:none}.product-rating-row{margin-top:3px}.product-price-line{margin:3px 0 7px}.product-price-line strong{font-size:12px}.full-add-cart{min-height:34px;border-radius:8px;font-size:9.5px}.full-add-cart .ui-icon{width:14px;height:14px}.floating-heart{width:28px;height:28px;top:7px;left:7px}.floating-heart .ui-icon{width:15px;height:15px}
  .bottom-marketing{padding-top:0}.bottom-marketing-grid{gap:8px;padding:0 12px}.bottom-marketing-card{border-radius:15px}.bottom-marketing-card img{border-radius:15px}
  .reference-footer{padding:25px 0 84px}.reference-footer-grid{gap:18px}.footer-logo img{width:100px;height:65px}.social-row{gap:6px}.social-row a{width:31px;height:31px}
  .mobile-bottom-nav{height:66px;padding:5px 8px max(5px,env(safe-area-inset-bottom));grid-template-columns:repeat(4,1fr);border-top:1px solid #e5eaf1;box-shadow:0 -8px 24px rgba(8,38,92,.07)}.mobile-bottom-nav a{gap:1px;font-size:0;border-radius:11px}.mobile-bottom-nav small{font-size:9px}.mobile-bottom-nav .mobile-cart b{top:1px;left:calc(50% - 23px)}

  .account-reference-page{padding-bottom:18px}.account-content{padding:10px}.account-welcome{margin:-10px -10px 10px;min-height:126px;padding:18px;border-radius:0 0 18px 18px}.account-welcome h1{font-size:20px}.account-welcome p{font-size:11px;line-height:1.75}.account-current-order{border-radius:14px;padding:13px}.account-current-order-head h2{font-size:15px}.order-progress{overflow-x:auto;grid-template-columns:repeat(4,minmax(90px,1fr));padding-bottom:4px}.account-quick-grid{gap:9px}.quick-card{border-radius:13px;padding:11px 8px}.quick-icon{width:43px;height:43px}.quick-icon .ui-icon{width:21px;height:21px}.quick-card strong{font-size:11px}.quick-card small{font-size:9px}.quick-card a{font-size:9px;padding:5px 10px}
}

@media(max-width:420px){
  .container{width:min(100% - 18px,1180px)}
  .brand-logo img{width:72px;height:48px}
  .atyaf-nav-wrap{height:62px;min-height:62px}
  .cart-link-clean,.atyaf-header .menu-toggle{width:38px;height:38px;min-width:38px;padding:0}
  .hero-reference-shell>img{aspect-ratio:2.35/1;object-fit:cover;object-position:center}
  .reference-products{gap:8px}.reference-product-card .product-body{padding:8px}.reference-product-card .product-body h3{font-size:10.5px}.product-price-line strong{font-size:11.5px}.full-add-cart{font-size:9px;gap:5px}
  .reference-heading h2{font-size:16px}.heading-icon{width:19px;height:19px}
  .reference-footer-grid{grid-template-columns:1fr}.footer-brand{grid-column:auto}.reference-footer>div{text-align:center}.footer-logo img{margin:auto}.social-row{justify-content:center}.footer-phone{justify-content:center}
}
.product-visual{position:relative}.product-image-link{display:block;width:100%;height:100%}.product-image-link img{width:100%;height:100%;object-fit:cover}.mobile-bottom-nav a.active{color:var(--orange);background:#fff7f3}

/* =========================================================
   TASK 1/8 — RESPONSIVE FOUNDATION + MEDIA FIT + ACCOUNT HERO
   ========================================================= */
html,body{max-width:100%;overflow-x:hidden}
body{min-width:0}
main,.site-header,.site-footer,.account-reference-page{max-width:100%;overflow-x:clip}
.container,.nav-wrap,.atyaf-nav-wrap,.account-dashboard-shell,.account-content,.section,.bottom-marketing{min-width:0;max-width:100%}
img,svg,video,canvas{max-width:100%}
img{height:auto}
*{min-width:0}

/* Media frames always consume their space cleanly. Uploaded odd-size images
   are cropped inside the visual frame instead of leaving white bands. */
.media-cover,.category-thumb,.product-image-wrap,.promo-card,.reference-card,.bottom-marketing-card,.visual-banner{overflow:hidden;background:#f3f5f8}
.media-cover img,.category-thumb img,.product-image-wrap img,.promo-card img,.reference-card img,.bottom-marketing-card img,.visual-banner img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}

/* Home reference art: preserve the artwork ratio rather than stretching it. */
.hero-reference-shell{overflow:hidden;background:#0b2d69}
.hero-reference-shell>img{display:block;width:100%;height:auto;aspect-ratio:2110/728;object-fit:cover;object-position:center}
.reference-promos .reference-card{aspect-ratio:1.6/1;min-height:0}
.reference-promos .reference-card img{width:100%;height:100%;object-fit:cover;object-position:center}
.bottom-marketing-card{aspect-ratio:2.6/1;min-height:0}
.bottom-marketing-card img{width:100%;height:100%;object-fit:cover;object-position:center}
.reference-category .category-thumb{aspect-ratio:1/1;border-radius:50%;background:#f4f5f7}
.reference-category .category-thumb img{object-fit:cover}
.reference-product-card .product-image-wrap{aspect-ratio:1.72/1;background:#f2f3f5}
.reference-product-card .product-image-wrap img{object-fit:cover}

/* Rebuilt account welcome banner: image and text never sit on top of each other. */
.account-welcome{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);min-height:190px!important;padding:0!important;margin:-18px -20px 18px!important;border-radius:0 0 24px 24px!important;background:#ff5d18!important;overflow:hidden!important;align-items:stretch!important}
.account-welcome:after{display:none!important;content:none!important}
.account-welcome-visual{position:relative;min-height:190px;overflow:hidden;background:#102d67}
.account-welcome-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,39,94,.08),rgba(9,39,94,0));pointer-events:none}
.account-welcome-visual img{width:100%;height:100%;object-fit:cover;object-position:37% center;display:block}
.account-welcome-copy{display:flex;align-items:center;justify-content:flex-start;padding:28px 34px;background:linear-gradient(135deg,#ff641e,#ff4e13);color:#fff;position:relative}
.account-welcome-copy:before{content:"";position:absolute;inset:auto -1px 0 auto;width:44%;height:55%;background:radial-gradient(circle at bottom right,rgba(255,255,255,.12),transparent 68%);pointer-events:none}
.account-welcome-text{width:100%!important;margin:0!important;text-align:right!important;position:relative;z-index:1}
.account-welcome h1{margin:0 0 8px!important;font-size:30px!important;line-height:1.25}
.account-welcome p{margin:0 0 3px!important;font-size:14px!important;line-height:1.8;opacity:.96}
.account-welcome strong{display:block;font-size:14px;font-weight:800}

/* Global responsive guards. */
.account-dashboard-shell>*{min-width:0}
.account-dashboard-columns,.account-quick-grid,.products-grid,.promo-grid,.bottom-marketing-grid,.cart-layout,.checkout-layout,.contact-grid{min-width:0}
.dashboard-panel,.quick-card,.product-card,.promo-card,.card-box{max-width:100%}
.admin-table-wrap,.order-progress,.filters,.category-strip{max-width:100%;overscroll-behavior-inline:contain}

@media(max-width:1000px){
  .account-welcome{grid-template-columns:1fr 300px!important}
  .reference-promos .reference-card{aspect-ratio:1.55/1}
}

@media(max-width:700px){
  html,body{width:100%;overflow-x:hidden!important}
  .container{width:calc(100% - 20px)!important;max-width:100%!important;margin-inline:auto!important}
  .site-header,.atyaf-header{width:100%;overflow:visible}
  .atyaf-nav-wrap{width:100%;padding-inline:10px!important}
  .mobile-menu{max-width:calc(100vw - 20px)!important;right:10px!important;left:10px!important}

  .hero-reference-shell>img{aspect-ratio:2.35/1!important;min-height:0!important;object-fit:cover!important;object-position:center!important}
  .home-promos .container{width:calc(100% - 20px)!important}
  .reference-promos{grid-template-columns:1fr!important;gap:10px!important}
  .reference-promos .reference-card{width:100%;aspect-ratio:1.62/1!important;border-radius:14px!important}
  .reference-promos .reference-card img{object-fit:cover!important}
  .category-section .container,.products-home .container,.bottom-marketing .container{width:calc(100% - 20px)!important}
  .reference-category-strip{padding-inline:1px!important;max-width:100vw!important}
  .reference-products{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .reference-product-card{width:100%;min-width:0}
  .reference-product-card .product-image-wrap{aspect-ratio:1.45/1!important}
  .bottom-marketing-grid{grid-template-columns:1fr!important;gap:10px!important}
  .bottom-marketing-card{aspect-ratio:2.35/1!important;border-radius:15px!important}

  .account-reference-page{width:100%;overflow-x:hidden!important}
  .account-dashboard-shell{display:block!important;width:100%!important}
  .account-content{width:100%!important;padding:10px!important;overflow-x:hidden!important}
  .account-welcome{display:flex!important;flex-direction:column!important;margin:-10px -10px 12px!important;border-radius:0 0 18px 18px!important;min-height:0!important}
  .account-welcome-visual{width:100%;height:auto;min-height:0;aspect-ratio:2.1/1}
  .account-welcome-visual img{width:100%;height:100%;object-fit:cover;object-position:center 48%}
  .account-welcome-copy{width:100%;padding:16px 16px 18px!important;min-height:0}
  .account-welcome h1{font-size:20px!important;margin-bottom:5px!important}
  .account-welcome p,.account-welcome strong{font-size:11px!important;line-height:1.7}
  .account-current-order,.account-quick-grid,.account-dashboard-columns{width:100%;max-width:100%}
  .account-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .account-dashboard-columns{grid-template-columns:1fr!important}
  .dashboard-order-row{grid-template-columns:56px minmax(0,1fr) auto!important}
  .dashboard-address,.dashboard-favorite{max-width:100%;overflow:hidden}
  .order-progress{width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
}

@media(max-width:390px){
  .container{width:calc(100% - 16px)!important}
  .reference-products{gap:7px!important}
  .reference-product-card .product-body{padding:8px!important}
  .reference-product-card .product-body h3{font-size:10.5px!important}
  .full-add-cart{font-size:9px!important;padding-inline:6px!important}
  .account-quick-grid{gap:7px!important}
  .quick-card{padding:9px 6px!important}
}


/* Task 2 - real favorites */
.favorite-toggle{transition:transform .18s ease,background .18s ease,color .18s ease,border-color .18s ease;touch-action:manipulation}
.favorite-toggle.active{background:#fff0eb!important;color:var(--orange)!important;border-color:#ffd1bf!important}
.favorite-toggle.active .ui-icon{fill:currentColor;stroke:currentColor}.favorite-toggle:active{transform:scale(.92)}.favorite-toggle.is-loading{opacity:.55;cursor:wait}
.product-detail-actions{display:flex;margin:8px 0 14px}.product-favorite-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:9px 14px;border-radius:11px;border:1px solid var(--line);background:#fff;color:var(--navy);font-weight:800;cursor:pointer}.product-favorite-btn .ui-icon{width:18px;height:18px}
.dashboard-panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.dashboard-panel-head h3{margin:0}.favorites-total{font-size:11px;color:var(--muted);background:#f5f7fb;border:1px solid var(--line);padding:5px 9px;border-radius:999px;white-space:nowrap}
.account-favorites-list{display:grid;gap:9px}.favorite-account-row{display:grid!important;grid-template-columns:64px minmax(0,1fr) auto;gap:11px;align-items:center;padding:8px!important;border:1px solid var(--line);border-radius:13px;transition:opacity .2s ease,transform .2s ease}.favorite-account-image{width:64px;height:58px;border-radius:10px;overflow:hidden;background:#f5f5f5}.favorite-account-image img{width:100%;height:100%;object-fit:cover}.favorite-account-info{min-width:0}.favorite-account-info strong{display:block;color:var(--navy);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.favorite-account-info span{font-size:11px;color:var(--orange);font-weight:900}.favorite-account-actions{display:flex;align-items:center;gap:6px}.favorite-remove{width:34px;height:34px;border:1px solid #ffd1bf;border-radius:9px;background:#fff0eb;color:var(--orange);display:grid;place-items:center;cursor:pointer}.favorite-remove .ui-icon{width:16px;height:16px;fill:currentColor}.favorite-add-cart{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:7px 9px}.favorite-add-cart .ui-icon{width:14px;height:14px}.client-toast{position:fixed!important;z-index:9999!important}
@media(max-width:700px){.favorite-account-row{grid-template-columns:58px minmax(0,1fr) auto}.favorite-account-image{width:58px;height:54px}.favorite-add-cart span{display:none}.favorite-add-cart{width:34px;height:34px;padding:0;display:grid;place-items:center}.favorite-account-actions{gap:5px}.product-favorite-btn{width:100%}.dashboard-panel-head{align-items:flex-start}.favorites-total{margin-top:2px}}

/* Task 3 - saved addresses */
.address-panel{grid-column:1/-1}.account-dashboard-columns>#orders{grid-column:span 2}.account-dashboard-columns>.favorites-panel{grid-column:span 1}
.address-add-link{display:inline-flex;align-items:center;gap:5px;color:var(--orange);font-size:10px;font-weight:900;border:1px solid #ffd3c2;background:#fff7f3;padding:5px 9px;border-radius:9px;white-space:nowrap}.address-add-link .ui-icon{width:14px;height:14px}
.saved-addresses-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.saved-address-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:start;gap:10px;border:1px solid #e9edf3;border-radius:13px;padding:12px;background:#fff;position:relative}.saved-address-card.is-default{border-color:#ffd0bd;background:#fffaf7}.saved-address-icon{width:42px;height:42px;border-radius:12px;background:#fff0e9;color:var(--orange);display:grid;place-items:center}.saved-address-icon .ui-icon{width:20px;height:20px}.saved-address-copy{min-width:0}.saved-address-title{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.saved-address-title strong{color:var(--navy);font-size:12px}.saved-address-title span{font-size:8px;background:#e7f8ed;color:#249653;padding:2px 6px;border-radius:999px;font-weight:900}.saved-address-copy p{margin:4px 0 0;color:#66728a;font-size:10px;line-height:1.7;overflow-wrap:anywhere}.saved-address-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px;color:#7c8799;font-size:9px}.saved-address-meta span{display:inline-flex;align-items:center;gap:4px}.saved-address-meta .ui-icon{width:12px;height:12px}.saved-address-actions{display:flex;align-items:center;gap:4px}.saved-address-actions form{margin:0}.mini-icon-btn{width:30px;height:30px;border-radius:8px;border:1px solid #e6eaf0;background:#fff;color:#274879;display:grid;place-items:center;cursor:pointer;padding:0}.mini-icon-btn:hover{border-color:#ffb79a;color:var(--orange)}.mini-icon-btn.danger{color:#c94444}.mini-icon-btn .ui-icon{width:14px;height:14px}.address-empty{grid-column:1/-1;border:1px dashed #dce2eb;border-radius:13px;padding:24px;text-align:center;color:#7e899a;display:grid;place-items:center;gap:5px}.address-empty>.ui-icon{width:28px;height:28px;color:var(--orange)}.address-empty strong{font-size:12px;color:var(--navy)}.address-empty span{font-size:10px}
.address-editor{border-top:1px solid #eef1f5;padding-top:14px}.address-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.address-editor-head strong{font-size:12px;color:var(--navy)}.address-editor-head a{font-size:9px;color:var(--orange);font-weight:900}.address-form-grid{grid-template-columns:1fr 1fr}.schema-note{font-size:9px;color:#a16e00;margin-top:3px}.default-address-check{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:800;color:#44536c;cursor:pointer}.default-address-check input{accent-color:var(--orange);width:16px;height:16px}.address-save-btn{margin-top:12px;border:0;border-radius:10px;background:var(--orange);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 16px;font-weight:900;font-size:11px;cursor:pointer}.address-save-btn .ui-icon{width:15px;height:15px}

.checkout-saved-addresses{margin:0 0 18px;padding:14px;border:1px solid #edf0f4;border-radius:14px;background:#fafbfc}.checkout-addresses-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.checkout-addresses-head strong{font-size:12px;color:var(--navy)}.checkout-addresses-head a{display:inline-flex;align-items:center;gap:4px;color:var(--orange);font-size:9px;font-weight:900}.checkout-addresses-head .ui-icon{width:13px;height:13px}.checkout-address-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.checkout-address-choice{position:relative;display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;align-items:start;border:1px solid #e6eaf0;border-radius:11px;padding:10px;background:#fff;cursor:pointer;transition:.18s}.checkout-address-choice:hover{border-color:#ffc3aa}.checkout-address-choice:has(input:checked){border-color:var(--orange);background:#fff8f4;box-shadow:0 0 0 2px rgba(255,100,37,.06)}.checkout-address-choice>input{position:absolute;opacity:0;pointer-events:none}.checkout-address-radio{width:16px;height:16px;border:2px solid #cbd2dc;border-radius:50%;margin-top:2px;position:relative}.checkout-address-choice input:checked+.checkout-address-radio{border-color:var(--orange)}.checkout-address-choice input:checked+.checkout-address-radio:after{content:"";position:absolute;inset:3px;background:var(--orange);border-radius:50%}.checkout-address-content{min-width:0}.checkout-address-content strong{display:flex;align-items:center;gap:6px;font-size:10.5px;color:var(--navy)}.checkout-address-content strong em{font-style:normal;font-size:7px;background:#e6f8ee;color:#28995a;padding:2px 5px;border-radius:999px}.checkout-address-content small{display:block;margin-top:3px;color:#7b8698;font-size:9px;line-height:1.55;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.new-address-choice{border-style:dashed}.checkout-summary{height:max-content;position:sticky;top:100px}

@media(max-width:1000px){.account-dashboard-columns>#orders,.account-dashboard-columns>.favorites-panel,.address-panel{grid-column:1/-1!important}.saved-addresses-list{grid-template-columns:1fr 1fr}.checkout-summary{position:static}}
@media(max-width:700px){.saved-addresses-list{grid-template-columns:1fr}.saved-address-card{grid-template-columns:38px minmax(0,1fr);padding:10px}.saved-address-icon{width:38px;height:38px}.saved-address-actions{grid-column:1/-1;justify-content:flex-end;border-top:1px solid #f0f2f5;padding-top:7px}.mini-icon-btn{width:34px;height:32px}.address-form-grid{grid-template-columns:1fr!important}.address-editor .form-group.full,.default-address-check.full{grid-column:auto!important}.address-save-btn{width:100%;min-height:42px}.checkout-saved-addresses{padding:11px;margin-bottom:14px}.checkout-address-list{grid-template-columns:1fr}.checkout-address-choice{padding:11px}.checkout-address-content small{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.checkout-addresses-head{align-items:flex-start}.checkout-layout{width:100%;overflow:hidden}}

/* Task 4 - complete customer account */
.account-dashboard-columns{align-items:start}.account-dashboard-columns>.profile-panel,.account-dashboard-columns>.security-panel,.account-dashboard-columns>.notifications-panel{min-width:0}.account-form{display:grid;gap:14px}.account-primary-btn{border:0;border-radius:11px;background:var(--orange);color:#fff;min-height:41px;padding:9px 15px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;width:max-content}.account-primary-btn .ui-icon{width:16px;height:16px}.panel-hint,.panel-count{font-size:9px;color:var(--muted);background:#f5f7fb;border:1px solid var(--line);border-radius:999px;padding:4px 8px}.current-order-summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px}.current-order-summary>div{display:grid;gap:2px}.current-order-summary small{font-size:9px;color:#7b8799}.order-detail-link{display:inline-flex;align-items:center;gap:5px;border:1px solid #e6eaf0;border-radius:9px;padding:7px 10px;color:var(--navy);font-size:10px;font-weight:900;background:#fff}.order-detail-link .ui-icon{width:14px;height:14px}.order-status{display:inline-flex;align-items:center;justify-content:center;font-style:normal;border-radius:999px;padding:5px 9px;font-size:9px;font-weight:900}.status-received,.status-confirmed{color:#1f6eaa;background:#eaf6ff}.status-preparing{color:#a7650a;background:#fff5df}.status-delivery{color:#8744a5;background:#f6ebff}.status-delivered{color:#258b50;background:#e9f8ef}.status-cancelled{color:#b33d3d;background:#ffeded}.status-text{background:none;padding:0}.order-cancelled-note{padding:11px;border-radius:10px;background:#fff0f0;color:#a23e3e;font-size:10px;font-weight:700}.compact-empty{padding:16px!important}.narrow-btn{max-width:190px;margin:12px auto 0}.dashboard-order-row{grid-template-columns:56px minmax(0,1fr) auto auto!important;align-items:center}.dashboard-order-row>img{width:56px;height:48px;object-fit:cover;border-radius:9px}.dashboard-order-row small{display:block;font-size:9px;color:#7b8799}.order-row-side{text-align:left}.order-row-actions{display:flex;gap:5px}.order-row-actions form{margin:0}.order-details-panel{grid-column:1/-1;margin-bottom:18px}.order-details-panel .dashboard-panel-head>div>small{font-size:9px;color:var(--muted)}.panel-close-link{font-size:9px;color:var(--orange);font-weight:900}.order-details-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.order-details-meta>span{display:grid;gap:4px;padding:10px;border-radius:11px;background:#f8f9fb;border:1px solid #edf0f4;min-width:0}.order-details-meta b{font-size:9px;color:#7a8596}.order-details-meta em{font-size:10px;color:var(--navy);font-style:normal;overflow-wrap:anywhere}.order-items-list{display:grid;gap:7px}.order-item-line{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px;border-bottom:1px solid #f0f2f5}.order-item-photo{width:54px;height:48px;border-radius:9px;overflow:hidden;background:#f4f5f7}.order-item-photo img{width:100%;height:100%;object-fit:cover}.order-item-copy{min-width:0}.order-item-copy strong{font-size:11px;color:var(--navy)}.order-item-copy small{display:block;color:#7d8795;font-size:9px;margin-top:2px}.order-item-line>b{font-size:11px;color:var(--orange)}.order-totals{width:min(360px,100%);margin:12px 0 0 auto}.order-totals>div{display:flex;justify-content:space-between;gap:15px;padding:6px 0;font-size:10px}.order-totals .grand{border-top:1px solid #e9edf3;margin-top:4px;padding-top:9px;font-size:13px;color:var(--navy)}.reorder-form{margin-top:12px}.notifications-list{display:grid}.notification-row{display:grid;grid-template-columns:38px minmax(0,1fr);gap:9px;padding:9px 0;border-bottom:1px solid #eef1f4}.notification-row:last-child{border-bottom:0}.notification-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center}.notification-icon .ui-icon{width:17px;height:17px}.notification-row strong{font-size:10.5px;color:var(--navy)}.notification-row p{font-size:9.5px;color:#6f7b8e;margin:2px 0}.notification-row small{font-size:8px;color:#9aa3b1}.account-side-app small{display:block;opacity:.75}.profile-panel,.security-panel,.notifications-panel{grid-column:span 1}.address-panel{grid-column:1/-1!important}.account-dashboard-columns>#orders{grid-column:span 2!important}
@media(max-width:1000px){.account-dashboard-columns>#orders,.profile-panel,.security-panel,.notifications-panel{grid-column:1/-1!important}.order-details-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.account-primary-btn{width:100%}.current-order-summary{grid-template-columns:minmax(0,1fr) auto;gap:10px}.current-order-summary .order-detail-link{grid-column:1/-1;justify-content:center}.dashboard-order-row{grid-template-columns:48px minmax(0,1fr) auto!important;gap:8px!important}.dashboard-order-row>img{width:48px;height:44px}.order-row-actions{grid-column:2/-1;justify-content:flex-end;border-top:1px solid #f0f2f5;padding-top:6px}.order-details-meta{grid-template-columns:1fr}.order-item-line{grid-template-columns:48px minmax(0,1fr) auto}.order-item-photo{width:48px;height:44px}.order-totals{width:100%}.account-form .form-grid{grid-template-columns:1fr!important}.account-form .form-group.full{grid-column:auto!important}}

/* Task 5 - image consistency */
.category-thumb{aspect-ratio:6/5!important;background:#eef1f4!important}.category-thumb img,.product-image-wrap img,.visual-banner img,.promo-card img,.bottom-marketing-card img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}.product-image-wrap{aspect-ratio:4/3!important;background:#eef1f4!important}.product-image-link{display:block;width:100%;height:100%}.promo-card{aspect-ratio:2.45/1;min-height:0!important}.reference-promos .promo-card{aspect-ratio:2.45/1}.bottom-marketing-card{overflow:hidden;background:#eef1f4}.bottom-marketing-card img{min-height:100%}@media(max-width:700px){.product-image-wrap{aspect-ratio:4/3!important}.category-thumb{aspect-ratio:6/5!important}.promo-card,.reference-promos .promo-card{aspect-ratio:2.2/1}.bottom-marketing-card{min-height:0!important}}

/* Task 6 - store, extras, checkout */
.product-detail-media{padding:0!important;overflow:hidden;min-height:480px}.product-detail-media img{width:100%;height:100%;min-height:480px;object-fit:cover}.product-detail-panel h1{font-size:30px;margin:16px 0 4px;color:var(--navy)}.product-detail-desc{color:var(--muted)}.product-detail-price{margin:18px 0}.product-detail-price strong{font-size:28px}.product-order-form{margin-top:16px}.product-extras{border:1px solid var(--line);border-radius:16px;overflow:hidden;margin:14px 0}.extras-head{padding:12px 14px;background:#f8f9fb;display:flex;justify-content:space-between;gap:10px}.extras-head span{font-size:11px;color:var(--muted)}.extra-option{display:grid;grid-template-columns:22px 1fr auto;gap:10px;align-items:center;padding:12px 14px;border-top:1px solid var(--line);cursor:pointer}.extra-option input{position:absolute;opacity:0;pointer-events:none}.extra-check{width:20px;height:20px;border:1.5px solid #cdd5e4;border-radius:6px;position:relative}.extra-option input:checked+.extra-check{background:var(--orange);border-color:var(--orange)}.extra-option input:checked+.extra-check:after{content:'';position:absolute;width:8px;height:4px;border-right:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(45deg);left:4px;top:5px}.extra-name{font-size:13px;font-weight:700;color:var(--navy)}.extra-option strong{font-size:12px;color:var(--orange)}.product-add-total{display:flex!important;justify-content:space-between;align-items:center}.cart-extras{display:flex;gap:5px;flex-wrap:wrap;margin:5px 0 7px}.cart-extras span{font-size:10px;background:#fff4ef;color:#7d3c1f;border-radius:999px;padding:3px 7px}.cart-extras b{color:var(--orange)}.coupon-field{display:grid;grid-template-columns:1fr auto;gap:8px}.checkout-message{display:block;min-height:20px;margin-top:5px;font-size:11px}.checkout-message.is-success{color:#16864d}.checkout-message.is-error{color:#c43f3f}.checkout-line-item{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid var(--line)}.checkout-line-item span{display:grid;gap:3px}.checkout-line-item b{font-size:12px}.checkout-line-item small{font-size:10px;color:var(--muted)}.checkout-note{font-size:11px;color:var(--muted);margin-bottom:0}.checkout-summary button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:700px){.product-detail-media{min-height:0;aspect-ratio:4/3}.product-detail-media img{min-height:0;height:100%}.product-detail-panel h1{font-size:24px}.extra-option{padding:11px 12px}.coupon-field{grid-template-columns:minmax(0,1fr) auto}.checkout-summary{position:static}.checkout-line-item b{font-size:11px}}


/* ===== Task 8 final production polish ===== */
html{overflow-x:hidden}body{min-width:0;overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%}
img{max-width:100%;height:auto}
main,section,header,footer,nav,aside,article,form,.container{min-width:0}
.product-card,.dashboard-panel,.card-box,.promo-card,.bottom-marketing-card,.saved-address-card{contain:layout paint}
.product-card img,.category-card img,.promo-card img,.bottom-marketing-card img,.order-item-photo img,.dashboard-order-row>img,.favorite-account-image img{image-rendering:auto}
.form-control,button,a{-webkit-tap-highlight-color:transparent}
.form-control{max-width:100%;width:100%}
textarea{max-width:100%}
.admin-table-wrap,.filters,.order-progress{max-width:100%}
@media(max-width:700px){
  .container{width:calc(100% - 20px)!important}
  .site-header,.atyaf-header{width:100%;max-width:100vw}
  .atyaf-nav-wrap{width:calc(100% - 20px)!important;max-width:100%;padding-inline:0}
  .brand-logo img{max-width:88px;height:auto}
  .header-tools{min-width:0;gap:6px}
  .cart-link-clean{min-width:0}
  .cart-link-clean>span:not(.cart-icon){display:none}
  .cart-link-clean{width:40px;height:40px;padding:0;justify-content:center;position:relative}
  .cart-link-clean b{position:absolute;top:-4px;left:-4px}
  .menu-toggle{flex:0 0 40px}
  .hero-reference-shell{width:100%;border-radius:0}
  .hero-reference-shell>img{width:100%;height:auto;min-height:0;object-fit:cover}
  .reference-promos,.reference-products,.bottom-marketing-grid{max-width:100%;overflow:hidden}
  .reference-promos .reference-card,.bottom-marketing-card{width:100%;min-width:0}
  .reference-category-strip{overflow-x:auto!important;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
  .reference-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .reference-product-card{min-width:0}
  .reference-product-card .product-body{min-width:0}
  .product-bottom,.product-price-line{min-width:0}
  .product-card h3,.product-card p{overflow-wrap:anywhere}
  .account-welcome{width:auto!important;max-width:none!important}
  .account-welcome-visual{aspect-ratio:16/7!important;background:#0b2d69}
  .account-welcome-visual img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
  .account-welcome-copy{padding:15px 14px 17px!important}
  .account-welcome h1{font-size:19px!important;overflow-wrap:anywhere}
  .dashboard-panel,.account-current-order{width:100%;min-width:0;overflow:hidden}
  .dashboard-order-row,.order-item-line,.saved-address-card,.favorite-account-row{max-width:100%;min-width:0}
  .checkout-layout,.cart-layout,.contact-grid,.account-dashboard-columns{width:100%;max-width:100%;overflow:hidden}
  .checkout-summary{width:100%}
  .site-footer{width:100%;overflow:hidden}
}
@media(max-width:390px){
  .reference-products{gap:7px!important}
  .reference-product-card .product-body{padding:7px!important}
  .full-add-cart{padding-inline:6px!important}
  .account-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
