html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0;
  background: #f9f9f9;
  color: #333;
  line-height: 1.5;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px;
}

.promo-banner {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
  color: white;
  padding: 8px 0;
  text-align: center;
}

.promo-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 0 16px;
}

.promo-text {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.countdown {
  display: flex;
  gap: 16px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 6px;
  min-width: 50px;
}

.countdown-value {
  font-size: 18px;
  font-weight: 700;
  color: #ff9800;
}

.countdown-label {
  font-size: 11px;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 2px;
}

.social-bar {
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding: 10px 0;
}

.social-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 25px;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.social-link svg {
  flex-shrink: 0;
  pointer-events: none;
}

.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  color: #2c5aa0;
  white-space: nowrap;
}

.mobile-cart-icon {
  display: none;
}

.mobile-profile-icon {
  display: none;
}

.mobile-heart-icon {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.nav-left,
.nav-right {
  display: contents;
}

.main-nav a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
  white-space: nowrap;
}

.main-nav a:hover {
  color: #2c5aa0;
}

.cart-link {
  background: transparent;
  transition: color 0.2s;
}

.social-link.instagram-link {
  background: linear-gradient(135deg, #833AB4 0%, #C13584 50%, #E4405F 100%);
  color: white !important;
  box-shadow: 0 2px 6px rgba(228, 64, 95, 0.3);
}

.social-link.instagram-link:hover {
  background: linear-gradient(135deg, #6a2d91 0%, #9f2b6d 50%, #c7334c 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(228, 64, 95, 0.5);
}

.social-link.whatsapp-link {
  background: #25D366;
  color: white !important;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
}

.social-link.whatsapp-link:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.5);
}

.social-link:active {
  transform: translateY(0);
}

.social-link span {
  pointer-events: none;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 20px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  cursor: pointer;
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap;
}

.social-icon svg {
  flex-shrink: 0;
  pointer-events: none;
}

.social-icon span {
  pointer-events: none;
}

.social-icon.instagram-icon {
  background: linear-gradient(135deg, #833AB4 0%, #C13584 50%, #E4405F 100%);
  color: white !important;
  box-shadow: 0 2px 6px rgba(228, 64, 95, 0.3);
}

.social-icon.instagram-icon:hover {
  background: linear-gradient(135deg, #6a2d91 0%, #9f2b6d 50%, #c7334c 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(228, 64, 95, 0.5);
}

.social-icon.whatsapp-icon {
  background: #25D366;
  color: white !important;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
}

.social-icon.whatsapp-icon:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.5);
}

.social-icon:active {
  transform: translateY(0);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #333;
  border-radius: 3px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.site-footer {
  background: #ffffff;
  color: #333333;
  margin-top: 60px;
  padding: 40px 0 0 0;
  border-top: 1px solid #e0e0e0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: #333333;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  border-bottom: 2px solid #2c5aa0;
  padding-bottom: 8px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #666666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-column ul li a:hover {
  color: #2c5aa0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.phone-info-line {
  margin: 0 0 6px 0;
  font-size: 14px;
  line-height: 1.6;
}

.phone-label {
  display: block;
  font-size: 13px;
  color: #666;
  font-weight: 400;
  margin-bottom: 3px;
}

.phone-info-line a {
  color: #2c5aa0;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

.phone-info-line a:hover {
  color: #1e3a70;
  text-decoration: underline;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 8px;
}

.contact-btn svg {
  flex-shrink: 0;
  vertical-align: middle;
}

.contact-btn span {
  pointer-events: none;
}

.whatsapp-btn {
  background: #25D366;
  color: white !important;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.5);
  text-decoration: none !important;
}

.whatsapp-btn:active {
  transform: translateY(0);
}

.footer-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(44, 90, 160, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(44, 90, 160, 0.3);
}

.feature-item svg {
  color: #2c5aa0;
  flex-shrink: 0;
}

.feature-item span {
  font-size: 12px;
  font-weight: 600;
  color: #2c5aa0;
  letter-spacing: 0.5px;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.footer-social .footer-logo-link {
  display: inline-flex;
  align-items: center;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border-radius: 6px !important;
}

.footer-social .footer-logo-link:hover {
  background: transparent !important;
  transform: translateY(-3px);
}

.footer-social .footer-logo-img {
  height: 80px;
  width: auto;
  border-radius: 6px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  border-radius: 50%;
  color: #666666;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: #2c5aa0;
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-payment-logos {
  padding: 30px 0;
  border-top: 1px solid #e0e0e0;
  background: #ffffff;
}

.payment-logos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.payment-logo {
  height: 25px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  filter: grayscale(0%);
  transition: opacity 0.3s ease;
}

.payment-logo:hover {
  opacity: 0.8;
}

.bank-logo-img {
  max-width: 90px;
  height: 30px;
}

.qnb-logo {
  max-width: 120px !important;
  height: 40px !important;
}

.payment-logo-img.qnb-logo {
  max-width: 120px !important;
  height: 40px !important;
}

.card-logo-img {
  max-width: 50px;
  height: 30px;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
}

.footer-bottom p {
  margin: 0;
  color: #666666;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-column:last-child {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-column:last-child .contact-info {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .promo-content {
    gap: 12px;
  }

  .promo-text {
    font-size: 13px;
  }

  .countdown {
    gap: 8px;
  }

  .countdown-item {
    padding: 4px 8px;
    min-width: 40px;
  }

  .countdown-value {
    font-size: 14px;
  }

  .countdown-label {
    font-size: 9px;
  }

  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none !important;
  }

  .social-bar {
    padding: 8px 0;
  }

  .social-container {
    gap: 12px;
    padding: 0 12px;
  }

  .social-link {
    padding: 6px 12px;
    font-size: 13px;
  }

  .social-link svg {
    width: 18px;
    height: 18px;
  }

  .header-container {
    height: 70px;
    padding: 0 12px;
    box-sizing: border-box;

  }

  .hamburger {
    display: flex;
    order: 5;
  }

  .mobile-profile-icon {
    display: flex;
    order: 2;
    margin-left: auto;
    margin-right: 15px;
    align-items: center;
  }

  .mobile-profile-icon img {
    height: 24px;
    width: auto;
  }

  .mobile-heart-icon {
    display: flex;
    order: 3;
    margin-left: 0;
    margin-right: 15px;
    align-items: center;
  }

  .mobile-heart-icon img {
    height: 24px;
    width: auto;
  }

  .mobile-cart-icon {
    display: flex;
    order: 4;
    margin-left: 0;
    margin-right: 15px;
    align-items: center;
  }

  .mobile-cart-icon img {
    height: 24px;
    width: auto;
  }

  .logo {
    order: 1;
    font-size: 18px;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 20px 0 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 200;
    overflow-y: auto;
  }

  .main-nav.active {
    left: 0;
  }

  .nav-left,
  .nav-right {
    display: contents;
  }

  .main-nav a[href="/"] {
    order: 1;
  }

  #profileLink {
    order: 2;
  }

  #myOrdersLink,
  #orderQueryLink {
    order: 3;
  }

  .cart-link {
    order: 4;
  }

  #wishlistLink {
    order: 5;
  }

  .main-nav a[href="/iletisim/"] {
    order: 6;
  }

  #adminPanelLink {
    order: 7;
  }

  #loginLink,
  #registerLink {
    order: 8;
  }

  #logoutLink {
    order: 9;
  }

  .main-nav a {
    width: 100%;
    padding: 14px 20px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .main-nav a:hover {
    background: #f8f9fa;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-column {
    text-align: center;
  }

  .footer-column ul li a {
    font-size: 13px;
  }

  .contact-info {
    align-items: center;
  }

  .phone-info-line {
    font-size: 13px;
    text-align: center;
  }

  .phone-label {
    font-size: 12px;
  }

  .phone-info-line a {
    font-size: 14px;
  }

  .contact-btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  .contact-btn svg {
    width: 18px;
    height: 18px;
  }

  .footer-features {
    align-items: center;
  }

  .feature-item {
    justify-content: center;
    max-width: 200px;
  }

  .footer-social {
    gap: 15px;
    padding: 25px 0;
  }

  .footer-social a {
    width: 36px;
    height: 36px;
  }

  .footer-payment-logos {
    padding: 20px 0;
  }

  .payment-logos-container {
    gap: 12px;
    padding: 0 16px;
  }

  .payment-logo {
    height: 20px;
    max-width: 70px;
  }

  .bank-logo-img {
    max-width: 75px;
    height: 25px;
  }

  .qnb-logo {
    max-width: 100px !important;
    height: 35px !important;
  }

  .payment-logo-img.qnb-logo {
    max-width: 100px !important;
    height: 35px !important;
  }

  .card-logo-img {
    max-width: 45px;
    height: 25px;
  }
}

.categories-container {
  margin-top: 24px;
}

.category-section {
  margin-bottom: 48px;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-section:has(#stor-perdeler),
.category-section:has([data-category="stor-perdeler"]) {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-section h2 {
  margin: 0 0 24px 0;
  font-size: 32px;
  font-weight: 600;
  color: #000;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding-bottom: 16px;
  position: relative;
  transition: all 0.3s ease;
  line-height: 1.2;
}

.category-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #2c5aa0 0%, rgba(44, 90, 160, 0.3) 100%);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.category-section h2:hover {
  transform: translateX(4px);
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

.category-section h2:hover::after {
  width: 100px;
}

.grid,
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.card {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px;
  display: block;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card h3 {
  margin: 12px 0 8px 0;
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

.card p {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.card .rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.rating-stars {
  display: flex;
  gap: 2px;
}

.rating-stars .star {
  font-size: 16px;
  line-height: 1;
  position: relative;
  color: #d1d5db;
  display: inline-block;
}

.rating-stars .star.full {
  color: #fbbf24;
}

.rating-stars .star.half::before {
  content: "★";
  color: #fbbf24;
  position: absolute;
  left: 0;
  width: 50%;
  overflow: hidden;
}

.rating-stars .star.empty {
  color: #d1d5db;
}

.rating-meta {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 13px;
  color: #4b5563;
}

.rating-value {
  font-weight: 600;
  color: #1f2937;
}

img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

#measureForm {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

#measureForm label {
  display: block;
  margin-bottom: 16px;
  font-weight: 500;
  color: #333;
}

#measureForm input,
#measureForm select {
  width: 100%;
  padding: 12px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 16px;
  margin-top: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

#measureForm select option {
  font-size: 17px;
  padding: 12px 16px;
  line-height: 2.2;
  min-height: 48px;
}

#measureForm input:focus,
#measureForm select:focus {
  outline: none;
  border-color: #2c5aa0;
  box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

button {
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fafafa;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
}

button:hover {
  background: #f0f0f0;
  border-color: #ccc;
  transform: translateY(-1px);
}

button[type="submit"] {
  background: #2c5aa0;
  color: white;
  border-color: #2c5aa0;
}

button[type="submit"]:hover {
  background: #1e3f73;
  border-color: #1e3f73;
}

.price {
  font-size: 16px;
  margin-top: 10px;
  font-weight: bold;
  color: #2c5aa0;
  background: #f8f9ff;
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-block;
  white-space: nowrap;
}

.price .price-old {
  text-decoration: line-through;
  color: #666;
  margin-right: 8px;
  font-size: 14px;
  font-weight: normal;
  white-space: nowrap;
}

.price .price-new {
  font-weight: bold;
  color: #2c5aa0;
  white-space: nowrap;
}

.muted {
  color: #666;
  font-size: 13px;
  margin-top: 4px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  margin-right: 25px;
}

.actions button {
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
}

#priceBox {
  margin-top: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

#priceBox:empty {
  display: none;
  margin: 0;
  padding: 0;
}

.price-result {
  text-align: center;
  animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.price-main {
  font-size: 28px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 20px;
  padding: 24px 20px;
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(44, 90, 160, 0.25), 0 4px 12px rgba(44, 90, 160, 0.15);
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.price-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 16px;
}

.price-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(44, 90, 160, 0.3), 0 6px 16px rgba(44, 90, 160, 0.2);
}

.price-main strong {
  font-size: 32px;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.5px;
}

.price-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 0;
}

.price-details>div {
  padding: 16px 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.price-details>div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #2c5aa0 0%, #1e3f73 100%);
  border-radius: 0 4px 4px 0;
}

.price-details>div:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 90, 160, 0.1);
  border-color: #2c5aa0;
}

@media (max-width: 768px) {
  .price-main {
    font-size: 24px;
    padding: 20px 16px;
  }

  .price-main strong {
    font-size: 28px;
  }

  .price-details {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .price-details>div {
    padding: 14px 12px;
  }
}

.price-info {
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px dashed #ccc;
}

.price-error {
  text-align: center;
  color: #d32f2f;
  font-weight: 500;
  padding: 16px;
  background: #ffebee;
  border-radius: 8px;
  border: 1px solid #ffcdd2;
}

.product-trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
}

.trust-badge:hover {
  background: #fff;
  border-color: #2c5aa0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.trust-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.trust-text {
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .product-trust-badges {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .trust-badge {
    padding: 10px;
  }
}

.card-wrapper {
  position: relative;
}

.wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.wishlist-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  background: white;
}

.wishlist-btn.in-wishlist {
  background: rgba(255, 255, 255, 0.9);
}

.wishlist-btn:active {
  transform: scale(1.0);
}

.product-wishlist-btn {
  background: white;
  border: 2px solid #e5e7eb;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.product-wishlist-btn:hover {
  border-color: #ef4444;
  background: #fef2f2;
}

.product-wishlist-btn.in-wishlist {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border-color: #ef4444;
  color: white;
}

.product-wishlist-btn.in-wishlist:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.wishlist-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #10b981;
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  z-index: 10000;
  animation: slideIn 0.3s ease-out;
  max-width: 400px;
  font-size: 15px;
  font-weight: 500;
}

.wishlist-notification.error {
  background: #ef4444;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}

.wishlist-notification.warning {
  background: #f59e0b;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.wishlist-notification.info {
  background: #3b82f6;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

.hero-search-section {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
  padding: 60px 20px;
  margin: -16px -16px 32px -16px;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 8px 24px rgba(44, 90, 160, 0.2);
}

.hero-search-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  color: white;
  margin: 0 0 12px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 32px 0;
  font-weight: 400;
}

.search-container {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.search-wrapper {
  display: flex;
  align-items: center;
  background: white;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.search-wrapper:focus-within {
  border-color: rgba(255, 255, 255, 0.4);
  background: #fff;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.search-input {
  flex: 1;
  padding: 18px 24px;
  border: none;
  background: transparent;
  font-size: 16px;
  color: #333;
  outline: none;
}

.search-input::placeholder {
  color: #999;
}

.search-btn,
.filter-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #666;
  transition: all 0.2s ease;
}

.search-btn:hover,
.filter-toggle-btn:hover {
  color: #2c5aa0;
  background: rgba(44, 90, 160, 0.1);
}

.filter-toggle-btn {
  border-left: 1px solid #e9ecef;
}

.filter-toggle-btn.active {
  color: #2c5aa0;
  background: rgba(44, 90, 160, 0.15);
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e9ecef;
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.search-suggestions.active {
  display: block;
  animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.suggestion-item {
  display: flex;
  align-items: center;
  padding: 16px 18px;
  gap: 16px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.2s ease;
  cursor: pointer;
}

.suggestion-item:hover,
.suggestion-item.selected {
  background: #f8f9ff;
}

.suggestion-item:last-child {
  border-bottom: none;
  border-radius: 0 0 12px 12px;
}

.suggestion-image {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: contain;
  background: #f5f5f5;
  flex-shrink: 0;
}

.suggestion-info {
  flex: 1;
  min-width: 0;
}

.suggestion-name {
  font-weight: 600;
  font-size: 14px;
  color: #222;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.suggestion-category {
  color: #666;
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 4px;
}

.suggestion-price {
  color: #2c5aa0;
  font-weight: 600;
}

.suggestion-loading,
.suggestion-empty {
  padding: 20px;
  text-align: center;
  color: #666;
  font-size: 14px;
}

.suggestion-all-results {
  display: block;
  padding: 14px 16px;
  text-align: center;
  background: #f8f9ff;
  color: #2c5aa0;
  font-weight: 600;
  text-decoration: none;
  border-top: 1px solid #e9ecef;
  transition: background 0.2s ease;
}

.suggestion-all-results:hover {
  background: #e8f0ff;
}

.filter-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.filter-panel.active {
  right: 0;
}

.filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.filter-overlay.active {
  opacity: 1;
  visibility: visible;
}

.filter-panel-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e9ecef;
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
  color: white;
}

.filter-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.filter-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.filter-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.filter-body {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}

.filter-group {
  margin-bottom: 24px;
}

.filter-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.filter-select,
.filter-input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 15px;
  color: #333;
  background: #fff;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.filter-select:focus,
.filter-input:focus {
  outline: none;
  border-color: #2c5aa0;
  box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.price-range-inputs {
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-range-inputs .filter-input {
  flex: 1;
}

.price-separator {
  color: #999;
  font-weight: 600;
}

.filter-actions {
  padding: 20px 24px;
  border-top: 1px solid #e9ecef;
  display: flex;
  gap: 12px;
}

.filter-apply-btn,
.filter-reset-btn {
  flex: 1;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-apply-btn {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
  color: white;
  border: none;
}

.filter-apply-btn:hover {
  background: linear-gradient(135deg, #1e3f73 0%, #152b52 100%);
  transform: translateY(-1px);
}

.filter-reset-btn {
  background: #fff;
  color: #666;
  border: 2px solid #e9ecef;
}

.filter-reset-btn:hover {
  background: #f8f9fa;
  border-color: #ccc;
}

.search-results-container {
  margin-top: 24px;
}

.search-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-results-title {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin: 0;
}

.search-results-count {
  font-size: 14px;
  color: #666;
  background: #f0f0f0;
  padding: 6px 14px;
  border-radius: 20px;
}

.search-no-results {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-no-results-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.search-no-results h3 {
  font-size: 20px;
  color: #333;
  margin: 0 0 8px 0;
}

.search-no-results p {
  color: #666;
  margin: 0;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #e8f0ff;
  color: #2c5aa0;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.active-filter-tag button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  background: rgba(44, 90, 160, 0.2);
  border: none;
  border-radius: 50%;
  color: #2c5aa0;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.active-filter-tag button:hover {
  background: rgba(44, 90, 160, 0.4);
}

@media (max-width: 768px) {
  .hero-search-section {
    padding: 40px 16px;
    margin: 0 0 24px 0;
    border-radius: 24px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .search-container {
    max-width: 100%;
  }

  .search-wrapper {
    border-radius: 12px;
  }

  .search-input {
    padding: 14px 16px;
    font-size: 15px;
  }

  .search-btn,
  .filter-toggle-btn {
    width: 48px;
    height: 48px;
  }

  .filter-panel {
    width: 100%;
    max-width: none;
    right: -100%;
  }
}

.qty-btn {
  width: 22px !important;
  height: 22px !important;
  background: #2c5aa0 !important;
  color: white !important;
  border: none !important;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px !important;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.qty-btn:hover {
  background: #1e3f73 !important;
  transform: scale(1.05);
}

.qty-btn:active {
  transform: scale(0.95);
}
