/*
 Theme Name:   Footwear Empire (Blocksy Child)
 Theme URI:    https://footwearempire.com
 Description:  Blocksy child — Footwear Empire (Kona design, synced)
 Author:       Footwear Empire
 Template:     blocksy
 Version:      1.1.1
*/

/* Blocksy: if header/footer look unstyled, inspect wrapper and add its class next to .site-header / .site-footer. */

:root {
  --fe-bg: #f7f4ee;
  --fe-surface: #ffffff;
  --fe-surface-soft: #fcfaf6;
  --fe-text: #111111;
  --fe-text-soft: #666666;
  --fe-border: #e7e0d2;
  --fe-gold: #c8922a;
  --fe-gold-soft: #e8b84b;
  --fe-dark: #0f0f0f;
  --fe-green: #2a7a4b;
  --fe-red: #b42318;
  --fe-shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
  --fe-radius: 16px;
  --fe-gold-light: var(--fe-gold-soft);
  --fe-green-trust: var(--fe-green);
}

body.woocommerce,
body.woocommerce-page,
body.single-product {
  background: linear-gradient(180deg, #fbf9f4 0%, #f7f4ee 100%) !important;
  color: var(--fe-text) !important;
}

.site-header,
header.site-header,
header#masthead,
#header.site-header {
  background: rgba(15, 15, 15, 0.96) !important;
  border-bottom: 1px solid rgba(232, 184, 75, 0.25) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

.site-header .site-logo img,
.site-header .custom-logo,
header#masthead .custom-logo img,
header#masthead .site-logo img {
  max-height: 34px !important;
  width: auto !important;
}

.site-header a,
.site-header .menu-item a,
.site-header .cart-contents,
header#masthead a {
  color: #f7f0de !important;
}

.site-header .cart-contents:hover,
.site-header a:hover,
.site-header .menu-item a:hover,
header#masthead a:hover {
  color: var(--fe-gold-soft) !important;
}

.fe-urgency {
  background: linear-gradient(90deg, #161616 0%, #202020 50%, #161616 100%) !important;
  color: #f8d878 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  text-align: center;
  padding: 10px 16px;
}

.fe-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25d366;
  margin-right: 8px;
  vertical-align: middle;
  animation: fe-pulse-dot 1.8s ease-in-out infinite;
}

@keyframes fe-pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(0.92);
  }
}

.fe-trust-bar {
  display: none !important;
}

.fe-whatsapp {
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.28) !important;
}

.woocommerce-products-header,
.page-header,
.shop-content {
  background: transparent !important;
}

.woocommerce-ordering,
.woocommerce-result-count,
.shop_filtering,
.shop-toolbar {
  display: none !important;
}

.fe-shop-hero {
  margin: 12px 0 28px !important;
  padding: 28px 24px !important;
  background: linear-gradient(135deg, #141414 0%, #252525 100%) !important;
  border: 1px solid rgba(232, 184, 75, 0.2) !important;
  border-radius: 22px !important;
  color: #fff !important;
  box-shadow: 0 18px 40px rgba(15, 15, 15, 0.14) !important;
}

.fe-shop-hero__eyebrow {
  display: inline-block !important;
  margin-bottom: 10px !important;
  color: var(--fe-gold-soft) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
}

.fe-shop-hero__title {
  margin: 0 0 10px !important;
  color: #fff !important;
  font-size: 32px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
}

.fe-shop-hero__text {
  margin: 0 !important;
  max-width: 680px !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
}

.woocommerce-products-header__title,
h1.page-title,
.single-product .entry-title,
.product_title {
  color: var(--fe-text) !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce-breadcrumb {
  color: var(--fe-text-soft) !important;
  font-size: 12px !important;
}

.woocommerce .woocommerce-breadcrumb a,
.woocommerce-breadcrumb a {
  color: var(--fe-gold) !important;
}

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 18px !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  background: var(--fe-surface) !important;
  border: 1px solid var(--fe-border) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: var(--fe-shadow) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.12) !important;
}

.woocommerce ul.products li.product img {
  width: 100% !important;
  height: 260px !important;
  object-fit: cover !important;
  transition: transform 0.3s ease !important;
}

.woocommerce ul.products li.product:hover img {
  transform: scale(1.035) !important;
}

.woocommerce ul.products li.product .onsale {
  top: 14px !important;
  left: 14px !important;
  right: auto !important;
  min-height: auto !important;
  min-width: auto !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: var(--fe-red) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
  color: var(--fe-text) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  padding: 14px 16px 6px !important;
  margin: 0 !important;
  min-height: 58px !important;
}

.woocommerce ul.products li.product .price {
  color: var(--fe-text) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  padding: 0 16px 12px !important;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button {
  margin: 0 16px 16px !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  border: none !important;
  background: linear-gradient(135deg, var(--fe-dark) 0%, #242424 100%) !important;
  color: #fff !important;
  text-align: center !important;
  font-size: 0 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 8px 16px rgba(15, 15, 15, 0.16) !important;
}

.woocommerce ul.products li.product .button::after,
.woocommerce ul.products li.product a.button::after {
  content: "Voir le produit" !important;
  font-size: 12px !important;
}

.woocommerce div.product div.images img {
  border-radius: 18px !important;
}

.single-product div.product .summary,
.woocommerce div.product div.summary {
  background: var(--fe-surface) !important;
  border: 1px solid var(--fe-border) !important;
  border-radius: 20px !important;
  padding: 24px !important;
  box-shadow: var(--fe-shadow) !important;
}

.product p.price,
.product span.price {
  color: var(--fe-text) !important;
  font-weight: 900 !important;
  font-size: 30px !important;
  line-height: 1.15 !important;
}

.product p.price del,
.product span.price del {
  color: var(--fe-text-soft) !important;
  font-size: 18px !important;
}

.product_meta .sku_wrapper,
.product_meta .posted_in,
.product_meta .tagged_as,
.sharedaddy,
[class*="wishlist"] {
  display: none !important;
}

.single_add_to_cart_button,
.woocommerce .single_add_to_cart_button,
button.single_add_to_cart_button,
.product .cart .button,
.wc-proceed-to-checkout a,
a.checkout-button,
#place_order {
  background: linear-gradient(135deg, var(--fe-gold) 0%, var(--fe-gold-soft) 50%, var(--fe-gold) 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 14px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 10px 24px rgba(200, 146, 42, 0.35) !important;
}

.single_add_to_cart_button:hover,
.wc-proceed-to-checkout a:hover,
a.checkout-button:hover,
#place_order:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 28px rgba(200, 146, 42, 0.42) !important;
}

.fe-wilaya-wrap,
.woocommerce-checkout #order_review,
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  background: var(--fe-surface) !important;
  border: 1px solid var(--fe-border) !important;
  border-radius: 18px !important;
  box-shadow: var(--fe-shadow) !important;
  width: 100% !important;
  float: none !important;
  margin-bottom: 18px !important;
}

.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.fe-wilaya-wrap select {
  border-radius: 12px !important;
  border: 1px solid #ddd8cb !important;
  background: #fff !important;
  min-height: 48px !important;
  font-size: 15px !important;
}

.woocommerce-checkout .input-text:focus,
.woocommerce-checkout select:focus,
.fe-wilaya-wrap select:focus {
  border-color: var(--fe-gold) !important;
  box-shadow: 0 0 0 4px rgba(200, 146, 42, 0.12) !important;
}

.woocommerce-checkout h3,
#order_review_heading {
  color: var(--fe-text) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid #f1ebe0 !important;
}

.woocommerce-checkout #payment::before {
  content: "Paiement a la livraison - Cash uniquement";
  display: block !important;
  margin-bottom: 16px !important;
  padding: 14px 16px !important;
  background: #edf7f0 !important;
  border: 1px solid #b8e0c8 !important;
  border-radius: 12px !important;
  color: #1e5e3a !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

.woocommerce-checkout #payment .payment_box,
.woocommerce-checkout #payment ul.payment_methods li label,
.woocommerce-checkout #payment ul.payment_methods {
  display: none !important;
}

.woocommerce-checkout .woocommerce-newsletter,
.woocommerce-checkout [class*="newsletter"],
.woocommerce-checkout [id*="newsletter"],
.woocommerce-checkout .mc4wp-form,
.woocommerce-checkout [class*="mailchimp"],
.woocommerce-checkout #billing_address_1_field,
.woocommerce-checkout #billing_address_2_field,
.woocommerce-checkout #billing_city_field,
.woocommerce-checkout #ship-to-different-address,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .shipping_address,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout .create-account,
.woocommerce-checkout .form-row.notes,
.woocommerce-checkout .woocommerce-form__label-for-checkbox,
.woocommerce-checkout p:has(input[name*="newsletter"]),
.woocommerce-checkout p:has(input[name*="subscribe"]) {
  display: none !important;
}

.woocommerce-checkout .col2-set,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout form.checkout {
  display: block !important;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2,
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last,
.woocommerce-checkout .form-row-wide {
  width: 100% !important;
  float: none !important;
  clear: both !important;
  margin-right: 0 !important;
}

.woocommerce-checkout #place_order,
.woocommerce-checkout button[name="woocommerce_checkout_place_order"],
.woocommerce-checkout input[name="woocommerce_checkout_place_order"] {
  background: linear-gradient(135deg, var(--fe-gold) 0%, var(--fe-gold-soft) 50%, var(--fe-gold) 100%) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  min-height: 60px !important;
  width: 100% !important;
}

.woo-single-sticky-bar .button,
.woo-single-sticky-bar button,
.woo-single-sticky-bar input,
.kona-atc-bar .button,
.kona-atc-bar button,
.kona-atc-bar input,
[class*="sticky"] .button,
[class*="sticky"] button,
[class*="sticky"] input {
  background: linear-gradient(135deg, var(--fe-gold) 0%, var(--fe-gold-soft) 50%, var(--fe-gold) 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  min-width: 100% !important;
  width: 100% !important;
  min-height: 58px !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.woocommerce-order-received .woocommerce-thankyou-order-received {
  background: linear-gradient(135deg, #141414 0%, #202020 100%) !important;
  color: #fff !important;
  border-radius: 18px !important;
  padding: 24px 20px !important;
  box-shadow: var(--fe-shadow) !important;
}

.woocommerce-order-received h1.entry-title,
.woocommerce-order-received .page-title,
.woocommerce-order-overview {
  display: none !important;
}

.woocommerce-order-overview,
.woocommerce-order-details,
.woocommerce-customer-details,
.fe-next-steps {
  background: var(--fe-surface) !important;
  border: 1px solid var(--fe-border) !important;
  border-radius: 18px !important;
  box-shadow: var(--fe-shadow) !important;
}

.fe-next-steps {
  padding: 20px 22px;
  margin: 24px 0;
}

.fe-next-steps h3 {
  margin: 0 0 16px;
  font-size: 17px;
}

.fe-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.45;
}

.fe-step:last-child {
  margin-bottom: 0;
}

.fe-step-icon {
  flex-shrink: 0;
  font-size: 22px;
  line-height: 1;
}

.fe-step-text strong {
  display: block;
  margin-bottom: 4px;
  color: #111;
}

.woocommerce-checkout #payment,
#payment,
.woocommerce-checkout h3#payment_heading {
  display: none !important;
}

.woocommerce-checkout p:has(input[type="checkbox"]:not(#terms)),
#billing_newsletter_field,
.wc-mnm-newsletter,
label[for*="newsletter"],
label[for*="subscribe"] {
  display: none !important;
}

.fe-whatsapp {
  width: 58px !important;
  height: 58px !important;
  line-height: 58px !important;
  font-size: 28px !important;
  bottom: 24px !important;
  right: 16px !important;
  position: fixed !important;
  z-index: 99998 !important;
}

.woocommerce-shipping-totals,
tr.shipping,
.shipping-calculator-button {
  display: none !important;
}

.site-footer .site-info {
  font-size: 12px !important;
  color: #666 !important;
  text-align: center !important;
  padding: 14px !important;
  border-top: 1px solid #222 !important;
}

.site-footer,
footer#colophon {
  background: #111111 !important;
  color: #aaaaaa !important;
  border-top: 1px solid rgba(232, 184, 75, 0.18) !important;
}

.site-footer h6,
.site-footer .widget-title {
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  font-size: 12px !important;
}

.site-footer a {
  color: #d7d1c4 !important;
}

.site-footer a:hover {
  color: var(--fe-gold-soft) !important;
}

footer .payment-options img,
footer img[src*="payment"],
footer img[src*="spab-rice"] {
  display: none !important;
}

.woocommerce a.button,
.woocommerce button.button.alt {
  min-height: 48px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (max-width: 767px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 10px !important;
  }

  .woocommerce ul.products li.product img {
    height: 160px !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce ul.products li.product h2 {
    min-height: 40px !important;
    font-size: 11px !important;
    padding: 8px 10px 4px !important;
  }

  .woocommerce ul.products li.product .price {
    padding: 0 12px 10px !important;
    font-size: 14px !important;
  }

  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product a.button {
    margin: 0 12px 12px !important;
  }

  .single-product div.product .summary,
  .woocommerce div.product div.summary {
    padding: 18px !important;
    border-radius: 18px !important;
  }

  .single_add_to_cart_button,
  #place_order,
  .woocommerce-checkout button[name="woocommerce_checkout_place_order"],
  .woocommerce-checkout input[name="woocommerce_checkout_place_order"],
  .woocommerce-cart .wc-proceed-to-checkout a,
  .woocommerce-cart a.checkout-button,
  .woo-single-sticky-bar .button,
  .woo-single-sticky-bar button,
  .woo-single-sticky-bar input,
  .kona-atc-bar .button,
  .kona-atc-bar button,
  .kona-atc-bar input,
  [class*="sticky"] .button,
  [class*="sticky"] button,
  [class*="sticky"] input {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    z-index: 999999 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 18px 20px !important;
  }

  body.single-product,
  body.woocommerce-cart,
  body.woocommerce-checkout {
    padding-bottom: 100px !important;
  }

  .fe-whatsapp {
    bottom: 96px !important;
  }

  .fe-shop-hero {
    padding: 22px 18px !important;
    margin-bottom: 20px !important;
  }

  .fe-shop-hero__title {
    font-size: 24px !important;
  }
}

/* =========================================================
   Conversion Override v2 (clean, premium, mobile-first)
   ========================================================= */

/* Remove bulky archive/page titles; keep focus on products */
.woocommerce-products-header__title,
h1.page-title,
.entry-header .page-title {
  display: none !important;
}

/* Remove custom dark hero for a cleaner premium look */
.fe-shop-hero {
  display: none !important;
}

/* Cleaner product cards */
.woocommerce ul.products {
  gap: 14px !important;
}

.woocommerce ul.products li.product {
  border-radius: 14px !important;
  border: 1px solid #ebe6dc !important;
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.07) !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
  font-size: 13px !important;
  line-height: 1.35 !important;
  min-height: auto !important;
  padding: 10px 12px 4px !important;
}

.woocommerce ul.products li.product .price {
  padding: 0 12px 10px !important;
  font-size: 15px !important;
}

/* Hide noisy text blocks in product loops */
.woocommerce ul.products li.product .woocommerce-product-details__short-description,
.woocommerce ul.products li.product .short-description,
.woocommerce ul.products li.product .star-rating {
  display: none !important;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button {
  margin: 0 12px 12px !important;
  border-radius: 10px !important;
  font-size: 0 !important;
}

.woocommerce ul.products li.product .button::after,
.woocommerce ul.products li.product a.button::after {
  content: "Achat rapide" !important;
  font-size: 11px !important;
  letter-spacing: 0.04em !important;
}

/* Keep payment box visible (required for place_order button) */
.woocommerce-checkout #payment,
#payment {
  display: block !important;
}

/* Keep only minimal payment UI but preserve submit button */
.woocommerce-checkout #payment ul.payment_methods {
  margin-bottom: 10px !important;
}

/* Mobile improvements */
@media (max-width: 767px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 8px !important;
  }

  .woocommerce ul.products li.product img {
    height: 205px !important;
    object-fit: cover !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce ul.products li.product h2 {
    font-size: 12px !important;
    min-height: 32px !important;
    padding: 8px 10px 2px !important;
  }

  .woocommerce ul.products li.product .price {
    font-size: 14px !important;
    padding: 0 10px 8px !important;
  }
}

/* =========================================================
   Product Loop Cleanup (remove noisy category/meta text)
   ========================================================= */

/* Hide categories/tags/meta under product images/cards */
.woocommerce ul.products li.product .posted_in,
.woocommerce ul.products li.product .tagged_as,
.woocommerce ul.products li.product .product_meta,
.woocommerce ul.products li.product .product-categories,
.woocommerce ul.products li.product .ct-woo-card-extra,
.woocommerce ul.products li.product .ct-product-categories,
.woocommerce ul.products li.product .ct-product-card-actions + * {
  display: none !important;
}

/* Keep card content short and premium */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
  margin-bottom: 2px !important;
}

/* Reduce visual overload on images */
.woocommerce ul.products li.product img {
  filter: saturate(0.98) contrast(1.02);
}

.woocommerce ul.products li.product:hover img {
  transform: none !important;
}
