
  :root {
    --header-height: 80px;
    --header-height-mobile: 80px;
    --primary-orange: #E17B47;
    --text-dark: #1A1A1A;
    --text-gray: #6B7280;
    --bg-light: #F9FAFB;
  }

  * {
    box-sizing: border-box;
  }

  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    overflow-x: hidden;
  }

  /* Don't override font-family for Font Awesome icons */
  .fa, .fas, .far, .fal, .fad, .fab {
    font-family: 'Font Awesome 6 Free' !important;
  }

  .plugin-page {
    padding-top: 200px;
    background: white;
    width: 100%;
    overflow-x: hidden;
  }

  .hero-section {
    background: linear-gradient(135deg, #E17B47 0%, #F4A460 100%);
    padding: 120px 0 80px;
    margin-top: calc(var(--header-height) * -1);
    color: white !important;
    text-align: center;
  }

  .hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: white !important;
  }

  .hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    color: white !important;
  }

  .cart-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    width: 100%;
  }

  .empty-cart {
    text-align: center;
    padding: 80px 20px;
  }

  .empty-cart-icon {
    font-size: 6rem;
    color: #e5e7eb;
    margin-bottom: 2rem;
  }

  .empty-cart h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
  }

  .empty-cart p {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
  }

  .btn-primary {
    display: inline-block;
    padding: 16px 32px;
    background: var(--primary-orange);
    color: white !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s;
  }

  .btn-primary:hover {
    background: #d86a3b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(225, 123, 71, 0.3);
  }

  /* Cart items container */
  .cart-items-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%;
  }

  .cart-items {
    background: transparent;
    border-radius: 16px;
    padding: 8px;
    width: 100%;
    max-width: 100%;
  }

  .cart-item {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: 20px;
    align-items: start;
    padding: 24px;
    margin-bottom: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .cart-item:hover {
    box-shadow: 0 4px 16px rgba(225, 123, 71, 0.15);
    border-color: rgba(225, 123, 71, 0.3);
    transform: translateY(-2px);
  }

  .cart-item:last-child {
    margin-bottom: 0;
  }

  .item-image {
    width: 140px !important;
    height: 140px !important;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
  }

  .cart-item:hover .item-image {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  }

  .item-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .item-name {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    letter-spacing: -0.01em;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .item-size {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 12px;
    display: inline-block;
    background: #f3f4f6;
    padding: 4px 12px;
    border-radius: 20px;
  }

  .item-price {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 500;
    margin-top: auto;
    padding-top: 12px;
  }

  .item-price .price-value {
    color: var(--primary-orange);
    font-weight: 700;
  }

  .dietary-tags {
    display: flex;
    gap: 8px;
    margin: 8px 0;
    flex-wrap: wrap;
  }

  .dietary-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f3f4f6;
    color: #4b5563;
  }

  .addon-item {
    background: rgba(225, 123, 71, 0.05);
    border-radius: 6px;
    padding: 4px 0;
    margin: 2px 0;
    display: block;
    font-size: 0.875rem;
    color: var(--text-gray);
  }

  .attribute-item {
    background: rgba(225, 123, 71, 0.05);
    border-radius: 8px;
    padding: 6px 12px;
    margin: 4px 0;
    display: inline-block;
    font-size: 0.875rem;
    color: var(--text-gray);
  }

  .addon-price,
  .attribute-price {
    color: var(--primary-orange);
    font-weight: 600;
  }

  .item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    justify-content: space-between;
  }

  .cart-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
  }

  .quantity-controls {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    transition: all 0.3s;
  }

  .quantity-controls:hover {
    border-color: var(--primary-orange);
  }

  .quantity-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-gray);
    transition: all 0.3s;
  }

  .quantity-btn:hover {
    background: var(--primary-orange);
    color: white;
  }

  .quantity-btn:active {
    transform: scale(0.95);
  }

  .quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  .quantity-btn:disabled:hover {
    background: transparent;
    color: var(--text-gray);
  }

  .item-quantity {
    min-width: 50px;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.125rem;
  }

  .item-total {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    min-width: 120px;
    text-align: right;
    letter-spacing: -0.02em;
  }

  .remove-btn {
    background: transparent;
    border: 2px solid #e5e7eb;
    color: #6b7280;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .remove-btn:hover {
    border-color: #ef4444;
    background: #fee2e2;
    color: #ef4444;
  }

  .remove-btn:active {
    transform: scale(0.95);
  }

  /* Order summary */
  .order-summary {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 32px;
    position: sticky;
    top: 140px;
    border: 1px solid rgba(0,0,0,0.05);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .summary-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .summary-title:before {
    content: '';
    width: 5px;
    height: 28px;
    background: var(--primary-orange);
    border-radius: 10px;
  }

  .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    color: var(--text-gray);
    font-size: 1.0625rem;
  }

  .summary-row.total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    border-top: 2px solid #f3f4f6;
    padding-top: 20px;
    margin-top: 12px;
  }

  .checkout-btn {
    width: 100%;
    padding: 18px 32px;
    background: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 24px;
    box-shadow: 0 4px 12px rgba(225, 123, 71, 0.3);
  }

  .checkout-btn:hover {
    background: #d86a3b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 123, 71, 0.4);
  }

  .checkout-btn:active {
    transform: translateY(0);
  }

  .menu-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 24px;
  }

  .back-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-size: 0.9375rem;
  }

  .back-link:hover {
    gap: 12px;
    transform: translateX(-4px);
  }

  .back-link i {
    transition: transform 0.3s;
  }

  .back-link:hover i {
    transform: translateX(-4px);
  }

  /* Loading states */
  .loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
  }

  .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f4f6;
    border-top: 3px solid var(--primary-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  /* Responsive */
  @media (max-width: 968px) {
    .hero-title {
      font-size: 2.5rem;
    }

    .cart-items-container {
      grid-template-columns: 1fr;
      gap: 20px;
    }

    .order-summary {
      position: relative;
      top: 0;
    }

    .cart-item {
      padding: 16px;
    }

    .item-image {
      width: 100px !important;
      height: 100px !important;
    }

    .item-controls {
      flex-wrap: wrap;
      justify-content: flex-end;
    }
  }

  @media (max-width: 640px) {
    .plugin-page {
      padding-top: 180px;
      width: 100%;
      max-width: 100vw;
      overflow-x: hidden;
    }

    .hero-title {
      font-size: 2rem;
    }

    .hero-subtitle {
      font-size: 1rem;
    }

    .cart-content {
      margin: 20px auto;
      padding: 0 12px;
      width: 100%;
      max-width: 100%;
    }

    .cart-items-container {
      width: 100%;
      max-width: 100%;
    }

    .cart-item {
      grid-template-columns: 1fr;
      gap: 12px;
      padding: 16px;
      margin-bottom: 12px;
      width: 100%;
      max-width: 100%;
    }

    .item-image {
      width: 100% !important;
      height: 180px !important;
      margin-right: 0;
      margin-bottom: 0;
      border-radius: 8px;
    }

    .item-details {
      padding-right: 0;
      margin-bottom: 0;
      width: 100%;
    }

    .item-name {
      font-size: 1.125rem;
      margin-bottom: 8px;
      word-break: break-word;
    }

    .item-size {
      font-size: 0.8rem;
      padding: 3px 10px;
    }

    .item-price {
      font-size: 0.9rem;
      padding-top: 8px;
    }

    .addon-item {
      font-size: 0.8rem;
      padding: 3px 0;
    }

    .dietary-tag {
      font-size: 0.7rem;
      padding: 3px 8px;
    }

    .item-controls {
      flex-direction: column;
      align-items: stretch;
      gap: 12px;
      width: 100%;
    }

    .cart-actions {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      gap: 12px;
    }

    .quantity-controls {
      flex-shrink: 0;
    }

    .quantity-btn {
      width: 36px;
      height: 36px;
      font-size: 0.875rem;
    }

    .item-quantity {
      min-width: 45px;
      font-size: 1rem;
    }

    .remove-btn {
      padding: 8px 12px;
      font-size: 0.8rem;
      flex-shrink: 0;
    }

    .remove-btn span {
      display: none;
    }

    .item-total {
      font-size: 1.375rem;
      text-align: center;
      width: 100%;
      min-width: auto;
      padding: 12px;
      background: #f9fafb;
      border-radius: 8px;
      border: 2px solid #e5e7eb;
    }

    .order-summary {
      padding: 20px;
      position: relative;
      top: 0;
      width: 100%;
      max-width: 100%;
    }

    .summary-title {
      font-size: 1.375rem;
      margin-bottom: 20px;
    }

    .summary-title:before {
      width: 4px;
      height: 24px;
    }

    .summary-row {
      padding: 12px 0;
      font-size: 0.95rem;
    }

    .summary-row.total {
      font-size: 1.25rem;
      padding-top: 16px;
      margin-top: 8px;
    }

    .checkout-btn {
      font-size: 1rem;
      padding: 14px 20px;
      margin-top: 20px;
    }

    .menu-links {
      flex-direction: column;
      gap: 12px;
      margin-top: 16px;
    }

    .back-link {
      font-size: 0.875rem;
      justify-content: center;
    }

    /* Empty cart adjustments */
    .empty-cart {
      padding: 60px 20px;
    }

    .empty-cart-icon {
      font-size: 4rem;
      margin-bottom: 1.5rem;
    }

    .empty-cart h2 {
      font-size: 1.5rem;
    }

    .empty-cart p {
      font-size: 1rem;
    }

    .btn-primary {
      padding: 14px 28px;
      font-size: 1rem;
    }
  }

  /* Extra small screens */
  @media (max-width: 380px) {
    .hero-title {
      font-size: 1.75rem;
    }

    .cart-item {
      padding: 12px;
    }

    .item-image {
      height: 150px !important;
    }

    .item-name {
      font-size: 1rem;
    }

    .item-total {
      font-size: 1.25rem;
    }

    .order-summary {
      padding: 16px;
    }

    .summary-title {
      font-size: 1.25rem;
    }
  }
