/**
 * Unified custom styles extracted from all HTML mockups
 * Covers: Главная, Каталог, Товар, Новости, Новость, Контакты + mobile variants
 */

/* ============================================
   Material Symbols Outlined
   ============================================ */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

/* ============================================
   Background Grids (Unified)
   ============================================ */
.dot-grid,
.technical-grid,
.industrial-grid,
.blueprint-bg {
    background-image: radial-gradient(circle, #cbd5e1 1px, transparent 1px);
    background-size: 20px 20px;
}

/* ============================================
   Technical Line Accents
   ============================================ */
.technical-line {
    position: relative;
}
.technical-line::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    opacity: 0.2;
}

/* ============================================
   Anchor Dot (Contacts page)
   ============================================ */
.anchor-dot {
    position: relative;
}
.anchor-dot::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #002045;
    border-radius: 50%;
    left: -3px;
    top: -3px;
}

/* ============================================
   Blueprint Line (Contacts page)
   ============================================ */
.blueprint-line {
    position: relative;
}
.blueprint-line::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: -20px;
    right: -20px;
    height: 1px;
    background: #e2e8f0;
}

/* ============================================
   Hard Shadow (Mobile contacts)
   ============================================ */
.hard-shadow {
    box-shadow: 4px 4px 0px 0px rgba(0, 32, 69, 0.1);
}

/* ============================================
   Blue Gradient Overlay (Mobile homepage hero)
   ============================================ */
.blue-gradient-overlay {
    background: linear-gradient(180deg, rgba(26, 54, 93, 0.8) 0%, rgba(0, 32, 69, 0.95) 100%);
}

/* ============================================
   Hide Scrollbar (Mobile news chips)
   ============================================ */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ============================================
   Mobile Navigation Shadow
   ============================================ */
.mobile-nav-shadow {
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* ============================================
   Selection color
   ============================================ */
::selection {
    background-color: #00e3fd;
    color: #001f24;
}

/* ============================================
   WooCommerce overrides
   ============================================ */
.woocommerce-breadcrumb {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #74777f;
}

/* ============================================
   Form fixes
   ============================================ */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #006875;
    box-shadow: 0 0 0 1px #006875;
}

/* ============================================
   Responsive image fix
   ============================================ */
img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Line clamp utility
   ============================================ */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
