  :root {
      --main-w: 420px;
      --thumb-w: 80px;
      --gap: 10px;
      --accent: #000000;
      --bg: #faf7f5;
  }

  * {
      box-sizing: border-box
  }

  .detalheProduto {
      display: flex;
      gap: 28px;
      background: #fff;
      padding: 24px;
      width: 100%;
      max-width: 100%;
      align-items: flex-start;
      margin-top: 30px;
  }

  .galeria {
      flex: 1;
      display: flex;
      align-items: center;
      flex-direction: column;
  }

  .produto-imagem {
      width: var(--main-w);
      height: var(--main-w);
      overflow: hidden;
      border-radius: 6px;
  }

  .produto-imagem img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: opacity .3s ease;
  }

  .miniaturas-container {
      position: relative;
      width: var(--main-w);
      margin-top: 18px;
  }

  .miniaturas {
      display: flex;
      gap: var(--gap);
      overflow-x: auto;
      padding-bottom: 6px;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      cursor: grab;
  }

  .miniaturas.is-dragging {
      cursor: grabbing;
  }

  .miniaturas::-webkit-scrollbar {
      display: none;
  }

  .miniatura {
      width: var(--thumb-w);
      height: var(--thumb-w);
      flex-shrink: 0;
      border-radius: 8px;
      object-fit: cover;
      cursor: pointer;
      border: 2px solid transparent;
      box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
      transition: transform .12s, border-color .12s;
  }

  .miniatura.ativa {
      border-color: var(--accent);
      transform: translateY(-0px);
  }

  .seta {
      position: absolute;
      top: 108%;
      transform: translateY(-50%);
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #fff;
      box-shadow: 0 6px 18px rgba(10, 12, 15, 0.08);
      cursor: pointer;
      z-index: 2;
  }

  .seta.esquerda {
      left: 6px;
  }

  .seta.direita {
      right: 6px;
  }

  .bullets {
      display: flex;
      gap: 8px;
      justify-content: center;
      margin-top: 15px;
  }

  .bullet {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #ddd;
      cursor: pointer;
  }

  .bullet.active {
      background: var(--accent);
  }

  .detalhes {
      flex: 1;
  }

  .detalhes h1 {
      margin: 6px 0 8px 0;
      font-size: 30px;
  }

  .btn {
      background: var(--accent);
      color: #fff;
      border: 0;
      padding: 10px 14px;
      border-radius: 10px;
      cursor: pointer;
  }

  .btn:hover {
      background: #ccc;
  }

  .descricaoProdutosDetalhes {
      height: 150px;
      background: #ff7f50;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 1.2rem;
      color: white;
      border-radius: 10px;

  }

  .descricao {
      width: 100%;
      background: #fff;
      padding: 70px 20px;
      margin-bottom: 50px;
      position: relative;
      background-image: linear-gradient(#ccc);
      background-repeat: no-repeat;
      background-position: 50% 40px;
      /* deslocamento esquerdo e topo */
      background-size: 60% 4px;
      /* largura 80%, altura 4px */
  }


  .descricao .conteudo {
      max-width: 1200px;
      /* mesmo limite da container */
      margin: 0 auto;
      font-size: 16px;
      line-height: 1.6;
      color: #444;
  }

  .descricao h2 {
      margin-bottom: 16px;
      font-size: 22px;
      color: #222;
  }

  .quantidade {
      display: inline-flex;
      align-items: center;
      border: 1px solid #ddd;
      border-radius: 8px;
      overflow: hidden;
      background: #fff;
      width: 120px;
  }

  .quantidade input {
      width: 50px;
      text-align: center;
      border: none;
      outline: none;
      font-size: 16px;
      font-weight: 500;
      color: #333;
      -moz-appearance: textfield;
      /* Firefox */
  }

  .quantidade input::-webkit-outer-spin-button,
  .quantidade input::-webkit-inner-spin-button {
      -webkit-appearance: none;
      /* Chrome/Safari */
      margin: 0;
  }

  .quantidade button {
      flex: 1;
      border: none;
      background: #f5f5f5;
      font-size: 20px;
      font-weight: bold;
      color: #333;
      cursor: pointer;
      transition: background 0.2s;
  }

  .quantidade button:hover {
      background: #e0e0e0;
  }

  /* estado "desabilitado" visual */
  .quantidade button:disabled {
      opacity: 0.4;
      cursor: not-allowed;
  }

  .addButtonCartDetalhe {
      margin-top: 10px;
      text-align: right;
  }


  @media(max-width:980px) {
      .detalheProduto {
          flex-direction: column;
          align-items: center;
          width: 100%;
      }

      .produto-imagem {
          width: 92vw;
          height: 92vw;
          max-width: 600px;
          max-height: 600px;
      }

      .miniaturas-container {
          width: 92vw;
          max-width: 600px;
      }

      .detalhes {
          width: 92vw;
          max-width: 600px;
          margin-top: 12px;
      }
  }