/* Sodré Home — página de produto e ajustes do template.
   Desenvolvimento: Paulo Muniz | WhatsApp (62) 99915-5125
   Usa as cores e fontes do template (main-LTR-1.css). */
:root { --sh-main: #3f4840; --sh-dark: #252525; --sh-text: #5f5f5f; --sh-line: #e4e0da; --sh-shade: #f4f0e8; }

/* correção: na seção "benefits" a foto fica só na coluna dela */
.benefits .col-lg-6.position-relative { min-height: 420px; }
@media (max-width: 991px) { .benefits .col-lg-6.position-relative { min-height: 0; } }
.benefits .benefits-boxes-area { background: #fff; }
body.dark-theme .benefits .benefits-boxes-area { background: transparent; }

/* página de produto */
.product-single { padding-top: 5rem; }
.product-gallery .main-img { display: block; overflow: hidden; background: var(--sh-shade); aspect-ratio: 1 / 1; }
.product-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-gallery .main-img:hover img { transform: scale(1.04); }
.product-gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-top: .75rem; }
.product-gallery .thumb { padding: 0; border: 2px solid transparent; background: none; aspect-ratio: 1 / 1; overflow: hidden; cursor: pointer; opacity: .7; transition: all .3s; }
.product-gallery .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery .thumb.active, .product-gallery .thumb:hover { border-color: var(--sh-main); opacity: 1; }
.product-summary { padding-left: 1.5rem; }
@media (max-width: 991px) { .product-summary { padding-left: 0; margin-top: 2rem; } }
.product-summary .tag-line a { color: inherit; }
.product-summary .product-title { font-family: "Roboto slab", sans-serif; font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--sh-dark); margin: .5rem 0 .25rem; }
.product-summary .product-sku { font-size: .85rem; color: #8a8a8a; margin-bottom: 1rem; }
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; margin-bottom: 1rem; }
.product-price .price { font-family: "Roboto slab", sans-serif; font-size: 2rem; font-weight: 700; color: var(--sh-main); }
.product-price .installments { color: var(--sh-text); font-size: .95rem; }
.product-short { color: var(--sh-text); margin-bottom: 1.5rem; }
.option-group { margin-bottom: 1.25rem; }
.option-label { display: block; font-weight: 600; color: var(--sh-dark); margin-bottom: .5rem; }
.option-label strong { font-weight: 500; color: var(--sh-text); }
.swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
.swatch { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .75rem .4rem .4rem; border: 1px solid var(--sh-line); cursor: pointer; font-size: .9rem; transition: border-color .3s; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch-color { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.swatch:hover, .swatch:has(input:checked) { border-color: var(--sh-main); }
.swatch:has(input:checked) { box-shadow: inset 0 0 0 1px var(--sh-main); }
.swatch:has(input:focus-visible) { outline: 2px solid var(--sh-main); outline-offset: 2px; }
.product-form .form-select { border-radius: 0; padding: .65rem 1rem; border-color: var(--sh-line); }
.product-form .form-select:focus { border-color: var(--sh-main); box-shadow: none; }
.buy-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: stretch; }
.qty { display: inline-flex; border: 1px solid var(--sh-line); }
.qty input { width: 52px; border: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 42px; border: 0; background: var(--sh-shade); font-size: 1.2rem; color: var(--sh-dark); }
.qty-btn:hover { background: var(--sh-main); color: #fff; }
.buy-row .buy-whatsapp { flex: 1 1 220px; }
.product-form .ask-whatsapp { width: 100%; }
.product-form .ma-btn-primary i, .product-form .ma-btn-secondary i { margin-right: .4rem; }
.product-perks { list-style: none; padding: 1.25rem 0; margin: 1rem 0; border-top: 1px solid var(--sh-line); border-bottom: 1px solid var(--sh-line); }
.product-perks li { color: var(--sh-text); padding: .3rem 0; }
.product-perks li i { width: 1.6rem; color: var(--sh-main); }
.product-perks a { color: var(--sh-main); }
.product-share { display: flex; align-items: center; gap: .75rem; color: var(--sh-dark); font-weight: 600; }
.product-tabs { margin-top: 4rem; }
.product-tabs .nav-tabs { border-bottom: 1px solid var(--sh-line); gap: .25rem; }
.product-tabs .nav-link { border: 0; border-bottom: 3px solid transparent; border-radius: 0; color: var(--sh-dark); font-weight: 600; padding: .8rem 1.25rem; }
.product-tabs .nav-link.active, .product-tabs .nav-link:hover { color: var(--sh-main); border-bottom-color: var(--sh-main); background: none; }
.product-tabs .tab-content { padding: 1.75rem 0 0; color: var(--sh-text); }
.spec-table th { width: 35%; color: var(--sh-dark); font-weight: 600; }
.spec-table td, .spec-table th { padding: .8rem .5rem; border-color: var(--sh-line); }

/* === Sodre Home: paleta da marca (Verde Ardosia + Marfim) === */
:root { --sodre-verde: #3f4840; --sodre-verde-escuro: #2f3630; --sodre-marfim: #f4f0e8; --sodre-areia: #bca58e; }

/* === Ícones Sodré Home (SVG de linha, herdam a cor do texto) === */
.sh-icon { display: inline-block; width: 1em; height: 1em; flex-shrink: 0; overflow: visible; vertical-align: -0.15em; }
.services-bg-img .sh-icon.font-icon, .services-boxed .sh-icon.font-icon, .services .sh-icon.font-icon { font-size: 3.5rem; stroke-width: 1.4; }
.services-bg-img .sh-icon.font-icon { color: var(--sodre-areia); }
.benefits .benefits-boxes-area .benefit-box .sh-icon.benefit-icon { font-size: 3.25rem; display: block; }
.about .info-items-grid .info-item .item-title .sh-icon.item-icon { font-size: 2.5rem; vertical-align: middle; }
.contact-info .sh-icon.icon { width: 2.5rem; height: 2.5rem; font-size: 2.5rem; stroke-width: 1.8; }
.contact-info-card { display: flex; align-items: flex-start; }
.contact-info-card .sh-icon.icon { width: 1.35rem; height: 1.35rem; stroke-width: 2.4; margin-top: 0.05rem; }
.product-perks li .sh-icon { width: 1.35rem; height: 1.35rem; margin-right: 0.5rem; color: var(--sh-main); stroke-width: 2.4; vertical-align: -0.3em; }
.dark-color-footer .contact-info-card .sh-icon.icon { color: var(--sodre-areia); }

/* === Créditos do rodapé === */
.copyrights .dev-credit { margin: 0.35rem 0 0; padding-top: 0.5rem; border-top: 1px solid rgba(244, 240, 232, 0.1);
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em; text-align: center; color: rgba(244, 240, 232, 0.6); }
.copyrights .dev-credit a { color: rgba(244, 240, 232, 0.85); text-decoration: none; font-weight: 600; transition: color 0.25s ease; }
.copyrights .dev-credit a:hover { color: var(--sodre-areia); }
.copyrights .dev-credit .sep { margin: 0 0.4rem; }

/* Mantra da marca no hero: mantém a grafia original */
.hero-swiper-slider .slide-title.sh-mantra,
.hero-swiper-slider .slide-title.sh-mantra .char,
.hero-swiper-slider .slide-title.sh-mantra .char:first-child { text-transform: none; }
