/* Font Definitions for Barbaron.bg */

/* Montserrat Font Family - WOFF2 Optimized (65% smaller than TTF!) */

/* Weight 400 (Regular) - Universal (Cyrillic + Latin combined for Windows 7) */
@font-face {
    font-family: 'Montserrat-G';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
 /* TTF fallback for Windows 7 Firefox - fromand of withand and */
}

/* Weight 500 (Medium) - Universal */
@font-face {
    font-family: 'Montserrat-G';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/Montserrat-Medium.ttf') format('truetype');
}

/* Weight 600 (SemiBold) - Universal */
@font-face {
    font-family: 'Montserrat-G';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/Montserrat-SemiBold.ttf') format('truetype');
}

/* Weight 700 (Bold) - Universal */
@font-face {
    font-family: 'Montserrat-G';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
}

/* Font Awesome 5 */
@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/fa-regular-400.woff2') format('woff2'),
         url('../fonts/fa-regular-400.woff') format('woff');
}

@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/fa-solid-900.woff2') format('woff2'),
         url('../fonts/fa-solid-900.woff') format('woff');
}

@font-face {
    font-family: 'Font Awesome 5 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/fa-brands-400.woff2') format('woff2'),
         url('../fonts/fa-brands-400.woff') format('woff');
}

/* Default Font Stack */
body {
    font-family: 'Montserrat-G', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat-G', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
}

/* Icons */
.fa,
.fas,
.far,
.fal,
.fad,
.fab {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.fa-solid,
.fas {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.fa-regular,
.far {
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
}

.fa-brands,
.fab {
    font-family: 'Font Awesome 5 Brands';
    font-weight: 400;
}/**
 * 
 * withinfrom for is - without Magento forinandwithandwithand
 */

/* ========== ========== */
:root {
 /* inisin withis of Barbaron */
 --color-primary: #68b81d; /* - new */
 --color-secondary: #ce3644; /* - /promo */
 --color-text: #333; /* new */
 --color-text-light: #919191; /* */
 --color-text-muted: #5f5f5f; /* */
 --color-bg-gray: #eee; /* */
 --color-bg-footer: #d8d8d8; /* Footer */
 --color-border: #d1d1d1; /* */

 /* Sizeand of fontinis */
    --font-size-base: 14px;
    --font-size-small: 12px;
    --font-size-h1: 30px;
    --font-size-h2: 26px;
    --font-size-h3: 20px;
    --line-height: 1.42857143;

    /* Layout */
    --max-width: 1170px;
    --sidebar-width: 20%;
    --content-width: 78%;
}

/* ========== RESET & BASE ========== */
* {
    box-sizing: border-box;
}

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    /* Prevent horizontal scroll and layout shift */
    overflow-x: hidden;
    overflow-y: scroll; /* Force scrollbar to always show */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat-G', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: var(--font-size-base);
    line-height: var(--line-height);
    color: var(--color-text);
    /* Removal of layout shift on loading */
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    position: relative;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 500; /* Windows 7 Fix: 300 is invisible */
    line-height: 1.2;
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: 18px; font-weight: 600; }
h5 { font-size: 16px; font-weight: 600; }
h6 { font-size: 14px; font-weight: 600; }

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

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

a:hover {
    text-decoration: underline;
}

strong, b {
    font-weight: 600;
}

/* ========== FORMS - andandand styles ========== */
button, .btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: var(--font-size-base);
    font-weight: 500;
    transition: background 0.3s ease;
}

button:hover, .btn:hover {
    background: #5ca518;
}

button.secondary {
    background: var(--color-secondary);
}

button.secondary:hover {
    background: #b02d39;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: 3px;
    font-size: var(--font-size-base);
    font-family: inherit;
}

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

/* ========== LAYOUT HELPERS ========== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    padding: 0 15px;
}

/* ========== UTILITY CLASSES ========== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-muted { color: var(--color-text-muted); }

.bg-gray { background: var(--color-bg-gray); }
.bg-white { background: white; }

.hidden { display: none !important; }
.visible { display: block !important; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }

/* ========== (for and panel and cart) ========== */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid var(--color-border);
}

th {
    background: var(--color-bg-gray);
    font-weight: 600;
}

/* ========== RESPONSIVE UTILITIES ========== */
@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
    .container { padding: 0 10px; }
}

@media (min-width: 769px) {
    .hide-desktop { display: none !important; }
}

/* ========== LOADING & STATES ========== */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

.error {
    color: #dc3545;
    font-size: var(--font-size-small);
    margin-top: 5px;
}

.success {
    color: var(--color-primary);
    font-size: var(--font-size-small);
    margin-top: 5px;
}

/* ========== PRICE FORMATTING ========== */
.price {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 18px;
}

.price-old {
    color: var(--color-text-light);
    text-decoration: line-through;
    margin-right: 10px;
}

/* ========== BADGES ========== */
.badge {
    display: inline-block;
    padding: 3px 8px;
    background: var(--color-secondary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 3px;
    text-transform: uppercase;
}

.badge.new {
    background: var(--color-primary);
}

/* ========== IMAGES ========== */
img {
    max-width: 100%;
    height: auto;
}

/* ========== CLEARFIX ========== */
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}