/*
Theme Name: Misk Cosmetics
Theme URI: https://miskcosmetics.com/
Author: Misk Cosmetics
Description: Arabic RTL starter theme for Misk Cosmetics with WooCommerce support and WhatsApp ordering.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: misk-cosmetics
License: GPL-2.0-or-later
*/
:root {
  --misk-cream: #f7f2e9;
  --misk-sand: #e8dccb;
  --misk-brown: #654b3b;
  --misk-deep: #34251e;
  --misk-gold: #b3925b;
  --misk-white: #fffdf9;
  --misk-muted: #756b63;
  --misk-radius: 18px;
  --misk-shadow: 0 10px 30px rgba(52,37,30,.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--misk-white); color: var(--misk-deep);
  font-family: Tahoma, Arial, sans-serif; line-height: 1.8;
}
a { color: var(--misk-brown); text-decoration: none; }
a:hover { color: var(--misk-gold); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.misk-container { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }
.misk-topbar { background: var(--misk-deep); color: #fff; text-align: center; padding: 7px 12px; font-size: 13px; }
.misk-header { background: var(--misk-cream); border-bottom: 1px solid rgba(101,75,59,.12); }
.misk-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; }
.misk-brand { display: flex; align-items: center; gap: 12px; color: var(--misk-deep); }
.misk-brand img { width: 58px; max-height: 58px; object-fit: contain; }
.misk-brand-name { font-size: 25px; font-weight: 700; letter-spacing: .3px; line-height: 1.2; }
.misk-brand-tagline { font-size: 12px; color: var(--misk-muted); }
.misk-nav ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.misk-nav a { font-size: 14px; font-weight: 600; }
.misk-header-actions { display: flex; gap: 10px; align-items: center; }
.misk-button, .button, button.button, input.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 11px 20px; background: var(--misk-brown);
  color: #fff !important; cursor: pointer; transition: transform .18s ease, background .18s ease;
  font-weight: 700; line-height: 1.5;
}
.misk-button:hover, .button:hover, button.button:hover { background: var(--misk-deep); transform: translateY(-1px); }
.misk-button-outline { background: transparent; border: 1px solid var(--misk-brown); color: var(--misk-brown) !important; }
.misk-hero { background: linear-gradient(110deg, #f7f2e9 0%, #efe3d2 58%, #dfc9ae 100%); padding: clamp(42px, 7vw, 92px) 0; overflow: hidden; }
.misk-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 42px; }
.misk-eyebrow { color: var(--misk-gold); font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.misk-hero h1 { font-size: clamp(32px, 5vw, 58px); line-height: 1.25; margin: 8px 0 16px; max-width: 680px; }
.misk-hero p { color: #66574d; max-width: 560px; margin: 0 0 24px; }
.misk-hero-art { min-height: 290px; border-radius: 45% 45% 22px 22px; background: radial-gradient(circle at 50% 35%, #fff9ef 0 18%, #d8bea0 19% 39%, #a98768 40% 41%, #e8d6c0 42% 100%); box-shadow: var(--misk-shadow); display: flex; align-items: center; justify-content: center; padding: 28px; }
.misk-hero-art span { display: block; color: #fffaf3; font-size: clamp(25px, 4vw, 43px); font-weight: 700; text-shadow: 0 3px 18px rgba(52,37,30,.35); text-align: center; }
.misk-section { padding: 54px 0; }
.misk-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.misk-section-heading h2 { font-size: clamp(23px, 3vw, 34px); margin: 0; }
.misk-section-heading p { color: var(--misk-muted); margin: 4px 0 0; }
.misk-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.misk-category-card { background: var(--misk-cream); border-radius: var(--misk-radius); padding: 26px 18px; text-align: center; border: 1px solid rgba(101,75,59,.09); transition: transform .2s ease, box-shadow .2s ease; }
.misk-category-card:hover { transform: translateY(-3px); box-shadow: var(--misk-shadow); }
.misk-category-icon { font-size: 30px; margin-bottom: 6px; }
.misk-category-card strong { display: block; font-size: 16px; }
.misk-category-card small { color: var(--misk-muted); }
.misk-products-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.misk-product-card { background: #fff; border: 1px solid #eee5da; border-radius: var(--misk-radius); overflow: hidden; padding: 12px; box-shadow: 0 5px 20px rgba(52,37,30,.035); }
.misk-product-card .woocommerce-loop-product__link { display: block; }
.misk-product-card img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: contain; background: var(--misk-cream); border-radius: 12px; }
.misk-product-card h2, .misk-product-card .woocommerce-loop-product__title { font-size: 15px !important; line-height: 1.6; margin: 10px 0 4px !important; color: var(--misk-deep); }
.price { color: var(--misk-brown) !important; font-weight: 700; }
.misk-product-card .button { width: 100%; margin-top: 8px; font-size: 13px; padding: 9px 12px; }
.misk-product-card .misk-wa-order { background: #2b7b55; margin-top: 8px; }
.misk-product-card .misk-wa-order:hover { background: #1f6242; }
.misk-promo { background: var(--misk-deep); color: #fff; border-radius: 26px; padding: 34px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.misk-promo h2 { margin: 0 0 6px; }
.misk-promo p { color: #e2d7cd; margin: 0; }
.misk-footer { background: var(--misk-cream); margin-top: 40px; padding: 38px 0 20px; border-top: 1px solid #e9ddce; }
.misk-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.misk-footer h3 { margin-top: 0; }
.misk-footer p, .misk-footer li { color: var(--misk-muted); font-size: 14px; }
.misk-footer ul { list-style: none; margin: 0; padding: 0; }
.misk-copyright { text-align: center; border-top: 1px solid #e4d7c7; margin-top: 24px; padding-top: 16px; font-size: 12px; color: var(--misk-muted); }
.misk-wa-float { position: fixed; z-index: 999; bottom: 20px; inset-inline-end: 20px; background: #217b50; color: #fff !important; border-radius: 999px; padding: 12px 18px; box-shadow: 0 6px 24px rgba(0,0,0,.18); font-weight: 700; }
.misk-page { padding: 38px 0 60px; }
.misk-page h1 { line-height: 1.35; }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; background: #fff; border: 1px solid #eee5da; border-radius: var(--misk-radius); padding: 12px; overflow: hidden; }
.woocommerce ul.products li.product img { border-radius: 12px; background: var(--misk-cream); }
.woocommerce div.product div.images img { border-radius: var(--misk-radius); background: var(--misk-cream); }
.woocommerce div.product .product_title { font-size: clamp(25px, 3vw, 38px); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--misk-gold); }
.site-main { min-height: 50vh; }
@media (max-width: 900px) {
  .misk-header-inner { flex-wrap: wrap; }
  .misk-nav { order: 3; width: 100%; }
  .misk-nav ul { justify-content: center; gap: 12px 18px; }
  .misk-hero-grid { grid-template-columns: 1fr; }
  .misk-hero-art { min-height: 220px; }
  .misk-category-grid, .misk-products-grid, .woocommerce ul.products { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .misk-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .misk-container { width: min(100% - 22px, 1200px); }
  .misk-header-inner { padding-block: 12px; }
  .misk-brand-name { font-size: 21px; }
  .misk-header-actions .misk-button { padding: 9px 12px; font-size: 12px; }
  .misk-section { padding: 36px 0; }
  .misk-section-heading { align-items: start; flex-direction: column; }
  .misk-category-grid { gap: 10px; }
  .misk-category-card { padding: 18px 10px; }
  .misk-products-grid, .woocommerce ul.products { gap: 10px !important; }
  .misk-product-card { padding: 8px; }
  .misk-promo { padding: 24px 18px; align-items: start; flex-direction: column; }
  .misk-footer-grid { grid-template-columns: 1fr; }
}
