/*
 * Emerald Thinker site-wide polish layer — v2.6.0
 * Keeps Elementor templates editable while unifying the active header,
 * WooCommerce catalog/blocks, typography, loading states, and footer.
 */

:root {
  --ett-polish-ink: #11110f;
  --ett-polish-muted: #686760;
  --ett-polish-line: #d9d7d0;
  --ett-polish-paper: #f7f6f2;
  --ett-polish-green: #004b3c;
  --ett-polish-serif: "EB Garamond", Georgia, serif;
  --ett-polish-sans: "Inter", Arial, sans-serif;
  --ett-polish-width: 1680px;
}

html { scroll-behavior: smooth; }
body { color: var(--ett-polish-ink); }

/* Active Elementor header: one deliberate, compact gallery-navigation row. */
body .elementor-location-header.elementor-3633 {
  position: relative;
  z-index: 1000;
  min-height: 0 !important;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--ett-polish-line);
}
body .elementor-location-header.elementor-3633 .elementor-element.elementor-element-29a12d50 {
  min-height: 96px !important;
  margin: 0 !important;
  padding: 6px clamp(20px, 3.2vw, 64px) !important;
}
body .elementor-location-header.elementor-3633 .elementor-element-29a12d50 > .elementor-container {
  min-height: 68px !important;
  max-width: var(--ett-polish-width) !important;
  margin: 0 auto !important;
  align-items: center !important;
}
body .elementor-location-header.elementor-3633 .elementor-widget-wrap {
  min-height: 0 !important;
  align-content: center !important;
}
body .elementor-location-header.elementor-3633 .logo_image {
  width: auto !important;
  max-width: 92px !important;
  max-height: 62px !important;
  object-fit: contain;
}
body .elementor-location-header.elementor-3633 a,
body .elementor-location-header.elementor-3633 .sc_layouts_item_details {
  font-family: var(--ett-polish-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Remove imported-theme gaps between the global chrome and page content. */
body:not(.elementor-editor-active) .page_content_wrap,
body:not(.elementor-editor-active) .content_wrap,
body.woocommerce-page:not(.elementor-editor-active) .page_content_wrap {
  margin-top: 0;
}
.woocommerce-page .content_wrap > .content,
.woocommerce-page .content_wrap > .content_wrap {
  padding-top: 0;
}

/* Catalog hierarchy and product cards. */
.ett-shop-intro {
  max-width: 860px;
  margin: 0 clamp(20px, 3.2vw, 64px) clamp(38px, 5vw, 72px);
}
.ett-shop-intro h2 {
  margin: 0 0 14px;
  font: 400 clamp(28px, 3vw, 44px)/1.05 var(--ett-polish-serif);
  letter-spacing: -.025em;
  text-transform: none;
}
.ett-shop-intro p {
  margin: 0;
  color: var(--ett-polish-muted);
  font: 300 clamp(15px, 1.2vw, 18px)/1.7 var(--ett-polish-sans);
}
.post-type-archive-product .woocommerce-products-header,
.woocommerce-shop .woocommerce-products-header {
  display: block !important;
  max-width: var(--ett-polish-width);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 88px) clamp(20px, 3.2vw, 64px) clamp(24px, 3vw, 44px);
}
.post-type-archive-product .woocommerce-products-header__title,
.woocommerce-shop .woocommerce-products-header__title,
.woocommerce-shop h1.page-title {
  display: block !important;
  margin: 0;
  font: 400 clamp(48px, 6vw, 92px)/.95 var(--ett-polish-serif);
  letter-spacing: -.035em;
  text-transform: none;
}
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  font-family: var(--ett-polish-sans);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.woocommerce ul.products {
  border-top: 1px solid var(--ett-polish-line);
}
.woocommerce ul.products li.product {
  overflow: hidden;
  border-color: var(--ett-polish-line) !important;
  background: #fff;
}
.woocommerce ul.products li.product .post_featured,
.woocommerce ul.products li.product .product_image {
  overflow: hidden;
  background: #f2f2ef;
}
.woocommerce ul.products li.product img {
  transition: transform .65s cubic-bezier(.2,.65,.25,1), opacity .3s ease;
}
.woocommerce ul.products li.product:hover img { transform: scale(1.018); }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 {
  margin: 0;
  font: 400 clamp(25px, 2vw, 34px)/1.05 var(--ett-polish-serif) !important;
  letter-spacing: -.02em;
  text-transform: none;
}
.woocommerce ul.products li.product .price {
  margin-top: 12px;
  color: var(--ett-polish-ink) !important;
  font: 500 14px/1.35 var(--ett-polish-sans) !important;
  letter-spacing: .02em;
}
.woocommerce ul.products li.product .post_data,
.woocommerce ul.products li.product .product_info,
.woocommerce ul.products li.product .woocommerce-loop-product__link + * {
  padding-top: 24px;
  padding-bottom: 30px;
}

/* Cart and checkout: turn default Woo blocks into a calm gallery transaction. */
body.woocommerce-cart .page_content_wrap,
body.woocommerce-checkout .page_content_wrap {
  padding-top: 0 !important;
}
body.woocommerce-cart .content_wrap,
body.woocommerce-checkout .content_wrap,
body.woocommerce-cart main,
body.woocommerce-checkout main {
  max-width: var(--ett-polish-width);
  margin-left: auto;
  margin-right: auto;
}
.ett-commerce-heading {
  margin: 0 auto;
  padding: clamp(46px, 7vw, 100px) 0 clamp(30px, 4vw, 58px);
  border-bottom: 1px solid var(--ett-polish-line);
}
.ett-commerce-heading__eyebrow {
  margin: 0 0 12px;
  color: var(--ett-polish-muted);
  font: 500 11px/1.3 var(--ett-polish-sans);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ett-commerce-heading h1 {
  margin: 0;
  font: 400 clamp(48px, 6vw, 90px)/.95 var(--ett-polish-serif);
  letter-spacing: -.04em;
  text-transform: none;
}
.wc-block-cart,
.wc-block-checkout {
  padding-top: clamp(30px, 4vw, 60px);
  padding-bottom: clamp(60px, 8vw, 120px);
  font-family: var(--ett-polish-sans);
}
.wc-block-components-sidebar-layout .wc-block-components-main {
  padding-right: clamp(24px, 4vw, 72px) !important;
}
.wc-block-components-sidebar {
  padding: clamp(24px, 2.5vw, 40px) !important;
  background: var(--ett-polish-paper);
  border: 1px solid var(--ett-polish-line);
}
.wc-block-components-title,
.wc-block-components-checkout-step__title,
.wc-block-components-totals-wrapper h2,
.wc-block-cart-items__header span {
  color: var(--ett-polish-ink);
  font-family: var(--ett-polish-sans) !important;
  font-weight: 500 !important;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.wc-block-components-product-name {
  color: var(--ett-polish-ink) !important;
  font: 400 clamp(20px, 1.7vw, 27px)/1.1 var(--ett-polish-serif) !important;
}
.wc-block-components-product-price,
.wc-block-components-totals-item__value {
  color: var(--ett-polish-ink);
  font-weight: 500;
}
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  min-height: 60px;
  border: 1px solid var(--ett-polish-green) !important;
  border-radius: 0 !important;
  background: var(--ett-polish-green) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font: 500 13px/1 var(--ett-polish-sans) !important;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease;
}
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
  background: var(--ett-polish-ink) !important;
  border-color: var(--ett-polish-ink) !important;
}
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input {
  min-height: 56px !important;
  border-radius: 0 !important;
  border-color: #b8b6ae !important;
  background: #fff !important;
}
.wc-block-components-text-input label,
.wc-block-components-combobox label {
  font-family: var(--ett-polish-sans);
}
.wc-block-components-skeleton { opacity: .58; }
.wc-block-components-radio-control__option:has(input[value^="local_pickup:"]) {
  display: none !important;
}
@media (prefers-reduced-motion: no-preference) {
  .wc-block-components-skeleton { animation-duration: .9s !important; }
}

/* Active Elementor footer: reduce bulk and give its columns a shared baseline. */
body .elementor-location-footer {
  overflow: hidden;
  border-top: 1px solid var(--ett-polish-line);
  background: var(--ett-polish-paper);
}
body .elementor-location-footer > .elementor,
body .elementor-location-footer .elementor-top-section {
  min-height: 0 !important;
}
body .elementor-location-footer .elementor-top-section {
  padding-top: clamp(28px, 3vw, 42px) !important;
  padding-bottom: clamp(24px, 3vw, 38px) !important;
}
body .elementor-location-footer .elementor-top-section:empty,
body .elementor-location-footer .elementor-top-section:last-child:not(:first-child) {
  min-height: 0 !important;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}
body .elementor-location-footer h2,
body .elementor-location-footer h3,
body .elementor-location-footer h4 {
  font-family: var(--ett-polish-sans) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: .1em;
  text-transform: uppercase;
}
body .elementor-location-footer a,
body .elementor-location-footer p {
  font-family: var(--ett-polish-sans);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  body .elementor-location-header.elementor-3633 .elementor-element.elementor-element-29a12d50 {
    min-height: 74px !important;
    padding: 7px 20px !important;
  }
  body .elementor-location-header.elementor-3633 .elementor-element-29a12d50 > .elementor-container {
    min-height: 60px !important;
  }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wc-block-components-sidebar-layout .wc-block-components-main { padding-right: 0 !important; }
  .wc-block-components-sidebar { margin-top: 30px !important; }
}

@media(max-width:428px) {
  body .elementor-location-header.elementor-3633 .logo_image {
    max-width: 64px !important;
    max-height: 48px !important;
  }
  .post-type-archive-product .woocommerce-products-header,
  .woocommerce-shop .woocommerce-products-header { padding-top: 36px; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce ul.products li.product h2,
  .woocommerce ul.products li.product h3 { font-size: 28px !important; }
  .ett-commerce-heading { padding-top: 38px; }
  .wc-block-cart,
  .wc-block-checkout { padding-top: 24px; }
  .wc-block-components-sidebar { padding: 22px 18px !important; }
}


/* Keep every storefront and related-product artwork in full color. */
body.et-wc-gallery ul.products li.product img,
body.woocommerce ul.products li.product img,
body .et-product-secondary ul.products li.product img,
body .et-product-secondary ul.products li.product:hover img {
  filter: none !important;
  -webkit-filter: none !important;
}
