@font-face {
  font-family: "IRANYekanX";
  src: local("IRANYekanXFaNum"), url("../fonts/IRANYekanXVFaNumVF.435da623b535.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

/* Blog and editorial content */
.blog-landing-head { padding: 54px 0 48px; border-bottom: 1px solid var(--line); background: linear-gradient(140deg,#f8f5ee,#f2eee5); }
.blog-heading-grid { display: grid; grid-template-columns: minmax(0,1fr) 390px; align-items: end; gap: 50px; margin-top: 28px; }
.blog-heading-grid h1 { margin: 6px 0 8px; font-size: clamp(2.4rem,4.5vw,4.6rem); line-height: 1.1; letter-spacing: -2px; }
.blog-heading-grid p { max-width: 650px; margin: 0; color: var(--muted); font-size: .9rem; }
.blog-search { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; padding: 7px 8px 7px 7px; border: 1px solid rgba(55,51,45,.1); border-radius: 17px; background: rgba(255,255,255,.82); box-shadow: 0 12px 35px rgba(44,39,31,.06); }
.blog-search > i { color: #8b877f; text-align: center; }
.blog-search input { min-width: 0; height: 42px; border: 0; outline: 0; background: transparent; font-family: inherit; font-size: .72rem; }
.blog-search button { height: 40px; padding: 0 17px; border: 0; border-radius: 11px; background: var(--ink); color: #fff; font-family: inherit; font-size: .66rem; font-weight: 850; cursor: pointer; }
.blog-featured-wrap { padding-top: 38px; }
.blog-featured { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 460px; overflow: hidden; border-radius: 28px; background: #171c24; color: #fff; box-shadow: 0 24px 70px rgba(22,26,33,.12); }
.blog-featured > a { min-height: 460px; overflow: hidden; }
.blog-featured > a img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-featured:hover > a img { transform: scale(1.025); }
.blog-featured > div { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding: clamp(34px,5vw,68px); }
.blog-featured-label { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 22px; color: #ff8b70; font-size: .64rem; font-weight: 850; }
.blog-category-link,.article-category { display: inline-flex; padding: 6px 11px; border-radius: 20px; background: rgba(255,255,255,.09); color: #dce0e8; font-size: .6rem; font-weight: 800; }
.blog-featured h2 { margin: 13px 0 12px; font-size: clamp(1.65rem,2.6vw,2.65rem); line-height: 1.45; letter-spacing: -.8px; }
.blog-featured h2 a { color: inherit; }
.blog-featured p { margin: 0; color: #aeb5c1; font-size: .78rem; line-height: 2; }
.blog-featured-meta { display: flex; align-items: center; gap: 9px; margin: 18px 0 25px; color: #8f98a8; font-size: .58rem; }.blog-featured-meta i { width: 4px; height: 4px; border-radius: 50%; background: #5b6473; }
.blog-listing-section { padding: 70px 0 90px; }
.blog-listing-layout { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 40px; align-items: start; }
.blog-section-title { display: flex; align-items: end; justify-content: space-between; margin-bottom: 24px; }.blog-section-title h2 { margin: 4px 0 0; font-size: 1.7rem; }.blog-section-title > span { color: var(--muted); font-size: .62rem; }
.blog-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 27px 19px; }
.blog-listing-layout .blog-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.blog-card { min-width: 0; overflow: hidden; border: 1px solid #ece9e2; border-radius: 20px; background: #fff; transition: transform .25s ease,box-shadow .25s ease; }
.blog-card:hover { box-shadow: 0 18px 48px rgba(36,32,26,.08); transform: translateY(-4px); }
.blog-card-image { position: relative; display: block; aspect-ratio: 1.55/1; overflow: hidden; background: #eeeae2; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }.blog-card:hover .blog-card-image img { transform: scale(1.04); }
.blog-card-image > span { position: absolute; right: 13px; bottom: 13px; padding: 5px 10px; border-radius: 16px; background: rgba(255,255,255,.9); color: #413d36; font-size: .55rem; font-weight: 850; backdrop-filter: blur(8px); }
.blog-card-body { padding: 17px 17px 19px; }
.blog-card-meta { display: flex; flex-wrap: wrap; gap: 7px 13px; color: #969189; font-size: .55rem; }.blog-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.blog-card h2 { min-height: 53px; margin: 9px 0 7px; font-size: .92rem; line-height: 1.75; }.blog-card h2 a { color: var(--ink); }
.blog-card p { display: -webkit-box; min-height: 52px; margin: 0 0 14px; overflow: hidden; color: var(--muted); font-size: .64rem; line-height: 1.9; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.blog-read-link { display: inline-flex; align-items: center; gap: 7px; color: var(--brand); font-size: .61rem; font-weight: 900; }.blog-read-link i { transition: transform .2s; }.blog-card:hover .blog-read-link i { transform: translateX(-3px); }
.blog-sidebar { position: sticky; top: 150px; display: grid; gap: 16px; }.blog-sidebar > section,.blog-rss-link { padding: 20px; border: 1px solid #ece9e2; border-radius: 18px; background: #fff; }.blog-sidebar h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .76rem; }.blog-sidebar h3 i { color: var(--brand); }
.blog-sidebar nav { display: grid; }.blog-sidebar nav a { display: flex; align-items: center; justify-content: space-between; padding: 10px 3px; border-bottom: 1px solid #f0eee9; color: #69645c; font-size: .62rem; }.blog-sidebar nav a:last-child { border: 0; }.blog-sidebar nav a.active,.blog-sidebar nav a:hover { color: var(--brand); }.blog-sidebar nav b { display: grid; min-width: 23px; height: 23px; place-items: center; border-radius: 8px; background: #f3f1ec; font-size: .53rem; }
.blog-tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }.blog-tag-cloud a,.article-tags a { padding: 6px 9px; border-radius: 9px; background: #f5f3ee; color: #6c675f; font-size: .56rem; }.blog-tag-cloud a:hover,.article-tags a:hover { background: var(--brand); color: #fff; }
.blog-rss-link { display: flex; align-items: center; gap: 12px; background: #fff6e7; color: #a65e0b; }.blog-rss-link > i { font-size: 1.4rem; }.blog-rss-link > span { display: flex; flex-direction: column; }.blog-rss-link strong { font-size: .68rem; }.blog-rss-link small { margin-top: 2px; color: #b6854c; font-size: .52rem; }
.blog-empty { grid-column: 1/-1; min-height: 300px; }.blog-empty > i { color: #aaa49a; font-size: 2.3rem; }.blog-pagination { margin-top: 30px; }.home-blog-section { padding: 78px 0; background: #faf9f6; }
.preview-notice { position: sticky; top: 0; z-index: 100; padding: 10px 20px; background: #fff2c9; color: #7a5900; text-align: center; font-size: .68rem; font-weight: 850; }
.article-page { padding-top: 42px; }
.article-header-inner { width: min(940px,100%); margin: 46px auto 35px; text-align: center; }
.article-category { background: #fff0eb; color: var(--brand); }
.article-header h1 { margin: 16px auto 15px; font-size: clamp(2.2rem,4.6vw,4.4rem); line-height: 1.3; letter-spacing: -2px; }
.article-header-inner > p { max-width: 750px; margin: 0 auto; color: var(--muted); font-size: .9rem; line-height: 2; }
.article-byline { display: flex; align-items: center; justify-content: center; gap: 11px; margin-top: 24px; color: #827d75; font-size: .58rem; }.article-author-avatar { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: #efede8; color: #65615a; font-size: 1rem; }.article-byline > div { display: flex; flex-direction: column; text-align: right; }.article-byline strong { color: #37342f; font-size: .62rem; }.article-byline small { font-size: .5rem; }.article-byline > i { width: 1px; height: 28px; background: #e2dfd8; }.article-byline > span:not(.article-author-avatar) { display: inline-flex; align-items: center; gap: 5px; }
.article-cover { height: min(650px,55vw); min-height: 390px; overflow: hidden; border-radius: 30px; }.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0,760px); justify-content: center; gap: 60px; padding-top: 55px; padding-bottom: 70px; }
.article-side { position: relative; }.article-toc { position: sticky; top: 135px; padding: 18px; border-right: 2px solid #ebe7df; }.article-toc > strong { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; font-size: .67rem; }.article-toc > div { display: grid; gap: 8px; }.article-toc a { color: #7a756d; font-size: .57rem; line-height: 1.8; }.article-toc a.level-3 { padding-right: 12px; font-size: .54rem; }.article-toc a:hover { color: var(--brand); }.article-toc:has(div:empty) { display: none; }
.article-share { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; padding: 5px 11px 5px 5px; border: 1px solid #e9e4dc; border-radius: 999px; background: #fff; box-shadow: 0 8px 24px rgba(45,36,26,.06); }.article-share > span { display: inline-flex; align-items: center; gap: 6px; margin-left: 3px; color: #7f786f; font-size: .56rem; }.article-share a,.article-share button { display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 0; border-radius: 50%; background: #f4f1eb; color: #5d574f; cursor: pointer; transition: .2s ease; }.article-share a:hover,.article-share button:hover { background: var(--brand); color: #fff; transform: translateY(-1px); }.article-header-share { margin-right: auto; margin-left: auto; }
.article-content { color: #302e2a; font-size: .88rem; line-height: 2.25; }.article-content > :first-child { margin-top: 0; }.article-content h2 { margin: 48px 0 15px; font-size: 1.65rem; line-height: 1.55; letter-spacing: -.4px; }.article-content h3 { margin: 34px 0 12px; font-size: 1.2rem; }.article-content p { margin: 0 0 19px; }.article-content a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }.article-content ul,.article-content ol { margin: 18px 0 24px; padding-right: 24px; }.article-content li { margin: 7px 0; }.article-content blockquote { margin: 30px 0; padding: 20px 24px; border-right: 4px solid var(--brand); border-radius: 12px 0 0 12px; background: #fff7f3; color: #5b4b43; }.article-content img { max-width: 100%; height: auto; margin: 24px 0; border-radius: 18px; }.article-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }.article-content th,.article-content td { padding: 10px 13px; border: 1px solid #e8e4dc; }
.article-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 45px; padding-top: 22px; border-top: 1px solid #ece8e0; }.article-author-box { display: flex; gap: 16px; margin-top: 28px; padding: 22px; border-radius: 18px; background: #f6f4ef; }.article-author-box > span { display: grid; flex: 0 0 auto; width: 48px; height: 48px; place-items: center; border-radius: 14px; background: #fff; color: var(--brand); font-size: 1.2rem; }.article-author-box > div { display: flex; flex-direction: column; }.article-author-box small { color: #979189; font-size: .52rem; }.article-author-box strong { font-size: .72rem; }.article-author-box p { margin: 2px 0 0; color: #777169; font-size: .58rem; }
.article-products,.related-articles { padding: 75px 0; background: #f8f7f3; }.related-articles { background: #fff; }

/* Blog dashboard */
.page-head-actions { display: flex; align-items: center; gap: 9px; }.blog-admin-filters { display: flex; align-items: center; gap: 7px; }.blog-admin-filters select { height: 38px; padding: 0 10px; border: 1px solid var(--dash-border); border-radius: 10px; background: #fff; font-family: inherit; font-size: .58rem; }.blog-admin-filters button { display: inline-flex; height: 38px; align-items: center; gap: 6px; padding: 0 12px; border: 0; border-radius: 10px; background: #232833; color: #fff; font-family: inherit; font-size: .57rem; cursor: pointer; }.blog-table-post img { width: 72px; aspect-ratio: 1.35/1; }.seo-score { display: inline-flex; align-items: center; gap: 5px; font-size: .55rem; font-weight: 800; white-space: nowrap; }.seo-score.good { color: #16834a; }.seo-score.needs-work { color: #bc6a18; }.icon-row-button { display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 1px solid var(--dash-border); border-radius: 9px; background: #fff; color: #656c78; cursor: pointer; }.icon-row-button.danger { border-color: #f2d8d5; color: #c14438; }
.blog-form-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 18px; align-items: start; }.blog-form-main { display: grid; gap: 18px; }.blog-current-cover { position: relative; width: min(480px,100%); aspect-ratio: 1.9/1; margin-bottom: 20px; overflow: hidden; border-radius: 15px; }.blog-current-cover img { width: 100%; height: 100%; object-fit: cover; }.blog-current-cover span { position: absolute; right: 10px; bottom: 10px; padding: 5px 9px; border-radius: 8px; background: rgba(17,24,39,.8); color: #fff; font-size: .52rem; }
.rich-editor { overflow: hidden; border: 1px solid #dfe2e8; border-radius: 13px; background: #fff; }.rich-editor:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb,var(--primary) 8%,transparent); }.rich-editor-toolbar { display: flex; flex-wrap: wrap; gap: 5px; padding: 8px; border-bottom: 1px solid #e8eaf0; background: #f7f8fa; }.rich-editor-toolbar button { display: grid; min-width: 34px; height: 32px; place-items: center; padding: 0 8px; border: 1px solid #e1e4e9; border-radius: 8px; background: #fff; color: #4f5663; font-family: inherit; font-size: .62rem; font-weight: 850; cursor: pointer; }.rich-editor-toolbar button:hover { border-color: var(--primary); color: var(--primary); }.rich-editor-canvas { min-height: 500px; padding: 25px; outline: 0; color: #313640; font-size: .78rem; line-height: 2.1; }.rich-editor-canvas h2 { margin: 30px 0 10px; font-size: 1.35rem; }.rich-editor-canvas h3 { margin: 24px 0 9px; font-size: 1.05rem; }.rich-editor-canvas p { margin: 0 0 13px; }.rich-editor-source { display: none; }
.seo-preview { margin-bottom: 20px; padding: 17px; border: 1px solid #e5e8ee; border-radius: 14px; background: #fbfcfe; direction: rtl; }.seo-preview > small { display: block; margin-bottom: 11px; color: #8f96a3; font-size: .54rem; }.seo-preview > strong { display: block; overflow: hidden; color: #1a0dab; font-size: .9rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }.seo-preview > span { display: block; margin: 3px 0; color: #188038; direction: ltr; font-size: .55rem; text-align: right; }.seo-preview > p { margin: 0; color: #5f6368; font-size: .61rem; line-height: 1.8; }.seo-counted-field > small { display: flex; justify-content: flex-end; }.seo-checklist { display: grid; gap: 8px; margin-top: 18px; padding: 15px; border-radius: 13px; background: #f3f8f5; }.seo-checklist > strong { margin-bottom: 2px; color: #285d40; font-size: .62rem; }.seo-checklist > span { display: flex; align-items: center; gap: 6px; color: #5e7667; font-size: .53rem; }.seo-checklist i { color: #1d9655; }
.taxonomy-admin-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }.compact-button { min-height: 36px; padding-inline: 12px; font-size: .58rem; }.taxonomy-list { display: grid; padding: 8px 18px 16px; }.taxonomy-list > a { display: grid; grid-template-columns: 38px 1fr auto 18px; align-items: center; gap: 10px; padding: 12px 2px; border-bottom: 1px solid #eff1f5; }.taxonomy-list > a:last-child { border: 0; }.taxonomy-list > a > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: #f3f4f6; color: #626a77; }.taxonomy-list > a > div { display: flex; flex-direction: column; }.taxonomy-list strong { font-size: .64rem; }.taxonomy-list small { color: var(--dash-muted); font-size: .52rem; }.taxonomy-list > a > i { color: #a4a9b2; }.tag-admin-cloud { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; min-height: 180px; padding: 20px; }.tag-admin-cloud a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #e8eaf0; border-radius: 10px; color: #59616e; font-size: .58rem; }.tag-admin-cloud a:hover { border-color: var(--primary); color: var(--primary); }.tag-admin-cloud b { display: grid; min-width: 20px; height: 20px; place-items: center; border-radius: 7px; background: #f1f2f5; font-size: .5rem; }

.taxonomy-row { display: grid; grid-template-columns: minmax(0,1fr) 34px; align-items: center; gap: 7px; border-bottom: 1px solid #eff1f5; }.taxonomy-row:last-child { border: 0; }.taxonomy-main-link { display: grid; grid-template-columns: 38px 1fr auto 18px; align-items: center; gap: 10px; padding: 12px 2px; }.taxonomy-main-link > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: #f3f4f6; color: #626a77; }.taxonomy-main-link > div { display: flex; flex-direction: column; }.taxonomy-main-link strong { font-size: .64rem; }.taxonomy-main-link small { color: var(--dash-muted); font-size: .52rem; }.taxonomy-delete,.tag-admin-item button { display: grid; width: 32px; height: 32px; place-items: center; padding: 0; border: 0; border-radius: 9px; background: #fff0ee; color: #c14438; cursor: pointer; }.tag-admin-item { display: inline-flex; align-items: center; gap: 3px; }.tag-admin-item form { display: flex; }.tag-admin-item button { width: 27px; height: 27px; background: #f5f5f6; color: #8a8f98; font-size: .65rem; }

/* Lightweight Jalali date and time picker */
.jalali-picker { position: relative; width: 100%; }.jalali-display-input { padding-left: 46px !important; cursor: pointer; direction: rtl; }.jalali-picker-trigger { position: absolute; top: 5px; bottom: 5px; left: 5px; display: grid; width: 36px; place-items: center; border: 0; border-radius: 9px; background: color-mix(in srgb,var(--primary) 10%,white); color: var(--primary); cursor: pointer; }.jalali-picker-trigger:hover { background: color-mix(in srgb,var(--primary) 17%,white); }.jalali-picker-panel { position: absolute; top: calc(100% + 8px); right: 0; z-index: 150; width: 326px; padding: 12px; border: 1px solid #e2e5eb; border-radius: 17px; background: #fff; box-shadow: 0 22px 60px rgba(22,29,42,.18); direction: rtl; }.jalali-picker-panel[hidden] { display: none !important; }.jalali-picker-head { display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; gap: 7px; margin-bottom: 10px; }.jalali-picker-head strong { text-align: center; font-size: .7rem; }.jalali-picker-head button { display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 10px; background: #f4f5f7; color: #5f6673; cursor: pointer; }.jalali-picker-head button:hover { background: #eceef2; color: var(--primary); }.jalali-weekdays,.jalali-days { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }.jalali-weekdays { margin-bottom: 4px; }.jalali-weekdays span { display: grid; height: 27px; place-items: center; color: #9aa0aa; font-size: .51rem; font-weight: 800; }.jalali-days > span,.jalali-days > button { aspect-ratio: 1/1; }.jalali-days > button { display: grid; place-items: center; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #4d5460; font-family: inherit; font-size: .58rem; font-weight: 750; cursor: pointer; }.jalali-days > button:hover { background: #f1f2f5; }.jalali-days > button.today { box-shadow: inset 0 0 0 1px color-mix(in srgb,var(--primary) 45%,transparent); color: var(--primary); }.jalali-days > button.selected { background: var(--primary); box-shadow: 0 6px 14px color-mix(in srgb,var(--primary) 23%,transparent); color: #fff; }.jalali-time-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 10px 4px; border-top: 1px solid #edf0f4; }.jalali-time-row label { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: #656c78; font-size: .57rem; }.dashboard-form .jalali-time-row input { width: 112px; min-height: 36px; padding: 5px 9px; direction: ltr; text-align: center; }.jalali-picker-actions { display: grid; grid-template-columns: auto auto 1fr; gap: 6px; padding-top: 9px; border-top: 1px solid #edf0f4; }.jalali-picker-actions button { min-height: 35px; padding: 0 9px; border: 0; border-radius: 9px; background: #f3f4f6; color: #656c78; font-family: inherit; font-size: .53rem; font-weight: 800; cursor: pointer; }.jalali-picker-actions .jalali-confirm { background: var(--primary); color: #fff; }

@media (max-width: 1100px) {
  .blog-heading-grid { grid-template-columns: 1fr; gap: 25px; }.blog-search { max-width: 520px; }.blog-featured { grid-template-columns: 1.1fr .9fr; }.blog-listing-layout { grid-template-columns: 1fr; }.blog-sidebar { position: static; grid-template-columns: 1fr 1fr; }.blog-rss-link { grid-column: 1/-1; }.blog-form-layout { grid-template-columns: 1fr; }.blog-form-side .sticky-form-card { position: static; }.taxonomy-admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .blog-landing-head { padding: 35px 0; }.blog-heading-grid h1 { font-size: 2.5rem; }.blog-featured { grid-template-columns: 1fr; }.blog-featured > a { min-height: 300px; }.blog-featured > div { padding: 30px; }.blog-card-grid,.blog-listing-layout .blog-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.article-header h1 { font-size: 2.4rem; letter-spacing: -1px; }.article-cover { min-height: 300px; border-radius: 22px; }.article-layout { grid-template-columns: 1fr; gap: 20px; padding-top: 32px; }.article-side { display: flex; flex-direction: column; }.article-toc { position: static; border-right: 0; border-radius: 14px; background: #f7f5f0; }.article-share { justify-content: flex-start; }.article-share > span { margin-left: 0; margin-right: 0; }.article-content { font-size: .82rem; }.article-content h2 { font-size: 1.4rem; }.blog-admin-filters { width: 100%; flex-wrap: wrap; }.blog-admin-filters select { flex: 1; }.list-toolbar:has(.blog-admin-filters) { align-items: stretch; flex-direction: column; }.page-head-actions { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .jalali-picker-panel { right: auto; left: 0; width: min(326px,calc(100vw - 44px)); }
  .blog-search { grid-template-columns: 34px 1fr; }.blog-search button { grid-column: 1/-1; }.blog-card-grid,.blog-listing-layout .blog-card-grid { grid-template-columns: 1fr; }.blog-sidebar { grid-template-columns: 1fr; }.blog-rss-link { grid-column: auto; }.blog-featured-wrap { padding-top: 20px; }.blog-featured { border-radius: 20px; }.blog-featured > a { min-height: 230px; }.blog-featured > div { padding: 24px; }.article-page { padding-top: 25px; }.article-header-inner { margin-top: 30px; }.article-header h1 { font-size: 2rem; }.article-header-inner > p { font-size: .78rem; }.article-byline { flex-wrap: wrap; }.article-byline > i { display: none; }.article-cover { width: calc(100% - 28px); min-height: 230px; height: 65vw; }.article-layout { gap: 14px; }.article-content { font-size: .78rem; }.article-content h2 { margin-top: 37px; font-size: 1.25rem; }.article-products,.related-articles,.home-blog-section { padding: 55px 0; }.rich-editor-canvas { min-height: 420px; padding: 18px; }.taxonomy-list > a { grid-template-columns: 36px 1fr 18px; }.taxonomy-list .status { display: none; }
}

:root {
  --brand: #ff5a36;
  --brand-dark: #e44322;
  --ink: #161616;
  --muted: #77756f;
  --soft: #f6f5f1;
  --paper: #ffffff;
  --line: #e9e6df;
  --green: #276749;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(30, 27, 21, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IRANYekanX", Tahoma, sans-serif;
  font-variation-settings: normal;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body, button, input, select, textarea { font-family: "IRANYekanX", Tahoma, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  border-radius: 14px;
  padding: 0 24px;
  background: var(--brand);
  color: white;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.14); }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.button-dark { background: var(--ink); }
.button-ghost { color: var(--ink); background: transparent; border: 1px solid var(--line); }
.button-sm { min-height: 40px; padding-inline: 16px; border-radius: 11px; font-size: .82rem; }
.button-block { width: 100%; }
.overline { display: block; margin-bottom: 6px; color: var(--brand); font-size: .75rem; font-weight: 850; letter-spacing: .3px; }
.text-link, .underlined-link { position: relative; font-size: .84rem; font-weight: 800; }
.underlined-link { padding-bottom: 5px; border-bottom: 1px solid currentColor; }
.empty-state { grid-column: 1/-1; padding: 56px 24px; border: 1px dashed #d7d3ca; border-radius: 22px; text-align: center; color: var(--muted); }
.empty-state h2 { margin: 0 0 8px; color: var(--ink); }

/* Store header */
.announcement { background: var(--ink); color: white; font-size: .72rem; }
.announcement-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; }
.announcement-inner span { display: flex; align-items: center; gap: 8px; }
.announcement-inner i { width: 6px; height: 6px; border-radius: 50%; background: #75df94; box-shadow: 0 0 0 4px rgba(117,223,148,.12); }
.announcement-note { color: #aaa; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(225,222,214,.8); }
.header-main { min-height: 86px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand > img { width: 50px; height: 50px; object-fit: contain; filter: drop-shadow(0 7px 11px rgba(84,48,18,.14)); }
.brand-mark { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 14px 14px 14px 4px; color: white; background: var(--brand); font-size: 1.25rem; font-weight: 950; box-shadow: 0 9px 22px color-mix(in srgb, var(--brand) 28%, transparent); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.35; }
.brand-copy strong { font-size: 1.05rem; font-weight: 950; }
.brand-copy small { color: var(--muted); font-size: .63rem; }
.global-search { width: min(540px, 48vw); height: 48px; display: flex; align-items: center; margin-inline: auto; border: 1px solid var(--line); border-radius: 15px; background: var(--soft); transition: .2s ease; }
.global-search:focus-within { background: white; border-color: #bcb8ae; box-shadow: 0 0 0 4px rgba(0,0,0,.03); }
.global-search button { width: 48px; border: 0; background: transparent; color: var(--ink); font-size: 1.45rem; }
.global-search input { width: 100%; border: 0; outline: 0; background: transparent; font-size: .8rem; }
.global-search kbd { margin-left: 8px; padding: 3px 8px; border: 1px solid #dfdcd5; border-radius: 7px; background: white; color: #999; font: inherit; font-size: .62rem; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-action { display: flex; align-items: center; gap: 9px; }
.action-icon, .bag-icon { font-size: 1.55rem; line-height: 1; }
.header-action > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.header-action small { color: var(--muted); font-size: .62rem; }
.header-action strong { font-size: .75rem; }
.cart-action { position: relative; display: grid; width: 45px; height: 45px; place-items: center; border: 1px solid var(--line); border-radius: 14px; }
.cart-action b { position: absolute; top: -6px; left: -6px; display: grid; min-width: 21px; height: 21px; padding-inline: 4px; place-items: center; border: 3px solid white; border-radius: 50%; background: var(--brand); color: white; font-size: .58rem; }
.category-bar { border-top: 1px solid #f0eee9; }
.category-nav { min-height: 46px; display: flex; align-items: center; gap: 28px; overflow: hidden; }
.category-nav a { flex: 0 0 auto; color: #575550; font-size: .73rem; font-weight: 650; }
.category-nav a:hover { color: var(--brand); }
.all-categories { display: flex; align-items: center; gap: 9px; color: var(--ink) !important; font-weight: 850 !important; }
.nav-spacer { flex: 1; }
.sale-link { color: var(--brand) !important; }
.mobile-menu, .mobile-bottom-nav { display: none; }
.toast-stack { position: fixed; top: 132px; left: 50%; z-index: 80; transform: translateX(-50%); pointer-events: none; }
.toast { width: max-content; max-width: calc(100vw - 32px); padding: 12px 20px; border: 1px solid #ddd9d1; border-radius: 13px; background: white; box-shadow: var(--shadow); font-size: .8rem; }
.toast.success { border-color: #b8e2c7; color: #166534; }
.toast.error { border-color: #f2c5c5; color: #a12626; }
.ajax-toast-stack { position: fixed; top: 128px; left: 22px; z-index: 150; display: grid; gap: 9px; pointer-events: none; }
.ajax-toast { display: flex; min-width: 270px; max-width: min(390px,calc(100vw - 32px)); align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid #caead6; border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: 0 18px 50px rgba(31,28,23,.15); opacity: 0; transform: translateY(-10px); transition: .23s ease; backdrop-filter: blur(14px); }
.ajax-toast.visible { opacity: 1; transform: none; }
.ajax-toast > span { display: grid; flex: 0 0 auto; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: #23915a; color: white; font-size: .68rem; font-weight: 900; }
.ajax-toast p { margin: 0; color: #365944; font-size: .69rem; font-weight: 750; }
.ajax-toast.error { border-color: #f1caca; }.ajax-toast.error > span { background: #c84646; }.ajax-toast.error p { color: #8e3030; }
.cart-count-bump { animation: cart-count-bump .38s ease; }
@keyframes cart-count-bump { 50% { transform: scale(1.35); } }
.cart-line-removing { opacity: 0; transform: translateX(-18px); transition: .22s ease; }
.add-button[aria-busy=true] { cursor: wait; opacity: .82; }

/* Homepage */
.new-hero { padding: 16px 0 28px; }
.hero-stage { position: relative; height: 360px; min-height: 0; overflow: hidden; border-radius: 26px; background: #e9ddca; isolation: isolate; }
.hero-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide { position: absolute; inset: 0; z-index: 0; overflow: hidden; opacity: 0; pointer-events: none; transition: opacity .55s ease; }
.hero-slide.is-active { z-index: 1; opacity: 1; pointer-events: auto; }
.hero-slide picture { position: absolute; inset: 0; display: block; }
.hero-slide picture img,.hero-slide > img { width: 100%; height: 100%; object-fit: cover; }
.empty-store-hero { background: linear-gradient(125deg,color-mix(in srgb,var(--brand) 18%,#f4efe7),#fff 72%); }
.empty-store-hero::after { position: absolute; bottom: -120px; left: -60px; width: 420px; height: 420px; border: 70px solid color-mix(in srgb,var(--brand) 16%,transparent); border-radius: 50%; content: ""; }
.hero-slide.position-left .hero-content { margin-right: auto; padding-right: 20px; padding-left: 48px; }
.hero-slide.position-left .hero-overlay { background: linear-gradient(270deg,rgba(250,244,234,0) 20%,rgba(250,244,234,.58) 58%,rgba(250,244,234,.98) 100%); }
.hero-slide.theme-light { color: white; }
.hero-slide.theme-light .hero-overlay { background: linear-gradient(90deg,rgba(8,11,17,.08) 18%,rgba(8,11,17,.48) 62%,rgba(8,11,17,.78) 100%); }
.hero-slide.theme-light.position-left .hero-overlay { background: linear-gradient(270deg,rgba(8,11,17,.08) 18%,rgba(8,11,17,.48) 62%,rgba(8,11,17,.78) 100%); }
.hero-slide.theme-light .hero-content > p { color: rgba(255,255,255,.78); }
.hero-slide.theme-light .hero-kicker i { background: white; }
.button-light { background: white; color: #17191e; }
.slider-arrow { position: absolute; top: 50%; z-index: 8; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: rgba(255,255,255,.78); box-shadow: 0 8px 24px rgba(20,22,27,.12); color: #252830; font-size: 1.45rem; line-height: 1; cursor: pointer; transform: translateY(-50%); backdrop-filter: blur(10px); }
.slider-prev { right: 16px; }.slider-next { left: 16px; }
.slider-dots { position: absolute; right: 50%; bottom: 14px; z-index: 9; display: flex; gap: 6px; transform: translateX(50%); }
.slider-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 8px; background: rgba(255,255,255,.65); box-shadow: 0 1px 5px rgba(0,0,0,.18); cursor: pointer; transition: .25s; }
.slider-dots button.is-active { width: 25px; background: var(--primary); }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(250,244,234,0) 20%, rgba(250,244,234,.58) 58%, rgba(250,244,234,.98) 100%); }
.hero-content { position: relative; z-index: 2; width: 51%; padding: 30px 48px 24px 20px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .76rem; font-weight: 850; }
.hero-kicker i { width: 30px; height: 2px; background: var(--brand); }
.hero-content h1 { margin: 8px 0 10px; font-size: clamp(2.2rem, 3.4vw, 3.25rem); line-height: 1.18; letter-spacing: -1.7px; font-weight: 880; }
.hero-content h1 em { color: var(--brand); font-style: normal; }
.hero-content > p { max-width: 480px; margin: 0; color: #5e594f; font-size: .98rem; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 16px; }
.hero-proof { display: none; }
.avatar-stack { display: flex; direction: ltr; }
.avatar-stack span { display: grid; width: 34px; height: 34px; place-items: center; margin-left: -8px; border: 3px solid #f3eadd; border-radius: 50%; background: var(--ink); color: white; font-size: .65rem; }
.avatar-stack span:nth-child(2) { background: var(--brand); }
.avatar-stack span:nth-child(3) { background: #657963; }
.hero-proof p { display: flex; flex-direction: column; margin: 0; line-height: 1.45; }
.hero-proof strong { font-size: .72rem; }
.hero-proof small { color: #777166; font-size: .62rem; }
.hero-float { position: absolute; bottom: 20px; left: 20px; z-index: 3; display: flex; min-width: 180px; flex-direction: column; padding: 14px 17px; border: 1px solid rgba(255,255,255,.55); border-radius: 16px; background: rgba(255,255,255,.72); box-shadow: 0 18px 42px rgba(31,25,18,.12); backdrop-filter: blur(15px); }
.hero-float small, .hero-float span { color: #6f6a61; font-size: .62rem; }
.hero-float strong { margin-block: 1px; font-size: 1.08rem; }
.category-section, .featured-section, .editorial-section, .story-section { padding: 72px 0; }
.category-section { padding: 24px 0 64px; }
.category-section .section-heading { margin-bottom: 18px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 30px; }
.section-heading h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.4; }
.circle-link { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 1.2rem; transition: .2s; }
.circle-link:hover { background: var(--ink); color: white; transform: translateX(-3px); }
.category-showcase { display: flex; align-items: flex-start; justify-content: center; flex-wrap: wrap; gap: 28px clamp(22px,3vw,44px); }
.modern-category { flex: 0 0 124px; text-align: center; }
.category-visual { position: relative; display: grid; width: 124px; height: 124px; place-items: center; overflow: hidden; border-radius: 50%; transition: transform .28s ease; }
.modern-category:hover .category-visual { transform: translateY(-7px) rotate(-2deg); }
.category-visual::after { content: ""; position: absolute; right: 17%; bottom: 11%; width: 20%; height: 20%; border: 1px solid rgba(0,0,0,.12); border-radius: 50%; }
.category-visual span { font-size: 2.35rem; font-weight: 250; }
.category-visual img { width: 100%; height: 100%; object-fit: cover; }
.category-visual.peach { background: #fee1d7; }
.category-visual.sage { background: #dfe9dc; }
.category-visual.blue { background: #dae8ee; }
.category-visual.sand { background: #eee5d6; }
.category-visual.lilac { background: #e8def1; }
.category-visual.mint { background: #dcece8; }
.modern-category strong { display: block; margin-top: 10px; font-size: .75rem; }
.modern-category small { color: var(--muted); font-size: .58rem; }
.featured-section { background: var(--soft); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 18px; }
.product-grid-three { grid-template-columns: repeat(3, 1fr); }
.modern-product-card { min-width: 0; }
.product-media { position: relative; overflow: hidden; border-radius: 22px; background: #ebe9e4; }
.product-media > a:first-child { display: block; aspect-ratio: 1/1.08; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.modern-product-card:hover .product-media img { transform: scale(1.045); }
.product-placeholder { position: relative; display: grid; width: 100%; height: 100%; place-items: center; overflow: hidden; background: linear-gradient(145deg, #ebe8e1, #d9d6cf); }
.product-placeholder::before, .product-placeholder::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.46); }
.product-placeholder::before { width: 70%; height: 70%; top: -28%; right: -22%; }
.product-placeholder::after { width: 42%; height: 42%; bottom: -16%; left: -10%; }
.product-placeholder span { position: relative; z-index: 1; color: #777167; font-size: 5rem; font-weight: 200; }
.product-placeholder small { position: absolute; bottom: 20px; z-index: 1; color: #858077; font-size: .66rem; }
.discount-badge, .new-badge { position: absolute; top: 14px; right: 14px; padding: 5px 10px; border-radius: 20px; background: var(--brand); color: white; font-size: .62rem; font-weight: 800; }
.sale-ribbon { position: absolute; top: 14px; right: 0; padding: 7px 12px 7px 14px; border-radius: 14px 0 0 14px; background: #ef3340; box-shadow: 0 8px 18px rgba(239,51,64,.22); color: white; font-size: .58rem; font-weight: 900; }
.new-badge { background: var(--ink); }
.quick-view { position: absolute; right: 14px; bottom: 14px; left: 14px; padding: 10px; border-radius: 11px; background: rgba(255,255,255,.92); text-align: center; font-size: .7rem; font-weight: 850; opacity: 0; transform: translateY(10px); transition: .25s; }
.modern-product-card:hover .quick-view { opacity: 1; transform: none; }
.modern-product-body { padding: 14px 4px 0; }
.product-meta { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .66rem; }
.product-meta small { color: #b85138; }
.modern-product-body h3 { min-height: 50px; margin: 5px 0 10px; font-size: .91rem; font-weight: 760; }
.modern-price { display: flex; min-height: 48px; align-items: stretch; flex-direction: column; gap: 2px; }
.current-price-row { display: flex; align-items: center; gap: 5px; }
.modern-price strong { font-size: 1.02rem; font-weight: 900; }
.modern-price span { color: var(--muted); font-size: .65rem; }
.modern-price del { color: #aaa69f; font-size: .62rem; text-decoration-thickness: 1px; }
.card-discount-badge { display: inline-flex; min-width: 52px; min-height: 30px; align-items: center; justify-content: center; gap: 2px; margin-right: auto; padding: 3px 11px; border-radius: 15px; background: #ef3340; box-shadow: 0 7px 16px rgba(239,51,64,.2); color: white; direction: ltr; font-size: .82rem; font-weight: 950; }
.modern-price .card-discount-badge span { color: inherit; font-size: inherit; font-weight: inherit; line-height: 1; }
.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.editorial-card { position: relative; min-height: 440px; overflow: hidden; padding: 56px; border-radius: 28px; color: white; isolation: isolate; }
.editorial-card.coral { background: #db5b42; }
.editorial-card.ink { background: #1d2530; }
.editorial-card > span { font-size: .72rem; opacity: .72; }
.editorial-card h2 { margin: 14px 0; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.35; letter-spacing: -1px; }
.editorial-card p { max-width: 360px; color: rgba(255,255,255,.72); font-size: .82rem; }
.editorial-card a { position: absolute; right: 56px; bottom: 48px; z-index: 2; display: flex; gap: 12px; font-size: .8rem; font-weight: 850; }
.editorial-shape { position: absolute; z-index: -1; border-radius: 50%; }
.shape-one { width: 300px; height: 300px; bottom: -120px; left: -45px; border: 55px solid rgba(255,232,208,.25); }
.shape-two { width: 260px; height: 390px; bottom: -130px; left: 35px; border-radius: 140px 140px 20px 20px; background: linear-gradient(150deg,#5c7190,#222d3c); transform: rotate(-16deg); }
.story-section { padding-block: 90px; border-top: 1px solid var(--line); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.story-grid h2 { margin: 5px 0 0; font-size: clamp(2.2rem,4vw,4rem); line-height: 1.3; letter-spacing: -2px; }
.story-grid p { margin: 0 0 25px; color: #65615a; font-size: .96rem; }

/* Collection */
.breadcrumbs { display: flex; align-items: center; gap: 10px; color: #8b877f; font-size: .68rem; }
.breadcrumbs a:hover { color: var(--brand); }
.collection-hero { padding: 34px 0 0; }
.collection-title { position: relative; display: flex; min-height: 230px; align-items: center; justify-content: space-between; overflow: hidden; margin-top: 20px; padding: 42px 52px; border-radius: 28px; background: #ecede7; }
.collection-title h1 { margin: 4px 0; font-size: clamp(2.2rem,4vw,3.7rem); line-height: 1.25; }
.collection-title p { margin: 0; color: var(--muted); font-size: .8rem; }
.collection-art { position: relative; width: 300px; height: 180px; }
.collection-art i { position: absolute; display: block; border-radius: 50%; }
.collection-art i:nth-child(1) { width: 180px; height: 180px; right: 0; background: #d6a968; }
.collection-art i:nth-child(2) { width: 125px; height: 125px; right: 110px; bottom: -35px; background: #355f52; }
.collection-art i:nth-child(3) { width: 72px; height: 72px; left: 2px; top: 8px; background: var(--brand); }
.collection-section { padding: 48px 0 90px; }
.collection-layout { display: grid; grid-template-columns: 245px 1fr; gap: 38px; align-items: start; }
.filter-panel { position: sticky; top: 168px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.filter-title { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.filter-title strong { font-size: .86rem; }
.filter-title a { color: var(--brand); font-size: .66rem; }
.filter-group { padding: 19px 0; border-bottom: 1px solid var(--line); }
.filter-group > label:first-child, .filter-group > strong { display: block; margin-bottom: 11px; font-size: .76rem; font-weight: 850; }
.filter-search { position: relative; }
.filter-search input { width: 100%; padding: 11px 12px 11px 34px; border: 1px solid var(--line); border-radius: 11px; outline: none; background: var(--soft); font-size: .7rem; }
.filter-search span { position: absolute; top: 7px; left: 10px; color: #777; font-size: 1.1rem; }
.radio-filter { display: grid; grid-template-columns: 16px minmax(0,1fr) auto; align-items: center; gap: 9px; min-height: 28px; margin: 7px 0; color: #5e5a53; font-size: .72rem; cursor: pointer; }
.radio-filter input { accent-color: var(--brand); }
.radio-filter span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.radio-filter small { display: inline-flex; min-width: 22px; justify-content: center; padding: 2px 6px; border-radius: 10px; background: var(--soft); color: #8b877f; font-size: .56rem; font-variant-numeric: tabular-nums; }
.filter-panel .button { min-height: 45px; margin-top: 18px; font-size: .72rem; }
.collection-toolbar { min-height: 50px; display: flex; align-items: start; justify-content: space-between; margin-bottom: 17px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.active-filters span { padding: 6px 10px; border-radius: 9px; background: var(--soft); color: #65615a; font-size: .64rem; }
.collection-toolbar form { display: flex; align-items: center; gap: 7px; font-size: .68rem; }
.collection-toolbar select { padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; outline: none; background: white; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 45px; color: var(--muted); font-size: .75rem; }
.pagination a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); }

/* Product detail */
.product-page { padding: 35px 0 90px; }
.product-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 62px; margin-top: 28px; align-items: start; }
.main-product-image { position: relative; display: grid; aspect-ratio: 1/1; place-items: center; overflow: hidden; border-radius: 28px; background: var(--soft); }
.main-product-image > img { width: 100%; height: 100%; object-fit: cover; }
.main-product-image > b { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 4px; padding: 7px 13px; border-radius: 20px; background: var(--brand); color: white; font-size: .76rem; }
.gallery-discount-badge span { font-size: .86rem; font-weight: 950; }
.detail-placeholder { display: grid; width: 100%; height: 100%; place-items: center; background: linear-gradient(145deg,#efede7,#d9d6cf); }
.detail-placeholder span { color: #777168; font-size: 9rem; font-weight: 180; }
.detail-placeholder small { position: absolute; bottom: 40px; color: #767169; }
.thumbnail-row { display: flex; gap: 10px; margin-top: 12px; }
.thumbnail-row div { width: 84px; height: 84px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; }
.thumbnail-row img { width: 100%; height: 100%; object-fit: cover; }
.product-info { position: sticky; top: 170px; padding-top: 10px; }
.product-label { display: flex; align-items: center; gap: 10px; color: var(--brand); font-size: .7rem; font-weight: 800; }
.product-label small { padding-right: 10px; border-right: 1px solid var(--line); color: var(--muted); }
.product-info h1 { margin: 10px 0; font-size: clamp(2rem,3.5vw,3.25rem); line-height: 1.35; letter-spacing: -1px; }
.product-lead { margin: 0; color: #6c6861; font-size: .88rem; }
.rating-line { display: flex; gap: 12px; margin: 18px 0 28px; }
.rating-line span { color: #f0a421; letter-spacing: 1px; }
.rating-line small { color: #8a867e; }
.product-price-block { padding: 22px 0; border-block: 1px solid var(--line); }
.product-price-block > div { display: flex; align-items: baseline; gap: 7px; }
.product-price-block strong { font-size: 2rem; font-weight: 920; }
.product-price-block span, .product-price-block del { color: var(--muted); font-size: .72rem; }
.product-price-block del { display: block; margin-top: -4px; }
.price-discount-badge { display: inline-flex; min-width: 58px; min-height: 34px; align-items: center; justify-content: center; gap: 2px; margin-right: 8px; padding: 5px 12px; border-radius: 20px; background: #ef3340; box-shadow: 0 7px 16px rgba(239,51,64,.2); color: white !important; direction: ltr; font-size: .9rem !important; font-weight: 950; }
.product-price-block .price-discount-badge span { color: inherit; font-size: inherit; font-weight: inherit; line-height: 1; }
.detail-old-price { justify-content: space-between; margin-top: 8px; }
.detail-old-price span { padding: 5px 9px; border-radius: 9px; background: #eaf8ef; color: #177442 !important; font-size: .62rem !important; font-weight: 850; }
.product-gallery-video { display: none; width: 100%; height: 100%; background: #111; object-fit: contain; }
.thumbnail-row button { position: relative; width: 84px; height: 84px; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--soft); cursor: pointer; }
.thumbnail-row button.video-thumb::after { content: "▶"; position: absolute; inset: 50% auto auto 50%; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: rgba(20,20,20,.78); color: white; font-size: .65rem; transform: translate(-50%,-50%); }
.admin-media-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(120px,1fr)); gap: 14px; }
.admin-media-item { position: relative; aspect-ratio: 1/1; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--soft); }
.admin-media-item img,.admin-media-item video { width: 100%; height: 100%; object-fit: cover; }
.admin-media-item span { position: absolute; right: 8px; bottom: 8px; padding: 4px 8px; border-radius: 12px; background: rgba(24,24,24,.8); color: white; font-size: .6rem; }
.media-manager { margin-bottom: 20px; }
.media-delete-control { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 10px; background: rgba(153,27,27,.9); color: white; cursor: pointer; backdrop-filter: blur(8px); }
.media-delete-control input { width: auto !important; margin: 0; accent-color: #fff; }
.media-delete-control b { font-size: .56rem; }
.admin-media-item .primary-media-label { background: rgba(17,24,39,.82); }
.primary-image-note { margin: -7px 0 18px; padding: 10px 12px; border-radius: 10px; background: #f7f8fa; color: #7b8190; font-size: .57rem; }
.banner-row-actions { display: flex; align-items: center; gap: 7px; }.banner-row-actions form { margin: 0; }.banner-delete-button { min-height: 34px; padding: 0 10px; border: 1px solid #f0d0d0; border-radius: 9px; background: #fff6f6; color: #a83c3c; font-family: inherit; font-size: .55rem; cursor: pointer; }.banner-table-item img { width: 76px; }
.banner-form-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(280px,.7fr); gap: 18px; align-items: start; }.banner-media-section { grid-column: 1/-1; }.banner-admin-preview { position: relative; height: 260px; margin-bottom: 18px; overflow: hidden; }.banner-admin-preview > img { width: 100%; height: 100%; object-fit: cover; }.banner-admin-preview > div { position: absolute; top: 50%; right: 45px; display: flex; max-width: 45%; flex-direction: column; transform: translateY(-50%); }.banner-admin-preview > div.position-left { right: auto; left: 45px; }.banner-admin-preview .theme-light { color: white; text-shadow: 0 2px 12px rgba(0,0,0,.35); }.banner-admin-preview strong { font-size: 1.5rem; }.banner-admin-preview small { font-size: .62rem; }.banner-admin-preview span { margin-top: 5px; font-size: .66rem; }.floating-save-bar { position: sticky; bottom: 16px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; padding: 12px 15px; border: 1px solid var(--dash-border); border-radius: 15px; background: rgba(255,255,255,.92); box-shadow: 0 14px 35px rgba(25,31,43,.12); backdrop-filter: blur(14px); }.floating-save-bar > span { color: var(--dash-muted); font-size: .61rem; }.floating-save-bar > div { display: flex; gap: 8px; }
.stock-line { display: flex; align-items: center; gap: 9px; margin: 18px 0; color: #a5392a; font-size: .74rem; font-weight: 750; }
.stock-line i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb,currentColor 12%,transparent); }
.stock-line.available { color: var(--green); }
.choice-field { margin-bottom: 15px; }
.choice-field label { display: block; margin-bottom: 7px; font-size: .75rem; font-weight: 800; }
.choice-field select { width: 100%; padding: 13px; border: 1px solid var(--line); border-radius: 12px; outline: none; background: white; }
.buy-row { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.quantity-control { display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; }
.quantity-control button { height: 50px; border: 0; background: white; font-size: 1.1rem; }
.quantity-control input { width: 100%; border: 0; outline: 0; text-align: center; -moz-appearance: textfield; }
.quantity-control input::-webkit-outer-spin-button,.quantity-control input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.add-button { min-height: 54px; }
.product-promises { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 24px; }
.product-promises > div { display: flex; align-items: center; gap: 9px; padding: 12px; border-radius: 13px; background: var(--soft); }
.product-promises > div > span { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 9px; background: white; font-size: .78rem; }
.product-promises p { display: flex; flex-direction: column; margin: 0; line-height: 1.5; }
.product-promises strong { font-size: .63rem; }
.product-promises small { color: var(--muted); font-size: .56rem; }
.product-description { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; margin-top: 80px; padding-top: 55px; border-top: 1px solid var(--line); }
.product-description h2 { margin: 4px 0; font-size: 2.2rem; }
.product-description > div:last-child { color: #5f5b54; font-size: .9rem; }

/* Service strip and footer */
.service-strip { border-block: 1px solid var(--line); background: #fbfaf7; }
.service-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.service-grid > div { display: flex; align-items: center; gap: 13px; padding: 30px 20px; border-left: 1px solid var(--line); }
.service-grid > div:last-child { border-left: 0; }
.service-grid > div > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: white; font-size: 1rem; }
.service-grid p { display: flex; flex-direction: column; margin: 0; }
.service-grid strong { font-size: .72rem; }
.service-grid small { color: var(--muted); font-size: .61rem; }
.site-footer { background: #151515; color: white; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 70px; padding-block: 70px; }
.brand-light .brand-copy small { color: #858585; }
.brand-light > img { filter: drop-shadow(0 8px 15px rgba(0,0,0,.35)); }
.footer-about p, .footer-contact p { max-width: 330px; color: #8f8f8f; font-size: .74rem; }
.footer-main h3 { margin: 0 0 19px; font-size: .78rem; }
.footer-main > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-main > div:not(:first-child) a { margin: 5px 0; color: #929292; font-size: .7rem; }
.footer-main a:hover { color: white !important; }
.footer-contact strong { margin-block: 4px; font-size: 1.2rem; }
.footer-contact small { color: #8f8f8f; }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 19px; border-top: 1px solid #2a2a2a; color: #777; font-size: .63rem; }

/* Cart, checkout and account */
.page-hero { padding: 52px 0; background: var(--soft); }
.page-hero h1 { margin: 4px 0 0; font-size: 2.7rem; }
.eyebrow { color: var(--brand); font-size: .72rem; font-weight: 850; }
.section { padding: 70px 0; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 355px; gap: 28px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 90px minmax(160px,1fr) auto auto auto; align-items: center; gap: 17px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; }
.cart-thumb { display: grid; width: 90px; height: 90px; place-items: center; overflow: hidden; border-radius: 13px; background: var(--soft); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-copy { display: flex; flex-direction: column; }
.cart-copy small { color: var(--muted); font-size: .7rem; }
.quantity-form { display: flex; align-items: center; gap: 6px; }
.quantity-form input { width: 58px; padding: 7px; border: 1px solid var(--line); border-radius: 8px; }
.quantity-form button, .remove-button { border: 0; background: transparent; color: var(--brand); font-size: .66rem; }
.remove-button { color: #a33; }
.cart-stepper { display: inline-grid; grid-template-columns: 40px 46px 40px; align-items: center; gap: 3px; padding: 4px; overflow: visible; border: 1px solid #e5e7eb; border-radius: 17px; background: #fff; box-shadow: 0 8px 24px rgba(29,35,43,.08); direction: rtl; }
.cart-stepper input { width: 46px; height: 40px; padding: 0; border: 0; border-radius: 10px; outline: 0; background: transparent; color: var(--ink); font-family: inherit; font-size: .92rem; font-weight: 950; text-align: center; appearance: textfield; }
.cart-stepper input::-webkit-inner-spin-button { appearance: none; }
.cart-stepper button { display: grid; width: 40px; height: 40px; place-items: center; padding: 0; border: 0; border-radius: 12px; font-size: 1rem; cursor: pointer; transition: transform .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease; }
.cart-stepper button .bi { font-size: 1rem; }
.cart-stepper .stepper-increase { background: var(--ink); box-shadow: 0 6px 14px rgba(25,28,34,.18); color: white; }
.cart-stepper .stepper-decrease { background: #f4f5f6; color: #60656f; }
.cart-stepper .stepper-decrease:has(.bi-trash3) { background: #fff0ee; color: #d53d31; }
.cart-stepper button:hover:not(:disabled) { transform: translateY(-1px); }
.cart-stepper .stepper-increase:hover:not(:disabled) { background: var(--brand); box-shadow: 0 7px 16px color-mix(in srgb,var(--brand) 25%,transparent); }
.cart-stepper .stepper-decrease:hover:not(:disabled) { background: #ebecee; color: var(--ink); }
.cart-stepper button:active:not(:disabled) { transform: scale(.94); }
.cart-stepper button:disabled { box-shadow: none; cursor: not-allowed; opacity: .35; }
.go-to-cart-button { display: flex; min-height: 46px; align-items: center; justify-content: center; gap: 9px; margin-top: 10px; border: 1px solid var(--ink); border-radius: 13px; color: var(--ink); font-size: .7rem; font-weight: 900; transition: .2s; }
.go-to-cart-button:hover { background: var(--ink); color: white; }
.go-to-cart-button[hidden] { display: none; }
.buy-row[hidden],.product-cart-controls[hidden] { display: none !important; }
.buy-row.product-add-only { display: block; }
.product-add-only .add-button { width: 100%; }
.product-cart-controls { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; padding: 13px 16px; border: 1px solid #dcecdf; border-radius: 20px; background: linear-gradient(135deg,#f7fcf8,#eef9f2); box-shadow: 0 9px 26px rgba(30,100,60,.06); }
.product-cart-controls > div:first-of-type { display: flex; flex-direction: column; }
.product-cart-controls > div:first-of-type span { color: #166534; font-size: .7rem; font-weight: 900; }
.product-cart-controls > div:first-of-type small { color: #619074; font-size: .57rem; }
.product-cart-controls .cart-stepper { flex: 0 0 auto; border-color: #d7e8dc; }
.order-summary { position: sticky; top: 170px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 12px 40px rgba(35,31,24,.05); }
.order-summary h2 { margin-top: 0; font-size: 1.25rem; }
.order-summary > div { display: flex; justify-content: space-between; gap: 12px; margin: 13px 0; font-size: .74rem; }
.order-summary hr { border: 0; border-top: 1px solid var(--line); }
.summary-total { font-size: .85rem !important; }
.checkout-form { padding: 30px; }
.checkout-form h2 { margin-top: 0; }
.auth-section { min-height: 72vh; display: grid; place-items: center; padding: 60px 20px; background: radial-gradient(circle at 20% 10%,#fbe6de,transparent 34%), var(--soft); }
.auth-card { width: min(440px,100%); padding: 38px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); }
.auth-card-wide { width: min(620px,100%); }
.auth-card h1 { margin: 5px 0; }
.auth-card > p { color: var(--muted); font-size: .8rem; }
.stack-form > div { margin: 14px 0; }
.stack-form label, .field label { display: block; margin-bottom: 6px; font-size: .72rem; font-weight: 800; }
.stack-form input, .dashboard-form input, .dashboard-form select, .dashboard-form textarea, .checkout-form input, .checkout-form select, .checkout-form textarea { width: 100%; padding: 11px 12px; border: 1px solid #ddd9d1; border-radius: 11px; outline: none; background: white; }
.stack-form input:focus, .dashboard-form input:focus, .dashboard-form select:focus, .dashboard-form textarea:focus, .checkout-form input:focus, .checkout-form select:focus, .checkout-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb,var(--brand) 9%,transparent); }
.stack-form .helptext, .stack-form ul, .field > small { color: var(--muted); font-size: .62rem; }
.errorlist { margin: 5px 0; padding-right: 16px; color: #ae2828; font-size: .66rem; }
.success-section { min-height: 70vh; display: grid; place-items: center; padding: 50px 20px; background: var(--soft); }
.success-card { width: min(700px,100%); padding: 48px; border: 1px solid var(--line); border-radius: 28px; background: white; text-align: center; box-shadow: var(--shadow); }
.success-icon { display: grid; width: 66px; height: 66px; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: #dff5e6; color: var(--green); font-size: 2rem; }
.success-details { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 28px 0; }
.success-details > div { display: flex; flex-direction: column; padding: 15px; border-radius: 13px; background: var(--soft); }
.success-details span { color: var(--muted); font-size: .65rem; }

.panel-card { overflow: hidden; border: 1px solid #e1e3e6; border-radius: 17px; background: white; }

/* Professional custom dashboard */
.dashboard-body { --dash-bg:#f5f6f8; --dash-card:#fff; --dash-border:#e8eaf0; --dash-text:#151821; --dash-muted:#7b8190; margin: 0; background: var(--dash-bg); color: var(--dash-text); }
.bi { line-height: 1; }
.dashboard-shell { display: grid; min-height: 100vh; grid-template-columns: 280px minmax(0,1fr); }
.dashboard-sidebar { position: sticky; top: 0; z-index: 90; display: flex; height: 100vh; flex-direction: column; padding: 24px 18px 18px; overflow-y: auto; background: #111827; color: white; }
.sidebar-brand-row { display: flex; align-items: center; justify-content: space-between; }
.panel-brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: white; }
.panel-brand-mark { display: grid; flex: 0 0 auto; width: 44px; height: 44px; place-items: center; border-radius: 14px; background: linear-gradient(145deg,var(--primary),#ff8a52); box-shadow: 0 10px 24px color-mix(in srgb,var(--primary) 28%,transparent); font-size: 1.05rem; font-weight: 900; }
.panel-brand > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.panel-brand strong { overflow: hidden; font-size: .86rem; text-overflow: ellipsis; white-space: nowrap; }
.panel-brand small { margin-top: 2px; color: #8992a4; font-size: .58rem; }
.sidebar-close { display: none; border: 0; background: none; color: white; font-size: 1.8rem; }
.store-state { display: flex; align-items: center; gap: 8px; margin: 23px 2px 12px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; background: rgba(255,255,255,.035); color: #aeb6c5; font-size: .61rem; }
.store-state i { width: 7px; height: 7px; border-radius: 50%; background: #3fd48a; box-shadow: 0 0 0 4px rgba(63,212,138,.1); }
.dashboard-nav { display: flex; flex: 1; flex-direction: column; gap: 5px; margin-top: 8px; }
.nav-label { margin: 12px 13px 5px; color: #606a7c; font-size: .56rem; font-weight: 800; letter-spacing: .6px; }
.nav-label-second { margin-top: 24px; }
.dashboard-nav a { position: relative; display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 13px; border-radius: 12px; color: #aeb6c5; font-size: .71rem; font-weight: 700; transition: .2s ease; }
.dashboard-nav a > .bi,.sidebar-account .bi,.dashboard-topbar .bi,.dashboard-primary-button .bi,.dashboard-back-link .bi,.row-action .bi,.edit-row-button .bi { flex: 0 0 auto; font-size: 1.08rem; }
.dashboard-nav a:hover { background: rgba(255,255,255,.055); color: white; transform: translateX(-2px); }
.dashboard-nav a.active { background: linear-gradient(90deg,color-mix(in srgb,var(--primary) 22%,transparent),rgba(255,255,255,.045)); color: white; }
.dashboard-nav a.active::before { position: absolute; top: 10px; right: -18px; width: 3px; height: 26px; border-radius: 3px 0 0 3px; background: var(--primary); content: ""; }
.dashboard-nav a small { margin-right: auto; color: #697386; }
.sidebar-account { display: grid; grid-template-columns: 38px 1fr 32px; align-items: center; gap: 9px; margin-top: 18px; padding: 14px 10px 2px; border-top: 1px solid rgba(255,255,255,.08); }
.account-avatar { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: rgba(255,255,255,.08); color: #d9deea; }
.sidebar-account > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.sidebar-account strong { overflow: hidden; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-account small { color: #6f798b; font-size: .55rem; }
.sidebar-account button { display: grid; width: 32px; height: 32px; place-items: center; border: 0; border-radius: 9px; background: transparent; color: #747e91; cursor: pointer; }
.sidebar-account button:hover { background: rgba(255,255,255,.06); color: white; }
.dashboard-main { min-width: 0; }
.dashboard-topbar { position: sticky; top: 0; z-index: 60; display: flex; height: 76px; align-items: center; justify-content: space-between; padding: 0 clamp(20px,3vw,44px); border-bottom: 1px solid rgba(223,226,233,.9); background: rgba(255,255,255,.88); backdrop-filter: blur(18px); }
.topbar-start,.topbar-actions { display: flex; align-items: center; gap: 12px; }
.topbar-start > div { display: flex; flex-direction: column; }
.topbar-start strong { font-size: .76rem; }
.topbar-start small { color: var(--dash-muted); font-size: .58rem; }
.mobile-menu-button { display: none; width: 40px; height: 40px; place-items: center; border: 1px solid var(--dash-border); border-radius: 11px; background: white; }
.topbar-store-link,.topbar-add { display: inline-flex; min-height: 40px; align-items: center; gap: 8px; padding: 0 14px; border-radius: 11px; font-size: .66rem; font-weight: 800; }
.topbar-store-link { border: 1px solid var(--dash-border); background: white; color: #555c69; }
.topbar-add { background: #151821; color: white; }
.dashboard-content { width: min(1540px,100%); margin: 0 auto; padding: 34px clamp(20px,3vw,44px) 70px; }
.dashboard-messages { display: grid; gap: 8px; margin-bottom: 18px; }
.dashboard-message { display: flex; align-items: center; gap: 9px; padding: 12px 15px; border: 1px solid #bfe8d0; border-radius: 12px; background: #effbf4; color: #166534; font-size: .68rem; }
.dashboard-message > span { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: #22a65b; color: white; font-size: .55rem; }
.dashboard-welcome,.dashboard-page-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.dashboard-welcome h1,.dashboard-page-head h1 { margin: 5px 0 3px; font-size: clamp(1.7rem,2.5vw,2.4rem); line-height: 1.35; letter-spacing: -.7px; }
.dashboard-welcome p,.dashboard-page-head p { margin: 0; color: var(--dash-muted); font-size: .72rem; }
.dashboard-kicker,.panel-eyebrow { color: var(--primary); font-size: .59rem; font-weight: 900; }
.welcome-actions { display: flex; gap: 9px; }
.dashboard-primary-button,.dashboard-secondary-button,.dashboard-back-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 0 17px; border: 0; border-radius: 12px; font-family: inherit; font-size: .67rem; font-weight: 850; cursor: pointer; }
.dashboard-primary-button { background: var(--primary); box-shadow: 0 10px 24px color-mix(in srgb,var(--primary) 22%,transparent); color: white; }
.dashboard-primary-button:hover { filter: brightness(.96); transform: translateY(-1px); }
.dashboard-secondary-button,.dashboard-back-link { border: 1px solid var(--dash-border); background: white; color: #555c69; box-shadow: none; }
.dashboard-back-link .bi { font-size: .9rem; }
.metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; margin-bottom: 18px; }
.metric-card { position: relative; display: flex; min-height: 142px; align-items: center; gap: 15px; padding: 20px; overflow: hidden; border: 1px solid var(--dash-border); border-radius: 19px; background: var(--dash-card); box-shadow: 0 5px 20px rgba(31,39,54,.035); }
.metric-icon { display: grid; flex: 0 0 auto; width: 46px; height: 46px; place-items: center; border-radius: 14px; background: #e9f7ee; color: #18864a; }
.metric-icon.blue { background: #eaf2ff; color: #3977d4; }.metric-icon.violet { background: #f1edff; color: #7454d8; }.metric-icon.amber { background: #fff3df; color: #c67b18; }
.metric-icon .bi { font-size: 1.25rem; }
.metric-card > div:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.metric-card span { color: var(--dash-muted); font-size: .61rem; }.metric-card strong { margin: 4px 0; font-size: clamp(1.35rem,2vw,1.9rem); line-height: 1.2; }.metric-card small { color: #9aa0ac; font-size: .56rem; }
.metric-revenue { border: 0; background: linear-gradient(135deg,#151d2d,#111827); color: white; }.metric-revenue .metric-icon { background: rgba(255,255,255,.1); color: #fff; }.metric-revenue span,.metric-revenue small { color: #929caf; }
.metric-decoration { position: absolute; bottom: -45px; left: -30px; width: 130px; height: 130px; border: 22px solid color-mix(in srgb,var(--primary) 45%,transparent); border-radius: 50%; opacity: .35; }
.modern-panel { overflow: hidden; border: 1px solid var(--dash-border); border-radius: 19px; background: var(--dash-card); box-shadow: 0 5px 22px rgba(31,39,54,.035); }
.modern-panel-head { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 21px; border-bottom: 1px solid #edf0f4; }
.modern-panel-head > div { display: flex; flex-direction: column; }.modern-panel-head h2 { margin: 2px 0 0; font-size: .98rem; }.modern-panel-head a,.modern-panel-head > span { color: var(--dash-muted); font-size: .62rem; font-weight: 750; }.modern-panel-head a b { color: var(--primary); }
.dashboard-overview-grid { display: grid; grid-template-columns: minmax(0,1.75fr) minmax(290px,.75fr); gap: 18px; margin-bottom: 18px; }.dashboard-side-stack { display: grid; align-content: start; gap: 18px; }
.responsive-table { overflow-x: auto; }.modern-table { width: 100%; min-width: 690px; border-collapse: collapse; }.modern-table th,.modern-table td { padding: 14px 18px; border-bottom: 1px solid #eff1f5; text-align: right; }.modern-table th { background: #fafbfc; color: #8d93a0; font-size: .57rem; font-weight: 800; }.modern-table td { color: #424854; font-size: .67rem; }.modern-table tbody tr:last-child td { border-bottom: 0; }.modern-table tbody tr:hover { background: #fcfcfd; }.modern-table td strong,.modern-table td small { display: block; }.modern-table td small { margin-top: 2px; color: #9399a5; font-size: .55rem; }
.table-person,.table-product,.shipping-person { display: flex; align-items: center; gap: 10px; }.table-person > span,.shipping-person > span { display: grid; flex: 0 0 auto; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: #f0f1f4; color: #555c69; font-weight: 900; }.table-person > div,.table-product > div,.shipping-person > div { display: flex; min-width: 0; flex-direction: column; }
.table-product img,.table-product > span { display: grid; flex: 0 0 auto; width: 46px; height: 46px; place-items: center; border-radius: 12px; background: #f1f2f4; object-fit: cover; color: #737986; font-weight: 900; }.category-avatar { background: #fff1e9 !important; color: var(--primary) !important; }
.row-action { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--dash-border); border-radius: 10px; color: #69707d; }.row-action .bi { font-size: .85rem; }
.status { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 20px; background: #eee; font-size: .56rem; font-weight: 800; white-space: nowrap; }.status-published,.status-delivered { background: #e6f8ed; color: #197344; }.status-draft,.status-pending { background: #fff4dc; color: #9b650f; }.status-confirmed { background: #e9f2ff; color: #2d67bd; }.status-processing { background: #f0ebff; color: #6848c1; }.status-shipped { background: #e3f8fb; color: #187688; }.status-archived { background: #eef0f3; color: #656b76; }.status-canceled { background: #ffebeb; color: #a83838; }
.quick-action-grid { display: grid; padding: 7px 16px 16px; }.quick-action-grid a { display: flex; align-items: center; gap: 11px; padding: 10px 4px; border-bottom: 1px solid #f0f1f4; }.quick-action-grid a:last-child { border: 0; }.quick-action-grid a > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: #f4f5f7; color: #5f6673; }.quick-action-grid .bi { font-size: 1.05rem; }.quick-action-grid a > div { display: flex; flex-direction: column; }.quick-action-grid strong { font-size: .66rem; }.quick-action-grid small { color: var(--dash-muted); font-size: .54rem; }
.stock-list { display: grid; padding: 6px 16px 14px; }.stock-list a { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px solid #f0f1f4; }.stock-list a:last-child { border: 0; }.stock-list img,.stock-placeholder { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 11px; background: #f2f3f5; object-fit: cover; }.stock-list a > div { display: flex; min-width: 0; flex-direction: column; }.stock-list strong { overflow: hidden; font-size: .64rem; text-overflow: ellipsis; white-space: nowrap; }.stock-list small { color: var(--dash-muted); font-size: .53rem; }.stock-list b { color: #bc6a18; font-size: .57rem; }
.dashboard-product-strip { display: grid; grid-template-columns: repeat(6,minmax(120px,1fr)); gap: 14px; padding: 18px 20px 22px; }.dashboard-product-strip > a { min-width: 0; }.dashboard-product-image { position: relative; aspect-ratio: 1/.9; margin-bottom: 9px; overflow: hidden; border-radius: 14px; background: #f2f3f5; }.dashboard-product-image img { width: 100%; height: 100%; object-fit: cover; }.dashboard-product-image > span { display: grid; height: 100%; place-items: center; color: #8b919c; font-size: 2rem; }.dashboard-product-image b { position: absolute; top: 8px; right: 8px; padding: 3px 7px; border-radius: 10px; background: var(--primary); color: white; font-size: .52rem; }.dashboard-product-strip > a > strong { display: block; overflow: hidden; font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }.dashboard-product-strip > a > small { color: var(--dash-muted); font-size: .55rem; }
.list-toolbar { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 20px; border-bottom: 1px solid #edf0f4; }.list-toolbar > div { display: flex; flex-direction: column; }.list-toolbar strong { font-size: .76rem; }.list-toolbar small,.toolbar-hint { color: var(--dash-muted); font-size: .57rem; }.category-chip,.discount-chip,.sort-order,.payment-state,.quantity-pill { display: inline-flex; padding: 5px 9px; border-radius: 9px; background: #f2f3f5; color: #555d69; font-size: .56rem; font-weight: 800; }.discount-chip { background: #ffebe6; color: #c84428; }.payment-state.paid { background: #e6f8ed; color: #197344; }.muted-dash { color: #a1a6af; font-size: .58rem; }.stock-number { display: flex; align-items: baseline; gap: 4px; }.stock-number strong { font-size: .78rem !important; }.stock-number.low strong { color: #c26d1a; }.stock-number small { display: inline !important; }.order-number { color: #343b47; }.edit-row-button { display: inline-flex; min-height: 34px; align-items: center; gap: 5px; padding: 0 10px; border: 1px solid var(--dash-border); border-radius: 9px; color: #59616e; font-size: .56rem; font-weight: 850; white-space: nowrap; }.edit-row-button .bi { font-size: .76rem; }.modern-filter { display: flex; align-items: center; gap: 8px; padding: 6px 7px 6px 12px; border: 1px solid var(--dash-border); border-radius: 12px; background: white; }.modern-filter label { color: var(--dash-muted); font-size: .58rem; }.modern-filter select { min-width: 145px; border: 0; outline: none; background: transparent; font-family: inherit; font-size: .64rem; }
.dashboard-empty { display: flex; min-height: 180px; align-items: center; justify-content: center; flex-direction: column; color: var(--dash-muted); text-align: center; }.dashboard-empty > span { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 10px; border-radius: 14px; background: #f2f3f5; font-size: 1.1rem; }.dashboard-empty strong { color: #5c6370; font-size: .69rem; }.dashboard-empty small,.mini-empty { color: var(--dash-muted); font-size: .57rem; }.mini-empty { padding: 25px; text-align: center; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }.field-wide { grid-column: 1/-1; }.field { display: flex; min-width: 0; flex-direction: column; }.field label { margin-bottom: 7px; color: #4b5260; font-size: .62rem; font-weight: 850; }.field label span { color: #d43e31; }.field > small { margin-top: 6px; color: #969ca7; font-size: .54rem; }.field input[type=checkbox] { width: auto; }.field ul { margin: 6px 0 0; padding: 0; list-style: none; }.field ul.errorlist { color: #b52e2e; font-size: .56rem; }.dashboard-form input:not([type=checkbox]),.dashboard-form select,.dashboard-form textarea { min-height: 45px; padding: 10px 12px; border: 1px solid #dfe2e8; border-radius: 11px; background: #fff; font-family: inherit; }.dashboard-form textarea { min-height: 120px; resize: vertical; }.dashboard-form input:focus,.dashboard-form select:focus,.dashboard-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb,var(--primary) 9%,transparent); outline: 0; }.dashboard-form input[type=file] { padding: 8px; background: #fafbfc; }.dashboard-form input[type=file]::file-selector-button { margin-left: 10px; padding: 7px 11px; border: 0; border-radius: 8px; background: #eceef2; color: #555c68; font-family: inherit; font-size: .56rem; cursor: pointer; }
.product-form-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 18px; align-items: start; }.product-form-main { display: grid; gap: 18px; }.form-section-card { padding: 22px; }.form-section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #edf0f4; }.form-section-head > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: color-mix(in srgb,var(--primary) 11%,white); color: var(--primary); font-size: .67rem; font-weight: 900; }.form-section-head h2 { margin: 0; font-size: .88rem; }.form-section-head p { margin: 2px 0 0; color: var(--dash-muted); font-size: .56rem; }.form-section-head.compact { padding-bottom: 14px; }.sticky-form-card { position: sticky; top: 94px; }.side-form-fields { display: grid; gap: 15px; }.sticky-form-actions,.modern-form-actions { display: grid; gap: 9px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #edf0f4; }.sticky-form-actions .dashboard-primary-button,.sticky-form-actions .dashboard-secondary-button { width: 100%; }.standalone-form-card { width: min(920px,100%); padding: 25px; }.modern-form-actions { display: flex; flex-direction: row; }.media-upload-grid { margin-top: 20px; }.admin-media-grid { margin-bottom: 20px; }.dashboard-form .field ul[id*="delete"] { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }.dashboard-form .field ul[id*="delete"] label { display: flex; align-items: center; gap: 7px; padding: 9px; border: 1px solid var(--dash-border); border-radius: 9px; }
.order-detail-summary { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 18px; }.order-detail-summary > div { display: flex; min-height: 92px; justify-content: center; flex-direction: column; padding: 16px 18px; border: 1px solid var(--dash-border); border-radius: 16px; background: white; }.order-detail-summary > div > span { color: var(--dash-muted); font-size: .57rem; }.order-detail-summary > div > strong { margin-top: 6px; font-size: .78rem; }.order-detail-summary > div:first-child > strong { font-size: 1.15rem; }.order-detail-summary small { color: var(--dash-muted); font-size: .55rem; }.order-admin-grid { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 18px; align-items: start; }.modern-order-total { display: flex; align-items: center; justify-content: flex-end; gap: 30px; padding: 20px 22px; border-top: 1px solid #edf0f4; background: #fafbfc; }.modern-order-total span { color: var(--dash-muted); font-size: .62rem; }.modern-order-total strong { font-size: 1.05rem; }.order-status-card .dashboard-form,.shipping-card dl,.shipping-person { padding: 18px 20px; }.order-status-card .field { margin-bottom: 13px; }.button-full { width: 100%; }.shipping-person { border-bottom: 1px solid #edf0f4; }.shipping-card dl { display: grid; gap: 15px; margin: 0; }.shipping-card dl div { display: grid; gap: 3px; }.shipping-card dt { color: var(--dash-muted); font-size: .55rem; }.shipping-card dd { margin: 0; color: #4c5360; font-size: .64rem; line-height: 1.8; }
.sidebar-backdrop { display: none; }
.commerce-head { padding: 42px 0 8px; }
.commerce-head > .container > div:last-child { margin-top: 24px; }
.commerce-head h1 { margin: 4px 0; font-size: clamp(2.2rem,4vw,3.6rem); line-height: 1.3; }
.commerce-head p { margin: 0; color: var(--muted); font-size: .8rem; }
.commerce-head.compact { padding-bottom: 0; }
.checkout-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.checkout-steps { display: flex; align-items: center; direction: rtl; padding-bottom: 9px; }
.checkout-steps span { display: flex; align-items: center; gap: 6px; color: #99958d; font-size: .65rem; }
.checkout-steps b { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid #ccc8c0; border-radius: 50%; font-size: .6rem; }
.checkout-steps span.done { color: var(--green); }
.checkout-steps span.done b { border-color: var(--green); background: #e4f5ea; }
.checkout-steps span.active { color: var(--ink); font-weight: 800; }
.checkout-steps span.active b { border-color: var(--ink); background: var(--ink); color: white; }
.checkout-steps i { width: 34px; height: 1px; margin-inline: 8px; background: #d8d4cc; }
.cart-empty > span { display: block; color: #aaa59b; font-size: 3rem; }
.cart-empty .button { margin-top: 15px; }
.line-total { display: flex; flex-direction: column; font-size: .8rem; }
.line-total small { color: var(--muted); font-size: .56rem; font-weight: 500; }
.secure-note { margin: 15px 0 0; color: var(--muted); text-align: center; font-size: .59rem; }
.checkout-section { padding-top: 45px; background: #fbfaf7; }
.form-section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.form-section-title > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: var(--ink); color: white; font-weight: 850; }
.form-section-title h2 { margin: 0; font-size: 1.1rem; }
.form-section-title p { margin: 0; color: var(--muted); font-size: .64rem; }
.checkout-submit { margin-top: 25px; }
.checkout-consent { display: block; margin-top: 10px; color: var(--muted); text-align: center; font-size: .58rem; }
.coordination-note { margin: 20px 0 0; padding: 13px 16px; border: 1px solid #d8e8dc; border-radius: 13px; background: #f1f8f3; color: #52705a; font-size: .62rem; line-height: 2; }
.summary-lines { display: block !important; max-height: 220px; overflow-y: auto; }
.summary-lines > div { display: flex; justify-content: space-between; gap: 14px; margin: 11px 0; font-size: .7rem; }
.summary-lines small { color: var(--muted); }
.checkout-trust { display: flex !important; align-items: center; justify-content: flex-start !important; gap: 9px !important; margin-top: 18px !important; padding: 12px; border-radius: 12px; background: #eef7f1; }
.checkout-trust > span { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: white; color: var(--green); }
.checkout-trust p { display: flex; flex-direction: column; margin: 0; }
.checkout-trust strong { color: var(--green); font-size: .65rem; }
.checkout-trust small { color: #688070; font-size: .56rem; }
.stat-card.stat-featured { background: linear-gradient(135deg,#202225,#121315); color: white; border-color: transparent; }
.stat-card.stat-featured span,.stat-card.stat-featured small { color: #969ba2; }
.stat-card.stat-featured strong { color: white; font-size: 1.65rem; }

/* Phone OTP authentication */
.otp-auth-section { position: relative; display: grid; min-height: 72vh; place-items: center; overflow: hidden; padding: 72px 20px; background: radial-gradient(circle at 12% 18%,color-mix(in srgb,var(--brand) 12%,transparent),transparent 28%), linear-gradient(145deg,#fbfaf7 0%,#f4f1eb 100%); }
.otp-auth-section::before { position: absolute; top: -110px; right: -90px; width: 300px; height: 300px; border: 1px solid rgba(18,19,21,.06); border-radius: 50%; content: ""; }
.otp-auth-shell { position: relative; z-index: 1; display: grid; width: min(920px,100%); min-height: 560px; grid-template-columns: .82fr 1.18fr; overflow: hidden; border: 1px solid rgba(18,19,21,.08); border-radius: 32px; background: #fff; box-shadow: 0 35px 90px rgba(34,30,24,.12); }
.otp-auth-visual { position: relative; display: grid; place-items: center; overflow: hidden; padding: 46px 34px; background: linear-gradient(145deg,#17191d 0%,#25282d 100%); color: #fff; isolation: isolate; }
.otp-auth-visual::after { position: absolute; inset: auto -45% -35% auto; z-index: -1; width: 360px; height: 360px; border-radius: 50%; background: color-mix(in srgb,var(--brand) 72%,#ffae62); filter: blur(2px); content: ""; opacity: .9; }
.otp-visual-orbit { position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.otp-visual-orbit-one { width: 270px; height: 270px; }
.otp-visual-orbit-two { width: 190px; height: 190px; }
.otp-visual-icon { display: grid; width: 108px; height: 108px; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 32px; background: rgba(255,255,255,.09); box-shadow: inset 0 1px 0 rgba(255,255,255,.18),0 18px 40px rgba(0,0,0,.2); backdrop-filter: blur(12px); font-size: 3.2rem; transform: rotate(-7deg); }
.otp-code-icon { transform: rotate(5deg); }
.otp-visual-copy { position: absolute; right: 34px; bottom: 38px; display: flex; flex-direction: column; }
.otp-visual-copy strong { font-size: 1rem; }
.otp-visual-copy span { margin-top: 5px; color: rgba(255,255,255,.64); font-size: .68rem; }
.otp-auth-card { position: relative; display: flex; justify-content: center; flex-direction: column; padding: 62px 68px; }
.otp-auth-brand { position: absolute; top: 35px; left: 38px; display: grid; width: 42px; height: 42px; place-items: center; overflow: hidden; border-radius: 14px 14px 14px 5px; background: var(--brand); color: #fff; font-weight: 900; }
.otp-auth-brand img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.otp-auth-eyebrow { margin-bottom: 12px; color: var(--brand); font-size: .64rem; font-weight: 850; letter-spacing: .2px; }
.otp-auth-card h1 { margin: 0 0 10px; color: var(--ink); font-size: 1.8rem; letter-spacing: -.7px; }
.otp-auth-card > p { max-width: 410px; margin: 0 0 30px; color: var(--muted); font-size: .76rem; line-height: 2; }
.otp-phone-preview { color: var(--ink); font-size: .82rem; white-space: nowrap; }
.otp-auth-form label { display: block; margin-bottom: 9px; color: #474b50; font-size: .68rem; font-weight: 800; }
.otp-input-wrap { display: grid; height: 58px; grid-template-columns: 46px 1fr 48px; align-items: center; overflow: hidden; border: 1px solid #dedbd5; border-radius: 15px; background: #fbfaf8; transition: border-color .2s,box-shadow .2s,background .2s; }
.otp-input-wrap:focus-within,.otp-code-wrap:focus-within { border-color: color-mix(in srgb,var(--brand) 70%,#fff); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb,var(--brand) 10%,transparent); }
.otp-input-wrap.has-error,.otp-code-wrap.has-error { border-color: #dc3545; }
.otp-input-wrap > i { color: #a3a098; text-align: center; font-size: 1.2rem; }
.otp-input-wrap > span { border-right: 1px solid #e4e1db; color: #77736c; text-align: center; direction: ltr; font-size: .72rem; }
.otp-input-wrap input { width: 100%; height: 100%; padding: 0 10px; border: 0; outline: 0; background: transparent; color: var(--ink); font-family: inherit; font-size: .95rem; font-weight: 750; letter-spacing: 1.2px; text-align: left; }
.otp-submit { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; border-radius: 14px; font-size: .76rem; }
.otp-submit i { font-size: 1rem; transition: transform .2s; }
.otp-submit:hover i { transform: translateX(-4px); }
.otp-security-note { display: flex; align-items: flex-start; gap: 9px; margin-top: 25px; padding: 12px 14px; border-radius: 12px; background: #f1f8f3; color: #52715b; font-size: .59rem; line-height: 1.8; }
.otp-security-note i { color: #258847; font-size: .9rem; }
.otp-terms { display: block; margin-top: 17px; color: #99958e; text-align: center; font-size: .56rem; line-height: 1.8; }
.otp-terms a { color: var(--ink); font-weight: 750; }
.otp-field-error,.otp-form-error { margin-top: 8px; color: #c72d3c; font-size: .6rem; line-height: 1.8; }
.otp-form-error { margin: 0 0 13px; padding: 10px 12px; border-radius: 10px; background: #fff1f2; }
.otp-form-error ul { margin: 0; padding: 0; list-style: none; }
.otp-back-link { position: absolute; top: 39px; right: 46px; display: flex; align-items: center; gap: 6px; color: #77736c; font-size: .62rem; font-weight: 750; }
.otp-code-wrap { height: 64px; overflow: hidden; border: 1px solid #dedbd5; border-radius: 15px; background: #fbfaf8; transition: border-color .2s,box-shadow .2s,background .2s; }
.otp-code-wrap input { width: 100%; height: 100%; padding: 0 16px; border: 0; outline: 0; background: transparent; color: var(--ink); font-family: inherit; font-size: 1.65rem; font-weight: 900; letter-spacing: 12px; text-align: center; direction: ltr; }
.otp-resend-form { min-height: 44px; margin-top: 14px; text-align: center; }
.otp-resend-form span { color: #8b8780; font-size: .61rem; }
.otp-resend-form b { color: var(--ink); font-variant-numeric: tabular-nums; }
.otp-resend-form button { padding: 8px; border: 0; background: transparent; color: var(--brand); font-family: inherit; font-size: .64rem; font-weight: 850; cursor: pointer; }
.otp-resend-form button:disabled { color: #aaa; cursor: not-allowed; }

/* Customer account */
.customer-panel-section { min-height: 80vh; padding: 0 0 80px; background: #f7f6f3; }
.customer-panel-head { display: flex; min-height: 210px; align-items: center; justify-content: space-between; gap: 30px; padding-block: 45px; }
.customer-kicker { color: var(--brand); font-size: .65rem; font-weight: 850; }
.customer-panel-head h1 { margin: 8px 0 7px; font-size: 2.25rem; letter-spacing: -1px; }
.customer-panel-head p { margin: 0; color: var(--muted); font-size: .74rem; }
.customer-phone-badge { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid #dfe9e2; border-radius: 15px; background: #f2faf4; color: #237640; }
.customer-phone-badge > i { font-size: 1.2rem; }
.customer-phone-badge span { display: flex; flex-direction: column; }
.customer-phone-badge small { color: #6f8575; font-size: .54rem; }
.customer-phone-badge strong { font-size: .74rem; }
.customer-panel-layout { display: grid; grid-template-columns: 238px minmax(0,1fr); align-items: start; gap: 24px; }
.customer-sidebar { position: sticky; top: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 14px 38px rgba(27,24,20,.05); }
.customer-identity { display: flex; align-items: center; gap: 11px; padding: 22px 18px; border-bottom: 1px solid var(--line); }
.customer-identity > span { display: grid; width: 43px; height: 43px; flex: 0 0 auto; place-items: center; border-radius: 14px; background: var(--ink); color: #fff; font-size: 1rem; font-weight: 900; }
.customer-identity div { display: flex; min-width: 0; flex-direction: column; }
.customer-identity strong { overflow: hidden; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.customer-identity small { margin-top: 4px; color: var(--muted); font-size: .52rem; }
.customer-sidebar nav { display: flex; flex-direction: column; gap: 3px; padding: 13px 10px; }
.customer-sidebar nav a { display: flex; min-height: 43px; align-items: center; gap: 10px; padding: 0 11px; border-radius: 11px; color: #6c6963; font-size: .66rem; font-weight: 730; transition: .2s; }
.customer-sidebar nav a > i { width: 20px; text-align: center; font-size: 1rem; }
.customer-sidebar nav a span { flex: 1; }
.customer-sidebar nav a b { display: grid; min-width: 20px; height: 20px; place-items: center; border-radius: 7px; background: #f0ede8; color: var(--ink); font-size: .52rem; }
.customer-sidebar nav a:hover { color: var(--ink); background: #f7f6f3; }
.customer-sidebar nav a.active { background: color-mix(in srgb,var(--brand) 9%,#fff); color: var(--brand); }
.customer-logout { padding: 11px 13px 14px; border-top: 1px solid var(--line); }
.customer-logout button { display: flex; width: 100%; min-height: 40px; align-items: center; gap: 9px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: #a4434b; font-family: inherit; font-size: .62rem; font-weight: 750; cursor: pointer; }
.customer-logout button:hover { background: #fff2f3; }
.customer-panel-content { min-width: 0; }
.customer-panel-card { border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 34px rgba(27,24,20,.04); }
.customer-stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 18px; }
.customer-stat-grid article { display: flex; min-height: 118px; align-items: center; gap: 12px; padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.customer-stat-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 14px; font-size: 1rem; }
.customer-stat-icon.coral { background: #fff0ec; color: var(--brand); }.customer-stat-icon.blue { background: #edf4ff; color: #3273c8; }.customer-stat-icon.green { background: #eaf7ee; color: #278046; }.customer-stat-icon.rose { background: #fff0f4; color: #c63f65; }
.customer-stat-grid article > div { display: flex; min-width: 0; flex-direction: column; }
.customer-stat-grid small { color: var(--muted); font-size: .53rem; }
.customer-stat-grid strong { margin-block: 2px; font-size: 1.35rem; }
.customer-stat-grid .customer-money { overflow: hidden; font-size: .94rem; text-overflow: ellipsis; }
.customer-stat-grid article div span { color: #9a968f; font-size: .49rem; }
.customer-dashboard-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(250px,.7fr); gap: 18px; }
.customer-recent-orders,.customer-address-summary,.customer-form-card,.order-tracking-card,.customer-order-detail-grid > section,.customer-detail-side > section,.customer-panel-content > .customer-panel-card { padding: 24px; }
.customer-card-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 19px; }
.customer-card-head > div { display: flex; flex-direction: column; }
.customer-card-head span { color: var(--brand); font-size: .52rem; font-weight: 800; }
.customer-card-head h2 { margin: 3px 0 0; font-size: .98rem; }
.customer-card-head > a { color: #6e6a64; font-size: .58rem; font-weight: 750; }
.customer-order-list > a { display: grid; grid-template-columns: 39px minmax(0,1fr) auto 14px; align-items: center; gap: 10px; padding: 13px 0; border-top: 1px solid #f0eee9; }
.customer-order-list > a:first-child { border-top: 0; }
.customer-order-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: #f2f0eb; color: #68645d; }
.customer-order-list > a > div:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.customer-order-list strong { font-size: .65rem; }.customer-order-list small { margin-top: 3px; color: var(--muted); font-size: .51rem; }
.customer-order-end { display: flex; align-items: flex-end; flex-direction: column; gap: 4px; }
.customer-order-end b { font-size: .62rem; }.customer-order-end b small { font-size: .45rem; }
.customer-status { display: inline-flex; width: max-content; padding: 4px 8px; border-radius: 20px; background: #f0f0ee; color: #686762 !important; font-size: .48rem !important; font-weight: 800; }
.customer-status.status-pending { background: #fff5dd; color: #9b6c08 !important; }.customer-status.status-confirmed { background: #edf3ff; color: #376ba9 !important; }.customer-status.status-processing { background: #f3edff; color: #7351aa !important; }.customer-status.status-shipped { background: #eaf7fa; color: #237585 !important; }.customer-status.status-delivered { background: #eaf7ee; color: #277744 !important; }.customer-status.status-canceled { background: #fff0f1; color: #ae3c46 !important; }
.customer-address-summary .address-pin { display: grid; width: 48px; height: 48px; margin-bottom: 18px; place-items: center; border-radius: 16px; background: #fff0ec; color: var(--brand); font-size: 1.2rem; }
.customer-address-summary > strong { font-size: .76rem; }.customer-address-summary > p { min-height: 62px; margin: 8px 0 13px; color: var(--muted); font-size: .6rem; line-height: 2; }.customer-address-summary > small { color: #817d76; font-size: .54rem; }
.customer-empty { display: flex; min-height: 300px; align-items: center; justify-content: center; flex-direction: column; padding: 30px; text-align: center; }
.customer-empty.compact { min-height: 180px; padding: 15px; }.customer-empty.full { grid-column: 1/-1; }
.customer-empty > i { margin-bottom: 10px; color: #b9b5ad; font-size: 2.2rem; }.customer-empty strong { font-size: .75rem; }.customer-empty p { color: var(--muted); font-size: .6rem; }.customer-empty a:not(.button) { margin-top: 8px; color: var(--brand); font-size: .59rem; font-weight: 800; }
.customer-recommendations { margin-top: 32px; }.customer-recommendations .product-grid { grid-template-columns: repeat(4,1fr); gap: 12px; }
.customer-section-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.customer-section-actions > div { display: flex; flex-direction: column; }.customer-section-actions span { color: var(--brand); font-size: .55rem; font-weight: 800; }.customer-section-actions strong { margin-top: 3px; font-size: .86rem; }.customer-section-actions > a:not(.button) { color: var(--ink); font-size: .62rem; font-weight: 800; }
.customer-orders-head form { display: flex; align-items: center; gap: 8px; }.customer-orders-head label { color: var(--muted); font-size: .55rem; }.customer-orders-head select { min-width: 145px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #faf9f6; font-family: inherit; font-size: .58rem; }
.customer-order-cards { display: grid; gap: 12px; }.customer-order-cards article { padding: 17px; border: 1px solid #eeece7; border-radius: 15px; }
.customer-order-card-head,.customer-order-card-head > div { display: flex; align-items: center; gap: 10px; }.customer-order-card-head { justify-content: space-between; }.customer-order-card-head > div > div { display: flex; flex-direction: column; }.customer-order-card-head strong { font-size: .68rem; }.customer-order-card-head small { color: var(--muted); font-size: .5rem; }
.customer-order-card-body { display: grid; grid-template-columns: repeat(3,1fr) auto; align-items: end; gap: 15px; margin-top: 15px; padding-top: 14px; border-top: 1px solid #f0eee9; }.customer-order-card-body > div { display: flex; flex-direction: column; }.customer-order-card-body small { color: var(--muted); font-size: .5rem; }.customer-order-card-body strong { margin-top: 3px; font-size: .64rem; }.customer-order-card-body strong span { font-size: .46rem; }.customer-order-card-body > a { color: var(--brand); font-size: .58rem; font-weight: 800; }
.payment-paid { color: #278046 !important; }.payment-unpaid,.payment-failed { color: #b37a16 !important; }.payment-refunded { color: #47739c !important; }
.customer-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; color: #77736c; font-size: .6rem; font-weight: 750; }
.order-progress { display: flex; align-items: flex-start; justify-content: space-between; padding: 22px 4px 6px; }.order-progress > div { display: flex; width: 74px; align-items: center; flex-direction: column; gap: 8px; text-align: center; }.order-progress > div span { display: grid; width: 42px; height: 42px; place-items: center; border: 2px solid #e4e1db; border-radius: 50%; background: #fff; color: #aaa69f; font-size: 1rem; }.order-progress > div strong { color: #99958e; font-size: .52rem; }.order-progress > div.done span,.order-progress > div.active span { border-color: #4b9c65; background: #eaf7ee; color: #278046; }.order-progress > div.active span { box-shadow: 0 0 0 5px #f0f9f2; }.order-progress > div.done strong,.order-progress > div.active strong { color: #277744; }.progress-line { height: 2px; flex: 1; margin-top: 20px; background: #e4e1db; }.progress-line.done { background: #75b789; }
.order-canceled-note { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 14px; background: #fff1f2; color: #aa3640; }.order-canceled-note > i { font-size: 1.4rem; }.order-canceled-note div { display: flex; flex-direction: column; }.order-canceled-note strong { font-size: .68rem; }.order-canceled-note span { margin-top: 3px; color: #a9686e; font-size: .54rem; }
.customer-order-detail-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(250px,.65fr); align-items: start; gap: 16px; margin-top: 16px; }.customer-detail-side { display: grid; gap: 16px; }
.customer-order-items > div { display: grid; grid-template-columns: 60px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid #f0eee9; }.customer-order-items > div:first-child { border-top: 0; }.customer-order-items img,.order-item-placeholder { display: grid; width: 60px; height: 60px; place-items: center; border-radius: 12px; background: #f1efe9; object-fit: cover; font-weight: 900; }.customer-order-items > div > div { display: flex; flex-direction: column; }.customer-order-items strong { font-size: .65rem; }.customer-order-items small { margin-top: 4px; color: var(--muted); font-size: .51rem; }.customer-order-items > div > b { font-size: .64rem; }.customer-order-items > div > b small { font-size: .45rem; }
.customer-price-summary dl { margin: 0; }.customer-price-summary dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; color: #716e68; font-size: .58rem; }.customer-price-summary dl .total { margin-top: 8px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 850; }.payment-pill,.coordination-pill { display: flex; align-items: center; gap: 9px; margin-top: 14px; padding: 12px; border-radius: 12px; background: #f1f8f3; color: #287040; }.payment-pill > i,.coordination-pill > i { font-size: 1rem; }.payment-pill span,.coordination-pill span { display: flex; flex-direction: column; }.payment-pill small,.coordination-pill small { color: #67806f; font-size: .48rem; }.payment-pill strong,.coordination-pill strong { font-size: .59rem; }
.order-coordination-note { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 14px; border: 1px solid #d7e8dc; border-radius: 14px; background: #f1f8f3; color: #287040; }.order-coordination-note > i { font-size: 1.25rem; }.order-coordination-note > div { display: flex; flex-direction: column; }.order-coordination-note strong { font-size: .65rem; }.order-coordination-note span { margin-top: 3px; color: #617868; font-size: .53rem; line-height: 1.9; }
.dashboard-coordination-hint { margin: 0 0 16px; padding: 11px 12px; border-radius: 11px; background: #f2f6ff; color: #596a86; font-size: .55rem; line-height: 1.9; }.call-customer-button { margin-top: 15px; }
.customer-delivery-box .customer-card-head > i { color: var(--brand); font-size: 1.2rem; }.customer-delivery-box p { color: #716e68; font-size: .59rem; line-height: 2; }.customer-delivery-box > small { display: block; color: var(--muted); font-size: .52rem; }.customer-delivery-box > strong { display: block; margin-top: 9px; font-size: .65rem; text-align: right; }
.customer-form-card { max-width: 780px; }.profile-verified { display: block !important; padding: 7px 10px; border-radius: 20px; background: #eaf7ee; color: #278046; font-size: .52rem; font-weight: 800; }.customer-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }.customer-form .field-wide { grid-column: 1/-1; }.customer-form .field label:not(.customer-check) { display: block; margin-bottom: 7px; color: #55514b; font-size: .59rem; font-weight: 800; }.customer-form input:not([type="checkbox"]),.customer-form textarea { width: 100%; padding: 11px 12px; border: 1px solid #dedbd5; border-radius: 11px; outline: none; background: #fbfaf8; font-family: inherit; font-size: .65rem; }.customer-form textarea { resize: vertical; line-height: 1.9; }.customer-form input:focus,.customer-form textarea:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb,var(--brand) 8%,transparent); }.customer-form .field > small { display: block; margin-top: 6px; }.customer-form .errorlist { margin: 6px 0 0; padding: 0; color: #b73843; font-size: .55rem; list-style: none; }
.locked-phone { display: flex; min-height: 42px; align-items: center; gap: 8px; padding: 0 12px; border: 1px dashed #d8d4cc; border-radius: 11px; background: #f4f3f0; }.locked-phone i { color: #aaa; }.locked-phone span { flex: 1; font-size: .66rem; }.locked-phone b { color: #278046; font-size: .5rem; }.customer-form-actions { display: flex; align-items: center; gap: 18px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }.customer-form-actions a { color: var(--muted); font-size: .59rem; font-weight: 750; }
.customer-check { display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px solid #e4e1db; border-radius: 12px; cursor: pointer; }.customer-check input { width: 18px; height: 18px; accent-color: var(--brand); }.customer-check span { display: flex; flex-direction: column; }.customer-check strong { font-size: .62rem; }.customer-check small { margin-top: 2px; color: var(--muted); font-size: .51rem; }
.account-security-card { display: flex; max-width: 780px; align-items: center; gap: 14px; margin-top: 15px; padding: 18px !important; }.account-security-card > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: #edf4ff; color: #3273c8; }.account-security-card div { display: flex; flex-direction: column; }.account-security-card strong { font-size: .65rem; }.account-security-card p { margin: 3px 0 0; color: var(--muted); font-size: .53rem; }
.customer-address-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.address-card { position: relative; padding: 20px; }.address-card.default { border-color: color-mix(in srgb,var(--brand) 35%,#ddd); }.address-card.default::before { position: absolute; top: 0; right: 22px; left: 22px; height: 3px; border-radius: 0 0 3px 3px; background: var(--brand); content: ""; }.address-card-head { display: flex; align-items: center; gap: 10px; }.address-card-head > span { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 12px; background: #f3f1ec; color: #6e6a63; }.address-card-head > div { display: flex; flex: 1; flex-direction: column; }.address-card-head strong { font-size: .68rem; }.address-card-head small { margin-top: 2px; color: var(--brand); font-size: .49rem; }.address-card-head > a { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: #f6f4f0; color: #77736c; }.address-card > p { min-height: 64px; margin: 17px 0; color: #6d6963; font-size: .59rem; line-height: 2; }.address-card dl { display: grid; gap: 6px; margin: 0; }.address-card dl div { display: flex; align-items: center; gap: 8px; color: #88847d; font-size: .53rem; }.address-card dt { width: 17px; color: #aaa69f; }.address-card dd { margin: 0; }.address-card-actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 13px; border-top: 1px solid #f0eee9; }.address-card-actions button { padding: 4px 0; border: 0; background: transparent; color: #66625c; font-family: inherit; font-size: .52rem; font-weight: 750; cursor: pointer; }.address-card-actions button.danger { color: #b6424b; }
.customer-wishlist-section .product-grid { gap: 15px; }.customer-wishlist-section [data-wishlist-item] { min-width: 0; }
.wishlist-form { position: absolute; top: 13px; left: 13px; z-index: 4; }.wishlist-button { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(20,20,20,.08); border-radius: 50%; background: rgba(255,255,255,.92); color: #69655e; box-shadow: 0 7px 18px rgba(20,18,14,.08); cursor: pointer; backdrop-filter: blur(8px); transition: .2s; }.wishlist-button:hover,.wishlist-button.is-active { border-color: #ffd4dc; background: #fff0f3; color: #df355a; transform: translateY(-2px); }.wishlist-button.is-busy { opacity: .6; pointer-events: none; }
.detail-wishlist-form { position: static; margin: 12px 0; }.detail-wishlist-button { display: flex; width: auto; height: 40px; align-items: center; gap: 8px; padding: 0 13px; border-radius: 11px; box-shadow: none; font-family: inherit; font-size: .57rem; font-weight: 800; }.detail-wishlist-button:hover,.detail-wishlist-button.is-active { transform: none; }
.success-actions { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }.success-actions > a:not(.button) { color: var(--muted); font-size: .62rem; font-weight: 750; }

/* Structured product variants */
.structured-variant-picker { margin: 20px 0 8px; padding: 18px; border: 1px solid #e7e3dc; border-radius: 16px; background: #faf9f6; }
.variant-choice-group + .variant-choice-group { margin-top: 18px; padding-top: 16px; border-top: 1px solid #ebe8e2; }
.variant-choice-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }.variant-choice-label label { font-size: .65rem; font-weight: 850; }.variant-choice-label span { color: var(--brand); font-size: .55rem; font-weight: 800; }
.variant-choice-values { display: flex; flex-wrap: wrap; gap: 8px; }.variant-choice { display: flex; min-width: 48px; height: 39px; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; border: 1px solid #dedad2; border-radius: 10px; background: #fff; color: #514e48; font-family: inherit; font-size: .6rem; font-weight: 800; cursor: pointer; transition: .18s; }.variant-choice:hover { border-color: #aaa49a; }.variant-choice.is-selected { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb,var(--brand) 9%,transparent); }.variant-choice:disabled { opacity: .32; cursor: not-allowed; text-decoration: line-through; }
.variant-choice.color-choice { padding: 0 11px; }.variant-choice.color-choice i { width: 19px; height: 19px; border: 2px solid #fff; border-radius: 50%; background: var(--choice-color); box-shadow: 0 0 0 1px #d6d2ca; }.variant-choice.color-choice.is-selected i { box-shadow: 0 0 0 2px var(--brand); }
.variant-picker-help { display: block; margin-top: 12px; color: #8b877f; font-size: .53rem; }.variant-picker-help.unavailable { color: #b63d47; }
.product-head-actions { display: flex; align-items: center; gap: 12px; }.product-head-actions .dashboard-primary-button { text-decoration: none; }
.variant-option-panel,.variant-combination-panel { margin-bottom: 20px; padding: 24px; }.variant-option-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; }.variant-option-grid > article { padding: 16px; border: 1px solid #e8e5df; border-radius: 15px; background: #fbfaf8; }.variant-option-head { display: flex; align-items: center; gap: 10px; }.variant-option-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: #ece9e3; color: #65615b; }.variant-option-head > div { display: flex; flex: 1; flex-direction: column; }.variant-option-head strong { font-size: .68rem; }.variant-option-head small { color: var(--muted); font-size: .5rem; }.variant-option-head > a { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: #fff; color: #77736c; }
.variant-value-list { display: flex; min-height: 52px; flex-wrap: wrap; align-content: flex-start; gap: 6px; margin: 15px 0; }.variant-value-list > span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 8px; background: #fff; color: #5f5b55; font-size: .52rem; }.variant-value-list > span.inactive { opacity: .4; text-decoration: line-through; }.variant-value-list span i { width: 13px; height: 13px; border: 1px solid #ccc; border-radius: 50%; background: var(--swatch); }.variant-option-grid article > form button { padding: 3px 0; border: 0; background: transparent; color: #b0434c; font-family: inherit; font-size: .5rem; cursor: pointer; }
.variant-admin-table input[type="text"],.variant-admin-table input[type="number"],.variant-admin-table select { min-width: 100px; padding: 8px; border: 1px solid #ddd9d1; border-radius: 9px; background: #fff; font-family: inherit; font-size: .56rem; }.variant-admin-table select { max-width: 150px; }.variant-admin-table .errorlist { padding: 0; color: #b63d47; font-size: .48rem; list-style: none; }.variant-combo-title { display: flex; min-width: 130px; flex-direction: column; }.variant-combo-title strong { font-size: .62rem; }.variant-combo-title small { margin-top: 3px; color: var(--muted); font-size: .48rem; }.variant-check-cell input { width: 18px; height: 18px; accent-color: var(--primary,var(--brand)); }
.variant-save-bar { position: sticky; bottom: 12px; display: flex; z-index: 10; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; padding: 13px 16px; border: 1px solid #dcd8d0; border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: 0 15px 40px rgba(18,20,24,.12); backdrop-filter: blur(12px); }.variant-save-bar > div { display: flex; align-items: center; gap: 8px; color: #77736c; font-size: .55rem; }
.option-editor-form .product-form-main { display: grid; gap: 18px; }.option-value-formset { display: grid; gap: 10px; }.option-value-formset > article { padding: 14px; border: 1px solid #e8e5df; border-radius: 13px; background: #fbfaf8; }.option-value-formset .form-grid { grid-template-columns: 1.3fr .7fr .6fr .5fr; }.option-delete-row { display: inline-flex; align-items: center; gap: 6px; margin-top: 9px; color: #ad3d46; font-size: .52rem; cursor: pointer; }

@media (max-width: 1050px) {
  .header-action > span:last-child, .global-search kbd { display: none; }
  .hero-content { width: 56%; padding-right: 38px; }
  .category-showcase { gap-inline: 28px; }
  .product-grid { grid-template-columns: repeat(3,1fr); }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
  .footer-contact { grid-column: 1/-1; }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .dashboard-overview-grid { grid-template-columns: 1fr; }
  .dashboard-side-stack { grid-template-columns: 1fr 1fr; }
  .dashboard-product-strip { grid-template-columns: repeat(3,1fr); }
  .product-form-layout { grid-template-columns: 1fr; }
  .banner-form-grid { grid-template-columns: 1fr; }
  .sticky-form-card { position: static; }
  .customer-stat-grid { grid-template-columns: repeat(2,1fr); }
  .customer-dashboard-grid { grid-template-columns: 1fr; }
  .customer-address-summary { display: none; }
  .customer-recommendations .product-grid { grid-template-columns: repeat(3,1fr); }
  .variant-option-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 820px) {
  body { padding-bottom: 65px; }
  .container { width: min(100% - 28px, 680px); }
  .announcement-note, .category-bar, .header-actions .header-action { display: none; }
  .header-main { min-height: 70px; gap: 14px; }
  .brand-copy small { display: none; }
  .global-search { width: auto; flex: 1; height: 43px; margin: 0; }
  .global-search input { font-size: .68rem; }
  .global-search button { width: 40px; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: flex; width: 34px; height: 34px; flex-direction: column; justify-content: center; gap: 4px; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 22px; height: 2px; border-radius: 2px; background: var(--ink); }
  .mobile-menu nav { position: absolute; top: 70px; right: 14px; left: 14px; display: flex; flex-direction: column; padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: var(--shadow); }
  .mobile-menu nav a { padding: 9px; font-size: .76rem; }
  .cart-action { width: 40px; height: 40px; }
  .mobile-bottom-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 70; display: grid; grid-template-columns: repeat(4,1fr); height: 64px; border-top: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(15px); }
  .mobile-bottom-nav a { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; color: #74716b; font-size: .58rem; }
  .mobile-bottom-nav span { color: var(--ink); font-size: 1.18rem; line-height: 1.1; }
  .mobile-bottom-nav b { position: absolute; top: 7px; left: 28%; display: grid; min-width: 17px; height: 17px; place-items: center; border-radius: 50%; background: var(--brand); color: white; font-size: .48rem; }
  .new-hero { padding: 12px 0 42px; }
  .hero-stage { height: 430px; min-height: 0; border-radius: 24px; }
  .hero-stage > img { height: 50%; top: auto; bottom: 0; object-position: 23% center; }
  .hero-overlay { background: linear-gradient(180deg,#f8f0e5 44%,rgba(248,240,229,.62) 61%,rgba(248,240,229,0) 100%); }
  .hero-slide .hero-overlay,.hero-slide.position-left .hero-overlay { background: linear-gradient(180deg,rgba(248,240,229,.97) 0%,rgba(248,240,229,.78) 48%,rgba(248,240,229,.08) 100%); }
  .hero-slide.theme-light .hero-overlay,.hero-slide.theme-light.position-left .hero-overlay { background: linear-gradient(180deg,rgba(8,11,17,.8) 0%,rgba(8,11,17,.54) 50%,rgba(8,11,17,.08) 100%); }
  .hero-slide.position-left .hero-content { margin-right: 0; padding: 28px 30px; }
  .hero-content { width: 100%; padding: 28px 30px; }
  .hero-content h1 { font-size: 2.25rem; letter-spacing: -1.35px; }
  .hero-content > p { font-size: .84rem; }
  .hero-proof { margin-top: 28px; }
  .hero-float { bottom: 15px; left: 15px; min-width: 170px; }
  .category-section,.featured-section,.editorial-section,.story-section { padding: 52px 0; }
  .category-showcase { gap: 20px 16px; }
  .modern-category { flex-basis: 96px; }
  .category-visual { width: 96px; height: 96px; }
  .category-visual span { font-size: 1.9rem; }
  .modern-category strong { font-size: .72rem; }
  .modern-category small { display: none; }
  .product-grid,.product-grid-three { grid-template-columns: repeat(2,1fr); gap: 20px 11px; }
  .modern-product-body h3 { font-size: .78rem; }
  .editorial-grid,.story-grid { grid-template-columns: 1fr; gap: 18px; }
  .editorial-card { min-height: 380px; padding: 38px; }
  .editorial-card a { right: 38px; bottom: 35px; }
  .story-grid { gap: 25px; }
  .collection-title { min-height: 190px; padding: 30px; }
  .collection-art { width: 150px; transform: scale(.75); transform-origin: left center; }
  .collection-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .product-layout { grid-template-columns: 1fr; gap: 30px; }
  .product-info { position: static; }
  .product-description { grid-template-columns: 1fr; gap: 15px; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .service-grid > div:nth-child(2) { border-left: 0; }
  .service-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-about,.footer-contact { grid-column: 1/-1; }
  .cart-layout,.checkout-layout,.order-admin-grid { grid-template-columns: 1fr; }
  .checkout-heading { align-items: flex-start; flex-direction: column; }
  .checkout-steps { width: 100%; justify-content: center; }
  .order-summary { position: static; }
  .dashboard-body { padding-bottom: 0; }
  .dashboard-shell { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: fixed; top: 0; right: 0; z-index: 120; width: min(310px,86vw); height: 100vh; transform: translateX(110%); transition: transform .28s ease; }
  .sidebar-open .dashboard-sidebar { transform: translateX(0); }
  .sidebar-close { display: block; }
  .sidebar-open { overflow: hidden; }
  .sidebar-backdrop { position: fixed; inset: 0; z-index: 110; display: block; background: rgba(12,17,27,.48); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .sidebar-open .sidebar-backdrop { opacity: 1; pointer-events: auto; }
  .mobile-menu-button { display: grid; }
  .dashboard-content { padding: 24px 18px 55px; }
  .dashboard-topbar { padding-inline: 18px; }
  .dashboard-welcome,.dashboard-page-head { align-items: flex-start; flex-direction: column; gap: 17px; }
  .dashboard-welcome .welcome-actions { width: 100%; }
  .dashboard-overview-grid,.order-admin-grid { grid-template-columns: 1fr; }
  .order-detail-summary { grid-template-columns: repeat(2,1fr); }
  .otp-auth-section { min-height: 68vh; padding: 42px 16px; }
  .otp-auth-shell { width: min(520px,100%); min-height: 0; grid-template-columns: 1fr; }
  .otp-auth-visual { display: none; }
  .otp-auth-card { min-height: 520px; padding: 66px 60px 48px; }
  .customer-panel-layout { grid-template-columns: 1fr; }
  .customer-sidebar { position: static; overflow-x: auto; border-radius: 16px; }
  .customer-identity,.customer-logout { display: none; }
  .customer-sidebar nav { min-width: 560px; flex-direction: row; padding: 8px; }
  .customer-sidebar nav a { flex: 1; justify-content: center; padding-inline: 8px; }
  .customer-sidebar nav a > i { width: auto; }.customer-sidebar nav a b { display: none; }
  .customer-order-detail-grid { grid-template-columns: 1fr; }
  .customer-recommendations .product-grid { grid-template-columns: repeat(2,1fr); }
  .variant-option-grid { grid-template-columns: 1fr; }
  .option-value-formset .form-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .brand-copy { display: none; }
  .brand > img { width: 42px; height: 42px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px 12px 12px 4px; }
  .announcement-inner { justify-content: center; }
  .header-main { gap: 9px; }
  .hero-stage { height: 410px; min-height: 0; }
  .hero-content { padding: 26px 24px; }
  .hero-content h1 { font-size: 2.05rem; }
  .hero-actions { gap: 16px; }
  .hero-actions .button { min-height: 48px; padding-inline: 17px; }
  .hero-proof { display: none; }
  .section-heading { align-items: center; }
  .section-heading h2 { font-size: 1.55rem; }
  .underlined-link { font-size: .67rem; }
  .modern-price strong { font-size: .84rem; }
  .modern-price del { display: block; }
  .editorial-card { min-height: 340px; padding: 30px; }
  .editorial-card h2 { font-size: 2rem; }
  .editorial-card a { right: 30px; bottom: 28px; }
  .collection-title { min-height: 180px; padding: 25px; }
  .collection-art { display: none; }
  .collection-title h1 { font-size: 2rem; }
  .collection-toolbar { align-items: center; }
  .collection-toolbar form label { display: none; }
  .product-info h1 { font-size: 2rem; }
  .buy-row { grid-template-columns: 105px 1fr; }
  .product-promises { grid-template-columns: 1fr; }
  .product-promises > div { padding: 10px; }
  .cart-item { grid-template-columns: 72px 1fr auto; }
  .cart-thumb { width: 72px; height: 72px; }
  .quantity-form,.cart-item > strong { grid-column: 2; }
  .checkout-steps span { font-size: 0; }
  .checkout-steps b { font-size: .58rem; }
  .footer-main { grid-template-columns: 1fr; padding-block: 50px; }
  .footer-main > div { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 5px; }
  .success-details { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-card { min-height: 120px; }
  .dashboard-side-stack { grid-template-columns: 1fr; }
  .dashboard-product-strip { grid-template-columns: repeat(2,1fr); }
  .topbar-store-link { display: none; }
  .topbar-add span { display: none; }
  .topbar-add { width: 40px; padding: 0; justify-content: center; }
  .welcome-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .dashboard-primary-button,.dashboard-secondary-button { padding-inline: 12px; }
  .order-detail-summary { grid-template-columns: 1fr; }
  .modern-form-actions { display: grid; }
  .dashboard-form .field ul[id*="delete"] { grid-template-columns: 1fr; }
  .slider-arrow { width: 34px; height: 34px; }
  .floating-save-bar { align-items: stretch; flex-direction: column; }.floating-save-bar > div { display: grid; grid-template-columns: 1fr 1fr; }
  .ajax-toast-stack { top: 88px; right: 16px; left: 16px; }
  .ajax-toast { width: 100%; min-width: 0; }
  .otp-auth-section { padding: 22px 12px; }
  .otp-auth-shell { border-radius: 24px; }
  .otp-auth-card { min-height: 490px; padding: 70px 25px 38px; }
  .otp-auth-brand { top: 24px; left: 25px; }
  .otp-back-link { top: 29px; right: 25px; }
  .otp-auth-card h1 { font-size: 1.55rem; }
  .otp-code-wrap input { font-size: 1.35rem; letter-spacing: 9px; }
  .customer-panel-head { min-height: 170px; }
}

@media (max-width: 560px) {
  .customer-panel-section { padding-bottom: 45px; }
  .customer-panel-head { min-height: 145px; align-items: flex-start; flex-direction: column; gap: 15px; padding-block: 28px; }
  .customer-panel-head h1 { font-size: 1.7rem; }.customer-panel-head p { font-size: .62rem; }
  .customer-phone-badge { padding: 8px 11px; }
  .customer-sidebar nav { min-width: 475px; }.customer-sidebar nav a { flex-direction: column; gap: 3px; font-size: .51rem; }
  .customer-stat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }.customer-stat-grid article { min-height: 100px; padding: 12px; }.customer-stat-icon { width: 35px; height: 35px; }.customer-stat-grid strong { font-size: 1.05rem; }.customer-stat-grid .customer-money { font-size: .72rem; }
  .customer-recent-orders,.customer-form-card,.order-tracking-card,.customer-order-detail-grid > section,.customer-detail-side > section,.customer-panel-content > .customer-panel-card { padding: 17px; }
  .customer-order-list > a { grid-template-columns: 36px minmax(0,1fr) 12px; }.customer-order-end { grid-column: 2; align-items: flex-start; flex-direction: row; }.customer-order-list > a > i { grid-row: 1/3; grid-column: 3; }
  .customer-orders-head { align-items: flex-start; flex-direction: column; }.customer-orders-head form { width: 100%; }.customer-orders-head select { flex: 1; }
  .customer-order-card-body { grid-template-columns: 1fr 1fr; }.customer-order-card-body > a { grid-column: 1/-1; padding-top: 8px; }
  .order-progress { overflow-x: auto; }.order-progress > div { min-width: 60px; }.progress-line { min-width: 22px; }
  .customer-form-grid,.customer-address-grid { grid-template-columns: 1fr; }.customer-form .field-wide { grid-column: auto; }
  .customer-section-actions { align-items: flex-start; }.customer-section-actions .button { padding-inline: 13px; font-size: .56rem; }
  .customer-order-items > div { grid-template-columns: 52px minmax(0,1fr); }.customer-order-items img,.order-item-placeholder { width: 52px; height: 52px; }.customer-order-items > div > b { grid-column: 2; }
  .success-actions { align-items: stretch; flex-direction: column; }.success-actions > a { text-align: center; }
  .product-head-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .variant-save-bar { align-items: stretch; flex-direction: column; }.variant-save-bar button { width: 100%; }
  .option-value-formset .form-grid { grid-template-columns: 1fr; }
}
