/*
Theme Name: AWAL Clothing
Theme URI: https://awalclothing.com
Author: Fazal Raheem
Author URI: https://fazalraheem.com
Description: A minimal, elegant WooCommerce theme for AWAL Clothing - premium everyday essentials. Cream and espresso palette with refined serif typography. Requires WooCommerce.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: awal-clothing
*/

:root{
  --ink:#3D3A30;
  --cream:#F1EBE0;
  --taupe:#8C8069;
  --sand:#E4DAC7;
  --offwhite:#FBF8F1;
  --line:#DED4C2;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Jost',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-weight:300;
  font-size:16px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5{font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;color:var(--ink);letter-spacing:.01em;line-height:1.2;margin:0 0 .5em}
a{color:var(--ink);text-decoration:none;transition:color .2s ease}
a:hover{color:var(--taupe)}
img{max-width:100%;height:auto;display:block}
p{margin:0 0 1em}

.container{width:100%;max-width:1200px;margin:0 auto;padding:0 24px}
.container-narrow{max-width:760px}
.section{padding:70px 0}
.section-title{font-size:34px;text-align:center;margin-bottom:36px}

/* Buttons */
.btn,.button,
.woocommerce a.button,.woocommerce button.button,
.woocommerce .button,.woocommerce #respond input#submit,
.woocommerce-page a.button,.woocommerce-page button.button,
input[type="submit"]{
  display:inline-block;background:var(--ink);color:var(--cream);
  font-family:'Jost',sans-serif;font-weight:400;font-size:13px;
  text-transform:uppercase;letter-spacing:.14em;
  padding:15px 34px;border:none;border-radius:0;cursor:pointer;line-height:1;
  transition:background .2s ease,color .2s ease;
}
.btn:hover,.button:hover,
.woocommerce a.button:hover,.woocommerce button.button:hover,
.woocommerce #respond input#submit:hover,input[type="submit"]:hover{
  background:var(--taupe);color:#fff;
}
.woocommerce a.button.alt,.woocommerce button.button.alt{background:var(--ink)}
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--taupe)}

/* Header */
.site-header{background:var(--cream);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:18px;padding-bottom:18px}
.site-branding .custom-logo{max-height:56px;width:auto}
.site-title{font-family:'Cormorant Garamond',serif;font-weight:600;font-size:26px;letter-spacing:.28em;text-transform:uppercase}
.main-nav ul{list-style:none;display:flex;gap:30px;margin:0;padding:0}
.main-nav a{font-family:'Jost',sans-serif;font-weight:400;font-size:13px;text-transform:uppercase;letter-spacing:.15em;color:var(--ink)}
.main-nav a:hover{color:var(--taupe)}
.header-actions{display:flex;gap:20px;align-items:center}
.header-cart,.header-account{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--ink)}

/* Hero */
.hero{background:var(--offwhite);border-bottom:1px solid var(--line)}
.hero-inner{text-align:center;padding:110px 24px}
.hero-eyebrow{font-family:'Jost',sans-serif;text-transform:uppercase;letter-spacing:.4em;font-size:12px;color:var(--taupe);margin-bottom:14px}
.hero-title{font-size:58px;margin-bottom:16px}
.hero-sub{font-size:17px;color:var(--taupe);margin-bottom:30px}

/* WooCommerce product grid */
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin:0;padding:0}
.woocommerce ul.products li.product{list-style:none;text-align:center;margin:0;width:auto!important;float:none!important}
.woocommerce ul.products li.product a img{margin-bottom:14px;border-radius:6px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:'Jost',sans-serif;font-weight:400;font-size:15px;color:var(--ink);padding:0;text-transform:none}
.woocommerce ul.products li.product .price{font-family:'Jost',sans-serif;color:var(--taupe);font-size:15px;font-weight:400}
.woocommerce span.onsale{background:var(--ink);color:var(--cream);border-radius:0;min-height:auto;min-width:auto;padding:6px 12px;font-size:11px;letter-spacing:.1em}

/* Brand strip */
.brand-strip{background:var(--sand);padding:44px 0}
.brand-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;text-align:center}
.brand-cols h4{font-size:22px;margin-bottom:4px}
.brand-cols p{color:var(--ink);opacity:.75;margin:0;font-size:14px}
.featured{background:var(--offwhite)}

/* Pages */
.page-section{padding:80px 0}
.page-title{font-size:44px;text-align:center;margin-bottom:36px}
.page-content{font-size:17px;line-height:1.9}
.page-content h2{font-size:30px;margin-top:1.4em}

/* Blog fallback */
.post-card{border-bottom:1px solid var(--line);padding:26px 0}
.post-title{font-size:28px}

/* Footer */
.site-footer{background:var(--ink);color:var(--sand);margin-top:0}
.footer-inner{display:flex;justify-content:space-between;gap:40px;flex-wrap:wrap;padding:56px 24px 40px}
.footer-brand{max-width:340px}
.footer-logo{font-family:'Cormorant Garamond',serif;font-size:30px;letter-spacing:.28em;color:var(--cream);display:block;margin-bottom:12px}
.footer-brand p{color:var(--sand);opacity:.8;font-size:14px}
.footer-menu ul{list-style:none;margin:0;padding:0}
.footer-menu a{color:var(--sand);font-size:14px;line-height:2.2;text-transform:uppercase;letter-spacing:.1em}
.footer-menu a:hover{color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:18px 0;font-size:12px;text-align:center;color:var(--sand);opacity:.7;letter-spacing:.08em}
.footer-title{color:var(--cream)}

/* WooCommerce messages / notices */
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--taupe);background:var(--offwhite);border-radius:0}
.woocommerce-message::before,.woocommerce-info::before{color:var(--taupe)}

/* Responsive */
@media(max-width:900px){
  .woocommerce ul.products{grid-template-columns:repeat(2,1fr)}
  .brand-cols{grid-template-columns:1fr}
  .hero-title{font-size:42px}
  .section-title{font-size:28px}
}
@media(max-width:640px){
  .header-inner{flex-wrap:wrap;justify-content:center;gap:14px}
  .main-nav ul{gap:18px;flex-wrap:wrap;justify-content:center}
  .hero-inner{padding:70px 20px}
  .hero-title{font-size:34px}
  .woocommerce ul.products{grid-template-columns:repeat(2,1fr);gap:16px}
  .footer-inner{flex-direction:column}
}
