:root{--orange:#ff6200;--blue:#272785;--ink:#191919;--muted:#6b7280;--bg:#f7f7f8;--card:#fff}
*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--bg)}a{color:inherit;text-decoration:none}.container{width:min(1180px,92vw);margin:auto}.promo{background:var(--orange);color:#fff;text-align:center;padding:7px;font-size:14px}.header-main{display:grid;grid-template-columns:180px 1fr auto;gap:30px;align-items:center;padding:22px 0;background:#fff}.site-header{background:#fff;border-bottom:1px solid #e5e7eb}.brand{font-weight:900;font-size:27px;letter-spacing:-1px;color:var(--orange)}.search input{width:100%;padding:13px 18px;border:1px solid var(--blue);border-radius:24px}.header-main nav{display:flex;gap:18px;color:var(--blue);font-weight:700}.hero{background:linear-gradient(120deg,#e8f5ff,#fff0e6);padding:70px 0}.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}.hero h1{font-size:54px;line-height:1.02;margin:0 0 18px}.hero p{font-size:19px;color:#4b5563;max-width:620px}.btn{display:inline-block;border:0;border-radius:24px;padding:12px 18px;background:var(--blue);color:#fff;font-weight:700;cursor:pointer}.btn.orange{background:var(--orange)}.section{padding:44px 0}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:22px}.card{background:#fff;border-radius:18px;overflow:hidden;border:1px solid #e5e7eb}.card img{width:100%;height:220px;object-fit:cover;background:#f1f5f9}.card-body{padding:18px}.price{font-size:20px;font-weight:800;color:var(--blue)}.muted{color:var(--muted)}.product-layout{display:grid;grid-template-columns:1fr 1fr;gap:50px}.product-layout img{width:100%;border-radius:20px;background:#fff}.table{width:100%;border-collapse:collapse;background:#fff}.table th,.table td{padding:13px;border-bottom:1px solid #e5e7eb;text-align:left}.form-row{display:grid;gap:7px;margin-bottom:16px}.form-row input,.form-row textarea,.form-row select{padding:11px;border:1px solid #cbd5e1;border-radius:8px}.actions{display:flex;gap:10px;align-items:center}.flash{padding:12px 16px;border-radius:8px;background:#dcfce7;margin:15px 0}.footer{padding:35px 0;margin-top:50px;background:#1f2937;color:#fff}.login-card{max-width:430px;margin:60px auto;background:#fff;padding:30px;border-radius:18px}.login-card input{width:100%;padding:11px;margin:8px 0 16px}

.admin-login-backdrop{
  min-height:calc(100vh - 150px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px 20px;
  background:
    radial-gradient(circle at top left,rgba(255,98,0,.12),transparent 35%),
    radial-gradient(circle at bottom right,rgba(39,39,133,.14),transparent 35%),
    rgba(15,23,42,.08);
}

.admin-login-modal{
  position:relative;
  width:min(460px,100%);
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:24px;
  padding:42px;
  box-shadow:0 25px 70px rgba(15,23,42,.18);
}

.admin-login-close{
  position:absolute;
  top:18px;
  right:22px;
  width:34px;
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  font-size:25px;
  color:var(--muted);
}

.admin-login-close:hover{
  background:#f3f4f6;
  color:var(--ink);
}

.admin-login-brand{
  color:var(--orange);
  font-weight:900;
  letter-spacing:-1px;
  margin-bottom:22px;
}

.admin-login-modal h1{
  margin:0 0 8px;
  font-size:30px;
}

.admin-login-modal .muted{
  margin:0 0 28px;
}

.admin-login-submit{
  width:100%;
  margin-top:6px;
}

.login-error{
  background:#fef2f2;
  color:#991b1b;
  border:1px solid #fecaca;
  padding:12px 14px;
  border-radius:10px;
  margin-bottom:20px;
}

.admin-login-note{
  text-align:center;
  color:var(--muted);
  font-size:13px;
  margin:22px 0 0;
}

.search{position:relative}.search input{padding-right:48px}.search button{position:absolute;right:5px;top:5px;width:36px;height:36px;border:0;border-radius:50%;background:var(--blue);color:#fff;cursor:pointer}
.header-action{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;font-size:19px}.header-action:hover,.header-action:focus-visible{background:#eef2ff}
.profile-menu{position:relative}.profile-menu summary{list-style:none;cursor:pointer}.profile-menu summary::-webkit-details-marker,.all-categories>summary::-webkit-details-marker{display:none}.profile-dropdown{position:absolute;right:0;top:48px;z-index:30;display:grid;min-width:260px;padding:10px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 14px 30px rgba(15,23,42,.15)}.profile-dropdown a,.profile-email{padding:10px;border-radius:8px}.profile-dropdown a:hover{background:#f3f4f6}.profile-email{font-size:13px;color:var(--muted);overflow-wrap:anywhere}
.category-bar{background:#24245f;color:#fff}.category-links{display:flex;align-items:center;min-height:43px}.category-links>a,.all-categories>summary{display:block;padding:13px 16px;cursor:pointer;list-style:none}.category-links>a:hover,.all-categories>summary:hover{background:rgba(255,255,255,.12)}.all-categories{position:relative}.category-panel{position:absolute;left:0;top:43px;z-index:25;display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,.8fr);gap:25px;width:min(560px,92vw);padding:22px;color:var(--ink);background:#fff;border:1px solid #e5e7eb;border-radius:0 0 14px 14px;box-shadow:0 18px 35px rgba(15,23,42,.18)}.category-panel>div{display:grid;align-content:start}.category-panel strong{margin-bottom:8px}.category-panel a{padding:8px;border-radius:7px}.category-panel a:hover{background:#f3f4f6}
.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}.page-heading{justify-content:space-between}.form-container{max-width:780px}.icon-action{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:8px;background:#eef2ff;color:var(--blue);cursor:pointer}.icon-action:hover,.icon-action:focus-visible{background:#dbeafe}.icon-action.danger{background:#fef2f2;color:#b91c1c}.icon-action.danger:hover,.icon-action.danger:focus-visible{background:#fee2e2}.flash-error{background:#fef2f2;color:#991b1b}.category-filter{flex-wrap:wrap}.category-filter [aria-current="page"]{font-weight:800;color:var(--orange)}

@media(max-width:760px){.header-main{grid-template-columns:1fr}.header-main nav{justify-content:flex-end}.category-links{overflow-x:auto}.category-links>a{white-space:nowrap}.hero-grid,.product-layout{grid-template-columns:1fr}.hero h1{font-size:38px}.page-heading{align-items:flex-start;flex-direction:column}.table{display:block;overflow-x:auto}}

.customer-login-backdrop{min-height:calc(100vh - 150px);display:flex;align-items:center;justify-content:center;padding:48px 20px;background:radial-gradient(circle at top left,rgba(255,98,0,.12),transparent 35%),radial-gradient(circle at bottom right,rgba(39,39,133,.14),transparent 35%),rgba(15,23,42,.08)}
.customer-login-card{position:relative;width:min(460px,100%);background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:42px;box-shadow:0 25px 70px rgba(15,23,42,.18)}
.customer-login-close{position:absolute;top:18px;right:22px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:25px;color:var(--muted)}
.customer-login-close:hover{background:#f3f4f6;color:var(--ink)}.customer-login-brand{color:var(--orange);font-weight:900;letter-spacing:-1px;margin-bottom:22px}
.customer-login-card h1{margin:0 0 8px;font-size:30px}.customer-login-card>.muted{margin:0 0 28px}.customer-login-submit{width:100%;margin-top:6px}
.profile-page{max-width:760px}.profile-heading{display:flex;gap:18px;align-items:center;margin-bottom:28px}.profile-heading>i{font-size:52px;color:var(--blue)}.profile-heading h1{margin:0 0 5px}.profile-heading p{margin:0}
.profile-details{display:grid;grid-template-columns:1fr 1fr;margin:0;background:#fff;border:1px solid #e5e7eb;border-radius:18px;overflow:hidden}.profile-details>div{padding:22px;border-bottom:1px solid #e5e7eb}.profile-details>div:nth-child(odd){border-right:1px solid #e5e7eb}.profile-details>div:nth-last-child(-n+2){border-bottom:0}.profile-details dt{font-size:13px;color:var(--muted);margin-bottom:7px}.profile-details dd{margin:0;font-weight:700;overflow-wrap:anywhere}
@media(max-width:560px){.customer-login-card{padding:34px 24px}.profile-details{grid-template-columns:1fr}.profile-details>div,.profile-details>div:nth-child(odd),.profile-details>div:nth-last-child(-n+2){border-right:0;border-bottom:1px solid #e5e7eb}.profile-details>div:last-child{border-bottom:0}}
.stars{color:#f59e0b;letter-spacing:2px}.product-rating{font-weight:700}.reviews-section{background:#fff}.review-list{display:grid;gap:16px;margin-top:24px}.review-card,.review-callout,.review-form{padding:22px;background:#fff;border:1px solid #e5e7eb;border-radius:14px}.reviews-section .review-card{background:var(--bg)}.review-card h2,.review-card h3{margin-top:0}.review-form{max-width:680px;margin:20px 0}.review-form fieldset{border:0;padding:0;margin:0 0 16px}.review-form fieldset>div{display:flex;gap:18px;flex-wrap:wrap}.review-form textarea{display:block;width:100%;padding:11px;border:1px solid #cbd5e1;border-radius:8px}
