/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #f5f3f0;
  color: #2d2520;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bodoni Moda', 'Noto Serif TC', serif;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Promo Banner */
.promo-banner {
  background-color: #7d7368;
  color: white;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.875rem;
}

/* Navigation */
.navigation {
  background-color: #f5f3f0;
  border-bottom: 1px solid #ddd6cd;
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: #c89898;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #b58080;
}

.nav-logo img {
  height: 4rem;
  width: auto;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 1rem;
}

.icon-button {
  color: #74695f;
  transition: color 0.3s ease;
}

.icon-button:hover {
  color: #2d2520;
}

.cart-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(45, 37, 32, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 1rem;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  font-style: italic;
}

.btn {
  display: inline-block;
  padding: 0.75rem 3rem;
  border-radius: 9999px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-outline-white {
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: white;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}

.btn-outline-white:hover {
  background: white;
  color: #2d2520;
}

.btn-outline-secondary {
  border: 1px solid #7d7368;
  color: #7d7368;
}

.btn-outline-secondary:hover {
  background: #7d7368;
  color: white;
}

.btn-secondary {
  background: #7d7368;
  color: white;
}

.btn-secondary:hover {
  background: #6d645a;
}

/* Brand Story Section */
.brand-story {
  padding: 5rem 0;
  background-color: #f7f5f2;
}

.brand-content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}

.brand-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.brand-logo img {
  height: 6rem;
  width: auto;
  opacity: 0.8;
}

.brand-heading {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #74695f;
  letter-spacing: 0.05em;
}

.brand-text {
  font-family: 'Bodoni Moda', 'Noto Serif TC', serif;
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: #74695f;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
}

/* Featured Products Section */
.featured-products {
  padding: 5rem 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.section-title-group h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-title-group p {
  font-size: 1.5rem;
}

.products-section {
  margin-bottom: 5rem;
}

.section-heading {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #74695f;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 90rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Product Card */
.product-card {
  transition: transform 0.3s ease;
}

.product-image-wrapper {
  aspect-ratio: 1;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 0.25rem;
  background-color: white;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-info {
  text-align: center;
}

.product-label {
  font-size: 0.875rem;
  color: #74695f;
  margin-bottom: 0.5rem;
}

.product-name {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.product-price {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

/* Product Detail Page */
.product-detail {
  padding: 3rem 0;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .product-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.product-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.product-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.product-header .price {
  font-size: 2rem;
}

.product-description {
  color: rgba(45, 37, 32, 0.8);
}

.product-description h2 {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.product-description p {
  margin-bottom: 0.5rem;
}

.product-specs {
  color: rgba(45, 37, 32, 0.8);
}

.product-specs p {
  margin-bottom: 0.5rem;
}

/* Quantity Selector */
.product-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid #ddd6cd;
  border-radius: 9999px;
}

.quantity-btn {
  padding: 0.75rem;
  transition: background-color 0.3s ease;
}

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

.quantity-btn:first-child {
  border-radius: 9999px 0 0 9999px;
}

.quantity-btn:last-child {
  border-radius: 0 9999px 9999px 0;
}

.quantity-value {
  padding: 0 1.5rem;
  font-size: 1.125rem;
}

/* Product Image Gallery */
.product-image-gallery {
  position: relative;
  background-color: white;
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 1;
}

.product-image-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  padding: 0.75rem;
  border-radius: 9999px;
  transition: background-color 0.3s ease;
}

.gallery-nav:hover {
  background-color: white;
}

.gallery-nav-left {
  left: 1rem;
}

.gallery-nav-right {
  right: 1rem;
}

/* Icons */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .nav-left, .nav-right {
    gap: 1rem;
    font-size: 0.875rem;
  }
  
  .section-header {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Utilities */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

/* Catalog Page */
.catalog-page {
  padding: 3rem 0 5rem;
}

.catalog-header {
  text-align: center;
  margin-bottom: 3rem;
}

.catalog-header h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.catalog-header p {
  font-size: 1.125rem;
  color: #74695f;
  max-width: 40rem;
  margin: 0 auto;
}

.catalog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.filter-group label {
  font-size: 1rem;
  color: #74695f;
}

.filter-group select {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border: 1px solid #ddd6cd;
  border-radius: 4px;
  background-color: white;
  color: #2d2520;
}

/* Pagination */
.pagination {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}

.pagination ul {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

.pagination a {
  display: block;
  padding: 0.75rem 1.25rem;
  border: 1px solid #ddd6cd;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background-color: #ede8e1;
  border-color: #c89898;
}

.pagination a.active {
  background-color: #7d7368;
  color: white;
  border-color: #7d7368;
}

/* Footer */
.footer {
  background-color: #e5e0da;
  padding: 4rem 0 2rem;
  border-top: 1px solid #ddd6cd;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .footer-logo {
  height: 4rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  color: #74695f;
}

.footer-links h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #2d2520;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #74695f;
}

.footer-links a:hover {
  color: #2d2520;
}

.footer-social h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-social p {
  color: #74695f;
  margin-bottom: 1rem;
}

.subscribe-form {
  display: flex;
}

.subscribe-form input {
  flex-grow: 1;
  border: 1px solid #ddd6cd;
  padding: 0.75rem;
  border-radius: 4px 0 0 4px;
  font-family: inherit;
  font-size: 1rem;
}

.subscribe-form input:focus {
  outline: none;
  border-color: #c89898;
}

.subscribe-form button {
  border-radius: 0 4px 4px 0;
  padding: 0 1.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #ddd6cd;
  font-size: 0.875rem;
  color: #74695f;
}

/* Cart Page */
.cart-page {
  padding: 3rem 0 5rem;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 2.8rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .cart-layout {
    grid-template-columns: 2fr 1fr;
    align-items: flex-start;
  }
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 4px;
  border: 1px solid #ede8e1;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.cart-item-details .product-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.cart-item-details .product-price {
  font-size: 1rem;
  color: #74695f;
  margin-bottom: 1rem;
}

.cart-item-actions {
  text-align: right;
}

.item-total-price {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.remove-item-btn {
  color: #c89898;
  font-size: 0.875rem;
  text-decoration: underline;
}

.remove-item-btn:hover {
  color: #b58080;
}

.cart-summary {
  background-color: #fff;
  padding: 2rem;
  border-radius: 4px;
  border: 1px solid #ede8e1;
  position: sticky;
  top: 7rem; /* 5rem nav + 2rem spacing */
}

.cart-summary h2 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  text-align: center;
}
.coupon-row {
  margin: 1.25rem 0 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid #eee7df;
  border-radius: 10px;
  background: #faf7f3;
}
.coupon-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #3a2f27;
}
.coupon-input {
  display: flex;
  gap: 0.5rem;
}
.coupon-input input {
  flex: 1;
}
.coupon-input .btn {
  white-space: nowrap;
}
.coupon-hint {
  display: block;
  margin-top: 0.45rem;
  color: #7a6f66;
  font-size: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.summary-row.total {
  font-size: 1.25rem;
  font-weight: 700;
  padding-top: 1rem;
  border-top: 1px solid #ddd6cd;
  margin-top: 1rem;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 1rem;
}

.continue-shopping-link {
  display: block;
  text-align: center;
  color: #74695f;
  text-decoration: underline;
  margin-top: 1.5rem;
}

/* Checkout Page */
.checkout-page {
  padding: 3rem 0 5rem;
  background-color: #fff;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .checkout-layout {
    grid-template-columns: 6fr 4fr;
    align-items: flex-start;
  }
}

.checkout-section {
  margin-bottom: 3rem;
}

.checkout-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ddd6cd;
}

.checkout-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.form-group {
  flex: 1 1 100%;
}

.form-group-half {
  flex: 1 1 calc(50% - 0.75rem);
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #74695f;
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd6cd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd6cd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

.form-group select:disabled {
  background: #f7f4ef;
  color: #9b948d;
}

.select2-container {
  width: 100% !important;
}

.select2-container--default .select2-selection--single {
  height: 48px;
  border: 1px solid #ddd6cd;
  border-radius: 4px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 46px;
  color: #433b34;
  padding-left: 1rem;
  padding-right: 2rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px;
  right: 10px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #ddd6cd;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #bfa486;
}

.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #ddd6cd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background-color: #fbf8f5;
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus {
  outline: none;
  border-color: #c89898;
  box-shadow: 0 0 0 2px rgba(200, 152, 152, 0.2);
}

.form-group textarea:focus {
  outline: none;
  border-color: #c89898;
  box-shadow: 0 0 0 2px rgba(200, 152, 152, 0.2);
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.payment-method {
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 1px solid #ddd6cd;
  border-radius: 4px;
}

.payment-method input {
  margin-right: 1rem;
}

/* Order Summary (Checkout) */
.order-summary {
  background-color: #f5f3f0;
  padding: 2rem;
  border-radius: 4px;
  border: 1px solid #ede8e1;
  position: sticky;
  top: 2rem;
}

.order-summary h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.summary-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #ddd6cd;
}

.summary-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 1rem;
  align-items: center;
}

.summary-item-image {
  position: relative;
}

.summary-item-image img {
  width: 100%;
  border-radius: 4px;
}

.summary-item-quantity {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background-color: #7d7368;
  color: white;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.summary-item-details h3 {
  font-size: 1rem;
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.summary-item-details span {
  font-size: 0.875rem;
  color: #74695f;
}

.summary-item-price {
  font-weight: 500;
}

.summary-totals {
  padding-bottom: 1.5rem;
}

/* Order Confirmation Page */
.confirmation-page {
  padding: 5rem 1rem;
  background-color: #f5f3f0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirmation-box {
  max-width: 48rem;
  width: 100%;
  background-color: #fff;
  padding: 3rem;
  border-radius: 4px;
  border: 1px solid #ede8e1;
  text-align: center;
}

.confirmation-hero {
  display: grid;
  grid-template-columns: 5rem auto;
  gap: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8f5ef, #f1ede6);
  text-align: left;
}

.confirmation-hero.success {
  background: linear-gradient(135deg, #f1f8f2, #e7f3ea);
}

.confirmation-hero.pending {
  background: linear-gradient(135deg, #fef8ee, #f9f1e3);
}

.confirmation-hero.error {
  background: linear-gradient(135deg, #fff5f5, #fceaea);
}

.confirmation-icon {
  color: #7d7368;
  margin-bottom: 1.5rem;
}

.confirmation-icon .icon-lg {
  width: 4rem;
  height: 4rem;
}

.confirmation-hero .confirmation-icon {
  margin-bottom: 0;
  align-self: center;
}

.status-pill {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(45, 37, 32, 0.08);
  color: #2d2520;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

.confirmation-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.confirmation-text {
  font-size: 1.125rem;
  color: #74695f;
  margin-bottom: 1rem;
}

.confirmation-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem 1rem;
  margin-top: 1.25rem;
}

.meta-item {
  background: #faf7f3;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
}

.meta-item.meta-warning {
  background: #fff4e8;
  color: #b36108;
}

.meta-label {
  display: block;
  font-size: 0.8rem;
  color: #7a6f66;
  margin-bottom: 0.15rem;
}

.meta-value {
  font-weight: 600;
  color: #2d2520;
}

.order-number {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.order-number strong {
  color: #2d2520;
}

.confirmation-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.order-summary-preview {
  border-top: 1px solid #ddd6cd;
  padding-top: 2rem;
  text-align: left;
}

.order-summary-preview .summary-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.order-summary-preview .summary-items {
  border: none;
}

/* Account Page */
.account-page {
  padding: 5rem 1rem;
  background-color: #f5f3f0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.account-container {
  max-width: 28rem;
  width: 100%;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #ede8e1;
  overflow: hidden;
}

.account-tabs {
  display: flex;
}

.tab-link {
  flex: 1;
  padding: 1.25rem;
  font-size: 1.25rem;
  color: #74695f;
  background-color: #f7f5f2;
  border-bottom: 1px solid #ddd6cd;
  transition: all 0.3s ease;
}

.tab-link.active {
  background-color: #fff;
  color: #2d2520;
  border-bottom-color: transparent;
}

.tab-content {
  display: none;
  padding: 2.5rem;
}

.tab-content.active {
  display: block;
}

.account-form h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.account-form .form-group {
  margin-bottom: 1.5rem;
}

.forgot-password {
  display: block;
  text-align: right;
  font-size: 0.875rem;
  color: #74695f;
  margin-bottom: 1.5rem;
}

/* Account Layout Page (for Orders, Profile, etc.) */
.account-layout-page {
  padding: 3rem 0 5rem;
}

.account-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .account-layout {
    grid-template-columns: 1fr 3fr;
    align-items: flex-start;
  }
}

.account-nav {
  background: #fff;
  padding: 1.5rem;
  border-radius: 4px;
  border: 1px solid #ede8e1;
}

.account-nav ul {
  list-style: none;
}

.account-nav li a,
.account-nav li button.account-nav-link {
  display: block;
  padding: 1rem;
  border-radius: 4px;
  color: #74695f;
  font-weight: 500;
  transition: all 0.3s ease;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
}

.account-nav li a:hover,
.account-nav li button.account-nav-link:hover {
  background-color: #f5f3f0;
  color: #2d2520;
}

.account-nav li a.active,
.account-nav li button.account-nav-link.active {
  background-color: #e5e0da;
  color: #2d2520;
}

.account-section {
  display: none;
}

.account-section.active {
  display: block;
}

.account-content h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ddd6cd;
}

/* Order History */
.order-history {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.order-card {
  background: #fff;
  border-radius: 4px;
  border: 1px solid #ede8e1;
  overflow: hidden;
}

.order-card-header {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
  align-items: center;
  cursor: pointer;
}

.order-card-header p {
  margin: 0;
  font-size: 0.875rem;
  color: #74695f;
}

.order-card-header p strong {
  color: #2d2520;
  font-weight: 700;
}

.toggle-details-btn {
  justify-self: flex-end;
  color: #7d7368;
  text-decoration: underline;
}

.order-card-details {
  display: none;
  padding: 1.5rem;
  border-top: 1px solid #ede8e1;
  background-color: #f7f5f2;
}

.order-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

.order-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 1rem;
  align-items: center;
}

.order-item img {
  width: 100%;
  border-radius: 4px;
}

.order-item p {
  margin: 0;
}
