/* Identidade Casa de Maria: EB Garamond, Inter e paleta do kit de marca. */
:root {
  --main-background: #f4f3f2;
  --main-foreground: #181919;
  --accent-color: #17253f;
  --button-background: #17253f;
  --button-foreground: #f8f0e5;
  --header-background: #f4f3f2;
  --header-foreground: #17253f;
  --header-badge-background: #17253f;
  --header-badge-foreground: #f8f0e5;
  --header-search-btn-background: #17253f;
  --header-search-btn-foreground: #f8f0e5;
  --header-desktop-utilities-background: #f4f3f2;
  --header-desktop-utilities-foreground: #17253f;
  --header-desktop-nav-background: #17253f;
  --header-desktop-nav-foreground: #f8f0e5;
  --header-featured-link-foreground: #f8f0e5;
  --primary-adbar-background: #17253f;
  --primary-adbar-foreground: #f8f0e5;
  --secondary-adbar-background: #f8f0e5;
  --secondary-adbar-foreground: #17253f;
  --footer-background: #17253f;
  --footer-foreground: #f8f0e5;
  --footer-foreground-opacity-40: #f8f0e566;
  --footer-foreground-opacity-60: #f8f0e599;
  --main-foreground-opacity-03: #18191908;
  --main-foreground-opacity-05: #1819190d;
  --main-foreground-opacity-10: #1819191a;
  --main-foreground-opacity-20: #18191933;
  --main-foreground-opacity-30: #1819194d;
  --main-foreground-opacity-40: #18191966;
  --main-foreground-opacity-50: #18191980;
  --main-foreground-opacity-60: #18191999;
  --main-background-opacity-30: #f4f3f24d;
  --main-background-opacity-50: #f4f3f280;
  --main-background-opacity-80: #f4f3f2cc;
  --header-foreground-opacity-10: #17253f1a;
  --header-foreground-opacity-20: #17253f33;
  --header-foreground-opacity-30: #17253f4d;
  --header-foreground-opacity-50: #17253f80;
  --heading-font: 'EB Garamond', Georgia, serif;
  --body-font: 'Inter', Arial, sans-serif;
  --title-font-weight: 400;
  --border-radius: 2px;
  --border-radius-medium: 2px;
  --border-radius-small: 2px;
  --border-radius-smallest: 2px;
}
body { font-family: var(--body-font); line-height: 1.6; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 { font-family: var(--heading-font); font-weight: 400; color: #17253f; letter-spacing: -.015em; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, select:focus-visible { outline: 2px solid #b48847; outline-offset: 4px; }
.cm-shell { width: calc(100% - 80px); max-width: 1200px; margin: 0 auto; }
.head-main, .head-colors { background: #f4f3f2; color: #17253f; border-bottom: 1px solid #17253f0d; }
.cm-announcement { background: #17253f; color: #f8f0e5; text-align: center; padding: 9px 20px; font-size: 12px; line-height: 1.5; }
.head-main .head-row { width: calc(100% - 80px); max-width: 1200px; display: grid; grid-template-columns: 180px 1fr 28px 76px; grid-template-rows: auto; gap: 22px; min-height: 86px; padding: 8px 0; align-items: center; }
.head-main .head-row .logo-container { grid-column: 1; grid-row: 1; text-align: left; }
.head-main .logo-img, .head-main .logo-img.logo-big { width: auto; max-height: 70px; max-width: 100%; padding: 0; }
.head-main .logo-img-container { max-width: 160px; }
.cm-header-nav { display: flex; justify-content: flex-end; align-items: center; gap: 34px; padding-right: 22px; grid-column: 2; grid-row: 1; }
.cm-header-nav a { font-size: 13px; color: #17253f; border-bottom: 1px solid transparent; padding: 8px 0; }
.cm-header-nav a:hover, .cm-header-nav a[aria-current] { border-color: #b48847; }
.head-main .nav-desktop-container { display: none !important; }
.head-main .head-row .utilities-container { grid-column: 4; grid-row: 1; display: flex; justify-content: flex-end; gap: 23px; }
.head-main .js-header-utility-with-text, .head-main .js-header-utility-text-cart { display: none !important; }
.head-main .js-header-utility-icon-only { display: grid !important; background: none; border: 0; width: auto; height: auto; }
.head-main .header-utility, .head-main .header-icon-big { background: none; width: auto; height: auto; }
.head-main .utility-icon, .cm-search summary svg { width: 20px; height: 20px; }
.head-main .js-cart-widget-amount.badge { display: flex !important; top: -6px; right: -10px; font-size: 9px; width: 16px; height: 16px; min-width: 16px; }
.cm-search { grid-column: 3; grid-row: 1; }
.cm-search summary { display: flex; align-items: center; justify-content: center; width: 28px; height: 36px; cursor: pointer; list-style: none; }
.cm-search summary::-webkit-details-marker { display: none; }
.cm-search summary svg { fill: currentColor; }
.head-main .cm-search .search-container { display: none; position: absolute; top: 100%; right: 0; z-index: 1100; margin: 0; min-width: 0; max-width: none; width: min(460px, 100%); padding: 16px; background: #f4f3f2; box-shadow: 0 10px 24px #17253f14; }
.head-main .cm-search[open] .search-container { display: block; }
.head-main .form-control { background: #fff; border: 1px solid #17253f33; border-radius: 2px; }
.cm-main-banner, .cm-campaign { width: 100%; max-width: none; margin: 0; padding: 0; }
.cm-main-banner { position: relative; }
.cm-main-banner .js-home-slider-container { width: 100%; max-width: none; padding: 0; margin: 0; }
.cm-main-banner .slider-image { width: 100%; }
.cm-main-banner .cm-banner-copy { position: absolute; z-index: 2; top: 47%; right: auto; bottom: auto; left: 58%; width: min(36%, 520px); padding: 0; color: #17253f; text-align: left; transform: translateY(-50%); }
.cm-main-banner .cm-banner-title { max-width: 480px; margin: 0 0 18px !important; font-family: var(--heading-font); font-size: clamp(32px, 4.3vw, 64px); font-weight: 400; line-height: 1.04; color: #17253f; }
.cm-main-banner .cm-banner-description { max-width: 310px; margin: 0 0 22px !important; font-size: clamp(14px, 1.25vw, 17px); line-height: 1.7; color: #4d4c46; }
.cm-main-banner .cm-banner-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; max-width: 100%; padding: 11px 25px; border: 1px solid #17253f; border-radius: 50px; background: #17253f; color: #f8f0e5; font-size: 12px; line-height: 1.5; text-decoration: none; }
.cm-main-banner .cm-banner-button:hover { background: #2b405f; color: #fff; }
.cm-main-banner .cm-banner-button:focus-visible { outline: 2px solid #17253f; outline-offset: 4px; }
.cm-campaign { position: relative; display: flex; justify-content: flex-end; min-height: 560px; overflow: hidden; background: #f8f0e5; }
.cm-campaign-photo { display: block; position: absolute; inset: 0; width: 100%; background: #e7e6df; }
.cm-campaign-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 48%; }
.cm-campaign-copy { position: relative; z-index: 1; width: 50%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 52px 60px; background: #f8f0e5eb; border-bottom: 3px solid #b48847; }
.cm-campaign-copy h1 { font-size: clamp(40px, 4.1vw, 60px); line-height: 1.08; margin: 0 0 24px; color: #17253f; }
.cm-campaign-copy p { max-width: 445px; font-size: 17px; line-height: 1.8; margin: 0 0 32px; color: #4d4c46; }
.cm-pill { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; padding: 11px 25px; border: 1px solid #17253f; border-radius: 50px; color: #f8f0e5; background: #17253f; font-family: var(--body-font); font-size: 12px; font-weight: 500; line-height: 1.5; text-decoration: none; transition: background .2s, color .2s; }
.cm-pill svg { width: 17px; height: 17px; fill: currentColor; }
.cm-pill:hover { background: #2b405f; color: #fff; }
.cm-pill-border { background: transparent; color: #17253f; border-color: #17253f55; }
.cm-pill-outline { background: transparent; border-color: #f8f0e566; color: #f8f0e5; }
.cm-pill-outline:hover { background: #f8f0e5; color: #17253f; }
.cm-pill-gold { background: #b48847; border-color: #b48847; color: #fff; }
.cm-benefits { background: #fff; padding: 28px 0; }
.cm-benefits-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cm-benefits-grid > a { display: flex; align-items: center; gap: 15px; color: #181919; }
.cm-benefits svg { width: 23px; height: 23px; flex: 0 0 23px; fill: #b48847; }
.cm-benefits strong { display: block; font-size: 13px; line-height: 1.7; font-weight: 500; }
.cm-benefits span span { display: block; color: #767773; font-size: 11px; line-height: 1.7; }
.cm-collections { background: #f4f3f2; padding: 88px 0 96px; scroll-margin-top: 130px; }
.cm-section-heading { text-align: center; margin-bottom: 48px; }
.cm-section-heading h2 { font-size: 42px; line-height: 1.2; margin: 0 0 22px; font-weight: 400; }
.cm-title-divider { display: flex; align-items: center; justify-content: center; gap: 14px; color: #b48847; font-size: 14px; line-height: 1; }
.cm-title-divider::before, .cm-title-divider::after { content: ''; height: 1px; width: 42px; background: #b488474d; }
.cm-collection-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.cm-collection { display: block; background: #fff; border: 7px solid #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 10px 30px #17253f08; color: #17253f; transition: transform .2s; }
.cm-collection:hover { transform: translateY(-4px); color: #17253f; }
.cm-collection-picture { position: relative; aspect-ratio: .9; display: flex; align-items: center; justify-content: center; border-radius: 15px; background: #f8f0e5; border: 1px solid #b4884726; }
.cm-symbol-frame { display: block; width: 140px; height: 108px; overflow: hidden; opacity: .5; }
.cm-symbol-frame img { width: 140px; height: auto; display: block; mix-blend-mode: multiply; }
.cm-collection-caption { padding: 22px 10px 21px; text-align: center; }
.cm-collection h3 { font-size: 25px; line-height: 1.2; margin: 0 0 13px; }
.cm-collection-caption > span { display: inline-flex; align-items: center; gap: 10px; color: #8a6633; font-size: 11px; }
.cm-collection-caption svg { width: 14px; height: 14px; fill: currentColor; }
.cm-products { background: #fff; padding: 88px 0 90px; }
.cm-products-cm-novidades { background: #f4f3f2; }
.cm-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.cm-products .product-item { width: 100%; min-width: 0; margin: 0 !important; background: #fff; overflow: hidden; border: 1px solid #17253f0d; border-radius: 18px; box-shadow: 0 8px 28px #17253f09; display: flex; flex-direction: column; }
.cm-products .product-item-image-container { flex: none; aspect-ratio: 2 / 3; margin: 10px 10px 0; background: #f4f2ee; border-radius: 12px; }
.cm-products .product-item-image-container > div[style*="padding-bottom"] { padding-bottom: 150% !important; }
.cm-products .product-item-image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cm-products .cm-no-photo img, .cm-products .cm-no-photo .placeholder { display: none !important; }
.cm-products .cm-no-photo::after { content: "Imagem em breve"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; color: #817b71; font-size: 12px; text-align: center; pointer-events: none; }
.product-item-information, .product-item-information .product-item-link, .product-item-information .custom-installments { text-align: left; }
.cm-products .product-item-information { text-align: left; padding: 18px 16px 16px !important; flex: 1; }
.cm-products .product-item-name { font-family: var(--heading-font); font-size: 20px; line-height: 1.3; min-height: 2.6em; font-weight: 400; letter-spacing: 0; margin-bottom: 12px !important; }
.cm-products .product-item-price { color: #17253f; font-size: 16px; font-weight: 600; }
.cm-products .custom-installments { font-size: 11px; line-height: 1.7; color: #686b6a; }
.cm-products .js-last-product, .cm-products .js-latest-products-available { display: none; }
.cm-card-action { display: flex; align-items: center; justify-content: center; padding: 0 16px 18px; }
.cm-card-button { display: block; width: 100%; text-align: center; padding: 11px 16px; border-radius: 40px; background: #17253f; color: #f8f0e5; font-size: 12px; }
.cm-card-button:hover { background: #2b405f; color: #fff; }
.cm-card-button:focus-visible { outline: 2px solid #b48847; outline-offset: 3px; }
.cm-products-status { text-align: center; font-size: 14px; color: #686b6a; padding: 20px 0; }
.cm-products-status[hidden] { display: none; }
.cm-section-action { text-align: center; margin-top: 48px; }
.cm-devotion { background: #17253f; color: #f8f0e5; padding: 90px 0; }
.cm-devotion-grid { display: grid; grid-template-columns: 420px 1fr; align-items: center; gap: 76px; }
.cm-devotion-art { border-radius: 22px; overflow: hidden; background: #f8f0e5; }
.cm-devotion-art img { display: block; width: 100%; height: auto; }
.cm-cross { display: block; font-size: 35px; line-height: 1; color: #b48847; margin-bottom: 20px; }
.cm-devotion h2 { color: #f8f0e5; font-size: 48px; line-height: 1.15; margin: 0 0 24px; }
.cm-devotion blockquote { font-family: var(--heading-font); font-size: 23px; font-style: italic; line-height: 1.7; margin: 0 0 28px; padding-left: 24px; border-left: 1px solid #b4884770; color: #f8f0e5db; }
.cm-contact { padding: 78px 0; background: linear-gradient(110deg, #f8f0e5, #fff 55%, #f8f0e5); border-top: 1px solid #b4884733; }
.cm-contact-grid { display: grid; grid-template-columns: 1fr auto; gap: 70px; align-items: center; }
.cm-contact h2 { font-size: 43px; line-height: 1.2; margin: 0 0 20px; }
.cm-contact p { max-width: 530px; font-size: 14px; color: #555953; line-height: 1.9; margin: 0 0 24px; }
.cm-contact-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.cm-contact-cards { display: flex; gap: 18px; }
.cm-contact-cards a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; width: 150px; height: 160px; border: 8px solid #fff; outline: 1px solid #b4884726; outline-offset: -14px; border-radius: 24px; background: #fff; color: #17253f; box-shadow: 0 12px 28px #17253f09; }
.cm-contact-cards svg { width: 48px; height: 48px; fill: #b48847; }
.cm-contact-cards span { font-size: 11px; }
.cm-footer-quote { text-align: center; background: #17253f; color: #f8f0e5; padding: 70px 20px 40px; }
.cm-footer-quote > span { color: #b48847; }
.cm-footer-quote blockquote { font-family: var(--heading-font); font-size: 28px; font-style: italic; margin: 20px 0 10px; }
.cm-footer-quote p { color: #c1a16e; font-size: 12px; margin: 0; }
.js-footer { background: #17253f; color: #f8f0e5; }
.js-footer a, .js-footer h2, .js-footer h3, .js-footer h4 { color: #f8f0e5; }
.js-footer .footer-main-info { display: grid; grid-template-columns: 1.15fr .7fr .8fr 1fr; gap: 45px; padding-top: 36px; padding-bottom: 60px; }
.cm-footer-brand { display: block; width: 180px; max-width: 100%; margin-bottom: 20px; }
.cm-footer-brand img { display: block; width: 100%; height: auto; }
.cm-footer-default-logo { mix-blend-mode: lighten; }
.cm-footer-brand:has(.js-footer-logo-container:not([style*="display: none"])) .cm-footer-default-logo { display: none; }
.cm-footer-description { font-size: 13px; line-height: 1.9; max-width: 270px; margin-bottom: 16px; }
.cm-footer-support { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; order: 2; }
.cm-footer-support h3 { font-family: var(--body-font); font-size: 13px; font-weight: 500; margin: 0 0 12px; letter-spacing: 0; }
.cm-footer-support a { font-size: 12px; }
.js-footer .footer-nav-container { order: 1; }
.js-footer .footer-newsletter-container { order: 3; }
.js-footer .form-control { color: #f8f0e5; background: transparent; border-color: #f8f0e566; }
.js-footer .form-control::placeholder { color: #f8f0e5b3; }
.js-footer .footer-secondary-info { border-top: 1px solid #f8f0e51a; padding-top: 22px; }
/* Galeria da página de produto: fotos inteiras em uma área mais compacta. */
#single-product .product-images-slider .js-product-slide-link { height: 480px; padding-bottom: 0 !important; }
#single-product .product-slider-image { top: 0; height: 100%; object-fit: contain; }
@media (min-width: 768px) {
  #single-product .product-images { width: 50%; flex-basis: 50%; min-width: 0; }
  #single-product .product-info { width: auto; flex: 1; min-width: 0; }
  #single-product .swiper-product-thumb { height: 480px; }
}
@media (max-width: 1100px) {
  .head-main .head-row { grid-template-columns: 130px 1fr 28px 70px; gap: 16px; }
  .cm-header-nav { gap: 24px; padding-right: 10px; }
  .cm-campaign { min-height: 490px; }
  .cm-campaign-copy { padding: 38px; }
  .cm-benefits-grid { gap: 20px; }
  .cm-benefits strong { font-size: 12px; }
  .cm-benefits span span { font-size: 10px; }
  .cm-collection-grid, .cm-product-grid { gap: 22px; }
  .cm-collection h3 { font-size: 22px; }
  .cm-devotion-grid { grid-template-columns: 36% 1fr; gap: 48px; }
  .cm-devotion blockquote { font-size: 21px; }
  .cm-contact-grid { gap: 36px; }
  .cm-contact-cards a { width: 125px; }
  .js-footer .footer-main-info { gap: 26px; }
}
@media (max-width: 767px) {
  #single-product .product-images-slider .js-product-slide-link { height: min(360px, 90vw); }
  .cm-shell { width: calc(100% - 36px); }
  .cm-announcement { font-size: 10px; padding: 8px 12px; }
  .head-main .head-row { width: calc(100% - 36px); grid-template-columns: 28px 1fr 28px 32px; gap: 13px; min-height: 80px; padding: 8px 0; }
  .head-main .head-row .menu-container { grid-column: 1; grid-row: 1; }
  .head-main .head-row .logo-container { grid-column: 2; text-align: center; }
  .head-main .logo-img, .head-main .logo-img.logo-big { max-height: 62px; max-width: 100%; }
  .head-main .logo-img-container { max-width: 130px; }
  .cm-header-nav, .head-main .utilities-container > .js-header-utility-icon-only { display: none !important; }
  .head-main .head-row .utilities-container { grid-column: 4; }
  .head-main .cm-search .search-container { width: calc(100vw - 36px); }
  .cm-main-banner .cm-banner-copy { top: 46%; left: 50%; width: 46%; }
  .cm-main-banner .cm-banner-title { margin-bottom: 12px !important; font-size: clamp(20px, 5.6vw, 27px); line-height: 1.04; }
  .cm-main-banner .cm-banner-description { display: none; }
  .cm-main-banner .cm-banner-button { min-height: 36px; padding: 8px 16px; font-size: 11px; }
  .cm-campaign { min-height: 350px; }
  .cm-campaign-photo img { object-position: center; }
  .cm-campaign-copy { width: 56%; padding: 30px 20px; }
  .cm-campaign-copy h1 { font-size: 30px; margin-bottom: 16px; }
  .cm-campaign-copy p { font-size: 12px; line-height: 1.8; margin-bottom: 20px; }
  .cm-campaign-copy .cm-pill { font-size: 10px; padding: 9px 14px; min-height: 39px; gap: 8px; }
  .cm-campaign-copy .cm-pill svg { width: 13px; }
  .cm-benefits { padding: 24px 0; }
  .cm-benefits-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .cm-benefits-grid > a { gap: 10px; }
  .cm-benefits svg { width: 20px; height: 20px; flex-basis: 20px; }
  .cm-benefits strong { font-size: 11px; }
  .cm-benefits span span { font-size: 10px; }
  .cm-collections, .cm-products { padding: 50px 0 56px; }
  .cm-section-heading { margin-bottom: 32px; }
  .cm-section-heading h2 { font-size: 34px; margin-bottom: 18px; }
  .cm-collection-grid, .cm-product-grid { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .cm-collection { border-width: 5px; border-radius: 18px; }
  .cm-collection-picture { aspect-ratio: .95; border-radius: 12px; }
  .cm-symbol-frame { width: 100px; height: 77px; }
  .cm-symbol-frame img { width: 100px; }
  .cm-collection-caption { padding: 17px 6px 18px; }
  .cm-collection h3 { font-size: 22px; min-height: 52px; margin-bottom: 8px; }
  .cm-collection-caption > span { font-size: 10px; gap: 7px; }
  .cm-products .product-item { border-radius: 16px; }
  .cm-products .product-item-image-container { margin: 8px 8px 0; border-radius: 10px; }
  .cm-products .product-item-information { padding: 14px 12px !important; }
  .cm-products .product-item-name { font-size: 17px; line-height: 1.25; min-height: 3.75em; -webkit-line-clamp: 3; }
  .cm-products .product-item-price { font-size: 14px; }
  .cm-products .custom-installments { font-size: 10px; }
  .cm-card-action { padding: 0 12px 14px; }
  .cm-card-button { font-size: 11px; padding: 10px 8px; }
  .cm-section-action { margin-top: 32px; }
  .cm-devotion { padding: 48px 0; }
  .cm-devotion-grid { grid-template-columns: 1fr; gap: 34px; }
  .cm-devotion-art { width: 82%; max-width: 330px; margin: 0 auto; }
  .cm-devotion h2 { font-size: 40px; }
  .cm-devotion blockquote { font-size: 22px; padding-left: 19px; }
  .cm-devotion-copy { padding: 0 8px; }
  .cm-contact { padding: 48px 0; }
  .cm-contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .cm-contact h2 { font-size: 35px; }
  .cm-contact p { font-size: 13px; }
  .cm-contact-cards { justify-content: flex-start; gap: 18px; }
  .cm-contact-cards a { width: 145px; height: 145px; }
  .cm-footer-quote { padding: 48px 22px 30px; }
  .cm-footer-quote blockquote { font-size: 26px; }
  .js-footer .footer-main-info { grid-template-columns: 1fr 1fr; gap: 32px 22px; padding-bottom: 36px; }
  .js-footer .footer-contact-info-container, .js-footer .footer-newsletter-container { grid-column: 1 / -1; }
  .js-footer .footer-nav-container { order: 1; }
  .cm-footer-support { order: 2; }
  .js-footer .footer-newsletter-container { order: 3; }
}
@media (max-width: 359px) {
  .cm-campaign-copy { padding: 24px 14px; }
  .cm-campaign-copy h1 { font-size: 26px; }
  .cm-benefits strong { font-size: 10px; }
  .cm-benefits span span { font-size: 9px; }
  .cm-collection h3 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .cm-collection, .cm-pill { transition: none; }
}
