.andequick-cod-block {
  text-align: center;
}

.andequick-cod-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #2679f5;
  color: #fff;
  border: none;
  padding: 15px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  width: auto;
  box-shadow: 0 4px 14px rgba(38, 121, 245, 0.32);
  transition: background 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}

.andequick-cod-submit-btn {
  width: 100%;
}

.andequick-cod-btn--stacked {
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.andequick-cod-btn-main {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.andequick-cod-btn-subtitle-inner {
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.andequick-cod-icon {
  flex-shrink: 0;
}

.andequick-cod-btn:hover {
  background: #1a5fcc;
  box-shadow: 0 6px 18px rgba(38, 121, 245, 0.4);
}

@keyframes andequick-cod-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

.andequick-cod-anim-pulse {
  animation: andequick-cod-pulse 1.8s ease-in-out infinite;
}

@keyframes andequick-cod-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.andequick-cod-anim-bounce {
  animation: andequick-cod-bounce 1.4s ease-in-out infinite;
}

.andequick-cod-anim-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  animation: andequick-cod-shine 2.6s ease-in-out infinite;
}

@keyframes andequick-cod-shine {
  0% { left: -60%; }
  40% { left: 130%; }
  100% { left: 130%; }
}

.andequick-cod-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

.andequick-cod-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 14, 0.6);
  align-items: center;
  justify-content: center;
  z-index: 2147483000;
  padding: 20px;
}

.andequick-cod-modal-content {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  width: 100%;
  max-width: 420px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  text-align: left;
  scrollbar-width: thin;
  scrollbar-color: #2679f5 #eef2f7;
}

.andequick-cod-modal-content::-webkit-scrollbar {
  width: 8px;
}

.andequick-cod-modal-content::-webkit-scrollbar-track {
  background: #eef2f7;
  border-radius: 8px;
}

.andequick-cod-modal-content::-webkit-scrollbar-thumb {
  background: #2679f5;
  border-radius: 8px;
}

.andequick-cod-modal-content::-webkit-scrollbar-thumb:hover {
  background: #1a5fcc;
}

@media (max-width: 480px) {
  .andequick-cod-modal {
    padding: 16px 0;
    align-items: center;
  }

  .andequick-cod-modal-content {
    max-width: 100%;
    width: 100%;
    border-radius: 14px;
    max-height: 90vh;
    padding: 24px 20px;
  }
}

.andequick-cod-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f4f7;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: #666;
  transition: background 0.15s ease;
}

.andequick-cod-close:hover {
  background: #e4e8ef;
}

.andequick-cod-modal-content h3 {
  margin: 0 0 14px;
  font-size: 19px;
  padding-right: 30px;
}

.andequick-cod-subtitle {
  margin: 12px 0 0;
  font-size: 13px;
  color: #777;
  text-align: center;
}

.andequick-cod-product-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 12px 14px;
  background: rgba(38, 121, 245, 0.07);
  border: 1px solid rgba(38, 121, 245, 0.18);
  border-radius: 10px;
}

.andequick-cod-product-row img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.andequick-cod-product-name {
  color: #333;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.4;
}

.andequick-cod-product-info {
  flex: 1;
  min-width: 0;
}

.andequick-cod-product-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: #777;
}

.andequick-cod-product-shipping-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #1f8a4c;
}

.andequick-cod-product-shipping-row svg {
  flex-shrink: 0;
}

.andequick-cod-product-price {
  color: #2679f5;
  font-weight: 600;
  font-size: 13px;
}

.andequick-cod-shipping-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #eaf6ee;
  color: #1f8a4c;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  margin: 0 0 16px;
}

.andequick-cod-shipping-badge svg {
  flex-shrink: 0;
  color: #1f8a4c;
}

.andequick-cod-required {
  color: #c0392b;
}

.andequick-cod-gift-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #fff3e0, #ffe8f0);
  color: #b5541f;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  margin: 0 0 16px;
}

.andequick-cod-gift-icon {
  flex-shrink: 0;
  color: #d4590f;
  transform-origin: 50% 90%;
  animation: andequick-cod-gift-wiggle 2.4s ease-in-out infinite;
}

@keyframes andequick-cod-gift-wiggle {
  0%, 75%, 100% { transform: rotate(0deg); }
  80% { transform: rotate(-10deg); }
  85% { transform: rotate(9deg); }
  90% { transform: rotate(-6deg); }
  95% { transform: rotate(3deg); }
}

.andequick-cod-reviews-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #555;
  text-align: center;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.andequick-cod-reviews-list {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.andequick-cod-reviews-list::-webkit-scrollbar {
  display: none;
}

.andequick-cod-review-card {
  display: flex;
  gap: 10px;
  background: #f7f7f7;
  border-radius: 10px;
  padding: 10px 12px;
  flex: 0 0 88%;
  scroll-snap-align: start;
}

.andequick-cod-reviews-slider {
  position: relative;
  margin-bottom: 16px;
}

.andequick-cod-reviews-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  font-size: 16px;
  line-height: 1;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.andequick-cod-reviews-prev {
  left: -22px;
}

.andequick-cod-reviews-next {
  right: -22px;
}

.andequick-cod-review-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.andequick-cod-review-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2679f5;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}

.andequick-cod-review-body {
  flex: 1;
  min-width: 0;
}

.andequick-cod-review-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #333;
}

.andequick-cod-review-stars {
  display: flex;
  gap: 2px;
  margin: 3px 0;
}

.andequick-cod-review-text {
  font-size: 12px;
  color: #666;
  margin: 2px 0 0;
  font-style: italic;
  line-height: 1.4;
}

.andequick-cod-review-product-img {
  display: block;
  max-width: 100%;
  max-height: 140px;
  border-radius: 8px;
  margin-top: 8px;
}

.andequick-cod-form-intro {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin: 0 0 14px;
}

.andequick-cod-form-intro svg {
  color: #2679f5;
  flex-shrink: 0;
}

.andequick-cod-security-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eee;
  font-size: 11.5px;
  color: #777;
}

.andequick-cod-security-badge svg {
  flex-shrink: 0;
  color: #1f8a4c;
}

.andequick-cod-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.andequick-cod-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.andequick-cod-form-row label {
  margin-bottom: 0;
}

.andequick-cod-form input,
.andequick-cod-form select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  box-sizing: border-box;
  background: #fff;
  color: #333;
  font-family: inherit;
}

.andequick-cod-form select:disabled {
  background: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}

.andequick-cod-form input:focus,
.andequick-cod-form select:focus {
  outline: none;
  border-color: #2679f5;
}

.andequick-cod-submit-btn {
  margin-top: 6px;
}

.andequick-cod-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #eee;
  text-align: center;
}

.andequick-cod-trust-img {
  height: 28px;
  width: auto;
  border-radius: 4px;
}

.andequick-cod-trust-text {
  font-size: 12.5px;
  color: #666;
}

.andequick-cod-custom-element {
  margin: 12px 0 18px;
}

.andequick-cod-divider {
  border-bottom: 1px solid #eee;
  margin: 0 0 16px;
}

.andequick-cod-custom-text {
  font-size: 13px;
  color: #555;
  background: #f5f8ff;
  border-left: 3px solid #2679f5;
  padding: 8px 12px;
  border-radius: 6px;
}

.andequick-cod-custom-image {
  text-align: center;
}

.andequick-cod-custom-image img {
  max-width: 100%;
  border-radius: 8px;
  display: inline-block;
  margin: 0 auto;
}
