:root{color-scheme:light;--ink:#0f172a;--muted:#64748b;--line:#e2e8f0;--teal:#334155;--accent:#e2e8f0}*{box-sizing:border-box}body{margin:0;background:#f8fafc;color:var(--ink);font-family:Vazirmatn,Tahoma,Arial,sans-serif;line-height:1.8}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}.wrap{width:min(1120px,calc(100% - 36px));margin:auto}.topbar{background:#fff;border-bottom:1px solid var(--line)}.top-inner{display:flex;gap:28px;align-items:center;min-height:82px}.brand{font-size:24px;font-weight:bold;white-space:nowrap;letter-spacing:-1px}.brand span{color:#64748b}.searchbox{position:relative;max-width:480px;flex:1}.searchform{display:flex;border:1px solid var(--line);border-radius:12px;background:#f7faf8;overflow:hidden}.searchform:focus-within{border-color:#69aa9c;box-shadow:0 0 0 3px #dcefe8}.searchform input{min-width:0;flex:1;padding:12px 15px;background:transparent;border:0;outline:0}.searchform button{border:0;background:transparent;color:var(--teal);font-weight:bold;padding:0 16px}.suggestions{display:none;position:absolute;top:calc(100% + 6px);right:0;left:0;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 35px #16392d20;padding:12px;z-index:20}.searchbox:focus-within .suggestions:not([hidden]){display:block}.suggestions strong{font-size:13px;color:var(--muted);display:block;margin:2px 4px 8px}.suggestions a{display:inline-block;background:#eef6f2;border-radius:20px;padding:5px 12px;margin:3px;font-size:13px}.nav{display:flex;align-items:center;gap:18px;margin-right:auto;font-size:14px;white-space:nowrap}.cart-link{background:var(--ink);color:white;border-radius:10px;padding:9px 14px}.badge{display:inline-block;background:#bce5d5;color:#16483d;border-radius:20px;min-width:24px;text-align:center;margin-right:4px}.hero{background:#1e293b;color:white;border-radius:24px;padding:56px;margin:34px auto 52px;position:relative;overflow:hidden}.hero:after{content:'✳';position:absolute;left:7%;top:0;color:#ffffff0d;font-size:220px;line-height:1}.eyebrow{font-size:13px;letter-spacing:1px;color:#cbd5e1;font-weight:bold}.hero h1{font-size:40px;line-height:1.45;margin:10px 0}.hero p{color:#cbd5e1;margin:0 0 24px}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;background:var(--teal);color:#fff;padding:10px 17px;border-radius:10px;font-weight:bold;font-size:14px}.button:hover{background:#0c534b}.button.light{background:#fff;color:#0f172a}.button.secondary{background:white;border-color:var(--line);color:var(--ink)}.section{margin:48px auto}.section-title{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:20px}.section-title h1,.section-title h2{font-size:25px;margin:0}.subtle{font-size:13px;color:var(--muted)}.categories{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.category{border:1px solid var(--line);background:white;padding:19px;border-radius:15px;display:flex;justify-content:space-between;align-items:center;font-weight:bold}.category:hover,.card:hover{border-color:#94cbb7;box-shadow:0 6px 20px #315d4c0c}.category span{color:#64a694}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.card,.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px}.card{display:flex;flex-direction:column;min-width:0}.card .tag{color:var(--teal);font-size:12px}.card h3{margin:8px 0;font-size:18px}.card .company{font-size:13px;color:var(--muted);margin-bottom:26px}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #edf2ef;padding-top:16px;margin-top:auto}.price{font-weight:bold;white-space:nowrap}.empty{background:white;border:1px dashed #c4d8cf;border-radius:16px;padding:32px;color:var(--muted)}.crumb{color:var(--muted);font-size:13px}.detail{max-width:780px;margin:30px auto}.detail h1{margin:8px 0}.detail-info{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:25px 0}.info{background:#f5f9f7;padding:14px;border-radius:10px}.cart-row{display:flex;align-items:center;gap:18px;padding:18px 0;border-bottom:1px solid var(--line)}.cart-row:first-child{padding-top:0}.cart-name{flex:1}.cart-row form{display:flex;align-items:center;gap:7px}.cart-row input{width:64px;padding:7px;border:1px solid var(--line);border-radius:8px;direction:ltr}.remove{background:none;border:0;color:#a84949}.total{display:flex;justify-content:space-between;font-size:19px;font-weight:bold;margin-top:25px}.message{margin-top:20px;padding:12px 16px;background:#e5f5eb;border-radius:10px;color:#175b43}.message.error{background:#fff0ed;color:#943b32}.footer{border-top:1px solid var(--line);margin-top:70px;padding:25px 0;color:var(--muted);font-size:13px}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}@media(max-width:760px){.top-inner{flex-wrap:wrap;gap:12px;padding:14px 0}.brand{font-size:21px}.nav{gap:10px}.searchbox{order:3;flex-basis:100%;max-width:none}.nav .nav-text{display:none}.hero{padding:34px 24px;margin-top:20px}.hero h1{font-size:29px}.categories{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:repeat(2,1fr)}.cart-row{flex-wrap:wrap}.cart-name{flex-basis:100%}}@media(max-width:480px){.grid{grid-template-columns:1fr}.detail-info{grid-template-columns:1fr}.cart-row .price{margin-right:auto}}

.product-image{display:flex;align-items:center;justify-content:center;overflow:hidden;height:180px;border-radius:10px;background:#f1f5f9;color:#94a3b8;font-size:13px;margin-bottom:18px}.product-image img{width:100%;height:100%;object-fit:contain}.detail-image{display:block;max-width:100%;height:300px;object-fit:contain;margin:0 auto 22px;border-radius:12px}.checkout-action{display:flex;justify-content:end;margin-top:20px}.checkout-grid{display:grid;grid-template-columns:1.2fr 0.8fr;gap:20px}.field{margin:0 0 18px}.field label{display:block;font-weight:bold;font-size:14px;margin-bottom:6px}.field input,.field textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:11px;background:white}.field input:focus,.field textarea:focus{outline:2px solid #94a3b8}.errorlist{color:#b42318;font-size:13px}.notice{padding:16px;background:#f1f5f9;border-radius:12px;margin:20px 0}.summary-row{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:10px 0}@media(max-width:760px){.checkout-grid{grid-template-columns:1fr}}


.checkout-grid > * { min-width: 0; }
.summary-row { display: block; min-width: 0; }
.summary-name { text-align: right; overflow-wrap: anywhere; word-break: normal; line-height: 1.9; font-weight: 600; }
.summary-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 7px; }
.summary-quantity { color: var(--muted); font-size: 13px; }
.summary-price { white-space: nowrap; font-weight: 600; }
.cart-name, .card h3, .detail h1 { min-width: 0; overflow-wrap: anywhere; }
.total { gap: 12px; flex-wrap: wrap; }


.product-image { height: auto; aspect-ratio: 4 / 3; padding: 10px; }
.product-image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.detail-image { width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 380px; object-fit: contain; object-position: center; background: #f1f5f9; padding: 12px; }
.card-bottom { flex-wrap: wrap; }
.price, .summary-price { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }


:root {
  --ink: #000000;
  --muted: #000000;
  --line: #ead7ad;
  --teal: #000000;
  --accent: #f4a308;
}
body { background: #ffffff; color: #000000; }
.topbar { background: #ffffff; border-bottom: 2px solid #f4a308; }
.brand, .brand span, .nav, .crumb, .subtle, .card .tag, .card .company,
.suggestions strong, .summary-quantity, .footer { color: #000000; }
.searchform { background: #ffffff; border-color: #d8c6a1; }
.searchform:focus-within { border-color: #f4a308; box-shadow: 0 0 0 3px #f4a30855; }
.searchform input, .searchform button, .field input, .field textarea { color: #000000; }
.searchform input::placeholder { color: #000000; opacity: .68; }
.searchform button { background: #f4a308; }
.suggestions { border-color: #ead7ad; box-shadow: 0 14px 35px #0000001a; }
.suggestions a { background: #fff3d9; color: #000000; }
.cart-link, .badge { background: #f4a308; color: #000000; }
.badge { background: #ffffff; }
.hero { background: #f4a308; color: #000000; }
.hero::after { color: #ffffff40; }
.hero h1, .hero p, .eyebrow { color: #000000; }
.button { background: #f4a308; border-color: #f4a308; color: #000000; }
.button:hover, .cart-link:hover, .searchform button:hover { background: #e59600; color: #000000; }
.button.light { background: #ffffff; border-color: #ffffff; color: #000000; }
.button.light:hover, .button.secondary:hover { background: #fff3d9; color: #000000; }
.button.secondary { background: #ffffff; border-color: #d8c6a1; color: #000000; }
.category, .card, .panel { background: #ffffff; border-color: #ead7ad; }
.category:hover, .card:hover { border-color: #f4a308; box-shadow: 0 6px 20px #0000000d; }
.category span { color: #000000; }
.card-bottom, .summary-row, .cart-row { border-color: #ead7ad; }
.product-image, .detail-image, .info, .notice { background: #fff8e9; color: #000000; }
.empty { background: #ffffff; border-color: #d8c6a1; color: #000000; }
.remove { color: #000000; text-decoration: underline; }
.message { background: #fff3d9; color: #000000; border-right: 4px solid #f4a308; }
.message.error { background: #fff3d9; color: #000000; border-right: 4px solid #000000; }
.errorlist { color: #000000; font-weight: bold; }
.field input:focus, .field textarea:focus { outline: 2px solid #f4a308; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #000000;
  outline-offset: 3px;
}
