/*
Theme Name: Grupo ARTIFEX
Theme URI: https://grupo-artifex.irmarc.chatgpt.site
Author: Grupo ARTIFEX
Description: Tema personalizado do Grupo ARTIFEX, fiel à apresentação original e integrado ao WooCommerce.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: grupo-artifex
*/

:root {
  --ink: #11110f;
  --cream: #f7f3eb;
  --paper: #fffdf9;
  --gold: #b98a45;
  --gold-light: #d4b37b;
  --line: #dfd7c8;
  --muted: #746d62;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--cream); color: var(--ink); font-family: var(--sans); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.utility-bar { min-height: 38px; padding: 7px clamp(18px, 4vw, 64px); display: flex; justify-content: space-between; align-items: center; gap: 20px; background: #090a09; color: #f1eadc; font: 12px var(--serif); letter-spacing: .01em; }
.utility-left, .utility-right { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.utility-left span, .utility-right a, .utility-right button { display: inline-flex; align-items: center; gap: 7px; }
.utility-left .icon, .utility-right .icon { width: 16px; height: 16px; color: var(--gold-light); }
.utility-right a, .utility-right button { border: 0; background: none; color: inherit; padding: 0; }
.utility-right b { display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; margin-left: 4px; border-radius: 99px; background: var(--gold); color: #090a09; font: 10px var(--sans); }

.brand-header { min-height: 112px; padding: 16px clamp(20px, 3.2vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) 420px minmax(0, 1fr); align-items: center; gap: 22px; background: var(--paper); }
.search-box { justify-self: start; width: min(100%, 300px); height: 42px; padding: 0 14px 0 17px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 8px; color: #353534; background: #fff; }
.search-box input { width: 100%; border: 0; outline: none; color: var(--ink); background: transparent; font: 12px var(--serif); }
.search-box button { padding: 0; display: grid; place-items: center; border: 0; background: transparent; color: inherit; }
.search-box .icon { width: 19px; height: 19px; color: #8e672f; }
.brand-lockup { position: relative; min-width: 0; justify-self: center; display: flex; flex-direction: column; align-items: center; transform: translateX(8px); }
.joseph-mark { width: 66px; height: 66px; margin-top: -54px; margin-bottom: 1px; display: block; border: 0; border-radius: 50%; background: #fffaf1 url('assets/images/sao-jose-marca.png') center 44% / 145% auto no-repeat; box-shadow: 0 4px 12px #0002; }
.brand-lockup > div { white-space: nowrap; font: 39px/1 var(--serif); letter-spacing: .03em; }
.brand-lockup > div strong { font-size: 52px; letter-spacing: .08em; font-weight: 500; }
.brand-lockup small { margin-top: 8px; display: flex; align-items: center; gap: 8px; color: #5d554a; font: 11px var(--serif); letter-spacing: .15em; }
.brand-lockup small i { width: 34px; height: 1px; background: var(--gold); position: relative; }
.brand-promises { min-width: 0; display: flex; justify-content: flex-end; gap: clamp(12px, 1.6vw, 26px); }
.brand-promises > span { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.brand-promises b { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #d8bc8b; border-radius: 50%; color: var(--gold); }
.brand-promises b .icon { width: 19px; height: 19px; }
.brand-promises em { font: normal 12px var(--serif); }
.brand-promises small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }

.mobile-menu-button { display: none; }
.main-nav { position: sticky; top: 0; z-index: 50; width: 100%; min-height: 52px; margin: 0; display: grid; grid-template-columns: 72px repeat(7, 1fr); align-items: stretch; overflow: visible; }
.main-nav::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 104vw; transform: translateX(-50%); border-top: 1px solid #a77734; border-bottom: 1px solid #a77734; background: linear-gradient(180deg, #131514, #090b0a); box-shadow: 0 5px 18px #0002; }
.main-nav a { position: relative; display: flex; align-items: center; justify-content: center; padding: 0 12px; border-left: 1px solid #ffffff12; color: #f4ede2; font: 17px var(--serif); transition: color .2s, background .2s; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--gold-light); background: #ffffff08; outline: none; }
.main-nav a.active { color: var(--gold-light); background: linear-gradient(180deg, #ffffff06, #b98a4515); box-shadow: inset 0 -2px var(--gold); }
.main-nav .home-link { border-left: 0; color: var(--gold-light); }
.main-nav .home-link .icon { width: 22px; height: 22px; }
.home-link span { display: none; }

.hero { position: relative; left: 50%; width: 104vw; height: clamp(380px, 35vw, 590px); margin: 5px 0 0; overflow: hidden; border-radius: 0; background: #14130f; box-shadow: 0 14px 38px #20160824; transform: translateX(-50%); }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s ease; }
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-image { position: absolute; display: block; inset: 0; background-size: cover; background-position: center; transform: scale(1.025); transition: transform 7s ease; }
.hero-slide.active .hero-image { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, #0004 0, #0001 35%, #0007 100%); pointer-events: none; }
.hero-copy { position: absolute; z-index: 2; left: 50%; top: 50%; width: min(560px, 76%); padding: 28px; transform: translate(-50%, -48%); text-align: center; color: #fffaf1; text-shadow: 0 3px 20px #000; }
.hero-copy > span { color: var(--gold-light); font: 12px var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.hero-copy h1 { margin: 12px 0 12px; font: 500 clamp(42px, 4.3vw, 72px)/.98 var(--serif); letter-spacing: -.03em; }
.hero-copy p { max-width: 510px; margin: 0 auto 26px; font: 18px/1.55 var(--serif); }
.button { min-height: 48px; padding: 0 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; font: 14px var(--serif); transition: transform .2s, filter .2s; }
.button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.button-gold { border: 1px solid #ebd4aa; background: linear-gradient(135deg, #9f743b, #c4a06a); color: white; box-shadow: 0 6px 18px #0004; }
.hero-arrow { position: absolute; z-index: 3; top: 50%; width: 52px; height: 78px; display: grid; place-items: center; border: 1px solid rgba(222, 190, 133, .5); border-radius: 3px; background: linear-gradient(135deg, rgba(10, 10, 8, .54), rgba(35, 29, 20, .38)); color: #ead3a9; font: 300 37px/1 var(--serif); transform: translateY(-50%); box-shadow: 0 8px 28px #0004, inset 0 0 0 1px #fff1; backdrop-filter: blur(5px); transition: width .25s ease, color .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease; }
.hero-arrow:hover, .hero-arrow:focus-visible { width: 58px; border-color: #d8b77e; background: linear-gradient(135deg, rgba(12, 12, 9, .78), rgba(74, 57, 33, .62)); color: #fff4df; box-shadow: 0 10px 32px #0007, inset 0 0 18px #d6ae6820; outline: none; }
.hero-arrow.prev { left: 26px; }
.hero-arrow.next { right: 26px; }
.hero-dots { position: absolute; z-index: 4; left: 50%; bottom: 16px; display: flex; gap: 10px; transform: translateX(-50%); }
.hero-dots button { width: 9px; height: 9px; padding: 0; border: 1px solid #fff8; border-radius: 50%; background: #d6d4cf; }
.hero-dots button.active { background: var(--gold-light); border-color: var(--gold-light); }

.category-section, .featured-section, .collection-section { padding: 36px clamp(20px, 3.2vw, 56px) 16px; }
.section-intro { display: none; }
.category-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.category-card { position: relative; height: clamp(285px, 22vw, 395px); overflow: hidden; border-radius: 10px; background: #1e1b17; box-shadow: 0 7px 19px #32241617; }
.category-photo { position: absolute; inset: 0; background-image: url('assets/images/hero-artifex.png?ver=1.0.1'); background-size: 720% auto; transition: transform .5s ease; }
.category-card:hover .category-photo { transform: scale(1.045); }
.category-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #0007 0, #0000 45%, #000a 100%); }
.restricted-tag { position: absolute; z-index: 3; left: 50%; bottom: 62px; padding: 5px 7px; border: 1px solid #e7cfaa88; border-radius: 999px; background: #15120ecb; color: #ead7b8; font-size: 8px; white-space: nowrap; text-transform: uppercase; letter-spacing: .08em; transform: translateX(-50%); }
.category-copy { position: absolute; z-index: 2; inset: 0; padding: 10px 12px 12px; display: flex; flex-direction: column; align-items: center; text-align: center; color: white; }
.category-copy h3 { margin: 0; font: 34px/1.1 var(--serif); font-weight: 400; text-shadow: 0 2px 9px #000; }
.category-copy p { margin: 6px 0 0; max-width: 150px; font: 11px/1.35 var(--serif); letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 2px 8px #000; }
.category-copy a { width: 90%; min-height: 42px; margin-top: auto; display: grid; place-items: center; border: 1px solid #ffffff99; border-radius: 6px; font: 12px var(--serif); box-shadow: 0 4px 14px #0005; transition: transform .2s ease, filter .2s ease, box-shadow .2s ease; }
.category-copy a:hover, .category-copy a:focus-visible { filter: brightness(1.16); transform: translateY(-2px) scale(1.015); box-shadow: 0 8px 20px #0007; outline: 1px solid #f3dfb8; }

.section-heading { margin: 0 0 16px; padding-bottom: 12px; display: flex; align-items: end; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.section-heading span { color: var(--gold); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.section-heading h2 { margin: 3px 0 0; font: 35px/1.1 var(--serif); font-weight: 500; }
.section-heading a { min-height: 38px; padding: 0 18px; display: flex; align-items: center; gap: 20px; border: 1px solid var(--line); border-radius: 7px; background: #fff9; font: 12px var(--serif); }
.section-heading a b { color: var(--gold); font-size: 18px; }
.product-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.product-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid #e4ded2; border-radius: 10px; background: var(--paper); box-shadow: 0 6px 16px #3026190c; }
.favorite { position: absolute; z-index: 2; right: 8px; top: 8px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fffdf0e6; color: #6f6d68; font-size: 20px; }
.product-photo { position: relative; height: 190px; overflow: hidden; background-image: url('assets/images/hero-artifex.png?ver=1.0.1'); background-size: 720% auto; background-repeat: no-repeat; background-color: #eee5d7; }
.product-photo-gladius, .product-photo-fribourg { background-size: auto 100%; }
.product-info { min-height: 205px; padding: 13px; display: flex; flex-direction: column; }
.product-category { color: var(--gold); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.product-info h3 { margin: 6px 0 6px; font: 15px/1.3 var(--serif); font-weight: 500; }
.product-info small { color: var(--muted); font-size: 9px; line-height: 1.35; }
.product-info strong { margin-top: auto; padding: 9px 0; font: 17px var(--serif); }
.product-action { min-height: 36px; display: grid; place-items: center; border: 0; border-radius: 5px; color: white; font: 11px var(--serif); }
.product-action.muted { border: 1px solid #a58d6d; background: #f2e9db; color: #463a2d; }
.product-action-placeholder { opacity: 1; color: white; cursor: pointer; transition: filter .2s, transform .2s; }
.product-action-placeholder:hover { filter: brightness(1.08); transform: translateY(-1px); }
.empty-state { min-height: 180px; display: grid; place-items: center; color: var(--muted); font: 18px var(--serif); }

.values-section { margin-top: 42px; padding: 54px clamp(24px, 6vw, 100px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 5vw, 78px); background: #111411; color: #f5eee2; }
.values-section > div { position: relative; padding-left: 48px; }
.values-section b { position: absolute; left: 0; top: 0; color: var(--gold-light); font: 14px var(--serif); }
.values-section h3 { margin: 0 0 8px; font: 26px var(--serif); font-weight: 400; }
.values-section p { margin: 0; color: #c8c1b5; font: 13px/1.6 var(--sans); }

.category-breadcrumb { width: calc(100% - clamp(28px, 4vw, 64px)); margin: 18px auto 14px; display: flex; align-items: center; gap: 12px; color: #6f685e; font-size: 12px; }
.category-breadcrumb span { color: var(--gold); font-size: 18px; }
.category-breadcrumb b { color: #292722; font-weight: 500; }
.category-catalog-layout { width: calc(100% - clamp(28px, 4vw, 64px)); margin: 0 auto 80px; display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: start; gap: 24px; }
.catalog-sidebar { position: sticky; top: 68px; display: flex; flex-direction: column; gap: 18px; }
.catalog-sidebar section { overflow: hidden; border: 1px solid #e3dccf; border-radius: 9px; background: #fffdf9; box-shadow: 0 5px 18px #3026190b; }
.catalog-sidebar h2 { margin: 0; padding: 13px 16px; background: linear-gradient(180deg, #151716, #0b0d0c); color: white; font: 14px var(--sans); font-weight: 600; }
.catalog-sidebar section > a { min-height: 45px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #ede7dd; color: #48443d; font-size: 12px; }
.catalog-sidebar section > a:hover { color: #9a6b28; background: #faf4ea; }
.catalog-sidebar section > a b { color: var(--gold); font-size: 19px; font-weight: 400; }
.filter-content { padding: 16px; }
.filter-content h3 { margin: 0 0 10px; font-size: 12px; }
.filter-content h3:not(:first-child) { margin-top: 20px; }
.filter-content label { margin: 8px 0; display: flex; align-items: center; gap: 8px; color: #686157; font-size: 11px; }
.filter-content input { width: 14px; height: 14px; accent-color: var(--gold); }
.filter-content select { width: 100%; min-height: 39px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: white; color: #59534a; font-size: 11px; }
.filter-content small { margin-top: 13px; display: block; color: #9a9388; font-size: 9px; line-height: 1.45; }
.catalog-main { min-width: 0; }
.category-hero { position: relative; min-height: 390px; display: block; overflow: hidden; border-radius: 10px; background: #100e0b; color: #fff; box-shadow: 0 9px 30px #1a140f1a; }
.category-hero.detail-gladius { aspect-ratio: 1939 / 712; min-height: 0; overflow: visible; border-radius: 10px; background-color: #080706; background-position: center bottom; background-size: 100% auto; box-shadow: 0 9px 30px #1a140f1a; }
.category-hero-slide { position: absolute; inset: 0; display: flex; align-items: center; overflow: hidden; border-radius: inherit; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .75s ease, visibility .75s ease; }
.category-hero-slide.active { opacity: 1; visibility: visible; pointer-events: auto; }
.category-hero-slide.protruding { overflow: visible; }
.category-hero-image { position: absolute; z-index: 0; inset: 0; border-radius: inherit; background-repeat: no-repeat; opacity: .98; transform: scale(1.018); transition: transform 7s ease; }
.category-hero-slide.active .category-hero-image { transform: scale(1); }
.gladius-protrusion { position: absolute; z-index: 1; left: 0; top: -13.5%; width: 100%; height: 113.5%; background: url('assets/images/gladius-cutout.png') center bottom / 100% auto no-repeat; pointer-events: none; }
.category-hero.detail-gladius .category-hero-copy { position: relative; z-index: 2; align-self: stretch; padding-top: 5%; padding-bottom: 5%; display: flex; flex-direction: column; justify-content: center; }
.category-hero-copy { width: min(540px, 66%); margin-left: clamp(28px, 5vw, 78px); padding: 40px 0; }
.category-hero-copy > span { color: var(--gold-light); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; }
.category-hero-copy h1 { margin: 11px 0 0; font: 500 clamp(46px, 5vw, 76px)/.92 var(--serif); letter-spacing: .05em; }
.category-hero-copy h2 { margin: 13px 0 18px; color: #e5cfaa; font: 400 italic 21px var(--serif); }
.category-hero-copy p { max-width: 520px; margin: 0; color: #e5dfd6; font: 15px/1.65 var(--serif); }
.category-hero-cta { min-height: 41px; width: fit-content; margin-top: 22px; padding: 0 17px; display: inline-flex; align-items: center; gap: 24px; border: 1px solid #d6b77e99; border-radius: 4px; background: #12110ed1; color: #f5e8d0; font: 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 5px 18px #0004; transition: transform .22s, border-color .22s, background .22s; }
.category-hero-cta b { color: var(--gold-light); font-size: 16px; font-weight: 400; transition: transform .22s; }
.category-hero-cta:hover, .category-hero-cta:focus-visible { transform: translateY(-2px); border-color: #dfc18b; background: #2d2519e8; outline: none; }
.category-hero-cta:hover b, .category-hero-cta:focus-visible b { transform: translateX(3px); }
.category-carousel-arrow { position: absolute; z-index: 5; top: 50%; width: 38px; height: 58px; display: grid; place-items: center; border: 1px solid #d8bc8970; border-radius: 3px; background: #0d0c09a8; color: #e9d1a7; font: 30px/1 var(--serif); transform: translateY(-50%); backdrop-filter: blur(4px); transition: background .2s, border-color .2s, color .2s, transform .2s; }
.category-carousel-arrow:hover, .category-carousel-arrow:focus-visible { border-color: #d8b77e; background: #2c2419db; color: white; outline: none; }
.category-carousel-arrow.prev { left: 14px; }
.category-carousel-arrow.next { right: 14px; }
.category-carousel-dots { position: absolute; z-index: 5; left: 50%; bottom: 15px; display: flex; gap: 8px; transform: translateX(-50%); }
.category-carousel-dots button { width: 18px; height: 3px; padding: 0; border: 0; border-radius: 99px; background: #ffffff73; transition: width .25s, background .25s; }
.category-carousel-dots button.active { width: 34px; background: var(--gold-light); }
.responsibility-note { margin: 14px 0 0; padding: 14px 18px; display: flex; gap: 18px; align-items: center; border: 1px solid #c6aa7e; border-radius: 8px; background: #f0e6d5; color: #403528; }
.responsibility-note b { white-space: nowrap; font: 14px var(--serif); }
.responsibility-note p { margin: 0; font-size: 11px; line-height: 1.5; }
.catalog-main .collection-section { padding: 28px 0 0; }
.catalog-heading { margin-bottom: 14px; }
.catalog-heading small { color: #857d72; font-size: 11px; }
.category-products { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; max-width: none; }
.category-products .product-photo { height: 170px; }
.category-products .product-info { min-height: 185px; padding: 12px; }
.category-products .product-info h3 { font-size: 14px; }
.category-products .product-info strong { font-size: 14px; }

footer { position: relative; padding: 60px clamp(24px, 5vw, 84px) 28px; display: grid; grid-template-columns: 1.5fr .7fr 1fr 1.2fr; gap: 50px; background: #0c0e0c; color: #e6dfd2; }
footer .joseph-mark { width: 48px; height: 48px; margin: 0 0 10px; }
footer h2, footer h3 { margin: 0 0 14px; font-family: var(--serif); font-weight: 400; }
footer h2 { font-size: 31px; }
footer h2 strong { letter-spacing: .08em; }
footer h3 { color: var(--gold-light); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
footer p, footer a { display: block; margin: 0 0 9px; color: #ada79d; font-size: 12px; line-height: 1.7; }
.footer-brand p { max-width: 310px; }
footer form { display: flex; height: 40px; margin-top: 16px; border-bottom: 1px solid #877453; }
footer form input { width: 100%; border: 0; outline: none; background: transparent; color: white; }
footer form button { width: 42px; border: 0; background: none; color: var(--gold-light); font-size: 21px; }
.footer-legal { grid-column: 1 / -1; margin-top: 12px; padding-top: 22px; border-top: 1px solid #ffffff13; color: #75736e; font-size: 10px; }

.drawer-layer { position: fixed; z-index: 100; inset: 0; visibility: hidden; pointer-events: none; }
.drawer-layer.open { visibility: visible; pointer-events: auto; }
.drawer-backdrop { position: absolute; inset: 0; border: 0; background: #08080799; opacity: 0; transition: opacity .25s; }
.open .drawer-backdrop { opacity: 1; }
.cart-drawer { position: absolute; right: 0; top: 0; width: min(440px, 92vw); height: 100%; padding: 28px; display: flex; flex-direction: column; background: var(--paper); transform: translateX(105%); transition: transform .3s ease; box-shadow: -20px 0 50px #0003; }
.open .cart-drawer { transform: translateX(0); }
.drawer-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.drawer-heading small { color: var(--gold); letter-spacing: .15em; text-transform: uppercase; }
.drawer-heading h2 { margin: 3px 0 0; font: 34px var(--serif); }
.drawer-heading button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 25px; }
.cart-items { display: flex; flex-direction: column; gap: 10px; padding: 20px 0; }
.cart-items > div { padding: 13px; display: flex; justify-content: space-between; gap: 20px; border-radius: 7px; background: #f4eee4; font-size: 12px; }
.cart-empty { flex: 1; display: grid; place-items: center; color: var(--muted); font: 18px var(--serif); }
.cart-footer { margin-top: auto; }
.cart-footer p { color: var(--muted); font-size: 11px; line-height: 1.5; }
.cart-footer button { width: 100%; min-height: 48px; border: 0; border-radius: 7px; background: #d7d0c4; color: #8a8378; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 24px; max-width: calc(100% - 32px); padding: 13px 20px; border: 1px solid #c5a36e; border-radius: 8px; background: #11130f; color: #fff; font-size: 12px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .25s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 1500px) {
  .brand-promises { gap: 10px; }
  .brand-promises > span { gap: 6px; }
  .brand-promises b { width: 29px; height: 29px; flex: 0 0 29px; }
  .brand-promises b .icon { width: 15px; height: 15px; }
  .brand-promises em { font-size: 10px; }
  .brand-promises small { font-size: 8px; }
}

@media (max-width: 1180px) {
  .brand-header { grid-template-columns: 1fr auto 1fr; }
  .brand-promises > span:nth-child(2), .brand-promises > span:nth-child(3) { display: none; }
  .brand-promises { justify-content: flex-end; }
  .brand-lockup { min-width: 360px; }
  .brand-lockup > div { font-size: 32px; }
  .brand-lockup > div strong { font-size: 43px; }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .category-products { grid-template-columns: repeat(4, 1fr); }
  .category-catalog-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 18px; }
}

@media (max-width: 850px) {
  .utility-bar { min-height: 34px; justify-content: center; }
  .utility-left span:last-child, .utility-right { display: none; }
  .brand-header { min-height: 122px; padding: 20px 18px 14px; display: flex; flex-direction: column-reverse; gap: 12px; }
  .brand-promises { display: none; }
  .brand-lockup { min-width: 0; transform: none; }
  .brand-lockup .joseph-mark { position: absolute; top: -8px; left: 50%; width: 43px; height: 43px; margin: 0; transform: translate(-50%, -100%); }
  .brand-lockup > div { font-size: 25px; }
  .brand-lockup > div strong { font-size: 34px; }
  .brand-lockup small { font-size: 8px; letter-spacing: .11em; }
  .search-box { width: 100%; max-width: 440px; height: 38px; }
  .mobile-menu-button { position: sticky; z-index: 52; top: 0; width: 100vw; height: 46px; margin: 0; padding: 0 17px; display: flex; justify-content: space-between; align-items: center; border: 1px solid #a77734; border-radius: 0; background: #0e100f; color: white; font: 15px var(--serif); }
  .main-nav { position: fixed; z-index: 51; left: 0; right: 0; top: 45px; width: auto; max-height: 0; margin: 0; display: flex; flex-direction: column; overflow: hidden; border-width: 0; border-radius: 0 0 10px 10px; transition: max-height .3s; transform: none; }
  .main-nav.is-open { max-height: 480px; border-width: 1px; }
  .main-nav a { min-height: 48px; border-left: 0; border-top: 1px solid #ffffff12; }
  .main-nav .home-link { font-size: 17px; }
  .home-link span { display: inline; margin-left: 6px; }
  .hero { width: 112vw; height: 520px; margin-top: 6px; }
  .hero-image { background-position: center; }
  .hero-copy { width: 88%; padding: 15px; }
  .hero-copy h1 { font-size: 47px; }
  .hero-copy p { font-size: 16px; }
  .hero-arrow { width: 37px; height: 37px; }
  .hero-arrow.prev { left: 10px; }
  .hero-arrow.next { right: 10px; }
  .category-section { padding: 30px 12px 12px; }
  .section-intro.compact { display: block; margin: 0 6px 16px; }
  .section-intro p { margin: 0; color: var(--gold); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
  .section-intro h2 { margin: 4px 0 0; font: 28px var(--serif); }
  .category-grid { grid-template-columns: repeat(7, 205px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 6px 12px; scrollbar-width: thin; }
  .category-card { height: 330px; scroll-snap-align: start; }
  .featured-section { padding: 34px 18px; }
  .section-heading h2 { font-size: 30px; }
  .section-heading > a { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-photo { height: 205px; }
  .values-section { grid-template-columns: 1fr; }
  .category-breadcrumb { width: calc(100% - 24px); }
  .category-catalog-layout { width: calc(100% - 24px); grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .catalog-sidebar section > a { min-height: 42px; }
  .category-hero { min-height: 520px; margin: 0; background-position: center !important; }
  .category-hero.detail-gladius { aspect-ratio: 1939 / 712; min-height: 0; background-position: center bottom !important; background-size: 100% auto !important; }
  .category-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #090806e8, transparent 80%); }
  .category-hero-copy { position: relative; z-index: 2; align-self: end; width: auto; margin: 0; padding: 42px 28px; }
  .category-hero-copy h1 { font-size: 58px; }
  .category-hero-copy h2 { font-size: 21px; }
  .category-hero-copy p { font-size: 16px; }
  .responsibility-note { margin: 14px 0 0; flex-direction: column; align-items: start; gap: 6px; }
  .catalog-main .collection-section { padding: 34px 0 0; }
  .category-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .brand-lockup > div { font-size: 20px; }
  .brand-lockup > div strong { font-size: 28px; }
  .brand-lockup small i { width: 15px; }
  .hero { height: 470px; }
  .hero-copy h1 { font-size: 40px; }
  .hero-copy > span { font-size: 9px; }
  .product-grid, .category-products { grid-template-columns: 1fr; }
  .product-photo { height: 270px; }
  .product-info { min-height: 180px; }
  .category-products .coming-card { min-height: 280px; }
  .catalog-sidebar { grid-template-columns: 1fr; }
  .filters-panel { display: none; }
  .category-hero { min-height: 480px; }
  .category-hero-copy { padding: 34px 22px; }
  .category-hero-copy h1 { font-size: 46px; }
  footer { grid-template-columns: 1fr; gap: 34px; }
  footer > div { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}

/* WordPress e WooCommerce */
.skip-link:focus { z-index: 9999; top: 8px; left: 8px; width: auto; height: auto; margin: 0; padding: 10px 14px; clip: auto; background: #fff; color: #111; }
body.admin-bar .main-nav { top: 32px; }
.cart-drawer-open { overflow: hidden; }
.site-main { min-height: 45vh; }
.content-shell, .shop-shell, .single-product-shell { width: min(1320px, calc(100% - 40px)); margin: 44px auto 80px; }
.entry-header h1, .shop-page-header h1 { margin: 0 0 24px; font: 500 clamp(38px, 5vw, 64px)/1 var(--serif); }
.entry-content { padding: clamp(22px, 4vw, 48px); border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content a { color: #8e672f; text-decoration: underline; text-underline-offset: 2px; }
.journal-entry { margin: 0 0 22px; padding: 25px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.journal-entry h2 { margin-top: 0; font: 30px var(--serif); }
.error-page { min-height: 54vh; display: flex; flex-direction: column; align-items: start; justify-content: center; }
.error-page > span, .shop-page-header > span { color: var(--gold); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.error-page h1 { margin: 8px 0 12px; font: 500 clamp(42px, 6vw, 72px)/1 var(--serif); }

/* Produtos reais conservam a mesma figura dos cartões da maquete. */
ul.products.artifex-products,
.woocommerce ul.products,
.woocommerce-page ul.products { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; list-style: none; }
.featured-section ul.products.artifex-products { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products.artifex-products li.product { float: none; width: auto; margin: 0; padding: 0 0 13px; display: flex; flex-direction: column; }
.product-card > .woocommerce-LoopProduct-link { flex: 1; display: flex; flex-direction: column; color: inherit; }
.product-card .product-photo img { width: 100%; height: 100%; margin: 0; display: block; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-photo img { transform: scale(1.035); }
.product-photo-fallback { position: absolute; inset: 0; display: block; background: url('assets/images/hero-artifex.png?ver=1.0.1') 5% center / 720% auto no-repeat; }
.product-photo-gladius .product-photo-fallback { background-image: url('assets/images/gladius-hero.png?ver=1.0.1'); background-size: auto 100%; }
.product-photo-fribourg .product-photo-fallback { background-image: url('assets/images/fribourg-hero.png'); background-size: auto 100%; }
.artifex-placeholder-grid .product-photo-gladius { background-image: url('assets/images/gladius-hero.png?ver=1.0.1'); background-size: auto 100%; }
.artifex-placeholder-grid .product-photo-fribourg { background-image: url('assets/images/fribourg-hero.png'); background-size: auto 100%; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0; font: 500 15px/1.3 var(--serif); color: var(--ink); }
.woocommerce ul.products li.product .price,
.product-info .price { margin-top: auto; padding: 9px 0; display: block; color: var(--ink); font: 17px var(--serif); }
.product-info .price del { opacity: .55; font-size: .82em; }
.product-info .price ins { text-decoration: none; }
.product-card-action { padding: 0 13px; }
.product-card-action .button,
.woocommerce ul.products li.product .button { width: 100%; min-height: 36px; margin: 0; padding: 9px 12px; display: grid; place-items: center; border: 0; border-radius: 5px; background: var(--collection-tone, #8b6738); color: white; font: 11px var(--serif); transition: filter .2s, transform .2s; }
.product-card-action .button:hover { filter: brightness(1.1); transform: translateY(-1px); color: #fff; }
.product-card-action .added_to_cart { padding: 8px 0 0; display: block; color: #725321; text-align: center; font-size: 11px; }
.woocommerce span.onsale { z-index: 3; top: 8px; left: 8px; min-width: 0; min-height: 0; padding: 5px 9px; border-radius: 999px; background: var(--gold); color: #111; font: 10px var(--sans); line-height: 1; }

.shop-page-header { margin-bottom: 25px; padding: 34px clamp(24px, 5vw, 64px); border-radius: 10px; background: linear-gradient(120deg, #0b0d0c, #282219); color: #fff; }
.shop-page-header h1 { margin: 7px 0 0; }
.shop-page-header .term-description { max-width: 720px; color: #d8d0c3; font: 16px/1.6 var(--serif); }
.shop-toolbar { margin: 0 0 18px; padding: 12px 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.shop-toolbar .woocommerce-result-count,
.shop-toolbar .woocommerce-ordering { margin: 0; }
.woocommerce .woocommerce-ordering select,
.woocommerce-ordering select { min-height: 39px; padding: 0 28px 0 10px; border: 1px solid var(--line); border-radius: 6px; background: white; color: #59534a; font-size: 12px; }
.woocommerce nav.woocommerce-pagination { margin-top: 30px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; gap: 5px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span { min-width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); }
.woocommerce nav.woocommerce-pagination ul li span.current { border-color: var(--gold); background: #1a1915; color: #fff; }

/* Produto, carrinho, finalização e conta. */
.single-product-shell .product { padding: clamp(20px, 4vw, 48px); border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.woocommerce div.product div.images img { border-radius: 8px; }
.woocommerce div.product .product_title { font: 500 clamp(36px, 4vw, 58px)/1.05 var(--serif); }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: #7a5522; font: 27px var(--serif); }
.woocommerce div.product form.cart .button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt { min-height: 46px; border-radius: 6px; background: linear-gradient(135deg, #8f642e, #bc945c); color: #fff; font: 14px var(--serif); }
.woocommerce div.product form.cart .button:hover,
.woocommerce button.button.alt:hover { background: #745025; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-color: var(--line); background: #eee7db; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--paper); }
.woocommerce table.shop_table { border-color: var(--line); border-radius: 8px; background: var(--paper); }
.woocommerce table.shop_table th { font-family: var(--serif); }
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-account .woocommerce-MyAccount-content { padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.select2-container--default .select2-selection--single { min-height: 43px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.woocommerce .quantity .qty { min-height: 44px; border: 1px solid var(--line); border-radius: 5px; }
.woocommerce-message,
.woocommerce-info { border-top-color: var(--gold); background: #fffaf1; }
.woocommerce-message::before,
.woocommerce-info::before { color: var(--gold); }

/* Minicarrinho real do WooCommerce. */
.cart-drawer .widget_shopping_cart_content { min-height: 0; flex: 1; display: flex; flex-direction: column; overflow-y: auto; }
.cart-drawer .woocommerce-mini-cart { margin: 0; padding: 20px 0; list-style: none; }
.cart-drawer .woocommerce-mini-cart-item { position: relative; min-height: 72px; margin-bottom: 10px; padding: 12px 30px 12px 76px; border-radius: 7px; background: #f4eee4; font-size: 12px; }
.cart-drawer .woocommerce-mini-cart-item img { position: absolute; left: 12px; top: 12px; width: 50px; height: 50px; object-fit: cover; border-radius: 5px; }
.cart-drawer .remove { position: absolute; right: 9px; top: 8px; color: #856234 !important; }
.cart-drawer .quantity { display: block; margin-top: 5px; color: var(--muted); }
.cart-drawer .woocommerce-mini-cart__empty-message { flex: 1; display: grid; place-items: center; color: var(--muted); font: 18px var(--serif); }
.cart-drawer .woocommerce-mini-cart__total { margin-top: auto; padding: 16px 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line); }
.cart-drawer .woocommerce-mini-cart__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cart-drawer .woocommerce-mini-cart__buttons .button { min-height: 44px; display: grid; place-items: center; border-radius: 6px; background: #e4d9c7; color: #342c22; font: 12px var(--serif); }
.cart-drawer .woocommerce-mini-cart__buttons .checkout { background: #181915; color: #fff; }

.artifex-filter-widget { margin-bottom: 18px; }
.artifex-filter-widget ul { margin: 0; padding: 0; list-style: none; }
.artifex-filter-widget li { margin: 7px 0; font-size: 11px; }
.artifex-filter-widget a { color: #686157; }

@media (max-width: 1180px) {
  .featured-section ul.products.artifex-products,
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 850px) {
  body.admin-bar .main-nav { top: 77px; }
  .featured-section ul.products.artifex-products,
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-shell, .shop-shell, .single-product-shell { width: calc(100% - 28px); margin-top: 26px; }
  .entry-content { padding: 22px; }
  .shop-toolbar { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (max-width: 520px) {
  body.admin-bar .main-nav { top: 91px; }
  .featured-section ul.products.artifex-products,
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: 1fr; }
  .cart-drawer { padding: 20px; }
}
