/*
Theme Name: Lootilyo
Author: Tgnext
Description: Hybrid Classic WordPress & WooCommerce theme for Lootilyo UK with Gutenberg Header & Footer block template parts, custom AJAX Price & Product Type filters, and AJAX Load More.
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.1
Version: 1.1.0
Text Domain: lootilyo-classic
*/


:root {
    /* Primary Colors */
    --color-primary: #4F5B36;
    --color-secondary: #D0764C;
    --color-accent: #D1AC81;

    /* Background Colors */
    --color-background: #F7EADA;
    --color-white: #FFFFFF;
    --color-light: #F5F5F0;

    /* Text Colors */
    --color-text: #373737;
    --color-heading: #4F5B36;
    --color-muted: #777777;

    /* Border Colors */
    --color-border: #D1AC81;
    --color-border-light: #E5DED2;

    /* Button Colors */
    --color-button-bg: #000000;
    --color-button-text: #FFFFFF;

    /* Status Colors */
    --color-success: #39804A;
    --color-error: #D93025;
    --color-warning: #E5A000;

    --color-black: #000000;
    --color-white: #ffffff;
}


/* =====================================
   TYPOGRAPHY - INTER FONT FAMILY
===================================== */

/* Body Text */

* {
  font-family: 'Inter', sans-serif;
}

body {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-primary);
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}


/* Heading H1 */
h1 {
    font-size: clamp(30px, 3.2vw, 42px);
    font-weight: 700;
    line-height: 1.2;
}

/* Heading H2 */
h2 {
    font-size: clamp(24px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1.25;
}

/* Heading H3 */
h3 {
    font-size: clamp(21px, 2vw, 24px);
    font-weight: 600;
    line-height: 1.3;
}

/* Heading H4 */
h4 {
    font-size: clamp(19px, 1.8vw, 22px);
    font-weight: 600;
    line-height: 1.35;
}

/* Heading H5 */
h5 {
    font-size: clamp(17px, 1.5vw, 18px);
    font-weight: 600;
    line-height: 1.4;
}

/* Heading H6 */
h6 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

/* Paragraph */
p {
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 20px !important;
}

/* Links */
a {
    text-decoration: none;
    color: var(--color-primary);
}

/* a:hover {
    color: var(--color-secondary);
} */

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


/* Form Fields */
input,
select,
textarea {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text);
    border-color: var(--color-border);
    background-color: var(--color-white);
}

/* Global Checkbox Styling */
input[type="checkbox"] {
    width: 17px;
    height: 17px;
    border: 1.5px solid var(--color-accent);
    border-radius: 2px;
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--color-surface);
    display: inline-grid;
    place-content: center;
    flex-shrink: 0;
    cursor: pointer;
    vertical-align: middle;
}

/* Checked Checkbox */
input[type="checkbox"]:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

/* Checkmark */
input[type="checkbox"]:checked::after {
    content: "";
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

/* Checkbox Focus */
input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Navigation */
.main-navigation a,
.footer-navigation a,
.header-nav a {
    font-size: 16px;
    font-weight: 500;
}

/* WooCommerce Product Titles */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-loop-product__title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-black);
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

/* Product Prices */
.lootilyo-card__meta .price,
.woocommerce ul.products li.product .price {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
}

/* Small Text */
small,
.woocommerce-breadcrumb {
    font-size: 13px;
    font-weight: 400;
}


