* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1a73e8;
  --primary-hover: #1557b0;
  --text-color: #333;
  --text-light: #666;
  --border-color: #ddd;
  --bg-color: #fff;
  --bg-light: #f5f5f5;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-color);
}

.is-hidden {
  display: none !important;
}

.home-container {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("../images/back-aviao.png");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: 20px;
  position: relative;
}

.home-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 0;
  opacity: 0.6;
}

.home-content {
  width: 100%;
  max-width: 950px;
  text-align: center;
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

.main-title {
  font-size: clamp(2.35rem, 3.5vw, 3.35rem);
  font-weight: 400;
  color: #3d312a;
  margin-bottom: 8px;
  line-height: 1.16;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}

.subtitle {
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  color: #685f5a;
  margin-bottom: 30px;
  font-weight: 400;
}

.logo-img-home {
  max-width: min(250px, 56vw);
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 18px;
  filter: drop-shadow(0 8px 20px rgba(71, 45, 9, 0.16));
}

.search-container-home {
  margin-bottom: 24px;
  position: relative;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.search-container-home .search-form {
  display: flex;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 50px;
  padding: 6px;
  height: 64px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease;
  backdrop-filter: blur(8px);
  align-items: stretch;
}
.search-container-home .search-form:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.search-container-home .search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  padding: 0 24px 0 38px;
  font-size: 18px;
  background: white;
  border-radius: 40px 0 0 40px;
  color: #333;
  caret-color: #000;
  -webkit-text-fill-color: #333;
}
.search-container-home .search-input::placeholder {
  color: #888;
}
.search-container-home .search-input:focus {
  caret-color: #000;
  -webkit-text-fill-color: #333;
}
.search-container-home .search-input:focus-visible {
  caret-color: #000;
}
.search-container-home .search-clear {
  background: white;
  border: none;
  padding: 0 15px;
  color: #999;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}
.search-container-home .search-clear:hover {
  color: #333;
}
.search-container-home .search-button {
  background: #6a4014;
  border: none;
  border-radius: 0 40px 40px 0;
  width: 70px;
  flex: 0 0 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: background 0.3s ease;
}
.search-container-home .search-button:hover {
  background: #4f2e0e;
}
.search-container-home .search-button svg {
  width: 22px;
  height: 22px;
}
.search-container-home .search-suggestions-backdrop {
  display: none !important;
}
.search-container-home .search-suggestions-overlay {
  display: none;
  position: absolute;
  top: calc(100% - 6px);
  left: 32px;
  right: 76px;
  background: #fff;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-height: min(220px, 100vh - 320px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 10px 0;
  border-top: 1px solid #f0f0f0;
}
.search-container-home .search-suggestions-overlay.active {
  display: block;
}
.search-container-home .suggestions-list {
  padding: 0;
}
.search-container-home .suggestions-list .suggestion-item {
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.2s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.search-container-home .suggestions-list .suggestion-item:hover, .search-container-home .suggestions-list .suggestion-item.active {
  background: #f5f5f5;
}
.search-container-home .suggestions-list .suggestion-item .suggestion-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 0;
}
.search-container-home .suggestions-list .suggestion-item .suggestion-subtitle {
  font-size: 14px;
  color: #888;
}

.popular-searches-title {
  font-size: 20px;
  font-weight: 600;
  color: #7a2221;
  margin-top: 30px;
  margin-bottom: 12px;
  text-align: center;
}

.recent-home-section {
  margin-bottom: 40px;
}

.recent-home-list {
  display: flex;
  gap: 16px;
  overflow: hidden;
  padding: 10px 4px;
  justify-content: center;
}
.recent-home-list.slick-initialized {
  display: block;
  overflow: visible;
  padding: 10px 40px;
}
.recent-home-list.slick-initialized .slick-track {
  display: flex !important;
  flex-wrap: nowrap !important;
}
.recent-home-list.slick-initialized .slick-slide {
  float: none !important;
  height: auto !important;
}
.recent-home-list.slick-initialized .recent-home-item {
  min-width: 0 !important;
  max-width: none !important;
}

.recent-home-item,
.recent-home-skeleton {
  display: grid !important;
  grid-template-columns: 70px 1fr;
  column-gap: 16px;
  row-gap: 4px;
  align-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 16px;
  min-width: 220px;
  max-width: 260px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  margin: 10px 8px;
}

.recent-home-item {
  cursor: pointer;
  color: #333;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.recent-home-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.recent-home-thumb,
.recent-home-skeleton-thumb {
  grid-column: 1;
  grid-row: 1/4;
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(249, 245, 239, 0.95);
  border: 1px solid rgba(215, 199, 173, 0.72);
  padding: 8px;
}

.recent-home-part-number,
.recent-home-skeleton-line {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
  color: #5a2d12;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-home-desc {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  font-size: 14px;
  color: #47392f;
  text-align: left;
  line-height: 1.2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.recent-home-manufacturer {
  grid-column: 2;
  grid-row: 3;
  font-size: 13px;
  color: #888;
  text-align: left;
  margin-top: 8px;
}

.recent-home-skeleton {
  background: rgba(255, 255, 255, 0.6);
}
.recent-home-skeleton .recent-home-skeleton-thumb,
.recent-home-skeleton .recent-home-skeleton-line {
  background: linear-gradient(90deg, #f3ede3 0%, #fff8f0 50%, #f3ede3 100%);
  background-size: 200% 100%;
  animation: homeSkeletonPulse 1.3s ease-in-out infinite;
}
.recent-home-skeleton .recent-home-skeleton-line {
  align-self: start;
  margin-top: 6px;
  height: 14px;
  width: 74%;
  border-radius: 999px;
  font-size: 0;
}

.recent-home-list.loading .recent-home-item {
  display: none !important;
}

.recent-home-list.loading .recent-home-skeleton:nth-child(n+5) {
  display: none !important;
}

.custom-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  border: 1px solid #eaeaea;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}
.custom-arrow:hover {
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.slick-prev.custom-arrow {
  left: 0;
}

.slick-next.custom-arrow {
  right: 0;
}

.trusted-marketplace-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: calc(100% - 80px);
  margin: 0 40px;
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(10px);
  padding: 20px 28px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 40px rgba(73, 49, 18, 0.1);
  text-align: left;
}

.trusted-col.left {
  flex: 1;
}

.trusted-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #3a2f2a;
}

.trusted-check {
  font-size: 14px;
  color: #555;
  margin-bottom: 4px;
}

.trusted-col.center {
  flex: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-left: 1px solid rgba(117, 91, 52, 0.14);
  border-right: 1px solid rgba(117, 91, 52, 0.14);
  padding: 0 20px;
  margin: 0 4px;
}

.trusted-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-size: 18px;
  font-weight: 800;
  color: #3f2a13;
  line-height: 1.1;
}

.stat-lbl {
  font-size: 14px;
  color: #7b6956;
}

.trusted-logos {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 15px;
}
.trusted-logos span {
  display: inline-block;
  line-height: 1;
}

.trusted-col.right {
  flex: 0 0 auto;
}

.globe-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.globe-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

@keyframes homeSkeletonPulse {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.filter-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.filter-buttons .filter-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  background: #faf5ef;
  color: #412400;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-buttons .filter-btn:hover {
  background: #f0e6d6;
}
.filter-buttons .filter-btn.active {
  background: #d4c4a8;
  color: #412400;
  font-weight: 600;
}

.header {
  background: #f8efe3;
  box-shadow: var(--shadow);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
}

.logo-header {
  flex-shrink: 0;
}
.logo-header .logo-img-header {
  max-width: 180px;
  max-height: 89px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.language-flags {
  display: flex;
  gap: 8px;
  align-items: center;
}
.language-flags .flag-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.6;
}
.language-flags .flag-btn:hover {
  transform: scale(1.1);
  opacity: 0.8;
}
.language-flags .flag-btn.active {
  opacity: 1;
  transform: scale(1.05);
}
.language-flags .flag-btn .flag-img {
  width: 32px;
  height: 24px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.cart-button {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #6a4014;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-button:hover {
  opacity: 0.8;
}
.cart-button svg {
  width: 28px;
  height: 28px;
}
.cart-button .cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #412400;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cart-button .cart-count.has-items {
  opacity: 1;
}

.search-container-header {
  flex: 1;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.search-container-header .search-form {
  display: flex;
  background: white;
  border-radius: 50px;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}
.search-container-header .search-form:focus-within {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.search-container-header .search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  padding: 16px 24px;
  font-size: 16px;
  border-radius: 50px;
  background: transparent;
  color: #412400;
  caret-color: #000 !important;
  -webkit-text-fill-color: #412400 !important;
}
.search-container-header .search-input::placeholder {
  color: #8b6f47;
}
.search-container-header .search-input:focus {
  caret-color: #000 !important;
  -webkit-text-fill-color: #412400 !important;
}
.search-container-header .search-input:focus-visible {
  caret-color: #000 !important;
}
.search-container-header .search-button {
  background: #412400;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: background 0.3s ease;
  margin: 2px;
}
.search-container-header .search-button:hover {
  background: #2d1a00;
}
.search-container-header .search-button svg {
  width: 20px;
  height: 20px;
}
.search-container-header .search-suggestions-backdrop {
  display: none;
  position: fixed;
  top: 123px;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.search-container-header .search-suggestions-backdrop.active {
  display: block;
}
.search-container-header .search-suggestions-overlay {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-height: 500px;
  overflow-y: auto;
}
.search-container-header .search-suggestions-overlay.active {
  display: block;
}
.search-container-header .suggestions-list {
  padding: 8px 0;
}
.search-container-header .suggestions-list .suggestion-item {
  padding: 12px 24px;
  cursor: pointer;
  transition: background 0.2s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.search-container-header .suggestions-list .suggestion-item:hover, .search-container-header .suggestions-list .suggestion-item.active {
  background: #f5e6d3;
  border-radius: 9px;
  margin: 0 auto;
  display: block;
  width: 98%;
}
.search-container-header .suggestions-list .suggestion-item .suggestion-title {
  font-size: 16px;
  font-weight: 500;
  color: #412400;
  margin-bottom: 4px;
}
.search-container-header .suggestions-list .suggestion-item .suggestion-subtitle {
  font-size: 14px;
  color: #8b6f47;
}

.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.product-detail-content {
  background: white;
  min-height: calc(100vh - 92px);
  padding: 60px 40px;
}

.product-detail-container {
  max-width: 1400px;
  margin: 0 auto;
}

.product-detail-title {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  color: #412400;
  text-align: center;
  margin-bottom: 44px;
  line-height: 1.15;
}

.product-detail-section {
  display: grid;
  grid-template-columns: minmax(320px, 500px) minmax(320px, 480px);
  gap: 78px;
  align-items: start;
  justify-content: start;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin-bottom: 56px;
}

.results-loading-section {
  margin-top: 0;
}

.results-loading-grid {
  display: grid;
  grid-template-columns: minmax(320px, 500px) minmax(320px, 480px);
  gap: 78px;
  align-items: start;
  justify-content: start;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.skeleton-shimmer {
  background: linear-gradient(90deg, #f3ede3 0%, #fff8f0 50%, #f3ede3 100%);
  background-size: 200% 100%;
  animation: homeSkeletonPulse 1.3s ease-in-out infinite;
}

.results-loading-image {
  min-height: 376px;
  border-radius: 26px;
  border: 0;
}

.results-loading-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px 0 0;
}

.results-loading-line {
  width: 100%;
  height: 18px;
  border-radius: 999px;
}
.results-loading-line.skeleton-title {
  width: 14%;
  height: 20px;
  margin-bottom: 2px;
}
.results-loading-line.short {
  width: 100%;
}

.results-loading-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.results-loading-option {
  width: 100%;
  height: 82px;
  border-radius: 14px;
}

.product-visual-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.product-image-gallery {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
}

.gallery-nav-btn {
  display: none !important;
}

.product-main-image {
  flex: 1;
  background: transparent;
  border: 0;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 376px;
  max-width: 100%;
  width: 100%;
  overflow: hidden;
  padding: 0;
}
.product-main-image img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  min-height: 376px;
  object-fit: cover;
  display: block;
}

.product-gallery-thumbs {
  display: none;
}

.product-gallery-thumb {
  width: 52px;
  height: 44px;
  border: 1px solid #efe3d6;
  background: #fbf6f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.product-gallery-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.product-gallery-thumb.active {
  border-color: #c7aa85;
  background: #fff;
}

.product-info-panel {
  display: flex;
  flex-direction: column;
  gap: 34px;
  min-width: 0;
  padding-top: 22px;
}

.product-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.detail-label {
  font-size: 16px;
  font-weight: 500;
  color: #412400;
  margin-bottom: 0;
}

.detail-value-box {
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: #412400;
  font-size: 18px;
  font-weight: 500;
  min-height: auto;
  display: flex;
  align-items: center;
  width: auto;
  margin-top: 0;
  line-height: 1.3;
  border-bottom: 0;
}
.detail-value-box .detail-link {
  color: #412400;
  text-decoration: underline;
  cursor: pointer;
  margin-left: 4px;
}
.detail-value-box .detail-link:hover {
  color: #2d1a00;
}

.detail-value-box-filled {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  background: #efe5d8;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 400;
  color: #6a4014;
  align-items: center;
}

.detail-item-manufacturer {
  display: none;
}

.purchase-options-section {
  margin-top: 0;
}

.purchase-options-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 62px;
}

.purchase-options-title {
  font-size: 19px;
  font-weight: 500;
  color: #1a1a1a;
  white-space: nowrap;
  margin: 0;
}

.title-line {
  flex: 1;
  height: 1px;
  background: rgba(106, 64, 20, 0.9);
}

.purchase-category {
  margin-bottom: 0;
}
.purchase-category:last-child {
  margin-bottom: 0;
}

.category-title {
  font-size: 20px;
  font-weight: 600;
  color: #412400;
  margin-bottom: 20px;
}

.purchase-option-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  padding: 42px 18px 38px;
  background: #fff;
  border: 1px solid #e0cfba;
  border-radius: 10px;
  margin-bottom: 0;
  box-shadow: none;
}
.purchase-option-row:last-child {
  margin-bottom: 0;
}

.option-header {
  width: 100%;
}

.option-info {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: flex-start;
  flex-wrap: nowrap;
  min-width: 0;
  width: 38px;
}

.option-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.option-type {
  font-size: 17px;
  font-weight: 500;
  color: #412400;
  white-space: normal;
  line-height: 1.6;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  min-width: 38px;
}

.option-details {
  display: none;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: transparent;
}

.qty-btn {
  background: #6a4014;
  border: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 21px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
  line-height: 1;
}
.qty-btn:hover {
  background: #523111;
}
.qty-btn:first-child {
  border-right: 0;
  border-radius: 6px 0 0 6px;
}
.qty-btn:last-child {
  border-left: 0;
  border-radius: 0 6px 6px 0;
}

.qty-input {
  width: 58px;
  height: 36px;
  border: none;
  background: #f3e4cf;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: #412400;
  padding: 0;
  caret-color: #000 !important;
  -webkit-text-fill-color: #412400 !important;
}
.qty-input:focus {
  outline: none;
  caret-color: #000 !important;
  -webkit-text-fill-color: #412400 !important;
}
.qty-input:focus-visible {
  caret-color: #000 !important;
}

.product-detail-content .request-quote-btn {
  background: #6a4014;
  color: white;
  border: none;
  flex: 1 1 auto;
  padding: 0 24px;
  min-height: 42px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.product-detail-content .request-quote-btn:hover {
  background: #523111;
}

.products-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.product-item {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  padding: 30px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease;
}
.product-item:hover {
  box-shadow: var(--shadow-lg);
}

.product-image-container {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-light);
}
.product-image-container .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.product-image-container .product-image:hover {
  transform: scale(1.05);
}
.product-image-container .zoom-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-color);
  transition: background 0.3s ease;
  box-shadow: var(--shadow);
}
.product-image-container .zoom-button:hover {
  background: var(--bg-color);
}
.product-image-container .zoom-button svg {
  width: 20px;
  height: 20px;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.product-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-color);
}

.product-number {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

.product-description {
  font-size: 15px;
  color: var(--text-color);
  line-height: 1.7;
}

.purchase-options {
  margin-top: 20px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 8px;
}

.purchase-options-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}

.options-grid {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.option-item {
  flex: 1;
  min-width: 120px;
}

.option-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: var(--bg-color);
  border: 2px solid var(--border-color);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.option-label:hover {
  border-color: var(--primary-color);
  background: #f0f7ff;
}
.option-label .option-radio {
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.option-label .option-radio:checked + .option-text {
  color: var(--primary-color);
  font-weight: 600;
}
.option-label:has(.option-radio:checked) {
  border-color: var(--primary-color);
  background: #e8f0fe;
}

.option-text {
  font-size: 14px;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.request-quote-btn {
  width: 100%;
  padding: 14px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}
.request-quote-btn:hover {
  background: var(--primary-hover);
}
.request-quote-btn:active {
  transform: scale(0.98);
}

.minicart-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.minicart-overlay.active {
  display: block;
}

.minicart {
  position: fixed;
  top: 0;
  right: -380px;
  width: 360px;
  height: 100vh;
  background: white;
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}
.minicart.active {
  right: 0;
}

.minicart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #e6d9c8;
}

.minicart-title {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.minicart-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  width: 32px;
  height: 32px;
}
.minicart-close:hover {
  opacity: 0.7;
}
.minicart-close svg {
  width: 20px;
  height: 20px;
  stroke: #000;
}

.minicart-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.minicart-empty {
  text-align: center;
  color: #8b6f47;
  padding: 60px 12px;
  font-size: 16px;
}

.minicart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #f8efe3;
  border: 1px solid #efe2d2;
  border-radius: 2px;
  margin-bottom: 12px;
}
.minicart-item:last-child {
  margin-bottom: 0;
}
.minicart-item .minicart-item-image {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 2px;
  background: #fff;
  border: 1px solid #efe2d2;
  flex-shrink: 0;
  padding: 4px;
}
.minicart-item .minicart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.minicart-item .minicart-item-info .minicart-item-title-line {
  font-size: 13px;
  font-weight: 700;
  color: #3a2a1a;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}
.minicart-item .minicart-item-info .minicart-item-number {
  font-size: 12px;
  color: #3a2a1a;
  font-weight: 500;
  margin-top: 4px;
}
.minicart-item .minicart-item-remove {
  background: #efe2d2;
  border: 1px solid #e0d1bf;
  color: #3a2a1a;
  cursor: pointer;
  padding: 0;
  font-size: 16px;
  font-weight: 500;
  transition: opacity 0.3s ease;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 2px;
}
.minicart-item .minicart-item-remove:hover {
  opacity: 0.7;
  background: #e7d6c3;
}

.minicart-footer {
  padding: 16px 20px 20px 20px;
  border-top: 1px solid #e6d9c8;
}

.finish-quote-btn {
  width: 100%;
  padding: 14px;
  background: #412400;
  color: white;
  border: none;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.finish-quote-btn:hover:not(:disabled) {
  background: #2d1a00;
}
.finish-quote-btn:disabled {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
}

.custom-alert {
  position: fixed;
  top: 18px;
  left: 50%;
  right: auto;
  z-index: 2600;
  width: min(560px, 100vw - 24px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -18px) scale(0.96);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.custom-alert.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}
.custom-alert.is-success .custom-alert-content {
  border-color: #b8dfbf;
  background: #f3fbf4;
  color: #235c2b;
}
.custom-alert.is-warning .custom-alert-content {
  border-color: #f0bf58;
  background: linear-gradient(135deg, #fff5d8 0%, #ffe8a6 100%);
  color: #6e4700;
  box-shadow: 0 18px 44px rgba(179, 124, 0, 0.28);
}
.custom-alert.is-error .custom-alert-content {
  border-color: #e6b8b5;
  background: #fff2f1;
  color: #8a2c25;
}

.custom-alert-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 2px solid #eadbc9;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(53, 34, 13, 0.18);
  background: #fffaf6;
}

.custom-alert-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  background: rgba(0, 0, 0, 0.1);
}

.custom-alert.is-warning .custom-alert-icon {
  background: #a56a00;
  color: #fff;
}

.custom-alert.is-success .custom-alert-icon {
  background: #2f7a36;
  color: #fff;
}

.custom-alert.is-error .custom-alert-icon {
  background: #b83a34;
  color: #fff;
}

.custom-alert-message {
  flex: 1;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
}

.custom-alert-close {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.custom-alert-close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.quote-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(45, 24, 6, 0.45);
  z-index: 2200;
  padding: 24px;
  align-items: center;
  justify-content: center;
}
.quote-modal.active {
  display: flex;
}

.quote-modal-dialog {
  width: min(1100px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  background: linear-gradient(180deg, #fffaf6 0%, #f8eee5 100%);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(73, 49, 18, 0.22);
  padding: 24px;
}

.quote-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.quote-modal-header-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quote-modal-title {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #5a3413;
}

.quote-modal-language {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-modal-language-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b5a3f;
}

.language-flags-modal {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 210, 193, 0.9);
  border-radius: 999px;
  padding: 4px;
}

.quote-modal-close {
  border: none;
  background: rgba(255, 255, 255, 0.72);
  color: #6a4014;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.quote-modal-close:hover {
  background: #fff;
  transform: scale(1.03);
}

.quote-modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.quote-form-card,
.quote-summary-card-modal {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(226, 210, 193, 0.9);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(73, 49, 18, 0.08);
  padding: 18px;
}

.quote-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.quote-card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #4a2f19;
}

.quote-card-edit {
  color: #8a684b;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.quote-form-fields {
  display: grid;
  gap: 10px;
}

.quote-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.quote-field span {
  font-size: 14px;
  font-weight: 600;
  color: #6f5032;
}
.quote-field input,
.quote-field textarea {
  width: 100%;
  border: 1px solid #e3d4c5;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 16px;
  color: #412400;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.quote-field.has-error input,
.quote-field.has-error textarea {
  border-color: #b83a34;
  box-shadow: 0 0 0 3px rgba(184, 58, 52, 0.12);
}
.quote-field textarea {
  resize: vertical;
  min-height: 92px;
}
.quote-field input:focus,
.quote-field textarea:focus {
  border-color: #b58d5f;
  box-shadow: 0 0 0 3px rgba(181, 141, 95, 0.12);
}

.quote-field-error {
  font-size: 12px;
  line-height: 1.4;
  color: #b83a34;
}

.quote-form-status {
  min-height: 20px;
  margin-top: 12px;
  font-size: 14px;
  color: #7a2221;
}
.quote-form-status.success {
  color: #2f7a36;
}

.quote-summary-card-modal {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quote-summary-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quote-summary-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #ecdccd;
}
.quote-summary-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.quote-summary-image {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #eadbc9;
  border-radius: 2px;
  padding: 4px;
}

.quote-summary-info {
  min-width: 0;
}

.quote-summary-name {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  color: #4a2f19;
  margin-bottom: 2px;
}

.quote-summary-meta {
  font-size: 14px;
  line-height: 1.35;
  color: #6b5643;
}

.quote-summary-empty {
  margin: 0;
  color: #6b5643;
}

.zoom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.zoom-modal.active {
  display: flex;
}

.zoom-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}
.zoom-modal-content .zoom-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 10px;
  transition: opacity 0.3s ease;
}
.zoom-modal-content .zoom-modal-close:hover {
  opacity: 0.7;
}
.zoom-modal-content .zoom-modal-close svg {
  width: 24px;
  height: 24px;
}
.zoom-modal-content .zoom-modal-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.language-selector {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}
.header-actions .language-selector {
  position: relative;
  top: 0;
  right: 0;
}
.language-selector select {
  padding: 8px 12px;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-color);
  color: var(--text-color);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.language-selector select:hover {
  border-color: var(--primary-color);
}
.language-selector select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.header .language-selector {
  position: relative;
  top: 0;
  right: 0;
}

.header-actions .language-selector {
  position: relative;
  top: 0;
  right: 0;
}

@media (max-width: 768px) {
  .home-container {
    align-items: flex-start;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .logo-img-home {
    max-width: min(200px, 52vw);
    margin-bottom: 14px;
  }
  .main-title {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }
  .subtitle {
    margin-bottom: 20px;
  }
  .search-container-home {
    margin-bottom: 18px;
  }
  .search-container-home .search-form {
    height: 58px;
  }
  .search-container-home .search-input {
    padding-left: 22px;
    font-size: 16px;
  }
  .search-container-home .search-button {
    width: 62px;
    flex-basis: 62px;
  }
  .search-container-home .search-suggestions-overlay {
    left: 16px;
    right: 16px;
    top: calc(100% - 4px);
    max-height: min(220px, 100vh - 240px);
  }
  .search-container-home .suggestions-list .suggestion-item {
    display: grid;
    grid-template-columns: minmax(72px, max-content) minmax(0, 1fr);
    align-items: start;
    gap: 6px 10px;
    padding: 9px 10px;
  }
  .search-container-home .suggestions-list .suggestion-item .suggestion-title {
    font-size: 14px;
    line-height: 1.15;
  }
  .search-container-home .suggestions-list .suggestion-item .suggestion-subtitle {
    min-width: 0;
    font-size: 12px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
  .popular-searches-title {
    margin-top: 20px;
    font-size: 18px;
  }
  .recent-home-list {
    padding-left: 28px;
    padding-right: 28px;
  }
  .recent-home-list.loading .recent-home-skeleton:nth-child(n+4) {
    display: none !important;
  }
  .recent-home-item,
  .recent-home-skeleton {
    min-width: 210px;
    max-width: 230px;
    padding: 14px;
    grid-template-columns: 58px 1fr;
    column-gap: 12px;
  }
  .recent-home-thumb,
  .recent-home-skeleton-thumb {
    width: 58px;
    height: 58px;
  }
  .recent-home-part-number,
  .recent-home-skeleton-line {
    font-size: 17px;
  }
  .recent-home-desc {
    font-size: 13px;
  }
  .trusted-marketplace-banner {
    flex-direction: column;
    gap: 18px;
    width: auto;
    margin: 0;
    padding: 18px;
    text-align: center;
  }
  .custom-alert {
    top: 12px;
    width: calc(100vw - 20px);
  }
  .trusted-col.center {
    width: 100%;
    min-width: 0;
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(117, 91, 52, 0.14);
    border-bottom: 1px solid rgba(117, 91, 52, 0.14);
    padding: 16px 0;
    margin: 0;
  }
  .trusted-logos {
    gap: 10px 18px;
    max-width: 100%;
    padding: 0 4px;
  }
  .trusted-logos span {
    font-size: 0.82em !important;
  }
  .quote-modal {
    padding: 14px;
  }
  .quote-modal-dialog {
    padding: 18px;
    border-radius: 18px;
  }
  .quote-modal-layout {
    grid-template-columns: 1fr;
  }
  .quote-modal-header {
    align-items: flex-start;
  }
  .quote-modal-header-main {
    width: 100%;
  }
  .quote-modal-language {
    flex-wrap: wrap;
  }
  .trusted-stats {
    gap: 18px;
    flex-wrap: wrap;
  }
  .product-item {
    grid-template-columns: 1fr;
  }
  .product-image-container {
    height: 250px;
  }
  .minicart {
    width: 100%;
    right: -100%;
  }
  .header-content {
    flex-direction: column;
    gap: 15px;
  }
  .search-container-header {
    width: 100%;
    max-width: 100%;
  }
  .language-selector {
    top: 10px;
    right: 10px;
  }
  .language-selector select {
    padding: 6px 10px;
    font-size: 12px;
  }
  .product-detail-section {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 40px;
  }
  .results-loading-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .product-detail-title {
    font-size: 24px;
    margin-bottom: 28px;
  }
  .results-loading-image {
    min-height: 280px;
  }
  .results-loading-line.skeleton-title {
    width: 24%;
  }
  .results-loading-line.short,
  .results-loading-option {
    width: 100%;
  }
  .purchase-option-row {
    gap: 18px;
    align-items: stretch;
    padding: 24px 16px;
  }
  .purchase-option-row .option-info {
    width: 100%;
    justify-content: flex-start;
  }
  .purchase-option-row .option-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .purchase-option-row .quantity-selector {
    width: auto;
    justify-content: flex-start;
  }
  .purchase-option-row .request-quote-btn {
    width: 100%;
  }
  .product-main-image {
    min-height: 280px;
  }
  .product-main-image img {
    min-height: 280px;
  }
}
@media (max-height: 820px) {
  .home-container {
    align-items: flex-start;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .logo-img-home {
    max-width: 200px;
    margin-bottom: 12px;
  }
  .main-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
  }
  .subtitle {
    margin-bottom: 22px;
  }
  .search-container-home {
    margin-bottom: 16px;
  }
  .popular-searches-title {
    margin-top: 18px;
  }
  .recent-home-section {
    margin-bottom: 24px;
  }
  .recent-home-list.loading .recent-home-skeleton:nth-child(n+3) {
    display: none !important;
  }
}
@media (max-width: 650px) {
  .recent-home-list.loading .recent-home-skeleton:nth-child(n+2) {
    display: none !important;
  }
}
