/* ==================== Child Theme - Archive/Product Category Page Styles ==================== */
/* 
 * Purpose: Product category/archive page specific styles and overrides
 * 
 * Rules:
 * - Scope everything to body.archive, body.taxonomy-product_category, body.page-product-category to avoid cross-page impact
 * - Only define styles that are specific to archive/category pages
 * - Override global components only when archive page needs different behavior
 */

/* Base styles for archive/category pages - no specific styles needed at body level */

/* ==================== Category Header ==================== */
body.archive .category-header,
body.taxonomy-product_category .category-header,
body.page-product-category .category-header {
  padding-top: 0;
  padding-bottom: 30px;
  margin-top: 40px;
}

body.archive .category-header__title,
body.taxonomy-product_category .category-header__title,
body.page-product-category .category-header__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-primary-color, #1B3A5F);
  margin-bottom: 15px;
  line-height: 1.2;
}

body.archive .category-header__description,
body.taxonomy-product_category .category-header__description,
body.page-product-category .category-header__description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--body-text-color, #333);
  margin: 0;
}

/* ==================== Category SEO ==================== */
body.archive .category-seo__title,
body.taxonomy-product_category .category-seo__title,
body.page-product-category .category-seo__title {
  text-align: center;
}

/* ==================== Catalog Layout ==================== */
body.archive .catalog-layout,
body.taxonomy-product_category .catalog-layout,
body.page-product-category .catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: start;
}

/* ==================== Filters Sidebar ==================== */
body.archive .catalog-filters,
body.taxonomy-product_category .catalog-filters,
body.page-product-category .catalog-filters {
  background: var(--section-bg-light, #f8f9fa);
  border-radius: 12px;
  padding: 10px;
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

body.archive .catalog-filters__header,
body.taxonomy-product_category .catalog-filters__header,
body.page-product-category .catalog-filters__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

body.archive .catalog-filters__title,
body.taxonomy-product_category .catalog-filters__title,
body.page-product-category .catalog-filters__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-primary-color, #1B3A5F);
  margin: 0;
}

body.archive .catalog-filters__toggle,
body.taxonomy-product_category .catalog-filters__toggle,
body.page-product-category .catalog-filters__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--heading-primary-color, #1B3A5F);
}

body.archive .catalog-filters__group,
body.taxonomy-product_category .catalog-filters__group,
body.page-product-category .catalog-filters__group {
  margin-bottom: 25px;
}

body.archive .catalog-filters__group-title,
body.taxonomy-product_category .catalog-filters__group-title,
body.page-product-category .catalog-filters__group-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-primary-color, #1B3A5F);
  margin-bottom: 12px;
}

body.archive .catalog-filters__options,
body.taxonomy-product_category .catalog-filters__options,
body.page-product-category .catalog-filters__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.archive .catalog-filters__option,
body.taxonomy-product_category .catalog-filters__option,
body.page-product-category .catalog-filters__option,
body.archive .catalog-filters__option--link,
body.taxonomy-product_category .catalog-filters__option--link,
body.page-product-category .catalog-filters__option--link {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 5px 0;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, background-color 0.2s ease;
}

body.archive .catalog-filters__option:hover,
body.taxonomy-product_category .catalog-filters__option:hover,
body.page-product-category .catalog-filters__option:hover,
body.archive .catalog-filters__option--link:hover,
body.taxonomy-product_category .catalog-filters__option--link:hover,
body.page-product-category .catalog-filters__option--link:hover {
  color: var(--accent-color, #FF9933);
  background-color: rgba(255, 153, 51, 0.05);
  border-radius: 4px;
  padding-left: 5px;
  padding-right: 5px;
}

body.archive .catalog-filters__option--active,
body.taxonomy-product_category .catalog-filters__option--active,
body.page-product-category .catalog-filters__option--active,
body.archive .catalog-filters__option--link.is-active,
body.taxonomy-product_category .catalog-filters__option--link.is-active,
body.page-product-category .catalog-filters__option--link.is-active {
  color: var(--accent-color, #FF9933);
  font-weight: 600;
  background-color: rgba(255, 153, 51, 0.1);
  border-radius: 4px;
  padding-left: 5px;
  padding-right: 5px;
}

body.archive .catalog-filters__checkbox,
body.taxonomy-product_category .catalog-filters__checkbox,
body.page-product-category .catalog-filters__checkbox {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--accent-color, #FF9933);
}

body.archive .catalog-filters__label,
body.taxonomy-product_category .catalog-filters__label,
body.page-product-category .catalog-filters__label {
  font-size: 14px;
  color: var(--body-text-color, #333);
  cursor: pointer;
  flex: 1;
}

body.archive .catalog-filters__count,
body.taxonomy-product_category .catalog-filters__count,
body.page-product-category .catalog-filters__count {
  color: var(--body-text-color, #999);
  font-size: 13px;
  margin-left: 5px;
}

body.archive .catalog-filters__actions,
body.taxonomy-product_category .catalog-filters__actions,
body.page-product-category .catalog-filters__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid rgba(0, 0, 0, 0.1);
}

body.archive .catalog-filters__apply,
body.taxonomy-product_category .catalog-filters__apply,
body.page-product-category .catalog-filters__apply {
  width: 100%;
}

body.archive .catalog-filters__reset,
body.taxonomy-product_category .catalog-filters__reset,
body.page-product-category .catalog-filters__reset {
  width: 100%;
}

/* ==================== Products Area ==================== */
body.archive .catalog-products,
body.taxonomy-product_category .catalog-products,
body.page-product-category .catalog-products {
  min-width: 0;
}

/* ==================== Toolbar ==================== */
body.archive .catalog-toolbar,
body.taxonomy-product_category .catalog-toolbar,
body.page-product-category .catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
  gap: 15px;
}

body.archive .catalog-toolbar__results,
body.taxonomy-product_category .catalog-toolbar__results,
body.page-product-category .catalog-toolbar__results {
  font-size: 14px;
  color: var(--body-text-color, #666);
}

body.archive .catalog-toolbar__sort,
body.taxonomy-product_category .catalog-toolbar__sort,
body.page-product-category .catalog-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.archive .catalog-toolbar__sort-label,
body.taxonomy-product_category .catalog-toolbar__sort-label,
body.page-product-category .catalog-toolbar__sort-label {
  font-size: 14px;
  color: var(--body-text-color, #333);
}

body.archive .catalog-toolbar__sort-select,
body.taxonomy-product_category .catalog-toolbar__sort-select,
body.page-product-category .catalog-toolbar__sort-select {
  padding: 8px 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  font-size: 14px;
  background: white;
  color: var(--body-text-color, #333);
  cursor: pointer;
}

body.archive .catalog-toolbar__view,
body.taxonomy-product_category .catalog-toolbar__view,
body.page-product-category .catalog-toolbar__view {
  display: flex;
  gap: 5px;
}

body.archive .catalog-toolbar__view-btn,
body.taxonomy-product_category .catalog-toolbar__view-btn,
body.page-product-category .catalog-toolbar__view-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: white;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--body-text-color, #666);
  transition: all 0.3s ease;
}

body.archive .catalog-toolbar__view-btn:hover,
body.taxonomy-product_category .catalog-toolbar__view-btn:hover,
body.page-product-category .catalog-toolbar__view-btn:hover {
  border-color: var(--accent-color, #FF9933);
  color: var(--accent-color, #FF9933);
}

body.archive .catalog-toolbar__view-btn.active,
body.taxonomy-product_category .catalog-toolbar__view-btn.active,
body.page-product-category .catalog-toolbar__view-btn.active {
  background: var(--accent-color, #FF9933);
  border-color: var(--accent-color, #FF9933);
  color: white;
}

/* ==================== Active Filters ==================== */
body.archive .catalog-active-filters,
body.taxonomy-product_category .catalog-active-filters,
body.page-product-category .catalog-active-filters {
  margin-bottom: 20px;
  padding: 15px;
  background: var(--section-bg-light, #f8f9fa);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

body.archive .catalog-active-filters__tags,
body.taxonomy-product_category .catalog-active-filters__tags,
body.page-product-category .catalog-active-filters__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

body.archive .catalog-active-filters__tag,
body.taxonomy-product_category .catalog-active-filters__tag,
body.page-product-category .catalog-active-filters__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  font-size: 13px;
  color: var(--body-text-color, #333);
}

body.archive .catalog-active-filters__tag button,
body.taxonomy-product_category .catalog-active-filters__tag button,
body.page-product-category .catalog-active-filters__tag button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--body-text-color, #666);
  line-height: 1;
  padding: 0;
  margin-left: 4px;
}

body.archive .catalog-active-filters__tag button:hover,
body.taxonomy-product_category .catalog-active-filters__tag button:hover,
body.page-product-category .catalog-active-filters__tag button:hover {
  color: var(--accent-color, #FF9933);
}

/* ==================== Products Grid ==================== */
body.archive .catalog-products-grid,
body.taxonomy-product_category .catalog-products-grid,
body.page-product-category .catalog-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* 确保横向布局，即使在小屏幕上 */
@media (min-width: 768px) {
  body.archive .catalog-products-grid,
  body.taxonomy-product_category .catalog-products-grid,
  body.page-product-category .catalog-products-grid {
    grid-template-columns: repeat(3, minmax(300px, 1fr));
  }
}

body.archive .catalog-products-grid.list-view,
body.taxonomy-product_category .catalog-products-grid.list-view,
body.page-product-category .catalog-products-grid.list-view {
  grid-template-columns: 1fr;
}

body.archive .catalog-product-card,
body.taxonomy-product_category .catalog-product-card,
body.page-product-category .catalog-product-card {
  padding: 0;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.archive .catalog-product-card:hover,
body.taxonomy-product_category .catalog-product-card:hover,
body.page-product-category .catalog-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

body.archive .catalog-product-card__link,
body.taxonomy-product_category .catalog-product-card__link,
body.page-product-category .catalog-product-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

body.archive .catalog-product-card__image,
body.taxonomy-product_category .catalog-product-card__image,
body.page-product-category .catalog-product-card__image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: var(--section-bg-light, #f8f9fa);
  position: relative;
}

body.archive .catalog-product-card__image img,
body.taxonomy-product_category .catalog-product-card__image img,
body.page-product-category .catalog-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.archive .catalog-product-card__badge,
body.taxonomy-product_category .catalog-product-card__badge,
body.page-product-category .catalog-product-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
}

body.archive .catalog-product-card__badge--hot,
body.taxonomy-product_category .catalog-product-card__badge--hot,
body.page-product-category .catalog-product-card__badge--hot {
  background: #ff4444;
}

body.archive .catalog-product-card__badge--new,
body.taxonomy-product_category .catalog-product-card__badge--new,
body.page-product-category .catalog-product-card__badge--new {
  background: #00aa00;
}

body.archive .catalog-product-card__badge--bestseller,
body.taxonomy-product_category .catalog-product-card__badge--bestseller,
body.page-product-category .catalog-product-card__badge--bestseller {
  background: #ff9933;
}

body.archive .catalog-product-card__info,
body.taxonomy-product_category .catalog-product-card__info,
body.page-product-category .catalog-product-card__info {
  padding: 20px;
}

body.archive .catalog-product-card__title,
body.taxonomy-product_category .catalog-product-card__title,
body.page-product-category .catalog-product-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-primary-color, #1B3A5F);
  margin-bottom: 8px;
  line-height: 1.3;
}

body.archive .catalog-product-card__code,
body.taxonomy-product_category .catalog-product-card__code,
body.page-product-category .catalog-product-card__code {
  display: none;
}

body.archive .catalog-product-card__features,
body.taxonomy-product_category .catalog-product-card__features,
body.page-product-category .catalog-product-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 15px;
}

body.archive .catalog-product-card__tag,
body.taxonomy-product_category .catalog-product-card__tag,
body.page-product-category .catalog-product-card__tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--section-bg-light, #f8f9fa);
  border-radius: 12px;
  font-size: 12px;
  color: var(--body-text-color, #666);
}

body.archive .catalog-product-card__pricing,
body.taxonomy-product_category .catalog-product-card__pricing,
body.page-product-category .catalog-product-card__pricing {
  display: none;
}

body.archive .catalog-product-card__price,
body.taxonomy-product_category .catalog-product-card__price,
body.page-product-category .catalog-product-card__price {
  display: none;
}

body.archive .catalog-product-card__moq,
body.taxonomy-product_category .catalog-product-card__moq,
body.page-product-category .catalog-product-card__moq {
  display: block;
  font-size: 13px;
  color: var(--body-text-color, #666);
}

body.archive .catalog-product-card__actions,
body.taxonomy-product_category .catalog-product-card__actions,
body.page-product-category .catalog-product-card__actions {
  display: flex;
  gap: 10px;
}

body.archive .catalog-product-card__actions .ss-btn,
body.taxonomy-product_category .catalog-product-card__actions .ss-btn,
body.page-product-category .catalog-product-card__actions .ss-btn {
  flex: 1;
  padding: 10px 15px;
  font-size: 14px;
}

/* List View Styles */
body.archive .catalog-products-grid.list-view .catalog-product-card,
body.taxonomy-product_category .catalog-products-grid.list-view .catalog-product-card,
body.page-product-category .catalog-products-grid.list-view .catalog-product-card {
  display: flex;
  flex-direction: row;
}

body.archive .catalog-products-grid.list-view .catalog-product-card__image,
body.taxonomy-product_category .catalog-products-grid.list-view .catalog-product-card__image,
body.page-product-category .catalog-products-grid.list-view .catalog-product-card__image {
  width: 200px;
  flex-shrink: 0;
}

body.archive .catalog-products-grid.list-view .catalog-product-card__info,
body.taxonomy-product_category .catalog-products-grid.list-view .catalog-product-card__info,
body.page-product-category .catalog-products-grid.list-view .catalog-product-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body.archive .catalog-products-grid.list-view .catalog-product-card__actions,
body.taxonomy-product_category .catalog-products-grid.list-view .catalog-product-card__actions,
body.page-product-category .catalog-products-grid.list-view .catalog-product-card__actions {
  margin-top: auto;
}

/* ==================== Empty State ==================== */
body.archive .catalog-products-empty,
body.taxonomy-product_category .catalog-products-empty,
body.page-product-category .catalog-products-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--body-text-color, #666);
}

/* ==================== Pagination ==================== */
body.archive .catalog-pagination,
body.taxonomy-product_category .catalog-pagination,
body.page-product-category .catalog-pagination {
  margin-top: 40px;
}

body.archive .catalog-pagination ul,
body.taxonomy-product_category .catalog-pagination ul,
body.page-product-category .catalog-pagination ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

body.archive .catalog-pagination li,
body.taxonomy-product_category .catalog-pagination li,
body.page-product-category .catalog-pagination li {
  margin: 0;
}

body.archive .catalog-pagination a,
body.taxonomy-product_category .catalog-pagination a,
body.page-product-category .catalog-pagination a,
body.archive .catalog-pagination span,
body.taxonomy-product_category .catalog-pagination span,
body.page-product-category .catalog-pagination span {
  display: inline-block;
  padding: 10px 15px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  text-decoration: none;
  color: var(--body-text-color, #333);
  transition: all 0.3s ease;
}

body.archive .catalog-pagination a:hover,
body.taxonomy-product_category .catalog-pagination a:hover,
body.page-product-category .catalog-pagination a:hover {
  background: var(--accent-color, #FF9933);
  border-color: var(--accent-color, #FF9933);
  color: white;
}

body.archive .catalog-pagination .current,
body.taxonomy-product_category .catalog-pagination .current,
body.page-product-category .catalog-pagination .current {
  background: var(--accent-color, #FF9933);
  border-color: var(--accent-color, #FF9933);
  color: white;
}

/* ==================== Category SEO Section ==================== */
body.archive .category-seo,
body.taxonomy-product_category .category-seo,
body.page-product-category .category-seo {
  padding-top: 60px;
  padding-bottom: 10px;
}

body.archive .category-seo__title,
body.taxonomy-product_category .category-seo__title,
body.page-product-category .category-seo__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--heading-primary-color, #1B3A5F);
  margin-bottom: 20px;
}

body.archive .category-seo__content,
body.taxonomy-product_category .category-seo__content,
body.page-product-category .category-seo__content {
  max-width: 900px;
  margin: 0 auto;
  color: var(--body-text-color, #333);
  line-height: 1.8;
}

body.archive .category-seo__content h3,
body.taxonomy-product_category .category-seo__content h3,
body.page-product-category .category-seo__content h3 {
  font-size: 22px;
  color: var(--heading-primary-color, #1B3A5F);
  margin-top: 25px;
  margin-bottom: 15px;
}

body.archive .category-seo__content ul,
body.taxonomy-product_category .category-seo__content ul,
body.page-product-category .category-seo__content ul {
  margin: 15px 0;
  padding-left: 30px;
}

body.archive .category-seo__content li,
body.taxonomy-product_category .category-seo__content li,
body.page-product-category .category-seo__content li {
  margin-bottom: 10px;
}

body.archive .category-seo__cta,
body.taxonomy-product_category .category-seo__cta,
body.page-product-category .category-seo__cta {
  display: inline-block;
  margin-top: 25px;
}

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
  body.archive .catalog-layout,
  body.taxonomy-product_category .catalog-layout,
  body.page-product-category .catalog-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  body.archive .catalog-filters,
  body.taxonomy-product_category .catalog-filters,
  body.page-product-category .catalog-filters {
    position: static;
    max-height: none;
    margin-bottom: 0;
  }

  body.archive .catalog-toolbar,
  body.taxonomy-product_category .catalog-toolbar,
  body.page-product-category .catalog-toolbar {
    margin-bottom: 16px;
  }
  
  body.archive .catalog-filters__toggle,
  body.taxonomy-product_category .catalog-filters__toggle,
  body.page-product-category .catalog-filters__toggle {
    display: block;
  }
  
  body.archive .catalog-filters__content,
  body.taxonomy-product_category .catalog-filters__content,
  body.page-product-category .catalog-filters__content {
    display: none;
  }
  
  body.archive .catalog-filters__content.active,
  body.taxonomy-product_category .catalog-filters__content.active,
  body.page-product-category .catalog-filters__content.active {
    display: block;
  }
  
  body.archive .catalog-products-grid,
  body.taxonomy-product_category .catalog-products-grid,
  body.page-product-category .catalog-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body.archive .category-header__title,
  body.taxonomy-product_category .category-header__title,
  body.page-product-category .category-header__title {
    font-size: 28px;
  }
  
  body.archive .catalog-toolbar,
  body.taxonomy-product_category .catalog-toolbar,
  body.page-product-category .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  
  body.archive .catalog-toolbar__sort,
  body.taxonomy-product_category .catalog-toolbar__sort,
  body.page-product-category .catalog-toolbar__sort {
    width: 100%;
  }
  
  body.archive .catalog-toolbar__sort-select,
  body.taxonomy-product_category .catalog-toolbar__sort-select,
  body.page-product-category .catalog-toolbar__sort-select {
    width: 100%;
  }
  
  body.archive .catalog-products-grid,
  body.taxonomy-product_category .catalog-products-grid,
  body.page-product-category .catalog-products-grid {
    grid-template-columns: 1fr;
  }
  
  body.archive .catalog-products-grid.list-view .catalog-product-card,
  body.taxonomy-product_category .catalog-products-grid.list-view .catalog-product-card,
  body.page-product-category .catalog-products-grid.list-view .catalog-product-card {
    flex-direction: column;
  }
  
  body.archive .catalog-products-grid.list-view .catalog-product-card__image,
  body.taxonomy-product_category .catalog-products-grid.list-view .catalog-product-card__image,
  body.page-product-category .catalog-products-grid.list-view .catalog-product-card__image {
    width: 100%;
  }
}

/* ==================== Quote Form Modal ==================== */
.quote-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.quote-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(2px);
}

.quote-modal__content {
  position: relative;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  margin: 0;
  padding: 30px;
  z-index: 10000;
}

.quote-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.quote-modal__close:hover {
  color: #000;
}

.quote-modal__title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #1B3A5F;
}

.quote-modal__body {
  min-height: 120px;
}

.quote-modal__loading {
  padding: 16px 0;
  color: #666;
}

.quote-modal__success {
  display: none;
  text-align: center;
  padding: 40px 20px;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

.quote-modal__error {
  padding: 16px 0;
  color: #b00020;
}

.quote-form__field {
  margin-bottom: 20px;
}

.quote-form__field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
  font-size: 14px;
}

.quote-form__field .required {
  color: #ff0000;
}

.quote-form__field input,
.quote-form__field textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.quote-form__field input:focus,
.quote-form__field textarea:focus {
  outline: none;
  border-color: #1B3A5F;
}

.quote-form__field textarea {
  resize: vertical;
  min-height: 100px;
}

.quote-form__actions {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.quote-form__actions button {
  flex: 1;
}

.quote-modal__cancel {
  background: #f5f5f5;
  color: #333;
}

.quote-modal__cancel:hover {
  background: #e8e8e8;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .quote-modal__content {
    width: 95%;
    padding: 20px;
    margin: 2vh auto;
  }
  
  .quote-modal__title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .quote-form__actions {
    flex-direction: column;
  }
  
  .quote-form__actions button {
    width: 100%;
  }
}

