body {
    padding: 40px 20px; /* сверху 40px, справа и слева по 20px */
}


sect:not(:first-of-type) {
    text-align: center;
  }

  sect.services i {
    font-size: 2rem;
    margin: 1rem auto 0;
    border: 2px solid #191970;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #191970;
  }



  .carousel-item {
    height: 100vh;
    min-height: 300px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }
  .carousel-caption {
    bottom: 270px;
  }
  
  .carousel-caption h5 {
    font-size: 45px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 25px;
	text-shadow: 0px 0px 20px #0000CD;
  }
  
  .carousel-caption p {
    width: 100%;
    margin: auto;
    font-size: 30px;
    line-height: 1.9;
	text-shadow: 0px 0px 20px #0000CD;
  }

  
  .navbar-light .navbar-brand {
    color: #5a381e;
    font-size: 25px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
  }
  
  .navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show > .nav-link {
    color: #5a381e;
  }
  
  .navbar-light .navbar-nav .nav-link {
    color: #5a381e;
  }
  
  .navbar-toggler {
    background: #5a381e;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  
  .nav-link.active,.nav-link:focus{
    color: #5a381e;
  }
  
  .navbar-toggler {
    padding: 1px 5px;
    font-size: 18px;
    line-height: 0.3;
  }
  
  .navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: #5a381e;
  }
  
  /* ignore the code below */
  
  
  .link-area
  {
    position:fixed;
    bottom:20px;
    left:20px;  
    padding:15px;
    border-radius:40px;
    background:tomato;
  }
  .link-area a
  {
    text-decoration:none;
    color:#0000CD;
    font-size:25px;
  }

  .my-text {
    color: white; 
    text-shadow: 0px 0px 20px #0000CD; }
    .coffee-support-btn {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #5a381e; /* кофейный коричневый */
    color: #fff8f0;
    font-family: 'Georgia', serif;
    font-size: 18px;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(90, 56, 30, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.coffee-support-side {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-color: #5a381e; /* тёплый кофейный */
    color: #fff8f0;
    font-family: 'Georgia', serif;
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 8px 0 0 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    writing-mode: vertical-rl; /* если хочешь вертикально */
    text-align: center;
}

.coffee-support-side:hover {
    background-color: #7b4a2c;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-success {
    background-color: #8b5e3c;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-success:hover {
    background-color: #a76f45;
}

/* Таблица GridView */
.grid-view {
    border: 1px solid #e0d2c0;
    border-radius: 10px;
    overflow: hidden;
    background-color: #ffffff;
}

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

.grid-view thead {
    background-color: #f3e9df;
}

.grid-view th, .grid-view td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee2d3;
    text-align: left;
}

.grid-view tbody tr:nth-child(even) {
    background-color: #f9f5f1;
}

.grid-view tbody tr:hover {
    background-color: #f0e5dc;
}

/* Действия */
.yii-action-column a {
    margin-right: 8px;
    color: #8b5e3c;
    text-decoration: none;
}

.yii-action-column a:hover {
    text-decoration: underline;
}
.product-page {
    background-color: #f9f3e3; /* общий уютный фон */
}

.text-coffee {
    color: #5a381e;
}

.product-card {
    border: 1px solid #e5d4c1;
}

.product-card h2 {
    font-size: 2rem;
}

.form-control:focus {
    border-color: #5a381e;
    box-shadow: 0 0 0 0.2rem rgba(90, 56, 30, 0.2);
}

.btn-dark {
    background-color: #5a381e;
    border: none;
}

.btn-dark:hover {
    background-color: #3c2615;
}
/* ====== Подвал ====== */
footer {
    background-color: #5a381e; /* кофейный коричневый */
    color: #fff8f0;             /* кремовый текст */
    padding: 40px 20px;
    text-align: center;
    margin-top: 40px;
    font-family: 'Arial', sans-serif;
}

footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

footer h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffe6cc;
}

footer p {
    font-size: 1rem;
    line-height: 1.6;
}

footer a {
    color: #ffe6cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
}

footer .socials {
    margin-top: 20px;
}

footer .socials a {
    margin: 0 10px;
    display: inline-block;
    font-size: 1.2rem;
}

footer .copyright {
    margin-top: 30px;
    font-size: 0.9rem;
    color: #e0cbb5;
}

/* Адаптивность для подвала */
@media screen and (max-width: 768px) {
    footer h4 {
        font-size: 1.3rem;
    }

    footer p, footer a {
        font-size: 0.95rem;
    }

    footer .socials {
        margin-top: 15px;
    }
    /* Кнопки лицензий */
.license-buttons {
    margin-top: 25px;
}

.license-btn {
    display: inline-block;
    background-color: #ffe6cc;
    color: #5a381e;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.license-btn:hover {
    background-color: #fdd8b0;
    transform: translateY(-2px);
}

}
