@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap");

:root {
  --gc-coral: #e8604c;
  --gc-coral-deep: #c84a38;
  --gc-amber: #f4a336;
  --gc-amber-soft: #fdd280;
  --gc-berry: #c44e7a;
  --gc-sage: #5c8a6a;
  --gc-sky: #4a90c4;
  --gc-ink: #2d1b0e;
  --gc-muted: #6b4a35;
  --gc-soft: #a07858;
  --gc-cream: #fffaf5;
  --gc-blush: #fde8dc;
  --gc-card: rgba(255, 255, 255, 0.92);
  --gc-line: rgba(232, 96, 76, 0.14);
  --gc-shadow-sm: 0 8px 24px rgba(45, 27, 14, 0.08);
  --gc-shadow-md: 0 18px 48px rgba(45, 27, 14, 0.12);
  --gc-radius: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--gc-ink);
  font-family: "Nunito", "Segoe UI", sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(244, 163, 54, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(196, 78, 122, 0.12), transparent 28%),
    linear-gradient(180deg, #fff8f1 0%, #fffdf9 42%, #fff7f1 100%);
}

a {
  color: var(--gc-coral);
  text-decoration: none;
}

a:hover {
  color: var(--gc-coral-deep);
}

img {
  max-width: 100%;
  display: block;
  border-radius: 18px;
}

.content-container,
.container {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto 56px;
}

.content-container {
  padding: 34px;
  border: 1px solid var(--gc-line);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 245, 0.95));
  box-shadow: var(--gc-shadow-md);
}

.content-container > *:first-child {
  margin-top: 0;
}

.content-container > section,
.content-container > article,
.content-container > .highlight-box,
.container > section,
.container > .product-section,
.container > .highlight-box,
.container > table,
.container > .trending-gifts {
  margin-top: 24px;
}

.content-container > section,
.container > section,
.container > .product-section,
.highlight-box,
.state-container > *,
.category-table,
.product,
.review-card,
.country-card {
  background: var(--gc-card);
  border: 1px solid var(--gc-line);
  border-radius: var(--gc-radius);
  box-shadow: var(--gc-shadow-sm);
}

.content-container > section,
.container > section,
.container > .product-section,
.highlight-box {
  padding: 28px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 14px;
  color: var(--gc-ink);
  line-height: 1.18;
}

h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
}

h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.3rem, 3.5vw, 2.3rem);
}

h3 {
  font-size: clamp(1.05rem, 2.5vw, 1.45rem);
  font-weight: 900;
}

p,
li,
td,
th,
label,
input,
textarea,
select,
button {
  font-size: 16px;
}

p,
ul,
ol,
table {
  margin: 0 0 18px;
}

ul,
ol {
  padding-left: 22px;
}

li + li {
  margin-top: 8px;
}

strong {
  color: var(--gc-ink);
}

.btn,
.btn-pink,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gc-coral), var(--gc-amber));
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(232, 96, 76, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  cursor: pointer;
}

.btn:hover,
.btn-pink:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(232, 96, 76, 0.22);
  filter: saturate(1.05);
  color: #fff;
}

input,
textarea,
select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(107, 74, 53, 0.16);
  background: rgba(255, 255, 255, 0.96);
  color: var(--gc-ink);
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(232, 96, 76, 0.48);
  box-shadow: 0 0 0 4px rgba(232, 96, 76, 0.12);
}

/* ── Tables: scrollable on mobile ── */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 24px;
}

table {
  width: 100%;
  min-width: 480px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--gc-shadow-sm);
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(107, 74, 53, 0.1);
  text-align: left;
}

th {
  background: rgba(244, 163, 54, 0.12);
  color: var(--gc-ink);
  font-weight: 900;
}

tr:last-child td {
  border-bottom: none;
}

/* ── Product grids ── */
#products,
.product-grid,
.trending-gifts {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  align-items: stretch;
}

#products .product,
.product-grid .product,
.trending-gifts .product,
.product {
  width: 100% !important;
  margin: 0;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(253, 248, 244, 0.95));
  border: 1px solid var(--gc-line);
  border-radius: 24px;
  box-shadow: var(--gc-shadow-sm);
  text-align: left;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

#products .product:hover,
.product-grid .product:hover,
.trending-gifts .product:hover,
.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--gc-shadow-md);
}

#products .product img,
.product img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 14px;
  border-radius: 18px;
}

.rating {
  display: inline-flex;
  margin-top: 8px;
  color: var(--gc-soft);
  font-weight: 700;
}

.highlight-box {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(253, 232, 220, 0.9)),
    rgba(255, 255, 255, 0.9);
}

.state-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.state-container > * {
  padding: 22px;
}

/* ── Service grid (invitations etc) ── */
.service-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.service {
  background: var(--gc-card);
  border: 1px solid var(--gc-line);
  border-radius: var(--gc-radius);
  box-shadow: var(--gc-shadow-sm);
  padding: 22px;
}

/* ── Footer ── */
.site-footer {
  margin-top: 42px;
}

.gc-footer {
  padding: 42px 0 26px;
  background: linear-gradient(180deg, rgba(45, 27, 14, 0.96), rgba(33, 19, 11, 0.98));
  color: rgba(255, 255, 255, 0.84);
}

.gc-footer-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.gc-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 22px;
}

.gc-footer-brand h3,
.gc-footer-col h4 {
  color: #fff;
}

.gc-footer-brand p {
  color: rgba(255, 255, 255, 0.74);
}

.gc-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gc-footer-col li + li {
  margin-top: 10px;
}

.gc-footer a {
  color: rgba(255, 255, 255, 0.86);
}

.gc-footer a:hover {
  color: var(--gc-amber-soft);
}

.gc-footer-bottom {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

/* ════════════════════════════════
   TABLET  (≤ 900px)
════════════════════════════════ */
@media (max-width: 900px) {
  .content-container,
  .container {
    width: min(100% - 18px, 1180px);
  }

  .content-container {
    padding: 22px;
    border-radius: 24px;
  }

  .content-container > section,
  .container > section,
  .container > .product-section,
  .highlight-box {
    padding: 20px;
    border-radius: 22px;
  }

  .gc-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  #products,
  .product-grid,
  .trending-gifts {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* ════════════════════════════════
   MOBILE  (≤ 640px)
════════════════════════════════ */
@media (max-width: 640px) {

  /* Layout */
  .content-container,
  .container {
    width: calc(100% - 14px);
    margin: 14px auto 24px;
    padding: 16px;
    border-radius: 18px;
  }

  .content-container > section,
  .container > section,
  .container > .product-section,
  .highlight-box,
  .service {
    padding: 16px;
    border-radius: 16px;
  }

  /* Product grid: 1 column on phones */
  #products,
  .product-grid,
  .trending-gifts {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* State grid: 1 column */
  .state-container {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .state-container > * {
    padding: 16px;
  }

  /* Service grid: 1 column */
  .service-section {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Buttons: full width on small phones */
  .btn,
  .btn-pink {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Tables: scrollable */
  table {
    min-width: 400px;
  }

  th,
  td {
    padding: 10px 12px;
    font-size: 14px;
  }

  /* Footer */
  .gc-footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .gc-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* Inline images */
  img {
    border-radius: 12px;
  }
}

/* ════════════════════════════════
   SMALL PHONES  (≤ 400px)
════════════════════════════════ */
@media (max-width: 400px) {
  .content-container,
  .container {
    width: calc(100% - 8px);
    padding: 12px;
    border-radius: 14px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  p, li, td, th, label, input, textarea, select, button {
    font-size: 15px;
  }
}