/*
Theme Name:     WoodMart Child
Description:    Woodmart child theme.
Author:         Codex
Template:       woodmart
Version:        0.2.0
*/

:root {
  --ammesa-ink: #201915;
  --ammesa-soft-ink: #5b514b;
  --ammesa-sand: #efe7dd;
  --ammesa-cream: #f8f4ef;
  --ammesa-taupe: #c9b7a3;
  --ammesa-bronze: #a67c52;
  --ammesa-white: #fffdf9;
  --ammesa-shadow: 0 24px 70px rgba(32, 25, 21, 0.08);
  --ammesa-radius: 28px;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--ammesa-ink);
  background: linear-gradient(180deg, #fbf8f4 0%, #f4ede4 100%);
}

h1, h2, h3, h4, .site-title {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.01em;
}

.ammesa-home {
  padding: 28px 0 90px;
}

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

.ammesa-announcement {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px 18px;
  border: 1px solid rgba(32, 25, 21, 0.08);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.78);
  backdrop-filter: blur(12px);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ammesa-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.ammesa-hero-copy,
.ammesa-hero-card,
.ammesa-panel,
.ammesa-spotlight {
  background: rgba(255, 253, 249, 0.78);
  border: 1px solid rgba(32, 25, 21, 0.08);
  border-radius: var(--ammesa-radius);
  box-shadow: var(--ammesa-shadow);
}

.ammesa-hero-copy {
  padding: 54px;
  background:
    radial-gradient(circle at top right, rgba(166, 124, 82, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 241, 233, 0.9));
}

.ammesa-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ammesa-soft-ink);
}

.ammesa-hero-copy h1 {
  margin: 0;
  font-size: clamp(54px, 7vw, 86px);
  line-height: 0.94;
}

.ammesa-lead {
  max-width: 580px;
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.8;
  color: var(--ammesa-soft-ink);
}

.ammesa-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ammesa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(32, 25, 21, 0.12);
  text-decoration: none;
  font-weight: 700;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}

.ammesa-btn:hover {
  transform: translateY(-2px);
}

.ammesa-btn-primary {
  background: var(--ammesa-ink);
  color: var(--ammesa-white);
}

.ammesa-btn-secondary {
  background: transparent;
  color: var(--ammesa-ink);
}

.ammesa-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.ammesa-stat {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.ammesa-stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.ammesa-stat span {
  color: var(--ammesa-soft-ink);
  font-size: 14px;
  line-height: 1.6;
}

.ammesa-hero-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 36px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.72), transparent 22%),
    linear-gradient(160deg, #d7c8b7 0%, #a9825e 100%);
  color: var(--ammesa-white);
}

.ammesa-hero-card::after {
  content: '';
  position: absolute;
  inset: auto -80px -110px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
}

.ammesa-hero-card h2 {
  margin: 6px 0 10px;
  font-size: 48px;
  line-height: 1;
}

.ammesa-hero-card p,
.ammesa-hero-card li {
  color: rgba(255,255,255,0.88);
  line-height: 1.8;
}

.ammesa-hero-card ul {
  margin: 22px 0 0;
  padding-left: 18px;
}

.ammesa-section {
  margin-top: 24px;
  padding: 34px;
}

.ammesa-section h2 {
  margin: 0 0 10px;
  font-size: 42px;
}

.ammesa-section > p {
  margin: 0 0 20px;
  color: var(--ammesa-soft-ink);
  line-height: 1.8;
}

.ammesa-family-grid,
.ammesa-trust-grid,
.ammesa-editorial-grid {
  display: grid;
  gap: 16px;
}

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

.ammesa-family-card,
.ammesa-trust-card,
.ammesa-editorial-card {
  display: block;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(32, 25, 21, 0.08);
  text-decoration: none;
  color: var(--ammesa-ink);
  transition: transform .18s ease;
}

.ammesa-family-card strong,
.ammesa-trust-card strong,
.ammesa-editorial-card strong {
  display: block;
  font-size: 21px;
  margin-bottom: 8px;
}

.ammesa-family-card span,
.ammesa-trust-card span,
.ammesa-editorial-card span {
  display: block;
  color: var(--ammesa-soft-ink);
  line-height: 1.7;
}

.ammesa-product-shell .woocommerce,
.ammesa-product-shell .woocommerce.columns-4 {
  margin-top: 8px;
}

.woocommerce ul.products li.product,
.wd-products.wd-stretch-cont-lg .product-grid-item {
  border-radius: 24px;
  overflow: hidden;
}

.woocommerce ul.products li.product .product-wrapper {
  border-radius: 24px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(32, 25, 21, 0.08);
  box-shadow: var(--ammesa-shadow);
}

.woocommerce ul.products li.product .wd-entities-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 20px;
  font-family: 'Cormorant Garamond', serif;
}

.woocommerce ul.products li.product .price {
  color: var(--ammesa-ink);
  font-weight: 800;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border-radius: 999px;
  background: var(--ammesa-ink);
  color: var(--ammesa-white);
}

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

.ammesa-spotlight {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  padding: 34px;
}

.ammesa-spotlight h2 {
  margin: 0 0 10px;
  font-size: 42px;
}

.ammesa-spotlight p {
  color: var(--ammesa-soft-ink);
  line-height: 1.85;
}

.ammesa-mini-list {
  display: grid;
  gap: 14px;
}

@media (max-width: 1024px) {
  .ammesa-hero,
  .ammesa-spotlight,
  .ammesa-family-grid,
  .ammesa-trust-grid,
  .ammesa-editorial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ammesa-hero-copy {
    padding: 38px;
  }
}

@media (max-width: 767px) {
  .ammesa-announcement,
  .ammesa-hero-grid,
  .ammesa-hero,
  .ammesa-spotlight,
  .ammesa-family-grid,
  .ammesa-trust-grid,
  .ammesa-editorial-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .ammesa-actions {
    flex-direction: column;
  }

  .ammesa-announcement {
    border-radius: 28px;
    text-align: center;
  }

  .ammesa-shell {
    width: min(100% - 20px, 1000px);
  }

  .ammesa-hero-copy,
  .ammesa-section,
  .ammesa-spotlight,
  .ammesa-hero-card {
    padding: 24px;
  }

  .ammesa-hero-copy h1,
  .ammesa-section h2,
  .ammesa-spotlight h2,
  .ammesa-hero-card h2 {
    font-size: 40px;
  }

  .ammesa-hero-grid {
    margin-top: 22px;
  }
}
