/*
  T5 Goods & Co — Stylesheet
  ===========================
  1. Variables & Reset
  2. Typography
  3. Base Layout
  4. Header & Logo Badge
  5. Decorative Dividers
  6. Section Headings
  7. Product Grid & Cards
  8. Product Image Placeholders
  9. Quantity Controls
  10. Special Instructions
  11. Page Layout (products + sidebar)
  12. Order Summary Sidebar
  13. Customer Form
  14. Submit Button
  15. Mobile Order Bar
  16. Footer
  17. Confirmation Page
  18. Responsive
*/

/* ============================================================
   1. VARIABLES & RESET
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Rye&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --cream:        #FDF6E3;
  --parchment:    #F2E4C0;
  --tan:          #E0C98A;
  --gold:         #C8973A;
  --gold-light:   #D4A96A;
  --rust:         #B85C2A;
  --rust-dark:    #8B3A18;
  --brown:        #5C2E0E;
  --dark:         #2C1810;
  --off-white:    #FFF9EE;

  --border:       #C4A070;
  --border-light: #DFC49A;

  --shadow-warm:  rgba(92, 46, 14, 0.14);
  --shadow-card:  0 3px 14px rgba(92, 46, 14, 0.13);
  --shadow-lift:  0 6px 24px rgba(92, 46, 14, 0.2);

  --radius:       6px;
  --radius-lg:    10px;

  --transition:   0.2s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--cream);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(180, 130, 50, 0.03) 40px,
      rgba(180, 130, 50, 0.03) 41px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(180, 130, 50, 0.03) 40px,
      rgba(180, 130, 50, 0.03) 41px
    );
  color: var(--dark);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

/* ============================================================
   2. TYPOGRAPHY
   ============================================================ */
.font-rye        { font-family: 'Rye', cursive; }
.font-playfair   { font-family: 'Playfair Display', serif; }
.font-lora       { font-family: 'Lora', serif; }

/* ============================================================
   3. BASE LAYOUT
   ============================================================ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   4. HEADER & LOGO BADGE
   ============================================================ */
.site-header {
  background: linear-gradient(160deg, var(--dark) 0%, var(--brown) 60%, #7A3C14 100%);
  padding: 52px 24px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle grain overlay */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.6;
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-bottom: 36px;
}

/* Logo Badge */
.logo-badge {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--dark);
  border: 2px solid var(--gold);
  box-shadow:
    0 0 0 7px var(--brown),
    0 0 0 10px var(--gold),
    0 0 0 13px var(--brown),
    0 12px 40px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 18px;
  flex-shrink: 0;
}

.logo-stars {
  font-size: 9px;
  letter-spacing: 6px;
  color: var(--gold);
  font-family: 'Lora', serif;
}

.logo-t5 {
  font-family: 'Rye', cursive;
  font-size: 52px;
  line-height: 1;
  color: var(--gold-light);
  text-shadow: 2px 2px 0 rgba(0,0,0,0.4);
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.5px;
  color: var(--tan);
  text-transform: uppercase;
}

.logo-rule {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 2px;
  margin: 1px 0;
}

.logo-location {
  font-family: 'Lora', serif;
  font-size: 8px;
  font-style: italic;
  letter-spacing: 3px;
  color: var(--gold-light);
  opacity: 0.85;
  text-transform: uppercase;
}

.tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--tan);
  max-width: 520px;
  line-height: 1.65;
  opacity: 0.92;
}

/* ============================================================
   5. DECORATIVE DIVIDERS
   ============================================================ */
.header-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0;
  background: linear-gradient(to bottom, var(--brown), var(--rust-dark));
  height: 32px;
}

.divider-line {
  flex: 1;
  max-width: 160px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.divider-icon {
  color: var(--gold);
  font-size: 13px;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 36px;
}

.section-divider .d-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

.section-divider .d-icon {
  color: var(--gold);
  font-size: 14px;
}

/* ============================================================
   6. SECTION HEADINGS
   ============================================================ */
.menu-section {
  padding: 56px 0 16px;
}

.section-title-block {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-family: 'Rye', cursive;
  font-size: 32px;
  color: var(--brown);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-subtitle {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--rust);
  opacity: 0.8;
}

/* ============================================================
   7. PRODUCT GRID & CARDS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
  margin-bottom: 8px;
}

.product-card {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.product-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--brown);
  line-height: 1.3;
}

.product-variant {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 13.5px;
  color: var(--rust);
  margin-top: 2px;
}

.product-description {
  font-family: 'Lora', serif;
  font-size: 12.5px;
  color: #7A5030;
  line-height: 1.55;
  margin-top: 8px;
  flex: 1;
}

.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--rust-dark);
  margin-top: 12px;
}

.product-price-sub {
  font-family: 'Lora', serif;
  font-size: 11px;
  color: #9A7050;
  margin-top: 1px;
}

/* ============================================================
   8. PRODUCT IMAGE PLACEHOLDERS
   ============================================================ */
.product-image-wrap {
  width: 100%;
  height: 170px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-wrap svg {
  width: 100%;
  height: 100%;
}

.product-image-wrap.sourdough {
  background: linear-gradient(145deg, #C4822A 0%, #7A4808 100%);
}

.product-image-wrap.king-cake {
  background: linear-gradient(145deg, #4A2070 0%, #8B5A00 100%);
}

.product-image-wrap.cookies {
  background: linear-gradient(145deg, #C49030 0%, #7A4808 100%);
}

.product-image-wrap.cinnamon-rolls {
  background: linear-gradient(145deg, #C07020 0%, #6A3010 100%);
}

.product-image-wrap.bagels {
  background: linear-gradient(145deg, #B87830 0%, #6A3C08 100%);
}

/* Stamp / label overlay */
.product-image-label {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 10px;
  color: rgba(255,240,200,0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================================================
   9. QUANTITY CONTROLS
   ============================================================ */
.quantity-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.qty-label {
  font-family: 'Lora', serif;
  font-size: 12px;
  color: #9A7050;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  flex: 1;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  background: var(--cream);
}

.qty-btn {
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: var(--rust);
  font-family: 'Lora', serif;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qty-btn:hover {
  background: var(--rust);
  color: var(--cream);
}

.qty-btn:active {
  background: var(--rust-dark);
  color: var(--cream);
}

.qty-btn:disabled {
  color: var(--border);
  cursor: not-allowed;
}

.qty-btn:disabled:hover {
  background: transparent;
  color: var(--border);
}

.qty-display {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--brown);
  min-width: 30px;
  text-align: center;
  line-height: 34px;
  user-select: none;
}

/* ============================================================
   10. SPECIAL INSTRUCTIONS
   ============================================================ */
.special-instructions-wrap {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
  margin-top: 0;
}

.special-instructions-wrap.visible {
  max-height: 120px;
  opacity: 1;
  margin-top: 12px;
}

.special-instructions-wrap label {
  display: block;
  font-family: 'Lora', serif;
  font-size: 11.5px;
  color: #9A7050;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 5px;
}

.special-instructions-wrap textarea {
  width: 100%;
  height: 62px;
  resize: none;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--cream);
  font-family: 'Lora', serif;
  font-size: 13px;
  color: var(--dark);
  padding: 8px 10px;
  outline: none;
  transition: border-color var(--transition);
  line-height: 1.5;
}

.special-instructions-wrap textarea:focus {
  border-color: var(--gold);
}

.special-instructions-wrap textarea::placeholder {
  color: #C0A080;
  font-style: italic;
}

/* ============================================================
   11. PAGE LAYOUT (products + sidebar)
   ============================================================ */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
  padding-bottom: 72px;
}

.products-col { min-width: 0; }

.sidebar-col {
  position: sticky;
  top: 24px;
}

/* ============================================================
   12. ORDER SUMMARY SIDEBAR
   ============================================================ */
.order-card {
  background: var(--off-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.order-card-header {
  background: linear-gradient(135deg, var(--brown) 0%, var(--rust-dark) 100%);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-card-header h3 {
  font-family: 'Rye', cursive;
  font-size: 18px;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.order-badge {
  background: var(--gold);
  color: var(--dark);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  display: none;
}

.order-card-body {
  padding: 16px 20px;
}

.order-empty {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 14px;
  color: #B09070;
  text-align: center;
  padding: 20px 0;
}

.order-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-line-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.order-line-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.order-item-info {
  flex: 1;
  min-width: 0;
}

.order-item-name {
  font-family: 'Playfair Display', serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.3;
}

.order-item-variant {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 12px;
  color: var(--rust);
}

.order-item-note {
  font-family: 'Lora', serif;
  font-size: 11px;
  color: #9A7050;
  margin-top: 2px;
  font-style: italic;
}

.order-item-price {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--rust-dark);
  white-space: nowrap;
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0 0;
  margin-top: 10px;
  border-top: 2px solid var(--border);
}

.order-total-label {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--brown);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.order-total-amount {
  font-family: 'Rye', cursive;
  font-size: 22px;
  color: var(--rust-dark);
}

/* Customer Form inside sidebar */
.customer-form-section {
  padding: 0 20px 20px;
  border-top: 1px solid var(--border-light);
  margin-top: 4px;
}

.customer-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--brown);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 16px 0 14px;
}

/* ============================================================
   13. CUSTOMER FORM
   ============================================================ */
.form-group {
  margin-bottom: 13px;
}

.form-group label {
  display: block;
  font-family: 'Lora', serif;
  font-size: 11.5px;
  color: #8A6040;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 5px;
}

.form-group .optional {
  font-style: italic;
  font-size: 10.5px;
  text-transform: none;
  letter-spacing: 0;
  color: #B09070;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--cream);
  font-family: 'Lora', serif;
  font-size: 13.5px;
  color: var(--dark);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 151, 58, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #C0A080;
  font-style: italic;
}

.form-group input.error,
.form-group textarea.error {
  border-color: #C03020;
}

.form-error {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 13px;
  color: #C03020;
  margin-bottom: 10px;
  padding: 8px 12px;
  background: #FFF0EE;
  border-radius: var(--radius);
  border-left: 3px solid #C03020;
}

/* ============================================================
   14. SUBMIT BUTTON
   ============================================================ */
.btn-submit {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--rust) 0%, var(--rust-dark) 100%);
  color: var(--cream);
  border: none;
  border-radius: var(--radius);
  font-family: 'Rye', cursive;
  font-size: 15px;
  letter-spacing: 1px;
  box-shadow: 0 4px 14px rgba(139, 58, 24, 0.35), inset 0 1px 0 rgba(255,255,255,0.12);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #C46030 0%, #9B4220 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 58, 24, 0.45);
}

.btn-submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(139, 58, 24, 0.3);
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   15. MOBILE ORDER BAR
   ============================================================ */
.mobile-order-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 20px 16px;
  background: linear-gradient(135deg, var(--brown) 0%, var(--rust-dark) 100%);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mobile-bar-info {
  color: var(--tan);
  font-family: 'Lora', serif;
  font-size: 13px;
}

.mobile-bar-total {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--gold-light);
}

.mobile-bar-btn {
  flex-shrink: 0;
  padding: 10px 20px;
  background: var(--gold);
  color: var(--dark);
  border: none;
  border-radius: 50px;
  font-family: 'Rye', cursive;
  font-size: 13px;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.mobile-order-bar.active {
  display: flex;
}

/* ============================================================
   16. FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  padding: 40px 24px;
  text-align: center;
  border-top: 3px solid var(--rust-dark);
}

.footer-inner {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-brand {
  font-family: 'Rye', cursive;
  font-size: 22px;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.footer-tagline {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--tan);
  opacity: 0.8;
  letter-spacing: 1px;
}

.footer-divider {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 4px;
  margin: 6px 0;
}

.footer-note {
  font-family: 'Lora', serif;
  font-size: 12px;
  color: #8A7060;
  line-height: 1.7;
}

/* ============================================================
   17. CONFIRMATION PAGE
   ============================================================ */
.confirmation-main {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 24px 80px;
}

.confirmation-card {
  max-width: 620px;
  width: 100%;
  background: var(--off-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.confirmation-hero {
  background: linear-gradient(135deg, var(--brown) 0%, var(--rust-dark) 100%);
  padding: 36px 32px 28px;
  text-align: center;
}

.confirmation-icon {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}

.confirmation-title {
  font-family: 'Rye', cursive;
  font-size: 28px;
  color: var(--gold-light);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.confirmation-subtitle {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--tan);
  opacity: 0.9;
}

.confirmation-body {
  padding: 28px 32px 32px;
}

.conf-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brown);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}

.conf-info-row {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
  font-family: 'Lora', serif;
  font-size: 14px;
  color: var(--dark);
}

.conf-info-label {
  font-weight: 500;
  color: #8A6040;
  min-width: 80px;
}

.conf-order-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-light);
  font-family: 'Lora', serif;
  font-size: 14px;
  color: var(--dark);
}

.conf-order-item:last-child { border-bottom: none; }

.conf-item-left { flex: 1; }
.conf-item-name { font-weight: 500; color: var(--brown); }
.conf-item-note { font-style: italic; font-size: 12px; color: #9A7050; margin-top: 2px; }
.conf-item-price { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--rust-dark); }

.conf-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 2px solid var(--border);
}

.conf-total-label {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brown);
}

.conf-total-amount {
  font-family: 'Rye', cursive;
  font-size: 24px;
  color: var(--rust-dark);
}

.conf-message {
  background: #FFF8EC;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-top: 24px;
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--brown);
  line-height: 1.6;
}

.conf-confirmation-num {
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  text-align: center;
  color: #B09070;
  margin-top: 16px;
}

.btn-back {
  display: block;
  margin: 20px auto 0;
  padding: 12px 32px;
  background: linear-gradient(135deg, var(--rust) 0%, var(--rust-dark) 100%);
  color: var(--cream);
  border: none;
  border-radius: 50px;
  font-family: 'Rye', cursive;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 14px rgba(139, 58, 24, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 58, 24, 0.4);
}

/* ============================================================
   18. RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .page-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .sidebar-col {
    position: static;
    margin-top: 40px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header { padding: 40px 20px 0; }

  .logo-badge {
    width: 160px;
    height: 160px;
  }

  .logo-t5 { font-size: 44px; }

  .tagline { font-size: 15px; }

  .section-title { font-size: 26px; }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .product-image-wrap { height: 140px; }

  .product-card-body { padding: 12px 14px 14px; }

  .product-name { font-size: 14px; }

  .product-price { font-size: 17px; }

  .mobile-order-bar.active { display: flex; }

  .container { padding: 0 16px; }

  .confirmation-body { padding: 20px 20px 24px; }
  .confirmation-hero { padding: 28px 20px 22px; }
}

@media (max-width: 400px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}
