/* ========== Общие стили (из index.css) ========== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    font-family: "Nunito", sans-serif;
}

html, body {
    padding: 0;
    margin: 0;
    font-family: verdana, arial, sans-serif;
}

body {
    font-size: 1.1em;
    padding: 1em;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
}

main {
    display: flex;
    flex-direction: column;
}

article {
    background-color: #546e7a;
    flex: 2 2 12em;
    padding: 1em;
}

nav, aside {
    flex: 1;
}

nav {
    order: -1;
}

footer {
    flex: 0 0 5em;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

footer a {
    color: #fff;
    text-align: center;
}

.tip-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.tip-box strong {
    color: #0d47a1;
}

@media screen and (min-width: 600px) {
    body {
        min-height: 100vh;
    }
    main {
        flex-direction: row;
        min-height: 100%;
        flex: 1 1 auto;
    }
}

@media screen and (min-width: 480px) {
    body {
        min-height: 100vh;
    }
    main {
        flex-direction: row;
        min-height: 100%;
        flex: 1 1 auto;
    }
}

a.btn {
    width: fit-content;
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 15px 22px;
    border-radius: 2px;
    letter-spacing: 1px;
    background: #ff4200;
    text-transform: uppercase;
    border: 1px solid #ff4200;
}

header {
    display: flex;
    align-items: center;
    padding: 0 20px;
    justify-content: space-between;
    background: #3c5431;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #ccc;
}

header .logosite {
    display: block;
    width: 100px;
}

header .logosite a img {
    display: block;
    width: 90px;
}

@keyframes logo-rotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.rotating-logo {
    animation: logo-rotate 8s linear infinite;
    filter: drop-shadow(0 0 8px rgba(11, 10, 10, 0.555));
    transition: transform 0.3s;
}

nav .nav-menu ul.menyu {
    display: flex;
    gap: 25px;
}

.nav-menu ul.menyu li a {
    display: block;
    color: whitesmoke;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 20px;
    border-bottom: 3px solid #3c5431;
    text-transform: capitalize;
    font-family: "DM Sans", sans-serif;
}

.nav-menu ul.menyu li a:hover {
    border-bottom: 3px solid #ff4200;
    transition: 0.3s;
}

header a.btn:hover {
    background: #fff;
    color: #ff4200;
    transition: 0.3s;
}

header .menu-toggle.btn:hover {
    transition: 0.3s;
    color: #ff4200;
    background: #fff;
    border: 1px solid #ff4200;
}

header .menu-toggle {
    width: 48px;
    height: 45px;
    padding: 7px 9.7px 10px;
    display: none;
    cursor: pointer;
    position: relative;
    z-index: 1100;
    border-radius: 10px;
    background: #ff4200;
}

header .menu-toggle .bar1,
header .menu-toggle .bar2,
header .menu-toggle .bar3 {
    width: 100%;
    height: 4px;
    background: #fff;
    margin: 5px 0;
    transition: 0.4s;
    border-radius: 3px;
}

header .menu-toggle.active .bar1 {
    transform: translateY(9px) rotate(45deg);
}

header .menu-toggle.active .bar2 {
    opacity: 0;
}

header .menu-toggle.active .bar3 {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-container {
    display: flex;
    justify-content: end;
}

.container {
    display: flex;
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
}

.left-bar {
    flex: 3;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
}

.advertisement, .info1, .info2, .info3 {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    width: 200px;
    text-align: center;
}

.btb img {
    max-width: 100%;
    height: auto;
    display: block;
    background-color: #fff;
    padding: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.tg-anim {
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    text-align: center;
}

.calculator-section {
    flex: 5;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.img-cargo {
    width: 100%;
    max-width: 100%;
    height: auto;
}

h1 {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-align: start;
    margin: 30px;
    color: #fdb869;
}

h2 {
    text-align: center;
}

.right-bar {
    flex: 4;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.right-bar h4 {
    color: #28a745;
}

.extra1, .extra2, .extra3, .extra4, .extra5 {
    background-color: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

@media screen and (max-width: 1405px) {
    .nav-menu ul.menyu { gap: 10px; }
}
@media screen and (max-width: 1288px) {
    .nav-menu ul.menyu { gap: 7px; }
    header a.btn { font-size: 10px; padding: 10px 12px; }
    header .logosite img { width: 90px; }
}
@media screen and (max-width: 1300px) {
    header a.btn { font-size: 10px; padding: 10px 12px; }
}
@media screen and (max-width: 1204px) {
    header a.btn { display: none; }
}
@media screen and (max-width: 1044px) {
    header .menu-toggle { display: block; }
    header .nav-menu {
        position: absolute;
        top: 91px;
        left: 0;
        right: 0;
        background-color: #3c5431;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.5s ease, opacity 0.5s ease;
    }
    header .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    header .nav-menu ul.menyu {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    header .nav-menu ul.menyu li {
        margin: 0;
        width: 100%;
        border-bottom: 2px solid #023d85;
    }
    header .nav-menu ul.menyu li a {
        display: block;
        padding: 14px 0;
        text-align: center;
        font-size: 14px;
    }
    header .nav-menu ul.menyu li a:hover {
        background: #ff4200;
        transition: 0.4s;
    }
}

/* ========== Специфичные стили для страницы сравнения ========== */
.shop-list {
    margin: 30px 0;
}

.shop-item {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    position: relative;
}

.shop-logo {
    max-width: 180px;
    height: auto;
    margin: 0 auto 15px;
    display: block;
}

.shop-item h3 {
    color: #e74c3c;
    margin-top: 0;
    padding-bottom: 10px;
    text-align: center;
    border-bottom: 2px solid #f1f1f1;
}

.shop-features {
    display: flex;
    margin: 20px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.feature-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    flex: 1;
    min-width: 200px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.feature-card strong {
    display: block;
    margin-bottom: 5px;
    color: #2c3e50;
}

.rating {
    color: #f39c12;
    font-weight: bold;
    font-size: 1.1em;
}

.shop-item .tip-box {
    background: #eaf7ff;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 4px 4px 0;
}

.shop-item .tip-box strong {
    color: #2980b9;
}

.conclusion {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    border: 1px solid #e0e0e0;
}

.shop-table-container {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.shop-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.shop-table th {
    background-color: #e74c3c;
    color: white;
    padding: 12px 15px;
    text-align: left;
}

.shop-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.shop-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.shop-table tr:hover {
    background-color: #f1f1f1;
}

.price-rating {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    background: #f39c12;
    color: white;
    font-weight: bold;
    font-size: 0.9em;
}

.faq-section {
    margin: 40px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}
.faq-item {
    margin-bottom: 20px;
}
.faq-item h4 {
    color: #e74c3c;
    margin-bottom: 5px;
}

@media (max-width: 992px) {
    .shop-features {
        flex-direction: column;
    }
    .feature-card {
        margin-bottom: 10px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .shop-logo {
        max-width: 150px;
    }
    .shop-table td {
        padding: 8px 10px;
        font-size: 0.9em;
    }
    .shop-table th {
        padding: 10px 12px;
        font-size: 0.9em;
    }
    .price-rating {
        padding: 2px 6px;
        font-size: 0.8em;
    }
}

@media (max-width: 576px) {
    .shop-logo {
        max-width: 120px;
    }
    .shop-table-container {
        border-radius: 0;
        margin-left: -10px;
        margin-right: -10px;
        width: calc(100% + 20px);
    }
}