/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f8f8fa;
  color: #2d2d2d;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ===== Skip Link (Accessibility) ===== */
.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
  padding: 10px 20px;
  background: #d64a3b;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 0 0 6px 6px;
}

.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 0;
  width: auto;
  height: auto;
  overflow: visible;
}

/* ===== Top Bar ===== */
.top-bar {
  background: #242830;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.3px;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-links a {
  color: #ccc;
  font-weight: 500;
  transition: color 0.2s;
}

.top-links a:hover {
  color: #fff;
}

.top-links .divider {
  color: #555;
  font-size: 11px;
}

.top-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ccc;
  cursor: pointer;
}

.top-lang:hover {
  color: #fff;
}

.flag-icon {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

.arrow-down {
  font-size: 10px;
}

/* ===== Middle Bar ===== */
.middle-bar {
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  padding: 16px 0;
}

.middle-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  flex-shrink: 0;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.search-bar {
  flex: 1;
  max-width: 580px;
  display: flex;
  align-items: center;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.search-bar:focus-within {
  border-color: #d64a3b;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 16px;
  font-size: 14px;
  color: #333;
}

.search-bar input::placeholder {
  color: #999;
}

.btn-search {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d64a3b;
  color: #fff;
  border: none;
  width: 44px;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 0 4px 4px 0;
}

.btn-search svg {
  display: block;
}

.btn-search:hover {
  background: #b93e32;
}

.auth-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  display: inline-block;
  padding: 9px 24px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  letter-spacing: 0.3px;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-login {
  border: 2px solid #d64a3b;
  color: #d64a3b;
  background: #fff;
}

.btn-login:hover {
  background: #d64a3b;
  color: #fff;
}

.btn-daftar {
  background: #d64a3b;
  color: #fff;
  border: 2px solid #d64a3b;
}

.btn-daftar:hover {
  background: #b93e32;
  border-color: #b93e32;
}

/* ===== Navigation Bar ===== */
.nav-bar {
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.nav-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  overflow-x: auto;
}

.nav-bar-inner a {
  color: #333;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  white-space: nowrap;
  letter-spacing: 0.3px;
  transition: all 0.2s;
  position: relative;
}

.nav-bar-inner a:hover {
  color: #d64a3b;
}

.nav-bar-inner a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #d64a3b;
  transition: width 0.2s;
}

.nav-bar-inner a:hover::after {
  width: 80%;
}

/* ===== Product Section ===== */
.product-section {
  padding: 24px 0 48px;
}

.product-detail {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 36px;
  align-items: start;
}

/* Gallery */
.product-gallery {
  position: sticky;
  top: 20px;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.thumb {
  width: 72px;
  height: 72px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: #fff;
  transition: border-color 0.2s;
}

.thumb:hover,
.thumb.active {
  border-color: #d64a3b;
}

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

/* Product Info */
.product-info {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  padding: 28px 32px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

.product-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #666;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.stars {
  color: #f5a623;
  font-size: 14px;
  letter-spacing: 1px;
}

.meta-divider {
  color: #ddd;
}

/* Price */
.product-price-box {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.price-current {
  font-size: 28px;
  font-weight: 700;
  color: #d64a3b;
}

.price-original {
  font-size: 15px;
  color: #999;
  text-decoration: line-through;
}

.price-discount {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #d64a3b;
  padding: 2px 8px;
  border-radius: 3px;
}

/* Installment */
.product-installment {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #555;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  padding: 10px 14px;
  margin-bottom: 20px;
}

.installment-label {
  font-weight: 600;
  color: #1a1a1a;
}

.installment-link {
  color: #d64a3b;
  font-weight: 600;
  margin-left: auto;
}

.installment-link:hover {
  text-decoration: underline;
}

/* Variants */
.product-variants {
  margin-bottom: 18px;
}

.product-variants h3 {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

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

.variant-btn {
  padding: 7px 16px;
  font-size: 13px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: #333;
  cursor: pointer;
  transition: all 0.15s;
}

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

.variant-btn.active {
  border-color: #d64a3b;
  color: #d64a3b;
  background: #fdf4f3;
}

/* Spec Table */
.product-spec {
  width: 100%;
  font-size: 13px;
  margin-bottom: 16px;
  border-collapse: collapse;
}

.product-spec tr {
  border-bottom: 1px solid #f5f5f5;
}

.product-spec td {
  padding: 8px 0;
}

.product-spec td:first-child {
  color: #888;
  width: 100px;
}

.product-spec td:last-child {
  color: #333;
  font-weight: 500;
}

/* Description */
.product-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f0f0f0;
}

/* Badges */
.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.badge {
  font-size: 12px;
  font-weight: 500;
  color: #2d6a40;
  background: #f0faf4;
  border: 1px solid #c3e6cb;
  padding: 5px 11px;
  border-radius: 20px;
}

/* Stock */
.product-stock {
  font-size: 13px;
  margin-bottom: 16px;
}

.stock-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.stock-label {
  color: #888;
}

.stock-value.available {
  color: #c0392b;
  font-weight: 700;
}

.stock-bar-wrap {
  height: 5px;
  background: #eee;
  border-radius: 99px;
  margin-bottom: 6px;
  overflow: hidden;
}

.stock-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #e74c3c, #c0392b);
  border-radius: 99px;
}

.stock-viewer {
  font-size: 12px;
  color: #e67e22;
  font-weight: 500;
}

/* Quantity */
.product-qty {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: #333;
  margin-bottom: 20px;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.qty-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: #fafafa;
  font-size: 16px;
  cursor: pointer;
  color: #333;
  transition: background 0.15s;
}

.qty-btn:hover {
  background: #eee;
}

.qty-control input {
  width: 48px;
  height: 34px;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  text-align: center;
  font-size: 14px;
  outline: none;
  -moz-appearance: textfield;
}

.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Action Buttons */
.product-actions {
  display: flex;
  gap: 12px;
}

.btn-buy {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: #25d366;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 3px 10px rgba(37,211,102,0.3);
}

.btn-buy:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

.btn-buy:active {
  transform: translateY(0);
}

.btn-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  background: #fff;
  border: 1.5px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cart:hover {
  border-color: #aaa;
  color: #333;
}

/* ===== Breadcrumb ===== */
.breadcrumb-bar {
  background: #fff;
  padding: 12px 0;
  font-size: 13px;
  color: #888;
  border-bottom: 1px solid #f0f0f0;
}

.breadcrumb-bar a {
  color: #666;
  transition: color 0.15s;
}

.breadcrumb-bar a:hover {
  color: #d64a3b;
}

.breadcrumb-bar span {
  margin: 0 6px;
  color: #ccc;
}

.breadcrumb-bar .current {
  color: #333;
  font-weight: 500;
  margin: 0;
}

/* ===== Full Description Section ===== */
.product-full-desc {
  padding: 0 0 40px;
}

.product-full-desc .container {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

.desc-tabs {
  display: flex;
  border-bottom: 2px solid #f0f0f0;
}

.desc-tab {
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.desc-tab:hover {
  color: #333;
}

.desc-tab.active {
  color: #d64a3b;
}

.desc-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #d64a3b;
}

.desc-content {
  display: none;
  padding: 32px;
}

.desc-content.active {
  display: block;
}

.desc-content h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.desc-sku {
  font-size: 12px;
  color: #999;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.desc-sku strong {
  color: #555;
}

.desc-content h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 24px 0 10px;
}

.desc-content h3:first-of-type {
  margin-top: 0;
}

.desc-content p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 10px;
}

.desc-content ul,
.desc-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.desc-content li {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

/* Size Table */
.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 12px 0 20px;
}

.size-table th {
  background: #f7f7f7;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #e0e0e0;
}

.size-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
  color: #555;
}

.size-table tr:hover td {
  background: #fafafa;
}

/* Spec Full Table */
.spec-full-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.spec-full-table tr {
  border-bottom: 1px solid #f0f0f0;
}

.spec-full-table td {
  padding: 11px 14px;
}

.spec-full-table td:first-child {
  color: #888;
  width: 200px;
  background: #fafafa;
  font-weight: 500;
}

.spec-full-table td:last-child {
  color: #333;
}

/* FAQ */
.faq-item {
  padding: 18px 0;
  border-bottom: 1px solid #f0f0f0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px;
}

.faq-item p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* ===== Testimonial Section ===== */
.testimonial-section {
  padding: 0 0 48px;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.testimonial-summary {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  padding: 24px 32px;
  margin-bottom: 16px;
}

.rating-big {
  flex-shrink: 0;
}

.rating-number {
  font-size: 48px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
}

.rating-max {
  font-size: 20px;
  color: #999;
}

.rating-stars-big {
  flex-shrink: 0;
}

.rating-stars-big span {
  font-size: 22px;
  color: #f5a623;
  letter-spacing: 2px;
}

.rating-stars-big p {
  font-size: 13px;
  color: #888;
  margin-top: 4px;
}

.rating-bars {
  flex: 1;
  max-width: 300px;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
}

.rating-bar-row:last-child {
  margin-bottom: 0;
}

.bar {
  flex: 1;
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: #f5a623;
  border-radius: 4px;
}

/* Review Cards */
.testimonial-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  padding: 20px 24px;
  transition: box-shadow 0.2s;
}

.testimonial-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.tc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.tc-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #3a3f4a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tc-header strong {
  font-size: 14px;
  color: #1a1a1a;
  display: block;
}

.tc-stars {
  color: #f5a623;
  font-size: 12px;
  letter-spacing: 1px;
  margin-top: 1px;
}

.star-empty {
  color: #ddd;
}

.tc-date {
  margin-left: auto;
  font-size: 12px;
  color: #999;
  flex-shrink: 0;
}

.tc-variant {
  font-size: 11px;
  color: #999;
  margin-bottom: 8px;
}

.testimonial-card > p:last-of-type {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.tc-images {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.tc-images img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

.testimonial-more {
  text-align: center;
  margin-top: 20px;
}

.btn-load-more {
  padding: 12px 40px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-load-more:hover {
  border-color: #d64a3b;
  color: #d64a3b;
}

/* ===== Footer ===== */
.footer {
  margin-top: 0;
}

.footer-main {
  background: #242830;
  padding: 48px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

.footer-about {
  font-size: 13px;
  line-height: 1.7;
  color: #999;
  margin-bottom: 18px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: #2e333b;
  color: #999;
  transition: all 0.2s;
}

.footer-socials a:hover {
  background: #d64a3b;
  color: #fff;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 9px;
}

.footer-col li a {
  font-size: 13px;
  color: #999;
  transition: color 0.15s;
}

.footer-col li a:hover {
  color: #fff;
}

.payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.payment-badge {
  font-size: 11px;
  font-weight: 600;
  color: #ccc;
  background: #2e333b;
  padding: 5px 10px;
  border-radius: 3px;
  letter-spacing: 0.3px;
}

.mt-16 {
  margin-top: 16px;
}

/* Footer Address */
.footer-address {
  background: #1e2128;
  padding: 32px 0;
}

.footer-address-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.address-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.address-info p {
  font-size: 13px;
  line-height: 1.7;
  color: #999;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.address-info p svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: #d64a3b;
}

/* Footer Bottom */
.footer-bottom {
  background: #1a1e24;
  padding: 16px 0;
  border-top: 1px solid #2e333b;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 12px;
  color: #666;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 12px;
  color: #666;
  transition: color 0.15s;
}

.footer-bottom-links a:hover {
  color: #ccc;
}

/* ===== Countdown Strip ===== */
.countdown-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff8f7;
  border-left: 3px solid #d64a3b;
  border-radius: 0 6px 6px 0;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.cd-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cd-tag {
  font-size: 11px;
  font-weight: 700;
  color: #d64a3b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cd-note {
  font-size: 12px;
  color: #666;
}

.cd-note s {
  color: #bbb;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1a1a1a;
  color: #fff;
  border-radius: 4px;
  padding: 5px 8px;
  min-width: 36px;
  line-height: 1;
}

.cd-block span {
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cd-block small {
  font-size: 9px;
  font-weight: 400;
  opacity: 0.6;
  margin-top: 2px;
}

.cd-sep {
  font-size: 16px;
  font-weight: 700;
  color: #999;
  margin: 0 1px;
  padding-bottom: 8px;
  line-height: 1;
}

/* ===== WhatsApp Floating Button ===== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.55);
}

.wa-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0;
  animation: wa-pulse 2s ease-out infinite;
}

@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.55); opacity: 0; }
}

.wa-float-tooltip {
  position: absolute;
  right: 64px;
  background: #1a1a1a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.2s, transform 0.2s;
}

.wa-float-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #1a1a1a;
}

.wa-float:hover .wa-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Scroll Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Selection Color ===== */
::selection {
  background: #d64a3b;
  color: #fff;
}

/* ===== Focus Visible (Accessibility & SEO) ===== */
:focus-visible {
  outline: 2px solid #d64a3b;
  outline-offset: 2px;
}

/* ===== Smooth scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* ===== Mobile Sticky Auth Bar ===== */
.mobile-auth-bar {
  display: none;
}

/* ===== Hamburger Menu Button ===== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #333;
}

.menu-toggle svg {
  display: block;
}

/* ===== Mobile Menu Overlay ===== */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-menu-overlay.open {
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 1000;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  visibility: hidden;
}

.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  box-shadow: 2px 0 12px rgba(0,0,0,0.15);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eaeaea;
}

.mobile-menu-header .logo-img {
  height: 28px;
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #333;
}

.mobile-menu-nav {
  padding: 12px 0;
}

.mobile-menu-nav a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.15s;
}

.mobile-menu-nav a:hover {
  background: #fdf4f3;
  color: #d64a3b;
}

.mobile-menu-auth {
  padding: 16px 20px;
  display: flex;
  gap: 10px;
}

.mobile-menu-auth .btn {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
}

/* ===== Responsive: Tablet (max-width: 1024px) ===== */
@media (max-width: 1024px) {
  .product-detail {
    grid-template-columns: 400px 1fr;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
  }

  .footer-grid .footer-col:first-child {
    grid-column: 1 / -1;
  }
}

/* ===== Responsive: Tablet Portrait (max-width: 768px) ===== */
@media (max-width: 768px) {
  .top-bar {
    display: none !important;
  }

  .middle-bar {
    padding: 8px 0;
  }

  .middle-bar-inner {
    gap: 10px;
  }

  .auth-buttons {
    display: none !important;
  }

  .menu-toggle {
    display: flex;
  }

  .logo-text {
    font-size: 24px;
  }

  .search-bar {
    max-width: none;
  }

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

  .product-section {
    padding: 0 0 24px;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .product-gallery {
    position: static;
  }

  .gallery-main {
    border-radius: 0;
    border: none;
  }

  .gallery-thumbs {
    padding: 8px 12px 0;
  }

  .product-info {
    padding: 16px 12px 20px;
    border-radius: 0;
    border: none;
    border-top: 1px solid #eaeaea;
  }

  .product-title {
    font-size: 17px;
  }

  .price-current {
    font-size: 24px;
  }

  .product-installment {
    flex-wrap: wrap;
  }

  .product-badges {
    flex-wrap: wrap;
  }

  .product-actions {
    flex-direction: column;
  }

  .btn-cart {
    justify-content: center;
  }

  .desc-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .desc-tab {
    padding: 12px 20px;
    font-size: 13px;
    white-space: nowrap;
  }

  .desc-content {
    padding: 20px 16px;
  }

  .size-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .spec-full-table td:first-child {
    width: 140px;
  }

  .testimonial-summary {
    flex-wrap: wrap;
    padding: 20px 16px;
  }

  .testimonial-list {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-grid .footer-col:first-child {
    grid-column: 1 / -1;
  }

  .footer-address-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .mobile-auth-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: #fff;
    padding: 10px 12px;
    gap: 10px;
    border-top: 1px solid #eaeaea;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
  }

  .mobile-auth-bar .btn {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    font-size: 14px;
  }

  .footer-bottom {
    padding-bottom: 70px;
  }

  .wa-float {
    bottom: 76px;
    right: 14px;
    width: 50px;
    height: 50px;
  }

  .countdown-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
  }
}

/* ===== Responsive: Mobile (max-width: 480px) ===== */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .middle-bar {
    padding: 10px 0;
  }

  .middle-bar-inner {
    gap: 8px;
  }

  .logo-text {
    font-size: 20px;
  }

  .search-bar input {
    padding: 8px 12px;
    font-size: 13px;
  }

  .btn-search {
    width: 38px;
  }

  .product-section {
    padding: 12px 0 24px;
  }

  .product-info {
    padding: 16px 12px;
  }

  .product-title {
    font-size: 16px;
  }

  .product-meta {
    flex-wrap: wrap;
    gap: 6px;
  }

  .meta-divider {
    display: none;
  }

  .price-current {
    font-size: 22px;
  }

  .price-original {
    font-size: 13px;
  }

  .product-installment {
    font-size: 12px;
    padding: 8px 10px;
  }

  .variant-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .product-spec td:first-child {
    width: 80px;
  }

  .badge {
    font-size: 11px;
    padding: 5px 8px;
  }

  .btn-buy {
    padding: 12px 16px;
    font-size: 14px;
  }

  .btn-cart {
    padding: 12px 16px;
    font-size: 13px;
  }

  .desc-content {
    padding: 16px 12px;
  }

  .desc-content h2 {
    font-size: 16px;
  }

  .desc-content h3 {
    font-size: 14px;
  }

  .testimonial-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .rating-bars {
    max-width: 100%;
    width: 100%;
  }

  .tc-header {
    flex-wrap: wrap;
  }

  .tc-date {
    margin-left: 0;
    width: 100%;
    margin-top: 4px;
  }

  .footer-main {
    padding: 32px 0 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-grid .footer-col:first-child {
    grid-column: auto;
  }

  .footer-address {
    padding: 24px 0;
  }

  .address-map iframe {
    height: 180px;
  }

  .thumb {
    width: 60px;
    height: 60px;
  }
}
