/* WordPress and WooCommerce parts the mockup never had, drawn in the mockup's language (site.css, brand.css). */

/* contact form (Contact Form 7): the mockup's fields and its red label button */
.ta-form form { display: grid; gap: 18px; }
.ta-form p { margin: 0; }
.ta-form .wpcf7-form-control-wrap { display: block; }
.ta-form .field input, .ta-form .field textarea { width: 100%; }
.ta-form .wpcf7-not-valid-tip { color: var(--coral); font-size: 16px; margin-top: 6px; }
.ta-form .wpcf7-response-output { margin: 0 !important; padding: 12px 16px !important; border: 1.5px solid var(--line) !important; font-size: 17px; }
.ta-form .wpcf7-spinner { margin: 0 0 0 12px; }

/* WooCommerce buttons wear the same label as .btn */
.ta-cart .single_add_to_cart_button, .ta-page .button, .ta-page .wc-block-components-button, .ta-form input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 12px; cursor: pointer;
  border: 12px solid transparent; border-image: url(assets/btn/label-red.webp) 38 fill / 12px stretch; background: none !important; color: #f6efe1 !important;
  font: 600 20px/1 "Barlow Condensed", "Arial Narrow", sans-serif; text-transform: uppercase; rotate: -1deg; transition: transform .25s, filter .25s; }
.ta-cart .single_add_to_cart_button:hover, .ta-page .button:hover, .ta-form input[type="submit"]:hover { transform: translateY(-2px); filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .45)); }
.ta-cart .single_add_to_cart_button.disabled { opacity: .55; cursor: not-allowed; }

/* the size choice and quantity (variations form) */
.ta-cart form.cart { display: grid; gap: 18px; }
.ta-cart table.variations { border-collapse: collapse; }
.ta-cart table.variations th, .ta-cart table.variations td { display: block; padding: 0; text-align: left; }
.ta-cart table.variations th label { font-size: 16px; color: var(--muted); font-weight: 400; }
.ta-cart table.variations select { margin-top: 8px; min-height: 48px; min-width: 200px; padding: 0 14px; font: 400 19px/1 "Courier Prime", ui-monospace, monospace; color: var(--white);
  background: rgba(244, 241, 234, .04); border: 0; box-shadow: inset 0 0 0 1.5px var(--line); }
.ta-cart .reset_variations { font-size: 16px; color: var(--muted); }
.ta-cart .woocommerce-variation-price { font-size: 22px; }
.ta-cart .woocommerce-variation-add-to-cart, .ta-cart form.cart:not(.variations_form) { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.ta-cart .quantity input.qty { width: 84px; min-height: 52px; text-align: center; font: 400 19px/1 "Courier Prime", ui-monospace, monospace; color: var(--white);
  background: rgba(244, 241, 234, .04); border: 0; box-shadow: inset 0 0 0 1.5px var(--line); }
.ta-cart .stock { color: var(--muted); }

/* notices */
.woocommerce-message, .woocommerce-error, .woocommerce-info, .woocommerce-notices-wrapper > * { list-style: none; margin: 0 0 18px; padding: 14px 18px; border: 1.5px solid var(--line); font-size: 17px; }
.woocommerce-message .button { margin-left: 12px; }

/* article and page content (block editor) */
.ta-content { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.ta-content > * { margin: 0; }
.ta-content img { width: 100%; height: auto; border-radius: 6px; }
.ta-content figure { margin: 26px 0; }
.ta-content figcaption, .ta-content .wp-element-caption { color: var(--muted); font-size: 16px; margin-top: 10px; }
.ta-content .wp-block-separator { border: 0; border-top: 1px solid currentColor; opacity: .25; width: 100%; }
.ta-content a { text-decoration: underline; text-underline-offset: 4px; }
.ta-content ul, .ta-content ol { padding-left: 1.2em; display: grid; gap: 8px; }
.ta-page .ta-content { max-width: 1100px; }
.ta-page .wp-block-woocommerce-cart, .ta-page .wp-block-woocommerce-checkout { color: var(--ink); }
.prose .ta-content { gap: 22px; }

/* ---- Elementor: pages built from the "Tiago Aleixo" widgets (body.ta-el). The containers that hold them, and the widget
   wrappers, add no space of their own, so the sheets stack and tear into each other exactly as the theme draws them. ---- */
.ta-el .e-con:has(> [class*="elementor-widget-ta-"]), .ta-el .e-con:has(> .e-con-inner > [class*="elementor-widget-ta-"]), .e-con.ta-stack {
  --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; --gap: 0px 0px; --row-gap: 0px; --column-gap: 0px;
  --width: 100%; --content-width: 100%; --container-max-width: 100%; --overflow: visible; --margin-top: 0px; --margin-bottom: 0px;
  display: block; padding: 0; margin: 0; gap: 0; max-width: none; width: 100%; overflow: visible; min-height: 0; }
.ta-el .e-con > .e-con-inner:has(> [class*="elementor-widget-ta-"]) { display: block; padding: 0; max-width: none; width: 100%; }
.ta-el [class*="elementor-widget-ta-"] { width: 100%; max-width: none; margin: 0; }
[class*="elementor-widget-ta-"] > .elementor-widget-container { margin: 0; padding: 0; }
/* a page that starts with a sheet (no page header, no hero) starts below the menu, like the theme's own pages */
.ta-el :is([data-elementor-type], .elementor-section-wrap) > .e-con:nth-child(1 of .e-con) > [class*="elementor-widget-ta-"]:nth-child(1 of .elementor-element) > .elementor-widget-container > .sheet:first-child,
.ta-el :is([data-elementor-type], .elementor-section-wrap) > .e-con:nth-child(1 of .e-con) > [class*="elementor-widget-ta-"]:nth-child(1 of .elementor-element) > .sheet:first-child { margin-top: clamp(120px, 12vw, 160px); }
/* Elementor's own widgets dropped between the sheets sit in the page width, with room before the next sheet's torn edge */
.ta-el .e-con:has(> [class*="elementor-widget-ta-"]) > .elementor-element:not([class*="elementor-widget-ta-"]) {
  position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 48px var(--gut) 96px; }
/* in the editor: a section with nothing to show yet */
.ta-el-empty { margin: 0; padding: 48px 24px; text-align: center; font-size: 15px; opacity: .7; outline: 1px dashed currentColor; outline-offset: -12px; }
