/*
Theme Name: Quill Woocommerce Cow Dung
Theme URI: https://wpcodequill.com/themes/quill-woocommerce/
Author: WPCodeQuill
Author URI: https://wpcodequill.com
Description: Quill Woocommerce is designed to applicable to any Woocommerce website.
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: quill-woocommerce-cow-dung
Tags: full-site-editing, sticky-post, Woocommerce, translation-ready, Ecommerce, Cow Dung
*/

:root{
  --quill-accent: #0ea5a4;
  --quill-dark: #0b1220;
  --quill-muted: #6b7280;
  --content-max: 1180px;
  --radius: 10px;
  --gap: 20px;
  --font-stack: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

html, body {
  font-family: var(--font-stack);
  color: var(--quill-dark);
  margin:0;
  padding:0;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  background:#fff;
}

a{ color:var(--quill-accent); text-decoration:none; }
a:hover{ text-decoration:underline; }

/* =========================================
   GLOBAL HEADER STYLES (Loads Everywhere)
   ========================================= */

/* 1. Header Container */
.quill-site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.quill-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1180px;
    margin: 0 auto;
}

/* 2. Logo */
.quill-branding a {
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    color: #008f8f; /* Teal Brand Color */
}
.custom-logo {
    max-height: 50px;
    width: auto;
}

/* 3. Navigation Menu (The part broken in your screenshot) */
.quill-primary-nav ul.quill-menu {
    display: flex; /* Makes list horizontal */
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.quill-primary-nav ul.quill-menu li {
    margin: 0;
}

.quill-primary-nav ul.quill-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.quill-primary-nav ul.quill-menu li a:hover {
    color: #008f8f;
}

/* 4. Cart Icon Area */
.quill-header-tools {
    display: flex;
    align-items: center;
}

.quill-mini-cart {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.quill-cart-count {
    background: #008f8f;
    color: #fff;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 12px;
    margin-left: 5px;
}

/* 5. Mobile Toggle (Hidden on Desktop) */
.quill-mobile-toggle {
    display: none;
}


/* =========================================
   RESPONSIVE HEADER
   ========================================= */
/* =========================================
   MOBILE MENU STYLES
   ========================================= */

/* The Mobile Toggle Button */
.quill-mobile-toggle {
    display: none; /* Hidden on Desktop */
    background: transparent;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #333;
    padding: 0 10px;
    line-height: 1;
}

/* The Dropdown Container */
.quill-mobile-menu {
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    position: absolute; /* Floats over content */
    top: 100%; /* Directly below header */
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* The Links Inside */
ul.quill-mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.quill-mobile-menu-list li {
    border-bottom: 1px solid #f5f5f5;
    margin: 0;
}

ul.quill-mobile-menu-list li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
}

ul.quill-mobile-menu-list li a:hover {
    color: var(--quill-primary);
    background: #f9f9f9;
    padding-left: 25px; /* Slide effect */
}

/* Show Toggle on Mobile */
@media (max-width: 768px) {
    .quill-mobile-toggle {
        display: block; /* Show the burger icon */
    }
    .quill-primary-nav {
        display: none; /* Hide the desktop menu */
    }
}