/* ========================================================
   BIONIQ OFFICIAL E-COMMERCE STYLES
   ======================================================== */

:root {
  --bq-blue-dark: #003b64;
  --bq-blue-primary: #009fe3;
  --bq-blue-hover: #0084be;
  --bq-pink: #e40046;
  --bq-pink-hover: #c7003c;
  --bq-green: #00a650;
  --bq-gray-bg: #f5f7fa;
  --bq-border: #e2e8f0;
  --bq-text-dark: #1a202c;
  --bq-text-muted: #64748b;
  --bq-shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --bq-shadow-md: 0 8px 24px rgba(0,0,0,0.12);
  --bq-shadow-lg: 0 16px 40px rgba(0,0,0,0.18);
}

/* Header eCommerce items */
.header-ecommerce-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.header-account-btn,
.header-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 20px;
  background: rgba(0, 159, 227, 0.08);
  color: var(--bq-blue-dark);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none !important;
  border: 1px solid rgba(0, 159, 227, 0.2);
}

.header-account-btn:hover,
.header-cart-btn:hover {
  background: var(--bq-blue-primary);
  color: #fff !important;
  border-color: var(--bq-blue-primary);
}

.header-cart-btn {
  position: relative;
  background: #fff;
  border-color: var(--bq-blue-primary);
  color: var(--bq-blue-primary);
}

.cart-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bq-pink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: absolute;
  top: -8px;
  right: -8px;
  box-shadow: 0 2px 5px rgba(228, 0, 70, 0.4);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-count-badge.pulse {
  transform: scale(1.3);
}

/* Product Card eCommerce Enhancements */
.module-products-carousel-item {
  position: relative;
  background: #fff;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #edf2f7;
  padding-bottom: 15px;
}

.module-products-carousel-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--bq-shadow-md);
}

.product-tag-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--bq-blue-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-tag-badge.discount {
  background: var(--bq-pink);
}

.product-rating-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 6px 0 10px 0;
  font-size: 13px;
  color: #eab308;
}

.product-rating-box .reviews-count {
  color: var(--bq-text-muted);
  font-size: 12px;
  margin-left: 4px;
}

.product-pricing-box {
  margin: 12px 0 16px 0;
  text-align: center;
}

.product-pricing-box .price-old {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
  margin-right: 6px;
}

.product-pricing-box .price-current {
  font-size: 24px;
  font-weight: 800;
  color: var(--bq-blue-dark);
  line-height: 1;
}

.product-pricing-box .price-discount-tag {
  display: inline-block;
  background: #fef2f2;
  color: var(--bq-pink);
  font-weight: 700;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.product-pricing-box .price-installments {
  display: block;
  font-size: 12px;
  color: var(--bq-text-muted);
  margin-top: 4px;
}

.product-pricing-box .price-pix {
  display: block;
  font-size: 11px;
  color: var(--bq-green);
  font-weight: 600;
  margin-top: 2px;
}

.card-actions-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 15px;
}

.card-actions-wrapper .btn-buy-now {
  background: var(--bq-blue-primary) !important;
  color: #fff !important;
  font-weight: 700;
  border: none !important;
  border-radius: 24px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 159, 227, 0.25);
  cursor: pointer;
  width: 100%;
}

.card-actions-wrapper .btn-buy-now:hover {
  background: var(--bq-blue-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 159, 227, 0.35);
}

.card-actions-wrapper .btn-quick-view {
  background: transparent !important;
  color: var(--bq-blue-dark) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 24px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  width: 100%;
}

.card-actions-wrapper .btn-quick-view:hover {
  background: #f8fafc !important;
  border-color: var(--bq-blue-primary) !important;
  color: var(--bq-blue-primary) !important;
}

/* ========================================================
   MODAL OVERLAY (Quick View, Cart, Checkout, Auth)
   ======================================================== */
.bq-overlay-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bq-overlay-backdrop.active {
  display: flex;
  opacity: 1;
}

/* Quick View Product Modal (Drogasil Style) */
.bq-product-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 95%;
  max-width: 960px;
  max-height: 90vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--bq-shadow-lg);
  z-index: 100000;
  display: none;
  overflow-y: auto;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bq-product-modal.active {
  display: block;
  transform: translate(-50%, -50%) scale(1);
}

/* Info Modal (FAQ, Estudos, Contato, Hidroxiapatita) */
.bq-info-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 95%;
  max-width: 720px;
  max-height: 85vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--bq-shadow-lg);
  z-index: 100000;
  display: none;
  overflow-y: auto;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bq-info-modal.active {
  display: block;
  transform: translate(-50%, -50%) scale(1);
}

.bq-info-modal-body {
  padding: 24px;
}

.bq-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--bq-border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}

.bq-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.2s;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bq-modal-close:hover {
  background: #f1f5f9;
  color: var(--bq-text-dark);
}

.bq-product-modal-body {
  padding: 24px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.modal-gallery-side {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-main-img-wrap {
  width: 100%;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafbfc;
  border-radius: 12px;
  padding: 20px;
  position: relative;
  border: 1px solid #f1f5f9;
}

.modal-main-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.modal-main-img-wrap:hover img {
  transform: scale(1.05);
}

.modal-thumbs-row {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.modal-thumb-btn {
  width: 60px;
  height: 60px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.modal-thumb-btn.active {
  border-color: var(--bq-blue-primary);
}

.modal-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-info-side .modal-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--bq-text-dark);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.modal-info-side .modal-brand-row {
  font-size: 13px;
  color: var(--bq-text-muted);
  margin-bottom: 12px;
}

.modal-info-side .modal-seller {
  display: inline-block;
  background: #f0f9ff;
  color: #0369a1;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 16px;
}

.modal-price-card {
  background: #f8fafc;
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 18px;
  border: 1px solid #e2e8f0;
}

.modal-price-card .modal-price-old {
  font-size: 14px;
  color: #94a3b8;
  text-decoration: line-through;
}

.modal-price-card .modal-price-val {
  font-size: 32px;
  font-weight: 800;
  color: var(--bq-blue-dark);
  margin: 4px 0;
}

.modal-bullets-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.modal-bullets-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #334155;
  line-height: 1.4;
}

.modal-bullets-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--bq-green);
  font-weight: 800;
}

.modal-qty-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.qty-picker {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  height: 46px;
}

.qty-btn {
  background: none;
  border: none;
  width: 40px;
  height: 100%;
  font-size: 18px;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: #f1f5f9;
}

.qty-value {
  width: 40px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--bq-text-dark);
}

.btn-modal-add-cart {
  flex: 1;
  height: 46px;
  background: var(--bq-pink);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-modal-add-cart:hover {
  background: var(--bq-pink-hover);
}

.btn-modal-buy-now {
  flex: 1;
  height: 46px;
  background: var(--bq-blue-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-modal-buy-now:hover {
  background: var(--bq-blue-hover);
}

/* Shipping Simulator in Modal */
.modal-shipping-calculator {
  background: #f8fafc;
  border-radius: 8px;
  padding: 14px;
  border: 1px solid #e2e8f0;
}

.modal-shipping-calculator .shipping-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--bq-text-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.shipping-input-group {
  display: flex;
  gap: 8px;
}

.shipping-input-group input {
  flex: 1;
  height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 13px;
}

.shipping-input-group button {
  background: var(--bq-blue-dark);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.shipping-results {
  margin-top: 10px;
  font-size: 12px;
  color: #334155;
  display: none;
}

.shipping-results table {
  width: 100%;
}

.shipping-results td {
  padding: 4px 0;
}

/* ========================================================
   SLIDE-OVER CART DRAWER
   ======================================================== */
.bq-cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 30px rgba(0,0,0,0.2);
  z-index: 100001;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bq-cart-drawer.active {
  right: 0;
}

.bq-cart-header {
  padding: 20px;
  border-bottom: 1px solid var(--bq-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}

.bq-cart-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--bq-blue-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.free-shipping-progress-wrap {
  background: #f0fdf4;
  padding: 12px 20px;
  border-bottom: 1px solid #dcfce7;
}

.free-shipping-text {
  font-size: 12px;
  font-weight: 600;
  color: #166534;
  margin-bottom: 6px;
}

.free-shipping-bar {
  height: 6px;
  background: #dcfce7;
  border-radius: 4px;
  overflow: hidden;
}

.free-shipping-fill {
  height: 100%;
  background: var(--bq-green);
  width: 0%;
  transition: width 0.4s ease;
}

.bq-cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.cart-item-row {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  background: #fafbfc;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
  padding: 4px;
  object-fit: contain;
}

.cart-item-details {
  flex: 1;
}

.cart-item-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--bq-text-dark);
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.cart-item-vol {
  font-size: 11px;
  color: var(--bq-text-muted);
}

.cart-item-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--bq-blue-dark);
  margin: 6px 0;
}

.cart-item-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-mini-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  height: 28px;
}

.cart-mini-qty button {
  background: none;
  border: none;
  width: 24px;
  height: 100%;
  font-size: 14px;
  cursor: pointer;
  color: #475569;
}

.cart-mini-qty span {
  padding: 0 8px;
  font-size: 13px;
  font-weight: 700;
}

.cart-item-delete {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 14px;
  transition: color 0.2s;
}

.cart-item-delete:hover {
  color: var(--bq-pink);
}

.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--bq-text-muted);
}

.cart-empty-state i {
  font-size: 48px;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.bq-cart-footer {
  padding: 20px;
  border-top: 1px solid var(--bq-border);
  background: #fff;
}

.coupon-box {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.coupon-box input {
  flex: 1;
  height: 36px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 13px;
  text-transform: uppercase;
}

.coupon-box button {
  background: var(--bq-blue-dark);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.cart-totals-table {
  width: 100%;
  font-size: 13px;
  margin-bottom: 16px;
}

.cart-totals-table td {
  padding: 4px 0;
}

.cart-totals-table tr.total-row td {
  font-size: 18px;
  font-weight: 800;
  color: var(--bq-blue-dark);
  border-top: 1px solid #e2e8f0;
  padding-top: 10px;
}

.btn-checkout-cta {
  display: block;
  width: 100%;
  height: 48px;
  background: var(--bq-green);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 166, 80, 0.3);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
}

.btn-checkout-cta:hover {
  background: #008f45;
  color: #fff !important;
  transform: translateY(-1px);
}

.btn-continue-shopping {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  color: var(--bq-text-muted);
  text-decoration: underline;
  cursor: pointer;
}

/* ========================================================
   CHECKOUT MODAL (Shopify / Drogasil Pro Style)
   ======================================================== */
.bq-checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 95%;
  max-width: 980px;
  max-height: 92vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--bq-shadow-lg);
  z-index: 100005;
  display: none;
  overflow-y: auto;
  transition: all 0.3s ease;
}

.bq-checkout-modal.active {
  display: block;
  transform: translate(-50%, -50%) scale(1);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 500px;
}

@media (max-width: 850px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

.checkout-main-side {
  padding: 30px;
  border-right: 1px solid var(--bq-border);
}

.checkout-summary-side {
  padding: 30px;
  background: #fafbfc;
}

.checkout-steps-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  position: relative;
}

.checkout-step-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
}

.checkout-step-badge.active {
  color: var(--bq-blue-primary);
}

.checkout-step-badge.done {
  color: var(--bq-green);
}

.checkout-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.checkout-step-badge.active .checkout-step-num {
  background: var(--bq-blue-primary);
  color: #fff;
}

.checkout-step-badge.done .checkout-step-num {
  background: var(--bq-green);
  color: #fff;
}

.form-group-custom {
  margin-bottom: 16px;
}

.form-group-custom label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
}

.form-group-custom input,
.form-group-custom select {
  width: 100%;
  height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0 14px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.form-group-custom input:focus,
.form-group-custom select:focus {
  border-color: var(--bq-blue-primary);
  outline: none;
}

.form-row-custom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Payment Methods Selector */
.payment-methods-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.payment-tab-btn {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s;
}

.payment-tab-btn.active {
  border-color: var(--bq-blue-primary);
  background: #f0f9ff;
  color: var(--bq-blue-dark);
}

.payment-tab-btn i {
  font-size: 20px;
  display: block;
  margin-bottom: 4px;
}

.payment-tab-btn span {
  font-size: 12px;
  font-weight: 700;
}

.pix-box-content {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.pix-qr-img {
  width: 160px;
  height: 160px;
  margin: 10px auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px;
  background: #fff;
}

.pix-copy-box {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.pix-code-input {
  flex: 1;
  height: 38px;
  font-size: 11px;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0 10px;
}

.btn-copy-pix {
  background: var(--bq-green);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* Success Order State */
.order-success-box {
  text-align: center;
  padding: 40px 20px;
}

.order-success-icon {
  width: 70px;
  height: 70px;
  background: #dcfce7;
  color: var(--bq-green);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 20px;
}

/* Account Modal */
.bq-account-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 95%;
  max-width: 520px;
  max-height: 90vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--bq-shadow-lg);
  z-index: 100004;
  display: none;
  overflow-y: auto;
  transition: all 0.3s ease;
}

.bq-account-modal.active {
  display: block;
  transform: translate(-50%, -50%) scale(1);
}

.account-tabs-header {
  display: flex;
  border-bottom: 1px solid var(--bq-border);
}

.account-tab-nav {
  flex: 1;
  text-align: center;
  padding: 14px;
  font-weight: 700;
  font-size: 14px;
  color: #64748b;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.account-tab-nav.active {
  color: var(--bq-blue-primary);
  border-bottom-color: var(--bq-blue-primary);
}

/* Toast notifications */
.bq-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1e293b;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 100010;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bq-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Header Nav eCommerce additions */
.header-nav-account-link,
.header-nav-cart-link {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 16px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #fff !important;
  text-decoration: none !important;
  position: relative;
  transition: all 0.2s ease;
  height: 100%;
}

.header-nav-account-link:hover,
.header-nav-cart-link:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
}

.nav-item-cart {
  position: relative;
}

.header-nav-cart-link .cart-count-badge {
  position: absolute;
  top: 8px;
  right: 4px;
  background: #e40046;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.buy-nav {
  background-color: #e40046 !important;
  color: #fff !important;
  font-weight: 700 !important;
  transition: background-color 0.2s ease;
}

.buy-nav:hover {
  background-color: #c7003c !important;
}

/* Clean Carousel Rows Styles (Zero AI look, Pure E-Commerce) */
.dg-carousel-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #4b5563;
  font-size: 16px;
  line-height: 1;
  transition: all 0.2s ease;
}

.dg-carousel-arrow-btn:hover {
  border-color: #111827;
  color: #111827;
  background: #f9fafb;
}

.dg-horizontal-scroll-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
}

.dg-horizontal-scroll-track::-webkit-scrollbar {
  height: 6px;
}

.dg-horizontal-scroll-track::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.dg-horizontal-scroll-track::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.dg-horizontal-scroll-track::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.dg-compact-card {
  flex: 0 0 205px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.dg-compact-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.dg-card-discount-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #b01127;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
}

.dg-card-img-wrap {
  width: 100%;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  background: #ffffff;
}

.dg-card-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.dg-card-title {
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.35;
  height: 35px;
  overflow: hidden;
  margin-bottom: 6px;
}

.dg-card-rating {
  font-size: 11px;
  color: #f59e0b;
  margin-bottom: 6px;
}

.dg-card-rating span {
  color: #6b7280;
  margin-left: 2px;
}

.dg-card-price-old {
  font-size: 11px;
  color: #9ca3af;
  text-decoration: line-through;
  height: 14px;
}

.dg-card-price-val {
  font-size: 17px;
  font-weight: 800;
  color: #111827;
  margin-top: 2px;
}

.dg-card-buy-btn {
  margin-top: 10px;
  width: 100%;
  height: 34px;
  background: #ffffff;
  border: 1px solid #111827;
  border-radius: 17px;
  color: #111827;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dg-card-buy-btn:hover {
  background: #111827;
  color: #ffffff;
}

/* ========================================================
   GLASS LATERAL ARROWS & PARTNERS FOOTER
   ======================================================== */

.dg-horizontal-scroll-track {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.dg-horizontal-scroll-track::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.carousel-glass-wrapper {
  position: relative;
  width: 100%;
}

.glass-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 59, 100, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #003b64;
  font-size: 20px;
  cursor: pointer;
  z-index: 20;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.glass-arrow:hover {
  background: #ffffff;
  color: #009fe3;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 8px 24px rgba(0, 159, 227, 0.25);
  border-color: #009fe3;
}

.glass-arrow-prev {
  left: -20px;
}

.glass-arrow-next {
  right: -20px;
}

@media (max-width: 768px) {
  .glass-arrow-prev { left: 4px; }
  .glass-arrow-next { right: 4px; }
  .glass-arrow { width: 36px; height: 36px; font-size: 16px; }
}

/* Partner Pharmacy Logos in Footer */
.footer-partners-section {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 32px 20px;
  text-align: center;
}

.footer-partners-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
  margin-bottom: 20px;
}

.footer-partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 10px 24px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  transition: all 0.25s ease;
  height: 56px;
}

.partner-logo-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}

.partner-logo-item img {
  height: 28px;
  max-width: 140px;
  object-fit: contain;
}

/* PHARMACY SELECTION & CLEAN REVIEWS STYLES */
.pharmacy-options-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.pharmacy-card-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pharmacy-card-option:hover {
    border-color: #009fe3;
    background: #f8fafc;
}

.pharmacy-card-option.active {
    border-color: #003b64;
    background: #f0fdf4;
    box-shadow: 0 2px 8px rgba(0, 59, 100, 0.08);
}

.pharmacy-card-option input[type="radio"] {
    accent-color: #003b64;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.pharmacy-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.pharmacy-badge.drogasil {
    background: #fef2f2;
    color: #b01127;
    border: 1px solid #fecaca;
}

.pharmacy-badge.drogaraia {
    background: #f0f9ff;
    color: #003865;
    border: 1px solid #bae6fd;
}

.pharmacy-badge.retirar {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.pharmacy-time-info {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    margin-top: 2px;
}

.pharmacy-desc-sub {
    font-size: 11px;
    color: #64748b;
}

.pharmacy-price-col {
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
}

.pharmacy-price-num {
    font-size: 14px;
    font-weight: 800;
    color: #003b64;
}

.pharmacy-price-num.free {
    color: #16a34a;
}

/* Review Cards: Clean, Natural, No Traços */
.real-reactions-panel {
    border-top: none !important;
    padding: 30px 0 !important;
}

.real-score-row {
    border-bottom: none !important;
    border-top: none !important;
    padding: 10px 0 20px 0 !important;
}

.review-card-item {
    border: 1px solid #edf2f7 !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03) !important;
    background: #ffffff !important;
    padding: 20px !important;
    border-radius: 12px !important;
}

.review-card-item:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.06) !important;
}


/* ULTRA-COMPACT MINIMALIST PHARMACY SHIPPING SELECTOR */
.mini-shipping-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 8px;
}
.mini-ship-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.mini-ship-item:hover {
  border-color: #009fe3;
  background: #f8fafc;
}
.mini-ship-item.active {
  border-color: #003b64;
  background: #f1f5f9;
  box-shadow: 0 1px 3px rgba(0, 59, 100, 0.06);
}
.mini-ship-item input[type="radio"] {
  accent-color: #003b64;
  width: 14px;
  height: 14px;
  margin: 0;
  cursor: pointer;
}
.mini-ship-logo {
  height: 15px;
  max-width: 68px;
  object-fit: contain;
  display: block;
}
.mini-ship-icon-pin {
  width: 16px;
  text-align: center;
  color: #003b64;
  font-size: 13px;
}
.mini-ship-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.mini-ship-name {
  font-size: 11px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}
.mini-ship-time {
  font-size: 10px;
  color: #64748b;
  line-height: 1.2;
}
.mini-ship-price {
  margin-left: auto;
  font-size: 12px;
  font-weight: 800;
  color: #003b64;
  white-space: nowrap;
}
.mini-ship-price.free {
  color: #16a34a;
}

/* Glass arrow mobile and desktop adjustments */
.glass-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 59, 100, 0.12);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #003b64;
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  user-select: none;
}
.glass-arrow:hover {
  background: #ffffff;
  color: #009fe3;
  box-shadow: 0 3px 10px rgba(0, 159, 227, 0.2);
}
.glass-arrow-prev { left: -14px !important; }
.glass-arrow-next { right: -14px !important; }

@media (max-width: 768px) {
  /* Hide overlapping floating buttons on mobile to allow native fluid swipe and prevent covering card content */
  .glass-arrow {
    display: none !important;
  }
}


/* ==========================================================
   SUPER REFINEMENTS: COUNTDOWN, PRO PIX PRICE, PICKUP MAP, MOBILE REVIEWS
   ========================================================== */

/* 1. Countdown Bar */
.offer-countdown-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #009fe3;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.countdown-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #009fe3;
  box-shadow: 0 0 0 0 rgba(0, 159, 227, 0.7);
  animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 159, 227, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(0, 159, 227, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 159, 227, 0); }
}
.countdown-label {
  font-size: 11px;
  font-weight: 600;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.countdown-timer-digits {
  font-size: 13px;
  font-weight: 800;
  color: #003b64;
  font-variant-numeric: tabular-nums;
  margin-left: auto;
  background: #e2e8f0;
  padding: 2px 7px;
  border-radius: 4px;
}

/* 2. Sleek Institutional Price & Pix Area */
.prod-price-box-v2 {
  margin-bottom: 16px;
}
.price-top-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.price-strikethrough {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
}
.price-save-badge {
  font-size: 11px;
  font-weight: 700;
  color: #003b64;
  background: #e0f2fe;
  padding: 2px 7px;
  border-radius: 4px;
}
.price-main-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  flex-wrap: nowrap;
}
.price-pix-block {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}
.price-currency {
  font-size: 20px;
  font-weight: 800;
  color: #003b64;
}
.price-amount {
  font-size: 34px;
  font-weight: 900;
  color: #003b64;
  line-height: 1;
  letter-spacing: -0.5px;
}
.price-pix-pill {
  font-size: 13px;
  font-weight: 700;
  color: #00875a;
  background: #e3fcef;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 2px;
}
.price-payment-term {
  font-size: 12px;
  color: #64748b;
}
.price-card-subtext {
  font-size: 12px;
  color: #475569;
  line-height: 1.4;
}

/* 3. Shipping Free Badge */
.free-shipping-badge {
  font-size: 11px;
  font-weight: 700;
  color: #166534;
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: 4px;
}

/* 4. Pickup Store Picker & Map */
.pickup-details-wrap {
  margin-top: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}
.pickup-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.pickup-search-bar input {
  flex: 1;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 11px;
  background: #fff;
  outline: none;
}
.pickup-stores-list {
  max-height: 155px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.pickup-store-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background 0.15s;
}
.pickup-store-item:hover {
  background: #f8fafc;
}
.pickup-store-item.selected {
  background: #f0fdf4;
  border-left: 3px solid #16a34a;
}
.store-meta-left {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.store-brand-name {
  font-size: 11px;
  font-weight: 700;
  color: #003b64;
}
.store-address {
  font-size: 10px;
  color: #64748b;
}
.store-meta-right {
  text-align: right;
  white-space: nowrap;
}
.store-dist {
  font-size: 10px;
  font-weight: 700;
  color: #1e293b;
}
.store-ready {
  font-size: 9px;
  color: #16a34a;
  font-weight: 600;
}
.pickup-map-container {
  height: 90px;
  background: #f1f5f9;
  position: relative;
  border-top: 1px solid #e2e8f0;
  overflow: hidden;
}

/* 5. Mobile Minimalist Scroll for Reviews */
@media (max-width: 768px) {
  .real-reviews-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 12px !important;
    padding: 4px 4px 16px 4px !important;
    scrollbar-width: thin !important;
  }
  .real-reviews-grid::-webkit-scrollbar {
    height: 5px;
    display: block !important;
  }
  .real-reviews-grid::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
  }
  .review-card-item {
    flex: 0 0 85% !important;
    min-width: 270px !important;
    scroll-snap-align: start !important;
  }
  /* Never show overlapping arrows on mobile */
  .glass-arrow {
    display: none !important;
  }
}

/* Desktop Glass Arrow safety */
@media (min-width: 769px) {
  .glass-arrow-prev { left: -16px !important; }
  .glass-arrow-next { right: -16px !important; }
}

/* Card Countdown Tag in index.html */
.card-countdown-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #b01127;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
}


.card-countdown-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b01127;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  margin: 6px 0;
  letter-spacing: 0.2px;
}


/* Official Partner Logos Adjustments */
.footer-partner-logo.drogaraia {
  height: 38px !important;
  max-width: 140px !important;
  object-fit: contain !important;
}
.mini-ship-logo {
  height: 16px !important;
  max-width: 72px !important;
  object-fit: contain !important;
}
.free-shipping-badge {
  white-space: nowrap !important;
}


/* CARD BUTTONS HORIZONTAL LEVEL ALIGNMENT */
.dg-compact-card {
  flex: 0 0 205px !important;
  width: 205px !important;
  min-height: 405px !important;
  height: 405px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
  padding: 14px !important;
  background: #ffffff !important;
}

.dg-compact-card > a {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  color: inherit !important;
}

.dg-card-title {
  height: 38px !important;
  max-height: 38px !important;
  overflow: hidden !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #003b64 !important;
  line-height: 1.3 !important;
  margin-bottom: 2px !important;
}

.dg-card-rating {
  margin-bottom: 4px !important;
}

.card-countdown-strip {
  margin: 2px 0 4px 0 !important;
}

.dg-card-price-anchor {
  margin-top: auto !important;
}

.dg-card-buttons-row {
  margin-top: auto !important;
  padding-top: 8px !important;
  display: flex !important;
  gap: 6px !important;
  align-items: center !important;
}

/* Footer partner logos as purely decorative */
.footer-partners-grid .partner-logo-item {
  cursor: default !important;
  pointer-events: none !important;
}
.footer-partners-grid .partner-logo-item:hover {
  transform: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}


/* STRICT UNIFORM HEIGHT & BOTTOM PINNING FOR ALL PRODUCT CARDS */
.dg-horizontal-scroll-track {
  align-items: stretch !important;
}
.dg-compact-card {
  flex: 0 0 205px !important;
  width: 205px !important;
  min-height: 385px !important;
  height: 385px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
  padding: 14px !important;
  background: #ffffff !important;
  position: relative !important;
}
.dg-compact-card > a {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  text-decoration: none !important;
  color: inherit !important;
}
.dg-card-title {
  min-height: 38px !important;
  height: 38px !important;
  max-height: 38px !important;
  overflow: hidden !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #003b64 !important;
  line-height: 1.3 !important;
  margin-bottom: 2px !important;
}
.dg-card-rating {
  margin-bottom: 4px !important;
}
.card-countdown-strip {
  margin: 2px 0 4px 0 !important;
}
.dg-card-price-old {
  margin-top: auto !important;
}
.dg-card-price-anchor {
  margin-top: auto !important;
}
.dg-card-buttons-row {
  margin-top: 8px !important;
  padding-top: 0 !important;
  display: flex !important;
  gap: 6px !important;
  align-items: center !important;
}
.dg-card-buy-btn {
  height: 34px !important;
  line-height: 32px !important;
}

/* Product review form */
.review-form-card {
  margin-top: 24px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.review-form-title {
  margin: 0 0 4px 0;
  font-size: 19px;
  font-weight: 800;
  color: #003b64;
}

.review-form-sub {
  margin: 0 0 16px 0;
  font-size: 13px;
  color: #64748b;
}

.review-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.review-form-card input,
.review-form-card select,
.review-form-card textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-size: 13px;
  padding: 10px 12px;
  outline: none;
}

.review-form-card input:focus,
.review-form-card select:focus,
.review-form-card textarea:focus {
  border-color: #009fe3;
  box-shadow: 0 0 0 3px rgba(0, 159, 227, 0.12);
}

.review-form-card textarea {
  min-height: 110px;
  resize: vertical;
  margin-bottom: 12px;
}

.review-form-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-submit-btn {
  background: #003b64;
  color: #ffffff;
  border: 0;
  border-radius: 24px;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.review-submit-btn:hover {
  background: #002947;
}

.review-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.review-form-msg {
  font-size: 12px;
  font-weight: 600;
}

.review-form-msg.ok {
  color: #16a34a;
}

.review-form-msg.err {
  color: #dc2626;
}

.review-card-item.is-new {
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.28);
}

@media (max-width: 640px) {
  .review-form-row {
    grid-template-columns: 1fr;
  }

  .review-form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .review-submit-btn {
    width: 100%;
  }
}

/* Contact details inside the info modal */
.bq-contact-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px 0;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13px;
  color: #334155;
}

.bq-contact-list a {
  color: #009fe3;
  text-decoration: none;
}

.bq-contact-list a:hover {
  text-decoration: underline;
}


/* Credit Card Real-Time Brand & Formatting */
.card-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.card-input-wrap input {
  width: 100%;
  padding-right: 80px !important;
  font-family: 'Consolas', 'Courier New', monospace, sans-serif !important;
  font-size: 15px !important;
  letter-spacing: 1.2px;
}

.card-brand-badge {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.brand-chip.generic {
  background: #f1f5f9;
  color: #94a3b8;
  border: 1px solid #cbd5e1;
}

.brand-chip.visa {
  background: #00579f;
  color: #ffffff;
  font-style: italic;
  font-family: sans-serif;
  box-shadow: 0 1px 3px rgba(0,87,159,0.3);
}

.brand-chip.mastercard {
  background: #eb001b;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(235,0,27,0.3);
}

.brand-chip.elo {
  background: #000000;
  color: #ffcb05;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.brand-chip.hipercard {
  background: #b3141a;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(179,20,26,0.3);
}

.brand-chip.amex {
  background: #2e77bc;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(46,119,188,0.3);
}

.brand-chip.diners {
  background: #004a98;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,74,152,0.3);
}

.card-accepted-icons {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.accepted-pill {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.accepted-pill.active {
  background: #003b64;
  color: #ffffff;
  border-color: #003b64;
}


/* ==========================================================
   HIGH-CONVERSION PREMIUM CTA BUTTONS & CHECKOUT REFINEMENTS
   ========================================================== */
.payment-methods-tabs {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  margin-bottom: 16px !important;
}

.checkout-step-content .btn-primary,
.checkout-step-content button.btn-primary {
  background: linear-gradient(135deg, #004b80 0%, #002e52 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  letter-spacing: 0.3px !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(0, 59, 100, 0.32) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}

.checkout-step-content .btn-primary:hover,
.checkout-step-content button.btn-primary:hover {
  background: linear-gradient(135deg, #005a99 0%, #003660 100%) !important;
  box-shadow: 0 6px 18px rgba(0, 59, 100, 0.45) !important;
  transform: translateY(-1px) !important;
  color: #ffffff !important;
}

.checkout-step-content .btn-primary:active,
.checkout-step-content button.btn-primary:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(0, 59, 100, 0.3) !important;
}

/* Final Checkout Confirmation CTA */
.btn-final-order-cta {
  width: 100% !important;
  min-height: 62px !important;
  height: auto !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  background: linear-gradient(135deg, #0f9f55 0%, #0b7a3e 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 10px 24px rgba(11, 122, 62, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  text-align: left !important;
  position: relative !important;
  overflow: hidden !important;
}

.btn-final-order-cta::before {
  content: '';
  position: absolute;
  top: -70%;
  right: -12%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 68%);
  pointer-events: none;
}

.btn-final-order-cta > * {
  position: relative;
  z-index: 1;
}

.btn-final-order-cta .cta-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.btn-final-order-cta .cta-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}

.btn-final-order-cta .cta-copy strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1px;
  color: #ffffff;
}

.btn-final-order-cta .cta-copy small {
  display: block;
  font-size: 10.5px;
  line-height: 1.25;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.btn-final-order-cta .cta-arrow {
  flex: 0 0 auto;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease;
}

.btn-final-order-cta:hover {
  background: linear-gradient(135deg, #0b8a4b 0%, #096c36 100%) !important;
  box-shadow: 0 12px 28px rgba(11, 122, 62, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-1px) !important;
}

.btn-final-order-cta:hover .cta-arrow {
  transform: translateX(3px);
}

.btn-final-order-cta:active {
  transform: translateY(0) !important;
}

.btn-final-order-cta:disabled,
.btn-final-order-cta.is-loading {
  cursor: wait !important;
  opacity: 0.9 !important;
  transform: none !important;
}

.chk-final-actions {
  align-items: center;
}

.chk-final-actions .btn-final-order-cta {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
}

/* Card order processing and pending states */
.order-processing-box {
  padding: 44px 24px 38px;
  text-align: center;
}

.processing-ring {
  width: 78px;
  height: 78px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #16a34a;
  box-shadow: 0 10px 30px rgba(22, 163, 74, 0.16);
}

.processing-ring i {
  font-size: 34px;
}

.order-processing-box h2 {
  margin: 0 0 8px;
  color: #003b64;
  font-size: 23px;
  font-weight: 800;
}

.order-processing-box > p {
  max-width: 420px;
  margin: 0 auto 22px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.processing-track {
  width: min(100%, 360px);
  height: 7px;
  margin: 0 auto 22px;
  border-radius: 99px;
  background: #e2e8f0;
  overflow: hidden;
}

.processing-progress {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #15803d);
  animation: bq-processing-progress 2.5s ease forwards;
}

@keyframes bq-processing-progress {
  0% { width: 6%; }
  45% { width: 58%; }
  100% { width: 100%; }
}

.processing-steps {
  width: min(100%, 360px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.processing-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.processing-step i {
  font-size: 8px;
  color: #cbd5e1;
}

.processing-step.active {
  border-color: #86efac;
  background: #f0fdf4;
  color: #166534;
}

.processing-step.active i {
  color: #16a34a;
}

.processing-step.done {
  border-color: #bbf7d0;
  background: #f8fafc;
  color: #64748b;
}

.processing-step.done i {
  color: #16a34a;
}

.order-pending-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #d97706;
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.12);
}

.order-pending-icon i {
  font-size: 32px;
}

.order-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.order-status-pill.pending {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #b45309;
}

@media (max-width: 768px) {
  .btn-final-order-cta {
    min-height: 58px !important;
    height: auto !important;
    padding: 8px 10px !important;
    gap: 9px !important;
  }

  .btn-final-order-cta .cta-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 16px;
  }

  .btn-final-order-cta .cta-copy strong {
    font-size: 13.5px;
  }

  .btn-final-order-cta .cta-copy small {
    font-size: 9.5px;
  }

  .order-processing-box {
    padding: 34px 18px 30px;
  }

  .order-processing-box h2 {
    font-size: 20px;
  }
}

/* Scarcity Timer Banner inside Checkout */
.chk-scarcity-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}

.chk-scarcity-bar i {
  color: #2563eb;
  font-size: 13px;
}

.chk-scarcity-bar strong {
  font-weight: 800;
  color: #1d4ed8;
  font-variant-numeric: tabular-nums;
  background: #dbeafe;
  padding: 1px 6px;
  border-radius: 4px;
}

/* Checkout Delivery Selector */
.chk-delivery-selection {
  margin-top: 14px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.chk-delivery-label {
  font-size: 12px;
  font-weight: 700;
  color: #003b64;
  margin-bottom: 8px;
  display: block;
}

/* Compact Responsive Mobile Rules for Shipping & Pharmacy */
@media (max-width: 640px) {
  .prod-ship-wrap {
    padding: 10px 12px !important;
    margin-top: 12px !important;
  }
  .prod-ship-wrap div:first-child {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }
  #pageFreeShippingBadge {
    font-size: 10px !important;
    padding: 2px 7px !important;
  }
  .mini-shipping-list {
    gap: 4px !important;
    margin-top: 6px !important;
  }
  .mini-ship-item {
    padding: 6px 8px !important;
    gap: 8px !important;
  }
  .mini-ship-logo {
    height: 14px !important;
    max-width: 58px !important;
  }
  .mini-ship-name {
    font-size: 11px !important;
  }
  .mini-ship-time {
    font-size: 9.5px !important;
  }
  .mini-ship-price {
    font-size: 11px !important;
  }
  .pickup-stores-list {
    max-height: 135px !important;
  }
  .payment-methods-tabs {
    grid-template-columns: 1fr 1fr !important;
  }
  .payment-tab-btn {
    padding: 8px 6px !important;
    font-size: 12px !important;
  }
  .btn-final-order-cta {
    height: auto !important;
    min-height: 58px !important;
    font-size: 13.5px !important;
  }
}

/* Delivery summary, checkout quantity and responsive forms */
.chk-delivery-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #f8fbff;
}

.chk-delivery-summary-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chk-delivery-summary-info i {
  color: #009fe3;
  font-size: 18px;
}

.chk-delivery-summary-info strong {
  display: block;
  color: #003b64;
  font-size: 12px;
}

.chk-delivery-summary-info span {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 11px;
}

.chk-delivery-change {
  border: 0;
  background: none;
  color: #009fe3;
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  white-space: nowrap;
}

.chk-item-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d9e0ea;
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
}

.chk-item-qty button {
  width: 24px;
  height: 22px;
  border: 0;
  background: #f8fafc;
  color: #003b64;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.chk-item-qty button:hover {
  background: #eef5ff;
}

.chk-item-qty span {
  min-width: 22px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #003b64;
}

.pickup-cep-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0;
  padding: 7px 9px;
  border: 1px solid #bae6fd;
  border-radius: 6px;
  background: #f0f9ff;
  color: #075985;
  font-size: 11px;
}

.bq-account-modal.logged-in #accTabNav_login,
.bq-account-modal.logged-in #accTabNav_register {
  display: none;
}

.bq-account-modal.logged-in #accPane_login,
.bq-account-modal.logged-in #accPane_register {
  display: none !important;
}

@media (max-width: 640px) {
  .form-row-custom {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .form-row-custom .form-group-custom[style*="grid-column"] {
    grid-column: auto !important;
  }

  .bq-checkout-modal,
  .bq-account-modal {
    width: 96vw;
    max-height: 94vh;
  }

  .bq-checkout-modal .bq-modal-header,
  .bq-account-modal .bq-modal-header {
    padding: 14px 16px;
  }

  .bq-checkout-modal .checkout-grid {
    grid-template-columns: 1fr !important;
  }

  .bq-checkout-modal .checkout-main-side,
  .bq-checkout-modal .checkout-summary-side {
    padding: 16px !important;
  }

  .chk-delivery-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .chk-delivery-change {
    align-self: flex-end;
  }

  .bq-account-modal .account-tabs-header .account-tab-nav {
    padding: 12px 4px;
    font-size: 12px;
  }

  .bq-account-modal > div[style*="padding:24px"] {
    padding: 16px !important;
  }

  .chk-item-qty button {
    width: 30px;
    height: 28px;
  }
}

/* Responsive product cards and mobile quick-view */
@media (min-width: 1200px) {
  .dg-horizontal-scroll-track {
    gap: 16px;
  }

  .dg-compact-card {
    flex: 0 0 calc((100% - 80px) / 6) !important;
    width: calc((100% - 80px) / 6) !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .dg-compact-card {
    flex: 0 0 calc((100% - 64px) / 5) !important;
    width: calc((100% - 64px) / 5) !important;
  }
}

@media (max-width: 640px) {
  .bq-product-modal {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    transform: none !important;
  }

  .bq-product-modal.active {
    transform: none !important;
  }

  .bq-product-modal-body {
    padding: 16px !important;
    overflow-x: hidden !important;
  }

  .bq-product-modal .bq-modal-header {
    padding: 12px 16px !important;
  }

  .bq-product-modal .product-detail-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }

  .bq-product-modal .product-detail-grid > * {
    min-width: 0 !important;
  }

  .bq-product-modal .modal-info-side .modal-title {
    font-size: 22px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .bq-product-modal .modal-main-img-wrap {
    height: 260px;
  }

  .bq-product-modal .modal-qty-actions-row {
    flex-wrap: wrap;
  }

  .bq-product-modal .modal-qty-actions-row .btn-modal-add-cart,
  .bq-product-modal .modal-qty-actions-row .btn-modal-buy-now {
    flex: 1 1 140px;
  }

  .bq-product-modal .modal-price-card .modal-price-val {
    font-size: 30px;
  }

  .bq-product-modal .shipping-input-group button {
    min-width: 78px;
  }
}

/* Keep complete product names visible in the cards */
.dg-compact-card {
  min-height: 415px !important;
  height: 415px !important;
}

.dg-card-title {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  min-height: 54px !important;
  height: 54px !important;
  max-height: 54px !important;
  line-height: 1.3 !important;
  overflow: hidden !important;
  white-space: normal !important;
}

@media (max-width: 640px) {
  .dg-horizontal-scroll-track {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  .dg-compact-card {
    flex: none !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 12px !important;
  }

  .dg-card-title {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  .carousel-glass-wrapper .glass-arrow {
    display: none !important;
  }

  .dg-card-buttons-row {
    gap: 4px !important;
  }

  .dg-card-buy-btn {
    font-size: 11px !important;
  }
}

/* Centered product presentation */
.dg-section-head {
  justify-content: center !important;
  text-align: center;
}

.dg-section-head > div {
  text-align: center;
}

.related-header-title {
  text-align: center;
}

.dg-card-title,
.dg-card-rating,
.dg-card-price-old,
.dg-card-price-val,
.dg-card-installments,
.card-countdown-strip {
  text-align: center;
}

.dg-card-buttons-row {
  justify-content: center;
}

@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .dg-horizontal-scroll-track {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  .dg-compact-card {
    flex: none !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 12px !important;
  }

  .dg-card-title {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    text-align: center;
  }

  .dg-card-rating,
  .dg-card-price-old,
  .dg-card-price-val,
  .dg-card-installments,
  .card-countdown-strip {
    text-align: center;
  }

  .carousel-glass-wrapper .glass-arrow {
    display: none !important;
  }

  .dg-card-buttons-row {
    gap: 4px !important;
  }

  .dg-card-buy-btn {
    font-size: 11px !important;
  }

  .bq-product-modal,
  .bq-checkout-modal,
  .bq-account-modal {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    transform: none !important;
  }

  .bq-product-modal.active,
  .bq-checkout-modal.active,
  .bq-account-modal.active {
    transform: none !important;
  }

  .bq-checkout-modal .bq-modal-header,
  .bq-account-modal .bq-modal-header,
  .bq-product-modal .bq-modal-header {
    padding: 12px 16px !important;
  }

  .bq-product-modal-body,
  .bq-checkout-modal .checkout-main-side,
  .bq-checkout-modal .checkout-summary-side,
  .bq-account-modal > div[style*="padding:24px"] {
    padding: 16px !important;
    overflow-x: hidden !important;
  }

  .bq-product-modal .product-detail-grid,
  .bq-checkout-modal .checkout-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    min-height: 0 !important;
  }

  .bq-product-modal .product-detail-grid > *,
  .bq-checkout-modal .checkout-grid > * {
    min-width: 0 !important;
  }

  .bq-checkout-modal .checkout-main-side {
    border-right: 0 !important;
  }

  .bq-checkout-modal * {
    min-width: 0;
  }

  .bq-checkout-modal table {
    width: 100%;
    table-layout: fixed;
  }

  .bq-checkout-modal .checkout-summary-side {
    overflow-wrap: anywhere;
  }

  .bq-account-modal .form-row-custom,
  .bq-checkout-modal .form-row-custom {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .bq-account-modal .form-row-custom .form-group-custom[style*="grid-column"] {
    grid-column: auto !important;
  }

  .bq-account-modal .account-tabs-header .account-tab-nav {
    padding: 12px 4px;
    font-size: 12px;
  }

  .bq-product-modal .modal-main-img-wrap {
    height: 260px;
  }

  .bq-product-modal .modal-info-side .modal-title {
    font-size: 22px;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-align: left;
  }

  .bq-product-modal .modal-qty-actions-row {
    flex-wrap: wrap;
  }

  .bq-product-modal .modal-qty-actions-row .btn-modal-add-cart,
  .bq-product-modal .modal-qty-actions-row .btn-modal-buy-now {
    flex: 1 1 140px;
  }

  .bq-product-modal .shipping-input-group button {
    min-width: 78px;
  }

  .bq-checkout-modal .payment-methods-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .bq-checkout-modal .checkout-steps-bar {
    gap: 4px;
  }

  .bq-checkout-modal .checkout-step-badge {
    font-size: 11px;
  }

  .related-prods-wrapper {
    padding: 0 16px;
  }

  .related-header-title {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .prod-hero-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .prod-hero-layout > *,
  .prod-gallery-box,
  .prod-main-stage,
  .prod-info-box,
  .prod-buy-card {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .prod-main-stage {
    height: 300px !important;
  }

  .prod-thumbs-wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }

  .prod-thumb-cell {
    width: 48px !important;
    height: 48px !important;
  }

  .prod-info-box h1 {
    font-size: 24px !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere;
  }

  .prod-rating-meta {
    flex-wrap: wrap;
  }

  .prod-rating-meta #pageProductSubtitle {
    flex: 1 1 100% !important;
    min-width: 0 !important;
  }

  .prod-price-box-v2,
  .prod-ship-wrap {
    min-width: 0 !important;
  }

  .prod-buy-card {
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  .prod-thumbs-wrapper {
    gap: 6px !important;
  }

  .prod-thumb-cell {
    width: 44px !important;
    height: 44px !important;
  }
}

@media (max-width: 768px) {
  .main-hero-banner-wrap {
    padding: 10px !important;
  }

  .main-hero-banner-wrap a,
  .main-hero-banner-wrap img {
    border-radius: 12px;
  }
}

@media (max-width: 360px) {
  .bq-checkout-modal .checkout-steps-bar {
    gap: 2px !important;
  }

  .bq-checkout-modal .checkout-step-badge {
    gap: 4px !important;
    font-size: 10px !important;
  }

  .bq-checkout-modal .checkout-step-num {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  .bq-checkout-modal .checkout-steps-bar > div[style*="flex:1"] {
    margin: 0 2px !important;
  }
}

@media (max-width: 768px) {
  .dg-horizontal-scroll-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 0 10px 0 !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .dg-compact-card {
    flex: 0 0 calc(50vw - 26px) !important;
    width: calc(50vw - 26px) !important;
    min-width: 0 !important;
    min-height: 460px !important;
    height: 460px !important;
    padding: 12px !important;
    scroll-snap-align: start;
  }

  .dg-card-title {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    text-align: center;
  }

  .carousel-glass-wrapper .glass-arrow {
    display: flex !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 15px !important;
    z-index: 5;
  }

  .carousel-glass-wrapper .glass-arrow-prev {
    left: 2px !important;
  }

  .carousel-glass-wrapper .glass-arrow-next {
    right: 2px !important;
  }
}

@media (max-width: 768px) {
  .dg-horizontal-scroll-track {
    align-items: stretch !important;
  }

  .dg-compact-card {
    min-height: 0 !important;
    height: auto !important;
  }
}

@media (max-width: 768px) {
  .dg-card-price-old {
    margin-top: 0 !important;
  }
}

@media (min-width: 769px) {
  .dg-compact-card {
    min-height: 440px !important;
    height: 440px !important;
  }
}

.dg-horizontal-scroll-track.is-single {
  justify-content: center;
  overflow-x: hidden;
}

.glass-arrow.is-hidden {
  display: none !important;
}

/* Contact page */
.contact-page-shell {
  background: #ffffff;
  padding: 70px 0 100px;
}

.contact-page-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-address-title {
  color: #009fe3;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 14px;
}

.contact-address-line {
  width: 55px;
  height: 2px;
  background: #e2e8f0;
  margin: 0 0 24px;
}

.contact-address strong {
  color: #009fe3;
  font-size: 16px;
  font-weight: 700;
}

.contact-address p {
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
  margin: 8px 0;
}

.contact-address a {
  color: #009fe3;
  text-decoration: none;
}

.contact-form-cta {
  margin-top: 50px;
  background: #009fe3;
  padding: 40px;
}

.contact-form-cta h3 {
  color: #ffffff;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  margin: 0 0 8px;
}

.contact-form-cta p {
  color: #e0f2fe;
  font-size: 14px;
  margin: 0 0 22px;
}

.contact-form-cta button {
  width: 100%;
  min-height: 58px;
  border: 2px solid #ffffff;
  background: transparent;
  color: #ffffff;
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.35;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.contact-form-cta button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.country-language-select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  outline: none;
}

.module-mobile-menu .country-language-select {
  color: #ffffff;
}

.module-mobile-menu .country-language-select option {
  color: #003b64;
}

.dg-card-price-val {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  white-space: normal !important;
  line-height: 1.2 !important;
}

.dg-card-price-val > span {
  white-space: normal !important;
}

.dg-horizontal-scroll-track.is-single .dg-compact-card {
  height: auto !important;
  min-height: 0 !important;
}

@media (max-width: 768px) {
  .contact-page-shell {
    padding: 40px 0 70px;
  }

  .contact-address-title {
    font-size: 25px;
  }

  .contact-form-cta {
    margin-top: 32px;
    padding: 28px 20px;
  }

  .contact-form-cta h3 {
    font-size: 21px;
  }

  .contact-form-cta p {
    font-size: 13px;
  }

  .contact-form-cta button {
    font-size: 14px;
    min-height: 54px;
    padding: 13px;
  }

  #sobreTabs {
    padding-bottom: 110px !important;
  }

  .tabs-info-wrapper .tab-headers-row {
    gap: 14px;
    flex-wrap: wrap;
  }

  .tabs-info-wrapper .tab-link-btn {
    padding-bottom: 8px;
  }
}

/* Hide Google Translate's own UI; site uses its own language selector */
#google_translate_element,
.goog-te-banner-frame,
.goog-te-gadget,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

/* Description media, translation bar and back-to-top fixes */
.prod-description-media {
  margin: 34px 0 8px;
}

.prod-description-media h4 {
  color: #009fe3;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 800;
  margin: 0 0 12px;
}

.prod-description-media-rule {
  width: 55px;
  height: 2px;
  background: #e2e8f0;
  margin: 0 0 20px;
}

.prod-description-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

iframe.goog-te-banner-frame,
iframe.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
#goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  border: 0 !important;
}

#to-top-button {
  z-index: 100002 !important;
}

@media (max-width: 768px) {
  .prod-description-media {
    margin-top: 28px;
  }

  .prod-description-media h4 {
    font-size: 19px;
  }
}

#gt-nvframe,
iframe#gt-nvframe {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  border: 0 !important;
}

body {
  margin-top: 0 !important;
}

.card-countdown-strip,
.card-offer-fallback {
  min-height: 34px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  margin: 2px 0 4px;
  letter-spacing: 0.2px;
}

.card-offer-fallback {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.card-offer-fallback.is-soldout {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #64748b;
}

.card-countdown-strip,
.card-offer-fallback {
  height: 37px;
  min-height: 37px;
}

@media (max-width: 768px) {
  .dg-compact-card .dg-card-title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    min-height: 54px !important;
    height: 54px !important;
    max-height: 54px !important;
    overflow: hidden !important;
    white-space: normal !important;
  }

  .dg-card-price-old {
    height: 14px !important;
    min-height: 14px !important;
  }
}

.pix-instruction {
  margin: 16px 0 4px;
  padding: 18px 14px;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  background: #f0fdf4;
  color: #166534;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
}

.pix-instruction i {
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
  color: #16a34a;
}

.pix-instruction p {
  margin: 0;
}

@media (max-width: 768px) {
  #chkStepSection_2 .chk-row-cep {
    grid-template-columns: minmax(0, 1fr) 112px !important;
    align-items: end;
    gap: 8px !important;
  }

  #chkStepSection_2 .chk-row-cep .form-group-custom {
    margin-bottom: 0;
  }

  #chkStepSection_2 .chk-row-cep button {
    width: 100%;
    height: 42px;
    padding: 0 8px;
    font-size: 12px;
  }

  #chkStepSection_2 .chk-row-street-number {
    grid-template-columns: minmax(0, 1.7fr) minmax(90px, 0.8fr) !important;
    gap: 8px !important;
  }

  #chkStepSection_2 .chk-row-street-number .form-group-custom {
    grid-column: auto !important;
  }

  #chkStepSection_2 .chk-row-complement {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  #chkStepSection_2 .chk-row-city-state {
    grid-template-columns: minmax(0, 1fr) 78px !important;
    gap: 8px !important;
  }
}
