/*
Theme Name: Decent Fabric
Theme URI: https://example.com/decent-fabric
Author: Decent Fabric
Author URI: https://example.com
Description: A premium, responsive clothing-store starter theme designed to work with Elementor and WooCommerce.
Version: 1.0.0
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: decent-fabric
Tags: e-commerce, custom-logo, custom-menu, featured-images, full-width-template, one-column, two-columns, translation-ready
*/

/* Brand palette */
:root {
  --df-brown: #3B2F28;
  --df-gold: #D4AF7C;
  --df-cream: #F5EFE6;
  --df-taupe: #8B7D6B;
  --df-charcoal: #3F3F3F;
  --df-black: #0D0D0D;
  --df-olive: #6B7A5B;
  --df-navy: #1E2A44;
  --df-rose: #C89EA7;
  --df-white: #FFFFFF;
  --df-border: rgba(59, 47, 40, .14);
  --df-shadow: 0 12px 35px rgba(13, 13, 13, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--df-charcoal);
  background: var(--df-white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; }
a { color: var(--df-brown); text-decoration: none; }
a:hover { color: #8d693e; }
h1, h2, h3, h4, h5, h6 {
  color: var(--df-brown);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
  font-weight: 500;
}
h1 { font-size: clamp(2.3rem, 5vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
p { margin: 0 0 1.1rem; }
button, input, select, textarea { font: inherit; }
button, .button, .wp-block-button__link, .woocommerce a.button,
.woocommerce button.button, .woocommerce input.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--df-gold);
  border-radius: 2px;
  padding: .85rem 1.35rem;
  background: var(--df-gold);
  color: var(--df-brown);
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: .2s ease;
}
button:hover, .button:hover, .wp-block-button__link:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover {
  background: var(--df-brown);
  color: var(--df-cream);
  border-color: var(--df-brown);
}
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { background: var(--df-cream); border-bottom: 1px solid var(--df-border); }
.header-inner {
  min-height: 88px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 14px;
}
.site-branding { display: flex; align-items: center; gap: 12px; min-width: 0; }
.custom-logo { max-height: 58px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.site-title { margin: 0; font: 600 1.5rem Georgia, "Times New Roman", serif; letter-spacing: .16em; color: var(--df-brown); }
.site-description { margin: 6px 0 0; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--df-taupe); }
.primary-navigation ul { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; list-style: none; padding: 0; margin: 0; }
.primary-navigation a { font-size: .82rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; }
.menu-toggle { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions a { font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.announcement-bar { padding: 8px 16px; text-align: center; background: var(--df-brown); color: var(--df-cream); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }

.hero {
  position: relative; overflow: hidden; background: var(--df-cream);
  min-height: 530px; display: flex; align-items: center;
}
.hero::after {
  content: ""; position: absolute; inset: 0 0 0 48%;
  background: linear-gradient(135deg, rgba(212,175,124,.16), rgba(59,47,40,.08));
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding-block: 80px; max-width: 760px; }
.eyebrow { margin-bottom: 16px; color: var(--df-taupe); text-transform: uppercase; letter-spacing: .22em; font-size: .76rem; font-weight: 700; }
.hero h1 { margin: 0 0 20px; max-width: 720px; }
.hero p { max-width: 540px; font-size: 1.08rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button-outline { background: transparent; color: var(--df-brown); border: 1px solid var(--df-brown); }
.button-outline:hover { background: var(--df-brown); color: var(--df-cream); }
.section { padding-block: 76px; }
.section-cream { background: var(--df-cream); }
.section-heading { text-align: center; margin: 0 auto 38px; max-width: 700px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { margin: 0 0 12px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.category-card {
  display: flex; min-height: 190px; align-items: end; padding: 22px;
  color: var(--df-cream); background: var(--df-brown); position: relative; overflow: hidden;
  border: 1px solid rgba(212,175,124,.35);
}
.category-card:nth-child(2) { background: var(--df-taupe); }
.category-card:nth-child(3) { background: var(--df-navy); }
.category-card:nth-child(4) { background: var(--df-olive); }
.category-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.38), transparent 75%); }
.category-card span { position: relative; font: 1.55rem Georgia, "Times New Roman", serif; }
.category-card:hover { color: var(--df-gold); transform: translateY(-3px); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.product-placeholder { background: #f0e9df; aspect-ratio: 4/5; display: grid; place-items: center; color: var(--df-taupe); }
.product-placeholder span { font: 1.2rem Georgia, "Times New Roman", serif; }
.product-card { border: 1px solid var(--df-border); background: #fff; }
.product-card-content { padding: 16px; }
.product-card h3 { font-size: 1.15rem; margin: 0 0 6px; }
.product-card p { font-size: .9rem; color: var(--df-taupe); margin: 0; }
.promo-band { display: grid; grid-template-columns: 1.1fr .9fr; background: var(--df-brown); color: var(--df-cream); }
.promo-copy { padding: clamp(30px, 6vw, 70px); }
.promo-copy h2 { color: var(--df-cream); margin-top: 0; }
.promo-copy p { max-width: 500px; }
.promo-art { min-height: 280px; background: linear-gradient(135deg, #8b7d6b, #3b2f28 55%, #d4af7c); display: grid; place-items: center; }
.promo-art span { color: rgba(245,239,230,.85); font: clamp(3rem, 7vw, 6rem) Georgia, "Times New Roman", serif; letter-spacing: .12em; }
.site-footer { background: var(--df-black); color: #d8d0c7; padding: 55px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 35px; }
.site-footer h2, .site-footer h3 { color: var(--df-gold); }
.site-footer h3 { font-size: 1.05rem; }
.site-footer a { color: #e8dfd3; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 8px; }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(212,175,124,.25); font-size: .82rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-main { padding-block: 48px 76px; min-height: 45vh; }
.content-card { max-width: 850px; margin-inline: auto; }
.entry-title { margin-top: 0; }
.post-card { padding: 25px 0; border-bottom: 1px solid var(--df-border); }
.post-thumbnail img { width: 100%; }
.pagination { margin-top: 30px; }
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], textarea, select {
  width: 100%; max-width: 100%; padding: 12px 14px; border: 1px solid var(--df-border); background: #fff; color: var(--df-charcoal); border-radius: 2px;
}
:focus-visible { outline: 2px solid var(--df-gold); outline-offset: 3px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.alignwide { max-width: 1180px; margin-inline: auto; }
.alignfull { width: 100%; max-width: 100%; }
.elementor-page .site-main { padding: 0; }
.elementor-template-full-width .site-main, .elementor-template-canvas .site-main { padding: 0; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { border: 1px solid var(--df-border); padding: 12px; }
.woocommerce div.product .product_title { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.woocommerce span.onsale { background: var(--df-brown); }
.woocommerce div.product p.price, .woocommerce ul.products li.product .price { color: var(--df-brown); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--df-gold); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--df-brown); }

@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; }
  .primary-navigation { display: none; width: 100%; }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { flex-direction: column; align-items: flex-start; padding: 16px 0; gap: 14px; }
  .header-actions { margin-left: auto; }
  .category-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: 460px; }
  .hero-inner { padding-block: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 72px; gap: 12px; }
  .site-title { font-size: 1.12rem; letter-spacing: .12em; }
  .site-description { font-size: .56rem; letter-spacing: .1em; }
  .custom-logo { max-height: 44px; }
  .header-actions a { font-size: .68rem; }
  .hero { min-height: auto; }
  .hero-inner { padding-block: 55px; }
  .hero p { font-size: 1rem; }
  .section { padding-block: 52px; }
  .category-grid { gap: 10px; }
  .category-card { min-height: 145px; padding: 14px; }
  .category-card span { font-size: 1.2rem; }
  .product-grid { gap: 12px; }
  .product-card-content { padding: 11px; }
  .product-card h3 { font-size: 1rem; }
  .promo-band { grid-template-columns: 1fr; }
  .promo-art { min-height: 180px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .site-main { padding-block: 32px 52px; }
}
