main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}
.hero-text-block {
  padding: 80px 0;
  text-align: center;
  background: #ffffff;
}

.hero-text-block h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 25px;
}

.hero-text-block p {
  font-size: 20px;
  margin-bottom: 20px;
  color: #444;
}

.hero-text-block ul {
  margin: 0 auto 30px;
  padding: 0;
  max-width: 500px;
  list-style: none;
  font-size: 20px;
  line-height: 1.7;
}

.hero-text-block ul li::before {
  content: "✦ ";
  color: #666;
}
.menu-contact {
    margin-left: auto;
    text-align: right;
    list-style: none;
}
.tm-social-links .fa-twitter {
    color: #1DA1F2; /* Синий Twitter — можешь заменить */
}
.tm-social-links .fa-whatsapp {
    color: #25D366; 
}
.tm-social-links .fa-facebook-f {
    color: #3b5998; 
}
.tm-social-links .fa-instagram {
    color: #833AB4; 
}
.tm-social-links .fa-telegram-plane {
    color: #0088CC; 
}
.section-subtitle {
    text-align: center;
    font-size: 1.6rem;       /* размер надписи */
    font-weight: 600;        /* полужирный */
    color: #4a7c94;          /* мягкий природный оттенок */
    margin: 20px 0 40px;     /* отступы сверху и снизу */
    letter-spacing: 1px;     /* небольшое растяжение букв */
    text-transform: uppercase; /* заглавные буквы — выглядит стильно */
}
.product-page {
    padding: 40px 0;
    display: flex;
    justify-content: center;
}

.product-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.product-image img {
    max-width: 480px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.product-info {
    flex: 1;
}

.product-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

.product-desc {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
}

.size-label {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.size-select {
    width: 260px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    margin-bottom: 20px;
}

.price-box {
    margin-bottom: 25px;
}

.price-value {
    font-size: 28px;
    font-weight: 700;
    color: #222;
}

.btn-order {
    padding: 14px 30px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-order:hover {
    background: #333;
}


/* ----- Адаптивность ----- */
@media (max-width: 900px) {
    .product-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .product-image img {
        max-width: 350px;
    }

    .size-select {
        margin-left: auto;
        margin-right: auto;
    }
}
.service-card {
    text-decoration: none;
    color: inherit;
}

.service-card:hover .card {
    transform: translateY(-4px);
    transition: 0.2s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.photo-thumb {
    width: 100%;
    height: 200px; /* можно поменять */
    background-size: cover;
    background-position: center;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

/* Меньше высота на мобильных */
@media (max-width: 576px) {
    .photo-thumb { height: 140px; }
}

.category-menu a {
    font-size: 18px;       /* увеличиваем шрифт */
    font-weight: 600;      /* делаем чуть жирнее (по желанию) */
}

.category-menu li {
    margin-bottom: 6px;    /* чтобы были красивые отступы */
}
.tm-overlay {
    position: relative;
    display: inline-block;
}

.tm-overlay img {
    display: block;
    width: 100%;
    height: auto;
}

.tm-overlay figcaption {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
}


.tm-overlay figcaption a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
.btn-home {
    background: linear-gradient(135deg, #4e73df, #1cc88a);
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-home:hover {
    background: linear-gradient(135deg, #1cc88a, #4e73df);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

