/* 
   Sweet Delights - Premium Cake Shop Theme 
   Colors: Soft Pink (#ff9a9e), Cream (#fdfbf7), Dark Text (#2d3436)
*/

@import url("https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@300;400;600;700&display=swap");

:root {
  --primary-color: #ff7675;
  --primary-hover: #fab1a0;
  --secondary-color: #ffeaa7;
  --text-color: #2d3436;
  --light-text: #636e72;
  --bg-color: #fdfbf7;
  --card-bg: #ffffff;
  --shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  /* Soft shadow */
  --radius: 16px;
  --transition: all 0.3s ease;
}

body {
  font-family: "Nunito", sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Header & Nav */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: "Fredoka One", cursive;
  font-size: 2rem;
  color: var(--primary-color);
  margin: 0;
  text-shadow: 2px 2px 0px var(--secondary-color);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 20px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Badge for Cart */
.nav-link span {
  background: var(--secondary-color);
  color: var(--text-color);
  padding: 2px 8px;
  border-radius: 50%;
  font-size: 0.8rem;
  margin-left: 5px;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
  padding: 80px 0;
  text-align: center;
  color: white;
  margin-bottom: 40px;
  border-radius: 0 0 50% 50% / 20px;
  box-shadow: 0 10px 30px rgba(255, 118, 117, 0.3);
}

.hero h1 {
  font-family: "Fredoka One", cursive;
  font-size: 3.5rem;
  margin: 0;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 10px auto 0;
  opacity: 0.9;
}

/* Layout */
.main-content {
  padding: 40px 0;
  min-height: 80vh;
}

.admin-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.admin-alert {
  background: #e74c3c;
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.admin-table-wrapper {
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.admin-table thead tr {
  background: #2c3e50;
}

.admin-table th {
  padding: 16px;
  color: #ecf0f1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
}

.admin-table td {
  padding: 16px;
  border-bottom: 1px solid #edf2f7;
  vertical-align: middle;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-thumbnail {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: #f1f5f9;
}

.admin-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
}

.admin-actions .btn {
  padding: 8px 16px;
  font-size: 0.95rem;
  box-shadow: none;
}

.admin-col-id,
.admin-col-role,
.admin-col-status,
.admin-col-actions {
  white-space: nowrap;
}

.admin-col-email,
.admin-col-name {
  word-break: break-word;
}

.admin-col-actions {
  min-width: 250px;
}

.btn-danger {
  background: #e74c3c;
  color: #fff;
}

.btn-danger:hover {
  background: #c0392b;
  transform: translateY(-3px);
}

.btn-info {
  background: #3498db;
  color: #fff;
}

.btn-info:hover {
  background: #2980b9;
  transform: translateY(-3px);
}

.status-active {
  color: #16a34a;
  font-weight: 700;
}

.status-disabled {
  color: #dc2626;
  font-weight: 700;
}

.admin-protected {
  color: #64748b;
  font-style: italic;
}

.section-title {
  text-align: center;
  font-family: "Fredoka One", cursive;
  font-size: 3rem;
  margin-bottom: 50px;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--secondary-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  /* Pill shape */
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 118, 117, 0.4);
}

.btn-secondary {
  background: #dfe6e9;
  color: var(--text-color);
}

.btn-secondary:hover {
  background: #b2bec3;
  transform: translateY(-3px);
}

/* Cake Cards */
.cake-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
}

.cake-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.cake-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.cake-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.cake-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cake-card:hover .cake-image img {
  transform: scale(1.05);
  /* Zoom effect */
}

.cake-info {
  padding: 25px;
  text-align: center;
}

.cake-name {
  font-family: "Fredoka One", cursive;
  font-size: 1.5rem;
  margin: 0 0 10px;
  color: var(--text-color);
}

.cake-category {
  font-size: 0.85rem;
  color: var(--light-text);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 15px;
  background: var(--secondary-color);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
}

.cake-price {
  font-size: 1.4rem;
  color: var(--primary-color);
  font-weight: 800;
  margin-bottom: 20px;
}

/* Detail Page */
.cake-detail {
  display: flex;
  flex-wrap: wrap;
  /* Ensure responsive wrapping */
  gap: 60px;
  background: var(--card-bg);
  padding: 60px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  align-items: center;
}

.detail-image {
  flex: 1 1 400px;
}

.detail-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.detail-info {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-title {
  font-family: "Fredoka One", cursive;
  font-size: 3.5rem;
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 1.1;
}

.detail-price {
  font-size: 2.5rem;
  color: var(--primary-color);
  font-weight: 800;
  margin: 20px 0;
}

.detail-description h3 {
  font-family: "Fredoka One", cursive;
  color: var(--text-color);
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 5px;
  display: inline-block;
  margin-top: 0;
}

.detail-actions {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

/* Cart Table */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 15px;
  /* Spacing between rows */
}

table thead tr {
  background-color: transparent;
}

table th {
  text-align: left;
  padding: 15px 20px;
  color: var(--light-text);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

table tbody tr {
  background-color: var(--card-bg);
  box-shadow: var(--shadow);
  border-radius: 8px;
  transition: var(--transition);
}

table tbody tr:hover {
  transform: scale(1.01);
}

table td {
  padding: 20px;
}

table td:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

table td:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* Footer */
footer {
  background: #ff7675;
  color: white;
  text-align: center;
  padding: 40px 0;
  margin-top: auto;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {

  /* General mobile adjustments */
  .container {
    padding: 0 15px;
  }

  .main-content {
    padding: 20px 0;
  }

  header .container {
    flex-direction: row;
    justify-content: space-between;
  }

  /* Show hamburger menu button on mobile */
  .menu-toggle {
    display: flex;
  }

  /* Hide navigation by default on mobile */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: white;
    flex-direction: column;
    gap: 0;
    padding: 80px 20px 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }

  /* Show navigation when active */
  .nav.active {
    right: 0;
  }

  .nav-link {
    font-size: 1rem;
    padding: 15px 20px;
    width: 100%;
    text-align: left;
    border-radius: 8px;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-link:hover,
  .nav-link.active {
    background-color: var(--primary-color);
    color: white;
    transform: none;
  }

  /* Overlay for mobile menu */
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .nav-overlay.active {
    display: block;
  }

  .admin-table-wrapper {
    overflow-x: auto;
  }

  .admin-table {
    min-width: 760px;
  }

  .admin-col-actions {
    min-width: 320px;
  }

  .cake-detail {
    flex-direction: column;
    padding: 20px;
  }

  .cake-detail>div {
    flex: 1 1 100%;
  }

  .detail-actions {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .detail-actions .btn {
    width: 100%;
    text-align: center;
    margin: 0 !important;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .hero {
    padding: 50px 15px;
    border-radius: 0 0 25px 25px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cake-grid {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    gap: 20px;
  }

  /* Cart table responsive */
  .cart-container {
    padding: 15px !important;
    overflow-x: visible;
  }

  .cart-container table {
    display: block !important;
    overflow-x: visible;
    white-space: normal;
  }

  .cart-container table thead {
    display: none !important;
  }

  .cart-container table tbody {
    display: block !important;
  }

  .cart-container table tr {
    display: block !important;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px;
    padding: 12px !important;
    background: white !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  }

  .cart-container table td {
    display: block !important;
    text-align: left !important;
    padding: 8px 0 8px 0 !important;
    border: none !important;
    position: relative;
    min-height: 30px;
    padding-left: 0 !important;
  }

  .cart-container table td::before {
    content: attr(data-label);
    font-weight: 700;
    display: inline-block;
    min-width: 85px;
    color: var(--text-color);
    font-size: 0.85rem;
    margin-right: 5px;
  }

  /* First td (Item) should have more space */
  .cart-container table td:first-child {
    padding: 0 !important;
    min-height: auto;
    padding-bottom: 15px !important;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 10px;
  }

  .cart-container table td:first-child::before {
    position: static;
    display: block;
    margin-bottom: 10px;
    width: auto;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 700;
  }

  /* Adjust nested div in first td */
  .cart-container table td:first-child>div {
    gap: 10px !important;
  }

  /* Adjust image size on mobile */
  .cart-container table td img {
    width: 50px !important;
    height: 50px !important;
  }

  /* Cart total section responsive */
  .cart-container>div:last-child {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: stretch !important;
    padding-top: 20px !important;
    margin-top: 20px !important;
  }

  .cart-container>div:last-child>div {
    text-align: center !important;
  }

  .cart-container>div:last-child>div:last-child {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .cart-container .btn {
    width: 100%;
    margin: 0 !important;
  }

  /* Checkout form responsive */
  .checkout-form {
    padding: 20px !important;
  }

  .checkout-form input,
  .checkout-form textarea,
  .checkout-form select {
    font-size: 16px !important;
  }

  /* Checkout page form styling */
  #checkoutForm {
    width: 100% !important;
  }

  #checkoutForm textarea,
  #checkoutForm input {
    font-size: 16px !important;
    padding: 10px !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }

  #checkoutForm label {
    margin-bottom: 5px !important;
    display: block !important;
  }

  #checkoutForm button {
    width: 100% !important;
    margin-top: 10px !important;
  }
}

/* Modal Components */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.show {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  background: var(--card-bg);
  border-radius: var(--radius);
  width: 90%;
  max-width: 650px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(-20px) scale(0.95);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.modal-backdrop.show .modal-container {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--primary-color);
  color: white;
}

.modal-header h3 {
  margin: 0;
  font-family: 'Fredoka One', cursive;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

.modal-close {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  transition: transform 0.2s;
  line-height: 1;
}

.modal-close:hover {
  transform: scale(1.2) rotate(90deg);
}

.modal-body {
  padding: 25px;
  overflow-y: auto;
  color: var(--text-color);
}

.modal-summary {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.summary-card {
  flex: 1;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.summary-card.total {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.summary-card.valid {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.summary-card.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.summary-card span {
  display: block;
  font-size: 2rem;
  font-family: 'Fredoka One', cursive;
  margin-bottom: 5px;
}

.error-list {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 15px;
  max-height: 220px;
  overflow-y: auto;
}

.error-list h4 {
  margin: 0 0 12px 0;
  color: #991b1b;
  font-size: 1.1rem;
  border-bottom: 1px dashed #fca5a5;
  padding-bottom: 8px;
}

.error-item {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #7f1d1d;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.error-item .row-badge {
  background: #ef4444;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: bold;
  white-space: nowrap;
}

.modal-footer {
  padding: 20px 25px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  background: #f8fafc;
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========================================
   CATEGORY TABS - NEW DESIGN
   ======================================== */
.category-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  padding: 20px;
  background: linear-gradient(135deg, #fff 0%, #ffeaa7 100%);
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) transparent;
}

.category-tabs::-webkit-scrollbar {
  height: 6px;
}

.category-tabs::-webkit-scrollbar-track {
  background: transparent;
}

.category-tabs::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.category-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: white;
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-color);
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.category-tab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 118, 117, 0.3);
  border-color: var(--primary-color);
}

.category-tab.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 118, 117, 0.4);
}

.category-tab .tab-text {
  font-family: "Nunito", sans-serif;
}

/* ========================================
   CATEGORY SECTIONS
   ======================================== */
.category-section {
  margin-bottom: 60px;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px 20px;
  background: linear-gradient(135deg, rgba(255, 154, 158, 0.1) 0%, rgba(255, 234, 167, 0.1) 100%);
  border-radius: 20px;
  border-left: 5px solid var(--primary-color);
}

.category-title {
  font-family: "Fredoka One", cursive;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin: 0 0 10px 0;
  text-align: center;
  text-shadow: 2px 2px 0px rgba(255, 234, 167, 0.5);
}

.category-description {
  font-size: 1.1rem;
  color: var(--light-text);
  margin: 0;
  font-weight: 400;
}

/* ========================================
   ENHANCED CAKE CARDS
   ======================================== */
.cake-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
  color: var(--text-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 10;
  animation: pulse 2s infinite;
}

.cake-badge.out-of-stock {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.cake-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.stock-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  background: #e8f5e9;
  color: #28a745;
}

.stock-badge.out-of-stock {
  background: #ffebee;
  color: #dc3545;
}

.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: blink 1.5s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.cake-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

.cake-actions .btn {
  flex: 1;
  text-align: center;
  padding: 12px 20px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cake-actions .btn span {
  font-size: 1.2rem;
}

.cake-actions .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
  .category-tabs {
    padding: 15px;
    gap: 10px;
  }

  .category-tab {
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .category-tab .tab-icon {
    font-size: 1.3rem;
  }

  .category-title {
    font-size: 2rem;
    flex-direction: column;
    gap: 10px;
  }

  .category-icon {
    font-size: 2.5rem;
  }

  .category-description {
    font-size: 1rem;
  }

  .cake-actions {
    flex-direction: column;
  }

  .cake-actions .btn {
    width: 100%;
  }
}