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

body {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1E1E1E;
  background-color: #FFFFFF;
  line-height: 1.5;
}

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

ul {
  list-style: none;
}

.text-shadow {
  position: relative;
}

.text-shadow::after {
  content: attr(data-text);
  position: absolute;
  top: 3px;
  left: 3px;
  color: #1E1E1E;
  z-index: -1;
}

/* Header */
header {
  width: 100%;
  height: 82px;
  background-color: #FFFFFF;
  border-bottom: 1px solid #1E1E1E;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 30px;
}

.logo {
  width: 270px;
  height: 61px;
  background: url("../images/logo.png") no-repeat left center;
  background-size: contain;
  position: absolute;
  left: 30px;
}

/* Search bar */
.search-container {
  width: 824px;
  height: 50px;
}

.search-bar {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-bar input {
  width: calc(100% - 58px);
  height: 46px;
  background: #F1F1F1;
  border: 1px solid #1E1E1E;
  border-radius: 40px;
  padding: 0 15px;
  font-size: 15px;
}

.search-button {
  width: 48px;
  height: 48px;
  border: 1px solid #1E1E1E;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-icon {
  width: 20px;
  height: 20px;
  border: 3px solid #1E1E1E;
  border-radius: 50%;
  position: relative;
  padding-left: 15px;
  padding-top: 15px;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 3px;
  background: #1E1E1E;
  transform: rotate(45deg);
  bottom: -5px;
  right: -5px;
}

/* Header Actions */
.header-actions {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 20px;
}

/* Sub Header Navigation */
.sub-header {
  width: 100%;
  height: 40px;
  background-color: #FFFFFF;
  border-bottom: 1px solid #1E1E1E;
  position: fixed;
  top: 82px;
  left: 0;
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sub-header-content {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.sub-header a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1E1E1E;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 5px 10px;
}

.sub-header a:hover {
  color: #B83F3F;
}

.user-button, .cart-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #B83F3F;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main Section */
main {
  margin-top: 142px; /* 82px (header) + 40px (sub-header) + 20px (spacing) */
  padding: 20px;
}

.cart {
  max-width: 1200px;
  margin: 0 auto;
}

.cart-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 50px;
  padding: 10px 0;
  border-bottom: 1px solid #E0E0E0;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #000000;
}

.cart-header span {
  text-align: center;
}

.cart-header span:first-child {
  text-align: left;
}

.cart-items {
  margin: 20px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 2fr 1fr 1fr 1fr 50px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #E0E0E0;
}

.item-image {
  width: 80px;
  height: 80px;
}

.placeholder-image {
  width: 100%;
  height: 100%;
  background: #F0F0F0;
  border: 1px solid #E0E0E0;
}

.item-details p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #000000;
  margin: 0;
}

.item-price, .item-unit-price {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: #000000;
  text-align: center;
}

.item-quantity {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.item-quantity input {
  width: 50px;
  text-align: center;
  border: 1px solid #E0E0E0;
  border-radius: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
}

.remove-btn {
  background: none;
  border: none;
  color: #FF0000;
  font-size: 20px;
  cursor: pointer;
}

.cart-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  margin-top: 20px;
}

.voucher {
  display: flex;
  gap: 10px;
}

.voucher input {
  width: 200px;
  padding: 10px;
  border: 1px solid #E0E0E0;
  border-radius: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

.redeem-btn {
  padding: 10px 20px;
  background: #B83F3F;
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  cursor: pointer;
}

.redeem-btn:hover {
  background: #000000;
  color: #FFFFFF;
}

.summary-details {
  width: 300px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
}

.summary-row.total {
  font-weight: 700;
  font-size: 18px;
  border-top: 1px solid #E0E0E0;
  padding-top: 10px;
}

.checkout-btn {
  width: 300px;
  padding: 15px;
  background: #B83F3F;
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

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

.wishlist {
  max-width: 1200px;
  margin: 40px auto;
  margin-left: 175px;
  margin-top: 80px;
}

.wishlist h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 50px;
  color: #000000;
}

/* About Us Section */
.about-us {
  width: 100%;
  height: 355px;
  background: rgba(184,63,63,1);
  padding: 40px 0;
  color: #F2E6F4;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  margin-top: 75px;
}

.about-us h2 {
  font-size: 50px;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 20px;
  margin-left: 178px;
  color: #F2E6F4;
  flex-basis: 100%;
}

.about-us h2.text-shadow {
  position: relative;
}

.about-us p {
  max-width: 50%;
  margin-left: 178px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: #FFFFFF;
  position: relative;
}

.about-us p::before {
  content: attr(data-text);
  position: absolute;
  top: 1px;
  left: 1px;
  color: #A6A6A6;
  z-index: -1;
}

.help-section {
  position: static;
  margin-left: auto;
  margin-right: 10px;
  flex-basis: 30%;
  margin-top: -162px;
}

.help-section h3 {
  font-size: 50px;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 10px;
  color: #F2E6F4;
}

.contact-button {
  width: 197px;
  height: 61px;
  background: rgb(255, 255, 255);
  border: 2px solid #000000;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-button span {
  font-size: 28px;
  font-weight: 500;
  color: #000000;
  transition: color 0.3s ease; /* Add transition for text color */
}

.contact-button:hover {
  background: #000000;
  border-color: #ffffff;
}

.contact-button:hover span {
  color: #ffffff; /* Change text color on hover */
}
/* Products Section */
.products {
  width: 100%;
  padding: 80px 0;
  margin-top: 40px;
}

.products h2 {
  font-size: 70px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  color: #1E1E1E;
}

.products h2::after {
  content: attr(data-text);
  position: absolute;
  top: 3px;
  left: 3px;
  color: #F4F4F4;
  z-index: -1;
}

.product-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  width: 208px;
  height: 286px;
  background: #1E1E1E;
  border: 1px solid rgba(253,5,64,0.5);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

.product-image {
  width: 204px;
  height: 204px;
  margin: 1px;
  background-color: #FFFFFF;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border: 1px solid #000000;
}

.product-card h3 {
  width: 100%;
  padding: 0 5px;
  margin-top: 12px;
  color: #F4F4F4;
  font-size: 19px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card .price {
  width: 100%;
  padding: 0 5px;
  margin-top: 5px;
  color: #F4F4F4;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}

.add-to-cart {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 30px;
  height: 30px;
  border: none;
  background-color: transparent;
  background-image: url("../images/cart-icon.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.add-to-cart:hover {
  opacity: 1;
}

/* Custom Clothing Section */
.custom-clothing {
  width: 100%;
  padding: 60px 0;
  background-color: #FFFFFF;
  position: relative;
}

.custom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.custom-clothing h2 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1E1E1E;
  text-align: center;
}

.custom-clothing p {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 16px;
  line-height: 1.6;
  color: #1E1E1E;
  text-align: center;
  position: relative;
}

.custom-clothing p::after {
  content: attr(data-text);
  position: absolute;
  top: 1px;
  left: 1px;
  color: rgba(30,30,30,0.5);
  z-index: -1;
}

.custom-button {
  display: inline-block;
  margin-top: 20px;
}

.custom-button a {
  display: inline-block;
  padding: 12px 30px;
  background-color: #1E1E1E;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 500;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.custom-button a:hover {
  background-color: #B83F3F;
}

/* Newsletter Section */
.newsletter {
  width: 100%;
  padding: 50px 0;
  background-color: #F4F4F4;
  text-align: center;
}

.newsletter h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1E1E1E;
}

.newsletter p {
  font-size: 14px;
  margin-bottom: 20px;
  color: #666666;
}

.newsletter form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.newsletter label {
  align-self: flex-start;
  margin-bottom: 5px;
  font-weight: 500;
}

.newsletter input {
  width: 100%;
  height: 40px;
  padding: 0 15px;
  border: 1px solid #1E1E1E;
  border-radius: 5px;
  margin-bottom: 15px;
  font-size: 14px;
}

.newsletter button {
  padding: 10px 30px;
  background-color: #1E1E1E;
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter button:hover {
  background-color: #B83F3F;
}

/* Footer */
footer {
  width: 100%;
  background-color: #1E1E1E;
  color: #FFFFFF;
  padding: 50px 0 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20px;
}

.footer-column {
  width: 200px;
  margin-bottom: 30px;
}

.footer-column h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #CCCCCC;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #FFFFFF;
}

.footer-column p {
  color: #CCCCCC;
  font-size: 14px;
  line-height: 1.6;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  background-color: #B83F3F;
}

.social-icon.facebook {
  background-image: url('../images/facebook-icon.png');
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
}

.social-icon.twitter {
  background-image: url('../images/twitter-icon.png');
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
}

.social-icon.instagram {
  background-image: url('../images/instagram-icon.png');
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
}

.copyright {
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 20px 20px 0;
  border-top: 1px solid #333333;
  text-align: center;
}

.copyright p {
  font-size: 12px;
  color: #999999;
}