* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; color: #1a1a1a; overflow-x: hidden; }
a { color: inherit; }
button { font-family: inherit; }

/* ══════════════════════════════════════
   TOP BAR
══════════════════════════════════════ */
.topbar { background: #154d8a; border-bottom: 1px solid rgba(255,255,255,0.1); }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: stretch; justify-content: space-between; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 0; }
.topbar-item {
  display: flex; align-items: center; gap: 8px; padding: 9px 18px;
  color: rgba(255,255,255,0.88); font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 500;
  text-decoration: none; border-right: 1px solid rgba(255,255,255,0.12); transition: background 0.2s, color 0.2s; white-space: nowrap;
}
.topbar-left .topbar-item:first-child { border-left: 1px solid rgba(255,255,255,0.12); }
.topbar-item:hover { background: rgba(255,255,255,0.08); color: #fff; }
@media (max-width: 768px) {
  .topbar-right { display: none; }
  .topbar-item { font-size: 11px; padding: 8px 12px; }
  .topbar-left .topbar-item:first-child { border-left: none; }
}

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  background: #1a5fa8; padding: 0 24px; display: flex; align-items: center; justify-content: space-between;
  height: 66px; position: sticky; top: 0; z-index: 1000;
}
.navbar-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.navbar-logo img { height: 48px; width: auto; display: block; object-fit: contain; }
nav ul { list-style: none; display: flex; gap: 2px; }
nav ul li a {
  color: white; text-decoration: none; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600;
  padding: 8px 14px; letter-spacing: 0.5px; display: flex; align-items: center; gap: 5px; transition: color 0.2s;
}
nav ul li a:hover { color: #e8c420; }
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 36px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.5); border-radius: 4px; cursor: pointer;
  padding: 6px 7px; z-index: 1100; flex-shrink: 0;
}
.nav-hamburger span { display: block; height: 2px; width: 100%; background: white; border-radius: 2px; transition: all 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 900; }
.nav-overlay.active { display: block; }
.nav-close { display: none; }

@media (max-width: 768px) {
  .navbar { padding: 0 14px; height: 58px; }
  .navbar-logo img { height: 40px; }
  .nav-hamburger { display: flex; }
  #mainNav {
    position: fixed; top: 0; right: -290px; width: 280px; height: 100vh; background: #154d8a; z-index: 1050;
    transition: right 0.3s ease; overflow-y: auto; box-shadow: -4px 0 24px rgba(0,0,0,0.4); display: flex; flex-direction: column;
  }
  #mainNav.open { right: 0; }
  .nav-close {
    display: flex; align-items: center; justify-content: flex-end; padding: 14px 16px; background: #1a5fa8;
    border: none; color: white; font-size: 20px; cursor: pointer; font-weight: 700; width: 100%; flex-shrink: 0; letter-spacing: 1px;
  }
  #mainNav ul { flex-direction: column; gap: 0; width: 100%; }
  #mainNav ul li { width: 100%; }
  #mainNav ul li a { font-size: 14px; padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); justify-content: space-between; width: 100%; }
  #mainNav ul li a:hover { background: rgba(255,255,255,0.07); color: #e8c420; }
}

/* ══════════════════════════════════════
   PRODUCT DETAIL
══════════════════════════════════════ */
.product-detail-section {
  padding: 32px 40px 10px;
  background: #fff;
  max-width: 1200px;
  margin: 0 auto;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}

/* ---- DESKTOP GALLERY: hero image + 2-col grid of the rest ---- */
.gallery-desktop { display: block; }
.gallery-hero {
  width: 100%;
  aspect-ratio: 1/0.95;
  border-radius: 2px;
  overflow: hidden;
  background: #f2f2f2;
  margin-bottom: 6px;
}
.gallery-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gallery-grid-rest {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.gallery-grid-rest .g-item {
  aspect-ratio: 1/0.95;
  overflow: hidden;
  background: #f2f2f2;
}
.gallery-grid-rest .g-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- MOBILE GALLERY: swipe carousel, hidden on desktop ---- */
.gallery-mobile { display: none; }
.gallery-swipe {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  background: #f2f2f2;
  display: flex;
}
.gallery-swipe::-webkit-scrollbar { display: none; }
.gallery-swipe-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
}
.gallery-swipe-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gallery-zoom-btn {
  position: absolute;
  top: 14px; left: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  pointer-events: none;
}
.gallery-nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 14px 0;
  color: #888;
  font-size: 13px;
}
.gallery-arrow {
  background: none;
  border: none;
  font-size: 18px;
  color: #888;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}
.gallery-arrow:hover { color: #1a1a1a; }
.gallery-arrow:disabled { opacity: 0.3; cursor: default; }

@media (max-width: 900px) {
  .gallery-desktop { display: none; }
  .gallery-mobile { display: block; }
}

/* ---- Info panel ---- */
.product-info {
  display: flex;
  flex-direction: column;
  padding-top: 4px;
}
@media (min-width: 901px) {
  .product-info { position: sticky; top: 96px; }
}
.product-info-brand {
  font-family: 'Open Sans', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  color: #999; text-transform: uppercase; margin-bottom: 8px;
}
.product-info-title {
  font-family: 'Open Sans', sans-serif; font-weight: 600; font-size: 26px; color: #1a1a1a;
  margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.3px;
}
.product-info-price { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.price-old { font-size: 15px; color: #999; text-decoration: line-through; }
.price-new { font-family: 'Open Sans', sans-serif; font-weight: 700; font-size: 20px; color: #1a1a1a; }
.price-sale-badge {
  background: #1a1a1a; color: #fff; font-size: 10px; font-weight: 700;
  padding: 5px 12px; border-radius: 14px; letter-spacing: 0.5px;
}

.thickness-selector, .qty-selector { margin-bottom: 22px; }
.thickness-label, .qty-label {
  display: block; font-size: 13px; color: #333; margin-bottom: 10px;
}
.thickness-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.thickness-btn {
  padding: 9px 22px; border-radius: 20px; border: 1px solid #ccc; background: #fff; color: #333;
  font-family: 'Open Sans', sans-serif; font-weight: 600; font-size: 13px; cursor: pointer; transition: all 0.2s;
}
.thickness-btn:hover { border-color: #1a1a1a; }
.thickness-btn.active { background: #1a1a1a; border-color: #1a1a1a; color: #fff; }

.qty-controls { display: flex; align-items: center; gap: 0; width: fit-content; border: 1px solid #ccc; border-radius: 3px; overflow: hidden; }
.qty-btn { width: 38px; height: 40px; background: #fff; border: none; font-size: 16px; cursor: pointer; color: #333; transition: background 0.2s; }
.qty-btn:hover { background: #f2f2f2; }
#qtyValue { width: 44px; text-align: center; font-family: 'Open Sans', sans-serif; font-weight: 600; font-size: 14px; display: inline-block; }

.product-cta-row { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.product-add-cart, .product-buy-now {
  width: 100%; padding: 14px 18px; border-radius: 2px; font-family: 'Open Sans', sans-serif;
  font-weight: 600; font-size: 14px; letter-spacing: 0.3px; cursor: pointer; transition: all 0.2s; text-align: center; border: none;
}
.product-add-cart { background: #fff; border: 1px solid #1a1a1a; color: #1a1a1a; }
.product-add-cart:hover { background: #f2f2f2; }
.product-buy-now { background: #1a1a1a; border: 1px solid #1a1a1a; color: #fff; }
.product-buy-now:hover { background: #333; }

.product-info-note { font-size: 14px; color: #444; line-height: 2; }

.share-row {
  margin-top: 18px;
  font-size: 13px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  width: fit-content;
}
.share-row:hover { color: #1a1a1a; }

@media (max-width: 900px) {
  .product-detail-section { padding: 0 0 10px; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 0; }
  .product-info { padding: 24px 16px 0; }
  .product-info-title { font-size: 22px; }
  .price-new { font-size: 18px; }
}

/* ══════════════════════════════════════
   COMING SOON PANEL
══════════════════════════════════════ */
.coming-soon-panel {
  max-width: 640px; margin: 60px auto; text-align: center; padding: 50px 30px;
  background: #f9f9f9; border-radius: 6px; border: 1px solid #eee;
}
.coming-soon-panel h2 { font-family: 'Open Sans', sans-serif; font-weight: 700; font-size: 22px; color: #1a1a1a; margin-bottom: 10px; }
.coming-soon-panel p { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 22px; }
.coming-soon-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px; border-radius: 3px;
  background: #1a1a1a; color: #fff; text-decoration: none; font-family: 'Open Sans', sans-serif; font-weight: 600; font-size: 13px;
}
.coming-soon-btn:hover { background: #333; }
@media (max-width: 768px) {
  .coming-soon-panel { margin: 34px 16px; padding: 34px 18px; }
  .coming-soon-panel h2 { font-size: 18px; }
}

/* ══════════════════════════════════════
   YOU MAY ALSO LIKE
══════════════════════════════════════ */
.related-section { padding: 30px 40px 60px; background: #fff; max-width: 1200px; margin: 0 auto; }
.related-title { font-family: 'Open Sans', sans-serif; font-weight: 600; font-size: 18px; color: #1a1a1a; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.related-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
}
.related-card-img { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #f5f5f5; margin-bottom: 10px; }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.related-card:hover .related-card-img img { transform: scale(1.04); }
.related-sale-badge {
  position: absolute; bottom: 8px; left: 8px; background: #1a1a1a; color: #fff;
  font-size: 10px; font-weight: 700; padding: 4px 11px; border-radius: 14px;
}
.related-card-body h4 { font-family: 'Open Sans', sans-serif; font-weight: 400; font-size: 13.5px; color: #1a1a1a; margin-bottom: 5px; line-height: 1.3; }
.related-price { font-size: 13px; color: #1a1a1a; }
.related-price .old-price { color: #999; font-weight: 400; text-decoration: line-through; margin-right: 5px; }

@media (max-width: 900px) { .related-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 768px) {
  .related-section { padding: 24px 16px 40px; }
  .related-title { font-size: 16px; }
  .related-card-body h4 { font-size: 11.5px; }
  .related-price { font-size: 11.5px; }
}

/* ══════════════════════════════════════
   SUBSCRIBE STRIP
══════════════════════════════════════ */
.subscribe-strip {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px 40px;
  text-align: center;
}
.subscribe-strip h4 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #1a1a1a;
  margin-bottom: 16px;
}
.subscribe-form {
  display: flex;
  max-width: 380px;
  margin: 0 auto;
  border: 1px solid #ccc;
  border-radius: 2px;
  overflow: hidden;
}
.subscribe-form input {
  flex: 1;
  border: none;
  padding: 12px 14px;
  font-size: 13px;
  outline: none;
  font-family: 'Open Sans', sans-serif;
}
.subscribe-form button {
  background: #fff;
  border: none;
  border-left: 1px solid #ccc;
  width: 46px;
  cursor: pointer;
  font-size: 16px;
  color: #1a1a1a;
}
.subscribe-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}
.subscribe-socials a {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 18px;
}
@media (max-width: 768px) {
  .subscribe-strip { padding: 16px 16px 30px; }
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.main-footer { background: #0d2a4a; padding: 48px 60px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo-area { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer-logo-img { background: white; padding: 8px 14px; border-radius: 6px; display: inline-block; }
.footer-logo-img img { height: 44px; width: auto; display: block; }
.footer-brand-desc { color: rgba(255,255,255,0.65); font-size: 13.5px; line-height: 1.75; max-width: 300px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 11px; margin-top: 4px; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.75); font-size: 13.5px; text-decoration: none; transition: color 0.2s; }
.footer-contact-item:hover { color: #fff; }
.footer-section h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 2px; margin-bottom: 20px; text-transform: uppercase; }
.footer-sitemap, .footer-products-list { display: flex; flex-direction: column; gap: 12px; }
.footer-sitemap a, .footer-products-list a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 13.5px; transition: color 0.2s, padding-left 0.2s; display: block; }
.footer-sitemap a:hover, .footer-products-list a:hover { color: #fff; padding-left: 4px; }
.footer-bottom { padding: 18px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom-left { color: rgba(255,255,255,0.35); font-size: 13px; }
.footer-social-bottom { display: flex; gap: 10px; }
.footer-social-bottom a { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.45); transition: all 0.2s; text-decoration: none; }
.footer-social-bottom a:hover { background: #52b788; border-color: #52b788; color: white; }
@media (max-width: 768px) {
  .main-footer { padding: 32px 16px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  .footer-brand-desc { max-width: 100%; }
}

/* ══════════════════════════════════════
   FLOATING PHONE + WHATSAPP
══════════════════════════════════════ */
.comply-float-stack { position: fixed; bottom: 28px; right: 28px; z-index: 9999; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.comply-phone-float, .comply-whatsapp-float {
  color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.28); transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; position: relative; font-size: 22px;
}
.comply-phone-float { background: #b91c1c; width: 52px; height: 52px; }
.comply-whatsapp-float { background: #25D366; width: 58px; height: 58px; }
.comply-phone-float:hover, .comply-whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(0,0,0,0.35); }
.comply-float-tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%); background: #1a3d0a; color: #fff;
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 20px;
  white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,0.2); opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.comply-phone-float:hover .comply-float-tip, .comply-whatsapp-float:hover .comply-float-tip { opacity: 1; }
@media (max-width: 768px) {
  .comply-float-stack { bottom: 18px; right: 18px; gap: 10px; }
  .comply-phone-float { width: 46px; height: 46px; font-size: 18px; }
  .comply-whatsapp-float { width: 52px; height: 52px; font-size: 20px; }
  .comply-float-tip { display: none; }
}
