html,button,input,select,textarea {color: #222;}
html {font-size: 1em; line-height: 1.4;}
::-moz-selection {background: #b3d4fc; text-shadow: none;}
::selection {background: #D9EAFF; text-shadow: none;}
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}
audio,canvas,img,video {vertical-align: middle;}
fieldset {border: 0; margin: 0; padding: 0;}
textarea {resize: vertical;}
body {margin: 0; padding: 0; font: 16px/26px Helvetica, Helvetica Neue, Arial;}
.wrapper {margin: 0 3%;}

.header-container {border-bottom: 20px solid #f1c40f;}

.footer-container,
.main aside {border-top: 20px solid #f1c40f;}

.header-container,
.footer-container,
.main aside {background: #7f8c8d;}
.title {color: #fff;}

nav ul, nav ol {list-style: none; list-style-image: none;}
nav ul {margin: 0; padding: 0;}
nav a {
    background: #f1c40f;
    color: #fff;
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    text-decoration: none;
}
nav a:hover,nav a:visited {color: #fff;}
nav a:hover {text-decoration: underline;}
nav a.active {background: #fff; color: #f1c40f;}

.main article h1 {font-size: 2em;}
.main aside {color: white; margin-top: 20px; padding: 0 4% 10px;}
.main aside:last-child {margin-bottom: 20px;}

.footer-container footer {color: #fff; padding: 20px 0;}

section {display: block}
section:last-child {margin-bottom: 20px;}

figure {margin: 0}
figcaption {color: #666; font-style: italic;}
img {max-width: 100%;}
.smm {height: 31px !important;}

.b {font-weight: bold;}
big {color: #FF6600;}

.w33 {width: 33%}
.w50 {width: 50%}
.w66 {width: 67%}
@media only screen and (max-width: 480px) {
.w33, .w50, .w66 {width: 100%}
}

.left {float: left;}
img.left {margin-right: 0.5em}
.right {float: right;}
img.right {margin-left: 0.5em}

.pics .w33:first-child {margin-right: 2px; width: calc(33% - 2px);}
.pics .w33:last-child {margin-left: 2px; width: calc(33% - 2px);}
.pics .w50:first-child {margin-right: 1px; width: calc(50% - 1px);}
.pics .w50:last-child {margin-left: 1px; width: calc(50% - 1px);}

.video {position: relative; padding-bottom: 56.25%; height: 0;}
/*.video iframe {position: absolute; top: 0; left: 0; width: 100%; height: 100%;}*/

/* news */
#news h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}
time {
    /* display: block;
    font-size: 0.875rem;*/
    color: #666;
    /* margin-bottom: 0.5rem;*/
}
#news p {
    font-size: 1rem;
    color: #444;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}
a.readmore {color: #0066cc;}
a.readmore:hover {color: #004080; text-decoration: none;}


aside a, footer a {color: #f1c40f; outline: none;}

.active {color: #ffbd92; font-weight: bold;}

/* Colors */
.bordo {color: #c0392b}
.crem {color: #f5f5f5}
.grey {color: #7f8c8d}
.yellow {color: #f1c40f}
.dgreen {color: #27ae60}
.lgrey {color: #bdc3c7}
.cf {color: #023A51}
.blue {color: #009BB4}
.gray {color: #494948}
.lgray {color: #BFBBB5}


/* Boxes  */
.flex {display: flex; flex-wrap: nowrap; font-size: 90%;}
.flex .box {
 border-radius: 5px;
 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 padding: 5px 8px;
 width: 50%;
}
.box:first-child {margin-right: 5px;}

@media (max-width: 480px) {
.flex {flex-wrap: wrap;}
.flex .box {margin: 5px 0; width: 100%;}
}
.flex .box1 {
 border-radius: 5px;
 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 padding: 5px 8px;
 width: 100%;
}
.flex h3 {text-align: center;}
.flex ul {padding: 0 0 0 25px;}
.g {background-color: #7f8c8d; color: #fff;}
.y {background-color: #f1c40f}

.pdf {position: relative; padding-bottom: 56.25%; padding-top: 25px; height: 325px;}
.pdf iframe {border: 0; position: absolute; top: 0; left: 0; width: 100%; height: 100%;}

/* price & buy */
.price-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}
.price {
  position: relative;
  width: 160px;
  height: 160px;
  transition: transform 0.3s;
}
.price:hover {transform: scale(1.05);}
.price svg {width: 100%; height: 100%; filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.3));}
.ribbon {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 100px;
  height: 100px;
  overflow: hidden;
}
.ribbon span {
  position: absolute;
  display: block;
  width: 140px;
  padding: 5px 0;
  background-color: #67C2FF;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  color: #fff;
  font-size: .9em;
  letter-spacing: 3px;
  text-shadow: 0 1px 1px rgba(0,0,0,0.2);
  text-align: center;
  right: -35px;
  top: 25px;
  transform: rotate(45deg);
}
.gradient-btn {
  background: linear-gradient(45deg, #7f8c8d, #f1c40f);
  border-radius: 5px;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: white;
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  padding: 15px 30px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.2s ease;
}
.gradient-btn:hover {
  background: linear-gradient(45deg, #f1c40f, #7f8c8d);
  transform: translateY(-2px);
}
.price-wrapper .gradient-btn {font-size: 24px;}

.tires-btn {
  background: url('/images/tires.webp') no-repeat center center;
  background-size: cover;
  border: none;
  border-radius: 5px;
  color: white;
  display: inline-block;
  font-size: 24px;
  font-weight: bold;
  padding: 15px 30px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.tires-btn:hover {
  background-color: #444;
  transform: scale(1.05);
}

/* --- modal for buy --- */
.modal {
  background: rgba(0, 0, 0, 0.6);
  display: none; position: fixed; z-index: 999;
  left: 0; top: 0; width: 100%; height: 100%;
  justify-content: center; align-items: center;
}
.modal-content {
  background: #ffa; border-radius: 8px;
  max-width: 400px; padding: 20px; width: 90%;
}
.close {cursor: pointer; float: right; font-size: 30px; margin: -15px -13px 0 0;
}
input[type="text"], input[type="tel"] {
  box-sizing: border-box;
  margin-bottom: 10px; padding: 8px; width: 100%;
}
button[type="submit"] {
  background: #007BFF; border: none; border-radius: 4px;
  cursor: pointer; color: #fff; padding: 10px 20px;
}

/* table */
.table {overflow-x: auto;}
table {border-collapse: collapse; width: 100%;}
th, td {border: 1px solid; padding: 4px; line-height: 1.2;}
td ul {list-style: none; padding: 0 0 0 20px;}
td ul li, .checklist li {background: url(/images/checklist.png) no-repeat 0 8px; padding-left: 15px;}
table.b0 td {border: 0}

.checklist, .none {list-style: none; padding: 0;}

/* gallery under cons */
.gallery {/*display: flex; flex-wrap: wrap; justify-content: center;*/}
.gallery img {margin: 0 0 5px;
/* width: calc(50% - 5px); position: relative; border-radius: 5px; box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);*/
}
@media (min-width: 768px) {.gallery-item {width: calc(33.33% - 10px); }}
@media (min-width: 1024px) {.gallery-item {width: calc(25% - 10px); }}

/* media */

@media only screen and (min-width: 480px) {
    nav a {
        float: left;
        padding: 0 12px;
        border-right: 1px solid;
	/*width: 24%; margin: 10px 0;*/
    }
    nav li:first-child a {margin-left: 0;}
    nav li:last-child a {margin-right: 0; border-right: 0;}

/* INTERMEDIATE: IE Fixes */
    nav ul li {display: inline;}
    .oldie nav a {margin: 0 0.7%;}
}

@media only screen and (min-width: 768px) {
/* WIDE: CSS3 Effects */
    .header-container,
    .main aside {
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
    }
/* WIDE: Menu */
    .title {float: left;}
    nav {
        float: right;
        width: auto;
    }
/* WIDE: Main */
    .main article {
        float: left;
        width: 60%;
    }
    .main aside {
        float: right;
        width: 26%;
    }
}

@media only screen and (min-width: 1140px) {
/* Maximal Width */
    .wrapper {
        width: 90%; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

/* Helper classes */
.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}
.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}
.hidden {
    display: none !important;
    visibility: hidden;
}
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}
.invisible {visibility: hidden;}
.clearfix:before,
.clearfix:after {content: " "; display: table;}
.clearfix:after {clear: both;}
.clearfix {*zoom: 1;}

/* Print styles */
@media print {
    * {background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    }
    a, a:visited {text-decoration: underline;}
    a[href]:after {content: " (" attr(href) ")";}
    abbr[title]:after {content: " (" attr(title) ")";}
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {content: "";}
    pre, blockquote {border: 1px solid #999; page-break-inside: avoid;}
    thead {display: table-header-group;}
    tr, img {page-break-inside: avoid;    }
    img {max-width: 100% !important;}
    @page {margin: 0.5cm;}
    p, h2, h3 {orphans: 3; widows: 3;}
    h2, h3 {page-break-after: avoid;}
}