:root {
  --color-primary: #1265be;
  --color-primary-dark: #0d4f96;
  --color-accent: #2ea44f;
  --color-text: #1a1a1a;
  --color-muted: #666666;
  --color-border: #e5e7eb;
  --color-bg: #ffffff;
  --color-bg-soft: #f5f7fa;
  --container-width: 1200px;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --font-main: "Segoe UI", Calibri, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 32px, var(--container-width));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.site-logo__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.custom-logo-link img {
  max-height: 56px;
  width: auto;
}

.site-header__nav {
  flex: 1;
}

.site-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--color-text);
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.site-header__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.site-header__phone {
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.site-header__socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.social-link {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--color-bg-soft);
  color: var(--color-primary);
}

.site-header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.site-header__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #e8f2fb 0%, #f8fbff 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.hero--has-image,
.hero--has-video {
  min-height: min(70vh, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero--has-image {
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.75) 42%, rgba(255, 255, 255, 0.25) 70%),
    var(--hero-image) center / cover no-repeat;
}

.hero--has-video {
  background:
    linear-gradient(105deg, rgba(6, 15, 27, 0.88) 0%, rgba(6, 15, 27, 0.72) 42%, rgba(6, 15, 27, 0.25) 70%),
    var(--hero-image, #07101b) center / cover no-repeat;
  background-color: #07101b;
}

.hero__video-wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
}

.hero__overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    105deg,
    rgba(6, 15, 27, 0.90) 0%,
    rgba(6, 15, 27, 0.74) 46%,
    rgba(6, 15, 27, 0.28) 80%
  );
  pointer-events: none;
}

/* Dark theme styles for Hero (video / dark overlay) */
.hero--theme-dark,
.hero--has-video {
  background-color: #07101b;
}

.hero--has-video .hero__overlay,
.hero--theme-dark .hero__overlay {
  background: linear-gradient(
    105deg,
    rgba(6, 15, 27, 0.90) 0%,
    rgba(6, 15, 27, 0.74) 46%,
    rgba(6, 15, 27, 0.28) 80%
  );
}

.hero--has-video .hero__label,
.hero--theme-dark .hero__label {
  color: #93c5fd;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero--has-video .hero__title,
.hero--theme-dark .hero__title {
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.hero--has-video .hero__text,
.hero--theme-dark .hero__text {
  color: #e2e8f0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.hero--has-video .btn--primary,
.hero--theme-dark .btn--primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(18, 101, 190, 0.4);
}

.hero--has-video .btn--primary:hover,
.hero--theme-dark .btn--primary:hover {
  background: #1a74d8;
  box-shadow: 0 6px 20px rgba(18, 101, 190, 0.55);
}

.hero--has-video .btn--secondary,
.hero--theme-dark .btn--secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero--has-video .btn--secondary:hover,
.hero--theme-dark .btn--secondary:hover {
  background: #ffffff;
  color: var(--color-primary-dark);
  border-color: #ffffff;
}

/* Optional light theme override if chosen in Customizer */
.hero--theme-light .hero__overlay {
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.93) 0%, rgba(255, 255, 255, 0.8) 42%, rgba(255, 255, 255, 0.28) 72%);
}

.hero--theme-light .hero__label {
  color: var(--color-muted);
}

.hero--theme-light .hero__title {
  color: var(--color-primary);
  text-shadow: none;
}

.hero--theme-light .hero__text {
  color: var(--color-muted);
  text-shadow: none;
}

.hero--theme-light .btn--secondary {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  backdrop-filter: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero__label {
  margin: 0 0 12px;
  color: var(--color-muted);
  font-size: 1rem;
}

.hero__title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  color: var(--color-primary);
}

.hero__text {
  margin: 0 0 28px;
  font-size: 1.125rem;
  color: var(--color-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 0;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  text-decoration: none;
  color: #fff;
}

.btn--secondary {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--secondary:hover {
  background: var(--color-bg-soft);
  text-decoration: none;
  color: var(--color-primary-dark);
}

.btn--wide {
  width: 100%;
}

.btn--small {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* Categories */
.categories {
  padding: 64px 0;
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.category-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(18, 101, 190, 0.15);
  text-decoration: none;
}

.category-card__image {
  display: block;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #dbeafe, #eff6ff) center / cover no-repeat;
}

.category-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-card__title {
  font-weight: 600;
}

.category-card__price {
  color: var(--color-accent);
  font-weight: 700;
}

/* Portfolio */
.portfolio {
  padding: 64px 0;
  background: var(--color-bg-soft);
}

.section-header {
  margin-bottom: 32px;
  text-align: center;
}

.section-header__title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.section-header__text {
  margin: 0 auto;
  max-width: 640px;
  color: var(--color-muted);
}

.section-header--light .section-header__title,
.section-header--light .section-header__text {
  color: #fff;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.portfolio__carousel {
  position: relative;
}

.portfolio__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 2px 14px;
  cursor: grab;
  user-select: none;
}

.portfolio__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.portfolio__track::-webkit-scrollbar {
  display: none;
}

.portfolio__item {
  flex: 0 0 calc((100% - 48px) / 4);
  min-width: 240px;
  margin: 0;
  scroll-snap-align: start;
}

@media (max-width: 1024px) {
  .portfolio__item {
    flex: 0 0 calc((100% - 32px) / 3);
    min-width: 220px;
  }
}

@media (max-width: 768px) {
  .portfolio__item {
    flex: 0 0 calc((100% - 16px) / 2);
    min-width: 190px;
  }
}

@media (max-width: 520px) {
  .portfolio__item {
    flex: 0 0 82%;
    min-width: 0;
  }
}

.portfolio__lightbox-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio__lightbox-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.portfolio__lightbox-btn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.portfolio__placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #cbd5e1, #e2e8f0);
}

.portfolio__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  pointer-events: none;
}

/* Arrows */
.portfolio__arrow {
  position: absolute;
  top: calc(50% - 6px);
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #ffffff;
  color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.portfolio__arrow:hover:not(:disabled) {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
  transform: translateY(-50%) scale(1.06);
}

.portfolio__arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

.portfolio__arrow--prev {
  left: -22px;
}

.portfolio__arrow--next {
  right: -22px;
}

@media (max-width: 768px) {
  .portfolio__arrow {
    width: 38px;
    height: 38px;
  }
  .portfolio__arrow--prev {
    left: 4px;
  }
  .portfolio__arrow--next {
    right: 4px;
  }
}

/* Dots */
.portfolio__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  min-height: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.25s ease;
}

.portfolio__dot:hover {
  background: #94a3b8;
}

.portfolio__dot.is-active {
  width: 26px;
  background: var(--color-primary);
}

/* Portfolio lightbox */
.portfolio-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.portfolio-lightbox.is-open {
  display: flex;
}

.portfolio-lightbox__inner {
  position: relative;
  width: 100%;
  max-width: 980px;
}

.portfolio-lightbox__img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  background: #000;
  border-radius: 12px;
}

.portfolio-lightbox__close,
.portfolio-lightbox__prev,
.portfolio-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 44px;
}

.portfolio-lightbox__close {
  top: 18px;
  right: 18px;
  transform: none;
  font-size: 26px;
  line-height: 44px;
}

.portfolio-lightbox__prev {
  left: 12px;
}

.portfolio-lightbox__next {
  right: 12px;
}

@media (max-width: 700px) {
  .portfolio-lightbox {
    padding: 12px;
  }

  .portfolio-lightbox__close {
    right: 10px;
    top: 10px;
  }

  .portfolio-lightbox__prev {
    left: 6px;
  }

  .portfolio-lightbox__next {
    right: 6px;
  }
}

/* Order form */
.order-form {
  padding: 64px 0 80px;
  background: var(--color-primary);
}

.order-form__inner {
  max-width: 760px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
  font-size: 0.95rem;
}

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  font: inherit;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.form-field--checkbox input {
  margin-top: 4px;
}

.form-field--checkbox a {
  color: #fff;
  text-decoration: underline;
}

/* Page content */
.page-content {
  padding: 48px 0 64px;
}

.page-article__title {
  margin: 0 0 24px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.entry-content > * + * {
  margin-top: 1rem;
}

/* Category page gallery */
.category-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.category-gallery__item {
  overflow: hidden;
  margin: 0;
  border-radius: 12px;
  background: #f3f4f6;
}

.category-gallery__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.category-gallery__caption {
  padding: 10px 12px;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: #111827;
  color: #d1d5db;
  padding: 48px 0;
}

.site-footer a {
  color: #fff;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.site-footer__logo {
  margin: 0 0 12px;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.site-footer__copy {
  margin: 0 0 12px;
  font-size: 0.9rem;
}

.site-footer__heading {
  margin: 0 0 12px;
  font-weight: 700;
  color: #fff;
}

.site-footer__contacts,
.site-nav--footer {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Подвал: вертикальный список, не как меню в шапке */
.site-nav--footer {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 8px;
}

.site-nav--footer li {
  width: 100%;
}

.site-footer__contacts li + li {
  margin-top: 8px;
}

.site-footer__marketplaces {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.site-footer__marketplaces a {
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1f2937;
  color: #fff;
  padding: 16px 0;
  z-index: 200;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-banner__text {
  margin: 0;
}

/* Mobile */
@media (max-width: 960px) {
  .hero__overlay,
  .hero--has-video .hero__overlay,
  .hero--theme-dark .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(6, 15, 27, 0.92) 0%,
      rgba(6, 15, 27, 0.80) 65%,
      rgba(6, 15, 27, 0.45) 100%
    );
  }

  .hero--theme-light .hero__overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.86) 65%, rgba(255, 255, 255, 0.45) 100%);
  }

  .site-header__toggle {
    display: flex;
  }

  .site-header__nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 16px;
    display: none;
  }

  .site-header__nav.is-open {
    display: block;
  }

  .site-nav--header {
    flex-direction: column;
    gap: 12px;
  }

  .site-header__contacts {
    display: none;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Category Hero Banner */
.category-hero {
  position: relative;
  min-height: 380px;
  padding: 56px 0;
  display: flex;
  align-items: center;
  background-color: #07101b;
}

.category-hero__overlay {
  background: linear-gradient(
    105deg,
    rgba(7, 16, 27, 0.94) 0%,
    rgba(7, 16, 27, 0.85) 45%,
    rgba(7, 16, 27, 0.6) 80%,
    rgba(7, 16, 27, 0.45) 100%
  );
}

.category-hero__breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.category-hero__breadcrumbs a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.15s ease;
}

.category-hero__breadcrumbs a:hover {
  color: #fff;
  text-decoration: underline;
}

.category-hero__sep {
  opacity: 0.5;
}

.category-hero__current {
  color: #93c5fd;
  font-weight: 500;
}

.category-hero__title {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
}

.category-hero__price-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.category-hero__price-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.category-hero__price-value {
  font-size: 15px;
  font-weight: 700;
  color: #fef08a;
}

.category-hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Category Variants Section */
.category-variants {
  margin: 56px 0 40px;
}

.category-variants__header {
  margin-bottom: 32px;
  text-align: center;
}

.category-variants__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.category-variant-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-variant-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.category-variant-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.category-variant-card__image-box {
  position: relative;
  height: 200px;
  background: #f1f5f9;
  overflow: hidden;
}

.category-variant-card__lightbox-btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.category-variant-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.category-variant-card:hover .category-variant-card__img {
  transform: scale(1.06);
}

.category-variant-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  background: #f8fafc;
}

.category-variant-card__img-placeholder .dashicons {
  font-size: 42px;
  width: 42px;
  height: 42px;
}

.category-variant-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 20px;
}

.category-variant-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px;
  line-height: 1.3;
}

.category-variant-card__price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.category-variant-card__desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 20px;
  flex-grow: 1;
}

.category-variant-card__action {
  margin-top: auto;
}

.category-variant-card__btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.btn--sm {
  padding: 10px 18px;
  font-size: 13px;
}

/* Order Form Variant Alert */
.order-form__variant-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  padding: 12px 18px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.08);
}

.order-form__variant-alert-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #3b82f6;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

.order-form__variant-alert-text strong {
  color: #1d4ed8;
  font-weight: 700;
}

.order-form__variant-alert-close {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  margin-left: auto;
  padding: 2px 6px;
  transition: color 0.15s ease;
}

.order-form__variant-alert-close:hover {
  color: #dc2626;
}
