/* PRODUCT PAGE ONLY */

.product-detail-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px;
}

.product-container {
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.product-image {
  background: #f7f7f7;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-badge {
  width: fit-content;
  background: #f1f5f9;
  color: #334155;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.product-info h1 {
  font-size: 30px;
  line-height: 1.25;
  color: #111827;
}



.price {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.old-price {
  text-decoration: line-through;
  color: #9ca3af;
  font-size: 14px;
}

.discount {
  background: red;
  color: white;
  padding: 3px 6px;
  font-size: 12px;
  border-radius: 5px;
}


.stock {
  color: #475569;
  font-size: 14px;
  font-weight: 700;
}

.description-section {
  margin-top: 20px;
}

.desc-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111827;
}

.description {
  color: #4b5563;
  line-height: 1.7;
  font-size: 15px;
  white-space: pre-line;
}

.description-limit {
  max-height: 80px;
  overflow: hidden;
}

.desc-toggle-row {
  margin-top: 8px;
}

.desc-toggle {
  border: none;
  background: rgba(0, 188, 212, 0.12);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  padding: 7px 12px;
  border-radius: 999px;

}

.variant-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.variant-btn {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: white;
  cursor: pointer;
  font-weight: 700;
  transition: 0.2s;
}

.variant-btn:hover {
  border-color: var(--primary);
}

.variant-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.quantity-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.quantity-box button {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 10px;
  background: #00bcd4;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

.quantity-box button:hover {
  background: #0097a7;
}

.quantity-box input {
  width: 70px;
  height: 42px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  text-align: center;
  font-size: 16px;
}

.product-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.product-action-buttons button {
  flex: 1;
  min-width: 120px;
  height: 44px;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
}

.buy-now-btn {
  background: #f59e0b;
  color: white;
}

.share-btn {
  background: #e5e7eb;
  color: #111827;
}

.message {
  font-weight: 700;
  min-height: 20px;
}

.product-left {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.product-description-section {
  grid-column: 1 / -1;
  margin-top: 20px;
}

.voucher-section {
  background: #f5fefe;

  border: 1px solid #00bcd4;

  border-radius: 10px;

  padding: 6px;

  margin-top: 8px;
}

.voucher-section h3 {
  font-size: 15px;
  margin-bottom: 10px;
  color: #111827;
}

.voucher-card {
  border: 1px dashed var(--primary);
  background: #eff6ff;
  padding: 12px;
  border-radius: 12px;
}

.voucher-card strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.voucher-card span {
  display: block;
  font-size: 13px;
  color: #475569;
  margin-bottom: 6px;
}

.voucher-card button {
  border: none;
  background: var(--primary);
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

#suggestedProducts .homepage-product-card {
  cursor: pointer;
}



/* PRODUCT PAGE VOUCHER CAROUSEL */

.product-info .voucher-section {
  overflow: hidden;
  position: relative;
}

.product-info .voucher-list {
  display: flex;

  gap: 14px;

  flex-wrap: nowrap;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;

  -webkit-overflow-scrolling: touch;

  padding-bottom: 8px;

  scroll-behavior: smooth;
}

.product-info .voucher-list::-webkit-scrollbar {
  display: none;
}


.product-info .voucher-card:hover {
  transform: translateY(-2px);
}

.product-info .voucher-card.active {
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.15);
}

.product-info .voucher-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}

.product-info .voucher-card span {
  display: block;
  font-size: 13px;
  color: #475569;
  margin-bottom: 10px;
}

.product-info .voucher-card button {
  border: none;
  background: var(--primary);
  color: white;

  padding: 8px 14px;

  border-radius: 10px;

  cursor: pointer;

  font-weight: 700;
}



.product-info .voucher-card {
  flex: 0 0 calc(50% - 7px) !important;

  max-width: calc(50% - 7px) !important;

  min-width: calc(50% - 7px) !important;

  flex-shrink: 0;

  scroll-snap-align: start;
}

@media (min-width: 1200px) {
  .product-info .voucher-card {
    flex: 0 0 calc(33.333% - 10px) !important;

    max-width: calc(33.333% - 10px) !important;

    min-width: calc(33.333% - 10px) !important;
  }
}

/* MOBILE VOUCHER SWIPE FIX */

@media (max-width: 768px) {
  .menu-btn {
    display: none !important;
  }

  .product-info .voucher-section {
    width: 100%;
    overflow: hidden;
  }

  .product-info .voucher-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    gap: 10px;
    padding-bottom: 10px;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .product-info .voucher-list::-webkit-scrollbar {
    display: none;
  }

  .product-info .voucher-card {
    flex: 0 0 calc(50% - 8px) !important;

    min-width: calc(50% - 8px) !important;

    max-width: calc(50% - 8px) !important;

    scroll-snap-align: start;

    padding: 12px;

    box-sizing: border-box;
  }


  /* FULL PRODUCT PAGE MOBILE FIX */

  .product-container {
    display: flex;
    flex-direction: column;
    gap: 16px;

    padding: 12px;

    width: 100%;
    max-width: 100%;

    overflow-x: hidden;

    box-sizing: border-box;
  }

  .product-left,
  .product-info,
  .product-description-section {
    width: 100%;
    max-width: 100%;

    box-sizing: border-box;
  }

  .product-image img {
    width: 100%;
    height: auto;

    border-radius: 12px;

    object-fit: cover;
  }

  .product-info h1 {
    font-size: 20px;
    line-height: 1.4;
  }

  .price {
    font-size: 24px;
  }

  .product-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .product-action-buttons button {
    width: 100%;
  }

  .quantity-box {
    width: 100%;
    justify-content: center;
  }

  .voucher-section {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  body {
    overflow-x: hidden;
  }
}

.product-info .voucher-list {
  cursor: grab;
}

.product-info .voucher-list.dragging {
  cursor: grabbing;
}

/* VOUCHER HEADER INLINE */

.voucher-header {
  display: flex !important;

  align-items: center !important;

  justify-content: space-between !important;

  width: 100%;

  margin-bottom: 4px;
}

.voucher-header h3 {
  margin: 0;

  font-size: 14px;
}

.voucher-nav {
  display: flex;

  gap: 6px;
}


/* HIDE DUPLICATE ACTION BUTTONS ON MOBILE */

@media (max-width: 768px) {

  #addToCartBtn,
  #buyNowBtn {
    display: none !important;
  }

  .product-action-buttons {
    justify-content: center;
  }
}

/* HIDE QUANTITY BOX ON MOBILE */

@media (max-width: 768px) {

  .quantity-box {
    display: none !important;
  }
}

/* PREMIUM MOBILE PRODUCT NAV */

.mobile-bottom-nav {
  width: 100%;
  max-width: 100%;

  left: 0;
  right: 0;
  bottom: 0;

  padding: 6px 0;

  background: rgba(255, 255, 255, 0.96);

  border-top: 1px solid #e5e7eb;

  display: flex;
  justify-content: space-around;
  align-items: center;

  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
}

.mobile-nav-item {
  flex: 1 !important;

  width: 25% !important;
  max-width: 25% !important;
  min-width: 25% !important;

  border: none;
  background: transparent;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;

  font-size: 11px;
  font-weight: 600;

  color: #64748b;

  cursor: pointer;

  padding: 2px 0;
}

.mobile-nav-item:active {
  transform: scale(0.95);
}

.mobile-nav-icon {
  width: 38px;
  height: 38px;

  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto;

  font-size: 18px;

  background: linear-gradient(135deg,
      #00bcd4,
      #0097a7);

  color: white;

  box-shadow: 0 4px 14px rgba(0, 188, 212, 0.35);
}

.buy-now-mobile .mobile-nav-icon {
  background: linear-gradient(135deg,
      #f59e0b,
      #ea580c);

  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.mobile-nav-item span {
  font-size: 11px;
  font-weight: 700;
  color: #111827;
}

/* MOBILE BACK BUTTON ONLY */

.back-btn {
  display: none;
}

@media (max-width: 768px) {
  .back-btn {
    display: none !important;
  }
}

/* TABLET / IPAD PRODUCT PAGE FIX */
@media (min-width: 769px) and (max-width: 1024px) {

  .product-detail-section {
    padding: 16px;
  }

  .product-container {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }

  .product-left,
  .product-info,
  .product-description-section {
    width: 100%;
    max-width: 100%;
  }

  .product-info h1 {
    font-size: 24px;
  }

  .price {
    font-size: 26px;
  }

  .product-image img {
    max-height: 520px;
    object-fit: contain;
  }
}


.product-container {
  position: relative;
}

.back-btn {
  position: absolute;
  top: 14px;

  width: 42px;
  height: 42px;

  border: none;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  z-index: 20;

  font-size: 18px;

  cursor: pointer;
}

.back-btn {
  left: 14px;
  top: -18px;
}

.back-btn:active {
  background: rgba(255, 255, 255, 0.55);
}

/* FINAL DESKTOP VOUCHER NAV FIX */

.voucher-nav {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.voucher-nav button {
  all: unset;

  width: 36px;
  height: 36px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.55);

  color: #0891b2;

  border: 1px solid rgba(8, 145, 178, 0.25);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  font-weight: bold;

  cursor: pointer;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);

  transition: 0.2s ease;

  flex-shrink: 0;
}

.voucher-nav button:hover {
  transform: translateY(-1px);
}

/* REMOVE EMPTY MOBILE SPACES */

@media (max-width: 768px) {

  .product-action-buttons:empty,
  .quantity-box:empty,
  .voucher-nav:empty {
    display: none !important;
  }

  .product-action-buttons {
    margin-top: 0 !important;
  }

  .quantity-box {
    margin-top: 0 !important;
  }

  .product-description-section {
    margin-top: 10px !important;
  }
}

/* CUSTOMER PROTECTION */

.customer-protection {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 10px 12px;
}

.protection-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: #111827;
}

.protection-list,
.protection-more {
  display: grid;
  gap: 5px;
  font-size: 13px;
  color: #475569;
}

.protection-more {
  display: none;
  margin-top: 5px;
}

.protection-more.show {
  display: grid;
}

.protection-toggle {
  margin-top: 8px;
  border: none;
  background: transparent;
  color: var(--primary);
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}

.protection-icon {
  width: 34px;
  height: 34px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: linear-gradient(135deg,
      #00bcd4,
      #0097a7);

  color: white;

  font-size: 18px;

  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.25);
}

.variant-container {
  margin-top: 18px;
}

.variant-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111827;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.variant-btn {
  border: 1px solid #d1d5db;
  background: white;
  color: #111827;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s ease;
}

.variant-btn:hover {
  border-color: #06b6d4;
  color: #06b6d4;
}

.variant-btn.active {
  background: #06b6d4;
  color: white;
  border-color: #06b6d4;
}

.variant-btn.out-of-stock {
  opacity: 0.45;
  cursor: not-allowed;
}

.product-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
}

@media (max-width: 768px) {

  .gallery-nav {
    display: none !important;
  }

  .product-thumbnails {
    display: none !important;
  }

}


.product-thumb {
  width: 70px;
  height: 70px;
  border: none;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #f3f4f6;
  flex-shrink: 0;
  border: 2px solid transparent;
}

.product-thumb.active {
  border-color: #2563eb;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.admin-gallery-preview {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-gallery-item {
  width: 90px;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
}

.admin-gallery-item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.product-gallery-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: #f8fafc;
}

.product-gallery-slider #productImg {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  display: block;

  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;

  will-change: transform, opacity;

  backface-visibility: hidden;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  color: #111827;
  box-shadow: none;
  font-size: 34px;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  opacity: 0.75;
  -webkit-tap-highlight-color: transparent;
}

.gallery-nav.prev {
  left: -10px;
}

.gallery-nav.next {
  right: -10px;
}

.gallery-nav:hover {
  background: rgba(17, 24, 39, 0.9);
}

.product-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.product-thumb {
  width: 72px;
  height: 72px;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.product-thumb.active {
  border-color: #06b6d4;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.gallery-nav:hover {
  background: rgba(255, 255, 255, 0.58);
}

.gallery-nav:active {
  transform: translateY(-50%) scale(0.94);
  background: rgba(255, 255, 255, 0.35);
}

.gallery-nav:focus {
  outline: none;
}

.variant-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 1000001 !important;
}

.variant-popup-overlay.show {
  display: flex;
}

.variant-popup-box {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 22px 22px 0 0;
  padding: 18px;
  position: relative;

  max-height: 92vh;
  overflow-y: auto;

  animation: popupUp 0.22s ease;
}

@keyframes popupUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

.variant-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;

  width: 38px;
  height: 38px;

  border: none !important;
  outline: none !important;

  border-radius: 50%;

  background: rgba(0, 188, 212, 0.18) !important;

  color: var(--primary) !important;

  display: flex !important;
  align-items: center;
  justify-content: center;

  font-size: 22px;
  font-weight: 700;

  cursor: pointer;

  z-index: 50;
}

.variant-popup-top {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.variant-popup-top img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 14px;
  background: #f3f4f6;
}

#variantPopupPrice {
  color: #dc2626;
  font-size: 20px;
  font-weight: 800;
}

#variantPopupStock {
  color: #6b7280;
  font-size: 13px;
}

.variant-popup-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 18px;
}

.variant-popup-option {
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

.variant-popup-option.active {
  border-color: #06b6d4;
  background: #ecfeff;
  color: #0891b2;
}

.variant-popup-option.out-of-stock {
  opacity: 0.45;
  cursor: not-allowed;
}

.confirm-variant-btn {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 14px;
  background: #06b6d4;
  color: white;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
}

.variant-popup-qty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}

.variant-popup-qty button {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 10px;
  background: #f3f4f6;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
}

.variant-popup-qty input {
  width: 70px;
  height: 38px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}

.popup-qty-label {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}

.variant-btn.active {
  background: #06b6d4;
  color: white;
  border-color: #06b6d4;
}

@media (max-width: 768px) {
  .variant-btn.active {
    background: white !important;
    color: #06b6d4 !important;
    border-color: #d1d5db !important;
  }

  .variant-btn:active {
    background: #f3f4f6 !important;
    transform: scale(0.97);
  }
}

/* ADD TO CART POPUP TITLE 2 LINES */
.variant-popup-top div:first-child,
.variant-popup-top h3,
.variant-popup-top h4 {
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  line-height: 1.35 !important;
  max-height: 2.7em !important;
}

.mobile-nav-icon {
  position: relative;
}

.mobile-nav-icon .cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  z-index: 5;
}

.product-gallery-slider img {
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* MOBILE VARIANTS - WRAP, NO SWIPE */

@media (max-width: 768px) {

  .variant-container {
    width: 100%;
    overflow: visible !important;
  }

  .variant-options {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;

    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  .variant-btn {
    flex: 0 0 auto !important;

    min-width: unset !important;
    max-width: 100% !important;

    white-space: normal !important;

    text-align: center;
  }

}

/* =========================
   END MOBILE VARIANT SWIPE
========================= */

/* =========================
   CART BADGE RED STYLE
========================= */

.cart-badge {
  position: absolute;

  top: -6px;
  right: -8px;

  min-width: 18px;
  height: 18px;

  padding: 0 5px;

  border-radius: 999px;

  background: #ef4444;

  color: white;

  font-size: 11px;
  font-weight: 700;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 5;
}

/* =========================
   END CART BADGE RED STYLE
========================= */

.home-mobile-btn {
  display: none !important;
}

@media (max-width: 768px) {

  .home-link {
    display: none !important;
  }

  .home-mobile-btn {
    display: flex !important;
    padding: 0 !important;
    background: transparent !important;
  }

}

.home-mobile-btn {
  gap: 0 !important;
}

.home-mobile-btn .mobile-nav-icon {
  width: auto !important;
  height: auto !important;

  background: transparent !important;
  box-shadow: none !important;

  padding: 0 !important;

  margin-bottom: 0 !important;
}

.home-mobile-label {
  font-size: 9px;
  font-weight: 700;

  margin-top: -2px !important;

  line-height: 1;

  color: white;
}

@media (max-width: 768px) {
  .menu-btn {
    display: none !important;
  }
}

.home-mobile-btn {
  min-width: auto !important;
}

.home-mobile-btn .mobile-nav-icon {
  width: auto !important;
  height: auto !important;

  background: transparent !important;
  box-shadow: none !important;

  padding: 0 !important;
}

.mobile-nav-logo {
  width: 34px !important;
  height: 34px !important;

  max-width: unset !important;
  max-height: unset !important;

  object-fit: contain !important;
}


.desktop-search {
  position: relative;
}

#desktopSearchBtn,
.clear-search-btn {
  position: relative;
  z-index: 9999;
  pointer-events: auto !important;
  cursor: pointer;
}

.desktop-search input {
  position: relative;
  z-index: 1;
}

.desktop-search {
  position: relative !important;
}

.desktop-search input {
  padding-right: 86px !important;
}

.clear-search-btn {
  position: absolute !important;

  right: 52px !important;
  top: 50% !important;

  transform: translateY(-50%) !important;

  width: 24px !important;
  height: 24px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 50% !important;

  background: rgba(255, 255, 255, 0.88) !important;

  backdrop-filter: blur(8px);

  z-index: 99999 !important;

  cursor: pointer !important;
}

#desktopSearchBtn {
  position: relative !important;
  z-index: 99999 !important;
}

.mobile-bottom-nav .mobile-nav-logo {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 34px !important;
  height: 34px !important;
  object-fit: contain !important;
}



.logo img,
.nav-logo img,
.navbar-logo img,
#navLogo {

  width: auto !important;

  height: 42px !important;

  max-width: 220px !important;

  object-fit: contain !important;

  display: block !important;
}

#navLogo {
  height: 34px !important;
  width: auto !important;

  object-fit: contain !important;

  display: block;
}

/* PRODUCT PAGE CLAIMED VOUCHER */

.voucher-card button.voucher-claimed {

  background:
    linear-gradient(135deg,
      #22c55e,
      #16a34a) !important;

  color: white !important;

  border: none;

  cursor: default;

  box-shadow:
    0 8px 20px rgba(34, 197, 94, .28);

}

/* PRODUCT PAGE TOAST */

.voucher-toast {

  position: fixed;

  left: 50%;
  bottom: 90px;

  transform:
    translateX(-50%) translateY(30px);

  background:
    linear-gradient(135deg,
      #111827,
      #1f2937);

  color: white;

  padding:
    14px 22px;

  border-radius: 14px;

  font-size: 14px;

  font-weight: 600;

  opacity: 0;

  pointer-events: none;

  transition: .28s ease;

  z-index: 999999;

}

.voucher-toast.show {

  opacity: 1;

  transform:
    translateX(-50%) translateY(0);

}

/* HIDE MOBILE PRODUCT NAV ON DESKTOP */

@media (min-width: 769px) {

  .mobile-bottom-nav {
    display: none !important;
  }

}

/* FIX MOBILE HOME LOGO + TEXT ALIGNMENT */

@media (max-width: 768px) {

  .home-mobile-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    width: auto !important;
    min-width: 42px !important;
  }

  .home-mobile-btn .mobile-nav-icon {
    width: 34px !important;
    height: 34px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  .home-mobile-btn .mobile-nav-logo {
    width: 30px !important;
    height: 30px !important;
    object-fit: contain !important;
  }

  .home-mobile-label {
    display: block !important;
    text-align: center !important;
    font-size: 9px !important;
    line-height: 1 !important;
    margin: 0 !important;
    color: white !important;
  }

}

/* =========================
   CLEAN PREMIUM FOOTER
========================= */

.site-footer {
  background: #0f172a;

  color: white;

  margin-top: 50px;
}

.footer-container {
  max-width: 1200px;

  margin: auto;

  padding: 40px 20px 30px;
}

/* TOP */

.footer-top {
  display: flex;

  justify-content: space-between;

  align-items: flex-start;

  gap: 40px;

  flex-wrap: wrap;
}

/* BRAND */

.footer-brand {
  max-width: 340px;
}

.footer-brand h3 {
  font-size: 24px;

  margin-bottom: 12px;
}

.footer-brand p {
  color: #cbd5e1;

  line-height: 1.7;

  font-size: 14px;
}

/* LINKS */

.footer-links {
  display: flex;

  flex-wrap: wrap;

  gap: 18px;
}

.footer-links a {
  color: #cbd5e1;

  text-decoration: none;

  font-size: 14px;

  transition: 0.2s ease;
}

.footer-links a:hover {
  color: #00bcd4;
}

/* PAYMENT SECTION */

.footer-payments {
  margin-top: 35px;
}

.footer-payments h4 {
  font-size: 18px;

  margin-bottom: 6px;
}

.footer-payments p {
  color: #cbd5e1;

  font-size: 14px;

  margin-bottom: 18px;
}

.payment-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(110px, 1fr));

  gap: 14px;
}

.payment-grid img {
  width: 100%;

  height: 40px !important;

  object-fit: contain;

  background: white;

  border-radius: 10px;

  padding: 5px;

  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

/* BOTTOM */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);

  text-align: center;

  padding: 16px;

  font-size: 13px;

  color: #94a3b8;
}

/* MOBILE */

@media (max-width: 768px) {

  .footer-top {
    flex-direction: column;

    gap: 25px;
  }

  .footer-links {
    gap: 14px;
  }

  .payment-icons {
    gap: 10px;
  }

  .payment-card {
    min-width: 80px;

    height: 42px;

    font-size: 13px;
  }

}

.mobile-bottom-nav {
  position: fixed !important;

  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;

  width: 100% !important;

  display: flex !important;

  z-index: 999999 !important;
}

body {
  padding-bottom: 80px;
}

.mobile-chat-avatar {
  width: 40px;
  height: 40px;

  border-radius: 50%;
  object-fit: cover;

  border: 2px solid #00bcd4;

  box-shadow: 0 2px 8px rgba(0, 188, 212, 0.25);
}

/* MOBILE CHAT FIX */

@media (max-width: 768px) {

  .website-chat-box {
    width: 100% !important;

    max-height: 70vh !important;

    position: fixed !important;

    left: 0 !important;
    right: 0 !important;
    bottom: 70px !important;

    margin: 0 !important;

    border-radius: 18px 18px 0 0 !important;

    z-index: 999999 !important;

    display: flex !important;
    flex-direction: column !important;
  }

  .website-chat-input {
    display: flex !important;

    align-items: center !important;

    gap: 8px !important;
  }

  .website-chat-input input {
    display: block !important;

    flex: 1 !important;
  }

  .website-chat-input button {
    display: flex !important;

    align-items: center;
    justify-content: center;
  }

}

@media (min-width: 769px) {

  .mobile-bottom-nav {
    display: none !important;
  }

}

.suggested-loadmore-wrap {
  grid-column: 1 / -1;

  width: 100%;

  display: flex;
  justify-content: center;

  margin-top: 20px;
  margin-bottom: 10px;
}

.suggested-loadmore-btn {

  border: none;

  background: linear-gradient(135deg,
      #00bcd4,
      #0097a7);

  color: white;

  padding: 12px 22px;

  border-radius: 999px;

  font-weight: 800;

  cursor: pointer;

  box-shadow:
    0 6px 18px rgba(0, 188, 212, .25);

  transition: .2s;
}

.suggested-loadmore-btn:hover {
  transform: translateY(-1px);
}

.premium-login-overlay {

  position: fixed;
  inset: 0;

  background:
    rgba(0, 0, 0, .55);

  backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 4000000;

  animation:
    fadePremium .22s ease;
}

.premium-login-box {

  width: min(92%, 360px);

  background: white;

  border-radius: 24px;

  padding: 26px 22px;

  text-align: center;

  box-shadow:
    0 25px 60px rgba(0, 0, 0, .22);

  animation:
    popupPremium .22s ease;
}

.premium-login-icon {

  width: 72px;
  height: 72px;

  margin: 0 auto 14px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 34px;

  background:
    linear-gradient(135deg,
      #00bcd4,
      #0097a7);

  color: white;

  box-shadow:
    0 12px 30px rgba(0, 188, 212, .28);
}

.premium-login-box h3 {

  font-size: 24px;

  margin-bottom: 10px;

  color: #111827;
}

.premium-login-box p {

  font-size: 14px;

  color: #64748b;

  line-height: 1.6;

  margin-bottom: 22px;
}

.premium-login-actions {

  display: grid;

  gap: 10px;
}

.premium-login-btn {

  border: none;

  background:
    linear-gradient(135deg,
      #00bcd4,
      #0097a7);

  color: white;

  padding: 13px;

  border-radius: 14px;

  font-weight: 800;

  cursor: pointer;
}

.premium-cancel-btn {

  border: none;

  background: #f1f5f9;

  color: #334155;

  padding: 13px;

  border-radius: 14px;

  font-weight: 700;

  cursor: pointer;
}

@keyframes popupPremium {

  from {
    opacity: 0;
    transform:
      scale(.9) translateY(10px);
  }

  to {
    opacity: 1;
    transform:
      scale(1) translateY(0);
  }
}

@keyframes fadePremium {

  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.cart-toast {
  position: fixed;
  left: 50%;
  top: 18px;
  transform: translateX(-50%) translateY(-20px);
  z-index: 2000005 !important;

  min-width: 220px;
  max-width: calc(100% - 32px);
  padding: 13px 18px;

  border-radius: 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;

  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
}

.cart-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cart-toast.success {
  background: #16a34a;
}

.cart-toast.error {
  background: #dc2626;
}

@media (max-width: 768px) {
  .cart-toast {

    top: 50% !important;
    left: 50% !important;

    transform: translate(-50%, -50%) !important;

    z-index: 3000000 !important;
  }

  .cart-toast.show {
    transform: translate(-50%, -50%) !important;
  }
}

@media (max-width: 768px) {
  .website-chat-box {
    height: 65vh !important;
    max-height: 65vh !important;
  }
}

@media (min-width: 769px) {
  .website-chat-modal {
    width: 440px !important;
  }
}

@media (min-width: 769px) {

  .cart-toast {

    position: fixed !important;

    min-width: unset !important;

    width: fit-content !important;

    max-width: 320px !important;
    word-break: break-word;
    white-space: normal !important;

    padding: 7px 12px !important;

    border-radius: 10px !important;

    font-size: 12px !important;
    font-weight: 700 !important;

    white-space: nowrap !important;

    z-index: 999999 !important;
  }

}

#suggestedProducts .homepage-product-card {
  height: 100%;
}

#suggestedProducts .homepage-product-card h3 {
  font-size: 13px !important;

  margin-left: 10px !important;
  margin-right: 10px !important;
  margin-bottom: 3px !important;

  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;

  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;

  line-height: 1.25 !important;
  max-height: 2.5em !important;
  min-height: 2.5em !important;
}

#suggestedProducts .product-rating {
  margin-left: 10px !important;
  margin-top: 2px !important;
  margin-bottom: 2px !important;
}

#suggestedProducts .homepage-product-pricing {
  margin-left: 10px !important;
  margin-top: 2px !important;
  margin-bottom: 2px !important;
}

#suggestedProducts .homepage-product-stock {
  margin-left: 10px !important;
  margin-top: 2px !important;
  margin-bottom: 2px !important;
}

@media (min-width: 1025px) {

  #suggestedProducts {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
  }

}

.maintenance-popup {

  display: none;

  position: fixed;

  inset: 0;

  background:
    rgba(0, 0, 0, 0.55);

  z-index: 999999;

  align-items: center;
  justify-content: center;

  padding: 20px;

}

.maintenance-box {

  width: 100%;
  max-width: 420px;

  background: white;

  border-radius: 18px;

  padding: 28px 24px;

  text-align: center;

  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.25);

  animation:
    maintenancePop .25s ease;

}

.maintenance-box h2 {

  color: #dc2626;

  margin-bottom: 12px;

  font-size: 24px;

}

.maintenance-box p {

  color: #444;

  line-height: 1.6;

  font-size: 15px;

}

@keyframes maintenancePop {

  from {

    opacity: 0;

    transform:
      scale(.92);

  }

  to {

    opacity: 1;

    transform:
      scale(1);

  }

}

/* PRODUCT PAGE LOADING */

.product-loading-modal {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, .95);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-loading-box {
  text-align: center;
}

.product-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #ddd;
  border-top: 4px solid #00bcd4;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: auto;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.product-loading-modal.hide {
  display: none;
}

/* lazy image fade */

img.lazy-image {
  opacity: 0;
  transition: opacity .4s ease;
}

img.lazy-image.loaded {
  opacity: 1;
}

.current-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
}

.old-price {
  font-size: 11px;
  color: #94a3b8;
  text-decoration: line-through;
  margin-left: 6px;
}

.product-rating,
.homepage-rating {
  margin: 4px 0;
  font-size: 14px;
  font-weight: 700;
}

.rating-stars {
  color: #f59e0b;
  font-size: 13px;
}

.rating-text,
.homepage-rating span {
  color: #64748b;
  font-size: 13px;
  margin-left: 4px;
}

.sold-count {
  color: #64748b;
  margin-left: 8px;
  font-size: 13px;
}

.product-reviews-section {
  grid-column: 1 / -1;
  margin: 30px auto 0;
  max-width: 720px;
  width: 100%;
  text-align: center;
}

.product-reviews-section h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: #111827;
}

.review-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
  margin: 12px auto 0;
  max-width: 650px;
  text-align: left;
}

.review-stars {
  color: #f59e0b;
  font-weight: 800;
  margin-bottom: 6px;
}

.review-card p {
  color: #374151;
  line-height: 1.5;
  margin-bottom: 8px;
}

.review-card small {
  color: #10b981;
  font-weight: 700;
}

.review-image {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #ddd;
  cursor: pointer;
  margin-top: 6px;
}

.review-image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.review-image-modal.show {
  display: flex;
}

.review-image-modal img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 10px;
}

.review-image-modal span {
  position: absolute;
  top: 20px;
  right: 25px;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

.cod-warning {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #fff7ed, #fffbeb);
  border: 1px solid #fed7aa;
  padding: 12px;
  border-radius: 14px;
  margin-top: 10px;
  font-size: 14px;
}

.cod-warning-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f59e0b;
}

.cod-warning p {
  margin: 3px 0 0;
  color: #92400e;
}

.cod-available {
  background: #ecfdf5;
  color: #15803d;
  border: 1px solid #bbf7d0;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}

.delivery-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: white;
  box-shadow: 0 6px 18px rgba(245, 158, 11, .35);
}

.delivery-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.delivery-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.delivery-text strong {
  font-size: 15px;
  font-weight: 800;
}

.delivery-text span {
  font-size: 13px;
  font-weight: 700;
}

.delivery-text small {
  font-size: 12px;
}

.delivery-note-btn {
  margin-top: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.22);
  color: #fef08a;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  width: fit-content;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);

  animation: notePulse 2.2s infinite;
}

.delivery-note-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
}

.delivery-note-btn:active {
  transform: scale(0.96);
}

@keyframes notePulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: .82;
  }

  100% {
    opacity: 1;
  }
}

/* DELIVERY PREMIUM MODAL */

.delivery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .50);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  transition: .25s ease;
  z-index: 999999;
}

.delivery-modal.show {
  opacity: 1;
  visibility: visible;
}

.delivery-modal-box {
  width: 90%;
  max-width: 430px;

  background: white;
  border-radius: 18px;
  padding: 24px;

  position: relative;

  transform: translateY(20px);
  transition: .25s ease;

  box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
}

.delivery-modal.show .delivery-modal-box {
  transform: translateY(0);
}

.delivery-close-btn {
  position: absolute;
  right: 14px;
  top: 14px;

  width: 34px;
  height: 34px;

  border: none;
  border-radius: 50%;

  background: #f3f4f6;
  cursor: pointer;
}

.delivery-close-btn:hover {
  background: #e5e7eb;
}

.delivery-modal-box h3 {
  margin-bottom: 18px;
  color: #111827;
}

.delivery-info-list {
  display: grid;
  gap: 10px;

  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.checkout-page {
  flex: 1;
}

/* =====================================
   PRODUCT OUT OF STOCK DESIGN
===================================== */

.product-image {
  position: relative;
}

/* Medyo blurred at faded ang image */
.product-container.is-out-of-stock .product-image img {
  filter: blur(2px) grayscale(35%);
  opacity: 0.55;
}

/* Dark transparent cover */
.product-container.is-out-of-stock .product-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.22);
  z-index: 10;
  pointer-events: none;
}

/* OUT OF STOCK watermark */
.product-container.is-out-of-stock .product-image::after {
  content: "OUT OF STOCK";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 11;

  transform: translate(-50%, -50%) rotate(-12deg);

  width: 85%;
  padding: 14px 10px;

  border: 4px solid rgba(220, 38, 38, 0.9);
  border-radius: 10px;

  color: #dc2626;
  background: rgba(255, 255, 255, 0.86);

  font-size: clamp(23px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: 3px;
  text-align: center;

  box-sizing: border-box;
  pointer-events: none;
}

/* Medyo faded ang product information */
.product-container.is-out-of-stock .product-info {
  opacity: 0.78;
}

/* Pero panatilihing malinaw at clickable ang buttons */
.product-container.is-out-of-stock .product-action-buttons,
.product-container.is-out-of-stock .product-action-buttons button {
  opacity: 1;
}

/* Out of stock button design */
.product-container.is-out-of-stock #addToCartBtn,
.product-container.is-out-of-stock #buyNowBtn {
  background: #94a3b8 !important;
  color: white !important;
  cursor: pointer !important;
}

/* Mobile Add Cart at Buy Now */
.mobile-bottom-nav.product-out-of-stock .mobile-nav-item:nth-child(3) .mobile-nav-icon,
.mobile-bottom-nav.product-out-of-stock .buy-now-mobile .mobile-nav-icon {
  background: #94a3b8 !important;
  box-shadow: none !important;
  filter: grayscale(1);
}

/* =====================================
   PREMIUM OUT OF STOCK POPUP
===================================== */

.out-stock-popup {
  position: fixed;
  inset: 0;
  z-index: 999999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);

  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
}

.out-stock-popup.show {
  opacity: 1;
  visibility: visible;
}

.out-stock-popup-box {
  position: relative;

  width: 100%;
  max-width: 390px;

  padding: 32px 24px 24px;

  background: linear-gradient(145deg,
      #ffffff,
      #f8fafc);

  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 24px;

  box-shadow:
    0 30px 70px rgba(15, 23, 42, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);

  text-align: center;

  transform: scale(0.85) translateY(20px);
  transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.out-stock-popup.show .out-stock-popup-box {
  transform: scale(1) translateY(0);
}

.out-stock-popup-icon {
  width: 82px;
  height: 82px;

  margin: -72px auto 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: linear-gradient(135deg,
      #ef4444,
      #b91c1c);

  color: white;
  font-size: 38px;

  border: 7px solid white;

  box-shadow:
    0 12px 30px rgba(220, 38, 38, 0.35);
}

.out-stock-popup-box h3 {
  margin: 0 0 10px;

  color: #0f172a;

  font-size: 24px;
  font-weight: 900;
}

.out-stock-popup-box p {
  margin: 0;

  color: #64748b;

  font-size: 15px;
  line-height: 1.6;
}

.out-stock-popup-note {
  margin-top: 16px;
  padding: 12px;

  border-radius: 12px;

  background: #fff1f2;
  color: #be123c;

  font-size: 13px;
  font-weight: 700;
}

.out-stock-popup-actions {
  display: flex;
  gap: 10px;

  margin-top: 22px;
}

.out-stock-popup-actions button {
  flex: 1;
  min-height: 46px;

  border: none;
  border-radius: 14px;

  font-size: 14px;
  font-weight: 800;

  cursor: pointer;
  transition: 0.2s ease;
}

.out-stock-popup-close {
  background: #e2e8f0;
  color: #334155;
}

.out-stock-popup-shop {
  background: linear-gradient(135deg,
      #00bcd4,
      #008fa1);

  color: white;

  box-shadow:
    0 8px 20px rgba(0, 188, 212, 0.3);
}

.out-stock-popup-actions button:active {
  transform: scale(0.96);
}

@media (max-width: 480px) {
  .out-stock-popup-box {
    max-width: 340px;
    padding: 30px 18px 20px;
  }

  .out-stock-popup-box h3 {
    font-size: 21px;
  }

  .out-stock-popup-actions {
    flex-direction: column;
  }
}

/* =========================
   WISHLIST HEART BUTTON
========================= */

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;

  /* Space para hindi sapawan ng share button sa desktop */
  padding-right: 58px;
}

.product-title-row .product-title {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.wishlist-heart-btn {
  flex: 0 0 44px;

  width: 44px;
  height: 44px;

  border: 1px solid #fecdd3;
  border-radius: 50%;

  background: #ffffff;
  color: #e11d48;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  font-size: 27px;
  line-height: 1;

  cursor: pointer;
  transition: 0.2s ease;

  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.wishlist-heart-btn:hover {
  background: #fff1f2;
  transform: scale(1.05);
}

.wishlist-heart-btn.active {
  background: #e11d48;
  color: #ffffff;
  border-color: #e11d48;
}

.wishlist-heart-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

#wishlistIcon {
  display: block;
  margin: 0;
  font-size: inherit;
  line-height: 1;
}

@media (max-width: 768px) {
  .product-title-row {
    padding-right: 0;
  }

  .wishlist-heart-btn {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    font-size: 25px;
  }
}

/* WISHLIST LOGIN SECONDARY BUTTON */

.wishlist-login-btn {
  width: 100%;

  border: 2px solid #06b6d4;
  background: #ffffff;
  color: #0891b2;

  padding: 13px;
  border-radius: 14px;

  font-size: 14px;
  font-weight: 800;

  cursor: pointer;
  transition: 0.2s ease;
}

.wishlist-login-btn:hover {
  background: #ecfeff;
  transform: translateY(-1px);
}

.wishlist-login-btn:active {
  transform: scale(0.97);
}

@media (max-width: 480px) {
  .wishlist-login-overlay {
    padding: 18px;
  }

  .wishlist-login-overlay .premium-login-box {
    width: 100%;
    padding: 24px 18px;
    border-radius: 20px;
  }
}

/* DESKTOP PRODUCT GALLERY — THUMBNAILS LEFT */
@media (min-width: 1025px) {

  .product-left {
    display: block !important;
    width: 100%;
    min-width: 0;
  }

  /*
    Ang slider at thumbnails ay nasa loob ng product-image,
    kaya product-image ang dapat gawing grid.
  */
  .product-image {
    display: grid !important;
    grid-template-columns: 74px minmax(0, 1fr) !important;
    grid-template-areas: "thumbs main" !important;
    align-items: start !important;
    gap: 14px !important;

    width: 100%;
    min-width: 0;

    aspect-ratio: auto !important;
    overflow: visible !important;
    background: transparent !important;
    border: none !important;
  }

  /* Main large image sa kanan ng thumbnails */
  .product-gallery-slider {
    grid-area: main !important;

    width: 100% !important;
    min-width: 0 !important;

    aspect-ratio: 1 / 1;
    overflow: hidden !important;

    border: 1px solid var(--line);
    border-radius: 16px;
    background: #f8fafc;
  }

  .product-gallery-slider #productImg {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;

    aspect-ratio: 1 / 1;
    object-fit: contain !important;

    display: block;
  }

  /* Small images sa kaliwang labas ng main box */
  .product-thumbnails {
    grid-area: thumbs !important;

    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;

    gap: 10px !important;
    margin: 0 !important;
    padding: 0 3px 4px 0 !important;

    width: 74px !important;
    max-height: 520px;

    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .product-thumb {
    width: 68px !important;
    height: 68px !important;
    min-width: 68px !important;
    flex: 0 0 68px !important;

    border-radius: 10px;
  }
}

/* FIX BACK AND SHARE BUTTONS ABOVE PRODUCT GALLERY */
.back-btn,
.share-top-btn {
  z-index: 9999 !important;
  pointer-events: auto !important;
  background: rgba(255, 255, 255, 0.55) !important;
  color: #111827 !important;

  border: 1px solid #e5e7eb !important;

  box-shadow:
    0 4px 14px rgba(15, 23, 42, 0.18) !important;

  backdrop-filter: blur(8px);
}

.back-btn {
  width: auto !important;
  height: 34px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}

/* Desktop positioning */
@media (min-width: 1025px) {

  .back-btn {
    display: inline-flex !important;
    position: fixed !important;
    left: 20px !important;
    top: 120px !important;
    z-index: 999999 !important;
  }

  .share-top-btn {
    display: inline-flex !important;

    /*
      Ilagay malapit sa upper-right
      ng main product image.
    */
    right: calc(50% + 40px) !important;
    top: 36px !important;
  }
}

/* DESKTOP SOCIAL SHARE ROW */
.desktop-share-row {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 8px;

  padding: 8px 12px;

  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e5e7eb;
  border-radius: 12px;

  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(8px);
}

.share-label {
  padding-right: 4px;

  color: #111827;
  font-size: 14px;
  font-weight: 600;
}

.social-share {
  width: 30px;
  height: 30px;

  border: none;
  border-radius: 50%;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: white;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;

  cursor: pointer;
  transition: 0.18s ease;
}

.social-share:hover {
  transform: translateY(-2px) scale(1.06);
}

.social-share.messenger {
  background: #168aff;
}

.social-share.facebook {
  background: #1877f2;
  font-family: Arial, sans-serif;
  font-size: 20px;
}

.social-share.pinterest {
  background: #e60023;
  font-family: Georgia, serif;
  font-size: 19px;
}

.social-share.twitter {
  background: #000;
  font-size: 14px;
}

/* Keep compact share button on mobile */
@media (max-width: 768px) {
  .desktop-share-row {
    display: none;
  }
}

/* FINAL SHARE ROW BELOW PRODUCT IMAGE */
.product-share-row {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;

  margin-top: 12px;
  padding: 10px 4px;

  border-top: 1px solid #e5e7eb;

  box-sizing: border-box;
}

.product-share-row .share-label {
  margin-right: 2px;
  padding: 0;

  color: #111827;
  font-size: 14px;
  font-weight: 600;
}

.product-share-row .social-share {
  width: 32px;
  height: 32px;

  padding: 0;
  border: none;
  border-radius: 50%;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;

  cursor: pointer;
}

.product-share-row .social-share svg {
  width: 19px;
  height: 19px;

  display: block;
  fill: currentColor;
}

.product-share-row .messenger {
  background: #168aff;
}

.product-share-row .facebook {
  background: #1877f2;
  font-family: Arial, sans-serif;
  font-size: 20px;
}

.product-share-row .pinterest {
  background: #e60023;
  font-family: Georgia, serif;
  font-size: 19px;
}

.product-share-row .twitter {
  background: #000000;
  font-size: 14px;
}

.product-share-row .social-share:hover {
  transform: translateY(-2px) scale(1.06);
}

.product-share-row .social-share:active {
  transform: scale(0.94);
}

/* MOBILE */
@media (max-width: 768px) {
  .product-share-row {
    display: flex !important;
    justify-content: center;

    width: 100%;

    margin-top: 10px;
    padding: 10px 0 2px;
  }

  .product-share-row .social-share {
    width: 34px;
    height: 34px;
  }
}

.skyro-available {
  display: flex;
  align-items: center;
  gap: 10px;

  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;

  padding: 10px 14px;
  border-radius: 10px;

  font-size: 14px;
  font-weight: 700;
}

.skyro-available-icon {
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
  border-radius: 10px;

  background: #dbeafe;
  font-size: 18px;
}

.skyro-available strong,
.skyro-available small {
  display: block;
}

.skyro-available small {
  margin-top: 3px;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
}

.skyro-minimum-note {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.skyro-minimum-note>div {
  line-height: 1.5;
}

.skyro-minimum-note strong {
  display: block;
  margin-bottom: 3px;
}

.skyro-how-btn {
  flex-shrink: 0;
  padding: 8px 14px;
  border: 1px solid #2563eb;
  border-radius: 999px;
  background: #ffffff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.skyro-how-btn:hover {
  background: #2563eb;
  color: #ffffff;
}

.skyro-info-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(5px);
}

.skyro-info-modal.show {
  display: flex;
}

.skyro-info-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 28px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.25);
}

.skyro-info-card h3 {
  margin: 0 0 12px;
  padding-right: 35px;
  font-size: 22px;
}

.skyro-info-card>p {
  margin: 0 0 18px;
  color: #475569;
  line-height: 1.6;
}

.skyro-info-list {
  padding: 16px;
  border-radius: 14px;
  background: #f8fafc;
}

.skyro-info-list p {
  margin: 0 0 10px;
  color: #334155;
  line-height: 1.5;
}

.skyro-info-list p:last-child {
  margin-bottom: 0;
}

.skyro-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  cursor: pointer;
}

.skyro-modal-action {
  width: 100%;
  margin-top: 18px;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 600px) {
  .skyro-minimum-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .skyro-info-card {
    padding: 24px 20px;
  }
}

.skyro-minimum-note strong {
  display: block;
  margin-bottom: 3px;
  font-weight: 700;
}

.skyro-minimum-note span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

/* MOBILE VARIANTS - OUT OF STOCK AT BOTTOM */
@media (max-width: 768px) {

  .variant-popup-instock,
  .variant-popup-outstock {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .variant-popup-outstock {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
  }

  .variant-outstock-label {
    width: 100%;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 2px;
  }

  .variant-popup-outstock .variant-popup-option {
    opacity: 0.5;
  }
}

/* VOUCHER PREV / NEXT - LEFT & RIGHT SIDE */

.product-info .voucher-section {
  position: relative;
}

.voucher-nav {
  position: static !important;
}

/* parehong arrow */
.voucher-nav button {
  position: absolute !important;
  top: 58% !important;
  transform: translateY(-50%) !important;

  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;

  z-index: 20 !important;

  background: rgba(255, 255, 255, 0.55) !important;
  color: #0891b2 !important;

  border: 1px solid rgba(8, 145, 178, 0.25) !important;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* PREV */
.voucher-nav button:first-child {
  left: 4px !important;
}

/* NEXT */
.voucher-nav button:last-child {
  right: 4px !important;
}

/* para hindi matakpan ang voucher cards */
.product-info .voucher-list {
  padding-left: 30px !important;
  padding-right: 30px !important;
}

.reviews-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.reviews-load-more-btn {
  padding: 10px 22px;
  border: 1px solid #00a8c6;
  border-radius: 8px;
  background: #fff;
  color: #0097a7;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.reviews-load-more-btn:hover {
  background: #0097a7;
  color: #fff;
}

.no-reviews-message {
  text-align: center;
  padding: 8px 16px;
  color: #64748b;
}

.no-reviews-star {
  font-size: 34px;
  color: #f59e0b;
  margin-bottom: 8px;
}

.no-reviews-message strong {
  display: block;
  font-size: 16px;
  color: #334155;
  margin-bottom: 4px;
}

.no-reviews-message p {
  margin: 0;
  font-size: 14px;
  color: #94a3b8;
}

/* VARIANT LOAD MORE + OUT OF STOCK GROUP */

.variant-outstock-group {
  width: 100%;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.variant-outstock-title {
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
}

.variant-outstock {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.variant-outstock .variant-btn {
  opacity: 0.45;
  cursor: not-allowed;
}

.variant-load-more-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.variant-load-more-btn {
  border: 1px solid #06b6d4;
  background: #fff;
  color: #0891b2;

  padding: 8px 18px;

  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;

  cursor: pointer;

  transition: 0.2s ease;
}

.variant-load-more-btn:hover {
  background: #06b6d4;
  color: #fff;
}

@media (max-width: 768px) {

  .variant-load-more-btn {
    width: 100%;
  }

}

.product-reviews-section {
  margin-top: 15px !important;
}

.product-reviews-section h3 {
  margin-bottom: 6px !important;
}

.no-reviews-message {
  margin: 0 !important;
  padding: 6px 0 !important;
}

.no-reviews-star {
  margin-bottom: 2px !important;
}

.no-reviews-message p {
  margin-top: 2px !important;
  margin-bottom: 0 !important;
}

/* =====================================
   PRODUCT DESCRIPTION - DESKTOP / PC
===================================== */

@media (min-width: 1025px) {

  .product-left {
    grid-column: 1;
    min-width: 0;
  }

  .product-info {
    grid-column: 2;
    min-width: 0;
  }

  .product-left .product-description-section {
    width: 100%;
    grid-column: auto;
    margin-top: 12px;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-sizing: border-box;
  }

}

/* =====================================
   MOBILE AND TABLET LAYOUT
===================================== */

@media (max-width: 1024px) {

  .product-left {
    display: contents;
  }

  .product-image {
    order: 1;
  }

  .product-share-row {
    order: 2;
  }

  .product-info {
    order: 3;
  }

  .product-description-section {
    order: 4;
    width: 100%;
  }

}

/* COMPACT LALAMOVE DELIVERY BADGE */

.product-info .delivery-badge {
  padding: 8px 10px !important;
  gap: 8px !important;
  border-radius: 9px !important;
  margin: 4px 0 !important;
}

.product-info .delivery-icon {
  font-size: 18px !important;
}

.product-info .delivery-text {
  gap: 2px !important;
  line-height: 1.3 !important;
}

.product-info .delivery-text strong {
  font-size: 12px !important;
}

.product-info .delivery-text span {
  font-size: 11px !important;
}

.product-info .delivery-text small {
  font-size: 10px !important;
}

.product-info .delivery-note-btn {
  font-size: 10px !important;
  padding: 2px 0 !important;
  margin-top: 2px !important;
}

/* LALAMOVE BADGE - AUTO FIT HEIGHT */

.product-info .delivery-badge {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 8px 12px !important;
  margin: 4px 0 !important;

  display: flex !important;
  align-items: center !important;
  gap: 8px !important;

  align-self: flex-start !important;
  box-sizing: border-box !important;
}

.product-info .delivery-text {
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.25 !important;
}

.product-info .delivery-text strong,
.product-info .delivery-text span,
.product-info .delivery-text small {
  margin: 0 !important;
}


/* LALAMOVE LEARN HOW BUTTON */

.product-info .delivery-note-btn {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;

  background: #fff3cd !important;
  color: #b45309 !important;
  border: 1px solid #fbbf24 !important;

  padding: 5px 10px !important;
  border-radius: 6px !important;

  font-size: 11px !important;
  font-weight: 700 !important;

  margin: 5px 0 0 !important;
  cursor: pointer;
  transition: 0.2s ease;
}

.product-info .delivery-note-btn:hover {
  background: #fde68a !important;
  color: #92400e !important;
  border-color: #f59e0b !important;
}


/* PRICE + DELIVERY SIDE BY SIDE */

@media (min-width: 1025px) {
  .product-info .price-delivery-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
  }

  .product-info .price-row {
    flex: 0 1 auto;
    min-width: 0;
  }

  .product-info .price-delivery-row .delivery-badge {
    flex: 0 1 auto;
    width: fit-content !important;
    max-width: 100%;
    height: auto !important;
    padding: 7px 10px !important;
    margin: 0 !important;
    align-self: center !important;
    gap: 7px !important;
  }
}

/* MOBILE: STACK PRICE AND DELIVERY */

@media (max-width: 1024px) {
  .product-info .price-delivery-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* COMPACT COD BADGE */

.product-info #codAvailable {
  width: fit-content !important;
  max-width: 100%;
  height: auto !important;
  min-height: 0 !important;
  padding: 7px 12px !important;
  margin: 0 !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  box-sizing: border-box;
}

/* COD NOT AVAILABLE CARD */

.product-info #codNotice {
  width: fit-content !important;
  max-width: 100%;
  height: auto !important;
  min-height: 0 !important;
  padding: 9px 12px !important;
  border-radius: 9px !important;
  box-sizing: border-box;
}

.product-info #codNotice p {
  margin: 4px 0 0 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}


/* =====================================
   COMPACT PRODUCT VOUCHER CARDS
===================================== */

.product-info .voucher-section {
  padding: 8px !important;
  margin-top: 4px !important;
  border-radius: 10px !important;
}

.product-info .voucher-header {
  margin-bottom: 6px !important;
}

.product-info .voucher-header h3 {
  font-size: 13px !important;
  margin: 0 !important;
}

.product-info .voucher-list {
  gap: 8px !important;
  padding-bottom: 4px !important;
}

/* SMALLER VOUCHER CARDS */

.product-info .voucher-card {
  padding: 8px !important;
  border-radius: 8px !important;
  min-height: 0 !important;
  height: auto !important;
  box-sizing: border-box;
}

.product-info .voucher-card strong {
  font-size: 12px !important;
  margin-bottom: 3px !important;
  line-height: 1.25 !important;
}

.product-info .voucher-card span {
  font-size: 11px !important;
  margin-bottom: 5px !important;
  line-height: 1.3 !important;
}

.product-info .voucher-card button {
  padding: 5px 9px !important;
  font-size: 11px !important;
  border-radius: 6px !important;
}

/* SMALL NAVIGATION ARROWS */

.product-info .voucher-nav button {
  width: 27px !important;
  height: 27px !important;
  font-size: 14px !important;
}

/* DESKTOP: THREE CARDS PER ROW */

@media (min-width: 1200px) {
  .product-info .voucher-card {
    flex: 0 0 calc((100% - 16px) / 3) !important;
    min-width: 0 !important;
    max-width: calc((100% - 16px) / 3) !important;
  }
}

/* MOBILE: TWO CARDS VISIBLE */

@media (max-width: 768px) {
  .product-info .voucher-card {
    flex: 0 0 calc((100% - 8px) / 2) !important;
    min-width: calc((100% - 8px) / 2) !important;
    max-width: calc((100% - 8px) / 2) !important;
  }
}


/* =====================================
   DRIN ELECTRONICS
   COMPACT PRODUCT VARIANTS
===================================== */

/* VARIANT SECTION */
.product-info .variant-container {
  margin-top: 6px !important;
  gap: 6px !important;
}

/* VARIANT TITLE */
.product-info .variant-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  margin-bottom: 6px !important;
}

/* VARIANT OPTIONS */
.product-info .variant-options {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
}

/* COMPACT VARIANT BUTTONS */
.product-info .variant-btn {
  padding: 7px 11px !important;
  min-height: 32px !important;
  height: auto !important;
  border-radius: 7px !important;

  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;

  max-width: 100% !important;
  white-space: normal !important;

  transition: 0.2s ease;
}

/* SELECTED VARIANT */
.product-info .variant-btn.active {
  background: #06b6d4 !important;
  color: white !important;
  border: 1px solid #0891b2 !important;
  box-shadow: 0 2px 6px rgba(6, 182, 212, 0.18);
}

/* HOVER - DESKTOP ONLY */
@media (hover: hover) {
  .product-info .variant-btn:not(.out-of-stock):hover {
    border-color: #06b6d4 !important;
    background: #ecfeff;
  }
}

/* OUT OF STOCK */
.product-info .variant-btn.out-of-stock {
  opacity: 0.5 !important;
  background: #f1f5f9 !important;
  color: #64748b !important;
  cursor: not-allowed !important;
}

/* LOAD MORE VARIANTS */
.product-info .variant-load-more-btn {
  padding: 6px 11px !important;
  font-size: 11px !important;
  border-radius: 7px !important;
}

/* MOBILE TOUCH FRIENDLY */
@media (max-width: 768px) {
  .product-info .variant-btn {
    min-height: 36px !important;
    padding: 8px 11px !important;
  }
}


/* =====================================
   COMPACT CUSTOMER PROTECTION
===================================== */

.product-info .customer-protection {
  padding: 9px 12px !important;
  margin-top: 4px !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

.product-info .protection-header {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-bottom: 7px !important;
}

.product-info .protection-header strong {
  font-size: 13px !important;
}

.product-info .protection-icon {
  width: 25px !important;
  height: 25px !important;
  font-size: 14px !important;
  border-radius: 7px !important;
}

/* HORIZONTAL PROTECTION ITEMS */

.product-info .protection-list {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px !important;
}

.product-info .protection-list span,
.product-info .protection-more span {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  padding: 5px 8px !important;
  background: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
  border-radius: 6px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
}

/* EXPANDED ITEMS */

.product-info .protection-more {
  display: none !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-top: 7px !important;
}

.product-info .protection-more.show {
  display: flex !important;
}

/* READ MORE BUTTON */

.product-info .protection-toggle {
  display: inline-flex !important;
  margin-top: 7px !important;
  padding: 3px 0 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #0891b2 !important;
  cursor: pointer;
}


/* =====================================
   DRIN ELECTRONICS
   PREMIUM PRODUCT ACTION BUTTONS
===================================== */

/* DESKTOP ACTION CONTAINER */
@media (min-width: 769px) {

  .product-info .product-action-buttons {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-top: 8px !important;
    width: 100% !important;
  }

  /* SHARED BUTTON DESIGN */
  .product-info .product-action-buttons button {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    height: 44px !important;
    padding: 0 12px !important;
    border-radius: 9px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    cursor: pointer;
    transition:
      background 0.2s ease,
      transform 0.2s ease,
      box-shadow 0.2s ease !important;
  }

  /* ADD TO CART */
  .product-info #addToCartBtn {
    background: #ecfeff !important;
    color: #0891b2 !important;
    border: 1px solid #06b6d4 !important;
    box-shadow: none !important;
  }

  /* BUY NOW */
  .product-info #buyNowBtn {
    background: linear-gradient(135deg,
        #f59e0b,
        #ea580c) !important;
    color: #ffffff !important;
    border: 1px solid #ea580c !important;
    box-shadow: 0 3px 9px rgba(234, 88, 12, 0.18) !important;
  }

  /* HOVER EFFECTS */
  .product-info #addToCartBtn:not(:disabled):hover {
    background: #cffafe !important;
    transform: translateY(-1px);
  }

  .product-info #buyNowBtn:not(:disabled):hover {
    background: linear-gradient(135deg,
        #ea580c,
        #c2410c) !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(234, 88, 12, 0.25) !important;
  }

  /* CLICK EFFECT */
  .product-info .product-action-buttons button:not(:disabled):active {
    transform: scale(0.98) !important;
  }
}

/* DISABLED STATE */
.product-info .product-action-buttons button:disabled {
  cursor: not-allowed !important;
  filter: grayscale(0.35);
}

/* KEYBOARD ACCESSIBILITY */
.product-info .product-action-buttons button:focus-visible {
  outline: 3px solid #0e7490 !important;
  outline-offset: 3px !important;
}


/* =====================================
   DRIN ELECTRONICS
   PREMIUM PRODUCT IMAGE GALLERY
===================================== */

/* MAIN IMAGE CONTAINER */
.product-left .product-image,
.product-left .product-gallery-slider {
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  background: #f8fafc !important;
  overflow: hidden !important;
}

/* MAIN PRODUCT IMAGE */
.product-left .product-gallery-slider #productImg {
  width: 100% !important;
  max-height: 480px !important;
  object-fit: contain !important;
  transition: transform 0.25s ease !important;
}

/* DESKTOP IMAGE ZOOM ON HOVER */
@media (min-width: 1025px) and (hover: hover) {
  .product-left .product-gallery-slider:hover #productImg {
    transform: scale(1.06);
  }
}

/* THUMBNAIL CONTAINER */
.product-left .product-thumbnails {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 8px !important;
  padding: 3px 2px 8px !important;
  overflow-x: auto !important;
  scrollbar-width: thin;
}

/* COMPACT THUMBNAILS */
.product-left .product-thumb {
  flex: 0 0 62px !important;
  width: 62px !important;
  height: 62px !important;
  padding: 3px !important;
  border-radius: 9px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  transition: border-color 0.2s ease,
    box-shadow 0.2s ease !important;
}

/* THUMBNAIL IMAGES */
.product-left .product-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 5px !important;
}

/* SELECTED THUMBNAIL */
.product-left .product-thumb.active {
  border: 2px solid #06b6d4 !important;
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.12);
}

/* THUMBNAIL HOVER */
@media (hover: hover) {
  .product-left .product-thumb:hover {
    border-color: #0891b2 !important;
  }
}

/* GALLERY ARROWS */
.product-left .gallery-nav {
  width: 34px !important;
  height: 34px !important;
  font-size: 25px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.85) !important;
  color: #334155 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* MOBILE: KEEP EXISTING GALLERY BEHAVIOR */
@media (max-width: 768px) {
  .product-left .product-gallery-slider #productImg {
    max-height: 400px !important;
    transform: none !important;
  }

  .product-left .gallery-nav,
  .product-left .product-thumbnails {
    display: none !important;
  }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {

  .product-left .product-gallery-slider #productImg,
  .product-left .product-thumb {
    transition: none !important;
  }
}


.product-left .product-gallery-slider {
  overflow: hidden;
  touch-action: pan-y;
}

.product-left .product-gallery-slider #productImg {
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 320ms ease-in-out !important;
}

@media (prefers-reduced-motion: reduce) {
  .product-left .product-gallery-slider #productImg {
    transition: none !important;
  }
}


/* CLEAN GALLERY — NO BOUNCE */

.product-left .product-gallery-slider #productImg {
  animation: none !important;
  transform: none !important;
  transition: opacity 220ms ease-in-out !important;
}

@media (prefers-reduced-motion: reduce) {
  .product-left .product-gallery-slider #productImg {
    transition: none !important;
  }
}