:root {
  --bg: #fff8f4;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-soft: #fffaf8;
  --text: #1f1b28;
  --muted: #6f687b;
  --line: rgba(84, 61, 87, 0.08);
  --shadow: 0 18px 55px rgba(86, 58, 74, 0.12);
  --shadow-soft: 0 12px 30px rgba(94, 72, 90, 0.08);
  --peach: #ffd8c6;
  --pink: #ffc3d6;
  --lilac: #e6d9ff;
  --accent: #2f2a39;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 212, 193, 0.95), transparent 24%),
    linear-gradient(180deg, #fff8f4 0%, #fffdfb 100%);
}

img {
  display: block;
  max-width: 100%;
}

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

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.ambient {
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  filter: blur(44px);
  pointer-events: none;
}

.ambient-peach {
  top: -6rem;
  left: -5rem;
  width: 18rem;
  height: 18rem;
  background: rgba(255, 199, 179, 0.9);
}

.ambient-lilac {
  top: 10rem;
  right: -3rem;
  width: 12rem;
  height: 12rem;
  background: rgba(226, 214, 255, 0.9);
}

.site-frame {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 28px));
  margin: 14px auto 34px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 34px;
  background: rgba(255, 251, 249, 0.85);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

#alert {
  position: relative;
  z-index: 30;
}

.site-main {
  min-height: 55vh;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0.3rem 1rem;
}

.brand {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.main-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a,
.header-actions > a,
.header-language .dropdown-toggle {
  font-size: 0.95rem;
  font-weight: 600;
  color: #60586a;
}

.header-language form,
.header-language .dropdown {
  margin: 0;
}

.header-language img {
  width: 18px;
  height: 12px;
  border-radius: 999px;
  object-fit: cover;
}

.header-language .dropdown-menu {
  min-width: 170px;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-link span {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.8rem;
  background: linear-gradient(135deg, #8a63ff, #e67bb7);
}

.hero {
  position: relative;
  overflow: hidden;
  height: 460px;
  border-radius: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: linear-gradient(180deg, rgba(255, 254, 252, 0.9), rgba(255, 247, 244, 0.8));
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-copy {
  position: absolute;
  top: 54px;
  left: 50px;
  width: 550px;
  max-width: calc(100% - 100px);
  padding: 0;
}

.hero-copy h1,
.section-heading h2,
.bundle-copy h2 {
  margin: 0;
  font-size: clamp(3.35rem, 5vw, 4.6rem);
  line-height: 0.93;
  letter-spacing: -0.07em;
}

.hero-copy p {
  max-width: 18rem;
  margin: 1.25rem 0 1.5rem;
  font-size: 1.12rem;
  line-height: 1.6;
  color: #555061;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.9rem 1.2rem;
  border-radius: 16px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.category-card:hover,
.product-card:hover {
  transform: translateY(-3px);
}

.button-dark,
.btn-primary {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #262230, #363243);
  box-shadow: 0 14px 28px rgba(35, 31, 45, 0.24);
}

.button-dark:hover,
.btn-primary:hover,
.btn-primary:focus {
  color: #fff;
  background: linear-gradient(135deg, #2d2738, #40394d);
}

.benefits,
.category-card,
.product-card,
.bundle-banner,
.trust-panel,
.site-footer,
.site-main > .container > .row > #content,
.site-main > .container > .row > .col,
.site-main > .container > .row > .col-sm,
.site-main > .container > .row > .col-md-7,
.site-main > .container > .row > .col-md-4,
.site-main > .container > .row > .col-lg-3 {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 14px;
  padding: 0.45rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
}

.benefits article {
  padding: 1rem 1.15rem;
  border-radius: 18px;
}

.benefits strong,
.trust-panel strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.98rem;
}

.benefits span,
.trust-panel p,
.product-info p,
.meta span,
.category-copy p,
.bundle-copy p,
.section-heading a {
  color: var(--muted);
}

.section {
  margin-top: 1.6rem;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.section-heading h2 {
  font-size: 2rem;
  line-height: 1;
}

.section-flame {
  font-size: 0.9em;
  color: #ff7b4e;
}

.section-heading a {
  font-size: 0.95rem;
  font-weight: 700;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.category-card {
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 247, 243, 0.92));
}

.category-card img {
  width: 100%;
  aspect-ratio: 1.1 / 1;
  object-fit: cover;
}

.category-copy {
  padding: 0.85rem 0.9rem 1rem;
}

.category-copy h3,
.product-info h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.category-copy p,
.product-info p,
.bundle-copy p,
.trust-panel p {
  margin: 0.28rem 0 0;
  line-height: 1.35;
}

.product-grid {
  display: grid;
  gap: 0.9rem;
}

.product-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
}

.product-media img,
.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--panel-soft);
}

.product-info {
  padding: 0.8rem 0.85rem 0.95rem;
}

.product-info h3 a {
  color: inherit;
}

.product-info p {
  display: -webkit-box;
  min-height: 2.7em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-info .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.6rem;
  font-size: 0.84rem;
}

.product-info .meta strong {
  font-size: 1rem;
}

.price-stack {
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.stars {
  color: #ff8a4c;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.product-badge,
.wishlist,
.bundle-discount {
  position: absolute;
  z-index: 2;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
}

.badge-icon {
  font-size: 0.82rem;
  line-height: 1;
}

.thumb-wishlist {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
}

.wishlist {
  top: 0.6rem;
  right: 0.6rem;
  width: 1.95rem;
  height: 1.95rem;
  border: 0;
  border-radius: 999px;
  color: #6f6779;
  background: rgba(255, 255, 255, 0.9);
}

.hot {
  background: linear-gradient(135deg, #ff7b4e, #ff5f7d);
}

.new {
  background: linear-gradient(135deg, #66b4ff, #8c7dff);
}

.pick {
  background: linear-gradient(135deg, #996cff, #df76ca);
}

.bundle-banner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  margin-top: 1.6rem;
  border-radius: 22px;
  background: linear-gradient(135deg, #fde7ec 0%, #fff1e3 100%);
}

.bundle-copy {
  padding: 1rem;
}

.bundle-copy h2 {
  font-size: 2.3rem;
  line-height: 0.98;
}

.bundle-copy p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.bundle-media {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.bundle-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bundle-discount {
  top: 0.8rem;
  right: 0.8rem;
  display: grid;
  place-items: center;
  width: 4.7rem;
  height: 4.7rem;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #9c74ff, #e57cc6);
}

.trust-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.6rem;
  padding: 0.5rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
}

.trust-panel article {
  padding: 0.9rem 1rem;
  border-radius: 16px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 1.5rem;
  margin-top: 1.7rem;
  padding: 1.3rem;
  border-radius: 24px;
  position: relative;
  z-index: 2;
  background: #fffdfb;
}

.footer-brand strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.footer-brand p,
.footer-links a,
.footer-meta {
  color: var(--muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.footer-links h5 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}

.footer-links li + li {
  margin-top: 0.45rem;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-column: 1 / -1;
  padding-top: 0.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.site-main > .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.site-main > .container > .breadcrumb {
  margin: 1rem 0;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.site-main > .container > .row {
  margin: 0;
  gap: 1rem;
}

.site-main > .container > .row > .col,
.site-main > .container > .row > .col-sm,
.site-main > .container > .row > .col-md-7,
.site-main > .container > .row > .col-md-4,
.site-main > .container > .row > .col-lg-3,
.site-main > .container > .row > .col-lg-4,
.site-main > .container > .row > .col-lg-1,
.site-main > .container > .row > .col-lg-3.offset-lg-1,
.site-main > .container > .row > #content {
  padding: 1.35rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
}

.site-main h1 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
}

.btn-light,
.form-control,
.form-select,
.input-group-text,
.card,
.accordion-item,
.table {
  border-color: var(--line);
  border-radius: 16px;
}

.btn-light,
.input-group-text {
  background: #fff;
}

.form-control,
.form-select {
  min-height: 48px;
}

.nav-tabs {
  gap: 0.5rem;
  border-bottom: 0;
}

.nav-tabs .nav-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.75);
}

.nav-tabs .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, #262230, #363243);
  border-color: transparent;
}

.tab-content,
.card,
.accordion-item,
.table-responsive {
  margin-top: 1rem;
}

.img-thumbnail {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

#product-list {
  gap: 0.2rem 0;
}

.alert {
  border-radius: 16px;
}

@media (max-width: 1120px) {
  .hero {
    height: 420px;
  }

  .hero-copy {
    top: 38px;
    left: 38px;
    width: 470px;
    max-width: calc(100% - 76px);
  }

  .product-grid-five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .bundle-banner,
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-frame {
    width: min(1220px, calc(100% - 16px));
    padding: 12px;
    border-radius: 26px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav,
  .header-actions {
    flex-wrap: wrap;
    gap: 0.95rem;
  }

  .hero {
    height: auto;
    min-height: 500px;
  }

  .hero-copy {
    position: relative;
    top: 0;
    left: 0;
    width: auto;
    max-width: 70%;
    padding: 24px;
  }

  .hero-image {
    position: absolute;
    object-position: 70% center;
  }

  .benefits,
  .trust-panel,
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid-five,
  .product-grid-four,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .hero-copy {
    max-width: none;
    padding: 20px;
  }

  .hero-copy h1,
  .section-heading h2,
  .bundle-copy h2 {
    font-size: clamp(2.55rem, 12vw, 3.6rem);
  }

  .hero-copy p {
    max-width: none;
  }

  .benefits,
  .trust-panel,
  .footer-links,
  .product-grid-five,
  .product-grid-four,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .site-main > .container > .row > .col,
  .site-main > .container > .row > .col-sm,
  .site-main > .container > .row > .col-md-7,
  .site-main > .container > .row > #content {
    padding: 1rem;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}
