/*
 Theme Name:   Woodmart Child
 Description:  MAKSHAT premium RTL storefront
 Author:       MAKSHAT
 Template:     woodmart
 Version:      1.1.0
 Text Domain:  woodmart
*/

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;600;700;800&display=swap');

:root {
  --makshat-gold: #845506;
  --makshat-brown: #5B5344;
  --makshat-sand: #D8C4AC;
  --makshat-ink: #2f2922;
  --makshat-cream: #f8f4ee;
  --makshat-white: #fff;
  --makshat-radius: 18px;
  --makshat-shadow: 0 18px 55px rgba(55, 38, 18, .12);
}

html { scroll-behavior: smooth; }
body,
button,
input,
select,
textarea,
.wd-nav,
.woocommerce,
.elementor-widget-text-editor {
  font-family: "GE SS Two", "Tajawal", Arial, sans-serif !important;
}

body {
  direction: rtl;
  color: var(--makshat-ink);
  background: var(--makshat-white);
  line-height: 1.75;
}

h1, h2, h3, h4, h5, h6,
.title,
.product-title,
.wd-entities-title {
  font-family: "GE SS Two", "Tajawal", Arial, sans-serif !important;
  color: var(--makshat-brown);
  letter-spacing: -.025em;
}

a { transition: color .25s ease, background-color .25s ease, transform .25s ease, box-shadow .25s ease; }

/* Header */
.whb-header .wd-header-text,
.whb-header .wd-header-text p { margin: 0; font-size: 13px; }
.whb-header .site-logo img { object-fit: contain; }
.whb-general-header .wd-search-form form {
  border: 1px solid rgba(132, 85, 6, .2);
  border-radius: 999px;
  background: #fbf9f6;
  overflow: hidden;
}
.whb-general-header .searchform input[type="text"] { padding-inline: 22px; }
.whb-general-header .wd-tools-element > a { color: var(--makshat-brown); }
.whb-general-header .wd-tools-element:hover > a { color: var(--makshat-gold); }
.whb-header-bottom .wd-nav > li > a {
  color: var(--makshat-brown);
  font-size: 14px;
  font-weight: 700;
  padding-inline: 16px;
}
.whb-header-bottom .wd-nav > li:hover > a,
.whb-header-bottom .wd-nav > li.current-menu-item > a { color: var(--makshat-gold); }
.wd-header-cats .menu-opener {
  border-radius: 10px;
  min-width: 230px;
  font-weight: 700;
}
.wd-dropdown-menu,
.wd-dropdown-cats { border-radius: 14px; box-shadow: var(--makshat-shadow); overflow: hidden; }

/* Hero */
.makshat-hero-section { overflow: hidden; }
.makshat-hero-section .elementor-container { min-height: 720px; }
.makshat-hero-section .elementor-column { z-index: 1; }
.makshat-hero-section .makshat-eyebrow h5,
.makshat-hero-section .makshat-eyebrow .elementor-heading-title {
  display: inline-flex;
  width: auto;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  background: rgba(132,85,6,.55);
  backdrop-filter: blur(8px);
}
.makshat-hero-title .elementor-heading-title {
  max-width: 680px;
  color: #fff;
  font-size: clamp(44px, 5.8vw, 84px);
  line-height: 1.12;
  font-weight: 800;
  text-shadow: 0 8px 30px rgba(0,0,0,.28);
}
.makshat-hero-copy,
.makshat-hero-copy p {
  max-width: 650px;
  color: rgba(255,255,255,.92);
  font-size: clamp(17px, 1.55vw, 23px);
  line-height: 1.9;
}
.makshat-hero-section .elementor-inner-section { max-width: 540px; margin-top: 24px; }

/* Buttons */
.makshat-btn .elementor-button,
.wd-button,
.button,
button[type="submit"],
input[type="submit"],
.single_add_to_cart_button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px !important;
  padding: 13px 26px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.makshat-btn-primary .elementor-button,
.single_add_to_cart_button,
.checkout-button,
.place-order button {
  color: #fff !important;
  background: var(--makshat-gold) !important;
  box-shadow: 0 10px 28px rgba(132,85,6,.25);
}
.makshat-btn-primary .elementor-button:hover,
.single_add_to_cart_button:hover,
.checkout-button:hover,
.place-order button:hover { background: var(--makshat-brown) !important; transform: translateY(-2px); }
.makshat-btn-outline .elementor-button {
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.65) !important;
  background: rgba(255,255,255,.08) !important;
  backdrop-filter: blur(8px);
}
.makshat-btn-outline .elementor-button:hover { color: var(--makshat-brown) !important; background: #fff !important; }
.makshat-btn-light .elementor-button { color: var(--makshat-brown) !important; background: #fff !important; }
.makshat-btn-light .elementor-button:hover { color: #fff !important; background: var(--makshat-gold) !important; }

/* Benefits */
.makshat-benefits {
  position: relative;
  z-index: 3;
  margin-top: -38px;
}
.makshat-benefits > .elementor-container {
  overflow: hidden;
  border: 1px solid rgba(132,85,6,.12);
  border-radius: var(--makshat-radius);
  background: #fff;
  box-shadow: var(--makshat-shadow);
}
.makshat-benefits .elementor-column { padding: 26px 24px; }
.makshat-benefits .elementor-column:not(:last-child) { border-inline-end: 1px solid rgba(132,85,6,.12); }
.makshat-benefits h4 { margin-bottom: 3px; color: var(--makshat-gold); font-size: 18px; font-weight: 800; }
.makshat-benefits p { margin: 0; color: #74695e; font-size: 14px; }

/* Shared section styling */
.makshat-section-heading { padding: 96px 20px 34px; text-align: center; }
.makshat-section-kicker .elementor-heading-title {
  color: var(--makshat-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}
.makshat-section-title .elementor-heading-title {
  color: var(--makshat-brown);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.25;
  font-weight: 800;
}
.makshat-section-copy { max-width: 720px; margin-inline: auto; color: #6d6359; font-size: 17px; }

/* Categories */
.makshat-categories-grid { padding-inline: 20px; }
.makshat-categories-grid-last { padding-top: 24px; padding-bottom: 96px; }
.makshat-category-card {
  overflow: hidden;
  border: 1px solid rgba(132,85,6,.12);
  border-radius: var(--makshat-radius);
  background: #fff;
  box-shadow: 0 10px 34px rgba(71,49,25,.08);
}
.makshat-category-card:hover { transform: translateY(-7px); box-shadow: var(--makshat-shadow); }
.makshat-category-card .elementor-image-box-img { width: 100% !important; margin: 0 !important; overflow: hidden; }
.makshat-category-card img { width: 100%; height: 285px; object-fit: cover; transition: transform .55s ease; }
.makshat-category-card:hover img { transform: scale(1.055); }
.makshat-category-card .elementor-image-box-content { padding: 24px 24px 28px; text-align: right; }
.makshat-category-card .elementor-image-box-title { margin-bottom: 8px; color: var(--makshat-brown); font-size: 22px; font-weight: 800; }
.makshat-category-card .elementor-image-box-description { margin: 0; color: #786d63; }

/* Brand story */
.makshat-about-section { padding: 96px 20px; background: var(--makshat-cream); }
.makshat-about-section .elementor-container { gap: 58px; }
.makshat-about-image img { width: 100%; min-height: 540px; object-fit: cover; border-radius: 22px; box-shadow: var(--makshat-shadow); }
.makshat-about-section .elementor-widget-text-editor { color: #665d54; font-size: 17px; }
.makshat-about-section .elementor-widget-text-editor strong { color: var(--makshat-gold); }

/* Products */
.makshat-products-heading { padding-bottom: 14px; }
.makshat-products-section { padding: 10px 20px 92px; }
.products .product-grid-item {
  overflow: hidden;
  border: 1px solid rgba(132,85,6,.1);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(59,40,20,.07);
}
.products .product-grid-item:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(59,40,20,.13); }
.product-grid-item .product-image-link img { aspect-ratio: 1 / 1; object-fit: cover; }
.product-grid-item .product-element-bottom { padding: 18px; }
.wd-entities-title { font-size: 16px !important; font-weight: 700 !important; }
.price { color: var(--makshat-gold) !important; font-weight: 800 !important; }
.labels-rounded .product-label { border-radius: 999px; }

/* Promo cards */
.makshat-promos { padding: 20px 20px 96px; }
.makshat-promos > .elementor-container { gap: 24px; }
.makshat-promo-card {
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 22px;
  padding: 42px !important;
  box-shadow: var(--makshat-shadow);
}
.makshat-promo-card h3,
.makshat-promo-card .elementor-widget-text-editor { color: #fff; }
.makshat-promo-card h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.35; }
.makshat-promo-card .elementor-widget-text-editor { font-size: 16px; }

/* Closing CTA */
.makshat-closing-cta { padding: 105px 20px; color: #fff; }
.makshat-closing-cta h2,
.makshat-closing-cta .elementor-widget-text-editor { color: #fff; }
.makshat-closing-cta h2 { max-width: 720px; font-size: clamp(38px, 5vw, 66px); line-height: 1.2; }
.makshat-closing-cta .elementor-widget-text-editor { font-size: 20px; }
.makshat-cta-mark { width: 105px !important; margin-inline-start: 0; }
.makshat-cta-mark img { max-height: 90px; width: auto; object-fit: contain; }

/* Footer */
.main-footer { background: var(--makshat-brown); color: rgba(255,255,255,.78); }
.makshat-footer-main { padding: 72px 20px 46px; background: var(--makshat-brown); }
.makshat-footer-main h4 { color: #fff; font-size: 18px; font-weight: 800; }
.makshat-footer-main p { margin-bottom: 10px; color: rgba(255,255,255,.75); }
.makshat-footer-main a { color: rgba(255,255,255,.78); }
.makshat-footer-main a:hover { color: var(--makshat-sand); }
.makshat-footer-logo { max-width: 260px; }
.makshat-footer-logo img { max-height: 150px; width: auto; object-fit: contain; }
.makshat-footer-bottom { padding: 20px; border-top: 1px solid rgba(255,255,255,.12); background: #4d463a; }
.makshat-footer-bottom p { margin: 0; color: rgba(255,255,255,.68); font-size: 13px; }
.makshat-footer-bottom .elementor-column:last-child { text-align: left; }
.copyrights-wrapper { display: none !important; }

/* WooCommerce pages */
.page-title { background-color: var(--makshat-brown); }
.page-title .title { color: #fff; }
.woocommerce-breadcrumb,
.woocommerce-breadcrumb a { color: rgba(255,255,255,.72) !important; }
.shop-content-area,
.single-product-content,
.woocommerce-cart-form,
.woocommerce-checkout { padding-top: 34px; }
.single-product-page .summary-inner,
.cart-totals-inner,
.woocommerce-checkout-review-order {
  border: 1px solid rgba(132,85,6,.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(59,40,20,.08);
}
.single-product-page .summary-inner { padding: 30px; }
.product-tabs-wrapper { margin-top: 40px; background: var(--makshat-cream); }
.woocommerce-cart-form__cart-item,
.cart-totals-inner,
.woocommerce-checkout-review-order { border-color: rgba(132,85,6,.14) !important; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce select,
.select2-container--default .select2-selection--single {
  min-height: 48px;
  border: 1px solid rgba(91,83,68,.24);
  border-radius: 10px;
  background: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
  .makshat-hero-section .elementor-container { min-height: 650px; }
  .makshat-hero-section .elementor-column:first-child { width: 72%; }
  .makshat-hero-section .elementor-column:last-child { width: 28%; }
  .makshat-benefits { margin-top: -24px; }
  .makshat-benefits .elementor-column { padding: 22px 16px; }
  .makshat-category-card img { height: 230px; }
  .makshat-about-section .elementor-container { gap: 34px; }
  .makshat-about-image img { min-height: 460px; }
}

@media (max-width: 767px) {
  .whb-top-bar { display: none; }
  .whb-general-header { box-shadow: 0 8px 25px rgba(51,35,17,.08); }
  .makshat-hero-section { background-position: 62% center !important; }
  .makshat-hero-section .elementor-container { min-height: 610px; align-items: flex-end; }
  .makshat-hero-section .elementor-column:first-child { width: 100%; padding: 80px 12px 64px; }
  .makshat-hero-section .elementor-column:last-child { display: none; }
  .makshat-hero-title .elementor-heading-title { font-size: 42px; }
  .makshat-hero-copy, .makshat-hero-copy p { font-size: 17px; }
  .makshat-hero-section .elementor-inner-section .elementor-column { width: 50% !important; padding: 0 3px !important; }
  .makshat-hero-section .elementor-button { width: 100%; padding-inline: 10px !important; font-size: 13px; }
  .makshat-benefits { margin-top: 0; padding: 0 14px; }
  .makshat-benefits > .elementor-container { margin-top: -22px; }
  .makshat-benefits .elementor-column { width: 50%; border-bottom: 1px solid rgba(132,85,6,.12); }
  .makshat-benefits .elementor-column:not(:last-child) { border-inline-end: 0; }
  .makshat-section-heading { padding: 72px 18px 24px; }
  .makshat-section-title .elementor-heading-title { font-size: 34px; }
  .makshat-categories-grid { padding: 0 14px !important; }
  .makshat-categories-grid-last { padding-bottom: 72px !important; }
  .makshat-categories-grid .elementor-column { width: 100%; margin-bottom: 16px; }
  .makshat-category-card img { height: 240px; }
  .makshat-category-card .elementor-image-box-content { padding: 20px; }
  .makshat-about-section { padding: 70px 18px; }
  .makshat-about-section .elementor-column { width: 100%; }
  .makshat-about-section .elementor-column:first-child { margin-bottom: 34px; }
  .makshat-about-image img { min-height: 320px; }
  .makshat-products-section { padding: 10px 12px 70px; }
  .makshat-promos { padding: 0 14px 72px; }
  .makshat-promos .elementor-column { width: 100%; margin-bottom: 16px; }
  .makshat-promo-card { min-height: 370px; padding: 30px !important; }
  .makshat-closing-cta { padding: 78px 18px; background-position: 60% center !important; }
  .makshat-closing-cta .elementor-column:first-child { width: 100%; }
  .makshat-closing-cta .elementor-column:last-child { display: none; }
  .makshat-closing-cta h2 { font-size: 38px; }
  .makshat-footer-main { padding: 58px 18px 28px; }
  .makshat-footer-main .elementor-column { width: 100%; margin-bottom: 28px; }
  .makshat-footer-bottom .elementor-column { width: 100%; text-align: center !important; }
  .makshat-footer-bottom .elementor-column + .elementor-column { margin-top: 6px; }
  .products[data-columns="4"] .product-grid-item,
  .products.elements-grid > div { width: 50%; }
}

