/*
Theme Name: Delamoda Active
Theme URI: https://delamodaactive.com/
Author: Delamoda Active
Description: Delamoda Active storefront theme with WooCommerce support. React app is loaded only on the homepage (or via shortcode) to avoid breaking checkout.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: delamoda-active
Tags: e-commerce, woocommerce, block-styles, custom-logo
*/

/* Base safety styles */
html, body { height: auto; min-height: 100%; }
body { margin: 0; }

/* Header layout (kept minimal; app CSS does most styling) */
.site-header{
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.header-inner{
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 180px;
}
.brand img{ height: 34px; width:auto; display:block; }
.brand .site-title{ font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; }

.header-actions{
  display:flex;
  align-items:center;
  gap: 12px;
}
.header-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  text-decoration:none;
  color: inherit;
}
.header-actions a:hover{ background: rgba(0,0,0,.06); }

.header-search{
  flex: 1;
  max-width: 520px;
}
.header-search form{
  display:flex;
  align-items:center;
  border:1px solid rgba(0,0,0,.14);
  border-radius: 999px;
  overflow:hidden;
  background:#fff;
}
.header-search input[type="search"]{
  width:100%;
  border:0;
  outline:0;
  padding: 10px 12px;
  font-size: 14px;
}
.header-search button{
  border:0;
  background: transparent;
  padding: 0 12px;
  cursor:pointer;
}
.header-search svg{ width:18px; height:18px; }

/* Cart count badge */
.cart-count{
  position: relative;
}
.cart-count .count{
  position:absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #000;
  color:#fff;
  font-size: 11px;
  line-height: 16px;
  text-align:center;
  padding: 0 4px;
}

/* Woo pages basic spacing */
.woocommerce .site-main{
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 16px 80px;
}
.woocommerce-breadcrumb{ margin-bottom: 12px; }

/* Prevent “footer stuck” if the app pins scroll */
.delamoda-app-wrap { position: relative; }
