/*
Theme Name: Pamyat
Theme URI: http://example.com
Author: Step
Author URI: http://example.com
Description: Память.
Version: 1.0
*/



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

.no-scroll {
    overflow: hidden;
}

.entry-content h1, .entry-content h2, .entry-content h3 {
    font-weight: 400;
    color: #333;
    margin: 25px 0 15px;
    line-height: 1.2;
}

h1 {
    font-size: 48px;
}
@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }
}
@media (max-width: 390px) {
    h1 {
        font-size: 28px;
    }
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 390px) {
    .container {
        padding: 0 10px;
    }
}

/* Header */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 50px;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    width: 35px;
    height: auto;
    margin-right: 12px;
    border-radius: 2px;
    position: relative;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: baseline;
}

.brand-name {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-align: left;
}

.brand-tagline {
    font-size: 11px;
    color: #666;
    text-align: left;
    text-transform: uppercase;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 40px;
}

.company-description {
    font-size: 12px;
    color: #666;
    line-height: 1.2;
    max-width: 187px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 45px;
}

.address-wrap {
    margin-right: clamp(5px, -15.799rem + 25.17vw, 150px);
}

.address {
    font-size: 13px;
    color: #666;
}

.show-on-map {
    font-size: 11px;
    color: #999999;
    text-decoration: underline;
    text-transform: uppercase;
    margin-bottom: 8px;
    transition: opacity 0.3s ease;
}

.show-on-map:hover {
    opacity: 0.7;
}

.phone-wrap {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.work-hours {
    font-size: 11px;
    color: #666;
}

.phone-number {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: #d4a574;
}

/* .social-links {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link.whatsapp {
    background-color: #25d366;
    color: white;
}

.social-link.telegram {
    background-color: #0088cc;
    color: white;
} */

.header-nav {
    padding: 20px 0;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-item a {
    font-size: clamp(11px, 0.514rem + 0.36vw, 14px);
    font-weight: 500;
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-item a:hover {
    color: #d4a574;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d4a574;
    transition: width 0.3s ease;
}

.nav-item a:hover::after {
    width: 100%;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.burger-line {
    width: 24px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    max-width: 300px;
    width: 80%;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    padding: 80px 30px 30px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* .mobile-nav li {
    margin-bottom: 25px;
} */

.mobile-nav a {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: #d4a574;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.main-content {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #666;
}

@media (max-width: 1024px) {

    .company-description {
        display: none;
    }
}

/* Планшетная версия */
@media (max-width: 768px) {
    .header-info {
        gap: 20px;
    }

    .nav-menu, .header-nav, .address-wrap {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .brand-name {
        font-size: clamp(16px, 0.871rem + 0.53vw, 18px);
    }

    .brand-tagline {
        font-size: clamp(8px, 0.307rem + 0.79vw, 11px);
    }

    .phone-number {
        font-size: clamp(14px, 0.617rem + 1.06vw, 18px);
    }

    .social-links {
        margin-left: 15px;
    }

    .social-link {
        width: 32px;
        height: 32px;
    }
    .work-hours {
        font-size: clamp(10px, 0.561rem + 0.26vw, 11px);
        color: #666;
    }
}

@media (max-width: 576px) {

    .header .social-links {
        display: none;
    }
}

/* Мобильная версия */
@media (max-width: 390px) {
    .header-container {
        padding: 0 20px;
    }

    .header-top {
        padding: 12px 0;
    }

    .header-info {
        gap: 15px;
    }

    .contact-info {
        display: none;
    }

    .brand-name {
        font-size: 16px;
    }

    .brand-tagline {
        font-size: 10px;
    }

    .work-hours {
        font-size: 11px;
    }

    .phone-number {
        font-size: 14px;
    }

    .social-links {
        margin-left: 10px;
    }

    .social-link {
        width: 30px;
        height: 30px;
    }

    .mobile-menu {
        width: 280px;
        padding: 70px 25px 25px;
    }

    .mobile-nav a {
        font-size: 15px;
    }
}

@media (max-width: 390px) {
    .header-info .work-hours,
    .header-info .phone-number {
        display: block;
    }

    .header-info {
        flex-direction: column;
        align-items: flex-end;
        gap: 5px;
    }
}


/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('assets/img/bg-main.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 110px 0 175px;
}

.hero-title {
    font-size: 64px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 36px;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero .highlight {
    font-weight: 400;
    text-decoration: underline;
}

.hero-description {
    font-size: 24px;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 0;
    max-width: 800px;
}

.btn {
    padding: 20px 40px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    flex: 1;
    text-align: center;
}

.btn-primary {
    background: #c9a876;
    color: white;
}

.btn-primary:hover {
    background: #b8956a;
}

.btn-secondary {
    background: white;
    color: #333;
}

.btn-secondary:hover {
    background: #f0f0f0;
}

.btn-secondary__grey {
    background: #E9E9E9;
}

/* Features Section */
.features {
    background: linear-gradient(135deg, #4a4a4a 0%, #2a2a2a 100%);
    padding: 23px 0 35px;;
    position: relative;
    width: 97%;
    margin-top: -60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    color: white;
}

.feature {
    text-align: left;
}

.feature-icon {
    color: #c9a876;
    font-size: 24px;
    margin-bottom: 5px;
}

.feature-title {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0px;
    line-height: 1.3;
    max-width: 120px;
}

.feature-description {
    font-size: 14px;
    color: #ccc;
    line-height: 1.4;
}

.feature-link {
    color: #c9a876;
    text-decoration: underline;
    font-size: 14px;
}

/* Services Section */
.services {
    background: #f8f8f8;
    padding: 100px 0;
    padding-top: 100px;
}

.section-card {
    padding: 50px 0;
}

.services-header {
    text-align: left;
    margin-bottom: 60px;
}

.services-title {
    font-size: 48px;
    font-weight: 400;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}

.services-title .highlight {
    color: #c9a876;
}

.services-subtitle {
    font-size: 20px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-carousel {
    position: relative;
    overflow: hidden;
}

.services-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.service-card {
    flex: 0 0 calc(33.333% - 14px);
    height: 400px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.service-number {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    z-index: 3;
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px;
    color: white;
    z-index: 3;
}

.service-title {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.service-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 24px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background: white;
    color: #333;
}

.services_catalog {
    padding: 15px 0 50px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #c9a876;
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 4;
}

.carousel-btn:hover {
    background: #b8956a;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: -25px;
}

.carousel-btn-next {
    right: -25px;
}

.services-footer {
    margin-top: 35px;
}

.services-link {
    color: #c9a876;
    text-decoration: underline;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-link:hover {
    color: #b8956a;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 0 20px;
    }

    .company-info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 100;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .features-container {
        padding: 0 20px;
    }

    .services-title {
        font-size: 32px;
    }

    .services-subtitle {
        font-size: 16px;
    }

    .service-card {
        flex: 0 0 calc(50% - 10px);
        height: 350px;
    }

    .service-title {
        font-size: 18px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .carousel-btn-prev {
        left: -20px;
    }

    .carousel-btn-next {
        right: -20px;
    }

    .btn {
        padding: 15px 25px;
        font-size: 15px;
    }
}

@media (max-width: 390px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-description {
        font-size: 16px;
    }

    .features-grid {
        gap: 30px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .services-title {
        font-size: 28px;
    }

    .services-subtitle {
        font-size: 14px;
    }

    .service-card {
        flex: 0 0 100%;
        height: 320px;
    }

    .service-title {
        font-size: 16px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .carousel-btn-prev {
        left: -15px;
    }

    .carousel-btn-next {
        right: -15px;
    }
}

@media (min-width: 1600px) {
    .hero-title {
        font-size: 72px;
    }

    .hero-subtitle {
        font-size: 42px;
    }
}


/* Card Section */

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    margin-right: auto; 
}
.section-subtitle_main-page {
    max-width: 800px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 70px;
    column-gap: clamp(50px, -3.220rem + 15.82vw, 170px)
}

.card {
    background: white;
    overflow: hidden;
    transition: 0.3s ease;
}

.card:hover {
    transform: scale(1.005);
}
.card:hover .card-title a {
    color: #c9a876;
}

.card-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid #d2d2d2;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.card-image.hidden {
    opacity: 0;
}

.image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.image-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.image-nav.prev {
    left: 10px;
}

.image-nav.next {
    right: 10px;
}

.card-title {
    line-height: 1.5rem;
    margin-top: .5rem;
    margin-bottom: .9rem;
}

.card-content {
    padding: 15px 0;
}

.card-title a {
    font-size: 1.2rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: 0.3s ease;
}

.card-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-location {
    color: #666;
    font-size: 0.9rem;
}

.card-price {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.card-materials-wrap {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.card-specs {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 15px;
  max-width: 50%;
}

.card-materials {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.material-sample {
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
}

.material-black {
    background-color: #2a2a2a;
}

.material-gray {
    background-color: #c4c4c4;
}

.material-pattern {
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0iIzdmNmY0ZSIvPgo8L3N2Zz4=');
}

.card-link {
    color: #c9a876;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #b8956a;
}

.info-card {
    background: linear-gradient(135deg, #4a4a4a 0%, #2a2a2a 100%);
    color: white;
    padding: clamp(30px, -5.903rem + 16.20vw, 100px) clamp(20px, -4.306rem + 11.57vw, 70px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
}

.info-card-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 4rem;
    text-align: center;
    text-transform: uppercase;
}

.info-card-features {
    list-style: none;
    margin-bottom: 30px;
}

.info-card-features li {
    margin-bottom: 15px;
    padding-left: 15px;
    position: relative;
    font-size: 1.2rem;
    line-height: 1.5;
}

.info-card-features li:before {
    content: "—";
    position: absolute;
    left: 0;
    color: #c9a876;
}

.info-card-note {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 30px;
    line-height: 1.4;
}

.info-card-button {
    background: #c9a876;
    color: white;
    border: none;
    padding: 15px 25px;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.info-card-button:hover {
    background: #b8956a;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.thumbnail {
    width: 100%;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover {
    opacity: 1;
}

.thumbnail.active {
    opacity: 1;
    border-color: #c9a876;
}

/* Адаптивность */
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* .card-content {
        padding: 20px;
    } */
    
    .info-card {
        padding: 30px 25px;
        order: 10; /* Перемещаем в конец */
    }

    .card:not(.info-card) {
        order: 1; /* Обычные карточки идут первыми */
    }
}

@media (max-width: 390px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .card-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .info-card {
        padding: 25px 20px;
    }
    
    .info-card-title {
        font-size: 1.5rem;
    }
}

/* Stone Section*/

.stone-materials {
    padding: 100px 0 0 0;
    background-color: #f8f9fa;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #1a1a1a;
}

/* Materials Grid */
.materials-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.material-card {
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.material-card:hover {
    transform: scale(1.01);
}

.material-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.material-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.material-card:hover .material-image img {
    transform: scale(1.01);
}

.material-info {
    padding: 25px 0;
}

.material-name {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #1a1a1a;
    text-transform: uppercase;
}

.material-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.material-price {
    font-size: 20px;
    font-weight: 700;
    color: #2c5aa0;
}


/* Desktop - 1600px */
@media (min-width: 1200px) {
    .materials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .section-title {
        font-size: 56px;
    }
}

/* Tablet - 768px */
@media (min-width: 768px) and (max-width: 1199px) {
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .section-title {
        font-size: 42px;
        margin-bottom: 50px;
    }
    
    .stone-materials {
        padding: 50px 0 0 0;
    }
    
    .material-image {
        height: 220px;
    }
}

/* Mobile - 390px */
@media (max-width: 767px) {
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .stone-materials {
        padding: 50px 0 0 0;
    }
    
    .material-info {
        padding: 20px 0;
    }
    
    .material-name {
        font-size: 20px;
    }
    
    .material-description {
        font-size: 14px;
    }
    
    .material-price {
        font-size: 18px;
    }
    
    .material-image {
        height: 200px;
    }
}

/* Extra small devices */
@media (max-width: 390px) {
    .container {
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

/* Contact Form */

.contact-form {
    background: linear-gradient(135deg, #4a4a4a 0%, #2a2a2a 100%);
    padding: 60px 50px;
    margin-bottom: 60px;
}

.form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.form-left {
    color: #fff;
}

.form-title {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.2;
}

.form-subtitle {
    font-size: 18px;
    color: #b0b0b0;
    line-height: 1.5;
}

.form-right {
    display: flex;
    flex-direction: column;
}

.form-fields {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-input {
    padding: 18px 20px;
    border: 2px solid #444;
    background: #fff;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #2c5aa0;
}

.form-input::placeholder {
    color: #888;
}

.form-submit {
    background: #2c5aa0;
    color: #fff;
    padding: 18px 30px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit:hover {
    background: #1e3f73;
}

.form-privacy {
    font-size: 14px;
    color: #888;
    line-height: 1.4;
}

/* Tablet - 768px */
@media (min-width: 768px) and (max-width: 1199px) {
    .contact-form {
        padding: 50px 30px;
        margin-bottom: 50px;
    }
    
    .form-content {
        gap: 40px;
    }
    
    .form-title {
        font-size: 32px;
    }
    
    .form-subtitle {
        font-size: 16px;
    }
    
    .form-row {
        gap: 15px;
    }
}

/* Mobile - 390px */
@media (max-width: 767px) {
    .contact-form {
        padding: 40px 20px;
        margin-bottom: 50px;
    }
    
    .form-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        flex-direction: column;
    }
    
    .form-title {
        font-size: 28px;
    }
    
    .form-subtitle {
        font-size: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .form-input,
    .form-submit {
        padding: 15px 20px;
    }
    
    .form-submit {
        width: 100%;
    }
}

/* Extra small devices */
@media (max-width: 390px) {
    .contact-form {
        padding: 30px 15px;
        margin-bottom: 50px;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .form-content {
        gap: 25px;
    }
}

/* Contact Section */

.contacts {
    padding: 100px 0;
    background-color: #fff;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #1a1a1a;
}

/* Contacts Grid */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-title {
    font-size: 19px;
    font-weight: 400;
    color: #1a1a1a;
    text-transform: uppercase;
}

.contact-text {
    font-size: 18px;
    color: #666;
    line-height: 1.5;
}

.contact-phone {
    font-size: 18px;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-phone:hover {
    color: #c9a876;
}

.contact-schedule {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-schedule {
    font-size: 18px;
    color: #666;
}

/* Social Links */
.contact-item .social-links {
    margin-top: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link.whatsapp {
    color: #25D366;
    border-color: #25D366;
}

.social-link.whatsapp:hover {
    transform: scale(1.1);
}

.social-link.telegram {
    color: #0088cc;
    border-color: #0088cc;
}

.social-link.telegram:hover {
    transform: scale(1.1);
}

.social-link svg {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}


/* Map */
.contacts-map {
    height: 500px;
    min-height: 400px;
}

.yandex-map {
    width: 100%;
    height: 100%;
    border: none;
}

/* Desktop - 1600px */
@media (min-width: 1200px) {
    .section-title {
        font-size: 56px;
    }
    
    .contacts-grid {
        gap: 80px;
    }
    
    .contacts-info {
        gap: 30px;
    }
    
    .contacts-map {
        height: 500px;
    }
}

/* Tablet - 768px */
@media (min-width: 768px) and (max-width: 1199px) {
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .section-title {
        font-size: 42px;
        margin-bottom: 50px;
    }
    
    .contacts {
        padding: 100px 0;
    }
    
    .contacts-info {
        gap: 35px;
    }
    
    .contact-title {
        font-size: 22px;
    }
    
    .contact-text {
        font-size: 16px;
    }
    
    .contact-phone {
        font-size: 16px;
    }
    
    .contact-schedule {
        font-size: 16px;
    }
    
    .contacts-map {
        height: 500px;
        order: -1; /* Карта будет первой на планшетах */
    }
}

/* Mobile - 390px */
@media (max-width: 767px) {
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .contacts {
        padding: 40px 0;
    }
    
    .contacts-info {
        gap: 30px;
    }
    
    .contact-title {
        font-size: 20px;
    }
    
    .contact-text {
        font-size: 16px;
    }
    
    .contact-phone {
        font-size: 16px;
    }
    
    .contact-schedule {
        font-size: 16px;
    }
    
    .social-links {
        margin-left: 0;
        gap: 12px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .social-link svg {
        width: 28px;
        height: 28px;
    }
    
    .contacts-map {
        height: 500px;
        order: -1; /* Карта будет первой на мобильных */
    }
}

/* Extra small devices */
@media (max-width: 390px) {
    .section-title {
        font-size: 28px;
    }
    
    .contacts-info {
        gap: 25px;
    }
    
    .contact-title {
        font-size: 18px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link svg {
        width: 24px;
        height: 24px;
    }
}

.categories_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(160px, 17.8vw, 295px), 1fr));
    gap: clamp(10px, 2.7vw, 20px);
    padding-right: 14px;
}
.categories_container__block {
    position: relative;
}

.categories_container__item_title {
    font-size: 18px;
    font-weight: 400;
    position: absolute;
    left: 0;
    right: 0;
    top: -5px;
    color: black;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    text-wrap-style: balance;
    text-transform: uppercase;
}

.categories_container__item_title {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 24%, rgba(255, 255, 255, 0.8) 54%, rgba(255, 255, 255, 0) 83%);
    padding: 35px 0;
}

img {
    object-fit: cover;
    max-width: 100%;
    display: block;
    height: auto;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #4a4a4a 0%, #2a2a2a 100%);
    padding: 50px 0 0 0;
}

.about-wrap {
    padding: 50px 0 100px;
}

.services-title__about, 
.section-subtitle__about {
    color: #fff;
}

.about-main-content {
    font-size: 1rem;
    color: #fff;
}

/* Feedback */
        .feedback-section {
            background: linear-gradient(135deg, #4a4a4a 0%, #2a2a2a 100%);
            padding: 80px 0;
            overflow: hidden;
        }

        .feedback-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .services-title__feedback {
            color: #fff;
        }

        .feedback-carousel {
            position: relative;
            overflow: hidden;
        }

        .feedback-track {
            display: flex;
            transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            will-change: transform;
        }

        .feedback-slide {
            min-width: 25%;
            position: relative;
            background: linear-gradient(145deg, #333333, #1a1a1a);
            /* border-radius: 20px; */
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
            margin-right: 20px;
        }

        .feedback-slide:last-child {
            margin-right: 0;
        }

        .feedback-screenshot {
            width: 100%;
            height: auto;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .feedback-slide:hover .feedback-screenshot {
            transform: scale(1.05);
        }

        .feedback-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(#00000069, rgb(0 0 0 / 89%));
            padding: 40px 30px 30px;
            transform: translateY(10px);
            opacity: 0;
            transition: all 0.3s ease;
        }

        .feedback-slide:hover .feedback-overlay {
            transform: translateY(0);
            opacity: 1;
        }

        .feedback-author {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 8px;
            color: #ffffff;
        }

        .feedback-text {
            font-size: 1rem;
            color: #E9E9E9;
            line-height: 1.5;
        }

        .feedback-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-top: 40px;
        }

        .feedback-btn {
            
            background: linear-gradient(135deg, #444444, #222222);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            display: none;
        }

        .feedback-btn:hover {
            background: linear-gradient(135deg, #555555, #333333);
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        }

        .feedback-btn:active {
            transform: translateY(0);
        }

        .feedback-dots {
            display: flex;
            gap: 12px;
        }

        .feedback-dot {
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .feedback-dot.active {
            background: white;
            transform: scale(1.2);
        }

        .feedback-counter {
            display: none;
            color: #E9E9E9;
            font-size: 0.9rem;
            min-width: 60px;
            text-align: center;
        }

        /* Адаптивность для планшетов (768px) */
        @media (max-width: 768px) {
            .feedback-section {
                padding: 60px 0;
            }

            .feedback-container {
                padding: 0 15px;
            }

            .feedback-slide {
                min-width: calc(33.333% - 14px);
            }

            .feedback-screenshot {
                height: auto;
            }

            .feedback-overlay {
                padding: 30px 20px 20px;
            }

            .feedback-controls {
                margin-top: 30px;
                gap: 15px;
            }

            .feedback-btn {
                width: 45px;
                height: 45px;
                font-size: 16px;
            }
        }

        /* Адаптивность для мобильных (390px) */
        @media (max-width: 390px) {
            .feedback-section {
                padding: 40px 0;
            }

            .feedback-container {
                padding: 0 10px;
            }

            .feedback-slide {
                min-width: 100%;
                margin-right: 0;
            }

            .feedback-screenshot {
                height: auto;
            }

            .feedback-overlay {
                padding: 20px 15px 15px;
            }

            .feedback-author {
                font-size: 1.1rem;
            }

            .feedback-text {
                font-size: 0.9rem;
            }

            .feedback-controls {
                margin-top: 20px;
                gap: 10px;
            }

            .feedback-btn {
                width: 40px;
                height: 40px;
                font-size: 14px;
            }

            .feedback-dot {
                width: 10px;
                height: 10px;
            }

            .feedback-counter {
                font-size: 0.8rem;
                min-width: 50px;
            }
        }

        /* Анимации появления */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .feedback-section {
            animation: fadeInUp 0.8s ease-out;
        }

/* Footer */
.footer {
    background: linear-gradient(135deg, #4a4a4a 0%, #2a2a2a 100%);
    color: #ffffff;
    padding: 60px 0 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer .brand-logo {
    margin-bottom: 15px;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
}

.logo__footer {
    margin-bottom: 15px;
}

.footer .logo-text {
    color: #ffffff;
}

.footer .logo-subtitle {
    color: #E9E9E9;
}

.footer .brand-name {
    color: #ffffff;
}

.footer .brand-tagline {
    font-size: 11px;
    color: #E9E9E9;
    text-transform: uppercase;
}

.brand-description {
    font-size: 13px;
    line-height: 1.4;
    color: #E9E9E9;
    margin-bottom: 40px;
    max-width: 240px;
}

.footer .contact-phone {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer .social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E9E9E9;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer .social-link:hover {
    border-color: #d4a574;
    color: #d4a574;
    transform: scale(1.1);
}

.footer-column h3 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: #E9E9E9;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #d4a574;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid #5a5a5a;
    font-size: 13px;
    color: #999999;
}

.footer-bottom a {
    color: #999999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #d4a574;
}
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }
}
/* Планшетная версия */
@media (max-width: 768px) {

    .footer-brand {
        grid-column: 1 / -1;
        margin-bottom: 20px;
    }

    .contact-phone {
        font-size: 18px;
    }

    .footer .social-links {
        margin-left: 0;
        gap: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }
}

/* Мобильная версия */
@media (max-width: 390px) {
    .footer {
        padding: 40px 0 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-bottom: 40px;
    }

    .footer-brand {
        margin-bottom: 10px;
    }

    .brand-description {
        margin-bottom: 30px;
    }

    .contact-phone {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-column h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-bottom {
        font-size: 12px;
    }
}

/* Модальное окно */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal {
    background: white;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.7) translateY(50px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 48px;
    cursor: pointer;
    color: #666;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.modal-header {
    margin-bottom: 30px;
    text-align: center;
}

.modal-title {
    font-size: 28px;
    font-weight: 400;
    color: #333;
    margin-bottom: 12px;
}

.modal-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
    color: #333;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 16px;
    border: 2px solid #e0e0e0;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-input:focus {
    outline: none;
    border-color: #c9a876;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 30px;
}

.custom-checkbox {
    position: relative;
    min-width: 20px;
    height: 20px;
    margin-top: 2px;
}

.custom-checkbox input {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 1;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: #fafafa;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.custom-checkbox input:checked + .checkmark {
    background: #c9a876;
    border-color: #c9a876;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked + .checkmark:after {
    display: block;
}

.checkbox-label {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    cursor: pointer;
    user-select: none;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: #c9a876;
    color: white;
    border: none;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.error-message {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.success-message {
    background: linear-gradient(135deg, #00b894 0%, #00a085 100%);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    display: none;
}

/* Анимация загрузки */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Адаптивность */
@media (max-width: 600px) {
    .modal {
        padding: 30px 25px;
        margin: 20px;
    }
    
    .modal-title {
        font-size: 24px;
    }
}

/* Страница Контакты*/

.contacts-page-header {
    padding: 50px 0;
    background: linear-gradient(135deg, #4a4a4a 0%, #2a2a2a 100%);
}

.contacts-page-header .section-subtitle {
    margin-bottom: 0;
}

.contacts-page-header .services-title, .contacts-page-header .section-subtitle {
    color: #fff;
}

.contacts-page .contacts-grid {
    padding: 50px 0;
}

@media (max-width: 768px) {

    .contacts-page .contacts-grid {
        padding: 30px 0 60px;
    }
}

/* Хлебные крошки */
.breadcrumbs {
    padding: 30px 0;
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    font-size: clamp(11px, 0.494rem + 0.79vw, 14px);
    color: #666;
}

.breadcrumbs-list a {
    color: #666;
    text-decoration: none;
}

.breadcrumbs-list a:hover {
    color: #333;
}

.breadcrumbs-separator {
    margin: 0 8px;
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 20px 0;
    }
}

.category-header {
    margin-top: 10px;
}

.category-footer {
    padding: 100px 0;
}

.cards-grid_category {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 70px;
    column-gap: 50px;
}

@media (max-width: 1024px) {
    .cards-grid_category {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
        column-gap: 30px;
    }
}
@media (max-width: 768px) {

    .category-header .section-subtitle {
        margin-bottom: 2rem;
    }
    .category-header .section-card {
        padding: 30px 0 50px;
    }
    .cards-grid_category {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 50px;
    }
    .cards-grid_category .card-specs, .cards-grid_category .card-materials {
        margin-bottom: 5px;
    }
    .cards-grid_category .material-sample {
        width: 35px;
        height: 35px;
    }
}


/* Скрытие/раскрытие длинного текста */
.text-content {
    max-height: 80px; /* Фиксированная высота блока */
    transition: 
    max-height 1s ease-in-out, /* Увеличиваем время и меняем easing */
    opacity 1s ease; /* Добавляем плавное появление текста (опционально) */
    overflow: hidden;
}

.text-content.expanded {
    max-height: 2000px;
}

.read-more-btn {
    background: #fff;
    border: none;
    color: #d1d1d1;
    cursor: pointer;
    font-size: 14px;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.read-more-btn:after {
    content: '\21D3';
    display: inline-block;
    margin-left: 5px;
    font-size: 10px;
    transition: transform 0.4s ease-in-out; /* Плавный поворот стрелки */
}

.read-more-btn.expanded:after {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .text-content {
        max-height: 110px;
    }
}



/* Фильтры*/
.filters-section {
    margin-bottom: 20px;
}

.filters-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filter-dropdown {
    position: relative;
    width: fit-content;
    min-width: 145px;
}

.filter-button {
    background-color: #E9E9E9;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: clamp(11px, 0.572rem + 0.47vw, 14px);
    color: #333;
    text-transform: uppercase;
    min-width: 250px;
}

.filter-button:hover {
    background-color: #d0d0d0;
}

.filter-button.active {
    background-color: #333;
    color: white;
}

.dropdown-arrow {
    width: 0;
    height: 0;
    margin-left: 10px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #666;
    transition: transform 0.3s ease;
}

.filter-button.active .dropdown-arrow {
    border-top-color: white;
}

.filter-button.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    max-height: 350px;
    overflow-y: auto;
}

.dropdown-content.show {
    display: block;
}

.dropdown-item {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(13px, 0.572rem + 0.47vw, 14px);
}

.dropdown-item:hover {
    background-color: #f0f0f0;
}

.dropdown-item input[type="checkbox"] {
    margin: 0;
}

.filter-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.filters-button {
    background-color: #E9E9E9;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
    text-transform: uppercase;
    font-weight: 400;
}

.filters-button:hover {
    background-color: #d0d0d0;
}

.sort-dropdown {
    position: relative;
    min-width: 200px;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hamburger-line {
    width: 15px;
    height: 2px;
    background-color: #333;
}

 /* Адаптивные стили */
@media (max-width: 768px) {
    .filters-row {
        flex-direction: column;
    }

    .filter-dropdown {
        min-width: 100%;
        margin-bottom: 15px;
    }

    .filter-controls {
        gap: 15px;
        align-items: stretch;
    }
}

@media (max-width: 390px) {
    .filter-button,
    .filters-button {
        padding: 10px 15px;
        font-size: 12px;
    }
}

.entry-content {
    padding-bottom: 100px;
}



/* Общие стили для каталога */
.monuments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.monument-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.monument-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.monument-thumbnail {
    height: 200px;
    overflow: hidden;
}

.monument-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.monument-card:hover .monument-thumbnail img {
    transform: scale(1.05);
}

.monument-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.monument-title {
    margin: 15px;
    font-size: 1.2rem;
    color: #333;
}

.monument-meta {
    display: flex;
    justify-content: space-between;
    padding: 0 15px 15px;
    font-size: 0.9rem;
}

.price {
    font-weight: bold;
    color: #d32f2f;
}

.in-stock {
    color: #388e3c;
}

.on-order {
    color: #ffa000;
}

/* Страница категории */
.category-image {
    margin-bottom: 30px;
}

.category-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.category-description {
    margin-bottom: 30px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

/* Страница памятника */
/* .single-monument-page {
    margin: 40px auto;
} */

.monument-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.monument-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.monument-gallery {
    position: sticky;
    top: 20px;
}

.main-image {
    margin-bottom: 15px;
}

.main-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gallery-thumbs .thumb {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
}


.gallery-thumbs .thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.monument-details h3 {
    margin: 25px 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.materials-list, .sizes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.materials-list li, .sizes-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.monument-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}


/* Категории */
.categories-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.category-item a {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #333;
}

.category-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.category-item:hover img {
    transform: scale(1.03);
}

/* Адаптивность */
@media (max-width: 768px) {
    .monument-content {
        grid-template-columns: 1fr;
    }
    
    .monument-gallery {
        position: static;
    }
    
    .categories-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}


/* карточка товара */
.monument-thumbnail {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev, 
.swiper-button-next__custom {
    width: 30px !important;
    height: 50px !important;
    color: #d2d2d2 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.3s;
}

.swiper-button-next, 
.swiper-button-next__custom {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next:after,
.swiper-button-prev:after, 
.swiper-button-next__custom:after {
    font-size: 30px;
    font-weight: bold;
}


/* свайпер в карточке товара */
.monument-gallery-container {
    width: 100%; /* Занимает всю доступную ширину */
    max-width: 760px;
    margin: 0 auto;
    overflow: hidden; /* Скрываем всё, что выходит за границы */
}

.main-slider, 
.thumbs-slider {
    width: 100%;
}

.main-slider .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* Для адаптивности изображений внутри слайдов */
.swiper-slide {
    width: 100%;
    height: auto;
}

/* Слайдер миниатюр */
.thumbs-slider {
    width: 200px;
    height: auto;
    box-sizing: border-box;
}
.thumbs-slider .swiper-slide {
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s;
}
.thumbs-slider .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #3498db;
}
.thumbs-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-prev::after, 
.swiper-button-next::after {
    font-size: 28px !important;
}
.thumbs-slider .swiper-slide-thumb-active {
    border: 1px solid #C9A876;
}


/*новая карточка товара*/
        .product-section {
            padding: 0 0 70px 0;
        }

        .product-grid {
            display: grid;
            grid-template-columns: 50% auto;
            gap: 60px;
            align-items: start;
        }

        /* Левая колонка */
        .product-left {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .main-slider {
            border: 1px solid #d2d2d2;
            margin-bottom: 15px;
        }

        /* Блок опций */
        .options-block {
            background: white;
            padding-top: 35px;
            
        }

        .option-group {
            margin-bottom: 24px;
            display: flex;
            justify-content: space-between;
        }

        .option-group:last-child {
            margin-bottom: 0;
        }

        .option-label {
            display: flex;
            align-items: center;
            margin-right: 20px;
            color: #333;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .select-wrapper {
            position: relative;
            min-width: 70%;
        }

        .custom-select-var {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid #ddd;
            font-size: 16px;
            color: #333;
            background: white;
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 16px;
            padding-right: 40px;
            font-family: 'Jost';
        }

        .custom-select-var:focus {
            outline: none;
            border-color: #b3986e;
        }

        /* Дополнения */
        .extras-section {
            margin-top: 24px;
        }

        .extras-title {
            margin-top: 35px;
            margin-bottom: 30px;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .checkbox-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 12px;
            padding: 8px 0;
        }

        .checkbox-item input[type="checkbox"] {
            margin: 0;
            transform: scale(1.2);
            accent-color: #b3986e;
        }

        .checkbox-label {
            /* flex: 1; */
            cursor: pointer;
            font-size: 14px;
            line-height: 1.4;
        }

        .checkbox-price {
            color: #666;
            font-size: 14px;
            font-weight: 500;
        }

        /* Правая колонка (липкая) */
        .product-right {
            position: sticky;
            top: 30px;
            background: white;
            height: fit-content;
        }

        .product-right__portfolio {
            position: relative;
            top: auto;
        }

        .product-title {
            font-size: 2.5rem;
            font-weight: 400;
            line-height: 3rem;
            margin-bottom: 10px;
            color: #333;
            text-transform: uppercase;
        }

        .availability {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #333;
            padding: 6px 0 12px;
            font-size: 14px;
            font-weight: 400;
            margin-bottom: 24px;
        }

        .availability::before {
            content: '';
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background-image: url(/wp-content/themes/pamyat/assets/img/time.svg);
            background-size: contain;
        }

        .product-description {
            font-size: 15px;
            line-height: 1.6;
            color: #555;
            margin-bottom: 32px;
        }

        /* Сводная информация */
        .summary-section {
            border-top: 1px solid #eee;
            padding-top: 24px;
            margin-bottom: 24px;
        }

        .summary-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
            font-size: 15px;
        }

        .summary-row:last-child {
            margin-bottom: 0;
        }

        .summary-label {
            color: #666;
        }

        .summary-price {
            /* font-weight: 600; */
            color: #333;
        }

        .total-row {
            border-top: 1px solid #eee;
            padding-top: 16px;
            margin-top: 16px;
            font-weight: 700;
            color: #333;
            font-size: 22px;
            text-transform: uppercase;
        }

        .total-price {
            color: #b3986e;
            font-size: 24px;
        }

        /* Информация о доставке */
        .delivery-info {
            background: #f8f9fa;
            padding: 16px 0;
            margin: 24px 0;
            font-size: 14px;
            color: #666;
            line-height: 1.5;
        }

        /* Кнопки */
        .button-group {
            display: flex;
            gap: 12px;
            margin-top: 24px;
        }


        /* Адаптивность */
        @media (max-width: 1024px) {
            .product-grid {
                grid-template-columns: 50% auto;
                gap: 40px;
            }
        }

        @media (max-width: 980px) {
            .product-grid {
                grid-template-columns: 100%;
                gap: 30px;
            }

            .product-right {
                position: relative;
                top: 0;
                order: 2;
                padding: 30px 0;
            }

            .product-left {
                order: 1;
            }

            .button-group {
                flex-direction: column;
            }

            .btn {
                flex: none;
            }
        }

        @media (max-width: 480px) {
            .product-section {
                padding: 20px 0;
            }

            .option-group {
                flex-direction: column;
                gap: 15px;
            }

            .product-title {
                font-size: 1.8rem;
            }
        }

    /* custom-select */
    .form-group {
        margin-bottom: 30px;
    }

    .form-label {
        display: block;
        margin-bottom: 12px;
        font-weight: 600;
        color: #333;
        font-size: 16px;
    }

    .custom-select {
        position: relative;
    }

    .select-trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        background: white;
        border: 1px solid #e1e1e1;
        cursor: pointer;
        transition: all 0.3s ease;
        min-height: 50px;
    }

    .select-trigger:hover {
        border-color: #666;
    }

    .select-trigger.active {
        border-color: #b3986e;
    }

    .select-trigger-content {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: 1;
    }

    .trigger-image {
        width: 24px;
        height: 24px;
        object-fit: cover;
        flex-shrink: 0;
    }

    .trigger-text {
        flex: 1;
        text-align: left;
    }

    .trigger-text.placeholder {
        color: #999;
    }

    .select-arrow {
        width: 10px;
        height: 10px;
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }

    .select-trigger.active .select-arrow {
        transform: rotate(180deg);
    }

    .select-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border: 2px solid #e1e1e1;
        border-top: none;
        border-radius: 0 0 8px 8px;
        max-height: 300px;
        overflow-y: auto;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .select-dropdown.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .select-option {
        display: flex;
        align-items: flex-start;
        padding: 12px 16px;
        cursor: pointer;
        border-bottom: 1px solid #f0f0f0;
        transition: background-color 0.2s ease;
        gap: 12px;
    }

    .select-option:last-child {
        border-bottom: none;
    }

    .select-option:hover {
        background-color: #f8f9fa;
    }

    .select-option.selected {
        background-color: #e3f2fd;
    }

    /* Стили для опций с изображениями */
    .select-option.has-image {
        padding: 16px;
    }

    .option-image {
        width: 50px;
        height: 50px;
        border-radius: 6px;
        object-fit: cover;
        flex-shrink: 0;
    }

    .option-content {
        flex: 1;
    }

    .option-title {
        font-weight: 600;
        color: #333;
        margin-bottom: 6px;
        font-size: 15px;
    }

    .option-description {
        color: #666;
        font-size: 14px;
        line-height: 1.4;
    }

    /* Стили для простых опций без изображений */
    .select-option.simple {
        align-items: center;
    }

    .select-option.simple .option-title {
        margin-bottom: 0;
    }

    /* Скрытый реальный select */
    .hidden-select {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    /* Responsive */
    @media (max-width: 600px) {
        .option-image {
            width: 40px;
            height: 40px;
        }

        .select-option {
            padding: 12px;
        }
    }


.section-similar-monuments {
    padding: 70px 0 50px;
}

.similar-monuments__title {
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 2rem;
}


/*Портфолио*/
.portfolio-info {
    margin-top: 40px;
    font-size: 17px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.portfolio-materials-section {
    margin-bottom: 30px;
}

.portfolio-matetials-title {
    text-transform: uppercase;
    padding: 60px 0 40px 0;
    font-size: 17px;
}

.portfolio-matetials-subtitle {
    text-transform: uppercase;
    font-size: 17px;
    margin-bottom: 20px;
}

.materials-gallery {
    display: flex;
    gap: 10px;
}

.portfolio-sizes-list {
    display: flex;
    gap: 30px;
}

.size-params {
    display: flex;
    flex-direction: column;
}

.portfolio-sizes-section
 {
    padding-bottom: 50px;
}

.product-description-title {
    font-size: 2.5rem;
    line-height: 3rem;
    margin-bottom: 10px;
    color: #333;
    margin-top: 4rem;
}
