:root {
  --terracotta: #bd744b;
  --terracotta-dark: #955637;
  --terracotta-soft: #e9c0a7;
  --teal: #82aeb0;
  --teal-dark: #3d6f72;
  --teal-soft: #d9e8e7;
  --cream: #fffdf7;
  --sand: #f4eee3;
  --ink: #203637;
  --muted: #687879;
  --white: #ffffff;
  --success: #2d7a58;
  --danger: #b43b3b;
  --warning: #b2781c;
  --border: rgba(32, 54, 55, 0.12);
  --shadow: 0 18px 50px rgba(39, 58, 59, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Manrope", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.topbar { background: var(--ink); color: rgba(255,255,255,.9); font-size: 12px; }
.topbar__inner { min-height: 36px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,253,247,.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.site-header__inner { min-height: 82px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 24px rgba(63,99,101,.16); }
.brand span { font-size: 17px; line-height: 1.1; text-transform: uppercase; letter-spacing: .08em; color: var(--terracotta-dark); }
.brand span strong { display: block; font-size: 11px; letter-spacing: .16em; color: var(--teal-dark); }
.main-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.main-nav a { font-weight: 700; font-size: 14px; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--terracotta); transition: .25s ease; }
.main-nav a:hover::after { right: 0; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.account-link { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.icon-circle { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); }
.cart-button { border: 0; color: white; background: var(--terracotta); border-radius: 999px; padding: 11px 15px; display: flex; gap: 7px; align-items: center; font-weight: 800; box-shadow: 0 8px 20px rgba(189,116,75,.24); }
.cart-button b { min-width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--terracotta-dark); font-size: 11px; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: white; }

.hero { padding: 26px 0 20px; }
.hero-shell { position: relative; overflow: hidden; min-height: 540px; border-radius: var(--radius-xl); background: var(--ink); box-shadow: var(--shadow); }
.hero-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .65s ease, transform 1s ease; transform: scale(1.025); background-position: center; background-size: cover; }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,49,50,.94) 0%, rgba(25,49,50,.72) 42%, rgba(25,49,50,.16) 100%); }
.hero-slide.is-active { opacity: 1; pointer-events: auto; transform: scale(1); }
.hero-content { position: relative; z-index: 2; padding: 74px 70px; max-width: 660px; color: white; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.10); backdrop-filter: blur(8px); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; }
.hero h1 { margin: 19px 0 14px; font-family: "Playfair Display", serif; font-size: clamp(46px, 6vw, 76px); line-height: .98; }
.hero p { max-width: 580px; margin: 0 0 28px; color: rgba(255,255,255,.86); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-controls { position: absolute; z-index: 5; left: 70px; bottom: 38px; display: flex; gap: 9px; }
.hero-controls button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: white; font-size: 20px; backdrop-filter: blur(8px); }
.hero-decor { position: absolute; right: -70px; bottom: -90px; width: 360px; height: 360px; border-radius: 50%; border: 70px solid rgba(130,174,176,.24); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; font-weight: 800; transition: .22s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--terracotta); color: white; box-shadow: 0 12px 25px rgba(189,116,75,.28); }
.btn--secondary { background: var(--teal); color: white; }
.btn--light { background: white; color: var(--ink); }
.btn--ghost { background: transparent; border: 1px solid rgba(255,255,255,.45); color: white; }
.btn--outline { background: white; border: 1px solid var(--border); color: var(--ink); }
.btn--block { width: 100%; }
.btn--small { min-height: 38px; padding: 0 14px; font-size: 12px; }

.quick-strip { padding: 12px 0 26px; }
.quick-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.quick-card { border: 1px solid var(--border); background: white; border-radius: var(--radius-md); padding: 16px; display: flex; gap: 13px; align-items: center; box-shadow: 0 9px 26px rgba(44,65,66,.06); }
.quick-card span { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-soft); font-size: 22px; }
.quick-card strong { display: block; font-size: 13px; }
.quick-card small { color: var(--muted); font-size: 11px; }

.section { padding: 76px 0; }
.section--soft { background: var(--sand); }
.section--teal { background: var(--teal-soft); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 30px; }
.section-kicker { display: block; color: var(--terracotta-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 8px; }
.section-title { margin: 0; font-family: "Playfair Display", serif; font-size: clamp(34px, 4vw, 50px); line-height: 1.02; }
.section-description { max-width: 520px; margin: 10px 0 0; color: var(--muted); }
.section-link { font-weight: 800; color: var(--terracotta-dark); }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card { position: relative; min-height: 310px; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); box-shadow: var(--shadow); }
.category-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .5s ease; }
.category-card:hover img { transform: scale(1.06); }
.category-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 32%, rgba(18,38,39,.9) 100%); }
.category-card__content { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 21px; color: white; }
.category-card__content small { text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 800; opacity: .8; }
.category-card__content h3 { margin: 4px 0 0; font-family: "Playfair Display", serif; font-size: 28px; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.product-card { position: relative; background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: .25s ease; box-shadow: 0 12px 30px rgba(43,64,65,.06); }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card__image { position: relative; aspect-ratio: 1 / .78; background: #f6f3eb; overflow: hidden; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-card__image img { transform: scale(1.035); }
.product-badge { position: absolute; top: 12px; left: 12px; z-index: 2; border-radius: 999px; padding: 7px 10px; background: var(--terracotta); color: white; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-card__body { padding: 18px; }
.product-department { color: var(--teal-dark); font-size: 10px; text-transform: uppercase; letter-spacing: .13em; font-weight: 800; }
.product-card h3 { margin: 5px 0 8px; font-size: 17px; line-height: 1.25; min-height: 43px; }
.product-card p { color: var(--muted); font-size: 12px; min-height: 38px; margin: 0 0 14px; }
.product-price { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.product-price del { display: block; color: #929c9d; font-size: 11px; }
.product-price strong { display: block; color: var(--terracotta-dark); font-size: 24px; line-height: 1; }
.product-price small { color: var(--muted); font-size: 10px; }
.product-card__actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; }

.store-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.store-card { background: white; border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 24px; box-shadow: 0 12px 30px rgba(43,64,65,.06); }
.store-card__head { display: flex; justify-content: space-between; gap: 15px; align-items: start; }
.store-card__icon { width: 48px; height: 48px; border-radius: 16px; background: var(--terracotta-soft); display: grid; place-items: center; font-size: 23px; }
.store-card h3 { margin: 13px 0 5px; font-size: 20px; }
.store-card p { margin: 0 0 9px; color: var(--muted); font-size: 13px; }
.store-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.about-image { position: relative; min-height: 500px; border-radius: var(--radius-xl); overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; position: absolute; }
.about-stamp { position: absolute; right: 20px; bottom: 20px; width: 138px; height: 138px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; text-align: center; padding: 20px; font-weight: 800; color: var(--terracotta-dark); box-shadow: var(--shadow); transform: rotate(-7deg); }
.about-copy p { color: var(--muted); font-size: 16px; }
.about-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.about-list div { display: flex; gap: 9px; align-items: center; font-weight: 700; font-size: 13px; }
.about-list span { color: var(--success); }

.newsletter { background: var(--ink); color: white; border-radius: var(--radius-xl); padding: 45px; display: grid; grid-template-columns: 1fr .9fr; gap: 35px; align-items: center; position: relative; overflow: hidden; }
.newsletter::after { content: ""; width: 260px; height: 260px; border-radius: 50%; border: 55px solid rgba(130,174,176,.17); position: absolute; right: -80px; bottom: -100px; }
.newsletter h2 { margin: 0 0 8px; font-family: "Playfair Display", serif; font-size: 38px; }
.newsletter p { color: rgba(255,255,255,.74); margin: 0; }
.newsletter-form { position: relative; z-index: 2; display: flex; gap: 10px; }
.newsletter-form input { flex: 1; min-width: 0; height: 52px; border-radius: 999px; border: 0; padding: 0 18px; }

.instagram-band { background: var(--terracotta); color: white; }
.instagram-band__inner { min-height: 112px; display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.instagram-band small { display: block; text-transform: uppercase; letter-spacing: .16em; font-size: 10px; }
.instagram-band strong { display: block; font-family: "Playfair Display", serif; font-size: 28px; }
.site-footer { background: #1c3132; color: rgba(255,255,255,.76); padding: 58px 0 18px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.site-footer h3 { color: white; margin: 0 0 15px; font-size: 14px; }
.site-footer p { margin: 0 0 9px; font-size: 12px; }
.site-footer a:hover { color: white; }
.brand--footer span { color: white; }
.brand--footer span strong { color: var(--teal-soft); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; margin-top: 35px; font-size: 11px; }

/* Catálogo e filtros */
.catalog-hero { padding: 54px 0 30px; background: linear-gradient(135deg, var(--teal-soft), var(--sand)); }
.catalog-hero__inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.catalog-search { display: flex; width: min(520px,100%); background: white; border: 1px solid var(--border); border-radius: 999px; padding: 6px; box-shadow: 0 12px 28px rgba(43,64,65,.08); }
.catalog-search input { flex: 1; border: 0; outline: 0; padding: 0 15px; min-width: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-chip { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--border); background: white; font-size: 12px; font-weight: 700; }
.filter-chip.is-active { background: var(--ink); color: white; }
.empty-state { grid-column: 1/-1; padding: 55px 24px; text-align: center; border: 1px dashed var(--border); border-radius: var(--radius-lg); color: var(--muted); }

/* Formulários, login e conta */
.page-shell { padding: 55px 0 85px; }
.auth-wrap { width: min(980px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: .95fr 1.05fr; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); background: white; min-height: 610px; }
.auth-visual { position: relative; padding: 48px; background: linear-gradient(150deg, rgba(32,54,55,.96), rgba(61,111,114,.92)), url('https://images.unsplash.com/photo-1604719312566-8912e9227c6a?auto=format&fit=crop&w=1200&q=85') center/cover; color: white; display: flex; flex-direction: column; justify-content: space-between; }
.auth-visual .brand span { color: white; }
.auth-visual .brand span strong { color: var(--teal-soft); }
.auth-visual h1 { font-family: "Playfair Display", serif; font-size: 48px; line-height: 1; margin: 0 0 14px; }
.auth-visual p { color: rgba(255,255,255,.78); }
.auth-panel { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.auth-panel h2 { margin: 0 0 8px; font-family: "Playfair Display", serif; font-size: 38px; }
.auth-panel > p { color: var(--muted); margin: 0 0 25px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field--full { grid-column: 1/-1; }
.field label { font-size: 12px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid var(--border); background: #fff; padding: 11px 13px; outline: none; transition: .2s ease; }
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(130,174,176,.16); }
.field small { color: var(--muted); }
.form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 18px; }
.form-note a { color: var(--terracotta-dark); font-weight: 800; }
.alert { margin: 16px auto 0; border-radius: 13px; padding: 13px 16px; font-size: 13px; }
.alert--success { color: #17573c; background: #e1f4ea; border: 1px solid #bde5ce; }
.alert--danger { color: #7c2929; background: #fde8e8; border: 1px solid #f4caca; }
.alert--warning { color: #76531a; background: #fff4d8; border: 1px solid #f5dda1; }
.alert--info { color: #245c67; background: #e3f3f4; border: 1px solid #c2e3e5; }

.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 25px; }
.account-sidebar { background: var(--ink); color: white; border-radius: var(--radius-lg); padding: 22px; align-self: start; position: sticky; top: 110px; }
.account-profile { display: flex; gap: 11px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.account-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--terracotta); display: grid; place-items: center; font-weight: 800; }
.account-profile strong { display: block; }
.account-profile small { opacity: .65; }
.account-nav { display: grid; gap: 6px; margin-top: 18px; }
.account-nav a { padding: 11px 12px; border-radius: 11px; font-size: 13px; font-weight: 700; }
.account-nav a:hover, .account-nav a.is-active { background: rgba(255,255,255,.1); }
.account-content { min-width: 0; }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 22px; }
.account-head h1 { margin: 0; font-family: "Playfair Display", serif; font-size: 42px; }
.stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 22px; }
.stat-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px; }
.stat-card small { color: var(--muted); display: block; }
.stat-card strong { display: block; font-size: 28px; margin-top: 4px; }
.panel-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 18px; box-shadow: 0 10px 28px rgba(43,64,65,.05); }
.panel-card__head { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-bottom: 15px; }
.panel-card__head h2 { margin: 0; font-size: 19px; }
.order-list { display: grid; gap: 12px; }
.order-card { border: 1px solid var(--border); border-radius: 14px; padding: 16px; display: grid; grid-template-columns: 1fr auto; gap: 15px; align-items: center; }
.order-card h3 { margin: 0 0 4px; font-size: 15px; }
.order-card p { margin: 0; color: var(--muted); font-size: 12px; }
.status { display: inline-flex; padding: 6px 10px; border-radius: 999px; font-size: 10px; font-weight: 800; background: var(--teal-soft); color: var(--teal-dark); }
.status--entregue { background: #e1f4ea; color: #17573c; }
.status--cancelado { background: #fde8e8; color: #7c2929; }

/* Checkout */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.checkout-main, .checkout-summary { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.checkout-summary { position: sticky; top: 110px; }
.checkout-step { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.checkout-step:last-child { border-bottom: 0; margin-bottom: 0; }
.checkout-step h2 { margin: 0 0 15px; font-size: 19px; }
.checkout-items { display: grid; gap: 12px; }
.checkout-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 10px; align-items: center; }
.checkout-item img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; background: var(--sand); }
.checkout-item h3 { margin: 0; font-size: 12px; }
.checkout-item small { color: var(--muted); }
.summary-total { border-top: 1px solid var(--border); margin-top: 15px; padding-top: 15px; display: flex; justify-content: space-between; align-items: center; }
.summary-total strong { font-size: 24px; color: var(--terracotta-dark); }
.payment-options { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.payment-option { position: relative; }
.payment-option input { position: absolute; opacity: 0; }
.payment-option label { border: 1px solid var(--border); border-radius: 13px; padding: 13px; display: block; cursor: pointer; font-size: 12px; font-weight: 700; }
.payment-option input:checked + label { border-color: var(--terracotta); background: #fff4ec; }

/* Modal de produto */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(17,34,35,.68); backdrop-filter: blur(5px); }
.modal__dialog { position: relative; width: min(900px,100%); max-height: calc(100vh - 40px); overflow: auto; background: white; border-radius: var(--radius-xl); box-shadow: 0 30px 90px rgba(15,30,31,.34); }
.modal__close { position: absolute; z-index: 3; right: 15px; top: 15px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: white; font-size: 24px; box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.product-modal-grid { display: grid; grid-template-columns: 1fr 1fr; }
.product-modal-image { min-height: 500px; background: var(--sand); }
.product-modal-image img { width: 100%; height: 100%; object-fit: cover; }
.product-modal-copy { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.product-modal-copy h2 { margin: 8px 0 12px; font-family: "Playfair Display", serif; font-size: 38px; line-height: 1.05; }
.product-modal-copy p { color: var(--muted); }
.quantity-row { display: flex; align-items: center; gap: 10px; margin: 20px 0; }
.quantity-control { display: grid; grid-template-columns: 40px 60px 40px; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.quantity-control button { border: 0; background: var(--sand); }
.quantity-control input { min-width: 0; width: 60px; text-align: center; border: 0; }

/* Carrinho lateral */
.cart-drawer { position: fixed; inset: 0; z-index: 120; pointer-events: none; visibility: hidden; }
.cart-drawer.is-open { pointer-events: auto; visibility: visible; }
.cart-backdrop { position: absolute; inset: 0; border: 0; background: rgba(16,33,34,.55); opacity: 0; transition: .3s ease; }
.cart-drawer.is-open .cart-backdrop { opacity: 1; }
.cart-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px,100%); background: white; transform: translateX(100%); transition: .3s ease; display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(12,29,30,.2); }
.cart-drawer.is-open .cart-panel { transform: translateX(0); }
.cart-panel__header { display: flex; justify-content: space-between; align-items: center; padding: 22px; border-bottom: 1px solid var(--border); }
.cart-panel__header small { color: var(--muted); }
.cart-panel__header h2 { margin: 0; font-family: "Playfair Display", serif; font-size: 30px; }
.close-button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--sand); font-size: 24px; }
.cart-items { overflow: auto; padding: 16px 20px; display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 68px 1fr auto; gap: 11px; align-items: center; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.cart-item img { width: 68px; height: 68px; object-fit: cover; border-radius: 12px; background: var(--sand); }
.cart-item h3 { margin: 0 0 4px; font-size: 13px; }
.cart-item small { color: var(--muted); }
.cart-item__remove { border: 0; background: transparent; color: var(--danger); font-size: 18px; }
.cart-item__qty { display: flex; align-items: center; gap: 7px; margin-top: 7px; }
.cart-item__qty button { width: 25px; height: 25px; border-radius: 50%; border: 1px solid var(--border); background: white; }
.cart-empty { display: none; margin: auto; text-align: center; padding: 30px; color: var(--muted); }
.cart-empty span { font-size: 45px; }
.cart-empty h3 { color: var(--ink); margin-bottom: 5px; }
.cart-summary { margin-top: auto; border-top: 1px solid var(--border); padding: 20px; }
.cart-summary > div { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.cart-summary strong { color: var(--terracotta-dark); font-size: 24px; }
.cart-summary small { display: block; text-align: center; color: var(--muted); font-size: 10px; margin-top: 10px; }

/* Utilidades */
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.hidden { display: none !important; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

@media (max-width: 1020px) {
  .main-nav { position: fixed; top: 118px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; background: white; padding: 18px; border-radius: 18px; box-shadow: var(--shadow); margin: 0; }
  .main-nav.is-open { display: flex; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: 0; }
  .account-link span:last-child { display: none; }
  .quick-grid, .product-grid, .category-grid { grid-template-columns: repeat(2,1fr); }
  .store-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { min-height: 420px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2/4; }
  .checkout-layout { grid-template-columns: 1fr 330px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 22px, 1180px); }
  .topbar__inner { min-height: 32px; justify-content: center; text-align: center; }
  .topbar__inner span:last-child { display: none; }
  .site-header__inner { min-height: 70px; gap: 10px; }
  .brand img { width: 48px; height: 48px; }
  .brand span { font-size: 13px; }
  .brand span strong { font-size: 9px; }
  .cart-button { padding: 10px 12px; }
  .cart-button span { display: none; }
  .main-nav { top: 105px; }
  .hero { padding-top: 12px; }
  .hero-shell { min-height: 560px; border-radius: 22px; }
  .hero-slide::before { background: linear-gradient(180deg, rgba(25,49,50,.3) 0%, rgba(25,49,50,.92) 56%, rgba(25,49,50,.98) 100%); }
  .hero-content { padding: 230px 24px 85px; }
  .hero h1 { font-size: 46px; }
  .hero p { font-size: 14px; }
  .hero-controls { left: 24px; bottom: 25px; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .quick-card { padding: 12px; }
  .quick-card span { width: 40px; height: 40px; flex-basis: 40px; }
  .section { padding: 55px 0; }
  .section-head { align-items: start; flex-direction: column; margin-bottom: 23px; }
  .section-title { font-size: 38px; }
  .category-grid, .product-grid, .store-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 260px; }
  .product-card__image { aspect-ratio: 1.4 / 1; }
  .product-card h3, .product-card p { min-height: auto; }
  .about-image { min-height: 350px; }
  .about-list { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; padding: 30px 22px; }
  .newsletter-form { flex-direction: column; }
  .instagram-band__inner { padding: 25px 0; align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .catalog-hero__inner { grid-template-columns: 1fr; align-items: start; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-visual { min-height: 360px; padding: 30px; }
  .auth-panel { padding: 30px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .stat-grid { grid-template-columns: 1fr; }
  .account-head { align-items: start; flex-direction: column; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .payment-options { grid-template-columns: 1fr; }
  .product-modal-grid { grid-template-columns: 1fr; }
  .product-modal-image { min-height: 300px; max-height: 360px; }
  .product-modal-copy { padding: 28px 22px; }
  .product-modal-copy h2 { font-size: 32px; }
}

@media (max-width: 430px) {
  .brand span { display: none; }
  .quick-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-card__actions { grid-template-columns: 1fr; }
  .order-card { grid-template-columns: 1fr; }
}
