* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 font-family: "Poppins", sans-serif;

}

body {
  background: #f2f9f9;
  color: #1f2f2f;
}

body {
  font-weight: 300;
}

h1, h2, h3, h4 {
  font-weight: 500;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
  letter-spacing: 2px;
  font-weight: 400;
}

.button,
.add-cart-btn,
.checkout-btn,
.hero-btn {
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}


header {
  background: #0f766e;
  color: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.hero {
  height: 500px;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
              url('/images/backsandals.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-btn {
  padding: 14px 32px;
  background: #14b8a6;
  color: white;
  text-decoration: none;
 
  transition: 0.3s ease;
}

.hero-btn:hover {
  background: #0d9488;
}





.section {
  padding: 60px 40px;
  max-width: 1200px;
  margin: auto;
}

.section h2 {
  margin-bottom: 30px;
  font-size: 28px;
    border-left: 5px solid #14b8a6;
  padding-left: 10px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: white;
  padding: 20px;
  border: 1px solid #ddd;
  transition: 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
   border-color: #14b8a6;
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 18px;
}


.price {
  font-weight: 600;
  font-size: 18px;
  color: #0f766e;
}


.button {
  display: inline-block;
  padding: 10px 20px;
  background: #0f766e;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.button:hover {
  background: #134e4a;
}
/* TRUST BAR */

.trust-bar {
  background: #0f766e;
  color: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-around;
  text-align: center;
  font-weight: bold;
}

/* CATEGORY BLOCKS */

.categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.category-box {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: end;
  padding: 20px;
  color: white;
  font-size: 28px;
  font-weight: bold;
  text-decoration: none;
}

.category-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.category-box span {
  position: relative;
  z-index: 2;
}

/* WHY SECTION */

.why {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.why-item {
  background: white;
  padding: 30px;
  border: 1px solid #ddd;
}

/* IMAGE BANNER */

.work-banner {
  background: url('/images/sandalsdown.jpg') center/cover no-repeat;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-top: 60px;
  position: relative;
}

.work-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.work-banner span {
  position: relative;
  z-index: 2;
}

/* FOOTER */

footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 40px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

footer h4 {
  margin-bottom: 15px;
  color: white;
}

footer a {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 14px;
}

footer a:hover {
  color: white;
}

/* PRODUCT PAGE */

.product-container {
  max-width: 1100px;
  margin: 60px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 0 40px;
}

.product-image img {
  width: 100%;
  border: 1px solid #ddd;
}

.product-info h1 {
  font-size: 32px;
  margin-bottom: 15px;
}

.product-price {
  font-size: 28px;
  font-weight: bold;
  margin: 15px 0;
}

.installments {
  color: #555;
  margin-bottom: 20px;
}

.size-select {
  margin: 20px 0;
}

.size-select select {
  padding: 10px;
  width: 150px;
}

.add-cart-btn {
  display: inline-block;
  padding: 15px 30px;
  background: #0f766e;
  color: white;

  border: none;
  cursor: pointer;
  font-size: 16px;
}

.add-cart-btn:hover {
  background: #134e4a;
}

.product-description {
  margin-top: 30px;
  line-height: 1.6;
}

.shipping-box {
  margin-top: 30px;
  padding: 20px;
  background: #f0ece6;
  border: 1px solid #ddd;
}

@media (max-width: 768px) {
  .product-container {
    grid-template-columns: 1fr;

  }
}

/* CART PAGE */

.cart-container {
  padding: 0 80px;
}

.cart-title {
  margin-bottom: 30px;
  font-size: 28px;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.cart-table th,
.cart-table td {
  padding: 15px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.cart-table th {
  background: #f0ece6;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-product img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 1px solid #ddd;
}

.remove-btn {
  background: none;
  border: none;
  color: #b00020;
  cursor: pointer;
  
}

.cart-summary {
  margin-top: 30px;
  text-align: right;
}

.cart-total {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
}

.checkout-btn {
  padding: 15px 30px;
  background: #4a3425;
  color: white;
  
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.checkout-btn:hover {
  background: #2c2c2c;
}

.empty-cart {
  background: white;
  padding: 40px;
  text-align: center;
  border: 1px solid #ddd;
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: white;
  font-size: 26px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  line-height: 60px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  text-decoration: none;
  z-index: 999;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}


.categories {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.category-box {
  width: 400px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;

  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 12px;
  text-decoration: none;
  position: relative;
  overflow: hidden;

  transition: background-size 0.6s ease, transform 0.3s ease;
}

/* Smooth Zoom */
.category-box:hover {
  background-size: 110%;
  transform: translateY(-5px);
}

/* Dark overlay for readability */
.category-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  transition: background 0.3s ease;
}

.category-box:hover::before {
  background: rgba(0,0,0,0.25);
}

.category-box span {
  position: relative;
  color: white;
  font-size: 26px;
  font-weight: 600;
  z-index: 2;
}

.product-gallery {
  max-width: 500px;
}

.main-image img {
  width: 100%;
  border-radius: 12px;
}

.thumbnail-row {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.thumbnail {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.thumbnail:hover {
  opacity: 1;
  transform: scale(1.05);
}

.active-thumb {
  opacity: 1;
  border: 2px solid #14b8a6;
}

.logo-link {
  display: inline-block;      /* important for border */
  padding: 6px 14px;          /* space inside border */
  border: 4px solid white;    /* border around all sides */
  text-decoration: underline;      /* remove default underline */
  color: white;
  font-weight: bold;
  transition: 0.3s ease;
}


.logo-link:hover {
  background: black;
  color: white;
}






.mp {
  padding: 15px 30px;
  background: #009ee3;
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s ease;
}

.mp:hover {
  background: #007eb5;
}


.checkout-box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.checkout-box h2 {
  margin-bottom: 20px;
  font-size: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group.small {
  grid-column: span 1;
}

.form-group label {
  font-size: 14px;
  margin-top: 12px;
  color: #555;
}

.form-group input {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: 0.2s ease;
}

.form-group input:focus {
  border-color: #000;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}

.checkout-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 60px auto;
  display: flex;
  gap: 50px;
}

.checkout-left {
  flex: 2;
}

.checkout-right {
  flex: 1;
}

.summary-box {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  position: sticky;
  top: 100px;
}

.summary-box h3 {
  margin-bottom: 15px;
}

.summary-box h2 {
  margin: 10px 0 20px;
}

@media (max-width: 900px) {
  .checkout-wrapper {
    flex-direction: column;
    padding: 0 20px;
  }
}

.quantity-select {
  margin: 20px 0;
}

.qty-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-box button {
  width: 35px;
  height: 35px;
  border: none;
  background: #111;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.qty-box input {
  width: 60px;
  text-align: center;
  padding: 6px;
}

.store-selector {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 100px;
}

.store-card {
  padding: 60px;
  background: #f5f5f5;
  border-radius: 10px;
  text-align: center;
  transition: 0.3s;
}

.store-card:hover {
  transform: scale(1.05);
}

header nav {
  display: flex;
  gap: 20px;                 /* space between links */
  justify-content: center;    /* center the links horizontally */
  flex: 1;   
  
  /* take available space */
}

header nav a {
  text-decoration: none;
  font-size: 30px;
  color: white;                /* adjust color */
  display: inline-block;      /* important for border */
  padding: 6px 14px;          /* space inside border */
  border: 4px solid white; 
    border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;/* border around all sides */
       /* remove default underline */
  color: white;
  font-weight: bold;
  
  transition: 0.3s ease;
}

header nav a:hover {
   background: black;
  color: white;
}


.atp {
  text-decoration: none;
  font-size: 15px;
  color: white;                /* adjust color */
  display: inline-block;      /* important for border */
  padding: 6px 14px;          /* space inside border */
  border: 4px solid white; 
    border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;/* border around all sides */
       /* remove default underline */
  color: white;
  font-weight: bold;
  
  transition: 0.3s ease;
}

.atp:hover {
   background: black;
  color: white;
}

html {
  scroll-behavior: smooth;
}
.nav-buttons {
  display: flex;
  gap: 10px;
  margin: 15px 0 0 20px;
}

.nav-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.nav-button:hover {
  background: rgba(0,0,0,0.15);
  transform: scale(1.05);
}

.nav-button svg {
  pointer-events: none;
}

.cart-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white; /* adjust depending on header color */
  text-decoration: none;
  margin-left: 20px;
}

.cart-icon svg {
  transition: transform 0.2s ease;
}

.cart-icon:hover svg {
  transform: scale(1.1);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #ff3b3b;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 7px;
  border-radius: 20px;
  line-height: 1;
}

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

.qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid #ccc;
  background: white;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  border-radius: 6px;
  transition: 0.2s;
}

.qty-btn:hover {
  background: #f2f2f2;
}

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

/* Header layout */
.main-header {
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Right side container */
.header-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

/* Social icons container */
.social-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Social links */
.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icons a:hover {
  transform: translateY(-2px);
}

/* Cart icon */
.cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.cart-icon:hover {
  transform: translateY(-2px);
}

/* Cart badge positioning only */
.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 20px;
  font-weight: bold;
}
