/* ========================================
   TRUCKTOOL SHOP - MAIN STYLESHEET
   ======================================== */

/* CSS Custom Properties - Color Scheme */
:root {
/* Бранд палитра (тъмно зелено пастелно за primary) */
   --primary-color: #0d4835;       /* Основно тъмно пастелно зелено */
   --primary-light: #235a46;       /* Hover/по-светли акценти */
   --primary-lighter: #c7fbe4;     /* Икони, вторични акценти */
   --primary-lightest: #e9f5f0;    /* Светъл фон с пастелно зелено */
   --primary-dark: #15352b;        /* Тъмни ленти / футър */
   --primary-darker: #0b1f19;
   
 

   /* Акцентна палитра – червено (Service/авто акцент) */
   --secondary-color: #e02020;     /* Основен акцент (чисто червено) */
   --secondary-light: #f44a2d;
   --secondary-lighter: #fdc7b5;
   --secondary-dark: #b91616;
   --secondary-darker: #8f1010;

   /* Цветове за текст */
   --text-primary: #15352b;        /* Заглавия – тъмно пастелно зелено */
   --text-body: #222222;           /* Основен текст */
   --text-secondary: #5a5a5a;      /* Вторичен текст */
   --text-muted: #8c8c8c;          /* Заглушен текст */
   --text-white: #ffffff;          /* Обърнат текст */

   /* Неутрални сиви */
   --white: #ffffff;
   --light-gray: #d3d3d3;
   --gray: #a9a9a9;
   --medium-gray: #808080;
   --dark-gray: #696969;
   --black: #000000;

   /* Фонови слоеве */
   --bg-primary: #ffffff;
   --bg-secondary: #e9f5f0;        /* Карти / панели – светъл пастелен зелен фон */
   --bg-tertiary: #d5e8df;         /* Ленти / подсекции – по-наситен пастелен зелен */
   --bg-dark: #15352b;             /* Footer / тъмни секции – тъмно пастелно зелено */

   /* Граници */
   --border-light: #d3d3d3;
   --border-medium: #a9a9a9;
   --border-dark: #808080;

   /* Сенки – леко зеленикави */
   --shadow-light: rgba(36, 92, 74, 0.08);
   --shadow-medium: rgba(36, 92, 74, 0.16);
   --shadow-dark: rgba(36, 92, 74, 0.24);

   /* Статусни цветове */
   --success-color: #28a745;
   --warning-color: #ffc107;
   --danger-color: #dc3545;
   --info-color: #17a2b8;

   /* Градиент за заглавния блок (тъмно зелено пастелно) */
   --page-header-start: #245c4a;
   --page-header-end: #15352b;

    /* Отстояния */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;

    /* Радиуси */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-xl: 20px;

    /* Преходи */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Типографска скала */
    --font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-xxl: 1.5rem;

    /* Междуредия */
    --line-height-base: 1.5;
    --line-height-sm: 1.25;
    --line-height-lg: 1.75;
}

/* ========================================
   BASE STYLES
   ======================================== */

/* Body and Typography */
body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-body);
    background-color: var(--bg-primary);
}
.text-primary {
    color: var(--primary-color)!important;
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
    line-height: var(--line-height-sm);
    margin-bottom: var(--spacing-md);
}

.bold {
    font-weight: 600;
}

.hero-section-index h1 {
    color: var(--secondary-lighter)!important;
    text-shadow: 4px 4px 4px var(--black)!important;
}

.hero-section-index .lead-small {
    color: var(--text-white)!important;
    font-size: 1.1rem!important;
    font-weight: 500!important;
    text-shadow: 2px 2px 2px var(--black)!important;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* Paragraphs and Text */
p {
    margin-bottom: var(--spacing-md);
    color: var(--text-body);
}

footer p {
    color: var(--text-white);
}

footer a {
    color: var(--text-white);
}

footer h5 {
    color: var(--text-white);
    position: relative;
    padding-bottom: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--secondary-color);
    border-radius: 1px;
}

footer a:hover {
    color: var(--text-white);
}   

.bg-primary-dark {
    background-color: var(--primary-darker);
}

.text-white {
    color: var(--text-white)!important;
}

.bg-primary {
    background-color: var(--primary-color)!important;
}

.modal-header{
    color: var(--text-white)!important;
}
.modal-body{
    color: var(--text-body)!important;
}
.modal-footer{
    color: var(--text-white)!important;
}
.modal-title{
    color: var(--text-white)!important;
}

.lead {
    font-size: var(--font-size-lg);
    font-weight: 300;
    line-height: var(--line-height-lg);
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

/* Links */
a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary-dark);
    text-decoration: none;
}

/* ========================================
   LAYOUT COMPONENTS
   ======================================== */

/* Container */
.container {
    max-width: 1200px;
}
.cat-linc {
    color: var(--text-body);
    font-size: var(--font-size-base);
    font-weight: 500;
    transition: color var(--transition-fast);
}
.cat-linc:hover {
    color: var(--secondary-color);
}

/* Active category styles */
.sidebar-categories a.active-category {
    color: var(--secondary-color) !important;
    font-weight: 700;
    position: relative;
    padding-left: 0.5rem;
}

.sidebar-categories a.active-category::before {
    content: '▶';
    position: absolute;
    left: -0.75rem;
    color: var(--secondary-color);
    font-size: 0.75rem;
}

.sidebar-categories {
    padding: var(--spacing-lg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: var(--primary-lightest);
    box-shadow: 0 2px 10px var(--shadow-light);
    transition: box-shadow var(--transition-normal);
}

/* Collapsible categories for mobile */
.sidebar-categories .categories-header button {
    border: 2px solid var(--primary-lighter);
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 1rem;
}

.sidebar-categories .categories-header button:hover,
.sidebar-categories .categories-header button:focus {
    background-color: var(--primary-lightest);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.sidebar-categories .categories-header button[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

/* Scrollbar styling for categories list - only on small screens */
.sidebar-categories .categories-list::-webkit-scrollbar {
    width: 6px;
}

.sidebar-categories .categories-list::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 3px;
}

.sidebar-categories .categories-list::-webkit-scrollbar-thumb {
    background: var(--primary-lighter);
    border-radius: 3px;
}

.sidebar-categories .categories-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
.sidebar-categories .card-body {
    padding: var(--spacing-lg);
}
.sidebar-categories .card-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

/* Cards */
.card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: var(--bg-primary);
    box-shadow: 0 2px 10px var(--shadow-light);
    transition: box-shadow var(--transition-normal);
}

.card-header {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
    padding: var(--spacing-lg);
}

.card-body {
    padding: var(--spacing-lg);
}

.card-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.card-text {
    color: var(--text-body);
    margin-bottom: var(--spacing-md);
}

/* ========================================
   NAVIGATION
   ======================================== */

/* Нов основен header – бяла навигация с тъмен текст */
.navbar-main {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 6px var(--shadow-light);
}

.navbar-main .nav-link {
    color: var(--text-body) !important;
    font-weight: 500;
    transition: color var(--transition-fast), border-color var(--transition-fast);
    border-bottom: 2px solid transparent;
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link:focus {
    color: var(--primary-color) !important;
    border-bottom-color: var(--secondary-color);
}

.navbar-main .nav-link.active {
    color: var(--primary-color) !important;
    border-bottom-color: var(--secondary-color);
}

.navbar-main .navbar-toggler {
    border-color: var(--border-light);
    color: var(--text-body)!important;
    margin-right: 10px;
}

.navbar-main .navbar-toggler i {
    font-size: 1.4rem;
    color: var(--text-body) !important;
}

.navbar-main .navbar-header-actions {
    display: flex;
    align-items: center;
}

.navbar-main .navbar-header-actions .navbar-nav {
    flex-direction: row;
    padding-left: 0;
}

.navbar-main .navbar-header-actions .nav-link {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.navbar-main .navbar-header-actions .nav-item .nav-link {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .navbar-main .navbar-header-actions {
        flex-direction: column;
        align-items: flex-end;
        position: relative;
        width: 100%;
    }

    .navbar-main  {
        padding-bottom: 0!important;
    }

    .navbar-main .navbar-header-actions .cart-label,
    .navbar-main .navbar-header-actions .user-label,
    .navbar-main .navbar-header-actions .lang-label {
        display: none;
    }

    /* Dropdown-ите от лентата с икони да се отварят като overlay, без да бутат иконите */
    .navbar-main .navbar-header-actions .dropdown-menu {
        position: fixed;
        top: 86px; /* под хедъра; при нужда коригирай височината */
        left: 50%;
        right: auto;
        transform: translateX(-50%) !important;
        z-index: 2000;
    }
    .navbar-main .navbar-header-actions.ms-auto.order-lg-3 {
       background-color: var(--primary-lighter);
       margin-top: 0.4rem;       
       margin-bottom: 0;
    }
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 1rem;
    margin-bottom: 0;
    list-style: none;
}

.main-logo {
    height: 40px;
    width: auto;
}
@media (max-width: 768px) {
    .main-logo {
        height: 30px;
        margin-left: 10px;
    }
}



.site-name {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
}

/* Dropdown Menu */
.dropdown-menu {
    min-width: 300px;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px var(--shadow-medium);
    z-index: 1040;
}

.dropdown-item.fw-bold {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.dropdown-item.small {
    padding-left: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.dropdown-item.small:hover {
    background-color: var(--bg-secondary);
}

/* ========================================
   HERO SECTIONS
   ======================================== */

.hero-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: var(--spacing-xxl) 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-section-index {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-white);
    padding: 50px 0;
    min-height: 40vh;
    display: flex;
    align-items: center;
}

.page-header {
    background: linear-gradient(135deg, var(--page-header-start) 0%, var(--page-header-end) 100%);
    color: var(--text-white);
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(17, 84, 239, 0.1) 0%, 
        rgba(32, 51, 96, 0.2) 25%, 
        rgba(17, 146, 239, 0.1) 50%, 
        rgba(32, 51, 96, 0.2) 75%, 
        rgba(28, 239, 17, 0.1) 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease-in-out infinite;
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.page-header .lead {
    color: var(--text-white);
    opacity: 0.9;
    font-weight: 300;
    margin-bottom: 0;
}

.lead-small {
    font-size: 1rem;
    font-weight: 300;
    line-height: var(--line-height-lg);
    color: var(--text-white);
    opacity: 0.9;
}

.hero-content {
    text-shadow: 2px 2px 4px var(--shadow-dark);
    font-family: var(--font-family-base);
    text-align: center !important;
}

.hero-content h1,
.hero-content h1.text-white,
.hero-content p {
    text-align: center !important;
}

.hero-content h1 {
    font-weight: 300;
    letter-spacing: 1px;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-white);
    text-shadow: 2px 2px 4px var(--shadow-dark);
    text-align: center !important;
}

.hero-content .lead {
    font-weight: 300;
    line-height: var(--line-height-lg);
    font-size: 1.8rem;
    color: var(--text-white);
}

/* ========================================
   BUTTONS
   ======================================== */

/* Primary Buttons */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--text-white);
    box-shadow: 0 4px 8px var(--shadow-medium);
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(32, 51, 96, 0.25);
}

/* Secondary Buttons */
.btn-outline-secondary {
    border-color: var(--medium-gray);
    color: var(--medium-gray);
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.btn-outline-secondary:hover {
    background-color: var(--medium-gray);
    border-color: var(--medium-gray);
    color: var(--text-white);
}

/* Accent Buttons */
.btn-accent {
    background: var(--secondary-color);
    border: none;
    color: var(--text-white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-accent:hover {
    background: var(--secondary-dark);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 80, 17, 0.3);
}

.btn-accent:active {
    transform: translateY(0);
}

/* Button Sizes */
.btn-sm {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
}

/* ========================================
   PRODUCTS & CATEGORIES
   ======================================== */

/* Product Cards */
.product-card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    background: var(--bg-primary);
    transition: box-shadow var(--transition-normal);
}

.product-card:hover {
    box-shadow: 0 5px 20px var(--shadow-light);
}

.product-image {   
    object-fit: cover;
   
}

.product-card .card-title {
    color: var(--text-primary);
    font-weight: 600;
}

.product-card .card-text {
    color: var(--text-body);
}



.desc-info {
    color: var(--primary-color);
    line-height: 1.6rem;
}

.price {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Category Cards */
.category-card {
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    background: var(--bg-primary);
    transition: box-shadow var(--transition-normal);
}

.category-card:hover {
    box-shadow: 0 5px 20px var(--shadow-light);
}

.category-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-lighter);
}

.category-card .card-title {
    color: var(--text-primary);
    font-weight: 600;
}

.category-card .card-text {
    color: var(--text-body);
}

/* Subcategories */
.subcategories {
    border-top: 1px solid var(--border-light);
    padding-top: 0.75rem;
}

.subcategories .btn-xs {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    margin: 0.125rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.subcategories .btn-xs:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
}

/* ========================================
   FORMS
   ======================================== */

.form-control {
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-base);
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(239, 80, 17, 0.25);
}

.form-floating > .form-control {
    border-radius: var(--radius-md);
    border: 2px solid var(--border-medium);
    padding: 1rem 0.75rem;
}

.form-floating > .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(239, 80, 17, 0.25);
}

.form-floating > label {
    color: var(--text-secondary);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    color: var(--text-muted);
    font-weight: 500;
}

/* ========================================
   CHECKOUT PAGE
   ======================================== */

.checkout-container {
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-card {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 10px var(--shadow-light);
    border: 1px solid var(--border-medium);
    margin-bottom: var(--spacing-xl);
}

.checkout-card .card-header {
    background: var(--bg-tertiary);
    color: var(--text-muted);
    border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
    border-bottom: 1px solid var(--border-medium);
    padding: var(--spacing-md);
}

.checkout-card .card-header h5 {
    margin: 0;
    font-weight: 600;
    font-size: var(--font-size-lg);
    color: var(--text-primary);
}

.checkout-card .card-body {
    padding: 2rem;
}

.step-title {
    font-size: var(--font-size-xxl);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.address-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}

.address-icon {
    background: var(--secondary-color);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.address-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* Order Summary */
.order-summary {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: 0 5px 15px var(--shadow-light);
    border: 1px solid var(--border-medium);
    position: sticky;
    top: 20px;
}

.order-summary h6 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-medium);
    padding-bottom: 0.5rem;
}

.checkout-product {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-medium);
}

.checkout-product:last-child {
    border-bottom: none;
}

.checkout-product-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-right: 0.75rem;
    border: 1px solid var(--border-medium);
}

.checkout-product-info {
    flex: 1;
}

.checkout-product-name {
    font-weight: 500;
   
    margin-bottom: 0.25rem;
    font-size: var(--font-size-sm);
    line-height: 1.3;
}

.checkout-product-sku {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.checkout-product-price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: var(--font-size-sm);
}

.checkout-product-quantity {
    background-color: var(--bg-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
  
    border: 1px solid var(--primary-lighter);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-medium);
}

.summary-item:last-child {
    border-bottom: none;
    font-weight: 600;
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-medium);
}

.summary-label {
   
}

.summary-value {
    font-weight: 500;
    color: var(--primary-color);
    
}

/* Payment Methods */
.payment-method {
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-method:hover {
    border-color: var(--secondary-color);
    background-color: var(--bg-secondary);
}

.payment-method.selected {
    border-color: var(--primary-color);
    background-color: var(--bg-secondary);
}

.payment-method input[type="radio"] {
    margin-right: 0.75rem;
}

.payment-method label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    color: var(--primary-color);
}

.payment-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    color: var(--primary-lighter);
}

/* Checkout Buttons */
.btn-checkout {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-checkout:hover {
    background: var(--primary-light);
    color: white;
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.btn-checkout:active {
    transform: translateY(0);
}

.btn-back {
    background-color: var(--medium-gray);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background-color: var(--dark-gray);
    color: white;
    transform: translateY(-1px);
}

.same-address-checkbox {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--border-medium);
}

.billing-section {
    transition: all 0.3s ease;
}

.billing-section.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Section Titles */
.section-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 1px;
}

/* Info Boxes */
.info-accent {
    background: rgba(239, 80, 17, 0.05);
    border-left: 4px solid var(--secondary-color);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin: 1rem 0;
}

.highlight-accent {
    color: var(--secondary-color);
    font-weight: 600;
}

.logo-text {
   
    font-weight: 900;
    color: var(--secondary-color);
}



.logo-text-big {
    width: 100%;
    border-bottom: 1px solid var(--border-medium);   
    font-size: 2.15rem;
    line-height: 1.2;
    font-weight: 900;
    color: var(--secondary-color);
    padding-bottom: 0px!important; /* наполовина по-малко разстояние до линията */
    padding-top: 0px;
}

.logo-text-small {
    padding-top: 0px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.logo-div {
    width: 186px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: left;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        padding: 80px 0;
        min-height: 60vh;
    }
    
    .checkout-container {
        padding: 1rem 0;
    }
    
    .checkout-card .card-body {
        padding: 1rem;
    }
    
    .order-summary {
        margin-top: 2rem;
        position: static;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content .lead {
        font-size: 1.25rem;
    }
}

/* Responsive categories for screens under 992px (lg breakpoint) */
@media (max-width: 991.98px) {
    .sidebar-categories {
        margin-bottom: 2rem;
    }
    
    .sidebar-categories .categories-list {
        max-height: 300px;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    /* Show categories collapsed by default on mobile */
    .sidebar-categories .collapse:not(.show) {
        display: none;
    }
}

/* On large screens, always show categories without scroll */
@media (min-width: 992px) {
    .sidebar-categories .collapse {
        display: block !important;
    }
    
    .sidebar-categories .categories-list {
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .card-body {
        padding: var(--spacing-md);
    }
    
    .btn {
        width: 100%;
        margin-bottom: var(--spacing-sm);
    }
    
    .btn:last-child {
        margin-bottom: 0;
    }
}



/* Filter Form Styles */
.filter-sidebar form {
    background: white;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid var(--border-light);
}

.filter-sidebar .form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.filter-sidebar .form-control,
.filter-sidebar .form-select {
    border: 2px solid var(--border-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.filter-sidebar .form-control:focus,
.filter-sidebar .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 43, 98, 0.25);
}

.filter-sidebar .btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-sidebar .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
}

.filter-sidebar .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.filter-sidebar .btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.filter-sidebar .btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.filter-sidebar .btn-outline-secondary {
    border: 2px solid var(--border-medium);
    color: var(--text-secondary);
}

.filter-sidebar .btn-outline-secondary:hover {
    background: var(--border-medium);
    border-color: var(--border-medium);
    color: white;
}

.contact-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
}
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}