/**
 * Cartow Theme - CSS Variables
 * 
 * Add this to your theme's style.css or enqueue it separately
 * This provides the base color scheme and font variables used by PT Addons
 */

:root {
    /* ============================================
       CARTOW THEME COLORS
       ============================================ */
    
    /* Primary Colors - From Cartow Theme */
    --pt-color-primary: #000000;             /* Primary color (black) */
    --pt-color-accent: #EB5E22;               /* Accent color (orange-red) */
    --pt-color-secondary: #F0B63D;            /* Secondary color (gold/yellow) */
    --pt-color-text: #000000;                 /* Primary text (black) */
    --pt-color-bg: #FFFFFF;                   /* Main background (white) */
    --pt-color-bg-secondary: #F2F2F4;         /* Secondary background (light gray) */
    --pt-color-border: rgba(0, 0, 0, 0.2);   /* Border color (black 20% opacity) */
    --pt-color-input-border: #CECED7;         /* Input border */
    --pt-color-submenu-bg: #FFFFFF;           /* Submenu background */
    
    /* Additional Colors */
    --pt-color-rating: #F0B63D;              /* Rating star color (gold) */
    --pt-color-rating-inactive: rgba(240, 182, 61, 0.25); /* Rating inactive */
    --pt-color-overlay: rgba(0, 0, 0, 0.6);  /* Overlay background */
    --pt-color-filter-bg: rgba(171, 179, 220, 0.2); /* Filter background */
    --pt-color-pricing-bg: #CCDEFF;          /* Pricing table background */
    --pt-color-shadow: rgba(76, 58, 58, 0.04); /* Shadow color */
    --pt-color-shadow-dark: rgba(76, 58, 58, 0.08); /* Dark shadow */
    
    /* ============================================
       CARTOW THEME FONTS
       ============================================ */
    
    /* Font Families - From Cartow Theme */
    --pt-font-primary: 'Clash Display', serif;
    --pt-font-text: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --pt-font-accent: 'Clash Display', serif;
    
    /* Font Sizes - From Cartow Theme */
    --pt-typography-h1-font-size: 64px;
    --pt-typography-h2-font-size: 48px;
    --pt-typography-h3-font-size: 32px;
    --pt-typography-h4-font-size: 26px;
    --pt-typography-h5-font-size: 20px;
    --pt-typography-h6-font-size: 18px;
    --pt-typography-body-font-size: 16px;
    
    /* Line Heights - From Cartow Theme */
    --pt-typography-h1-line-height: 1.1;
    --pt-typography-h2-line-height: 1.2;
    --pt-typography-h3-line-height: 1.3;
    --pt-typography-h4-line-height: 1.4;
    --pt-typography-h5-line-height: 1.5;
    --pt-typography-h6-line-height: 1.6;
    --pt-typography-body-line-height: 1.7;
    
    /* Font Weights - From Cartow Theme */
    --pt-typography-body-font-weight: 400;
    --pt-typography-h1-font-weight: 600;
    --pt-typography-h2-font-weight: 600;
    --pt-typography-h3-font-weight: 600;
    --pt-typography-h4-font-weight: 600;
    --pt-typography-h5-font-weight: 600;
    --pt-typography-h6-font-weight: 600;
    
    /* Text Transform - From Cartow Theme */
    --pt-typography-body-text-transform: normal;
    --pt-typography-h1-text-transform: capitalize;
    --pt-typography-h2-text-transform: capitalize;
    --pt-typography-h3-text-transform: capitalize;
    --pt-typography-h4-text-transform: capitalize;
    --pt-typography-h5-text-transform: capitalize;
    --pt-typography-h6-text-transform: capitalize;
    
    /* Additional Variables */
    --pt-color-button-bg: var(--pt-color-accent);
    --pt-color-button-bg-hover: var(--pt-color-accent);
    --pt-color-button-border: var(--pt-color-accent);
    --pt-color-input-border: #CECED7;
    --pt-color-input-border-focus: #CECED7;
    --pt-color-input-bg: transparent;
    --pt-color-input-bg-focus: transparent;
    --spacing-base: 30px;
    --pt-border-radius: 0;
    --border-radius-input: 0;
    --underline-height: 1px;
    
    /* ============================================
       SPACING & LAYOUT
       ============================================ */
    
    --pt-container-width: 1240px;
    --pt-container-padding: 15px;
    --pt-gap-small: 15px;
    --pt-gap-medium: 25px;
    --pt-gap-large: 40px;
}

/* ============================================
   BASE TYPOGRAPHY
   ============================================ */

body {
    font-family: var(--pt-font-text);
    color: var(--pt-color-text);
    font-size: var(--pt-typography-body-font-size);
    line-height: var(--pt-typography-body-line-height);
    font-weight: var(--pt-typography-body-font-weight);
    text-transform: var(--pt-typography-body-text-transform);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--pt-font-primary);
    font-weight: var(--pt-font-weight-semibold);
    color: var(--pt-color-text);
    line-height: 1.2;
    margin: 0 0 1em 0;
}

h1 {
    font-size: var(--pt-typography-h1-font-size);
    line-height: var(--pt-typography-h1-line-height);
    font-weight: var(--pt-typography-h1-font-weight);
    text-transform: var(--pt-typography-h1-text-transform);
}

h2 {
    font-size: var(--pt-typography-h2-font-size);
    line-height: var(--pt-typography-h2-line-height);
    font-weight: var(--pt-typography-h2-font-weight);
    text-transform: var(--pt-typography-h2-text-transform);
}

h3 {
    font-size: var(--pt-typography-h3-font-size);
    line-height: var(--pt-typography-h3-line-height);
    font-weight: var(--pt-typography-h3-font-weight);
    text-transform: var(--pt-typography-h3-text-transform);
}

h4 {
    font-size: var(--pt-typography-h4-font-size);
    line-height: var(--pt-typography-h4-line-height);
    font-weight: var(--pt-typography-h4-font-weight);
    text-transform: var(--pt-typography-h4-text-transform);
}

h5 {
    font-size: var(--pt-typography-h5-font-size);
    line-height: var(--pt-typography-h5-line-height);
    font-weight: var(--pt-typography-h5-font-weight);
    text-transform: var(--pt-typography-h5-text-transform);
}

h6 {
    font-size: var(--pt-typography-h6-font-size);
    line-height: var(--pt-typography-h6-line-height);
    font-weight: var(--pt-typography-h6-font-weight);
    text-transform: var(--pt-typography-h6-text-transform);
}

/* ============================================
   LINKS & BUTTONS
   ============================================ */

a {
    color: var(--pt-color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--pt-color-secondary);
}

.button,
button,
input[type="submit"],
.btn {
    background-color: var(--pt-color-accent);
    color: #FFFFFF;
    border: none;
    padding: 12px 24px;
    font-weight: var(--pt-font-weight-semibold);
    font-size: var(--pt-font-size-body);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.btn:hover {
    background-color: var(--pt-color-secondary);
    color: var(--pt-color-text);
}

.button-secondary {
    background-color: var(--pt-color-secondary);
    color: var(--pt-color-text);
}

.button-secondary:hover {
    background-color: var(--pt-color-accent);
    color: #FFFFFF;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-accent {
    color: var(--pt-color-accent) !important;
}

.text-secondary {
    color: var(--pt-color-secondary) !important;
}

.bg-accent {
    background-color: var(--pt-color-accent) !important;
}

.bg-secondary {
    background-color: var(--pt-color-bg-secondary) !important;
}

.border-color {
    border-color: var(--pt-color-border) !important;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

@media (max-width: 1200px) {
    :root {
        --pt-container-width: 100%;
        --pt-container-padding: 20px;
    }
}

@media (max-width: 1024px) {
    :root {
        --pt-typography-h1-font-size: 42px;
        --pt-typography-h2-font-size: 36px;
        --pt-typography-h3-font-size: 30px;
    }
}

@media (max-width: 767px) {
    :root {
        --pt-typography-h1-font-size: 32px;
        --pt-typography-h2-font-size: 30px;
        --pt-typography-h3-font-size: 28px;
    }
}

