/* Reset mặc định */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {   
    background-color: #fff;
    color: #111;
}
button, a , img{
        user-select: none;
        -webkit-user-select: none;
  }

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

li {
    list-style: none;
}

ul {
  list-style: none;
  padding: 0px;
}

form label {
  font-weight: 500 !important;
}

.row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: auto;
    transition: all 0.3s ease;
    justify-content: center;
}


/* Header */

header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
}

.menu-container {
    display: flex;
    justify-content: space-evenly;
    padding: 1rem 2rem;
    margin: auto;
}

.user-menu {
    position: relative;
    display: inline-block;
}

.user-dropdown{
    position: absolute;
    top: 85%;
    right: -2px;
    min-width: 250px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: none;
    padding: 10px 15px;
    z-index: 1000;
}

.user-menu:hover .user-dropdown {
    display: block;
}

.user-dropdown {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    transform: translateY(0);
}

.user-dropdown h4 {
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: bold;
}

.user-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-dropdown ul li {
    margin: 8px 0;
}

.user-dropdown ul li a,
.user-dropdown ul li button {
    text-decoration: none;
    color: #707072;
    font-size: 14px;
    width: 100%;
    text-align: left;
    display: block;
    border: none;
    background: none;
    padding: 3px 10px;
    cursor: pointer;
}

.user-dropdown ul li a:hover,
.user-dropdown ul li button:hover {
    color: #000;
}


/* Logo */
.logo {
    flex: 1;
    font-size: 24px;
    color: #111;
}

.logo svg {
    width: 60px;
    height: 24px;
}

/* Menu */

.menu-wraper {
    flex: 4;
    display: flex;
    justify-content: center;
}

.menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.menu > li {
    position: relative;
}

.menu > li > a {
    position: relative;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    padding: 10px;
    transition: color 0.3s;
}


.menu > li > a:hover{
    border-bottom: 2px solid #333;
}

/* Overlay */
.menu-overlay {
    position: fixed;
    top: 60px; 
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); 
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 500;
    pointer-events: none;
}


.menu > li:hover ~ .menu-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Submenu */
.sub-menu {
  position: fixed;
  top: 55px;
  left: 0;
  width: 100vw;
  padding: 40px 60px;
  display: flex;
  justify-content: space-evenly;
  z-index: 1000;
  background: white;
  color: black;
  visibility: hidden;
  transform: translateY(-10px); 
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.menu li:hover .sub-menu {
   opacity: 1;
   visibility: visible;
   pointer-events: auto;
   transform: translateY(0);
}

.menu > li:hover .sub-menu li,
.menu > li:hover .sub-menu h4,
.menu > li:hover .sub-menu ul li a{
  opacity: 1;
  transform: translateY(0);
}

.sub-menu li {
    padding: 5px 0;
}

.sub-menu li h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.sub-menu li h4:hover {
    color: #555;
}

.sub-menu ul li a {
    font-size: 16px;
    color: #555;
    transition: all 0.3s ease;
    transform: translateY(-20px);
    opacity: 0;
}

.sub-menu ul li a:hover {
    color: #000;
}

/* Others (Search, Icons) */
.others {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.others input[type="text"] {
    width: 100%;
    border: none;
    border-radius: 40px;
    padding: 9px 6px;
    display: flex;
    text-align: end;
    background-color: #f3f3f3;
}

.others input[type="text"]:hover {
    background-color: #CACACB;
}

.others input[type="text"]:focus {
    outline: 1px solid #707072;
}

.others > li:first-child {
    position: relative;
}

.others > li:first-child i {
    position: absolute;
    left: 0px;
    top: 0px;
    border-radius: 50px;
    background: #f3f3f3;
    padding: 12px 13px;

}

.fa-solid,
.fa-regular {
    font-size: 18px;
    color: #111;
    cursor: pointer;
    transition: color 0.3s;
}

.icon-hover {
  font-size: 24px;
  color: #111;
  transition: all 0.3s ease;
}

.icon-hover.fa-user {
  font-size: 20px;
}

.icon-hover.fa-user:hover {
  font-weight: 900;  
}

.icon-hover.fa-bag-shopping:hover {
  color: #555; 
}


/* popup */
.cart-icon {
    position: relative;
}

.cart-popup {
    position: fixed;
    top: 70px;
    right: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 20px;
    z-index: 9999;
    width: 350px;
    animation: fadeIn 0.3s ease-in-out;
    display: none;
}
.cart-popup-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cart-popup-product {
    display: flex;
    gap: 10px;
    padding-bottom: 15px;
}
.cart-popup-product img {
    width: 80px;
    height: auto;
    border-radius: 5px;
    object-fit: contain;
}

.cart-popup-title i {
  padding: 4px;
  font-size: 20px;
}

.cart-popup-product p {
  font-size: 15px;
  margin-bottom: 5px;
}

.cart-count {
    position: absolute;
    top: 8px;
    right: 2px;
    color: #f3f3f3;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-checkout{
  display: flex;
  justify-content: center;
  background-color: #000;
  color: #fff;
  border-radius: 40px;
  padding: 15px;
}

.btn-checkout:hover{
  background-color: #444;
}

.btn-view-cart {
  display: flex;
  justify-content: center;
  background-color: #fff;
  color: #000;
  border: 1px solid #CACACB;
  border-radius: 40px;
  padding: 14px;
}

.btn-view-cart:hover {
    border: 1px solid #000;

}

.close {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-10px);}
    to {opacity: 1; transform: translateY(0);}
}


/* Responsive */
@media (max-width: 768px) {
    .menu-wraper {
        display: none; /* Hide on mobile unless you implement a burger menu */
    }

    .others {
        gap: 0.5rem;
    }

    .others input[type="text"] {
        width: 100px;
    }
}



/* === SLIDER === */
#slider {
    width: 100%;
    overflow: hidden;
    padding: 20px 0px 32px;
    overflow: hidden;
}

.slider-wrapper {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
  margin: auto;
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.slide {
  flex: 0 0 100%; 
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dot-container {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #707072;
  cursor: pointer;
}

.dot.active {
  background: #fff;
}

/* Sản phẩm mơi nhất */
.new-arrivals {
  margin-bottom: 32px;
  position: relative;
}

.new-arrivals h2 {
    font-size: 22px;
    margin-bottom: 10px;
    padding-left: 8px;
    border-left: 4px solid #444;
}

.arrivals-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.arrivals-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 10px;
}

.arrivals-track::-webkit-scrollbar{
  height: 8px;
}

.arrivals-track::-webkit-scrollbar-thumb{
  background: #ccc;
  border-radius: 4px;
}

.arrival-item {
    flex: 0 0 calc(33.33% - 20px);
    min-width: calc(33.33% - 20px);
    background: #fff;
    border-radius: 8px;
    padding-bottom: 20px;
}

.arrival-item img {
    max-width: 100%;
    border-radius: 8px;
    cursor: pointer;
    object-fit: contain;
    aspect-ratio: 1 / 1.25;

}

.arrival-item h3 {
    font-size: 16px;
    margin: 10px 0 5px;
}

.arrival-item p {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.price {
    font-weight: bold;
    color: #000;
}

.arrivals-btn {
    background: rgba(255,255,255,0.9);
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
.prev-btn {
    
    left: -32px;
}
.next-btn {
    right: -32px;
}


/* Footer */
footer {
    text-align: center;
}

.footer-top {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    height: 100px;
    gap: 20px;
}

.footer-top img {
    height: 40px;
}

.footer-top li a {
    width: 20px;
}

.footer-bottom {
    padding: 10px 0;
    font-size: 14px;
}

/* Sản phẩ mới nhất */
.new-arrivals-slider {
  padding: 40px 40px;
  font-family: Arial, sans-serif;
}

.new-arrivals-slider .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.new-arrivals-slider h2 {
  font-size: 24px;
}

.nav-buttons button {
  border: none;
  background: #f5f5f5;
  font-size: 18px;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  margin-left: 5px;
  transition: background 0.2s ease;
}

.nav-buttons button:hover {
  background: #ddd;
}

.slider {
  overflow: hidden;
}


.product-card {
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  max-width: 250px;
  height: auto;
}

.product-card h3 {
  font-size: 16px;
  margin: 10px 0 5px;
}

.product-card .category {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.product-card .price {
  font-weight: bold;
  color: #000;
  font-size: 15px;
}


/*---------------------------- Category ---------------------------- */

.category__top {
  background-color: #fff;
  padding:  20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.category__right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}


.category__breadcrumb p {
  font-size: 14px;
  font-weight: 500;
  color: #555;
}

.category__title h1 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: #111;
}

.category__right button,
.category__sort select {
  padding: 10px 15px;
  border: 1px solid #ddd;
  background-color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category__sort {
  min-width: 144px;
}


.category__sidebar {
  position: sticky;
  top: 100px;
  align-self: flex-start;
  transform: translateX(0);
  transition: transform 0.3s ease, max-width 0.3s ease;
  flex: 1 1 20%;
}

.category__sidebar.hidden {
  transform: translateX(-100%);
  flex-basis: 0%;
  padding: 0px;
}

.category__sidebar-item {
  padding: 8px 0;
}

.category__sidebar-item a {
  color: #333;
  font-weight: bold;
  font-size: 16px;
}

.category__sidebar-item.active a {
  color: #000;
  border-left: 2px solid #333;
  padding-left: 6px;
}

.category__main {
  padding: 0 40px 0 20px;
  flex-direction: column;
  flex: 1 80%;
  transition: flex-basis 0.5s ease, padding 0.5s ease;
  min-height: 100vh;
}

.category__main.full-width {
  flex: 1 1 100%;
}

.category__products {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: start;
}

.product__card {
  width: calc(33.333% - 16px);
}

.product__card img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease;
  object-fit: contain;
  aspect-ratio: 1 / 1.25;
}

.product__card img:hover {
  transform: scale(1.05);
}

.product__card h2 {
  font-size: 14px;
  margin-top: 8px;
  color: #333;
  text-align: left;
}

.product__card p {
  font-size: 14px;
  color: #000;
  font-weight: bold;
  text-align: left;
}

.category__sidebar hr {
    margin: 15px 0;
    border: none;
    border-top: 1px solid #ddd;
}


.filter-section {
    margin-top: 10px;
}


.filter-group {
    border-bottom: 1px solid #ddd;
}

.filter-toggle {
    width: 100%;
    padding: 10px 0;
    background: none;
    border: none;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-toggle .fa-chevron-down{
    font-size: 16px;
    transition: transform 0.3s ease;
}

.filter-toggle .fa-chevron-down.active{
    transform: rotate(180deg);
}

.filter-options {
    display: none;
    list-style: none;
    padding: 0 0 10px 0;
    margin: 0;
}

.filter-options.open {
    display: block;
}

.filter-options li {
    padding: 4px 0;
    font-size: 16px;
    cursor: pointer;
}



.filter-options input[type="checkbox"] {
    margin-right: 5px;
    cursor: pointer;
}

.category__sidebar {
    max-height: 90vh;
    overflow-y: auto;
}

.category__sidebar::-webkit-scrollbar {
    background: #ddd;
    width: 4px;
}

.category__sidebar::-webkit-scrollbar-thumb {
    border-radius: 3px;
}

.color-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 8px; 
    list-style: none;
    padding: 0;
    margin: 0;
}

.color-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.color-option input[type="checkbox"] {
    display: none; 
}

.color-option img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: block;
    border: 2px solid #f3f3f3;
    transition: all 0.3s ease;
}

.color-option .checkmark {
    position: absolute;
    top: 32%;
    left: 35%;
    transform: translate(-50%, -50%);
    color: #CACACB;
    font-size: 16px;
    display: none; 
    pointer-events: none;
}

.color-option input[type="checkbox"]:checked ~ .checkmark {
    display: block;
}

.color-option .checkmark::before {
    content: "✔";
}
.color-option p {
  margin: 2px 4px;
}

.size-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 8px;
    list-style: none;
    padding: 0;
    margin-bottom: 12px;
}

.size-option {
    display: flex;
    justify-content: center;
    align-items: center;
}

.size-option input[type="checkbox"] {
    display: none; /* Ẩn checkbox */
}

.size-option span {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 8px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
    color: black;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-option input[type="checkbox"]:checked + span {
    background: black;
    color: white;
    border-color: black;
}


/*--------------------------- Product detail --------------------- */
.product__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    padding-top: 48px;
    min-height: 85vh;
}

.product__left {
  width: 50%;
  margin-top: 0px;
}

.product__thumbnails {
  width: 15%;
  padding: 0px !important;
}

.product__main-image {
  width: 80%;
  padding: 0px !important;

}

.product__main-image img {
  width: 100%;
  padding-left: 8px;
  border-radius: 8px;
}

.product__thumbnails img {
  width: 100%;
  cursor: pointer;
  border-radius: 8%;
  object-fit: contain;
  aspect-ratio: 1 / 1.25;
  padding-bottom: 10px;
}

.product__right {
  width: 50%;
  padding: 0 48px 0 24px;
}

.product__title h1 {
  font-size: 16px;
  color: #111;
  font-family: var(--main-text-font);
}

.product__title p {
  margin: 10px 0;
  color: #707072;
}

.product__price {
  font-size: 18px;
  margin-bottom: 32px;
  font-weight: bold;
  color: #111;
  font-family: var(--main-text-font);
}

.product__color p,
.product__size p {
  margin-bottom: 12px;
  color: #111;
}

.product__color-img img {
  width: 40px;
  height: 40px;
  margin-bottom: 32px;
  cursor: pointer;
  border: 2px solid #000;
}

.product__color-img img:hover {
  border: 2px solid #000;
}

.product__size-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 12px; 
  width: 70%;
}

.product__size-options span {
  padding: 8px 6px;
  border: 1px solid #CACACB;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}

.product__size-options span:hover {
  background-color: #000;
  color: white;
}

.product__size-options span.active {
    background-color: #000;
    color: white;
}

.product__size-warning {
    padding-top: 10px;
  display: none;
  color: #D30005;
}

.product__cart {
  padding-bottom: 32px;
}

.product__cart button {
  display: block;
  width: 250px;
  border-radius: 30px;
  transition: all 0.3s ease;
  padding: 18px 0px;
}

.btn--add-to-cart {
  background-color: #000;
  color: white;
  font-family: var(--main-text-font);
  font-weight: bold;
  margin: 32px 0 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* .btn--wishlist {
  font-weight: bold;
  font-family: var(--main-text-font);
  margin-bottom: 32px;
}


.btn--wishlist:hover {
    background-color: #000;
    color: white;
} */


.product__info {
  padding-bottom: 32px;
}


.accordion {
  border-top: 1px solid #ddd;
  font-family: sans-serif;
}

.accordion__item {
  border-bottom: 1px solid #ddd;
}

.accordion__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
}

.accordion__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.accordion__content {
  display: none;
  padding: 0 16px 16px;
  font-size: 14px;
  color: #333;
}

.accordion__item.active .accordion__content {
  display: block;
}

.accordion__item.active .icon {
  transform: rotate(180deg);
}

.icon {
  transition: transform 0.3s ease;
}

.stars {
  color: black;
  font-size: 14px;
  font-weight: 900;
}


/* ----------------------- Producte-related ----------------------*/

.product__related {
    margin-bottom: 50px;
    margin-left: auto;     
    margin-right: auto;
}

.product__related-title {
    padding: 0 0 24px;
}

.product__related-title p{
    font-family: var(--main-text-font);
    font-size: 20px;
    font-weight: 600;
    color: #333;
    padding-left: 8px;
    border-left: 4px solid #444;
}

.product__related-item {
    flex: 2 2 calc(33.33% - 20px);
    min-width: calc(33.33% - 20px);
    background: #fff;
    border-radius: 8px;
    padding: 0 0 10px 10px;
}

.product__related-item img {
    width: 100%;
    border-radius: 5px;
    object-fit: contain;
    aspect-ratio: 1 / 1.25;
}

.product__related-item h1 {
    font-family: var(--main-text-font);
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 10px 0 6px;
    line-height: 1.4;
}
.product__related-item h5 {
    font-size: 14px;
    color: #707072;
    font-weight: 500;
}

.product__related-item span {
    font-weight: bold;
}

.related-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.related-track {
    display: flex;
    overflow-x: auto;  
    scroll-behavior: smooth;
    padding: 10px 0;
    flex-direction: row;
    flex-wrap: nowrap;
}

.related-track::-webkit-scrollbar {
    height: 8px; 
}

.related-track::-webkit-scrollbar-thumb {
    background: #ccc; 
    border-radius: 4px;
}


.related-btn {
    background: rgba(255,255,255,0.9);
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.related-btn.prev-btn {
    left: -33px;
}
.related-btn.next-btn {
    right: -33px;
}


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

.cart{
    flex: 2;
    padding: 20px 0 0 20px;
    margin-bottom: 32px;
}

.cart h2 {
    padding-bottom: 24px;
}

.summary h2 {
    padding-bottom: 24px;
}

.cart h2 .summary h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
  }
  
  .item img {
    width: 160px;
    background: #f5f5f5;
    object-fit: contain;
}

.item__details {
    flex: 1;
}

.item__details h3 {
    margin: 0;
    font-size: 18px;
}

.item h4 {
  margin-right: 5px;
    font-size: 18px;
}

.item__details p {
    margin: 4px 0;
    color: #555;
}

.item__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.item__actions button {
    border: none;
    background: #f5f5f5;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}

.item__actions a {
    border: none;
    background: #f5f5f5;
    padding: 10px 12px;
    border-radius: 50%;
    cursor: pointer;
}

.quantity__box{
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 40px;
    padding: 0 10px;
    gap: 12px;
}

.quantity__box button {
    border: none;
    background: none;
    font-size: 18px;
    cursor: pointer;
}

.quantity__box span {
    min-width: 20px;
    text-align: center;
    font-weight: bold;
}

.summary {
    flex: 1;
    border-left: 1px solid #eee;
    padding: 20px 0 0 20px ;
    margin-left: 5px;
}

.summary__item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary__total {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 20px;
    font-weight: bold;
}

.checkout__btn {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 30px;
    background: #111;
    color: #fff;
    padding: 16px;
    border: none;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
}

.back__btn {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    background: #ddd;
    color: #333;
    padding: 16px;
    border: none;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
}

.checkout__btn:hover {
    background-color: #333;
}

.back__btn:hover {
    background-color: #CACACB;
    color: #000;
}

/* --------------------- Payment ---------------------- */


.checkout__wrapper {
    background: #fff;
    padding:  32px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 640px;
}

.checkout__container h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
}

.checkout__form .checkout__group {
    margin: 20px 0;
}

.checkout__form label {
    display: block;
    margin: 10px 0 2px;
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

.checkout__form input,
.checkout__form select {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.btn__submit {
    width: 100%;
    padding: 14px;
    background-color: #000;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 20px;
}

.btn__submit:hover {
    background-color: #333;
}

.order__summary {
    background: #fff;
    padding: 32px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    width: 100%;
    max-width: 400px;
}

.order__summary h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
}

.summary__line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    font-family: var(--main-text-font);
    color: #444;
}

.summary__total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 ;
    border-top: 1px solid #eee;
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

.order__item {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.order__item img {
    width: 160px;
    height: auto;
    border-radius: 8px;
}

.shipment__title{
    font-size: 14px;
    color:#000;
    padding: 28px 0 4px;
}

.item__info {
    font-size: 14px;
}

.item__info p {
    font-size: 14px;
    margin: 2px 0;
    color: #757575;
}

.item__info h3 {
    font-size: 14px;
    margin: 2px 0;
    color: #000;
    font-weight: 500;
}

/* --------------------Confirmation ------------------- */

.confirmation__wrapper {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    margin-top: 40px
}

.confirmation__wrapper h1 {
    font-size: 28px;
    margin-bottom: 16px;
}

.confirmation__wrapper p {
    font-size: 16px;
    margin-bottom: 32px;
}

.confirmation__summary {
    text-align: left;
    margin-bottom: 24px;
}

.confirmation__summary h2 {
  font-size: 20px;
  margin-bottom: 14px;
}

.summary__line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 16px;
}

.confirmation__item {
    display: flex;
    gap: 16px;
    align-items: center;
    border-top: 2px solid #eee;
    padding-top: 20px;
    margin-top: 20px;
    text-align: left;
}

.confirmation__item img {
    width: 100px;
    border-radius: 8px;
}

.confirmation__item p {
    margin-bottom: 10px;
}

.back__home-btn {
    display: inline-block;
    margin-top: 28px;
    padding: 12px 24px;
    background-color: #000;
    color: #fff;
    font-weight: bold;
    transition: background 0.3s;
    border-radius: 6px;
}

.back__home-btn:hover {
    background-color: #333;
}

/* Login */
.nike-container {
    max-width: 510px;
    margin: 50px auto;
    padding: 10px;
}

.nike-logo img {
  width: 100px;
  margin-bottom: 20px;
}

.nike-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 20px;
}

form {
    width: 100%;
}

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 500 !important;
    margin-bottom: 5px;
}

.form-group input {
    padding: 12px 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    margin-bottom: 10px;
}

.form-group input:focus {
    border-color: black;
}

.note {
    font-size: 14px;
    color: gray;
    margin: 10px 0px;
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-row .form-group {
    flex: 1;
}

.btn-nike {
    background: black;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px;
    font-weight: bold;
    font-size: 1rem;
    width: 100%;
    cursor: pointer;
    margin-top: 20px;
}

.btn-nike:hover {
    background: #333;
}

.link-text {
    text-align: center;
    margin-top: 15px;
}

.link-text a {
    color: black;
    text-decoration: underline;
}

.error-text {
    color: #d93025;
    font-size: 13px;
    padding-left: 5px;
}

.password-wrapper {
    position: relative;
}

.password-toggle-register {
    position: absolute;
    right: 10px;
    top: 44px;
    cursor: pointer;
    font-size: 16px;
    color: #555;
    padding: 5px 0px;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 70%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    color: #555;
}

.password-toggle:hover {
    color: #000;
}

.account-container {
    display: flex;
    margin: 30px;
    justify-content: center;
}

.sidebar {
    width: 20%;
    border-right: 1px solid #ddd;
    padding-right: 20px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    margin: 15px 0;
    cursor: pointer;
    padding: 5px 0px;
}

.account-details {
    width: 33%;;
    padding-left: 40px;
}

.account-details h2 {
    font-size: 20px;
    margin-bottom: 20px;
}


form label {
    display: block;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
}

form input, 
form select {
    width: 100%;
    padding: 16px 16px 16px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 8px;
}

form h3 {
  margin-top: 10px;
}

.inline-field {
    display: flex;
    align-items: center;
    position: relative;
  }
  
.inline-field a {
    margin-left: 10px;
    font-size: 14px;
    color: #000;
    text-decoration: underline;
    cursor: pointer;
    position: absolute;
    right: 12px;

}

.delete-section {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}

.delete-section p {
  margin: 0px!important; 
}

.delete-btn {
    background-color: #fff;
    border: 1px solid #ccc;
    color: #000;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
}

.delete-btn:hover {
    background-color: #f8f8f8;
}

.actions-section{
  display: flex;
  justify-content: end;
  align-items: center;

}

.save-btn {
  background-color: #fff;
    border: 1px solid #ccc;
    color: #000;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    width: 152px;
}

.logout-btn {
    background-color: #fff;
    border: 1px solid #ccc;
    color: #000;
    padding: 12px 20px;
    border-radius: 40px;
    cursor: pointer;
}

.logout-btn:hover {
    background-color: #f8f8f8;
}