/* Shared site layout, commerce UI, and reusable components */
/* RESET */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #f8f5f2;
  line-height: 1.6;
  overflow-x: hidden;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 30px;   /* 🔥 smaller height */
  box-sizing: border-box;
  width: 100%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: sticky;
  z-index: 1000;
  top: 0;
  transition: 0.3s ease;
  height: 82px;
}

.navbar.scrolled {

  background:
    rgba(255,255,255,0.82);

  box-shadow:
    0 18px 40px rgba(0,0,0,0.08);

}

.logo {

  height: 125px;

  width: auto;

  object-fit: contain;

  transition: 0.3s;

  transform: scale(1.35);

}

.logo:hover {
  transform: scale(1.08);
}

.menu {
  display: flex;
  gap: 30px;
  
}

.menu a {
  text-decoration: none;
  color: #5a3e2b;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

.menu a::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #8B5A2B;
  position: absolute;
  bottom: -5px;
  left: 0;
  transition: 0.3s;
}

.menu a:hover::after {
  width: 100%;
   color: #8B5A2B;
}

/* CART */
.cart {

  position: relative;

  cursor: pointer;

  width: 20px;

  height: 24px;

  display: flex;

  align-items: center;

  justify-content: center;

  color: #8b5a2b;

  font-size: 18px;

}

.cart-panel {
  position: fixed;
  right: 20px;
  top: 65px;
  width: 330px;
  max-width: calc(100vw - 28px);
  max-height: 80vh;
overflow-y: auto;

  opacity: 0;
transform: translateY(-10px);
pointer-events: none;
transition: 0.25s ease;

  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);

  border-radius: 16px;
  padding: 20px;

  box-shadow: 0 20px 50px rgba(0,0,0,0.15);

  display:flex;
flex-direction:column;
touch-action: pan-y;
  z-index: 9999;
}

.cart-scroll {

  flex: 1;

  overflow-y: auto;

  min-height: 0;

}

.cart-footer {

  position: sticky;

  bottom: 0;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.86),
      rgba(255,255,255,0.98) 28%
    );

  padding-top: 18px;

  margin-top: 18px;

  border-top:
    1px solid rgba(0,0,0,0.06);

  z-index: 5;

}

.cart-panel.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cart-panel h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #4a3222;

  margin-bottom: 15px;
}
#cart-items p {
  font-size: 13px;
  color: #555;

  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 8px;
}
#cart-items button {
  background: none;
  border: none;
  color: #b94a48;

  cursor: pointer;
  font-size: 14px;

  transition: 0.2s;
}

#cart-items button:hover {
  transform: scale(1.2);
}
.cart-panel p {
  font-weight: 600;
  color: #4a3222;

  margin-top: 10px;
}
.cart-panel button {
  width: 100%;
  margin-top: 10px;

  background: #8B5A2B;
  color: white;

  padding: 12px;
  border: none;
  border-radius: 10px;

  cursor: pointer;
  transition: 0.3s;
}

.cart-panel button:hover {
  background: #6e4522;
  transform: translateY(-2px);
}

.cart-footer p {

  display: flex;

  align-items: center;

  justify-content: space-between;

  font-size: 15px;

}

.cart-footer button {

  min-height: 42px;

  font-weight: 700;

}

.cart-footer .cart-clear-btn {

  background: #fff2f2;

  color: #c64040;

  border: 1px solid #ffd3d3;

}

.cart-footer .cart-clear-btn:hover {

  background: #f75257;

  color: white;

}

#cart-count {

  position: absolute;

  top: -5px;

  right: -5px;

  background: black;

  color: white;

  font-size: 9px;

  font-weight: 600;

  min-width: 15px;

  height: 15px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 0;

  line-height: 1;

}
/* h2-text */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 600;
 letter-spacing: 0.5px;
  color: #4a3222;   /* 🔥 strong brown like hero */

  text-align: center;
  margin-top: 50px;   /* 🔥 increase this */
  margin-bottom: -60px;   /* 🔥 pull icon up */
  
}
.title-decoration {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: -20px;
  margin-bottom: 0;
}

.title-decoration .heart-icon {
  width: 150px !important;
  height: 150px !important;   /* 🔥 THIS is the missing piece */
  object-fit: contain;
  display: block;            /* 🔥 IMPORTANT */
}
/* FOOTER */
.footer {
  background: white;
  text-align: center;
  padding: 20px;   /* 🔥 reduced */
  margin-top: 40px;
}
/* MODAL BACKGROUND */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: none;
  justify-content: center;
  align-items: center;

  z-index: 9999;
  opacity: 0;
  transition: 0.3s ease;
}
.modal.show {
  display: flex;
  opacity: 1;
}

/* MODAL BOX */
.modal-content {
  background: white;
  border-radius: 12px;
  width: 600px;
  max-width: 90%;

  display: flex;
  gap: 20px;
  padding: 20px;

  position: relative;

  animation: fadeIn 0.3s ease;
   transform: scale(0.9);
  transition: 0.3s ease;
}
.modal.show .modal-content {
  transform: scale(1);
}

/* IMAGE */
.modal-content img {
  width: 50%;
  border-radius: 12px;
  margin-bottom: 15px;
  object-fit: cover;
}

/* TEXT */
.modal-content h2 {
  font-family: 'Playfair Display', serif;
  color: #4a3222;
}

.modal-content p {
  color: #555;
  margin: 10px 0;
}
/* model-info*/
.modal-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-info h2 {
  font-family: 'Playfair Display', serif;
  color: #4a3222;
}

.modal-info p {
  color: #666;
  margin: 8px 0;
}
/*Model-info button*/
.modal-info button {
  margin-top: 15px;

  background: #8B5A2B;
  color: white;

  padding: 12px;
  border: none;
  border-radius: 10px;

  cursor: pointer;
  transition: 0.3s;
}

.modal-info button:hover {
  background: #6e4522;
}
/* BUTTON */
.modal-content button {
  background: #8B5A2B;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 10px;
  width: 100%;
  cursor: pointer;
}

/* CLOSE */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 22px;
  cursor: pointer;
}

/* ANIMATION */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* HAMBURGER */
.menu-toggle {

  font-size: 24px;

  color: #8b5a2b;

  cursor: pointer;

  line-height: 1;

  display: none;

  align-items: center;

  justify-content: center;

}
.account-icon:hover,
.wishlist-icon:hover,
.cart:hover,
.menu-toggle:hover {

  opacity: 0.7;

}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);

  opacity: 0;
  visibility: hidden;

  transition: 0.3s ease;
  z-index: 998;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
html {
  scroll-behavior: smooth;
}
/* =========================
   CHECKOUT MODAL STYLE
========================= */

#checkout-modal .modal-content {
  flex-direction: column;
  max-width: 520px;
  width: min(92vw, 520px);
  max-height: 88vh;
  padding: 0;
  border-radius: 24px;
  gap: 0;
  overflow: hidden;
  background: #fffdf9;
  border: 1px solid #eaded2;
  box-shadow: 0 24px 70px rgba(40, 25, 18, 0.22);
}

.cart-panel.cart-is-empty .cart-footer {

  display: none;

}

.checkout-modal-header {
  padding: 24px 28px 14px;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid #f0e6dd;
}

.checkout-modal-header span {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff4e8;
  color: #8b5e34;
  font-size: 12px;
  font-weight: 700;
}

#checkout-modal h2 {
  font-family: 'Playfair Display', serif;
  color: #4a3222;
  margin: 10px 0 0;
  font-size: 30px;
  line-height: 1.1;
}

.checkout-close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 2;
  width: 36px !important;
  height: 36px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  background: #fff4e8 !important;
  color: #5f3619 !important;
  font-size: 22px;
}

.checkout-modal-body {
  overflow-y: auto;
  padding: 18px 22px 20px;
  flex: 1;
  min-height: 0;
}

.checkout-modal-footer {
  flex-shrink: 0;
  padding: 14px 22px 18px;
  margin-top: 0;
  border-top: 1px solid #eaded2;
  background: #fff;
  box-shadow: 0 -12px 28px rgba(62, 39, 35, 0.05);
}

.checkout-card {
  padding: 16px;
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid #efe4d9;
  border-radius: 18px;
}

.checkout-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.checkout-section-title h3 {
  margin: 0;
  color: #3e2723;
  font-family: "Playfair Display", serif;
  font-size: 19px;
}

.checkout-section-title span {
  color: #9a672f;
  font-size: 12px;
  font-weight: 700;
}

.checkout-summary-row,
.checkout-total-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 8px 0;
  color: #4d4038;
  font-size: 14px;
}

.checkout-summary-row span:last-child,
.checkout-total-line {
  font-weight: 700;
}

#checkout-summary hr {
  border: 0;
  border-top: 1px solid #efe4d9;
  margin: 12px 0;
}

.checkout-final {
  color: #8b5e34;
  font-size: 17px;
}

.checkout-profile-note {
  margin: 0 0 12px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #fff4e8;
  color: #6e4522;
  font-size: 12px;
  font-weight: 600;
}

.checkout-field {
  margin-bottom: 10px;
}

.checkout-field:last-child {
  margin-bottom: 0;
}

#checkout-modal small[data-checkout-error] {
  display: none;
  margin: -3px 0 6px;
  color: #b23b2d;
  font-size: 12px;
  font-weight: 600;
}

#checkout-modal small[data-checkout-error].show {
  display: block;
}

/* Inputs */
#checkout-modal input,
#checkout-modal textarea {
  width: 100%;
  padding: 12px 13px;
  margin-bottom: 0;
  border-radius: 13px;
  border: 1px solid #e4d8cc;
  background: #fffdf9;
  color: #3f342e;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  transition: 0.25s ease;
}

#checkout-modal textarea {
  min-height: 74px;
  resize: vertical;
}

#checkout-modal input:focus,
#checkout-modal textarea:focus {
  border-color: #8B5A2B;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(139,90,43,0.1);
}

#checkout-modal input.is-invalid,
#checkout-modal textarea.is-invalid {
  border-color: #d97864;
  background: #fff8f6;
}

.payment-method-box {
  margin-bottom: 12px;
}

.payment-method-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

#checkout-modal .payment-method-btn {
  padding: 10px 8px;
  background: #fffaf6;
  color: #6e4522;
  border: 1px solid #eaded2;
  border-radius: 999px;
  font-size: 13px;
}

#checkout-modal .payment-method-btn.active {
  background: #8B5A2B;
  color: white;
  border-color: #8B5A2B;
}

.payment-instructions {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff7f0;
  border: 1px solid #eaded2;
  color: #5f3619;
  line-height: 1.5;
  font-size: 13px;
}

.payment-upload-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px dashed #d9c3ad;
  border-radius: 15px;
  background: #fffaf6;
  color: #5f3619;
  cursor: pointer;
}

.payment-upload-box.is-hidden {
  display: none;
}

.payment-upload-box i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
  color: #9a672f;
}

.payment-upload-box span {
  flex: 1;
  font-size: 13px;
  font-weight: 700;
}

.payment-upload-box strong {
  max-width: 150px;
  color: #8a7b72;
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#payment-image {
  display: none;
}

#checkout-form-message {
  display: none;
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff1ee;
  border: 1px solid #f2c4b8;
  color: #9d3f2a;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

#checkout-form-message.show {
  display: block;
}

/* Button */
#checkout-modal button {
  background: #8B5A2B;
  color: white;
  padding: 12px;
  border-radius: 14px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: 0.25s ease;
}

#checkout-modal button:hover {
  background: #6e4522;
  transform: translateY(-2px);
}

#place-order-btn {
  width: 100%;
  padding: 15px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}

#checkout-modal button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

@media (max-width: 560px) {
  #checkout-modal {
    align-items: flex-end;
  }

  #checkout-modal .modal-content {
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
  }

  .checkout-modal-header {
    padding: 20px 48px 12px;
  }

  #checkout-modal h2 {
    font-size: 27px;
  }

  .checkout-modal-body {
    padding: 14px;
  }

  .checkout-modal-footer {
    padding: 12px 14px 16px;
  }

  .checkout-card {
    padding: 14px;
    border-radius: 16px;
  }

  .payment-method-options {
    gap: 6px;
  }

  #checkout-modal .payment-method-btn {
    padding: 10px 6px;
    font-size: 12px;
  }

  .payment-upload-box {
    align-items: flex-start;
  }

  .payment-upload-box strong {
    max-width: 100px;
  }

  .coupon-box {
    gap: 8px;
  }

  .coupon-box button {
    padding: 12px 14px !important;
  }
}
.cart-item {
  transition: 0.25s ease;
  border-radius: 10px;
  padding: 6px;
}

.cart-item:hover {
  background: rgba(0,0,0,0.04);
  transform: translateY(-2px);
}

.shop-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;

  background: white;

  min-width: 180px;

  border-radius: 12px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);

  padding: 10px 0;

  opacity: 0;
  visibility: hidden;

  transform: translateY(10px);

  transition: 0.25s ease;

  z-index: 999;
}

.dropdown-menu a {
  display: block;

  padding: 12px 18px;

  text-decoration: none;

  color: #333;

  transition: 0.2s;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
}

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

/* MOBILE */
@media (max-width: 768px) {
  .navbar {
  position: sticky;
  top: 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
 }

 .shop-filters {
  display: flex;
  gap: 18px;
  align-items: center;
}

.mobile-icons {

  display: flex;

}

/* MOBILE FILTER FIX */
@media (max-width: 768px) {

  .shop-filters {
    display: none;
  }

  .menu.active .shop-filters {
  display: flex;

  flex-direction: column;

  gap: 14px;

  width: 100%;

  align-items: center;

  margin-top: -10px;
}
}

  .menu-toggle {
    display: inline-flex;
    width: 38px;
    height: 38px;
    border: 1px solid #eaded2;
    border-radius: 50%;
    background: #fff4e8;
    color: #8b5a2b;
    font-size: 24px;
    cursor: pointer;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(139, 90, 43, 0.08);
  }

  .menu {
  display: none;
  position: absolute;   /* 🔥 IMPORTANT */
  top: 60px;
  right: 20px;
 }

  .menu.active {
  display: flex;
  flex-direction: column;

  position: fixed;
  top: 94px;
  right: 14px;

  width: min(270px, calc(100vw - 28px));
  height: auto;
  max-height: calc(100vh - 108px);

  background: #fffdf9;

  border: 1px solid #eaded2;
  border-radius: 22px;
  padding: 12px;

  align-items: stretch;
  gap: 6px;

  z-index: 1001;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(62, 39, 35, 0.18);
  animation: mobileMenuIn 0.22s ease;
}

  .menu.active::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 23px;
    width: 16px;
    height: 16px;
    background: #fffdf9;
    border-left: 1px solid #eaded2;
    border-top: 1px solid #eaded2;
    transform: rotate(45deg);
  }

  .menu.active a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 13px 16px;
    border-radius: 16px;
    color: #4a3222;
    font-weight: 600;
    box-sizing: border-box;
  }

  .menu.active a::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 12px;
    border-radius: 50%;
    background: #d8bfa7;
    flex: 0 0 auto;
  }

  .menu.active a::after {
    display: none;
  }

  .menu.active a:hover {
    background: #fff4e8;
    color: #8b5a2b;
  }

  .menu.active .shop-dropdown {
    width: 100%;
  }

  .menu.active .dropdown-menu {
    display: none;
  }

  @keyframes mobileMenuIn {
    from {
      opacity: 0;
      transform: translateY(-8px) scale(0.98);
    }

    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

#checkout-modal .checkout-modal-footer button {
  width: 100%;
}
 /* 🔥 MOBILE LAYOUT FIX */

 .shop-filters {

  gap:8px;

  margin:30px 0 20px;

}

.shop-filter-btn {

  padding:8px 14px;

  font-size:13px;

  min-width: 90px;
}
}

/* SHOP FILTERS */

.shop-filters {
  display: flex;
  gap: 12px;
  align-items: center;
}

.shop-filter-btn {

  padding:10px 18px;

  border:1px solid #eaded2;

  background:#fffaf6;

  border-radius:999px;

  cursor:pointer;

  font-size:14px;

  font-weight:500;

  color:#5f3619;

  transition:0.25s ease;

  box-shadow:0 6px 18px rgba(139,90,43,0.05);

}

.shop-filter-btn:hover {

  background:#f3e7db;

  color:#5f3619;

  border-color:#d8bfa7;

}

.shop-filter-btn.active {

  background:#8b5a2b;

  color:white;

  border-color:#8b5a2b;

  box-shadow:0 8px 22px rgba(139,90,43,0.18);

}

.delivery-options {

  display: flex;

  gap: 20px;

  align-items: center;

  flex-wrap: nowrap;

  margin-top: 22px;

}

.delivery-radio {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  cursor: pointer;

  font-size: 15px;

  color: #222;

  white-space: nowrap;

  line-height: 1;

}

.delivery-radio input {

  display: none;
}

.delivery-radio span {

  min-width: 18px;

  min-height: 18px;

  width: 18px;

  height: 18px;

  border: 1.5px solid #222;

  border-radius: 50%;

  position: relative;

  display: inline-block;
}

.delivery-radio input:checked + span::after {

  content: "";

  width: 10px;

  height: 10px;

  background: black;

  border-radius: 50%;

  position: absolute;

  top: 50%;

  left: 50%;

  transform: translate(-50%, -50%);
}

.mobile-icons {

  display: flex;

  align-items: center;

  gap: 18px;

}

.account-icon {

  font-size: 19px;

  color: #8b5a2b;

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;

}

.wishlist-icon {

  font-size: 19px;

  color: #8b5a2b;

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;

}

.menu-toggle {

  font-size: 28px;

  cursor: pointer;

  line-height: 1;

}

.account-wrapper {

  position: relative;

}

.track-icon {

  color:#8b5e34;

  text-decoration:none;

}

.account-dropdown {

  position:absolute;

  top:30px;

  right:-10px;

  background:white;

  border-radius:14px;

  box-shadow:0 10px 30px rgba(0,0,0,0.1);

  padding:16px;

  min-width:220px;

  z-index:9999;

}

@media (max-width: 768px) {

  #account-dropdown {

    right: -60px !important;

    top: 35px !important;

    width: 220px;

    min-width: unset !important;

    padding: 14px !important;

    border-radius: 18px !important;

  }

}

#account-dropdown {

  opacity: 0;

  transform: translateY(-10px);

  pointer-events: none;

  transition: 0.25s ease;

}

#account-dropdown.show {

  opacity: 1;

  transform: translateY(0);

  pointer-events: auto;

}

@media (max-width: 430px) {
  .navbar {
    padding: 4px 14px;
  }

  .mobile-icons {
    gap: 12px;
  }

  .account-icon,
  .wishlist-icon,
  .track-icon,
  .cart {
    font-size: 17px;
  }

  .menu-toggle {
    width: 34px;
    height: 34px;
    font-size: 21px;
  }

  #cart-count {
    right: -8px;
  }
}

.wishlist-pop {

  animation:
    wishlistPop 0.35s ease;

}

@keyframes wishlistPop {

  0% {

    transform: scale(1);

  }

  50% {

    transform: scale(1.35);

  }

  100% {

    transform: scale(1);

  }

}

/* =========================
   PREMIUM FOOTER
========================= */

.footer {

  background: #f3ece6;

  padding-top: 70px;

  margin-top: 80px;

  border-top:
    1px solid rgba(0,0,0,0.05);

}

.footer-container {

  max-width: 1200px;

  margin: 0 auto;

  padding: 0 40px 50px;

  display: grid;

  grid-template-columns:
    1.4fr 1fr 1fr 1fr;

  gap: 50px;

  align-items: start;

}

.footer-brand {

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: flex-start;

  padding-top: 2px;

}

.footer-logo-frame {

  width: 118px;

  height: 118px;

  display: flex;

  align-items: center;

  justify-content: center;

  overflow: hidden;

  margin-bottom: 18px;

}

.footer-logo {

  width: 100%;

  height: 100%;

  object-fit: contain;

  transform: scale(1.82);

  transform-origin: center;

}

.footer-brand p {

  color: #6b6b6b;

  line-height: 1.9;

  max-width: 280px;

  font-size: 14px;

  margin: 0 auto;

}

.footer-links h4,
.footer-social h4,
.footer-heading {

  font-size: 16px;

  margin-bottom: 18px;

  color: #3f2a1d;

  font-family:
    'Playfair Display',
    serif;

}

.footer-heading {

  width: fit-content;

  padding: 0;

  border: none;

  background: transparent;

  display: flex;

  align-items: center;

  justify-content: flex-start;

  cursor: default;

}

.footer-links,
.footer-social {

  align-items: center;

}

.footer-heading i {

  display: none;

}

.footer-links {

  display: flex;

  flex-direction: column;

  gap: 12px;

}

.footer-panel {

  display: flex;

  flex-direction: column;

  gap: 12px;

}

.footer-social .footer-panel {

  display: block;

}

.footer-links a {

  text-decoration: none;

  color: #6b6b6b;

  font-size: 14px;

  transition: 0.25s ease;

}

.footer-links a:hover {

  color: #8B5A2B;

  transform: translateX(4px);

}

.social-icons {

  display: flex;

  gap: 14px;

}

.social-icons a {

  width: 42px;

  height: 42px;

  border-radius: 50%;

  background: white;

  display: flex;

  align-items: center;

  justify-content: center;

  color: #8B5A2B;

  text-decoration: none;

  transition: 0.3s ease;

  box-shadow:
    0 8px 20px rgba(0,0,0,0.05);

}

.social-icons a:hover {

  transform: translateY(-4px);

  background: #8B5A2B;

  color: white;

}

.footer-bottom {

  border-top:
    1px solid rgba(0,0,0,0.05);

  padding: 22px;

  text-align: center;

  color: #777;

  font-size: 13px;

}

/* MOBILE */

@media (max-width: 768px) {

  .footer {

    padding-top: 38px;

    margin-top: 52px;

  }

  .footer-container {

    grid-template-columns: 1fr;

    gap: 18px;

    padding: 0 22px 30px;

  }

  .footer-brand {

    align-items: center;

    text-align: center;

    padding-bottom: 10px;

  }

  .footer-brand p {

    margin: 0 auto;

    max-width: 100%;

  }

  .footer-logo {

    transform: scale(1.78);

  }

  .footer-logo-frame {

    width: 104px;

    height: 104px;

    margin-bottom: 14px;

  }

  .footer-accordion {

    border-top:
      1px solid rgba(139,90,43,0.12);

    padding-top: 4px;

    align-items: stretch;

  }

  .footer-heading {

    width: 100%;

    min-height: 48px;

    margin-bottom: 0;

    justify-content: center;

    position: relative;

    cursor: pointer;

  }

  .footer-heading i {

    display: inline-flex;

    position: absolute;

    right: 0;

    color: #8B5A2B;

    font-size: 13px;

    transition: 0.25s ease;

  }

  .footer-accordion.is-open .footer-heading i {

    transform: rotate(45deg);

  }

  .footer-panel {

    display: none !important;

    padding: 2px 0 16px;

    text-align: center;

  }

  .footer-accordion:not(.is-open) .footer-panel {

    display: none !important;

  }

  .footer-accordion.is-open .footer-panel {

    display: flex !important;

  }

  .footer-social.footer-accordion.is-open .footer-panel {

    display: block !important;

  }

  .social-icons {

    flex-wrap: wrap;

  }

  .footer-bottom {

    padding: 18px 22px;

    font-size: 12px;

  }

}

.wishlist-pop {

  animation:
    wishlistPop 0.35s ease;

}

@keyframes wishlistPop {

  0% {

    transform: scale(1);

  }

  50% {

    transform: scale(1.35);

  }

  100% {

    transform: scale(1);

  }

}

.floating-heart {

  position: fixed;

  z-index: 999999;

  pointer-events: none;

  font-size: 18px;

  animation:
    floatingHeart 1s ease forwards;

}

@keyframes floatingHeart {

  0% {

    opacity: 1;

    transform:
      translateY(0)
      scale(1);

  }

  100% {

    opacity: 0;

    transform:
      translateY(-40px)
      scale(1.5);

  }

}

.toast-notification {

  position: fixed;

  bottom: 30px;

  right: 30px;

  background:
    rgba(255,255,255,0.92);

  backdrop-filter: blur(16px);

  color: #3f2a1d;

  padding: 16px 20px;

  border-radius: 18px;

  font-size: 14px;

  font-weight: 600;

  z-index: 999999;

  opacity: 0;

  transform:
    translateY(30px)
    scale(0.95);

  transition: 0.35s ease;

  box-shadow:
    0 20px 50px rgba(0,0,0,0.12);

  border:
    1px solid rgba(255,255,255,0.5);

  min-width: 240px;

  display: flex;

  align-items: center;

  gap: 12px;

}

.toast-notification.show {

  opacity: 1;

  transform:
    translateY(0)
    scale(1);

}

.option-attention {

  animation: optionNudge 0.28s ease;

}

.option-attention button:not(:disabled),
.option-attention .modal-option-button:not(.disabled) {

  border-color: #c99767 !important;

  box-shadow:
    0 0 0 3px rgba(201,151,103,0.18);

}

@keyframes optionNudge {

  0% {
    transform: translateX(0);
  }

  35% {
    transform: translateX(-4px);
  }

  70% {
    transform: translateX(4px);
  }

  100% {
    transform: translateX(0);
  }

}

.cart-reminder-toast {

  align-items: flex-start;

  max-width: 330px;

  background: rgba(255,250,246,0.96);

  border: 1px solid #eaded2;

}

.cart-reminder-text {

  flex: 1;

  line-height: 1.5;

}

.cart-reminder-toast button {

  border: none;

  border-radius: 999px;

  background: #8b5a2b;

  color: white;

  padding: 9px 14px;

  font-family: inherit;

  font-weight: 600;

  cursor: pointer;

  white-space: nowrap;

}

.cart-reminder-toast button:hover {

  background: #6f4320;

}

.back-stock-modal {

  position: fixed;

  inset: 0;

  display: none;

  align-items: center;

  justify-content: center;

  padding: 20px;

  background: rgba(0,0,0,0.32);

  backdrop-filter: blur(6px);

  z-index: 100000;

  opacity: 0;

  transition: 0.25s ease;

}

.back-stock-modal.show {

  opacity: 1;

}

.back-stock-card {

  position: relative;

  width: 100%;

  max-width: 420px;

  background: white;

  border: 1px solid #eaded2;

  border-radius: 24px;

  padding: 34px;

  text-align: center;

  box-shadow:
    0 24px 60px rgba(0,0,0,0.16);

  transform: translateY(12px);

  transition: 0.25s ease;

}

.back-stock-modal.show .back-stock-card {

  transform: translateY(0);

}

.back-stock-close {

  position: absolute;

  top: 14px;

  right: 16px;

  width: auto !important;

  border: none;

  background: transparent;

  color: #3f2a1d;

  font-size: 26px;

  cursor: pointer;

}

.back-stock-icon {

  width: 62px;

  height: 62px;

  margin: 0 auto 18px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #fff7f0;

  color: #8b5a2b;

  font-size: 24px;

}

.back-stock-card h2 {

  margin: 0 0 10px;

  color: #3f2a1d;

  font-family:
    "Playfair Display",
    serif;

}

.back-stock-card p {

  color: #75665c;

  line-height: 1.7;

  margin: 0 0 22px;

}

.back-stock-card input {

  width: 100%;

  box-sizing: border-box;

  padding: 14px 16px;

  border: 1px solid #eaded2;

  border-radius: 14px;

  font-family: inherit;

  margin-bottom: 14px;

}

.back-stock-submit,
.notify-stock-btn {

  background: #8b5a2b;

  color: white;

  border: none;

  border-radius: 999px;

  font-family: inherit;

  font-weight: 700;

  cursor: pointer;

  transition: 0.25s ease;

}

.back-stock-submit {

  width: 100%;

  padding: 14px 18px;

}

.notify-stock-btn {

  padding: 12px 16px;

}

.notify-stock-btn:hover,
.back-stock-submit:hover {

  background: #6f4320;

  transform: translateY(-2px);

}

.sold-out-note {

  color: #9d5b28;

  font-weight: 600;

  margin: -18px 0 22px;

}

.product-badges {

  position: absolute;

  top: 14px;

  left: 14px;

  display: flex;

  flex-direction: column;

  gap: 8px;

  z-index: 10;

  width: fit-content;

}

.new-badge {

  background: #f3e7da;

  color: #8b5a2b;

  font-size: 11px;

  font-weight: 600;

  padding: 6px 12px;

  border-radius: 999px;

  letter-spacing: 1px;

  box-shadow:
    0 4px 10px
    rgba(0,0,0,0.05);

    width: fit-content;

}

.sale-badge {

  background: #8b5a2b;

  color: white;

  font-size: 11px;

  font-weight: 600;

  padding: 6px 12px;

  border-radius: 999px;

  letter-spacing: 1px;

  box-shadow:
    0 4px 10px
    rgba(0,0,0,0.08);

    width: fit-content;

}

.sold-out-badge {

  background: #3f2a1d;

  color: white;

  font-size: 11px;

  font-weight: 600;

  padding: 6px 12px;

  border-radius: 999px;

  letter-spacing: 1px;

  box-shadow:
    0 4px 10px
    rgba(0,0,0,0.08);

  width: fit-content;

}

.product-price-wrap {

  display: flex;

  flex-direction: column;

  gap: 2px;

  margin-top: 8px;

  align-items: center;
justify-content: center;

}

.old-price {

  text-decoration: line-through;

  color: #999;

  font-size: 13px;

}

.sale-price {

  color: #8b5a2b;

  font-size: 18px;

  font-weight: 700;

}

.discount-badge {

  display: inline-block;

  width: fit-content;

  padding: 3px 10px;

  border-radius: 999px;

  background: #f3e7db;

  color: #8b5a2b;

  font-size: 15px;

  font-weight: 600;

  margin-top: 8px;

  letter-spacing: 0.5px;


}

.coupon-box {

  display: flex;

  gap: 10px;

  margin-top: 18px;

}

.coupon-box input {

  flex: 1;

}

.coupon-box button {

  width: auto !important;

  padding: 12px 18px;

}

#coupon-message {

  margin-top: 10px;

  font-size: 13px;

  color: #8b5a2b;

  font-weight: 500;

}

#discount-row {

  margin-top: 12px;

  color: #8b5a2b;

  font-weight: 600;

}

.modal-image-wrap {

  position: relative;

  width: 48%;

  flex-shrink: 0;


}

#modal-image {

  width: 100%;

  height: 620px;

  object-fit: cover;

  border-radius: 20px;

}

#modal-badges {

  position: absolute;

  top: 18px;

  left: 18px;

  z-index: 5;

  display: flex;

  flex-direction: column;

  gap: 10px;

}

#modal-price .product-price-wrap {

  flex-direction: row;

  align-items: center;

  justify-content: flex-start;

  gap: 10px;

  flex-wrap: wrap;

}

#modal-price {

  text-align: left;

}

#modal-price .old-price {

  margin: 0;

}

#modal-price .sale-price {

  margin: 0;

}

#modal-price .discount-badge {

  margin: 0;

  font-size: 13px;

}

.cart-bounce {

  animation:
    cartBounce 0.45s ease;

}

@keyframes cartBounce {

  0% {

    transform: scale(1);

  }

  30% {

    transform: scale(1.25);

  }

  60% {

    transform: scale(0.9);

  }

  100% {

    transform: scale(1);

  }

}

.cart-count-pop {

  animation:
    cartCountPop 0.45s ease;

}

@keyframes cartCountPop {

  0% {

    transform: scale(1);

  }

  50% {

    transform: scale(1.35);

  }

  100% {

    transform: scale(1);

  }

}

.empty-cart {

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

  padding: 38px 18px 28px;

}

.empty-cart-icon {

  width: 84px;

  height: 84px;

  border-radius: 50%;

  background:
    rgba(139,90,43,0.08);

  display: flex;

  align-items: center;

  justify-content: center;

  margin-bottom: 20px;

  animation:
    floatCart 2.5s ease-in-out infinite;

}

.empty-cart-icon i {

  font-size: 34px;

  color: #8B5A2B;

}

.empty-cart h3 {

  font-size: 22px;

  margin-bottom: 6px;

  color: #3f2a1d;

  font-family:
    'Playfair Display',
    serif;

}

.empty-cart p {

  font-size: 14px;

  color: #6f625b;

  margin: 0 0 22px;

  max-width: 220px;

  line-height: 1.7;

}

#cart-items .empty-cart button {

  background: #8B5A2B;

  color: white;

  border: none;

  padding: 13px 22px;

  border-radius: 999px;

  font-weight: 700;

  box-shadow:
    0 12px 24px rgba(139,90,43,0.16);

  cursor: pointer;

  transition: 0.3s ease;

  width: 100%;

  max-width: 294px;

}

#cart-items .empty-cart button:hover {

  transform: translateY(-3px);

  background: #6f4522;

}

@keyframes floatCart {

  0% {

    transform:
      translateY(0px);

  }

  50% {

    transform:
      translateY(-8px);

  }

  100% {

    transform:
      translateY(0px);

  }

}

.cart-success {

  animation:
    cartSuccessGlow 0.7s ease;

}

@keyframes cartSuccessGlow {

  0% {

    box-shadow:
      0 20px 50px rgba(0,0,0,0.15);

  }

  50% {

    box-shadow:
      0 20px 60px rgba(139,90,43,0.25);

  }

  100% {

    box-shadow:
      0 20px 50px rgba(0,0,0,0.15);

  }

}

.cart-item-removing {

  animation:
    removeCartItem 0.32s ease forwards;

}

@keyframes removeCartItem {

  0% {

    opacity: 1;

    transform:
      translateX(0)
      scale(1);

  }

  100% {

    opacity: 0;

    transform:
      translateX(40px)
      scale(0.92);

  }

}

.reveal-product {

  opacity: 0;

  transform:
    translateY(40px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;

}

.reveal-product.active {

  opacity: 1;

  transform:
    translateY(0);

}

.account-user-info {

  padding-bottom:16px;

  margin-bottom:16px;

  border-bottom:1px solid #efe7df;

}

.account-user-name {

  font-size:16px;

  font-weight:600;

  color:#3e2723;

}

.account-user-email {

  font-size:13px;

  color:#9a8f87;

  margin-top:4px;

}

.account-dropdown-links {

  display:flex;

  flex-direction:column;

  gap:10px;

}

.account-dropdown-link,
.account-logout-btn {

  width:100%;

  border:none;

  background:#f8f5f2;

  color:#5c4033;

  padding:13px 16px;

  border-radius:16px;

  text-decoration:none;

  font-size:14px;

  font-weight:500;

  cursor:pointer;

  transition:0.3s ease;

  display:flex;

  align-items:center;

  gap:10px;

  font-family:inherit;

  box-sizing:border-box;

}

.account-dropdown-link:hover,
.account-logout-btn:hover {

  background:#efe7df;

}

.account-logout-btn {

  background:#fff1f1;

  color:#d45b5b;

}

.account-logout-btn:hover {

  background:#ffe5e5;

}

.cart-clear-btn {

  margin-top:10px !important;

  background:#ff5252 !important;

  color:white !important;

  border:none !important;

  padding:8px 12px !important;

  border-radius:8px !important;

  cursor:pointer;

}

.pickup-modal-content {

  max-width:400px;

  flex-direction:column;

  text-align:center;

}

.pickup-modal-text {

  margin-top:10px;

  line-height:1.7;

  color:#555;

}

.pickup-modal-note {

  margin-top:18px;

  font-size:14px;

  color:#777;

  line-height:1.6;

}

.cart-item-card {

  background:#fffaf6;

  border: 1px solid #ead8c8;

  border-radius:20px;

  padding:14px;

  margin-bottom:18px;

  box-shadow:0 12px 30px rgba(139,90,43,0.08);

}

.cart-item-main {

  display:flex;

  gap:18px;

  align-items:flex-start;

}

.cart-item-image {

  width:112px;

  height:112px;

  object-fit:cover;

  object-position:center top;

  border-radius:14px;

  background:#f6eee7;

  flex-shrink:0;

}

.cart-item-info {

  flex:1;

}

.cart-item-name {

  font-size:15px;

  font-weight:600;

  color:#3f2a1d;

  margin-bottom:2px;

}

.cart-item-price {

  color:#8b5a2b;

  font-weight:700;

  font-size:16px;

  margin-bottom:6px;

}

.cart-item-meta {

  font-size:13px;

  color:#666;

  margin-top:2px;

}

.cart-item-meta:first-of-type {

  margin-top:6px;

}

.cart-delivery-pill {

  display:inline-block;

  margin-top:8px;

  padding:5px 10px;

  border-radius:20px;

  font-size:11px;

  font-weight:600;

}

.cart-delivery-pill.pickup {

  background:#e8f5e9;

  color:#2e7d32;

}

.cart-delivery-pill.delivery {

  background:#e3f2fd;

  color:#1565c0;

}

.cart-item-controls {

  display:flex;

  justify-content:space-between;

  align-items:center;

  margin-top:16px;

  padding-top:2px;

}

.cart-qty-controls {

  display:flex;

  align-items:center;

  gap:10px;

  background:#fff;

  border:1px solid #f0e1d3;

  border-radius:999px;

  padding:5px;

  box-shadow:
    0 8px 18px rgba(0,0,0,0.04);

}

.cart-icon-btn {

  background:transparent !important;

  border:none !important;

  font-size:14px;

  cursor:pointer;

  width:28px !important;

  height:28px !important;

  padding:0 !important;

  margin:0 !important;

  color:inherit !important;

  border-radius:50% !important;

  display:inline-flex !important;

  align-items:center !important;

  justify-content:center !important;

}

.cart-icon-btn:hover {

  background:#f6eadf !important;

  color:#8b5a2b !important;

  transform:translateY(-1px) !important;

}

.cart-qty-value {

  font-weight:600;

  min-width:18px;

  text-align:center;

}

.cart-remove-btn {

  width:34px !important;

  height:34px !important;

  color:#d84d52 !important;

  background:#fff2f2 !important;

  border:1px solid #ffd7d7 !important;

  font-size:15px;

}

.cart-remove-btn:hover {

  background:#f75257 !important;

  color:white !important;

}

.cart-sale-price-wrap {

  align-items:flex-start !important;

  margin-top:0 !important;

  gap:0 !important;

}

.cart-old-price {

  font-size:12px !important;

}

.cart-sale-price {

  font-size:16px !important;

}

.checkout-summary-row {

  display:flex;

  justify-content:space-between;

  margin-bottom:8px;

}

.checkout-total-line {

  text-align:right;

}

.checkout-subtotal {

  color:#777;

}

.checkout-discount {

  color:#8b5a2b;

  font-weight:600;

}

.checkout-final {

  font-size:20px;

  font-weight:700;

  color:#8b5a2b;

}

.toast-icon {

  width:32px;

  height:32px;

  border-radius:50%;

  background:#8B5A2B;

  color:white;

  display:flex;

  align-items:center;

  justify-content:center;

  font-size:14px;

  flex-shrink:0;

}

.wishlist-toggle {

  position:absolute;

  top:12px;

  right:12px;

  width:38px;

  height:38px;

  background:white;

  border-radius:50%;

  display:flex;

  align-items:center;

  justify-content:center;

  cursor:pointer;

  z-index:5;

  box-shadow:0 2px 10px rgba(0,0,0,0.1);

}

.wishlist-toggle.product-detail {

  position:static;

  width:42px;

  height:42px;

  margin:15px 0;

}

.wishlist-toggle-icon {

  color:#ff4d6d;

  font-size:18px;

}

.wishlist-toggle.product-detail .wishlist-toggle-icon {

  font-size:20px;

}

.empty-products-message {

  text-align:center;

  width:100%;

  padding:40px 0;

  color:#777;

}

.api-state {

  width: 100%;

  min-height: 180px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 14px;

  text-align: center;

  padding: 34px 22px;

  box-sizing: border-box;

  border-radius: 22px;

  background: #fffaf6;

  border: 1px solid #eaded2;

  color: #5f3619;

  box-shadow:
    0 14px 34px rgba(139,90,43,0.06);

}

.api-state-icon {

  width: 54px;

  height: 54px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #f3e7db;

  color: #8b5a2b;

  font-size: 22px;

}

.api-state p {

  margin: 0;

  color: #5f3619;

  font-weight: 600;

  line-height: 1.6;

}

.api-state-error {

  background: #fff7f0;

}

.api-state-error .api-state-icon {

  background: #ffe9df;

  color: #b45b28;

}

.skeleton-shimmer {

  background:
    linear-gradient(
      90deg,
      #f3ede7 25%,
      #fffaf6 50%,
      #f3ede7 75%
    );

  background-size: 220% 100%;

  animation:
    skeletonLoading 1.15s ease-in-out infinite;

}

@keyframes skeletonLoading {

  0% {

    background-position: 200% 0;

  }

  100% {

    background-position: -200% 0;

  }

}

.skeleton-card-grid {

  display: grid;

  grid-template-columns:
    repeat(auto-fill, minmax(260px, 1fr));

  gap: 34px 20px;

  width: 100%;

  grid-column: 1 / -1;

}

.skeleton-product-card {

  width: 100%;

}

.skeleton-image {

  width: 100%;

  aspect-ratio: 3 / 4;

  border-radius: 18px;

}

.skeleton-line {

  display: block;

  height: 14px;

  border-radius: 999px;

  margin-top: 14px;

}

.skeleton-line.title {

  height: 36px;

  width: 72%;

}

.skeleton-line.wide {

  width: 82%;

}

.skeleton-line.medium {

  width: 58%;

}

.skeleton-line.short {

  width: 38%;

}

.skeleton-order-card,
.skeleton-track-card {

  background: white;

  border: 1px solid #eaded2;

  border-radius: 20px;

  padding: 24px;

  margin-bottom: 20px;

  box-shadow:
    0 10px 30px rgba(139,90,43,0.05);

}

.skeleton-order-row {

  display: flex;

  align-items: center;

  gap: 14px;

  margin-top: 22px;

}

.skeleton-thumb {

  width: 70px;

  height: 70px;

  border-radius: 14px;

  flex-shrink: 0;

}

.skeleton-product-detail {

  display: contents;

}

.skeleton-gallery-block {

  min-height: 680px;

  border-radius: 26px;

}

.skeleton-detail-lines {

  padding-top: 20px;

}

.skeleton-option-row {

  display: flex;

  gap: 12px;

  margin-top: 28px;

  flex-wrap: wrap;

}

.skeleton-option {

  display: inline-block;

  width: 74px;

  height: 92px;

  border-radius: 14px;

}

.skeleton-pill {

  display: inline-block;

  width: 120px;

  height: 48px;

  border-radius: 14px;

}

.skeleton-button {

  display: block;

  width: 100%;

  height: 58px;

  border-radius: 16px;

  margin-top: 32px;

}

.skeleton-summary-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 12px;

  margin-top: 24px;

}

.skeleton-summary-box {

  display: block;

  height: 74px;

  border-radius: 16px;

}

.admin-stat-card.is-loading h3,
.admin-stat-card.is-loading h4 {

  opacity: 0.45;

}

.admin-stat-card.is-loading .admin-stat-value {

  color: transparent !important;

  border-radius: 999px;

  min-height: 28px;

}

@media (max-width: 768px) {

  .skeleton-card-grid {

    grid-template-columns: repeat(2, 1fr);

    gap: 24px 16px;

  }

  .skeleton-gallery-block {

    min-height: 430px;

  }

  .skeleton-line.title {

    height: 28px;

  }

  .skeleton-summary-grid {

    grid-template-columns: 1fr;

  }

}

.back-link-wrap {
  padding: 24px 34px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: white;
  border-radius: 18px;
  text-decoration: none;
  color: #8b5e34;
  font-weight: 600;
  font-size: 22px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: 0.25s ease;
}

.back-link:hover {
  transform: translateY(-2px);
}

.back-link span {
  font-size: 16px;
}

.auth-page {
  width: 100%;
  max-width: 100%;
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f5f2;
  padding: 44px 20px;
  box-sizing: border-box;
  overflow-x: hidden;
}

.auth-card {
  width: min(420px, calc(100vw - 40px));
  max-width: 420px;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  box-sizing: border-box;
}

.auth-title {
  text-align: center;
  margin-bottom: 30px;
  color: #8b5e34;
}

.form-control {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-sizing: border-box;
}

.auth-password-field {
  position: relative;
}

.auth-password-field .form-control {
  padding-right: 48px;
}

.auth-toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #fff7f0;
  color: #8b5e34;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -7px;
}

.auth-toggle-password:hover {
  background: #f3e7db;
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: -2px 0 18px;
  color: #6b5a50;
  font-size: 13px;
}

.auth-options a {
  color: #8b5e34;
  font-weight: 600;
  text-decoration: none;
}

.auth-options a:hover {
  text-decoration: underline;
}

.auth-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.auth-checkbox input {
  accent-color: #8b5e34;
}

.auth-btn {
  width: 100%;
  padding: 14px;
  border: none;
  background: #8b5e34;
  color: white;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
}

.auth-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.auth-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border: 2px solid rgba(255,255,255,0.45);
  border-top-color: white;
  border-radius: 50%;
  animation: authSpin 0.7s linear infinite;
  vertical-align: -2px;
}

@keyframes authSpin {
  to {
    transform: rotate(360deg);
  }
}

.auth-help-text {
  color: #75665c;
  line-height: 1.7;
  text-align: center;
  margin: -10px 0 24px;
  font-size: 14px;
}

@media (max-width: 420px) {
  .auth-page {
    padding: 34px 20px;
  }

  .auth-card {
    max-width: 100%;
    padding: 32px 24px;
  }

  .auth-options {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .auth-card {
    width: min(320px, calc(100vw - 48px));
    max-width: 320px;
    padding: 32px 20px;
  }
}

.auth-status {

  margin: 0 0 16px;

  padding: 12px 14px;

  border-radius: 14px;

  background: #fff7f0;

  border: 1px solid #eaded2;

  color: #5f3619;

  text-align: center;

  font-size: 13px;

  font-weight: 600;

}

.auth-status.is-error {

  background: #fff1ee;

  border-color: #f2c4b8;

  color: #9d3f2a;

}

.auth-switch {
  text-align: center;
  margin-top: 20px;
}

.auth-switch a {
  color: #8b5e34;
  font-weight: 600;
}

.simple-page-section {
  padding: 120px 20px 60px;
  max-width: 900px;
  margin: auto;
}

.simple-page-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 42px;
}

.profile-section {
  padding: 40px 20px 100px;
  max-width: 700px;
  margin: auto;
}

.track-page {
  font-family: Poppins, sans-serif;
  background: #f8f5f2;
}

.track-main {
  padding: 70px 20px 70px;
}

.track-hero-card {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  padding: 42px;
  border-radius: 24px;
  text-align: center;
  border: 1px solid rgba(139,90,43,0.1);
  box-shadow: 0 16px 42px rgba(0,0,0,0.05);
}

.track-title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 44px;
  color: #3f2a1d;
}

.track-subtitle {
  margin: 12px 0 26px;
  color: #75665c;
  line-height: 1.7;
}

.track-form-card {
  max-width: 520px;
  margin: auto;
  background: #fffaf6;
  padding: 12px;
  border-radius: 999px;
  border: 1px solid #eaded2;
  display: flex;
  gap: 10px;
}

.track-order-input {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  margin-bottom: 0;
  box-sizing: border-box;
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
}

.track-order-btn {
  width: auto;
  padding: 12px 22px;
  background: #8b5a2b;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 700;
}

.tracking-result {
  max-width: 820px;
  margin: 30px auto 0;
}

.order-empty,
.track-not-found {
  text-align: center;
  padding: 60px 0;
}

.order-empty {
  max-width: 460px;
  margin: 0 auto;
  padding: 54px 28px;
  background: #fffaf6;
  border: 1px solid #eaded2;
  border-radius: 18px;
}

.order-empty h2 {
  margin: 0 0 10px;
  color: #4b2a14;
  font-family: "Playfair Display", serif;
  font-size: 30px;
}

.order-empty p {
  margin: 0 0 22px;
  color: #75665c;
  line-height: 1.7;
}

.order-empty button {
  padding: 13px 24px;
  border: none;
  border-radius: 999px;
  background: #8b5a2b;
  color: white;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
}

.order-empty button:hover {
  background: #6f4320;
}

.track-not-found {
  background: white;
  padding: 36px 24px;
  border-radius: 20px;
  border: 1px solid #eaded2;
  box-shadow: 0 12px 34px rgba(0,0,0,0.05);
  color: #75665c;
}

.track-not-found h3 {
  margin: 0 0 8px;
  color: #3f2a1d;
  font-family: "Playfair Display", serif;
  font-size: 28px;
}

.track-loading {
  text-align: center;
  padding: 24px;
  color: #8b5a2b;
  font-weight: 700;
}

.my-order-card,
.track-result-card {
  background: white;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.track-result-card {
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(139,90,43,0.1);
}

.track-result-card h2 {
  margin: 0 0 20px;
  color: #3f2a1d;
  font-family: "Playfair Display", serif;
  font-size: 34px;
}

.track-result-card h3 {
  color: #3f2a1d;
}

.track-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.track-summary-box {
  background: #fffaf6;
  border: 1px solid #eaded2;
  border-radius: 16px;
  padding: 14px;
}

.track-summary-box span {
  display: block;
  color: #8f8178;
  font-size: 13px;
  margin-bottom: 6px;
}

.track-summary-box strong {
  color: #4a3222;
}

.track-status-message {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff7f0;
  border: 1px solid #eaded2;
  color: #5f3619;
  font-weight: 600;
  line-height: 1.6;
}

.my-order-summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.order-label {
  font-size: 14px;
  color: #777;
}

.order-value {
  font-weight: 600;
}

.order-status.delivered,
.payment-status.paid {
  color: green;
}

.order-status.pending {
  color: #8b5e34;
}

.track-status.pending {
  color: #b45b28;
}

.track-status,
.payment-status {
  font-weight: 600;
}

.track-status.success {
  color: #2e7d32;
}

.payment-status.unpaid {
  color: #c62828;
}

.order-item-row,
.track-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.track-item-row {
  background: #fffaf6;
  border: 1px solid #eaded2;
  border-radius: 16px;
  padding: 12px;
  margin-top: 0;
  margin-bottom: 15px;
}

.order-item-image,
.track-item-image {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 12px;
}

.track-item-image {
  border-radius: 14px;
}

.order-item-name,
.track-item-name {
  font-weight: 600;
  color: #3f2a1d;
}

.order-item-meta,
.track-item-meta {
  color: #777;
  font-size: 14px;
}

.track-item-total {
  color: #8b5a2b;
  font-weight: 700;
  margin-top: 4px;
}

.order-item-qty {
  margin-top: 4px;
}

.track-order-btn-small {
  margin-top: 20px;
  background: #8b5a2b;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  cursor: pointer;
}

.tracking-step {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 14px;
  border-left: 3px solid #d6bfa8;
  margin-bottom: 12px;
  background: #fffaf6;
  border-radius: 0 14px 14px 0;
}

.tracking-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #8b5a2b;
  box-shadow: 0 0 0 4px #f3e7db;
  margin-top: 4px;
  flex-shrink: 0;
}

.tracking-step-title {
  font-weight: 600;
}

.tracking-step-time {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

.track-rule {
  margin: 24px 0;
  border: none;
  border-top: 1px solid #eaded2;
}

@media (max-width: 640px) {
  .simple-page-section {
    padding: 54px 14px 46px;
  }

  .simple-page-title {
    font-size: 34px;
    margin-bottom: 28px;
  }

  .track-main {
    padding: 44px 14px 54px;
  }

  .track-hero-card {
    padding: 28px 18px;
  }

  .track-title {
    font-size: 34px;
  }

  .track-form-card {
    border-radius: 20px;
    flex-direction: column;
  }

  .track-order-input {
    min-height: 44px;
  }

  .track-order-btn {
    width: 100%;
  }

  .track-summary-grid {
    grid-template-columns: 1fr;
  }

  .my-order-card,
  .track-result-card {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .my-order-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .order-item-row,
  .track-item-row {
    align-items: flex-start;
  }

  .order-empty {
    padding: 38px 20px;
    border-radius: 22px;
  }
}
