/* ============================================
   Custom Theme Variables & Utilities
   Централизованные CSS-переменные проекта
   ============================================ */

:root {
    /* Background colors */
    --color-bg-dark: #1b1b1b;
    --color-text-light: #eeeeee;
    --color-text-white: #ffffff;

    /* Primary red (buttons, accents) */
    --color-primary-red: #bc3030;
    --color-primary-red-hover: #c94040;
    --color-primary-red-border: #a82a2a;

    /* Green (continue learning, success) */
    --color-green: #0d6731;
    --color-green-hover: #117a3d;
    --color-green-border: #0b5529;

    /* Card button colors (light theme) */
    --color-card-btn-bg: #e5e7eb;
    --color-card-btn-bg-hover: #f3f4f6;
    --color-card-btn-text: #333;
    --color-card-btn-text-hover: #111;

    /* Card button colors (dark theme overrides applied via .dark-theme) */
    --color-card-btn-dark-bg: #333;
    --color-card-btn-dark-bg-hover: #444;
    --color-card-btn-dark-text: #eee;
    --color-card-btn-dark-text-hover: #fff;

    /* White transparency scale */
    --color-white-02: rgba(255, 255, 255, 0.02);
    --color-white-03: rgba(255, 255, 255, 0.03);
    --color-white-05: rgba(255, 255, 255, 0.05);
    --color-white-06: rgba(255, 255, 255, 0.06);
    --color-white-08: rgba(255, 255, 255, 0.08);
    --color-white-10: rgba(255, 255, 255, 0.1);
    --color-white-30: rgba(255, 255, 255, 0.3);
    --color-white-50: rgba(255, 255, 255, 0.5);
    --color-white-60: rgba(255, 255, 255, 0.6);
    --color-white-70: rgba(255, 255, 255, 0.7);

    /* Black transparency */
    --color-black-25: rgba(0, 0, 0, 0.25);
    --color-black-45: rgba(0, 0, 0, 0.45);
    --color-black-50: rgba(0, 0, 0, 0.5);
    --color-black-60: rgba(0, 0, 0, 0.6);
    --color-black-70: rgba(0, 0, 0, 0.7);

    /* Course badge colors */
    --color-badge-default: rgba(246, 138, 3, 0.7);
    --color-badge-blue: rgba(53, 143, 247, 0.7);
    --color-badge-green: rgba(22, 101, 52, 0.85);
    --color-badge-red: rgba(221, 73, 61, 0.7);
    --color-badge-sky-blue: rgba(58, 170, 225, 0.7);

    /* Decoration gradients */
    --gradient-purple: rgba(128, 90, 213, 0.15);
    --gradient-pink: rgba(236, 72, 153, 0.1);

    /* Border radii */
    --radius-card: 15px;
    --radius-btn: 12px;
    --radius-badge: 8px;

    /* Shadows */
    --shadow-btn: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow-btn-dark: 0 2px 6px rgba(0, 0, 0, 0.45);
    --shadow-menu: -10px 0 30px rgba(0, 0, 0, 0.5);
}

/* ============================================
   Utility Classes
   ============================================ */

/* Image covers */
.img-cover-32 {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
}

.img-cover-40 {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

/* Glass-style badge (semi-transparent bg + border) */
.glass-badge {
    padding: 10px 15px;
    background: var(--color-white-05);
    border: 1px solid var(--color-white-10);
    border-radius: var(--radius-badge);
}

/* Image cover with top position (cart/checkout thumbnails) */
.img-cover-top {
    object-fit: cover;
    object-position: top;
}

/* Portfolio card images (my-works section) */
.card-img-works {
    height: 400px;
    object-fit: cover;
    object-position: top;
}

/* Glass card (semi-transparent bg + border, no padding) */
.card-glass {
    background: var(--color-white-05);
    border: 1px solid var(--color-white-10);
}

/* Avatar sizes */
.avatar-lg {
    width: 100px;
    height: 100px;
}

/* Breadcrumb area z-index fix */
.breadcrumb-area {
    position: relative;
    z-index: 2;
}

/* Breadcrumb standalone padding */
.breadcrumb-area-standalone {
    padding: 60px 0;
}

/* Price display: large crossed-out price */
.before-price-lg {
    font-size: 22px !important;
    font-weight: 500 !important;
}

/* Price display: medium crossed-out price */
.before-price-md {
    font-size: 18px !important;
}

/* Price discount badge */
.price-discount-badge {
    background-color: #ef4444;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    margin-left: 5px;
}

/* Vizitka info title size */
.vizitka-area .info__title {
    font-size: 18px;
}

/* Hide scrollbar */
.hide-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
