/*
 * SCHOOLY clean presentation layer.
 * One final source of truth for layout,
ratios,
colors,
and responsive UI.
 */
:root {
  --s-blue-50: #eaeffa;
  --s-blue-100: #bfcaf0;
  --s-blue-200: #9fb7e8;
  --s-blue-300: #7496de;
  --s-blue-400: #5981d8;
  --s-blue-500: #2f62ce;
  --s-blue-600: #2b59bb;
  --s-blue-700: #215092;
  --s-blue-800: #1a3671;
  --s-blue-900: #142957;
  --s-ink: #1b2438;
  --s-text: #3f4a60;
  --s-muted: #798298;
  --s-line: #e7eaf1;
  --s-soft: #f6f7fa;
  --s-white: #fff;
  --s-danger: #e5484d;
  --s-radius-sm: 10px;
  --s-radius: 16px;
  --s-radius-lg: 24px;
  --s-shadow-sm: 0 8px 24px rgba(20, 41, 87, 0.07);
  --s-shadow: 0 20px 55px rgba(20, 41, 87, 0.12);
  --s-ease: 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
  --ec-red: var(--s-blue-500);
  --ec-red-dark: var(--s-blue-600);
  --ec-black: var(--s-ink);
  --ec-text: var(--s-text);
  --ec-muted: var(--s-muted);
  --ec-line: var(--s-line);
  --ec-soft: var(--s-soft);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--s-white);
}
body {
  background: var(--s-white);
  color: var(--s-text);
  font-family: "tajawal", "Cairo", sans-serif;
  font-size: 14px;
  line-height: 1.7;
}
.container {
  width: min(calc(100% - 48px), 1320px);
  max-width: 1320px;
}
a,
button,
input,
select,
textarea {
  transition:
    color var(--s-ease),
    background-color var(--s-ease),
    border-color var(--s-ease),
    box-shadow var(--s-ease),
    transform var(--s-ease);
}
:focus-visible {
  outline: 3px solid rgba(47, 98, 206, 0.25);
  outline-offset: 3px;
}
::selection {
  background: var(--s-blue-500);
  color: #fff;
}

/* Isolated global header */
.schooly-global-header {
  position: sticky;
  top: 0;
  z-index: 1800;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(231, 234, 241, 0.9);
  backdrop-filter: blur(20px);
}
.schooly-global-header__container {
  width: min(calc(100% - 48px), 1420px);
  margin: 0 auto;
}
.schooly-global-header__utility {
  min-height: 34px;
  display: flex;
  align-items: center;
  background: var(--s-blue-900);
  color: rgba(255, 255, 255, 0.72);
}
.schooly-global-header__utility .schooly-global-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.schooly-global-header__message {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
}
.schooly-global-header__message i {
  color: var(--s-blue-200);
}
.schooly-global-header__contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  font-weight: 700;
}
.schooly-global-header__contacts a,
.schooly-global-header__contacts span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: inherit;
}
.schooly-global-header__contacts a:hover {
  color: #fff;
}
.schooly-global-nav {
  background: transparent;
  transition:
    box-shadow var(--s-ease),
    background-color var(--s-ease);
}
.schooly-global-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 40px rgba(20, 41, 87, 0.08);
}
.schooly-global-nav__row {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(300px, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 2.5vw, 38px);
}
.schooly-global-brand {
  flex: none;
  line-height: 1;
}
.schooly-global-brand .custom-logo-link {
  display: flex;
  align-items: center;
}
.schooly-global-brand img {
  width: auto;
  max-width: 150px;
  max-height: 48px;
  object-fit: contain;
}
.schooly-global-brand__wordmark {
  display: flex;
  align-items: baseline;
  color: var(--s-blue-900);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.06em;
}
.schooly-global-brand__wordmark em {
  color: var(--s-blue-500);
  font-style: normal;
}
.schooly-global-nav__menu {
  min-width: 0;
  display: flex;
  justify-content: center;
}
.schooly-global-menu {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  list-style: none;
}
.schooly-global-menu > li {
  position: relative;
}
.schooly-global-menu > li > a {
  min-height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 10px;
  color: var(--s-text);
  font-size: 12px;
  font-weight: 800;
}
.schooly-global-menu > li > a::after {
  display: none;
}
.schooly-global-menu > li.current-menu-item > a,
.schooly-global-menu > li.current-menu-ancestor > a,
.schooly-global-menu > li > a:hover {
  background: var(--s-blue-50);
  color: var(--s-blue-700);
}
.schooly-global-menu .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-start: 0;
  min-width: 220px;
  margin: 0;
  padding: 9px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  border: 1px solid var(--s-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--s-shadow);
  list-style: none;
  transition:
    opacity var(--s-ease),
    visibility var(--s-ease),
    transform var(--s-ease);
}
.schooly-global-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.schooly-global-menu .sub-menu a {
  padding: 10px 12px;
  display: block;
  border-radius: 8px;
  color: var(--s-text);
  font-size: 12px;
  font-weight: 700;
}
.schooly-global-menu .sub-menu a:hover {
  background: var(--s-blue-50);
  color: var(--s-blue-700);
}
.schooly-global-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}
.schooly-global-search {
  width: clamp(150px, 13vw, 205px);
  height: 44px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--s-line);
  border-radius: 12px;
  background: var(--s-soft);
  color: var(--s-muted);
  font-size: 11px;
  font-weight: 700;
  text-align: start;
}
.schooly-global-search:hover {
  border-color: var(--s-blue-200);
  background: #fff;
  color: var(--s-blue-700);
}
.schooly-global-search span {
  flex: 1;
}
.schooly-global-search kbd {
  min-width: 20px;
  padding: 2px 5px;
  border: 1px solid var(--s-line);
  border-radius: 5px;
  background: #fff;
  color: var(--s-muted);
  font: 700 10px/1.4 sans-serif;
  box-shadow: none;
}
.schooly-global-action {
  position: relative;
  min-width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--s-line);
  border-radius: 12px;
  background: #fff;
  color: var(--s-blue-900);
  font-size: 11px;
  font-weight: 800;
}
.schooly-global-action:hover {
  border-color: var(--s-blue-200);
  background: var(--s-blue-50);
  color: var(--s-blue-700);
  transform: translateY(-2px);
}
.schooly-global-action--account {
  padding: 0 13px;
}

/* ── Account dropdown ───────────────────────────── */
.schooly-account-dropdown {
  position: relative;
  z-index: 40;
}

.schooly-account-dropdown.is-open {
  z-index: 1200;
}

.schooly-account-dropdown__toggle {
  cursor: pointer;
}

.schooly-account-dropdown__chevron {
  font-size: 9px;
  opacity: 0.55;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.schooly-account-dropdown.is-open .schooly-account-dropdown__chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.schooly-account-dropdown__panel {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  width: min(300px, calc(100vw - 24px));
  padding: 8px;
  border: 1px solid var(--s-line);
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 18px 48px rgba(18, 53, 104, 0.14),
    0 4px 14px rgba(18, 53, 104, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
  pointer-events: none;
}

.schooly-account-dropdown.is-open .schooly-account-dropdown__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.schooly-account-dropdown__panel[hidden] {
  display: block !important;
}

.schooly-account-dropdown__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  padding: 12px 12px 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--s-blue-50) 0%, #fff 100%);
}

.schooly-account-dropdown__head--guest {
  background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
}

.schooly-account-dropdown__avatar {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--s-blue-700), var(--s-blue-900));
  color: #fff;
  font-size: 16px;
}

.schooly-account-dropdown__head--guest .schooly-account-dropdown__avatar {
  background: #e2e8f0;
  color: var(--s-blue-900);
}

.schooly-account-dropdown__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.schooly-account-dropdown__meta strong {
  color: var(--s-blue-900);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schooly-account-dropdown__meta span {
  color: var(--s-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schooly-account-dropdown__menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.schooly-account-dropdown__menu > li {
  margin: 0;
  padding: 0;
}

.schooly-account-dropdown__menu > li.is-logout {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--s-line);
}

.schooly-account-dropdown__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--s-blue-900);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none !important;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.schooly-account-dropdown__link i {
  width: 18px;
  flex: 0 0 18px;
  color: var(--s-blue-700);
  font-size: 14px;
  text-align: center;
}

.schooly-account-dropdown__link:hover,
.schooly-account-dropdown__link:focus-visible {
  background: var(--s-blue-50);
  color: var(--s-blue-700);
  transform: translateX(-2px);
  outline: none;
}

[dir="ltr"] .schooly-account-dropdown__link:hover,
[dir="ltr"] .schooly-account-dropdown__link:focus-visible {
  transform: translateX(2px);
}

.schooly-account-dropdown__menu > li.is-emphasis .schooly-account-dropdown__link {
  background: var(--s-blue-50);
  color: var(--s-blue-700);
}

.schooly-account-dropdown__menu > li.is-logout .schooly-account-dropdown__link {
  color: #b91c1c;
}

.schooly-account-dropdown__menu > li.is-logout .schooly-account-dropdown__link i {
  color: #dc2626;
}

.schooly-account-dropdown__menu > li.is-logout .schooly-account-dropdown__link:hover {
  background: #fef2f2;
  color: #991b1b;
}

.schooly-global-badge {
  position: absolute;
  top: -5px;
  inset-inline-end: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--s-danger);
  color: #fff;
  font: 800 9px/1 sans-serif;
}
.schooly-global-action .ecommza-wishlist-count,
.schooly-global-cart__icon .ecommza-cart-count {
  position: absolute !important;
  top: -5px !important;
  right: auto !important;
  left: -5px !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 4px !important;
  place-items: center !important;
  border: 2px solid #fff !important;
  border-radius: 999px !important;
  background: var(--s-danger) !important;
  color: #fff !important;
  font: 800 9px/1 sans-serif !important;
}
[dir="ltr"] .schooly-global-action .ecommza-wishlist-count,
[dir="ltr"] .schooly-global-cart__icon .ecommza-cart-count {
  right: -5px !important;
  left: auto !important;
}
.schooly-global-cart {
  min-height: 48px;
  padding: 4px 6px 4px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 14px;
  background: var(--s-blue-900);
  color: #fff;
}
/* [dir="rtl"] .schooly-global-cart { padding: 4px 14px 4px 6px; } */
.schooly-global-cart:hover {
  background: var(--s-blue-600);
  transform: translateY(-2px);
}
.schooly-global-cart__icon {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
}
.schooly-global-cart__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}
.schooly-global-cart__text small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 8px;
}
.schooly-global-cart__text strong {
  color: #fff;
  font-size: 10px;
}
.schooly-global-menu-toggle,
.schooly-mobile-overlay,
.schooly-mobile-drawer {
  display: none;
}

/* Isolated command search — compact command palette */
.schooly-command-search {
  position: fixed;
  inset: 0;
  z-index: 4000;
  padding: clamp(12px, 3vw, 28px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.24s ease,
    visibility 0.24s ease;
}
.schooly-command-search.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.schooly-command-search__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 42, 0.62);
  backdrop-filter: blur(10px);
}
.schooly-command-search__dialog {
  position: relative;
  width: min(860px, calc(100vw - 24px));
  max-height: min(72vh, 640px);
  padding: 18px 20px 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(4, 15, 38, 0.24);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.schooly-command-search.is-open .schooly-command-search__dialog {
  transform: translateY(0) scale(1);
}
.schooly-command-search__header {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 0 0 auto;
}
.schooly-command-search__kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
  color: var(--s-blue-500);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.schooly-command-search__header h2 {
  margin: 0;
  color: var(--s-blue-900);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
}
.schooly-command-search__header p {
  display: block;
  margin: 4px 0 0;
  color: var(--s-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.schooly-command-search__close {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: var(--s-soft);
  color: var(--s-blue-900);
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease;
}
.schooly-command-search__close:hover {
  background: var(--s-blue-900);
  color: #fff;
  transform: none;
}
.schooly-command-search__bar {
  padding: 6px;
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 6px;
  border: 1px solid var(--s-line);
  border-radius: 14px;
  background: var(--s-soft);
  flex: 0 0 auto;
}
.schooly-command-search__input {
  min-width: 0;
  min-height: 54px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #fff;
}
.schooly-command-search__input:focus-within {
  border-color: var(--s-blue-300);
  box-shadow: 0 0 0 3px rgba(47, 98, 206, 0.08);
}
.schooly-command-search__input > i {
  color: var(--s-blue-500);
  font-size: 16px;
}
.schooly-command-search__input input {
  min-width: 0;
  height: 50px;
  flex: 1;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--s-blue-900);
  font-size: 15px;
  font-weight: 700;
  outline: 0;
  box-shadow: none;
}
.schooly-command-search__input input:focus {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.schooly-command-search__input input::placeholder {
  color: #9ba4b6;
}
.schooly-command-search__clear {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--s-soft);
  color: var(--s-muted);
}
.schooly-command-search__shortcut {
  padding: 4px 7px;
  border: 1px solid var(--s-line);
  border-radius: 6px;
  background: var(--s-soft);
  color: var(--s-muted);
  font: 700 9px/1 sans-serif;
}
.schooly-command-search__filter {
  min-width: 0;
  min-height: 54px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 13px;
  background: var(--s-blue-900);
  color: #fff;
}
.schooly-command-search__filter select {
  min-width: 0;
  height: 100%;
  flex: 1;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  outline: 0;
  box-shadow: none;
  appearance: none;
}
.schooly-command-search__filter select:focus {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.schooly-command-search__filter select option {
  background: #fff;
  color: var(--s-blue-900);
}
.schooly-command-search__filter .fa-chevron-down {
  font-size: 9px;
}
#liveSearchResults {
  flex: 1 1 auto;
  min-height: 0;
}
.schooly-command-search__results:not(:empty) {
  margin-top: 16px;
  padding-top: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  border-top: 0;
  flex: 1 1 auto;
  min-height: 0;
  max-height: min(480px, 54vh);
  overflow-y: auto;
  scrollbar-width: thin;
}
.schooly-command-search__results:not(:empty)::-webkit-scrollbar {
  width: 6px;
}
.schooly-command-search__results:not(:empty)::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}
.schooly-command-result {
  min-width: 0;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-bottom: 1px solid #eef2f7;
  border-radius: 0;
  background: transparent;
  color: var(--s-text);
  text-decoration: none !important;
  transition: background 0.12s ease;
}
.schooly-command-result:last-child {
  border-bottom: 0;
}
.schooly-command-result:hover {
  background: #f8fafc;
  box-shadow: none;
  transform: none;
}
.schooly-command-result > img,
.schooly-command-result__type {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 7px;
  object-fit: cover;
  background: #fff;
  border: 1px solid #e8edf3;
}
.schooly-command-result__type {
  display: grid;
  place-items: center;
  color: var(--s-blue-500);
  font-size: 12px;
}
.schooly-command-result__info {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.schooly-command-result__info b {
  overflow: hidden;
  color: var(--s-blue-900);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.schooly-command-result__info small {
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--s-muted);
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.schooly-command-result__meta {
  display: none;
}
.schooly-command-result__price {
  flex: 0 0 auto;
  color: var(--s-blue-700);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.schooly-command-result__pill {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 1px 6px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}
.schooly-command-result__arrow {
  display: none;
}
.schooly-command-result.is-active,
.schooly-command-result:focus-visible {
  background: var(--s-blue-50);
  border-inline-start: 3px solid var(--s-blue-500);
  outline: none;
}
.schooly-command-result__info b mark {
  padding: 0 2px;
  border-radius: 4px;
  background: #fef08a;
  color: inherit;
}
.schooly-command-search__results-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
  color: var(--s-blue-900);
  font-size: 13px;
  font-weight: 800;
}
.schooly-command-search__results-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.schooly-search-group {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
}
.schooly-search-group__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 2px;
  color: var(--s-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.schooly-search-group__head small {
  margin-right: auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--s-soft);
  color: var(--s-blue-700);
  font-size: 9px;
  text-transform: none;
  letter-spacing: 0;
}
.schooly-search-group__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--s-line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.schooly-search-view-all {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  margin-top: 2px;
  border: 1px solid var(--s-line);
  border-radius: 10px;
  background: #fff;
  color: var(--s-blue-700) !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.schooly-search-view-all:hover {
  border-color: var(--s-blue-300);
  background: var(--s-blue-50);
}
.schooly-search-loading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 120px;
}
.schooly-search-loading span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--s-blue-400);
  animation: schoolySearchPulse 0.9s infinite ease-in-out;
}
.schooly-search-loading span:nth-child(2) {
  animation-delay: 0.15s;
}
.schooly-search-loading span:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes schoolySearchPulse {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: scale(0.85);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
}
.schooly-command-search__empty {
  grid-column: 1 / -1;
  min-height: 120px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px dashed var(--s-blue-200);
  border-radius: 12px;
  background: var(--s-blue-50);
  color: var(--s-muted);
  text-align: center;
}
.schooly-command-search__empty i {
  color: var(--s-blue-500);
  font-size: 20px;
}
.schooly-command-search__empty h3 {
  margin: 0;
  font-size: 14px;
  color: var(--s-blue-900);
}
.schooly-command-search__discover {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}
.schooly-command-search__discover.is-popular-empty {
  grid-template-columns: minmax(0, 1fr);
}
.schooly-command-search__section-head {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.schooly-command-search__section-head span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--s-blue-900);
  font-size: 12px;
  font-weight: 900;
}
.schooly-command-search__section-head span i {
  color: var(--s-blue-500);
}
.schooly-command-search__section-head small {
  color: var(--s-muted);
  font-size: 9px;
}
.schooly-command-search__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.schooly-command-search__tag {
  min-height: 34px;
  padding: 0 4px 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--s-line);
  border-radius: 999px;
  background: #fff;
  color: var(--s-text);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.schooly-command-search__tag-text {
  line-height: 1.2;
}
.schooly-command-search__tag-remove {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--s-muted);
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.schooly-command-search__tag-remove i {
  font-size: 10px;
  pointer-events: none;
}
.schooly-command-search__tag:hover {
  border-color: var(--s-blue-300);
  background: var(--s-blue-50);
  color: var(--s-blue-900);
  transform: none;
}
.schooly-command-search__tag-remove:hover {
  background: #fee2e2;
  color: #dc2626;
}
.schooly-command-search__tag:hover .schooly-command-search__tag-remove {
  color: #64748b;
}
.schooly-command-search__category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.schooly-command-search__category {
  min-width: 0;
  min-height: 0;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--s-line);
  border-radius: 9px;
  background: #fff;
  color: var(--s-blue-900);
  text-decoration: none !important;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.schooly-command-search__category-image {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  overflow: hidden;
  border-radius: 7px;
  border: 1px solid var(--s-line);
  background: var(--s-soft);
}
.schooly-command-search__category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.schooly-command-search__category-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.schooly-command-search__category-copy strong {
  overflow: hidden;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.schooly-command-search__category-copy small {
  color: var(--s-muted);
  font-size: 9px;
  font-weight: 600;
}
.schooly-command-search__category > i {
  flex: 0 0 auto;
  color: var(--s-blue-400);
  font-size: 9px;
}
.schooly-command-search__category span:not(.schooly-command-search__category-image):not(.schooly-command-search__category-copy) {
  overflow: hidden;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.schooly-command-search__category small {
  color: var(--s-muted);
  font-size: 9px;
}
.schooly-command-search__category i {
  color: var(--s-blue-400);
  font-size: 9px;
}
.schooly-command-search__category:hover {
  border-color: var(--s-blue-200);
  background: var(--s-blue-50);
  color: var(--s-blue-700);
  transform: none;
}

/* Shared buttons */
.ecommza-btn,
.submit-btn,
.shop-widget__btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  min-height: 46px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--s-blue-500);
  border-radius: var(--s-radius-sm);
  background: var(--s-blue-500);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: none;
}
/* Isolated homepage showcase */
.schooly-showcase {
  padding: 0 0 42px;
  overflow: hidden;
  background: linear-gradient(180deg, #f6f8fc, #fff);
}
.schooly-showcase__frame {
  width: 100%;
  margin: 0;
}
.schooly-showcase__slider {
  position: relative;
  height: clamp(610px, 47vw, 720px);
  overflow: hidden;
  border-radius: 0;
  background: var(--s-blue-900);
  box-shadow: 0 32px 90px rgba(20, 41, 87, 0.2);
}
.schooly-showcase__slide {
  position: relative;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
}
.schooly-showcase__slider:not(.swiper-initialized)
  .schooly-showcase__slide:not(:first-child) {
  display: none;
}
.schooly-showcase__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--s-blue-800);
}
.schooly-showcase__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86) contrast(1.04);
}
.schooly-showcase__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(10, 27, 61, 0.08),
      rgba(10, 27, 61, 0.35) 44%,
      rgba(10, 27, 61, 0.95)
    ),
    linear-gradient(0deg, rgba(10, 27, 61, 0.52), transparent 50%);
}
[dir="ltr"] .schooly-showcase__shade {
  background:
    linear-gradient(
      270deg,
      rgba(10, 27, 61, 0.08),
      rgba(10, 27, 61, 0.35) 44%,
      rgba(10, 27, 61, 0.95)
    ),
    linear-gradient(0deg, rgba(10, 27, 61, 0.52), transparent 50%);
}
.schooly-showcase__layout {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 96px), 1320px);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(300px, 1.08fr);
  align-items: center;
  gap: 60px;
}
.schooly-showcase__copy {
  max-width: 590px;
  padding: 46px 0 88px;
  color: #fff;
}
.schooly-showcase__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}
.schooly-showcase__title {
  max-width: 620px;
  margin: 22px 0 18px;
  color: #fff;
  font-size: clamp(46px, 5.2vw, 78px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.schooly-showcase__text {
  max-width: 530px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.95;
}
.schooly-showcase__price {
  margin-top: 20px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}
.schooly-showcase__price del {
  margin-inline-start: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 500;
}
.schooly-showcase__cta {
  min-height: 54px;
  margin-top: 30px;
  padding: 0 8px 0 25px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--s-blue-900);
  font-size: 13px;
  font-weight: 800;
}
[dir="rtl"] .schooly-showcase__cta {
  padding: 0 25px 0 8px;
}
.schooly-showcase__cta i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--s-blue-500);
  color: #fff;
}
.schooly-showcase__cta:hover {
  background: var(--s-blue-50);
  color: var(--s-blue-700);
  transform: translateY(-3px);
}
.schooly-showcase__statement {
  align-self: end;
  justify-self: end;
  padding-bottom: 82px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  color: rgba(255, 255, 255, 0.25);
  writing-mode: vertical-rl;
  user-select: none;
}
.schooly-showcase__statement span {
  font: 800 clamp(58px, 7vw, 108px)/0.82 sans-serif;
  letter-spacing: -0.08em;
}
.schooly-showcase__statement small {
  color: rgba(255, 255, 255, 0.72);
  font: 800 14px/1 sans-serif;
}
.schooly-showcase__controls {
  position: absolute;
  z-index: 5;
  inset-inline-start: max(48px, calc((100% - 1320px) / 2));
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.schooly-showcase__arrow {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(12px);
}
.schooly-showcase__arrow:hover {
  border-color: #fff;
  background: #fff;
  color: var(--s-blue-900);
}
.schooly-showcase__pagination {
  position: relative !important;
  width: 120px !important;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}
.schooly-showcase__pagination .swiper-pagination-progressbar-fill {
  background: #fff;
}

/* Sections */
.ecommza-section {
  padding: clamp(1.5rem, 1.25rem + 1vw, 2.5rem) 0;
  background: #fff;
}
.ecommza-section:nth-of-type(even) {
  background: var(--s-soft);
}
.ecommza-section-head {
  min-height: 46px;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: start;
}
.ecommza-section-head h2 {
  position: relative;
  margin: 0;
  padding-inline-start: 16px;
  color: var(--s-blue-900);
  font-size: clamp(23px, 2.4vw, 31px);
  line-height: 1.3;
  font-weight: 800;
}
.ecommza-section-head h2::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 5px;
  width: 5px;
  height: 29px;
  border-radius: 999px;
  background: var(--s-blue-500);
}
.ecommza-section-head h2::after {
  display: none;
}
.ecommza-view-all {
  position: static;
  min-height: 38px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--s-blue-100);
  border-radius: 999px;
  background: #fff;
  color: var(--s-blue-600);
  font-size: 12px;
  font-weight: 800;
  transform: none;
}
.ecommza-view-all:hover {
  border-color: var(--s-blue-500);
  background: var(--s-blue-500);
  color: #fff;
}

/* Category Swiper */
.ecommza-categories {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 12% 12%,
      rgba(47, 98, 206, 0.11),
      transparent 28%
    ),
    linear-gradient(180deg, #f7faff 0%, #fff 100%);
}
.ecommza-categories::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  top: -210px;
  inset-inline-end: -120px;
  border: 1px solid rgba(47, 98, 206, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 48px rgba(47, 98, 206, 0.025),
    0 0 0 96px rgba(47, 98, 206, 0.018);
  pointer-events: none;
}
.ecommza-categories__shell {
  position: relative;
  isolation: isolate;
}
.ecommza-categories__shell::before,
.ecommza-categories__shell::after {
  content: "";
  position: absolute;
  z-index: 6;
  top: -12px;
  bottom: -12px;
  width: 105px;
  pointer-events: none;
}
.ecommza-categories__shell::before {
  left: 0;
  background: linear-gradient(
    90deg,
    #f8faff 5%,
    rgba(248, 250, 255, 0.9) 28%,
    transparent 100%
  );
}
.ecommza-categories__shell::after {
  right: 0;
  background: linear-gradient(
    270deg,
    #f8faff 5%,
    rgba(248, 250, 255, 0.9) 28%,
    transparent 100%
  );
}
.categories-swiper {
  width: 100%;
  overflow: hidden;
}
.categories-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}
.categories-swiper .ecommza-categories__grid {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0;
  overflow: visible;
}
.categories-swiper .swiper-slide {
  height: 430px;
  display: flex;
  align-items: stretch;
  opacity: 1;
  visibility: visible;
}
.ecommza-cat-item {
  width: 100%;
  height: 430px;
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(20, 41, 87, 0.09);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 38px rgba(20, 41, 87, 0.07);
  transition:
    transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.55s ease,
    border-color 0.4s ease;
}
.ecommza-cat-item:hover {
  border-color: rgba(47, 98, 206, 0.32);
  box-shadow: 0 26px 60px rgba(20, 41, 87, 0.16);
  transform: translateY(-10px);
}
.ecommza-cat-item__img {
  position: relative;
  flex: 0 0 255px;
  width: 100%;
  height: 255px;
  overflow: hidden;
  border: 0;
  border-radius: 17px;
  background: linear-gradient(145deg, var(--s-blue-50), #fff);
}
.ecommza-cat-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.55s ease;
}
.ecommza-cat-item__img.is-logo img,
.ecommza-cat-item__img.is-image img {
  padding: 0;
  object-fit: cover;
  object-position: center;
}
.schooly-school-card:hover .ecommza-cat-item__img img {
  transform: scale(1.09);
  filter: saturate(1.08) contrast(1.03);
}
.schooly-school-card:hover .ecommza-cat-item__img.is-logo img {
  transform: scale(1.06) rotate(-2deg);
}
.ecommza-cat-item__name {
  height: 45px;
  min-height: 45px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--s-blue-900);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}
.ecommza-cat-item__count {
  display: none;
}
.schooly-schools-head {
  margin-bottom: 34px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  text-align: start;
}
.schooly-schools-head p {
  max-width: 680px;
  margin: 9px 0 0;
  color: var(--s-muted);
  font-size: 13px;
  line-height: 1.8;
}
.schooly-section-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--s-blue-500);
  font-size: 10px;
  font-weight: 900;
}
.schooly-schools-head__favorite {
  min-height: 46px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--s-blue-100);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--s-blue-700);
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(20, 41, 87, 0.06);
  backdrop-filter: blur(12px);
}
.schooly-schools-head__favorite:hover {
  border-color: var(--s-blue-500);
  background: var(--s-blue-500);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(47, 98, 206, 0.22);
}
.schooly-school-card {
  position: relative;
}
.schooly-school-card__link {
  width: 100%;
  height: 100%;
  display: flex;
  flex: 1;
  flex-direction: column;
  color: inherit;
}
.schooly-school-card__glow {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(0deg, rgba(9, 24, 55, 0.68), transparent);
  opacity: 0.65;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.schooly-school-card:hover .schooly-school-card__glow {
  opacity: 0.92;
}
.schooly-school-card__number,
.schooly-school-card__products {
  position: absolute;
  z-index: 2;
  top: 12px;
  min-height: 27px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(9, 24, 55, 0.28);
  color: #fff;
  font: 800 9px/1 sans-serif;
  backdrop-filter: blur(10px);
}
.schooly-school-card__number {
  inset-inline-start: 12px;
}
.schooly-school-card__products {
  top: auto;
  bottom: 12px;
  inset-inline-start: 12px;
}
.schooly-school-card__body {
  height: 161px;
  min-height: 161px;
  padding: 16px 10px 11px;
  display: flex;
  flex: 0 0 161px;
  flex-direction: column;
}
.schooly-school-card__label {
  height: 14px;
  margin-bottom: 5px;
  overflow: hidden;
  color: var(--s-blue-500);
  font-size: 9px;
  font-weight: 900;
}
.schooly-school-favorite {
  position: absolute;
  z-index: 4;
  top: 17px;
  inset-inline-end: 17px;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
  color: var(--s-blue-700);
  box-shadow: 0 8px 24px rgba(20, 41, 87, 0.18);
  backdrop-filter: blur(12px);
  transition:
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.3s ease,
    color 0.3s ease;
}
.schooly-school-favorite:hover,
.schooly-school-favorite.is-favorite {
  border-color: var(--s-blue-500);
  background: var(--s-blue-500);
  color: #fff;
  transform: scale(1.12) rotate(-7deg);
}
.schooly-school-favorite.is-favorite {
  box-shadow: 0 9px 24px rgba(47, 98, 206, 0.32);
}
.schooly-school-card__cta {
  margin-top: 14px;
  padding-top: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--s-line);
  color: var(--s-blue-500);
  font-size: 10px;
  font-weight: 800;
}
.schooly-school-card__cta i {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--s-blue-50);
  transition:
    transform 0.4s ease,
    background 0.3s ease,
    color 0.3s ease;
}
.schooly-school-card:hover .schooly-school-card__cta i {
  background: var(--s-blue-500);
  color: #fff;
  transform: translateX(-5px);
}
.categories-slider-btn {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--s-blue-100);
  border-radius: 50%;
  background: #fff;
  color: var(--s-blue-700);
  box-shadow: var(--s-shadow-sm);
  transform: translateY(-50%);
}
.categories-slider-btn--prev {
  right: 0;
}
.categories-slider-btn--next {
  left: 0;
}
.categories-slider-btn:hover {
  border-color: var(--s-blue-500);
  background: var(--s-blue-500);
  color: #fff;
  transform: translateY(-50%) scale(1.06);
}

/* Product presentation */
.ecommza-products-grid.row,
.woocommerce ul.products.row,
.wishlist-grid {
  align-items: stretch;
  row-gap: 20px;
}
.ecommza-products-grid > *,
.wishlist-grid > * {
  display: flex;
}
.schooly-product-card {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(20, 41, 87, 0.09);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 41, 87, 0.065);
  transition:
    transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.45s ease,
    box-shadow 0.55s ease !important;
}
.schooly-product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 1px solid transparent;
  border-radius: inherit;
  pointer-events: none;
  transition: border-color 0.45s ease;
}
.schooly-product-card:hover {
  border-color: rgba(47, 98, 206, 0.28);
  box-shadow: 0 28px 65px rgba(20, 41, 87, 0.15);
  transform: translateY(-9px) !important;
}
.schooly-product-card:hover::after {
  border-color: rgba(255, 255, 255, 0.75);
}
.schooly-product-card__image {
  position: relative;
  flex: none;
  aspect-ratio: 1 / 1.02 !important;
  margin: 7px 7px 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--s-soft);
  box-shadow: none;
}
.schooly-product-card__image .product-img {
  display: block;
  width: 100%;
  height: 100%;
}
.schooly-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.55s ease;
}
.schooly-product-card__image-shade {
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(0deg, rgba(9, 24, 55, 0.24), transparent);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.schooly-product-card:hover .schooly-product-card__image img {
  transform: scale(1.075);
  filter: saturate(1.06) contrast(1.025);
}
.schooly-product-card:hover .schooly-product-card__image-shade {
  opacity: 1;
}
.product-action_list {
  top: 12px;
  inset-inline-start: 12px;
  left: auto;
  right: auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
  opacity: 0;
  transform: translateX(12px);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.schooly-product-card:hover .product-action_list {
  opacity: 1;
  transform: translateX(0);
}
.box-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--s-blue-800);
  box-shadow: 0 8px 22px rgba(20, 41, 87, 0.14);
  backdrop-filter: blur(12px);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease !important;
}
.box-icon::before {
  display: none;
}
.box-icon:hover,
.wishlist-btn.is-wishlisted,
.compare-btn.is-comparing {
  border-color: var(--s-blue-500);
  background: var(--s-blue-500);
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 10px 24px rgba(47, 98, 206, 0.28);
}
.schooly-badge {
  top: 12px;
  inset-inline-end: 12px;
  right: auto;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(47, 98, 206, 0.9);
  font-size: 9px;
  box-shadow: 0 7px 18px rgba(20, 41, 87, 0.16);
  backdrop-filter: blur(10px);
}
.schooly-badge--danger {
  background: var(--s-danger);
}
.schooly-product-card__body {
  flex: 1;
  padding: 17px 17px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.schooly-product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--s-blue-500);
  font-size: 9px;
  font-weight: 900;
}
.schooly-product-card__meta > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.schooly-product-card__meta small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--s-muted);
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}
.schooly-product-card__meta small i {
  color: #2f62ce;
  font-size: 5px;
}
.schooly-product-card__meta small.is-unavailable i {
  color: var(--s-danger);
}
.schooly-product-card h3 {
  min-height: 46px !important;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--s-blue-900);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 800;
}
.schooly-product-card h3 a {
  transition: color 0.3s ease;
}
.schooly-product-card:hover h3 a {
  color: var(--s-blue-500);
}
.schooly-product-card__price {
  margin-top: auto;
  color: var(--s-blue-600);
  font-size: 16px;
  font-weight: 800;
}
.schooly-product-card__price del {
  margin-inline-start: 6px;
  color: var(--s-muted);
  font-size: 11px;
  font-weight: 600;
}
.schooly-product-card__price ins {
  color: var(--s-blue-600);
  text-decoration: none;
}
.schooly-product-link {
  width: 100%;
  min-height: 43px;
  margin-top: 6px;
  padding-inline: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  border: 1px solid var(--s-blue-100);
  border-radius: 12px;
  background: var(--s-blue-50);
  color: var(--s-blue-700);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease;
}
.schooly-product-link i {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  transition:
    transform 0.4s ease,
    background 0.3s ease,
    color 0.3s ease;
}
.schooly-product-card:hover .schooly-product-link {
  border-color: var(--s-blue-500);
  background: var(--s-blue-500);
  color: #fff;
}
.schooly-product-card:hover .schooly-product-link i {
  background: #fff;
  color: var(--s-blue-500);
  transform: translateX(-4px);
}

/* Precision category-card hover */
.schooly-school-card::before {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 7px;
  border: 1px solid transparent;
  border-radius: 17px;
  pointer-events: none;
  transition: border-color 0.45s ease;
}
.schooly-school-card:hover::before {
  border-color: rgba(255, 255, 255, 0.68);
}
.schooly-school-card__link::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: -35%;
  left: -85%;
  width: 45%;
  height: 95%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.36),
    transparent
  );
  transform: rotate(22deg);
  transition: left 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}
.schooly-school-card:hover .schooly-school-card__link::after {
  left: 130%;
}

/* Premium campaign banners */
.schooly-campaigns {
  position: relative;
  padding: 72px 0 32px;
  overflow: hidden;
  background: #fff;
}
.schooly-campaigns__container {
  width: min(calc(100% - 48px), 1380px);
  margin: 0 auto;
}
.schooly-campaigns__grid {
  display: grid;
  grid-template-columns: 1fr;
}
.schooly-campaign-card {
  position: relative;
  height: 500px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 32px;
  background: var(--s-blue-900);
  box-shadow: 0 28px 80px rgba(20, 41, 87, 0.18);
  color: #fff;
  transition:
    transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.65s ease;
}
.schooly-campaign-card::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 23px;
  pointer-events: none;
}
.schooly-campaign-card__media {
  position: absolute;
  z-index: -3;
  inset: 0;
  overflow: hidden;
}
.schooly-campaign-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.04);
  transition:
    transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.7s ease;
}
.schooly-campaign-card__overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  background:
    linear-gradient(
      90deg,
      rgba(7, 20, 48, 0.08),
      rgba(7, 20, 48, 0.42) 45%,
      rgba(7, 20, 48, 0.97) 100%
    ),
    linear-gradient(0deg, rgba(7, 20, 48, 0.48), transparent 55%);
}
[dir="ltr"] .schooly-campaign-card__overlay {
  background:
    linear-gradient(
      270deg,
      rgba(7, 20, 48, 0.08),
      rgba(7, 20, 48, 0.42) 45%,
      rgba(7, 20, 48, 0.97) 100%
    ),
    linear-gradient(0deg, rgba(7, 20, 48, 0.48), transparent 55%);
}
.schooly-campaign-card--secondary .schooly-campaign-card__overlay {
  background:
    linear-gradient(
      270deg,
      rgba(7, 20, 48, 0.08),
      rgba(7, 20, 48, 0.4) 45%,
      rgba(7, 20, 48, 0.96) 100%
    ),
    linear-gradient(0deg, rgba(7, 20, 48, 0.42), transparent 58%);
}
.schooly-campaign-card__content {
  position: relative;
  z-index: 4;
  width: min(50%, 610px);
  height: 100%;
  padding: clamp(42px, 5vw, 78px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.schooly-campaign-card--secondary .schooly-campaign-card__content {
  margin-inline-start: auto;
}
.schooly-campaign-card__topline {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.schooly-campaign-card__tag {
  min-height: 31px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 9px;
  font-weight: 900;
  backdrop-filter: blur(14px);
}
.schooly-campaign-card__tag i {
  color: #9fc0ff;
}
.schooly-campaign-card__tag--urgent {
  border-color: rgba(255, 196, 120, 0.42);
  background: linear-gradient(135deg, rgba(255, 154, 60, 0.22), rgba(255, 255, 255, 0.1));
  color: #ffe8c8;
}
.schooly-campaign-card__tag--urgent i {
  color: #ffc46f;
}
.schooly-campaign-card__subtitle,
.schooly-campaign-card__content p {
  margin: 0 0 10px;
  color: #9fc0ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.schooly-campaign-card__content h3 {
  max-width: 600px;
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4.2vw, 64px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.schooly-campaign-card__footer {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.schooly-campaign-card__cta {
  min-height: 54px;
  padding: 0 8px 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--s-blue-900);
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}
[dir="rtl"] .schooly-campaign-card__cta {
  padding: 0 22px 0 8px;
}
.schooly-campaign-card__cta i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--s-blue-500);
  color: #fff;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.schooly-campaign-card__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  font-weight: 700;
}
.schooly-campaign-card__note i {
  color: #9fc0ff;
}
.schooly-campaign-card__watermark {
  position: absolute;
  z-index: 1;
  inset-inline-end: -22px;
  bottom: -30px;
  color: rgba(255, 255, 255, 0.07);
  font: 900 clamp(90px, 14vw, 210px)/0.8 sans-serif;
  letter-spacing: -0.08em;
  pointer-events: none;
}
.schooly-campaign-card__orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
  transition: transform 0.8s ease;
}
.schooly-campaign-card__orb--one {
  width: 210px;
  height: 210px;
  top: -95px;
  inset-inline-start: 35%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 0 0 38px rgba(255, 255, 255, 0.035),
    0 0 0 78px rgba(255, 255, 255, 0.018);
}
.schooly-campaign-card__orb--two {
  width: 80px;
  height: 80px;
  bottom: 35px;
  inset-inline-end: 32%;
  background: rgba(47, 98, 206, 0.24);
  backdrop-filter: blur(18px);
}
.schooly-campaign-card:hover {
  color: #fff;
  transform: translateY(-7px);
  box-shadow: 0 40px 100px rgba(20, 41, 87, 0.26);
}
.schooly-campaign-card:hover .schooly-campaign-card__media img {
  transform: scale(1.065);
  filter: saturate(1.05) contrast(1.06);
}
.schooly-campaign-card:hover .schooly-campaign-card__cta i {
  transform: translateX(-5px) rotate(-8deg);
}
.schooly-campaign-card:hover .schooly-campaign-card__orb--one {
  transform: translate(18px, 14px);
}
.schooly-campaign-card:hover .schooly-campaign-card__orb--two {
  transform: translate(-15px, -12px) scale(1.12);
}

/* Premium offers */
.ecommza-promo-tiles {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--s-blue-50) 48%, #fff);
}
.ecommza-promo-tiles::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: 80px;
  inset-inline-start: -260px;
  border: 1px solid rgba(47, 98, 206, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(47, 98, 206, 0.025),
    0 0 0 120px rgba(47, 98, 206, 0.014);
  pointer-events: none;
}
.schooly-offers-head {
  margin-bottom: 30px;
  align-items: flex-end;
  text-align: start;
}
.schooly-offers-head p {
  max-width: 580px;
  margin: 8px 0 0;
  color: var(--s-muted);
  font-size: 12px;
  line-height: 1.8;
}
.schooly-offers-head .ecommza-view-all {
  gap: 8px;
}
.ecommza-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 420px;
  gap: 18px;
}
.ecommza-promo-tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: block;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 26px;
  background: var(--s-blue-900) !important;
  box-shadow: 0 20px 55px rgba(20, 41, 87, 0.13);
  color: #fff;
  transition:
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.6s ease,
    border-color 0.4s ease;
}
.ecommza-promo-tile::before {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  pointer-events: none;
  transition: border-color 0.4s ease;
}
.ecommza-promo-tile__image {
  position: absolute;
  z-index: -3;
  inset: 0;
  overflow: hidden;
}
.ecommza-promo-tile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
  transition:
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.55s ease;
}
.ecommza-promo-tile__overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(7, 20, 48, 0.97),
    rgba(7, 20, 48, 0.1) 76%
  );
  transition: background 0.5s ease;
}
.ecommza-promo-tile--featured .ecommza-promo-tile__overlay {
  background: linear-gradient(
    0deg,
    rgba(7, 20, 48, 0.97),
    rgba(7, 20, 48, 0.1) 76%
  );
}
.ecommza-promo-tile__shine {
  position: absolute;
  z-index: 3;
  top: -45%;
  left: -75%;
  width: 38%;
  height: 180%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: rotate(20deg);
  transition: left 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}
.ecommza-promo-tile__content {
  position: absolute;
  z-index: 2;
  inset: auto 24px 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: #fff;
}
.ecommza-promo-tile--featured .ecommza-promo-tile__content {
  width: auto;
  inset: auto 24px 24px;
  transform: none;
}
.ecommza-promo-tile__content small {
  min-height: 28px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #b8ceff;
  font-size: 9px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}
.ecommza-promo-tile__content strong,
.ecommza-promo-tile:not(.ecommza-promo-tile--featured)
  .ecommza-promo-tile__content
  strong {
  max-width: 430px;
  color: #fff;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 800;
  line-height: 1.18;
  text-wrap: balance;
}
.ecommza-promo-tile__stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  font-weight: 800;
}
.ecommza-promo-tile__stock i {
  color: #52d39a;
  font-size: 5px;
}
.ecommza-promo-tile__prices {
  display: flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
}
.ecommza-promo-tile__prices ins {
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
}
.ecommza-promo-tile__prices del {
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 700;
}
.ecommza-promo-tile__content b {
  min-height: 42px;
  margin-top: 8px;
  padding: 0 7px 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--s-blue-900);
  font-size: 9px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
[dir="rtl"] .ecommza-promo-tile__content b {
  padding: 0 15px 0 7px;
}
.ecommza-promo-tile__content b i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--s-blue-500);
  color: #fff;
  transition: transform 0.4s ease;
}
.ecommza-promo-tile:hover {
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow: 0 34px 80px rgba(20, 41, 87, 0.22);
  color: #fff;
  transform: translateY(-8px);
}
.ecommza-promo-tile:hover::before {
  border-color: rgba(255, 255, 255, 0.42);
}
.ecommza-promo-tile:hover .ecommza-promo-tile__image img {
  transform: scale(1.075);
  filter: saturate(1.05) contrast(1.06);
}
.ecommza-promo-tile:hover .ecommza-promo-tile__shine {
  left: 135%;
}
.ecommza-promo-tile:hover .ecommza-promo-tile__content b i {
  transform: translateX(-4px) rotate(-8deg);
}
/* Editorial blog */
.ecommza-blog {
  position: relative;
  overflow: hidden;
  padding: 58px 0 64px;
  background: linear-gradient(180deg, #fff, var(--s-blue-50));
}
.schooly-blog-head {
  margin-bottom: 26px;
  align-items: flex-end;
  text-align: start;
}
.schooly-blog-head p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--s-muted);
  font-size: 12px;
  line-height: 1.8;
}
.ecommza-blog-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  align-items: start;
  gap: 20px;
}
.ecommza-blog-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(20, 41, 87, 0.09);
  border-radius: 24px;
  background: #fff !important;
  box-shadow: 0 14px 40px rgba(20, 41, 87, 0.07);
  transition:
    transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.4s ease,
    box-shadow 0.55s ease;
}
.ecommza-blog-card::after {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: 4;
  border: 1px solid transparent;
  border-radius: 17px;
  pointer-events: none;
  transition: border-color 0.4s ease;
}
.ecommza-blog-card__img {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--s-blue-50);
}
.ecommza-blog-card--featured .ecommza-blog-card__img {
  aspect-ratio: auto;
  min-height: 310px;
}
.ecommza-blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.5s ease;
}
.ecommza-blog-card__shade {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(0deg, rgba(7, 20, 48, 0.42), transparent);
  opacity: 0.65;
  transition: opacity 0.4s ease;
}
.ecommza-blog-card__body {
  padding: 20px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.ecommza-blog-card__meta {
  min-height: 28px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--s-muted);
  font-size: 9px;
  font-weight: 800;
}
.ecommza-blog-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ecommza-blog-card__category {
  min-height: 27px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--s-blue-50);
  color: var(--s-blue-600);
}
.ecommza-blog-card h2,
.ecommza-blog-card h3 {
  min-height: 54px;
  margin: 0 0 9px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--s-blue-900);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}
.ecommza-blog-card--featured h2,
.ecommza-blog-card--featured h3 {
  font-size: clamp(22px, 2.2vw, 31px);
}
.ecommza-blog-card p {
  margin: 0 0 16px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--s-muted);
  font-size: 11px;
  line-height: 1.8;
}
.ecommza-blog-card__footer {
  margin-top: auto;
  padding-top: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--s-line);
}
.ecommza-blog-card__footer > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--s-muted);
  font-size: 9px;
  font-weight: 700;
}
.ecommza-blog-card__link {
  min-height: 34px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--s-blue-50);
  color: var(--s-blue-600);
  font-size: 9px;
  font-weight: 900;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}
.ecommza-blog-card:hover {
  border-color: rgba(47, 98, 206, 0.3);
  box-shadow: 0 28px 70px rgba(20, 41, 87, 0.15);
  transform: translateY(-8px);
}
.ecommza-blog-card:hover::after {
  border-color: rgba(255, 255, 255, 0.8);
}
.ecommza-blog-card:hover .ecommza-blog-card__img img {
  transform: scale(1.07);
  filter: saturate(1.06) contrast(1.03);
}
.ecommza-blog-card:hover .ecommza-blog-card__shade {
  opacity: 1;
}
.ecommza-blog-card:hover .ecommza-blog-card__link {
  background: var(--s-blue-500);
  color: #fff;
  transform: translateX(-3px);
}

/* Homepage editorial layout: one lead story with two compact stories. */
.ecommza-blog .container {
  padding-inline: 6px;
}
.ecommza-blog .ecommza-blog-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(390px, 1fr);
  grid-template-rows: repeat(2, 242px);
  gap: 18px;
}
.ecommza-blog .ecommza-blog-card {
  height: 242px;
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr);
  border-radius: 20px;
}
.ecommza-blog .ecommza-blog-card--featured {
  height: 502px;
  grid-row: 1 / span 2;
  grid-column: auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 245px minmax(0, 1fr);
}
.ecommza-blog .ecommza-blog-card__img,
.ecommza-blog .ecommza-blog-card--featured .ecommza-blog-card__img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}
.ecommza-blog .ecommza-blog-card__body {
  min-width: 0;
  padding: 18px;
}
.ecommza-blog .ecommza-blog-card--featured .ecommza-blog-card__body {
  padding: 22px 26px 20px;
}
.ecommza-blog .ecommza-blog-card--featured .ecommza-blog-card__meta {
  margin-bottom: 8px;
}
.ecommza-blog .ecommza-blog-card--featured h3 {
  min-height: 68px;
  margin-bottom: 7px;
  font-size: clamp(22px, 1.8vw, 27px);
  line-height: 1.4;
}
.ecommza-blog .ecommza-blog-card--featured p {
  margin-bottom: 10px;
  -webkit-line-clamp: 2;
}
.ecommza-blog .ecommza-blog-card--featured .ecommza-blog-card__footer {
  padding-top: 10px;
}
.ecommza-blog
  .ecommza-blog-card:not(.ecommza-blog-card--featured)
  .ecommza-blog-card__meta {
  min-height: 24px;
  margin-bottom: 8px;
}
.ecommza-blog .ecommza-blog-card:not(.ecommza-blog-card--featured) h3 {
  min-height: 46px;
  margin-bottom: 5px;
  font-size: 15px;
  line-height: 1.55;
}
.ecommza-blog .ecommza-blog-card:not(.ecommza-blog-card--featured) p {
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  font-size: 10px;
  line-height: 1.7;
}
.ecommza-blog
  .ecommza-blog-card:not(.ecommza-blog-card--featured)
  .ecommza-blog-card__footer {
  padding-top: 8px;
}
.ecommza-blog
  .ecommza-blog-card:not(.ecommza-blog-card--featured)
  .ecommza-blog-card__footer
  > span {
  display: none;
}
.ecommza-blog .ecommza-blog-card__img img {
  position: absolute;
  inset: 0;
}

/* Blog archive */
.schooly-unified-breadcrumb {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem) 0;
  background: linear-gradient(135deg, var(--s-blue-900), var(--s-blue-700));
  color: #fff;
  isolation: isolate;
}
.schooly-unified-breadcrumb::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 430px;
  height: 430px;
  top: -250px;
  inset-inline-end: -70px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 65px rgba(255, 255, 255, 0.025),
    0 0 0 130px rgba(255, 255, 255, 0.014);
}
.schooly-unified-breadcrumb::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 280px;
  height: 280px;
  bottom: -235px;
  inset-inline-start: 10%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255, 255, 255, 0.018);
}
.schooly-unified-breadcrumb__inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.schooly-unified-breadcrumb__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.schooly-unified-breadcrumb .ecommza-breadcrumb {
  margin-bottom: 0.75rem;
  gap: 9px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 800;
}
.schooly-unified-breadcrumb .ecommza-breadcrumb a {
  color: rgba(255, 255, 255, 0.68);
}
.schooly-unified-breadcrumb .ecommza-breadcrumb a:hover {
  color: #fff;
}
.schooly-unified-breadcrumb .ecommza-breadcrumb .sep {
  color: rgba(255, 255, 255, 0.28);
  font-size: 7px;
}
.schooly-unified-breadcrumb .ecommza-breadcrumb .current {
  max-width: 320px;
  overflow: hidden;
  color: #a9c3ff;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.schooly-unified-breadcrumb__kicker {
  display: block;
  color: #a9c3ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.schooly-unified-breadcrumb__title {
  max-width: 760px;
  margin: 0.35rem 0 0.5rem;
  color: #fff;
  font-size: clamp(1.65rem, 1.35rem + 1.2vw, 2.35rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.schooly-unified-breadcrumb p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.9;
}
.schooly-unified-breadcrumb__mark {
  flex: none;
  color: rgba(255, 255, 255, 0.07);
  font: 900 clamp(66px, 9vw, 132px)/0.8 sans-serif;
  letter-spacing: -0.08em;
  direction: ltr;
}
.ecommza-breadcrumb-bar {
  display: none;
}
.schooly-unified-breadcrumb + .ecommza-contact-hero,
.schooly-unified-breadcrumb + .ecommza-faq-hero,
.schooly-unified-breadcrumb + .wc-page-header {
  display: none;
}

.ecommza-cat-hero__content h2,
.wishlist-header h2,
.compare-header h2 {
  color: var(--s-blue-900);
  font-weight: 900;
}
.ecommza-cat-hero__content h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(26px, 4vw, 44px);
}
.wishlist-header h2,
.compare-header h2 {
  margin-bottom: 8px;
  font-size: 28px;
}
.schooly-single-post {
  background: linear-gradient(180deg, var(--s-blue-50), #fff 280px);
}
.schooly-single-post__article {
  max-width: 920px;
  margin: 0 auto;
  padding: 14px 14px 48px;
  border: 1px solid rgba(20, 41, 87, 0.08);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(20, 41, 87, 0.08);
}
.schooly-single-post__image {
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16 / 8;
}
.schooly-single-post__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.schooly-single-post__meta {
  margin: 0 28px 24px;
  padding-bottom: 18px;
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--s-line);
  color: var(--s-muted);
  font-size: 10px;
  font-weight: 800;
}
.schooly-single-post__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.schooly-single-post__content {
  padding: 0 28px;
  color: var(--s-text);
  font-size: 14px;
  line-height: 2;
}
.schooly-single-post__content > *:first-child {
  margin-top: 0;
}
.schooly-single-post > .container {
  width: min(calc(100% - 48px), 1320px);
}
.schooly-single-post__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 28px;
}
.schooly-single-post__article {
  max-width: none;
  min-width: 0;
  padding-bottom: 34px;
}
.schooly-single-post__image {
  aspect-ratio: 16 / 7.7;
}
.schooly-single-post__meta {
  flex-wrap: wrap;
}
.schooly-single-post__lead {
  margin: 0 28px 28px;
  padding: 19px 21px;
  border-inline-start: 4px solid var(--s-blue-500);
  border-radius: 12px;
  background: var(--s-blue-50);
  color: var(--s-blue-900);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.9;
}
.schooly-single-post__content {
  font-size: 15px;
  line-height: 2.15;
}
.schooly-single-post__content h2,
.schooly-single-post__content h3 {
  scroll-margin-top: 105px;
  color: var(--s-blue-900);
  font-weight: 900;
  line-height: 1.45;
}
.schooly-single-post__content h2 {
  margin: 42px 0 16px;
  padding-inline-start: 15px;
  border-inline-start: 4px solid var(--s-blue-500);
  font-size: clamp(23px, 2.5vw, 31px);
}
.schooly-single-post__content h3 {
  margin: 30px 0 12px;
  font-size: 20px;
}
.schooly-single-post__content p {
  margin: 0 0 20px;
}
.schooly-single-post__content img {
  height: auto;
  border-radius: 16px;
}
.schooly-single-post__content a {
  color: var(--s-blue-600);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.schooly-single-post__content blockquote {
  margin: 30px 0;
  padding: 22px 24px;
  border: 0;
  border-radius: 16px;
  background: var(--s-blue-900);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.9;
}
.schooly-single-post__content ul,
.schooly-single-post__content ol {
  margin: 0 0 24px;
  padding-inline-start: 22px;
}
.schooly-single-post__content li {
  margin-bottom: 8px;
}
.schooly-single-post__tax {
  margin: 34px 28px 0;
  padding-top: 22px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--s-line);
}
.schooly-single-post__tax strong {
  margin-inline-end: 5px;
  color: var(--s-blue-900);
  font-size: 11px;
}
.schooly-single-post__tax a {
  min-height: 32px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--s-blue-50);
  color: var(--s-blue-600);
  font-size: 10px;
  font-weight: 900;
}
.schooly-single-post__author {
  margin: 28px 28px 0;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--s-line);
  border-radius: 16px;
  background: var(--s-soft);
}
.schooly-single-post__author img {
  flex: none;
  border-radius: 50%;
}
.schooly-single-post__author span {
  display: block;
  color: var(--s-muted);
  font-size: 9px;
  font-weight: 800;
}
.schooly-single-post__author strong {
  display: block;
  margin: 2px 0 4px;
  color: var(--s-blue-900);
  font-size: 14px;
}
.schooly-single-post__author p {
  margin: 0;
  color: var(--s-muted);
  font-size: 10px;
  line-height: 1.7;
}
.schooly-single-post__sidebar {
  min-width: 0;
  display: grid;
  gap: 16px;
  position: sticky;
  top: 105px;
}
.schooly-post-widget {
  padding: 20px;
  border: 1px solid rgba(20, 41, 87, 0.09);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(20, 41, 87, 0.06);
}
.schooly-post-widget > span {
  display: block;
  color: var(--s-blue-500);
  font-size: 9px;
  font-weight: 900;
}
.schooly-post-widget h2 {
  margin: 4px 0 15px;
  color: var(--s-blue-900);
  font-size: 17px;
  font-weight: 900;
}
.schooly-post-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.schooly-post-toc li {
  position: relative;
  padding: 9px 22px 9px 0;
  border-bottom: 1px solid var(--s-line);
  counter-increment: toc;
}
.schooly-post-toc li:last-child {
  border-bottom: 0;
}
.schooly-post-toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  inset-inline-start: 0;
  top: 10px;
  color: var(--s-blue-400);
  font-size: 8px;
  font-weight: 900;
}
.schooly-post-toc li.is-child {
  padding-inline-start: 31px;
}
.schooly-post-toc a {
  display: block;
  color: var(--s-text);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.6;
}
.schooly-post-toc a:hover {
  color: var(--s-blue-500);
}
.schooly-post-share > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.schooly-post-share a,
.schooly-post-share button {
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: var(--s-blue-50);
  color: var(--s-blue-600);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}
.schooly-post-share a:hover,
.schooly-post-share button:hover,
.schooly-post-share button.is-copied {
  background: var(--s-blue-600);
  color: #fff;
  transform: translateY(-3px);
}
.schooly-post-most-viewed__list {
  display: grid;
  gap: 13px;
}
.schooly-post-most-viewed article {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--s-line);
}
.schooly-post-most-viewed article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.schooly-post-most-viewed article a {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--s-blue-900);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.6;
}
.schooly-post-most-viewed article small {
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--s-muted);
  font-size: 8px;
  font-weight: 800;
}
.schooly-related-posts {
  margin-top: 52px;
}
.schooly-post-navigation {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.schooly-post-navigation > div:last-child {
  text-align: end;
}
.schooly-post-navigation a {
  min-height: 104px;
  padding: 19px 21px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--s-line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(20, 41, 87, 0.05);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}
.schooly-post-navigation a:hover {
  border-color: rgba(47, 98, 206, 0.32);
  box-shadow: 0 18px 42px rgba(20, 41, 87, 0.1);
  transform: translateY(-4px);
}
.schooly-post-navigation span {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--s-blue-500);
  font-size: 9px;
  font-weight: 900;
}
.schooly-post-navigation > div:last-child span {
  justify-content: flex-end;
}
.schooly-post-navigation strong {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--s-blue-900);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.65;
}
.schooly-related-posts__head {
  margin-bottom: 20px;
}
.schooly-related-posts__head span {
  color: var(--s-blue-500);
  font-size: 10px;
  font-weight: 900;
}
.schooly-related-posts__head h2 {
  margin: 4px 0 0;
  color: var(--s-blue-900);
  font-size: 28px;
  font-weight: 900;
}
.schooly-related-posts .ecommza-blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.schooly-related-posts .ecommza-blog-card__img {
  aspect-ratio: 16 / 9;
}
.schooly-related-posts .ecommza-blog-card h3 {
  min-height: 50px;
  font-size: 15px;
}

.schooly-popular-posts {
  margin-bottom: 48px;
  padding: 28px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--s-blue-900);
  color: #fff;
  box-shadow: 0 22px 60px rgba(20, 41, 87, 0.16);
}
.schooly-popular-posts__head {
  margin-bottom: 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.schooly-popular-posts__head span {
  color: #a9c3ff;
  font-size: 9px;
  font-weight: 900;
}
.schooly-popular-posts__head h2 {
  margin: 3px 0 0;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}
.schooly-popular-posts__head > i {
  color: rgba(255, 255, 255, 0.16);
  font-size: 44px;
}
.schooly-popular-posts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.schooly-popular-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  transition:
    transform 0.35s ease,
    background 0.35s ease;
}
.schooly-popular-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}
.schooly-popular-card__image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.schooly-popular-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.schooly-popular-card:hover .schooly-popular-card__image img {
  transform: scale(1.06);
}
.schooly-popular-card__image > span {
  position: absolute;
  top: 9px;
  inset-inline-start: 9px;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--s-blue-800);
  font-size: 9px;
  font-weight: 900;
}
.schooly-popular-card__body {
  padding: 13px;
}
.schooly-popular-card__meta {
  margin-bottom: 7px;
  display: flex;
  gap: 9px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
  font-weight: 800;
}
.schooly-popular-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.schooly-popular-card h3 {
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.65;
}
.schooly-popular-card h3 a {
  color: #fff;
}
.schooly-blog-topics {
  margin: -24px 0 44px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid var(--s-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(20, 41, 87, 0.05);
}
.schooly-blog-topics strong {
  margin-inline-end: 7px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--s-blue-900);
  font-size: 10px;
}
.schooly-blog-topics strong i {
  color: var(--s-blue-500);
}
.schooly-blog-topics a {
  min-height: 32px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  background: var(--s-blue-50);
  color: var(--s-blue-700);
  font-size: 9px;
  font-weight: 900;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}
.schooly-blog-topics a span {
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  font-size: 7px;
}
.schooly-blog-topics a:hover {
  background: var(--s-blue-600);
  color: #fff;
  transform: translateY(-2px);
}

.schooly-blog-archive-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0;
  background: linear-gradient(135deg, var(--s-blue-900), var(--s-blue-700));
  color: #fff;
}
.schooly-blog-archive-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -220px;
  inset-inline-end: -80px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 65px rgba(255, 255, 255, 0.025),
    0 0 0 130px rgba(255, 255, 255, 0.014);
}
.schooly-blog-archive-hero .container {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}
.schooly-blog-archive-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.schooly-blog-archive-hero__content > span {
  color: #a9c3ff;
  font-size: 10px;
  font-weight: 900;
}
.schooly-blog-archive-hero h1 {
  margin: 12px 0 14px;
  color: #fff;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.schooly-blog-archive-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.9;
}
.schooly-blog-archive-hero__mark {
  color: rgba(255, 255, 255, 0.08);
  font: 900 clamp(70px, 10vw, 140px)/0.8 sans-serif;
  letter-spacing: -0.08em;
}
.schooly-blog-archive {
  background: linear-gradient(180deg, var(--s-blue-50), #fff 300px);
}
.schooly-blog-archive__head {
  margin-bottom: 26px;
  align-items: center;
}
.schooly-blog-archive__head > span {
  min-height: 35px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--s-blue-600);
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 7px 20px rgba(20, 41, 87, 0.07);
}
.schooly-blog-archive .ecommza-blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.schooly-blog-archive .ecommza-blog-card--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}
.schooly-blog-archive .ecommza-blog-card--featured .ecommza-blog-card__img {
  min-height: 100%;
}
.schooly-blog-pagination {
  margin-top: 45px;
  display: flex;
  justify-content: center;
}
.schooly-blog-pagination .wp-pagenavi,
.schooly-blog-pagination {
  align-items: center;
  gap: 7px;
}
.schooly-blog-pagination .wp-pagenavi {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.schooly-blog-pagination a,
.schooly-blog-pagination span {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--s-line) !important;
  border-radius: 999px;
  background: #fff;
  color: var(--s-blue-700);
  font-size: 10px;
  font-weight: 900;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}
.schooly-blog-pagination a:hover,
.schooly-blog-pagination .current {
  border-color: var(--s-blue-500) !important;
  background: var(--s-blue-500);
  color: #fff;
  transform: translateY(-2px);
}

/* Store,
product,
cart,
checkout */
.wc-page-header {
  width: min(calc(100% - 48px), 1320px);
  margin: 20px auto 0;
  padding: 52px 36px;
  overflow: hidden;
  border-radius: var(--s-radius-lg);
  background: linear-gradient(135deg, var(--s-blue-700), var(--s-blue-500));
  text-align: center;
}
.wc-page-header h1,
.wc-page-header h2,
.wc-page-header__desc {
  color: #fff;
}
.wc-page-header__stats {
  display: none;
}
.schooly-shop-page {
  padding: 38px 0 80px;
  background: #fff;
}
.shop-sidebar__inner,
.shop-toolbar,
.ecommza-archive-toolbar,
.ecommza-faq-sidebar,
.ecommza-contact-form-wrap {
  border: 1px solid var(--s-line);
  border-radius: var(--s-radius);
  background: #fff;
  box-shadow: none;
}
.shop-sidebar__inner {
  position: sticky;
  top: 104px;
  overflow: hidden;
}
.shop-widget {
  padding: 20px;
  border-bottom-color: var(--s-line);
}
.shop-widget__title {
  color: var(--s-blue-900);
  font-size: 14px;
}
.shop-widget__title i {
  color: var(--s-blue-500);
}
.shop-categories-list {
  gap: 7px;
}
.shop-categories-list li a {
  min-height: 54px;
  padding: 7px 8px;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}
.shop-categories-list .cat-logo {
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 38px !important;
  border: 1px solid var(--s-line);
  border-radius: 10px !important;
  box-shadow: 0 5px 14px rgba(20, 41, 87, 0.08);
  transition:
    transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.3s ease;
}
.shop-categories-list .cat-name {
  color: var(--s-blue-900);
  font-size: 11px;
  font-weight: 800;
}
.shop-categories-list .cat-count {
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--s-blue-50);
  color: var(--s-blue-600);
  font-size: 9px;
  font-weight: 900;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}
.shop-categories-list li a:hover,
.shop-categories-list li.is-active a {
  border-color: var(--s-blue-100);
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 41, 87, 0.08);
  transform: translateX(-4px);
}
.shop-categories-list li a:hover .cat-logo,
.shop-categories-list li.is-active .cat-logo {
  border-color: var(--s-blue-300);
  transform: scale(1.08) rotate(-3deg);
}
.shop-categories-list li a:hover .cat-count,
.shop-categories-list li.is-active .cat-count {
  background: var(--s-blue-500);
  color: #fff;
}
.shop-products-wrapper.view-list
  ul.products.row
  > li.product
  > .schooly-product-card {
  overflow: hidden !important;
  border-radius: 22px !important;
}
.shop-products-wrapper.view-list .schooly-product-card__image {
  margin: 7px !important;
  border-radius: 16px !important;
}
.shop-products-wrapper.view-list .schooly-product-card__body {
  padding: 22px !important;
}
.shop-toolbar,
.ecommza-archive-toolbar {
  min-height: 64px;
  margin-bottom: 18px;
  padding: 10px 14px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="password"],
input[type="number"],
select,
textarea {
  border: 1px solid var(--s-line);
  border-radius: var(--s-radius-sm);
  background: var(--s-soft);
  box-shadow: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--s-blue-400);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47, 98, 206, 0.09);
}
.woocommerce table.shop_table,
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-checkout form.checkout,
body.woocommerce-checkout .woocommerce-checkout-review-order {
  border: 1px solid var(--s-line);
  border-radius: var(--s-radius);
  background: #fff;
  box-shadow: none;
}
.woocommerce table.shop_table th {
  background: var(--s-blue-50);
  color: var(--s-blue-900);
}
.woocommerce-checkout-payment {
  border-radius: var(--s-radius);
  background: var(--s-blue-50) !important;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.schooly-empty-state,
.wishlist-empty {
  border: 1px solid var(--s-line);
  border-radius: var(--s-radius);
  background: #fff;
  box-shadow: none;
}
.wishlist-empty > i {
  font-size: clamp(56px, 10vw, 80px);
  color: var(--s-blue-200);
  margin-bottom: 20px;
  display: block;
}
.wishlist-empty h2 {
  margin: 0 0 10px;
  color: var(--s-blue-900);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 900;
}
.wishlist-empty p {
  margin: 0 0 24px;
  color: var(--s-muted);
  font-size: 15px;
  line-height: 1.7;
}
.wishlist-empty .schooly-wishlist-empty__cta {
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--s-radius-sm);
  border: 1px solid var(--s-blue-500);
  background: var(--s-blue-500);
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(32, 89, 201, 0.22);
}
.wishlist-empty .schooly-wishlist-empty__cta:hover {
  background: var(--s-blue-600, #174da9);
  border-color: var(--s-blue-600, #174da9);
  color: #fff !important;
}
.wishlist-empty .schooly-wishlist-empty__cta i {
  font-size: 14px !important;
  color: #fff !important;
  margin: 0 !important;
}

/* Wishlist collections */
.wishlist-page {
  background: linear-gradient(180deg, var(--s-blue-50), #fff 300px);
}
.schooly-wishlist-collection + .schooly-wishlist-collection {
  margin-top: 54px;
}
.schooly-wishlist-collection__head {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
.schooly-wishlist-collection__head h2 {
  margin: 0;
  color: var(--s-blue-900);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
}
.schooly-wishlist-collection__head p {
  margin: 5px 0 0;
  color: var(--s-muted);
  font-size: 12px;
}
.schooly-wishlist-collection__count {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--s-blue-500);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(47, 98, 206, 0.24);
}
.schooly-favorite-schools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.schooly-favorite-school {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--s-blue-900);
  box-shadow: 0 18px 48px rgba(20, 41, 87, 0.13);
  isolation: isolate;
  transition:
    transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.5s ease;
}
.schooly-favorite-school__image,
.schooly-favorite-school__image img,
.schooly-favorite-school__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.schooly-favorite-school__image img {
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.schooly-favorite-school__overlay {
  background: linear-gradient(
    0deg,
    rgba(8, 22, 51, 0.96),
    rgba(8, 22, 51, 0.12) 72%
  );
}
.schooly-favorite-school__content {
  position: absolute;
  z-index: 2;
  inset: auto 20px 20px;
  color: #fff;
}
.schooly-favorite-school__content small {
  color: var(--s-blue-200);
  font-size: 10px;
  font-weight: 800;
}
.schooly-favorite-school__content h3 {
  margin: 7px 0 14px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}
.schooly-favorite-school__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.schooly-favorite-school .schooly-school-favorite {
  top: 16px;
  inset-inline-end: 16px;
}
.schooly-favorite-school:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 64px rgba(20, 41, 87, 0.22);
}
.schooly-favorite-school:hover .schooly-favorite-school__image img {
  transform: scale(1.08);
}

.quickview-modal,
.compare-modal__panel {
  border: 1px solid var(--s-line);
  border-radius: var(--s-radius-lg);
  background: #fff;
  box-shadow: 0 28px 80px rgba(20, 41, 87, 0.2);
}
.quickview-close,
.compare-modal__close {
  border: 1px solid var(--s-line);
  border-radius: 50%;
  background: #fff;
  color: var(--s-blue-900);
  box-shadow: none;
}

/* Footer and trust */
.ecommza-trust-bar {
  width: min(calc(100% - 48px), 1320px);
  margin: 0 auto 64px;
  padding: 30px;
  border-radius: var(--s-radius);
  background: var(--s-blue-700);
  color: #fff;
}
.ecommza-trust-item__icon {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.ecommza-trust-item__text strong {
  color: #fff;
}
.ecommza-trust-item__text span {
  color: rgba(255, 255, 255, 0.72);
}
.ecommza-footer {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--s-blue-900);
  color: #fff;
}
.footer-col h4 {
  color: #fff;
}
.footer-col p,
.footer-nav-list a,
.footer-contact-list,
.footer-newsletter__note {
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 1199px) {
  .container {
    width: min(calc(100% - 40px), 1120px);
  }
  .schooly-global-header__container {
    width: calc(100% - 40px);
  }
  .schooly-global-nav__row {
    gap: 14px;
  }
  .schooly-global-menu > li > a {
    padding-inline: 10px;
    font-size: 11px;
  }
  .schooly-global-search {
    width: 44px;
    padding: 0;
    justify-content: center;
  }
  .schooly-global-search span,
  .schooly-global-search kbd,
  .schooly-global-action--account span,
  .schooly-account-dropdown__chevron,
  .schooly-global-cart__text {
    display: none;
  }
  .schooly-global-action--account {
    padding: 0;
  }
  .schooly-global-cart {
    min-width: 48px;
    padding: 4px;
    justify-content: center;
  }
  .schooly-showcase__frame {
    width: 100%;
  }
  .schooly-showcase__slider {
    height: 620px;
  }
  .schooly-showcase__layout {
    width: calc(100% - 72px);
    grid-template-columns: minmax(390px, 1fr) minmax(220px, 0.8fr);
  }
  .schooly-showcase__title {
    font-size: 56px;
  }
}

@media (max-width: 991px) {
  .container {
    width: min(calc(100% - 30px), 920px);
  }
  .schooly-global-header__utility,
  .schooly-global-nav__menu {
    display: none;
  }
  .schooly-global-header__container {
    width: calc(100% - 30px);
  }
  .schooly-global-nav__row {
    min-height: 68px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
  .schooly-global-menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 6px;
    border: 1px solid var(--s-line);
    border-radius: 12px;
    background: #fff;
  }
  .schooly-global-menu-toggle span {
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: var(--s-blue-900);
    transition: transform var(--s-ease);
  }
  .schooly-global-menu-toggle.is-open span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .schooly-global-menu-toggle.is-open span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  .schooly-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: rgba(20, 41, 87, 0.48);
    backdrop-filter: blur(4px);
    transition:
      opacity var(--s-ease),
      visibility var(--s-ease);
  }
  .schooly-mobile-drawer {
    position: fixed;
    z-index: 2010;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    width: min(88vw, 390px);
    padding: 18px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    visibility: hidden;
    background: #fff;
    box-shadow: 20px 0 60px rgba(20, 41, 87, 0.18);
    transform: translateX(110%);
    transition:
      transform 0.36s cubic-bezier(0.22, 0.61, 0.36, 1),
      visibility 0.36s;
  }
  [dir="ltr"] .schooly-mobile-drawer {
    transform: translateX(-110%);
  }
  .schooly-mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .schooly-mobile-drawer.is-open {
    visibility: visible;
    transform: translateX(0);
  }
  .schooly-mobile-drawer__head {
    padding-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--s-line);
  }
  .schooly-mobile-drawer__close {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--s-line);
    border-radius: 50%;
    background: var(--s-soft);
    color: var(--s-blue-900);
  }
  .schooly-mobile-drawer__search {
    width: 100%;
    min-height: 48px;
    margin: 18px 0;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--s-line);
    border-radius: 12px;
    background: var(--s-soft);
    color: var(--s-muted);
    font-size: 11px;
    font-weight: 700;
  }
  .schooly-mobile-drawer__body {
    flex: 1;
  }
  .schooly-mobile-nav {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .schooly-mobile-nav > li {
    border-bottom: 1px solid var(--s-line);
  }
  .schooly-mobile-nav > li > a {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--s-blue-900);
    font-size: 13px;
    font-weight: 800;
  }
  .schooly-mobile-nav .sub-menu {
    display: none;
    margin: 0 0 12px;
    padding: 8px;
    border-radius: 10px;
    background: var(--s-soft);
    list-style: none;
  }
  .schooly-mobile-nav .sub-menu a {
    padding: 8px 10px;
    display: block;
    color: var(--s-text);
    font-size: 12px;
    font-weight: 700;
  }
  .schooly-mobile-drawer__footer {
    padding-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    border-top: 1px solid var(--s-line);
  }
  .schooly-mobile-drawer__footer a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 10px;
    background: var(--s-blue-50);
    color: var(--s-blue-700);
    font-size: 11px;
    font-weight: 800;
  }
  .schooly-command-search {
    padding: 12px;
  }
  .schooly-command-search__dialog {
    max-height: calc(100vh - 24px);
    padding: 20px 22px 22px;
    border-radius: 20px;
  }
  .schooly-command-search__discover {
    grid-template-columns: 1fr;
  }
  .schooly-command-search__tags {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .schooly-command-search__tag {
    min-width: 0;
  }
  .schooly-showcase__frame {
    width: 100%;
  }
  .schooly-showcase__slider {
    height: 590px;
    border-radius: 0;
  }
  .schooly-showcase__layout {
    width: calc(100% - 54px);
    grid-template-columns: minmax(350px, 1fr) 160px;
    gap: 20px;
  }
  .schooly-showcase__title {
    font-size: 48px;
  }
  .schooly-showcase__statement span {
    font-size: 64px;
  }
  .schooly-showcase__controls {
    inset-inline-start: 27px;
  }
  .schooly-campaigns__container {
    width: calc(100% - 30px);
  }
  .schooly-campaign-card {
    height: 440px;
  }
  .schooly-campaign-card__content {
    width: min(58%, 560px);
    padding: 42px;
  }
  .schooly-campaign-card__content h3 {
    font-size: clamp(34px, 5vw, 52px);
  }
  .ecommza-promo-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 360px;
  }
  .ecommza-promo-tile--featured {
    grid-column: auto;
  }
  .ecommza-blog-grid,
  .schooly-blog-archive .ecommza-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ecommza-blog-card--featured,
  .schooly-blog-archive .ecommza-blog-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
  }
  .ecommza-blog-card--featured .ecommza-blog-card__img {
    min-height: 100%;
  }
  .schooly-single-post__layout {
    grid-template-columns: 1fr;
  }
  .schooly-single-post__sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .schooly-post-most-viewed {
    grid-column: 1 / -1;
  }
  .schooly-popular-posts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ecommza-trust-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  body {
    background: var(--s-soft);
  }
  .container {
    width: calc(100% - 24px);
  }
  .schooly-global-header__container {
    width: calc(100% - 24px);
  }
  .schooly-global-nav__row {
    min-height: 62px;
  }
  .schooly-global-brand img {
    max-width: 112px;
    max-height: 38px;
  }
  .schooly-global-brand__wordmark {
    font-size: 23px;
  }
  .schooly-global-actions {
    gap: 5px;
  }
  .schooly-global-action--account,
  .schooly-global-actions .ecommza-wishlist-btn {
    display: none;
  }
  .schooly-global-search,
  .schooly-global-menu-toggle {
    width: 40px;
    height: 40px;
  }
  .schooly-global-cart {
    min-width: 43px;
    min-height: 43px;
  }
  .schooly-global-cart__icon {
    width: 35px;
    height: 35px;
  }
  .schooly-command-search {
    padding: 0;
    place-items: stretch;
  }
  .schooly-command-search__dialog {
    width: 100%;
    max-height: 100vh;
    min-height: 100dvh;
    padding: 18px 14px 22px;
    border: 0;
    border-radius: 0;
  }
  .schooly-command-search__header {
    margin-bottom: 14px;
  }
  .schooly-command-search__header h2 {
    font-size: 20px;
  }
  .schooly-command-search__header p {
    font-size: 12px;
  }
  .schooly-command-search__close {
    width: 40px;
    height: 40px;
  }
  .schooly-command-search__bar {
    grid-template-columns: 1fr;
    padding: 6px;
    border-radius: 14px;
  }
  .schooly-command-search__input {
    min-height: 50px;
    padding-inline: 12px;
  }
  .schooly-command-search__input input {
    height: 46px;
    font-size: 14px;
  }
  .schooly-command-search__shortcut {
    display: none;
  }
  .schooly-command-search__filter {
    min-height: 46px;
  }
  .schooly-command-search__results:not(:empty) {
    margin-top: 14px;
    padding-top: 0;
    max-height: none;
  }
  .schooly-command-search__discover {
    grid-template-columns: 1fr;
    margin-top: 16px;
    gap: 16px;
  }
  .schooly-command-search__section-head small {
    display: none;
  }
  .schooly-command-search__tags {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .schooly-command-search__tag {
    min-width: 140px;
  }
  .schooly-command-search__category-grid {
    grid-template-columns: 1fr;
  }
  .schooly-showcase {
    padding: 0 0 26px;
    background: #fff;
  }
  .schooly-showcase__frame {
    width: 100%;
  }
  .schooly-showcase__slider {
    height: 650px;
    border-radius: 0;
    box-shadow: 0 18px 50px rgba(20, 41, 87, 0.16);
  }
  .schooly-showcase__shade,
  [dir="ltr"] .schooly-showcase__shade {
    background: linear-gradient(
      0deg,
      rgba(10, 27, 61, 0.97) 0%,
      rgba(10, 27, 61, 0.75) 48%,
      rgba(10, 27, 61, 0.08) 100%
    );
  }
  .schooly-showcase__media img {
    object-position: center top;
  }
  .schooly-showcase__layout {
    width: calc(100% - 36px);
    display: block;
  }
  .schooly-showcase__copy {
    position: absolute;
    inset-inline: 0;
    bottom: 82px;
    max-width: none;
    padding: 0;
  }
  .schooly-showcase__eyebrow {
    font-size: 10px;
  }
  .schooly-showcase__title {
    margin: 13px 0 9px;
    font-size: clamp(34px, 10vw, 43px);
    line-height: 1.12;
  }
  .schooly-showcase__text {
    font-size: 13px;
    line-height: 1.75;
  }
  .schooly-showcase__price {
    margin-top: 12px;
    font-size: 17px;
  }
  .schooly-showcase__cta {
    width: 100%;
    min-height: 49px;
    margin-top: 17px;
    justify-content: space-between;
  }
  .schooly-showcase__statement {
    display: none;
  }
  .schooly-showcase__controls {
    inset-inline-start: 18px;
    bottom: 20px;
  }
  .schooly-showcase__arrow {
    width: 40px;
    height: 40px;
  }
  .schooly-showcase__pagination {
    width: 82px !important;
  }
  .ecommza-section {
    padding: 1.25rem 0;
  }
  .ecommza-section-head {
    min-height: 38px;
    margin-bottom: 18px;
  }
  .ecommza-section-head h2 {
    font-size: 21px;
  }
  .ecommza-view-all {
    min-height: 34px;
    padding-inline: 11px;
    font-size: 10px;
  }
  .ecommza-categories__shell {
    margin-inline: -12px;
    padding-inline: 12px;
  }
  .ecommza-categories__shell::before,
  .ecommza-categories__shell::after {
    width: 38px;
  }
  .ecommza-categories__shell::before {
    left: 12px;
  }
  .ecommza-categories__shell::after {
    right: 12px;
  }
  .schooly-schools-head {
    align-items: flex-start;
  }
  .schooly-schools-head__favorite {
    min-height: 38px;
    padding-inline: 12px;
  }
  .schooly-schools-head__favorite span {
    display: none;
  }
  .categories-slider-btn {
    display: none;
  }
  .categories-swiper .swiper-slide {
    height: 350px;
  }
  .ecommza-cat-item {
    height: 350px;
    padding: 6px;
    border-radius: 15px;
  }
  .ecommza-cat-item__img {
    flex-basis: 205px;
    height: 205px;
    border-radius: 11px;
  }
  .ecommza-cat-item__name {
    height: 34px;
    min-height: 34px;
    font-size: 11px;
  }
  .schooly-school-card__body {
    height: 133px;
    min-height: 133px;
    flex-basis: 133px;
    padding: 12px 8px 8px;
  }
  .ecommza-products-grid.row,
  .woocommerce ul.products.row,
  .wishlist-grid {
    margin-inline: -5px;
    row-gap: 10px;
  }
  .ecommza-products-grid.row > [class*="col-"],
  .wishlist-grid > * {
    width: 50%;
    padding-inline: 5px;
  }
  .schooly-product-card {
    border-radius: 11px;
    box-shadow: none;
  }
  .schooly-product-card__image {
    aspect-ratio: 1 / 1;
    margin: 4px 4px 0;
    border-radius: 8px;
  }
  .schooly-product-card__body {
    padding: 10px;
  }
  .schooly-product-card__meta small {
    display: none;
  }
  .schooly-product-card h3 {
    min-height: 38px;
    font-size: 12px;
  }
  .schooly-product-card__price {
    font-size: 13px;
  }
  .schooly-product-link {
    min-height: 34px;
    font-size: 10px;
  }
  .product-action_list {
    top: 7px;
    inset-inline-start: 7px;
    opacity: 1;
    transform: none;
  }
  .box-icon {
    width: 29px;
    height: 29px;
    font-size: 11px;
  }
  .product-action_list .compare-btn {
    display: none;
  }
  .schooly-campaigns {
    padding: 46px 0 22px;
  }
  .schooly-campaigns__container {
    width: calc(100% - 24px);
  }
  .schooly-campaign-card {
    height: 520px;
    min-height: 0;
    border-radius: 22px;
  }
  .schooly-campaign-card::before {
    inset: 7px;
    border-radius: 16px;
  }
  .schooly-campaign-card__overlay,
  [dir="ltr"] .schooly-campaign-card__overlay,
  .schooly-campaign-card--secondary .schooly-campaign-card__overlay {
    background: linear-gradient(
      0deg,
      rgba(7, 20, 48, 0.98) 0%,
      rgba(7, 20, 48, 0.76) 53%,
      rgba(7, 20, 48, 0.08) 100%
    );
  }
  .schooly-campaign-card__media img {
    object-position: center top;
  }
  .schooly-campaign-card__content,
  .schooly-campaign-card--secondary .schooly-campaign-card__content {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 24px;
    position: absolute;
    inset: auto 0 0;
  }
  .schooly-campaign-card__topline {
    margin-bottom: 15px;
  }
  .schooly-campaign-card__content h3 {
    font-size: clamp(28px, 9vw, 38px);
    line-height: 1.16;
  }
  .schooly-campaign-card__footer {
    margin-top: 20px;
  }
  .schooly-campaign-card__cta {
    min-height: 48px;
  }
  .schooly-campaign-card__note {
    display: none;
  }
  .schooly-campaign-card__watermark {
    font-size: 82px;
    bottom: -12px;
  }
  .schooly-campaign-card__orb--one {
    width: 130px;
    height: 130px;
  }
  .schooly-offers-head {
    align-items: flex-start;
  }
  .schooly-offers-head p {
    display: none;
  }
  .schooly-offers-head .ecommza-view-all {
    flex: none;
  }
  .ecommza-promo-grid,
  .ecommza-blog-grid {
    grid-template-columns: 1fr;
  }
  .ecommza-promo-grid {
    grid-auto-rows: 350px;
    gap: 12px;
  }
  .ecommza-promo-tile {
    border-radius: 20px;
  }
  .ecommza-promo-tile::before {
    inset: 6px;
    border-radius: 14px;
  }
  .ecommza-promo-tile--featured {
    grid-column: auto;
  }
  .ecommza-promo-tile--featured .ecommza-promo-tile__overlay {
    background: linear-gradient(
      0deg,
      rgba(7, 20, 48, 0.97),
      rgba(7, 20, 48, 0.08) 78%
    );
  }
  .ecommza-promo-tile--featured .ecommza-promo-tile__content,
  .ecommza-promo-tile__content {
    width: auto;
    inset: auto 18px 18px;
    transform: none;
  }
  .ecommza-promo-tile__content strong,
  .ecommza-promo-tile:not(.ecommza-promo-tile--featured)
    .ecommza-promo-tile__content
    strong {
    font-size: 24px;
  }
  .ecommza-promo-tile__prices ins {
    font-size: 18px;
  }
  .schooly-blog-head {
    align-items: flex-start;
  }
  .schooly-blog-head p {
    display: none;
  }
  .ecommza-blog {
    padding: 42px 0 48px;
  }
  .ecommza-blog-grid,
  .schooly-blog-archive .ecommza-blog-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ecommza-blog-card--featured,
  .schooly-blog-archive .ecommza-blog-card--featured {
    grid-column: auto;
    display: flex;
  }
  .ecommza-blog-card--featured .ecommza-blog-card__img,
  .schooly-blog-archive .ecommza-blog-card--featured .ecommza-blog-card__img {
    min-height: 0;
    aspect-ratio: 16 / 11;
  }
  .ecommza-blog-card {
    border-radius: 18px;
  }
  .ecommza-blog-card__body {
    padding: 15px;
  }
  .ecommza-blog-card--featured h2,
  .ecommza-blog-card--featured h3 {
    font-size: 20px;
  }
  .ecommza-blog .ecommza-blog-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .ecommza-blog .ecommza-blog-card,
  .ecommza-blog .ecommza-blog-card--featured {
    height: auto;
    display: flex;
    grid-row: auto;
  }
  .ecommza-blog .ecommza-blog-card__img,
  .ecommza-blog .ecommza-blog-card--featured .ecommza-blog-card__img {
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .ecommza-blog .ecommza-blog-card:not(.ecommza-blog-card--featured) p {
    display: -webkit-box;
  }
  .ecommza-blog
    .ecommza-blog-card:not(.ecommza-blog-card--featured)
    .ecommza-blog-card__footer
    > span {
    display: inline-flex;
  }
  .schooly-blog-archive-hero {
    padding: 58px 0;
  }
  .schooly-blog-archive-hero__mark {
    display: none;
  }
  .schooly-blog-archive-hero h1 {
    font-size: 40px;
  }
  .schooly-unified-breadcrumb {
    padding: 1.25rem 0 1.35rem;
  }
  .schooly-unified-breadcrumb__inner {
    display: block;
  }
  .schooly-unified-breadcrumb .ecommza-breadcrumb {
    margin-bottom: 18px;
  }
  .schooly-unified-breadcrumb__title {
    font-size: 34px;
  }
  .schooly-unified-breadcrumb p {
    font-size: 11px;
  }
  .schooly-unified-breadcrumb__mark {
    display: none;
  }
  .schooly-single-post__article {
    padding: 8px 8px 30px;
    border-radius: 18px;
  }
  .schooly-single-post__image {
    margin-bottom: 18px;
    border-radius: 13px;
    aspect-ratio: 16 / 10;
  }
  .schooly-single-post__meta {
    margin: 0 12px 18px;
  }
  .schooly-single-post__content {
    padding: 0 12px;
    font-size: 13px;
  }
  .schooly-single-post > .container {
    width: calc(100% - 24px);
  }
  .schooly-single-post__lead {
    margin: 0 12px 22px;
    padding: 15px;
    font-size: 13px;
  }
  .schooly-single-post__content h2 {
    margin-top: 32px;
    font-size: 22px;
  }
  .schooly-single-post__content h3 {
    font-size: 18px;
  }
  .schooly-single-post__tax,
  .schooly-single-post__author {
    margin-inline: 12px;
  }
  .schooly-single-post__author {
    align-items: flex-start;
  }
  .schooly-single-post__sidebar {
    grid-template-columns: 1fr;
  }
  .schooly-post-most-viewed {
    grid-column: auto;
  }
  .schooly-related-posts {
    margin-top: 36px;
  }
  .schooly-post-navigation {
    grid-template-columns: 1fr;
  }
  .schooly-post-navigation > div:last-child {
    text-align: start;
  }
  .schooly-post-navigation > div:last-child span {
    justify-content: flex-start;
  }
  .schooly-related-posts .ecommza-blog-grid {
    grid-template-columns: 1fr;
  }
  .schooly-popular-posts {
    margin-bottom: 34px;
    padding: 18px;
    border-radius: 20px;
  }
  .schooly-popular-posts__grid {
    grid-template-columns: 1fr;
  }
  .schooly-popular-card {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
  }
  .schooly-popular-card__image {
    height: 100%;
    aspect-ratio: auto;
  }
  .schooly-blog-topics {
    margin-top: -18px;
    padding: 13px;
  }
  .schooly-blog-topics strong {
    width: 100%;
    margin-bottom: 3px;
  }
  .shop-sidebar {
    display: none;
  }
  .wc-page-header {
    width: calc(100% - 24px);
    padding: 32px 16px;
    border-radius: var(--s-radius);
  }
  .schooly-shop-page {
    padding: 24px 0 48px;
  }
  .ecommza-trust-bar {
    width: calc(100% - 24px);
    margin-bottom: 32px;
    padding: 20px 14px;
  }
  .ecommza-trust-bar__grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px 8px;
  }
  .ecommza-trust-item__text span {
    display: none;
  }
  .ecommza-footer {
    width: 100%;
    margin: 0;
    border-radius: 0;
  }
  .ecommza-footer__top {
    display: none;
  }
  .schooly-favorite-schools-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .schooly-favorite-school {
    min-height: 260px;
  }
  .schooly-wishlist-collection__head {
    align-items: center;
  }
}

@media (max-width: 390px) {
  .ecommza-products-grid.row > [class*="col-"],
  .wishlist-grid > * {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   Stable internal layouts and interactions
============================================================ */
.blog-page__cards {
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.blog-page__cards .ecommza-blog-card {
  height: 100%;
}
.blog-page__cards
  .ecommza-blog-card:not(.ecommza-blog-card--featured)
  .ecommza-blog-card__img {
  aspect-ratio: 16 / 10;
}
.blog-page__cards .ecommza-blog-card__body {
  min-width: 0;
}
.blog-page__cards .ecommza-blog-card__footer {
  margin-top: auto;
}

.ecommza-promo-grid {
  align-items: stretch;
}
.ecommza-promo-grid .ecommza-promo-tile {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.shop-main-content,
.shop-products-wrapper,
.shop-products-wrapper .woocommerce {
  min-width: 0;
}
.shop-products-wrapper ul.products.row {
  align-items: stretch !important;
  row-gap: 22px !important;
}
.shop-products-wrapper ul.products.row > li.product {
  display: flex !important;
  height: auto !important;
}
.shop-products-wrapper ul.products.row > li.product > .schooly-product-card {
  width: 100% !important;
  height: 100% !important;
}

@media (min-width: 992px) {
  .shop-main-content
    .shop-products-wrapper:not(.view-list)
    ul.products.row
    > li.product {
    flex: 0 0 33.333333% !important;
    width: 33.333333% !important;
    max-width: 33.333333% !important;
  }
}

.button,
button,
input[type="button"],
input[type="submit"],
.ecommza-view-all,
.schooly-product-link,
.shop-widget__btn {
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease !important;
}
.button:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.ecommza-view-all:hover,
.schooly-product-link:hover,
.shop-widget__btn:hover {
  transform: translateY(-2px);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(47, 98, 206, 0.3) !important;
  outline-offset: 3px !important;
}

@media (max-width: 767px) {
  .blog-page__cards {
    grid-auto-rows: auto;
  }
  .ecommza-promo-grid .ecommza-promo-tile {
    min-height: 350px;
  }
}

/* Remove outlines from form controls across the frontend. */
input,
select,
textarea,
button,
.input-text,
.select2-selection,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  outline: 0 !important;
}

input:focus,
input:focus-visible,
select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible,
button:focus,
button:focus-visible,
.input-text:focus,
.input-text:focus-visible,
.select2-selection:focus,
.select2-selection:focus-visible,
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  outline: 0 !important;
  outline-offset: 0 !important;
}

/* ============================================================
   CHECKOUT — Premium redesign
   Scope: body.woocommerce-checkout only. No template changes.
============================================================ */

/* ── Page shell ── */
body.woocommerce-checkout {
  display: block !important;
  background: #eef4fc !important;
}

body.woocommerce-checkout .schooly-shop-page {
  padding: clamp(32px, 5vw, 68px) 0 96px !important;
  background:
    radial-gradient(
      ellipse 80% 50% at 5% 0%,
      rgba(47, 98, 206, 0.13),
      transparent
    ),
    radial-gradient(
      ellipse 50% 30% at 95% 100%,
      rgba(47, 98, 206, 0.07),
      transparent
    ),
    linear-gradient(180deg, #edf3fc 0%, #f6f9ff 100%) !important;
}

body.woocommerce-checkout .woocommerce {
  width: min(calc(100% - 48px), 1200px) !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  color: var(--s-text) !important;
}

body.woocommerce-checkout .woocommerce > .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce > .woocommerce-form-login-toggle,
body.woocommerce-checkout .woocommerce > .woocommerce-form-coupon-toggle {
  margin-bottom: 14px !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout form.checkout_coupon {
  display: none !important;
}

body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-error {
  margin: 0 0 16px !important;
  padding: 14px 20px !important;
  border: 1px solid var(--s-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: var(--s-text) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 22px rgba(20, 41, 87, 0.06) !important;
}

body.woocommerce-checkout .woocommerce-info::before,
body.woocommerce-checkout .woocommerce-message::before,
body.woocommerce-checkout .woocommerce-error::before {
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--s-blue-500) !important;
}

body.woocommerce-checkout .woocommerce form.checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.18fr) minmax(310px, 0.82fr) !important;
  gap: 26px !important;
  align-items: start !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* left column — stacked cards */
body.woocommerce-checkout #customer_details {
  grid-column: 1 !important;
  float: none !important;
  width: 100% !important;
  display: grid !important;
  gap: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* right column — single card */
body.woocommerce-checkout #order_review {
  grid-column: 2 !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 26px !important;
  border: 1px solid rgba(116, 150, 222, 0.26) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 16px 48px rgba(20, 41, 87, 0.09) !important;
}

body.woocommerce-checkout #order_review_heading {
  grid-column: 2 !important;
  margin: 0 0 -10px !important;
  padding: 0 6px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--s-blue-700) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

@media (min-width: 992px) {
  body.woocommerce-checkout #order_review {
    position: sticky !important;
    top: 100px !important;
  }
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
}

/* each billing/shipping/additional section = its own card */
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
  padding: 26px !important;
  border: 1px solid rgba(116, 150, 222, 0.22) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 12px 38px rgba(20, 41, 87, 0.07) !important;
}

body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3 {
  margin: 0 0 20px !important;
  padding: 0 0 14px !important;
  border-bottom: 1.5px solid var(--s-line) !important;
  color: var(--s-ink) !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 16px !important;
}

body.woocommerce-checkout .woocommerce form .form-row,
body.woocommerce-checkout .form-row {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-checkout .woocommerce form .form-row-first,
body.woocommerce-checkout .woocommerce form .form-row-last {
  grid-column: auto !important;
}

body.woocommerce-checkout .woocommerce form .form-row-wide,
body.woocommerce-checkout #billing_address_1_field,
body.woocommerce-checkout #billing_address_2_field,
body.woocommerce-checkout #shipping_address_1_field,
body.woocommerce-checkout #shipping_address_2_field,
body.woocommerce-checkout #order_comments_field {
  grid-column: 1 / -1 !important;
}

body.woocommerce-checkout .woocommerce form .form-row label {
  display: block !important;
  margin: 0 0 7px !important;
  color: var(--s-blue-900) !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 900 !important;
}

body.woocommerce-checkout .woocommerce form .form-row .required {
  color: var(--s-danger) !important;
  text-decoration: none !important;
}

body.woocommerce-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .woocommerce form .form-row select,
body.woocommerce-checkout .select2-container .select2-selection--single {
  width: 100% !important;
  min-height: 48px !important;
  height: 48px !important;
  padding: 0 16px !important;
  border: 1.5px solid #d6e1f5 !important;
  border-radius: 12px !important;
  background: #f8fafd !important;
  color: var(--s-ink) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  outline: 0 !important;
  transition:
    border-color var(--s-ease),
    background-color var(--s-ease),
    box-shadow var(--s-ease) !important;
}

body.woocommerce-checkout .woocommerce form .form-row textarea {
  height: auto !important;
  min-height: 110px !important;
  padding-top: 13px !important;
  padding-bottom: 13px !important;
  resize: vertical !important;
  line-height: 1.7 !important;
}

body.woocommerce-checkout .woocommerce form .form-row input.input-text:hover,
body.woocommerce-checkout .woocommerce form .form-row textarea:hover,
body.woocommerce-checkout .woocommerce form .form-row select:hover {
  border-color: var(--s-blue-300) !important;
  background: #fff !important;
}

body.woocommerce-checkout .woocommerce form .form-row input.input-text:focus,
body.woocommerce-checkout .woocommerce form .form-row textarea:focus,
body.woocommerce-checkout .woocommerce form .form-row select:focus,
body.woocommerce-checkout .select2-container--open .select2-selection--single {
  border-color: var(--s-blue-400) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(47, 98, 206, 0.1) !important;
  outline: 0 !important;
}

body.woocommerce-checkout .select2-container {
  width: 100% !important;
}

body.woocommerce-checkout
  .select2-container
  .select2-selection--single
  .select2-selection__rendered {
  padding: 0 !important;
  color: var(--s-ink) !important;
  line-height: 44px !important;
}

body.woocommerce-checkout
  .select2-container
  .select2-selection--single
  .select2-selection__arrow {
  top: 10px !important;
  inset-inline-end: 10px !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table {
  width: 100% !important;
  margin: 0 0 18px !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: transparent !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
  padding: 0 0 12px !important;
  border-bottom: 1.5px solid var(--s-line) !important;
  background: transparent !important;
  color: var(--s-muted) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody td,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
  padding: 13px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--s-line) !important;
  background: transparent !important;
  color: var(--s-text) !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

body.woocommerce-checkout
  .woocommerce-checkout-review-order-table
  .product-name {
  color: var(--s-ink) !important;
  font-weight: 800 !important;
}

body.woocommerce-checkout
  .woocommerce-checkout-review-order-table
  .product-name
  .product-quantity {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 22px !important;
  height: 22px !important;
  padding: 0 7px !important;
  margin-inline-start: 6px !important;
  border-radius: 99px !important;
  background: var(--s-blue-50) !important;
  color: var(--s-blue-700) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

body.woocommerce-checkout
  .woocommerce-checkout-review-order-table
  .product-total,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
  color: var(--s-blue-800) !important;
  font-weight: 900 !important;
  text-align: end !important;
}

body.woocommerce-checkout
  .woocommerce-checkout-review-order-table
  tfoot
  .cart-subtotal
  th,
body.woocommerce-checkout
  .woocommerce-checkout-review-order-table
  tfoot
  .cart-subtotal
  td {
  color: var(--s-text) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

body.woocommerce-checkout
  .woocommerce-checkout-review-order-table
  .order-total
  th,
body.woocommerce-checkout
  .woocommerce-checkout-review-order-table
  .order-total
  td {
  padding-top: 16px !important;
  border-top: 2px solid var(--s-blue-100) !important;
  border-bottom: 0 !important;
  color: var(--s-blue-900) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}

/* ── Coupon / login toggle forms ── */
body.woocommerce-checkout .woocommerce form.checkout_coupon,
body.woocommerce-checkout .woocommerce form.login {
  margin: 0 0 18px !important;
  padding: 22px !important;
  border: 1px solid var(--s-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 8px 28px rgba(20, 41, 87, 0.07) !important;
}

body.woocommerce-checkout .woocommerce form.checkout_coupon .form-row {
  margin: 0 0 10px !important;
}

body.woocommerce-checkout .woocommerce form.checkout_coupon .button,
body.woocommerce-checkout .woocommerce form.login .button {
  min-height: 46px !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--s-blue-600) !important;
  color: #fff !important;
  font-weight: 900 !important;
  transition:
    background var(--s-ease),
    transform var(--s-ease),
    box-shadow var(--s-ease) !important;
}

body.woocommerce-checkout .woocommerce form.checkout_coupon .button:hover,
body.woocommerce-checkout .woocommerce form.login .button:hover {
  background: var(--s-blue-700) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 24px rgba(47, 98, 206, 0.22) !important;
}

/* ── Payment section ── */
body.woocommerce-checkout #payment {
  margin: 18px 0 0 !important;
  padding: 20px !important;
  border: 1.5px solid #d0dcf4 !important;
  border-radius: 18px !important;
  background: linear-gradient(150deg, #f2f6fd, #edf1fb) !important;
}

body.woocommerce-checkout #payment ul.payment_methods {
  margin: 0 0 16px !important;
  padding: 0 0 16px !important;
  border-bottom: 1px solid #d0dcf4 !important;
  display: grid !important;
  gap: 10px !important;
}

body.woocommerce-checkout #payment ul.payment_methods li {
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 1.5px solid #d0dcf4 !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: var(--s-blue-900) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  transition:
    border-color var(--s-ease),
    box-shadow var(--s-ease),
    background var(--s-ease) !important;
}

body.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) {
  border-color: var(--s-blue-500) !important;
  background: var(--s-blue-50) !important;
  box-shadow: 0 0 0 3px rgba(47, 98, 206, 0.12) !important;
}

body.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  accent-color: var(--s-blue-500) !important;
}

body.woocommerce-checkout #payment div.payment_box {
  margin: 10px 0 0 !important;
  padding: 14px 16px !important;
  border: 1px solid #d0dcf4 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--s-text) !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
}

body.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: #fff !important;
}

body.woocommerce-checkout #payment .place-order {
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text {
  margin: 14px 0 !important;
  color: var(--s-muted) !important;
  font-size: 12px !important;
  line-height: 1.75 !important;
  text-align: center !important;
}

/* ── Place order CTA ── */
body.woocommerce-checkout #payment #place_order {
  float: none !important;
  width: 100% !important;
  min-height: 56px !important;
  margin: 8px 0 0 !important;
  padding: 0 28px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(
    135deg,
    var(--s-blue-600) 0%,
    var(--s-blue-500) 100%
  ) !important;
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 16px 40px rgba(47, 98, 206, 0.32) !important;
  transition:
    transform var(--s-ease),
    box-shadow var(--s-ease),
    filter var(--s-ease) !important;
}

body.woocommerce-checkout #payment #place_order:hover {
  filter: brightness(1.07) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 22px 50px rgba(47, 98, 206, 0.4) !important;
}

body.woocommerce-checkout #payment #place_order:active {
  transform: translateY(0) !important;
  box-shadow: 0 8px 22px rgba(47, 98, 206, 0.22) !important;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  body.woocommerce-checkout .woocommerce form.checkout {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review {
    grid-column: 1 !important;
  }

  body.woocommerce-checkout #order_review_heading {
    margin-top: 8px !important;
  }
}

@media (max-width: 640px) {
  body.woocommerce-checkout .woocommerce {
    width: min(calc(100% - 28px), 1200px) !important;
  }

  body.woocommerce-checkout .woocommerce-billing-fields,
  body.woocommerce-checkout .woocommerce-shipping-fields,
  body.woocommerce-checkout .woocommerce-additional-fields,
  body.woocommerce-checkout #order_review {
    padding: 18px 16px !important;
    border-radius: 16px !important;
  }

  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
  body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
  body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: 1fr !important;
  }

  body.woocommerce-checkout .woocommerce form .form-row-first,
  body.woocommerce-checkout .woocommerce form .form-row-last {
    grid-column: 1 / -1 !important;
  }

  body.woocommerce-checkout #payment #place_order {
    font-size: 15px !important;
    min-height: 52px !important;
  }
}
