/* extracted from product/product.tpl line 2870 */
/* ============================================
   PRODUCT PAGE COMPACT LAYOUT OPTIMIZATION
   Reduces whitespace, improves conversions
   ============================================ */

/* ============================================
   STICKY MOBILE BUY BAR
   Slides up from bottom when buy box scrolls off screen
   ============================================ */
#ptt-sticky-buy-bar {
  display: none; /* Hidden on desktop */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: env(safe-area-inset-bottom, 0) 0 0;
}
#ptt-sticky-buy-bar.ptt-sticky-bar-visible {
  transform: translateY(0);
}
.ptt-sticky-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}
.ptt-sticky-bar-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.ptt-sticky-bar-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ptt-sticky-bar-name {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.ptt-sticky-bar-price {
  font-size: 16px;
  font-weight: 700;
  color: #0057b3;
  line-height: 1.2;
}
.ptt-sticky-btn-backorder {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  box-shadow: 0 2px 10px rgba(217,119,6,0.35) !important;
}

.ptt-sticky-bar-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #0057b3 0%, #0073e6 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  box-shadow: 0 2px 10px rgba(0,87,179,0.35);
  transition: all 0.2s;
  font-family: inherit;
}
.ptt-sticky-bar-btn:active {
  transform: scale(0.97);
  box-shadow: 0 1px 6px rgba(0,87,179,0.25);
}
@media (max-width: 768px) {
  #ptt-sticky-buy-bar {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  #ptt-sticky-buy-bar {
    transition: none;
  }
}

/* Main product container - reduce excessive padding */
.ptt-options-box {
  margin: 12px 0 !important;
  padding: 0 !important;
}

/* Options container - tighter spacing */
.ptt-options-container {
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
}

/* Individual option groups - reduce spacing */
.ptt-option-group {
  margin-bottom: 12px !important;
  padding: 0 !important;
}

.ptt-option-group:last-child {
  margin-bottom: 0 !important;
}

/* Option labels - compact */
.ptt-option-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px !important;
  line-height: 1.3;
}

/* Select dropdowns - standardize height */
.ptt-select {
  width: 100%;
  height: 40px;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
  background: white;
  transition: all 0.2s;
}

.ptt-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Radio buttons - horizontal compact layout */
.ptt-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 !important;
}

.ptt-radio-item {
  margin: 0 !important;
  padding: 0 !important;
}

.ptt-radio-label {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
  font-size: 14px;
  line-height: 1.3;
}

.ptt-radio-item input:checked + .ptt-radio-label {
  border-color: #3b82f6;
  background: #eff6ff;
  font-weight: 600;
}

.ptt-radio-label:hover {
  border-color: #3b82f6;
  background: #f8fafc;
}

.ptt-radio-price {
  margin-left: 6px;
  color: #64748b;
  font-size: 13px;
}

/* Express buttons - compact grid layout */
.ptt-express-buttons {
  margin: 12px 0 !important;
  padding: 0 !important;
}

.ptt-express-buttons-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 0 0 12px 0 !important;
}

/* All express button containers - consistent sizing */
#gpay-buynow-container,
#venmo-buynow-container,
.ptt-express-btn,
.ptt-paypal-btn {
  height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 6px !important;
}

/* Cart actions - compact flexbox */
.ptt-cart-actions {
  display: flex;
  gap: 12px;
  margin: 12px 0 0 0 !important;
  padding: 0 !important;
  align-items: center;
  flex-wrap: wrap;
}

/* Quantity wrapper - sleek compact modern stepper */
.ptt-qty-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  height: 42px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
  overflow: hidden !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

.ptt-qty-wrapper:hover,
.ptt-qty-wrapper:focus-within {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12) !important;
}

.ptt-qty-btn {
  width: 32px !important;
  height: 100% !important;
  border: none !important;
  background: transparent !important;
  color: #475569 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  user-select: none !important;
  transition: background 0.15s, color 0.15s !important;
}

.ptt-qty-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

.ptt-qty-btn:active {
  background: #cbd5e1 !important;
}

.ptt-qty-input {
  width: 36px !important;
  height: 100% !important;
  border: none !important;
  background: #ffffff !important;
  text-align: center !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  padding: 0 !important;
  margin: 0 !important;
  border-left: 1px solid #e2e8f0 !important;
  border-right: 1px solid #e2e8f0 !important;
}

.ptt-qty-input:focus {
  outline: none !important;
}

/* ==========================================================================
   TOP 4 PRODUCT INFO ELEMENTS: PRICE, EXPRESS, META ROW, TRUST STRIP
   ========================================================================== */

/* 1. Price Section */
.ptt-price-section {
  margin: 0 0 14px 0 !important;
  padding: 16px 18px !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

.ptt-price-cart-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  width: 100% !important;
}

.ptt-price-copy {
  flex: 0 0 auto !important;
  min-width: 110px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.ptt-price-main {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.03em !important;
  line-height: 1 !important;
}

.ptt-price-promo {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
}

.ptt-price-promo .ptt-price-main {
  color: #dc2626 !important;
}

.ptt-price-old {
  font-size: 15px !important;
  color: #94a3b8 !important;
  text-decoration: line-through !important;
  font-weight: 500 !important;
}

.ptt-price-tax {
  margin-top: 3px !important;
  color: #64748b !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
}

/* Quantity wrapper - sleek compact modern stepper */
.ptt-qty-wrapper {
  flex: 0 0 108px !important;
  height: 44px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 9px !important;
  background: #f8fafc !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  margin: 0 !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

.ptt-qty-wrapper:hover,
.ptt-qty-wrapper:focus-within {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12) !important;
}

.ptt-qty-btn {
  width: 34px !important;
  height: 100% !important;
  border: none !important;
  background: transparent !important;
  color: #475569 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  user-select: none !important;
  transition: background 0.15s, color 0.15s !important;
}

.ptt-qty-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

.ptt-qty-btn:active {
  background: #cbd5e1 !important;
}

.ptt-qty-input {
  flex: 1 !important;
  width: 40px !important;
  height: 100% !important;
  border: none !important;
  background: #ffffff !important;
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  padding: 0 !important;
  margin: 0 !important;
  border-left: 1px solid #e2e8f0 !important;
  border-right: 1px solid #e2e8f0 !important;
}

.ptt-qty-input:focus {
  outline: none !important;
}

/* Add to Cart button - Money Stylized / Gold Amber Conversion Theme */
.ptt-btn-primary,
.ptt-price-cart-button,
#button-cart.ptt-price-cart-button {
  flex: 1 1 auto;
  min-width: 140px;
  height: 44px;
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 50%, #d97706 100%) !important;
  color: #08111f !important;
  border: 1px solid #d97706 !important;
  border-radius: 9px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35) !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
}

.ptt-btn-primary:hover,
.ptt-price-cart-button:hover,
#button-cart.ptt-price-cart-button:hover {
  transform: translateY(-1.5px) !important;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5) !important;
  background: linear-gradient(135deg, #fef08a 0%, #fbbf24 50%, #f59e0b 100%) !important;
  color: #000000 !important;
}

.ptt-btn-primary:active,
.ptt-price-cart-button:active,
#button-cart.ptt-price-cart-button:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3) !important;
}

.ptt-sticky-cart-btn {
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 50%, #d97706 100%) !important;
  color: #08111f !important;
  border: 1px solid #d97706 !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.35) !important;
}

.ptt-sticky-cart-btn:hover {
  background: linear-gradient(135deg, #fef08a 0%, #fbbf24 50%, #f59e0b 100%) !important;
  color: #000000 !important;
}

.ptt-price-cart-row .ptt-price-cart-button {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 140px !important;
  height: 44px !important;
  padding: 0 18px !important;
}

/* 2. Express Checkout */
.ptt-product-express {
  margin: 0 0 14px 0 !important;
  padding: 0 !important;
  border-top: none !important;
}

.ptt-product-express-label {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 8px !important;
}

.ptt-product-express-label::before,
.ptt-product-express-label::after {
  content: "" !important;
  flex: 1 !important;
  height: 1px !important;
  background: #e2e8f0 !important;
}

.ptt-product-express-buttons {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

.ptt-product-express .ptt-express-btn-container {
  height: 42px !important;
  width: 100% !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

#gpay-buynow-container {
  height: 42px !important;
  width: 100% !important;
  min-width: 0 !important;
  border-radius: 8px !important;
}

.ptt-product-express .ptt-express-btn {
  height: 42px !important;
  border-radius: 8px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.15s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 12px !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

.ptt-product-express .ptt-express-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12) !important;
}

.ptt-product-express .ptt-paypal-btn {
  background: #ffc439 !important;
  color: #003087 !important;
}

.ptt-product-express .ptt-venmo-btn {
  background: #008CFF !important;
  color: white !important;
}

.ptt-product-express .ptt-amazon-btn {
  background: #FFD814 !important;
  color: #000 !important;
}

.ptt-product-express .ptt-paylater-btn {
  grid-column: span 2 !important;
  background: #ffc439 !important;
  color: #003087 !important;
}

.ptt-product-express .ptt-paylater-btn:hover {
  background: #f4b428 !important;
}

/* 1. Top Metadata Row (Model, SKU, Availability, Rating) */
.ptt-meta-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 8px 14px !important;
  padding: 10px 14px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  margin: 0 0 10px 0 !important;
  font-size: 12.5px !important;
}

.ptt-meta-item {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.ptt-meta-label {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
}

.ptt-meta-value {
  font-weight: 700 !important;
  color: #0f172a !important;
}

/* 2. Top Trust Strip */
.ptt-trust-strip {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 6px !important;
  padding: 8px 8px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  margin: 0 0 8px 0 !important;
  text-align: center !important;
}

.ptt-trust-strip .ptt-trust-strip-item,
.ptt-trust-strip > div {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 2px !important;
  font-size: 11px !important;
  color: #334155 !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

.ptt-trust-strip .ptt-trust-divider {
  border-left: 1px solid #e2e8f0 !important;
  border-right: 1px solid #e2e8f0 !important;
}

/* 3. Top Secondary Actions (Wishlist & Compare - Compact No Extra Padding) */
.ptt-secondary-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 16px !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
}

.ptt-secondary-actions .ptt-link-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  padding: 2px 4px !important;
  transition: color 0.15s ease !important;
}

.ptt-secondary-actions .ptt-link-btn:hover {
  color: #0f172a !important;
}

/* Compact Buy Note */
.ptt-compact-buy-note {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 10px 0 10px 0 !important;
  padding: 9px 12px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 9px !important;
  color: #475569 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

/* Product Options Box Styling (Positioned above Component Replacement Plan) */
.ptt-options-box {
  margin: 10px 0 10px 0 !important;
  padding: 12px 14px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.2s ease !important;
}

.ptt-options-box.ptt-options-invalid {
  border: 2px solid #ef4444 !important;
  background: #fff5f5 !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.25), 0 4px 14px rgba(239, 68, 68, 0.15) !important;
}

.ptt-options-box.ptt-rp-shake {
  animation: pttRpShake 0.4s ease-in-out !important;
}

.ptt-options-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 10px !important;
}

.ptt-options-header-left {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.ptt-options-badge-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  border-radius: 6px !important;
  flex-shrink: 0 !important;
}

/* 4. Newly Redesigned Integrated Buybox */
.ptt-buybox-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.ptt-buybox-row1 {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.ptt-buybox-row1.ptt-has-text-plans {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 6px !important;
}

.ptt-buybox-row1.ptt-has-text-plans .ptt-price-copy {
  margin-bottom: 2px !important;
}

.ptt-buybox-row1.ptt-has-text-plans .ptt-options-box-compact {
  width: 100% !important;
  min-width: 0 !important;
}

.ptt-buybox-container.no-options .ptt-buybox-row1 {
  justify-content: flex-start !important;
}

.ptt-options-box-compact {
  flex: 1 !important;
  min-width: 170px !important;
}

.ptt-options-box-compact .ptt-option-group {
  margin: 0 !important;
}

.ptt-options-box-compact select.ptt-prod-option-select {
  width: 100% !important;
  height: 42px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  padding: 0 10px !important;
  cursor: pointer !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  outline: none !important;
}

.ptt-options-box-compact select.ptt-prod-option-select:hover,
.ptt-options-box-compact select.ptt-prod-option-select:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

.ptt-options-box-compact .ptt-opt-invalid select.ptt-prod-option-select {
  border-color: #ef4444 !important;
  background: #fff5f5 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

/* Plan Pills (Text-only subscription options e.g. TechCrate) */
.ptt-plan-pills-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
  margin-top: 6px !important;
  width: 100% !important;
}

@media (max-width: 480px) {
  .ptt-plan-pills-grid {
    grid-template-columns: 1fr !important;
  }
}

.ptt-plan-pill-btn {
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 52px !important;
  padding: 8px 6px !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 9px !important;
  cursor: pointer !important;
  text-align: center !important;
  transition: all 0.15s ease !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  position: relative !important;
  box-sizing: border-box !important;
  outline: none !important;
}

.ptt-plan-pill-btn:hover {
  border-color: #3b82f6 !important;
  background: #f8fafc !important;
  transform: translateY(-1.5px) !important;
}

.ptt-plan-pill-btn.active {
  border-color: #2563eb !important;
  border-width: 2px !important;
  background: #eff6ff !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25) !important;
  transform: translateY(-1.5px) !important;
}

.ptt-plan-pill-name {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  line-height: 1.25 !important;
}

.ptt-plan-pill-btn.active .ptt-plan-pill-name {
  color: #1d4ed8 !important;
}

.ptt-plan-pill-sub {
  font-size: 10px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  line-height: 1.2 !important;
}

.ptt-plan-pill-btn.active .ptt-plan-pill-sub {
  color: #2563eb !important;
}

.ptt-pill-badge {
  position: absolute !important;
  top: -10px !important;
  right: 6px !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  padding: 1px 5px !important;
  border-radius: 8px !important;
  background: #2563eb !important;
  color: #ffffff !important;
  border: 1px solid #1d4ed8 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.ptt-pill-badge.best {
  background: #f59e0b !important;
  color: #ffffff !important;
  border-color: #d97706 !important;
}

/* Add-ons & Upgrades Container (2-Column Grid on Desktop, 50% each) */
.ptt-addons-container {
  margin: 10px 0 6px 0 !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.ptt-addons-header {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin-bottom: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.ptt-addons-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
}

.ptt-addon-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 6px !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 14px 10px 8px 10px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  box-sizing: border-box !important;
  min-height: 60px !important;
}

.ptt-addon-card:hover {
  border-color: #93c5fd !important;
  background: #f0f9ff !important;
  transform: translateY(-1px) !important;
}

.ptt-addon-card.active {
  border-color: #2563eb !important;
  border-width: 2px !important;
  background: #eff6ff !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15) !important;
  transform: translateY(-1px) !important;
}

.ptt-addon-badge-float {
  position: absolute !important;
  top: -11px !important;
  right: 6px !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  padding: 1px 6px !important;
  border-radius: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  z-index: 5 !important;
}

.ptt-addon-badge-float.free {
  background: #16a34a !important;
  color: #ffffff !important;
  border: 1px solid #15803d !important;
}

.ptt-addon-badge-float.sale {
  background: #d97706 !important;
  color: #ffffff !important;
  border: 1px solid #b45309 !important;
}

.ptt-addon-card-top {
  display: flex !important;
  align-items: flex-start !important;
  width: 100% !important;
}

.ptt-addon-check-title {
  display: flex !important;
  align-items: flex-start !important;
  gap: 6px !important;
  width: 100% !important;
}

.ptt-addon-checkbox {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  cursor: pointer !important;
  accent-color: #2563eb !important;
  margin-top: 2px !important;
}

.ptt-addon-name {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  line-height: 1.25 !important;
  flex: 1 !important;
}

.ptt-addon-card.active .ptt-addon-name {
  color: #1d4ed8 !important;
}

.ptt-addon-card-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  width: 100% !important;
}

.ptt-addon-info-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 13px !important;
  height: 13px !important;
  min-width: 13px !important;
  border-radius: 50% !important;
  background: #e2e8f0 !important;
  color: #64748b !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  cursor: help !important;
  margin-top: 1px !important;
}

.ptt-addon-pricing {
  display: inline-flex !important;
  align-items: center !important;
}

.ptt-addon-old-price {
  font-size: 10.5px !important;
  color: #94a3b8 !important;
  text-decoration: line-through !important;
  margin-right: 3px !important;
}

.ptt-addon-cur-price {
  font-size: 11.5px !important;
  color: #166534 !important;
  font-weight: 700 !important;
}

.ptt-buybox-row2 {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.ptt-buybox-row2 .ptt-qty-wrapper {
  flex-shrink: 0 !important;
}

.ptt-buybox-row2 .ptt-price-cart-button {
  flex: 1 !important;
  height: 44px !important;
  font-size: 15px !important;
}

.ptt-options-validation-msg {
  display: none;
  margin-top: 4px !important;
  padding: 6px 10px !important;
  background: #fee2e2 !important;
  border: 1px solid #fca5a5 !important;
  border-radius: 6px !important;
  color: #b91c1c !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  align-items: center !important;
  gap: 6px !important;
}

.ptt-options-validation-msg.visible {
  display: flex !important;
}

@media (max-width: 480px) {
  .ptt-buybox-row1 {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  .ptt-options-box-compact {
    width: 100% !important;
  }
}

@media (min-width: 540px) {
  .ptt-buybox-container.no-options {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .ptt-buybox-container.no-options .ptt-buybox-row1 {
    margin-bottom: 0 !important;
  }
}

/* Dynamic Variation Description System */
#ptt-variation-desc-container {
  margin-bottom: 24px !important;
  background: #ffffff !important;
  border: 1.5px solid #3b82f6 !important;
  border-radius: 12px !important;
  padding: 18px 20px !important;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.08) !important;
  animation: pttFadeIn 0.3s ease !important;
}

@keyframes pttFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.ptt-var-active-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  padding-bottom: 12px !important;
  margin-bottom: 14px !important;
  border-bottom: 1.5px solid #eff6ff !important;
}

.ptt-var-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  color: #1d4ed8 !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
}

.ptt-var-badge svg {
  color: #2563eb !important;
  flex-shrink: 0 !important;
}

.ptt-overview-toggle-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
}

.ptt-overview-toggle-btn:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}

.ptt-var-desc-body {
  font-size: 14.5px !important;
  line-height: 1.65 !important;
  color: #334155 !important;
}

.ptt-var-desc-body h2,
.ptt-var-desc-body h3 {
  color: #0f172a !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 16px 0 10px 0 !important;
}

.ptt-var-desc-body h2:first-child,
.ptt-var-desc-body h3:first-child {
  margin-top: 0 !important;
}

.ptt-var-desc-body ul,
.ptt-var-desc-body ol {
  margin: 10px 0 16px 20px !important;
  padding: 0 !important;
}

.ptt-var-desc-body li {
  margin-bottom: 6px !important;
}

#ptt-general-desc-container.ptt-overview-collapsed {
  display: none !important;
}

/* Clean Header Row: Live Price on Left, Wishlist & Compare on Right */
.ptt-buybox-header-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  margin-bottom: 6px !important;
}

.ptt-buybox-overlay-actions {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ptt-overlay-btn {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  background: #ffffff !important;
  border: 1px solid #dbe3ee !important;
  border-radius: 8px !important;
  padding: 0 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  font-size: 0 !important;
  color: #64748b !important;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease !important;
  line-height: 1 !important;
}

.ptt-overlay-btn:hover {
  color: #2563eb !important;
  border-color: #93c5fd !important;
  background: #eff6ff !important;
}

.ptt-overlay-btn:focus-visible {
  outline: 2px solid #2563eb !important;
  outline-offset: 2px !important;
}

.ptt-overlay-btn svg {
  flex-shrink: 0 !important;
  width: 18px !important;
  height: 18px !important;
}

/* 7. Reshaded Modern Replacement Plan Card (3-Button Layout) */
.ptt-replacement-plan-card {
  margin: 10px 0 6px 0 !important;
  padding: 12px 14px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 50%, #eff6ff 100%) !important;
  border: 1.5px solid #bfdbfe !important;
  border-radius: 10px !important;
  box-shadow: 0 3px 12px rgba(37, 99, 235, 0.07), 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.2s ease !important;
}

.ptt-replacement-plan-card.ptt-rp-invalid {
  border: 2px solid #ef4444 !important;
  background: #fff5f5 !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.25), 0 4px 14px rgba(239, 68, 68, 0.15) !important;
}

@keyframes pttRpShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.ptt-replacement-plan-card.ptt-rp-shake {
  animation: pttRpShake 0.4s ease-in-out !important;
}

.ptt-rp-card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 8px !important;
}

.ptt-rp-card-header-left {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.ptt-rp-badge-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
  border: 1px solid #93c5fd !important;
  border-radius: 7px !important;
  flex-shrink: 0 !important;
}

.ptt-rp-card-title {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
}

.ptt-rp-req-tag {
  font-size: 9px !important;
  font-weight: 800 !important;
  color: #dc2626 !important;
  background: #fee2e2 !important;
  border: 1px solid #fca5a5 !important;
  padding: 1px 5px !important;
  border-radius: 4px !important;
  margin-left: 4px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
}

.ptt-rp-card-subtitle {
  font-size: 10.5px !important;
  color: #475569 !important;
  margin-top: 1px !important;
}

.ptt-rp-benefits {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 4px 12px !important;
  margin: 3px 0 2px !important;
  color: #334155 !important;
  font-size: 10.5px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
}

.ptt-rp-benefit {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.ptt-rp-benefit svg {
  width: 13px !important;
  height: 13px !important;
  flex: 0 0 13px !important;
  fill: none !important;
  stroke: #059669 !important;
  stroke-width: 2.4 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.ptt-rp-benefit strong {
  color: #0f766e !important;
  font-weight: 800 !important;
}

.ptt-rp-card-link {
  font-size: 11px !important;
  color: #2563eb !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  background: #ffffff !important;
  padding: 3px 8px !important;
  border: 1px solid #bfdbfe !important;
  border-radius: 6px !important;
  transition: all 0.15s ease !important;
}

.ptt-rp-card-link:hover {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25) !important;
}

/* 3-Button Option Grid */
.ptt-rp-btn-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
  margin-top: 8px !important;
}

.ptt-rp-opt-btn {
  position: relative !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 4px 8px 4px !important;
  min-height: 64px !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  text-align: center !important;
  font-family: inherit !important;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1) !important;
  user-select: none !important;
}

.ptt-rp-opt-btn:hover {
  border-color: #3b82f6 !important;
  background: #f0f7ff !important;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.15) !important;
}

.ptt-rp-opt-btn:focus-visible,
.ptt-rp-card-link:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.42) !important;
  outline-offset: 2px !important;
}

.ptt-rp-opt-btn:disabled {
  cursor: wait !important;
  opacity: 0.62 !important;
}

.ptt-replacement-plan-card.ptt-rp-unavailable .ptt-rp-opt-btn:disabled {
  cursor: not-allowed !important;
}

.ptt-rp-opt-btn.active {
  border-color: #2563eb !important;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%) !important;
  box-shadow: 0 0 0 2px #2563eb, 0 4px 12px rgba(37, 99, 235, 0.2) !important;
}

.ptt-rp-opt-tag {
  position: absolute !important;
  top: -10px !important;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  padding: 1.5px 5px !important;
  border-radius: 4px !important;
  letter-spacing: 0.04em !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

.ptt-rp-opt-term {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  line-height: 1.2 !important;
}

.ptt-rp-opt-btn.active .ptt-rp-opt-term {
  color: #1e3a8a !important;
}

.ptt-rp-opt-price {
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 2px 0 1px 0 !important;
}

.ptt-rp-opt-btn.active .ptt-rp-opt-price {
  color: #1d4ed8 !important;
}

.ptt-rp-opt-desc {
  font-size: 9.5px !important;
  color: #64748b !important;
  line-height: 1 !important;
}

.ptt-rp-opt-btn.active .ptt-rp-opt-desc {
  color: #2563eb !important;
  font-weight: 600 !important;
}

@media (max-width: 480px) {
  .ptt-rp-btn-grid {
    gap: 4px !important;
  }
  .ptt-rp-opt-btn {
    padding: 12px 2px 6px 2px !important;
    min-height: 58px !important;
  }
  .ptt-rp-opt-tag {
    font-size: 7.5px !important;
    padding: 1px 3.5px !important;
    top: -7px !important;
  }
  .ptt-rp-opt-term {
    font-size: 10px !important;
  }
  .ptt-rp-opt-price {
    font-size: 12px !important;
  }
  .ptt-rp-opt-desc {
    font-size: 8.5px !important;
  }
}

/* PTT MOBILE INLINE PURCHASE ROW + COMPACT PLAN BADGE — 2026-08-23 */
.ptt-rp-btn-grid {
  margin-top: 13px !important;
}

.ptt-rp-opt-btn {
  padding-top: 16px !important;
  min-height: 70px !important;
}

.ptt-rp-best-value-badge {
  position: absolute !important;
  top: -9px !important;
  left: 50% !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 18px !important;
  box-sizing: border-box !important;
  padding: 2px 8px !important;
  border: 1px solid #1d4ed8 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0.045em !important;
  text-align: center !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 5px rgba(37, 99, 235, 0.25) !important;
  transform: translateX(-50%) !important;
  pointer-events: none !important;
}

@media (max-width: 480px) {
  .ptt-buybox-container.no-options {
    display: grid !important;
    grid-template-columns: 96px 90px minmax(0, 1fr) !important;
    grid-template-rows: 44px 36px !important;
    align-items: center !important;
    column-gap: 7px !important;
    row-gap: 4px !important;
  }

  .ptt-buybox-container.no-options .ptt-buybox-header-row,
  .ptt-buybox-container.no-options .ptt-buybox-row2 {
    display: contents !important;
  }

  .ptt-buybox-container.no-options .ptt-price-copy {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 96px !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .ptt-buybox-container.no-options .ptt-price-main {
    font-size: 23.5px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .ptt-buybox-container.no-options .ptt-price-tax {
    font-size: 9px !important;
    white-space: nowrap !important;
  }

  .ptt-buybox-container.no-options .ptt-buybox-row2 .ptt-qty-wrapper {
    grid-column: 2 !important;
    grid-row: 1 !important;
    flex: 0 0 90px !important;
    width: 90px !important;
    height: 44px !important;
    padding: 0 !important;
  }

  .ptt-buybox-container.no-options .ptt-buybox-row2 .ptt-qty-btn {
    flex: 0 0 30px !important;
    width: 30px !important;
  }

  .ptt-buybox-container.no-options .ptt-buybox-row2 .ptt-qty-input {
    flex: 0 0 30px !important;
    width: 30px !important;
  }

  .ptt-buybox-container.no-options .ptt-buybox-row2 .ptt-price-cart-button {
    grid-column: 3 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
    height: 44px !important;
    padding: 0 8px !important;
    gap: 5px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  .ptt-buybox-container.no-options .ptt-price-cart-button .ptt-cart-icon {
    width: 16px !important;
    height: 16px !important;
  }

  .ptt-buybox-container.no-options .ptt-buybox-overlay-actions {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    align-self: center !important;
    width: auto !important;
    height: 36px !important;
  }

  .ptt-rp-btn-grid {
    margin-top: 12px !important;
  }

  .ptt-rp-opt-btn {
    padding: 15px 2px 7px 2px !important;
    min-height: 68px !important;
  }

  .ptt-rp-benefits {
    display: grid !important;
    gap: 3px !important;
    font-size: 10px !important;
  }
}
/* END PTT MOBILE INLINE PURCHASE ROW + COMPACT PLAN BADGE */

.ptt-rp-validation-msg {
  display: none;
  margin-top: 8px !important;
  padding: 6px 10px !important;
  background: #fee2e2 !important;
  border: 1px solid #fca5a5 !important;
  border-radius: 6px !important;
  color: #b91c1c !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  align-items: center !important;
  gap: 6px !important;
}

.ptt-rp-validation-msg.visible {
  display: flex !important;
}

/* Buy With Prime - reduce spacing */
#amzn-buy-now {
  margin: 12px 0 0 0 !important;
}

/* Recolored & Reshaded Modern Volume Discounts (Buy in Bulk & Save) */
.ptt-volume-discounts {
  margin-top: 10px !important;
  padding: 9px 12px !important;
  border: 1.5px dashed #94a3b8 !important;
  border-radius: 9px !important;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
  color: #334155 !important;
}

.ptt-volume-discounts-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 7px !important;
}

.ptt-vol-title-left {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.ptt-volume-discounts-title strong {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

.ptt-vol-badge {
  font-size: 9.5px !important;
  font-weight: 700 !important;
  color: #047857 !important;
  background: #d1fae5 !important;
  border: 1px solid #a7f3d0 !important;
  padding: 1px 5px !important;
  border-radius: 4px !important;
}

.ptt-vol-hint {
  font-size: 10px !important;
  color: #64748b !important;
  font-weight: 500 !important;
}

.ptt-bundle-tier-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 6px !important;
}

.ptt-bundle-tier {
  box-sizing: border-box !important;
  display: flex !important;
  min-width: 0 !important;
  height: 34px !important;
  padding: 0 6px !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  color: #334155 !important;
  cursor: pointer !important;
  font-family: inherit !important;
  line-height: 1 !important;
  transition: all 0.15s ease !important;
}

.ptt-bundle-tier span {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #475569 !important;
}

.ptt-bundle-tier strong {
  font-size: 11.5px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  white-space: nowrap !important;
}

.ptt-bundle-tier:hover,
.ptt-bundle-tier[aria-pressed="true"] {
  border-color: #059669 !important;
  background: #ecfdf5 !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2) !important;
  transform: translateY(-1px) !important;
}

.ptt-bundle-tier[aria-pressed="true"] strong {
  color: #047857 !important;
}

.ptt-price-main {
  font-size: 32px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.ptt-price-old {
  font-size: 20px;
  color: #94a3b8;
  text-decoration: line-through;
  margin-top: 4px;
}

.ptt-price-promo {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

/* Minimum quantity notice - inline */
.ptt-minimum-notice {
  font-size: 12px;
  color: #f59e0b;
  margin: 8px 0 0 0 !important;
  padding: 0 !important;
}

/* Trust badges / conversion elements - compact */
.ptt-trust-badges {
  display: flex;
  gap: 12px;
  margin: 12px 0 !important;
  padding: 0 !important;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.ptt-badge {
  padding: 8px 12px;
  background: #f1f5f9;
  border-radius: 6px;
  font-size: 12px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Product description section */
.product-description,
#tab-description {
  margin-top: 20px !important;
}

/* =========================================================
   MOBILE-FIRST PRODUCT REDESIGN & EXPANDABLE DESCRIPTION
   ========================================================= */

/* Description Wrapper & Truncation Base */
.ptt-desc-wrapper {
  position: relative;
  width: 100%;
}

.ptt-desc-fade {
  display: none;
}

.ptt-desc-expand-wrap {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  /* Fluid responsive title & badges */
  .ptt-product-title-row {
    margin-bottom: 12px !important;
  }
  .ptt-product-title-row h1 {
    font-size: clamp(20px, 4.8vw, 25px) !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.015em !important;
    margin: 0 0 8px 0 !important;
    word-break: break-word !important;
  }
  .ptt-official-badge {
    font-size: 11.5px !important;
    padding: 5px 10px !important;
    line-height: 1.35 !important;
    border-radius: 6px !important;
  }
  .ptt-older-edition-alert {
    padding: 10px 12px !important;
    font-size: 12px !important;
  }

  /* Horizontal swipeable tab navigation bar */
  .ptt-tabs-wrapper {
    margin-top: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .ptt-tabs-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    touch-action: pan-x !important;
    scrollbar-width: none !important;
    gap: 8px !important;
    padding: 4px 2px 10px 2px !important;
    margin-bottom: 14px !important;
    border-bottom: 2px solid #e2e8f0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .ptt-tabs-nav::-webkit-scrollbar {
    display: none !important;
  }
  .ptt-tab-link {
    flex: 0 0 auto !important;
    scroll-snap-align: start !important;
    white-space: nowrap !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #475569 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
  .ptt-tab-link.active {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25) !important;
  }

  /* Collapsible mobile description */
  .ptt-desc-wrapper {
    max-height: 380px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .ptt-desc-wrapper.is-expanded {
    max-height: 20000px !important;
    overflow: visible !important;
  }
  .ptt-desc-fade {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 45%, rgba(255,255,255,0.98) 85%, #ffffff 100%);
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.3s ease;
  }
  .ptt-desc-wrapper.is-expanded .ptt-desc-fade {
    display: none !important;
    opacity: 0 !important;
  }
  .ptt-desc-expand-wrap {
    display: flex !important;
    justify-content: center !important;
    margin: 10px 0 20px !important;
    position: relative;
    z-index: 11;
  }
  .ptt-desc-expand-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 360px !important;
    padding: 12px 20px !important;
    background: #ffffff !important;
    border: 1.5px solid #2563eb !important;
    border-radius: 50px !important;
    color: #2563eb !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12) !important;
    transition: all 0.2s ease !important;
  }
  .ptt-desc-expand-btn:hover,
  .ptt-desc-expand-btn:active {
    background: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25) !important;
  }

  /* Table & Media Overflow Protection */
  #tab-desc table,
  #ptt-general-desc-container table,
  #ptt-variation-desc-body table,
  .ptt-specs-table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-collapse: collapse !important;
    box-sizing: border-box !important;
  }
  #tab-desc img,
  #ptt-general-desc-container img,
  #ptt-variation-desc-body img,
  #tab-desc iframe,
  #tab-desc video {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .ptt-cart-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ptt-express-buttons-row {
    grid-template-columns: 1fr;
  }

  .ptt-radio-group {
    flex-direction: column;
    gap: 8px;
  }

  .ptt-radio-label {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .ptt-price-cart-row {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .ptt-price-copy {
    width: 100% !important;
    margin-bottom: 4px !important;
  }

  .ptt-qty-wrapper {
    height: 44px !important;
  }

  .ptt-price-cart-row .ptt-price-cart-button {
    flex: 1 1 auto !important;
    min-width: 140px !important;
    height: 44px !important;
  }

  .ptt-bundle-tier-grid {
    grid-template-columns: 1fr;
  }

  .ptt-bundle-tier {
    min-height: 46px;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 12px;
    text-align: left;
  }

  .ptt-bundle-tier span,
  .ptt-bundle-tier strong {
    font-size: 13px;
  }
}

/* Remove excessive margins from conversion optimization elements */
.conversion-badges,
.trust-signals,
.shipping-info {
  margin: 10px 0 !important;
}

/* Compact product info grid */
.product-info-grid {
  display: grid;
  gap: 8px;
  margin: 12px 0 !important;
  font-size: 13px;
  line-height: 1.6;
}

/* Schema-friendly hidden content - no layout impact */
.voice-content,
.sr-only {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Ensure all form elements stack efficiently */
#product_add_to_cart_form {
  margin: 0 !important;
  padding: 0 !important;
}

/* Product images - maintain aspect ratio without extra space */
.product-image-container {
  margin-bottom: 12px !important;
}

/* Breadcrumbs - reduce spacing */
.breadcrumb {
  margin: 8px 0 12px 0 !important;
  padding: 8px 0 !important;
}

/* Product title - reduce spacing */
.product-name,
h1.product-title {
  margin: 12px 0 !important;
  line-height: 1.3 !important;
}

/* Stock status - inline with price */
.stock-status {
  display: inline-block;
  margin: 0 0 0 12px !important;
  padding: 4px 10px !important;
  font-size: 12px;
  border-radius: 4px;
  font-weight: 600;
}

.stock-status.in-stock {
  background: #dcfce7;
  color: #166534;
}

.stock-status.out-of-stock {
  background: #fee2e2;
  color: #991b1b;
}

/* Reviews section - compact */
.product-reviews-summary {
  margin: 8px 0 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

/* Reward points - inline */
.reward-points {
  font-size: 13px;
  color: #059669;
  margin: 8px 0 !important;
}

/* Tabs section - reduce top margin */
.product-tabs,
#tabs {
  margin-top: 20px !important;
  padding-top: 20px !important;
  border-top: 1px solid #e2e8f0;
}

/* Related products - compact spacing */
.related-products,
.cross-sells {
  margin-top: 30px !important;
}

/* Global form control optimization */
input[type="text"],
input[type="number"],
select,
textarea {
  margin: 0 !important;
}

/* Ensure buttons don't have excessive margins */
button,
.button,
.btn {
  margin: 0 !important;
}

/* Container max-width for optimal reading */
.product-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Two-column layout optimization for desktop */
@media (min-width: 992px) {
  .product-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
  }

  .product-images {
    position: sticky;
    top: 20px;
  }

  .product-info {
    padding: 0;
  }
}

/* Improve button visual hierarchy */
.ptt-btn-primary svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Loading states */
.ptt-btn-primary.loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.ptt-btn-primary.loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid white;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.6s linear infinite;
  margin-left: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Error states for options */
.ptt-option-group.error .ptt-select,
.ptt-option-group.error .ptt-radio-label {
  border-color: #ef4444;
  background: #fef2f2;
}

.ptt-option-error {
  color: #ef4444;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.ptt-option-group.error .ptt-option-error {
  display: block;
}

/* Accessibility improvements */
.ptt-select:focus-visible,
.ptt-qty-input:focus-visible,
.ptt-btn-primary:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .ptt-select,
  .ptt-radio-label,
  .ptt-qty-wrapper {
    border-width: 2px;
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print optimization */