@charset "UTF-8";
.gmpqcw-floating-cart-button {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gm-btn-color, #2e6bc6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  z-index: 100000002;
  transition: background 0.22s cubic-bezier(0.4, 0, 0.2, 1), transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: none;
}
.gmpqcw-floating-cart-button svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}
.gmpqcw-floating-cart-button .gmpqcw-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #1a2340;
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid #fff;
}
.gmpqcw-floating-cart-button:hover {
  background: var(--gm-hover-btn-color, #2e6bc6);
  transform: scale(1.07);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
}
.gmpqcw-floating-cart-button:focus-visible {
  outline: 3px solid var(--gm-btn-color, #2e6bc6);
  outline-offset: 3px;
}

.gmpqcw-floating-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 28, 0.55);
  z-index: 100000010;
  animation: gmpqcw-fade-in 0.22s ease;
  backdrop-filter: blur(2px);
}

.gmpqcw-floating-cart-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  width: calc(100% - 32px);
  max-width: 840px;
  max-height: 88vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  z-index: 100000020;
  transform: translate(-50%, -48%) scale(0.94);
  opacity: 0;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.gmpqcw-floating-cart-panel.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.gmpqcw-floating-cart-panel.gmpqcw-form-only {
  max-width: 560px;
}
.gmpqcw-floating-cart-panel .gmpqcw-floating-cart-main {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.gmpqcw-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
  background: #f8f6f1;
}
.gmpqcw-cart-header h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #1a2340;
  letter-spacing: 0.01em;
}
.gmpqcw-cart-header .gmpqcw-item-count {
  font-size: 12px;
  color: #6b7280;
  background: #ede8dc;
  border-radius: 20px;
  padding: 2px 10px;
  margin-left: 10px;
  font-weight: 600;
}

.gmpqcw-floating-cart-panel-inner {
  display: flex;
  flex-direction: row;
  flex: 1;
  overflow: hidden;
}
.gmpqcw-floating-cart-panel-inner .gmpqcw-form:only-child {
  flex: 1 1 100%;
}
@media (max-width: 640px) {
  .gmpqcw-floating-cart-panel-inner {
    flex-direction: column;
    overflow-y: auto;
  }
}

.gmpqcw-cart-content {
  flex: 1 1 50%;
  padding: 20px;
  overflow-y: auto;
  border-right: 1px solid #f0ede6;
}
@media (max-width: 640px) {
  .gmpqcw-cart-content {
    border-right: none;
    border-bottom: 1px solid #f0ede6;
    overflow-y: visible;
  }
}
.gmpqcw-cart-content .gmpqcw-empty-cart {
  text-align: center;
  padding: 40px 20px;
  color: #6b7280;
  font-size: 14px;
}
.gmpqcw-cart-content .gmpqcw-empty-cart .gmpqcw-empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
  display: block;
  opacity: 0.5;
}

.gmpqcw-cart-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  background: #f8f6f1;
  border-radius: 10px;
  margin-bottom: 10px;
  border: 1px solid #ede8dc;
  transition: box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.gmpqcw-cart-card:last-child {
  margin-bottom: 0;
}
.gmpqcw-cart-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.gmpqcw-cart-card img.gmpqcw-cart-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e8e3d8;
  flex-shrink: 0;
}
.gmpqcw-cart-card .gmpqcw-cart-info {
  flex: 1;
  min-width: 0;
}
.gmpqcw-cart-card .gmpqcw-cart-info h4 {
  margin: 0 0 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1a2340;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gmpqcw-cart-card .gmpqcw-cart-info .gmpqcw-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.gmpqcw-cart-card .gmpqcw-qty-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #d8d2c4;
  border-radius: 6px;
  padding: 2px 6px;
}
.gmpqcw-cart-card .gmpqcw-qty-box .gmpqcw-qty-label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.gmpqcw-cart-card .gmpqcw-qty-box .gmpqcw-qty-input {
  width: 44px;
  border: none;
  outline: none;
  font-size: 13px;
  font-weight: 600;
  color: #1a2340;
  text-align: center;
  background: transparent;
  padding: 2px 0;
}
.gmpqcw-cart-card .gmpqcw-remove-btn {
  background: none;
  border: none;
  padding: 3px 6px;
  cursor: pointer;
  color: #6b7280;
  font-size: 11.5px;
  border-radius: 6px;
  transition: color 0.22s cubic-bezier(0.4, 0, 0.2, 1), background 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  color: #dc2626;
  background: #fef2f2;
}
.gmpqcw-cart-card .gmpqcw-remove-btn::before {
  content: "✕";
  font-size: 10px;
}
.gmpqcw-cart-card .gmpqcw-remove-btn:hover {
  color: #dc2626;
  background: #fef2f2;
}
.gmpqcw-cart-card .gmpqcw-remove-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.gmpqcw-form {
  flex: 1 1 50%;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
@media (max-width: 640px) {
  .gmpqcw-form {
    overflow-y: visible;
  }
}
.gmpqcw-form .gmpqcw-form-before-content,
.gmpqcw-form .gmpqcw-form-after-content {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 12px;
}

.gmpqcw-form-group {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
}
.gmpqcw-form-group .gmpqcw-label {
  font-size: 12.5px;
  font-weight: normal;
  color: #1a2340;
  margin-bottom: 5px;
  letter-spacing: 0.02em;
}
.gmpqcw-form-group .gmpqcw-label .gmpqcw-required-star {
  color: #dc2626;
  margin-left: 2px;
}
.gmpqcw-form-group .gmpqcw-input,
.gmpqcw-form-group .gmpqcw-textarea,
.gmpqcw-form-group .gmpqcw-select {
  padding: 9px 12px;
  border: 1.5px solid #ddd8cc;
  border-radius: 6px;
  font-size: 13.5px;
  color: #1a2340;
  background: #f8f6f1;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-appearance: none;
}
.gmpqcw-form-group .gmpqcw-input:focus,
.gmpqcw-form-group .gmpqcw-textarea:focus,
.gmpqcw-form-group .gmpqcw-select:focus {
  outline: none;
  border-color: var(--gm-btn-color, #2e6bc6);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.13);
  background: #fff;
}
.gmpqcw-form-group .gmpqcw-input::placeholder,
.gmpqcw-form-group .gmpqcw-textarea::placeholder,
.gmpqcw-form-group .gmpqcw-select::placeholder {
  color: #b0a890;
}
.gmpqcw-form-group .gmpqcw-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}
.gmpqcw-form-group .gmpqcw-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.gmpqcw-form-group .gmpqcw-radio-container,
.gmpqcw-form-group .gmpqcw-checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 13.5px;
  color: #1a2340;
  cursor: pointer;
}
.gmpqcw-form-group .gmpqcw-radio-container input,
.gmpqcw-form-group .gmpqcw-checkbox-container input {
  accent-color: var(--gm-btn-color, #2e6bc6);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.gmpqcw-phone-wrapper {
  display: flex;
  gap: 6px;
}
.gmpqcw-phone-wrapper .gmpqcw-phone-country {
  width: 90px;
  flex-shrink: 0;
}
.gmpqcw-phone-wrapper .gmpqcw-phone-input {
  flex: 1;
}

.gmpqcw-submit-btn {
  background: #2e6bc6 !important;
  color: #fff !important;
  padding: 11px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background 0.22s cubic-bezier(0.4, 0, 0.2, 1), transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.gmpqcw-submit-btn:hover:not(:disabled) {
  background: #2e6bc6;
  transform: translateY(-1px);
  color: #fff;
}
.gmpqcw-submit-btn:active:not(:disabled) {
  transform: translateY(0);
}
.gmpqcw-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.gmpqcw-submit-btn .gmpqcw-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: gmpqcw-spin 0.7s linear infinite;
  display: inline-block;
}

.gmpqcw_inquirybtn .gmpqcw_inq_addtocart {
  background: var(--gm-btn-color, #2e6bc6);
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 8px 0 !important;
  text-decoration: none;
  transition: background 0.22s cubic-bezier(0.4, 0, 0.2, 1), transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.04em;
}
.gmpqcw_inquirybtn .gmpqcw_inq_addtocart:hover {
  background: var(--gm-hover-btn-color, #2e6bc6);
  color: #fff;
  transform: translateY(-1px);
}
.gmpqcw_inquirybtn .gmpqcw_inq_addtocart:active {
  transform: translateY(0);
}

.gmpqcw-success,
.gmpqcw-error {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: gmpqcw-slide-up 0.25s ease;
}
.gmpqcw-success::before,
.gmpqcw-error::before {
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1.2;
}

.gmpqcw-success {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  color: #16a34a;
}
.gmpqcw-success::before {
  content: "✓";
}

.gmpqcw-error {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  color: #dc2626;
}
.gmpqcw-error::before {
  content: "!";
  font-weight: 900;
}

.gmpqcw-success-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  flex: 1;
}
.gmpqcw-success-panel .gmpqcw-success-icon {
  width: 56px;
  height: 56px;
  background: #f0fdf4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
  color: #16a34a;
  border: 2px solid #bbf7d0;
}
.gmpqcw-success-panel h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1a2340;
  margin: 0 0 8px;
}
.gmpqcw-success-panel p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.gmpqcw-close-button {
  position: absolute;
  right: 14px;
  left: auto;
  top: 14px;
  width: 30px;
  height: 30px;
  border: none;
  background: #ede8dc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1a2340;
  font-size: 16px;
  line-height: 1;
  transition: background 0.22s cubic-bezier(0.4, 0, 0.2, 1), color 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}
.gmpqcw-close-button::before {
  content: "✕";
}
.gmpqcw-close-button:hover {
  background: #e8dfc8;
  color: #dc2626;
}
.gmpqcw-close-button:focus-visible {
  outline: 3px solid var(--gm-btn-color, #2e6bc6);
}

.gmpqcw-floating-cart-panel .gmpqcw-floating-cart-main .gmpqcw-close-button {
  position: absolute !important;
  left: auto !important;
  right: 14px !important;
  top: 14px !important;
}

.wd-product .product-element-top .wd-add-btn,
.wd-product .product-element-top .wd-buttons,
.wd-product .product-element-top .product-buttons,
.wd-product .product-element-top .product-hover-button,
.wd-product .product-element-top .quick-view-button {
  display: none !important;
}

.gmpqcw-container {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.gmpqcw-container .gmpqcw-cart {
  flex: 1 1 340px;
}
.gmpqcw-container .gmpqcw-form {
  flex: 1 1 320px;
}

.gmpqcw-skeleton {
  background: linear-gradient(90deg, #f0ede6 25%, #e8e4da 50%, #f0ede6 75%);
  background-size: 200% 100%;
  animation: gmpqcw-shimmer 1.4s infinite;
  border-radius: 6px;
  height: 70px;
  margin-bottom: 10px;
}

@keyframes gmpqcw-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes gmpqcw-slide-up {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes gmpqcw-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes gmpqcw-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
