
* {
  box-sizing: border-box;
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 16px;
}

html {
  height: 100%;
}

body {
  position: relative;
  min-height: 100%;
  color: #4c4e52;
  background-color: #FFFFFF;
  margin: 0;
}

h1, h2, h3, h4, h5 {
  color: #394352;
}

.content-wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.content-wrapper.error {
  padding: 40px 0;
}



main .page-title {
  display: block;
  font-weight: normal;
  margin: 0;
  padding: 40px 0 50px 0;
  font-size: 24px;
  text-align: center;
  width: 100%;
}
main .featured {
  display: flex;
  flex-direction: column;
  background-repeat: no-repeat;
  background-size: cover;
  height: 500px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
main .featured h2 {
  display: inline-block;
  margin: 0;
  width: 1100px;
  font-family: Rockwell, "Courier Bold", Courier, Georgia, Times, "Times New Roman", sans-serif;
  font-weight: 500;
  font-size: 68px;
  color: #FFFFFF;
  padding-bottom: 15px;
  text-shadow: 0px 0px 16px rgba(45, 54, 68, 0.2);
}
main .featured p {
  display: inline-block;
  margin: 0;
  width: 1100px;
  font-size: 24px;
  color: #FFFFFF;
  text-shadow: 0px 0px 6px rgba(45, 54, 68, 0.2);
}
main .recentlyadded h2 {
  display: block;
  font-weight: normal;
  margin: 0;
  padding: 40px 0;
  font-size: 24px;
  text-align: center;
  width: 100%;
  border-bottom: 1px solid #edeff3;
}
main .recentlyadded .products, main .products .products-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 40px 0 0 0;
}
main .recentlyadded .products .product, main .products .products-wrapper .product {
  display: block;
  overflow: hidden;
  text-decoration: none;
  width: 25%;
  padding-bottom: 60px;
}
main .recentlyadded .products .product .img, main .products .products-wrapper .product .img {
  display: flex;
  align-items: center;
  height: 200px;
  margin-bottom: 5px;
  overflow: hidden;
}
main .recentlyadded .products .product .img img, main .products .products-wrapper .product .img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(1);
  transition: transform 1s;
}
main .recentlyadded .products .product .img.small, main .products .products-wrapper .product .img.small {
  height: 150px;
}
main .recentlyadded .products .product .name, main .products .products-wrapper .product .name {
  display: block;
  color: #4c4e52;
  padding: 20px 0 2px 0;
}
main .recentlyadded .products .product .price, main .products .products-wrapper .product .price {
  display: block;
  color: #969aa1;
}
main .recentlyadded .products .product .rrp, main .products .products-wrapper .product .rrp {
  color: #bcc0c7;
  text-decoration: line-through;
}
main .recentlyadded .products .product:hover img, main .products .products-wrapper .product:hover img {
  transform: scale(1.05);
  transition: transform 1s;
}
main .recentlyadded .products .product:hover .name, main .products .products-wrapper .product:hover .name {
  text-decoration: underline;
}
main .recentlyadded .products .product.no-stock, main .products .products-wrapper .product.no-stock {
  opacity: 0.5;
}
main .products .products-wrapper .product {
  width: 33.3333333333%;
}
main > .product {
  display: flex;
  padding: 40px 0;
}
main > .product h1 {
  font-size: 34px;
  font-weight: normal;
  margin: 0;
  padding: 20px 0 10px 0;
}
main > .product .product-img-large {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 500px;
}
main > .product .product-small-imgs {
  display: flex;
  flex-flow: wrap;
}
main > .product .product-small-imgs .product-img-small {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-basis: 31%;
  border: 1px solid #edeff3;
  cursor: pointer;
  margin: 20px 12px 0 0;
}
main > .product .product-small-imgs .product-img-small:nth-child(3n) {
  margin-right: 0;
}
main > .product .product-small-imgs .product-img-small.selected {
  border: 1px solid #c9cbcf;
}
main > .product .product-img-large img, main > .product .product-img-small img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
main > .product .product-imgs {
  flex: 1;
  padding: 15px;
}
main > .product .product-wrapper {
  padding-left: 45px;
  flex: 1;
}
main > .product .prices {
  display: flex;
}
main > .product .price {
  display: block;
  font-size: 22px;
  color: #969aa1;
}
main > .product .sub-period-type {
  display: block;
  font-size: 16px;
  color: #969aa1;
}
main > .product .rrp {
  color: #bcc0c7;
  text-decoration: line-through;
  font-size: 22px;
  padding-left: 10px;
}
main > .product .product-form {
  display: flex;
  flex-flow: column;
  max-width: 420px;
  width: 100%;
  margin: 25px 0 40px 0;
}
main > .product .product-form .add-to-wishlist, main > .product .product-form .added-to-wishlist {
  display: inline-flex;
  align-items: center;
  padding: 20px 0 10px 0;
  text-decoration: none;
  appearance: none;
  border: 0;
  background-color: transparent;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  color: #4c4e52;
}
main > .product .product-form .add-to-wishlist svg, main > .product .product-form .added-to-wishlist svg {
  fill: #4c4e52;
  margin-right: 5px;
}
main > .product .product-form .add-to-wishlist:hover, main > .product .product-form .added-to-wishlist:hover {
  color: #65676c;
}
main > .product .product-form .added-to-wishlist {
  color: #dd3030;
}
main > .product .product-form .added-to-wishlist svg {
  fill: #dd3030;
}
main > .product .product-form .added-to-wishlist:hover {
  color: #d12222;
}
main > .product .product-form .btn {
  margin-top: 10px;
  width: 100%;
}
main > .product .product-form > label:first-child {
  padding-top: 0;
}
main .product-details {
  padding: 0 15px;
}
main .product-details .description-title {
  border-bottom: 1px solid #edeff3;
}
main .product-details .description-title h2 {
  display: inline-flex;
  font-size: 20px;
  font-weight: normal;
  padding: 10px 0 20px 0;
  margin: 0;
  border-bottom: 2px solid #5f6061;
}
main .product-details .description-content {
  padding: 15px 0 40px 0;
}
main .product-details .description-content p {
  margin: 0;
  padding: 10px 0;
  line-height: 1.5;
}
main .product-details .description-content h3 {
  font-size: 18px;
  font-weight: 500;
  padding: 10px 0;
  margin: 0;
}
main .product-details .description-content ul {
  margin-top: 5px;
}
main .product-details .description-content ul li {
  padding: 5px 0;
}
main > .products .products-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
}
main > .products .products-header p {
  font-size: 14px;
  font-weight: 500;
  color: #969aa1;
  margin: 0;
}
main > .products .products-form {
  display: flex;
}
main > .products .products-form .products-filters {
  width: 280px;
  padding: 10px 60px 25px 0;
}
main > .products .products-form .products-filters .products-filter {
  border-top: 1px solid #edeff3;
  padding-top: 10px;
  padding-bottom: 15px;
}
main > .products .products-form .products-filters .products-filter:first-child {
  border-top: 0;
  padding-top: 0;
}
main > .products .products-form .products-filters .products-filter .filter-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  margin: 0 0 7px 0;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}
main > .products .products-form .products-filters .products-filter .filter-title::after {
  content: "";
  background: url('data:image/svg+xml,<svg width="16" height="16" fill="%23b1b4bb" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"/></svg>');
  width: 16px;
  height: 16px;
  margin: 0 0 0 15px;
  transform: rotate(180deg);
}
main > .products .products-form .products-filters .products-filter .filter-title:hover::after {
  background: url('data:image/svg+xml,<svg width="16" height="16" fill="%237e8186" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"/></svg>');
}
main > .products .products-form .products-filters .products-filter label {
  display: flex;
  align-items: center;
  height: 30px;
  font-size: 14px;
  user-select: none;
}
main > .products .products-form .products-filters .products-filter label input {
  margin-right: 10px;
}
main > .products .products-form .products-filters .products-filter label input[type=checkbox] {
  opacity: 0.5;
}
main > .products .products-form .products-filters .products-filter label input[type=checkbox]:checked {
  opacity: 1;
}
main > .products .products-form .products-filters .products-filter label.hidden {
  display: none;
}
main > .products .products-form .products-filters .products-filter .price-range {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 0 0;
}
main > .products .products-form .products-filters .products-filter .price-range input {
  font-size: 14px;
  width: 90px;
  padding: 5px;
}
main > .products .products-form .products-filters .products-filter .show-more {
  display: block;
  text-decoration: none;
  color: #969aa1;
  font-size: 14px;
  padding: 10px 0 0 0;
}
main > .products .products-form .products-filters .products-filter .show-more:hover {
  text-decoration: underline;
}
main > .products .products-form .products-filters .products-filter.closed .filter-title {
  margin: 0;
}
main > .products .products-form .products-filters .products-filter.closed .filter-title::after {
  transform: rotate(0deg);
}
main > .products .products-form .products-filters .products-filter.closed .filter-options {
  display: none;
}
main > .products .products-form .products-view {
  flex: 1;
}
main > .products .buttons {
  text-align: right;
  padding-bottom: 40px;
}
main > .products .buttons a:first-child {
  margin-right: 5px;
}
main .cart table, main .myaccount table {
  width: 100%;
}
main .cart table thead td, main .myaccount table thead td {
  padding: 30px 0;
  border-bottom: 1px solid #edeff3;
  font-weight: 500;
  font-size: 14px;
  color: #898d95;
}
main .cart table thead td:last-child, main .myaccount table thead td:last-child {
  text-align: right;
}
main .cart table tbody td, main .myaccount table tbody td {
  padding: 20px 0;
  border-bottom: 1px solid #edeff3;
}
main .cart table tbody td:last-child, main .myaccount table tbody td:last-child {
  text-align: right;
}
main .cart table tbody td.no-results, main .myaccount table tbody td.no-results {
  text-align: center;
  color: #969aa1;
}
main .cart table .img, main .myaccount table .img {
  width: 80px;
}
main .cart table .remove, main .myaccount table .remove {
  color: #db0b0b;
  font-size: 12px;
  padding-top: 3px;
}
main .cart table .remove:hover, main .myaccount table .remove:hover {
  text-decoration: underline;
}
main .cart table .price, main .cart table .options, main .myaccount table .price, main .myaccount table .options {
  color: #969aa1;
}
main .cart table .options, main .myaccount table .options {
  font-size: 14px;
  max-width: 200px;
}
main .cart table a, main .myaccount table a {
  text-decoration: none;
  color: #4c4e52;
}
main .cart table input[type=number], main .myaccount table input[type=number] {
  width: 68px;
}
main .cart .total, main .myaccount .total {
  text-align: right;
  padding: 30px 0 40px 0;
}
main .cart .total .text, main .myaccount .total .text {
  padding-right: 40px;
  font-size: 18px;
}
main .cart .total .price, main .myaccount .total .price {
  font-size: 18px;
  color: #969aa1;
}
main .cart .total .note, main .myaccount .total .note {
  display: block;
  padding-top: 15px;
  color: #969aa1;
}
main .cart .buttons, main .myaccount .buttons {
  text-align: right;
  padding-bottom: 40px;
}
main .cart .buttons .btn, main .myaccount .buttons .btn {
  margin: 0 0 10px 7px;
}
main .placeorder p {
  text-align: center;
}
main .checkout .container {
  display: flex;
  align-items: flex-start;
}
main .checkout .shipping-details {
  margin-right: 35px;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-flow: wrap;
  padding-bottom: 40px;
}
main .checkout .shipping-details h2 {
  width: 100%;
  font-weight: normal;
  font-size: 20px;
  padding: 30px 0 20px 0;
  margin: 0 0 10px 0;
  border-bottom: 1px solid #edeff3;
}
main .checkout .shipping-details h2:first-child {
  padding: 20px 0 20px 0;
}
main .checkout .payment-methods {
  display: flex;
  flex-flow: wrap;
  width: 100%;
  justify-content: space-between;
}
main .checkout .payment-methods label {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #edeff3;
  border-radius: 5px;
  height: 60px;
  width: 159px;
  margin: 10px;
  font-weight: 500;
  color: #434f61;
  padding: 0;
  cursor: pointer;
}
main .checkout .payment-methods label .stripe-icon {
  fill: #6671E4;
}
main .checkout .payment-methods label:nth-child(2), main .checkout .payment-methods label:nth-child(8) {
  margin-left: 0;
}
main .checkout .payment-methods label:nth-child(3n) {
  margin-right: 0;
}
main .checkout .payment-methods label:hover {
  border: 1px solid #ced4df;
}
main .checkout .payment-methods input {
  position: absolute;
  top: -9999px;
  left: -9999px;
  visibility: hidden;
}
main .checkout .payment-methods input:checked + label {
  border: 2px solid #7ed1a1;
}
main .checkout .cart-details {
  width: 90%;
  box-shadow: 0px 0px 6px 1px rgba(45, 54, 68, 0.1);
  border-radius: 4px;
  margin-left: 35px;
  margin-bottom: 50px;
}
main .checkout .cart-details h2 {
  margin: 0;
  padding: 23px 15px;
  font-weight: 500;
  border-bottom: 1px solid #edeff3;
}
main .checkout .cart-details table {
  width: 100%;
  padding: 20px;
}
main .checkout .cart-details table .price {
  text-align: right;
  font-weight: 500;
}
main .checkout .cart-details table td {
  padding: 5px;
}
main .checkout .cart-details .discount-code {
  padding: 0 23px 23px 23px;
}
main .checkout .cart-details .discount-code .result {
  display: block;
  padding-top: 10px;
}
main .checkout .cart-details .shipping-methods {
  border-top: 1px solid #edeff3;
  padding: 23px;
}
main .checkout .cart-details .shipping-methods h3 {
  margin: 0;
  padding: 0 0 10px;
  font-weight: 500;
}
main .checkout .cart-details .shipping-methods .shipping-method {
  padding-top: 10px;
  margin: 0;
}
main .checkout .cart-details .total {
  border-top: 1px solid #edeff3;
  display: flex;
  justify-content: space-between;
  padding: 23px;
  font-size: 18px;
  font-weight: 500;
}
main .checkout .cart-details .alt {
  font-size: 14px;
  color: #a6aab1;
  padding-left: 5px;
}
main .checkout .cart-details .summary {
  border-top: 1px solid #edeff3;
  padding: 23px 0;
}
main .checkout .cart-details .summary div {
  display: flex;
  justify-content: space-between;
  padding: 10px 23px;
}
main .checkout .cart-details .summary div span {
  font-size: 14px;
  font-weight: 500;
}
main .checkout .cart-details .summary .discount span {
  color: #de0000;
}
main .checkout .cart-details .buttons {
  margin: 0 23px 23px 23px;
}
main .checkout .cart-details .buttons .btn {
  max-width: 100%;
}
main .checkout .cart-details .error {
  display: flex;
  align-items: center;
  margin: 0 23px 23px;
  padding: 8px;
  font-size: 12px;
  background-color: #f8d7da;
  border-radius: 4px;
}
main .checkout .cart-details .error svg {
  fill: #cf1818;
  margin: 0 8px 0 2px;
}
main .myaccount {
  display: flex;
  flex-flow: wrap;
}
main .myaccount .menu {
  padding-right: 35px;
  width: 300px;
}
main .myaccount .menu a {
  display: block;
  text-decoration: none;
  color: #7d8087;
  padding: 15px 0;
  border-bottom: 1px solid #f6f7f9;
}
main .myaccount .menu a:hover {
  color: #333538;
}
main .myaccount .myorders, main .myaccount .mydownloads, main .myaccount .settings, main .myaccount .wishlist {
  flex: 1;
  padding-bottom: 50px;
}
main .myaccount .myorders form {
  display: flex;
  flex-flow: wrap;
  justify-content: flex-end;
}
main .myaccount .myorders .order {
  border-radius: 4px;
  box-shadow: 0px 0px 6px 1px rgba(45, 54, 68, 0.1);
  margin: 30px 0 30px 0;
}
main .myaccount .myorders .order .order-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #f6f7f9;
}
main .myaccount .myorders .order .order-header > div {
  display: flex;
  padding: 20px;
}
main .myaccount .myorders .order .order-header > div div {
  padding-right: 35px;
  font-size: 14px;
  font-weight: 400;
  color: #898d95;
}
main .myaccount .myorders .order .order-header > div div:last-child {
  padding-right: 0;
}
main .myaccount .myorders .order .order-header > div div span {
  display: block;
  font-weight: 500;
  font-size: 14px;
  padding-bottom: 3px;
}
main .myaccount .myorders .order .order-header > div:last-child div:last-child {
  text-align: right;
}
main .myaccount .myorders .order .order-items {
  padding: 0 15px;
}
main .myaccount .myorders .order .order-items table {
  margin: 0;
  padding: 0;
}
main .myaccount .settings form {
  max-width: 400px;
}
main .myaccount .settings form .btn {
  margin-top: 25px;
}
main .myaccount h2 {
  width: 100%;
  font-weight: normal;
  font-size: 20px;
  padding: 15px 0;
  margin: 0 0 10px 0;
  border-bottom: 1px solid #edeff3;
}
main .myaccount table {
  padding-bottom: 40px;
}
main .myaccount table tr:last-child td {
  border-bottom: 0;
}
main .myaccount table a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  border: 1px solid #edeff3;
  border-radius: 4px;
  padding: 0 10px;
  font-size: 14px;
  color: #de0000;
  margin: 0 5px 5px 0;
}
main .myaccount table a:hover {
  color: #ab0000;
}
main .myaccount table a .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding-right: 10px;
  margin-right: 10px;
  height: 100%;
  border-right: 1px solid #edeff3;
}
main .myaccount table a .icon svg {
  fill: #de0000;
}
main .myaccount table .name {
  word-break: break-all;
}
main .myaccount .login-register {
  display: flex;
  width: 80%;
  margin: 40px auto 0 auto;
  justify-content: space-between;
  margin-top: 40px;
}
main .myaccount .login-register h1 {
  text-align: left;
  padding-top: 15px;
}
main .myaccount .login-register .login {
  flex: 1;
  border-right: 1px solid #f6f7f9;
  padding-right: 55px;
}
main .myaccount .login-register .register {
  flex: 1;
  padding-left: 55px;
}
main .myaccount .login-register .btn {
  margin-top: 25px;
}


main .login-page .page-title, main .register-page .page-title, main .agent-register-page .page-title, main .deposit-page .page-title{
    display: block;
    font-weight: bold;
    margin: 0;
    padding: 20px 0 29px 0;
    font-size: 24px;
    text-align: center;
    width: 100%;
}
main .forgot-password {
  max-width: 400px;
  text-align: center;
}
main .forgot-password .btn {
  margin-top: 25px;
}
main p.error {
  color: #cf1818;
  font-weight: 500;
  font-size: 14px;
}
main p.error .form-link {
  font-weight: inherit;
  font-size: inherit;
  text-decoration: none;
  color: #74160b;
}
main p.error .form-link:hover {
  color: #450d07;
}
main p.success {
  color: #0da74d;
  font-weight: 500;
  font-size: 14px;
}
main p.success .form-link {
  font-weight: inherit;
  font-size: inherit;
  text-decoration: none;
  color: #0b6430;
}
main p.success .form-link:hover {
  color: #06361a;
}

.img-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}
.img-modal div {
  position: absolute;
  display: flex;
  flex-flow: column;
  width: 800px;
  height: 800px;
  max-width: 90%;
  max-height: 90%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #FFFFFF;
  padding: 15px;
}
.img-modal div a {
  display: inline-flex;
  align-self: flex-end;
  text-decoration: none;
  font-size: 34px;
  line-height: 26px;
  color: #b2b4b8;
}
.img-modal div a:hover {
  color: #989a9f;
}
.img-modal div img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding-top: 20px;
  padding-bottom: 25px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  background-color: #3c414e;
  border: 0;
  color: #FFFFFF;
  padding: 0 16px;
  font-size: 14px;
  line-height: 14px;
  font-weight: 500;
  height: 40px;
  border-radius: 4px;
  box-shadow: 0px 0px 6px 1px rgba(45, 54, 68, 0.15);
  cursor: pointer;
}
.btn.paypal {
  background-color: #287ddf;
  box-shadow: 0px 0px 6px 1px rgba(45, 54, 68, 0.12);
}
.btn.stripe {
  background-color: #6772e5;
  box-shadow: 0px 0px 6px 1px rgba(45, 54, 68, 0.12);
}
.btn:hover {
  background-color: #353a45;
}
.btn:hover.paypal {
  background-color: #2075d8;
}
.btn:hover.stripe {
  background-color: #5a66e3;
}
.btn:disabled {
  background: #c6c7c9;
  box-shadow: 0px 0px 6px 1px rgba(45, 54, 68, 0.05);
}

.link {
  font-weight: 500;
  text-decoration: none;
  color: #007bff;
  font-size: inherit;
}
.link:hover {
  text-decoration: underline;
}

.form .form-group {
  display: block
  position: relative;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.form .form-group .col {
  width: 100%;
}
.form .form-select {
  display: inline-flex;
  align-items: center;
  padding: 2px 0 2px 10px;
  border: 1px solid #dddfe2;
  border-radius: 5px;
  color: #878b91;
  font-size: 14px;
  overflow: hidden;
}
.form .form-select select {
  padding: 5px 5px 5px 0;
  border: 0;
  font-weight: 500;
  font-size: 14px;
  color: #878b91;
  outline: none;
}
.form .form-select select option {
  color: #696c71;
}
.form .form-label {
  display: block;
  padding: 14px 0 10px 0;
}
.form .form-label-2 {
  display: block;
  padding: 14px 0 0 0;
}
.form .form-label-3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 10px 0;
}
.form .form-input {
  padding: 8px 10px;
  border: 1px solid #dddfe2;
  border-radius: 4px;
}
.form .form-input::placeholder {
  color: #b0b3b8;
}
.form .form-input.expand {
  width: 100%;
}
.form .form-radio-checkbox {
  display: flex;
  flex-flow: wrap;
}
.form .form-radio-checkbox input {
  margin: 0 8px 0 0;
}
.form .form-radio-checkbox label {
  display: inline-flex;
  align-items: center;
  padding: 10px 15px 0 0;
}
.form .form-link {
  color: #2a77eb;
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
}
.form .form-link:hover {
  color: #135ac5;
}

footer {
  border-top: 1px solid #edeff3;
  padding: 20px 0;
  width: 100%;
}
footer a {
  text-decoration: none;
  color: #4c4e52;
}
footer a:hover {
  text-decoration: underline;
}

.pad-1 {
  padding: 5px;
}

.mar-1 {
  margin: 5px;
}

.pad-2 {
  padding: 10px;
}

.mar-2 {
  margin: 10px;
}

.pad-3 {
  padding: 15px;
}

.mar-3 {
  margin: 15px;
}

.pad-4 {
  padding: 20px;
}

.mar-4 {
  margin: 20px;
}

.pad-5 {
  padding: 25px;
}

.mar-5 {
  margin: 25px;
}

.pad-bot-1 {
  padding-bottom: 5px;
}

.pad-top-1 {
  padding-top: 5px;
}

.pad-left-1 {
  padding-left: 5px;
}

.pad-right-1 {
  padding-right: 5px;
}

.pad-x-1 {
  padding-left: 5px;
  padding-right: 5px;
}

.pad-y-1 {
  padding-top: 5px;
  padding-bottom: 5px;
}

.mar-bot-1 {
  margin-bottom: 5px;
}

.mar-top-1 {
  margin-top: 5px;
}

.mar-left-1 {
  margin-left: 5px;
}

.mar-right-1 {
  margin-right: 5px;
}

.mar-x-1 {
  margin-left: 5px;
  margin-right: 5px;
}

.mar-y-1 {
  margin-top: 5px;
  margin-bottom: 5px;
}

.pad-bot-2 {
  padding-bottom: 10px;
}

.pad-top-2 {
  padding-top: 10px;
}

.pad-left-2 {
  padding-left: 10px;
}

.pad-right-2 {
  padding-right: 10px;
}

.pad-x-2 {
  padding-left: 10px;
  padding-right: 10px;
}

.pad-y-2 {
  padding-top: 10px;
  padding-bottom: 10px;
}

.mar-bot-2 {
  margin-bottom: 10px;
}

.mar-top-2 {
  margin-top: 10px;
}

.mar-left-2 {
  margin-left: 10px;
}

.mar-right-2 {
  margin-right: 10px;
}

.mar-x-2 {
  margin-left: 10px;
  margin-right: 10px;
}

.mar-y-2 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.pad-bot-3 {
  padding-bottom: 15px;
}

.pad-top-3 {
  padding-top: 15px;
}

.pad-left-3 {
  padding-left: 15px;
}

.pad-right-3 {
  padding-right: 15px;
}

.pad-x-3 {
  padding-left: 15px;
  padding-right: 15px;
}

.pad-y-3 {
  padding-top: 15px;
  padding-bottom: 15px;
}

.mar-bot-3 {
  margin-bottom: 15px;
}

.mar-top-3 {
  margin-top: 15px;
}

.mar-left-3 {
  margin-left: 15px;
}

.mar-right-3 {
  margin-right: 15px;
}

.mar-x-3 {
  margin-left: 15px;
  margin-right: 15px;
}

.mar-y-3 {
  margin-top: 15px;
  margin-bottom: 15px;
}

.pad-bot-4 {
  padding-bottom: 20px;
}

.pad-top-4 {
  padding-top: 20px;
}

.pad-left-4 {
  padding-left: 20px;
}

.pad-right-4 {
  padding-right: 20px;
}

.pad-x-4 {
  padding-left: 20px;
  padding-right: 20px;
}

.pad-y-4 {
  padding-top: 20px;
  padding-bottom: 20px;
}

.mar-bot-4 {
  margin-bottom: 20px;
}

.mar-top-4 {
  margin-top: 20px;
}

.mar-left-4 {
  margin-left: 20px;
}

.mar-right-4 {
  margin-right: 20px;
}

.mar-x-4 {
  margin-left: 20px;
  margin-right: 20px;
}

.mar-y-4 {
  margin-top: 20px;
  margin-bottom: 20px;
}

.pad-bot-5 {
  padding-bottom: 25px;
}

.pad-top-5 {
  padding-top: 25px;
}

.pad-left-5 {
  padding-left: 25px;
}

.pad-right-5 {
  padding-right: 25px;
}

.pad-x-5 {
  padding-left: 25px;
  padding-right: 25px;
}

.pad-y-5 {
  padding-top: 25px;
  padding-bottom: 25px;
}

.mar-bot-5 {
  margin-bottom: 25px;
}

.mar-top-5 {
  margin-top: 25px;
}

.mar-left-5 {
  margin-left: 25px;
}

.mar-right-5 {
  margin-right: 25px;
}

.mar-x-5 {
  margin-left: 25px;
  margin-right: 25px;
}

.mar-y-5 {
  margin-top: 25px;
  margin-bottom: 25px;
}

/* Responsive CSS below */
@media screen and (max-width: 1100px) {
  .rhide {
    display: none;
  }
  .content-wrapper {
    padding: 0 10px;
  }
  header {
    justify-content: space-between;
  }
  header h1 {
    font-size: 16px;
    flex-basis: auto;
  }
  header nav {
    display: none;
    position: absolute;
    left: 0;
    top: calc(100% + 1px);
    width: 100%;
    background-color: #FFFFFF;
    margin: 0;
    box-shadow: 0px 2px 2px 1px rgba(45, 54, 68, 0.03);
  }
  header nav a {
    display: block;
    padding: 15px 12px;
    margin: 0;
    border-bottom: 1px solid #f6f7f9;
  }
  header .link-icons {
    display: inline-flex;
    width: 100px;
  }
  header .link-icons .responsive-toggle {
    display: flex;
  }
  header .link-icons .search input {
    max-width: 150px;
  }
  main .recentlyadded .products, main .products .products-wrapper {
    justify-content: center;
  }
  main .recentlyadded .products .product, main .products .products-wrapper .product {
    width: auto;
  }
  main .featured {
    height: 300px;
  }
  main .featured h2 {
    font-size: 48px;
    width: 100%;
    padding: 0 10px;
  }
  main .featured p {
    font-size: 22px;
    width: 100%;
    padding: 0 10px;
  }
  main > .products .products-header p, main > .products .products-header label {
    margin-bottom: 10px;
  }
  main > .products .products-form {
    flex-flow: column;
  }
  main > .products .products-form .products-filters {
    width: 100%;
    order: 1;
    padding: 0 5px 15px 5px;
  }
  main > .product {
    padding: 0 10px;
    flex-flow: column;
  }
  main > .product .product-imgs {
    padding: 20px 10px 0 10px;
  }
  main > .product .product-imgs .product-img-large {
    height: 300px;
  }
  main > .product .product-imgs .product-small-imgs .product-img-small {
    height: 80px;
    flex-basis: 30%;
  }
  main > .product .product-wrapper {
    padding: 0;
  }
  main .cart table input[type=number] {
    width: 40px;
  }
  main .checkout .container, main .myaccount .container {
    flex-flow: column;
  }
  main .checkout .shipping-details .payment-methods, main .myaccount .shipping-details .payment-methods {
    flex-flow: column;
  }
  main .checkout .shipping-details .payment-methods label, main .myaccount .shipping-details .payment-methods label {
    width: 100%;
    margin: 0 0 10px 0;
  }
  main .checkout .cart-details, main .myaccount .cart-details {
    margin: 0 0 40px 0;
    width: 100%;
  }
  main .checkout form, main .myaccount form {
    width: 100%;
  }



  main .myaccount .login-register {
    width: 100%;
    flex-flow: column;
  }
  main .myaccount .login-register .login {
    border-right: 0;
    padding: 10px;
  }
  main .myaccount .login-register .register {
    padding: 10px;
  }
  main .myaccount .menu {
    width: 100%;
    padding-right: 0;
  }
}

/* NEW -------TEMPLATE 1 ---------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9fafb;
  color: #111827;
  line-height: 1.5;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header Styles */
.header {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 16px -6px rgba(0,0,0,0.02);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar {
  background: #f8fafc;
  border-bottom: 1px solid #eef2ff;
  font-size: 0.75rem;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-link {
  text-decoration: none;
  color: #475569;
  font-weight: 500;
  transition: all 0.2s;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-link:hover {
  color: #3b82f6;
}

.search-bar {
  padding: 20px 0;
  background: white;
}

.search-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.logo img {
  height: auto;
  object-fit: contain;
}

.search-box {
  flex: 1;
  max-width: 560px;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border-radius: 60px;
  padding: 0 20px;
  border: 1.5px solid #e2e8f0;
  transition: all 0.2s;
}

.search-input-wrapper:focus-within {
  background: white;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59,130,246,0.1);
}

.search-input-wrapper input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 0;
  font-size: 0.9rem;
  outline: none;
  font-weight: 500;
}

/* Main Navigation */
.main-nav {
  background: #cd87a2;
  border-top: none;
  border-bottom: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
  padding: 7px 0 12px 0px;
  display: inline-block;
  transition: 0.2s;
}

.nav-links a:hover {
  color: #000;
}

/* Product Page Styles */
.page-header {
  margin: 32px 0 24px;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-header p {
  color: #64748b;
}

/* Category Buttons */
.category-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.cat-btn {
  background: white;
  border: 2px solid #e2e8f0;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
  color: #475569;
}

.cat-btn:hover {
  border-color: #3b82f6;
  color: #3b82f6;
  transform: translateY(-2px);
}

.cat-btn.active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: white;
}

/* Layout Switch Styles - Nâng cấp */
.t4s-layout-switch-wrapper {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 20px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.layout-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.layout-btn {
  background: white;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.layout-btn:hover {
  background: #f1f5f9;
  border-color: #3b82f6;
}

.layout-btn.active {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.t4s-layout__switch {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #f8fafc;
  padding: 6px;
  border-radius: 12px;
}

.t4s-layout__switch button {
  background: transparent;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
}

.t4s-layout__switch button:hover {
  background: #e2e8f0;
}

.t4s-layout__switch button.is--active {
  background: #3b82f6;
  color: white;
}

.t4s-layout__switch button.is--active .t4s_icon_viewlist,
.t4s-layout__switch button.is--active .t4s_icon_view1,
.t4s-layout__switch button.is--active .t4s_icon_view2,
.t4s-layout__switch button.is--active .t4s_icon_view3,
.t4s-layout__switch button.is--active .t4s_icon_view4,
.t4s-layout__switch button.is--active .t4s_icon_view5,
.t4s-layout__switch button.is--active .t4s_icon_view6 {
  filter: brightness(0) invert(1);
}

/* Icon Styles */
.t4s_icon_viewlist,
.t4s_icon_view1, .t4s_icon_view2, .t4s_icon_view3, 
.t4s_icon_view4, .t4s_icon_view5, .t4s_icon_view6 {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: currentColor;
  mask-size: contain;
  -webkit-mask-size: contain;
}

.t4s_icon_viewlist {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='12' x2='21' y2='12'%3E%3C/line%3E%3Cline x1='8' y1='18' x2='21' y2='18'%3E%3C/line%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'%3E%3C/line%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'%3E%3C/line%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='12' x2='21' y2='12'%3E%3C/line%3E%3Cline x1='8' y1='18' x2='21' y2='18'%3E%3C/line%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'%3E%3C/line%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'%3E%3C/line%3E%3C/svg%3E") center/contain no-repeat;
}

.t4s_icon_view1 {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3C/svg%3E") center/contain no-repeat;
}

.t4s_icon_view2 {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='18' rx='1'/%3E%3Crect x='14' y='3' width='7' height='18' rx='1'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='18' rx='1'/%3E%3Crect x='14' y='3' width='7' height='18' rx='1'/%3E%3C/svg%3E") center/contain no-repeat;
}

.t4s_icon_view3 {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='2' y='3' width='6' height='18' rx='1'/%3E%3Crect x='9' y='3' width='6' height='18' rx='1'/%3E%3Crect x='16' y='3' width='6' height='18' rx='1'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='2' y='3' width='6' height='18' rx='1'/%3E%3Crect x='9' y='3' width='6' height='18' rx='1'/%3E%3Crect x='16' y='3' width='6' height='18' rx='1'/%3E%3C/svg%3E") center/contain no-repeat;
}

.t4s_icon_view4 {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='2' y='3' width='4' height='18' rx='1'/%3E%3Crect x='7' y='3' width='4' height='18' rx='1'/%3E%3Crect x='12' y='3' width='4' height='18' rx='1'/%3E%3Crect x='17' y='3' width='4' height='18' rx='1'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='2' y='3' width='4' height='18' rx='1'/%3E%3Crect x='7' y='3' width='4' height='18' rx='1'/%3E%3Crect x='12' y='3' width='4' height='18' rx='1'/%3E%3Crect x='17' y='3' width='4' height='18' rx='1'/%3E%3C/svg%3E") center/contain no-repeat;
}

.t4s_icon_view5 {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='1.5' y='3' width='3.5' height='18' rx='1'/%3E%3Crect x='6' y='3' width='3.5' height='18' rx='1'/%3E%3Crect x='10.5' y='3' width='3.5' height='18' rx='1'/%3E%3Crect x='15' y='3' width='3.5' height='18' rx='1'/%3E%3Crect x='19.5' y='3' width='3.5' height='18' rx='1'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='1.5' y='3' width='3.5' height='18' rx='1'/%3E%3Crect x='6' y='3' width='3.5' height='18' rx='1'/%3E%3Crect x='10.5' y='3' width='3.5' height='18' rx='1'/%3E%3Crect x='15' y='3' width='3.5' height='18' rx='1'/%3E%3Crect x='19.5' y='3' width='3.5' height='18' rx='1'/%3E%3C/svg%3E") center/contain no-repeat;
}

.t4s_icon_view6 {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='1' y='3' width='2.8' height='18' rx='1'/%3E%3Crect x='4.8' y='3' width='2.8' height='18' rx='1'/%3E%3Crect x='8.6' y='3' width='2.8' height='18' rx='1'/%3E%3Crect x='12.4' y='3' width='2.8' height='18' rx='1'/%3E%3Crect x='16.2' y='3' width='2.8' height='18' rx='1'/%3E%3Crect x='20' y='3' width='2.8' height='18' rx='1'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='1' y='3' width='2.8' height='18' rx='1'/%3E%3Crect x='4.8' y='3' width='2.8' height='18' rx='1'/%3E%3Crect x='8.6' y='3' width='2.8' height='18' rx='1'/%3E%3Crect x='12.4' y='3' width='2.8' height='18' rx='1'/%3E%3Crect x='16.2' y='3' width='2.8' height='18' rx='1'/%3E%3Crect x='20' y='3' width='2.8' height='18' rx='1'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Product Grid/List */
.products-container {
  margin: 32px 0;
}

.products-grid {
  display: grid;
  gap: 24px;
  transition: all 0.3s ease;
}

/* Grid layout classes */
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
.grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
.list-view { grid-template-columns: 1fr; }

/* Product Card */
.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(0,0,0,0.15);
}

.product-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
}

.product-info {
  padding: 16px;
}

.product-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  color: #1e293b;
}

.product-price {
  color: #3b82f6;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.8rem;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* List view specific */
.list-view .product-card {
  display: flex;
  gap: 20px;
}

.list-view .product-image {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
}

.list-view .product-info {
  flex: 1;
}

/* Footer */
.footer {
  background: #ba577e;
  color: #cbd5e1;
  margin-top: 70px;
}

.footer-bottom {
  padding: 56px 0 28px;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 48px;
  margin-bottom: 48px;
}

.footer-info-item {
  text-align: center;
  flex: 1;
}

.footer-info-item h4 {
  font-size: 0.85rem;
  font-weight: 500;
  color: #e2e8f0;
}

.copyright {
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid #1e293b;
  font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  
  .t4s-layout-switch-wrapper {
    flex-direction: flex;
    align-items: stretch;
  }
  
  .layout-buttons {
    justify-content: center;
  }
  
  .t4s-layout__switch {
    justify-content: center;
  }
  
  .grid-cols-2, .grid-cols-3, .grid-cols-4, .grid-cols-5, .grid-cols-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .list-view .product-card {
    flex-direction: column;
  }
  
  .list-view .product-image {
    width: 100%;
    height: 180px;
  }
  
  .is--desktop, .is--tablet {
    display: none !important;
  }
  .is--mobile {
    display: flex !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .is--desktop, .is--mobile {
    display: none !important;
  }
  .is--tablet {
    display: flex !important;
  }
}

@media (min-width: 1025px) {
  .is--mobile, .is--tablet {
    display: none !important;
  }
  .is--desktop {
    display: flex !important;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9fafb;
  color: #111827;
  line-height: 1.5;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ========== HEADER ========== */
.header {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 16px -6px rgba(0,0,0,0.02);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Top bar */
.top-bar {
  background: #f8fafc;
  border-bottom: 1px solid #eef2ff;
  font-size: 0.75rem;
  padding: 5px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.top-link {
  text-decoration: none;
  color: #475569;
  font-weight: 500;
  transition: all 0.2s;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-link:hover {
  color: #3b82f6;
}

/* USER DROPDOWN (cải tiến) */
.user-dropdown {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 3px 13px 3px 10px;
  border-radius: 40px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: all 0.2s;
  border: 1px solid #eef2ff;
}

.user-dropdown:hover {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  border-radius: 50%;
  object-fit: cover;
}

.user-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: #0f172a;
}

/* User dropdown menu cấp 2 (hiển thị khi click) */
.user-menu {
  position: absolute;
  top: 48px;
  right: 0;
  background: white;
  min-width: 220px;
  border-radius: 20px;
  box-shadow: 0 20px 35px -12px rgba(0,0,0,0.2);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 300;
  list-style: none;
}

.user-dropdown.active .user-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(5px);
}

.user-menu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.user-menu li a i {
  width: 20px;
  color: #64748b;
}

.user-menu li a:hover {
  background: #f1f5f9;
  color: #2563eb;
  padding-left: 26px;
}

.cart-link {
  position: relative;
  text-decoration: none;
  color: #db6f99;
  font-weight: 500;
  transition: all 0.2s;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: solid 1px #ce7f9f;
  padding: 5px 8px;
  border-radius: 36px;
}

.badge-cart {
  background: #ef4444;
  color: white;
  border-radius: 30px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  margin-left: 6px;
}

/* Search bar */
.main-header {
  padding: 0px 0;
  background: white;
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0px;
  flex-wrap: wrap;
}


.search-box {
  flex: 1;
  max-width: 560px;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border-radius: 60px;
  padding: 0 10px;
  border: 1.5px solid #c17f98;
  transition: all 0.2s;
}

.search-input-wrapper:focus-within {
  background: white;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59,130,246,0.1);
}

.search-input-wrapper input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 6px 20px;
  font-size: 0.9rem;
  outline: none;
  font-weight: 500;
}

.search-box-pc{
  display: block;
}

/* Main Navigation */

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  position: relative;
}

.nav-item {
  position: relative;
}


.nav-link i {
  font-size: 12px;
  transition: transform 0.2s;
}

.nav-item:hover > .nav-link {
  color: #000000;
}

.nav-item:hover > .nav-link i {
  transform: rotate(180deg);
}

/* Dropdown đa cấp */
.dropdown-menu {
  position: absolute;
  top: 48px;
  left: 0;
  background: white;
  min-width: 260px;
  border-radius: 20px;
  box-shadow: 0 20px 35px -12px rgba(0,0,0,0.15);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 200;
  list-style: none;
}
.dropdown-menu li > a i {
  transition: transform 0.2s;
}

.dropdown-menu li:hover > a i {
  transform: rotate(90deg);
}

.nav-item:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu li {
  position: relative;
  list-style: none;
}

.dropdown-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  transition: all 0.2s;
  font-size: 0.85rem;
}

.dropdown-menu a:hover {
  background: #f1f5f9;
  color: #2563eb;
  padding-left: 26px;
}

/* LEVEL 2 + LEVEL 3 */
.submenu {
  position: absolute;
  top: -12px;
  left: 100%;
  background: white;
  min-width: 220px;
  border-radius: 18px;
  box-shadow: 0 18px 30px -12px rgba(0,0,0,0.12);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  border: 1px solid #edf2f7;
  list-style: none;
}

.dropdown-menu li:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(4px);
}

.deep-submenu {
  position: absolute;
  top: 0;
  left: 100%;
  background: white;
  min-width: 200px;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
}

.submenu li:hover > .deep-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(4px);
}

/* Mobile */
.mobile-icons {
  display: none;
  gap: 20px;
  align-items: center;
}

.mobile-icon-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #0f172a;
  padding: 8px;
  border-radius: 50%;
}

.slide-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 340px;
  background: white;
  z-index: 1100;
  box-shadow: -8px 0 30px rgba(0,0,0,0.1);
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.panel-left { left: 0; transform: translateX(-100%); }
.panel-right { right: 0; transform: translateX(100%); }
.panel-open { transform: translateX(0); }

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #eef2ff;
  font-weight: 700;
  font-size: 1.2rem;
  background: white;
  position: sticky;
  top: 0;
}

.close-panel {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
}

.mobile-nav-list {
  padding: 16px 0;
  list-style: none;
}
.mobile-nav-list > li { border-bottom: 1px solid #f0f2f5; }
.mobile-nav-list a { display: flex; justify-content: space-between; padding: 16px 24px; text-decoration: none; font-weight: 600; color: #1e293b; }
.sub-mobile, .sub-mobile-level2 { display: none; background: #f9fafb; list-style: none; padding-left: 20px; }
.sub-mobile.show, .sub-mobile-level2.show { display: block; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
  backdrop-filter: blur(2px);
}
.overlay.active { opacity: 1; visibility: visible; }

.cart-items-preview { padding: 20px; flex: 1; }
.cart-item { display: flex; gap: 14px; margin-bottom: 20px; border-bottom: 1px solid #f1f5f9; padding-bottom: 14px; }

.footer {
  background: #ba577e;
  color: #cbd5e1;
  margin-top: 70px;
}
.footer-bottom { padding: 56px 0 28px; }
.footer-info { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; border-bottom: 1px solid #1e293b; padding-bottom: 48px; margin-bottom: 48px; }
.footer-info-item { text-align: center; flex: 1; }
.footer-info-item h4 { font-size: 0.85rem; font-weight: 500; color: #e2e8f0; }
.footer-section { display: flex; gap: 30px; margin-bottom: 48px; }
.footer-section-item{
  width: 25%;
}
.footer-section-item h3 { color: white; font-size: 1rem; margin-bottom: 20px; font-weight: 600; }
.footer-section-item ul { list-style: none; }
.footer-section-item a, .footer-link { text-decoration: none; color: #94a3b8; font-size: 0.85rem; transition: 0.2s; cursor: pointer; }
.copyright { text-align: center; padding-top: 28px; border-top: 1px solid #1e293b; font-size: 0.75rem; }

@media (max-width: 768px) {
  .container { padding: 0 10px; }
  .top-bar-left .top-link:first-child { display: none; }
  .nav-links { display: none; }
  .mobile-icons { display: flex; }
  .search-box { max-width: 100%; order: 2; width: 100%; margin-top: 12px; }
  .search-box-pc{
    display: none;
  }

  .main-header .container { flex-wrap: wrap; }
  .logo { flex: 1; }
  .footer-info { flex-direction: column; align-items: center; gap: 28px; }
  .footer-section { flex-direction: column; gap: 32px; }
  .footer-section-item{
    width: 100%;
  }
}
@media (min-width: 768px) { .mobile-icons { display: none; } }

.hero-banner {
  background: linear-gradient(135deg, #f1f5f9 0%, #ffffff 100%);
  border-radius: 32px;
  padding: 48px 32px;
  margin-top: 32px;
  text-align: center;
}
button.add-to-cart-demo {
  background: #111827;
  border: none;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.85rem;
}
button.add-to-cart-demo:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }


/* CSS HEADER -------------------*/
 /* CSS cho mobile menu */
.sub-mobile, .sub-mobile-level2 {
    display: none;
    background: #f9fafb;
    list-style: none;
    padding-left: 20px;
}
.sub-mobile.show, .sub-mobile-level2.show {
    display: block;
    background: #cd87a2;
}
.toggle-sub i, .toggle-sub2 i, .toggle-sub3 i {
    display: inline-block;
    transition: transform 0.2s ease;
}
.toggle-sub i.rotated, .toggle-sub2 i.rotated, .toggle-sub3 i.rotated {
    transform: rotate(90deg);
}

/* Slide panel styles */
.slide-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 320px;
    background: white;
    z-index: 1100;
    box-shadow: -8px 0 30px rgba(0,0,0,0.1);
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.panel-left { left: 0; transform: translateX(-100%); }
.panel-right { right: 0; transform: translateX(100%); }
.panel-open { transform: translateX(0) !important; }

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    border-bottom: 1px solid #eef2ff;
    font-weight: 700;
    font-size: 1.2rem;
    background: #cd87a2;
    position: sticky;
    top: 0;
    z-index: 10;
}
.panel-header span{
    background: #cd87a2;
    padding: 10px;
    color: #fff;
    border-radius: 5px;
}
.close-panel {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
}
.mobile-nav-list {
    padding: 16px 0;
    list-style: none;
    margin: 0;
}
.mobile-nav-list > li { 
    border-bottom: 1px solid #f0f2f5; 
}
.mobile-nav-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    text-decoration: none;
    font-weight: 600;
    color: #ff60a8;
}
.sub-mobile a, .sub-mobile-level2 a {
    font-weight: 500;
    padding: 12px 10px 10px 0px;
    color: #fff;
    border-bottom: solid 1px #dcd9d9;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s;
    backdrop-filter: blur(2px);
}
.overlay.active { opacity: 1; visibility: visible; }

.mobile-icons {
    display: none;
    gap: 1px;
    align-items: center;
}
.mobile-icon-btn {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #0f172a;
    padding: 8px;
    border-radius: 50%;
}

/* ========== MENU CLICK STYLES - Thay thế hover bằng click ========== */
/* Menu desktop styles */

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link, .menu-toggle {
    display: block;
    padding: 1rem 0;
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    transition: color 0.2s;
    cursor: pointer;
}

.nav-link:hover, .menu-toggle:hover {
    color: #3b82f6;
}

/* Dropdown menu styles - Level 2 - Mặc định ẩn */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #eca8c3;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(2px);
    transition: all 0.2s ease;
    z-index: 1000;
}

/* Khi có class 'open' thì hiển thị menu */
.dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Level 3 menu */
.submenu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 220px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.submenu.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Level 4+ menu */
.deep-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 220px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.deep-submenu.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Dropdown menu items */
.dropdown-menu li,
.submenu li,
.deep-submenu li {
    position: relative;
}

.dropdown-menu a,
.submenu a,
.deep-submenu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    color: #000000;
    font-size: 0.9rem;
    transition: all 0.2s;
    white-space: nowrap;
}

.dropdown-menu a:hover,
.submenu a:hover,
.deep-submenu a:hover {
    background: #f8fafc;
    color: #000;
}

/* Animation cho menu arrow khi xoay */
.menu-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
    margin-left: 6px;
    font-size: 0.8rem;
}

.menu-arrow.rotated {
    transform: rotate(180deg);
}

/* Level 2 và 3 arrow rotation khác */
.dropdown-menu .menu-arrow.rotated,
.submenu .menu-arrow.rotated {
    transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-icons { display: flex; }
    .search-box-pc { display: none; }
    .nav-links { display: none; }
}

.cart-items-preview {
    flex: 1;
    padding: 20px;
}
.cart-footer {
    padding: 20px;
    border-top: 1px solid #eef2ff;
}

/* Indicator cho items có submenu */
.dropdown-menu li:has(.submenu) > a::after,
.submenu li:has(.deep-submenu) > a::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    margin-left: 8px;
    color: #94a3b8;
}


/* -----------------------------------------------------------
=========== CTA BUTTON =========================================
*/
/* Vùng chính chứa nút */
#cta-main-div {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
}

#cta-main-div img{
    max-width: 70%;
    height: auto;
}

/* Nút chính */
#main-button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  bottom: 0;
  height: 55px;
  width: 55px;
  font-size: 22px;
  color: #0064f3;
  background-color: #fff;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

#main-button:hover {
  transform: rotate(20deg) scale(1.05);
}

/* Các nút con */
.fab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  bottom: 0;
  height: 50px;
  width: 50px;
  font-size: 18px;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  text-decoration: none;
  opacity: 0;
  z-index: -1;
  transition: all .3s ease;
}

/* Khi mở menu */
#main-button.open ~ .fab-btn {
  opacity: 1;
  z-index: 1;
}

/* Vị trí khi mở */
#main-button.open ~ .fab-btn:nth-of-type(1) {
  bottom: 70px;
}
#main-button.open ~ .fab-btn:nth-of-type(2) {
  bottom: 130px;
}
#main-button.open ~ .fab-btn:nth-of-type(3) {
  bottom: 190px;
}
#main-button.open ~ .fab-btn:nth-of-type(4) {
  bottom: 250px;
}

/* Màu riêng cho từng nút */
.phone-color { background: linear-gradient(45deg, #1ecc8c, #13a06a); }
.signup-color { background: linear-gradient(45deg, #ff9800, #ff5722); }
.facebook-color { background: linear-gradient(45deg, #3b5998, #2196f3); }
.zalo-color { background: linear-gradient(45deg, #0068ff, #00c6ff); }

/* Hiệu ứng wave cho nút chính */
.wave {
  animation: wave 1s linear infinite;
}
@keyframes wave {
  0% { box-shadow: 0 0 0px 0px rgba(0,100,243,.5); }
  100% { box-shadow: 0 0 0px 15px rgba(0,100,243,0); }
}
