:root {
  --bg: #fef8f1;
  --paper: #ffffff;
  --ink: #1f2430;
  --accent: #bc7f2f;
  --accent-deep: #7c4f1e;
  --muted: #5f6470;
  --border: #eadbc8;
  --shadow: 0 18px 38px rgba(36, 30, 20, 0.14);
}

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

body {
  font-family: "Nunito", sans-serif;
  background: linear-gradient(150deg, #fffaf4 0%, #fff2e4 45%, #fce5cc 100%);
  color: var(--ink);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bg-shape {
  position: fixed;
  border-radius: 999px;
  z-index: -1;
  filter: blur(8px);
}

.bg-shape-one {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 30% 30%, #f6d29f, #c27d3a);
  top: -110px;
  right: -80px;
}

.bg-shape-two {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at 40% 40%, #efccd6, #cf8297);
  left: -130px;
  bottom: 90px;
}

.site-header {
  width: min(1200px, 92%);
  margin: 1.2rem auto;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  animation: rise 600ms ease both;
}

.brand img {
  width: clamp(150px, 18vw, 210px);
  display: block;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  transition: color 220ms ease;
}

.nav-links a:hover {
  color: var(--accent-deep);
}

.cart-link {
  padding: 0.42rem 0.74rem;
  border-radius: 999px;
  background: rgba(188, 127, 47, 0.1);
}

main {
  width: min(1200px, 92%);
  margin: 0 auto 2.5rem;
}

.hero {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  animation: fadeUp 850ms ease both;
}

.eyebrow {
  font-family: "Cinzel", serif;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--accent-deep);
  margin-bottom: 0.7rem;
}

h1,
h2,
h3 {
  font-family: "Cinzel", serif;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin-bottom: 0.8rem;
}

.hero-content p {
  line-height: 1.65;
  color: var(--muted);
  max-width: 56ch;
}

.cta-btn,
.secondary-btn,
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 220ms ease;
}

.cta-btn,
.secondary-btn {
  background: linear-gradient(120deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 12px 24px rgba(124, 79, 30, 0.28);
}

.outline-btn {
  color: var(--accent-deep);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.82);
}

.cta-btn:hover,
.secondary-btn:hover,
.outline-btn:hover {
  transform: translateY(-2px);
}

.hero .cta-btn {
  margin-top: 1.35rem;
}

.hero-media {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 0.8rem;
  box-shadow: var(--shadow);
  animation: fadeUp 1s ease both;
}

.hero-media img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.collections {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.collections article {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  padding: 1.1rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.collections h3 {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
}

.collections p {
  color: var(--muted);
  line-height: 1.55;
}

.catalogue,
.contact,
.page-section {
  margin-top: 2.8rem;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
}

.section-heading p {
  margin-top: 0.35rem;
  color: var(--muted);
}

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

.product-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: translateY(10px);
  opacity: 0;
  animation: cardReveal 600ms ease forwards;
}

.product-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  display: block;
}

.product-content {
  padding: 0.95rem;
}

.product-content h3 {
  font-size: 1rem;
}

.meta {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.price {
  margin-top: 0.6rem;
  color: var(--accent-deep);
  font-weight: 800;
}

.card-actions {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.55rem;
}

.card-actions .outline-btn,
.card-actions .secondary-btn {
  font-size: 0.86rem;
  padding: 0.56rem 0.82rem;
}

.contact-card,
.panel,
.checkout-layout,
.detail-layout {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.contact-card p,
.muted {
  color: var(--muted);
}

.refined-contact {
  display: grid;
  gap: 0.8rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
}

.contact-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(32, 28, 22, 0.16);
}

.gmail-logo {
  background: #fff;
  border: 1px solid #e8e8e8;
}

.phone-logo {
  background: linear-gradient(145deg, #29b65a, #15803d);
}

.map-logo {
  background: linear-gradient(145deg, #6e4fbb, #3e2a7d);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}

.contact-label {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.contact-item a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.contact-card p {
  margin-bottom: 0.55rem;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-item p {
  margin: 0;
}

.contact-card span,
.label {
  font-weight: 800;
  color: var(--ink);
}

.contact-card a,
.link {
  color: var(--accent-deep);
  text-decoration: none;
}

footer {
  width: min(1200px, 92%);
  margin: 2.2rem auto 1.6rem;
  text-align: center;
  color: var(--muted);
}

.whatsapp-btn {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  background: #1faa4b;
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 24px rgba(24, 112, 53, 0.35);
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.detail-layout img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

.detail-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.pill {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(188, 127, 47, 0.14);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.86rem;
}

.list {
  margin-top: 0.9rem;
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.cart-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1rem;
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
}

.cart-item + .cart-item {
  margin-top: 0.75rem;
}

.cart-item img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.qty-control button {
  border: none;
  background: #fff;
  width: 34px;
  height: 34px;
  font-size: 1.1rem;
  cursor: pointer;
}

.qty-control span {
  min-width: 30px;
  text-align: center;
  font-weight: 700;
}

.remove-btn {
  border: none;
  background: none;
  color: #b13f3f;
  cursor: pointer;
  font-weight: 700;
  margin-top: 0.5rem;
}

.summary-box {
  margin-top: 1rem;
  display: grid;
  gap: 0.45rem;
  justify-content: end;
}

.summary-row {
  display: flex;
  gap: 1.2rem;
  justify-content: space-between;
  min-width: 240px;
}

.summary-row strong {
  color: var(--accent-deep);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.checkout-form {
  display: grid;
  gap: 0.85rem;
}

.checkout-form label {
  display: grid;
  gap: 0.28rem;
  font-weight: 700;
}

.checkout-form input,
.checkout-form textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.72rem;
  font: inherit;
  background: #fff;
}

.checkout-form textarea {
  min-height: 90px;
  resize: vertical;
}

.notice {
  margin-top: 0.7rem;
  color: #227148;
  font-weight: 700;
}

.orders-list {
  display: grid;
  gap: 0.9rem;
}

.order-card {
  margin-top: 0;
  padding: 1rem;
}

.error {
  color: #b13f3f;
  font-weight: 700;
  margin-top: 0.7rem;
}

@keyframes rise {
  from {
    transform: translateY(-8px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    transform: translateY(24px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes cardReveal {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .hero,
  .detail-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 620px) {
  .site-header {
    flex-direction: column;
    gap: 0.7rem;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

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

  .product-card img {
    height: 320px;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-item img {
    width: 100%;
    height: 220px;
  }

  .summary-box {
    justify-content: start;
  }

  .whatsapp-btn {
    right: 0.7rem;
    bottom: 0.7rem;
    font-size: 0.9rem;
  }
}
