
/* ====================================================
   LUXURY WATCHES USA - ECOMMERCE & WHATSAPP STYLING
   ==================================================== */

/* WhatsApp Floating Button */
.lw-whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 99999;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}
.lw-whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #fff !important;
}
.lw-whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}
.lw-whatsapp-tooltip {
  position: absolute;
  right: 74px;
  background: #1a1a1a;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(10px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.lw-whatsapp-float:hover .lw-whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Product Card Actions */
.product-card-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 10px;
}
.product-card-actions .btn-row {
  display: flex;
  gap: 6px;
}
.lw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none !important;
  text-align: center;
  line-height: 1;
}
.lw-btn-primary {
  background: #c5a880;
  color: #fff !important;
}
.lw-btn-primary:hover {
  background: #b1936b;
  transform: translateY(-1px);
}
.lw-btn-dark {
  background: #1f1f1f;
  color: #fff !important;
}
.lw-btn-dark:hover {
  background: #333;
}
.lw-btn-outline {
  background: transparent;
  border: 1px solid #c5a880;
  color: #c5a880 !important;
}
.lw-btn-outline:hover {
  background: #c5a880;
  color: #fff !important;
}
.lw-btn-whatsapp {
  background: #25D366;
  color: #fff !important;
}
.lw-btn-whatsapp:hover {
  background: #20ba5a;
}
.lw-card-price {
  font-size: 16px;
  font-weight: 800;
  color: #b08953;
  margin-top: 4px;
  display: block;
}

/* Modal Overlay */
.lw-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(4px);
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.lw-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Window */
.lw-modal {
  background: #fff;
  border-radius: 10px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-sizing: border-box;
}
.lw-overlay.active .lw-modal {
  transform: scale(1) translateY(0);
}
.lw-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: #f5f5f5;
  border: none;
  font-size: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: background 0.2s, color 0.2s;
  z-index: 10;
}
.lw-modal-close:hover {
  background: #e0e0e0;
  color: #000;
}

/* Product Detail Modal Content */
.lw-product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 30px;
  padding: 36px 30px;
}
@media (max-width: 768px) {
  .lw-product-detail-grid {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    gap: 20px;
  }
}
.lw-detail-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  border-radius: 8px;
  padding: 20px;
  position: relative;
}
.lw-detail-gallery img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: 6px;
}
.lw-badge-guarantee {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #111;
  color: #c5a880;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lw-detail-brand {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #b08953;
  margin-bottom: 6px;
}
.lw-detail-title {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin: 0 0 12px 0;
  line-height: 1.25;
}
.lw-detail-price {
  font-size: 28px;
  font-weight: 800;
  color: #111;
  margin-bottom: 14px;
}
.lw-detail-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #2e7d32;
  font-weight: 600;
  margin-bottom: 16px;
}
.lw-detail-stock::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2e7d32;
}

/* Specs Table */
.lw-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 13px;
}
.lw-specs-table tr {
  border-bottom: 1px solid #eee;
}
.lw-specs-table td {
  padding: 7px 0;
}
.lw-specs-table td:first-child {
  color: #777;
  width: 38%;
}
.lw-specs-table td:last-child {
  color: #222;
  font-weight: 600;
}

/* Quantity & CTA buttons */
.lw-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 14px;
}
.lw-qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  height: 42px;
}
.lw-qty-btn {
  background: #f7f7f7;
  border: none;
  width: 36px;
  height: 100%;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}
.lw-qty-btn:hover {
  background: #e9e9e9;
}
.lw-qty-input {
  width: 44px;
  text-align: center;
  border: none;
  font-weight: 700;
  font-size: 15px;
}

/* Cart Drawer */
.lw-cart-drawer {
  position: fixed;
  top: 0;
  right: -440px;
  width: 420px;
  max-width: 90vw;
  height: 100vh;
  background: #fff;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
  z-index: 100001;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-sizing: border-box;
}
.lw-cart-drawer.active {
  right: 0;
}
.lw-cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lw-cart-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lw-cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}
.lw-cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: #888;
}
.lw-cart-empty svg {
  width: 64px;
  height: 64px;
  fill: #ccc;
  margin-bottom: 16px;
}
.lw-cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
  align-items: center;
}
.lw-cart-item img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #eee;
}
.lw-cart-item-info {
  flex: 1;
}
.lw-cart-item-title {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  margin: 0 0 4px 0;
  line-height: 1.3;
}
.lw-cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: #b08953;
}
.lw-cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.lw-cart-item-qty button {
  width: 24px;
  height: 24px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lw-cart-item-del {
  color: #999;
  cursor: pointer;
  font-size: 18px;
  border: none;
  background: none;
  padding: 4px;
  transition: color 0.2s;
}
.lw-cart-item-del:hover {
  color: #e53935;
}

.lw-cart-footer {
  padding: 20px 24px;
  border-top: 1px solid #eee;
  background: #fafafa;
}
.lw-cart-totals-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  color: #666;
}
.lw-cart-totals-row.grand-total {
  font-size: 18px;
  font-weight: 800;
  color: #111;
  border-top: 1px dashed #ddd;
  padding-top: 10px;
  margin-top: 10px;
}

/* Checkout Modal */
.lw-checkout-modal {
  max-width: 680px;
  padding: 30px;
}
@media (max-width: 600px) {
  .lw-checkout-modal {
    padding: 20px 16px;
  }
}
.lw-checkout-modal h2 {
  margin: 0 0 16px 0;
  font-size: 22px;
  font-weight: 800;
  color: #111;
}
.lw-form-group {
  margin-bottom: 14px;
}
.lw-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 5px;
}
.lw-form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
  font-family: inherit;
  transition: border-color 0.2s;
}
.lw-form-control:focus {
  border-color: #c5a880;
  outline: none;
}
.lw-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 500px) {
  .lw-form-grid-2 {
    grid-template-columns: 1fr;
  }
}
.lw-payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.lw-payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.lw-payment-option:hover, .lw-payment-option.selected {
  border-color: #c5a880;
  background: #faf8f5;
}
.lw-payment-option input[type="radio"] {
  margin: 0;
  accent-color: #c5a880;
}

/* Toast Notification */
.lw-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1e1e1e;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  z-index: 100010;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 10px;
}
.lw-toast.show {
  transform: translateX(-50%) translateY(0);
}
.lw-toast svg {
  width: 20px;
  height: 20px;
  fill: #25D366;
}
