/* =============================================
   DAARTS — Common CSS Framework (Mobile-First)
   ============================================= */

/* --- Accessibility --- */
.visually-hidden {
   position: absolute;
   width: 1px;
   height: 1px;
   padding: 0;
   margin: -1px;
   overflow: hidden;
   clip: rect(0, 0, 0, 0);
   white-space: nowrap;
   border: 0;
}

/* --- CSS Variables --- */
:root {
   --color-primary: #E6403C;
   --color-primary-dark: #CC0000;
   --color-primary-gradient: linear-gradient(180deg, #E6403C, #B22222);
   --color-text: #000000;
   --color-text-secondary: #3F3F3F;
   --color-text-muted: #A6A6A6;
   --color-heading: #005580;
   --color-link: #005580;
   --color-white: #FFFFFF;
   --color-bg: #FFFFFF;
   --color-border: #D2D2D2;
   --color-border-light: #DEE2E6;
   --color-footer-bg: #F8F8F8;

   --font-primary: Arial, sans-serif;
   --font-condensed: Arial, sans-serif;

   --header-height: 100px;
   --sidebar-width: 250px;
   --container-max: 1200px;
   --gap: 16px;
   --radius: 4px;

   --transition: 300ms ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
   box-sizing: border-box;
}

html {
   overscroll-behavior-x: none;
   height: 100%;
}

body {
   margin: 0;
   padding: 0;
   font-family: var(--font-primary);
   font-size: 13px;
   line-height: 1.1875;
   color: var(--color-text);
   background-color: var(--color-bg);
   overflow-x: clip;
   overscroll-behavior-x: none;
   -webkit-font-smoothing: antialiased;
   word-break: break-word;
   -webkit-text-size-adjust: 100%;
   position: relative;
   width: 100%;
   min-height: 100%;
   display: flex;
   flex-direction: column;
}

main {
   flex: 1;
}

img {
   max-width: 100%;
   height: auto;
   display: block;
}

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

a:hover {
   color: var(--color-primary);
}


/* --- Container --- */
.container {
   width: 100%;
   max-width: var(--container-max);
   margin: 0 auto;
   padding: 0 var(--gap);
   overflow-x: hidden;
}

/* --- Typography --- */
h1, .h1 {
   font-family: var(--font-condensed);
   font-size: 22px;
   font-weight: normal;
   letter-spacing: 0.7px;
   color: var(--color-text-secondary);
   margin: 0 0 16px;
}

h2, .h2 {
   font-family: var(--font-primary);
   font-size: 20px;
   font-weight: normal;
   color: var(--color-text);
   margin: 0 0 16px;
}

h2.HeadArticle {
   font-weight: bold;
   font-size: 16px;
   color: var(--color-heading);
}

h3, .h3 {
   font-family: var(--font-primary);
   font-weight: bold;
   font-size: 12px;
   color: var(--color-white);
   margin: 0;
}

.section h3, .Tex-article h3 {
   color: var(--color-text);
   font-size: 14px;
}

h4, .h4 {
   font-family: var(--font-primary);
   font-size: 17px;
   color: var(--color-text);
   margin: 0;
}

h5, .h5 {
   font-family: var(--font-condensed);
   font-weight: normal;
   font-size: 16px;
   color: var(--color-text);
   margin: 0;
}

h6, .h6 {
   font-family: var(--font-primary);
   font-size: 13px;
   line-height: 1.5;
   color: var(--color-text);
   margin: 0;
}

.Tex-article {
   font-family: var(--font-primary);
   font-size: 15px;
   line-height: 1.4;
   text-align: justify;
   color: var(--color-text);
}

.Tex-ttable {
   font-family: var(--font-primary);
   font-size: 11px;
   line-height: 1.6;
}

.Ima_des {
   font-family: var(--font-primary);
   font-size: 15px;
   line-height: 1.4;
   text-align: center;
}

.Telmail {
   font-family: var(--font-primary);
   font-size: 12px;
   color: var(--color-white);
}

/* --- Utility Links --- */
a.Menu-top,
a.Menu-top:visited,
a.Menu-top:active {
   color: var(--color-white);
   text-decoration: none;
   transition: all var(--transition);
   position: relative;
   display: inline-block;
}

a.Menu-top::after {
   content: "";
   display: block;
   width: 0;
   height: 1px;
   margin-top: 1px;
   background: transparent;
   transition: all var(--transition);
}

a.Menu-top:hover::after {
   background: var(--color-white);
   width: 100%;
}

a.Menumidldle,
a.Menumidldle:visited,
a.Menumidldle:active {
   color: var(--color-text);
   background: var(--color-white);
   text-decoration: none;
   transition: all var(--transition);
   position: relative;
   display: inline-block;
}

a.Menumidldle::after {
   content: "";
   display: block;
   width: 0;
   height: 0;
   transition: all var(--transition);
}

a.Menumidldle:hover::after {
   background: var(--color-text);
   width: 100%;
}

a.Menu-bottom,
a.Menu-bottom:visited,
a.Menu-bottom:active {
   color: var(--color-text);
   background: var(--color-white);
   text-decoration: none;
   transition: all var(--transition);
   position: relative;
   display: inline-block;
}

a.Menu-bottom::after {
   content: "";
   display: block;
   width: 0;
   height: 1px;
   margin-top: 1px;
   background: transparent;
   transition: all var(--transition);
}

a.Menu-bottom:hover::after {
   background: #0C0C0C;
   width: 100%;
}

a.Product,
a.Product:visited,
a.Product:active {
   color: var(--color-text);
   text-decoration: none;
   transition: all var(--transition);
   position: relative;
   display: inline-block;
}

a.Product::after {
   content: "";
   display: block;
   width: 0;
   height: 1px;
   margin-top: 1px;
   background: transparent;
   transition: all var(--transition);
}

a.Product:hover::after {
   background: var(--color-text);
   width: 100%;
}

/* --- Boxes --- */
.Box {
   background-color: var(--color-white);
   border: 1px solid #737373;
}

.BoxRMenu {
   background-color: var(--color-white);
   border-right: 1px solid #7F7F7F;
}

/* --- Menu styles --- */
.menu-razd {
   font-family: var(--font-primary);
   font-size: 12px;
   color: var(--color-text);
}

h6.Menu-product {
   font-family: var(--font-primary);
   font-weight: normal;
   font-size: 16px;
   color: var(--color-text);
}

.MenuArt {
   font-family: var(--font-primary);
   font-size: 13px;
   text-align: center;
   color: #3C3C3C;
}

.Monitor {
   font-family: var(--font-primary);
   font-size: 20px;
   text-align: center;
}

.System {
   font-family: var(--font-primary);
   font-size: 20px;
   color: var(--color-text-muted);
}

/* --- Theme classes (from WYSIWYG) --- */
.wb-theme-header {
   background-color: #F8F8F8;
   border: 1px solid #D2D2D2;
   color: #222222;
}

.wb-theme-content {
   background-color: var(--color-white);
   border: 1px solid var(--color-border-light);
   color: #222222;
}

.wb-theme-button,
.wb-theme-static {
   background-color: var(--color-primary);
   border: 1px solid #EB6864;
   color: var(--color-white);
}

.wb-theme-button:hover {
   background-color: #E6403C;
   border-color: var(--color-primary-dark);
   color: var(--color-white);
}

.wb-theme-button.active,
.wb-theme-button:active,
.active > .wb-theme-button {
   background-color: var(--color-primary-dark);
   border-color: #B04E4B;
   color: var(--color-white);
}
