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

/* ========== Base ==========
*/
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px
}

/* ========== Header ==========
*/
.header {
  background: #ffffff;
  border-bottom: 1px solid rgba(244, 181, 196, 0.2);
  position: relative;
  width: 100%;
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(244, 181, 196, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center
}

/* Logo */
.logo {
  display: flex;
  align-items: center
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none
}

.logo-img {
  height: 50px;
  width: auto;
  display: block
}

/* Nav */
.nav {
  display: flex;
  gap: 2rem
}

.nav-link {
  color: #4a4a4a;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: color .3s ease
}

.nav-link:hover,
.nav-link.active {
  color: #f4b5c4
}

/* Right icon row */
.header-icons {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #4a4a4a;
  font-size: 1.1rem
}

/* Generic square icon buttons */
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #4a4a4a;
  background: rgba(244, 181, 196, 0.08);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(244, 181, 196, 0.25);
  transition: all 0.3s ease;
}

.icon-btn:hover {
  border-color: #f4b5c4;
  background: rgba(255, 255, 255, 0.937);
  transform: translateY(-2px);
}

/* Cart badge */
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #f4b5c4;
  color: #ffffff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700
}

/* Profile dropdown */
.profile-menu {
  position: relative;
  display: inline-block
}

.profile-menu .menu {
  position: absolute;
  right: 0;
  top: 42px;
  min-width: 160px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  color: #4a4a4a;
  border: 1px solid rgba(244, 181, 196, 0.25);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(244, 181, 196, 0.15);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s
}

.profile-menu:hover .menu,
.profile-menu:focus-within .menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s
}

.profile-menu .menu::before {
  content: "";
  position: absolute;
  right: 14px;
  top: -6px;
  width: 10px;
  height: 10px;
  border-left: 1px solid rgba(244, 181, 196, 0.25);
  border-top: 1px solid rgba(244, 181, 196, 0.25);
  transform: rotate(45deg)
}

/* Links within dropdown (guest state) */
.menu-link {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: #4a4a4a;
  text-decoration: none;
  transition: all 0.2s ease;
}

.menu-link:hover {
  background: rgba(244, 181, 196, 0.1);
  color: #f4b5c4;
}

/* Logout pill (auth state) */
.logout-form {
  margin: 0
}

.pill {
  display: inline-block;
  width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f4b5c4;
  color: #ffffff;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pill:hover {
  background: #f0a8bb;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 181, 196, 0.35);
}

/* Utility: visually hidden text for a11y */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0
}

/* ========== Breadcrumb ==========
*/
.breadcrumb {
  background: #fafafa;
  border-bottom: 1px solid rgba(244, 181, 196, 0.15);
  padding: .5rem 0;
  margin-top: 70px;
  font-size: .8rem;
  color: #999
}

.breadcrumb span {
  margin: 0 .3rem
}

/* ========== Hero ==========
*/
.hero {
    position: relative;
    width: 100%;
    height: 500px; /* Adjust this based on your needs */
    overflow: hidden;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This ensures the image covers the area while maintaining aspect ratio */
    object-position: center; /* Adjust to 'top', 'bottom', etc. if needed */
}

.shop-btn {
  background: linear-gradient(135deg, #f4b5c4 0%, #f0a8bb 100%);
  border: 0;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  border-radius: 25px;
  cursor: pointer;
  transition: all .3s ease;
  letter-spacing: 1px;
  box-shadow: 0 8px 24px rgba(244, 181, 196, 0.35);
}

.shop-btn:hover {
  background: linear-gradient(135deg, #f0a8bb 0%, #ec9ab2 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(244, 181, 196, 0.45);
}

.hero-dots {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: .8rem
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(244, 181, 196, 0.4);
  cursor: pointer;
  transition: all .3s ease;
  border: 1px solid rgba(244, 181, 196, 0.6);
}

.dot.active,
.dot:hover {
  background: #f4b5c4;
  transform: scale(1.2);
  border-color: #f4b5c4;
}

/* ========== Collections ==========
*/
.collections {
  padding: 4rem 0;
  background: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem
}

.section-title {
  font-size: 1.2rem;
  color: #f4b5c4;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: .5rem
}

.section-subtitle {
  font-size: 2.2rem;
  color: #4a4a4a;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative
}

.section-subtitle::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #f4b5c4
}

.collections-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin: 34px auto
}

.collection-item {
  flex: 1 1 360px;
  max-width: 420px;
  text-align: center;
  cursor: pointer;
  transition: transform .3s ease
}

.collection-item:hover {
  transform: translateY(-10px)
}

.collection-image {
  width: 100%;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(244, 181, 196, 0.2)
}

.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px
}

.collection-title {
  margin-top: 12px;
  font-size: 1.15rem;
  letter-spacing: .08em;
  color: #4a4a4a;
  font-weight: 700
}

@media (max-width:1100px) {
  .collection-item {
    flex-basis: 320px;
    max-width: 360px
  }

  .collection-image {
    height: 380px
  }
}

@media (max-width:780px) {
  .collection-item {
    flex-basis: 100%;
    max-width: 520px
  }

  .collection-image {
    height: 360px
  }
}

/* ========== Story ==========
*/
:root {
  --bg: #fafafa;
  --text: #4a4a4a;
  --glow: rgba(244, 181, 196, 0.15)
}

.story {
  background: var(--bg);
  padding: 56px 0 70px
}

.story .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 22px
}

.story-title {
  color: var(--text);
  text-align: center;
  letter-spacing: .08em;
  margin: 0 0 26px;
  font-weight: 800;
  font-size: 2.2rem;
  position: relative
}

.story-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #f4b5c4
}

.story-row {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 50px;
  align-items: center;
  margin: 34px 0 60px;
  position: relative
}

.story-row.reverse {
  grid-template-columns: 60% 40%
}

.story-text {
  color: var(--text);
  font: 500 1.7rem/1.5 Georgia, "Times New Roman", serif;
  text-shadow: 0 1px 0 rgba(244, 181, 196, 0.1)
}

.story-image {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(244, 181, 196, 0.2), inset 0 0 60px rgba(244, 181, 196, 0.08)
}

.story-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/10;
  border-radius: 28px
}

.story-row::after {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 34px;
  background: radial-gradient(120% 120% at 50% 50%, rgba(244, 181, 196, 0.08), transparent 60%);
  z-index: -1
}

@media (max-width:900px) {

  .story-row,
  .story-row.reverse {
    grid-template-columns: 1fr;
    gap: 26px
  }

  .story-text {
    font-size: 1.35rem
  }
}

/* ========== Trending ==========
*/
:root {
  --bg2: #ffffff;
  --text2: #4a4a4a;
  --muted: #999
}

.trending {
  background: var(--bg2);
  padding: 46px 0 70px
}

.trending .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center
}

.trending .eyebrow {
  color: #f4b5c4;
  opacity: 1;
  letter-spacing: .12em;
  margin: 0 0 10px;
  font-weight: 600;
}

.trending .title {
  color: var(--text2);
  margin: 0;
  font-weight: 700;
  letter-spacing: .04em
}

.trending .divider {
  display: inline-block;
  width: 170px;
  height: 4px;
  margin: 14px auto 32px;
  background: linear-gradient(90deg, transparent 0 8%, #f4b5c4 8% 92%, transparent 92% 100%);
  border-radius: 3px
}

.trending .cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  align-items: start;
  justify-items: center
}

@media (max-width:980px) {
  .trending .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media (max-width:620px) {
  .trending .cards {
    grid-template-columns: 1fr
  }

  .card {
    max-width: 420px
  }
}

.card {
  width: 100%;
  max-width: 320px;
  background: #f5e6e8;
  padding: 16px;
  border-radius: 24px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(244, 181, 196, 0.25);
}

.thumb {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(244, 181, 196, 0.2), 0 0 60px 6px rgba(244, 181, 196, 0.08);
  position: relative
}

.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 24px
}

.badge {
  position: absolute;
  top: 10px;
  left: 12px;
  background: #f4b5c4;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 50%;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(244, 181, 196, 0.3);
}

.name {
  font-weight: 600;
  margin: 16px 0 6px;
  text-align: center;
  color: #4a4a4a
}

.price {
  color: #f4b5c4;
  font-style: italic;
  margin: 0;
  text-align: center;
  font-weight: 600;
}

/* ========== Footer ==========
*/
.footer {
  background: #fafafa;
  color: #4a4a4a;
  padding-top: 48px;
  font-size: 14px;
  border-top: 2px solid rgba(244, 181, 196, 0.15);
}

.footer .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
  gap: 42px;
  align-items: start
}

.footer-logo {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 18px
}

.tagline {
  color: #999;
  max-width: 280px;
  line-height: 1.6;
  margin: 4px 0 18px
}

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

.social {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 181, 196, 0.15);
  color: #f4b5c4;
  border: 1px solid rgba(244, 181, 196, 0.3);
  transition: transform .2s ease, opacity .2s ease
}

.social:hover {
  transform: translateY(-2px);
  opacity: .9;
  background: rgba(244, 181, 196, 0.25);
}

.footer-col .footer-head {
  color: #4a4a4a;
  letter-spacing: .18em;
  margin: 4px 0 14px;
  font-size: 13px;
  font-weight: 600;
}

.footer-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0
}

.footer-list a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-list a:hover {
  color: #f4b5c4
}

.visit {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0
}

.visit i {
  width: 18px;
  margin-right: 10px;
  color: #f4b5c4
}

.visit li {
  color: #666;
  line-height: 1.6
}

.visit li i {
  position: relative;
  top: 1px
}

.footer-bottom {
  border-top: 1px solid rgba(244, 181, 196, 0.15);
  margin-top: 40px
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  min-height: 44px;
  flex-wrap: wrap
}

.footer-bottom p {
  margin: 0;
  color: #999
}

.bottom-links {
  display: inline-flex;
  align-items: center;
  gap: 12px
}

.bottom-links a {
  color: #666;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.bottom-links a:hover {
  color: #f4b5c4
}

.sep {
  color: #ddd
}