
body { font-family: sans-serif; margin: 0; padding: 0; }
.container {  margin: 0 auto; padding:0 50px; }
.site-header { background: #f4f4f4; padding: 15px 0; }
.logo { font-weight: bold; font-size: 24px; text-decoration: none; color: black; }
.main-menu ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.main-menu li { position: relative; }
.main-menu a { text-decoration: none; padding: 10px 0; display: block; color: #000; }
.main-menu .submenu { display: none; position: absolute; top: 100%; left: 0; background: white; border: 1px solid #ddd; min-width: 180px; z-index: 1000; }
.main-menu li:hover .submenu { display: block; }
/* HEADER STYLES */

/* Подключение шрифта Suisse Intl (нужно загрузить файлы шрифта в папку fonts) */
@font-face {
    font-family: 'Suisse Intl';
    src: url('/fonts/SuisseIntl-Regular.woff2') format('woff2'),
         url('/fonts/SuisseIntl-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Suisse Intl';
    src: url('/fonts/SuisseIntl-Bold.woff2') format('woff2'),
         url('/fonts/SuisseIntl-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

/* Стиль для заголовка h2 */
h2 {
    position: relative;
    font-weight: 700;
    font-size: 45px;
    line-height: 1.3;
    text-transform: uppercase;
    font-family: 'Suisse Intl', sans-serif;
    color: #232323;
    margin-top: 40px;  /* Отступ сверху */
    margin-left: 20px;
    margin-bottom: 20px; /* Отступ снизу */
}

.logo {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 26px;
  font-weight: 700;
  text-decoration: none;
  color: black;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.basket-line a {
  text-decoration: none;
  color: black;
  font-size: 14px;
}

/* SEARCH INPUT */
.header-top form {
  flex: 1;
  max-width: 400px;
}

.header-top form input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.header-top form input[type="submit"] {
  display: none;
}

/* BURGER BUTTON */
.header-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

body.with-overlay::before {
    content: "";
    position: fixed;
    top: 60px; /* высота header-top */
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    background: rgba(0,0,0,0.6);
    z-index: 998;
    animation: fadeIn 0.3s ease forwards;
}

.burger-menu-overlay {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    display: none;
    z-index: 999;
    pointer-events: none;
}

.burger-menu-overlay.open {
    display: block;
    pointer-events: auto;
}

.burger-menu-content {
    background: #fff;
    padding: 40px;
    animation: slideDown 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    max-height: 100%;
    overflow-y: auto;
}

.menu-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.burger-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    position: relative;
}

.burger-button .line {
    height: 3px;
    background: #000;
    border-radius: 2px;
    transition: all 0.4s ease;
}

.line1, .line2, .line3 {
    width: 100%;
    transform-origin: center;
}

.burger-button.open .line1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-button.open .line2 {
    opacity: 0;
}

.burger-button.open .line3 {
    transform: rotate(-45deg) translate(6px, -6px);
}


.socials {
    margin-top: 10px;
}

.social-link {
    display: inline-block;
    margin-right: 10px;
    color: #ccc;
    text-decoration: none;
}

.social-link:hover {
    color: #fff;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left, .header-center, .header-right {
    display: flex;
    align-items: center;
}

.header-left { flex: 1; justify-content: flex-start; }
.header-center { flex: 1; justify-content: center; }
.header-right { flex: 1; justify-content: flex-end; }

.logo {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.icon-button svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.search-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.search-popup.active {
    display: flex;
}
.search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    background: none;
    border: none;
}

.header-flex {
    display: flex;
    align-items: center;      /* вертикальное выравнивание */
    justify-content: space-between;
    gap: 20px;                /* отступы между колонками, по желанию */
    height: 70px;             /* или любой фиксированный размер */
}
.header-left,
.header-center,
.header-right {
    display: flex;
    align-items: center;
}

.header-left {
    gap: 10px;
}

.header-right {
    gap: 15px;
    margin-left: auto;
}

.header-center {
    flex: 1;
    justify-content: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
}
.burger-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    display: none;
    min-width: 200px;
}

.burger-dropdown.open {
    display: block;
}

.burger-menu-content {
    padding: 15px;
}
.search-icon img {
  width: 30px;
  height: 30px;
}
.search-icon {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  transition: background 0.2s;
}

.icon-button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.heart-icon {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  transition: background 0.2s;
}
.heart-icon img {
  width: 30px;
  height: 30px;
}
.user-icon {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  transition: background 0.2s;
}
.user-icon img {
  width: 30px;
  height: 30px;
}
.basket-icon {
  all: unset;
  cursor: pointer;

  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  transition: background 0.2s;
}
.basket-icon img {
    vertical-align: middle;
  width: 30px;
  height: 30px;
}
.basket-text {
    display: inline-block;
    position: relative;
     /* поднимаем на 3 пикселя */
    margin-left: 2px; /* отступ от иконки */
    font-size: 14px;  /* по желанию */
}


.menu-columns {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.menu-section {
    min-width: 200px;
}

.menu-section h3{
    font-family: 'Helvetica Neue', sans-serif /* или 'Cinzel', 'Lora', 'Cormorant Garamond', если подключены */
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.main-menu {
padding-inline-start: 0px;
}
.main-menu li {
    margin-bottom: 8px;
    font-size: 15px;
    list-style: none;
}
.main-menu li a {
    text-decoration: none;
    color: inherit;
}

.main-menu li a:hover {
  text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px; /* толщина линии */
    text-underline-offset: 4px;     /* отступ от текста */
}
.main-banner {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.main-banner__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-banner__text {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  color: #fff;

  max-width: 500px;
}

.main-banner__text h1 {
  font-size: 3rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: 'Helvetica', serif;
}

.main-banner__btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  border: 1px solid #fff;
  font-weight: bold;
  transition: all 0.3s ease;
}

.main-banner__btn:hover {
  background-color: #fff;
  color: #000;
}
.product-page {
    font-family: 'Roboto', sans-serif;
    color: #333;
}

.product-image img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.product-info {
    padding: 0 20px;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-author {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
    margin-left: 0.5rem;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.btn-add-to-cart {
    background-color: #000;
    border-color: #000;
    color: #fff;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    text-transform: uppercase;
}

.btn-add-to-cart:hover {
    background-color: #333;
    border-color: #333;
}

.btn-favorite {
    border-color: #000;
    color: #000;
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

.btn-favorite:hover {
    background-color: #f8f8f8;
}

.product-characteristics {
    font-size: 1rem;
    line-height: 1.6;
}

.characteristic {
    margin-bottom: 0.5rem;
}

.characteristic span {
    font-weight: 500;
    margin-right: 5px;
}

.product-description {
    font-size: 1rem;
    line-height: 1.6;
}

.product-specs {
    margin-top: 2rem;
}

.product-specs h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
}

.specs-table td:first-child {
    font-weight: 500;
    width: 30%;
}

.carousel-item img {
    max-height: 200px;
    object-fit: cover;
}

.carousel-control-prev, .carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

@media (max-width: 767px) {
    .product-title {
        font-size: 1.5rem;
    }

    .product-price {
        font-size: 1.2rem;
    }

    .btn-add-to-cart, .btn-favorite {
        width: 100%;
        text-align: center;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-image {
        margin-bottom: 1rem;
    }
}
.site-footer {
    background-color: #f8f8f6 !important; /* ← делаем светлый фон */
    color: #2d2d2d;
    font-family: 'Suisse Intl', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    padding: 40px 0 20px;
    border-top: 1px solid #ddd;
}
.site-footer p{
color: #2d2d2d;
}
.footer-inner {
 
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-block {
    flex: 1 1 200px;
    min-width: 200px;
}

.footer-block h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #000;
}

.footer-block p {
    margin: 0 0 10px;
}

.footer-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-block li {
    margin-bottom: 8px;
}

.footer-block a {
    text-decoration: none;
    color: #2d2d2d;
    transition: color 0.2s;
}

.footer-block a:hover {
    color: #000;
    text-decoration: underline;
}

/* Иллюстрация */
.footer-illustration {
    display: flex;
    justify-content: flex-end; /* выравнивание вправо */
    margin: 20px 0 40px;
}

.footer-illustration img {
    width: 60%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
}

/* Нижняя часть */
.footer-bottom {
    text-align: center;
    border-top: 1px solid #ddd;
    padding-top: 15px;
    font-size: 13px;
    color: #777;
}

@media (max-width: 768px) {
    .footer-illustration {
        justify-content: center;
    }

    .footer-illustration img {
        width: 80%;
    }
}
.footer-info-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    color: #333;
    font-family: "Helvetica Neue", sans-serif;
    font-size: 14px;
    margin-top: 40px;
}

.footer-info-column {
    flex: 1;
    min-width: 200px;
}

.footer-info-column h3,
.footer-info-column p {
    margin: 5px 0;
}

.footer-phone {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-icons a img {
    width: 24px;
    height: 24px;
    filter: grayscale(100%) brightness(0.2);
    transition: filter 0.3s;
}

.footer-icons a:hover img {
    filter: none;
}
