/*
Theme Name: Col323 Commerce
Theme URI: https://col323.co.za/themes/col323-commerce
Author: Col323
Author URI: https://col323.co.za
Description: A clean, simple WooCommerce-ready theme for Col323 projects. Lightweight and easy to maintain.
Version: 1.0.22
Tested up to: 6.5
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: col323-commerce
Tags: e-commerce, woocommerce, custom-menu, custom-logo, featured-images, full-width-template, rtl-language-support, theme-options, translation-ready

Col323 Commerce WordPress Theme, (C) 2026 Col323
Col323 Commerce is distributed under the terms of the GNU GPL.

All colors are controlled via Customizer > Col323: Theme Colors
*/

/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    /* v1.0.5 - Font family and size now controlled via Customizer > Typography */
    font-family: var(--col323-font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);
    font-size: var(--col323-font-size-body, 16px);
    line-height: 1.6;
    color: var(--col323-text);
    background-color: var(--col323-white);
    overflow-x: hidden;
}

a {
    color: var(--col323-primary);
    text-decoration: none;
}

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

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

/* Layout */
.col323-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.col323-content-area {
    padding: 40px 0;
}

/* Header */
.col323-header {
    background: var(--col323-white);
    border-bottom: 1px solid var(--col323-border);
    padding: 15px 0;
}

.col323-header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 20px;
}

.col323-logo {
    /* v1.0.5 - Font controlled via Customizer > Typography */
    font-size: var(--col323-font-size-h1, 24px);
    font-weight: var(--col323-font-weight-heading, 700);
    color: var(--col323-heading);
    flex-shrink: 0;
}

.col323-logo a {
    color: inherit;
    display: block;
}

.col323-logo img {
    display: block;
    height: auto;
    width: auto;
}

/* Navigation */
.col323-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.col323-nav a {
    color: var(--col323-text);
    /* v1.0.5 - Font controlled via Customizer > Typography */
    font-weight: var(--col323-font-weight-nav, 500);
    font-size: var(--col323-font-size-nav, 15px);
    padding: 8px 0;
    display: inline-block;
}

.col323-nav a:hover {
    color: var(--col323-primary);
}

/* Footer */
.col323-footer {
    background: var(--col323-text);
    color: var(--col323-white);
    padding: 40px 0;
    margin-top: 60px;
}

.col323-footer a {
    color: var(--col323-white);
}

.col323-footer-inner {
    text-align: center;
}

/* Buttons */
.col323-button,
button,
input[type="submit"] {
    display: inline-block;
    padding: 12px 24px;
    background: var(--col323-primary);
    color: var(--col323-white);
    border: 2px solid var(--col323-primary);
    border-radius: 25px;
    cursor: pointer;
    /* v1.0.5 - Font controlled via Customizer > Typography */
    font-size: var(--col323-font-size-button, 14px);
    font-weight: var(--col323-font-weight-button, 600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.col323-button:hover,
button:hover,
input[type="submit"]:hover {
    background: var(--col323-primary-dark);
    border-color: var(--col323-primary-dark);
    color: var(--col323-white);
}

.col323-button-outline {
    background: transparent;
    color: var(--col323-primary);
}

.col323-button-outline:hover {
    background: var(--col323-primary);
    color: var(--col323-white);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--col323-border);
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--col323-primary);
}

/* Posts & Pages */
.col323-post {
    margin-bottom: 40px;
}

.col323-post-title {
    /* v1.0.5 - Font controlled via Customizer > Typography */
    font-size: var(--col323-font-size-h1, 28px);
    font-family: var(--col323-font-heading);
    font-weight: var(--col323-font-weight-heading, 600);
    margin: 0 0 15px;
    color: var(--col323-heading);
}

.col323-post-title a {
    color: var(--col323-heading);
}

.col323-post-title a:hover {
    color: var(--col323-primary);
}

.col323-post-meta {
    color: var(--col323-text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.col323-post-content {
    line-height: 1.8;
}

/* Pagination */
.col323-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.col323-pagination a,
.col323-pagination span {
    padding: 10px 15px;
    border: 1px solid var(--col323-border);
    border-radius: 4px;
}

.col323-pagination a:hover,
.col323-pagination .current {
    background: var(--col323-primary);
    border-color: var(--col323-primary);
    color: var(--col323-white);
}

/* Sidebar */
.col323-sidebar {
    padding: 20px;
}

.col323-widget {
    margin-bottom: 30px;
}

.col323-widget-title {
    /* v1.0.5 - Font controlled via Customizer > Typography */
    font-size: 18px;
    font-family: var(--col323-font-heading);
    font-weight: var(--col323-font-weight-heading, 600);
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--col323-primary);
}

/* Utility Classes */
.col323-text-center {
    text-align: center;
}

.col323-hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .col323-header-inner {
        flex-wrap: wrap;
    }

    .col323-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .col323-container {
        padding: 0 15px;
    }

    .col323-logo img {
        max-width: 120px;
    }
}
