body {
  padding: 0;
  margin: 0;
}

.navbar {
  width: 100%;
  height: 50px;
  position: fixed;
  top: 20px;
  z-index: 1000;
}

.navbar-limit {
  max-width: 1920px;
  margin: 0 auto;
}

.navbar-margin {
  margin-left: 20px;
  margin-right: 20px;
  height: 48px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  padding: 0 24px;

  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, .1);

  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar-margin.scrolled {
  background: rgba(10, 10, 10, .82);
  border-color: rgba(255, 255, 255, .08);
  box-shadow: 0 6px 40px rgba(0, 0, 0, .35);
}

.navbar-margin a {
  color: #fff;
  text-decoration: none;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 500;
  margin-right: 28px;
  transition: color 0.3s ease;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}

.navbar-margin.scrolled a {
  text-shadow: none;
  color: #f0f0f0;
}

.navbar-margin a:hover {
  color: #4ade80;
}

/* ===== Search Bar ===== */
.search-bar {
  position: sticky;
  top: 80px;
  z-index: 50;
  margin: 0 10px 10px;
}

.search-bar-inner {
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 20px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, .03);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px;
  padding: 0 16px;
  flex-shrink: 0;
  width: 280px;
}

.search-icon {
  color: rgba(0, 0, 0, .3);
  flex-shrink: 0;
}

.search-input {
  background: none;
  border: none;
  outline: none;
  color: #111;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  padding: 10px 0;
  width: 100%;
}

.search-input::placeholder {
  color: rgba(0, 0, 0, .3);
}

.filter-chips {
  display: flex;
  gap: 8px;
  flex: 1;
  overflow-x: auto;
}

.filter-chips::-webkit-scrollbar {
  display: none;
}

.chip {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(0, 0, 0, .5);
  background: rgba(0, 0, 0, .03);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 50px;
  padding: 8px 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.chip:hover {
  color: rgba(0, 0, 0, .8);
  border-color: rgba(0, 0, 0, .2);
}

.chip.active {
  color: #fff;
  background: #111;
  border-color: #111;
}

.sort-wrap {
  flex-shrink: 0;
  position: relative;
}

.sort-select {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  background: rgba(0, 0, 0, .04);
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 14px;
  padding: 10px 36px 10px 16px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(0,0,0,.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.sort-select:hover {
  background-color: rgba(0, 0, 0, .06);
  border-color: rgba(0, 0, 0, .18);
}

.sort-select option {
  background: #fff;
  color: #111;
  font-size: 13px;
  padding: 10px;
}

.section {
  width: 100%;
}

/* ===== Hero Overlay ===== */
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .15));
  display: flex;
  align-items: flex-end;
  padding: 0 0 80px 60px;
  box-sizing: border-box;
}

.hero-content {
  max-width: 600px;
}

.hero-content h1 {
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 16px 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .5);
}

.char {
  display: inline-block;
  transform: translateY(60px);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(.16, 1, .3, 1), opacity 0.4s ease;
}

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

.reveal {
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(.25, .46, .45, .94), opacity 0.5s ease;
}

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

.hero-content p {
  color: rgba(255, 255, 255, .85);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  margin: 0 0 28px 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}

.hero-btn {
  display: inline-block;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 14px 36px;
  border-radius: 50px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.hero-btn:hover {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .4);
  transform: translateY(-2px);
}

.section-limit {
  max-width: 1920px;
  margin: 0 auto;
}

.section-margin {
  margin: 0;
  transition: margin 0.4s ease;
}

.section-margin.scrolled {
  margin: 10px;
}

.video {
  width: 100%;
  height: 100vh;
  background-color: green;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  transition: height 0.4s ease, border-radius 0.4s ease;
}

.video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video.scrolled {
  height: 800px;
  border-radius: 35px;
}

/* ===== Categories ===== */
.categories-section {
  padding: 10px;
}

.categories-margin {
  margin: 0 10px;
}

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

.category-card {
  position: relative;
  border-radius: 35px;
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 4 / 3;
}

.card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.category-card:hover .card-img {
  transform: scale(1.03);
}

.card-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .15) 50%, transparent 100%);
}

.card-body h3 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px 0;
  letter-spacing: -0.3px;
}

.card-body p {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .65);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== Products ===== */
.products-section {
  padding: 0 10px 10px;
}

.products-margin {
  margin: 0 10px;
}

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

.product-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 35px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .06);
}

.product-img {
  width: calc(100% - 20px);
  aspect-ratio: 1;
  margin: 10px 10px 0 10px;
  border-radius: 25px;
  overflow: hidden;
  position: relative;
}

.img-main,
.img-hover,
.img-third {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.img-main { z-index: 1; opacity: 1; }
.img-hover { z-index: 2; }
.img-third { z-index: 3; }

.img-hover.active,
.img-third.active {
  opacity: 1;
}

.product-body {
  padding: 14px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-tag {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #4ade80;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.product-body h3 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.product-desc {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 12px;
  color: #aaa;
  margin: 0 0 18px 0;
  line-height: 1.4;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, .05);
  padding-top: 14px;
}

.product-price {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.5px;
}

.product-price sup {
  font-size: 13px;
  font-weight: 600;
  color: #888;
  margin-left: 1px;
}

.product-btn {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  background: #f5f5f5;
  border: none;
  border-radius: 12px;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.product-btn:hover {
  background: #4ade80;
  color: #fff;
}

.product-btn:active {
  transform: scale(.96);
}
