:root {
  --cb-brown: #5C3A1E;
  --cb-brown-light: #8B6914;
  --cb-beige: #F5F0EB;
  --cb-beige-dark: #EDE5DB;
  --cb-dark: #1A1A1A;
  --cb-white: #FFFFFF;
  --cb-gray: #777;
  --cb-radius: 12px;
  --cb-max-width: 1200px;
}

.cb-front {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--cb-dark);
}

.cb-front *,
.cb-front *::before,
.cb-front *::after {
  box-sizing: border-box;
}

/* ===== HERO ===== */
.cb-hero {
  max-width: var(--cb-max-width);
  margin: 24px auto;
  padding: 0 16px;
}

.cb-hero__container {
  display: flex;
  align-items: center;
  background: var(--cb-beige);
  border-radius: var(--cb-radius);
  overflow: hidden;
  min-height: 420px;
}

.cb-hero__content {
  flex: 1;
  padding: 48px 48px 48px 56px;
}

.cb-hero__title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--cb-dark);
}

.cb-hero__divider {
  width: 48px;
  height: 3px;
  background: var(--cb-brown);
  margin-bottom: 16px;
}

.cb-hero__text {
  font-size: 0.95rem;
  color: var(--cb-gray);
  margin: 0 0 28px;
  line-height: 1.6;
}

.cb-hero__btn {
  display: inline-block;
  background: var(--cb-dark);
  color: var(--cb-white);
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s;
}

.cb-hero__btn:hover {
  background: var(--cb-brown);
  color: var(--cb-white);
}

.cb-hero__image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cb-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

/* ===== CATEGORIES ===== */
.cb-categories {
  max-width: var(--cb-max-width);
  margin: 40px auto;
  padding: 0 16px;
}

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

.cb-cat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border: 1px solid #E5E0DB;
  border-radius: var(--cb-radius);
  text-decoration: none;
  color: var(--cb-dark);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.cb-cat-card:hover {
  border-color: var(--cb-brown);
  box-shadow: 0 4px 16px rgba(92,58,30,0.1);
  color: var(--cb-dark);
}

.cb-cat-card__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cb-beige);
  border-radius: 50%;
}

.cb-cat-card__title {
  font-size: 1rem;
  font-weight: 700;
  display: block;
  line-height: 1.3;
}

.cb-cat-card__link {
  font-size: 0.85rem;
  color: var(--cb-gray);
  display: block;
  margin-top: 4px;
}

/* ===== BESTSELLERS ===== */
.cb-bestsellers {
  max-width: var(--cb-max-width);
  margin: 48px auto;
  padding: 0 16px;
}

.cb-bestsellers__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.cb-bestsellers__title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
}

.cb-bestsellers__all {
  font-size: 0.95rem;
  color: var(--cb-dark);
  text-decoration: none;
  font-weight: 500;
}

.cb-bestsellers__all:hover {
  color: var(--cb-brown);
}

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

.cb-product-card {
  border: 1px solid #E5E0DB;
  border-radius: var(--cb-radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.cb-product-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.cb-product-card__image {
  position: relative;
  background: var(--cb-beige);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
}

.cb-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.cb-product-card__wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--cb-white);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ccc;
  transition: color 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.cb-product-card__wishlist:hover {
  color: #e74c3c;
}

.cb-product-card__info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cb-product-card__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cb-dark);
  text-decoration: none;
  line-height: 1.3;
}

.cb-product-card__name:hover {
  color: var(--cb-brown);
}

.cb-product-card__weight {
  font-size: 0.85rem;
  color: var(--cb-gray);
}

.cb-product-card__price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cb-dark);
  margin-top: 4px;
}

.cb-product-card__price del {
  color: var(--cb-gray);
  font-weight: 400;
  font-size: 0.9rem;
}

.cb-product-card__price ins {
  text-decoration: none;
}

.cb-product-card__cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cb-dark);
  color: var(--cb-white);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 8px;
  transition: background 0.2s;
  justify-content: center;
}

.cb-product-card__cart:hover {
  background: var(--cb-brown);
  color: var(--cb-white);
}

/* ===== FEATURES ===== */
.cb-features {
  max-width: var(--cb-max-width);
  margin: 48px auto;
  padding: 0 16px;
}

.cb-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border: 1px solid #E5E0DB;
  border-radius: var(--cb-radius);
  padding: 24px;
}

.cb-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cb-feature__icon {
  flex-shrink: 0;
}

.cb-feature__text strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.3;
}

.cb-feature__text span {
  font-size: 0.82rem;
  color: var(--cb-gray);
}

/* ===== ABOUT ===== */
.cb-about {
  background: var(--cb-beige-dark);
  padding: 64px 16px;
  margin-top: 48px;
}

.cb-about__container {
  max-width: var(--cb-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}

.cb-about__content {
  flex: 1;
}

.cb-about__title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 16px;
}

.cb-about__content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  margin: 0 0 12px;
}

.cb-about__btn {
  display: inline-block;
  background: var(--cb-brown);
  color: var(--cb-white);
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 16px;
  transition: background 0.2s;
}

.cb-about__btn:hover {
  background: var(--cb-dark);
  color: var(--cb-white);
}

.cb-about__image {
  flex: 1;
  border-radius: var(--cb-radius);
  overflow: hidden;
}

.cb-about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--cb-radius);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .cb-hero__container {
    flex-direction: column;
    min-height: auto;
  }

  .cb-hero__content {
    padding: 32px 24px;
  }

  .cb-hero__title {
    font-size: 1.8rem;
  }

  .cb-hero__image img {
    min-height: 260px;
  }

  .cb-categories__grid {
    grid-template-columns: 1fr;
  }

  .cb-bestsellers__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cb-features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .cb-about__container {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .cb-bestsellers__grid {
    grid-template-columns: 1fr;
  }

  .cb-features__grid {
    grid-template-columns: 1fr;
  }
}
