/*
Theme Name: ArchForm Studio
Theme URI: https://archformstudio.shop
Author: ArchForm Studio
Description: A refined ecommerce landing theme for premium commercial furniture 3D assets.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: archform-studio
*/

:root {
  --af-ivory: #fbf8ef;
  --af-ivory-deep: #f1eadf;
  --af-champagne: #c5a568;
  --af-champagne-deep: #9b7544;
  --af-taupe: #796f64;
  --af-marble: #e8e6e1;
  --af-ink: #2c2924;
  --af-border: #ded5c7;
  --af-white: #fffdf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--af-ivory);
  color: var(--af-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .af-nav {
  top: 32px;
}

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

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, ui-serif, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.af-page {
  min-height: 100vh;
  background: var(--af-ivory);
  color: var(--af-ink);
}

.af-container {
  width: min(100%, 1400px);
  margin: 0 auto;
  padding: 0 48px;
}

.af-eyebrow {
  display: inline-block;
  color: var(--af-champagne-deep);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.af-nav {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
}

.af-nav-solid {
  position: sticky;
  background: rgba(251, 248, 239, 0.96);
  border-bottom: 1px solid rgba(183, 151, 94, 0.22);
  box-shadow: 0 18px 50px rgba(42, 38, 31, 0.08);
  backdrop-filter: blur(18px);
}

.af-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  padding-bottom: 30px;
}

.af-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--af-ivory);
}

.af-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.af-brand-main {
  font-family: "Cormorant Garamond", Georgia, ui-serif, serif;
  font-size: 26px;
  letter-spacing: 0.03em;
}

.af-brand-sub {
  color: rgba(251, 248, 239, 0.72);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.af-nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  color: rgba(251, 248, 239, 0.86);
  font-size: 14px;
}

.af-nav-solid .af-nav-links {
  color: rgba(42, 38, 31, 0.72);
}

.af-nav-solid .af-brand-main,
.af-nav-solid .af-brand-sub {
  color: var(--af-ink);
}

.af-nav-solid .af-store-link {
  color: var(--af-ink);
  border-color: rgba(183, 151, 94, 0.34);
}

.af-nav-links a {
  transition: color 180ms ease;
}

.af-nav-links a:hover {
  color: var(--af-champagne);
}

.af-store-link,
.af-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid rgba(251, 248, 239, 0.34);
  color: var(--af-ivory);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.af-store-link:hover {
  border-color: var(--af-champagne);
  color: var(--af-champagne);
}

.af-button-light {
  background: var(--af-ivory);
  border-color: var(--af-ivory);
  color: var(--af-ink);
}

.af-button-light:hover {
  background: var(--af-champagne);
  border-color: var(--af-champagne);
}

.af-button-dark {
  background: var(--af-ink);
  border-color: var(--af-ink);
  color: var(--af-ivory);
}

.af-button-dark:hover {
  background: var(--af-champagne-deep);
  border-color: var(--af-champagne-deep);
}

.af-button-outline {
  background: transparent;
}

.af-button-outline:hover {
  border-color: var(--af-champagne);
  color: var(--af-champagne);
}

.af-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.af-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.af-hero::before,
.af-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.af-hero::before {
  background: linear-gradient(to bottom, rgba(44, 41, 36, 0.76), rgba(44, 41, 36, 0.28), rgba(44, 41, 36, 0.84));
}

.af-hero::after {
  background: linear-gradient(to right, rgba(44, 41, 36, 0.68), rgba(44, 41, 36, 0), rgba(44, 41, 36, 0.08));
}

.af-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 160px;
  padding-bottom: 72px;
}

.af-hero-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.af-hero-kicker::before {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--af-champagne);
}

.af-hero-kicker span {
  color: var(--af-champagne);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.af-hero h1 {
  color: var(--af-ivory);
  font-size: clamp(64px, 11vw, 134px);
  line-height: 0.98;
}

.af-hero h1 span {
  display: block;
  color: var(--af-champagne);
  font-style: italic;
}

.af-hero-copy {
  max-width: 600px;
  margin-top: 32px;
  color: rgba(251, 248, 239, 0.86);
  font-size: 18px;
  line-height: 1.75;
}

.af-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.af-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  padding-top: 32px;
  border-top: 1px solid rgba(251, 248, 239, 0.16);
  color: rgba(251, 248, 239, 0.76);
}

.af-hero-stat strong {
  display: block;
  color: var(--af-ivory);
  font-family: "Cormorant Garamond", Georgia, ui-serif, serif;
  font-size: 34px;
  font-weight: 400;
}

.af-hero-stat span {
  display: block;
  margin-top: 6px;
  color: rgba(251, 248, 239, 0.62);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.af-section {
  padding: 120px 0;
}

.af-section-marble {
  background: var(--af-marble);
}

.af-section-ink {
  background: var(--af-ink);
  color: var(--af-ivory);
}

.af-section-heading {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px;
  align-items: end;
}

.af-section-title {
  grid-column: span 5;
}

.af-section-title h2 {
  margin-top: 20px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.05;
}

.af-section-title em,
.af-spotlight em,
.af-story em,
.af-faq-title em {
  color: var(--af-champagne-deep);
  font-style: italic;
}

.af-section-intro {
  grid-column: 7 / span 6;
  max-width: 560px;
  color: var(--af-taupe);
  font-size: 18px;
  line-height: 1.72;
}

.af-collections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 58px 32px;
  margin-top: 64px;
}

.af-product {
  display: flex;
  flex-direction: column;
}

.af-product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--af-marble);
}

.af-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1100ms ease;
}

.af-product:hover .af-product-media img {
  transform: scale(1.04);
}

.af-product-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(251, 248, 239, 0.96);
  color: var(--af-ink);
  padding: 8px 12px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.af-product-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--af-border);
}

.af-product h3 {
  max-width: 22ch;
  font-size: 26px;
  line-height: 1.12;
  transition: color 180ms ease;
}

.af-product:hover h3 {
  color: var(--af-champagne-deep);
}

.af-price {
  color: var(--af-champagne-deep);
  font-family: "Cormorant Garamond", Georgia, ui-serif, serif;
  font-size: 23px;
  white-space: nowrap;
}

.af-product-link {
  margin-top: 12px;
  color: var(--af-taupe);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.af-product:hover .af-product-link {
  color: var(--af-ink);
}

.af-use-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 64px;
  border: 1px solid var(--af-border);
  background: var(--af-border);
}

.af-use-card {
  background: var(--af-ivory);
  padding: 48px;
}

.af-use-card-top {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.af-use-card-top span {
  color: var(--af-champagne-deep);
  font-family: "Cormorant Garamond", Georgia, ui-serif, serif;
  font-size: 26px;
}

.af-use-card-top i {
  height: 1px;
  flex: 1;
  background: var(--af-border);
}

.af-use-card h3 {
  margin-top: 26px;
  font-size: 34px;
}

.af-use-card p,
.af-get-copy,
.af-story-copy,
.af-spotlight-copy,
.af-faq-answer {
  color: var(--af-taupe);
  line-height: 1.72;
}

.af-use-card p {
  max-width: 450px;
  margin-top: 16px;
}

.af-get-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 64px;
}

.af-get-left {
  grid-column: span 5;
}

.af-get-left h2 {
  margin-top: 20px;
  font-size: clamp(40px, 4.5vw, 60px);
  line-height: 1.05;
}

.af-get-copy {
  max-width: 460px;
  margin-top: 24px;
}

.af-get-list {
  grid-column: span 7;
  display: grid;
  align-self: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--af-border);
  background: var(--af-border);
  list-style: none;
}

.af-get-list li {
  display: flex;
  gap: 16px;
  background: var(--af-ivory);
  padding: 26px;
  line-height: 1.62;
}

.af-get-list span {
  color: var(--af-champagne-deep);
  font-family: "Cormorant Garamond", Georgia, ui-serif, serif;
}

.af-story-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}

.af-story-mark {
  grid-column: span 5;
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(251, 248, 239, 0.06);
}

.af-story-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.af-story {
  grid-column: 7 / span 6;
}

.af-story .af-eyebrow {
  color: var(--af-champagne);
}

.af-story h2 {
  margin-top: 24px;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.05;
}

.af-story em {
  color: var(--af-champagne);
}

.af-story-copy {
  margin-top: 34px;
  color: rgba(251, 248, 239, 0.82);
  font-size: 18px;
}

.af-story-copy p + p {
  margin-top: 20px;
}

.af-story-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 38px;
  color: rgba(251, 248, 239, 0.62);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.af-story-line::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--af-champagne);
}

.af-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
  margin-top: 24px;
}

.af-spotlight-media {
  grid-column: span 7;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.af-spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.af-spotlight {
  grid-column: span 5;
}

.af-spotlight h2 {
  font-size: clamp(40px, 4.5vw, 60px);
  line-height: 1.05;
}

.af-spotlight-copy {
  margin-top: 24px;
  font-size: 18px;
}

.af-spotlight-price {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--af-border);
}

.af-spotlight-price strong {
  color: var(--af-champagne-deep);
  font-family: "Cormorant Garamond", Georgia, ui-serif, serif;
  font-size: 46px;
  font-weight: 400;
}

.af-spotlight-price span {
  color: var(--af-taupe);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.af-spotlight .af-button {
  margin-top: 34px;
}

.af-faq-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 64px;
}

.af-faq-title {
  grid-column: span 4;
}

.af-faq-title h2 {
  margin-top: 20px;
  font-size: clamp(40px, 4.5vw, 58px);
  line-height: 1.05;
}

.af-faq-list {
  grid-column: 6 / span 7;
}

.af-faq-item {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--af-border);
}

.af-faq-item:first-child {
  border-top: 1px solid var(--af-border);
}

.af-faq-question {
  font-family: "Cormorant Garamond", Georgia, ui-serif, serif;
  font-size: 26px;
  line-height: 1.12;
}

.af-footer {
  background: var(--af-ink);
  color: var(--af-ivory);
  padding: 82px 0 40px;
}

.af-footer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px;
}

.af-footer-brand {
  grid-column: span 6;
}

.af-footer-brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.af-footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.af-footer-brand h2 {
  font-size: 42px;
}

.af-footer-brand h2 span {
  color: var(--af-champagne);
  font-style: italic;
}

.af-footer-brand p {
  max-width: 430px;
  margin-top: 16px;
  color: rgba(251, 248, 239, 0.72);
}

.af-footer-col {
  grid-column: span 3;
}

.af-footer-label {
  color: rgba(251, 248, 239, 0.5);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.af-footer ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.af-footer li + li {
  margin-top: 12px;
}

.af-footer a {
  color: rgba(251, 248, 239, 0.86);
}

.af-footer a:hover {
  color: var(--af-champagne);
}

.af-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(251, 248, 239, 0.15);
  color: rgba(251, 248, 239, 0.5);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.af-content-page {
  min-height: 100vh;
  padding: 140px 0 80px;
  background: var(--af-ivory);
}

.af-content-page article {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px;
  background: var(--af-white);
  border: 1px solid var(--af-border);
}

.af-content-page h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 72px);
}

.af-content-page .entry-content {
  color: var(--af-taupe);
  line-height: 1.75;
}

.woocommerce .af-content-page article {
  max-width: 1180px;
}

.af-commerce-shell {
  width: 100%;
}

.woocommerce .woocommerce-products-header__title,
.woocommerce div.product .product_title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 500;
  line-height: 0.96;
  color: var(--af-ink);
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error,
.woocommerce div.product .summary,
.woocommerce div.product .woocommerce-tabs {
  color: var(--af-taupe);
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.woocommerce ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
  background: var(--af-white);
  border: 1px solid var(--af-border);
  box-shadow: 0 24px 60px rgba(42, 38, 31, 0.07);
}

.woocommerce ul.products li.product a img {
  margin: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price {
  padding-right: 22px;
  padding-left: 22px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding-top: 20px;
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--af-ink);
}

.woocommerce ul.products li.product .price {
  color: var(--af-gold);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce div.product form.cart .button {
  margin: 18px 22px 24px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid rgba(183, 151, 94, 0.45);
  border-radius: 0;
  background: var(--af-ink);
  color: var(--af-ivory);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce div.product form.cart .button:hover {
  background: var(--af-gold);
  color: var(--af-ink);
}

@media (max-width: 1000px) {
  .af-container {
    padding: 0 28px;
  }

  .af-nav-links,
  .af-brand-sub {
    display: none;
  }

  .af-hero-stats,
  .af-section-heading,
  .af-get-grid,
  .af-story-grid,
  .af-spotlight-grid,
  .af-faq-grid,
  .af-footer-grid {
    grid-template-columns: 1fr;
  }

  .af-section-title,
  .af-section-intro,
  .af-get-left,
  .af-get-list,
  .af-story-mark,
  .af-story,
  .af-spotlight-media,
  .af-spotlight,
  .af-faq-title,
  .af-faq-list,
  .af-footer-brand,
  .af-footer-col {
    grid-column: auto;
  }

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

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

  .af-use-grid,
  .af-get-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body.admin-bar .af-nav {
    top: 46px;
  }

  .af-container {
    padding: 0 22px;
  }

  .af-nav-inner {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .af-store-link {
    min-height: 42px;
    padding: 0 16px;
    font-size: 10px;
  }

  .af-hero-content {
    padding-top: 120px;
    padding-bottom: 44px;
  }

  .af-hero-copy {
    font-size: 16px;
  }

  .af-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .af-button {
    width: 100%;
  }

  .af-section {
    padding: 82px 0;
  }

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

  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .af-use-card {
    padding: 30px;
  }

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

  .af-footer-bottom {
    flex-direction: column;
  }

  .af-content-page article {
    padding: 30px;
  }
}
