:root {
  --black: #080808;
  --dark: #111111;
  --gray: #1b1b1b;
  --mid: #2b2b2b;
  --line: #3b3b3b;
  --text: #e8e8e8;
  --muted: #a8a8a8;
  --white: #ffffff;
  --silver: #c9c9c9;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #0b0b0b;
  color: var(--text);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  max-width: 1320px;
  margin: auto;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 0 32px;
  position: relative;
}

.brand {
  position: absolute;
  left: 32px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.brand span {
  color: var(--silver);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.4px;
}

.nav-links a {
  color: #d7d7d7;
  transition: 0.25s;
}

.nav-links a:hover {
  color: white;
}





.menu-btn {
  display: none;
  margin-left: auto;
  background: transparent;
  color: white;
  border: 0;
  font-size: 28px;
}

.sale-bar {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e5e5;
  background: #151515;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 15px;
  letter-spacing: 0.8px;
}

.hero {
  height: calc(100vh - 134px);
  min-height: 650px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.92), rgba(0,0,0,0.55), rgba(0,0,0,0.08));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin-left: 7vw;
}

.eyebrow {
  color: var(--silver);
  letter-spacing: 5px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

.eyebrow.dark {
  color: #888;
}

.hero h1 {
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.9;
  letter-spacing: -4px;
  margin-bottom: 24px;
}

.hero-text {
  color: #cfcfcf;
  line-height: 1.8;
  max-width: 520px;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 48px;
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn.primary {
  background: #f1f1f1;
  color: #070707;
}

.btn.ghost {
  border: 1px solid #777;
  color: #f1f1f1;
}

.section {
  max-width: 1320px;
  margin: auto;
  padding: 90px 32px;
}

.section-head {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 42px;
}

.section-head.row {
  max-width: none;
  text-align: left;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.section h2,
.collection h2 {
  font-size: clamp(34px, 5vw, 62px);
  letter-spacing: -2px;
  margin-bottom: 14px;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 760px;
  margin: auto;
  border: 1px solid #2c2c2c;
}

.countdown div {
  padding: 28px 16px;
  text-align: center;
  border-right: 1px solid #2c2c2c;
  background: #111;
}

.countdown div:last-child {
  border-right: 0;
}

.countdown strong {
  display: block;
  font-size: 46px;
}

.countdown span {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.view-more {
  color: #bdbdbd;
  font-size: 14px;
}

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

.product-card {
  background: #111;
  border: 1px solid #2c2c2c;
  padding: 16px;
  transition: 0.25s;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: #777;
}

.product-img {
  height: 260px;
  background: linear-gradient(135deg, #050505, #252525);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.product-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.product-card p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.product-card span {
  font-weight: 800;
}

.collection {
  margin: 0 auto 80px;
  max-width: 1320px;
  min-height: 360px;
  padding: 60px;
  background: linear-gradient(90deg, rgba(0,0,0,0.88), rgba(0,0,0,0.45)), url('assets/banner.png') center/cover;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.collection p:not(.eyebrow) {
  color: #d3d3d3;
  line-height: 1.8;
  max-width: 600px;
}

.footer {
  background: #f5f5f5;
  color: #252525;
  border-top: 1px solid #e5e5e5;
}

.footer-grid {
  max-width: 1320px;
  margin: auto;
  padding: 54px 32px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 72px;
}

.footer h3 {
  font-size: 17px;
  margin-bottom: 20px;
}

.footer p,
.footer a {
  display: block;
  color: #3d3d3d;
  line-height: 1.7;
  margin-bottom: 10px;
  font-size: 15px;
}

.contact {
  font-weight: 500;
}

.email-form {
  width: 100%;
  max-width: 360px;
  display: flex;
  border-bottom: 1px solid #888;
  margin: 18px 0;
}

.email-form input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 12px 0;
  font-family: inherit;
}

.email-form button {
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

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

.socials a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #111;
  color: white;
  font-weight: 800;
  margin: 0;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #e5e5e5;
  padding: 26px 16px;
}

.footer-bottom h2 {
  font-size: 38px;
  letter-spacing: -2px;
}

.footer-bottom p {
  margin: 8px 0 0;
}

.chat-btn {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  background: #1a1a1a;
  color: white;
  font-size: 22px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
  z-index: 80;
}

.popup {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
}

.popup.show {
  display: flex;
}

.popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
}

.popup-card {
  position: relative;
  width: min(820px, calc(100% - 36px));
  min-height: 360px;
  background: #efefef;
  color: #111;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  box-shadow: 0 20px 80px rgba(0,0,0,0.55);
  animation: pop 0.35s ease;
}

@keyframes pop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.close-popup {
  position: absolute;
  right: -18px;
  top: -18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: #050505;
  color: white;
  font-size: 28px;
  cursor: pointer;
  z-index: 3;
}

.popup-left {
  padding: 48px;
  background: #f4f4f4;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.popup-left h2 {
  font-size: 54px;
  line-height: 0.9;
  letter-spacing: -2px;
  margin-bottom: 18px;
}

.popup-left p {
  color: #444;
  margin-bottom: 28px;
}

.popup-left span {
  display: inline-block;
  border: 1px solid #111;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

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

@media (max-width: 980px) {
  .navbar {
    justify-content: space-between;
  }

  .brand {
    position: static;
  }

  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #090909;
    padding: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    border-bottom: 1px solid #333;
  }

  .nav-links.show {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    display: none;
    margin-top: 10px;
  }

  .dropdown:hover .dropdown-menu {
    display: flex;
  }

  .hero {
    height: 720px;
  }

  .product-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .popup-card {
    grid-template-columns: 1fr;
  }

  .popup-right {
    height: 240px;
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 0 18px;
  }

  .sale-bar {
    font-size: 13px;
  }

  .hero-content {
    margin: 0 22px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .hero-actions,
  .collection {
    flex-direction: column;
    align-items: flex-start;
  }

  .countdown,
  .product-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .countdown div {
    border-right: 0;
    border-bottom: 1px solid #2c2c2c;
  }

  .section,
  .footer-grid {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-head.row {
    display: block;
  }

  .collection {
    padding: 36px 24px;
    margin: 0 20px 70px;
  }
}


/* Fix dropdown click/hover: để menu nổi lên và link bấm được */
.navbar,
.nav-links,
.dropdown {
  overflow: visible;
}

.dropdown-menu {
  z-index: 9999;
  pointer-events: auto;
}

.dropdown.open .dropdown-menu {
  display: flex;
}

.dropdown-menu a {
  display: block;
  padding: 4px 12px;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: #f2f2f2;
}

.site-header.light-header {
  z-index: 1000;
}

/* ===== PRODUCTS PAGE: giống layout Wedooks khi bấm Xem thêm ===== */
.light-header {
  background: #f8f8f8;
  border-bottom: 1px solid #ececec;
  color: #242424;
}

.light-header .brand,
.light-header .nav-links a,
.light-header .menu-btn {
  color: #242424;
}

.light-header .brand span {
  color: #555;
}

.light-header .dropdown-menu {
  background: #fff;
  border-color: #e6e6e6;
  box-shadow: 0 16px 36px rgba(0,0,0,.08);
}

.catalogue-sale {
  background: #fff;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
}

.catalogue-page {
  background: #fff;
  color: #222;
  min-height: 100vh;
  padding-bottom: 70px;
}

.catalogue-hero {
  max-width: 1320px;
  margin: auto;
  padding: 58px 32px 28px;
  text-align: center;
}

.catalogue-hero h1 {
  font-size: clamp(38px, 5vw, 72px);
  letter-spacing: -2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.catalogue-hero p:not(.eyebrow) {
  max-width: 690px;
  margin: auto;
  color: #666;
  line-height: 1.8;
}

.filter-row {
  max-width: 1320px;
  margin: 0 auto 22px;
  padding: 0 32px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  border: 1px solid #d8d8d8;
  background: #fff;
  color: #222;
  padding: 11px 18px;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: .4px;
  cursor: pointer;
  transition: .25s;
}

.filter-btn:hover,
.filter-btn.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

.catalogue-grid {
  max-width: 1320px;
  margin: auto;
  padding: 0 32px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px 24px;
}

.shop-card {
  position: relative;
  background: #fff;
  min-width: 0;
}

.sale-ribbon {
  height: 22px;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
  margin-bottom: 8px;
}

.shop-photo {
  height: 335px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.2), rgba(0,0,0,.06)),
    radial-gradient(circle at 50% 12%, #525252, #202020 58%, #111 100%);
  position: relative;
  overflow: hidden;
  border: 1px solid #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-photo::before {
  content: '';
  position: absolute;
  width: 58%;
  height: 72%;
  background: linear-gradient(135deg, #111, #333 50%, #0a0a0a);
  border-radius: 28px 28px 10px 10px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 20px 34px rgba(0,0,0,.25);
}

.shop-photo::after {
  content: 'LOST&FOUND';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 46px;
  background: #e6d0b4;
  color: #7e3b1a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-photo span {
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,.82);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 3px;
}

.photo-2 { background: radial-gradient(circle at center, #4b4b4b, #181818 70%); }
.photo-3 { background: radial-gradient(circle at center, #303030, #090909 76%); }
.photo-4 { background: radial-gradient(circle at center, #565656, #1f1f1f 65%); }
.photo-5 { background: radial-gradient(circle at center, #393939, #101010 72%); }
.photo-6 { background: radial-gradient(circle at center, #777, #262626 68%); }
.photo-7 { background: radial-gradient(circle at center, #454545, #151515 70%); }
.photo-8 { background: radial-gradient(circle at center, #2d2d2d, #090909 78%); }
.photo-9 { background: radial-gradient(circle at center, #7f7f7f, #2e2e2e 68%); }
.photo-10 { background: radial-gradient(circle at center, #333, #050505 75%); }
.photo-11 { background: radial-gradient(circle at center, #4b4b4b, #161616 72%); }
.photo-12 { background: radial-gradient(circle at center, #616161, #1c1c1c 70%); }

.shop-card h3 {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  min-height: 42px;
}

.rating {
  color: #d79943;
  font-size: 13px;
  margin: 8px 0;
}

.rating span {
  color: #777;
}

.price {
  font-weight: 700;
  font-size: 15px;
}

.price del {
  font-weight: 400;
  color: #777;
  margin-left: 6px;
}

@media (max-width: 1100px) {
  .catalogue-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 780px) {
  .catalogue-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 14px;
    padding-inline: 16px;
  }

  .catalogue-hero,
  .filter-row {
    padding-inline: 16px;
  }

  .shop-photo {
    height: 245px;
  }

  .shop-card h3 {
    font-size: 13px;
  }
}

@media (max-width: 440px) {
  .catalogue-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== HOME INDEX: chỉnh giống products.html / Wedooks light layout ===== */
.home-light {
  background: #fff;
  color: #242424;
}

.home-page-light {
  background: #fff;
  color: #242424;
  min-height: 100vh;
}

.home-hero-clean {
  max-width: 1320px;
  margin: auto;
  padding: 44px 32px 56px;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 46px;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}

.home-hero-text h1 {
  font-size: clamp(46px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -3px;
  margin-bottom: 18px;
  color: #111;
}

.home-hero-text p:not(.eyebrow) {
  color: #555;
  line-height: 1.85;
  max-width: 520px;
}

.home-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.clean-btn {
  min-width: 150px;
  height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  border: 1px solid #111;
  transition: .25s;
}

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

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

.clean-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
}

.home-hero-banner {
  border: 1px solid #e8e8e8;
  background: #f5f5f5;
  padding: 12px;
}

.home-hero-banner img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.catalogue-hero.compact {
  padding-top: 52px;
  padding-bottom: 22px;
}

.clean-countdown {
  max-width: 840px;
  margin: 0 auto 52px;
  border-color: #e6e6e6;
}

.clean-countdown div {
  background: #fafafa;
  border-color: #e6e6e6;
}

.clean-countdown strong {
  color: #151515;
}

.clean-countdown span {
  color: #777;
}

.home-section-title {
  max-width: 1320px;
  margin: 0 auto 22px;
  padding: 0 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.home-section-title h2 {
  font-size: clamp(30px, 4vw, 54px);
  letter-spacing: -2px;
  color: #111;
}

.dark-link {
  color: #333;
  font-size: 18px;
  white-space: nowrap;
}

.home-product-preview {
  padding-bottom: 72px;
}

.home-collection-clean {
  max-width: 1320px;
  margin: 0 auto 72px;
  padding: 46px 32px;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.home-collection-clean h2 {
  font-size: clamp(30px, 4vw, 54px);
  letter-spacing: -2px;
  color: #111;
  margin-bottom: 10px;
}

.home-collection-clean p:not(.eyebrow) {
  color: #555;
  line-height: 1.75;
  max-width: 680px;
}

.wedooks-popup {
  background: #fff;
  grid-template-columns: .82fr 1.18fr;
}

.paper-style {
  background: #f5f5f5;
}

@media (max-width: 980px) {
  .home-hero-clean {
    grid-template-columns: 1fr;
  }

  .home-collection-clean {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .home-hero-clean,
  .home-section-title,
  .home-collection-clean {
    padding-left: 18px;
    padding-right: 18px;
  }

  .home-section-title {
    display: block;
  }

  .dark-link {
    display: inline-block;
    margin-top: 10px;
  }
}
