/*
Theme Name: Faizan Cosmetics
Theme URI: https://faizancosmetics.com
Author: Faizan Cosmetics
Author URI: https://faizancosmetics.com
Description: An elegant black-and-white storefront theme for Faizan Cosmetics. Editorial typography (Cormorant Garamond + Inter), a refined monochrome palette, and full WooCommerce support for shop, product, cart and checkout pages.
Version: 1.0.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: faizan-cosmetics
Tags: e-commerce, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
WC requires at least: 6.0
WC tested up to: 9.0
*/

/* ============ CORE DESIGN SYSTEM ============ */

  :root{
    --paper:#ffffff; --bone:#f5f4f2; --mist:#ececea; --fog:#fafaf9;
    --ink:#111111; --char:#2a2a2a; --soft:#3d3d3d;
    --gray:#6e6e6e; --gray-2:#9a9a9a; --gray-3:#cccccc;
    --line:rgba(0,0,0,.12); --line-soft:rgba(0,0,0,.07); --line-strong:rgba(0,0,0,.85);
    --f-display:'Cormorant Garamond',Georgia,'Times New Roman',serif;
    --f-body:'Inter',system-ui,-apple-system,sans-serif;
    --maxw:1280px;
  }
  *{box-sizing:border-box;margin:0;padding:0}
  html{scroll-behavior:smooth}
  body{font-family:var(--f-body);color:var(--ink);background:var(--paper);line-height:1.65;-webkit-font-smoothing:antialiased;font-weight:400}
  a{color:inherit;text-decoration:none}
  img,svg{display:block}
  h1,h2,h3,h4{font-family:var(--f-display);font-weight:500;line-height:1.04;color:var(--ink);letter-spacing:.004em}
  .wrap{max-width:var(--maxw);margin:0 auto;padding:0 32px}

  /* labels & buttons */
  .label{font-family:var(--f-body);font-size:.68rem;letter-spacing:.28em;text-transform:uppercase;color:var(--gray);font-weight:500}
  .label--line{display:inline-flex;align-items:center;gap:11px}
  .label--line::before{content:"";width:30px;height:1px;background:currentColor;opacity:.5}
  .index{font-family:var(--f-body);font-size:.68rem;letter-spacing:.24em;text-transform:uppercase;color:var(--gray-2);font-weight:600}
  .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:16px 34px;background:var(--ink);color:#fff;border:1px solid var(--ink);
       font-family:var(--f-body);font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;font-weight:500;cursor:pointer;
       border-radius:0;transition:transform .25s ease,background .25s ease,color .25s ease}
  .btn:hover{background:#000;border-color:#000;transform:translateY(-2px)}
  .btn--ghost{background:transparent;color:var(--ink);border-color:var(--ink)}
  .btn--ghost:hover{background:var(--ink);color:#fff}
  .btn--lg{padding:18px 40px}
  .link-ul{font-family:var(--f-body);font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--ink);font-weight:500;
           border-bottom:1px solid var(--ink);padding-bottom:4px;display:inline-block;transition:opacity .2s ease}
  .link-ul:hover{opacity:.55}
  :focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:1px}

  /* reveal on scroll */
  .reveal{opacity:0;transform:translateY(20px);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1)}
  .reveal.in{opacity:1;transform:none}

  /* announcement */
  .topbar{background:var(--ink);color:#f2f2f2;text-align:center;font-size:.7rem;letter-spacing:.22em;text-transform:uppercase;padding:11px 16px;font-weight:400}
  .topbar b{color:#fff;font-weight:600}

  /* header */
  .site-header{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.9);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
  .nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:84px;gap:20px}
  .brand{justify-self:start}
  .brand svg{height:46px;width:auto}
  .nav-links{display:flex;gap:38px;list-style:none;justify-self:center}
  .nav-links a{font-size:.74rem;letter-spacing:.16em;text-transform:uppercase;position:relative;padding:6px 0;color:var(--ink);font-weight:400}
  .nav-links a::after{content:"";position:absolute;left:0;bottom:0;height:1px;width:0;background:var(--ink);transition:width .3s ease}
  .nav-links a:hover::after{width:100%}
  .nav-icons{display:flex;align-items:center;gap:20px;justify-self:end}
  .icon-btn{background:none;border:none;cursor:pointer;color:var(--ink);position:relative;display:grid;place-items:center;padding:2px}
  .icon-btn:hover{color:var(--gray)}
  .icon-btn svg{width:21px;height:21px}
  .cart-count{position:absolute;top:-6px;right:-8px;background:var(--ink);color:#fff;font-family:var(--f-body);font-size:.56rem;font-weight:600;
              min-width:16px;height:16px;border-radius:50%;display:grid;place-items:center;padding:0 4px;transition:transform .2s ease}
  .cart-count.bump{transform:scale(1.4)}
  .hamburger{display:none}

  /* hero */
  .hero{padding:78px 0 30px;overflow:hidden}
  .hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:64px;align-items:center}
  .hero h1{font-size:clamp(3.2rem,6.6vw,5.6rem);margin:24px 0 24px;letter-spacing:-.01em;font-weight:500}
  .hero h1 em{font-style:italic;font-weight:500}
  .hero-sub{font-size:1.08rem;max-width:44ch;color:var(--gray);font-weight:300}
  .hero-cta{display:flex;gap:14px;margin:36px 0 34px;flex-wrap:wrap}
  .hero-rating{display:flex;align-items:center;gap:14px}
  .hero-rating .stars{color:var(--ink);font-size:.9rem;letter-spacing:2px}
  .hero-rating .rtext{font-size:.82rem;color:var(--gray);letter-spacing:.02em}
  .hero-rating .rtext b{color:var(--ink);font-weight:600}
  .hero-panel{position:relative;border:1px solid var(--line);background:var(--bone);padding:30px;aspect-ratio:1/1.05;display:grid;place-items:center}
  .hero-panel::before{content:"";position:absolute;inset:13px;border:1px solid var(--line-soft)}
  .hero-cap{position:absolute;top:24px;left:24px;font-size:.62rem;letter-spacing:.24em;text-transform:uppercase;color:var(--gray-2);font-weight:600}
  .hero-cap.r{left:auto;right:24px;top:auto;bottom:24px}
  .hero-art{width:min(100%,420px);height:auto}
  @keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
  .hero-art .f1{animation:floaty 5s ease-in-out infinite}
  .hero-art .f2{animation:floaty 6.5s ease-in-out .5s infinite}
  .hero-art .f3{animation:floaty 5.8s ease-in-out 1s infinite}

  /* marquee */
  .marquee{border-top:1px solid var(--line);border-bottom:1px solid var(--line);overflow:hidden;padding:18px 0;margin-top:50px;background:var(--paper)}
  .marquee-track{display:flex;align-items:center;gap:0;white-space:nowrap;width:max-content;animation:marq 34s linear infinite}
  .marquee-track span{font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;color:var(--char);font-weight:500;padding:0 30px;display:inline-flex;align-items:center;gap:30px}
  .marquee-track span::after{content:"✦";color:var(--gray-3);font-size:.6rem}
  @keyframes marq{from{transform:translateX(0)}to{transform:translateX(-50%)}}

  /* categories */
  .cats{padding:92px 0 24px}
  .cats-head{text-align:center;margin-bottom:46px}
  .cats-head h2{font-size:clamp(2rem,3.6vw,2.8rem);margin-top:12px;font-weight:500}
  .cats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
  .cat{text-align:center;cursor:pointer;background:none;border:none;font-family:inherit;color:inherit;display:block}
  .cat-ic{aspect-ratio:1/1;border-radius:0;background:var(--bone);border:1px solid var(--line-soft);display:grid;place-items:center;
          transition:transform .35s ease,box-shadow .35s ease,background .35s ease}
  .cat-ic svg{width:46%;height:52%}
  .cat:hover .cat-ic{transform:translateY(-5px);box-shadow:0 16px 30px rgba(0,0,0,.08);background:var(--mist)}
  .cat-name{font-family:var(--f-display);font-size:1.4rem;margin-top:16px;font-weight:500}
  .cat-sub{font-size:.66rem;color:var(--gray-2);letter-spacing:.16em;text-transform:uppercase;margin-top:4px}

  /* section heading */
  .sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:46px}
  .sec-head .sh-l{display:flex;flex-direction:column;gap:14px}
  .sec-head h2{font-size:clamp(2.2rem,4.2vw,3.3rem);font-weight:500;line-height:1}
  .sh-index{display:flex;align-items:center;gap:12px}
  .sh-index .rule{width:46px;height:1px;background:var(--line-strong);opacity:.5}

  /* featured grid */
  .featured{padding:92px 0}
  .grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
  .card{background:var(--paper);border:1px solid var(--line);position:relative;display:flex;flex-direction:column;
        transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease}
  .card:hover{transform:translateY(-6px);box-shadow:0 24px 44px rgba(0,0,0,.10);border-color:rgba(0,0,0,.35)}
  .card-media{position:relative;aspect-ratio:1/1.05;display:grid;place-items:center;background:var(--bone);overflow:hidden}
  .card-media>svg{width:62%;height:62%;transition:transform .5s ease}
  .card:hover .card-media>svg{transform:scale(1.05) rotate(-2deg)}
  .tag{position:absolute;top:14px;left:14px;background:var(--ink);color:#fff;font-size:.56rem;letter-spacing:.16em;
       text-transform:uppercase;padding:5px 10px;font-weight:600;z-index:2}
  .tag.alt{background:var(--paper);color:var(--ink);border:1px solid var(--ink)}
  .wish{position:absolute;top:12px;right:12px;background:rgba(255,255,255,.92);border:1px solid var(--line-soft);border-radius:50%;width:34px;height:34px;
        display:grid;place-items:center;cursor:pointer;color:var(--ink);transition:color .2s ease,transform .2s ease;z-index:2}
  .wish:hover{color:var(--gray);transform:scale(1.1)}
  .wish svg{width:16px;height:16px}
  .quick-add{position:absolute;left:0;right:0;bottom:0;transform:translateY(101%);transition:transform .38s cubic-bezier(.2,.7,.2,1);
             background:var(--ink);color:#fff;border:none;cursor:pointer;padding:14px;width:100%;
             font-family:var(--f-body);font-size:.66rem;letter-spacing:.18em;text-transform:uppercase;font-weight:600}
  .card:hover .quick-add{transform:none}
  .card-body{padding:20px 20px 22px;display:flex;flex-direction:column;flex:1}
  .card-cat{font-size:.6rem;letter-spacing:.2em;text-transform:uppercase;color:var(--gray-2);font-weight:600}
  .card-name{font-family:var(--f-display);font-weight:500;font-size:1.32rem;letter-spacing:.005em;margin:6px 0 0;line-height:1.15}
  .card-photo{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
  .card:hover .card-photo{transform:scale(1.04)}
  .card-desc{font-size:.82rem;line-height:1.55;color:var(--gray);font-weight:300;margin:9px 0 2px}
  .card-stars{color:var(--ink);font-size:.72rem;letter-spacing:1px;margin-top:7px}
  .card-stars span{color:var(--gray-2);margin-left:5px;font-family:var(--f-body);font-size:.7rem;letter-spacing:.02em}
  .shades{display:flex;gap:6px;margin:13px 0 16px}
  .shades span{width:14px;height:14px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px var(--line)}
  .price-row{display:flex;align-items:baseline;justify-content:space-between;margin-top:auto;padding-top:4px;border-top:1px solid var(--line-soft)}
  .price{font-family:var(--f-body);font-weight:600;font-size:1rem;color:var(--ink);padding-top:14px}
  .price s{color:var(--gray-2);font-weight:400;font-size:.82rem;margin-left:7px}
  .price-row .pa{font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gray);font-weight:500;padding-top:14px}

  /* editorial feature */
  .editorial{background:var(--bone);padding:104px 0}
  .ed-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:70px;align-items:center}
  .ed-copy h2{font-size:clamp(2.4rem,4.6vw,3.7rem);margin:20px 0 22px;font-weight:500;line-height:1.05}
  .ed-copy p{color:var(--soft);font-weight:300;font-size:1.04rem;max-width:46ch;margin-bottom:18px}
  .ed-copy .btn{margin-top:14px}
  .ed-panel{position:relative;border:1px solid var(--line);background:var(--paper);aspect-ratio:1.05/1;display:grid;place-items:center;padding:40px}
  .ed-panel::before{content:"";position:absolute;inset:15px;border:1px solid var(--line-soft)}
  .ed-panel svg.scene{width:min(100%,460px);height:auto}
  .ed-sign{position:absolute;bottom:26px;right:30px;font-family:var(--f-display);font-style:italic;font-size:1.5rem;color:var(--ink)}

  /* stats band */
  .stats{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
  .stats-row{display:grid;grid-template-columns:repeat(4,1fr)}
  .stat{padding:46px 24px;text-align:center;border-right:1px solid var(--line)}
  .stat:last-child{border-right:none}
  .stat .n{font-family:var(--f-display);font-size:clamp(2.2rem,3.4vw,3rem);font-weight:500;line-height:1}
  .stat .t{font-size:.66rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gray);margin-top:10px;font-weight:500}

  /* shop by tone */
  .shadesec{padding:100px 0}
  .shadesec .sec-head{flex-direction:column;align-items:center;text-align:center;gap:14px}
  .swatch-row{display:flex;flex-wrap:wrap;justify-content:center;gap:36px;margin-top:6px}
  .swatch{background:none;border:none;cursor:pointer;text-align:center;font-family:inherit;color:inherit}
  .swatch-dot{display:inline-block;width:80px;height:80px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px rgba(0,0,0,.16),0 8px 18px rgba(0,0,0,.08);
              transition:transform .3s ease,box-shadow .3s ease;margin:0 auto}
  .swatch:hover .swatch-dot{transform:scale(1.08);box-shadow:0 0 0 1px var(--ink),0 12px 24px rgba(0,0,0,.16)}
  .swatch-name{margin-top:15px;font-size:.78rem;letter-spacing:.05em;color:var(--ink);font-weight:500}
  .swatch-code{font-size:.64rem;color:var(--gray-2);letter-spacing:.14em;margin-top:2px}

  /* reviews */
  .reviews{background:var(--fog);padding:100px 0;border-top:1px solid var(--line-soft)}
  .rv-head{text-align:center;max-width:640px;margin:0 auto 56px}
  .rv-head h2{font-size:clamp(2.2rem,4vw,3.1rem);margin:14px 0 16px;font-weight:500}
  .rv-head .agg{display:inline-flex;align-items:center;gap:12px;font-size:.84rem;color:var(--gray)}
  .rv-head .agg .stars{color:var(--ink);letter-spacing:2px}
  .rv-head .agg b{color:var(--ink);font-weight:600}
  .rv-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
  .rv-card{background:var(--paper);border:1px solid var(--line);padding:34px 30px;display:flex;flex-direction:column}
  .rv-stars{color:var(--ink);font-size:.8rem;letter-spacing:2px;margin-bottom:18px}
  .rv-quote{font-family:var(--f-display);font-size:1.32rem;line-height:1.4;color:var(--char);font-weight:500;margin-bottom:24px;flex:1}
  .rv-by{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line-soft);padding-top:18px}
  .rv-ava{width:38px;height:38px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-size:.8rem;font-weight:600;font-family:var(--f-body)}
  .rv-meta .nm{font-size:.86rem;font-weight:600;color:var(--ink)}
  .rv-meta .rl{font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:var(--gray-2);margin-top:1px}

  /* promise */
  .promise{background:var(--ink);color:#e9e9e9;padding:104px 0}
  .promise .label{color:var(--gray-3)}
  .promise-head{text-align:center;max-width:660px;margin:0 auto 58px}
  .promise-head h2{color:#fff;font-size:clamp(2.2rem,4.2vw,3.3rem);margin-top:16px;font-weight:500}
  .promise-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0}
  .value{text-align:center;padding:8px 40px;border-right:1px solid rgba(255,255,255,.14)}
  .value:last-child{border-right:none}
  .value .vic{width:62px;height:62px;border-radius:50%;border:1px solid rgba(255,255,255,.32);display:grid;place-items:center;margin:0 auto 22px;color:#fff}
  .value .vic svg{width:28px;height:28px}
  .value h3{font-family:var(--f-display);font-weight:500;color:#fff;font-size:1.5rem;margin-bottom:12px}
  .value p{color:var(--gray-3);font-size:.92rem;font-weight:300;max-width:32ch;margin:0 auto}

  /* newsletter */
  .news{background:var(--paper);padding:96px 0}
  .news-inner{max-width:600px;margin:0 auto;text-align:center}
  .news-inner h2{font-size:clamp(2.2rem,3.8vw,3rem);margin:14px 0 14px;font-weight:500}
  .news-inner p{color:var(--gray);font-weight:300;margin-bottom:30px}
  .news-form{display:flex;gap:0;max-width:480px;margin:0 auto;border:1px solid var(--ink)}
  .news-form input{flex:1;padding:17px 20px;border:none;background:var(--paper);font-family:var(--f-body);font-size:.92rem;color:var(--ink)}
  .news-form input::placeholder{color:var(--gray-2)}
  .news-form input:focus{outline:none}
  .news-form .btn{border:none;border-left:1px solid var(--ink)}
  .news-note{font-size:.68rem;color:var(--gray-2);margin-top:18px;letter-spacing:.06em}

  /* footer */
  .site-footer{background:#0e0e0e;color:#bdbdbd;padding:78px 0 30px}
  .foot-grid{display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr;gap:40px;padding-bottom:52px;border-bottom:1px solid rgba(255,255,255,.12)}
  .foot-brand svg{height:42px;width:auto;margin-bottom:22px}
  .foot-brand p{font-size:.88rem;font-weight:300;max-width:30ch;color:#9b9b9b}
  .socials{display:flex;gap:12px;margin-top:24px}
  .socials a{width:38px;height:38px;border:1px solid rgba(255,255,255,.22);border-radius:50%;display:grid;place-items:center;color:#cfcfcf;transition:all .25s ease}
  .socials a:hover{background:#fff;border-color:#fff;color:#0e0e0e}
  .socials svg{width:18px;height:18px}
  .foot-col h4{font-family:var(--f-body);font-size:.68rem;letter-spacing:.2em;text-transform:uppercase;color:#fff;font-weight:600;margin-bottom:20px}
  .foot-col ul{list-style:none;display:flex;flex-direction:column;gap:12px}
  .foot-col a{font-size:.88rem;font-weight:300;color:#bdbdbd}
  .foot-col a:hover{color:#fff}
  .foot-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:28px;flex-wrap:wrap}
  .foot-bottom small{font-size:.76rem;color:#8a8a8a;font-weight:300}
  .pays{display:flex;gap:8px;align-items:center}
  .pays span{font-size:.62rem;letter-spacing:.1em;text-transform:uppercase;border:1px solid rgba(255,255,255,.22);padding:5px 9px;color:#9b9b9b}

  .mobile-panel{display:none}

  /* responsive */
  @media(max-width:1024px){
    .ed-grid{gap:48px}
  }
  @media(max-width:980px){
    .foot-grid{grid-template-columns:1fr 1fr}
    .rv-grid{grid-template-columns:1fr}
    .rv-card{max-width:560px;margin:0 auto;width:100%}
  }
  @media(max-width:860px){
    .nav{grid-template-columns:auto 1fr auto}
    .nav-links,.sec-head .link-ul{display:none}
    .hamburger{display:grid}
    .hero{padding:54px 0 20px}
    .hero-grid{grid-template-columns:1fr;gap:44px}
    .hero-visual{order:-1}
    .hero-panel{aspect-ratio:1/.92}
    .marquee{margin-top:40px}
    .grid{grid-template-columns:repeat(2,1fr);gap:18px}
    .quick-add{transform:none}
    .ed-grid{grid-template-columns:1fr;gap:40px}
    .ed-panel{order:-1}
    .stats-row{grid-template-columns:1fr 1fr}
    .stat:nth-child(2){border-right:none}
    .stat:nth-child(1),.stat:nth-child(2){border-bottom:1px solid var(--line)}
    .promise-grid{grid-template-columns:1fr;gap:0}
    .value{border-right:none;border-bottom:1px solid rgba(255,255,255,.14);padding-bottom:34px;margin-bottom:34px;max-width:380px;margin-left:auto;margin-right:auto}
    .value:last-child{border-bottom:none;margin-bottom:0;padding-bottom:8px}
    .mobile-panel.open{display:block;border-top:1px solid var(--line);background:var(--paper)}
    .mobile-panel ul{list-style:none;padding:16px 32px}
    .mobile-panel a{display:block;padding:13px 0;font-size:.92rem;letter-spacing:.12em;text-transform:uppercase;border-bottom:1px solid var(--line-soft)}
  }
  @media(max-width:560px){
    .wrap{padding:0 22px}
    .cats-row{grid-template-columns:repeat(2,1fr);gap:18px}
    .grid{grid-template-columns:1fr 1fr;gap:14px}
    .card-body{padding:16px}
    .card-name{font-size:1.18rem}
    .news-form{flex-direction:column;border:none}
    .news-form input{border:1px solid var(--ink);margin-bottom:10px}
    .news-form .btn{border:1px solid var(--ink);width:100%}
    .foot-grid{grid-template-columns:1fr;gap:32px}
  }
  @media(prefers-reduced-motion:reduce){
    *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
    .reveal{opacity:1;transform:none}
  }


/* =====================================================================
   WORDPRESS + WOOCOMMERCE INTEGRATION STYLES
   (appended after the core design system above)
   ===================================================================== */

/* ---- generic page / post layout ---- */
.page-shell{padding:70px 0 92px}
.page-hero{text-align:center;max-width:760px;margin:0 auto 54px}
.page-hero .label{display:inline-block;margin-bottom:14px}
.page-hero h1{font-size:clamp(2.4rem,4.6vw,3.6rem);font-weight:500;line-height:1.04}
.entry-content{max-width:760px;margin:0 auto;font-size:1.04rem;color:var(--soft);font-weight:300;line-height:1.75}
.entry-content.full{max-width:var(--maxw)}
.entry-content h2{font-size:clamp(1.8rem,3.4vw,2.5rem);font-weight:500;margin:42px 0 16px;color:var(--ink)}
.entry-content h3{font-family:var(--f-display);font-size:1.6rem;font-weight:500;margin:30px 0 12px;color:var(--ink)}
.entry-content h4{font-family:var(--f-body);font-size:.74rem;letter-spacing:.2em;text-transform:uppercase;color:var(--gray);font-weight:600;margin:28px 0 10px}
.entry-content p{margin-bottom:20px}
.entry-content a{color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.entry-content a:hover{color:var(--gray)}
.entry-content ul,.entry-content ol{margin:0 0 22px 1.1em}
.entry-content li{margin-bottom:9px}
.entry-content img{max-width:100%;height:auto;margin:24px 0}
.entry-content blockquote{border-left:2px solid var(--ink);margin:28px 0;padding:6px 0 6px 26px;font-family:var(--f-display);font-style:italic;font-size:1.5rem;color:var(--char);line-height:1.4}
.entry-content hr{border:none;border-top:1px solid var(--line);margin:40px 0}
.alignwide{max-width:1100px;margin-left:auto;margin-right:auto}
.alignfull{max-width:100%}
.aligncenter{display:block;margin-left:auto;margin-right:auto}
.alignleft{float:left;margin:6px 28px 18px 0}
.alignright{float:right;margin:6px 0 18px 28px}
.wp-caption-text,.wp-element-caption{font-size:.78rem;color:var(--gray-2);text-align:center;margin-top:8px}

/* ---- blog list ---- */
.posts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;max-width:var(--maxw);margin:0 auto}
.post-card{border:1px solid var(--line);background:var(--paper);display:flex;flex-direction:column;transition:transform .35s ease,box-shadow .35s ease}
.post-card:hover{transform:translateY(-6px);box-shadow:0 22px 40px rgba(0,0,0,.10)}
.post-card .thumb{aspect-ratio:3/2;overflow:hidden;background:var(--mist)}
.post-card .thumb img{width:100%;height:100%;object-fit:cover}
.post-card .pc-body{padding:24px;display:flex;flex-direction:column;flex:1}
.post-card .pc-date{font-size:.66rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gray-2);font-weight:600}
.post-card h2{font-family:var(--f-display);font-size:1.5rem;font-weight:500;margin:8px 0 10px;line-height:1.18}
.post-card p{font-size:.92rem;color:var(--gray);font-weight:300;margin-bottom:16px;flex:1}

/* pagination */
.faizan-pagination{display:flex;justify-content:center;gap:8px;margin-top:56px}
.faizan-pagination .page-numbers{min-width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--line);font-size:.82rem;color:var(--ink);padding:0 12px}
.faizan-pagination .page-numbers.current,.faizan-pagination .page-numbers:hover{background:var(--ink);color:#fff;border-color:var(--ink)}

/* =====================================================================
   WOOCOMMERCE
   ===================================================================== */
.woo-shell{padding:60px 0 92px}
.woocommerce .woocommerce-breadcrumb{font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gray-2);margin-bottom:26px;font-weight:500}
.woocommerce .woocommerce-breadcrumb a{color:var(--gray)}
.woocommerce .woocommerce-breadcrumb a:hover{color:var(--ink)}

/* shop header bits */
.woocommerce-products-header{text-align:center;margin-bottom:42px}
.woocommerce-products-header__title.page-title{font-family:var(--f-display);font-size:clamp(2.2rem,4.4vw,3.3rem);font-weight:500}
.woocommerce .woocommerce-result-count{color:var(--gray);font-size:.84rem;font-weight:300}
.woocommerce .woocommerce-ordering select,.woocommerce select{font-family:var(--f-body);font-size:.82rem;border:1px solid var(--line);padding:10px 14px;border-radius:0;background:var(--paper);color:var(--ink)}

/* product loop -> match the card design */
.woocommerce ul.products,.woocommerce-page ul.products{display:grid !important;grid-template-columns:repeat(4,1fr);gap:28px;margin:0;list-style:none}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{width:auto !important;margin:0 !important;float:none !important;text-align:left;border:1px solid var(--line);background:var(--paper);display:flex;flex-direction:column;position:relative;transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease;padding:0}
.woocommerce ul.products li.product:hover{transform:translateY(-6px);box-shadow:0 24px 44px rgba(0,0,0,.10);border-color:rgba(0,0,0,.35)}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:block}
.woocommerce ul.products li.product img{margin:0 !important;aspect-ratio:1/1.05;object-fit:cover;width:100%;background:var(--bone);transition:transform .5s ease}
.woocommerce ul.products li.product:hover img{transform:scale(1.04)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:var(--f-display);font-weight:500;font-size:1.32rem;line-height:1.15;color:var(--ink);padding:18px 20px 0;margin:0}
.woocommerce ul.products li.product .price{display:block;padding:6px 20px 0;font-family:var(--f-body) !important;font-weight:600;font-size:1rem;color:var(--ink)}
.woocommerce ul.products li.product .price del{color:var(--gray-2);font-weight:400;margin-right:6px}
.woocommerce ul.products li.product .price ins{text-decoration:none}
.woocommerce ul.products li.product .star-rating{margin:10px 20px 0;font-size:.9em}
.woocommerce ul.products li.product .button,.woocommerce ul.products li.product .added_to_cart{margin:16px 20px 20px;display:block;text-align:center}
.woocommerce .star-rating span::before,.woocommerce .star-rating::before{color:var(--ink)}
.woocommerce span.onsale{background:var(--ink);color:#fff;border-radius:0;font-family:var(--f-body);font-size:.58rem;letter-spacing:.16em;text-transform:uppercase;font-weight:600;min-height:auto;min-width:auto;padding:5px 10px;top:14px;left:14px;margin:0;line-height:1.4}

/* buttons everywhere */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,
.woocommerce #place_order,.wp-block-button__link{
  background:var(--ink) !important;color:#fff !important;border:1px solid var(--ink) !important;border-radius:0 !important;
  font-family:var(--f-body) !important;font-size:.72rem !important;letter-spacing:.16em;text-transform:uppercase;font-weight:500;
  padding:14px 28px !important;transition:transform .25s ease,background .25s ease}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,
.woocommerce #place_order:hover{background:#000 !important;transform:translateY(-2px)}
.woocommerce a.added_to_cart{color:var(--ink) !important;border-bottom:1px solid var(--ink);font-size:.7rem;letter-spacing:.14em;text-transform:uppercase}

/* single product */
.woocommerce div.product{margin-top:8px}
.woocommerce div.product .product_title{font-family:var(--f-display);font-size:clamp(2rem,3.6vw,2.9rem);font-weight:500;line-height:1.06;margin-bottom:14px}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink);font-family:var(--f-body);font-weight:600;font-size:1.5rem}
.woocommerce div.product .woocommerce-product-rating{margin-bottom:18px}
.woocommerce div.product .woocommerce-product-details__short-description{color:var(--soft);font-weight:300;font-size:1.02rem}
.woocommerce div.product form.cart{margin-top:24px}
.woocommerce div.product form.cart .quantity input{height:50px;border:1px solid var(--line);border-radius:0;font-family:var(--f-body)}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin-bottom:24px}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{border-color:var(--line)}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:transparent;border:none;border-bottom:2px solid transparent;border-radius:0;margin:0 24px 0 0;padding:0 0 10px}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{border-bottom-color:var(--ink)}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{font-family:var(--f-body);font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gray);font-weight:600;padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--ink)}
.woocommerce #reviews h2,.woocommerce div.product h2{font-family:var(--f-display);font-weight:500}
.related.products>h2,.upsells.products>h2{font-family:var(--f-display);font-size:clamp(1.8rem,3.2vw,2.4rem);font-weight:500;margin-bottom:30px}

/* cart + checkout */
.woocommerce table.shop_table{border:1px solid var(--line);border-radius:0}
.woocommerce table.shop_table th{font-family:var(--f-body);font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink);font-weight:600}
.woocommerce-cart table.cart img{width:84px}
.woocommerce .cart-collaterals .cart_totals h2,.woocommerce-checkout h3{font-family:var(--f-display);font-weight:500}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce-checkout input,.woocommerce-checkout select,.select2-container--default .select2-selection--single{
  border:1px solid var(--line) !important;border-radius:0 !important;font-family:var(--f-body);padding:13px 15px;color:var(--ink)}
.woocommerce #payment,.woocommerce-checkout #order_review{border:1px solid var(--line);background:var(--fog);border-radius:0}
.woocommerce-info,.woocommerce-message,.woocommerce-error{border-top-color:var(--ink) !important;border-radius:0;background:var(--fog)}
.woocommerce-info::before,.woocommerce-message::before{color:var(--ink)}
.woocommerce-message .button,.woocommerce-info .button{margin-left:12px}

/* my-account */
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;border:1px solid var(--line)}
.woocommerce-account .woocommerce-MyAccount-navigation li{border-bottom:1px solid var(--line-soft)}
.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:14px 18px;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--gray)}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{color:var(--ink);font-weight:600}

@media(max-width:980px){
  .posts-grid{grid-template-columns:1fr 1fr}
  .woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(3,1fr) !important}
}
@media(max-width:860px){
  .woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,1fr) !important;gap:18px}
}
@media(max-width:560px){
  .posts-grid{grid-template-columns:1fr}
  .woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:1fr 1fr !important;gap:14px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1.18rem;padding:16px 16px 0}
  .woocommerce ul.products li.product .price{padding:6px 16px 0}
  .woocommerce ul.products li.product .button{margin:14px 16px 16px}
}
