/* Gmingo premium product detail (marketplace PDP) */
.pdp-premium {
  --pdp-primary: #2C64D3;
  --pdp-primary-dark: #1A3A7C;
  --pdp-accent: #38B35A;
  --pdp-deal: #2C64D3;
  --pdp-surface: #ffffff;
  --pdp-muted: #64748b;
  --pdp-border: #e2e8f0;
  --pdp-radius: 16px;
  --pdp-shadow: 0 20px 50px -24px rgba(26, 58, 124, 0.18);
}

.pdp-premium .pdp-breadcrumb {
  font-size: 0.8125rem;
  color: var(--pdp-muted);
}

.pdp-premium .pdp-breadcrumb a:hover {
  color: var(--pdp-primary);
}

.pdp-premium .pdp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .pdp-premium .pdp-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
    align-items: start;
  }
}

/* Gallery column: feature image, then delivery widget below */
.pdp-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.pdp-gallery-stage {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .pdp-gallery-stage {
    flex-direction: row;
    gap: 1rem;
  }
}

.pdp-gallery-thumbs {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  order: 2;
}

@media (min-width: 640px) {
  .pdp-gallery-thumbs {
    flex-direction: column;
    order: 0;
    width: 4.75rem;
    flex-shrink: 0;
    overflow-y: auto;
    max-height: 520px;
    padding-bottom: 0;
  }
}

.pdp-gallery-thumb {
  width: 4.25rem;
  height: 4.25rem;
  flex-shrink: 0;
  border-radius: 12px;
  border: 2px solid var(--pdp-border);
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.pdp-gallery-thumb:hover {
  border-color: #93c5fd;
  transform: translateY(-1px);
}

.pdp-gallery-thumb.is-active {
  border-color: var(--pdp-primary);
  box-shadow: 0 0 0 1px var(--pdp-primary);
}

.pdp-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.pdp-gallery-main {
  flex: 1;
  min-height: 320px;
  max-height: 560px;
  background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: var(--pdp-radius);
  border: 1px solid var(--pdp-border);
  box-shadow: var(--pdp-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.pdp-gallery-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.25s ease;
}

.pdp-gallery-placeholder {
  font-size: 4rem;
  font-weight: 700;
  color: #cbd5e1;
}

/* Buy column */
.pdp-buy-col {
  position: relative;
}

@media (min-width: 1024px) {
  .pdp-buy-col {
    position: sticky;
    top: 5.5rem;
  }
}

.pdp-deal-banner {
  background: linear-gradient(90deg, var(--pdp-primary-dark), var(--pdp-primary));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 10px 10px 0 0;
}

.pdp-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  border-radius: 0 0 10px 10px;
  margin-bottom: 1rem;
}

.pdp-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pdp-primary-dark);
  line-height: 1.35;
}

@media (min-width: 640px) {
  .pdp-title {
    font-size: 1.375rem;
  }
}

.pdp-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--pdp-muted);
}

.pdp-stars {
  color: #f59e0b;
  font-weight: 600;
}

.pdp-price-block {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
}

.pdp-price-current {
  font-size: 2rem;
  font-weight: 800;
  color: var(--pdp-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.pdp-price-was {
  font-size: 1rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.pdp-badge-off {
  background: linear-gradient(135deg, #38B35A, #2d8f47);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  text-transform: uppercase;
}

.pdp-badge-stock {
  background: #fef3c7;
  color: #b45309;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
}

/* Selection card */
.pdp-select-card {
  margin-top: 1.25rem;
  border: 2px solid rgba(44, 100, 211, 0.35);
  border-radius: var(--pdp-radius);
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 8px 30px -12px rgba(44, 100, 211, 0.15);
}

.pdp-select-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.65rem;
}

.pdp-select-label span {
  font-weight: 400;
  color: var(--pdp-muted);
}

.pdp-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.pdp-color-swatch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  border-radius: 9999px;
  border: 2px solid var(--pdp-border);
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.pdp-color-swatch:hover {
  border-color: #93c5fd;
}

.pdp-color-swatch.is-active {
  border-color: var(--pdp-primary);
  box-shadow: 0 0 0 1px var(--pdp-primary);
}

.pdp-color-dot {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
}

.pdp-size-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.pdp-size-pill {
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.75rem;
  border-radius: 9999px;
  border: 2px solid var(--pdp-border);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pdp-size-pill:hover {
  border-color: #93c5fd;
}

.pdp-size-pill.is-active {
  border-color: var(--pdp-primary-dark);
  background: #eff6ff;
  color: var(--pdp-primary-dark);
}

.pdp-qty-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pdp-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--pdp-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.pdp-qty-btn {
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pdp-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  user-select: none;
  flex-shrink: 0;
}
.pdp-qty-btn:hover:not(:disabled) {
  background: #eff6ff;
  color: var(--pdp-primary-dark);
}
.pdp-qty-btn:disabled {
  color: #cbd5e1;
  cursor: not-allowed;
}
.pdp-qty-input {
  width: 44px;
  height: 38px;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e293b;
  border: none;
  border-left: 1.5px solid var(--pdp-border);
  border-right: 1.5px solid var(--pdp-border);
  outline: none;
  background: #fff;
  -moz-appearance: textfield;
  padding: 0;
  cursor: default;
}
.pdp-qty-input::-webkit-outer-spin-button,
.pdp-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pdp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 13.5rem);
  padding: 0.875rem 1.25rem;
  border: none;
  border-radius: 9999px;
  font-size: 0.975rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--pdp-accent) 0%, #2d8f47 100%);
  box-shadow: 0 12px 28px -8px rgba(56, 179, 90, 0.55);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 640px) {
  .pdp-cta {
    width: 100%;
  }
}

.pdp-cta:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(56, 179, 90, 0.6);
}

.pdp-cta:disabled {
  background: #cbd5e1;
  box-shadow: none;
  cursor: not-allowed;
}

.pdp-cta-label-off {
  opacity: 0.95;
}

/* Trust panel */
.pdp-trust-panel {
  margin-top: 1.25rem;
  border-radius: var(--pdp-radius);
  border: 1px solid var(--pdp-border);
  background: #f8fafc;
  overflow: hidden;
}

.pdp-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  font-size: 0.8125rem;
  color: #475569;
  border-bottom: 1px solid var(--pdp-border);
}

.pdp-trust-item:last-child {
  border-bottom: none;
}

.pdp-trust-item svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--pdp-accent);
}

.pdp-trust-item a {
  color: var(--pdp-primary);
  font-weight: 600;
}

/* Product details section */
.pdp-details-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--pdp-border);
}

.pdp-details-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pdp-details-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pdp-primary-dark);
}

.pdp-attr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--pdp-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

@media (min-width: 640px) {
  .pdp-attr-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pdp-attr-cell {
  padding: 1rem 1.25rem;
  border-right: 1px solid var(--pdp-border);
  border-bottom: 1px solid var(--pdp-border);
}

.pdp-attr-cell:nth-child(3n) {
  border-right: none;
}

@media (max-width: 639px) {
  .pdp-attr-cell:nth-child(2n) {
    border-right: none;
  }
  .pdp-attr-cell:nth-child(3n) {
    border-right: 1px solid var(--pdp-border);
  }
}

.pdp-attr-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pdp-muted);
  margin-bottom: 0.25rem;
}

.pdp-attr-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
}

.pdp-specifications-block {
  margin-bottom: 2rem;
  padding: 1.25rem;
  border: 1px solid var(--pdp-border);
  border-radius: 12px;
  background: #f8fafc;
}

.pdp-specifications-title {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--pdp-primary-dark);
}

.pdp-spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .pdp-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pdp-spec-grid .pdp-spec-panel:only-child {
    grid-column: 1 / -1;
  }
}

.pdp-spec-panel {
  border: 1px solid var(--pdp-border);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  min-height: 100%;
}

.pdp-spec-panel__title {
  margin: 0;
  padding: 0.85rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #334155;
  border-bottom: 1px solid var(--pdp-border);
  background: #fafafa;
}

.pdp-spec-features,
.pdp-spec-list {
  margin: 0;
  padding: 1rem 1.25rem 1.25rem 1.85rem;
  list-style: disc;
}

.pdp-spec-features__item,
.pdp-spec-list__item {
  font-size: 0.875rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

.pdp-spec-features__item:last-child,
.pdp-spec-list__item:last-child {
  margin-bottom: 0;
}

.pdp-spec-features__item strong,
.pdp-spec-list__item strong {
  font-weight: 700;
  color: #0f172a;
}

.pdp-description-prose {
  margin-top: 1.5rem;
  color: #475569;
  line-height: 1.7;
}

.pdp-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.pdp-wishlist-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--pdp-border);
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  background: #fff;
}

.pdp-wishlist-btn:hover {
  border-color: #fca5a5;
  color: #dc2626;
}

/* Share this product */
.pdp-share {
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.pdp-share-heading {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 0.65rem;
}

.pdp-share-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pdp-share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1.5px solid #1e293b;
  color: #1e293b;
  background: #fff;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pdp-share-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.pdp-share-icon:hover {
  transform: translateY(-2px);
  background: #f8fafc;
  color: var(--pdp-primary);
  border-color: var(--pdp-primary);
}

.pdp-shipping-line strong {
  color: var(--pdp-primary-dark);
  font-weight: 700;
}

/* Delivery & returns — premium widget (under product image) */
.pdp-gallery-delivery {
  width: 100%;
  flex: 1 1 auto;
}

.pdp-gallery-delivery .pdp-delivery-widget {
  max-width: none;
  width: 100%;
}

.pdp-delivery-widget {
  position: relative;
  overflow: visible;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  padding: 0 0 1rem;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 16px 40px -28px rgba(26, 58, 124, 0.22);
}

.pdp-delivery-widget__accent {
  height: 3px;
  background: linear-gradient(90deg, var(--pdp-primary) 0%, #38bdf8 50%, var(--pdp-accent) 100%);
}

.pdp-delivery-widget__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 1.25rem 0.85rem;
}

.pdp-delivery-widget__header-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pdp-primary) 0%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(44, 100, 211, 0.65);
}

.pdp-delivery-widget__header-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.pdp-delivery-widget__header-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  min-width: 0;
}

.pdp-delivery-widget__title {
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0f172a;
  margin: 0;
}

.pdp-delivery-widget__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0369a1;
  background: rgba(224, 242, 254, 0.95);
  border: 1px solid rgba(125, 211, 252, 0.6);
}

.pdp-delivery-widget__promo-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 1.25rem 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.95) 0%, rgba(236, 253, 245, 0.85) 100%);
  border: 1px solid rgba(191, 219, 254, 0.55);
}

.pdp-delivery-widget__promo-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  color: #2563eb;
}

.pdp-delivery-widget__promo-icon svg {
  width: 1rem;
  height: 1rem;
}

.pdp-delivery-widget__promo {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #475569;
  margin: 0;
}

.pdp-delivery-widget__link {
  color: var(--pdp-primary);
  font-weight: 600;
  white-space: nowrap;
}

.pdp-delivery-widget__link:hover {
  text-decoration: underline;
}

.pdp-delivery-widget__location-panel {
  margin: 0 1.25rem 1rem;
  padding: 1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.pdp-delivery-widget__location-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.pdp-delivery-widget__location-pin {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--pdp-primary);
  flex-shrink: 0;
}

.pdp-delivery-widget__sub {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.pdp-delivery-widget__selects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .pdp-delivery-widget__selects {
    grid-template-columns: 1fr 1fr;
  }
}

.pdp-delivery-field__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.pdp-delivery-area-count {
  margin-left: 0.35rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #94a3b8;
}

.pdp-delivery-dropdown {
  position: relative;
}

.pdp-delivery-dropdown.is-open {
  z-index: 45;
}

.pdp-delivery-dropdown__wrap {
  position: relative;
}

.pdp-delivery-dropdown__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  background: #f8fafc;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pdp-delivery-dropdown__trigger:hover {
  border-color: #94a3b8;
  background: #fff;
}

.pdp-delivery-dropdown__trigger:focus {
  outline: none;
  border-color: var(--pdp-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(44, 100, 211, 0.18);
}

.pdp-delivery-dropdown.is-open .pdp-delivery-dropdown__trigger {
  border-color: var(--pdp-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(44, 100, 211, 0.18);
}

.pdp-delivery-dropdown.is-disabled .pdp-delivery-dropdown__trigger {
  opacity: 0.65;
  cursor: not-allowed;
  background: #f1f5f9;
}

.pdp-delivery-dropdown.is-disabled .pdp-delivery-dropdown__trigger:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.pdp-delivery-dropdown__value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdp-delivery-dropdown__value.is-placeholder {
  color: #64748b;
  font-weight: 500;
}

.pdp-delivery-dropdown__chevron {
  flex-shrink: 0;
  color: #64748b;
  display: flex;
  transition: transform 0.2s ease;
}

.pdp-delivery-dropdown__chevron svg {
  width: 1rem;
  height: 1rem;
}

.pdp-delivery-dropdown.is-open .pdp-delivery-dropdown__chevron {
  transform: rotate(180deg);
}

.pdp-delivery-dropdown__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 40;
  max-height: min(20rem, calc(100vh - 8rem));
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.pdp-delivery-dropdown__search-wrap {
  position: relative;
  padding: 0.5rem;
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafc;
}

.pdp-delivery-dropdown__search-icon {
  pointer-events: none;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  display: flex;
}

.pdp-delivery-dropdown__search-icon svg {
  width: 0.95rem;
  height: 0.95rem;
}

.pdp-delivery-dropdown__search {
  width: 100%;
  padding: 0.55rem 0.65rem 0.55rem 2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
}

.pdp-delivery-dropdown__search:focus {
  outline: none;
  border-color: var(--pdp-primary);
  box-shadow: 0 0 0 2px rgba(44, 100, 211, 0.15);
}

.pdp-delivery-dropdown__list {
  max-height: min(14rem, calc(100vh - 13rem));
  overflow-y: auto;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
}

.pdp-delivery-dropdown__option {
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
  cursor: pointer;
}

.pdp-delivery-dropdown__option.is-highlighted,
.pdp-delivery-dropdown__option:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

.pdp-delivery-dropdown__empty {
  padding: 0.75rem;
  font-size: 0.8125rem;
  color: #64748b;
  text-align: center;
}

.pdp-delivery-search {
  position: relative;
}

.pdp-delivery-search.is-disabled .pdp-delivery-search__input {
  opacity: 0.65;
  cursor: not-allowed;
  background: #f1f5f9;
}

.pdp-delivery-search__wrap {
  position: relative;
}

.pdp-delivery-search__icon {
  pointer-events: none;
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  display: flex;
  z-index: 1;
}

.pdp-delivery-search__icon svg {
  width: 1rem;
  height: 1rem;
}

.pdp-delivery-search__input {
  width: 100%;
  padding: 0.65rem 0.75rem 0.65rem 2.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  background: #f8fafc;
  color: #0f172a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pdp-delivery-search__input:hover:not(:disabled) {
  border-color: #94a3b8;
  background: #fff;
}

.pdp-delivery-search__input:focus {
  outline: none;
  border-color: var(--pdp-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(44, 100, 211, 0.18);
}

.pdp-delivery-search.is-open .pdp-delivery-search__input {
  border-color: var(--pdp-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(44, 100, 211, 0.18);
}

.pdp-delivery-search__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 30;
  max-height: 14rem;
  overflow-y: auto;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.pdp-delivery-search__option {
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
  cursor: pointer;
}

.pdp-delivery-search__option.is-highlighted,
.pdp-delivery-search__option:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

.pdp-delivery-search__empty {
  padding: 0.65rem;
  font-size: 0.8125rem;
  color: #64748b;
  text-align: center;
}

.pdp-delivery-field__control {
  position: relative;
}

.pdp-delivery-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 0.65rem 2.25rem 0.65rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  background: #f8fafc;
  color: #0f172a;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pdp-delivery-select:hover:not(:disabled) {
  border-color: #94a3b8;
  background: #fff;
}

.pdp-delivery-select:focus {
  outline: none;
  border-color: var(--pdp-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(44, 100, 211, 0.18);
}

.pdp-delivery-select:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  background: #f1f5f9;
}

.pdp-delivery-field__chevron {
  pointer-events: none;
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  display: flex;
}

.pdp-delivery-field__chevron svg {
  width: 1rem;
  height: 1rem;
}

.pdp-delivery-location-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.75rem 0 0;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
}

.pdp-delivery-location-chip::before {
  content: "✓";
  font-size: 0.65rem;
}

.pdp-delivery-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 1.25rem 1rem;
  padding: 0.85rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
}

.pdp-delivery-loading__spinner {
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid #cbd5e1;
  border-top-color: var(--pdp-primary);
  border-radius: 50%;
  animation: pdpDeliverySpin 0.7s linear infinite;
}

@keyframes pdpDeliverySpin {
  to { transform: rotate(360deg); }
}

.pdp-delivery-loading__text {
  font-size: 0.8125rem;
  color: #64748b;
  font-weight: 500;
}

.pdp-delivery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  margin: 0 1.25rem 1rem;
  padding: 1.1rem 0.85rem;
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.85);
  border: 1px dashed #e2e8f0;
}

.pdp-delivery-placeholder__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: #fff;
  color: #94a3b8;
  border: 1px solid #e2e8f0;
}

.pdp-delivery-placeholder__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.pdp-delivery-placeholder__text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
  max-width: 16rem;
}

.pdp-delivery-options {
  margin: 0 1.25rem 1rem;
  animation: pdpDeliveryFadeIn 0.35s ease;
}

@keyframes pdpDeliveryFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.pdp-delivery-options__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 0.55rem;
}

.pdp-delivery-options__grid {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pdp-delivery-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  width: 100%;
  text-align: left;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.18s ease,
    background 0.22s ease;
}

.pdp-delivery-option:hover {
  border-color: #93c5fd;
  box-shadow: 0 8px 24px -16px rgba(44, 100, 211, 0.45);
  transform: translateY(-1px);
}

.pdp-delivery-option.is-active {
  border-color: var(--pdp-primary);
  background: linear-gradient(135deg, #f8fbff 0%, #eff6ff 100%);
  box-shadow:
    0 0 0 1px rgba(44, 100, 211, 0.2),
    0 10px 28px -18px rgba(44, 100, 211, 0.55);
}

.pdp-delivery-option__radio {
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: #fff;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pdp-delivery-option.is-active .pdp-delivery-option__radio {
  border-color: var(--pdp-primary);
  background: var(--pdp-primary);
}

.pdp-delivery-option.is-active .pdp-delivery-option__radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff;
}

.pdp-delivery-option__icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
}

.pdp-delivery-option__icon-wrap--pickup {
  background: rgba(224, 242, 254, 0.9);
  color: #0284c7;
}

.pdp-delivery-option__icon-wrap--door {
  background: rgba(220, 252, 231, 0.9);
  color: #059669;
}

.pdp-delivery-option__icon-wrap svg {
  width: 1.2rem;
  height: 1.2rem;
}

.pdp-delivery-option__body {
  flex: 1;
  min-width: 0;
}

.pdp-delivery-option__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.pdp-delivery-option__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
}

.pdp-delivery-option__price {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--pdp-primary-dark);
  white-space: nowrap;
}

.pdp-delivery-option__eta {
  display: block;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #64748b;
}

.pdp-delivery-option__eta strong {
  color: #334155;
  font-weight: 600;
}

.pdp-delivery-return {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0.35rem 1.25rem 0;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.65) 0%, rgba(240, 253, 250, 0.4) 100%);
  border: 1px solid rgba(167, 243, 208, 0.55);
}

.pdp-delivery-return__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: #059669;
}

.pdp-delivery-return__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.pdp-delivery-return__title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.pdp-delivery-return__text {
  font-size: 0.75rem;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

.pdp-delivery-widget.is-loading .pdp-delivery-widget__selects {
  opacity: 0.55;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .pdp-delivery-loading__spinner,
  .pdp-delivery-options {
    animation: none;
  }
  .pdp-delivery-option:hover {
    transform: none;
  }
}
