/* Approved preview design, copied as-is from apps/storefront/preview/styles.css so the WordPress site and the preview share every rule.
   Do not edit here: change the preview file and copy it again (only the image path differs). */
* { box-sizing: border-box; }

body {
  margin: 0;
  overflow-x: hidden;
}

html[data-theme="dark"] {
  --st-ink: #ffffff;
  --st-white: #22324b;
  --st-paper: #22324b;
  --st-line: rgba(169, 142, 101, 0.38);
  --st-muted: rgba(255, 255, 255, 0.72);
}

html[data-theme="dark"] body { background: #22324b; color: var(--st-ink); }
html[data-theme="dark"] .preview-header { background: rgba(34, 50, 75, 0.97); }
html[data-theme="dark"] .preview-header-brand,
html[data-theme="dark"] .preview-nav a,
html[data-theme="dark"] .preview-nav > button { color: #ffffff; }
html[data-theme="dark"] .preview-nav .preview-language-toggle { color: #a98e65; }
html[data-theme="dark"] .preview-catalog { background: #22324b; }
html[data-theme="dark"] .preview-category-panel { background: #22324b; border-color: rgba(169, 142, 101, 0.38); }
html[data-theme="dark"] .preview-category-panel__title { border-color: rgba(169, 142, 101, 0.38); }
html[data-theme="dark"] .preview-category-panel__title h2,
html[data-theme="dark"] .preview-filter { color: #ffffff; }
html[data-theme="dark"] .preview-filter:hover,
html[data-theme="dark"] .preview-filter.is-active { background: #22324b; color: #ffffff; }
html[data-theme="dark"] .preview-filter b { background: rgba(255, 255, 255, 0.1); }
html[data-theme="dark"] .preview-search,
html[data-theme="dark"] .preview-sort select { background: #22324b; border-color: rgba(169, 142, 101, 0.38); color: var(--st-ink); }
html[data-theme="dark"] .preview-footer { background: #22324b; }
html[data-theme="dark"] .preview-product-dialog,
html[data-theme="dark"] .preview-cart,
html[data-theme="dark"] .preview-menu-panel { background: #22324b; color: var(--st-ink); }
html[data-theme="dark"] .shikhtech-product-card__visual { background: linear-gradient(145deg, #22324b, #22324b); }
html[data-theme="dark"] .preview-detail-meta dt { color: #ffffff; }
html[data-theme="dark"] .preview-detail-meta dd,
html[data-theme="dark"] .preview-detail-meta button,
html[data-theme="dark"] .preview-detail-specs h2,
html[data-theme="dark"] .preview-detail-specs ul,
html[data-theme="dark"] .preview-detail-buy strong { color: #ffffff; }
html[data-theme="dark"] .preview-cart-item__copy > span,
html[data-theme="dark"] .preview-menu-toggle { color: #ffffff; }

body.is-cart-open { overflow: hidden; }
body.is-menu-open { overflow: hidden; }
body.is-product-open { overflow: hidden; }

button,
input { font: inherit; }

button { cursor: pointer; }

.preview-category-card {
  border: 0;
  color: inherit;
  text-align: start;
  width: 100%;
}

.screen-reader-text {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  clip: rect(0, 0, 0, 0);
}

.preview-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--st-line);
  box-shadow: 0 8px 28px rgba(34, 50, 75, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

.preview-header__inner {
  align-items: center;
  display: flex;
  gap: 1.4rem;
  min-height: 72px;
  position: relative;
}

.preview-header-brand {
  align-items: center;
  color: var(--st-ink);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.92rem;
  font-weight: 950;
  gap: 0.65rem;
  text-decoration: none;
}

.preview-header-brand img { height: 42px; object-fit: contain; width: 42px; }

.preview-brand {
  align-items: center;
  color: white;
  display: inline-flex;
  text-decoration: none;
}

.preview-brand img {
  height: 82px;
  object-fit: contain;
  width: 82px;
}

.preview-nav {
  align-items: center;
  display: flex;
  gap: clamp(0.7rem, 2vw, 1.8rem);
  overflow: visible;
  scrollbar-width: none;
  width: 100%;
}

.preview-nav::-webkit-scrollbar { display: none; }

.preview-nav a,
.preview-nav > button,
.preview-language-toggle,
.preview-theme-toggle,
.preview-menu-toggle {
  background: none;
  border: 0;
  color: var(--st-navy);
  flex: 0 0 auto;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 0.5rem 0;
  text-decoration: none;
}

.preview-nav > button {
  background: none;
  border: 0;
  color: var(--st-navy);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0.5rem 0;
}

.preview-language-toggle,
.preview-theme-toggle,
.preview-menu-toggle { align-items: center; display: inline-flex; gap: 0.35rem; }

.preview-language-toggle { color: var(--st-ink); margin-inline-start: 0; }

.preview-language-menu {
  background: var(--st-white);
  border: 1px solid var(--st-line);
  border-radius: 14px;
  box-shadow: var(--st-shadow);
  display: grid;
  gap: 0.2rem;
  inset-inline-end: 0;
  padding: 0.4rem;
  position: absolute;
  top: calc(100% + 0.55rem);
  z-index: 60;
}

.preview-language-menu[hidden] { display: none; }
.preview-language-menu button,
.preview-menu-panel button,
.preview-menu-panel a {
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: var(--st-ink);
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.65rem 0.85rem;
  text-align: start;
  text-decoration: none;
  white-space: nowrap;
}
.preview-language-menu button:hover,
.preview-menu-panel button:hover,
.preview-menu-panel a:hover { background: var(--st-paper); color: var(--st-amber-dark); }
.preview-language-menu button { align-items: center; display: flex; justify-content: space-between; width: 100%; }
.preview-language-picker { margin-inline-start: auto; }
.preview-header-cart { margin-inline-start: 0; }

.preview-language-toggle__globe {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  font-size: 0.76rem;
  height: 1.45rem;
  justify-content: center;
  width: 1.45rem;
}

.preview-menu-toggle { color: var(--st-navy); }

.preview-menu-panel {
  --st-drawer-offset: 100%;
  animation: preview-drawer-in 180ms ease-out;
  background: var(--st-white);
  border-inline-start: 1px solid var(--st-line);
  bottom: 0;
  box-shadow: -20px 0 55px rgba(34, 50, 75, 0.22);
  inset-inline-end: 0;
  overflow-y: auto;
  position: fixed;
  top: 0;
  width: min(360px, 88vw);
  z-index: 121;
}
[dir="rtl"] .preview-menu-panel { --st-drawer-offset: -100%; box-shadow: 20px 0 55px rgba(34, 50, 75, 0.22); }

.preview-menu-panel[hidden] { display: none; }
.preview-menu-panel__header { align-items: center; border-bottom: 1px solid var(--st-line); display: flex; justify-content: space-between; min-height: 74px; padding: 1rem 1.25rem; }
.preview-menu-panel__header strong { color: var(--st-ink); font-family: var(--st-font-display); font-size: 1.05rem; }
.preview-menu-panel__close { align-items: center; background: var(--st-paper) !important; border-radius: 50% !important; display: inline-flex !important; font-size: 1.35rem !important; height: 42px; justify-content: center; padding: 0 !important; width: 42px; }
.preview-menu-panel__inner { display: flex; flex-direction: column; gap: 0.45rem; min-height: calc(100dvh - 74px); padding: 1rem 1.25rem 2rem; }
.preview-menu-panel__inner > * { align-items: center; display: flex; flex: 0 0 auto; font-size: 0.92rem; min-height: 52px; width: 100%; }
.preview-menu-panel__inner > button { justify-content: space-between; }
.preview-menu-categories {
  align-items: stretch !important;
  background: var(--st-paper);
  border: 1px solid var(--st-line);
  border-radius: 16px;
  display: grid !important;
  gap: 0.2rem;
  max-height: 42vh;
  min-height: 0 !important;
  overflow-y: auto;
  padding: 0.45rem;
}
.preview-menu-categories[hidden] { display: none !important; }
.preview-menu-categories .preview-filter { font-size: 0.78rem; min-height: 42px; width: 100%; }
.preview-menu-utility { background: var(--st-paper) !important; border: 1px solid var(--st-line) !important; border-radius: 14px !important; margin-block-start: 0.35rem; }
.preview-menu-whatsapp { background: #a98e65 !important; color: #fff !important; gap: 0.55rem; }
.preview-menu-whatsapp:hover { background: #a98e65 !important; color: #fff !important; }
.preview-menu-backdrop { background: rgba(34, 50, 75, 0.52); border: 0; inset: 0; padding: 0; position: fixed; width: 100%; z-index: 120; }
.preview-menu-backdrop[hidden] { display: none; }

@keyframes preview-drawer-in {
  from { opacity: 0.7; transform: translateX(var(--st-drawer-offset)); }
  to { opacity: 1; transform: translateX(0); }
}

.preview-premium-hero {
  background-image: none;
}

.preview-premium-hero::before {
  background-image: url("../images/hero-industrial-v3.webp");
}
.preview-premium-hero::after {
  background: linear-gradient(270deg, rgba(34, 50, 75, 0.94) 0%, rgba(34, 50, 75, 0.72) 38%, rgba(34, 50, 75, 0.08) 72%);
}
[dir="ltr"] .preview-premium-hero::before {
  transform: none;
}
[dir="ltr"] .preview-premium-hero::after {
  background: linear-gradient(90deg, rgba(34, 50, 75, 0.94) 0%, rgba(34, 50, 75, 0.72) 38%, rgba(34, 50, 75, 0.08) 72%);
}

.preview-category-showcase__card {
  cursor: pointer;
  font: inherit;
  text-align: start;
  text-decoration: none;
}

.preview-category-showcase__card small {
  line-height: 1.6;
  margin-block-end: 0.9rem;
  min-height: 2.5em;
}

.preview-category-showcase__card em {
  color: var(--st-muted);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
}

.preview-catalog-heading { margin-block-end: 1.6rem; }

.preview-cart-button {
  align-items: center;
  background: var(--st-paper);
  border: 1px solid var(--st-line);
  border-radius: 999px;
  color: var(--st-navy);
  flex: 0 0 auto;
  display: inline-flex;
  gap: 0.65rem;
  min-height: 42px;
  padding-inline: 0.9rem;
}

.preview-cart-button b {
  align-items: center;
  background: var(--st-amber);
  border-radius: 50%;
  color: var(--st-ink);
  display: inline-flex;
  font-size: 0.72rem;
  height: 22px;
  justify-content: center;
  min-width: 22px;
}

.preview-products-heading { margin-block-end: 2rem; }

.preview-catalog {
  background: var(--st-white);
  padding-block: 1.4rem clamp(4rem, 8vw, 7rem);
}

.preview-catalog-toolbar {
  align-items: center;
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
  margin-block-end: 1rem;
}

.preview-search-control {
  display: flex;
  flex: 1 1 720px;
  gap: 0.55rem;
  min-width: 0;
}

.preview-search-box { flex: 1; min-width: 0; position: relative; }
.preview-search-box .preview-search { max-width: none; width: 100%; }
.preview-search-suggestions { background: var(--st-white); border: 1px solid var(--st-line); border-radius: 18px; box-shadow: var(--st-shadow); display: grid; gap: 0.2rem; inset-inline: 0; max-height: min(480px, 64vh); overflow-y: auto; padding: 0.45rem; position: absolute; top: calc(100% + 0.45rem); z-index: 75; }
.preview-search-suggestions[hidden] { display: none; }
.preview-search-suggestions button { align-items: center; background: transparent; border: 0; border-radius: 13px; color: var(--st-ink); cursor: pointer; display: flex; gap: 0.75rem; min-height: 62px; padding: 0.55rem; text-align: start; width: 100%; }
.preview-search-suggestions button:hover { background: var(--st-paper); }
.preview-search-suggestions__visual { align-items: center; background: var(--st-paper); border-radius: 10px; display: flex; flex: 0 0 50px; height: 50px; justify-content: center; width: 50px; }
.preview-search-suggestions button > span:last-child { display: flex; flex-direction: column; gap: 0.2rem; }
.preview-search-suggestions strong { font-size: 0.84rem; }
.preview-search-suggestions small { color: var(--st-muted); font-size: 0.7rem; }
.preview-search-suggestions button.is-compact { min-height: 42px; }

.preview-search-submit {
  align-items: center;
  background: var(--st-navy);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  gap: 0.45rem;
  justify-content: center;
  min-height: 50px;
  padding-inline: 1.2rem;
  white-space: nowrap;
}

.preview-sort {
  flex: 0 0 auto;
  position: relative;
}

.preview-sort select {
  appearance: none;
  background: var(--st-white);
  border: 1px solid var(--st-line);
  border-radius: 999px;
  color: var(--st-navy);
  font-size: 0.82rem;
  font-weight: 800;
  min-height: 50px;
  padding: 0.7rem 1.2rem;
}

.preview-shop-layout {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
}

.preview-category-panel {
  scroll-margin-top: 72px;
  background: #ffffff;
  border: 1px solid rgba(34, 50, 75, 0.16);
  border-radius: var(--st-radius);
  padding: 0.85rem;
  position: sticky;
  top: 88px;
}

.preview-category-panel[hidden] { display: none; }
.preview-mega-categories {
  border: 0;
  border-bottom: 1px solid var(--st-line);
  border-radius: 0;
  box-shadow: 0 18px 42px rgba(34, 50, 75, 0.12);
  margin: 0;
  max-width: none;
  padding: 1rem max(1.2rem, calc((100vw - 1180px) / 2 + 3rem));
  position: sticky;
  top: 72px;
  width: 100%;
  z-index: 48;
}
.preview-mega-categories .preview-filters {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  max-height: 52vh;
  overflow-y: auto;
}
.preview-category-panel.is-open { grid-column: 1 / -1; }
.preview-category-panel.is-open .preview-filters {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.preview-category-panel__title {
  align-items: center;
  border-bottom: 1px solid rgba(34, 50, 75, 0.16);
  display: flex;
  gap: 0.65rem;
  padding: 0.4rem 0.45rem 0.9rem;
}

.preview-category-panel__title > span {
  align-items: center;
  background: var(--st-navy);
  border-radius: 10px;
  color: white;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.preview-category-panel__title h2 {
  color: var(--st-navy);
  font-size: 1rem;
  margin: 0;
}

.preview-category-panel .preview-filters {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-block-start: 0.7rem;
}

.preview-product-area { min-width: 0; }

.preview-catalog-meta {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 54px;
}

.preview-catalog-grid {
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.preview-catalog-grid .shikhtech-product-card__visual { min-height: 210px; }
.preview-catalog-grid .shikhtech-device { height: 112px; width: 112px; }
.preview-catalog-grid .shikhtech-product-card__body { padding: 1rem; }
.preview-catalog-grid .shikhtech-product-card h3 { font-size: 0.95rem; }

.preview-pagination {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  margin-block-start: 2rem;
}

.preview-pagination button {
  background: var(--st-white);
  border: 1px solid var(--st-line);
  border-radius: 50%;
  color: var(--st-navy);
  height: 42px;
  width: 42px;
}

.preview-pagination button.is-active {
  background: var(--st-navy);
  color: var(--st-white);
}

.preview-contact {
  background: var(--st-navy);
  color: white;
  padding-block: 2rem;
}

.preview-contact__heading { align-items: end; display: flex; gap: 1rem; justify-content: space-between; margin-block-end: 1rem; }
.preview-contact__heading p { color: var(--st-amber); font-size: 0.78rem; font-weight: 900; margin: 0 0 0.45rem; }
.preview-contact__heading h2 { color: white; font-size: clamp(1.25rem, 2.5vw, 1.85rem); margin: 0; }

.preview-contact__grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.preview-contact-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: white;
  display: flex;
  gap: 0.7rem;
  min-height: 82px;
  padding: 0.75rem;
  text-decoration: none;
}

.preview-contact-card:hover { background: rgba(255, 255, 255, 0.13); }
.preview-contact-card--whatsapp { background: #a98e65; }
.preview-contact-card__icon { align-items: center; background: rgba(255, 255, 255, 0.12); border-radius: 12px; display: inline-flex; flex: 0 0 38px; font-size: 1rem; height: 38px; justify-content: center; }
.preview-contact-card > span:last-child { display: flex; flex-direction: column; gap: 0.28rem; }
.preview-contact-card small { color: #ffffff; font-size: 0.72rem; font-weight: 800; }
.preview-contact-card strong { color: white; display: flex; flex-direction: column; font-size: 0.8rem; gap: 0.1rem; line-height: 1.45; }
.preview-contact-card a { color: white; text-decoration: none; }
.preview-contact-card--social strong { flex-direction: row; flex-wrap: wrap; gap: 0.55rem; }
.preview-contact-card--social strong a { background: rgba(255, 255, 255, 0.12); border-radius: 999px; padding: 0.45rem 0.7rem; }

.preview-cart-float {
  align-items: center;
  background: var(--st-navy);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  bottom: 1.2rem;
  box-shadow: 0 14px 36px rgba(34, 50, 75, 0.22);
  color: white;
  display: flex;
  font-size: 0.8rem;
  font-weight: 900;
  gap: 0.5rem;
  inset-inline-end: 1.2rem;
  padding: 0.8rem 1rem;
  position: fixed;
  text-decoration: none;
  z-index: 80;
}

.preview-cart-float b { align-items: center; background: var(--st-amber); border-radius: 999px; color: var(--st-ink); display: inline-flex; font-size: 0.7rem; justify-content: center; min-height: 1.3rem; min-width: 1.3rem; padding: 0.1rem 0.3rem; }
.preview-cart-float:hover { background: #22324b; }

.preview-section-title {
  color: var(--st-ink);
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
}

.preview-search-section {
  background: var(--st-white);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.preview-tools {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-block-end: 1rem;
}

.preview-search {
  align-items: center;
  background: white;
  border: 1px solid rgba(34, 50, 75, 0.16);
  border-radius: 999px;
  display: flex;
  flex: 1;
  max-width: 720px;
  min-height: 50px;
  padding-inline: 1rem;
}

.preview-search--large {
  border: 2px solid rgba(34, 50, 75, 0.16);
  margin-inline: auto;
  max-width: 820px;
  min-height: 72px;
  padding-inline: 1.5rem;
}

.preview-search--large:focus-within {
  border-color: var(--st-navy);
  box-shadow: 0 0 0 5px rgba(34, 50, 75, 0.09);
}

.preview-search--large input { font-size: clamp(1rem, 2vw, 1.2rem); }

.preview-search-status {
  color: var(--st-muted);
  font-size: 0.86rem;
  margin: 1rem auto 0;
  max-width: 820px;
}

.preview-search-grid { margin-block-start: 2rem; }

.preview-search input {
  background: transparent;
  border: 0;
  box-shadow: none;
  flex: 1;
  min-width: 0;
  outline: none;
  padding: 0.8rem 0;
}

.preview-search > span:last-child {
  color: var(--st-amber-dark);
  font-size: 1.5rem;
}

.preview-filters {
  display: flex;
}

.preview-filter {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 12px;
  color: var(--st-slate);
  display: grid;
  font-size: 0.76rem;
  font-weight: 800;
  gap: 0.6rem;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  min-height: 42px;
  padding-inline: 0.7rem;
  text-align: start;
  width: 100%;
}

.preview-filter.is-active {
  background: var(--st-navy);
  color: white;
}

.preview-filter__mark { background: var(--st-amber); border-radius: 50%; height: 7px; width: 7px; }
.preview-filter b { align-items: center; background: rgba(34, 50, 75, 0.08); border-radius: 999px; display: inline-flex; font-size: 0.66rem; height: 24px; justify-content: center; min-width: 24px; }
.preview-filter.is-active b { background: rgba(255, 255, 255, 0.15); }

.preview-results {
  color: var(--st-muted);
  font-size: 0.78rem;
  margin: 0;
}

.preview-add {
  align-items: center;
  background: var(--st-navy);
  border: 0;
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 0.45rem;
  justify-content: center;
  min-height: 42px;
  padding-inline: 0.9rem;
}

.preview-product-visual {
  border: 0;
  padding: 0;
  width: 100%;
}

.preview-product-title {
  background: none;
  border: 0;
  color: var(--st-ink);
  display: block;
  font-weight: inherit;
  padding: 0;
  text-align: start;
  text-decoration: none;
}
.preview-product-title:hover,
.preview-product-title:focus-visible { color: var(--st-navy); text-decoration: underline; text-underline-offset: 0.18em; }

.preview-share {
  align-items: center;
  background: var(--st-amber);
  border: 0;
  border-radius: 999px;
  color: var(--st-ink);
  cursor: pointer;
  display: inline-flex;
  gap: 0.35rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  min-height: 34px;
  padding: 0.45rem 0.7rem;
}

.preview-share:hover,
.preview-share:focus-visible { background: var(--st-amber-dark); color: var(--st-white); }

.preview-add:hover { background: var(--st-amber-dark); }
.preview-add.is-loading { color: transparent !important; pointer-events: none; position: relative; }
.preview-add.is-loading::after { animation: preview-spin 650ms linear infinite; border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 50%; border-top-color: #fff; content: ""; height: 16px; inset: 50% auto auto 50%; margin: -8px 0 0 -8px; position: absolute; width: 16px; }
@keyframes preview-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

.preview-product-description {
  color: var(--st-muted);
  font-size: 0.82rem;
  line-height: 1.65;
  margin: 0.75rem 0 1.2rem;
}

.preview-footer {
  background: #ffffff;
  color: var(--st-muted);
  padding-block: 2rem;
}

.preview-footer__inner {
  align-items: center;
  display: flex;
  font-size: 0.78rem;
  justify-content: space-between;
}

.preview-footer strong { color: var(--st-amber); }

.preview-footer img {
  height: 92px;
  object-fit: contain;
  width: 92px;
}

.preview-product-dialog {
  background: var(--st-white);
  border: 0;
  border-radius: 26px;
  box-shadow: 0 34px 100px rgba(34, 50, 75, 0.38);
  color: var(--st-ink);
  margin: auto;
  max-height: calc(100dvh - 2rem);
  max-width: min(1120px, calc(100% - 2rem));
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0;
  width: 100%;
}

.preview-product-dialog::backdrop {
  backdrop-filter: blur(7px);
  background: rgba(34, 50, 75, 0.74);
}

.preview-dialog-close {
  align-items: center;
  background: var(--st-white);
  border: 1px solid var(--st-line);
  border-radius: 50%;
  color: var(--st-ink);
  display: flex;
  font-size: 1.65rem;
  height: 46px;
  inset-inline-end: 1.1rem;
  justify-content: center;
  line-height: 1;
  position: absolute;
  top: 1.1rem;
  width: 46px;
  z-index: 5;
}

.preview-product-detail {
  background: var(--st-white);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.preview-detail-visual {
  align-items: center;
  background: linear-gradient(145deg, #ffffff, #ffffff);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  min-height: 540px;
  overflow: hidden;
  padding: 2rem;
}

[dir="ltr"] .preview-detail-visual { border-radius: 26px 0 0 0; }
[dir="rtl"] .preview-detail-visual { border-radius: 0 26px 0 0; }

.preview-detail-visual > span:last-child {
  color: var(--st-muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.preview-detail-copy {
  padding: clamp(1.7rem, 5vw, 4rem);
}

.preview-detail-copy h1 {
  color: var(--st-ink);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0;
}

.preview-detail-description {
  color: var(--st-muted);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-block: 1.4rem;
}

.preview-detail-meta {
  border-block: 1px solid var(--st-line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-block: 1.5rem;
}

.preview-detail-meta > div { padding-block: 1rem; }
.preview-detail-meta dt { color: var(--st-muted); font-size: 0.72rem; font-weight: 800; }
.preview-detail-meta dd { font-weight: 900; margin: 0.35rem 0 0; }
.preview-detail-meta button { background: none; border: 0; color: var(--st-navy); font-weight: 900; padding: 0; }

.preview-detail-specs h2 { font-size: 1.05rem; margin: 0 0 0.8rem; }
.preview-detail-specs ul { color: var(--st-muted); line-height: 1.9; margin: 0; padding-inline-start: 1.2rem; }

.preview-detail-buy {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-block-start: 2rem;
}

.preview-detail-buy strong { color: var(--st-navy); font-size: 1.6rem; }
.preview-detail-note { color: var(--st-muted); font-size: 0.72rem; line-height: 1.7; margin-block-start: 1rem; }

.preview-similar {
  background: var(--st-paper);
  border-radius: 0 0 26px 26px;
  padding: clamp(1.8rem, 5vw, 3.2rem);
}

.preview-similar__inner { margin-inline: auto; }
.preview-similar .shikhtech-section-heading { margin-block-end: 1.6rem; }
.preview-similar .shikhtech-section-heading h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); }
.preview-similar .shikhtech-product-card__visual { min-height: 180px; }
.preview-similar .shikhtech-device { height: 110px; width: 110px; }

.preview-backdrop {
  background: rgba(34, 50, 75, 0.65);
  inset: 0;
  position: fixed;
  z-index: 90;
}

.preview-cart {
  background: var(--st-white);
  border-radius: 0;
  box-shadow: -24px 0 70px rgba(34, 50, 75, 0.24);
  display: flex;
  flex-direction: column;
  height: 100dvh;
  inset-block: 0;
  inset-inline-end: 0;
  max-width: 100%;
  padding: 0;
  position: fixed;
  transform: translateX(110%);
  transition: transform 220ms ease;
  width: min(420px, 100vw);
  z-index: 100;
}

[dir="rtl"] .preview-cart { transform: translateX(-110%); }
.preview-cart.is-open { transform: translateX(0); }

.preview-cart__header {
  align-items: center;
  border-bottom: 1px solid var(--st-line);
  display: flex;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
}

.preview-cart__header > div { display: grid; gap: 0.08rem; }
.preview-cart__header p { color: var(--st-amber-dark); font-size: 0.7rem; font-weight: 750; margin: 0; }
.preview-cart__header h2 { font-size: 1.45rem; line-height: 1.25; margin: 0; }
.preview-cart__header span { color: var(--st-muted); font-size: 0.72rem; }

.preview-cart__header button {
  background: var(--st-paper);
  border: 0;
  border-radius: 50%;
  font-size: 1.5rem;
  height: 42px;
  width: 42px;
}

.preview-cart__items {
  flex: 1;
  overflow: auto;
  padding-inline: 1.25rem;
}

.preview-cart-item {
  align-items: start;
  border-bottom: 1px solid var(--st-line);
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  padding-block: 1rem;
}

.preview-cart-item__visual {
  align-items: center;
  background: var(--st-paper);
  border-radius: 14px;
  display: flex;
  height: 68px;
  justify-content: center;
  overflow: hidden;
  width: 68px;
}
.preview-cart-item__visual .shikhtech-device { height: 48px; transform: scale(0.85); width: 48px; }

.preview-cart-item strong,
.preview-cart-item small { display: block; }
.preview-cart-item__copy { display: grid; gap: 0.18rem; min-width: 0; }
.preview-cart-item strong { font-size: 0.84rem; line-height: 1.5; }
.preview-cart-item small { color: var(--st-muted); font-size: 0.68rem; }
.preview-cart-item__copy > span { color: var(--st-navy); font-size: 0.8rem; font-weight: 750; }
.preview-cart-item__copy > button { background: transparent; border: 0; color: #c0392b; font-size: 0.7rem; justify-self: start; padding: 0; }

.preview-quantity {
  align-items: center;
  background: var(--st-paper);
  border: 1px solid var(--st-line);
  border-radius: 11px;
  display: flex;
  gap: 0.15rem;
  padding: 2px;
}

.preview-quantity button {
  background: var(--st-paper);
  border: 0;
  border-radius: 8px;
  height: 28px;
  width: 28px;
}
.preview-quantity span { font-size: 0.74rem; min-width: 20px; text-align: center; }

.preview-cart__empty {
  align-items: center;
  color: var(--st-muted);
  display: none;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.preview-cart__empty.is-visible { display: flex; }
.preview-cart__empty svg { fill: none; height: 58px; margin-block-end: 1rem; stroke: var(--st-amber); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; width: 58px; }
.preview-cart__empty strong { color: var(--st-ink); font-size: 1.05rem; }
.preview-cart__empty p { font-size: 0.8rem; line-height: 1.65; max-width: 28ch; }
.preview-cart__empty button { background: var(--st-navy); border: 0; border-radius: 11px; color: #fff; font-size: 0.78rem; font-weight: 750; min-height: 40px; padding-inline: 1rem; }

.preview-cart__summary {
  border-top: 1px solid var(--st-line);
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1.25rem 0;
}
.preview-cart__summary > div { align-items: center; display: flex; justify-content: space-between; }
.preview-cart__summary span { color: var(--st-muted); font-size: 0.75rem; }
.preview-cart__summary strong { color: var(--st-ink); font-size: 0.9rem; }
.preview-cart__summary > div:last-child { border-top: 1px solid var(--st-line); padding-block-start: 0.65rem; }
.preview-cart__summary > div:last-child strong { font-size: 1.08rem; }

.preview-cart__actions { display: grid; gap: 0.55rem; grid-template-columns: 0.85fr 1.15fr; padding: 0.85rem 1.25rem 0; }
.preview-cart__continue { background: transparent; border: 1px solid var(--st-line); border-radius: 11px; color: var(--st-ink); font-size: 0.76rem; font-weight: 750; min-height: 46px; }

.preview-checkout {
  background: var(--st-amber);
  border: 0;
  border-radius: 11px;
  color: var(--st-ink);
  font-weight: 900;
  min-height: 46px;
  width: 100%;
}

.preview-cart__note {
  color: var(--st-muted);
  font-size: 0.72rem;
  margin: 0.7rem 1.25rem 1.1rem;
  text-align: center;
}

.preview-toast {
  background: var(--st-ink);
  bottom: 1.4rem;
  color: white;
  font-size: 0.83rem;
  font-weight: 800;
  border-radius: 999px;
  inset-inline-start: 50%;
  opacity: 0;
  padding: 0.9rem 1.2rem;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 20px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 120;
}

[dir="rtl"] .preview-toast { transform: translate(50%, 20px); }
.preview-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
[dir="rtl"] .preview-toast.is-visible { transform: translate(50%, 0); }

.preview-category-utilities { align-items: center; display: flex; gap: 0.45rem; }
.preview-category-language { align-items: center; background: var(--st-paper); border: 1px solid var(--st-line); border-radius: 999px; display: inline-flex; gap: 0.35rem; min-height: 46px; padding-inline: 0.7rem; }
.preview-category-language select { background: transparent; border: 0; color: var(--st-ink); font: inherit; font-size: 0.72rem; font-weight: 900; outline: 0; }
.preview-category-theme { background: var(--st-paper); border: 1px solid var(--st-line); border-radius: 50%; color: var(--st-ink); cursor: pointer; height: 46px; width: 46px; }
.shikhtech-category-preview .shikhtech-product-card h3 { font-size: 0.9rem; line-height: 1.55; }
.shikhtech-category-preview .preview-catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shikhtech-category-preview .preview-toast:not([hidden]) { display: block; }

.preview-language-segmented { margin-inline-start: auto; }
.preview-nav .preview-language-segmented button { color: var(--st-muted); padding: 0.45rem 0.62rem; }
.preview-nav .preview-language-segmented button.is-active { color: var(--st-ink); }
.preview-menu-panel .shikhtech-ios-switch.preview-menu-utility { align-items: center; display: flex; justify-content: space-between; padding: 0.45rem 0.55rem 0.45rem 0.85rem; }
.preview-category-language { border-radius: 13px; gap: 2px; min-height: auto; padding: 3px; }
.preview-category-theme { background: transparent; border: 0; border-radius: 0; height: auto; width: auto; }
.preview-quantity { background: var(--st-paper); border: 1px solid var(--st-line); border-radius: 13px; gap: 2px; padding: 3px; }
.preview-quantity button { background: var(--st-white); border-radius: 10px; height: 34px; transition: background-color 150ms ease, transform 150ms ease; width: 34px; }
.preview-product-dialog { border-radius: 28px; }
.preview-toast { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 12px 34px rgba(34, 50, 75, 0.26); }
.preview-search,
.preview-sort select { border-radius: 14px; }

@media (max-width: 900px) {
  .preview-category-showcase__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-shop-layout { grid-template-columns: 1fr; }
  .preview-category-panel { position: static; }
  .preview-category-panel.is-open { grid-column: auto; }
  .preview-category-panel .preview-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .preview-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .preview-category-utilities { justify-self: end; }
  .preview-header__inner { gap: 0.65rem; min-height: 64px; }
  .preview-nav { gap: 0.65rem; justify-content: flex-end; overflow: visible; }
  .preview-header-brand span { display: none; }
  .preview-nav > a,
  .preview-nav > .preview-category-toggle { display: none; }
  .preview-language-picker { margin-inline-start: auto; }
  .preview-header-cart { margin-inline-start: 0; }
  .preview-theme-toggle,
  .preview-menu-toggle { font-size: 0.72rem; }
  .preview-menu-toggle > span:last-child { display: none; }
  .preview-mega-categories { padding-inline: 1rem; top: 64px; }
  .preview-premium-hero::before { background-position: 61% center; }
  .preview-brand img { height: 66px; width: 66px; }
  .preview-tools { align-items: stretch; flex-direction: column; }
  .preview-catalog-toolbar { align-items: stretch; flex-direction: column; }
  .preview-search-control { flex-basis: auto; width: 100%; }
  .preview-search-submit { min-width: 96px; }
  .preview-category-showcase__heading { align-items: start; flex-direction: column; }
  .preview-value-strip__grid { grid-template-columns: 1fr; }
  .preview-value-strip__grid > div + div { border-inline-start: 0; border-top: 1px solid var(--st-line); }
  .preview-shop-layout { grid-template-columns: 1fr; }
  .preview-category-panel { position: static; }
  .preview-category-panel .preview-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-search { max-width: none; }
  .preview-sort select { width: 100%; }
  .preview-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-footer__inner { align-items: start; flex-direction: column; gap: 0.7rem; }
  .preview-product-detail { grid-template-columns: 1fr; }
  .preview-product-dialog { max-height: calc(100dvh - 1rem); max-width: calc(100% - 1rem); }
  .preview-detail-visual { border-radius: 26px 26px 0 0; min-height: 320px; }
  .preview-detail-copy { padding: 1.5rem; }
  .preview-detail-meta { grid-template-columns: 1fr; }
  .preview-similar { padding: 1.5rem; }
  .preview-similar .shikhtech-product-grid { grid-template-columns: 1fr; }
  .preview-contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .shikhtech-category-preview .preview-catalog-grid { grid-template-columns: 1fr; }
  .preview-category-showcase__grid { grid-template-columns: 1fr; }
  .preview-catalog-grid { grid-template-columns: 1fr; }
}

/* Preview-specific typography inherits the same restrained production scale. */
.preview-menu-panel__header strong { font-size: 1rem; font-weight: 750; }
.preview-menu-panel__inner > * { font-size: 0.86rem; font-weight: 700; line-height: 1.4; }
.preview-menu-categories .preview-filter { font-size: 0.78rem; font-weight: 650; }
.preview-catalog-grid .shikhtech-product-card h3,
.shikhtech-category-preview .shikhtech-product-card h3 {
  font-size: var(--st-type-card);
  font-weight: 700;
  line-height: 1.55;
}
.preview-section-title { font-size: var(--st-type-section); font-weight: 750; letter-spacing: -0.025em; line-height: 1.18; }
.preview-detail-copy h1 { font-size: clamp(1.9rem, 2.8vw + 0.9rem, 3.2rem); font-weight: 750; letter-spacing: -0.025em; line-height: 1.16; }
.preview-detail-description { font-size: var(--st-type-body); line-height: 1.75; }
html[lang="ar"] .preview-section-title,
html[lang="ar"] .preview-detail-copy h1,
html[lang="ckb"] .preview-section-title,
html[lang="ckb"] .preview-detail-copy h1 { font-weight: 700; letter-spacing: 0; line-height: 1.32; }

/* Final preview parity with the shared production navigation system. */
.preview-nav > .shikhtech-menu-button { order: 99; }
.preview-category-utilities > .shikhtech-menu-button { order: 99; }
.preview-menu-panel { width: min(344px, 90vw); }
.preview-menu-panel__header { min-height: 66px; padding: 0.8rem 1rem; }
.preview-menu-panel__close { background: transparent !important; border-radius: 9px !important; height: 36px; width: 36px; }
.preview-menu-panel__close svg { fill: none; height: 19px; stroke: currentColor; stroke-linecap: round; stroke-width: 1.6; width: 19px; }
.preview-menu-panel__inner { gap: 0.2rem; min-height: calc(100dvh - 66px); padding: 0.75rem 0.9rem 1.5rem; }
.preview-menu-panel__inner > a,
.preview-menu-panel__inner > button { border: 0 !important; border-radius: 10px !important; font-size: 0.86rem; font-weight: 700; min-height: 46px; padding: 0.55rem 0.75rem !important; }
.preview-menu-panel__inner > :is(a, button).is-active { background: rgba(34, 50, 75, 0.09); color: var(--st-navy); }
html[data-theme="dark"] .preview-menu-panel__inner > :is(a, button).is-active { background: rgba(255, 255, 255, 0.08); color: #fff; }
.preview-menu-panel .shikhtech-menu-theme-row { align-items: center; display: flex; justify-content: space-between; }
.preview-menu-categories { border-radius: 12px; gap: 0.12rem; margin-block: 0.15rem 0.35rem; padding: 0.35rem; }
.preview-menu-categories a,
.preview-menu-categories button { border-radius: 8px; font-size: 0.76rem; min-height: 38px; padding-block: 0.42rem; }
.preview-search-control { align-items: stretch; gap: 0.5rem; }
.preview-search { border-radius: 12px; min-height: var(--st-control-height); }
.preview-search input { font-size: 0.88rem; min-height: calc(var(--st-control-height) - 2px); }
.preview-search-submit { align-items: center; border-radius: 12px; display: inline-flex; gap: 0.4rem; justify-content: center; min-height: var(--st-control-height); padding: 0.55rem 1rem; }
.preview-search-submit svg { fill: none; height: 17px; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; width: 17px; }
.preview-catalog-toolbar { display: block; }
.preview-cart-confirmation { width: auto; }

/* The sticky shared header is the single search entry on the homepage. */
body[data-preview-route="home"] .preview-catalog-toolbar { display: none; }

@media (max-width: 760px) {
  .preview-nav > .shikhtech-menu-button { order: 99; }
  .preview-category-utilities > .shikhtech-menu-button { order: 99; }
}

/* The same 44px shared menu control is used by every preview route. */
.preview-nav > .shikhtech-menu-button,
.preview-category-utilities > .shikhtech-menu-button {
  align-items: center;
  background: transparent;
  border: 0 !important;
  border-radius: 10px;
  display: inline-flex;
  flex: 0 0 44px;
  height: 44px;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 !important;
  width: 44px;
}

@media (max-width: 760px) {
  .preview-detail-copy h1 { font-size: clamp(1.7rem, 7vw, 2.35rem); }
}

/* Final commerce polish: compact, consistent product and cart controls. */
.shikhtech-product-card__body { gap: 0.55rem; }
.shikhtech-product-card__footer {
  align-items: center;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: minmax(0, 1fr) 36px 82px 38px;
  margin-block-start: auto;
  padding-block-start: 0.8rem;
}
.shikhtech-product-card__price,
.preview-detail-buy strong,
.preview-cart-item__copy > span,
.preview-cart__summary strong {
  font-variant-numeric: lining-nums tabular-nums;
}
.shikhtech-product-card__price { font-size: 0.98rem; white-space: nowrap; }
.shikhtech-product-card__quantity {
  align-items: center;
  background: var(--st-paper);
  border: 1px solid var(--st-line);
  border-radius: 10px;
  display: inline-flex;
  gap: 0.1rem;
  height: 36px;
  justify-content: center;
  padding: 2px;
}
.shikhtech-product-card__quantity button,
.shikhtech-product-card__quantity output { align-items: center; display: inline-flex; height: 30px; justify-content: center; }
.shikhtech-product-card__quantity button { background: transparent; border: 0; border-radius: 8px; color: var(--st-ink); font-size: 0.9rem; width: 24px; }
.shikhtech-product-card__quantity output { color: var(--st-ink); font-size: 0.76rem; min-width: 18px; }
.shikhtech-product-card .preview-share,
.shikhtech-product-card .preview-add { height: 36px; min-height: 36px; width: 36px; }

@container shikhtech-card (max-width: 260px) {
  .shikhtech-product-card__footer { gap: 0.2rem; grid-template-columns: 36px 74px 38px; justify-content: start; }
  .shikhtech-product-card__price { font-size: 1.08rem !important; grid-column: 1 / -1; }
}

/* Dark-mode contrast overrides must remain after the shared light-theme rules. */
html[data-theme="dark"] .preview-detail-meta dd,
html[data-theme="dark"] .preview-detail-meta button,
html[data-theme="dark"] .preview-detail-specs h2,
html[data-theme="dark"] .preview-detail-specs ul,
html[data-theme="dark"] .preview-detail-buy strong,
html[data-theme="dark"] .preview-cart-item__copy > span,
html[data-theme="dark"] .preview-menu-toggle { color: #ffffff; }

.preview-product-dialog {
  background: var(--st-paper);
  border-radius: 24px;
  max-width: min(1040px, calc(100% - 1.5rem));
}
.preview-product-detail { background: var(--st-white); }
.preview-detail-visual {
  background: #ffffff;
  min-height: 420px;
  padding: 1.5rem;
}
.preview-detail-visual > span:last-child { color: #22324b; }
.preview-detail-copy { padding: clamp(1.35rem, 3vw, 2.6rem); }
.preview-detail-copy h1 { font-size: clamp(1.75rem, 2.4vw + 0.8rem, 2.8rem); }
.preview-detail-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.preview-detail-meta { margin-block: 1.15rem; }
.preview-detail-meta > div { padding-block: 0.7rem; }
.preview-detail-buy { gap: 0.55rem; margin-block-start: 1.45rem; }
.preview-detail-buy strong { font-size: 1.28rem; margin-inline-end: auto; }
.preview-detail-quantity {
  align-items: center;
  background: var(--st-paper);
  border: 1px solid var(--st-line);
  border-radius: 11px;
  display: inline-flex;
  direction: ltr;
  height: 42px;
  padding: 2px;
}
.preview-detail-quantity button,
.preview-detail-quantity output { align-items: center; display: inline-flex; height: 36px; justify-content: center; }
.preview-detail-quantity button { background: transparent; border: 0; border-radius: 9px; color: var(--st-ink); font-size: 0.95rem; width: 30px; }
.preview-detail-quantity output { font-size: 0.8rem; font-variant-numeric: tabular-nums; min-width: 24px; }
.preview-detail-buy .preview-share,
.preview-detail-buy .preview-add { border-radius: 11px; height: 42px; min-height: 42px; }
.preview-detail-buy .preview-share { background: transparent; border: 1px solid var(--st-line); color: var(--st-ink); }
.preview-detail-buy .preview-add { padding-inline: 1rem; }

/* Product cards: keep the price in the identity gap, then fit all actions to the card. */
.shikhtech-product-card__footer {
  align-items: center;
  column-gap: 0.38rem;
  grid-template-columns: 34px minmax(66px, auto) 34px;
  grid-template-rows: auto 34px;
  padding-block-start: 0.42rem;
}
.shikhtech-product-card__price {
  align-self: end;
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: end;
  margin-block: -0.08rem 0.12rem;
  text-align: end;
}
.shikhtech-product-card .preview-share,
.shikhtech-product-card .preview-add {
  height: 34px;
  min-height: 34px;
  width: 34px;
}
.shikhtech-product-card .preview-share { grid-column: 1; grid-row: 2; }
.shikhtech-product-card__quantity { grid-column: 2; grid-row: 2; height: 32px; min-width: 66px; }
.shikhtech-product-card__quantity button { height: 26px; width: 21px; }
.shikhtech-product-card .preview-add { grid-column: 3; grid-row: 2; }

/* The contact footer keeps one indigo surface; WhatsApp never gets a separate green block. */
.preview-premium-footer { background: #22324b !important; }

/* Local-preview account gate. Passwords are hashed before the demo session is stored. */
.preview-account-dialog {
  background: var(--st-white);
  border: 1px solid var(--st-line);
  border-radius: 20px;
  box-shadow: 0 28px 90px rgba(34, 50, 75, 0.32);
  color: var(--st-ink);
  margin: auto;
  max-width: min(430px, calc(100% - 2rem));
  padding: 0;
  width: 100%;
}
.preview-account-dialog::backdrop { background: rgba(34, 50, 75, 0.62); }
.preview-account-dialog__header { align-items: start; display: flex; justify-content: space-between; padding: 1.2rem 1.25rem 0; }
.preview-account-dialog__header p { color: var(--st-muted); font-size: 0.72rem; font-weight: 800; margin: 0 0 0.25rem; }
.preview-account-dialog__header h2 { font-size: 1.25rem; margin: 0; }
.preview-account-dialog__header .preview-dialog-close { position: static; }
.preview-account-dialog__intro { color: var(--st-muted); font-size: 0.82rem; line-height: 1.75; margin: 0; padding: 0.75rem 1.25rem 0; }
.preview-account-form { display: grid; gap: 0.8rem; padding: 1rem 1.25rem 0; }
.preview-account-form label { display: grid; gap: 0.35rem; }
.preview-account-form label span { color: var(--st-muted); font-size: 0.76rem; font-weight: 800; }
.preview-account-form input { background: var(--st-paper); border: 1px solid var(--st-line); border-radius: 11px; color: var(--st-ink); min-height: 44px; padding: 0.6rem 0.75rem; width: 100%; }
.preview-account-form input:focus { border-color: var(--st-navy); box-shadow: 0 0 0 3px rgba(34, 50, 75, 0.14); outline: 0; }
.preview-account-form__message { color: #22324b; font-size: 0.76rem; line-height: 1.5; margin: 0; min-height: 1.15rem; }
.preview-account-form__message.is-error { color: #b42318; }
.preview-account-form__submit { background: var(--st-navy); border: 0; border-radius: 11px; color: #fff; min-height: 44px; padding: 0.6rem 1rem; }
.preview-account-form__submit:disabled { cursor: wait; opacity: 0.65; }
.preview-account-dialog__switch { background: transparent; border: 0; color: var(--st-navy); font-size: 0.78rem; font-weight: 800; margin: 0.7rem 1.25rem 1.2rem; padding: 0.3rem; }
html[data-theme="dark"] .preview-account-form input { background: #22324b; }
html[data-theme="dark"] .preview-account-form__submit,
html[data-theme="dark"] .preview-account-dialog__switch { color: #fff; }
html[data-theme="dark"] .preview-account-dialog__switch { background: #22324b; border-radius: 9px; }

@media (max-width: 700px) {
  .shikhtech-product-card__footer { column-gap: 0.28rem; grid-template-columns: 32px minmax(62px, auto) 32px; grid-template-rows: auto 32px; }
  .shikhtech-product-card .preview-share,
  .shikhtech-product-card .preview-add { height: 32px; min-height: 32px; width: 32px; }
  .shikhtech-product-card__quantity { height: 30px; min-width: 62px; }
  .shikhtech-product-card__quantity button { height: 24px; width: 19px; }
}

/* Earlier cascade guard: keep the screenshot action rail inside narrow cards. */
.shikhtech-product-card__footer {
  column-gap: 0.55rem !important;
  grid-template-columns: 46px minmax(0, 1fr) 52px !important;
  grid-template-rows: auto 48px !important;
  min-height: 48px;
}
.shikhtech-product-card__footer > * { box-sizing: border-box; min-width: 0; }
.shikhtech-product-card__price { max-width: 100%; width: 100%; }
.shikhtech-product-card .preview-share,
.shikhtech-product-card .preview-add { height: 48px !important; min-height: 48px !important; width: 48px !important; }
html[dir="rtl"] .shikhtech-product-card .preview-share,
html[dir="ltr"] .shikhtech-product-card .preview-share { grid-column: 1 !important; }
html[dir="rtl"] .shikhtech-product-card .preview-add,
html[dir="ltr"] .shikhtech-product-card .preview-add { grid-column: 3 !important; }
@container shikhtech-card (max-width: 250px) {
  .shikhtech-product-card__footer { column-gap: 0.35rem !important; grid-template-columns: 40px minmax(0, 1fr) 44px !important; grid-template-rows: auto 42px !important; }
  .shikhtech-product-card .preview-share,
  .shikhtech-product-card .preview-add { height: 42px !important; min-height: 42px !important; width: 42px !important; }
  .shikhtech-product-card__quantity { height: 42px !important; }
}

/* Reference-matched card composition: framed image, clear title/price, one action rail. */
.shikhtech-product-card {
  background: var(--st-white) !important;
  border: 1px solid rgba(34, 50, 75, 0.08);
  border-radius: 28px !important;
  box-shadow: 0 10px 28px rgba(34, 50, 75, 0.08);
  overflow: hidden;
  padding: clamp(0.7rem, 1.2vw, 1rem);
}
.shikhtech-product-card__visual {
  align-items: center;
  background: #ffffff !important;
  border-radius: 22px !important;
  display: flex;
  height: clamp(190px, 22vw, 340px);
  min-height: 0 !important;
  overflow: hidden;
  position: relative;
}
.shikhtech-product-card__visual img {
  height: 100% !important;
  object-fit: contain;
  padding: clamp(0.65rem, 2vw, 1.35rem);
  width: 100% !important;
}
.shikhtech-product-card .shikhtech-device {
  height: min(68%, 210px);
  width: min(68%, 210px);
}
.shikhtech-product-card__status {
  align-items: center;
  background: #22324b !important;
  border-radius: 999px !important;
  color: #fff !important;
  display: inline-flex;
  font-size: clamp(0.72rem, 0.7vw, 0.92rem) !important;
  font-weight: 750 !important;
  gap: 0.35rem;
  inset-inline-start: auto !important;
  left: clamp(0.75rem, 2vw, 1.25rem) !important;
  letter-spacing: 0 !important;
  padding: 0.58rem 0.8rem !important;
  right: auto !important;
  text-transform: none !important;
  top: clamp(0.75rem, 2vw, 1.25rem) !important;
}
.shikhtech-product-card__status-icon { font-size: 1.08em; line-height: 1; }
.shikhtech-product-card__body {
  gap: 0.55rem;
  padding: clamp(0.85rem, 1.5vw, 1.2rem) clamp(0.15rem, 0.6vw, 0.4rem) 0.2rem;
}
.shikhtech-product-card__barcode,
.shikhtech-product-card__identity { display: none !important; }
.shikhtech-product-card h3,
.shikhtech-product-card h3 .preview-product-title,
.shikhtech-product-card .woocommerce-loop-product__title,
.shikhtech-product-card .woocommerce-loop-product__title a {
  color: var(--st-ink);
  font-size: clamp(1.08rem, 1.05vw + 0.7rem, 1.38rem) !important;
  font-weight: 750 !important;
  line-height: 1.42;
  min-height: 2.85em;
  text-align: start;
}
.shikhtech-product-card__footer {
  align-items: center;
  border: 0 !important;
  column-gap: 0.55rem;
  direction: ltr;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 52px;
  grid-template-rows: auto 48px;
  margin-block-start: 0;
  padding-block-start: 0.12rem;
}
.shikhtech-product-card__price {
  align-items: baseline;
  color: var(--st-ink);
  direction: ltr;
  display: inline-flex;
  font-size: clamp(1.22rem, 1.2vw + 0.8rem, 1.65rem) !important;
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 800 !important;
  gap: 0.38rem;
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: end;
  line-height: 1.25;
  margin: 0 0 0.08rem;
  text-align: end;
  white-space: nowrap;
}
.shikhtech-price-amount,
.shikhtech-product-card__price .woocommerce-Price-amount { font-weight: 850; }
.shikhtech-price-currency,
.shikhtech-product-card__price .woocommerce-Price-currencySymbol {
  color: var(--st-muted);
  font-size: 0.58em;
  font-weight: 700;
}
.shikhtech-product-card__price .woocommerce-Price-amount,
.shikhtech-product-card__price .woocommerce-Price-amount bdi { direction: ltr; unicode-bidi: isolate; }
.shikhtech-product-card .preview-share,
.shikhtech-product-card .preview-add {
  align-items: center;
  border-radius: 16px !important;
  display: inline-flex;
  height: 48px !important;
  justify-content: center;
  min-height: 48px !important;
  padding: 0 !important;
  width: 48px !important;
}
.shikhtech-product-card .preview-share {
  background: transparent;
  border: 2px solid rgba(34, 50, 75, 0.16);
  color: #22324b;
  grid-column: 1;
  grid-row: 2;
}
.shikhtech-product-card .preview-share:hover,
.shikhtech-product-card .preview-share:focus-visible { background: #ffffff; border-color: #22324b; color: #22324b; }
.shikhtech-product-card .preview-add {
  background: #22324b;
  color: #fff;
  grid-column: 3;
  grid-row: 2;
}
.shikhtech-product-card .preview-add:hover { background: #22324b; }
.shikhtech-product-card .preview-share svg,
.shikhtech-product-card .preview-add svg { height: 25px; stroke-width: 1.55; width: 25px; }
.shikhtech-product-card__quantity {
  align-items: center;
  background: #ffffff;
  border: 2px solid rgba(34, 50, 75, 0.16);
  border-radius: 17px;
  direction: ltr;
  display: grid;
  gap: 0;
  grid-column: 2;
  grid-row: 2;
  grid-template-columns: 32px minmax(36px, 1fr) 32px;
  height: 46px;
  min-width: 0;
  overflow: hidden;
  padding: 4px;
  width: 100%;
}
.shikhtech-product-card__quantity button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #22324b;
  display: flex;
  font-size: 1.3rem !important;
  height: 34px;
  justify-content: center;
  min-width: 0;
  padding: 0 !important;
  width: auto;
}
.shikhtech-product-card__quantity output {
  align-items: center;
  background: #fff;
  border-radius: 5px;
  color: #22324b;
  display: inline-flex;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  min-width: 0;
}
html[dir="ltr"] .shikhtech-product-card__price { justify-self: start; text-align: start; }
@container shikhtech-card (max-width: 250px) {
  .shikhtech-product-card__footer { column-gap: 0.35rem; grid-template-columns: 40px minmax(0, 1fr) 44px; grid-template-rows: auto 42px; }
  .shikhtech-product-card .preview-share,
  .shikhtech-product-card .preview-add { height: 42px !important; min-height: 42px !important; width: 42px !important; }
  .shikhtech-product-card__quantity { height: 42px; grid-template-columns: 26px minmax(30px, 1fr) 26px; }
  .shikhtech-product-card__quantity button,
  .shikhtech-product-card__quantity output { height: 30px; }
}
html[data-theme="dark"] .shikhtech-product-card { border-color: rgba(169, 142, 101, 0.38); box-shadow: 0 10px 28px rgba(34, 50, 75, 0.24); }
html[data-theme="dark"] .shikhtech-product-card__visual { background: #22324b !important; }
html[data-theme="dark"] .shikhtech-product-card .preview-share { border-color: rgba(169, 142, 101, 0.38); color: #fff; }
html[data-theme="dark"] .shikhtech-product-card .preview-share:hover,
html[data-theme="dark"] .shikhtech-product-card .preview-share:focus-visible { background: #22324b; border-color: #fff; color: #fff; }
html[data-theme="dark"] .shikhtech-product-card__quantity { background: #22324b; border-color: rgba(169, 142, 101, 0.38); }
html[data-theme="dark"] .shikhtech-product-card__quantity button { color: #fff; }
html[data-theme="dark"] .shikhtech-product-card__quantity output { background: #22324b; color: #fff; }

/* Physical order matches the supplied Arabic reference: share, quantity, cart. */
html[dir="rtl"] .shikhtech-product-card .preview-share,
html[dir="ltr"] .shikhtech-product-card .preview-share { grid-column: 1 !important; }
html[dir="rtl"] .shikhtech-product-card .preview-add,
html[dir="ltr"] .shikhtech-product-card .preview-add { grid-column: 3 !important; }

.preview-premium-footer .shikhtech-premium-footer__grid { grid-template-columns: minmax(250px, 1.35fr) repeat(2, minmax(170px, 1fr)); }
@media (max-width: 940px) {
  .preview-premium-footer .shikhtech-premium-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-premium-footer .shikhtech-premium-footer__brand { grid-column: span 2; }
}
@media (max-width: 390px) {
  .preview-premium-footer .shikhtech-premium-footer__grid { grid-template-columns: 1fr; }
  .preview-premium-footer .shikhtech-premium-footer__brand { grid-column: auto; }
}

@media (max-width: 390px) {
  .shikhtech-product-card__footer { column-gap: 0.15rem; grid-template-columns: 30px minmax(56px, auto) 30px; grid-template-rows: auto 30px; }
  .shikhtech-product-card .preview-share,
  .shikhtech-product-card .preview-add { height: 30px; min-height: 30px; width: 30px; }
  .shikhtech-product-card__quantity { height: 28px; min-width: 56px; }
  .shikhtech-product-card__quantity button { height: 22px; width: 18px; }
}

/* Let narrow cards shrink their controls instead of allowing a child to escape the footer box. */
.shikhtech-product-card__footer > * { max-width: 100%; min-width: 0; }
.shikhtech-product-card__quantity { min-width: 0; width: 100%; }
.shikhtech-product-card__quantity button { flex: 0 1 18px; min-width: 0; }
.shikhtech-product-card__quantity output { flex: 1 1 auto; min-width: 0; }

/* Outer ordering controls: primary add action first on the reading side, quantity next, share last. */
html[dir="rtl"] .shikhtech-product-card .preview-add { grid-column: 1; }
html[dir="rtl"] .shikhtech-product-card .preview-share { grid-column: 3; }
html[dir="ltr"] .shikhtech-product-card .preview-add { grid-column: 3; }
html[dir="ltr"] .shikhtech-product-card .preview-share { grid-column: 1; }

/* Final card hierarchy: readable title, restrained price, and one compact action cluster. */
.shikhtech-product-card__body { gap: 0.35rem; }
.shikhtech-product-card h3,
.shikhtech-product-card h3 .preview-product-title {
  font-size: clamp(1rem, 0.35vw + 0.95rem, 1.125rem) !important;
  font-weight: 650;
  line-height: 1.48;
  min-height: 2.95em;
}
.shikhtech-product-card__price {
  align-items: baseline;
  display: inline-flex;
  direction: ltr;
  gap: 0.32rem;
  font-size: clamp(1.08rem, 0.5vw + 1rem, 1.3rem) !important;
  font-weight: 650;
  line-height: 1.25;
}
.shikhtech-price-amount { font-size: 1em; font-weight: 700; letter-spacing: 0.01em; }
.shikhtech-price-currency { color: var(--st-muted); font-size: 0.68em; font-weight: 650; white-space: nowrap; }
.shikhtech-product-card__footer { margin-block-start: 0.05rem; padding-block-start: 0.35rem; }

@container shikhtech-card (min-width: 310px) {
  .shikhtech-product-card__footer { grid-template-columns: minmax(0, 1fr) 34px 66px 34px; grid-template-rows: 34px; }
  [dir="rtl"] .shikhtech-product-card__price { grid-column: 4; grid-row: 1; justify-self: end; }
  [dir="ltr"] .shikhtech-product-card__price { grid-column: 1; grid-row: 1; justify-self: start; }
  [dir="rtl"] .shikhtech-product-card .preview-add { grid-column: 1; grid-row: 1; }
  [dir="rtl"] .shikhtech-product-card__quantity { grid-column: 2; grid-row: 1; }
  [dir="rtl"] .shikhtech-product-card .preview-share { grid-column: 3; grid-row: 1; }
  [dir="ltr"] .shikhtech-product-card .preview-add { grid-column: 4; grid-row: 1; }
  [dir="ltr"] .shikhtech-product-card__quantity { grid-column: 3; grid-row: 1; }
  [dir="ltr"] .shikhtech-product-card .preview-share { grid-column: 2; grid-row: 1; }
}

.preview-cart {
  background: var(--st-paper);
  box-shadow: -20px 0 60px rgba(34, 50, 75, 0.2);
  width: min(440px, 100vw);
}
.preview-cart__header { background: var(--st-white); min-height: 72px; padding: 1rem 1.15rem; }
.preview-cart__header h2 { font-size: 1.25rem; }
.preview-cart__items { padding-inline: 1rem; }
.preview-cart-item { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 0.7rem; padding-block: 0.85rem; }
.preview-cart-item__visual { border-radius: 12px; height: 58px; width: 58px; }
.preview-cart-item__visual .shikhtech-device { height: 42px; width: 42px; }
.preview-cart-item strong { font-size: 0.8rem; line-height: 1.4; }
.preview-cart-item small { display: none; }
.preview-cart-item__copy > span { font-size: 0.78rem; }
.preview-quantity { border-radius: 10px; }
.preview-quantity button { height: 28px; width: 28px; }
.preview-cart__summary { padding-inline: 1rem; }
.preview-cart__actions { padding-inline: 1rem; }
.preview-cart__note { margin-inline: 1rem; }

@media (max-width: 760px) {
  .shikhtech-product-card__footer { grid-template-columns: minmax(0, 1fr) 36px 78px 38px; }
  .preview-detail-visual { min-height: 285px; }
  .preview-detail-buy { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr); }
  .preview-detail-buy strong { grid-column: 1 / -1; }
  .preview-detail-quantity { grid-column: 1 / 2; }
  .preview-detail-buy .preview-add { width: 100%; }
}

/* Product-card actions inherit the production grid instead of legacy preview pills. */
.shikhtech-product-card .preview-share,
.shikhtech-product-card .preview-add {
  border-radius: 11px;
  font-size: 0;
  gap: 0;
  min-height: 36px;
  padding: 0 !important;
}

/* Shared preview layout mirrors the single production header and drawer. */
.shikhtech-shared-preview-header {
  height: 72px;
  min-height: 72px;
  padding: 0;
}
.shikhtech-shared-preview-header .shikhtech-global-header__inner { direction: inherit; }
.preview-menu-panel.shikhtech-menu-panel {
  --st-drawer-offset: -100%;
  border-left: 0;
  border-right: 1px solid var(--st-line);
  box-shadow: 20px 0 55px rgba(34, 50, 75, 0.22);
  inset-inline: auto !important;
  left: 0 !important;
  right: auto !important;
}
[dir="rtl"] .preview-menu-panel.shikhtech-menu-panel { --st-drawer-offset: -100%; }
.shikhtech-page-context + .shikhtech-category-hero,
.shikhtech-page-context + .shikhtech-compare-hero { margin-block-start: 0; }

@media (max-width: 760px) {
  .shikhtech-shared-preview-header { height: 64px; min-height: 64px; }
}
.shikhtech-product-card .preview-share {
  background: transparent;
  border: 1px solid var(--st-line);
  color: var(--st-ink);
}
.shikhtech-product-card .preview-add {
  background: var(--st-navy);
  border: 0;
  width: 38px;
}
.shikhtech-product-card .preview-add:hover { background: var(--st-navy-light); }
.shikhtech-product-card .preview-add.is-added { background: #a98e65; }
.shikhtech-compare-suggestion__image .shikhtech-device,
.shikhtech-compare-selection__image .shikhtech-device,
.shikhtech-compare-product__image .shikhtech-device { transform: scale(0.42); }
.shikhtech-compare-product__image .shikhtech-device { transform: scale(0.72); }

.shikhtech-cable-calculator { background: var(--st-paper); min-height: 72vh; padding-block-end: 5rem; }
.shikhtech-cable-calculator__hero { padding-block: clamp(2rem, 5vw, 4rem) 1.4rem; }
.shikhtech-cable-calculator__hero p { color: var(--st-amber-dark); font-size: 0.76rem; font-weight: 850; letter-spacing: 0.08em; margin: 0 0 0.7rem; text-transform: uppercase; }
.shikhtech-cable-calculator__hero h1 { color: var(--st-ink); font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.15; margin: 0 0 0.7rem; }
.shikhtech-cable-calculator__hero div { color: var(--st-muted); font-size: 1rem; line-height: 1.8; max-width: 58ch; }
.shikhtech-cable-calculator__card { display: grid; gap: 1.2rem; grid-template-columns: minmax(0, 1fr) minmax(220px, 0.75fr); }
.shikhtech-cable-calculator__card + .shikhtech-cable-calculator__card { margin-block-start: 1rem; }
.shikhtech-cable-calculator__form, .shikhtech-cable-calculator__result, .shikhtech-cable-calculator__note { background: var(--st-white); border: 1px solid var(--st-line); border-radius: 20px; padding: 1.2rem; }
.shikhtech-cable-calculator__form { display: grid; gap: 0.9rem; }
.shikhtech-cable-calculator__form h2 { color: var(--st-ink); font-size: 1rem; margin: 0 0 0.2rem; }
.shikhtech-cable-calculator__form label { display: grid; gap: 0.4rem; }
.shikhtech-cable-calculator__form label span { color: var(--st-muted); font-size: 0.78rem; font-weight: 750; }
.shikhtech-cable-calculator__form input, .shikhtech-cable-calculator__form select { background: var(--st-paper); border: 1px solid var(--st-line); border-radius: 12px; color: var(--st-ink); min-height: 46px; padding: 0.65rem 0.8rem; width: 100%; }
.shikhtech-cable-calculator__submit { background: var(--st-navy); border: 0; border-radius: 12px; color: #fff; font: inherit; font-weight: 800; min-height: 46px; padding: 0.7rem 1rem; }
.shikhtech-cable-calculator__result { align-items: center; display: flex; flex-direction: column; gap: 0.5rem; justify-content: center; min-height: 210px; text-align: center; }
.shikhtech-cable-calculator__result[hidden] { display: none; }
.shikhtech-cable-calculator__result span { color: var(--st-muted); font-size: 0.78rem; font-weight: 750; }
.shikhtech-cable-calculator__result strong { color: var(--st-navy); font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1; }
.shikhtech-cable-calculator__result small { color: var(--st-muted); font-size: 0.82rem; }
.shikhtech-cable-calculator__result.is-error { color: #b42318; font-weight: 750; }
.shikhtech-cable-calculator__note { color: var(--st-muted); grid-column: 1 / -1; }
.shikhtech-cable-calculator__note strong { color: var(--st-ink); font-size: 0.85rem; }
.shikhtech-cable-calculator__note p { font-size: 0.8rem; line-height: 1.8; margin: 0.45rem 0 0; }
html[data-theme="dark"] .shikhtech-cable-calculator__result strong { color: #fff; }
@media (max-width: 700px) { .shikhtech-cable-calculator__card { grid-template-columns: 1fr; } .shikhtech-cable-calculator__note { grid-column: auto; } }

/* Keep card pricing in the visual gap below the product identity, above actions. */
.shikhtech-product-card__footer {
  align-items: center;
  grid-template-columns: 36px minmax(74px, auto) 38px;
  row-gap: 0.55rem;
}
.shikhtech-product-card__price {
  display: block;
  font-size: clamp(1.15rem, 1.6vw, 1.42rem) !important;
  font-weight: 900;
  grid-column: 1 / -1;
  justify-self: start;
  line-height: 1.15;
  margin-block: 0.25rem 0.1rem;
  text-align: start;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .shikhtech-product-card__price { font-size: 1.08rem !important; }
}

/* Final card action alignment: share → quantity → add-to-cart in RTL. */
.shikhtech-product-card__price {
  font-size: clamp(1.22rem, 2vw, 1.5rem) !important;
  justify-self: center;
  text-align: center;
}
.shikhtech-product-card__quantity {
  align-items: center;
  gap: 2px;
  height: 32px;
  min-width: 68px;
  padding: 2px;
}
.shikhtech-product-card__quantity button {
  align-items: center;
  display: inline-flex;
  font-size: 0.78rem !important;
  height: 26px;
  justify-content: center;
  line-height: 1;
  width: 22px;
}
.shikhtech-product-card__quantity output { font-size: 0.82rem; min-width: 16px; text-align: center; }
@media (max-width: 700px) {
  .shikhtech-product-card__price { font-size: 1.16rem !important; }
}

/* Keep compact cards usable when the responsive grid gives them less than 260px. */
@container shikhtech-card (max-width: 260px) {
  .shikhtech-product-card__footer { gap: 0.2rem; grid-template-columns: 36px 74px 38px; justify-content: start; }
  .shikhtech-product-card__price { font-size: 0.78rem !important; grid-column: 1 / -1; }
}

/* Product detail actions: compact quantity control, centered price, share on the physical right. */
.preview-detail-buy {
  align-items: center;
  display: grid;
  direction: ltr;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.55rem;
}
.preview-detail-buy strong {
  direction: rtl;
  grid-column: 1 / -1;
  justify-self: center;
  margin: 0;
  text-align: center;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}
.preview-detail-quantity {
  align-items: center;
  display: inline-flex;
  gap: 2px;
  grid-column: 2;
  grid-row: 2;
  height: 32px;
  justify-self: center;
  min-width: 68px;
  padding: 2px;
}
.preview-detail-quantity button,
.preview-detail-quantity output { height: 26px; }
.preview-detail-quantity button { font-size: 0.78rem; line-height: 1; width: 22px; }
.preview-detail-quantity output { font-size: 0.82rem; min-width: 16px; }
.preview-detail-buy .preview-share {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
  min-width: 38px;
  width: auto;
}
.preview-detail-buy .preview-add {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  min-width: 38px;
  width: auto;
}

/* Homepage cards keep the price prominent without changing the stored value. */
.shikhtech-product-card__price {
  font-size: clamp(1.26rem, 2.1vw, 1.55rem) !important;
  justify-self: center;
  text-align: center;
}
@media (max-width: 700px) {
  .shikhtech-product-card__price { font-size: 1.2rem !important; }
}

/* One visual rhythm for every product action row. */
.shikhtech-product-card__quantity {
  height: 36px;
  min-width: 72px;
}
.shikhtech-product-card__quantity button,
.shikhtech-product-card__quantity output {
  height: 30px;
}
.shikhtech-product-card__quantity button { width: 24px; }
.shikhtech-product-card__quantity output { min-width: 18px; }
.shikhtech-product-card .preview-share,
.shikhtech-product-card .preview-add {
  height: 36px;
  min-height: 36px;
}
.preview-detail-quantity {
  height: 40px;
  min-width: 74px;
}
.preview-detail-quantity button,
.preview-detail-quantity output { height: 32px; }
.preview-detail-quantity button { width: 24px; }
.preview-detail-quantity output { min-width: 18px; }
.preview-detail-buy .preview-share,
.preview-detail-buy .preview-add {
  height: 40px;
  min-height: 40px;
}

/* Product detail layout follows the premium split view: image left, information right. */
.preview-product-detail {
  direction: ltr;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}
.preview-detail-visual {
  border-radius: 26px 0 0 0 !important;
  grid-column: 1;
  grid-row: 1;
  min-height: 640px;
}
.preview-detail-copy {
  direction: rtl;
  grid-column: 2;
  grid-row: 1;
  padding: clamp(2rem, 4vw, 4rem);
}
.preview-detail-topline {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-block-end: 1.25rem;
}
.preview-detail-topline .shikhtech-kicker { margin: 0; }
.preview-detail-topline .preview-share {
  align-items: center;
  background: transparent;
  border: 1px solid var(--st-line);
  border-radius: 999px;
  color: var(--st-ink);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 750;
  gap: 0.35rem;
  min-height: 38px;
  padding-inline: 0.9rem;
}
.preview-detail-topline .preview-share:hover { background: var(--st-paper); }
.preview-detail-copy h1 { max-width: 17ch; }
.preview-detail-price {
  direction: ltr;
  display: flex;
  justify-content: flex-end;
  margin-block: 0.8rem 0.8rem;
}
.preview-detail-price strong {
  direction: rtl;
  color: var(--st-ink);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 850;
}
.preview-detail-price + .preview-detail-description { margin-block-start: 0.55rem; }
.preview-detail-buy {
  align-items: center;
  direction: ltr;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  margin-block-start: 0.9rem;
}
.preview-detail-buy .preview-detail-quantity {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}
.preview-detail-buy .preview-add {
  grid-column: 2;
  grid-row: 1;
  justify-self: stretch;
  width: 100%;
}
.preview-detail-meta { margin-block: 1.5rem 1.2rem; }

@media (max-width: 760px) {
  .preview-product-detail { grid-template-columns: 1fr; }
  .preview-detail-visual {
    border-radius: 26px 26px 0 0 !important;
    grid-column: 1;
    grid-row: 1;
    min-height: 320px;
  }
  .preview-detail-copy { grid-column: 1; grid-row: 2; padding: 1.35rem; }
  .preview-detail-copy h1 { max-width: none; }
  .preview-detail-topline { margin-block-end: 0.9rem; }
  .preview-detail-buy { grid-template-columns: auto minmax(0, 1fr); }
}

/* Final card rhythm: titles and visual areas stay aligned across routes. */
.shikhtech-product-card h3 {
  min-height: 3.1em;
}
.shikhtech-product-card h3 .preview-product-title {
  min-height: inherit;
}
.preview-similar .shikhtech-product-card__visual {
  min-height: 210px;
}
.preview-similar .shikhtech-device {
  height: 112px;
  width: 112px;
}

/* Final homepage card scale: price above the compact action row, aligned to the right. */
.shikhtech-product-card__footer {
  align-items: center;
  column-gap: 0.38rem;
  grid-template-columns: 34px minmax(66px, auto) 34px;
  grid-template-rows: auto 34px;
  padding-block-start: 0.42rem;
}
.shikhtech-product-card__price {
  align-self: end;
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: end;
  margin-block: -0.12rem 0.1rem;
  text-align: end;
}
.shikhtech-product-card .preview-share,
.shikhtech-product-card .preview-add {
  height: 34px;
  min-height: 34px;
  width: 34px;
}
.shikhtech-product-card .preview-share { grid-column: 1; grid-row: 2; }
.shikhtech-product-card__quantity { grid-column: 2; grid-row: 2; height: 32px; min-width: 66px; }
.shikhtech-product-card__quantity button { height: 26px; width: 21px; }
.shikhtech-product-card .preview-add { grid-column: 3; grid-row: 2; }

@media (max-width: 700px) {
  .shikhtech-product-card__footer { column-gap: 0.28rem; grid-template-columns: 32px minmax(62px, auto) 32px; grid-template-rows: auto 32px; }
  .shikhtech-product-card .preview-share,
  .shikhtech-product-card .preview-add { height: 32px; min-height: 32px; width: 32px; }
  .shikhtech-product-card__quantity { height: 30px; min-width: 62px; }
  .shikhtech-product-card__quantity button { height: 24px; width: 19px; }
}

/* Final cascade guard: keep the screenshot action rail inside narrow cards. */
.shikhtech-product-card__footer {
  column-gap: 0.55rem !important;
  grid-template-columns: 46px minmax(0, 1fr) 52px !important;
  grid-template-rows: auto 48px !important;
  min-height: 48px;
}
.shikhtech-product-card__footer > * { box-sizing: border-box; min-width: 0; }
.shikhtech-product-card__price { max-width: 100%; width: 100%; }
.shikhtech-product-card .preview-share,
.shikhtech-product-card .preview-add { height: 48px !important; min-height: 48px !important; width: 48px !important; }
html[dir="rtl"] .shikhtech-product-card .preview-share,
html[dir="ltr"] .shikhtech-product-card .preview-share { grid-column: 1 !important; }
html[dir="rtl"] .shikhtech-product-card .preview-add,
html[dir="ltr"] .shikhtech-product-card .preview-add { grid-column: 3 !important; }
@container shikhtech-card (max-width: 250px) {
  .shikhtech-product-card__footer { column-gap: 0.35rem !important; grid-template-columns: 40px minmax(0, 1fr) 44px !important; grid-template-rows: auto 42px !important; }
  .shikhtech-product-card .preview-share,
  .shikhtech-product-card .preview-add { height: 42px !important; min-height: 42px !important; width: 42px !important; }
  .shikhtech-product-card__quantity { height: 42px !important; }
}

/* One shared size token for every card control. */
.shikhtech-product-card {
  --card-control-size: 46px;
  --card-control-radius: 15px;
}
.shikhtech-product-card__footer {
  grid-template-columns: var(--card-control-size) minmax(0, 1fr) var(--card-control-size) !important;
  grid-template-rows: auto var(--card-control-size) !important;
}
.shikhtech-product-card .preview-share,
.shikhtech-product-card .preview-add,
.shikhtech-product-card__quantity {
  height: var(--card-control-size) !important;
}
.shikhtech-product-card .preview-share,
.shikhtech-product-card .preview-add {
  border-radius: var(--card-control-radius) !important;
  width: var(--card-control-size) !important;
}
.shikhtech-product-card__quantity {
  border-radius: var(--card-control-radius) !important;
  grid-template-columns: calc(var(--card-control-size) * 0.7) minmax(0, 1fr) calc(var(--card-control-size) * 0.7);
}
.shikhtech-product-card__quantity button,
.shikhtech-product-card__quantity output { height: calc(var(--card-control-size) - 12px); }
@container shikhtech-card (max-width: 250px) {
  .shikhtech-product-card { --card-control-size: 42px; --card-control-radius: 13px; }
}

/* One consistent 1:1 product image system for every card. */
.shikhtech-product-card__visual {
  aspect-ratio: 1 / 1;
  align-items: center;
  display: grid;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
  padding: clamp(0.7rem, 2.2vw, 1.35rem) !important;
  place-items: center;
}
.shikhtech-product-card__visual img {
  height: auto !important;
  max-height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center;
  padding: 0 !important;
  transform: scale(var(--shikhtech-image-scale, 1));
  transform-origin: center;
  transition: transform 180ms ease;
  width: auto !important;
}
.shikhtech-product-card__visual img[data-shikhtech-image-normalization="review"] { transform: none; }
.shikhtech-product-card .shikhtech-device {
  height: min(76%, 210px);
  max-height: 100%;
  max-width: 76%;
  width: min(76%, 210px);
}
.preview-detail-visual,
.shikhtech-quick-view__visual {
  align-items: center;
  display: grid;
  place-items: center;
}
.preview-detail-visual img,
.shikhtech-quick-view__visual img {
  height: auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  width: auto;
}
.shikhtech-price-currency { margin-inline-start: 0.18em; }

@media (max-width: 1000px) {
  .shikhtech-category-preview .preview-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .shikhtech-category-preview .preview-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
