/* ==========================================================================
   SHOP.CSS — Combined & isolated styles for SPB-Reklama shop
   All selectors prefixed with .spb-shop for CSS isolation
   Generated from html/ mockup CSS files
   ========================================================================== */

/* ========================================================================== */
/*   Source: html/common.css
   ========================================================================== */

/* ==========================================================================
   COMMON.CSS — Общие стили для всех страниц магазина
   Компоненты: reset, типографика, header, footer, product-card, faq,
   contact-form, breadcrumbs, counter, buttons
   ========================================================================== */

/* Reset & Base
   ========================================================================== */

.spb-shop .page *,
.spb-shop .page *::before,
.spb-shop .page *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.spb-shop {
  font-family:
    "Nunito Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Ubuntu,
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  color: #000000;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.spb-shop img {
  max-width: 100%;
  height: auto;
  display: block;
}

.spb-shop a {
  text-decoration: none;
  color: inherit;
}

.spb-shop ul,
.spb-shop ol {
  list-style: none;
}

.spb-shop button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  color: inherit;
}

.spb-shop input,
.spb-shop select,
.spb-shop textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* Layout
   ========================================================================== */

.spb-shop .page {
  max-width: 1920px;
  margin: 0 auto;
  background: #ffffff;
}

.spb-shop .container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ==========================================================================
   HEADER & FOOTER — Styled by global.css (no duplicates needed here)
   ========================================================================== */

/* ==========================================================================
   PRODUCT CARD — .product-card
   ========================================================================== */

.spb-shop .product-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 15px;
}

.spb-shop .product-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
}

.spb-shop .product-card__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  flex-grow: 1;
}

.spb-shop .product-card__info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex-grow: 1;
}

.spb-shop .product-card__price {
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
}

.spb-shop .product-card__name-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.spb-shop .product-card__name {
  font-size: 17px;
  font-weight: 400;
  line-height: 23px;
  margin: 0;
}

.spb-shop .product-card__brand {
  color: #868686;
  font-size: 13px;
  line-height: 17.732px;
}

.spb-shop .product-card__colors {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.spb-shop .product-card__color {
  width: 20px;
  height: 20px;
  border-radius: 60px;
  flex-shrink: 0;
}

.spb-shop .product-card__color--white {
  border: 1px solid #e4e4e4;
}

.spb-shop .product-card__meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.spb-shop .product-card__meta-row {
  display: flex;
  gap: 10px;
}

.spb-shop .product-card__sku-label,
.spb-shop .product-card__sku-value,
.spb-shop .product-card__stock-label,
.spb-shop .product-card__stock-value {
  color: #868686;
  font-size: 13px;
  line-height: 18px;
}

.spb-shop .product-card__add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  gap: 10px;
  padding: 10px 0;
  background: #ffcc33;
  border-radius: 7px;
  box-shadow: 0 1px 3px 0 rgba(96, 103, 4, 0.1);
  text-decoration: none;
  color: #000;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* ==========================================================================
   PRODUCT GRID — .product-grid
   ========================================================================== */

.spb-shop .product-grid {
  display: grid;
  gap: 20px;
  width: 100%;
}

.spb-shop .product-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.spb-shop .product-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

/* ==========================================================================
   FAQ — .faq
   ========================================================================== */

.spb-shop .faq {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  width: 100%;
}

.spb-shop .faq__title {
  font-size: 28px;
  font-weight: 600;
  line-height: 38px;
  margin: 0;
}

.spb-shop .faq__list {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 20px;
}

.spb-shop .faq__item {
  padding: 10px 15px;
  background: #ffffff;
  border-top: 0.5px solid #868686;
}

.spb-shop .faq__item:first-child {
  border-top: none;
}

.spb-shop .faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  font-size: 19px;
  font-weight: 600;
  line-height: 26px;
  list-style: none;
}

.spb-shop .faq__item summary::-webkit-details-marker {
  display: none;
}

.spb-shop .faq__item summary::after {
  content: "";
  display: block;
  width: 10px;
  height: 12px;
  flex-shrink: 0;
  background: url("../../html/images/icons/star-large.svg") no-repeat center;
  background-size: cover;
  transition: transform 0.3s ease;
}

.spb-shop .faq__item[open] summary::after {
  transform: rotate(90deg);
}

.spb-shop .faq__answer {
  padding-top: 15px;
  font-size: 15px;
  line-height: 20px;
}

/* ==========================================================================
   CONTACT FORM — .contact-form
   ========================================================================== */

.spb-shop .contact-form {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
}

.spb-shop .contact-form__header {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 560px;
  flex-shrink: 0;
}

.spb-shop .contact-form__title {
  font-size: 28px;
  font-weight: 600;
  line-height: 38px;
  margin: 0;
}

.spb-shop .contact-form__subtitle {
  font-size: 17px;
  line-height: 23.188px;
}

.spb-shop .contact-form__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 50px;
  min-width: 0;
}

.spb-shop .contact-form__fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 30px;
  background: #f4f4f4;
  border-radius: 10px;
}

.spb-shop .contact-form__group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spb-shop .contact-form__label {
  font-size: 17px;
  line-height: 23px;
}

.spb-shop .contact-form__input,
.spb-shop .contact-form__textarea {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 10px;
  height: 43px;
  padding: 7px 15px;
  background: #ffffff;
  border-radius: 7px;
  font-size: 17px;
  line-height: 23px;
  width: 100%;
}

.spb-shop .contact-form__input::placeholder,
.spb-shop .contact-form__textarea::placeholder {
  color: #868686;
}

.spb-shop .contact-form__textarea {
  height: 110px;
  align-items: flex-start;
  resize: vertical;
}

.spb-shop .contact-form__row {
  display: flex;
  gap: 20px;
}

.spb-shop .contact-form__row .contact-form__group {
  flex: 1;
}

.spb-shop .contact-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  gap: 10px;
  margin-top: 20px;
  padding: 10px 70px;
  background: #3e3e3e;
  border-radius: 7px;
  color: #ffffff;
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
}

.spb-shop .contact-form__consents {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.spb-shop .contact-form__consent {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
}

.spb-shop .contact-form__checkbox {
  width: 12px;
  height: 12px;
  border: 1px solid #868686;
  border-radius: 2px;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.spb-shop .contact-form__checkbox:checked {
  background: #3e3e3e;
}

.spb-shop .contact-form__consent-text,
.spb-shop .contact-form__consent span {
  font-size: 13px;
  line-height: 17.732px;
}

.spb-shop .contact-form__consent-text a,
.spb-shop .contact-form__consent span a {
  text-decoration: underline;
}

/* ==========================================================================
   BREADCRUMBS — .breadcrumbs
   ========================================================================== */

.spb-shop .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 25px;
  padding-bottom: 20px;
}

.spb-shop .breadcrumbs__link {
  color: #868686;
  font-size: 13px;
  line-height: 18px;
  white-space: nowrap;
}

.spb-shop .breadcrumbs__separator {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.spb-shop .breadcrumbs__separator img {
  width: 7px;
  height: 6px;
  display: block;
}

.spb-shop .breadcrumbs__current {
  font-size: 13px;
  line-height: 18px;
  white-space: nowrap;
}

/* ==========================================================================
   COUNTER — .counter
   ========================================================================== */

.spb-shop .counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: #ffffff;
  border-radius: 7px;
}

.spb-shop .counter__btn {
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spb-shop .counter__value {
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
  text-align: center;
  width: 60px;
  border: none;
  background: transparent;
  font-family: inherit;
  padding: 0;
  -moz-appearance: textfield;
  outline: none;
}

.spb-shop .counter__value::-webkit-outer-spin-button,
.spb-shop .counter__value::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ==========================================================================
   BUTTONS — .btn
   ========================================================================== */

.spb-shop .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 7px;
  font-weight: 400;
  line-height: 20px;
  white-space: nowrap;
  cursor: pointer;
}

.spb-shop .btn--primary {
  background: #3e3e3e;
  color: #ffffff;
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
  padding: 10px 70px;
}

.spb-shop .btn--secondary {
  background: #ffcc33;
  color: #000000;
  box-shadow: 0 1px 3px 0 rgba(96, 103, 4, 0.1);
}

.spb-shop .btn--outline {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 1px 3px 0 rgba(96, 103, 4, 0.1);
}

/* ==========================================================================
   SECTION TITLES — .section-title
   ========================================================================== */

.spb-shop .section-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 38px;
  margin: 0;
}

/* ==========================================================================
   PORTFOLIO SLIDER — .portfolio
   ========================================================================== */

.spb-shop .portfolio {
  display: flex;
  flex-direction: column;
  gap: 70px;
  width: 100%;
}

.spb-shop .portfolio__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.spb-shop .portfolio__title {
  font-size: 28px;
  font-weight: 600;
  line-height: 38px;
  margin: 0;
}

.spb-shop .portfolio__rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.spb-shop .portfolio__stars {
  display: flex;
  gap: 5px;
}

.spb-shop .portfolio__star {
  width: 10px;
  height: 12px;
}

.spb-shop .portfolio__star img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spb-shop .portfolio__nav {
  display: flex;
  gap: 25px;
}

.spb-shop .portfolio__slider {
  display: flex;
  align-items: center;
  gap: 20px;
}

.spb-shop .portfolio__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffcc33;
  flex-shrink: 0;
  cursor: pointer;
}

.spb-shop .portfolio__arrow img {
  width: 4px;
  height: 6px;
}

.spb-shop .portfolio__arrow--prev img {
  transform: rotate(180deg);
}

.spb-shop .portfolio__items {
  display: flex;
  gap: 20px;
  flex: 1;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.spb-shop .portfolio__items::-webkit-scrollbar {
  display: none;
}

.spb-shop .portfolio__item {
  flex: 0 0 calc((100% - 60px) / 4);
  height: 260px;
  background: #d9d9d9;
  overflow: hidden;
  scroll-snap-align: start;
  border-radius: 8px;
}

.spb-shop .portfolio__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   CONTENT BLOCKS — .content-blocks
   ========================================================================== */

.spb-shop .content-blocks {
  display: flex;
  flex-direction: column;
  gap: 120px;
  width: 100%;
}

.spb-shop .content-block {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.spb-shop .content-block__title {
  font-size: 28px;
  font-weight: 600;
  line-height: 38px;
  margin: 0;
}

.spb-shop .content-block__text {
  font-size: 17px;
  line-height: 23px;
}

.spb-shop .content-block--text-center {
  align-items: center;
}

.spb-shop .content-block--text-center .content-block__title {
  text-align: center;
}

.spb-shop .content-block--image-left {
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
}

.spb-shop .content-block--image-right {
  align-items: center;
  gap: 40px;
}

.spb-shop .content-block__image {
  flex: 1;
  min-height: 470px;
  background: #d9d9d9;
  overflow: hidden;
}

.spb-shop .content-block--image-right .content-block__image {
  align-self: stretch;
  flex: none;
  height: 500px;
  min-height: auto;
}

.spb-shop .content-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spb-shop .content-block__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* ==========================================================================
   MOBILE FILTER BAR + DRAWER — Category page mobile only
   ========================================================================== */

/* Bar with two trigger buttons (hidden on desktop, shown via @media) */
.spb-shop .mobile-filter-bar {
  display: none;
  gap: 10px;
  margin-bottom: 20px;
}

.spb-shop .mobile-filter-bar__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #f4f4f4;
  border: none;
  border-radius: 8px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  transition: background 0.15s ease;
}

.spb-shop .mobile-filter-bar__btn:hover {
  background: #eaeaea;
}

.spb-shop .mobile-filter-bar__btn img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.spb-shop .mobile-filter-bar__btn--active {
  background: rgba(255, 204, 51, 0.25);
  color: #1a1a1a;
}

/* Filter tags mobile toggle (hidden on desktop) */
.spb-shop .filter-tags__toggle {
  display: none;
}

/* Drawer overlay + panel */
.spb-shop .mobile-drawer {
  display: none;
}

.spb-shop .mobile-drawer--open {
  display: block;
}

.spb-shop .mobile-drawer__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9998;
}

.spb-shop .mobile-drawer__panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 80vh;
  background: #fff;
  border-radius: 20px 20px 0 0;
  z-index: 9999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.spb-shop .mobile-drawer--open .mobile-drawer__panel {
  transform: translateY(0);
}

.spb-shop .mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
  border-radius: 20px 20px 0 0;
}

.spb-shop .mobile-drawer__title {
  font-family: "Nunito Sans", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.spb-shop .mobile-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  font-size: 24px;
  color: #868686;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.spb-shop .mobile-drawer__close:hover {
  background: #f4f4f4;
  color: #3e3e3e;
}

.spb-shop .mobile-drawer__body {
  padding: 20px;
}

/* Category drawer: subcategory list */
.spb-shop .mobile-drawer__cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.spb-shop .mobile-drawer__cat-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-family: "Nunito Sans", sans-serif;
  font-size: 15px;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #f5f5f5;
  transition: color 0.15s ease;
}

.spb-shop .mobile-drawer__cat-item:last-child a {
  border-bottom: none;
}

.spb-shop .mobile-drawer__cat-item a:hover {
  color: #ffcc33;
}

.spb-shop .mobile-drawer__cat-item a .count {
  color: #868686;
  font-size: 13px;
}

.spb-shop .mobile-drawer__cat-item--active a {
  color: #ffcc33;
  font-weight: 600;
}

/* Filters drawer: sections */
.spb-shop .mobile-drawer__filter-section {
  margin-bottom: 24px;
}

.spb-shop .mobile-drawer__filter-section:last-child {
  margin-bottom: 0;
}

.spb-shop .mobile-drawer__filter-label {
  font-family: "Nunito Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.spb-shop .mobile-drawer__filter-options {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.spb-shop .mobile-drawer__filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-family: "Nunito Sans", sans-serif;
  font-size: 15px;
  color: #3e3e3e;
  text-decoration: none;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.15s ease;
}

.spb-shop .mobile-drawer__filter-option:last-child {
  border-bottom: none;
}

.spb-shop .mobile-drawer__filter-option:hover {
  color: #1a1a1a;
}

.spb-shop .mobile-drawer__filter-option--active {
  color: #ffcc33;
  font-weight: 600;
}

.spb-shop .mobile-drawer__filter-reset {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 20px;
  background: #f4f4f4;
  border: none;
  border-radius: 8px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ff383c;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.spb-shop .mobile-drawer__filter-reset:hover {
  background: #ffe0e0;
}

/* Sort row inside filter drawer */
.spb-shop .mobile-drawer__sort-section {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

/* ==========================================================================
   RESPONSIVE — Media Queries
   ========================================================================== */

@media (max-width: 1024px) {
  .spb-shop .product-grid--3col,
  .spb-shop .product-grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }

  .spb-shop .portfolio__item {
    flex: 0 0 calc((100% - 20px) / 2);
  }

  /* Filter tags — tablet/mobile: wrap + limit to 5 + toggle */
  .spb-shop .filter-tags {
    flex-direction: column;
    align-items: flex-start;
    overflow: visible;
  }

  .spb-shop .filter-tags__list {
    flex-wrap: wrap;
    overflow: visible;
    gap: 8px;
  }

  .spb-shop .filter-tags__item--mobile-hidden {
    display: none;
  }

  .spb-shop .filter-tags__list--expanded .filter-tags__item--mobile-hidden {
    display: inline-block;
  }

  .spb-shop .filter-tags__more {
    display: none;
  }

  .spb-shop .filter-tags__prev {
    display: none !important;
  }

  .spb-shop .filter-tags__toggle {
    display: inline-block;
    margin-top: 8px;
    padding: 0;
    border: none;
    background: none;
    font-family: "Nunito Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #868686;
    text-decoration: underline;
    cursor: pointer;
  }

  .spb-shop .filter-tags__toggle:hover {
    color: #3e3e3e;
  }

  /* Hide desktop sidebar + filters, show mobile trigger buttons */
  .spb-shop .category-sidebar {
    display: none;
  }

  .spb-shop .category-filters {
    display: none;
  }

  .spb-shop .category-filters__active-bar {
    display: none;
  }

  .spb-shop .mobile-filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .spb-shop .product-grid--3col,
  .spb-shop .product-grid--4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .spb-shop .contact-form {
    flex-direction: column;
  }

  .spb-shop .contact-form__header {
    width: 100%;
  }

  .spb-shop .contact-form__fields {
    padding: 20px 16px;
  }

  .spb-shop .content-block--image-left {
    flex-direction: column;
  }

  .spb-shop .content-block__image {
    min-height: 300px;
    width: 100%;
  }

  .spb-shop .content-block--image-right .content-block__image {
    height: 300px;
  }

  .spb-shop .btn--primary {
    padding: 10px 30px;
  }

  /* --- Common components: mobile font/spacing fixes --- */
  .spb-shop .section-title {
    font-size: 22px;
    line-height: 30px;
  }

  .spb-shop .faq {
    gap: 30px;
  }

  .spb-shop .faq__title {
    font-size: 22px;
    line-height: 30px;
  }

  .spb-shop .faq__item summary {
    font-size: 16px;
    line-height: 22px;
  }

  .spb-shop .faq__list {
    gap: 15px;
  }

  .spb-shop .contact-form__title {
    font-size: 22px;
    line-height: 30px;
  }

  .spb-shop .contact-form__subtitle {
    font-size: 15px;
  }

  .spb-shop .contact-form__body {
    gap: 30px;
  }

  .spb-shop .contact-form__row {
    flex-direction: column;
    gap: 20px;
  }

  .spb-shop .contact-form__submit {
    font-size: 16px;
    padding: 10px 30px;
  }

  .spb-shop .contact-form__label {
    font-size: 15px;
  }

  .spb-shop .portfolio {
    gap: 40px;
  }

  .spb-shop .portfolio__title {
    font-size: 22px;
    line-height: 30px;
  }

  .spb-shop .content-block__title {
    font-size: 22px;
    line-height: 30px;
  }

  .spb-shop .content-block {
    gap: 30px;
  }

  .spb-shop .btn--primary {
    font-size: 16px;
  }

  .spb-shop .counter__btn,
  .spb-shop .counter__value {
    font-size: 16px;
  }

  .spb-shop .search-results {
    padding: 0 20px 40px;
  }

  .spb-shop .product-card__price {
    font-size: 16px;
    line-height: 22px;
  }

  .spb-shop .product-card__name {
    font-size: 15px;
    line-height: 20px;
  }

  .spb-shop .portfolio__item {
    flex: 0 0 100%;
    height: 220px;
  }

  .spb-shop .portfolio__arrow {
    display: none;
  }

  .spb-shop .portfolio__slider {
    gap: 0;
  }
}

@media (max-width: 480px) {
  .spb-shop .product-grid--3col,
  .spb-shop .product-grid--4col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .spb-shop .breadcrumbs {
    flex-wrap: wrap;
    gap: 10px;
  }

  .spb-shop .faq__title {
    font-size: 20px;
    line-height: 28px;
  }

  .spb-shop .faq__item summary {
    font-size: 15px;
    line-height: 20px;
  }

  .spb-shop .contact-form__title {
    font-size: 20px;
    line-height: 28px;
  }

  .spb-shop .contact-form__input,
  .spb-shop .contact-form__textarea {
    font-size: 15px;
  }

  .spb-shop .portfolio__title {
    font-size: 20px;
    line-height: 28px;
  }

  .spb-shop .content-block__title {
    font-size: 20px;
    line-height: 28px;
  }

  .spb-shop .search-results {
    padding: 0 15px 30px;
  }

  .spb-shop .section-title {
    font-size: 20px;
    line-height: 28px;
  }
}

/* ========================================================================== */
/*   Source: html/shop.css
   ========================================================================== */

/* shop.css — Shop/Catalog page-specific styles */

/* ───── Catalog Categories Grid ───── */
.spb-shop .catalog {
  padding: 36px max(20px, calc((100% - 1160px) / 2)) 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* Category Card */
.spb-shop .catalog-card {
  position: relative;
  min-height: 249px;
  max-height: 249px;
  text-decoration: none;
  color: #000000;
  overflow: hidden;
  cursor: pointer;
  transition: max-height 0.35s ease;
  z-index: 1;
}

.spb-shop .catalog-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 20px 15px;
  height: 100%;
  box-sizing: border-box;
}

.spb-shop .catalog-card__icon {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.spb-shop .catalog-card__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spb-shop .catalog-card__title {
  font-family: "Nunito Sans", sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 26px;
  color: #000000;
  margin: 0;
}

.spb-shop .catalog-card__title a {
  color: inherit;
  text-decoration: none;
}

.spb-shop .catalog-card__title a:hover {
  text-decoration: underline;
}

.spb-shop .catalog-card__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spb-shop .catalog-card__links li {
  font-family: "Nunito Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  color: #000000;
}

.spb-shop .catalog-card__links li a {
  color: inherit;
  text-decoration: none;
}

.spb-shop .catalog-card__links li a:hover {
  text-decoration: underline;
}

/* ── Catalog card: max 3 links, fade, hover expand ── */
.spb-shop .catalog-card__links {
  position: relative;
  max-height: 84px; /* 3 items: 20 + 12 + 20 + 12 + 20 */
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.spb-shop .catalog-card__links:has(li:nth-child(4))::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.9)
  );
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.spb-shop .catalog-card:hover {
  max-height: 2000px;
  z-index: 10;
}

.spb-shop .catalog-card:hover .catalog-card__links {
  max-height: 2000px;
}

.spb-shop .catalog-card:hover .catalog-card__links::after {
  opacity: 0;
}

.spb-shop .catalog-card__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: 1;
}

.spb-shop .catalog-card:hover .catalog-card__bg {
  opacity: 0.85;
}

/* ───── Products Section (New & Popular) ───── */
.spb-shop .products-section {
  padding: 120px max(20px, calc((100% - 1160px) / 2)) 0;
  margin: 0 auto;
}

.spb-shop .products-section .section-title {
  text-align: center;
  margin-bottom: 70px;
}

.spb-shop .products-section__grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* ───── Print Technologies ───── */
.spb-shop .print-tech {
  padding: 90px max(20px, calc((100% - 1160px) / 2)) 0;
  margin: 0 auto;
}

.spb-shop .print-tech .section-title {
  text-align: center;
  margin-bottom: 70px;
}

.spb-shop .print-tech__grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.spb-shop .print-tech__row {
  display: flex;
  gap: 20px;
}

.spb-shop .print-tech__card {
  flex: 1;
  padding: 30px 20px;
  background: #f4f4f4;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.spb-shop .print-tech__name {
  font-family: "Nunito Sans", sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 26px;
  color: #3e3e3e;
  margin: 0;
}

.spb-shop .print-tech__desc {
  font-family: "Nunito Sans", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 23px;
  color: #000000;
  margin: 0;
}

/* ───── Shared sections on shop page — spacing & side padding ───── */
.spb-shop .faq {
  padding: 90px max(20px, calc((100% - 1160px) / 2)) 0;
  margin: 0 auto;
}

.spb-shop .content-blocks {
  padding: 120px max(20px, calc((100% - 1160px) / 2)) 0;
  margin: 0 auto;
}

.spb-shop .portfolio {
  padding: 120px max(20px, calc((100% - 1160px) / 2)) 0;
  margin: 0 auto;
}

.spb-shop .contact-form {
  padding: 92px max(20px, calc((100% - 1160px) / 2)) 0;
  margin: 0 auto;
}

.spb-shop .footer {
  margin-top: 145px;
}

/* ───── Responsive ───── */
@media (max-width: 1600px) {
  .spb-shop .catalog {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1200px) {
  .spb-shop .catalog {
    padding-top: 30px;
    padding-bottom: 0;
    grid-template-columns: repeat(4, 1fr);
  }

  .spb-shop .catalog-card {
    max-height: 220px;
    min-height: 220px;
  }

  .spb-shop .products-section {
    padding-top: 70px;
    padding-bottom: 0;
  }

  .spb-shop .products-section .section-title {
    margin-bottom: 40px;
  }

  .spb-shop .print-tech {
    padding-top: 70px;
    padding-bottom: 0;
  }

  .spb-shop .print-tech .section-title {
    margin-bottom: 40px;
  }

  .spb-shop .faq {
    padding-top: 70px;
    padding-bottom: 0;
  }

  .spb-shop .content-blocks {
    padding-top: 80px;
    padding-bottom: 0;
  }

  .spb-shop .portfolio {
    padding-top: 80px;
    padding-bottom: 0;
  }

  .spb-shop .contact-form {
    padding-top: 60px;
    padding-bottom: 0;
  }
}

@media (max-width: 1024px) {
  .spb-shop .catalog {
    padding-top: 25px;
    padding-bottom: 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .spb-shop .catalog-card {
    min-height: 200px;
  }

  .spb-shop .catalog-card__title {
    font-size: 17px;
    line-height: 23px;
  }

  .spb-shop .catalog-card__links li {
    font-size: 14px;
  }

  .spb-shop .products-section {
    padding-top: 60px;
    padding-bottom: 0;
  }

  .spb-shop .products-section__grid {
    gap: 30px;
  }

  .spb-shop .print-tech {
    padding-top: 60px;
    padding-bottom: 0;
  }

  .spb-shop .print-tech__row {
    flex-wrap: wrap;
  }

  .spb-shop .print-tech__card {
    flex: 1 1 calc(50% - 10px);
    min-width: 280px;
  }

  .spb-shop .faq {
    padding-top: 60px;
    padding-bottom: 0;
  }

  .spb-shop .content-blocks {
    padding-top: 60px;
    padding-bottom: 0;
  }

  .spb-shop .portfolio {
    padding-top: 60px;
    padding-bottom: 0;
  }

  .spb-shop .contact-form {
    padding-top: 50px;
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  .spb-shop .catalog {
    padding-top: 20px;
    padding-bottom: 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .spb-shop .catalog-card {
    min-height: 180px;
  }

  /* Mobile: disable hover expand, use click (.is-expanded) */
  .spb-shop .catalog-card:hover {
    max-height: 249px;
    z-index: 1;
  }
  .spb-shop .catalog-card:hover .catalog-card__links {
    max-height: 84px;
  }
  .spb-shop .catalog-card:hover .catalog-card__links::after {
    opacity: 1;
  }

  .spb-shop .catalog-card.is-expanded {
    max-height: 2000px;
    z-index: 10;
  }
  .spb-shop .catalog-card.is-expanded .catalog-card__links {
    max-height: 2000px;
  }
  .spb-shop .catalog-card.is-expanded .catalog-card__links::after {
    opacity: 0;
  }

  .spb-shop .catalog-card__content {
    padding: 15px 10px;
    gap: 15px;
  }

  .spb-shop .catalog-card__icon {
    width: 35px;
    height: 35px;
  }

  .spb-shop .catalog-card__title {
    font-size: 15px;
    line-height: 20px;
  }

  .spb-shop .catalog-card__links li {
    font-size: 13px;
    line-height: 18px;
  }

  .spb-shop .catalog-card__links {
    gap: 8px;
  }

  .spb-shop .products-section {
    padding-top: 50px;
    padding-bottom: 0;
  }

  .spb-shop .products-section .section-title {
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 30px;
  }

  .spb-shop .print-tech {
    padding-top: 50px;
    padding-bottom: 0;
  }

  .spb-shop .print-tech .section-title {
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 30px;
  }

  .spb-shop .print-tech__card {
    flex: 1 1 100%;
    min-width: auto;
  }

  .spb-shop .faq {
    padding-top: 50px;
    padding-bottom: 0;
  }

  .spb-shop .content-blocks {
    padding-top: 50px;
    padding-bottom: 0;
    gap: 60px;
  }

  .spb-shop .portfolio {
    padding-top: 50px;
    padding-bottom: 0;
  }

  .spb-shop .contact-form {
    padding-top: 40px;
    padding-bottom: 0;
  }

  .spb-shop .footer {
    margin-top: 80px;
  }
}

@media (max-width: 480px) {
  .spb-shop .catalog-card {
    min-height: 160px;
  }

  .spb-shop .products-section .section-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .spb-shop .products-section__grid {
    gap: 25px;
  }

  .spb-shop .print-tech .section-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .spb-shop .print-tech__card {
    padding: 20px 15px;
    gap: 15px;
  }

  .spb-shop .print-tech__name {
    font-size: 17px;
    line-height: 23px;
  }

  .spb-shop .print-tech__desc {
    font-size: 15px;
    line-height: 20px;
  }
}

/* ========================================================================== */
/*   Source: html/category.css
   ========================================================================== */

/* category.css — Category page-specific styles */

/* Layout: sidebar + content */
.spb-shop .category-page {
  padding: 0 max(20px, calc((100% - 1160px) / 2));
  margin: 0 auto;
  margin-bottom: 68px;
  display: flex;
  flex-direction: column;
}

/* Sections inside category page — override their own side padding (already applied by .category-page) */
.spb-shop .category-page > .faq,
.spb-shop .category-page > .content-blocks,
.spb-shop .category-page > .portfolio,
.spb-shop .category-page > .contact-form {
  margin-top: 120px;
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}

.spb-shop .category-page__layout {
  display: flex;
  gap: 50px;
  padding: 36px 0 0;
}

.spb-shop .category-page__content {
  flex: 1;
  min-width: 0;
}

.spb-shop .category-page__title {
  font-family: "Nunito Sans", sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 38px;
  color: #000000;
  margin: 0 0 20px;
}

/* Sidebar */
.spb-shop .category-sidebar {
  width: 200px;
  flex-shrink: 0;
  padding-top: 55px;
}

.spb-shop .category-sidebar__heading {
  padding-bottom: 12px;
  margin-bottom: 0;
}

.spb-shop .category-sidebar__title {
  font-family: "Nunito Sans", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 25px;
  color: #000000;
  text-decoration: none;
}

.spb-shop .category-sidebar__title:hover {
  color: #ffcc33;
}

.spb-shop .category-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid #ffcc33;
}

.spb-shop .category-sidebar__link {
  display: block;
  font-family: "Nunito Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  color: #868686;
  text-decoration: none;
  padding: 8px 0;
}

.spb-shop .category-sidebar__link span {
  color: #868686;
}

.spb-shop .category-sidebar__link--active {
  color: #000000;
}

.spb-shop .category-sidebar__link:hover {
  color: #000000;
}

.spb-shop .category-sidebar__item--hidden {
  display: none;
}

.spb-shop .category-sidebar__list--expanded .category-sidebar__item--hidden {
  display: list-item;
}

.spb-shop .category-sidebar__toggle {
  display: inline;
  margin-top: 8px;
  padding: 0;
  border: none;
  background: none;
  font-family: "Nunito Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  color: #000000;
  text-decoration: underline;
  cursor: pointer;
}

.spb-shop .category-sidebar__toggle:hover {
  color: #ffcc33;
}

/* Filter tags / chips */
.spb-shop .filter-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  overflow: hidden;
}

.spb-shop .filter-tags__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  overflow: hidden;
  scroll-behavior: smooth;
}

.spb-shop .filter-tags__item {
  display: inline-block;
  padding: 10px;
  border-radius: 5px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  color: #000000;
  text-decoration: none;
  background: #f4f4f4;
  white-space: nowrap;
}

.spb-shop .filter-tags__item--active {
  background: rgba(255, 204, 51, 0.3);
}

.spb-shop .filter-tags__item:hover {
  background: rgba(255, 204, 51, 0.5);
}

.spb-shop .filter-tags__prev {
  display: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffcc33;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transform: rotate(180deg);
}

.spb-shop .filter-tags__prev:hover {
  background: #e6b800;
}

.spb-shop .filter-tags__prev--visible {
  display: flex;
}

.spb-shop .filter-tags__more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffcc33;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.spb-shop .filter-tags__more:hover {
  background: #e6b800;
}

/* Filters row */
.spb-shop .category-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e4e4e4;
}

.spb-shop .category-filters__list {
  display: flex;
  gap: 20px;
}

.spb-shop .category-filters__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-family: "Nunito Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  color: #000000;
  cursor: pointer;
  padding: 0;
}

.spb-shop .category-filters__btn:hover {
  color: #868686;
}

.spb-shop .category-filters__btn img {
  opacity: 0.6;
}

.spb-shop .category-filters__sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  color: #868686;
  cursor: pointer;
}

/* Filter dropdown wrapper */
.spb-shop .category-filters__dropdown {
  position: relative;
}

.spb-shop .category-filters__dropdown--sort {
  margin-left: auto;
}

.spb-shop .category-filters__sort-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-family: "Nunito Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  color: #868686;
  cursor: pointer;
  padding: 0;
}

.spb-shop .category-filters__sort-btn:hover {
  color: #3e3e3e;
}

/* Active filter button state */
.spb-shop .category-filters__btn--active {
  color: #ffcc33;
  font-weight: 600;
}

.spb-shop .category-filters__btn--active img {
  opacity: 1;
}

/* «Наличие и цена» — stand-alone button (not wrapped in dropdown) */
.spb-shop .category-filters__btn--price-stock {
  white-space: nowrap;
}

.spb-shop .category-filters__btn--price-stock img:first-child {
  opacity: 1;
}

/* Dropdown panel */
.spb-shop .category-filters__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  min-width: 200px;
  padding: 8px 0;
  z-index: 100;
  overflow: hidden;
}

/* Scrollable options area */
.spb-shop .category-filters__panel-scroll {
  max-height: 260px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #d8d8d8 transparent;
}

.spb-shop .category-filters__panel-scroll::-webkit-scrollbar {
  width: 4px;
}

.spb-shop .category-filters__panel-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.spb-shop .category-filters__panel-scroll::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 2px;
}

.spb-shop .category-filters__panel-scroll::-webkit-scrollbar-thumb:hover {
  background: #b8b8b8;
}

.spb-shop .category-filters__panel--sort {
  left: auto;
  right: 0;
}

.spb-shop .category-filters__option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 14px;
  color: #3e3e3e;
  text-decoration: none;
  transition: background 0.15s;
}

.spb-shop .category-filters__option:hover {
  background: #f4f4f4;
}

.spb-shop .category-filters__option--active {
  color: #ffcc33;
  font-weight: 600;
  background: #fffbe6;
}

.spb-shop .category-filters__option--active:hover {
  background: #fff3c4;
}

.spb-shop .category-filters__clear-option {
  display: block;
  padding: 8px 16px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 13px;
  color: #868686;
  text-decoration: none;
  border-top: 1px solid #e4e4e4;
  margin-top: 4px;
}

.spb-shop .category-filters__clear-option:hover {
  color: #ff383c;
}

/* Color swatch in dropdown */
.spb-shop .category-filters__color-swatch {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #e4e4e4;
  flex-shrink: 0;
}

/* Active filters bar */
.spb-shop .category-filters__active-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 13px;
  color: #868686;
}

.spb-shop .category-filters__reset-all {
  color: #ff383c;
  text-decoration: none;
  font-weight: 600;
}

.spb-shop .category-filters__reset-all:hover {
  text-decoration: underline;
}

.spb-shop .category-page__empty {
  font-family: "Nunito Sans", sans-serif;
  font-size: 16px;
  color: #868686;
  text-align: center;
  padding: 60px 0;
}

/* ========== Search Results ========== */
.spb-shop .search-results {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 100px 80px;
}

.spb-shop .search-results .section-title {
  margin-bottom: 10px;
}

.spb-shop .search-results__count {
  font-family: "Nunito Sans", sans-serif;
  font-size: 15px;
  color: #868686;
  margin-bottom: 30px;
}

.spb-shop .search-results__empty {
  font-family: "Nunito Sans", sans-serif;
  font-size: 16px;
  color: #868686;
  text-align: center;
  padding: 60px 0;
}

/* =====================================================================
   PORTFOLIO LIGHTBOX
   ===================================================================== */
.spb-shop .portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.spb-shop .portfolio-lightbox--open {
  opacity: 1;
  visibility: visible;
}

.spb-shop .portfolio-lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.spb-shop .portfolio-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.spb-shop .portfolio-lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  font-size: 20px;
  transition: background 0.2s;
}

.spb-shop .portfolio-lightbox__arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.spb-shop .portfolio-lightbox__arrow--prev {
  left: 20px;
}

.spb-shop .portfolio-lightbox__arrow--prev::before {
  content: "‹";
  font-size: 28px;
  line-height: 1;
}

.spb-shop .portfolio-lightbox__arrow--next {
  right: 20px;
}

.spb-shop .portfolio-lightbox__arrow--next::before {
  content: "›";
  font-size: 28px;
  line-height: 1;
}

@media (max-width: 680px) {
  .spb-shop .portfolio-lightbox__arrow {
    display: none;
  }

  .spb-shop .portfolio-lightbox__img {
    max-width: 95vw;
    max-height: 80vh;
  }
}

/* FAQ, content-blocks, portfolio, contact-form — from common.css */

/* Responsive */
@media (max-width: 1600px) {
  .spb-shop .category-page {
    padding: 0 80px;
  }

  .spb-shop .category-page > .faq,
  .spb-shop .category-page > .content-blocks,
  .spb-shop .category-page > .portfolio,
  .spb-shop .category-page > .contact-form {
    margin-top: 90px;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 1200px) {
  .spb-shop .category-page {
    padding: 0 40px;
  }

  .spb-shop .category-page__layout {
    gap: 30px;
  }

  .spb-shop .category-sidebar {
    width: 180px;
  }

  .spb-shop .category-page > .faq,
  .spb-shop .category-page > .content-blocks,
  .spb-shop .category-page > .portfolio,
  .spb-shop .category-page > .contact-form {
    margin-top: 70px;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 1024px) {
  .spb-shop .category-page {
    padding: 0 20px;
  }

  .spb-shop .category-page__layout {
    flex-direction: column;
    gap: 20px;
  }

  .spb-shop .category-sidebar {
    display: none;
  }

  .spb-shop .category-sidebar__heading {
    border-top: none;
    padding-top: 0;
    margin-bottom: 0;
    margin-right: 15px;
  }

  .spb-shop .category-sidebar__list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 15px;
  }

  .spb-shop .category-sidebar__link {
    padding: 4px 0;
  }

  .spb-shop .category-sidebar__view-all {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
  }

  .spb-shop .category-filters {
    display: none;
  }

  .spb-shop .category-filters__list {
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Filter tags — force wrap after base styles */
  .spb-shop .filter-tags {
    flex-direction: column;
    align-items: flex-start;
    overflow: visible;
  }

  .spb-shop .filter-tags__list {
    flex-wrap: wrap;
    overflow: visible;
    gap: 8px;
  }

  .spb-shop .filter-tags__item--mobile-hidden {
    display: none;
  }

  .spb-shop .filter-tags__list--expanded .filter-tags__item--mobile-hidden {
    display: inline-block;
  }

  .spb-shop .filter-tags__more {
    display: none;
  }

  .spb-shop .filter-tags__prev {
    display: none;
  }

  .spb-shop .filter-tags__toggle {
    display: inline-block;
    margin-top: 8px;
    padding: 0;
    border: none;
    background: none;
    font-family: "Nunito Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #868686;
    text-decoration: underline;
    cursor: pointer;
  }

  .spb-shop .filter-tags__toggle:hover {
    color: #3e3e3e;
  }

  .spb-shop .category-page > .faq,
  .spb-shop .category-page > .content-blocks,
  .spb-shop .category-page > .portfolio,
  .spb-shop .category-page > .contact-form {
    margin-top: 60px;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .spb-shop .category-page {
    padding: 0 15px;
  }

  .spb-shop .category-page__title {
    font-size: 22px;
    line-height: 30px;
  }
}

@media (max-width: 480px) {
  .spb-shop .category-page__title {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 15px;
  }

  .spb-shop .filter-tags__item {
    padding: 7px 10px;
    font-size: 12px;
  }
}

/* ========================================================================== */
/*   Source: html/item.css
   ========================================================================== */

/* ==========================================================================
   ITEM (PRODUCT DETAIL) PAGE
   ========================================================================== */

.spb-shop .item-page {
  display: flex;
  flex-direction: column;
  gap: 100px;
  max-width: 1160px;
  margin: 36px auto 0;
  margin-bottom: 145px;
  padding: 0 20px;
}

/* Extra spacing for sections inside item-page */
.spb-shop .item-page > .faq {
  margin-top: 9px; /* 100 gap + 9 = 109px total (original) */
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}

.spb-shop .item-page > .contact-form {
  margin-top: 97px; /* 100 gap + 97 = 197px total (original) */
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}

/* ==========================================================================
   PRODUCT SECTION (gallery + info)
   ========================================================================== */

.spb-shop .product {
  display: flex;
  gap: 40px;
}

/* Gallery wrapper — stretches full height of flex row so gallery can stick */
.spb-shop .product__gallery-wrap {
  position: relative;
  width: 560px;
  flex-shrink: 0;
}

/* Gallery */
.spb-shop .product__gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  position: sticky;
  top: 20px;
}

.spb-shop .product__main-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.spb-shop .product__thumbs {
  display: flex;
  gap: 10px;
}

.spb-shop .product__thumb {
  flex: 1;
  height: 145px;
  object-fit: cover;
  cursor: pointer;
}

/* Info */
.spb-shop .product__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 100px;
  min-width: 0;
}

.spb-shop .product__info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.spb-shop .product__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spb-shop .product__sku {
  margin: 0;
  font-size: 13px;
  line-height: 18px;
}

.spb-shop .product__sku-label {
  color: #868686;
}

.spb-shop .product__sku-value {
  color: #000000;
}

.spb-shop .product__title {
  font-size: 28px;
  font-weight: 600;
  line-height: 38.192px;
  margin: 0;
}

.spb-shop .product__brand {
  font-size: 17px;
  color: #000000;
}

/* Colors */
.spb-shop .product__colors {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.spb-shop .product__colors-label {
  font-size: 13px;
  color: #868686;
}

.spb-shop .product__color-list {
  display: flex;
  gap: 10px;
}

.spb-shop .product__color {
  width: 30px;
  height: 30px;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  padding: 0;
}

.spb-shop .product__color--active {
  outline: 1.5px solid #ffcc33;
  outline-offset: 2px;
}

/* Variation selects */
.spb-shop .product__variations {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spb-shop .product__variation-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spb-shop .product__variation-label {
  font-size: 13px;
  color: #868686;
  min-width: 70px;
}

.spb-shop .product__variation-select {
  flex: 1;
  max-width: 260px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  color: #000;
  cursor: pointer;
  appearance: auto;
}

.spb-shop .product__variation-select option:disabled {
  color: #c0c0c0;
}

/* Price block */
.spb-shop .product__price-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 25px 20px;
  background: #f4f4f4;
  border-radius: 10px;
}

.spb-shop .product__price-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.spb-shop .product__price-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spb-shop .product__price-label {
  font-size: 15px;
  color: #868686;
}

.spb-shop .product__price-value {
  font-size: 28px;
  font-weight: 600;
  line-height: 38px;
}

.spb-shop .product__print-type {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.spb-shop .product__print-label {
  font-size: 15px;
  color: #868686;
}

.spb-shop .product__print-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 43px;
  padding: 7px 15px;
  background: #ffffff;
  border-radius: 7px;
  font-size: 15px;
  cursor: pointer;
  position: relative;
}

.spb-shop .product__print-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 0 0 7px 7px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 240px;
  overflow-y: auto;
}

.spb-shop .product__print-option {
  padding: 10px 15px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s;
}

.spb-shop .product__print-option:hover {
  background: #f4f4f4;
}

.spb-shop .product__print-type {
  position: relative;
}

/* Stock row */
.spb-shop .product__stock-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.spb-shop .product__stock-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spb-shop .product__stock-label {
  font-size: 15px;
  color: #868686;
}

.spb-shop .product__stock-value {
  padding: 10px 15px;
  background: #ffffff;
  border-radius: 7px;
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
}

/* Price table */
.spb-shop .product__price-table {
  display: flex;
  gap: 50px;
}

.spb-shop .product__price-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spb-shop .product__price-col-label {
  font-size: 15px;
  color: #868686;
}

.spb-shop .product__price-col-value {
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
}

/* Total + add to cart */
.spb-shop .product__total {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.spb-shop .product__total-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.spb-shop .product__total-label {
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
}

.spb-shop .product__total-amount {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spb-shop .product__total-sub {
  font-size: 15px;
  color: #868686;
}

.spb-shop .product__total-price {
  font-size: 28px;
  font-weight: 600;
  line-height: 38px;
}

.spb-shop .product__add-to-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 70px;
  background: #3e3e3e;
  border: none;
  border-radius: 7px;
  color: #ffffff;
  font-family: inherit;
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
  cursor: pointer;
}

/* ==========================================================================
   PRODUCT — SIZE TABLE (table mode)
   ========================================================================== */

.spb-shop .product__size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #ffffff;
}

.spb-shop .product__size-table th,
.spb-shop .product__size-table td,
.spb-shop .product__size-table thead:first-child tr:first-child td {
  padding: 10px 14px;
  text-align: left;
  border: 1px solid #e8e8e8 !important;
  background: none !important;
  color: #333 !important;
}

.spb-shop .product__size-table thead th,
.spb-shop .product__size-table thead:first-child tr:first-child th {
  background-color: #f5f5f5 !important;
  color: #333333 !important;
  font-weight: 600;
  border-color: #ddd !important;
}

.spb-shop .product__size-table tbody tr:nth-child(even) td {
  background-color: #fafafa;
}

.spb-shop .product__size-table tfoot td {
  background-color: #f0f0f0;
  font-weight: 600;
}

.spb-shop .product__size-table .product__size-table--empty-msg {
  text-align: center;
  color: #999;
  padding: 20px;
}

/* Size table counter — desktop: hide buttons, show input only */
.spb-shop .size-table__counter {
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.spb-shop .size-table__counter .counter__btn {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
  border-radius: 4px;
}

.spb-shop .size-table__counter .counter__value {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  width: 50px;
  text-align: center;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 4px;
  background: #fff;
}

/* Quick-view size table counter */
.spb-shop .qv-popup__counter {
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.spb-shop .qv-popup__counter .counter__btn {
  display: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
  border-radius: 4px;
}

.spb-shop .qv-popup__counter .counter__value {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  width: 50px;
  text-align: center;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 4px;
  background: #fff;
}

/* Mobile: show +/- buttons in size tables */
@media (max-width: 768px) {
  .spb-shop .size-table__counter .counter__btn,
  .spb-shop .qv-popup__counter .counter__btn {
    display: flex;
  }
  .spb-shop .size-table__counter .counter__value,
  .spb-shop .qv-popup__counter .counter__value {
    width: 40px;
    padding: 4px 2px;
  }
}

/* ==========================================================================
   PRODUCT — OUT-OF-STOCK NOTICE & PRE-ORDER BUTTON
   ========================================================================== */

.spb-shop .product__out-of-stock-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #fff8e1;
  border-left: 4px solid #f59e0b;
  border-radius: 6px;
  font-size: 14px;
  color: #78350f;
  margin-bottom: 8px;
}

.spb-shop .product__out-of-stock-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.spb-shop .product__preorder-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 40px;
  background: transparent;
  border: 2px solid #3e3e3e;
  border-radius: 7px;
  color: #3e3e3e;
  font-family: inherit;
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.spb-shop .product__preorder-btn:hover {
  background: #3e3e3e;
  color: #ffffff;
}

/* ==========================================================================
   DESCRIPTION & SPECS (right-aligned)
   ========================================================================== */

.spb-shop .product__details {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.spb-shop .product__section {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  padding-bottom: 30px;
  border-top: 1px solid #f4f4f4;
}

.spb-shop .product__section-title {
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
  margin: 0;
  padding-top: 20px;
}

.spb-shop .product__section-text {
  font-size: 15px;
  line-height: 20.46px;
  margin: 0;
}

/* Specs */
.spb-shop .product__specs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.spb-shop .product__specs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.spb-shop .product__spec {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.spb-shop .product__spec-label {
  font-size: 15px;
  color: #868686;
}

.spb-shop .product__spec-value {
  font-size: 15px;
  color: #000000;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ==========================================================================
   PRODUCT SECTIONS (related, viewed)
   ========================================================================== */

.spb-shop .product-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
  .spb-shop .product {
    flex-direction: column;
  }

  .spb-shop .product__gallery-wrap {
    width: 100%;
  }

  .spb-shop .product__gallery {
    position: static;
  }

  .spb-shop .product__right {
    gap: 60px;
  }

  .spb-shop .product__section {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .spb-shop .item-page {
    gap: 60px;
    margin-top: 20px;
    margin-bottom: 80px;
  }

  .spb-shop .product__main-image {
    height: 300px;
  }

  .spb-shop .product__thumbs {
    gap: 5px;
  }

  .spb-shop .product__thumb {
    height: 90px;
  }

  .spb-shop .product__title {
    font-size: 22px;
    line-height: 30px;
  }

  .spb-shop .product__price-top {
    flex-direction: column;
    gap: 20px;
  }

  .spb-shop .product__stock-row {
    gap: 10px;
  }

  .spb-shop .product__price-table {
    flex-direction: column;
    gap: 15px;
  }

  .spb-shop .product__add-to-cart {
    padding: 10px 30px;
    font-size: 16px;
  }

  .spb-shop .product__specs-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .spb-shop .product-grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .spb-shop .product__main-image {
    height: 220px;
  }

  .spb-shop .product__thumb {
    height: 60px;
  }

  .spb-shop .product__color {
    width: 24px;
    height: 24px;
  }

  .spb-shop .product__price-value {
    font-size: 22px;
  }

  .spb-shop .product__right {
    gap: 40px;
  }

  .spb-shop .product-section {
    gap: 40px;
  }

  .spb-shop .product-grid--4col {
    grid-template-columns: 1fr;
  }
}

/* ========================================================================== */
/*   Source: html/cart.css
   ========================================================================== */

/* ==========================================================================
   CART PAGE
   ========================================================================== */

.spb-shop .cart-page {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 30px;
  max-width: 1160px;
  margin: 36px auto 0;
  margin-bottom: 120px;
  padding: 0 20px;
}

/* Back link */
.spb-shop .cart-page__back {
  display: flex;
  align-items: center;
  gap: 25px;
  color: #000000;
  font-size: 13px;
  line-height: 18px;
}

.spb-shop .cart-page__back img {
  width: 7px;
  height: 6px;
}

/* Top section: back + header */
.spb-shop .cart-page__top {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Header row */
.spb-shop .cart-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.spb-shop .cart-page__title {
  font-size: 28px;
  font-weight: 600;
  line-height: 38px;
  margin: 0;
}

.spb-shop .cart-page__clear {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  background: none;
  border: none;
  color: #ff383c;
  font-family: inherit;
  font-size: 15px;
  line-height: 20px;
  cursor: pointer;
}

/* Content wrapper: back + header + items */
.spb-shop .cart-page__content {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-self: stretch;
}

/* Main layout: items list */
.spb-shop .cart-page__items {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ==========================================================================
   CART ITEM
   ========================================================================== */

.spb-shop .cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0 30px 0;
  border-top: 1px solid #f4f4f4;
}

.spb-shop .cart-item__main {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.spb-shop .cart-item__number {
  font-size: 15px;
  color: #868686;
  line-height: 20px;
}

.spb-shop .cart-item__image {
  width: 100px;
  height: 77px;
  object-fit: cover;
  flex-shrink: 0;
}

.spb-shop .cart-item__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 360px;
  position: relative;
}

.spb-shop .cart-item__name {
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
  margin: 0;
}

.spb-shop .cart-item__sku {
  margin: 0;
  font-size: 15px;
  line-height: 20px;
}

.spb-shop .cart-item__sku-label {
  color: #868686;
}

.spb-shop .cart-item__sku-value {
  color: #000000;
}

/* Print tag */
.spb-shop .cart-item__print {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}

.spb-shop .cart-item__print-label {
  font-size: 17px;
  line-height: 23px;
  color: #868686;
}

.spb-shop .cart-item__print-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 153px;
  max-width: 260px;
  height: auto;
  min-height: 43px;
  padding: 7px 15px;
  background: #f4f4f4;
  border-radius: 7px;
  font-size: 15px;
}

.spb-shop .cart-item__print-tag > span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spb-shop .cart-item__print-remove {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
}

/* Add print button */
.spb-shop .cart-item__add-print {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 178px;
  height: 43px;
  padding: 7px 15px;
  background: #f4f4f4;
  border: none;
  border-radius: 7px;
  font-family: inherit;
  font-size: 15px;
  color: #3e3e3e;
  cursor: pointer;
}

/* Quantity */
.spb-shop .cart-item__quantity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  width: 120px;
}

/* Cart-specific counter overrides */
.spb-shop .cart-item__quantity .counter {
  padding: 14px 15px;
  border: 0.5px solid #868686;
  width: 120px;
}

.spb-shop .cart-item__quantity .counter__btn {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
}

.spb-shop .cart-item__qty-label {
  font-size: 17px;
  line-height: 23px;
  color: #868686;
}

/* Pricing */
.spb-shop .cart-item__pricing {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 170px;
  flex-shrink: 0;
}

.spb-shop .cart-item__prices {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.spb-shop .cart-item__unit-price,
.spb-shop .cart-item__print-price {
  font-size: 15px;
  color: #868686;
}

.spb-shop .cart-item__total {
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
}

/* Delete button */
.spb-shop .cart-item__delete {
  background: none;
  border: none;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
  display: flex;
}

/* ==========================================================================
   CART SIDEBAR
   ========================================================================== */

.spb-shop .cart-page__sidebar {
  width: 660px;
  flex-shrink: 0;
  padding: 30px;
  background: #f4f4f4;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Section with top border */
.spb-shop .cart-sidebar__section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.spb-shop .cart-sidebar__section--border {
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 0.5px solid #868686;
}

.spb-shop .cart-sidebar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.spb-shop .cart-sidebar__label {
  font-size: 17px;
  line-height: 23px;
}

.spb-shop .cart-sidebar__value {
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
}

/* File uploads */
.spb-shop .cart-sidebar__upload-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.spb-shop .cart-sidebar__info-icon {
  position: relative;
  display: flex;
  align-items: center;
  cursor: help;
}

.spb-shop .cart-sidebar__info-tooltip {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 280px;
  padding: 12px 15px;
  background: #3e3e3e;
  color: #ffffff;
  font-size: 13px;
  line-height: 18px;
  border-radius: 7px;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.spb-shop .cart-sidebar__info-tooltip::before {
  content: "";
  position: absolute;
  bottom: 100%;
  right: 8px;
  border: 6px solid transparent;
  border-bottom-color: #3e3e3e;
}

.spb-shop .cart-sidebar__info-icon:hover .cart-sidebar__info-tooltip {
  display: block;
}

.spb-shop .cart-sidebar__upload-title {
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
  margin: 0;
}

.spb-shop .cart-sidebar__upload-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spb-shop .cart-sidebar__upload-row {
  display: flex;
  align-items: center;
  gap: 30px;
}

.spb-shop .cart-sidebar__upload-label {
  font-size: 17px;
  color: #868686;
  flex-shrink: 0;
}

.spb-shop .cart-sidebar__file-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-width: 184px;
  max-width: 100%;
  height: auto;
  min-height: 43px;
  padding: 7px 15px;
  background: #ffffff;
  border: 1px solid #ffcc33;
  border-radius: 7px;
  font-family: inherit;
  font-size: 17px;
  cursor: pointer;
}

.spb-shop .cart-sidebar__file-btn > span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spb-shop .cart-sidebar__file-btn > img {
  flex-shrink: 0;
}

.spb-shop .cart-sidebar__file-selected {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 340px;
  height: 43px;
  padding: 7px 15px;
  background: #ffffff;
  border-radius: 7px;
  font-size: 17px;
}

.spb-shop .cart-sidebar__file-remove {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
}

/* Total */
.spb-shop .cart-sidebar__total-block {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.spb-shop .cart-sidebar__total-text {
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
}

.spb-shop .cart-sidebar__total-amount {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spb-shop .cart-sidebar__total-sub {
  font-size: 17px;
  line-height: 23px;
  color: #868686;
}

.spb-shop .cart-sidebar__total-price {
  font-size: 28px;
  font-weight: 600;
  line-height: 38px;
}

.spb-shop .cart-sidebar__print-note {
  font-size: 14px;
  line-height: 20px;
  color: #ff0030;
  margin-top: 12px;
  padding: 0 2px;
}

.product__print-note {
  font-size: 14px;
  line-height: 20px;
  color: #ff0030;
  margin-top: 8px;
}

/* Submit + warning */
.spb-shop .cart-sidebar__actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.spb-shop .cart-sidebar__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 70px;
  background: #3e3e3e;
  border: none;
  border-radius: 7px;
  color: #ffffff;
  font-family: inherit;
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
  text-decoration: none;
  cursor: pointer;
}

.spb-shop .cart-sidebar__submit--disabled {
  background: #b0b0b0;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.7;
}

.spb-shop .cart-sidebar__warning {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spb-shop .cart-sidebar__warning-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  line-height: 23px;
}

.spb-shop .cart-sidebar__warning-row--red {
  color: #ff383c;
}

.spb-shop .cart-sidebar__warning-row--gray {
  color: #868686;
}

/* ==========================================================================
   PRINT TYPE POPUP (inline dropdown under button)
   ========================================================================== */

.spb-shop .print-popup {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 15px;
  width: 320px;
  max-width: calc(100vw - 40px);
  padding: 20px;
  background: #f4f4f4;
  border-radius: 7px;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 5px;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.spb-shop .print-popup[hidden] {
  display: none;
}

.spb-shop .print-popup__options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spb-shop .print-popup__option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 20px;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 5px;
  transition: background 0.15s;
}

.spb-shop .print-popup__option:hover {
  background: rgba(0, 0, 0, 0.04);
}

.spb-shop .print-popup__radio {
  width: 12px;
  height: 12px;
  border: 1px solid #ffcc33;
  border-radius: 2px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  flex-shrink: 0;
}

.spb-shop .print-popup__radio:checked {
  background: #ffcc33;
}

.spb-shop .print-popup__apply {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 15px;
  background: #3e3e3e;
  border: none;
  border-radius: 7px;
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
  .spb-shop .cart-page__sidebar {
    width: 100%;
  }

  .spb-shop .cart-item {
    flex-wrap: wrap;
  }

  .spb-shop .cart-sidebar__file-selected {
    width: auto;
    flex: 1;
  }
}

@media (max-width: 768px) {
  .spb-shop .cart-page {
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 60px;
    padding: 0 16px;
  }

  .spb-shop .cart-page__content {
    gap: 20px;
  }

  .spb-shop .cart-page__top {
    gap: 16px;
  }

  .spb-shop .cart-page__title {
    font-size: 22px;
    line-height: 30px;
  }

  .spb-shop .cart-page__clear {
    font-size: 13px;
  }

  .spb-shop .cart-page__items {
    gap: 0;
  }

  /* ---- Cart item: card layout ---- */
  .spb-shop .cart-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 0;
    border-top: 1px solid #f0f0f0;
    position: relative;
  }

  /* Top row: image + info + delete */
  .spb-shop .cart-item__main {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 12px;
    padding-right: 30px; /* space for delete btn */
  }

  .spb-shop .cart-item__number {
    display: none;
  }

  .spb-shop .cart-item__image {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
  }

  .spb-shop .cart-item__info {
    width: auto;
    flex: 1;
    min-width: 0;
    gap: 4px;
  }

  .spb-shop .cart-item__name {
    font-size: 15px;
    line-height: 20px;
  }

  .spb-shop .cart-item__name a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .spb-shop .cart-item__sku {
    font-size: 13px;
    line-height: 18px;
    color: #868686;
  }

  .spb-shop .cart-item__add-print {
    width: auto;
    height: auto;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
    margin-top: 4px;
  }

  /* Delete button — absolute top-right */
  .spb-shop .cart-item__delete {
    position: absolute;
    top: 16px;
    right: 0;
    padding: 4px;
  }

  .spb-shop .cart-item__delete img {
    width: 14px;
    height: 16px;
    opacity: 0.4;
  }

  /* Print section */
  .spb-shop .cart-item__print {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
  }

  .spb-shop .cart-item__print-label {
    font-size: 13px;
    line-height: 18px;
    white-space: nowrap;
  }

  .spb-shop .cart-item__print-tag {
    min-width: 0;
    max-width: none;
    min-height: 34px;
    padding: 5px 10px;
    font-size: 13px;
    border-radius: 6px;
  }

  /* Bottom row: qty + prices — side by side */
  .spb-shop .cart-item__quantity {
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
  }

  .spb-shop .cart-item__qty-label {
    display: none;
  }

  .spb-shop .cart-item__quantity .counter {
    width: 110px;
    padding: 8px 12px;
    border-radius: 8px;
  }

  .spb-shop .cart-item__pricing {
    width: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
  }

  .spb-shop .cart-item__prices {
    gap: 2px;
  }

  .spb-shop .cart-item__unit-price,
  .spb-shop .cart-item__print-price {
    font-size: 13px;
  }

  .spb-shop .cart-item__total {
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
  }

  /* ---- Sidebar ---- */
  .spb-shop .cart-page__sidebar {
    padding: 20px 16px;
    gap: 20px;
    border-radius: 12px;
  }

  .spb-shop .cart-sidebar__label {
    font-size: 15px;
  }

  .spb-shop .cart-sidebar__value {
    font-size: 16px;
  }

  .spb-shop .cart-sidebar__upload-title {
    font-size: 16px;
    line-height: 22px;
  }

  .spb-shop .cart-sidebar__upload-row {
    gap: 12px;
  }

  .spb-shop .cart-sidebar__upload-label {
    font-size: 14px;
  }

  .spb-shop .cart-sidebar__file-btn {
    font-size: 14px;
    min-width: 0;
    min-height: 38px;
    padding: 6px 12px;
    gap: 10px;
    flex: 1;
  }

  .spb-shop .cart-sidebar__total-block {
    flex-direction: column;
    gap: 8px;
  }

  .spb-shop .cart-sidebar__total-amount {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
  }

  .spb-shop .cart-sidebar__total-text {
    font-size: 17px;
  }

  .spb-shop .cart-sidebar__total-sub {
    font-size: 14px;
  }

  .spb-shop .cart-sidebar__total-price {
    font-size: 24px;
  }

  .spb-shop .cart-sidebar__submit {
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 10px;
  }

  .spb-shop .cart-sidebar__warning-row {
    font-size: 14px;
    justify-content: space-between;
  }

  /* Print popup */
  .spb-shop .print-popup {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    border-radius: 16px 16px 0 0;
    padding: 20px 16px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  }
}

@media (max-width: 480px) {
  .spb-shop .cart-item__image {
    width: 60px;
    height: 60px;
  }

  .spb-shop .cart-item__name {
    font-size: 14px;
    line-height: 19px;
  }

  .spb-shop .cart-item__total {
    font-size: 16px;
  }

  .spb-shop .cart-sidebar__file-btn {
    width: 100%;
  }

  .spb-shop .cart-sidebar__total-price {
    font-size: 22px;
  }

  .spb-shop .cart-page__title {
    font-size: 20px;
  }
}

/* ========================================================================== */
/*   Source: html/checkout.css
   ========================================================================== */

/* ==========================================================================
   CHECKOUT PAGE
   ========================================================================== */

/* Hide WooCommerce coupon form/toggle on checkout */
.spb-shop .checkout .woocommerce-form-coupon-toggle,
.spb-shop .checkout .checkout_coupon,
.spb-shop .checkout .woocommerce-form-coupon {
  display: none !important;
}

/* Hide empty notices wrapper on checkout */
.spb-shop .checkout .woocommerce-notices-wrapper:empty {
  display: none;
}

.spb-shop .checkout {
  display: flex;
  flex-direction: column;
  gap: 90px;
  max-width: 1160px;
  margin: 36px auto 0;
  margin-bottom: 106px;
  padding: 0 20px;
}

/* Override shared .faq section padding inside checkout */
.spb-shop .checkout .faq {
  padding: 0;
  max-width: none;
}

/* Back link */
.spb-shop .checkout__back {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  color: #000000;
  font-size: 13px;
  line-height: 18px;
}

.spb-shop .checkout__back img {
  width: 7px;
  height: 6px;
}

/* Title */
.spb-shop .checkout__title {
  font-size: 28px;
  font-weight: 600;
  line-height: 38px;
  margin: -60px 0 0;
}

/* Two-column layout */
.spb-shop .checkout__columns {
  display: flex;
  gap: 40px;
}

/* ---- LEFT: Form ---- */
.spb-shop .checkout__form {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 560px;
  flex-shrink: 0;
  padding: 30px 20px;
  background: #f4f4f4;
  border-radius: 10px;
  border: none;
}

.spb-shop .checkout__fieldset {
  display: flex;
  flex-direction: column;
  gap: 40px;
  border: none;
  padding: 0;
  margin: 0;
}

.spb-shop .checkout__legend {
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
  padding: 0;
  margin: 0 0 40px;
}

.spb-shop .checkout__fields {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.spb-shop .checkout__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spb-shop .checkout__field-row {
  display: flex;
  gap: 20px;
}

.spb-shop .checkout__field--phone {
  width: 214px;
  flex-shrink: 0;
}

.spb-shop .checkout__field--email {
  flex: 1;
  min-width: 0;
}

.spb-shop .checkout__field--small {
  width: 150px;
  flex-shrink: 0;
}

.spb-shop .checkout__label {
  font-size: 17px;
  line-height: 23px;
  color: #000000;
}

.spb-shop .checkout__input {
  height: 43px;
  padding: 7px 15px;
  background: #ffffff;
  border: none;
  border-radius: 7px;
  font-family: inherit;
  font-size: 17px;
  line-height: 23px;
  color: #000000;
}

.spb-shop .checkout__input::placeholder {
  color: #868686;
}

.spb-shop .checkout__textarea {
  height: 110px;
  padding: 7px 15px;
  background: #ffffff;
  border: none;
  border-radius: 7px;
  font-family: inherit;
  font-size: 17px;
  line-height: 23px;
  color: #000000;
  resize: vertical;
}

.spb-shop .checkout__required-note {
  font-size: 15px;
  line-height: 20px;
  color: #ff383c;
  margin: 0;
}

/* ---- RIGHT: Sidebar ---- */
.spb-shop .checkout__sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1;
  min-width: 0;
}

.spb-shop .checkout__summary {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 30px 20px;
  background: #f4f4f4;
  border-radius: 10px;
}

.spb-shop .checkout__summary-header {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.spb-shop .checkout__summary-title {
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
  margin: 0;
}

.spb-shop .checkout__summary-details {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 20px;
  border-top: 0.5px solid #868686;
}

.spb-shop .checkout__edit-link {
  font-size: 15px;
  line-height: 20px;
  color: #3e3e3e;
}

.spb-shop .checkout__summary-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.spb-shop .checkout__summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.spb-shop .checkout__summary-label {
  font-size: 17px;
  line-height: 23px;
}

.spb-shop .checkout__summary-value {
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
  white-space: nowrap;
  flex-shrink: 0;
}

.spb-shop .checkout__summary-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.spb-shop .checkout__total-label {
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
}

.spb-shop .checkout__total-amount {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ========================================
   Pagination
   ======================================== */
.spb-shop .pagination {
  margin: 40px 0 20px;
  display: flex;
  justify-content: center;
}

.spb-shop .pagination .page-numbers {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.spb-shop .pagination .page-numbers li {
  margin: 0;
  padding: 0;
}

.spb-shop .pagination .page-numbers li a,
.spb-shop .pagination .page-numbers li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 7px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #3e3e3e;
  background: #f4f4f4;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
}

.spb-shop .pagination .page-numbers li a:hover {
  background: #3e3e3e;
  color: #fff;
}

.spb-shop .pagination .page-numbers li span.current {
  background: #3e3e3e;
  color: #fff;
  cursor: default;
}

.spb-shop .pagination .page-numbers li .prev,
.spb-shop .pagination .page-numbers li .next {
  font-size: 18px;
  font-weight: 400;
}

.spb-shop .pagination .page-numbers li .dots {
  background: transparent;
  cursor: default;
  color: #868686;
  min-width: 30px;
}

.spb-shop .checkout__total-sub {
  font-size: 17px;
  line-height: 23px;
  color: #868686;
}

.spb-shop .checkout__total-price {
  font-size: 28px;
  font-weight: 600;
  line-height: 38px;
}

/* Submit button */
.spb-shop .checkout__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 70px;
  background: #3e3e3e;
  border: none;
  border-radius: 7px;
  color: #ffffff;
  font-family: inherit;
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
  cursor: pointer;
}

/* Info notes */
.spb-shop .checkout__notes {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.spb-shop .checkout__note {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin: 0;
  font-size: 13px;
  line-height: 17.732px;
  color: #868686;
}

.spb-shop .checkout__note-bullet {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #868686;
  margin-top: 4px;
}

/* Consent checkboxes */
.spb-shop .checkout__consent {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
}

.spb-shop .checkout__checkbox {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border: 1px solid #868686;
  border-radius: 2px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.spb-shop .checkout__checkbox:checked {
  background: #3e3e3e;
  border-color: #3e3e3e;
}

.spb-shop .checkout__consent-text {
  font-size: 13px;
  line-height: 17.732px;
  color: #000000;
}

.spb-shop .checkout__consent-text a {
  color: #000000;
  text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
  .spb-shop .checkout__columns {
    flex-direction: column;
  }

  .spb-shop .checkout__form {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .spb-shop .checkout {
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 60px;
    padding: 0 16px;
  }

  .spb-shop .checkout__back {
    font-size: 13px;
    gap: 12px;
  }

  .spb-shop .checkout__title {
    font-size: 22px;
    line-height: 30px;
    margin-top: 0;
  }

  .spb-shop .checkout__columns {
    gap: 24px;
  }

  /* Form card */
  .spb-shop .checkout__form {
    padding: 20px 16px;
    gap: 30px;
    border-radius: 12px;
  }

  .spb-shop .checkout__fieldset {
    gap: 24px;
  }

  .spb-shop .checkout__legend {
    font-size: 17px;
    margin: 0 0 0;
  }

  .spb-shop .checkout__fields {
    gap: 16px;
  }

  .spb-shop .checkout__field {
    gap: 6px;
  }

  .spb-shop .checkout__field-row {
    flex-direction: column;
    gap: 16px;
  }

  .spb-shop .checkout__field--phone,
  .spb-shop .checkout__field--small {
    width: 100%;
  }

  .spb-shop .checkout__label {
    font-size: 14px;
  }

  .spb-shop .checkout__input {
    height: 44px;
    padding: 8px 14px;
    font-size: 15px;
    border-radius: 8px;
  }

  .spb-shop .checkout__textarea {
    height: 90px;
    padding: 10px 14px;
    font-size: 15px;
    border-radius: 8px;
  }

  .spb-shop .checkout__required-note {
    font-size: 13px;
    margin: -10px 0 0;
  }

  /* Summary sidebar */
  .spb-shop .checkout__summary {
    padding: 20px 16px;
    gap: 24px;
    border-radius: 12px;
  }

  .spb-shop .checkout__summary-header {
    gap: 16px;
  }

  .spb-shop .checkout__summary-title {
    font-size: 17px;
  }

  .spb-shop .checkout__summary-details {
    gap: 12px;
    padding-top: 16px;
  }

  .spb-shop .checkout__edit-link {
    font-size: 13px;
  }

  .spb-shop .checkout__summary-rows {
    gap: 12px;
  }

  .spb-shop .checkout__summary-row {
    gap: 8px;
  }

  .spb-shop .checkout__summary-label {
    font-size: 14px;
    flex: 1;
    min-width: 0;
  }

  .spb-shop .checkout__summary-value {
    font-size: 15px;
    white-space: nowrap;
  }

  .spb-shop .checkout__summary-total {
    flex-direction: column;
    gap: 8px;
  }

  .spb-shop .checkout__total-amount {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
  }

  .spb-shop .checkout__total-label {
    font-size: 17px;
  }

  .spb-shop .checkout__total-sub {
    font-size: 14px;
  }

  .spb-shop .checkout__total-price {
    font-size: 24px;
  }

  /* Submit button */
  .spb-shop .checkout__submit {
    padding: 14px 30px;
    font-size: 16px;
    border-radius: 10px;
    width: 100%;
  }

  /* Notes */
  .spb-shop .checkout__notes {
    gap: 14px;
  }

  .spb-shop .checkout__note {
    gap: 10px;
    font-size: 12px;
    line-height: 17px;
  }

  .spb-shop .checkout__note-bullet {
    width: 6px;
    height: 6px;
    min-width: 6px;
    margin-top: 5px;
  }

  /* Consent checkboxes */
  .spb-shop .checkout__consent {
    gap: 10px;
    align-items: flex-start;
  }

  .spb-shop .checkout__checkbox {
    margin-top: 2px;
  }

  .spb-shop .checkout__consent-text {
    font-size: 12px;
    line-height: 17px;
  }

  /* FAQ section inside checkout */
  .spb-shop .checkout .faq {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .spb-shop .checkout__title {
    font-size: 20px;
    line-height: 28px;
  }

  .spb-shop .checkout__legend {
    font-size: 16px;
  }

  .spb-shop .checkout__total-price {
    font-size: 22px;
  }

  .spb-shop .checkout__summary-label {
    font-size: 13px;
  }
}

/* ========================================================================== */
/*   Source: html/checkout-completed.css
   ========================================================================== */

.spb-shop .order-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  max-width: 540px;
  margin: 131px auto 169px;
  padding: 0 16px;
  text-align: center;
}

.spb-shop .order-success__title {
  font-size: 28px;
  font-weight: 600;
  line-height: 38px;
  margin: 0;
}

.spb-shop .order-success__text {
  font-size: 17px;
  line-height: 23.188px;
  margin: 0;
}

.spb-shop .order-success__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  background: #3e3e3e;
  border-radius: 7px;
  color: #ffffff;
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
}

/* Responsive */
@media (max-width: 768px) {
  .spb-shop .order-success {
    margin: 60px auto 80px;
    gap: 40px;
  }

  .spb-shop .order-success__title {
    font-size: 22px;
    line-height: 30px;
  }

  .spb-shop .order-success__text {
    font-size: 15px;
  }

  .spb-shop .order-success__btn {
    font-size: 16px;
    padding: 10px 20px;
  }
}

/* ========================================================================== */
/*   Source: html/add-to-cart-popup.css
   ========================================================================== */

/* ==========================================================================
   ADD TO CART POPUP — popup
   ========================================================================== */

.spb-shop .popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spb-shop .popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
}

.spb-shop .popup__container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 760px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 19px 0 rgba(89, 89, 89, 0.1);
  overflow: hidden;
}

.spb-shop .popup__header {
  display: flex;
  align-items: center;
  padding: 20px;
  background: #f4f4f4;
}

.spb-shop .popup__title {
  font-size: 28px;
  font-weight: 600;
  line-height: 38px;
  margin: 0;
}

.spb-shop .popup__body {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
}

.spb-shop .popup__image {
  flex-shrink: 0;
  width: 240px;
  height: 184px;
  object-fit: cover;
}

.spb-shop .popup__details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 30px;
}

.spb-shop .popup__product-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.spb-shop .popup__name {
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
  margin: 0;
}

.spb-shop .popup__sku {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.spb-shop .popup__sku-label {
  color: #868686;
}

.spb-shop .popup__pricing {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.spb-shop .popup__price-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.spb-shop .popup__price-label {
  color: #868686;
  white-space: nowrap;
}

.spb-shop .popup__price-value {
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
  white-space: nowrap;
}

.spb-shop .popup__total {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.spb-shop .popup__total-label {
  color: #868686;
}

.spb-shop .popup__total-value {
  font-size: 28px;
  font-weight: 600;
  line-height: 38px;
}

.spb-shop .popup__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.spb-shop .popup__continue {
  color: #3e3e3e;
  font-size: 17px;
  line-height: 23px;
}

.spb-shop .popup__go-to-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 219px;
  padding: 10px 20px;
  background: #3e3e3e;
  border-radius: 7px;
  color: #ffffff;
  font-size: 19px;
  font-weight: 600;
  line-height: 25.916px;
}

/* Popup-specific counter overrides */
.spb-shop .popup .counter {
  justify-content: center;
  gap: 15px;
  padding: 7px 14px;
  min-width: 100px;
  border: 1px solid #e4e4e4;
}

.spb-shop .popup .counter__btn {
  font-size: 17px;
  font-weight: 400;
  line-height: 23px;
  padding: 2px 4px;
  flex-shrink: 0;
}

.spb-shop .popup .counter__value {
  font-size: 17px;
  font-weight: 400;
  line-height: 23px;
  width: 50px;
}

/* Responsive */
@media (max-width: 800px) {
  .spb-shop .popup__container {
    width: calc(100% - 32px);
  }

  .spb-shop .popup__body {
    flex-direction: column;
    padding: 20px 16px;
  }

  .spb-shop .popup__image {
    width: 100%;
    height: auto;
    aspect-ratio: 240 / 184;
  }

  .spb-shop .popup__actions {
    flex-direction: row;
    gap: 12px;
  }

  .spb-shop .popup__continue {
    font-size: 14px;
    line-height: 19px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .spb-shop .popup__go-to-cart {
    flex: 1;
    min-width: 0;
    width: auto;
    font-size: 14px;
    line-height: 19px;
    padding: 10px 14px;
    text-align: center;
    white-space: nowrap;
  }

  .spb-shop .popup__title {
    font-size: 22px;
    line-height: 30px;
  }

  .spb-shop .popup__total-value {
    font-size: 22px;
    line-height: 30px;
  }

  .spb-shop .popup__name {
    font-size: 16px;
    line-height: 22px;
  }
}

/* ===================================================================
   QUICK-VIEW POPUP (variable products — category/shop pages)
   =================================================================== */
.spb-shop .qv-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spb-shop .qv-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
}

.spb-shop .qv-popup__container {
  position: relative;
  z-index: 1;
  width: 820px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 30px;
}

.spb-shop .qv-popup__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: #868686;
  cursor: pointer;
  padding: 4px 8px;
}

.spb-shop .qv-popup__close:hover {
  color: #3e3e3e;
}

.spb-shop .qv-popup__loading {
  padding: 40px 0;
  text-align: center;
  color: #868686;
  font-size: 16px;
}

.spb-shop .qv-popup__content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.spb-shop .qv-popup__image {
  flex-shrink: 0;
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 6px;
}

.spb-shop .qv-popup__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spb-shop .qv-popup__sku {
  margin: 0;
  font-size: 14px;
  color: #868686;
}

.spb-shop .qv-popup__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.spb-shop .qv-popup__price {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: #3e3e3e;
}

/* Variation selectors */
.spb-shop .qv-popup__variations {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spb-shop .qv-popup__variation-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spb-shop .qv-popup__variation-label {
  flex-shrink: 0;
  min-width: 70px;
  font-size: 15px;
  color: #3e3e3e;
}

.spb-shop .qv-popup__variations select,
.spb-shop .qv-popup__color-select,
.spb-shop .qv-popup__variation-select {
  flex: 1;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  font-size: 15px;
  background: #fff;
  cursor: pointer;
}

/* Size table */
.spb-shop .qv-popup__container .qv-popup__size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #ffffff;
}

.spb-shop .qv-popup__container .qv-popup__size-table th,
.spb-shop .qv-popup__container .qv-popup__size-table td {
  padding: 10px 14px;
  text-align: left;
  border: 1px solid #e8e8e8 !important;
  background: none;
  color: #333;
}

.spb-shop .qv-popup__container .qv-popup__size-table thead th {
  background-color: #f5f5f5 !important;
  color: #333333;
  font-weight: 600;
  border-color: #ddd !important;
  white-space: nowrap;
}

.spb-shop
  .qv-popup__container
  .qv-popup__size-table
  tbody
  tr:nth-child(even)
  td {
  background-color: #fafafa !important;
}

.spb-shop .qv-popup__container .qv-popup__size-table tfoot td {
  background-color: #f0f0f0 !important;
  font-weight: 600;
  border-top: 2px solid #ddd !important;
}

.spb-shop .qv-popup__container .qv-popup__empty-msg {
  color: #868686;
  font-style: italic;
  padding: 12px 14px;
  text-align: center;
}

.spb-shop .qv-popup__size-warehouse {
  color: #555;
}

.spb-shop .qv-popup__container .qv-popup__total-label {
  text-align: right;
  color: #868686;
}

.spb-shop .qv-popup__qty-input {
  width: 70px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid #e4e4e4;
  border-radius: 5px;
  font-size: 15px;
  text-align: center;
}

.spb-shop .qv-popup__qty-input--active {
  border-color: #3e3e3e;
}

/* Actions */
.spb-shop .qv-popup__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.spb-shop .qv-popup__buy {
  padding: 10px 28px;
  background: #3e3e3e;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.spb-shop .qv-popup__buy:hover:not(:disabled) {
  background: #2a2a2a;
}

.spb-shop .qv-popup__buy:disabled {
  opacity: 0.5;
  cursor: default;
}

.spb-shop .qv-popup__details-link {
  font-size: 15px;
  color: #868686;
  text-decoration: underline;
}

/* Out-of-stock notice inside the quick-view popup */
.spb-shop .qv-popup__out-of-stock {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-bottom: 4px;
}

.spb-shop .qv-popup__oos-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff8e1;
  border-left: 4px solid #f59e0b;
  border-radius: 6px;
  font-size: 14px;
  color: #78350f;
}

.spb-shop .qv-popup__oos-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.spb-shop .qv-popup__preorder-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  background: transparent;
  border: 2px solid #3e3e3e;
  border-radius: 7px;
  color: #3e3e3e;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.spb-shop .qv-popup__preorder-btn:hover {
  background: #3e3e3e;
  color: #ffffff;
}

/* Prevent body scroll while popup is open */
body.qv-popup--open {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 680px) {
  .spb-shop .qv-popup__content {
    flex-direction: column;
    align-items: center;
  }

  .spb-shop .qv-popup__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    max-width: 280px;
  }

  .spb-shop .qv-popup__actions {
    flex-wrap: wrap;
  }

  .spb-shop .qv-popup__buy {
    width: 100%;
    text-align: center;
  }

  .spb-shop .qv-popup__container .qv-popup__size-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 13px;
  }

  .spb-shop .qv-popup__container .qv-popup__size-table th,
  .spb-shop .qv-popup__container .qv-popup__size-table td {
    padding: 8px 10px;
  }
}

/* ===================================================================
   CALLBACK POPUP
   =================================================================== */
.spb-shop .callback-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spb-shop .callback-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}
.spb-shop .callback-popup__container {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  z-index: 1;
}
.spb-shop .callback-popup__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #868686;
  cursor: pointer;
  line-height: 1;
}
.spb-shop .callback-popup__close:hover {
  color: #3e3e3e;
}
.spb-shop .callback-popup__title {
  font-family: "Nunito Sans", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #3e3e3e;
  margin: 0 0 8px;
}
.spb-shop .callback-popup__desc {
  font-size: 14px;
  color: #868686;
  margin: 0 0 24px;
}
.spb-shop .callback-popup__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.spb-shop .callback-popup__input {
  padding: 12px 16px;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Inter", sans-serif;
  color: #3e3e3e;
  outline: none;
  transition: border-color 0.2s;
}
.spb-shop .callback-popup__input:focus {
  border-color: #ffcc33;
}
.spb-shop .callback-popup__submit {
  padding: 14px;
  background: #ffcc33;
  color: #3e3e3e;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Nunito Sans", sans-serif;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}
.spb-shop .callback-popup__submit:hover {
  background: #e6b800;
}
.spb-shop .callback-popup__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.spb-shop .callback-popup__status {
  text-align: center;
  font-size: 14px;
  margin-top: 8px;
}

@media (max-width: 480px) {
  .spb-shop .callback-popup__container {
    margin: 15px;
    padding: 24px;
  }
}
