/*
Theme Name: MainTheme - Fashion Store
Theme URI: https://example.com
Author: Developer
Author URI: https://example.com
Description: A modern WooCommerce theme for women's fashion store
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maintheme
Tags: e-commerce, woocommerce, responsive, custom-header, custom-menu
*/

/* ============================================
   CSS CUSTOM PROPERTIES (Theme Variables)
   Generated by WordPress Customizer
   ============================================ */

:root {
  /* Colors - Cart Page */
  --cart-bg: #ffffff;
  --cart-header-bg: #f8f8f8;
  --cart-border-color: #eeeeee;
  --cart-divider-color: #eeeeee;
  
  /* Text Colors */
  --cart-title-color: #222222;
  --cart-text-color: #555555;
  --cart-text-muted: #999999;
  --cart-link-color: #666666;
  --cart-link-hover: #222222;
  
  /* Price Colors */
  --cart-price-color: #222222;
  --cart-price-regular-color: #999999;
  --cart-sale-color: #c09578;
  --cart-savings-color: #c09578;
  
  /* Button Colors */
  --cart-btn-bg: #222222;
  --cart-btn-color: #ffffff;
  --cart-btn-hover-bg: #c09578;
  --cart-btn-border: #dddddd;
  
  /* Quantity Controls */
  --cart-qty-bg: #ffffff;
  --cart-qty-color: #333333;
  --cart-qty-border: #dddddd;
  
  /* Summary Box */
  --cart-summary-bg: #fafafa;
  --cart-summary-border: #eeeeee;
  
  /* Remove Button */
  --cart-remove-color: #cccccc;
  --cart-remove-hover: #e74c3c;
  
  /* Checkbox */
  --cart-checkbox-color: #555555;
  
  /* Typography */
  --cart-font-family: var(--ds-body-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  --cart-title-size: 28px;
  --cart-title-weight: 300;
  --cart-title-transform: uppercase;
  --cart-title-letter-spacing: 3px;
  
  --cart-text-size: 14px;
  --cart-small-text-size: 12px;
  
  --cart-font-weight-normal: 400;
  --cart-font-weight-medium: 500;
  --cart-font-weight-bold: 600;
  
  /* Spacing */
  --cart-padding-y: 40px;
  --cart-padding-bottom: 80px;
  --cart-item-padding: 24px;
  
  /* Layout */
  --cart-container-max: 1200px;
  --cart-gap: 40px;
  --cart-border-radius: 0px;
  
  /* Summary Box */
  --cart-summary-padding: 30px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    box-sizing: border-box;
    overflow-x: hidden;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
font-family: var(--ds-body-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif);
    line-height: 1.6;
    color: #333;
    background: #fff;
}

#main-content {
    width: 100%;
    clear: both;
}

#main-content::after {
    content: "";
    display: table;
    clear: both;
}

.site-header,
.top-bar,
#main-content,
.site-footer {
    position: relative;
    clear: both;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.content-area {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.top-bar {
    background: #000;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

.top-bar-text {
    font-size: 14px;
    font-weight: 700;
}

.main-header {
    padding: 20px 0;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-logo {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-navigation ul {
    display: flex;
    gap: 30px;
}

.main-navigation a {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #666;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-search {
    position: relative;
}

.header-search input {
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    width: 200px;
    transition: width 0.3s ease, border-color 0.3s ease;
}

.header-search input:focus {
    outline: none;
    border-color: #000;
    width: 250px;
}

.header-search button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

.header-search button:hover {
    color: #000;
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 500;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #000;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-link:hover {
    color: #666;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #000;
    margin: 5px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-search input {
        width: 150px;
    }

    .header-search input:focus {
        width: 180px;
    }

    .main-header .container {
        flex-wrap: wrap;
    }

    .site-logo img {
        max-width: 150px !important;
    }

    .main-navigation.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        border-top: 1px solid #eee;
    }

    .main-navigation.active ul {
        flex-direction: column;
        align-items: center;
    }
}
