.sw-product-page {
  background: #0D0D0C;
  padding: 120px 0 120px 0;
  width: 100%;
}
.sw-product-page__container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  position: relative;
}
.sw-product-page__title {
  font-family: 'Russo One', Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 36px;
  line-height: 120%;
  letter-spacing: 0;
  color: #F9F9F9;
  margin: 0px;
  vertical-align: middle;
  text-align: center;
}
.sw-product-page__desc {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 0;
  color: #F9F9F9;
  opacity: 0.6;
  vertical-align: middle;
  text-align: center;
  max-width: 600px;
}
.sw-product-page__controls {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: 100%;
}
.sw-product-page__search-wrap {
  display: flex;
  align-items: center;
  background: #232323;
  border-radius: 16px;
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  height: 56px;
  box-sizing: border-box;
}
.sw-product-page__search-icon {
  margin-left: 24px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.sw-product-page__search-input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  flex: 1 1 0;
  height: 100%;
  outline: none;
  padding: 0;
  min-width: 0;
}
.sw-product-page__search-label {
  color: #B0B0B0;
  font-size: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 0;
  pointer-events: none;
  background: transparent;
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.2s;
}
.sw-product-page__search-input:focus + .sw-product-page__search-label,
.sw-product-page__search-input:not(:placeholder-shown) + .sw-product-page__search-label {
  top: 8px;
  left: 60px;
  font-size: 12px;
  color: #B0B0B0;
}
.sw-product-page__filter-wrap {
  display: flex;
  align-items: center;
  margin-left: 0;
  position: relative;
  min-width: 180px;
}
.sw-product-page__filter-btn {
  height: 56px !important;
  min-width: 180px;
  font-size: 16px;
  padding: 0 20px;
  border-radius: 32px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-width: 180px;
  background: #FCD704 !important;
  color: #3A3A3C !important;
  border: 2px solid transparent;
  font-weight: 500;
  box-sizing: border-box;
  cursor: pointer;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.4;
  transition: background 0.2s;
}
.sw-product-page__filter-btn:hover,
.sw-product-page__filter-btn:focus {
  background: #E3C103;
}
.sw-product-page__filter-arrow {
  margin-left: 8px;
  transition: transform 0.2s;
}
.sw-product-page__filter-btn.active .sw-product-page__filter-arrow {
  transform: rotate(180deg);
}
.sw-product-page__filter-dropdown {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 180px;
  background: #232323;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 #00000022;
  z-index: 10;
  flex-direction: column;
  padding: 8px 0;
  margin-top: 4px;
  width: 100%;
  min-width: 0;
}
.sw-product-page__filter-dropdown.open {
  display: flex;
}
.sw-product-page__filter-option {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  color: #F9F9F9;
  background: none;
  border: none;
  padding: 12px 24px;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  width: 100%;
}
.sw-product-page__filter-option:hover,
.sw-product-page__filter-option.active {
  background: #FCD70429;
  color: #FCD704;
}
.sw-product-page__categories {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-bottom: 100px;
}
.sw-our-products__categories--centered {
  justify-content: center;
  width: 100%;
}
.sw-our-products__categories--centered .sw-our-products__cat-btn {
  margin-left: 0;
  margin-right: 0;
}
.sw-product-page__container .sw-our-products__list {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}

/* PRODUCT CARD */
.sw-product-card {
  position: relative;
  width: 100%;
  min-height: 994px;
  margin: 0 auto 40px auto;
  font-family: inherit;
  color: #F9F9F9;
  font-family: 'Russo One', Arial, sans-serif;
}
.sw-product-card__bg-wrap {
  position: relative;
  width: 100%;
  min-height: 994px;
  border-radius: 32px 32px 0 0;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #181818;
}

.sw-product-card__bg-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  padding: 40px;
  box-sizing: border-box;
}
.sw-product-card__bg-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(0deg, #0D0D0C 0%, rgba(3,3,2,0.0) 100%);
}
.sw-product-card__info {
  position: relative;
  z-index: 2;
  background: #181818;
  border-radius: 24px;
  padding: 40px 32px 32px 32px;
  max-width: 1280px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.sw-product-card__meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 28px;
  font-weight: 400;
  flex-wrap: wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.sw-product-card__price-row {
  font-size: 20px;
  font-weight: 400;
  line-height: 130%;
  padding-top: 12px;
}
.woocommerce-Price-currencySymbol {
  font-weight: 400;
}
.sw-product-card__stock-row,
.sw-product-card__sku-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
}
.sw-product-card__label {
  opacity: 0.6;
  color: #F9F9F9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
}
.sw-product-card__value {
  opacity: 0.8;
  color: #F9F9F9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
}
.sw-product-card__btns-row {
  display: flex;
  gap: 16px;
  padding-top: 12px;
}
.sw-product-card__btn {
  flex: 1 1 0;
  padding: 12px 32px;
  border-radius: 32px;
  font-size: 16px;
  font-weight: 400;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: center;
text-decoration: none;
}
.sw-product-card__btn--primary {
  background: #FCD704;
  color: #181818;
}
.sw-product-card__btn--primary:hover {
  background: #E3C103;
}

.sw-product-card__btn--disabled {
  background: #3D3A29 !important;
  color: #BDBDBD !important;
  cursor: not-allowed !important;
  opacity: 0.6;
}

.sw-product-card__btn--disabled:hover {
  background: #3D3A29 !important;
  color: #BDBDBD !important;
}
.sw-product-card__btn--secondary {
  background: #232323;
  color: #fff;
  background: transparent;
  border: 1.5px solid #FCD704;
}
.sw-product-card__btn--secondary:hover {
  background: #FCD70429;
}
.sw-product-card__divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 32px 0 24px 0;
}
.sw-product-card__section {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 0;
}
.sw-product-card__section-title {
  flex: 0 0 50%;
  max-width: 50%;
  font-size: 14px;
  text-align: left;
  opacity: 0.6;
  font-family: 'Montserrat', Arial, sans-serif;
}
.sw-product-card__features-list,
.sw-product-card__desc-content {
  flex: 0 0 50%;
  max-width: 50%;
  margin: 0;
  padding-left: 18px;
  color: #F9F9F9;
  font-family: 'Montserrat', Arial, sans-serif;
  list-style: disc inside;
  font-weight: 400;
  line-height: 140%;
  opacity: 0.8;
}
.sw-product-card__desc-content p {
  margin: 0px 0px 30px 0px;
}
.sw-product-card__fixed-btns {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 16px 0 12px 0;
  z-index: 100;
  transition: transform 0.2s;
}
.sw-product-card__fixed-btns .sw-product-card__btn {
  max-width: 173px;
  min-width: 48px;
  flex: 1 1 0;
  padding: 12px;
}
.sw-product-card__fixed-btns .sw-product-card__btn--secondary {
  backdrop-filter: blur(5px);
}
.sw-product-card__fixed-btns.hide {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0;
}

/* PRODUCT CARD CONTENT */
.sw-product-card__content {
  margin-top: 40px;
  background: #171717;
  padding: 8px;
  border-radius: 24px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}
.sw-product-card__tabs {
  display: flex;
  width: 100%;
  gap: 8px;
  padding: 16px 0px;
}
.sw-product-card__tab {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0 0 0 0;
  margin: 0;
  min-width: 0;
  position: relative;
}
.sw-product-card__tab-text {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  color: #F9F9F9;
  padding-bottom: 12px;
}
.sw-product-card__tab-count {
  margin-left: 6px;
  opacity: 0.8;
}
.sw-product-card__tab-underline {
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: #232323;
  transition: background 0.2s;
}
.sw-product-card__tab--active .sw-product-card__tab-underline {
  background: #FCD704;
}
.sw-product-card__tab-content {
  display: none;
  width: 100%;
}
.sw-product-card__tab-content--active {
  display: block;
}
.sw-product-card__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px;
  width: 100%;
  margin: 0 auto;
  align-items: stretch;
}
.sw-product-card__media-item {
  background: #181818;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 100%;
  aspect-ratio: 1/1;
  box-shadow: 0 2px 16px 0 #00000011;
  min-height: 0;
}
.sw-product-card__media-item img,
.sw-product-card__media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sw-product-card__tab-content[data-tab="reviews"] .sw-feedback__slide {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  gap: 16px;
}
.sw-product-card__fixed-btns.hide {
  display: none;
}

/* Mobile styles */
@media (max-width: 767px) {
    .sw-product-page {
        padding: 32px 0 64px 0;
    }
    
    .sw-product-page__container {
        gap: 16px;
        padding: 0 16px;
        width: 100%;
        box-sizing: border-box;
        align-items: stretch;
        justify-content: flex-start;
    }
    
    .sw-product-page__title {
        font-size: 28px;
        line-height: 1.2;
        text-align: left;
        align-self: flex-start;
    }
    
    .sw-product-page__desc {
        font-size: 16px;
        line-height: 1.4;
        text-align: left;
        align-self: flex-start;
    }
    
    .sw-product-page__categories {
        padding-bottom: 48px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
        box-sizing: border-box;
        align-self: stretch;
    }
    
    .sw-product-page__categories::-webkit-scrollbar {
        display: none;
    }
    
    .sw-our-products__categories--centered {
        flex-wrap: nowrap;
        gap: 16px;
        padding-bottom: 0;
        justify-content: flex-start;
        width: max-content;
    }
    
    .sw-our-products__categories--centered .sw-our-products__cat-btn {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 14px;
        padding: 8px 12px;
        height: 36px;
        border-radius: 32px;
        border: 0.5px solid #FCD704;
        background: rgba(255, 255, 255, 0);
        color: #F9F9F9;
        font-weight: 500;
        min-width: fit-content;
    }
    
    .sw-our-products__categories--centered .sw-our-products__cat-btn--active {
        background: #FCD704;
        color: #3A3A3C;
        border: 0.5px solid #FCD704;
    }
    
    .sw-product-page__controls {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        align-self: stretch;
    }
    
    .sw-product-page__search-wrap {
        width: 100%;
        height: 56px;
        min-height: 56px;
        flex: none;
    }
    
    .sw-product-page__search-input {
        font-size: 16px;
        height: 100%;
    }
    
    .sw-product-page__search-label {
        font-size: 14px;
        left: 60px;
    }
    
    .sw-product-page__search-input:focus + .sw-product-page__search-label,
    .sw-product-page__search-input:not(:placeholder-shown) + .sw-product-page__search-label {
        font-size: 12px;
        left: 60px;
    }
    
    .sw-product-page__filter-wrap {
        width: 100% !important;
        min-width: auto !important;
        position: relative !important;
        flex: none !important;
        display: flex !important;
        align-items: stretch !important;
        height: auto !important;
        margin-left: 0 !important;
    }
    
    .sw-product-page__filter-btn {
        width: 100% !important;
        height: 56px !important;
        font-size: 16px !important;
        padding: 0 16px !important;
        min-width: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        max-height: 36px;
        flex: 1 1 auto !important;
        border-radius: 32px !important;
        background: #FCD704 !important;
        color: #3A3A3C !important;
        border: none !important;
        cursor: pointer !important;
        font-family: 'Montserrat', Arial, sans-serif !important;
        font-weight: 500 !important;
    }
    
    .sw-product-page__filter-dropdown {
        width: 100%;
        min-width: auto;
        left: 0;
        right: 0;
    }
    
    .sw-product-page__container .sw-our-products__list {
        gap: 16px;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        align-self: stretch;
    }

    .sw-product-page__filter-arrow {
        margin-left: 8px !important;
        transition: transform 0.2s !important;
        width: 16px !important;
        height: 16px !important;
        flex-shrink: 0 !important;
    }
}

/* Добавляем стили для экранов между 768px и 1200px */
@media (min-width: 768px) and (max-width: 1200px) {
    .sw-product-page__container {
        padding: 0 40px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .sw-product-page__controls {
        width: 100%;
        gap: 16px;
    }
    
    .sw-product-page__search-wrap {
        flex: 1;
        min-width: 0;
    }
    
    .sw-product-page__filter-wrap {
        min-width: 180px;
        flex-shrink: 0;
    }
    
    .sw-product-page__filter-btn {
        width: 100% !important;
        min-width: 180px !important;
        height: 56px !important;
        font-size: 16px !important;
        padding: 0 24px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: #FCD704 !important;
        color: #3A3A3C !important;
        border: none !important;
        cursor: pointer !important;
        font-family: 'Montserrat', Arial, sans-serif !important;
        font-weight: 500 !important;
        border-radius: 32px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .sw-product-page__filter-btn:hover,
    .sw-product-page__filter-btn:focus {
        background: #E3C103 !important;
    }
}

/* PRODUCT CARD MOBILE STYLES */
@media (max-width: 767px) {  
    .sw-product-card__bg-wrap {
        min-height: 300px;
        border-radius: 16px 16px 0 0;
        margin-bottom: 16px;
    }

    .sw-product-card__bg-image {
        padding: 20px;
    }

    .sw-product-card__info {
        margin-bottom: 64px;
        padding: 32px 16px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .sw-product-card__meta-row {
        gap: 4px;
        font-size: 16px;
        line-height: 1.3;
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
        flex-wrap: wrap;
        align-items: flex-start;
    }
    
    .sw-product-card__price-row {
        font-size: 20px;
        line-height: 1.3;
        padding-top: 0;
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .sw-product-card__stock-row,
    .sw-product-card__sku-row {
        gap: 8px;
        padding-top: 0;
        font-size: 14px;
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .sw-product-card__label {
        font-size: 14px;
        line-height: 1.4;
        flex-shrink: 0;
    }
    
    .sw-product-card__value {
        font-size: 16px;
        line-height: 1.4;
        flex: 1;
        min-width: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .sw-product-card__btns-row {
        gap: 8px;
        flex-direction: row;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .sw-product-card__btn {
        width: 50%;
        height: 48px;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.4;
        border-radius: 32px;
        padding: 0 8px;
        flex: 1 1 0;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .sw-product-card__divider {
        margin: 8px 0 0 0;
        width: 100%;
    }
    
    .sw-product-card__section {
        gap: 8px;
        margin-bottom: 0;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sw-product-card__section-title {
        font-size: 14px;
        line-height: 1.4;
        flex: 0 0 auto;
        max-width: none;
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: left;
    }
    
    .sw-product-card__features-list,
    .sw-product-card__desc-content {
        font-size: 16px;
        line-height: 1.4;
        flex: 0 0 auto;
        max-width: none;
        padding-left: 0;
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: left;
    }
    .sw-product-card__content {
        margin-top: 0;
        margin-bottom: 64px;
    }
    
    .sw-product-card__tabs {
        padding-bottom: 10px;
    }
    
    .sw-product-card__tab-text {
        font-size: 14px;
        padding-bottom: 8px;
    }
    
    .sw-product-card__tab-count {
        margin-left: 4px;
    }
    
    .sw-product-card__tab-underline {
        height: 2px;
    }
    
    .sw-product-card__grid {
        gap: 16px;
    }
    
    .sw-product-card__media-item {
        border-radius: 16px;
        aspect-ratio: 1/1;
    }
    
    .sw-product-card__fixed-btns {
        padding: 8px;
        gap: 8px;
        flex-direction: row;
        width: 100%;
        box-sizing: border-box;
    }
    
    .sw-product-card__fixed-btns .sw-product-card__btn {
        width: 50%;
        min-width: auto;
        flex: 1 1 0;
        padding: 12px 8px;
        height: 56px;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.4;
        border-radius: 32px;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
    }
    
    .sw-product-card__fixed-btns .sw-product-card__btn--disabled {
        background: #3D3A29 !important;
        color: #BDBDBD !important;
        cursor: not-allowed !important;
        opacity: 0.6;
    }
    
    .sw-product-card__fixed-btns .sw-product-card__btn--disabled:hover {
        background: #3D3A29 !important;
        color: #BDBDBD !important;
    }
    
    .sw-product-card__fixed-btns.hide {
        transform: translateY(100%);
    }
    
    /* Отзывы в мобильной версии */
    .sw-product-card__tab-content[data-tab="reviews"] .sw-feedback__slide {
        flex: 1 1 0;
        min-width: 0;
        max-width: 100%;
        margin: 0;
        gap: 8px;
        padding: 16px 12px;
        border-radius: 16px;
    }
    
    .sw-product-card__tab-content[data-tab="reviews"] .sw-feedback__text {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .sw-product-card__tab-content[data-tab="reviews"] .sw-feedback__date {
        font-size: 12px;
    }
    
    .sw-product-card__tab-content[data-tab="reviews"] .sw-feedback__more-btn {
        font-size: 14px;
        padding: 6px 12px;
        height: 36px;
    }
}

@media (max-width: 410px) {
    .sw-product-card__btns-row {
        gap: 8px;
        flex-direction: column;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .sw-product-card__btn {
        width: 100%;
        height: 48px;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.4;
        border-radius: 32px;
        padding: 0 16px;
        flex: none;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
    }
    
    .sw-product-card__btn--disabled {
        background: #3D3A29 !important;
        color: #BDBDBD !important;
        cursor: not-allowed !important;
        opacity: 0.6;
    }
    
    .sw-product-card__btn--disabled:hover {
        background: #3D3A29 !important;
        color: #BDBDBD !important;
    }
    
    .sw-product-card__grid {
        grid-template-columns: 1fr !important;
    }
    
    .sw-product-card__media-item {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .sw-product-card__tab-content[data-tab="reviews"] .sw-feedback__slide {
        flex: 1 1 0;
        min-width: 0;
        max-width: 100%;
        margin: 0;
        gap: 8px;
        padding: 16px 12px;
        border-radius: 16px;
        width: 100%;
        box-sizing: border-box;
    }
}