@font-face {
    font-family: Montagu Slab;
    src: url(fonts/MontaguSlab-VariableFont_opsz\,wght.ttf);
}
@font-face {
    font-family: Figtree;
    src: url(fonts/MontaguSlab-VariableFont_opsz\,wght.ttf);
}

body {
    background: #fff;
    margin: 0;
    padding: 0;
    color: #111;
}
.account-container {
    max-width: 1100px;
    margin: 60px auto 0 auto;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    min-height: 60vh;
}
.sidebar {
    margin-top: 50px;
    width: auto;
    background: #fff;
    border-right: 1px solid #e0e0e0;
    padding: 48px 0 48px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
.sidebar ul li {
    padding: 14px 32px;
    font-size: 1.15rem;
    color: #111;
    cursor: pointer;
    font-weight: 500;
    border: none;
    background: none;
    transition: background 0.2s, color 0.2s;
    border-left: 4px solid transparent;
}
.sidebar ul li.active {
    color: black;
    font-weight: 700;
    background: #fffbe6;
    border-left: 4px solid #FED61D;
}
.sidebar ul li:hover:not(.active) {
    background: #fffbe6;
}
.content-panel {
    flex: 1;
    padding: 64px 48px;
    display: flex;
    flex-direction: column;
}
.account-heading {
    font-family: Montagu Slab;
    text-align: center;
    font-size: 3rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 20px;
}
.account-greeting {
    font-size: 1.1rem;
    margin-bottom: 12px;
}
.account-greeting strong {
    font-weight: 700;
}
.account-message {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 600px;
}
.account-message a {
    color: #FED61D;
    text-decoration: underline;
    transition: color 0.2s;
}
.account-message a:hover {
    color: #bfa100;
}

@media (max-width: 800px) {
    .account-container {
        flex-direction: column;
        max-width: 100vw;
        margin: 0;
        min-height: unset;
        box-shadow: none;
        border-radius: 0;
    }
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding: 0;
        align-items: stretch;
    }
    .sidebar ul {
        width: 100%;
        display: block;
    }
    .sidebar ul li {
        width: 100%;
        text-align: left;
        padding: 18px 24px;
        font-size: 1.1rem;
        border-left: 4px solid transparent;
        border-bottom: 1px solid #f0f0f0;
    }
    .sidebar ul li.active {
        background: #fff7f2;
        color: black;
        font-weight: 700;
        border-left: 4px solid #FED61D;
    }
    .content-panel {
        padding: 16px 0;
        align-items: stretch;
        width: 100vw;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .account-heading {
        margin-top: 32px;
        margin-bottom: 24px;
        font-size: 1.5rem;
    }
    .account-message {
        font-size: 1rem;
        max-width: 100%;
    }
    .carousel {
        flex-direction: column !important;
        gap: 18px !important;
        overflow-x: visible !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        flex-wrap: nowrap !important;
    }
    .bestseller-product {
        margin: 0 auto !important;
        min-width: 320px !important;
        max-width: 320px !important;
        flex: 1 1 auto !important;
    }
}

.yellow-box {
    background: #fffbe6;
    border: 1.5px solid #ffe066;
    border-radius: 8px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(255, 224, 102, 0.08);
}
.yellow-title {
    width: 210px;
    font-family: Figtree;
    color: black;
    font-weight: 700;
    text-align: center;
    font-size: 19px;

}
.yellow-title-password{
    text-align: left;
}
.yellow-link {
    color: #bfa100;
    text-decoration: underline;
    font-weight: 600;
}
.yellow-link:hover {
    color: #ffb300;
}
.yellow-btn {
    background: #ffe066;
    color: #111;
    border: none;
    border-radius: 4px;
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 18px;
    transition: background 0.2s;
}
.yellow-btn:hover {
    background: #ffeb99;
}
.address-flex {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.address-col {
    flex: 1 1 220px;
    min-width: 220px;
}
@media (max-width: 800px) {
    .address-flex {
        flex-direction: column;
        gap: 18px;
        margin-left: 12px;
        margin-right: 12px;
    }
    
}
.dashboard-info{
    font-family: Figtree;
    margin-bottom: 18px;
    color: black;
    font-size: 1rem;
}
.dashboard-box {
    background: #f9fafb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 40px 32px 32px 32px;
    margin: 0 auto 32px auto;
    max-width: 520px;
    text-align: center;
}
.dashboard-greeting {
    font-family: Figtree;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 18px;
    font-weight: 400;
}
.dashboard-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 32px;
}
.dashboard-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1 rem;
    color: black;
    text-decoration: none;
    font-weight: 500;
    background: #fffbe6;
    border-radius: 6px;
    padding: 12px 0px;
    transition: background 0.2s, color 0.2s;
}
.dashboard-link:hover {
    background: #fff7c2;
}
.dashboard-link-icon {
    font-size: 1.2em;
    vertical-align: middle;
}
@media (max-width: 800px) {
    .dashboard-box {
        padding: 28px;
        max-width: 98vw;
    }
}

.account-form.yellow-form {
    background: #fffbe6;
    border: 1.5px solid #ffe066;
    border-radius: 8px;
    padding: 32px 28px 28px 28px;
    box-shadow: 0 2px 8px rgba(255, 224, 102, 0.08);
    margin-bottom: 24px;
}
.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.yellow-label, .form-group label {
    font-weight: 700;
    color: black;
    margin-bottom: 6px;
    font-size: 1.05rem;
}
.form-group label{
    font-family: Figtree;
    font-weight: 700;
    color: black;
    margin-bottom: 6px;
    font-size: 1.05rem;
}
.account-form input[type="text"],
.account-form input[type="email"],
.account-form input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #ffe066;
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 2px;
    background: #fff;
    transition: border 0.2s, box-shadow 0.2s;
}
.account-form input[type="text"]:focus,
.account-form input[type="email"]:focus,
.account-form input[type="password"]:focus {
    border: 1.5px solid #bfa100;
    outline: none;
    box-shadow: 0 0 0 2px #fffbe6;
}
.account-form small {
    color: black;
    font-size: 0.98rem;
    margin-bottom: 10px;
}
.account-form h3.yellow-title {
    color: black;
    margin-top: 24px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.orders-products {
    display: flex;
    flex-direction: row;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 32px;
    justify-content: flex-start;

}
@media (max-width: 800px) {
    .orders-products {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }
    .yellow-title-password{
        text-align: left;    
    
    }
}

.carousel {
  display: flex;
  flex-direction: row;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex-wrap: nowrap;
}
.carousel::-webkit-scrollbar {
  display: none;
}
.bestseller-product {
  background: #f5f7fa;
  border-radius: 28px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 320px;
  min-width: 320px;
  max-width: 320px;
  margin: 0 auto;
  padding: 24px 18px 18px 18px;
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
  flex: 0 0 320px;
  cursor: pointer;
}
.bestseller-product:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 36px rgba(0,0,0,0.16);
}
.bestseller-item {
  background: transparent;
  border-radius: 20px;
  width: 220px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
  border: none;
  overflow: hidden;
}
.bestseller-item img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.bestseller-info {
  text-align: center;
  margin-top: 0;
  margin-bottom: 12px;
}
.bestseller-title {
  font-family: 'Alike Angular', sans-serif;
  font-weight: 700;
  font-size: 1.2em;
  color: #222;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.stars {
  color: #ffd600;
  font-size: 1.1em;
  margin-bottom: 4px;
}
.price {
  font-family: 'Alike Angular', sans-serif;
  font-size: 1.1em;
  color: #222;
  margin-bottom: 0;
  font-weight: 600;
}
@media (max-width: 600px) {
  .carousel {
    gap: 16px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .bestseller-product {
    flex: 0 0 80vw;
    min-width: 80vw;
    max-width: 90vw;
  }
}

.content-section > p:first-child {
    margin-top: 0;
}

/* --- Addresses Section Enhancements --- */
.address-desc {
    color: #7a6a00;
    font-size: 1.08rem;
    margin-bottom: 28px;
    text-align: center;
}
.address-card {
    box-shadow: 0 2px 12px rgba(255, 224, 102, 0.10);
    border-radius: 14px;
    padding: 20px 20px;
    margin-bottom: 0;
    position: relative;
    min-width: 380px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1.5px solid #ffe066;
    background: #fffbe6;
}
.address-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap:5px;
    margin-bottom: 18px;
}
.address-icon {
    font-size: 1.6em;
    background: #fff7c2;
    border-radius: 50%;
    padding: 7px 10px 7px 10px;
    box-shadow: 0 1px 4px rgba(255, 224, 102, 0.13);
    border: 1.5px solid #ffe066;
    margin-right: 2px;
}
.address-action-btn {
    margin-bottom: 20px;
    font-size: 1rem;
    padding: 7px 18px;
    background:  #FED61D;
    color: black;
    border: 1.5px solid #ffe066;
    border-radius: 5px;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(255, 224, 102, 0.10);
    transition: background 0.18s, color 0.18s, border 0.18s;
    z-index: 2;
}
.address-action-btn:hover {
    background: #ffe066;
    border: 1.5px solid #ffde59;
}
.address-info {
    width: 100%;
    margin-top: 6px;
}
.address-field {
    display: flex;
    gap: 30px;
    margin-bottom: 7px;
    font-size: 1.2rem;
}
.address-label {
    font-weight: 700;
    color: black;
    min-width: 90px;
    display: inline-block;
}
.address-value {
    color: #222;
    font-weight: 500;
}
@media (max-width: 1080px) {
    .address-flex {
      justify-content: center;
      align-items: center;
    }
    .address-card {
      margin: 18px auto;
    }
  }
@media (max-width: 800px) {
    .account-heading{
        font-size: 3rem;
}
    .address-flex {
        flex-direction: column;
        gap: 18px;
        margin-left: 12px;
        margin-right: 12px;
    }
    .address-card {
        max-width: 400px;
        min-width: 0;
        padding: 18px 14px 14px 14px;
    }
    .address-card-header {
        margin-bottom: 12px;
    }
    .address-action-btn {
        top: 10px;
        right: 25px;
        padding: 6px 14px;
        font-size: 0.97rem;
    }
    .address-field {
        flex-direction: row;
        align-items: flex-start;
        gap: 6px;
        font-size: 1.01rem;
    }
    .address-label {
        min-width: 80px;
        font-size: 1.01rem;
        text-align: left;
        margin-right: 2px;
    }
}

.form-divider {
    width: 80%;
    height: 2px;
    background: #FFD700;
    border-radius: 2px;
    margin: 24px auto 18px auto;
    border: none;
}
.detail{
    width: 400px;
    margin:auto;
    font-size:30px;
}
.save {
    width: 100%;
    display: block;
    box-sizing: border-box;
    margin: 18px 0 0 0;
}

/* --- Orders Section Unique Product Card Styles --- */
.order-product {
  background: #f5f7fa;
  border-radius: 28px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 320px;
  min-width: 320px;
  max-width: 320px;
  margin: 0 auto;
  padding: 24px 18px 18px 18px;
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
  flex: 0 0 320px;
  cursor: pointer;
}
.order-product:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 36px rgba(0,0,0,0.16);
}
.order-item {
  background: transparent;
  border-radius: 20px;
  width: 220px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
  border: none;
  overflow: hidden;
}
.order-item img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.order-info {
  text-align: center;
  margin-top: 0;
  margin-bottom: 12px;
}
.order-title {
  font-family: 'Alike Angular', sans-serif;
  font-weight: 700;
  font-size: 1.2em;
  color: #222;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.order-stars {
  color: #ffd600;
  font-size: 1.1em;
  margin-bottom: 4px;
}
.order-price {
  font-family: 'Alike Angular', sans-serif;
  font-size: 1.1em;
  color: #222;
  margin-bottom: 0;
  font-weight: 600;
}
@media (max-width: 600px) {
  .carousel {
    gap: 16px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .order-product {
    flex: 0 0 80vw;
    min-width: 80vw;
    max-width: 90vw;
  }
}
