/*
	DIOGENES JUNIOR
	CONTATO@DIOGENESJUNIOR.COM.BR
	
*/

/*---------------------------------
	RESETS
-----------------------------------*/

html,body{
    height: 100%;
}
body{
	overflow-x: hidden;
    background:#fff;
}

@media(max-width: 540px){
  html,body{
    max-width: 100% !important;
    
  }
}

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

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      -webkit-font-smoothing: antialiased;
      background: #f5f5f5;
    }

    .loja-mob-container {
      max-width: 480px;
      margin: 0 auto;
      background: #fff;
      min-height: 100vh;
      position: relative;
    }

    .loja-mob-view {
      display: none;
      min-height: 100vh;
      padding-bottom: 80px;
    }

    .loja-mob-view.active {
      display: block;
    }

    .loja-mob-header {
      background: #000;
      color: white;
      padding: 16px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .loja-mob-header-left {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .loja-mob-header-back-btn {
      background: rgba(255,255,255,0.2);
      border: none;
      color: white;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 20px;
    }

    .loja-mob-header-logo {
      width: 40px;
      height: 40px;
      background: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      color: #000;
      font-size: 20px;
    }

    .loja-mob-header-title {
      font-size: 18px;
     font-weight: 500;
    }

    .loja-mob-header-actions {
      display: flex;
      gap: 12px;
    }

    .loja-mob-header-icon-btn {
      background: rgba(255,255,255,0.2);
      border: none;
      color: white;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s;
    }

    .loja-mob-header-icon-btn:active {
      transform: scale(0.95);
    }

    /* SEARCH STYLES */
    .loja-mob-search-view {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      max-width: 480px;
      margin: 0 auto;
      background: white;
      z-index: 150;
      display: none;
      flex-direction: column;
    }

    .loja-mob-search-view.active {
      display: flex;
    }

    .loja-mob-search-header {
      background: #000;
      padding: 16px 20px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .loja-mob-search-input {
      flex: 1;
      background: rgba(255,255,255,0.2);
      border: none;
      padding: 12px 16px;
      border-radius: 24px;
      color: white;
      font-size: 16px;
      border:none !important;
      outline: none !important;
    }

    .loja-mob-search-input::placeholder {
      color: rgba(255,255,255,0.7);
    }

    .loja-mob-search-close {
      background: rgba(255,255,255,0.2);
      border: none;
      color: white;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .loja-mob-search-results {
      flex: 1;
      overflow-y: auto;
      padding: 20px;
    }

    .loja-mob-search-results-title {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 16px;
      color: #666;
    }

    .loja-mob-search-highlight {
      background: yellow;
      font-weight: 600;
    }

    .loja-mob-search-empty {
      text-align: center;
      padding: 60px 20px;
      color: #999;
    }

    .loja-mob-search-empty-icon {
      font-size: 64px;
      margin-bottom: 16px;
      opacity: 0.3;
    }

    .loja-mob-status-bar {
      padding: 12px 20px;
      background: #f5f5f5;
      display: flex;
      justify-content: space-between;
      font-size: 13px;
      color: #666;
    }

    .loja-mob-store-status {
      color: #2e7d32;
      font-weight: 500;
    }

    .loja-mob-banner-closed {
      background: #f0f0f0;
      color: #333;
      padding: 12px 20px;
      text-align: center;
      font-size: 14px;
      font-weight: 500;
    }

    /* OWL CAROUSEL BANNER */
    .loja-mob-banner-carousel {
      margin: 16px 20px;
    }

    .loja-mob-banner-item {
      background: linear-gradient(135deg, #5e35b1 0%, #7c4dff 100%);
      border-radius: 16px;
      padding: 20px;
      color: white;
      min-height: 170px;
      display: flex;
      align-items: center;
      gap: 16px;
      box-shadow: 0 4px 12px rgba(94, 53, 177, 0.3);
    }

    .loja-mob-banner-item.promo {
      background: linear-gradient(135deg, #f44336 0%, #e91e63 100%);
    }

    .loja-mob-banner-item.discount {
      background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%);
    }

    .loja-mob-banner-icon {
      font-size: 48px;
    }

    .loja-mob-banner-text {
      flex: 1;
    }

    .loja-mob-banner-value {
      font-size: 28px;
      font-weight: bold;
    }

    .loja-mob-banner-label {
      font-size: 14px;
      opacity: 0.9;
    }

    .owl-theme .owl-dots {
      margin-top: 16px !important;
    }

    .owl-theme .owl-dots .owl-dot span {
      background: #d1c4e9 !important;
    }

    .owl-theme .owl-dots .owl-dot.active span {
      background: #7c4dff !important;
    }

    .loja-mob-tabs-container {
      position: sticky;
      top: 72px;
      background: white;
      z-index: 90;
      padding: 12px 0;
      border-bottom: 1px solid #eee;
      overflow-x: auto;
    }

    .loja-mob-tabs-container::-webkit-scrollbar {
      display: none;
    }

    .loja-mob-tabs {
      display: flex;
      gap: 8px;
      padding: 0 20px;
      white-space: nowrap;
    }

    .loja-mob-tab {
      padding: 10px 20px;
      border-radius: 20px;
      border: none;
      background: #f5f5f5;
      color: #666;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s;
    }

    .loja-mob-tab.active {
      background: #000;
      color: white;
    }

    .loja-mob-section {
      padding: 24px 20px;
    }

    .loja-mob-section-title {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 16px;
      color: #333;
    }

    .loja-mob-products-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .loja-mob-product-item {
      display: flex;
      gap: 16px;
      padding: 16px;
      background: white;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      cursor: pointer;
      transition: all 0.2s;
      position: relative;
    }

    .loja-mob-product-item:active {
      transform: scale(0.98);
    }

    .loja-mob-product-item-info {
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .loja-mob-product-item-name {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 4px;
      color: #333;
    }

    .loja-mob-product-item-desc {
      font-size: 13px;
      color: #666;
      margin-bottom: 8px;
    }

    .loja-mob-product-item-prices {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: auto;
    }

    .loja-mob-product-item-price {
      font-size: 18px;
      font-weight: bold;
      color: #000;
    }

    .loja-mob-product-item-old-price {
      font-size: 13px;
      color: #999;
      text-decoration: line-through;
    }

    .loja-mob-product-item-discount {
      background: #000;
      color: white;
      padding: 2px 8px;
      border-radius: 8px;
      font-size: 11px;
      font-weight: bold;
    }

    .loja-mob-product-item-image {
      width: 100px;
      height: 100px;
      flex-shrink: 0;
      background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 48px;
    }

    .loja-mob-product-item-cashback {
      position: absolute;
      bottom: 12px;
      right: 12px;
      background: #e8f5e9;
      color: #2e7d32;
      padding: 4px 8px;
      border-radius: 6px;
      font-size: 11px;
      font-weight: 600;
    }

    .loja-mob-product-modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0,0,0,0.6);
      z-index: 200;
      max-width: 480px;
      margin: 0 auto;
      display: none;
    }

    .loja-mob-product-modal-overlay.active {
      display: block;
    }

    .loja-mob-product-modal {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      max-width: 480px;
      margin: 0 auto;
      background: white;
      overflow-y: auto;
      z-index: 201;
      display: none;
      animation: slideUp 0.3s ease-out;
    }

    .loja-mob-product-modal.active {
      display: block;
    }

    @keyframes slideUp {
      from { transform: translateY(100%); }
      to { transform: translateY(0); }
    }

    .loja-mob-product-modal-header {
      position: relative;
      background: #f5f5f5;
      height: 300px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 80px;

      background-position: center center !important;
    background-size: contain !important;
    background-repeat: none !important;
    }

    .loja-mob-product-modal-back {
      position: absolute;
      top: 16px;
      left: 16px;
      background: white;
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

    .loja-mob-product-modal-share {
      position: absolute;
      top: 16px;
      right: 16px;
      background: white;
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: none;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

    .loja-mob-product-modal-content {
      padding: 24px 20px 200px;
    }

    .loja-mob-product-modal-name {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 8px;
    }

    .loja-mob-product-modal-price {
      font-size: 20px;
      font-weight: bold;
      color: #000;
      margin-bottom: 16px;
    }

    .loja-mob-product-modal-desc {
      color: #666;
      font-size: 14px;
      margin-bottom: 24px;
    }

    .loja-mob-product-modal-section-title {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 12px;
      color: #333;
    }

    .loja-mob-product-modal-textarea {
      width: 100%;
      border: 1px solid #e0e0e0;
      border-radius: 8px;
      padding: 12px;
      font-size: 14px;
      font-family: inherit;
      resize: vertical;
      min-height: 80px;
    }

    .loja-mob-product-modal-footer {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      max-width: 480px;
      margin: 0 auto;
      background: white;
      padding: 16px 20px;
      border-top: 1px solid #eee;
      z-index: 10;
      background: #f9f9f9;
    }

    .loja-mob-product-modal-success {
      text-align: center;
      padding: 16px;
    }

    .loja-mob-product-modal-success-icon {
      font-size: 64px;
      margin-bottom: 12px;
    }

    .loja-mob-product-modal-success-title {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 12px;
    }

    .loja-mob-product-modal-qty-control {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 12px;
    }

    .loja-mob-product-modal-qty-buttons {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .loja-mob-product-modal-qty-btn {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      border: 1px solid #ddd;
      background: white;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .loja-mob-product-modal-qty {
      font-weight: 600;
      font-size: 16px;
      min-width: 32px;
      text-align: center;
    }

    .loja-mob-product-modal-actions {
      display: flex;
      gap: 12px;
    }

    .loja-mob-product-modal-btn {
      flex: 1;
      padding: 14px;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
      border: none;
    }

    .loja-mob-product-modal-btn-outline {
      background: white;
      border: 2px solid #000 !important;
      color: #000;
    }

    .loja-mob-product-modal-btn-solid {
      background: #000;
      color: white;
    }

    .loja-mob-bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: white;
      border-top: 1px solid #eee;
      display: flex;
      justify-content: space-around;
      padding: 12px 0;
      max-width: 480px;
      margin: 0 auto;
      z-index: 100;
    }

    .loja-mob-nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      color: #999;
      font-size: 13px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 8px 16px;
      position: relative;
    }

    .loja-mob-nav-item.active {
      color: #000;
    }

    .loja-mob-nav-item i{
      font-size: 18px;
    }

    .loja-mob-nav-badge {
      position: absolute;
      top: 4px;
      right: 8px;
      background: #000;
      color: white;
      border-radius: 10px;
      padding: 2px 6px;
      font-size: 10px;
      font-weight: bold;
      min-width: 18px;
      text-align: center;
    }

    /* LOADING SKELETON */
    .loja-mob-loading-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      max-width: 480px;
      margin: 0 auto;
      background: white;
      z-index: 300;
      display: none;
    }

    .loja-mob-loading-overlay.active {
      display: block;
    }

    .loja-mob-skeleton {
      padding: 20px;
    }

    .loja-mob-skeleton-header {
      height: 60px;
      background: #f0f0f0;
      margin-bottom: 20px;
      border-radius: 8px;
      animation: pulse 1.5s ease-in-out infinite;
    }

    .loja-mob-skeleton-item {
      height: 120px;
      background: #f0f0f0;
      margin-bottom: 16px;
      border-radius: 12px;
      animation: pulse 1.5s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.5; }
    }

    /* CART PAGE STYLES */
    .loja-mob-cart-page {
      background: white;
      min-height: 100vh;
      padding-bottom: 80px;
    }

    .loja-mob-cart-page-header {
      padding: 16px 20px;
      background: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid #eee;
    }

    .loja-mob-cart-page-title {
      font-size: 18px;
      font-weight: 700;
    }

    .loja-mob-cart-clear-btn {
      color: #f2f2f2;
      background: none;
      border: none;
      font-size: 13px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .loja-mob-cart-items {
      padding: 0 20px 20px;
    }

    .loja-mob-cart-item {
      display: flex;
      gap: 12px;
      padding: 16px 0;
      border-bottom: 1px solid #f5f5f5;
      align-items: flex-start;
    }

    .loja-mob-cart-item-icon {
      font-size: 36px;
    }

    .loja-mob-cart-item-info {
      flex: 1;
    }

    .loja-mob-cart-item-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 8px;
      margin-bottom: 8px;
    }

    .loja-mob-cart-item-qty-label {
      font-size: 14px;
      font-weight: 600;
      color: #333;
    }

    .loja-mob-cart-item-name {
      font-size: 14px;
      color: #666;
    }

    .loja-mob-cart-item-price {
      color: #000;
      font-weight: 600;
      font-size: 15px;
    }

    .loja-mob-cart-item-controls {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 8px;
    }

    .loja-mob-cart-item-trash {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      border: 1px solid #ddd;
      background: white;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: #999;
      filter: grayscale(1);
    opacity: 0.65;
    }

    .loja-mob-cart-qty-btn {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      border: 1px solid #ddd;
      background: white;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .loja-mob-cart-qty {
      font-weight: 600;
      min-width: 24px;
      text-align: center;
    }

    .loja-mob-cart-warning {
      background: #fff3cd;
      color: #856404;
      padding: 12px 20px;
      font-size: 13px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .loja-mob-cart-suggestions {
      padding: 20px;
      background: #f9f9f9;
      display: none;
    }

    .loja-mob-cart-suggestions-title {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 16px;
    }

    .loja-mob-cart-suggestions-scroll {
      display: flex;
      gap: 12px;
      overflow-x: auto;
      padding-bottom: 8px;
    }

    .loja-mob-cart-suggestion-item {
      flex-shrink: 0;
      width: 100px;
      text-align: center;
      cursor: pointer;
    }

    .loja-mob-cart-suggestion-image {
      width: 100px;
      height: 100px;
      background: white;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 48px;
      margin-bottom: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.08);
      position: relative;
    }

    .loja-mob-cart-suggestion-add {
      position: absolute;
      bottom: -8px;
      right: -8px;
      width: 32px;
      height: 32px;
      font-size: 17px;
      background: #000;
      border-radius: 50%;
      display: block;
      align-items: center;
      justify-content: center;
      color: white;
      border: 3px solid white;
      padding-top: 11px;
      line-height: 0;
    }

    .loja-mob-cart-suggestion-name {
      font-size: 12px;
      font-weight: 500;
      margin-bottom: 4px;
      line-height: 1.3;
    }

    .loja-mob-cart-suggestion-price {
      font-size: 13px;
      font-weight: 700;
      color: #000;
    }

    .loja-mob-cart-add-more {
      padding: 16px 20px;
      border-top: 1px solid #eee;
    }

    .loja-mob-cart-add-more-btn {
      width: 100%;
      background: white;
      border: 2px solid #000;
      color: #000;
      padding: 14px;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
    }

    .loja-mob-cart-footer {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 16px 20px;
      border-top: 2px solid #eee;
      background: white;
      max-width: 480px;
      margin: 0 auto;
    }

    .loja-mob-cart-advance-btn {
      width: 100%;
      background: #000;
      color: white;
      border: none;
      padding: 16px;
      border-radius: 8px;
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .loja-mob-cart-empty {
      text-align: center;
      padding: 60px 20px;
      color: #999;
    }

    .loja-mob-cart-empty-icon {
      font-size: 64px;
      margin-bottom: 16px;
      opacity: 0.1;
    }

    .hidden {
      display: none !important;
    }

    @media(min-width: 1000px){
      .loja-mob-tabs {
          overflow-x: scroll;
          padding-bottom: 13px;
      }
    }

    .loja-mob-product-modal-success-icon img{
          width: 58px;
          height: auto;
          display: block;
          margin-left: auto;
          margin-right: auto;
    }


    /* Estilo para a imagem do produto na lista */
    .loja-mob-product-item-image img {
      width: 95%;
      height: 95%;
      object-fit: cover;
      border-radius: 8px;
    }
    .loja-mob-product-item-image {
      font-size: 50px; /* Fallback para ícones caso a imagem quebre */
    }

    /* Estilos para os novos formulários no checkout */
    .loja-mob-checkout-form {
      padding: 20px;
      background: #f9f9f9;
      border-radius: 12px;
      margin-top: 16px;
    }
    .loja-mob-checkout-form-input {
      width: 100%;
      padding: 12px;
      border: 1px solid #ddd;
      border-radius: 8px;
      margin-bottom: 12px;
      box-sizing: border-box; /* Garante que padding não afete a largura total */
    }
    .loja-mob-checkout-form-actions {
      display: flex;
      gap: 10px;
      margin-top: 10px;
    }
    .loja-mob-checkout-form-btn {
      flex: 1;
      padding: 12px;
      border-radius: 8px;
      border: none;
      font-weight: 600;
      cursor: pointer;
    }
    .loja-mob-checkout-form-btn-primary {
      background: #000;
      color: white;
    }
    .loja-mob-checkout-form-btn-secondary {
      background: #e0e0e0;
      color: #333;
    }

    .loja-mob-cart-item-icon img {
      width: 64px;
      height: 64px;
      border-radius: 8px;
      object-fit: cover;
    }





    /*---------------------------------
      STORIES DE PRODUTOS
    -----------------------------------*/

    .stories-produtos-wrapper {
      padding: 16px 0 16px 16px;
      background: #fff;
      border-bottom: 1px solid #f0f0f0;
    }

    .stories-produtos-scroll {
      display: flex;
      overflow-x: auto;
      gap: 12px;
      /* Esconde a barra de rolagem */
      -ms-overflow-style: none;  /* IE and Edge */
      scrollbar-width: none;  /* Firefox */
    }

    .stories-produtos-scroll::-webkit-scrollbar {
      display: none; /* Chrome, Safari, Opera */
    }

    .stories-produtos-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      flex-shrink: 0;
      width: 72px; /* Largura fixa para cada item */
      position: relative;
    }

    .stories-produtos-item-border {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      /* Borda laranja/vermelha similar ao anexo */
      background: linear-gradient(45deg, #FF8C00 0%, #E11336 100%);
      padding: 2px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .stories-produtos-item-image {
      width: 100%;
      height: 100%;
      background-color: #eee;
      background-size: cover;
      background-position: center;
      border-radius: 50%;
      border: 2px solid white; /* Borda interna branca */
    }

    .stories-produtos-item-badge {
      position: absolute;
      top: 0;
      right: 4px;
      background-color: #E11336; /* Usando o vermelho do logo */
      color: white;
      font-size: 11px;
      font-weight: bold;
      padding: 2px 5px;
      border-radius: 10px;
      border: 1px solid white;
      min-width: 18px;
      text-align: center;
      line-height: 1.2;
    }

    .stories-produtos-item-name {
      font-size: 12px;
      color: #333;
      text-align: center;
      width: 100%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* Modal Viewer */
    .stories-produtos-viewer {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      max-width: 480px; /* Alinhado com o .loja-mob-container */
      margin: 0 auto;
      background: rgba(000,000,000,0.80); /* Fundo escuro */
      z-index: 250; /* Acima do overlay do modal de produto (200) */
      display: flex;
      flex-direction: column;
    }

    .stories-produtos-header {
      padding: 16px;
      position: relative;
      z-index: 10;
    }

    .stories-produtos-progress-bar {
      width: 100%;
      height: 3px;
      background-color: rgba(255, 255, 255, 0.3);
      border-radius: 3px;
      overflow: hidden;
    }

    .stories-produtos-progress-bar-inner {
      width: 0%;
      height: 100%;
      background-color: white;
      transition: width 0.2s linear;
    }

    .stories-produtos-close {
      position: absolute;
      top: 24px;
      right: 16px;
      background: rgba(0, 0, 0, 0.5);
      color: white;
      border: none;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      font-size: 18px;
      cursor: pointer;
      line-height: 32px;
      text-align: center;
    }

    .stories-produtos-content {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      padding: 0 16px 60px; /* Espaço para o card e setas */
    }

    .stories-produtos-nav-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.9);
      color: #333;
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      font-size: 20px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 5;
      box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }

    .stories-produtos-nav-arrow.prev {
      left: 8px;
    }

    .stories-produtos-nav-arrow.next {
      right: 8px;
    }

    .stories-produtos-card {
      background-color: white;
      border-radius: 16px;
      width: 100%;
      max-width: 340px;
      margin: 0 auto;
      overflow: hidden;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
      display: flex;
      flex-direction: column;
    }

    .stories-produtos-card-image {
      width: 100%;
      height: 280px;
      background-color: #f0f0f0;
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
    }

    .stories-produtos-card-body {
      padding: 20px;
    }

    .stories-produtos-card-prices {
      margin-bottom: 12px;
      display: flex;
      align-items: baseline;
      gap: 10px;
    }

    .stories-produtos-card-price {
      font-size: 24px;
      font-weight: 700;
      color: #000;
    }

    .stories-produtos-card-promo {
      font-size: 16px;
      font-weight: 600;
      color: #E11336; /* Vermelho */
    }

    .stories-produtos-card-title {
      font-size: 18px;
      font-weight: 600;
      color: #333;
      margin-bottom: 24px;
      /* Limita a 2 linhas */
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;  
      overflow: hidden;
      text-overflow: ellipsis;
      min-height: 44px; /* Garante altura para 2 linhas */
    }

    .stories-produtos-card-btn {
      width: 100%;
      background-color: #E11336; /* Laranja da imagem de referência */
      color: white;
      border: none;
      padding: 16px;
      border-radius: 8px;
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      transition: background-color 0.2s;
    }

   


    /*---------------------------------
	SCROLLBAR STORIES EM TELAS MAIORES
-----------------------------------*/

@media (min-width: 541px) {
  
  .stories-produtos-scroll {
    /* Mostra a barra no Firefox */
    scrollbar-width: thin; /* Pode usar 'auto' ou 'thin' */
    scrollbar-color: #ccc #f1f1f1; /* Cor do polegar e da trilha */
    padding-bottom: 14px;
    /* Mostra a barra no IE e Edge */
    -ms-overflow-style: auto;
  }

  /* Mostra e estiliza a barra no Chrome, Safari e Opera */
  .stories-produtos-scroll::-webkit-scrollbar {
    display: block;
    height: 8px; /* Altura da barra de rolagem horizontal */
  }

  .stories-produtos-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
  }

  .stories-produtos-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
  }

  .stories-produtos-scroll::-webkit-scrollbar-thumb:hover {
    background: #999;
  }
}



/*---------------------------------
    ESTILOS PARA CAMPOS DE PAGAMENTO SPA
-----------------------------------*/

/* Container dos campos extras */
.gateway-custom-fields {
    border-top: 1px dashed #eee; /* Linha separadora sutil */
    padding-top: 15px;
    margin-top: -1px; /* Puxa para perto do item clicado */
    background: #fff; /* Fundo branco para destacar */
    border-bottom-left-radius: 12px; /* Arredonda cantos inferiores */
    border-bottom-right-radius: 12px;
    /* Adiciona sombra sutil para profundidade */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    /* Garante que o container ocupe a largura */
    /* REMOVIDO margin-left: -1px; */
    /* REMOVIDO margin-right: -1px; */
    padding-left: 16px; /* Alinha com o conteúdo do item pai */
    padding-right: 16px;
    padding-bottom: 10px;
    margin-bottom: 12px; /* Adiciona espaço antes do próximo gateway */
}

/* Estilo para o <p> que envolve o select */
.gateway-custom-fields .form-row {
    padding: 0;
    margin: 0 0 10px 0; /* Espaçamento inferior */
    border: none;
}

/* Estilo para o <label> */
.gateway-custom-fields .form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}
.gateway-custom-fields .form-row label .required {
    color: red;
}

/* Estilo principal para o <select> */
.gateway-custom-fields .form-row select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    font-size: 14px;
    color: #333;
    -webkit-appearance: none; /* Remove aparência padrão no iOS */
    -moz-appearance: none;
    appearance: none;
    /* Adiciona uma seta customizada */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
}

/* Estilo para a div de informação da taxa */
.spa-tax-info {
    margin-top: 10px;
    padding: 10px;
    background: #f0f8ff;
    border-left: 4px solid #2196F3;
    border-radius: 4px;
    font-size: 13px; /* Um pouco menor */
    color: #333;
    line-height: 23px;
}
.spa-tax-info strong {
    font-weight: 600;
}


.wc-payment-form{
  position: relative;
    margin-top: 14px;
    margin-bottom: 6px;
    background: #f2f2f2;
    border: none;
    padding: 15px;
    border-radius: 12px;
}



/*---------------------------------
    ESTILOS MODAL BUSCAR PEDIDOS
-----------------------------------*/

.loja-mob-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  max-width: 480px; /* Alinha com o container principal */
  margin: 0 auto;
}

.loja-mob-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 16px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  width: 90%;
  max-width: 400px; /* Largura máxima do modal */
  max-height: 80vh; /* Altura máxima */
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Para conter o scroll interno */
}

.loja-mob-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  background-color: #f9f9f9; /* Um fundo leve no header */
}

.loja-mob-modal-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.loja-mob-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #888;
}
.loja-mob-modal-close:hover {
    color: #333;
}

.loja-mob-modal-content {
  padding: 20px;
  overflow-y: auto; /* Permite scroll se o conteúdo for grande */
  flex-grow: 1; /* Faz o conteúdo ocupar o espaço disponível */
}

.loja-mob-modal-content p {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
  line-height: 1.5;
}

.loja-mob-search-form {
  margin-bottom: 20px;
}

.loja-mob-form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #333;
}

.loja-mob-form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 15px;
}

.loja-mob-button-primary {
  width: 100%;
  background: #000;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.loja-mob-button-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.loja-mob-modal-feedback {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 14px;
  text-align: center;
}

.loja-mob-modal-feedback.loading {
  background-color: #e0e0e0;
  color: #333;
}

.loja-mob-modal-feedback.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.loja-mob-modal-feedback.not-found {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.loja-mob-results-container h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.loja-mob-table-wrapper {
    max-height: 30vh; /* Limita altura da tabela */
    overflow-y: auto;
    border: 1px solid #eee;
    border-radius: 8px;
}

.loja-mob-results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.loja-mob-results-table th,
.loja-mob-results-table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.loja-mob-results-table th {
  background-color: #f9f9f9;
  font-weight: 600;
  position: sticky; /* Cabeçalho fixo no scroll */
  top: 0;
}
.loja-mob-results-table tbody tr:last-child td {
    border-bottom: none;
}

.loja-mob-results-table .status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    /* Adicione cores conforme os status do WooCommerce */
    background-color: #ccc; color: #333;
}
.loja-mob-results-table .status-badge.status-processing { background-color: #c6e1c6; color: #2e7d32; }
.loja-mob-results-table .status-badge.status-pending { background-color: #fff3cd; color: #856404; }
.loja-mob-results-table .status-badge.status-completed { background-color: #d1ecf1; color: #0c5460; }
.loja-mob-results-table .status-badge.status-cancelled { background-color: #f8d7da; color: #721c24; }
/* Adicione outros status se necessário */


.loja-mob-results-table .btn-abrir-chat {
  background-color: #000;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.loja-mob-results-table .btn-abrir-chat:hover {
    opacity: 0.8;
}

/* Responsividade básica para o modal */
@media (max-width: 480px) {
    .loja-mob-modal {
        width: 95%;
        max-height: 90vh;
    }
}