.wps-profile-wrapper {
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  color: #374151;
  line-height: 1.5;
  max-width: 1024px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.wps-grid {
  display: grid;
  gap: 1rem;
}

.wps-grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.wps-col-span-3 {
  grid-column: span 3 / span 3;
}

.wps-grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .wps-grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .wps-md-grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wps-md-grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wps-md-grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .wps-col-span-1 {
    grid-column: span 1 / span 1;
  }

  .wps-md-col-span-2 {
    grid-column: span 2 / span 2;
  }

  .wps-md-col-span-3 {
    grid-column: span 3 / span 3;
  }
}

.wps-grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wps-col-span-2 {
  grid-column: span 2 / span 2;
}

.wps-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.1),
    0 1px 2px 0 rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.wps-transition {
  transition: all 150ms ease-in-out;
}

.wps-text-red-700 {
  color: #ef4444;
}

.wps-text-bold {
  font-weight: 700 !important;
}

.wps-text-left {
  text-align: left;
}

.wps-text-right {
  text-align: right;
}

.wps-text-center {
  text-align: center;
}

.wps-p-6 {
  padding: 1.5rem;
}

.wps-p-2 {
  padding: 0.5rem;
}

.wps-p-4 {
  padding: 1rem;
}

.wps-p-3 {
  padding: 0.75rem;
}

.wps-pt-0 {
  padding-top: 0 !important;
}

.wps-pt-4 {
  padding-top: 1rem;
}

.wps-pb-0 {
  padding-bottom: 0 !important;
}

.wps-pr-2 {
  padding-right: 0.5rem;
}

.wps-pr-3 {
  padding-right: 0.75rem;
}

.wps-pr-6 {
  padding-right: 1.5rem;
}

.wps-mt-3 {
  margin-top: 0.75rem;
}

.wps-mt-4 {
  margin-top: 1rem;
}

.wps-mt-6 {
  margin-top: 1.5rem;
}

.wps-mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.wps-mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.wps-my-8 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.wps-text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.wps-font-medium {
  font-weight: 600 !important;
}

.wps-font-semibold {
  font-weight: 600 !important;
}

.wps-font-bold {
  font-weight: 800 !important;
}

.wps-font-extrabold {
  font-weight: 900 !important;
}

.wps-text-gray-900 {
  color: #111827;
}

.wps-text-gray-500 {
  color: #6b7280;
}

.wps-text-gray-700 {
  color: #374151;
}

.wps-text-sm {
  font-size: 0.875rem !important;
  line-height: 1.25rem !important;
}

.wps-mb-0 {
  margin-bottom: 0 !important;
}

.wps-mb-1 {
  margin-bottom: 0.25rem;
}

.wps-mb-4 {
  margin-bottom: 1rem;
}

.wps-mb-6 {
  margin-bottom: 1.5rem;
}

.wps-mt-2 {
  margin-top: 0.5rem;
}

.wps-mt-4 {
  margin-top: 1rem;
}

.wps-form-group {
  margin-bottom: 1rem;
}

.wps-label,
.wps-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.25rem;
}

.wps-input,
.wps-select,
.wps-textarea,
.wps-form-input,
.wps-form-textarea {
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid #d1d5db;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: #111827;
  background-color: white;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}

.wps-input:focus,
.wps-select:focus,
.wps-textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.wps-input:disabled {
  background-color: #f3f4f6;
  color: #9ca3af;
}

.wps-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.2rem;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.wps-btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

.wps-btn-primary,
button.wps-btn-primary {
  background-color: #2563eb;
  color: #ffffff !important;
}

.wps-btn-primary * {
  color: #ffffff !important;
}

.wps-btn-primary:hover {
  background-color: #1d4ed8;
}

.wps-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wps-btn-dark,
button.wps-btn-dark {
  background-color: #1f2937;
  color: #ffffff !important;
}

.wps-btn-dark * {
  color: #ffffff !important;
}

.wps-btn-dark:hover {
  background-color: #111827;
}

.wps-btn-secondary {
  background-color: white;
  border-color: #d1d5db;
  color: #374151;
}

.wps-btn-secondary:hover {
  background-color: #f9fafb;
}

.wps-btn-success {
  background-color: #10b981;
  color: #ffffff !important;
}

.wps-btn-success * {
  color: #ffffff !important;
}

.wps-btn-success:hover {
  background-color: #059669;
}

.wps-btn-success:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wps-btn-outline-success {
  background-color: white;
  border-color: #10b981;
  color: #10b981;
}

.wps-btn-outline-success *,
.wps-btn-outline-success span {
  color: #10b981 !important;
}

.wps-btn-outline-success:hover {
  background-color: #e6fcf5;
}

.wps-position-relative {
  position: relative;
}

.wps-callout {
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 0.5rem;
  padding: 1rem;
}

.wps-callout-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1d4ed8;
  margin-bottom: 0.5rem;
}

.wps-btn-danger {
  background-color: white;
  border-color: #fca5a5;
  color: #ef4444;
}

.wps-btn-danger:hover {
  background-color: #fef2f2;
}

.wps-nav-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.75rem 1rem;
  text-align: left;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 0.25rem;
}

.wps-nav-item:hover {
  background-color: #f3f4f6;
  color: #111827;
}

.wps-nav-item.active {
  background-color: #eff6ff;
  color: #1d4ed8;
}

.wps-flex {
  display: flex;
}

.wps-flex-col {
  flex-direction: column;
}

.wps-justify-between {
  justify-content: space-between;
}

.wps-justify-center {
  justify-content: center;
}

.wps-items-center {
  align-items: center;
}

.wps-items-start {
  align-items: flex-start;
}

.wps-justify-end {
  justify-content: flex-end;
}

.wps-gap-2 {
  gap: 0.5rem;
}

.wps-gap-1 {
  gap: 0.25rem;
}

.wps-gap-4 {
  gap: 1rem;
}

.wps-gap-3 {
  gap: 0.75rem;
}

.wps-flex-wrap {
  flex-wrap: wrap;
}

.wps-space-x-2>*+* {
  margin-left: 0.5rem;
}

.wps-mr-2 {
  margin-right: 0.5rem;
}

.wps-mr-3 {
  margin-right: 0.75rem;
}

.wps-alert {
  padding: 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.wps-alert-success {
  background-color: #d1fae5;
  color: #065f46;
}

.wps-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: #f3f4f6;
  color: #374151;
}

.wps-badge-sm {
  padding: 0.125rem 0.375rem;
  font-size: 0.75rem;
}

.wps-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.wps-profile-wrapper .wps-tabs {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.wps-profile-wrapper .wps-tab {
  flex: 0 0 auto;
}

.wps-tab {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.wps-tab:hover {
  color: #111827;
  background-color: #f9fafb;
}

.wps-tab.active {
  color: #1d4ed8;
  border-bottom-color: #1d4ed8;
}

/* Badge utilities */
.wps-bg-blue-500 {
  background-color: #3b82f6;
}

.wps-bg-red-100 {
  background-color: rgb(240, 67, 67, 0.1);
}

.wps-text-white {
  color: #ffffff !important;
}

.wps-text-xs {
  font-size: 0.75rem !important;
  line-height: 1rem !important;
}

.wps-text-xxs {
  font-size: 0.7rem;
  line-height: 0.95rem;
}

/* Basic checkbox styling to align with inputs */
.wps-checkbox {
  width: 16px;
  height: 16px;
  border: 1px solid #d1d5db;
  border-radius: 0.2rem;
}

.wps-range-slider {
  position: relative;
  width: 100%;
  height: 28px;
  margin-top: 4px;
}

.wps-range-track {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #e5e7eb;
  border-radius: 9999px;
  transform: translateY(-50%);
}

.wps-range-fill {
  position: absolute;
  top: 0;
  height: 2px;
  background-color: #2563eb;
  border-radius: 9999px;
}

.wps-range {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 28px;
  background: transparent;
  -webkit-appearance: none;
}

.wps-price-input {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.wps-price-input .wps-input {
  max-width: 140px;
}

.wps-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background-color: #2563eb;
  border: 1px solid #1d4ed8;
  border-radius: 9999px;
  cursor: pointer;
}

.wps-range::-webkit-slider-runnable-track {
  height: 2px;
  background: transparent;
}

.wps-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background-color: #2563eb;
  border: 1px solid #1d4ed8;
  border-radius: 9999px;
  cursor: pointer;
}

.wps-range::-moz-range-track {
  height: 2px;
  background: transparent;
}

.wps-price-range {
  position: relative;
  width: 100%;
  height: 28px;
  margin-top: 4px;
}

.wps-price-range .wps-slider {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: #e5e7eb;
  border-radius: 9999px;
  transform: translateY(-50%);
}

.wps-price-range .wps-slider .wps-progress {
  position: absolute;
  top: 0;
  height: 5px;
  background-color: #2563eb;
  border-radius: 9999px;
  left: 0;
  right: 0;
}

.wps-price-range .wps-range-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 28px;
}

.wps-price-range .wps-range-input .wps-range {
  position: absolute;
  top: -7px;
  left: 0;
  width: 100%;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
}

.wps-price-range .wps-range-input .wps-range::-webkit-slider-thumb {
  pointer-events: auto;
}

.wps-price-range .wps-range-input .wps-range::-moz-range-thumb {
  pointer-events: auto;
}

.wps-px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}

.wps-py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}

.wps-pl-1 {
  padding-left: 0.25rem;
}

.rounded-full {
  border-radius: 9999px;
}

.wps-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border: none;
  border-radius: 0.375rem;
  background: none;
  cursor: pointer;
}

.wps-btn-icon:hover {
  background-color: #fff7ed;
}

.wps-text-amber-600 {
  color: #d97706;
}

.wps-hover-text-amber-700:hover {
  color: #b45309;
}

.wps-icon-24 {
  width: 24px;
  height: 24px;
}

.wps-icon-20 {
  width: 20px;
  height: 20px;
}

.wps-d-block {
  display: block !important;
}

.wps-rel {
  position: relative;
}

.wps-absolute {
  position: absolute;
}

.wps-top--6 {
  top: -6px;
}

.wps-right--10 {
  right: -10px;
}

.wps-right--30 {
  right: -30px;
}

.wps-ml-auto {
  margin-left: auto;
}

.wps-offcanvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9998;
}

.wps-offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 90vw;
  height: 100vh;
  background: #ffffff;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  z-index: 9999999;
}

.wps-offcanvas-header {
  padding: 12px;
  border-bottom: 1px solid #eeeeee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wps-offcanvas-body {
  flex: 1;
  overflow: auto;
  padding: 12px;
}

.wps-offcanvas-footer {
  padding: 12px;
  border-top: 1px solid #eeeeee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.wps-total-box {
  display: flex;
  flex-direction: column;
}

.wps-total-label {
  font-size: 12px;
  color: #6b7280;
}

.wps-total-amount {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.wps-checkout-btn {
  border-radius: 6px;
}

@media (max-width: 480px) {
  .wps-checkout-btn {
    text-align: center;
  }
}

.wps-checkout-btn.wps-btn-sm {
  padding: 0.25rem 0.5rem;
}

@media (max-width: 480px) {
  .wps-checkout-btn.wps-btn-sm {
    flex: 0;
  }
}

.wps-badge-count {
  background: #ef4444;
  color: #ffffff;
  border-radius: 999px;
  padding: 0 6px;
  font-size: 12px;
}

.wps-divider {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.wps-img-40 {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.wps-img-60 {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.wps-img-80 {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.wps-img-320 {
  width: 100%;
  height: 320px;
  object-fit: contain;
}

body.wps-lightbox-open {
  overflow: hidden;
}

.wps-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: saturate(160%) blur(6px);
}

.wps-lightbox.is-open {
  display: flex;
}

.wps-lightbox__panel {
  position: relative;
  width: min(1100px, 96vw);
  height: min(86vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wps-lightbox__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(17, 24, 39, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  cursor: zoom-out;
}

.wps-lightbox__close {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(17, 24, 39, 0.78);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wps-lightbox__close:hover {
  background: rgba(17, 24, 39, 0.9);
}

.wps-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(17, 24, 39, 0.68);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wps-lightbox__nav:hover {
  background: rgba(17, 24, 39, 0.86);
}

.wps-lightbox__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.wps-lightbox__nav.prev {
  left: -10px;
}

.wps-lightbox__nav.next {
  right: -10px;
}

.wps-products-carousel[data-wps-lightbox] .carousel-main img,
img[data-wps-lightbox-src] {
  cursor: zoom-in;
}

.wps-thumbs {
  width: 64px;
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}

.wps-thumbs::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.wps-thumbs {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

@media (max-width: 640px) {
  .wps-flex.wps-gap-2.wps-items-start {
    flex-direction: column;
  }

  .wps-flex.wps-gap-2.wps-items-start>.wps-position-relative.wps-w-full {
    order: 1;
  }

  .wps-flex.wps-gap-2.wps-items-start>.wps-thumbs {
    order: 2;
    width: 100%;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
}

.wps-img-160 {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* Product card hover image */
.wps-card-hover .wps-image-wrap {
  position: relative;
}

.wps-card-hover .wps-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wps-card-hover .wps-image-wrap.wps-has-hover .img-main {
  transition: opacity 0.2s ease;
}

.wps-card-hover .wps-image-wrap.wps-has-hover .img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.wps-card-hover:hover .wps-image-wrap.wps-has-hover .img-main {
  opacity: 0;
}

.wps-card-hover:hover .wps-image-wrap.wps-has-hover .img-hover {
  opacity: 1;
}

/* Digital badge */
.wps-digital-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  align-items: center;
  background: #111827cc;
  color: #fff;
  border-radius: 9999px;
  padding: 2px 6px;
  backdrop-filter: saturate(180%) blur(4px);
}

.wps-digital-badge .txt {
  opacity: 0;
  max-width: 0;
  margin-left: 0;
  white-space: nowrap;
  overflow: hidden;
  transition:
    max-width 0.15s ease,
    opacity 0.15s ease;
}

.wps-digital-badge:hover .txt {
  opacity: 1;
  max-width: 60px;
  margin-left: 4px;
}

/* Label badge */
.wps-label-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  border-radius: 9999px;
  padding: 2px 6px;
}

.wps-label-badge .txt {
  color: #fff;
  font-size: 10px;
  margin-left: 4px;
}

.wps-label-badge.label-best {
  background: #f59e0b;
}

.wps-label-badge.label-limited {
  background: #ef4444;
}

.wps-label-badge.label-new {
  background: #10b981;
}

.wps-mb-2 {
  margin-bottom: 0.5rem;
}

.wps-w-full {
  width: 100%;
}

.wps-rounded {
  border-radius: 0.2rem;
}

.wps-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9999998;
}

.wps-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border-radius: 0.2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  width: 480px;
  max-width: 95vw;
  z-index: 9999999;
}

.wps-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e5e7eb;
}

.wps-table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.wps-table-head tr {
  background: #f9fafb;
  font-weight: 600;
}

.wps-th {
  padding: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.wps-td {
  padding: 8px;
}

tr:not(:last-child) .wps-td {
  border-bottom: 1px solid #f1f5f9;
}

.wps-table-striped tbody tr:nth-child(odd) {
  background: #fcfcfd;
}

.wps-summary-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.wps-bg-primary-100 {
  background-color: #eff6ff;
}

.wps-text-white {
  color: #fff;
}

.wps-text-primary-800 {
  color: #1d4ed8;
}

.wps-rounded-md {
  border-radius: 0.375rem;
}

/* Captcha refresh spin */
.wps-captcha-refresh:hover svg {
  animation: spin 1s linear 0.4;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Prevent Alpine flash before initialization */
[x-cloak] {
  display: none !important;
}

/* Single product: berikan ruang untuk widget fixed (mis. tombol chat) */
.wps-single-product {
  padding-bottom: 96px;
}

/* Flickity base styles (scoped) */
.wps-products-carousel {
  position: relative;
}

.wps-products-carousel .main-carousel {
  display: block;
}

.wps-products-carousel .main-carousel:not(.flickity-enabled) {
  overflow: hidden;
}

.wps-products-carousel .carousel-main:not(.flickity-enabled) .carousel-cell {
  display: none;
}

.wps-products-carousel .carousel-main:not(.flickity-enabled) .carousel-cell:first-child {
  display: block;
}

.wps-products-carousel .carousel-nav:not(.flickity-enabled) {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.wps-products-carousel .carousel-nav:not(.flickity-enabled)::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.wps-products-carousel .carousel-nav:not(.flickity-enabled) .carousel-cell {
  flex: 0 0 auto;
}

.wps-products-carousel .flickity-enabled {
  position: relative;
}

.wps-products-carousel .flickity-viewport {
  overflow: hidden;
  position: relative;
}

.wps-products-carousel .flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

.wps-products-carousel .flickity-button {
  position: absolute;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.wps-products-carousel .flickity-prev-next-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.wps-products-carousel .flickity-page-dots {
  position: absolute;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.wps-products-carousel .flickity-page-dots .dot {
  display: block;
  text-indent: -9999px;
  border-radius: 9999px;
}

/* Flickity navigation: kecil dan clean untuk carousel produk */
.wps-products-carousel .flickity-prev-next-button {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  box-sizing: border-box;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  color: #111827;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  border: 1px solid #e5e7eb;
}

.wps-products-carousel .flickity-prev-next-button:hover {
  background: #ffffff;
}

.wps-products-carousel .flickity-prev-next-button:disabled {
  opacity: 0.4;
  cursor: default;
}

.wps-products-carousel .flickity-prev-next-button.previous {
  left: 6px;
}

.wps-display-block {
  display: block;
}

.wps-products-carousel .flickity-prev-next-button.next {
  right: 6px;
}

.wps-products-carousel .flickity-button-icon {
  width: 14px !important;
  height: 14px !important;
  fill: currentColor;
  display: block;
  position: static !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
}

.wps-products-carousel .flickity-page-dots {
  bottom: 6px;
}

.wps-products-carousel .flickity-page-dots .dot {
  width: 6px;
  height: 6px;
  opacity: 0.5;
  background: #6b7280;
}

.wps-products-carousel .flickity-page-dots .dot.is-selected {
  opacity: 1;
  background: #111827;
}

.carousel-nav .carousel-cell {
  cursor: pointer;
}

.carousel-nav .carousel-cell img {
  border: 2px solid transparent;
  border-radius: 6px;
}

.carousel-nav .carousel-cell.is-nav-selected img,
.carousel-nav .carousel-cell:hover img {
  transition: all 0.3s ease-in-out;
  border: 2px solid #000;
}

.wps-products-carousel .carousel-main .carousel-cell {
  width: 100%;
  margin-right: 0;
}

.wps-products-carousel .carousel-main .carousel-cell img {
  width: 100%;
  display: block;
  object-fit: contain;
}

.wps-related-carousel .carousel-cell {
  width: 25%;
  margin-right: 8px;
}

@media (max-width: 768px) {
  .wps-related-carousel .carousel-cell {
    width: 50%;
  }
}

.wps-brand-carousel .wps-brand-item {
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
}

.wps-brand-carousel .wps-brand-item:hover {
  border-color: #d1d5db;
}

.wps-brand-carousel .wps-brand-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wps-brand-carousel .wps-brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.wps-brand-carousel .wps-brand-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  font-size: 12px;
  color: #374151;
}

@media (max-width: 768px) {
  .wps-flex.wps-items-start {
    flex-direction: column;
  }

  .wps-grid.wps-grid-cols-2 {
    grid-template-columns: 1fr;
  }

  .wps-grid.wps-two-col {
    grid-template-columns: 1fr !important;
  }

  .wps-grid.wps-proof-grid {
    grid-template-columns: 1fr !important;
  }

  .wps-profile-wrapper .wps-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .wps-profile-wrapper .wps-tabs::-webkit-scrollbar {
    display: none;
  }

  .wps-profile-wrapper .wps-tab {
    flex: 0 0 auto;
  }

  .wps-profile-wrapper .wps-p-6 {
    padding: 1rem;
  }

  .wps-profile-wrapper .wps-grid.wps-grid-cols-2 {
    grid-template-columns: 1fr;
  }

  .wps-profile-wrapper .wps-grid[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .wps-profile-wrapper .wps-flex.wps-items-center.wps-gap-4 {
    flex-direction: column;
    align-items: flex-start;
  }

  .wps-flex.wps-items-start>.wps-flex.wps-flex-col {
    flex-direction: row;
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
  }

  .wps-flex.wps-items-start>.wps-flex.wps-flex-col img.wps-gallery-thumb {
    width: 60px;
    height: 60px;
    flex: 0 0 auto;
  }

  .wps-flex.wps-items-start>.wps-thumbs {
    order: 2;
    width: 100% !important;
    max-height: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    display: flex !important;
    flex-direction: row !important;
  }

  .wps-flex.wps-items-start>.wps-position-relative.wps-w-full {
    order: 1;
  }

  .wps-img-320 {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .wps-img-320 {
    height: 200px;
  }

  .wps-flex.wps-gap-2.wps-items-center {
    flex-wrap: wrap;
  }
}

/* ===== Categories Grid ===== */
.wps-categories-grid {
  display: grid;
  grid-template-columns: repeat(var(--wps-cols, 4), 1fr);
  gap: 16px;
}

.wps-cat-grid-item {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.wps-cat-grid-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

.wps-cat-image-wrap {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
}

.wps-cat-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wps-cat-info {
  padding: 12px 14px;
}

.wps-cat-name {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
  margin-bottom: 2px;
}

.wps-cat-count {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

.wps-cat-desc {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
  line-height: 1.4;
}

.wps-col-full {
  grid-column: 1 / -1;
}

/* ===== Categories Carousel ===== */
.wps-categories-carousel .wps-cat-cell {
  display: block;
  text-decoration: none;
  color: inherit;
}

.wps-categories-carousel .wps-cat-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.2s ease;
}

.wps-categories-carousel .wps-cat-item:hover {
  border-color: #d1d5db;
}

.wps-categories-carousel .wps-cat-image-wrap {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
}

.wps-categories-carousel .wps-cat-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wps-categories-carousel .wps-cat-info {
  padding: 10px 12px;
}

.wps-categories-carousel .wps-cat-name {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
  margin-bottom: 2px;
}

.wps-categories-carousel .wps-cat-count {
  font-size: 11px;
  color: #6b7280;
  margin-top: 2px;
}

.wps-categories-carousel .wps-cat-desc {
  font-size: 11px;
  color: #6b7280;
  margin-top: 3px;
  line-height: 1.4;
}

/* ===== Responsive Grid ===== */
@media (max-width: 1024px) {
  .wps-categories-grid {
    --wps-cols: 3 !important;
  }
}

@media (max-width: 768px) {
  .wps-categories-grid {
    --wps-cols: 2 !important;
  }
}

@media (max-width: 480px) {
  .wps-categories-grid {
    --wps-cols: 1 !important;
  }
}

/* ===== Product Gallery ===== */
.wps-product-gallery {
  width: 100%;
}

.wps-gallery-main {
  width: 100%;
  margin-bottom: 16px;
}

.wps-gallery-zoom {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  cursor: zoom-in;
}

.wps-gallery-main-img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  display: block;
}

.wps-gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.wps-gallery-thumb {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  border: 2px solid transparent;
  background: #ffffff;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  transition: all 0.2s ease;
}

.wps-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wps-gallery-thumb:hover {
  border-color: #d1d5db;
}

.wps-gallery-thumb.active {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px #2563eb;
}

/* ===== Zoom Lens ===== */
.wps-gallery-zoom-lens {
  position: absolute;
  border: 1px solid rgba(0,0,0,0.1);
  background-color: rgba(255, 255, 255, 0.3);
  cursor: none;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.wps-gallery-zoom:hover .wps-gallery-zoom-lens {
  opacity: 1;
}

/* ===== Zoom Result ===== */
.wps-gallery-zoom-result {
  position: absolute;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background-repeat: no-repeat;
  z-index: 10;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .wps-gallery-zoom-lens,
  .wps-gallery-zoom-result {
    display: none !important;
  }
  
  .wps-gallery-zoom {
    cursor: pointer;
  }
}

/* ===== Categories Circle Style ===== */
.wps-cat-circle {
  text-align: center;
}

.wps-cat-circle .wps-cat-image-wrap {
  border-radius: 50% !important;
  overflow: hidden;
  margin: 0 auto;
  max-width: 180px;
}

.wps-cat-circle .wps-cat-info {
  padding: 10px 8px 4px;
  text-align: center;
}

.wps-cat-grid-item:has(.wps-cat-circle) {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.wps-cat-grid-item:has(.wps-cat-circle):hover {
  transform: translateY(-2px);
}

.wps-categories-carousel .wps-cat-circle .wps-cat-image-wrap {
  border-radius: 50% !important;
  overflow: hidden;
  margin: 0 auto;
  max-width: 160px;
}

/* ===== Categories Overlay Style ===== */
.wps-cat-overlay .wps-cat-image-wrap {
  position: relative;
}

.wps-cat-overlay-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 14px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  color: #ffffff;
}

.wps-cat-overlay-info .wps-cat-name {
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 2px;
}

.wps-cat-overlay-info .wps-cat-count {
  color: rgba(255,255,255,0.85);
}

.wps-cat-overlay-info .wps-cat-desc {
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
}

.wps-cat-grid-item:has(.wps-cat-overlay) {
  border: none !important;
  overflow: hidden;
}

/* ===== Categories Clean Style ===== */
.wps-cat-grid-item:has(.wps-cat-clean) {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.wps-cat-clean .wps-cat-image-wrap {
  border-radius: 8px;
  overflow: hidden;
}

.wps-cat-clean .wps-cat-info {
  padding: 10px 2px 2px;
}

.wps-cat-grid-item:has(.wps-cat-clean):hover {
  transform: none;
}

.wps-cat-grid-item:has(.wps-cat-clean):hover .wps-cat-name {
  color: #2563eb;
}

.wps-categories-carousel .wps-cat-clean .wps-cat-image-wrap {
  border-radius: 6px;
  overflow: hidden;
}

/* ===== Categories List Style ===== */
.wps-categories-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wps-cat-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 8px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.15s ease;
}

.wps-cat-list-item:hover {
  background: #f9fafb;
}

.wps-cat-list-item:first-child {
  border-top: 1px solid #f3f4f6;
}

.wps-cat-list-image {
  flex-shrink: 0;
}

.wps-cat-list-body {
  flex: 1 1 auto;
  min-width: 0;
}

.wps-cat-list-body .wps-cat-name {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
  margin-bottom: 2px;
}

.wps-cat-list-body .wps-cat-count {
  font-size: 12px;
  color: #6b7280;
}

.wps-cat-list-body .wps-cat-desc {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
  line-height: 1.4;
}

.wps-cat-list-arrow {
  flex-shrink: 0;
  font-size: 22px;
  color: #d1d5db;
  font-weight: 300;
  line-height: 1;
}