    /* ===================================================================
       Variáveis de cores (mesmas do site)
       =================================================================== */
    :root {
      --orange-dark: #e9870f;
      --cyan:       #0fbde9;
      --green-dark: #30910e;
      --yellow:     #f5ad22;
      --gray-light: #f4f5f7;
      --text-dark:  #2c3e50;
      --text-light: #ffffff;
      --bg-dark:    #2c3e50;
      --gradient:   linear-gradient(135deg, #e9870f 0%, #0fbde9 100%);
    }

    body {
      font-family: 'Segoe UI', sans-serif;
      background-color: var(--gray-light);
      color: var(--text-dark);
      margin: 0;
    }
    a { text-decoration: none; }

    /* ===================================================================
       1) CABEÇALHO PRINCIPAL (igual ao restante do site)
       =================================================================== */
    .main-header {
      background: var(--orange-dark);
      padding: 12px 0;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }
    .main-header .container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .main-header .navbar-brand {
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--text-light);
    }
    .main-header .navbar-brand:hover {
      color: var(--yellow);
    }
    .main-header .nav-link {
      color: var(--text-light);
      margin: 0 12px;
      font-weight: 500;
      font-size: 0.95rem;
      transition: color 0.2s ease;
    }
    .main-header .nav-link:hover {
      color: var(--yellow);
    }
    .main-header .search-bar {
      position: relative;
      width: 100%;
      max-width: 400px;
    }
    .main-header .search-bar input {
      border-radius: 50px;
      border: none;
      padding-left: 20px;
      padding-right: 45px;
      height: 36px;
      font-size: 0.95rem;
    }
    .main-header .search-bar .btn-search {
      position: absolute;
      top: 50%;
      right: 8px;
      transform: translateY(-50%);
      background: transparent;
      border: none;
      color: var(--text-dark);
      font-size: 1.1rem;
      transition: color 0.2s ease;
    }
    .main-header .search-bar .btn-search:hover {
      color: var(--green-dark);
    }
    .main-header .user-links .nav-link {
      font-size: 0.95rem;
      margin-left: 15px;
    }
    .main-header .cart-link {
      font-size: 1.4rem;
      color: var(--text-light);
      position: relative;
      margin-left: 20px;
      transition: color 0.2s ease;
    }
    .main-header .cart-link:hover {
      color: var(--yellow);
    }
    .main-header .cart-link .badge {
      position: absolute;
      top: -6px;
      right: -10px;
      font-size: .8rem;
    }

    /* ===================================================================
       2) MENU DE CATEGORIAS
       =================================================================== */
    .categories-menu {
      background: var(--cyan);
      padding: 8px 0;
      box-shadow: 0 1px 4px rgba(0,0,0,0.08);
      z-index: 2;
    }
    .categories-menu .container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 8px;
    }
    .categories-menu .nav-link {
      color: var(--text-light);
      font-size: 0.95rem;
      margin: 0 6px;
      white-space: nowrap;
      padding: 8px 16px;
      border-radius: 20px;
      transition: background 0.2s ease, color 0.2s ease;
    }
    .categories-menu .nav-link:hover {
      background: rgba(255, 255, 255, 0.9);
      color: var(--text-dark);
    }

    /* ===================================================================
       3) MENU DE MARCAS
       =================================================================== */
    .brands-menu {
      background: var(--green-dark);
      padding: 8px 0;
      box-shadow: 0 1px 4px rgba(0,0,0,0.08);
      position: relative;
      z-index: 3;
    }
    .brands-menu .container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 8px;
    }
    .brands-menu .nav-link {
      color: var(--text-light);
      font-size: 0.95rem;
      margin: 0 6px;
      white-space: nowrap;
      padding: 8px 16px;
      border-radius: 20px;
      transition: background 0.2s ease, color 0.2s ease;
    }
    .brands-menu .nav-link:hover {
      background: rgba(255, 255, 255, 0.9);
      color: var(--text-dark);
    }

    /* ===================================================================
       4) ALERTS (espaço reservado para exibir mensagens de sucesso/erro)
       =================================================================== */
    .alert-placeholder {
      max-width: 800px;
      margin: 20px auto;
    }

    /* ===================================================================
       5) SEÇÃO “SEU CARRINHO” – ESTILO
       =================================================================== */
    .section-title {
      font-size: 1.6rem;
      font-weight: 700;
      color: var(--green-dark);
      margin: 40px auto 20px;
      text-transform: uppercase;
      text-align: center;
      display: block;
      position: relative;
      padding-bottom: 8px;
      max-width: 400px;
    }
    .section-title::after {
      content: "";
      display: block;
      width: 60px;
      height: 4px;
      background: var(--orange-dark);
      margin: 6px auto 0;
      border-radius: 2px;
    }

    .cart-container {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-bottom: 40px;
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
      padding: 0 15px;
    }

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

    .cart-item-card {
      background: #ffffff;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
      padding: 16px;
      display: flex;
      align-items: center;
      gap: 16px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .cart-item-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }

    .cart-item-card img {
      width: 100px;
      height: 100px;
      object-fit: contain;              /* permite ver a imagem inteira */
      border-radius: 8px;
      flex-shrink: 0;
      border: 1px solid #e9ecef;
      background: #f8f9fa;
    }

    .item-details {
      flex: 1;
    }
    .item-name {
      font-size: 1.1rem;
      font-weight: 600;
      color: #343a40;
      margin-bottom: 6px;
    }
    .item-price {
      font-size: 1rem;
      font-weight: bold;
      color: var(--orange-dark);
      margin-bottom: 8px;
    }

    .quantity-controls {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 6px;
    }
    .quantity-controls button {
      width: 32px;
      height: 32px;
      font-size: 1rem;
      line-height: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      border-radius: 4px;
      border: 1px solid #ced4da;
      background: #fff;
      color: #495057;
      transition: background 0.2s ease;
    }
    .quantity-controls button:hover {
      background: #e9ecef;
    }
    .quantity-controls span {
      min-width: 24px;
      text-align: center;
      font-weight: 500;
    }

    .item-subtotal {
      font-size: 1rem;
      font-weight: 700;
      color: var(--green-dark);
      margin-right: 16px;
      white-space: nowrap;
    }

    .btn-remove {
      color: #dc3545;
      border: 1px solid #dc3545;
      border-radius: 6px;
      padding: 6px 10px;
      font-size: 0.9rem;
      transition: background 0.2s ease, color 0.2s ease;
      flex-shrink: 0;
    }
    .btn-remove:hover {
      background: #dc3545;
      color: #fff;
      text-decoration: none;
    }

    .coupon-row {
      background: #e9f7ef;
      border-radius: 8px;
      padding: 10px 15px;
      font-size: 0.95rem;
      margin-top: 8px;
      margin-bottom: 16px;
    }
    .coupon-row form {
      width: 100%;
    }
    .coupon-row input[type="text"] {
      width: 100%;
    }
    .coupon-row button {
      border-radius: 4px;
    }

    /* ===================================================================
       6) RESUMO DO PEDIDO – ESTILO
       =================================================================== */
    .summary-wrapper {
      flex: 0 0 30%;
    }
    .summary-card {
      border: none;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
      background: #ffffff;
    }
    .summary-card .card-body {
      padding: 24px;
    }
    .summary-card .card-title {
      font-size: 1.4rem;
      font-weight: 700;
      color: #343a40;
      margin-bottom: 20px;
    }
    .summary-list .list-group-item {
      border: none;
      padding: 12px 0;
      font-size: 1rem;
      display: flex;
      justify-content: space-between;
      color: #495057;
    }
    .summary-list .list-group-item span {
      font-weight: 600;
      color: #343a40;
    }
    .summary-list .total-row span {
      font-size: 1.2rem;
      color: var(--green-dark);
    }

    .summary-card .btn {
      border-radius: 6px;
      padding: 10px 20px;
      font-weight: 600;
    }
    .summary-card .btn-continue {
      color: var(--text-dark);
      border-color: var(--text-dark);
      transition: background 0.2s ease, color 0.2s ease;
    }
    .summary-card .btn-continue:hover {
      background: var(--text-dark);
      color: #fff;
      border-color: var(--text-dark);
    }
    .summary-card .btn-checkout {
      background: var(--green-dark);
      color: #fff;
      transition: background 0.2s ease;
    }
    .summary-card .btn-checkout:hover {
      background: #218838;
    }

    /* ===================================================================
       7) RODAPÉ (igual ao index.php)
       =================================================================== */
    footer {
      background: var(--bg-dark);
      color: #ccc;
      padding: 40px 0;
      margin-top: 60px;
    }
    footer .container {
      max-width: 1100px;
      margin: 0 auto;
    }
    footer a {
      color: #ccc;
      transition: color 0.2s ease;
    }
    footer a:hover {
      color: var(--yellow);
      text-decoration: underline;
    }
    footer .footer-title {
      color: var(--text-light);
      font-weight: 600;
      margin-bottom: 15px;
    }
    footer .social-icons a {
      color: #ccc;
      margin-right: 10px;
      font-size: 1.3rem;
      transition: color 0.2s ease;
    }
    footer .social-icons a:hover {
      color: var(--yellow);
    }

    /* ===================================================================
       8) BOTÃO FLUTUANTE DE AJUDA
       =================================================================== */
    .help-btn {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: var(--cyan);
      color: var(--text-light);
      width: 60px;
      height: 60px;
      border-radius: 50%;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      z-index: 999;
      transition: background 0.2s ease, transform 0.2s ease;
    }
    .help-btn:hover {
      background: var(--green-dark);
      transform: scale(1.1);
      text-decoration: none;
      color: var(--text-light);
    }

    /* ===================================================================
       9) MEDIA QUERIES (ajustes para telas menores)
       =================================================================== */
    @media (max-width: 991px) {
      .main-header .container {
        flex-direction: column;
        gap: 10px;
      }
      .main-header .search-bar {
        max-width: 100%;
      }
      .cart-container {
        flex-direction: column;
      }
      .summary-wrapper {
        flex: 1 1 100%;
      }
      .cart-items {
        flex: 1 1 100%;
      }
      .cart-item-card {
        flex-direction: column;
        align-items: flex-start;
      }
      .cart-item-card img {
        width: 100%;
        height: auto;
        max-height: 200px;
        margin-bottom: 12px;
      }
      .item-subtotal {
        margin-top: 10px;
      }
      .btn-remove {
        margin-top: 10px;
      }
    }

    @media (max-width: 767px) {
      .quantity-controls button {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
      }
      .quantity-controls span {
        min-width: 20px;
      }
      .summary-card .card-body {
        padding: 16px;
      }
      .summary-card .btn {
        padding: 8px 16px;
        font-size: 0.95rem;
      }
    }
