

@supports (-webkit-touch-callout: none) {
    input, textarea, select {
        font-size: 16px;
    }
}
/* Base Font Size Variable */
:root {
    --base-font-size: 15px;
}

/* Typography Classes - LunaTheme®️ Compatible */
.text--xsmall {
    font-size: calc(var(--base-font-size) - 2px);
    line-height: 1.5384615385;
}

.text--small {
    font-size: calc(var(--base-font-size) - 1px);
    line-height: 1.4285714286;
}

.text--large {
    font-size: calc(var(--base-font-size) + 2px);
    line-height: 1.3333333333;
}

.text--subdued {
    color: var(--text-color);
    opacity: 0.75;
}

.text--strong {
    font-weight: 600;
}

.text--center {
    text-align: center;
}

.text--uppercase {
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Breadcrumb Styles - LunaTheme®️ Compatible */
.breadcrumb {
    margin: 0 0 20px 0;
    padding: 0;
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.breadcrumb__item {
    display: flex;
    align-items: center;
}

.breadcrumb__item:not(:last-child):after {
    content: '/';
    margin: 0 8px;
    color: var(--text-color);
    opacity: 0.5;
}

.breadcrumb__link {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.2s ease;
}

.breadcrumb__link:hover {
    color: var(--primary-button-background);
    text-decoration: underline;
}

.breadcrumb__link[aria-current="page"] {
    color: var(--heading-color);
    font-weight: 500;
}

/* Visibility Classes */
.hidden-phone {
    display: block;
}

.hidden-tablet-and-up {
    display: block;
}

.hidden-desktop {
    display: block;
}

.hidden-tablet {
    display: block;
}

/* Button Classes - LunaTheme®️ Compatible */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: var(--text-font-size);
    line-height: 1.2;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: var(--button-border-radius);
}

.btn--primary {
    background: var(--primary-button-background);
    color: var(--primary-button-text-color);
    border: 1px solid var(--primary-button-background);
}

.btn--primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn--secondary {
    background: var(--secondary-button-background);
    color: var(--secondary-button-text-color);
    border: 1px solid var(--secondary-button-background);
}

.btn--full {
    width: 100%;
}

.btn--large {
    padding: 1rem 2rem;
    font-size: calc(var(--base-font-size) + 1px);
}

/* Form Classes */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--button-border-radius);
    font-size: var(--text-font-size);
    font-family: inherit;
    background: var(--background-color);
    color: var(--text-color);
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-button-background);
    box-shadow: 0 0 0 2px rgba(var(--primary-button-background), 0.1);
}

/* Section Classes */
.section--main-product {
    padding: 2rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* MEDIA QUERIES - LunaTheme®️ COMPATIBLE */

/* Mobile First - Small Phones */
@media screen and (max-width: 480px) {
    .hidden-phone {
        display: none !important;
    }
    .hidden-tablet-and-up {
        display: block !important;
    }

    .text--xsmall {
        font-size: calc(var(--base-font-size) - 3px);
    }

    .btn {
        padding: 0.625rem 1.25rem;
        font-size: calc(var(--base-font-size) - 1px);
    }

    .breadcrumb {
        margin-bottom: 1rem;
    }

    .container {
        padding: 0 0.75rem;
    }
}

/* Mobile - Standard */
@media screen and (max-width: 640px) {
    .hidden-phone {
        display: none !important;
    }
    .hidden-tablet-and-up {
        display: block !important;
    }
}

/* Tablet Portrait */
@media screen and (min-width: 641px) {
    .hidden-tablet-and-up {
        display: none !important;
    }

    .container {
        padding: 0 1.5rem;
    }
}

/* Tablet Landscape */
@media screen and (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* Tablet Specific Range */
@media screen and (min-width: 768px) and (max-width: 1007px) {
    .hidden-tablet {
        display: none !important;
    }
}

/* Desktop */
@media screen and (min-width: 1008px) {
    .hidden-desktop {
        display: none !important;
    }

    .text--large {
        font-size: calc(var(--base-font-size) + 4px);
    }

    .btn--large {
        padding: 1.25rem 2.5rem;
        font-size: calc(var(--base-font-size) + 2px);
    }

    .container {
        padding: 0 2.5rem;
    }
}

/* Large Desktop */
@media screen and (min-width: 1200px) {
    .container {
        padding: 0 3rem;
    }
}

/* Extra Large Desktop */
@media screen and (min-width: 1440px) {
    .text--large {
        font-size: calc(var(--base-font-size) + 6px);
    }
}

/* High DPI/Retina Display Support */
@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (min-resolution: 192dpi) {
    .main-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .hidden-print {
        display: none !important;
    }

    .btn {
        border: 1px solid #000;
        background: transparent;
        color: #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .btn,
    .breadcrumb__link,
    .form-input {
        transition: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .text--subdued {
        opacity: 0.6;
    }
}

/* Product Labels - LunaTheme®️ quantitysell IDENTICAL */
.quantitysell {
    font-size: 10px;
    color: var(--fonte-vendidos);
    background: var(--back-vendidos);
    padding: 3px 5px;
    border-radius: 3px;
    margin-right: 5px;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* Exclusivity Label 1 - IDENTICAL to lunatheme quantitysell */
.exclusivity-label {
    padding: 3px 5px;
    font-size: 10px;
    border-radius: 3px;
    background-color: var(--back-exclusivo);
    color: var(--fonte-exclusivo);
    margin-right: 5px;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1;
}

.exclusivity-label::before {
    content: var(--exclusive-label);
}

/* Exclusivity Label 2 - IDENTICAL to lunatheme quantitysell */
.exclusivity-label-2 {
    padding: 3px 5px;
    font-size: 10px;
    border-radius: 3px;
    background-color: var(--back-exclusivo2);
    color: var(--fonte-exclusivo2);
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1;
}

.exclusivity-label-2::before {
    content: var(--bestseller-label);
}

/* Product Title - LunaTheme®️ IDENTICAL */
h1.product-meta__title.heading.h3 {
    margin-top: 5px;
}

@media screen and (max-width: 600px) {
    h1.product-meta__title.heading.h3 {
        font-size: var(--fonteprodm) !important;
    }
}

@media screen and (min-width: 600px) {
    h1.product-meta__title.heading.h3 {
        font-size: var(--fonteprod) !important;
    }
}

/* Price Styles - LunaTheme®️ IDENTICAL */
.gift-card__amount, .price--highlight {
    color: rgb(var(--product-on-sale-accent));
}

.price--compare {
    text-decoration: line-through;
    opacity: .7;
}

@media screen and (min-width: 1000px) {
    .price--large {
        font-size: var(--preco-prod);
    }
}

@media screen and (max-width: 1000px) {
    .price--large {
        font-size: var(--preco-prodm);
    }
}

/* Main Product CSS Variables and Classes */

/* Breadcrumb styles */
.showcaminho {
  flex: 1;
  text-align: left;
}

.breadcrumb-home {
  color: #888;
  font-size: 1.02em;
}

.breadcrumb-separator {
  color: #889;
  font-size: 1.02em;
}

/* Product content styles */
.empty-products-message {
  padding: 20px;
  text-align: center;
  color: #999;
}

.product-link {
  text-decoration: none;
}

.installment-price {
  font-weight: 700;
}

.special-offer {
  /* background color will be set via inline style from Liquid variable */
}

.offer-icon {
  /* color will be set via inline style from Liquid variable */
}

.pix-text {
  font-size: 14px;
  font-weight: 600;
}

.discount-text {
  font-weight: 700;
  margin-bottom: 3px;
}

.pix-label {
  margin-bottom: 3px;
}

/* Divider */
.content-divider {
  border: none;
  height: 1px;
  background-color: #ccc;
  margin: 20px 0;
}

/* Variant images */
.variant-image {
  height: auto;
  /* width will be set via inline style based on block settings */
}

/* Shipping styles */
.shipping-icon {
  border-radius: 5px;
  /* background will be set via inline style from Liquid variable */
}

.shipping-logo {
  width: 40px;
  margin-right: 10px;
}

.shipping-service-icon {
  /* color and background will be set via inline style from Liquid variables */
}

/* Button styles */
.add-to-cart {
  /* color and background will be set via inline style from Liquid variables */
}

.add-to-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  width: 100%;
}

.whatsapp-icon {
  flex-shrink: 0;
}

.custom-button {
  /* background-color, color, and width will be set via inline style from block settings */
}

.custom-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Shipping method images */
.shipping-method-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Delivery calculator styles */
.delivery-calculator {
  border: 1px solid #ddd;
  padding: 20px 0px;
  border-radius: 10px;
}

.calculator-title {
  font-weight: bold;
  margin-bottom: 10px;
}

.calculator-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cep-input {
  flex: 1;
  padding: 10px;
}

.calculate-btn {
  padding: 10px 20px;
  border: none;
  /* background and color will be set via inline style from Liquid variables */
}

.cep-result {
  margin-top: 15px;
  display: none;
  font-weight: bold;
  /* color will be set via inline style from Liquid variable */
}

.cep-result svg {
  margin-right: 4px;
}

.frete-table {
  margin-top: 10px;
  display: none;
}

.frete-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.frete-table-header {
  background: #f5f5f5;
}

.frete-table th {
  padding: 10px;
  text-align: left;
  font-weight: bold;
  color: #333;
  border-bottom: 1px solid #ddd;
}

.frete-table tbody {
  background: #fff;
}

.frete-table tr {
  border-top: 1px solid #ddd;
}

.frete-table td {
  padding: 10px;
  text-align: left;
  border-top: 1px solid #ddd;
  font-size: 12px;
}

.frete-table .delivery-name {
  /* standard cell styling */
}

.frete-table .delivery-time {
  font-weight: bold;
  /*
    nowrap pra prazo "1 a 2 dias" não quebrar em duas linhas
    em telas estreitas. Bug reportado: "o prazo aparece em 1 a 2
    [quebra] dias".
  */
  white-space: nowrap;
}

.frete-table .delivery-price {
  font-weight: bold;
  /* color will be set via inline style from Liquid variable */
  /*
    `white-space: nowrap` impede que o "R$" e o valor quebrem em
    linhas separadas quando a célula é estreita. Bug reportado:
    "o preco fica quebrando com o cifrao". Sem isso, em viewports
    apertados a quebra natural caía depois do "R$" e o usuário
    via:
        R$
        23,31
    Agora fica "R$ 23,31" sempre numa linha. Se a célula for
    estreita demais, o conteúdo pode estourar pra fora — aceitável
    porque o user pediu pra NÃO diminuir o font-size.
  */
  white-space: nowrap;
}

/* Help link */
.help-link {
  text-decoration: none;
}

.text-center {
  text-align: center;
}

/* Dots Navigation for Mobile - Featured Product */
@media (max-width: 768px) {
  /* Center thumbnails container when showing dots */
  .product-gallery[data-mobile-navigation="dots"] .thumbnails-container {
    justify-content: center;
  }

  .product-gallery[data-mobile-navigation="dots"] .dots-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
  }

  .product-gallery[data-mobile-navigation="dots"] .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    padding: 0;
  }

  .product-gallery[data-mobile-navigation="dots"] .dot.active {
    background-color: #333;
    transform: scale(1.2);
  }

  .product-gallery[data-mobile-navigation="dots"] .dot:hover {
    background-color: #999;
  }

  /* Hide thumbnails when using dots */
  .product-gallery[data-mobile-navigation="dots"] .thumbnails {
    display: none !important;
  }

  /* Show navigation buttons on mobile with dots */
  .product-gallery[data-mobile-navigation="dots"] .carousel-nav {
    display: flex;
  }
}

/* Desktop - always show thumbnails */
@media (min-width: 769px) {
  .product-gallery[data-mobile-navigation="dots"] .dots-navigation {
    display: none;
  }

  .product-gallery[data-mobile-navigation="dots"] .thumbnails {
    display: block !important;
  }
}
