:root {
  --primary: #111;
  --accent: #d4af37;
  --soft: #f5f5f7;
  --muted: #777;
  --line: #e8e8e8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
  background: #fff;
}

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

.container {
  width: min(1220px, 94%);
  margin: 0 auto;
}

.wide-container {
  width: min(1680px, 98%);
}

.topbar {
  background: #000;
  color: #fff;
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}

.topbar-right {
  display: flex;
  gap: 18px;
}

.header-main {
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
}

.logo {
  margin: 0;
  letter-spacing: 1px;
  font-size: 30px;
}

.logo-sub {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.search-wrap {
  display: flex;
  border: 1px solid #111;
}

.search-wrap input {
  flex: 1;
  border: 0;
  padding: 12px;
  outline: none;
}

.search-wrap button {
  border: 0;
  background: var(--primary);
  color: #fff;
  padding: 0 18px;
  cursor: pointer;
}

.whatsapp-btn,
.btn {
  display: inline-block;
  padding: 11px 16px;
  border-radius: 3px;
  font-size: 14px;
}

.whatsapp-btn {
  background: #25d366;
  color: #fff;
  font-weight: 700;
}

.main-nav {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-inner {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  white-space: nowrap;
}

.nav-inner a {
  display: inline-block;
  padding: 14px 0;
  font-size: 14px;
  color: #333;
}

.nav-inner a.active {
  color: var(--accent);
  font-weight: 700;
}

.hero-full {
  width: 100%;
  min-height: clamp(260px, 34vw, 520px);
  margin-top: 0;
  background-color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center;
}

.hero-full-inner {
  width: min(1680px, 98%);
  margin: 0 auto;
  color: #fff;
  padding: 0 2vw;
  position: relative;
  z-index: 2;
}

.banner {
  min-height: 420px;
  background: linear-gradient(120deg, #0e0e10 0%, #222 45%, #8a6d2f 100%);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 30px;
}

.banner-tag {
  color: #f1d88a;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.banner h2 {
  margin: 8px 0;
  font-size: 36px;
  max-width: 550px;
}

.banner p {
  color: #ddd;
  max-width: 560px;
}

.hero-full h2 {
  margin: 8px 0 10px;
  font-size: clamp(24px, 3.2vw, 44px);
  line-height: 1.15;
  max-width: 760px;
}

.hero-full p {
  color: #f0f0f0;
  max-width: 680px;
  font-size: clamp(12px, 1vw, 16px);
}

.hero-full .banner-tag {
  color: #fff;
  font-size: clamp(10px, 0.8vw, 13px);
  letter-spacing: 0.6px;
}

.section {
  padding: 38px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0;
  font-size: 26px;
}

.section-head a {
  color: #666;
  font-size: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.home-showcase .product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.card {
  border: 1px solid var(--line);
  padding: 12px;
}

.thumb {
  display: block;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #f0f0f2, #d8d8de);
  margin-bottom: 10px;
  overflow: hidden;
}

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

.home-showcase .card {
  padding: 14px;
  border-color: #e1e1e1;
}

.home-showcase .thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 260px;
  margin: 0 auto 14px;
}

.home-showcase .card h3 {
  font-size: 16px;
  min-height: 50px;
}

.home-showcase .price {
  font-size: 20px;
  color: var(--accent);
}

.floor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 24px;
  flex-wrap: wrap;
}

.floor-head .floor-title {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.floor-more {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent);
  padding: 8px 20px;
  border-radius: 2px;
  transition: background 0.15s ease, color 0.15s ease;
}

.floor-more:hover {
  background: var(--accent);
  color: #fff;
}

.floor-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 0 24px;
  text-align: center;
}

.floor-title::before,
.floor-title::after {
  content: "";
  height: 1px;
  background: #bdbdbd;
  flex: 1;
  max-width: 520px;
}

.floor-title span {
  font-size: clamp(24px, 2vw, 42px);
  font-weight: 700;
  color: #2b2b2b;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.card h3 {
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.5;
  min-height: calc(1.5em * 2);
  font-weight: 400;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.card h3 a {
  font-weight: 400;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.price {
  margin: 8px 0 12px;
  color: var(--accent);
  font-weight: 700;
}

.btn {
  border: 1px solid #111;
}

.btn-primary {
  background: #111;
  color: #fff;
}

.btn-outline {
  width: 100%;
  text-align: center;
}

.home-page .floor-section .btn-outline {
  display: none;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.info-cards article {
  background: var(--soft);
  padding: 16px;
}

.info-cards h3 {
  margin: 0 0 8px;
}

.info-cards p {
  margin: 0;
  color: #555;
  font-size: 14px;
}

.footer {
  background: #fff;
  color: #666;
  margin-top: 34px;
  border-top: 1px solid #e9e9e9;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 38px 0;
}

.footer h4 {
  margin: 0 0 14px;
  color: #222;
}

.footer a {
  display: block;
  margin: 8px 0;
  color: #666;
  font-size: 14px;
}

.copyright {
  border-top: 1px solid #ececec;
  text-align: center;
  margin: 0;
  font-size: 13px;
  padding: 14px 0;
  color: #888;
}

.breadcrumb {
  margin: 18px auto 0;
  color: #777;
  font-size: 13px;
}

.list-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
}

.filter-box {
  border: 1px solid var(--line);
  padding: 14px;
  margin-bottom: 16px;
}

.filter-box h4 {
  margin: 0 0 10px;
}

.filter-box a {
  display: block;
  padding: 6px 0;
  color: #555;
  font-size: 14px;
}

.list-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}

.pagination a {
  border: 1px solid var(--line);
  padding: 8px 12px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.gallery-main {
  border: 1px solid var(--line);
  height: 520px;
  overflow: hidden;
  position: relative;
  background: #fff;
}

.gallery-slider {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
}

.gallery-main-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: translateX(0);
  will-change: transform;
}

.gallery-main-img.next {
  transform: translateX(100%);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.85);
  color: #111;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  user-select: none;
  -webkit-user-select: none;
  backdrop-filter: blur(6px);
}

.gallery-arrow:hover {
  background: rgba(255, 255, 255, 0.95);
}

.gallery-arrow:active {
  transform: translateY(-50%) scale(0.98);
}

.gallery-arrow.prev {
  left: 12px;
}

.gallery-arrow.next {
  right: 12px;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.thumb-row .gallery-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.thumb-row .gallery-thumb.is-active {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.specs {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 14px;
}

.specs p {
  margin: 8px 0;
  color: #555;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.news-card {
  border: 1px solid var(--line);
  padding: 14px;
}

.news-cover {
  display: block;
  aspect-ratio: 16/9;
  background: linear-gradient(120deg, #d9d9df, #efefef);
  margin-bottom: 10px;
  overflow: hidden;
}

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

.news-date {
  color: #888;
  font-size: 13px;
}

.blog-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.blog-article {
  border: 1px solid var(--line);
  padding: 20px;
}

.blog-hero {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  margin: 12px 0 18px;
  object-fit: cover;
  background: linear-gradient(120deg, #d9d9df, #efefef);
}

.blog-content p {
  color: #444;
  line-height: 1.8;
}

.blog-side {
  border: 1px solid var(--line);
  padding: 16px;
  position: sticky;
  top: 72px;
}

.blog-side h3 {
  margin: 0 0 14px;
}

.blog-side .card {
  margin-bottom: 12px;
}

@media (max-width: 980px) {
  .header-main {
    grid-template-columns: 1fr;
  }

  .list-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-full {
    min-height: clamp(220px, 36vw, 360px);
    padding: 28px 0;
  }

  .home-showcase .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .home-showcase .thumb {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .gallery-main {
    height: 420px;
  }

  .news-grid,
  .info-cards,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-detail-layout {
    grid-template-columns: 1fr;
  }

  .blog-side {
    position: static;
  }
}

@media (max-width: 600px) {
  .product-grid,
  .news-grid,
  .info-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-full {
    min-height: clamp(180px, 40vw, 280px);
    padding: 20px 0;
  }

  .hero-full h2 {
    font-size: clamp(20px, 6.5vw, 28px);
  }

  .hero-full p {
    font-size: 12px;
  }

  .home-showcase .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-showcase .thumb {
    min-height: 0;
  }

  .gallery-main {
    height: 320px;
  }

  .floor-head {
    margin-bottom: 14px;
  }

  .floor-title {
    gap: 10px;
    margin-bottom: 0;
  }

  .floor-title span {
    font-size: clamp(20px, 6.2vw, 28px);
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .home-showcase .product-grid {
    grid-template-columns: 1fr;
  }
}
