@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary-color: #3C6584;
  --bg-color: #F1F1F1;
  --text-color: #333;
  --brand-color: #999;
  --header-height: 60px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0;
}

html {
  background-color: #333;
  height: 100%;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  width: 100%;
  max-width: 414px;
  margin: 0 auto;
  min-height: 100vh;
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

header {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Changed from space-between to allow tight icon-to-text spacing */
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
  gap: 12px; /* Tight gap between menu bars and title */
}

header h1 {
  width: auto;
  height: auto;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500; /* Medium */
  line-height: 1;
  text-transform: uppercase;
  display: block;
  letter-spacing: 1px;
  cursor: pointer;
  margin: 0;
  color: white;
}

header h1 span {
  display: block;
  font-size: 18px;
  font-weight: 800; /* Extra Bold */
  letter-spacing: 0.5px;
  margin-top: -2px;
}

.header-icons {
  display: flex;
  gap: 15px;
  font-size: 1.2rem;
  margin-left: auto; /* Push icons to the far right */
}

.icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #ff4d4d;
  color: white;
  border-radius: 50%;
  padding: 2px 4px;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid white;
  pointer-events: none;
}

.header-icons i {
  cursor: pointer;
}

.wishlist-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  color: #333;
  cursor: pointer;
}

.modal-container .form-group {
  width: 100%;
}

.modal-container .form-group input {
  width: 100%;
}

.breadcrumb {
  padding: 15px 22px 5px;
  font-size: 0.8rem;
  color: var(--brand-color);
}

.breadcrumb a {
  color: var(--brand-color);
  text-decoration: none;
}

.breadcrumb span {
  color: #333;
  font-weight: bold;
}

.content {
  padding: 0 0 10px;
}

.page-title {
  padding: 10px 22px 15px;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  text-align: left;
}

/* Product Card */
/* Product Carousel Scroll */
.product-image-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.product-image-carousel::-webkit-scrollbar {
    display: none;
}

.product-image-carousel img {
    flex: 0 0 100%;
    scroll-snap-align: start;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-image-container {
    position: relative;
    width: 370px;
    height: 370px;
    margin-top: 20px;
    margin-left: 22px;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    margin-bottom: 20px;
}

/* Product Carousel */
.product-image-container {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.product-image-container img {
    transition: transform 0.3s ease;
}

.product-image-container.zoomed img {
    transform: scale(2);
    cursor: zoom-out;
}

.image-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    padding-bottom: 20px;
}

.nav-dot {
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.nav-dot.active {
    background: var(--primary-color);
}

.wishlist-icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 10;
}

.wishlist-icon i {
  font-size: 1.4rem;
  color: #333;
}

.product-info {
  margin-left: 22px;
  width: 370px; 
  margin-bottom: 25px;
}

.product-info h2 {
  font-size: 18px;
  margin-bottom: 4px;
  font-weight: 600; 
}

.product-info .brand {
  margin-bottom: 8px; 
  font-size: 16px;
  font-weight: 400; 
  text-transform: uppercase;
  color: #A8A8A8;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.price {
  font-size: 20px;
  font-weight: 700; 
  color: #000;
}

.btn-add-cart {
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 177px; 
  height: 41px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600; 
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.selectors {
  margin-left: 22px;
  width: 370px; 
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 25px;
}

.selectors select {
  width: 100%; 
  height: 41px;
  text-align: center;
  text-align-last: center; 
  padding: 0;
  border-radius: 10px;
  border: 1px solid #3C6584;
}

select {
  padding: 0 10px;
  border: 1px solid #3C6584;
  border-radius: 5px;
  background: #f8fbfc;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233C6584' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 1em;
  font-size: 0.9rem;
  color: #333;
}

.details-section, .colour-section {
  padding: 0 22px;
  margin-bottom: 25px;
}

.details-section h3, .colour-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #000;
}

.details-section ul {
  list-style: none;
  padding: 0;
}

.details-section ul li {
  font-size: 14px;
  margin-bottom: 6px;
  color: #444;
}

.colour-section p {
  font-size: 14px;
  color: #444;
}

/* Cart Item Layout */
.cart-item {
  background: transparent; 
  margin: 0 22px 20px;
  padding: 0; 
  display: flex;
  position: relative;
  box-shadow: none; 
}

.cart-item-img {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 15px;
  overflow: hidden;
  background: white;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  padding-left: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.cart-item-details h4 {
  font-size: 16px;
  font-weight: 700; 
  margin-bottom: 2px;
  color: #000;
  padding-right: 30px; /* Room for trash icon */
}

.cart-item-details .brand {
  font-size: 14px;
  color: #A8A8A8;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 500;
}

.cart-item-details .variant {
  font-size: 14px;
  color: #333;
  margin-bottom: 4px;
  font-weight: 500; 
}

.cart-item-details .price {
  font-size: 16px;
  font-weight: 700;
  color: #000;
}

.trash-btn {
  position: absolute;
  top: 0;
  right: 0; 
  font-size: 20px;
  color: #000;
  cursor: pointer;
}

.cart-item-qty {
  position: absolute;
  bottom: 0;
  right: 0; 
  width: 85px;
}

.cart-item-qty select {
  width: 100%;
  height: 32px;
  border: 1px solid #3C6584;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 15px;
  font-weight: 600;
  background-color: white;
}

/* Shared Calculations Styling */
.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0; 
  margin: 0 22px; 
  border-top: 1px solid #3C6584; 
}

.total-row span:first-child {
  font-size: 18px;
  font-weight: 700; 
  color: #000;
}

.total-row span:last-child {
  font-size: 18px;
  font-weight: 700; 
  color: #000;
}

/* Address Form */
.address-form {
  padding: 0 0 30px;
  background-color: var(--bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.address-page-title {
  padding: 25px 0 20px;
  width: 329px;
  font-size: 20px;
  font-weight: 700;
  text-align: left;
}

.form-group {
  margin-bottom: 15px;
  width: 329px;
}

.form-group label {
  display: block;
  font-size: 15px;
  font-weight: 700; 
  margin-bottom: 8px;
  color: #000;
}

.form-group input {
  width: 329px;
  height: 40px;
  padding: 0 15px;
  border: 1px solid #C4C4C4;
  border-radius: 8px;
  font-size: 15px;
  background: white;
  color: #000;
}

/* Order Summary Calculation Rows */
.order-calculation {
  padding: 0;
  margin: 0 22px;
  border-top: 1px solid #3C6584; 
}

.order-calculation .calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0 0; 
  color: #000000;
}

.order-calculation .divider {
  height: 1px;
  background-color: #3C6584;
  margin: 15px 0;
  width: 100%;
}

.label-total {
  font-weight: 600; 
  font-size: 16px;
}

.value-total {
  font-weight: 700; 
  font-size: 16px;
}

.label-delivery {
  font-weight: 500; 
  font-size: 16px;
}

.value-delivery {
  font-weight: 700; 
  font-size: 16px;
}

.label-grand-total {
  font-weight: 600; 
  font-size: 18px;
}

.value-grand-total {
  font-weight: 700; 
  font-size: 18px;
}

/* Buttons */
.btn-proceed {
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 370px;
  height: 48px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  display: block;
  margin: 20px auto;
  padding: 0;
}

.btn-register {
  background-color: #9BAFBD;
}

.btn-back {
  background-color: white;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  width: 370px;
  height: 48px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  display: block;
  margin: 10px auto;
  padding: 0;
}

.footer-btn-container {
  padding: 0 22px 30px;
  margin-top: 0; 
}

.footer-btn-container .btn-proceed {
  width: 100%;
  margin: 15px 0 0;
}

.btn-address-proceed {
  width: 329px !important; 
  height: 45px;
  margin-top: 10px !important;
}

/* Toast Notification */
/* Bottom Popup / Add to Cart Notification (Redesigned) */
.add-to-cart-popup {
    position: fixed;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 414px;
    background: #EBF3F9;
    z-index: 2100;
    transition: bottom 0.4s ease;
    padding: 20px;
    box-sizing: border-box;
    display: block;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.add-to-cart-popup.show {
    bottom: 0;
}

.popup-text {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin-bottom: 20px;
}

.popup-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-popup-primary, .btn-popup-secondary {
    height: 48px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-popup-primary {
    background-color: #3C6584;
    color: white;
}

.btn-popup-secondary {
    background-color: #3C6584;
    color: white;
}

/* Footer Styles */
footer {
    background-color: #fff;
    padding: 20px 22px;
    border-top: 1px solid #EEEEEE;
    margin-top: auto;
}

.footer-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-info a {
    color: #3C6584;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-info .sep {
    color: #DDD;
    font-weight: 400;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: #3C6584;
    font-size: 16px;
    transition: transform 0.2s ease;
}

.footer-socials a:hover {
    transform: translateY(-2px);
}

@media (max-width: 380px) {
    .footer-info {
        gap: 8px;
    }
    .footer-info a {
        font-size: 10px;
    }
}

/* Modal for Cellphone Force */
.cellphone-modal-body {
    padding: 10px 0;
}

.cellphone-modal-body p {
    font-size: 14px;
    color: #3C6584;
    margin-bottom: 20px;
    line-height: 1.5;
}

.cellphone-input-group {
    margin-bottom: 20px;
    text-align: left;
}

.cellphone-input-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #3C6584;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.cellphone-input-group input {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #D1D9E0;
    border-radius: 8px;
    font-size: 16px;
}

.btn-modal-primary {
    background-color: #3C6584;
    color: white;
    border: none;
    width: 100%;
    height: 48px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

/* Wishlist List View (Updated) */
.wishlist-list {
    padding: 0 22px;
}

.wishlist-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #D1D9E0;
    gap: 15px;
    position: relative;
}

.wishlist-item:last-child {
    border-bottom: none;
}

.wishlist-item-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.wishlist-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wishlist-item-info {
    flex-grow: 1;
}

.wishlist-item-info .name {
    font-size: 15px;
    font-weight: 700;
    color: #000;
    margin-bottom: 2px;
}

.wishlist-item-info .brand {
    font-size: 12px;
    color: #A8A8A8;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.wishlist-item-info .size {
    font-size: 13px;
    color: #333;
    margin-bottom: 4px;
    font-weight: 500;
}

.wishlist-item-info .price {
    font-size: 15px;
    font-weight: 700;
    color: #000;
}

.wishlist-actions {
    display: flex;
    gap: 10px;
}

.wishlist-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
}

.btn-delete {
    background: transparent;
    color: #333;
}

.btn-cart-add {
    background-color: #3C6584;
    color: white;
}

/* Modal-style Bottom Sheet (Centered as requested) */
.bottom-sheet {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 329px;
    background: white;
    z-index: 3000;
    transition: all 0.3s ease;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    padding: 25px 22px;
    box-sizing: border-box;
    display: none;
    opacity: 0;
}

.bottom-sheet.show {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.bottom-sheet-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.bottom-sheet select {
    width: 100%;
    height: 48px;
    border-radius: 10px;
    border: 1px solid #3C6584;
    margin-bottom: 20px;
    padding: 0 15px;
    font-size: 15px;
    font-weight: 600;
    background-color: white;
}

.btn-bottom-sheet-primary {
    width: 100%;
    height: 52px;
    background-color: #3C6584;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

/* Success Modal for Wishlist Added */
.wishlist-success-modal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: #EBF3F9;
}

.wishlist-success-modal .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    color: #333;
}

.wishlist-success-modal .text {
    font-size: 14px;
    font-weight: 500;
}

.btn-view-wishlist {
    background-color: #3C6584;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

/* Empty States & Error Pages */
.empty-state-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 22px;
    text-align: center;
    flex-grow: 1;
}

.empty-state-icon {
    width: 100px;
    height: 100px;
    background-color: #D1D9E0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.empty-state-icon i {
    font-size: 45px;
    color: #3C6584;
}

.empty-state-title {
    font-size: 18px;
    font-weight: 700;
    color: #3C6584;
    margin-bottom: 10px;
}

.empty-state-text {
    font-size: 14px;
    color: #000;
    margin-bottom: 35px;
}

.btn-empty-state {
    width: 100%;
    max-width: 329px;
    height: 48px;
    background-color: #3C6584;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.toast {
  visibility: hidden;
  min-width: 250px;
  background-color: #3C6584;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 16px;
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.toast.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

/* Product Grid for Category Breakdown */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 0 22px 30px;
}

.product-item {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.product-item-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: white;
  margin-bottom: 8px;
  position: relative;
}

.product-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-item .wishlist-small {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-item .brand {
  font-size: 12px;
  color: #A8A8A8;
  text-transform: uppercase;
  margin-bottom: 2px;
  font-weight: 400;
}

.product-item .name {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  margin-bottom: 4px;
}

.product-item .price {
  font-size: 14px;
  font-weight: 700;
  color: #000;
}

.filter-sort-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 0 22px 20px;
}

.filter-btn, .sort-btn {
  height: 40px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  gap: 8px;
}

.filter-btn {
  background-color: #A7B59E;
  color: #000;
}

.sort-btn {
  background-color: #E2E0C9;
  color: #000;
}

/* Landing Page Styles */
.section-title {
  padding: 25px 22px 15px;
  font-size: 18px;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 0 22px 25px;
}

.category-card {
  position: relative;
  aspect-ratio: 185 / 235;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card span {
  position: absolute;
  color: white;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  z-index: 2;
  bottom: 30px;
  left: 0;
  right: 0;
}

/* Gradient overlay for better text readability */
.category-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  z-index: 1;
}

.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 22px 30px;
}

.brand-btn {
  background-color: #000;
  color: #fff;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0;
}

/* Side Menu Overlay - Fixed to stay ON TOP within the container */
.side-menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background: white;
  z-index: 2000;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
  display: none; /* Use display toggle for "ontop" feel */
}

.side-menu::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.side-menu.active {
  display: block;
}

/* Home Page Menu Styles - Vertical List */
.home-nav-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 22px;
}

.home-nav-item {
    background-color: white;
    width: 100%;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    cursor: pointer;
    text-decoration: none;
    color: #3C6584;
    border: 1px solid #EEEEEE;
    transition: background-color 0.2s ease;
}

.home-nav-item:active {
    background-color: #f9f9f9;
}

.home-nav-item i {
    font-size: 20px;
    margin-right: 15px;
    width: 25px;
    text-align: center;
}

.home-nav-item span {
    font-size: 16px;
    font-weight: 600;
    flex-grow: 1;
}

.home-nav-item::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: #CCC;
}

.menu-content {
  padding: 0 22px;
}

.menu-item-signin {
  padding: 25px 0 15px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  border-bottom: 1px solid #EEEEEE;
}

.menu-group {
  border-bottom: 1px solid #EEEEEE;
}

.menu-group-header {
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600; /* Semi Bold */
  line-height: 16px;
  color: #000;
  cursor: pointer;
}

.menu-group-header i {
  font-size: 11px;
  transition: transform 0.3s ease;
}

.menu-group.active .menu-group-header i {
  transform: rotate(90deg);
}

.menu-group-content {
  display: none;
  padding-bottom: 10px;
}

.menu-category-title {
  padding: 10px 0 8px;
  font-size: 15px;
  font-weight: 600; /* Semi Bold */
  line-height: 16px;
  color: #000;
  text-transform: none;
  display: block;
  text-decoration: none;
}

.menu-subcategory {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500; /* Medium */
}

.menu-sub-subcategory {
  display: block;
  padding: 6px 0 6px 15px;
  text-decoration: none;
  color: #666;
  font-size: 13px;
  font-weight: 400;
}

#header-title.menu-title {
  font-size: 16px;
  font-weight: 500; /* Medium */
  line-height: 18px;
}

/* Sort and Filter Functional Styles */
.sort-btn {
  position: relative;
}

.sort-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  width: 200px;
  display: none;
  z-index: 100;
  padding: 10px 0;
  text-align: left;
}

.sort-dropdown.active {
  display: block;
}

.sort-option {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #000;
}

.sort-option .radio-circle {
  width: 20px;
  height: 20px;
  border: 2px solid #000;
  border-radius: 50%;
  position: relative;
}

.sort-option.active .radio-circle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: #000;
  border-radius: 50%;
}

/* Filter Overlay Styles */
.filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  display: flex;
  flex-direction: column;
}

/* Center overlay on desktop within 414px frame */
@media (min-width: 415px) {
  .filter-overlay {
    left: calc(50% - 207px);
    width: 414px;
  }
}

.filter-overlay.active {
  transform: translateY(0);
}

.filter-footer {
    padding: 15px 22px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 15px;
    background: white;
}

.btn-clear {
    flex: 1;
    height: 48px;
    background: #f1f1f1;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
}

.btn-apply {
    flex: 2;
    height: 48px;
    background: #3C6584;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    cursor: pointer;
}

.price-inputs {
    display: flex;
    justify-content: space-between;
    margin-top: 45px;
    position: relative;
    z-index: 3;
    gap: 15px;
}

.price-input-wrapper {
    flex: 1;
    height: 45px;
    border: 1px solid #C4C4C4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: white;
}

.price-input-wrapper span {
    font-size: 14px;
    color: #666;
    margin-right: 5px;
    font-weight: 600;
}

.price-input-wrapper input {
    border: none;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    outline: none;
    background: transparent;
}

/* Chrome, Safari, Edge, Opera */
.price-input-wrapper input::-webkit-outer-spin-button,
.price-input-wrapper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.price-input-wrapper input[type=number] {
  -moz-appearance: textfield;
}

.filter-header {
  padding: 12px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.filter-header span {
  font-size: 16px;
  font-weight: 700;
}

.filter-header i {
  font-size: 18px;
  cursor: pointer;
}

.filter-content {
  flex: 1;
  overflow-y: auto;
  padding: 5px 22px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}

.filter-content::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.filter-section {
  border-bottom: 1px solid #eee;
}

.filter-section-header {
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.filter-section-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.filter-section.active .filter-section-content {
  max-height: none;
  padding-bottom: 20px;
}

/* Checkbox Styles */
.checkbox-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  cursor: pointer;
  font-size: 14px;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 2px solid #000;
  border-radius: 4px;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: #000;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Filter Content Layouts */
.filter-size-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.filter-size-grid .checkbox-container {
  margin-bottom: 10px;
}

/* Price Slider Styles */
.price-slider-container {
  position: relative;
  width: 100%;
  height: 90px;
  margin-top: 15px;
  display: flex;
  flex-direction: column;
}

.slider-track {
  width: 100%;
  height: 5px;
  background-color: #ddd;
  position: absolute;
  top: 10px;
  border-radius: 5px;
  z-index: 1;
}

.price-slider {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  outline: none;
  position: absolute;
  margin: auto;
  top: 10px;
  background-color: transparent;
  pointer-events: none;
  z-index: 2;
}

.price-slider::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  height: 5px;
}

.price-slider::-moz-range-track {
  -moz-appearance: none;
  height: 5px;
}

.price-slider::-ms-track {
  appearance: none;
  height: 5px;
}

.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  background-color: #333;
  cursor: pointer;
  border-radius: 50%;
  pointer-events: auto;
  margin-top: -7.5px;
  border: none;
}

.price-slider::-moz-range-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  cursor: pointer;
  border-radius: 50%;
  background-color: #333;
  pointer-events: auto;
  border: none;
}

.price-slider::-ms-thumb {
  appearance: none;
  height: 20px;
  width: 20px;
  cursor: pointer;
  border-radius: 50%;
  background-color: #333;
  pointer-events: auto;
  border: none;
}

.price-inputs {
  display: flex;
  justify-content: space-between;
  margin-top: 45px;
  position: relative;
  z-index: 3;
}

.price-input-box {
  width: 110px;
  height: 35px;
  border: 1px solid #C4C4C4;
  border-radius: 5px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  font-size: 14px;
  background-color: #fff;
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-container {
  background: #EBF3F9;
  width: 329px;
  padding: 25px;
  border-radius: 12px;
  position: relative;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Modal positioning on desktop */
@media (min-width: 415px) {
  .modal-overlay {
    left: calc(50% - 207px);
    width: 414px;
  }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 20px;
  color: #333;
  cursor: pointer;
}

.modal-icon {
  font-size: 45px;
  color: #3C6584;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #3C6584;
  margin-bottom: 15px;
  line-height: 1.4;
}

.modal-body-text {
  font-size: 14px;
  color: #3C6584;
  margin-bottom: 25px;
  line-height: 1.5;
  padding: 0 10px;
}

.btn-modal {
  background-color: #3C6584;
  color: white;
  border: none;
  width: 100%;
  height: 48px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-transform: capitalize;
}

/* Payment Confirmation Page */
.confirmation-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  text-align: center;
}

.success-icon-container {
  width: 80px;
  height: 80px;
  background-color: #3C6584;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.success-icon-container i {
  color: white;
  font-size: 40px;
}

.success-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #000;
}

.success-message {
  font-size: 15px;
  color: #3C6584;
  line-height: 1.5;
  margin-bottom: 40px;
}

.success-message a {
  color: #3C6584;
  font-weight: 700;
  text-decoration: none;
}

.btn-confirmation-primary {
  background-color: #3C6584;
  color: white;
  border: none;
  width: 329px;
  height: 48px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 15px;
}

.btn-confirmation-secondary {
  background-color: transparent;
  color: #3C6584;
  border: 1px solid #3C6584;
  width: 329px;
  height: 48px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

/* Track Order Screen Refined */
.track-card {
  background-color: #EBF3F9;
  border-radius: 12px;
  margin: 0 22px 20px;
  padding: 18px 20px;
  border: 1px solid #3C6584;
}

.track-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.track-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #3C6584;
  margin-bottom: 5px;
}

.track-card .order-date {
  font-size: 13px;
  color: #3C6584;
  font-weight: 500;
}

.track-card .item-count {
  font-size: 13px;
  font-weight: 600;
  color: #3C6584;
}

.btn-track-action {
  width: 100%;
  height: 44px;
  background-color: transparent;
  border: 1px solid #3C6584;
  color: #3C6584;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.track-title {
  font-size: 16px;
  font-weight: 700;
  color: #3C6584;
  margin-bottom: 20px;
}

.delivery-address-box {
  background-color: #B2C3D0;
  border-radius: 8px;
  padding: 12px 15px;
  margin-top: 20px;
}

.delivery-address-box h4 {
  font-size: 13px;
  font-weight: 700;
  color: #3C6584;
  margin-bottom: 4px;
}

.delivery-address-box p {
  font-size: 13px;
  color: #3C6584;
  font-weight: 500;
  line-height: 1.4;
}

/* Timeline specific tweaks */
.timeline {
  position: relative;
  padding-left: 35px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 3px;
  height: calc(100% - 20px);
  background-color: #7B7B7B;
  z-index: 1;
}

.timeline-step {
  position: relative;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
}

.step-dot {
  position: absolute;
  left: -33px;
  width: 20px;
  height: 20px;
  background-color: #7B7B7B;
  border-radius: 50%;
  z-index: 2;
}

.timeline-step.completed .step-dot {
  background-color: #4CB050;
  box-shadow: 0 0 0 4px #EBF3F9, 0 0 0 6px #4CB050;
}

/* Green line for progress */
.timeline-step.completed::after {
  content: "";
  position: absolute;
  top: 20px;
  left: -24.5px;
  width: 3px;
  height: 25px;
  background-color: #4CB050;
  z-index: 2;
}

.timeline-step:last-child::after {
  display: none;
}

.step-label {
  font-size: 14px;
  font-weight: 600;
  color: #7B7B7B;
}

.timeline-step.completed .step-label {
  color: #000;
  font-weight: 700;
}

/* Order Summary Card in Track Page */
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.summary-row .label {
  font-size: 15px;
  font-weight: 700;
  color: #000;
}

.summary-row .value {
  font-size: 15px;
  font-weight: 700;
  color: #3C6584;
}

.summary-divider {
  height: 1px;
  background-color: #3C6584;
  margin: 15px 0;
  width: 100%;
}

.total-paid-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-paid-row .label {
  font-size: 16px;
  font-weight: 700;
  color: #000;
}

/* Payment Method Grid Styles */
.payment-methods-grid {
    padding: 0 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-provider-section {
    margin-bottom: 5px;
}

.provider-title {
    font-size: 13px;
    font-weight: 700;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-options-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.payment-option-card {
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-option-card i {
    font-size: 24px;
    color: #3C6584;
}

.payment-option-card span {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    color: #333;
    line-height: 1.2;
}

.payment-option-card.selected {
    border-color: #3C6584;
    background-color: #F0F7FF;
    box-shadow: 0 0 0 1px #3C6584;
}

.payment-option-card.selected i,
.payment-option-card.selected span {
    color: #3C6584;
}

/* Terms and Conditions Style */
.terms-container {
    padding: 0 22px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.terms-container input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #3C6584;
}

.terms-text {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    user-select: none;
    cursor: pointer;
}

.terms-text a {
    color: #3C6584;
    font-weight: 700;
    text-decoration: none;
}


/* Search Overlay Styles */
.search-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    max-width: 414px !important;
    height: 100% !important;
    background: #F1F1F1;
    z-index: 9999 !important;
    display: none;
    flex-direction: column;
}

.search-overlay.active {
    display: flex;
}

.search-header {
    height: 60px;
    background-color: #3C6584;
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 15px;
    flex-shrink: 0;
}

.search-header i#close-search {
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.search-input-container {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-container input {
    width: 100%;
    height: 40px;
    border-radius: 20px;
    border: none;
    padding: 0 40px 0 15px;
    font-size: 15px;
    outline: none;
}

.search-input-container i#clear-search {
    position: absolute;
    right: 15px;
    color: #999;
    cursor: pointer;
    font-size: 16px;
}

.search-results {
    flex: 1;
    overflow-y: auto;
    background: #F1F1F1;
}

.search-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #999;
    gap: 15px;
}

.search-placeholder i {
    font-size: 40px;
}

.search-placeholder p {
    font-size: 15px;
}

.search-result-item {
    display: flex;
    padding: 15px 22px;
    border-bottom: 1px solid #E0E0E0;
    cursor: pointer;
    background: white;
}

.search-result-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
}

.search-result-item .info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.search-result-item .name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.search-result-item .brand {
    font-size: 12px;
    color: #A8A8A8;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.search-result-item .price {
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

.search-no-results {
    padding: 30px 22px;
    text-align: center;
    color: #666;
    font-size: 15px;
}

/* Social Auth Styles */
.social-auth-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 22px;
  background-color: var(--bg-color);
}

.auth-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #000;
  text-align: center;
}

.btn-social {
  width: 329px;
  height: 52px;
  background-color: #fff;
  border: 1px solid var(--primary-color);
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  text-decoration: none;
}

.btn-social i {
  font-size: 20px;
  color: var(--primary-color);
}

.auth-separator {
  margin: 20px 0;
  font-size: 15px;
  font-weight: 500;
  color: #000;
}

.btn-email-auth {
  width: 329px;
  height: 52px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 26px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 30px;
}

.auth-footer {
  font-size: 15px;
  color: #333;
}

.auth-footer span {
  color: var(--primary-color);
  font-weight: 700;
  cursor: pointer;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 180px;
    border-radius: 12px;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    min-width: 100%;
    position: relative;
    cursor: pointer;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.slide-content h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.slide-content p {
    margin: 5px 0 0;
    font-size: 12px;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: white;
    width: 20px;
    border-radius: 4px;
}
