html {
  width: 100%;
}

body {
  overflow-y: scroll;
  width: 100%;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 26px;
  color: #333;
  font-weight: 400;
  user-select: none;
}

ul {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #88570c;
}

.wrapper {
  max-width: 1024px;
  width: 100%;
  margin: 0px auto;
  text-align: center;
}

@media (max-width: 1083px) {
  .wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }
}

header {
  text-align: center;
  margin-bottom: 45px;
}

header nav {
  min-height: 46px;
  background-color: #f3eadc;  
  margin-bottom: 30px;
}

header nav ul li {
  display: inline-block;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
}

header nav ul li:hover {
  background-color: rgba(0,0,0,0.02);
}

header nav ul li a {
  color: #000;
  text-decoration: none;
  line-height: 46px;
  padding-left: 18px;
  padding-right: 18px;
  display: block;
}

header nav ul li a.selected,
header nav ul li a:hover{
  color: #88570c;
}

.logo {
  display: inline-block;
  margin: 0px auto;
}


footer {
  padding-top: 45px;
  font-size: 13px;
  color: #686868;
  text-transform: uppercase;
}

footer p {
  text-align: center;
  margin-bottom: 15px;
  font-size: 13px;
}

footer .social {
  margin-bottom: 10px;
}

footer .social a{
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-left: 5px;
  margin-right: 5px;
}

footer nav ul li {
  display: inline-block;
}

footer nav ul li a {
  padding-left: 5px;
  padding-right: 5px;
  text-decoration: none;
  color: #686868;
  font-weight: 500;
}

footer nav ul li a:hover {
  color: #88570c;
}

footer .barion-logo {
  height: 54px;
  margin: 0px auto;
  margin-top: -10px;
  margin-bottom: 15px;
}



.primary-color {
  color: #88570c;
}

h1 {
  color: #88570c;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 45px;
}

p {
  margin-bottom: 20px;
  font-size: 14px;
  text-align: left;
}

.narrow {
  max-width: 800px;
  margin: 0px auto;
}

.narrow ul {
  text-align: left;
  list-style-position: inside;
  margin-bottom: 20px;
}


.col-1-2 {
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 45px;
}

.col-1-1 {
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
}

form .fields {
  display: inline-block;
  width: 100%;
}

form input[type="email"],
form input[type="text"],
form textarea {
  width: 100%;
  padding: 6px;
  border: 1px solid #d9d9d9;
  font-size: 14px;
  margin-bottom: 15px;
  box-sizing: border-box;
}

form button {
  background-color: #88570c;
  color: #fff;
  border: none;
  padding: 6px 20px;
  font-size: 13px;
  cursor: pointer;
  font-weight: 500;
}

form button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

form button:hover {
  background-color: #333;
}

form input[type="checkbox"] {
  width: 15px;
  cursor: pointer;
}
form label {
  cursor: pointer;
}

form .form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 5px;
}

.vspace {
  height: 20px;
  width: 100%;
}


/* HOME */

.home .color-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  margin: 5px;
}


/* KOSAR */

.payment-methods .barion-logo {
  height: 54px;
  margin-top: -10px;
  margin-left: 27px;
}

.add-to-cart {
  position: fixed;
  z-index: 100;
  background-color: #f3eadc;
  border: 8px solid #faf6ef;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  top: 85px;
  right: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease-in-out;
}

.add-to-cart:hover {
  background-color: #e9dac8;
}

.add-to-cart i {
  color: #333;
  font-size: 24px;
}

.add-to-cart .counter {
  display: none;
  position: absolute;
  background-color: #d9232a;
  border: 3px solid #fff;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  bottom: -8px;
  left: -8px;
  align-items: center;
  justify-content: center;
}

.add-to-cart .counter.show {
  display: flex;
}



/* KAPCSOLAT */

@media (max-width: 690px) {
  .contact .col-1-1 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.contact .error {
  color: rgb(187, 6, 6);
  font-size: 13px;
  margin-bottom: 10px;
  font-weight: 600;
}

.contact .error a { 
  text-decoration: underline;
}

.contact .success {
  color: rgb(5, 136, 5);
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 600;
}



/* TERMÉKEK */

.products {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 45px;
  justify-content: center;
}

@media (max-width: 1023px) {
  .products {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .products {
    grid-template-columns: 1fr;
  }
}

.products .product .image {
  border: 1px solid #d9d9d9;
  padding: 5px;
  width: 100%;
  height: 400px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-clip: content-box;
  position: relative;
}



/* SLIDER */

.image-slider {
  position: relative;
  border: 1px solid #d9d9d9;
  padding: 5px;
  width: 100%;
  height: 436px;
  overflow: hidden;
  margin: 0 auto;
  max-width: 311px;
}

.product-details .image .image,
.product-details .image-slider {
  max-width: 482px;
  height: 700px;
}

.product-details .image .image {
  border: 1px solid #d9d9d9;
  padding: 5px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-clip: content-box;
}

.image-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.image-slides .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-clip: content-box;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* .image .full-image-link */
.product-details .image-slides .slide .full-image-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  cursor: pointer;
}

/* .product-details .image-slides .slide {
  background-position: top;
} */

.image-slides .slide.active {
  opacity: 1;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-color: #fff;
  color: #b2b2b2;
  display: flex;
  justify-content: center;
  cursor: pointer;
  font-size: 32px;
  line-height: 32px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.3);
  z-index: 10;
  background-clip: content-box;
}

.slider-nav.prev {
  left: 10px;
}

.slider-nav.next {
  right: 10px;
}

.image-slider:hover .slider-nav {
  opacity: 1;
}

@media (max-width: 810px) {
  .slider-nav,
  .image-slider:hover .slider-nav {
    opacity: 1;
  }
}


.products .product h2 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 10px;
}

.products .product .price {
  text-align: center;
}


/* TERMÉK */

.product-details.col-1-1 {
  gap: 60px;
}

@media (max-width: 1023px) {
  .product-details.col-1-1 {
    grid-template-columns: 482px 1fr;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .product-details.col-1-1 {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}

.product-details .text h1 {
  margin-bottom: 10px;
}

.product-details .text p {
  margin-bottom: 15px;
}

.product-details .text .price {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
  font-weight: 600;
}

.product-details .text .color,
.product-details .text .size {
  margin-bottom: 0;
}

.product-details .color-circles {
  justify-content: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 25px;
}

.product-details .color-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border: 1px solid transparent;
  background-clip: content-box;
}

.product-details .color-circle:hover, 
.product-details .color-circle.active {
  padding: 3px;
  border: 1px solid #ccc;
}

.product-details .size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 30px;
}

.product-details .size-option {
  border: 1px solid #ccc;
  padding: 0 15px;
  height: 36px;
  line-height: 36px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-details .size-option:hover,
.product-details .size-option.active {
  background-color: #88570c;
  color: #fff;
}

.product-details .add-to-cart-section {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.product-details .quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
}

.product-details .quantity-btn {
  width: 36px;
  height: 36px;
  background: #f5f5f5;
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.product-details .quantity-btn:hover {
  background: #e9e9e9;
}

.product-details .quantity-input {
  width: 40px;
  height: 36px;
  border: none;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.product-details .add-to-cart-btn {
  background-color: #88570c;
  color: #fff;
  border: none;
  height: 36px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-transform: uppercase;
}

.product-details .add-to-cart-btn:hover {
  background-color: #6e4609;
}

.product-details .add-to-cart-btn.added {
  background-color: #4caf50;
  transition: background-color 0.3s ease;
}

.product-details .add-to-cart-btn i {
  margin-right: 5px;
}

.product-details .text .description {
  margin-bottom: 30px;
}

.product-details .info {
  margin-bottom: 10px;
  display: flex;
  font-size: 13px;
  line-height: 1.4;
  color: #88570c;
}

.product-details .info i {
  margin-right: 15px;
  font-size: 20px;
  color: #88570c;
  flex-shrink: 0;
}


/* KOSÁR */

.cart .col-1-1 {
  gap: 60px;
}

@media (max-width: 980px) {
  .cart .col-1-1 {
    grid-template-columns: 1fr;
    margin: 0 auto;
    max-width: 600px;
  }
}

.cart h2 {
  color: #88570c;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 25px;
}

.cart table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  font-size: 14px;
}

.cart table thead {
  border-bottom: 1px solid #d9d9d9;
  line-height: 32px;
}

.cart table tfoot td {
  font-weight: 700;
  padding-top: 10px;
}

.cart table tbody tr {
  border-bottom: 1px solid #d9d9d9;
}

.cart table tbody td {
  padding-top: 15px;
  padding-bottom: 15px;
}

.cart table .product-info {
  line-height: 20px;
  font-weight: 700;
}

.cart table .product-info span {
  color: #777;
  font-size: 13px;
  font-weight: 500;
}

.cart-product-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  vertical-align: middle;
}

.cart table .remove-btn {
  color: #d9232a;
  font-size: 16px;
  cursor: pointer;
}

.cart .quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  margin: 0 auto;
}

.cart .quantity-btn {
  width: 30px;
  height: 30px;
  padding: 0;
  background: #f5f5f5;
  color: #000;
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.cart .quantity-btn:hover {
  background: #e9e9e9;
}

.cart .quantity-input {
  width: 20px;
  height: 30px;
  border: none;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.shipping-address {
  display: none;
}

.cart .info {
  display: flex;
  font-size: 13px;
  color: #88570c;
  margin-bottom: 10px;
}

.cart .info i {
  margin-right: 15px;
  font-size: 20px;
  color: #88570c;
  flex-shrink: 0;
}

.form-row.terms {
  margin-top: 15px;
  align-items: baseline;
  font-style: italic;
  margin-bottom: 25px;
}

.form-row.terms a {
  color: #88570c;
  text-decoration: underline;
}

.shipping-methods .form-row {
  align-items: baseline;
}

.error a {
  color: #88570c;
  font-weight: 600;
} 

#select-gls-point,
#select-gls-locker {
  color: #88570c;
}

#selected-gls-point,
#selected-gls-locker {
  font-style: italic;
}

.order p,
.thanks p {
  text-align: center;
}


/* MAGAMRÓL */

@media (max-width: 690px) {
  .about .col-1-2 {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .about .col-1-2 > div:first-child {
    margin: 0px auto;
  } 
}

/* Contact form message styles */
#contactFormMessage {
  margin-top: 15px;
  padding: 10px 15px;
  border-radius: 4px;
  font-weight: 500;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}


/* Terms */
.aszf {
  text-align: left;
}

.aszf h1 {
  text-align: center;
}

.aszf h2 {
  font-size: 15px; 
  margin-bottom: 20px;
}

