.three-steps-checkout {
  background-color: white;
  padding: 4.125rem 0;
}

.checkout-main-div {
  display: flex;
  gap: 3%;
}

.first-step-div {
  width: 65%;
}

.other-two-steps-div {
  width: 32%;
}

.steps-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0080c0;
  height: 3.125rem;
  width: 3.125rem;
  color: white;
  font-size: 1.375rem;
}

.products-list {
  margin-top: 1.5rem;
  border-bottom: 0.0625rem solid #b9b9b9;
  width: 100%;
  border-collapse: collapse;
}

.products-list th {
  font-weight: 400;
  font-size: 1.175rem;
  color: #404040;
  padding: 1.75rem;
  text-align: start;
}

.products-list td {
  padding: 1.75rem;
  text-align: center;
}

.products-list td h4 {
  font-size: 1.125rem;
}

.products-list td:nth-child(3) {
  color: #0080c0;
  padding: 1.45rem;
}

.remove-btn {
  width: 2.625rem;
  height: 2.5625rem;
  border-radius: 50%;
  border: 0.0625rem solid #eee;
  background-color: #fff;
  color: #b9b9b9;
  font-size: 1.625rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-btn:hover {
  background-color: #404040;
  color: white;
}

.products-desription {
  background-color: #f6f6f8;
}

.quantity-input {
  width: 5rem;
  border: 0.0625rem solid #b9b9b9e5;
  border-radius: 0.25rem;
  padding: 0.3125rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quantity-btn {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: #eee;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: #b9b9b9;
}

.quantity-value {
  padding: 0 0.625rem;
  font-weight: 400;
  font-size: 1.125rem;
  color: #b9b9b9;
}

.table-product-image img {
  max-width: 28%;
}

.products-desription th:nth-child(2) {
  text-align: center;
}

.table-product-image {
  display: flex;
  align-items: center;
  gap: 2.125rem;
}

.table-product-image h4 {
  font-size: 1.125rem;
  color: #1c1c16;
  text-align: start;
}
.three-steps-checkout h1 {
  font-weight: 400;
  font-size: 3.375rem;
  color: #404040;
  text-transform: uppercase;
  margin-bottom: 3.0625rem;
}
.total-amount {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0.5rem;
  border-bottom: 0.0625rem solid #b9b9b9;
  gap: 1.875rem;
}

.total-amount-price {
  display: flex;
  flex-direction: column;
  align-items: end;
  padding: 1rem 0;
}

.total-amount-price h3 {
  font-size: 1.15rem;
  color: #404040;
}

.total-amount-price span {
  font-size: 2.05rem;
  color: #1c1c16;
  font-weight: 600;
}

.total-amount-shipping {
  display: flex;
  gap: 1.4375rem;
  align-items: center;
}

.total-amount-shipping h4 {
  font-size: 1.125rem;
  color: #1c1c16;
}

.total-amount-shipping span {
  font-size: 1.6875rem;
  color: #b9b9b9;
}

.shipping-method {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4375rem;
  margin-bottom: 0.9375rem;
}

.shipping-method h3 {
  color: #404040;
  font-size: 1.375rem;
}

.shipping-option {
  border: 0.0625rem solid #d0d0d0;
  border-radius: 0.5rem;
  padding: 0.8125rem 0.5rem 0.8125rem 0.5rem;
  display: flex;
  justify-content: space-between;
}

.shipping-option:focus {
  border-bottom: 0.0625rem solid #8a8888;
}

.shipping-option input[type="radio"] {
  margin-right: 0.75rem;
  margin-bottom: 1.75rem;
  transform: scale(1.2);
}

.shipping-option input[type="radio"]:checked {
  accent-color: #1c1c16;
}

.shipping-method-left {
  display: flex;
}

.shipping-info span {
  font-size: 1rem;
  color: #1c1c16;
  font-weight: 600;
}

.shipping-info p {
  font-size: 0.875rem;
  color: #1c1c16;
  margin-top: 0.25rem;
}

.shipping-price {
  font-size: 1.6875rem;
  color: #b9b9b9;
}

.discount-section {
  border: 0.0625rem solid #d0d0d0;
  border-radius: 0.5rem;
  margin-bottom: 2.5rem;
  padding: 0.5rem 0.75rem;
}

.discount-options {
  list-style: none;
  padding: 0;
  margin: 0;
}

.discount-option {
  font-size: 0.875rem;
  padding: 0.5rem 0;
  color: #0080c0;
  cursor: pointer;
  border-bottom: 0.0625rem solid #e5e2e2;
  transition: color 0.2s ease;
}

.discount-option:last-child {
  border-bottom: none;
}

.input-section {
  margin-top: 0.625rem;
  margin-bottom: 0.625rem;
  display: none;
}

.section-title {
  color: #0066cc;
  font-size: 1rem;
  margin-bottom: 0.9375rem;
  font-weight: normal;
}

.input-container {
  display: flex;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
}

.discount-input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 0.0625rem solid #b9b9b9;
  border-radius: 0.1875rem;
  font-size: 0.875rem;
  background-color: #f5f5f5;
  outline: none;
}

.activate-btn {
  background-color: #0080c0;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.1875rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background-color 0.2s ease;
}

.note {
  color: #888;
  font-size: 0.75rem;
}

/* CSS-only toggle functionality with checkboxes */
.toggle-input {
  display: none;
}

.toggle-input:checked ~ .input-section {
  display: block;
}

.close-btn {
  color: #0066cc;
  cursor: pointer;
  font-size: 0.875rem;
  margin-bottom: 0.625rem;
  display: flex;
  justify-content: right;
}

.close-btn:hover {
  text-decoration: underline;
}

.option-container {
  margin-bottom: 0;
}

/* div */

.call-to-us {
  border-bottom: 0.0625rem solid rgba(0, 0, 0, 1);
  padding-bottom: 0.9375rem;
  width: 25rem;
}

.call-to-us-image {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.call-to-us-image h3 {
  color: #000000;
  font-size: 1.875rem;
}

.call-to-us-image img {
  height: 2.5rem;
  width: 2.5rem;
}

.call-to-us p {
  font-size: 0.875rem;
  line-height: 1.3125rem;
  color: #000000;
  margin-bottom: 1rem;
}
.call-to-us p a {
  color: #0080c0;
  font-size: 0.875rem;
  line-height: 1.3125rem;
  transition: 0.3s ease-in-out;
}
.call-to-us p a:hover {
  text-decoration: underline;
}
.write-to-us {
  margin-top: 2rem;
  border-bottom: unset;
  padding-bottom: unset;
}

.second-step-div .steps-heading {
  color: white;
  margin-bottom: 2.375rem;
}

.second-step-div h3 {
  font-size: 1.375rem;
  color: #404040;
}

.payment-method {
  border: 0.0625rem solid #b9b9b9;
  border-radius: 0.5rem;
  padding: 1.1875rem 1.0625rem;
  margin-top: 1rem;
  margin-bottom: 2.1875rem;
}

.payment-method-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.products-list .padding-less-header {
    padding: 1.75rem 1.05rem;
}
.payment-method-right img {
  height: 1.5rem;
  width: 2.5rem;
}

.payment-method-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.payment-method-left label {
  color: #b9b9b9;
  font-size: 1rem;
}

.payment-method input[type="radio"]:checked {
  accent-color: #1c1c16;
}

.payment-method label {
  color: #b9b9b9;
  font-size: 1rem;
}

.third-step-div .steps-heading {
  margin-bottom: 2.375rem;
  color: white;
}

.third-step-div h3 {
  font-size: 1.375rem;
  color: #404040;
}

.shipping-details-form {
  margin-top: 1.75rem;
}

.form-row {
  display: flex;
  gap: 1.75rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group.full-width {
  width: 100%;
}

.shipping-details-form label {
  font-size: 1rem;
  font-weight: 400;
  color: #1c1c16;
}

.shipping-details-form input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 0.95rem;
  border: 0.0625rem solid #b9b9b9;
  border-radius: 0.25rem;
  font-size: 1rem;
  box-sizing: border-box;
  background-color: #f6f6f8;
  margin-top: 0.5rem;
}

.shipping-details-form input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
  outline: none;
}

.shipping-details-form input::placeholder {
  color: #999;
}

.terms-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5625rem 0;
}

input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  accent-color: #007bff;
  cursor: pointer;
}

.terms-container label {
  font-size: 1rem;
  color: #1c1c16;
  cursor: pointer;
}

label strong {
  font-weight: 600;
}

.third-step-div a {
  border-radius: 0.1875rem;
  font-weight: 400;
  font-size: 1.125rem;
  color: #ffffff;
  background-color: #0080c0;
  text-transform: uppercase;

  padding: 0.875rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.secondary-navbar .sidebar-list img {
  filter: invert(1);
}

.secondary-navbar a {
  color: #404040;
}

.secondary-navbar .wishlist-link img {
  filter: none;
}

.central-list a:hover {
  border-bottom: 0.125rem solid black;
  padding-bottom: 0.3125rem;
}

.logo img {
  filter: unset;
}

@media screen and (max-width: 1024px) {
  .three-steps-checkout {
    padding: 2rem 0 6rem;
  }

  .checkout-main-div {
    gap: 3%;
  }

  .first-step-div {
    width: 58%;
  }

  .other-two-steps-div {
    width: 39%;
  }

  .products-list th,
  .products-list td {
    padding: 1.2rem;
  }

  .table-product-image {
    gap: 1.5rem;
  }

  .table-product-image img {
    max-width: 35%;
  }

  .call-to-us {
    width: 22rem;
  }
}

@media screen and (max-width: 768px) {
  .three-steps-checkout {
    padding: 1.5rem 0 4rem;
  }

  .checkout-main-div {
    flex-direction: column;
    gap: 2rem;
  }

  .first-step-div,
  .other-two-steps-div {
    width: 100%;
  }

  .products-list th,
  .products-list td {
    padding: 1rem;
    font-size: 1rem;
  }

  .products-list th {
    font-size: 1.1rem;
  }

  .table-product-image {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .table-product-image img {
    max-width: 5rem;
    width: 5rem;
  }

  .table-product-image h4 {
    font-size: 1rem;
  }

  .total-amount {
    gap: 1rem;
    align-items: flex-start;
  }

  .total-amount-left span {
    font-size: 1.8rem;
  }

  .total-amount-right {
    gap: 1rem;
  }

  .buttons-list {
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
  }

  .call-to-us {
    width: 100%;
  }

  .contact-us {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .form-row {
    flex-direction: column;
    gap: 1rem;
  }

  .payment-method-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .payment-method-right {
    flex-wrap: wrap;
    gap: 0.8rem;
  }
}

@media screen and (max-width: 550px) {
  .three-steps-checkout {
    padding: 3rem 0;
  }
  .three-steps-checkout h1 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }
  .custom-container {
    padding: 0 1rem;
  }

  .steps-heading {
    height: 2.5rem;
    width: 2.5rem;
    font-size: 1.1rem;
  }

  .products-list {
    font-size: 0.9rem;
  }

  .products-list th,
  .products-list td {
    padding: 0.8rem 0.5rem;
  }

  .products-list th {
    font-size: 1rem;
  }

  .table-product-image img {
    max-width: 3.75rem;
    width: 3.75rem;
  }

  .table-product-image h4 {
    font-size: 0.9rem;
  }

  .quantity-input {
    width: 4rem;
  }

  .quantity-btn {
    width: 1.2rem;
    height: 1.2rem;
    font-size: 0.8rem;
  }

  .quantity-value {
    font-size: 1rem;
    padding: 0 0.3rem;
  }

  .total-amount-left h3 {
    font-size: 1.1rem;
  }

  .total-amount-left span {
    font-size: 1.5rem;
  }

  .total-amount-right h4 {
    font-size: 1rem;
  }

  .total-amount-right span {
    font-size: 1.2rem;
  }

  .shipping-method h3,
  .second-step-div h3,
  .third-step-div h3 {
    font-size: 1.1rem;
  }

  .shipping-option {
    padding: 0.8rem 0.5rem 1.2rem 0.5rem;
    gap: 0.5rem;
  }

  .shipping-method-left {
    align-items: flex-start;
  }

  .shipping-info span {
    font-size: 0.9rem;
  }

  .shipping-info p {
    font-size: 0.8rem;
  }

  .shipping-price {
    font-size: 1.2rem;
  }

  .coupon-button {
    align-items: stretch;
    text-align: center;
  }

  .coupon-button img {
    align-self: center;
    margin-right: 0;
  }

  .call-to-us-image h3 {
    font-size: 1.2rem;
  }

  .call-to-us-image img {
    height: 2rem;
    width: 2rem;
  }

  .call-to-us p {
    font-size: 0.8rem;
    line-height: 1.2rem;
  }

  .payment-method {
    padding: 1rem 0.8rem;
  }

  .payment-method-right img {
    height: 1.5rem;
    width: 2.5rem;
  }

  .shipping-details-form input[type="text"],
  input[type="email"],
  input[type="tel"] {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  .terms-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .terms-container label {
    font-size: 0.9rem;
  }

  .third-step-div a {
    font-size: 1rem;
    padding: 1rem 0;
  }
  .products-in-cart {
    padding: 3rem 0;
  }

  .products-table-subtotal-div {
    flex-direction: column;
  }
  .products-in-cart h1 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }
  .products-list td:nth-child(3) {
    padding: 0.8rem 0;
  }
  /* Mobile cart table - stack items vertically */
  .products-list {
    display: block;
    width: 100%;
  }
  .products-list tbody {
    display: block;
  }

  .products-list tr {
    display: block;
    background-color: white;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border: none;
  }
  .buttons-list {
    width: 100%;
  }
  .products-list td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
    border: none;
    text-align: left;
    border-bottom: 0.0625rem solid #b9b9b9;
  }
  .products-list .products-desription {
    display: none;
  }
  .products-list td:before {
    content: attr(data-label) ": ";
    font-weight: 400;
    color: #404040;

    font-size: 1.3rem;
    text-transform: uppercase;
  }

  .table-product-image {
    align-items: center;
    flex-direction: unset;
    gap: 0.75rem;
  }

  .table-product-image img {
    width: 5.75rem;
    height: 4.75rem;
    object-fit: cover;
  }

  .table-product-image h4 {
    font-size: 1rem;
    margin: 0;
  }

  .quantity-input {
    width: 6rem;
    margin: 0.5rem 0;
  }

  .remove-btn {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }

  /* Mobile-specific data labels */
  .products-list td:nth-child(1):before {
    content: "Product";
  }

  .products-list td:nth-child(2):before {
    content: "Price";
  }

  .products-list td:nth-child(3):before {
    content: "Quantity";
  }

  .products-list td:nth-child(4):before {
    content: "Subtotal";
  }

  .products-list td:nth-child(5):before {
    content: "Remove";
  }
}

@media screen and (max-width: 375px) {
  .coupon-button a {
    font-size: 0.7rem;
  }

  .coupon-button input {
    font-size: 0.7rem;
  }
}

@media screen and (max-width: 320px) {
  .custom-container {
    padding: 0 0.5rem;
  }

  .steps-heading {
    height: 2rem;
    width: 2rem;
    font-size: 1rem;
  }

  .products-list th,
  .products-list td {
    padding: 0.5rem 0.3rem;
    font-size: 0.8rem;
  }

  .products-list th {
    font-size: 0.9rem;
  }

  .table-product-image img {
    max-width: 3.125rem;
    width: 3.125rem;
  }

  .table-product-image h4 {
    font-size: 0.8rem;
  }

  .quantity-input {
    width: 3.5rem;
  }

  .quantity-btn {
    width: 1rem;
    height: 1rem;
    font-size: 0.7rem;
  }

  .quantity-value {
    font-size: 0.9rem;
    padding: 0 0.2rem;
  }

  .total-amount-left span {
    font-size: 1.3rem;
  }

  .total-amount-right span {
    font-size: 1rem;
  }

  .shipping-method h3,
  .second-step-div h3,
  .third-step-div h3 {
    font-size: 1rem;
  }

  .shipping-info span {
    font-size: 0.8rem;
  }

  .shipping-info p {
    font-size: 0.7rem;
  }

  .call-to-us-image h3 {
    font-size: 1rem;
  }

  .call-to-us-image img {
    height: 1.5rem;
    width: 1.5rem;
  }

  .call-to-us p {
    font-size: 0.7rem;
    line-height: 1rem;
  }

  .payment-method-right img {
    height: 1.2rem;
    width: 2rem;
  }

  .shipping-details-form input[type="text"],
  input[type="email"],
  input[type="tel"] {
    padding: 0.6rem;
    font-size: 0.8rem;
  }

  .terms-container label {
    font-size: 0.8rem;
  }

  .third-step-div a {
    font-size: 0.9rem;
    padding: 0.8rem 0;
  }
}

/* Additional styles for functional checkout elements */
.total-amount-discount,
.total-amount-gift-card {
  display: flex;
  gap: 1.4375rem;
  align-items: self-end;
  margin-top: 0.5rem;
}

.total-amount-discount h4,
.total-amount-gift-card h4 {
  font-size: 1.225rem;
  color: #1c1c16;
}

.total-amount-discount span,
.total-amount-gift-card span {
  font-size: 1.6875rem;
  color: #28a745;
  font-weight: 600;
}

.message {
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.message.success {
  color: #155724;
  background-color: #d4edda;
  border: 0.0625rem solid #c3e6cb;
}

.message.error {
  color: #721c24;
  background-color: #f8d7da;
  border: 0.0625rem solid #f5c6cb;
}

.confirm-order-btn {
  background-color: #0080c0;
  color: white;
  border: none;
  padding: 0.9375rem 1.875rem;
  border-radius: 0.3125rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  width: 100%;
  margin-top: 1.25rem;
  transition: background-color 0.3s ease;
}

.confirm-order-btn:hover {
  background-color: #006699;
}

.confirm-order-btn:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}

.order-success {
  text-align: center;
  padding: 1.875rem 1.25rem;
  background-color: #d4edda;
  border: 0.0625rem solid #c3e6cb;
  border-radius: 0.5rem;
  margin-top: 1.25rem;
}

.order-success h3 {
  color: #155724;
  margin-bottom: 0.9375rem;
  font-size: 1.5rem;
}

.order-success p {
  color: #155724;
  margin-bottom: 1.25rem;
}

.order-details {
  background-color: white;
  padding: 1.25rem;
  border-radius: 0.5rem;
  margin-top: 1.25rem;
  text-align: left;
  border: 0.0625rem solid #dee2e6;
}

.order-details h4 {
  color: #0080c0;
  margin-bottom: 0.9375rem;
  font-size: 1.2rem;
}

.order-details p {
  color: #1c1c16;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.continue-shopping-btn {
  display: inline-block;
  background-color: #28a745;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.3125rem;
  margin-top: 1.25rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.continue-shopping-btn:hover {
  background-color: #218838;
  color: white;
  text-decoration: none;
}

.empty-cart {
  text-align: center;
  padding: 3.75rem 1.25rem;
  background-color: white;
  border-radius: 0.5rem;
  border: 0.0625rem solid #dee2e6;
}

.empty-cart h2 {
  color: #6c757d;
  margin-bottom: 0.9375rem;
  font-size: 1.5rem;
}

.empty-cart p {
  color: #6c757d;
  margin-bottom: 1.5625rem;
  font-size: 1rem;
}

.continue-shopping {
  display: inline-block;
  background-color: #0080c0;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.3125rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.continue-shopping:hover {
  background-color: #006699;
  color: white;
  text-decoration: none;
}

.input-section {
  display: none;
  margin-top: 0.9375rem;
  padding: 0.9375rem;
  background-color: #f8f9fa;
  border-radius: 0.3125rem;
  border: 0.0625rem solid #dee2e6;
}

.option-container input[type="checkbox"]:checked + label + .input-section {
  display: block;
}

.discount-input,
#message-input {
  border: 0.0625rem solid #ced4da;
  border-radius: 0.25rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  transition: border-color 0.3s ease;
}

.discount-input:focus,
#message-input:focus {
  outline: none;
  border-color: #0080c0;
  box-shadow: 0 0 0 0.125rem rgba(0, 128, 192, 0.25);
}

.activate-btn {
  background-color: #0080c0;
  color: white;
  border: none;
  padding: 0.625rem 1.25rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.activate-btn:hover {
  background-color: #006699;
}

.activate-btn:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}

/* Improved form styling */
.shipping-details-form input[type="text"],
.shipping-details-form input[type="email"],
.shipping-details-form input[type="tel"] {
  border: 0.0625rem solid #ced4da;
  border-radius: 0.25rem;
  padding: 0.75rem 0.9375rem;
  font-size: 0.875rem;
  transition: border-color 0.3s ease;
}

.shipping-details-form input[type="text"]:focus,
.shipping-details-form input[type="email"]:focus,
.shipping-details-form input[type="tel"]:focus {
  outline: none;
  border-color: #0080c0;
  box-shadow: 0 0 0 0.125rem rgba(0, 128, 192, 0.25);
}

.shipping-details-form label {
  font-weight: 600;
  color: #1c1c16;
  margin-bottom: 0.5rem;
  display: block;
}

/* Quantity button improvements */
.quantity-btn {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: #0080c0;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: white;
  transition: background-color 0.3s ease;
}

.quantity-btn:hover {
  background-color: #006699;
}

.quantity-btn:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}

/* Loading state */
#loading-message {
  text-align: center;
  padding: 2.5rem;
  color: #6c757d;
  font-size: 1.1rem;
}

#klarna-widget {
  min-height: unset;
}

/* Responsive improvements */
@media screen and (max-width: 768px) {
  .total-amount-discount,
  .total-amount-gift-card {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .order-details {
    padding: 0.9375rem;
  }

  .empty-cart {
    padding: 2.5rem 0.9375rem;
  }

  .input-section {
    padding: 0.625rem;
  }
}

@media screen and (max-width: 480px) {
  .confirm-order-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }

  .order-success {
    padding: 1.25rem 0.9375rem;
  }

  .order-success h3 {
    font-size: 1.3rem;
  }

  .empty-cart h2 {
    font-size: 1.3rem;
  }
}

/* Klarna Checkout Styles */
.klarna-checkout-container {
  display: none;
  margin-top: 20px;
  padding: 20px;
  border-radius: 10px;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
}

.klarna-widget {
  width: 100%;
  min-height: 400px;
}

.klarna-loading {
  display: none;
  text-align: center;
  margin: 20px 0;
  padding: 30px;
}

.klarna-loading .spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #ff9900;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

.klarna-loading p {
  color: #666;
  font-size: 16px;
  margin: 0;
}

.klarna-error-message {
  display: none;
  margin-top: 20px;
  padding: 20px;
  border-radius: 10px;
  background: #fff3cd;
  border: 2px solid #ffc107;
  text-align: center;
}

.klarna-error-message p {
  color: #856404;
  font-size: 16px;
  margin: 0;
  font-weight: 500;
}

/* Spinner animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Utility classes for display */
.hidden {
  display: none !important;
}

/* Discount and gift card rows - can be toggled with hidden class */
#discount-row.hidden,
#gift-card-row.hidden {
  display: none !important;
}

#discount-row:not(.hidden),
#gift-card-row:not(.hidden) {
  display: flex;
}

.clear-both {
  clear: both;
}

/* Label cursor pointer */
label[for="discount-code"],
label[for="gift-card"],
label[for="message"] {
  cursor: pointer;
  display: block;
  margin: 0;
}

/* Input container flex column */
.input-container.flex-column {
  flex-direction: column;
  gap: 0.625rem;
}

/* Textarea resize */
textarea.resize-vertical {
  resize: vertical;
  min-height: 5rem;
}
