* {
	padding: 0;
	margin: 0px;  
}

html, body {
	background:url(../views/candles/images/body/tiles.jpg);
  font-size: 1rem; /* 16px по умолчанию */
  	
}

.clr {
	clear: both;
}

.main {
	background: #ffffff;
	min-width: 1230px;	
	max-width: 1230px;
	margin: 0 auto;	
}

/*----------     Header     ----------*/
.header {
	display: flex;
	justify-content: center;
	align-items: center;
}	

.logo {	
	float: left;
	height: 180px;	
	margin-left: 25px;
}

.slogan {	
	height: 150px;
	width: 80%;
	margin-left: -200px;
}

.candle-logo {
	height: 150px;
	float: right;
	margin: -150px 50px 0 0;
}



.clr {
	clear: both;
}
/*----------     End Header     ----------*/

/*----------     Content     ----------*/
.Container {
	display: flex;
	width: 100%;

}	

.Main_block {	
	flex: 2;
}

.Main_block h2 {
	text-align: center;
	font-size: 35px;
	margin-top: 60px;
	margin-bottom: 20px;
  color: #b23a48;
}

.Main_block img {
	margin: 26px 0 50px 90px;
	border-radius: 20px;
}

.Main_block p {
	margin-top: -25px;
	margin-left: 80px;
	margin-bottom: 40px;
	font-size: 25px;
}

.Main_block a {
	text-decoration: none;
	color: brown;
}

.Main_block a:hover {
	color: #895129;
	text-decoration: underline;
}

.categories {
  margin-top: 32px;
	display: inline-block;
	vertical-align: top;
	text-align: center;
	text-decoration: none;	
  }
/*----------     End Content     ----------*/

/*----------     Right Bar     ----------*/
.Side_block {
	border: 1px black solid;
	border-radius: 20px;	
	float: right;
	flex: .8;
}

.Side_block a {
	text-decoration: none;
	color: #2b8aba;
}

.Side_block a:hover {	
	color: #3538e9;; 
}

.cart_name {
	text-align: center;
	margin-top: 10px;
	
}

.pre-regP {
  font-size: 20px;  
  margin-top: 20px;
}

.pre-reg  {
 font-size: 20px;  
 margin-left: 100px;
}


.item {
	float: left;
	padding: 70px 0 0 50px;
	font-size: 22px;
}

.picture_cart {
	float: right;
	padding: 40px 45px 0 0;
}

.cart_text {
	float: right;
	margin: 10px 40px 60px 140px;	
	font-size: 20px;
}

.cart_text span {
	font-weight: bold;
  
}

/*----------     Login     ----------*/
.login {
	width: 100%;
	border-top: #ddd solid 1px;
	border-bottom: #ddd solid 1px;;
	margin-top: 160px;
	margin-left: 12px;	
	text-align: center;
	
}

.login_name {
	padding: 0 0 15px 0;
}
.form_name {
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: 14px;
}

.lbl_login{
	font-size: 20px;
	border-radius: 8px;
	font-size: 23px;
	
}

a .btn {
	margin-left: 10px;
	margin-bottom: 20px;
	margin-top: 10px;
}

.error-text-login {
	padding-left: 110px;
	padding-top: 20px;	
}


/*----------     End Login     ----------*/

.loyalty_name {
	text-align: center;
	margin-top: 40px;
	padding-bottom: 0px;
}

.loyalty_articles {
	color: #ffffff;
	text-align: center;
	margin-top: 40px;
	padding-bottom: 0px;
	margin-bottom: 40px;
}
/*----------     End Right Bar     ----------*/

/*----------     Footer     ----------*/
.footer {
	height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: lightgrey;
    
}

.copyright {
	font-size: 25px;
}
/*----------     End Footer     ----------*/


/*----------    Page 404     ----------*/
.block {
    text-align: center;
    font-size: 25px;
    background: #000000;
    color: #ffffff;
    padding-top:40px;
}

.block img {
    margin:45px 0 45px 160px;
}

.block p {
    padding-bottom: 20px;
}

.block a {
    text-decoration: none;
    color: #ffffff;
}

.block a span:hover {
    text-decoration: underline;
}

.block span {
    color: yellow;
    font-size: 35px;
}
/*----------    End Page 404     ----------*/

/*----------    Detail Page    ----------*/
.title {
	font-size: 40px; 
	text-align: center;
	margin: 15px 0 25px 120px;
	color: red;
}

.detail {
	float: left;
  margin-left: -30px;
}

.desc {
	float: left;
	margin: 35px 0 0 25px;
	font-size: 25px;
}

.price {
	font-weight: bold;
	margin-bottom: 20px;		
}

.listed {
	list-style: none;
  list-style-image: url(../views/candles/images/detail/candy.jpg);
  margin-left: 25px;
}

.point {
	position: relative;
}



.btn-order {
	font-family: 'Times New Roman', Times, serif;
	font-size: 25px;
  color: #000;
	background-color: #afeeee;
	border-radius: 10px;
	padding: 5px 10px;
	margin: 20px 0 0 140px;
	border-right: 4px solid #000000;
	border-bottom: 4px solid #000000;
	background: linear-gradient(#afeeee, #00d4ff);	
}

.btn-detail {
  color: #000;
	font-family: 'Times New Roman', Times, serif;
	font-size: 25px;
	background-color: #afeeee;
	border-radius: 10px;
	padding: 8x 12px;
	margin: 40px 0 0 160px;
	border-right: 4px solid #000000;
	border-bottom: 4px solid #000000;
	background: linear-gradient(#afeeee, #00d4ff);	
  vertical-align: middle;
}

.btn-detail-ty {
  color: #000;
	font-family: 'Times New Roman', Times, serif;
	font-size: 25px;
	background-color: #afeeee;
	border-radius: 10px;
	padding: 8x 12px;
	margin: 40px 0 0 300px;
	border-right: 4px solid #000000;
	border-bottom: 4px solid #000000;
	background: linear-gradient(#afeeee, #00d4ff);	
  vertical-align: middle;
}


.btn-detail-ty:hover {
  color: #ffffff;
}
.btn {
  color: #000;
	font-family: 'Times New Roman', Times, serif;
	font-size: 25px;
	background-color: #afeeee;
	border-radius: 10px;
	padding: 5px 10px;
	margin: 40px 0 0 160px;
	border-right: 4px solid #000000;
	border-bottom: 4px solid #000000;
	background: linear-gradient(#afeeee, #00d4ff);	
}

.btn:hover,  .btn-detail:hover {
	color: #ffffff;	
}
/*----------    End Detail Page    ----------*/

/*----------     Registration Page    ----------*/






/* Add padding to containers */
.authform {
	padding: 10px 45px 0 10px;
  }

  .fill_form_txt {
	padding-top: 40px;
	padding-left: 110px;
  }

  .fill_form_txt2 {
	text-align: center;
	padding-right: 100px;
  }
  .fill_form_txt3 {
	text-align: center;
	padding-right: 180px;
  }

  .lbl_fld {
	font-size: 23px;
	margin: 5px 0 22px 18px;
  }

  .lbl_fld span, .fill_form_txt2 span, .fill_form_txt3 span {
	color: red;
  }

  /* Full-width input fields */
  input[type=text], input[type=password] {	
	width: 95%;
	padding: 15px 15px 15px 15px;
	margin: 5px 0 22px 18px;
	display: block;
	border: #000000 solid 1px ;
	background: #f1f1f1;
	border-radius: 8px;
	font-size: 20px;
  }
  
  input[type=text]:focus, input[type=password]:focus {
	background-color: #ddd;
	outline:none;
  }
  
  /* Overwrite default styles of hr */
  hr {
	border: 1px solid #f1f1f1;
	margin-bottom: 25px;
	margin-left: 23px;
  }
  
  /* Set a style for the submit/register button */
  .registerbtn {
	font-size: 22px;
	background-color: #04AA6D;
	color: white;
	padding: 16px 0 16px 0;
	margin: 8px 0 8px 16px;
	border: none;
	cursor: pointer;
	width: 100%;
	opacity: 0.7;
	border-radius: 8px;
  }
  
  .registerbtn:hover {
	opacity:1;
  }
  
  /* Add a blue text color to links */
  a {
	color: dodgerblue;
  }
  
  /* Set a grey background color and center the text of the "sign in" section */
  .signin {
	background-color: #f1f1f1;
	margin: 0 26px;
	padding-top: 10px;
	text-align: center;
	border-radius: 8px;
  
  }
  

  .have_acc_txt {
	height: 70px;	
	display: flex;
    justify-content: center;
    align-items:center;	
	padding-top: 10px;
  }

  .link_l_r {
	margin-left: 15px;
  }

  .error-text {
	padding-top: 40px;
	text-align: center;
	color: red;
  }
  .success-text {
	padding-top: 40px;
	text-align: center;
	color: green;
  }

  .error_reg {
	padding-bottom: 20px;
	padding-left: 35px;
	color: red;
	font-size: 22px;
  }
  .log-header {
	padding-left:320px;
  }

  .reg-header {
	padding-left:380px;
  }

/*----------    Login Page    ----------*/
.for_password {
margin-top: 20px;
}

.login_link{
  margin-left: 383px;
  
  font-size: 20px;
}

.password_link{
  margin:0 0 20px 370px;
  
  font-size: 20px;
  
}









/*--------/* Set a style for the submit/login button */
.loginbtn {
	font-size: 22px;
	background-color: #04AA6D;
	color: white;
	padding: 16px 0 16px 0;
	margin: 8px 0 8px 16px;
	border: none;
	cursor: pointer;
	width: 100%;
	opacity: 0.7;
	border-radius: 8px;
  }

  .loginbtn:hover {
    opacity: 1;
  }
.error-text-login {
	padding-top: 40px;
	padding-left: 150px;
	color: red;
  }

/*----------     End Login Page    ----------*/

/*----------     Login recovery    ----------*/

.recovery-container {

      background-color: #fff;
      padding: 30px;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      width: 300px;
      text-align: center;
      margin-left: 255px;
      margin-top: 50px;

    }

.recovery-container h2{
  margin-top: 5px;
}


    input[type="email"] {
      width: 100%;
      padding: 10px;
      margin: 15px 0;
      border: 1px solid #ccc;
      border-radius: 4px;
    }
    button {
      background-color: #4CAF50;
      color: white;
      padding: 10px 20px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 20px;
    }
    button:hover {
      background-color: #45a049;
    }



/*----------     End Login recovery    ----------*/






/*----------     Order Page    ----------*/
.order {
	text-align: center;
	margin-bottom: 20px;
}

table {
	width: 100%;
	border: 1px solid #000000;
	margin-bottom: 20px;
	border-radius: 15px;
}
table th {
	font-weight: bold;
	text-align: center;
	border: none;
	padding: 10px 15px;
	background: #d8d8d8;
	font-size: 20px;
}
table thead tr th:first-child {
	border-radius: 5px 0 0 5px;
}
table thead tr th:last-child {
	border-radius: 0 5px 5px 0;
}
table tbody td {
	text-align: center;
	border: none;
	padding: 10px 15px;
	font-size: 18px;
	vertical-align: top;
}
table tbody tr:nth-child(even){
	background: #f3f3f3;
}
table tbody tr td:first-child {
	border-radius: 5px 0 0 5px;
}
table tbody tr td:last-child {
	border-radius: 0 5px 5px 0;
}

.o-text{
	font-size: 20px;
	font-weight: bold;
	text-align: right;
	margin-right: 135px;
	margin-bottom: 30px;  
}

.t-qty {
	margin-right: 7px;    
}

/*----------     End Order Page    ----------*/

/*----------     Paypal    ----------*/

#paypal-button-container {
	padding-left: 65px;
}
/*----------     End paypal    ----------*/

/*----------     Gallery    ----------*/
.gallery-header {
	margin-top: 15px;
	margin-left: 350px;
	color: #895129;	
}

.gallery {
      display: flex;
      flex-direction: column;
      max-width: 1200px;      
    }

    .item {
      display: flex;
      align-items: center;      
      opacity: 0;
      transform: translateY(30px);
      animation: fadeInUp 1s ease-out forwards;
    }

    .item:nth-child(2) {
      animation-delay: 0.5s;
    }

    .item img {
      width: 300px;
      height: 300px;
      border-radius: 20px;
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .text {
      max-width: 500px;
	  margin-right: 20px;
    }

	.text span {
		text-decoration: underline red;
	} 

    .text h2 {
      font-size: 24px;
      color: #3e1f1f;
      margin-bottom: 30px;
	  margin-left: 50px;
	  color: #895129;	
    }

    .text p {
      font-size: 20px;
      line-height: 1.5;
    }

    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (max-width: 768px) {
      .item {
        flex-direction: column;
        text-align: center;
      }

      .item img {
        width: 100%;
      }
    }



	/*Page 2*/
    .gallery-link {
     padding-left: 440px;
     padding-top: 250px;
     font-size: 24px;
    }

	.gallery-header {
	margin-top: 15px;
	margin-left: 350px;
	color: #895129;	
}

.gallery, .gal2, .gal3 {
      display: flex;
      flex-direction: column;
      max-width: 1200px;      
    }

    .item{
      display: flex;
      align-items: center;      
      opacity: 0;
      transform: translateY(30px);
      animation: fadeInUp 1s ease-out forwards;
    }

    .item:nth-child(2) {
      animation-delay: 0.5s;
    }

    .item img {
      width: 300px;
      height: 300px;
      border-radius: 20px;
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .text {
      max-width: 500px;
	  margin-right: 20px;
    }

	.text span {
		text-decoration: underline red;
	} 

    .text h2 {
      font-size: 24px;
      color: #3e1f1f;
      margin-bottom: 30px;
	  margin-left: 50px;
	  color: #895129;	
    }

    .text p {
      font-size: 20px;
      line-height: 1.5;
    }

    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (max-width: 768px) {
      .item {
        flex-direction: column;
        text-align: center;
      }

      .item img {
        width: 100%;
      }
    }

/*----------     End Gallery    ----------*/


/*----------     Pagination    ----------*/
.soft-pagination{
text-align:center;
background: rgb(87,23,171);
background: linear-gradient(90deg, rgba(46, 25, 18, 1) 0%, rgba(210, 105, 30, 1) 100%);
margin-top:35px;width:100%;
-webkit-box-shadow: 1px 7px 14px 0px rgba(189,178,189,1);
-moz-box-shadow: 1px 7px 14px 0px rgba(189,178,189,1);
box-shadow: 1px 7px 14px 0px rgba(189,178,189,1);  
}

.soft-pagination-items{
color: #ffffff;
cursor: pointer; 
}

.soft-pagination-items li{
display: inline-block;
padding: 15px 25px;font-weight: 800;
clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
font-size: 30px;
}

.soft-pagination-items li.active{
background: #77f2de; color:#000;
}

h2 a{
  color:hotpink;
  text-align:center;
  text-decoration:none;
}

.soft-pagination-items li:hover{
background: linear-gradient(120deg, rgba(250, 128, 114, 1) 100%, rgba(246,0,255,1) 10%);
color:#000000;
}




.soft-pagination2{
text-align:center;
background: rgb(87,23,171);
background: linear-gradient(90deg, rgba(46, 25, 18, 1) 0%, rgba(210, 105, 30, 1) 100%);
margin-top:35px;width:100%;
-webkit-box-shadow: 1px 7px 14px 0px rgba(189,178,189,1);
-moz-box-shadow: 1px 7px 14px 0px rgba(189,178,189,1);
box-shadow: 1px 7px 14px 0px rgba(189,178,189,1);  
}

.soft-pagination-items{
color: #ffffff;
cursor: pointer; 
}

.soft-pagination-items li{
display: inline-block;
padding: 15px 25px;font-weight: 800;
clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
color:lightgoldenrodyellow
}

.soft-pagination-items li.active{
background: #77f2de; color:#000;
}

h2 a{
  color:hotpink;
  text-align:center;
  text-decoration:none;
}

.soft-pagination-items li:hover{
background: linear-gradient(120deg, rgba(250, 128, 114, 1) 100%, rgba(246,0,255,1) 10%);
color:#000000;
}
/*----------     End Pagination    ----------*/

/*----------     Contact    ----------*/

.containerCon {
      max-width: 600px;
      margin: 50px auto;
      padding: 30px;
      background-color: #fff;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      border-radius: 8px;
    }

   .contact-h2 {
      text-align: center;
      margin-bottom: 20px;
      color: #333;
    }

    form {
      display: flex;
      flex-direction: column;
    }

    label {      
      margin-bottom: 5px;
      font-weight: bold;
      color: #555;
      font-size: 22px;
    }

    #name, #subject {
      padding: 10px;
      margin-bottom: 20px;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-size: 20px;
      resize: vertical;
      margin-left: -7px;
      width: 98%;
    }

    
    input[type="email"],
    textarea {
      padding: 10px;
      margin-bottom: 20px;
      border: 1px solid #ccc;
      border-radius: 4px;
      font-size: 20px;
      resize: vertical;
      margin-left: -7px;
      width: 98%;
    }

    textarea {
      height: 120px;
    }

    .contact-btn {
      padding: 12px;
      background-color: #04AA6D;
      color: white;
      border: none;
      border-radius: 4px;
      font-size: 20px;
      cursor: pointer;
      transition: background-color 0.3s ease;
      margin-left: -7px;
      width: 102%;
    }

    .contact-btn:hover {
      background-color: #45a049;
    }

 /* Modal styles */
  .modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
  }

  .modal-content {
    background-color: #fff;
    margin: 20% auto;
    padding: 60px 60px 30px 0px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  }

  .modal-content h3 {
    margin: 0 0 10px;
	padding-left: 60px;
    padding-bottom: 40px;
    color: green;
	font-size: 25px;
  }

  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15%;
    right: 10%;
    cursor: pointer;
  }

  .close:hover {
    color: black;
  }





/*----------     End Contact    ----------*/


/*----------     Cart    ----------*/
.btn-continue {
 font-family: 'Times New Roman', Times, serif;
	font-size: 25px;
	
	border-radius: 10px;
	padding: 5px 10px;
	margin: 20px 0 25px 320px;
	border-right: 4px solid #000000;
	border-bottom: 4px solid #000000;
	background: linear-gradient(#afeeee, #00d4ff);	
}



/*----------     End Cart    ----------*/

#shipping{
  font-size: 20px;
  padding: 5px;
  font-family: 'Times New Roman', Times, serif;
}

.shipping {
  font-size: 20px;
  color: #000;
}











.active-link > a {
  background-color: #d4a373; /* ореховый акцент */
  color: #fff;
  font-weight: bold;
  
  transition: background-color 0.3s ease ;
}



.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #4b2e2e; /* шоколадный фон */
  padding: 1rem 2rem;
  position: relative;
  border-radius: 20px;

}


.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0 ;
  font-size: 30px;
}

.nav-menu li {
  position: relative;  
}

.nav-menu a {
  color: #f5e9d6; /* кремовый текст */
  text-decoration: none;
  padding: 1rem 3.5rem 1rem 3.5rem;
  display: block;
  position: relative;
  transition: background-color 0.3s ease, transform 0.3s ease;  
  border-radius: 10px;
  margin-left: 2.5rem;
}

.nav-menu a:hover {
  background-color: #b23a48; /* малиновый акцент */
  border-radius: 10px;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #6b3b3b; /* тёмно-шоколадный */
  list-style: none;
  padding: 0;
  margin: 14px 50px 0 0;
  width: 210px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  border-radius: 10px;
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(-10px);
  
}

.submenu li a {
  padding: 0.75rem 1rem;
  color: #f5e9d6;
  transition: background-color 0.3s ease, padding-left 0.3s ease;
  margin-left: 0px;
  margin-right: 0px;
}

.submenu li a:hover {
  background-color: #d4a373;
  padding-left: 0.5rem;
}

.burger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #f5e9d6;
  cursor: pointer;
}

.qty-btn { 
 padding: 3px 7px;
 margin-left: 10px;
 margin-right: 10px;
 background-color: #00d4ff;
 border: 1px black solid;
 color: #000;
}

.qty-btn:hover {
background-color: rgb(150, 150, 253);
color: #fff;
}