/* AWP PrintWise - Product Grid Styles */
/* Fintech/Banking style: ultra-minimalist, calm, trustworthy */
/* Inter: headings 700, body 400–500 - PHP tarafından yüklenir */

.awp-product-grid-section,
.awp-product-grid-section .awp-product-card,
.awp-product-grid-section .awp-product-modal,
.awp-product-modal {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}

/* Section: soft neutral background, more whitespace */
.awp-product-grid-section {
  padding-top: 32px;
  padding-bottom: 48px;
  background: #f7f8fa;
  position: relative;
  z-index: 1; /* Modal katmanlarının altında kalsın */
}

@media (min-width: 768px) {
  .awp-product-grid-section {
    padding-top: 40px;
    padding-bottom: 56px;
  }
}

.awp-product-grid-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 16px;
}

@media (min-width: 768px) {
  .awp-product-grid-container {
    padding: 24px 32px;
  }
}

/* Kaç adımda ürün elinize ulaşır – Bankacılık tarzı infografik (D1–D4 renkleri) */
.awp-delivery-steps-infographic {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 32px;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .awp-delivery-steps-infographic {
    margin-bottom: 40px;
    padding: 0 32px;
  }
}

.awp-delivery-steps-heading {
  font-size: 1rem;
  font-weight: 500;
  color: #1e293b;
  margin: 0 0 20px;
  text-align: center;
}

@media (min-width: 768px) {
  .awp-delivery-steps-heading {
    font-size: 1.125rem;
    margin-bottom: 24px;
  }
}

.awp-delivery-steps-track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@media (min-width: 640px) {
  .awp-delivery-steps-track {
    gap: 0;
    flex-wrap: nowrap;
  }
}

.awp-delivery-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  min-width: 100px;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.awp-delivery-step:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@media (min-width: 640px) {
  .awp-delivery-step {
    padding: 20px 16px;
    min-width: 120px;
  }
}

.awp-delivery-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.awp-delivery-step-icon svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

.awp-delivery-step--d1 .awp-delivery-step-icon {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.awp-delivery-step--d2 .awp-delivery-step-icon {
  background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
}

.awp-delivery-step--d3 .awp-delivery-step-icon {
  background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
}

.awp-delivery-step--d4 .awp-delivery-step-icon {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.awp-delivery-step-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #334155;
}

@media (min-width: 768px) {
  .awp-delivery-step-label {
    font-size: 0.875rem;
  }
}

.awp-delivery-step-connector {
  display: none;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, #e2e8f0, #cbd5e1);
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .awp-delivery-step-connector {
    display: block;
  }
}

/* Grid: 5 desktop, 3 tablet, 2 mobile */
.awp-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
}

@media (min-width: 640px) {
  .awp-product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .awp-product-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
  }
}

@media (max-width: 360px) {
  .awp-product-grid {
    gap: 12px;
  }
}

/* Card: flat, almost no shadow, compact */
.awp-product-card {
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.awp-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.awp-product-card:active {
  transform: translateY(0);
}

.awp-product-card-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  background: #f1f3f4;
  border-radius: 6px 6px 0 0;
}

.awp-product-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
}

.awp-product-card:hover .awp-product-card-image {
  filter: saturate(1);
}

.awp-product-card-image-wrapper--carousel .awp-product-card-image {
  transition: opacity 0.35s ease;
}

/* Wishlist icon: top-right, low opacity */
.awp-product-card-wishlist-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0.4;
  pointer-events: none;
}

.awp-product-card:hover .awp-product-card-wishlist-icon {
  opacity: 0.6;
}

/* Tags: smaller, monochrome (white on dark semi-transparent) */
.awp-product-card-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 10;
  background: rgba(0, 0, 0, 0.55);
}

/* İndirim: kırmızı ton */
.awp-product-card-badge-sale {
  background: #dc2626;
  color: #ffffff;
}

/* Özelleştir: mor/indigo ton */
.awp-product-card-badge-customizable {
  background: #6366f1;
  color: #ffffff;
}

/* Standart: gri/slate ton */
.awp-product-card-badge-standard {
  background: #64748b;
  color: #ffffff;
}

.awp-product-card-image-wrapper:has(.awp-product-card-badge-sale):has(
    .awp-product-card-badge-customizable
  )
  .awp-product-card-badge-customizable,
.awp-product-card-image-wrapper:has(.awp-product-card-badge-sale):has(
    .awp-product-card-badge-standard
  )
  .awp-product-card-badge-standard {
  left: auto;
  right: 8px;
}

/* CTA overlay: mobil bankacılık - minimal, hover'da görünür */
.awp-product-card-cta-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 6px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(3px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  z-index: 10;
}

.awp-product-card:hover .awp-product-card-cta-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Kart içeriği: Hizalama - tüm kartlarda aynı satır aynı hizada */
.awp-product-card-content {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 0;
}

@media (min-width: 640px) {
  .awp-product-card-content {
    padding: 14px 16px 16px;
    gap: 5px;
  }
}

.awp-product-card-category {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0;
  line-height: 1.2;
  min-height: 14px;
}

.awp-product-card-title {
  font-size: 13px;
  font-weight: 900;
  color: #374151;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif !important;
}

@media (min-width: 640px) {
  .awp-product-card-title {
    font-size: 14px;
    min-height: 2.7em;
  }
}

.awp-product-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  min-height: 18px;
}

.awp-product-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 500;
  color: #1e293b;
}

.awp-product-card-rating svg {
  width: 12px;
  height: 12px;
  color: #eab308;
  flex-shrink: 0;
}

.awp-product-card-reviews {
  font-size: 11px;
  font-weight: 400;
  color: #9ca3af;
}

.awp-product-card-stock {
  font-size: 10px;
  font-weight: 500;
}

.awp-product-card-stock.in-stock {
  color: #059669;
}

.awp-product-card-stock.out-of-stock {
  color: #dc2626;
}

.awp-product-card-description {
  font-size: 12px;
  font-weight: 400;
  color: #9ca3af;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.awp-product-card-price-wrap {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

/* Fiyat: Inter 900, para birimi küçük */
.awp-product-card-price {
  font-size: 15px;
  font-weight: 900;
  color: #1e3a5f;
  margin: 0;
}

.awp-product-card-price .currency {
  font-size: 0.65em;
  font-weight: 500;
  opacity: 0.75;
  vertical-align: 0.15em;
}

.awp-product-card-price del {
  color: #9ca3af;
  font-size: 12px;
  font-weight: 400;
  margin-right: 4px;
  opacity: 0.8;
}

.awp-product-card-price del .currency {
  font-size: 0.72em;
  opacity: 0.7;
}

/* CTA button: metin sığsın (TR/MK/EN), satır kaydırmaya izin ver */
.awp-product-card-button {
  background: rgba(30, 41, 59, 0.95);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.18s ease;
  min-width: 90px;
  max-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.25;
}

.awp-product-card-button:hover {
  background: rgba(30, 41, 59, 1);
  transform: translateY(-0.3px);
}

.awp-product-card-button:active {
  transform: translateY(0);
}

/**
 * Product Card Skeleton (Instant Render - No Loading Text)
 */
.awp-product-card-skeleton {
  pointer-events: none;
  opacity: 0.6;
}

.awp-product-card-skeleton-image {
  width: 100%;
  padding-top: 100%;
  background: linear-gradient(90deg, #f1f3f4 25%, #e8eaed 50%, #f1f3f4 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: 6px 6px 0 0;
}

.awp-product-card-skeleton-title {
  height: 16px;
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: 6px;
  margin-top: 8px;
  margin-bottom: 6px;
  width: 80%;
}

.awp-product-card-skeleton-price {
  height: 14px;
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: 6px;
  width: 60%;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/**
 * Product Grid Error State
 */
.awp-product-grid-error {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  text-align: center;
}

.awp-product-grid-error p {
  color: #ef4444;
  font-size: 13px;
  margin-bottom: 12px;
}

.awp-product-grid-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

/**
 * Product Modal - UI8 Style
 * 3-column layout: gallery | info | order, rounded, shadow, blurred overlay
 */
.awp-product-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999 !important;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.awp-product-modal-overlay.active {
  display: block;
  opacity: 1;
  visibility: visible;
}

.awp-product-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000000 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.awp-product-modal.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.awp-product-modal-content {
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
  max-width: 1100px;
  width: 100%;
  max-height: 92vh;
  height: fit-content;
  overflow: hidden;
  position: relative;
  transform: scale(0.98);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
}

.awp-product-modal-header {
  flex-shrink: 0;
  padding: 16px 56px 12px 24px;
  border-bottom: 1px solid #f1f5f9;
}

.awp-product-modal-breadcrumb {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0;
}

/* Modal scrollbar – content ve body ortak */
.awp-product-modal-content::-webkit-scrollbar,
.awp-product-modal-body::-webkit-scrollbar {
  width: 8px;
}

.awp-product-modal-content::-webkit-scrollbar-track,
.awp-product-modal-body::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 6px;
}

.awp-product-modal-content::-webkit-scrollbar-thumb,
.awp-product-modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 6px;
}

.awp-product-modal-content::-webkit-scrollbar-thumb:hover,
.awp-product-modal-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.awp-product-modal.active .awp-product-modal-content {
  transform: scale(1);
}

/* Loading durumunda close button'ı gizle */
.awp-product-modal-content:has(.awp-product-modal-loading)
  .awp-product-modal-close {
  display: none;
}

/* UI8 3-column layout */
.awp-product-modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  min-height: 0;
}

.awp-product-modal-col-gallery {
  min-width: 0;
  background: #f9fafb;
  border-right: 1px solid #f1f5f9;
}

.awp-product-modal-gallery-inner {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  height: 100%;
}

/* Mini ürün resimleri modal içinde, üstte yatay şerit */
.awp-product-modal-thumbs-col {
  flex-shrink: 0;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.awp-product-modal-thumbs-col::-webkit-scrollbar {
  display: none;
}

.awp-product-modal-thumbs-col .awp-product-modal-image-thumbnails {
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  width: auto;
  max-width: 100%;
  gap: 8px;
  padding: 0;
  border: none;
  background: transparent;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.awp-product-modal-thumbs-col .awp-product-modal-image-thumbnail {
  width: 56px;
  height: 56px;
  min-width: 56px;
}

/* Ana ürün resmi altta, ortalı */
.awp-product-modal-main-img-wrap {
  flex: 1;
  min-width: 0;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  position: relative;
}

.awp-product-modal-main-img-wrap .awp-product-modal-image-slider {
  width: 100%;
  height: 100%;
  min-height: 280px;
}

.awp-product-modal-main-img-wrap .awp-product-modal-image-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
}

.awp-product-modal-main-img-wrap .awp-product-modal-image,
.awp-product-modal-main-img-wrap .awp-product-modal-image-slide img {
  max-height: 360px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.awp-product-modal-col-info {
  padding: 20px 24px;
  overflow-y: auto;
  min-width: 0;
}

.awp-product-modal-col-info .awp-product-modal-title {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 10px;
  color: #111827;
}

.awp-product-modal-col-info .awp-product-modal-short-description {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 16px;
  color: #4b5563;
}

.awp-product-modal-col-info .awp-product-modal-description {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  margin-top: 0;
  color: #4b5563;
}

.awp-product-modal-col-order {
  padding: 20px 24px;
  overflow-y: auto;
  min-width: 0;
  border-left: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Özel form (awp_pw_form): modalda yalnızca hesaplayıcıya git */
.awp-product-modal-layout--awp-form .awp-product-modal-col-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  min-height: 220px;
}

.awp-product-modal-layout--awp-form .awp-product-modal-col-gallery .awp-product-modal-image {
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.awp-product-modal-col-order--form {
  justify-content: flex-start;
}

.awp-product-modal-open-form-btn {
  height: 40px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #663399;
  color: #ffffff;
  border: none;
  text-decoration: none;
  box-sizing: border-box;
}

.awp-product-modal-open-form-btn:hover {
  background: #5b21b6;
  color: #ffffff;
}

.awp-product-modal-open-form-btn:active {
  transform: scale(0.98);
}

.awp-product-modal-order-price {
  font-size: 20px;
  font-weight: 900;
  color: #111827;
}

.awp-product-modal-order-price .currency {
  font-weight: 500;
  opacity: 0.85;
}
.awp-product-modal-order-price del {
  color: #9ca3af;
  font-size: 14px;
  margin-right: 6px;
}

.awp-product-modal-stock {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
}

.awp-product-modal-stock.in-stock {
  color: #059669;
}
.awp-product-modal-stock.out-of-stock {
  color: #dc2626;
}

.awp-product-modal-col-order .awp-product-modal-module {
  padding: 0;
  border: none;
}

.awp-product-modal-col-order .awp-product-modal-personalization-title {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 10px;
}

.awp-product-modal-upload-artwork-box {
  border: 2px dashed #cbd5e1;
  border-radius: 6px;
  padding: 24px 16px;
  text-align: center;
  background: #f8fafc;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.awp-product-modal-upload-artwork-box:hover {
  border-color: #6366f1;
  background: #f5f3ff;
}

.awp-product-modal-upload-artwork-box .awp-product-modal-file-input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.awp-product-modal-upload-artwork-box .awp-product-modal-file-upload-label-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px;
  margin: 0;
  width: 100%;
  min-height: 100px;
  border: none;
  background: transparent;
  color: #6366f1;
  font-size: 14px;
  font-weight: 900;
}

.awp-product-modal-upload-artwork-box
  .awp-product-modal-file-upload-label-btn
  svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.awp-product-modal-file-list {
  margin-top: 10px;
}
.awp-product-modal-file-hint {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 400;
  color: #6b7280;
}

.awp-product-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.awp-product-modal-actions .awp-product-modal-add-to-cart-btn {
  order: 1;
  background: #111827;
  color: #ffffff !important;
  border: none;
  min-height: 48px;
  height: auto;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.25;
}

.awp-product-modal-actions
  .awp-product-modal-add-to-cart-btn:hover:not(:disabled) {
  background: #1f2937;
}

.awp-product-modal-actions .awp-product-modal-buy-now-btn {
  order: 2;
  color: #ffffff;
  border: none;
  min-height: 48px;
  height: auto;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.25;
}

.awp-product-modal-actions .awp-product-modal-buy-now-btn:hover:not(:disabled) {
  filter: brightness(1.08);
}

.awp-product-modal-actions .awp-product-modal-add-to-cart-btn:disabled,
.awp-product-modal-actions .awp-product-modal-buy-now-btn:disabled {
  background: #f3f4f6 !important;
  color: #6b7280 !important;
  filter: none;
}

.awp-product-modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.awp-product-modal-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
}

.awp-product-modal-badge-item svg {
  flex-shrink: 0;
  color: #6366f1;
}

@media (max-width: 900px) {
  .awp-product-modal-layout {
    grid-template-columns: 1fr;
  }

  .awp-product-modal-col-gallery {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
  }

  .awp-product-modal-gallery-inner {
    min-height: 240px;
  }

  .awp-product-modal-thumbs-col {
    padding: 8px 12px;
  }

  .awp-product-modal-thumbs-col .awp-product-modal-image-thumbnail {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }

  .awp-product-modal-main-img-wrap {
    min-height: 200px;
    padding: 16px;
  }

  .awp-product-modal-col-info,
  .awp-product-modal-col-order {
    padding: 16px 20px;
    border-left: none;
  }

  .awp-product-modal-col-order {
    border-top: 1px solid #f1f5f9;
  }
}

@media (max-width: 768px) {
  .awp-product-modal {
    padding: 16px;
    align-items: center;
    justify-content: center;
  }

  .awp-product-modal-content {
    max-width: 100%;
    max-height: 88vh;
    border-radius: 6px;
    transform: translateY(100%);
    margin: 0;
    width: 100%;
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  }

  .awp-product-modal.active .awp-product-modal-content {
    transform: translateY(0);
  }

  .awp-product-modal-header {
    padding: 12px 52px 10px 16px;
  }

  .awp-product-modal-image-section {
    max-height: 320px;
    aspect-ratio: 1;
  }

  .awp-product-modal-col-info .awp-product-modal-title {
    font-size: 18px;
  }

  .awp-product-modal-col-info .awp-product-modal-description,
  .awp-product-modal-short-description {
    font-size: 13px;
  }

  .awp-product-modal-quantity-group {
    align-items: center;
  }

  .awp-product-modal-quantity-controls {
    border-radius: 6px;
    align-self: center;
    align-items: center;
  }

  .awp-product-modal-quantity-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .awp-product-modal-quantity-input {
    width: 52px;
    min-width: 52px;
    height: 44px;
    font-size: 16px;
    font-weight: 500;
    color: #111827 !important;
    background: #ffffff !important;
  }

  .awp-product-modal-actions .awp-product-modal-add-to-cart-btn,
  .awp-product-modal-actions .awp-product-modal-buy-now-btn {
    min-height: 44px;
    height: auto;
    padding: 10px 14px;
    font-size: 13px;
  }
}

.awp-product-modal-close {
  position: absolute;
  margin-right: 0.3em !important;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  color: #374151;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 100;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.1);
}

.awp-product-modal-close:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.awp-product-modal-close:active {
  transform: scale(0.95);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.awp-product-modal-close svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

.awp-product-modal-body {
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  /* Smooth scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
}

@media (max-width: 768px) {
  .awp-product-modal-body {
    padding: 0;
  }
}

.awp-product-modal-image-section {
  width: 100%;
  margin-bottom: 0;
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: 320px;
  background: #f9fafb;
  border-radius: 6px;
  overflow: hidden;
}

.awp-product-modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #f9fafb;
}

/* Image Slider */
.awp-product-modal-image-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f9fafb;
}

.awp-product-modal-image-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.awp-product-modal-image-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.awp-product-modal-image-slide.active {
  opacity: 1;
  position: relative;
}

.awp-product-modal-image-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* Slider navigation: tam daire (fixed px), şeffaf → canlanan */
.awp-product-modal-image-slider-prev,
.awp-product-modal-image-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 500;
  color: #374151;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  padding: 0;
  margin: 0;
}

.awp-product-modal-image-slider-prev:hover,
.awp-product-modal-image-slider-next:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #111827;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-50%) scale(1.04);
}

.awp-product-modal-image-slider-prev {
  left: 12px;
}

.awp-product-modal-image-slider-next {
  right: 12px;
}

/* Thumbnail Gallery - Modern App Style */
.awp-product-modal-image-thumbnails {
  display: flex !important;
  gap: 6px;
  padding: 8px;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  max-width: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex-wrap: nowrap;
}

.awp-product-modal-image-thumbnails::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.awp-product-modal-image-thumbnail {
  position: relative;
  width: 52px;
  height: 52px;
  min-width: 52px;
  flex-shrink: 0;
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: #f9fafb;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.awp-product-modal-image-thumbnail:hover {
  border-color: #d1d5db;
  transform: scale(1.05);
}

.awp-product-modal-image-thumbnail.active {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.awp-product-modal-image-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.awp-product-modal-image-thumbnail.active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid #6366f1;
  border-radius: 6px;
  pointer-events: none;
}

@media (max-width: 768px) {
  .awp-product-modal-image-slider-prev,
  .awp-product-modal-image-slider-next {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    font-size: 20px;
  }

  .awp-product-modal-image-slider-prev {
    left: 8px;
  }

  .awp-product-modal-image-slider-next {
    right: 8px;
  }

  /* Thumbnail - mobil */
  .awp-product-modal-image-thumbnails {
    padding: 6px;
    gap: 4px;
    display: flex !important;
  }

  .awp-product-modal-image-thumbnail {
    width: 44px;
    height: 44px;
    min-width: 44px;
    flex-shrink: 0;
  }

  /* Miktar seçici - mobil (premium stepper) */
  .awp-product-modal-quantity-controls {
    border-radius: 6px;
  }

  .awp-product-modal-quantity-btn {
    width: 44px;
    min-width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .awp-product-modal-quantity-input {
    width: 50px;
    min-width: 50px;
    height: 44px;
    font-size: 16px;
  }

  .awp-product-modal-actions,
  .awp-product-modal-buttons-grid {
    gap: 6px;
  }

  .awp-product-modal-buy-now-btn,
  .awp-product-modal-add-to-cart-btn {
    height: 40px;
    padding: 0 10px;
    font-size: 12px;
  }

  .awp-product-modal-total {
    padding: 14px;
  }

  .awp-product-modal-total-price {
    font-size: 22px;
  }

  .awp-product-modal-total-price .currency {
    font-size: 0.5em;
  }
}

/**
 * Product Modal Main Content - Dikey akış, ürün detay hissi
 */
.awp-product-modal-main-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 12px 16px 16px;
}

/**
 * Modül: kısa başlık, kompakt içerik, kesintisiz scroll
 */
.awp-product-modal-module {
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.awp-product-modal-module:last-of-type {
  border-bottom: none;
}

.awp-product-modal-image-wrapper {
  width: 100%;
  padding-top: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.awp-product-modal-info-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
}

.awp-product-modal-title {
  font-size: 28px;
  font-weight: 900;
  color: #111827;
  margin: 0;
  line-height: 1.3;
  font-family: "Inter", sans-serif;
}

@media (max-width: 768px) {
  .awp-product-modal-main-content {
    padding: 10px 12px 12px;
  }
  .awp-product-modal-title {
    font-size: 16px;
  }
}

.awp-product-modal-price {
  font-size: 15px;
  font-weight: 900;
  color: #111827;
  margin: 0;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.awp-product-modal-price-original {
  color: #9ca3af;
  font-size: 13px;
  font-weight: 400;
  text-decoration: line-through;
}

.awp-product-modal-price-sale {
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.awp-product-modal-price del {
  color: #9ca3af;
  font-size: 13px;
  font-weight: 400;
  margin-right: 4px;
}

.awp-product-modal-price .currency,
.awp-product-modal-price-sale .currency {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.65;
  margin-left: 2px;
}

.awp-product-modal-price-original .currency {
  font-size: 9px;
  font-weight: 400;
  opacity: 0.6;
  margin-left: 1px;
}

.awp-product-modal-short-description {
  font-size: 13px;
  font-weight: 400;
  color: #4b5563;
  line-height: 1.45;
  margin: 0;
  padding: 0;
}

.awp-product-modal-short-description p {
  margin: 0 0 6px 0;
}

.awp-product-modal-short-description p:last-child {
  margin-bottom: 0;
}

/* Footer: detay açıklama */
.awp-product-modal-footer.awp-product-modal-description-section {
  width: 100%;
  padding: 12px 16px 16px;
  border-top: 1px solid #f1f5f9;
}

@media (max-width: 768px) {
  .awp-product-modal-description-section {
    padding: 10px 12px 12px;
  }
}

.awp-product-modal-description {
  font-size: 12px;
  font-weight: 400;
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

.awp-product-modal-description p {
  margin: 0 0 8px 0;
}

.awp-product-modal-description p:last-child {
  margin-bottom: 0;
}

.awp-product-modal-description h2,
.awp-product-modal-description h3,
.awp-product-modal-description h4 {
  font-weight: 900;
  font-size: 13px;
  margin: 12px 0 6px 0;
  color: #111827;
}

.awp-product-modal-description ul,
.awp-product-modal-description ol {
  margin: 6px 0;
  padding-left: 18px;
}

.awp-product-modal-description li {
  margin: 2px 0;
}

.awp-product-modal-module.awp-product-modal-variations {
  margin: 0;
  display: block;
}

.awp-product-modal-variation-group {
  margin-bottom: 8px;
}

.awp-product-modal-variation-group:last-child {
  margin-bottom: 0;
}

.awp-product-modal-variation-label {
  display: block;
  font-size: 12px;
  font-weight: 900;
  color: #374151;
  margin-bottom: 4px;
}

.awp-product-modal-variation-select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #111827;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.awp-product-modal-variation-select:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.12);
}

.awp-product-modal-quantity-group {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.awp-product-modal-quantity-label {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0;
}

/* Miktar seçici: bankacılık tarzı stepper */
.awp-product-modal-quantity-controls {
  display: inline-flex;
  align-items: stretch;
  align-self: center;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #f8fafc;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.awp-product-modal-quantity-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: 18px;
  font-weight: 400;
  color: #64748b;
  cursor: pointer;
  user-select: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
  padding: 0;
  margin: 0;
}

.awp-product-modal-quantity-btn:hover {
  background: rgba(99, 102, 241, 0.08);
  color: #6366f1;
}

.awp-product-modal-quantity-btn:active {
  background: rgba(99, 102, 241, 0.12);
}

.awp-product-modal-quantity-input {
  width: 44px;
  min-width: 44px;
  height: 36px;
  border: none;
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  border-radius: 0;
  background: #ffffff;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  text-align: center;
  line-height: 1;
  padding: 0 4px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  -moz-appearance: textfield;
}

.awp-product-modal-quantity-input::-webkit-outer-spin-button,
.awp-product-modal-quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

.awp-product-modal-quantity-input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(99, 102, 241, 0.2);
}

/* Flatsome tema override - miktar seçici hizalaması */
.awp-product-modal-quantity-controls .awp-product-modal-quantity-input,
.awp-product-modal input[type="number"].awp-product-modal-quantity-input {
  position: relative !important;
  top: 0px !important;
}

.awp-product-modal-quantity-controls .awp-product-modal-quantity-btn {
  position: relative !important;
  top: 3.5px !important;
}

.awp-product-modal-quantity-controls {
  align-items: center;
}

.awp-product-modal-quantity-controls .awp-product-modal-quantity-btn,
.awp-product-modal-quantity-controls .awp-product-modal-quantity-input {
  vertical-align: middle;
}

/* Toplam: bankacılık uygulaması tarzı - net hiyerarşi */
.awp-product-modal-total {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 16px;
  background: #f8fafc;
  border-radius: 6px;
  border: 1px solid #f1f5f9;
  width: 100%;
}

.awp-product-modal-total strong {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}

.awp-product-modal-total-price {
  font-size: 26px;
  font-weight: 900;
  color: #111827;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.awp-product-modal-total-price .currency {
  font-size: 0.5em;
  font-weight: 500;
  opacity: 0.7;
  margin-left: 4px;
  vertical-align: 0.2em;
  letter-spacing: 0.02em;
}

/* Satın alma aksiyonları: ~40px, primary/secondary, app-like compact */
.awp-product-modal-actions,
.awp-product-modal-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid #f1f5f9;
}

.awp-product-modal-buy-now-btn,
.awp-product-modal-add-to-cart-btn {
  height: 40px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.awp-product-modal-buy-now-btn {
  background: #663399;
  color: #ffffff;
  border: none;
}

.awp-product-modal-buy-now-btn:hover:not(:disabled) {
  background: #5b21b6;
}

.awp-product-modal-buy-now-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.awp-product-modal-buy-now-btn:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  opacity: 0.5;
}

.awp-product-modal-add-to-cart-btn {
  background: #ffffff;
  color: #663399;
  border: 1px solid #e5e7eb;
}

.awp-product-modal-add-to-cart-btn:hover:not(:disabled) {
  background: #f9fafb;
  border-color: #663399;
  color: #5b21b6;
}

.awp-product-modal-add-to-cart-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.awp-product-modal-add-to-cart-btn:disabled {
  background: #f9fafb;
  color: #9ca3af;
  border-color: #e5e7eb;
  cursor: not-allowed;
  opacity: 0.5;
}

/**
 * Product Modal Loading State
 */
.awp-product-modal-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  min-height: 300px;
  text-align: center;
}

.awp-product-modal-loading .awp-cart-preloader {
  margin-bottom: 20px;
}

.awp-product-modal-loading p {
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  margin-top: 8px;
}

/**
 * Product Modal Error State
 */
.awp-product-modal-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.awp-product-modal-error p {
  color: #ef4444;
  font-size: 13px;
  margin-bottom: 12px;
}

/* Warning Overlay */
.awp-product-modal-warning-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.awp-product-modal-warning {
  background: #ffffff;
  border-radius: 6px;
  padding: 24px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.awp-product-modal-warning-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.awp-product-modal-warning-message {
  font-size: 15px;
  color: #111827;
  margin-bottom: 20px;
  line-height: 1.5;
}

.awp-product-modal-warning-close {
  background: #663399;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.awp-product-modal-warning-close:hover {
  background: #7c3aed;
  transform: scale(1.02);
}

.awp-product-modal-warning-close:active {
  transform: scale(0.98);
}

/* Mini Cart Warning */
.awp-mini-cart-warning-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.awp-mini-cart-warning {
  background: #ffffff;
  border-radius: 6px;
  padding: 24px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.awp-mini-cart-warning-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.awp-mini-cart-warning-message {
  font-size: 15px;
  color: #111827;
  margin-bottom: 20px;
  line-height: 1.5;
}

.awp-mini-cart-warning-close {
  background: #663399;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.awp-mini-cart-warning-close:hover {
  background: #7c3aed;
  transform: scale(1.02);
}

.awp-mini-cart-warning-close:active {
  transform: scale(0.98);
}

/**
 * Button Styles - App-like Compact
 */
.awp-button {
  padding: 10px 16px;
  background: #663399;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.awp-button:hover {
  background: #7c3aed;
}

.awp-button:active {
  transform: scale(0.98);
}

.awp-button-retry {
  margin-top: 12px;
}

/**
 * Cart Badge - Compact
 */
.awp-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 900;
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  line-height: 18px;
  text-align: center;
  z-index: 10;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

/**
 * Cart Badge and Total Text - Black/White on Scroll
 */
body.awp-scrolled .awp-cart-badge {
  background: #1f2937 !important;
  color: white !important;
}

body.awp-scrolled .awp-cart-label {
  color: #000000 !important;
}

body.awp-scrolled #awp-cart-total,
body.awp-scrolled #awp-cart-total-mobile {
  color: #000000 !important;
}

body.awp-scrolled .awp-cart-button .icon-circle {
  background: rgba(0, 0, 0, 0.15) !important;
}

body.awp-scrolled .awp-cart-button svg {
  color: #000000 !important;
  stroke: #000000 !important;
}

/* Admin buttons on scroll - maintain maroon color with good contrast */
body.awp-scrolled .admin-settings-btn,
body.awp-scrolled .admin-logout-btn {
  background: rgba(127, 29, 29, 0.9) !important;
  border-color: rgba(127, 29, 29, 0.4) !important;
}

body.awp-scrolled .admin-settings-btn svg,
body.awp-scrolled .admin-logout-btn svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

body.awp-scrolled .admin-settings-btn .icon-circle,
body.awp-scrolled .admin-logout-btn .icon-circle {
  background: rgba(255, 255, 255, 0.25) !important;
}

body.awp-scrolled .admin-settings-btn span,
body.awp-scrolled .admin-logout-btn span {
  color: #ffffff !important;
}

.awp-cart-badge:not(:empty) {
  display: flex;
}

/* For single digit numbers, ensure perfect circle */
.awp-cart-badge:has-text("1"),
.awp-cart-badge:has-text("2"),
.awp-cart-badge:has-text("3"),
.awp-cart-badge:has-text("4"),
.awp-cart-badge:has-text("5"),
.awp-cart-badge:has-text("6"),
.awp-cart-badge:has-text("7"),
.awp-cart-badge:has-text("8"),
.awp-cart-badge:has-text("9") {
  padding: 0;
}

/* For double digit numbers, make it slightly wider */
.awp-cart-badge[data-count]:not([data-count="1"]):not([data-count="2"]):not(
    [data-count="3"]
  ):not([data-count="4"]):not([data-count="5"]):not([data-count="6"]):not(
    [data-count="7"]
  ):not([data-count="8"]):not([data-count="9"]) {
  width: auto;
  min-width: 18px;
  padding: 0 4px;
  border-radius: 6px;
}

/* Kişiselleştirme: footer üstü, butonların üstü, kompakt app-like */
.awp-product-modal-personalization-group {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  display: block;
  width: 100%;
}

.awp-product-modal-personalization-title {
  font-size: 13px;
  font-weight: 500;
  color: #111827;
  margin: 0 0 10px 0;
  padding: 0;
}

.awp-product-modal-file-upload-group {
  margin-bottom: 8px;
  width: 100%;
}

/* Progress bar - ürün modalında, yükleme alanı genişliğinde */
.awp-product-modal-progress-bar,
.awp-product-modal-file-list .awp-file-upload-progress {
  width: 100% !important;
  flex: 0 0 100% !important;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.awp-product-modal-file-list .awp-file-progress-bar {
  height: 10px;
  background: #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
}

.awp-product-modal-file-list .awp-file-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #6366f1);
  border-radius: 6px;
  transition: width 0.08s ease-out;
}

.awp-product-modal-file-list .awp-file-progress-label {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}

.awp-product-modal-file-upload-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 4px;
}

.awp-required-indicator {
  color: #ef4444;
  font-weight: 500;
  margin-left: 1px;
}

.awp-product-modal-file-upload-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
}

.awp-product-modal-file-input {
  display: none;
}

.awp-product-modal-file-upload-label-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s;
}

.awp-product-modal-file-upload-label-btn:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
}

.awp-product-modal-file-upload-label-btn:active {
  transform: scale(0.98);
}

.awp-product-modal-file-upload-label-btn svg {
  flex-shrink: 0;
}

.awp-product-modal-file-list {
  margin-top: 8px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

.awp-product-modal-file-item {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}

.awp-product-modal-file-item .awp-file-preview-icon {
  color: #6366f1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.awp-product-modal-file-item .awp-file-preview-icon svg {
  width: 32px;
  height: 32px;
}

.awp-product-modal-file-item .awp-file-preview-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
}

.awp-product-modal-file-item .awp-file-preview-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.awp-product-modal-file-item .awp-file-preview-pdf {
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}

.awp-product-modal-file-item-name {
  flex: 1;
  color: #374151;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.awp-product-modal-file-item-size {
  color: #6b7280;
  font-size: 10px;
  white-space: nowrap;
  padding: 2px 5px;
  background: #e5e7eb;
  border-radius: 3px;
}

.awp-product-modal-file-item-remove,
.awp-product-modal-file-item .awp-file-preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  padding: 0;
  margin: 0;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
  z-index: 2;
  box-sizing: border-box;
}

.awp-product-modal-file-item-remove:hover,
.awp-product-modal-file-item .awp-file-preview-remove:hover {
  background: #dc2626;
  transform: scale(1.08);
}

.awp-product-modal-file-item-remove:active,
.awp-product-modal-file-item .awp-file-preview-remove:active {
  transform: scale(0.95);
}

.awp-product-modal-file-hint {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: #9ca3af;
}

.awp-product-modal-description-group {
  margin-top: 8px;
}

.awp-product-modal-description-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 4px;
}

.awp-product-modal-description-label .awp-required-indicator,
.awp-product-modal-file-upload-label .awp-required-indicator {
  color: #ef4444;
  font-weight: 500;
  margin-left: 1px;
}

.awp-product-modal-description-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 12px;
  font-family: inherit;
  resize: vertical;
  min-height: 52px;
  max-height: 100px;
  line-height: 1.4;
}

.awp-product-modal-description-input:focus {
  outline: none;
  border-color: #663399;
  box-shadow: 0 0 0 2px rgba(102, 51, 153, 0.08);
}

/**
 * Mini Cart Modal - App-like Compact
 */
.awp-mini-cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  z-index: 100000 !important;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 260ms ease,
    visibility 260ms ease;
  pointer-events: none;
}

.awp-mini-cart-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Modal container: .open = görünür, .active = içerik aşağı kaydı (animasyon için iki aşama) */
.awp-mini-cart-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100001 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 260ms ease,
    visibility 260ms ease;
  pointer-events: none;
}

.awp-mini-cart-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.awp-mini-cart-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .awp-mini-cart-modal {
    padding: 0;
    align-items: center;
    justify-content: center;
  }
}

/* Açılış: yukarıdan aşağı kayar (translateY -100% → 0). Kapanış: yukarı kayarak gider (0 → -100%). Modal ortada kalır. */
.awp-mini-cart-content {
  background: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  width: 90%;
  max-width: 450px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(-100%);
  transition: transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* İçerik sadece .active ile ortaya iner (açılışta önce .open, sonra .active verilir) */
.awp-mini-cart-modal.open.active .awp-mini-cart-content {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .awp-mini-cart-modal {
    padding: 12px;
    align-items: center;
    justify-content: center;
  }

  .awp-mini-cart-content {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 6px;
    transform: translateY(-100%);
    margin: 0;
    width: 100%;
  }

  .awp-mini-cart-modal.open.active .awp-mini-cart-content {
    transform: translateY(0);
  }
}

.awp-mini-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.awp-mini-cart-title {
  font-size: 17px;
  font-weight: 500;
  color: #111827;
  margin: 0;
}

.awp-mini-cart-close {
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: #6b7280;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.awp-mini-cart-close:hover {
  color: #111827;
}

.awp-mini-cart-close:active {
  transform: scale(0.95);
}

.awp-mini-cart-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px;
  min-height: 0;
}

.awp-mini-cart-loading,
.awp-mini-cart-empty,
.awp-mini-cart-error {
  text-align: center;
  padding: 40px 16px;
  color: #6b7280;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

/* Cart Preloader - Modern Animated Loading */
.awp-cart-preloader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

/* Spinning Rings Animation */
.awp-cart-preloader-spinner {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.awp-cart-preloader-spinner::after {
  content: "";
  position: relative;
  z-index: 2;
  width: 22px;
  height: 22px;
  background: url("../logo/DaireLogo-1.svg") center / contain no-repeat;
  pointer-events: none;
}

.awp-cart-preloader-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top-color: #663399;
  border-radius: 50%;
  animation: awp-cart-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.awp-cart-preloader-ring:nth-child(1) {
  animation-delay: -0.45s;
  border-top-color: #663399;
}

.awp-cart-preloader-ring:nth-child(2) {
  animation-delay: -0.3s;
  width: 80%;
  height: 80%;
  border-top-color: #8b5cf6;
  top: 10%;
  left: 10%;
}

.awp-cart-preloader-ring:nth-child(3) {
  animation-delay: -0.15s;
  width: 60%;
  height: 60%;
  border-top-color: #a78bfa;
  top: 20%;
  left: 20%;
}

@keyframes awp-cart-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Progress Bar Animation */
.awp-cart-preloader-progress {
  width: 200px;
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.awp-cart-preloader-progress-bar {
  height: 100%;
  background: linear-gradient(
    90deg,
    #663399,
    #8b5cf6,
    #a78bfa,
    #8b5cf6,
    #663399
  );
  background-size: 200% 100%;
  border-radius: 2px;
  animation: awp-cart-progress 1.5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.awp-cart-preloader-progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: awp-cart-shine 1.5s ease-in-out infinite;
}

@keyframes awp-cart-progress {
  0% {
    width: 0%;
    transform: translateX(0);
  }
  50% {
    width: 70%;
    transform: translateX(0);
  }
  100% {
    width: 100%;
    transform: translateX(100%);
  }
}

@keyframes awp-cart-shine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(200%);
  }
}

.awp-mini-cart-loading p {
  margin-top: 8px;
  font-weight: 500;
  color: #374151;
}

.awp-mini-cart-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.awp-mini-cart-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #f9fafb;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  position: relative;
}

.awp-mini-cart-item-image {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #e5e7eb;
}

.awp-mini-cart-item-image:has(.awp-studio-cart-thumbs) {
  width: auto;
  min-width: 60px;
  overflow: visible;
  background: transparent;
}

.awp-mini-cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.awp-mini-cart-item-image .awp-studio-cart-thumbs {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}
.awp-mini-cart-item-image .awp-studio-cart-thumbs img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.awp-mini-cart-item-image .awp-studio-cart-thumbs-more {
  position: absolute;
  right: -6px;
  bottom: -4px;
  min-width: 20px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.awp-mini-cart-item-info {
  flex: 1;
  min-width: 0;
}

.awp-mini-cart-item-name {
  font-size: 13px;
  font-weight: 500;
  color: #111827;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.awp-mini-cart-item-variation {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 2px;
}

.awp-mini-cart-item-personalization {
  font-size: 11px;
  color: #059669;
  margin-top: 4px;
  font-style: italic;
}

.awp-mini-cart-item-file-preview {
  margin-top: 6px;
  margin-bottom: 4px;
}

.awp-mini-cart-file-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.awp-mini-cart-file-preview-image {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  cursor: pointer;
  transition: all 0.2s;
}

.awp-mini-cart-file-preview-image:hover {
  border-color: #3b82f6;
}

.awp-mini-cart-file-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.awp-mini-cart-file-preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  color: white;
}

.awp-mini-cart-file-preview-image:hover .awp-mini-cart-file-preview-overlay {
  opacity: 1;
}

.awp-mini-cart-file-preview-icon {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #f3f4f6;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s;
  cursor: pointer;
}

.awp-mini-cart-file-preview-icon:hover {
  background: #e5e7eb;
  border-color: #3b82f6;
}

.awp-mini-cart-file-preview-icon svg {
  color: #ef4444;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.awp-mini-cart-file-name {
  font-size: 11px;
  color: #374151;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100px;
}

.awp-mini-cart-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 13px;
}

.awp-mini-cart-item-quantity {
  color: #6b7280;
}

.awp-mini-cart-item-price {
  font-weight: 500;
  color: #111827;
}

.awp-mini-cart-item-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.2s;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.awp-mini-cart-item-remove:hover {
  color: #ef4444;
}

.awp-mini-cart-item-remove:active {
  transform: scale(0.95);
}

.awp-mini-cart-totals {
  padding: 12px 16px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  flex-shrink: 0;
}

.awp-mini-cart-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: #374151;
}

.awp-mini-cart-totals-row span:first-child {
  font-weight: 500;
}

.awp-mini-cart-totals-row span:last-child {
  font-weight: 500;
  color: #111827;
}

/* Shipping Section */
.awp-mini-cart-shipping-section {
  border-top: 1px solid #e5e7eb;
  padding-top: 8px;
  margin-top: 8px;
}

.awp-mini-cart-shipping-label {
  padding-bottom: 12px;
  font-weight: 500;
}

.awp-mini-cart-shipping-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.awp-mini-cart-shipping-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 6px 0;
  font-size: 14px;
}

.awp-mini-cart-shipping-option input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #3b82f6;
  margin: 0;
  flex-shrink: 0;
}

.awp-mini-cart-shipping-option-label {
  flex: 1;
  color: #374151;
}

.awp-mini-cart-shipping-option.selected .awp-mini-cart-shipping-option-label {
  font-weight: 500;
  color: #111827;
}

.awp-mini-cart-shipping-info {
  font-size: 12px;
  color: #6b7280;
  margin-top: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.awp-mini-cart-totals-total {
  font-size: 16px;
  font-weight: 900;
  color: #111827;
  border-top: 1px solid #e5e7eb;
  margin-top: 8px;
  padding-top: 12px;
}

.awp-mini-cart-actions {
  padding: 12px 16px;
  border-top: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.awp-mini-cart-button {
  width: 100%;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  height: 44px;
}

.awp-mini-cart-button-primary {
  background: #10b981;
  color: white;
}

.awp-mini-cart-button-primary:hover {
  background: #059669;
}

/**
 * Image Lightbox - Fullscreen Image Viewer (Bank App Style)
 */
.awp-image-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000001 !important; /* Ürün modalının (1000000) üstünde */
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.awp-image-lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.awp-image-lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
}

.awp-image-lightbox-content {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 80px;
}

.awp-image-lightbox-image-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.awp-image-lightbox-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.awp-image-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #111827;
  font-size: 20px;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.awp-image-lightbox-close:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.05);
}

.awp-image-lightbox-prev,
.awp-image-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #374151;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.awp-image-lightbox-prev:hover,
.awp-image-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-50%) scale(1.1);
}

.awp-image-lightbox-prev {
  left: 20px;
}

.awp-image-lightbox-next {
  right: 20px;
}

.awp-image-lightbox-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  z-index: 10;
}

.awp-image-lightbox-counter .awp-image-lightbox-current {
  font-weight: 500;
}

@media (max-width: 768px) {
  .awp-image-lightbox-content {
    padding: 50px 12px 70px;
  }

  .awp-image-lightbox-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .awp-image-lightbox-prev,
  .awp-image-lightbox-next {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .awp-image-lightbox-prev {
    left: 12px;
  }

  .awp-image-lightbox-next {
    right: 12px;
  }

  .awp-image-lightbox-counter {
    bottom: 20px;
    padding: 5px 12px;
    font-size: 12px;
  }
}

.awp-mini-cart-button-primary:active {
  transform: scale(0.98);
}

/**
 * Hide cart summary on main page (using mini cart modal instead)
 */
#awp-cart-summary-wrapper {
  display: none !important;
}
