/*
Theme Name: Hello Fashion
Theme URI: https://hellofashion.pk/
Author: Hello Fashion
Author URI: https://hellofashion.pk/
Description: A clean, responsive fashion boutique theme designed for HelloFashion.pk, with WooCommerce support.
Version: 1.0.1
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: hello-fashion
Tags: e-commerce, blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --hf-ink: #403632;
  --hf-muted: #786d67;
  --hf-rose: #c99d91;
  --hf-rose-dark: #a9776c;
  --hf-cream: #f7f2ed;
  --hf-paper: #fffdfb;
  --hf-line: #e9dfd8;
  --hf-radius: 4px;
  --hf-container: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--hf-ink); background: var(--hf-paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.65;
}
a { color: var(--hf-rose-dark); text-decoration: none; }
a:hover { color: var(--hf-ink); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.hf-container { width: min(var(--hf-container), calc(100% - 40px)); margin-inline: auto; }
.hf-announcement { background: var(--hf-ink); color: #fff; text-align: center; padding: 8px 15px; font-size: 12px; letter-spacing: .08em; }
.hf-header { background: rgba(255,253,251,.97); border-bottom: 1px solid var(--hf-line); position: relative; z-index: 20; }
.hf-header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hf-brand { display: flex; align-items: center; gap: 12px; min-width: 180px; }
.hf-brand img { max-height: 58px; width: auto; }
.hf-brand-name { color: var(--hf-ink); font-family: Georgia, serif; font-size: 25px; line-height: 1.1; letter-spacing: .12em; font-weight: 600; }
.hf-brand-tagline { display: block; color: var(--hf-muted); font-size: 9px; letter-spacing: .23em; margin-top: 5px; }
.hf-nav ul { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.hf-nav a { color: var(--hf-ink); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.hf-nav a:hover, .hf-nav .current-menu-item > a { color: var(--hf-rose-dark); }
.hf-header-actions { display: flex; align-items: center; gap: 17px; }
.hf-header-actions a { color: var(--hf-ink); font-size: 13px; }
.hf-menu-toggle { display: none; border: 1px solid var(--hf-line); background: transparent; padding: 9px 12px; color: var(--hf-ink); cursor: pointer; }
.hf-button, .button, button.button, input.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  display: inline-block; border: 1px solid var(--hf-ink); background: var(--hf-ink); color: #fff;
  padding: 13px 24px; border-radius: 0; text-transform: uppercase; letter-spacing: .12em;
  font-size: 11px; font-weight: 600; cursor: pointer; transition: .2s ease;
}
.hf-button:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
  background: var(--hf-rose-dark); border-color: var(--hf-rose-dark); color: #fff;
}
.hf-button--light { background: transparent; color: var(--hf-ink); border-color: var(--hf-ink); }
.hf-button--light:hover { color: #fff; }
.hf-hero { background: var(--hf-cream); min-height: 510px; display: grid; grid-template-columns: 1fr 1fr; }
.hf-hero-copy { padding: 85px max(40px, calc((100vw - var(--hf-container))/2)); padding-right: 45px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.hf-eyebrow { text-transform: uppercase; color: var(--hf-rose-dark); font-size: 10px; letter-spacing: .24em; font-weight: 700; }
.hf-hero h1 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(42px, 5vw, 68px); line-height: 1.08; margin: 18px 0; max-width: 560px; }
.hf-hero p { color: var(--hf-muted); max-width: 430px; margin: 0 0 28px; }
.hf-hero-image { min-height: 510px; background: #e9dcd3; overflow: hidden; }
.hf-hero-image img { width: 100%; height: 100%; min-height: 510px; object-fit: cover; display: block; }
.hf-section { padding: 76px 0; }
.hf-section--soft { background: var(--hf-cream); }
.hf-section-heading { text-align: center; margin: 0 auto 36px; max-width: 650px; }
.hf-section-heading .hf-eyebrow { display: block; }
.hf-section-heading h2 { font: 400 clamp(30px, 4vw, 42px)/1.15 Georgia, serif; margin: 12px 0; }
.hf-section-heading p { color: var(--hf-muted); margin: 0; }
.hf-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hf-category-card { position: relative; min-height: 275px; background: var(--hf-cream); overflow: hidden; }
.hf-category-card img { width: 100%; height: 275px; object-fit: cover; display: block; transition: transform .45s; }
.hf-category-card:hover img { transform: scale(1.04); }
.hf-category-card a { color: #fff; }
.hf-category-card:after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(30,20,17,.62)); pointer-events: none; }
.hf-category-card-title { position: absolute; z-index: 1; bottom: 20px; left: 20px; color: #fff; font: 25px Georgia, serif; }
.hf-products { display: block; width: 100%; }
.hf-products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.hf-products ul.products::before,
.hf-products ul.products::after { content: none !important; display: none !important; }
.hf-products ul.products li.product {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
}
.hf-editorial { display: grid; grid-template-columns: 1fr 1fr; background: var(--hf-cream); }
.hf-editorial-image img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; display: block; }
.hf-editorial-copy { padding: 55px clamp(25px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hf-editorial-copy h2 { font: 400 38px/1.15 Georgia, serif; margin: 12px 0; }
.hf-editorial-copy p { color: var(--hf-muted); }
.hf-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hf-post-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.hf-post-card h3 { font: 24px/1.25 Georgia, serif; margin: 13px 0 7px; }
.hf-post-card p { color: var(--hf-muted); font-size: 14px; }
.hf-meta { color: var(--hf-muted); text-transform: uppercase; font-size: 10px; letter-spacing: .12em; }
.hf-footer { background: #3d332f; color: #f8f1ec; padding: 55px 0 20px; }
.hf-footer a { color: #f8f1ec; }
.hf-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.hf-footer h3 { color: #fff; font: 22px Georgia, serif; margin: 0 0 15px; }
.hf-footer p, .hf-footer li { color: #d7cbc4; font-size: 13px; }
.hf-footer ul { list-style: none; margin: 0; padding: 0; }
.hf-footer li { margin: 8px 0; }
.hf-footer-bottom { border-top: 1px solid rgba(255,255,255,.18); margin-top: 35px; padding-top: 17px; color: #d7cbc4; font-size: 11px; display: flex; justify-content: space-between; gap: 15px; }
.hf-page-header { background: var(--hf-cream); padding: 55px 0; text-align: center; }
.hf-page-header h1 { font: 400 clamp(34px, 5vw, 48px)/1.15 Georgia, serif; margin: 0; }
.hf-content { padding: 55px 0 75px; }
.hf-content-inner { max-width: 850px; margin: 0 auto; }
.hf-content-inner h2, .hf-content-inner h3 { font-family: Georgia, serif; font-weight: 400; }
.hf-content-inner p { color: #5f5550; }
.hf-blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 45px; }
.hf-blog-list { display: grid; gap: 35px; }
.hf-blog-item { display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.hf-blog-item img { width: 100%; height: 180px; object-fit: cover; }
.hf-blog-item h2 { font: 28px/1.2 Georgia, serif; margin: 8px 0; }
.hf-sidebar { border-left: 1px solid var(--hf-line); padding-left: 25px; }
.hf-sidebar h2 { font: 22px Georgia, serif; }
.hf-pagination { margin-top: 35px; }
.hf-pagination .page-numbers { display: inline-block; padding: 8px 12px; border: 1px solid var(--hf-line); margin-right: 5px; }
.hf-whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 30; background: #238b58; color: white; border-radius: 30px; padding: 12px 18px; box-shadow: 0 5px 20px rgba(0,0,0,.16); font-size: 13px; }
.hf-whatsapp:hover { color: white; background: #176c42; }
.woocommerce .woocommerce-breadcrumb { color: var(--hf-muted); font-size: 12px; }
.woocommerce ul.products li.product a img { aspect-ratio: 3/4; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--hf-ink); font: 20px Georgia, serif; }
.woocommerce div.product .product_title { font: 38px/1.15 Georgia, serif; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--hf-rose-dark); }
.woocommerce span.onsale { background: var(--hf-rose-dark); }
.woocommerce .quantity .qty { min-height: 43px; }
.woocommerce table.shop_table { border-color: var(--hf-line); }
.woocommerce input, .woocommerce select, .woocommerce textarea, .woocommerce-page input, .woocommerce-page select, .woocommerce-page textarea {
  border: 1px solid var(--hf-line); padding: 11px; background: #fff;
}
.woocommerce .col2-set, .woocommerce-page .col2-set { gap: 30px; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--hf-rose); }
.woocommerce-message:before, .woocommerce-info:before { color: var(--hf-rose-dark); }
.screen-reader-text { clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; position: absolute !important; white-space: nowrap; }
@media (max-width: 900px) {
  .hf-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--hf-paper); border-bottom: 1px solid var(--hf-line); padding: 18px 20px; }
  .hf-nav.is-open { display: block; }
  .hf-nav ul { flex-direction: column; align-items: flex-start; gap: 15px; }
  .hf-menu-toggle { display: inline-block; }
  .hf-header-inner { min-height: 74px; }
  .hf-category-grid { grid-template-columns: repeat(2, 1fr); }
  .hf-products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .hf-hero { grid-template-columns: 1fr; }
  .hf-hero-copy { padding: 55px 30px; }
  .hf-hero-image, .hf-hero-image img { min-height: 360px; max-height: 440px; }
  .hf-editorial { grid-template-columns: 1fr; }
  .hf-editorial-image img { min-height: 300px; max-height: 400px; }
}
@media (max-width: 600px) {
  .hf-container { width: min(100% - 30px, var(--hf-container)); }
  .hf-header-actions .hf-cart-label { display: none; }
  .hf-brand-name { font-size: 20px; }
  .hf-hero-copy { padding: 45px 22px; }
  .hf-hero h1 { font-size: 43px; }
  .hf-section { padding: 52px 0; }
  .hf-category-grid { gap: 10px; }
  .hf-category-card, .hf-category-card img { min-height: 190px; height: 190px; }
  .hf-category-card-title { font-size: 20px; left: 12px; bottom: 12px; }
  .hf-products ul.products { gap: 12px !important; }
  .hf-post-grid { grid-template-columns: 1fr; }
  .hf-blog-layout { grid-template-columns: 1fr; }
  .hf-blog-item { grid-template-columns: 1fr; gap: 10px; }
  .hf-blog-item img { height: auto; aspect-ratio: 16/9; }
  .hf-sidebar { border-left: 0; border-top: 1px solid var(--hf-line); padding: 20px 0 0; }
  .hf-footer-grid { grid-template-columns: 1fr; gap: 25px; }
  .hf-footer-bottom { flex-direction: column; }
  .hf-whatsapp { right: 12px; bottom: 12px; }
}
