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

:root {
  --primary: #1a1a1a;
  --accent: #c9a961;
  --light: #ffffff;
  --gray: #f8f8f8;
  --text: #2d2d2d;
  --border: #e5e5e5;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --radius: 12px;
}

body {
  background: var(--light);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* BREADCRUMB */
.breadcrumb {
  padding: 120px 6% 30px;
  font-size: 0.85rem;
  color: #999;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.breadcrumb a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb i {
  font-size: 0.7rem;
}

/* CHECKOUT CONTAINER */
.checkout-container {
  padding: 40px 6% 120px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.cod-badge {
  display: inline-block;               /* make it behave like text */
  background: #ff9800;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 12px;
  line-height: 1;
  vertical-align: middle;
}

/* FORM SECTION */
.checkout-form {
  padding: 20px 0;
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 40px;
  letter-spacing: -1px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--border);
  background: var(--light);
  font-size: 0.95rem;
  color: var(--text);
  transition: all 0.3s;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

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

/* PAYMENT OPTIONS */
.payment-options {
  margin: 40px 0;
}

.selector-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 15px;
}

.payment-option {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--border);
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.payment-option input {
  margin-right: 15px;
  accent-color: var(--accent);
}

.payment-option label {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 400;
  flex: 1;
}

.payment-option label .cod-badge {
  margin-left: 8px;                     /* space after the text */
}

.payment-option.selected {
  border-color: var(--accent);
  background: rgba(201, 169, 97, 0.05);
}

.payment-icon {
  font-size: 1.2rem;
  margin-right: 10px;
  color: var(--accent);
}

/* ORDER SUMMARY */
.order-summary {
  position: sticky;
  top: 120px;
  height: fit-content;
  padding: 40px 30px;
  background: var(--light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.summary-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.summary-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-label {
  color: #666;
  font-weight: 300;
}

.summary-value {
  font-weight: 600;
  color: var(--primary);
}

.summary-total {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
}

/* ACTION BUTTON */
.btn-primary {
  width: 100%;
  padding: 18px 40px;
  background: var(--primary);
  color: var(--light);
  border: 2px solid var(--primary);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  margin-top: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transition: left 0.4s;
  z-index: -1;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s;
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

/* Add cart item styling */
.cart-item {
  display: flex;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-image {
  width: 80px;
  height: 100px;
  object-fit: cover;
  margin-right: 20px;
  border-radius: 8px;
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 5px;
}

.cart-item-meta {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 10px;
}

.cart-item-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-btn {
  width: 30px;
  height: 30px;
  background: var(--light);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  border-radius: 4px;
}

.quantity-btn:hover {
  background: var(--gray);
  border-color: var(--accent);
}

.quantity-input {
  width: 50px;
  text-align: center;
  border: 1px solid var(--border);
  padding: 5px;
  font-size: 0.9rem;
  border-radius: 4px;
}

.remove-btn {
  background: none;
  border: none;
  color: #e53e3e;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.3s;
}

.remove-btn:hover {
  color: #c53030;
}

.empty-cart {
  text-align: center;
  padding: 50px;
  font-size: 1rem;
  color: #666;
}

.empty-cart a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

/* -------------------------------------------------
     Show colour as a circle instead of plain text
     ------------------------------------------------- */
.cart-item-color {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  /* space between circle & name */
  font-size: 0.9rem;
}

.cart-item-color .color-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #ddd;
  /* optional light border */
  display: inline-block;
  flex-shrink: 0;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .checkout-container {
    gap: 60px;
  }
}

@media (max-width: 968px) {
  .checkout-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .order-summary {
    position: relative;
    top: 0;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .breadcrumb {
    padding: 100px 5% 20px;
  }

  .checkout-container {
    padding: 30px 5% 80px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-item-image {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .cart-item-controls {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }

  .order-summary {
    padding: 30px 20px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}