/*---------- Footer ----------*/
.footer {
  background-color: lightgrey;
  color: #f5e1c8;
  text-align: center;
  padding: 10px;
  border-radius: 10px 10px 0 0;
}

.footer .copyright {
  margin-bottom: 10px;
  font-size: 25px;
  color: #553321; 
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 0 25px 0;
  background: lightgrey;  
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #4b2e1e;
  color: #f5e1c8;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.social-btn:hover {
  background-color: #a87358;
}

.social-btn i {
  font-size: 22px;
}
/*---------- End Footer ----------*/

/*---------- Shipping ----------*/
.container-shipping {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 40px;
}

.main-title {
  font-size: 36px;
  text-align: center;
  color: #6d4c41;
  margin-bottom: 20px;
}

.s-title {
  padding-bottom: 20px;
  color: #5e3d35;
  margin-top: 40px;
  font-size: 24px;
}

.s-text {
  font-size: 22px;
  line-height: 1.7;
}
    
ul {
  padding-left: 17px;
  margin-bottom: 30px;
}

.shipping {
  font-size: 22px;
  line-height: 1.7;      
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

table, th, td {
  border: 1px solid #d8c4b0;
  font-size: 1.2em;
}

th, td {
  padding: 12px;
  text-align: left;
}

th {
  background-color: #e0d1c1;
}

.contact {      
  background-color: #f8f4ec;
  padding: 10px 20px 20px 20px;
  border-left: 5px solid #a1887f;
  border-right: 5px solid #a1887f;
}

.question {
    font-size: 24px;
    margin-bottom: 30px;
}

.question2 {
    font-size: 24px;
}
/*---------- End Shipping ----------*/

/*---------- About ----------*/
.container-about {
  max-width: 900px;
  margin: 0px auto;
  padding: 30px;
  background-color: #fffaf4;
  border: 2px solid #d2b48c;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

h1 {
  color: #6b3e26;
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 10px;
  padding-bottom: 20px;;
}

img.profile {
  display: block;
  max-width: 250px;
  border-radius: 20px;
  margin: 0 auto 20px auto;
  border: 3px solid #c49b68;
}

.text-about {
  font-size: 1.55em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.quote {
  font-style: italic;
  color: #8c4c2f;
  text-align: center;
  margin: 30px 0;
  font-size: 1.4em;
}

.highlight {
  background-color: #fff0da;
  padding: 15px 15px 15px 35px;
  border-left: 6px solid #c49b68;
  border-right: 6px solid #c49b68;;
  margin-bottom: 25px;
  font-size: 1.35em;
}

.signature {
  text-align: right;
  font-weight: bold;
  font-size: 1.4em;
  color: #5a3322;
}
/*---------- End About ----------*/

/*---------- Loyalty ----------*/
.container-loyalty {
  max-width: 900px;
  margin: 0px auto;
  padding: 20px;
  background-color: #fffaf4;
  border: 2px solid #d2b48c;
  border-radius: 20px;      
}

h1 {
  text-align: center;
  color:rgb(161, 112, 85);
  font-size: 2.5em;
  margin-bottom: 20px;
}

.paragraph-loyalty {
  color: #8c4c2f;
  margin-top: 30px;
}

.text-loyalty {
  font-size: 1.55em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.loyalty {
  margin-left: 20px;
  margin-bottom: 20px;
}

.loyalty_li {
  font-size: 1.35em;
  padding: 6px 0;
}

.banner {
  background-color: #ffe9c7;
  padding: 25px;
  border-left: 6px solid #c49b68;
  border-right: 6px solid #c49b68;
  font-size: 1.35em;
  margin: 20px 0;
}

.cta {
  text-align: center;
  margin-top: 30px;
}

.cta a {
  background-color: #6b3e26;
  color: #fffaf4;
  padding: 12px 25px;
  text-decoration: none;
  font-size: 1.2em;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.cta a:hover {
  background-color: #8c4c2f;
}

.text-loyalty-thankyou {
  text-align:center;
  margin-top: 40px;
   color:#000000;
  font-size: 1.55em;
  line-height: 1.7;
  margin-bottom: 20px;
}
/*---------- End Loyalty ----------*/

/*---------- Password Recovery ----------*/
.recovery-container {
    max-width: 420px;
    margin: 40px auto;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
    text-align: center;
}

/* Общий стиль сообщения */
.recovery-message {
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Цветовые варианты */
.reset-green {
    background-color: #28a745;
}

.reset-red {
    background-color: #dc3545;
}

.reset-gold {
    background-color: #c49b68;
}

/*---------- End Password Recovery ----------*/

/*---------- pass_recovery_form.php ----------*/
/* Контейнер */
.recovery-container {
    max-width: 420px;
    margin: 40px auto;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
    text-align: center;
}

/* Сообщение */
.recovery-message {
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}



/* Цветовые варианты */
.reset-green {
    background-color: #28a745;
}

.reset-red {
    background-color: #dc3545;
}

/* Обёртка кнопки */
.recovery-button-wrapper {
    text-align: center;
    margin-bottom: 5px;
}

/* Кнопка Continue Shopping */
.password-recovery-btn {
    display: inline-block;    
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.2s ease;    
}

.password-recovery-btn:hover {
    text-decoration: solid;
}
/*----------  End pass_recovery_form.php ----------*/

/*---------- reset-password ----------*/
.recovery-container {
    max-width: 400px;
    margin: 40px auto;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
    text-align: center;
  }

  .recovery-container h2 {
    margin-bottom: 20px;
    font-size: 22px;
  }

  .recovery-container form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .recovery-container form input {
    width: 100%;
    max-width: 300px;
    padding: 12px;
    margin-bottom: 15px;
    margin-right: 18px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 20px;
    box-sizing: border-box;
  }

  .recovery-container form button {
    width: 100%;
    max-width: 300px;
    padding: 12px;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 20px;
    cursor: pointer;    
  }

  .recovery-container form button:hover {
    background: #218838;
  }
  /*---------- End reset-password ----------*/


/*----------  detailC.php/add to cart ----------*/
.btn-detailC {
    display: inline-block;
    padding: 12px 26px;
    background-color: #3da9f5; /* глубокий шоколад */
    color: #ffffff !important;/* белый текст */
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
    border: 1px solid #3c2421;
    margin-left: 150px;
}

.btn-detailC:hover {
    background-color: #3da9f5;
    color: #ffd75e !important;/* мягкий жёлтый */
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

.btn-detailC:active {
    transform: translateY(0);
    box-shadow: none;
}
/*----------  End detailC.php/add to cart ----------*/

/*---------- Right_bar.php/Logout ----------*/
.btn-logout {
    display: inline-block;
    padding: 12px 26px;
    background-color: #3da9f5; /* голубой фон */
    color: #ffffff !important; /* белый текст */
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
    border: 1px solid #2c8ad1;
    margin-bottom: 25px;
    margin-left: 30px;
}

.btn-logout:hover {
    background-color: #5bb8ff; /* светлее при наведении */
    color: #ffd75e !important; /* жёлтый текст при наведении */
    transform: translateY(-2px);
    text-decoration: underline ;
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

.btn-logout:active {
    transform: translateY(0);
    box-shadow: none;
}
/*---------- End Right_bar.php/Logout ----------*/

/*---------- Right_bar.php/order ----------*/
.btn-order-goods {
    display: inline-block;
    padding: 12px 26px;
    background-color: #3da9f5; /* голубой фон */
    color: #ffffff !important; /* белый текст */
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
    border: 1px solid #2c8ad1;
    margin-left: -30px;
    margin-top: 20px;
}

.btn-order-goods:hover {
    background-color: #5bb8ff; /* светлее при наведении */
    color: #ffd75e !important; /* жёлтый текст при наведении */
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
    text-decoration: underline;
}

.btn-order-goods:active {
    transform: translateY(0);
    box-shadow: none;
}
/*---------- End Right_bar.php/order ----------*/

/*---------- thankyou.php ----------*/
.box {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 40px;
    display: inline-block;
}

.confirmed {
    color: #4CAF50;
}
        
.thankyou {
    font-size: 18px;
    margin: 15px 0;
    padding-top: 70px;
}
/*---------- End thankyou.php ----------*/

/*---------- articles.php ----------*/

/* Видео по центру */
.video {
    display: block;
    margin: 0 auto;
}

/* Контейнер всех статей */
.blog {
    width: 800px;
    margin: 0 auto;
}

/* Каждый блок статьи с разделителем */
.blog-item {
    border-bottom: 1px solid rgba(0,0,0,0.15); /* линия между блоками */
    padding-bottom: 40px;
    margin-bottom: 40px;
}

/* У последнего блока разделитель не нужен */
.blog-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 40px;
}

/* Дата публикации */
.date {
    text-align: right;
    font-size: 18px;
    padding-top: 15px;
}

.date span {
    color: #2b8aba;    
}

/* Стиль короткого текста — такой же, как у раскрытого */
.short-text {
    font-size: 24px;      /* тот же размер, что и в .blog-content */
    line-height: 1.6;     /* комфортная читаемость */
    margin-bottom: 12px;  /* небольшой отступ перед кнопкой */    
}


/* Плавное раскрытие контента */
.blog-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1.8s ease;
    font-size: 24px; /* увеличенный шрифт */
    line-height: 1.6; /* приятная читаемость */
    margin: 0 60px 0 75px;
}


/* Премиальная кнопка */
.read-more {
    display: flex;                /* вместо block */
    justify-content: center;      /* центр по горизонтали */
    align-items: center;          /* центр по вертикали */
    gap: 8px;
    margin: 15px auto 0;
    padding: 10px 18px;
    width: fit-content;
    background: linear-gradient(135deg, #4e2a1e, #7a4b33);
    color: #ffffff !important;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

/* Hover: золотой текст + подчёркивание */
.read-more:hover {
    background: linear-gradient(135deg, #7a4b33, #4e2a1e);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
    color: #ffd84d !important; /* золотисто‑жёлтый */
    text-decoration: underline !important;
}

/* Стрелка — обычное состояние (белая) */
.read-more .arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid #ffffff;
    transition: transform 0.35s ease, border-top-color 0.35s ease;
}


.read-more:hover .arrow {
    border-top-color: #ffd84d;
}


/* При открытом блоке — стрелка золотая */
.blog-item.open .read-more .arrow {
    transform: rotate(180deg);
    border-top-color: #ffd84d;
}


.blog-image {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}



/*---------- End articles.php ----------*/

.cart-reg {
    text-align: center;
    padding-top: 50px;
}

.cart-inner {
    display: inline-block;
    padding-right: 110px;
}

