* {
  box-sizing: border-box;
}

:root {
  --pink-50: #fff7fb;
  --pink-100: #fdeef4;
  --pink-200: #fbd0e0;
  --pink-300: #f8b9d5;
  --pink-strong: #d63384;
  --pink-dark: #a11456;
  --black: #111111;
  --gray: #666666;
  --line: #f0d4df;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(70, 22, 43, .12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--black);
  background: var(--pink-50);
  overflow-x: hidden;
}

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

button, input {
  font-family: inherit;
}

.top-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
  border-top: 7px solid #392f43;
}

.header-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 12px 22px;
  display: grid;
  grid-template-columns: 190px minmax(280px, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.logo img {
  width: auto;
  max-width: 155px;
  height: auto;
  max-height: 86px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.logo-main {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 30px;
  color: var(--black);
  line-height: 1;
}

.logo-sub {
  margin-top: 5px;
  color: var(--pink-strong);
  font-size: 11px;
  letter-spacing: 5px;
  font-weight: 700;
  text-transform: uppercase;
}

.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  font-size: 30px;
  cursor: pointer;
  color: var(--black);
}

.search-box {
  display: flex;
  border: 1px solid #d7c8cf;
  border-radius: 7px;
  overflow: visible;
  background: #fafafa;
  min-width: 0;
}

.search-box input {
  flex: 1;
  border: 0;
  padding: 15px 17px;
  font-size: 15px;
  background: transparent;
  outline: none;
  color: var(--black);
  min-width: 0;
}

.search-box button {
  position: relative;
  border: 0;
  background: transparent;
  color: white;
  width: 108px;
  min-height: 50px;
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  z-index: 1;
  display: grid;
  place-items: center;
}

.search-box button::before,
.search-box button::after {
  content: "";
  position: absolute;
  background: var(--pink-strong);
  z-index: -1;
}

.search-box button::before {
  inset: 7px 17px 7px 17px;
  transform: rotate(-45deg);
  border-radius: 12px 12px 4px 12px;
}

.search-box button::after {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  left: 17px;
  top: 1px;
  box-shadow: 32px 0 0 var(--pink-strong);
}

.quick-links {
  display: flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.header-whatsapp {
  background: #25d366;
  color: white;
  border-radius: 999px;
  padding: 12px 16px;
  box-shadow: 0 10px 22px rgba(37, 211, 102, .22);
}

.admin-link {
  color: var(--black);
}

.cart-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--pink-strong);
  font-size: 23px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 900;
}

.cart-button span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--pink-strong);
  color: white;
  font-size: 12px;
}

.category-bar {
  background: var(--pink-300);
  display: flex;
  justify-content: flex-start;
  gap: 0;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0 max(16px, calc((100vw - 1260px) / 2));
  scrollbar-width: thin;
}

.category-bar a {
  flex: 0 0 auto;
  padding: 15px 19px;
  color: var(--black);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.category-bar a:hover {
  background: var(--pink-strong);
  color: white;
}

.hero {
  position: relative;
  background: var(--pink-100);
  overflow: hidden;
}

.slider {
  position: relative;
  min-height: 420px;
}

.slide {
  display: none;
  min-height: 420px;
  position: relative;
}

.slide.active {
  display: block;
}

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

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,247,251,.96), rgba(255,247,251,.55), rgba(255,247,251,.05));
}

.slide-placeholder {
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px;
}

.slide-placeholder h1 {
  color: var(--pink-strong);
  font-size: 42px;
}

.slide-text {
  position: absolute;
  top: 50%;
  left: max(7vw, 32px);
  transform: translateY(-50%);
  z-index: 2;
  max-width: 520px;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 10px;
  color: var(--pink-strong);
  font-weight: 900;
}

.slide-text h1 {
  margin: 0 0 12px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: .95;
  color: var(--black);
}

.slide-text p {
  font-size: 19px;
  line-height: 1.5;
  color: #383838;
}

.primary-btn, .whatsapp-btn {
  border: 0;
  border-radius: 999px;
  background: var(--pink-strong);
  color: white;
  padding: 14px 25px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 12px 25px rgba(214, 51, 132, .24);
}

.primary-btn:hover, .whatsapp-btn:hover {
  background: var(--pink-dark);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  border: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.90);
  color: var(--black);
  font-size: 40px;
  line-height: 0;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.slider-arrow.left {
  left: 18px;
}

.slider-arrow.right {
  right: 18px;
}

.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.slider-dots button {
  width: 13px;
  height: 13px;
  border: 2px solid white;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  opacity: .85;
}

.slider-dots button.active {
  background: var(--pink-strong);
}

.category-icons, .products-section {
  max-width: 1260px;
  margin: 0 auto;
  padding: 44px 22px;
}

.section-title {
  text-align: center;
  margin-bottom: 28px;
}

.section-title h2 {
  text-transform: uppercase;
  margin: 0;
  font-size: 26px;
  letter-spacing: .5px;
}

.section-title p {
  margin: 8px auto 0;
  color: var(--gray);
  font-size: 16px;
  max-width: 760px;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(70, 22, 43, .16);
}

.category-card img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
  display: block;
}

.category-card span {
  display: block;
  padding: 13px 10px 3px;
  text-align: center;
  font-weight: 900;
  font-size: 14px;
}

.category-card small {
  display: block;
  text-align: center;
  padding: 0 10px 16px;
  color: var(--gray);
}

.product-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 8px;
  margin-bottom: 26px;
}

.filter-btn {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--black);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--pink-strong);
  background: var(--pink-strong);
  color: white;
}

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

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
}

.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.product-category {
  color: var(--pink-strong);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .8px;
}

.product-info h3 {
  margin: 0;
  font-size: 18px;
}

.product-info p {
  margin: 0;
  color: var(--gray);
  line-height: 1.4;
}

.product-price {
  color: var(--pink-strong);
  font-size: 24px;
  font-weight: 900;
  margin-top: auto;
}

.add-btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: var(--black);
  color: white;
  padding: 13px;
  font-weight: 900;
  cursor: pointer;
}

.add-btn:hover {
  background: var(--pink-strong);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -440px;
  width: min(440px, 94vw);
  height: 100vh;
  background: var(--white);
  z-index: 50;
  box-shadow: -18px 0 40px rgba(0,0,0,.12);
  transition: right .25s ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  padding: 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.cart-header h2 {
  margin: 0;
}

.cart-header p {
  margin: 6px 0 0;
  color: var(--gray);
}

.cart-header button {
  border: 0;
  background: var(--pink-100);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 30px;
  cursor: pointer;
}

.cart-items {
  padding: 18px;
  overflow: auto;
  flex: 1;
}

.cart-empty {
  text-align: center;
  color: var(--gray);
  padding: 35px 10px;
}

.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 76px;
  height: 62px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--pink-100);
}

.cart-item h4 {
  margin: 0 0 5px;
  font-size: 15px;
}

.cart-item p {
  margin: 0;
  color: var(--pink-strong);
  font-weight: 900;
}

.qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
}

.qty button, .remove-btn {
  border: 0;
  cursor: pointer;
  border-radius: 7px;
}

.qty button {
  width: 25px;
  height: 25px;
  background: var(--pink-100);
  font-weight: 900;
}

.remove-btn {
  background: transparent;
  color: var(--gray);
  font-size: 20px;
}

.cart-footer {
  padding: 20px 22px 24px;
  border-top: 1px solid var(--line);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.cart-total strong {
  color: var(--pink-strong);
  font-size: 23px;
}

.cart-footer .whatsapp-btn {
  width: 100%;
  font-size: 16px;
}

.cart-footer small {
  display: block;
  margin-top: 12px;
  color: var(--gray);
  text-align: center;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.32);
  z-index: 40;
  display: none;
}

.overlay.open {
  display: block;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  background: var(--white);
  padding: 30px;
  border-radius: 16px;
  color: var(--gray);
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 160px minmax(220px, 1fr) auto;
    gap: 14px;
  }

  .quick-links {
    gap: 10px;
    font-size: 13px;
  }

  .header-whatsapp {
    padding: 10px 12px;
  }

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

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

@media (max-width: 820px) {
  .header-inner {
    grid-template-columns: 46px 1fr auto;
    gap: 10px;
    padding: 10px 14px;
  }

  .menu-btn {
    display: block;
  }

  .logo {
    justify-content: center;
  }

  .logo img {
    max-width: 105px;
    max-height: 58px;
  }

  .search-box {
    grid-column: 1 / -1;
    order: 4;
    width: 100%;
  }

  .search-box input {
    padding: 13px 12px;
  }

  .search-box button {
    width: 92px;
    min-height: 46px;
    font-size: 12px;
  }

  .search-box button::before {
    inset: 8px 15px;
  }

  .search-box button::after {
    width: 47px;
    height: 47px;
    left: 15px;
    top: 2px;
    box-shadow: 28px 0 0 var(--pink-strong);
  }

  .quick-links {
    gap: 8px;
  }

  .admin-link {
    display: none;
  }

  .header-whatsapp {
    font-size: 0;
    width: 42px;
    height: 42px;
    padding: 0;
    display: grid;
    place-items: center;
  }

  .header-whatsapp::before {
    content: "☎";
    font-size: 19px;
  }

  .cart-button {
    font-size: 22px;
  }

  .category-bar {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    max-height: calc(100vh - 125px);
    overflow-y: auto;
  }

  .category-bar.open {
    display: flex;
  }

  .category-bar a {
    border-top: 1px solid rgba(255,255,255,.45);
    padding: 14px 20px;
  }

  .slider, .slide {
    min-height: 430px;
  }

  .slide img {
    height: 430px;
  }

  .slide::after {
    background: linear-gradient(180deg, rgba(255,247,251,.98), rgba(255,247,251,.78));
  }

  .slide-text {
    left: 20px;
    right: 20px;
    max-width: none;
    top: 54%;
  }

  .eyebrow {
    letter-spacing: 5px;
    font-size: 13px;
  }

  .slide-text h1 {
    font-size: 39px;
  }

  .slide-text p {
    font-size: 16px;
  }

  .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 32px;
  }

  .category-icons, .products-section {
    padding: 32px 14px;
  }

  .section-title h2 {
    font-size: 22px;
  }

  .icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .category-card span {
    font-size: 13px;
  }

  .product-filter {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  .filter-btn {
    flex: 0 0 auto;
  }

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

  .product-info {
    padding: 13px;
  }

  .product-price {
    font-size: 21px;
  }
}

@media (max-width: 500px) {
  .header-inner {
    grid-template-columns: 42px 1fr auto;
  }

  .logo img {
    max-width: 92px;
    max-height: 52px;
  }

  .quick-links {
    gap: 5px;
  }

  .header-whatsapp,
  .cart-button {
    transform: scale(.95);
  }

  .slider, .slide {
    min-height: 390px;
  }

  .slide img {
    height: 390px;
  }

  .slide-text h1 {
    font-size: 33px;
  }

  .primary-btn {
    width: 100%;
  }

  .icon-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .cart-drawer {
    width: 100vw;
    right: -100vw;
  }
}
