/*
Theme Name: Footlogix
Theme URI: https://footlogix.co.id
Author: Footlogix Indonesia
Author URI: https://footlogix.co.id
Description: Tema WordPress modern untuk Footlogix – Perawatan Kaki Profesional. Dirancang khusus untuk digunakan bersama Elementor + WooCommerce. Clean, cepat, dan fully customizable.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
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: footlogix
Tags: e-commerce, elementor, woocommerce, custom-menu, custom-logo, featured-images, footer-widgets, theme-options, translation-ready

Footlogix Theme - Professional Foot Care
*/

/* =====================================================
   FOOTLOGIX THEME - Core Styles
   Digunakan bersama Elementor + WooCommerce
===================================================== */

:root {
  --fl-primary: #5B2C6F;
  --fl-primary-dark: #4A235A;
  --fl-primary-light: #7D3C98;
  --fl-secondary: #2C3E50;
  --fl-text-dark: #1A1A2E;
  --fl-text-muted: #6B7280;
  --fl-bg-light: #F8F7FC;
  --fl-bg-section: #F4F2F8;
  --fl-white: #FFFFFF;
  --fl-border: #E5E7EB;
  --fl-success: #10B981;
  --fl-promo: #EF4444;
  --fl-radius: 12px;
  --fl-radius-sm: 8px;
  --fl-shadow: 0 4px 20px rgba(91, 44, 111, 0.08);
  --fl-shadow-hover: 0 8px 30px rgba(91, 44, 111, 0.15);
}

/* Base */
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--fl-text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--fl-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--fl-primary-dark);
}

/* Buttons */
.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.elementor-button {
  background-color: var(--fl-primary) !important;
  color: #fff !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  border: none !important;
  transition: all 0.25s ease !important;
}

.button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.elementor-button:hover {
  background-color: var(--fl-primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--fl-shadow-hover);
}

/* WooCommerce Product Cards */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  border-radius: var(--fl-radius);
  box-shadow: var(--fl-shadow);
  overflow: hidden;
  transition: all 0.25s ease;
  background: #fff;
  padding: 0 0 16px !important;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--fl-shadow-hover);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 14px !important;
  font-weight: 600;
  padding: 12px 16px 4px;
  color: var(--fl-text-dark);
}

.woocommerce ul.products li.product .price {
  color: var(--fl-primary) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  padding: 0 16px;
}

.woocommerce ul.products li.product .button {
  margin: 12px 16px 0 !important;
  width: calc(100% - 32px) !important;
  text-align: center;
  border-radius: var(--fl-radius-sm) !important;
  padding: 10px 16px !important;
  font-size: 13px !important;
}

/* Single Product */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--fl-primary) !important;
  font-weight: 700;
  font-size: 28px;
}

.woocommerce div.product form.cart .button {
  border-radius: var(--fl-radius-sm) !important;
  padding: 14px 32px !important;
}

/* Sale / Badge */
.woocommerce span.onsale {
  background-color: var(--fl-promo) !important;
  border-radius: 20px !important;
  min-height: auto;
  line-height: 1.4;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
}

/* Cart & Checkout */
.woocommerce-cart table.cart img {
  width: 60px;
  border-radius: 8px;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout #order_review_heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--fl-text-dark);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
textarea,
select {
  border: 1px solid var(--fl-border) !important;
  border-radius: var(--fl-radius-sm) !important;
  padding: 12px 16px !important;
  font-size: 14px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--fl-primary) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(91, 44, 111, 0.1);
}

/* Header spacing when using Elementor header */
body.elementor-page .site-content {
  padding-top: 0;
}

/* Footer */
.site-footer {
  background: var(--fl-secondary);
  color: #CBD5E1;
  padding: 60px 0 30px;
}

/* Utility */
.fl-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.fl-section {
  padding: 70px 0;
}

.fl-bg-light {
  background: var(--fl-bg-light);
}

.fl-bg-section {
  background: var(--fl-bg-section);
}
/* Product Cards (global) */
.fl-product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(91, 44, 111, 0.08);
  transition: all 0.25s ease;
  position: relative;
  list-style: none !important;
}
.fl-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(91, 44, 111, 0.15);
}
.fl-product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  z-index: 2;
  color: #fff;
}
.fl-badge-terlaris { background: #5B2C6F; }
.fl-badge-promo { background: #EF4444; }
.fl-product-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8F7FC;
  padding: 20px;
}
.fl-product-image img {
  max-height: 160px;
  object-fit: contain;
  margin: 0 auto;
}
.fl-product-info { padding: 16px; }
.fl-product-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.4;
  min-height: 40px;
}
.fl-product-title a { color: #1A1A2E; text-decoration: none; }
.fl-product-price {
  font-size: 16px;
  font-weight: 700;
  color: #5B2C6F;
  margin-bottom: 12px;
}
.fl-btn-add-cart {
  display: block;
  width: 100%;
  background: #5B2C6F !important;
  color: #fff !important;
  border: none !important;
  padding: 10px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer;
  text-align: center;
  text-decoration: none !important;
  transition: background 0.2s;
}
.fl-btn-add-cart:hover { background: #4A235A !important; color: #fff !important; }
