/* ========================================
   1. ROOT VARIABLES
======================================== */
:root {
  --green: #15905b;
  --green-dark: #0b6d3a;
  --dark: #123026;
  --muted: #66756f;
  --bg: #f6faf8;
  --line: #e3ebe7;
  --white: #ffffff;

  --shadow-sm: 0 8px 24px rgba(18, 48, 38, 0.06);
  --shadow-md: 0 18px 40px rgba(18, 48, 38, 0.08);
  --shadow-lg: 0 24px 60px rgba(18, 48, 38, 0.12);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
}

/* ========================================
   2. GLOBAL
======================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: var(--dark);
}

a {
  color: inherit;
  text-decoration: none;
}

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

main {
  min-height: calc(100vh - 150px);
}

.section,
.page-head,
.toolbar,
.split,
.contact-cards,
.grid,
.table-wrap,
.product-detail,
.back {
  margin-left: 6vw;
  margin-right: 6vw;
}

.section {
  padding: 0px 0;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.highlight {
  color: var(--green);
}

.muted {
  color: var(--muted);
}

/* ========================================
   3. HEADER
======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 6vw;
}

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

.nav-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-text {
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.15;
  color: var(--green-dark);
}

nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

nav a {
  transition: 0.2s ease;
}

nav a:hover {
  color: var(--green);
}

.menu {
  display: none;
  border: 0;
  background: #edf7f1;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}

/* ========================================
   4. BUTTONS
======================================== */
.btn {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 13px 18px;
  border-radius: 14px;
  background: white;
  font-weight: 700;
  transition: 0.25s ease;
}

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

.btn.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
  box-shadow: 0 8px 20px rgba(21,144,91,0.25);
}

.btn.small {
  padding: 9px 12px;
  font-size: 14px;
}

.btn.danger {
  color: #a52a2a;
  background: #fff1f1;
  border-color: #ffd1d1;
}

/* ========================================
   5. HERO
======================================== */
.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 30px;
  align-items: center;
  padding: 18px 6vw 55px;
  background:
    radial-gradient(circle at top right, rgba(21,144,91,.12), transparent 28%),
    linear-gradient(135deg, #f4fff8, #eef7ff);
}

.hero h1 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.03;
  margin: 10px 0;
  font-family: 'Space Grotesk', sans-serif;
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #5f6f68;
  font-weight: 700;
  font-size: 13px;
}

.actions,
.card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-card,
.notice,
.card,
.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
}

.hero-card {
  padding: 28px;
}

/* ========================================
   6. HOMEPAGE STATS
======================================== */
.stats-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background: linear-gradient(135deg, #ffffff, #f7fbf8);
}

.stat-box {
  background: white;
  border: 1px solid #dfe8e3;
  border-radius: 18px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
  transition: all 0.25s ease;
}

.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-box h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  color: var(--green);
}

.stat-box p {
  margin-top: 8px;
  font-size: 14px;
  color: #5f6f68;
  font-weight: 600;
}

/* ========================================
   7. SHOP PAGE
======================================== */
.page-head {
  padding: 8px 0 18px;
}

.page-head h1 {
  font-size: 26px;
  margin: 8px 0;
}

.page-head p {
  color: var(--muted);
}

.toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.toolbar input,
.toolbar select {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 16px;
  background: white;
}

/* ========================================
   8. VIEW TOGGLE
======================================== */
.view-toggle {
  display: flex;
  gap: 6px;
}

.view-toggle button {
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
}

.view-toggle button.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

/* ========================================
   9. PRODUCT GRID
======================================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.25s ease;
}

.product-card {
  position: relative;
}

.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  z-index: 10;
}

.product-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.badge-featured { background: #f59e0b; }
.badge-bestseller { background: #dc2626; }
.badge-new { background: #16a34a; }
.badge-sale { background: #7c3aed; }
.badge-promo { background: #2563eb; }
.badge-limited { background: #111827; }

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--bg);
}

.product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-info span {
  color: var(--muted);
  font-size: 14px;
}

.product-info h3 {
  margin: 8px 0;
  font-size: 18px;
  min-height: 52px;
}

.product-info .price {
  color: var(--green);
  font-weight: 700;
  font-size: 18px;
}

.price {
  margin: 14px 0 0;
}

/* ========================================
   10. COMPACT GRID VIEW
======================================== */
.grid.compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 260px));
  gap: 20px;
  justify-content: start;
}

.grid.compact-grid .product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.grid.compact-grid .product-info {
  padding: 14px;
}

.grid.compact-grid .product-info h3 {
  font-size: 17px;
  min-height: 42px;
  line-height: 1.3;
}

.grid.compact-grid .product-info .price {
  margin-top: 8px;
  font-size: 19px;
}

.grid.compact-grid .card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.grid.compact-grid .btn {
  flex: 1;
  text-align: center;
}

/* ========================================
   11. LIST VIEW
======================================== */
.grid.list-view {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.grid.list-view .product-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 10px;
  align-items: center;
}

.grid.list-view .product-badges {
  top: 6px;
  left: 6px;
  gap: 4px;
  max-width: 80px;
}

.grid.list-view .product-badge {
  padding: 2px 6px;
  font-size: 9px;
  line-height: 1.2;
}

.grid.list-view .product-card img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
}

.grid.list-view .product-info {
  padding: 0;
}

.grid.list-view .product-info h3 {
  font-size: 15px;
  margin: 4px 0;
  min-height: auto;
}

.grid.list-view .product-info .price {
  font-size: 14px;
  margin-top: 4px;
}

.grid.list-view .card-actions {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.grid.list-view .btn {
  padding: 6px 10px;
  font-size: 12px;
}

/* ========================================
   12. PRODUCT DETAIL
======================================== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  padding: 35px 0 70px;
}

.detail-img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.back {
  display: block;
  margin-top: 30px;
  color: var(--green);
  font-weight: 700;
}

.description {
  line-height: 1.7;
  color: #2c463b;
  margin: 18px 0;
  white-space: normal;
}

.variant-label {
  display: block;
  margin-top: 12px;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.variant-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  font-size: 14px;
}

.variant-meta {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.stock-pill {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #edf7f1;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

/* ========================================
   13. SPLIT / NOTICE
======================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 30px 0 70px;
}

.notice,
.card {
  padding: 24px;
}

.card-desc {
  color: var(--muted);
  font-size: 14px;
  min-height: 42px;
}

/* ========================================
   14. CONTACT
======================================== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  padding: 20px 0 70px;
}

.card a {
  color: var(--green);
  font-weight: 700;
}

.card a:hover {
  text-decoration: underline;
}

/* ========================================
   15. PRICELIST TABLE
======================================== */

.price-list-wrap {
  margin: 0 6vw 70px;
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.price-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: 0.2s ease;
}

.price-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.price-item-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.price-item-info h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.3;
}

.price-item-info p {
  margin: 0;
  color: var(--green);
  font-size: 18px;
  font-weight: 700;
}


.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-bottom: 70px;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  min-width: 680px;
}

th,
td {
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--bg);
}

/* ========================================
   16. CART LAYOUT
======================================== */
.cart-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 28px;
  margin: 0 6vw 70px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 110px minmax(220px, 1fr) 80px;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.cart-img {
  width: 100px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.cart-info span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}

.cart-info h3 {
  margin: 4px 0 6px;
  line-height: 1.25;
  font-size: 17px;
  font-weight: 700;
  max-width: 100%;
}

.cart-info p,
.cart-info small {
  margin: 4px 0 0;
}

.qty-box label {
  margin-bottom: 4px;
}

.qty-box input {
  width: 48px;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-info small {
  color: var(--muted);
  font-size: 12px;
}

.qty-box label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}


.cart-line-total {
  font-weight: 700;
  color: var(--green);
  font-size: 18px;
}

.remove-btn {
  border: 0;
  background: #fff1f1;
  color: #a52a2a;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.cart-line-total {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
}

/* ========================================
   17. CART SUMMARY
======================================== */
.cart-summary {
  position: sticky;
  top: 92px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: white;
  box-shadow: var(--shadow-md);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.empty-cart {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 35px;
  background: white;
}

/* ========================================
   18. ORDER FORM
======================================== */
.customer-info {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.customer-info h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.customer-info label {
  display: block;
  margin: 12px 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.customer-info input,
.customer-info textarea,
#orderSummaryText {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  font: inherit;
  color: var(--dark);
}

.customer-info textarea,
#orderSummaryText {
  resize: vertical;
}

#orderSummaryText {
  margin-top: 16px;
}

.order-note {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.order-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}

.order-actions .btn {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#submitOrderBtn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ========================================
   19. UTILITIES
======================================== */
#productCount {
  font-weight: 700;
  color: var(--green);
}

.sheet-warning {
  margin: 16px auto;
  max-width: 1100px;
  padding: 14px 16px;
  border: 1px solid #f0c36d;
  border-radius: 12px;
  background: #fff8e5;
  color: #5f4300;
}

.sheet-warning span {
  color: #6b5a2c;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-size: 12px;
  font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
}

.product-card button,
.actions button,
.link-button {
  font: inherit;
  cursor: pointer;
}

/* ========================================
   20. TOAST
======================================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(30px);
  opacity: 0;
  background: white;
  color: var(--dark);
  padding: 14px 18px;
  border-radius: 16px;
  border-left: 5px solid var(--green);
  box-shadow: 0 14px 40px rgba(0,0,0,0.15);
  transition: all 0.25s ease;
  z-index: 9999;
  min-width: 280px;
  max-width: 420px;
  font-weight: 600;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ========================================
   21. FOOTER
======================================== */
footer {
  text-align: center;
  padding: 22px 4vw;
  background: var(--dark);
  color: #dcebe5;
  font-size: 14px;
}

/* ========================================
   22. MOBILE RESPONSIVE
======================================== */
@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
    margin-left: 4vw;
    margin-right: 4vw;
  }


  .cart-summary {
    position: static;
  }
  .cart-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-areas:
    "img info"
    "img controls";
  gap: 12px;
  padding: 12px;
  align-items: start;
}

.cart-img {
  grid-area: img;
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.cart-info {
  grid-area: info;
  display: flex;
  flex-direction: column;
}

.cart-controls {
  grid-area: controls;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: nowrap;
}

.qty-box label {
  display: none;
}

.qty-box,
.cart-line-total,
.remove-btn {
  margin-top: 0;
}

.remove-btn {
  width: fit-content;
}

}

@media (max-width: 1100px) {
  .menu {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 67px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 18px 4vw;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-md);
  }

  nav.open {
    display: flex;
  }
}

@media (max-width: 760px) {

  .thankyou-card {
  padding: 32px 20px;
}

.thankyou-card h1 {
  font-size: 28px;
}

  .site-header {
    padding: 14px 4vw;
  }

  .section,
  .page-head,
  .toolbar,
  .split,
  .contact-cards,
  .grid,
  .table-wrap,
  .product-detail,
  .back {
    margin-left: 4vw;
    margin-right: 4vw;
  }

  .toolbar {
    flex-direction: column;
  }

  .hero,
  .split,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 8px 4vw 34px;
    gap: 22px;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 1.05;
  }

  .hero p {
    font-size: 16px;
  }

  .actions {
    flex-direction: column;
  }

  .actions .btn {
    width: 100%;
    text-align: center;
  }

  .page-head h1 {
    font-size: 25px;
  }

  .brand-text {
    font-size: 14px;
  }

  .nav-logo {
    width: 34px;
    height: 34px;
  }

  /* Mobile Grid View */
  .grid.compact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .grid.compact-grid .product-card img {
    aspect-ratio: 1 / 1;
  }

  .grid.compact-grid .product-info {
    padding: 8px;
  }

  .grid.compact-grid .product-info span {
    font-size: 11px;
  }

  .grid.compact-grid .product-info h3 {
    font-size: 13px;
    min-height: 15px;
    line-height: 1.2;
  }

  .grid.compact-grid .product-info .price {
    font-size: 14px;
    margin-top: 4px;
  }

  .grid.compact-grid .card-actions {
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
  }

  .grid.compact-grid .btn {
    width: 100%;
    padding: 6px;
    font-size: 11px;
  }

  /* Mobile List View */
  .grid.list-view .product-card {
    grid-template-columns: 75px 1fr;
  }

  .grid.list-view .product-card img {
    width: 75px;
    height: 75px;
  }

  .grid.list-view .btn {
    font-size: 11px;
    padding: 6px 8px;
  }

  .stats-card {
    gap: 12px;
  }

  .stat-box {
    padding: 18px 12px;
  }

  .stat-box h3 {
    font-size: 22px;
  }

  .toast {
    min-width: auto;
    width: calc(100% - 40px);
    max-width: 340px;
    font-size: 14px;
  }

  .price-list-wrap {
  margin-left: 4vw;
  margin-right: 4vw;
}

.price-item {
  grid-template-columns: 70px 1fr;
  padding: 12px;
}

.price-item-img {
  width: 70px;
  height: 70px;
}

.price-item-info h3 {
  font-size: 14px;
}

.price-item-info p {
  font-size: 16px;
}
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 34px;
  }

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

.sync-btn {
  background: none;
  border: none;
  color: #facc15;
  cursor: pointer;
  font-size: inherit;
  font-weight: 600;
  padding: 0 4px;
}

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

.fbm-btn {
  background: white;
  color: #1877f2;
  border: 2px solid #1877f2;
  font-weight: 600;
  transition: all 0.2s ease;
}

.fbm-btn:hover {
  background: #1877f2;
  color: white;
}

.featured-grid {
  gap: 14px;
}

.section #featuredProducts {
  margin-left: 0;
  margin-right: 0;
}

.map-section {
  margin: 30px 6vw 60px;
}

.map-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-info {
  padding: 24px;
}

.map-info h3 {
  margin-bottom: 10px;
}

.map-info p {
  margin: 6px 0;
  color: var(--muted);
}

.map-info .btn {
  margin-top: 16px;
  display: inline-block;
}

.thankyou-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 30px 6vw 50px;
}

.thankyou-card {
  width: 100%;
  max-width: 680px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.thankyou-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #edf7f1;
  color: var(--green);
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thankyou-card h1 {
  margin-bottom: 10px;
  font-size: 28px;
}

.thankyou-card p {
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
}

#orderSummaryBox {
  margin-top: 20px;
  padding: 14px 16px;
  background: #f8fbf9;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: left;
  font-size: 13px;
  line-height: 1.45;
  
}

.thankyou-items {
  margin-top: 12px;
  max-height: 180px;
  overflow-y: auto;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;

}

.thankyou-info {
  line-height: 1.5;
}

.order-history-list {
  display: grid;
  gap: 18px;
}

.order-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.order-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.order-card p {
  margin: 6px 0;
  color: var(--muted);
}

.order-card .btn {
  margin-top: 14px;
}

#submitOrderBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#submitOrderBtn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
}

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