/* Quatri Lab shop pages (cart, checkout, account): the plugin's own frame around the WooCommerce blocks,
   in the colours and type of the AURORA page. Everything is scoped to body.aurora-shop. */
body.aurora-shop {
  --aqs-ink: #1b1d20;
  --aqs-graphite: #25282c;
  --aqs-night: #17181a;
  --aqs-mute: #5f646a;
  --aqs-steel: #9aa2aa;
  --aqs-fog: #ece9e3;
  --aqs-studio: #ebebe7;
  --aqs-paper: #f7f7f4;
  --aqs-crema: #c99a5b;
  --aqs-line: rgba(27, 29, 32, 0.13);
  --aqs-line-2: rgba(27, 29, 32, 0.24);
  --aqs-font: 'Commissioner', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--aqs-paper) !important;
  color: var(--aqs-ink);
  font-family: var(--aqs-font) !important;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.aurora-shop :where(h1, h2, h3, h4, h5, p, a, li, label, span, button, input, select, textarea, td, th, dt, dd, legend, strong, small, div) {
  font-family: var(--aqs-font) !important;
}
body.aurora-shop a { color: inherit; }

/* ---------- header ---------- */
.aqs-top { background: var(--aqs-night); color: var(--aqs-fog); }
.aqs-top-in { max-width: 1180px; margin: 0 auto; padding: 18px clamp(18px, 4vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.aqs-logo { display: block; color: #fff; line-height: 0; }
.aqs-logo .aqs-wordmark { display: block; height: 30px; width: auto; }
.aqs-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 34px); font-size: 14.5px; letter-spacing: 0.02em; }
.aqs-nav a { color: rgba(236, 233, 227, 0.78); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; display: inline-flex; align-items: center; gap: 7px; }
.aqs-nav a:hover { color: #fff; }
.aqs-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--aqs-crema); }
.aqs-count { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--aqs-crema); color: var(--aqs-night); font-size: 11.5px; font-weight: 700; line-height: 1; }
@media (max-width: 560px) {
  .aqs-logo .aqs-wordmark { height: 24px; }
  .aqs-nav { gap: 14px; font-size: 13.5px; }
}

/* ---------- page ---------- */
.aqs-main { flex: 1 0 auto; width: 100%; max-width: 1180px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) clamp(18px, 4vw, 40px) clamp(48px, 7vw, 88px); box-sizing: border-box; }
.aqs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; margin-bottom: clamp(22px, 3.5vw, 40px); padding-bottom: 18px; border-bottom: 1px solid var(--aqs-ink); }
.aqs-title { margin: 0; font-size: clamp(34px, 5vw, 56px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.02; }
.aqs-steps { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--aqs-mute); }
.aqs-steps li { display: flex; align-items: center; }
.aqs-steps li + li::before { content: ""; width: 26px; height: 1px; background: var(--aqs-line-2); margin: 0 10px; }
.aqs-steps a { text-decoration: none; border-bottom: 1px solid var(--aqs-line-2); }
.aqs-steps a:hover { color: var(--aqs-ink); border-bottom-color: var(--aqs-ink); }
.aqs-steps .is-on { color: var(--aqs-ink); font-weight: 600; }
.aqs-body > :first-child { margin-top: 0; }
.aqs-body .wp-block-woocommerce-cart, .aqs-body .wp-block-woocommerce-checkout { margin: 0 !important; padding: 0 !important; max-width: none !important; }

/* ---------- shared pieces of the shop blocks ---------- */
body.aurora-shop .wc-block-components-title,
body.aurora-shop .wc-block-components-checkout-step__title,
body.aurora-shop .wc-block-cart__totals-title { font-size: 17px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--aqs-ink) !important; }
body.aurora-shop .wc-block-cart__totals-title { padding: 0 0 12px !important; }
body.aurora-shop .wc-block-components-product-name { font-size: 18px !important; font-weight: 600 !important; color: var(--aqs-ink) !important; text-decoration: none !important; letter-spacing: 0.01em; }
body.aurora-shop .wc-block-components-product-metadata__description { display: none; }

/* configuration under the name: one line per choice, with a bullet (the blocks print them in a row with " / ") */
body.aurora-shop .wc-block-components-product-details { display: block !important; margin: 12px 0 0 !important; padding: 0 !important; font-size: 14px !important; color: var(--aqs-mute) !important; line-height: 1.65 !important; }
body.aurora-shop .wc-block-components-product-details > span,
body.aurora-shop .wc-block-components-product-details > li { display: list-item !important; list-style: disc outside !important; margin: 0 0 0 1.1em !important; padding: 0 !important; }
body.aurora-shop .wc-block-components-product-details > span::marker,
body.aurora-shop .wc-block-components-product-details > li::marker { color: var(--aqs-crema); }
body.aurora-shop .wc-block-components-product-details > span > span[aria-hidden="true"] { display: none !important; }
body.aurora-shop .wc-block-components-product-details > li::after { content: none !important; }
body.aurora-shop .wc-block-components-product-details__name { color: var(--aqs-ink); font-weight: 500 !important; }

/* buttons */
body.aurora-shop .wc-block-components-button:not(.is-link),
body.aurora-shop .wc-block-cart__submit-button,
body.aurora-shop .wc-block-components-checkout-place-order-button,
body.aurora-shop .woocommerce .button,
body.aurora-shop .woocommerce button.button {
  background: var(--aqs-ink) !important; color: #fff !important; border: 1px solid var(--aqs-ink) !important; border-radius: 999px !important;
  font-weight: 600 !important; font-size: 15.5px !important; letter-spacing: 0.01em; min-height: 54px; padding: 14px 26px !important; box-shadow: none !important; text-decoration: none !important;
  transition: background-color 0.2s, transform 0.15s;
}
body.aurora-shop .wc-block-components-button:not(.is-link):hover,
body.aurora-shop .wc-block-components-checkout-place-order-button:hover { background: #33373c !important; }
body.aurora-shop .wc-block-components-button:not(.is-link):active { transform: translateY(1px); }
body.aurora-shop .wc-block-components-button.is-link,
body.aurora-shop .wc-block-components-checkout-return-to-cart-button { color: var(--aqs-ink) !important; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* fields */
body.aurora-shop .wc-block-components-text-input input,
body.aurora-shop .wc-block-components-text-input textarea,
body.aurora-shop .wc-blocks-components-select .wc-blocks-components-select__select,
body.aurora-shop .wc-block-components-textarea,
body.aurora-shop .woocommerce form .input-text,
body.aurora-shop .woocommerce form select {
  background: #fff !important; border: 1px solid var(--aqs-line-2) !important; border-radius: 12px !important; color: var(--aqs-ink) !important; box-shadow: none !important;
}
body.aurora-shop .wc-block-components-text-input input:focus,
body.aurora-shop .wc-blocks-components-select .wc-blocks-components-select__select:focus,
body.aurora-shop .wc-block-components-textarea:focus { border-color: var(--aqs-ink) !important; outline: 2px solid rgba(27, 29, 32, 0.12) !important; outline-offset: 0; }
body.aurora-shop .wc-block-components-text-input label,
body.aurora-shop .wc-blocks-components-select__label { color: var(--aqs-mute) !important; }
body.aurora-shop .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox] { border-radius: 5px; border-color: var(--aqs-line-2); }
body.aurora-shop .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { background: var(--aqs-ink); border-color: var(--aqs-ink); }
body.aurora-shop .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #fff; }

/* choice lists: shipping, payment */
body.aurora-shop .wc-block-components-radio-control--highlight-checked,
body.aurora-shop .wc-block-components-radio-control-accordion-option,
body.aurora-shop .wc-block-components-radio-control__option { background: #fff; }
body.aurora-shop .wc-block-components-radio-control--highlight-checked { border-radius: 14px !important; }
body.aurora-shop .wc-block-components-radio-control--highlight-checked::after { border-color: var(--aqs-line-2) !important; border-radius: 14px !important; }
body.aurora-shop .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
body.aurora-shop .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control--highlight-checked--first-selected,
body.aurora-shop .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted { box-shadow: inset 0 0 0 1.5px var(--aqs-ink) !important; border-radius: 14px !important; }
body.aurora-shop .wc-block-components-radio-control__input:checked { border-color: var(--aqs-ink) !important; }
body.aurora-shop .wc-block-components-radio-control__input:checked::before { background: var(--aqs-ink) !important; }
body.aurora-shop .wc-block-components-radio-control__label, body.aurora-shop .wc-block-components-payment-method-label { font-weight: 600; }
body.aurora-shop .wc-block-components-radio-control-accordion-content { color: var(--aqs-mute); font-size: 14.5px; }

/* notices */
body.aurora-shop .wc-block-components-notice-banner { border-radius: 14px !important; font-size: 14.5px; }

/* summary card: totals of the cart, order summary of the checkout */
body.aurora-shop .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block,
body.aurora-shop .wp-block-woocommerce-checkout-order-summary-block {
  background: #fff !important; border: 1px solid var(--aqs-line) !important; border-radius: 20px !important; padding: 22px 24px !important; box-shadow: 0 18px 50px -32px rgba(27, 29, 32, 0.35);
}
body.aurora-shop .wc-block-components-totals-wrapper { border-color: var(--aqs-line) !important; padding-left: 0 !important; padding-right: 0 !important; }
body.aurora-shop .wc-block-components-totals-item__label { color: var(--aqs-mute); }
body.aurora-shop .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { color: var(--aqs-ink); font-size: 17px !important; font-weight: 600 !important; }
body.aurora-shop .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 24px !important; font-weight: 500 !important; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
body.aurora-shop .wc-block-components-totals-footer-item-tax { color: var(--aqs-mute); font-size: 13.5px !important; }
body.aurora-shop .wc-block-components-panel__button, body.aurora-shop .wc-block-components-totals-coupon-link { color: var(--aqs-mute) !important; font-size: 14.5px !important; }
body.aurora-shop .wc-block-cart__submit-container { padding-top: 6px; }
body.aurora-shop .wc-block-cart__submit-button { width: 100%; }
body.aurora-shop .wp-block-woocommerce-cart-order-summary-block > .wc-block-components-totals-wrapper:first-child,
body.aurora-shop .wp-block-woocommerce-cart-order-summary-totals-block:first-child > .wc-block-components-totals-wrapper:first-child { border-top: 0 !important; }

/* ---------- cart ---------- */
body.aurora-shop .wc-block-cart { gap: 40px; }
body.aurora-shop table.wc-block-cart-items { border-collapse: collapse; }
body.aurora-shop table.wc-block-cart-items .wc-block-cart-items__header { font-size: 12.5px !important; letter-spacing: 0.06em; color: var(--aqs-mute) !important; text-transform: none !important; }
body.aurora-shop table.wc-block-cart-items .wc-block-cart-items__header th { border-bottom: 1px solid var(--aqs-line) !important; padding-bottom: 10px !important; font-weight: 500 !important; }
body.aurora-shop table.wc-block-cart-items .wc-block-cart-items__row { border-bottom: 1px solid var(--aqs-line) !important; }
body.aurora-shop table.wc-block-cart-items td { border-top: 0 !important; padding-top: 26px !important; padding-bottom: 26px !important; }
/* the picture of the configuration: large, on the studio grey it was rendered on */
body.aurora-shop .wc-block-cart-items__header-image { width: 196px !important; }
body.aurora-shop .wc-block-cart-item__image { width: 196px !important; padding-right: 26px !important; }
body.aurora-shop .wc-block-cart-item__image a, body.aurora-shop .wc-block-cart-item__image img { display: block; }
body.aurora-shop .wc-block-cart-item__image img { width: 170px !important; max-width: none !important; height: 170px !important; object-fit: cover; border-radius: 16px; background: var(--aqs-studio); }
body.aurora-shop .wc-block-cart-item__prices { font-size: 15px; color: var(--aqs-mute); margin: 4px 0 0; }
body.aurora-shop .wc-block-cart-item__total { font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; }
body.aurora-shop .wc-block-cart-item__quantity { margin-top: 14px; display: flex; align-items: center; gap: 14px; }
body.aurora-shop .wc-block-components-quantity-selector { border-radius: 999px !important; border: 1px solid var(--aqs-line-2) !important; background: #fff; overflow: hidden; width: 116px !important; }
body.aurora-shop .wc-block-components-quantity-selector::after { display: none !important; }
body.aurora-shop .wc-block-components-quantity-selector input { font-weight: 600 !important; }
body.aurora-shop .wc-block-components-quantity-selector__button { color: var(--aqs-ink) !important; }
body.aurora-shop .wc-block-cart-item__remove-link { color: var(--aqs-mute) !important; }
body.aurora-shop .wc-block-cart-item__remove-link:hover { color: var(--aqs-ink) !important; }
/* medium and narrow cart (the blocks switch from a table to a grid): picture on the left, the configuration next to
   it with the whole remaining width, the line total under it */
body.aurora-shop .wc-block-cart.is-medium,
body.aurora-shop .wc-block-cart.is-small,
body.aurora-shop .wc-block-cart.is-mobile { --aqs-cell: 176px; --aqs-pic: 150px; }
body.aurora-shop .wc-block-cart.is-small { --aqs-cell: 136px; --aqs-pic: 118px; }
body.aurora-shop .wc-block-cart.is-mobile { --aqs-cell: 120px; --aqs-pic: 104px; }
body.aurora-shop .wc-block-cart:is(.is-medium, .is-small, .is-mobile) table.wc-block-cart-items .wc-block-cart-items__row { display: grid !important; grid-template-columns: var(--aqs-cell) minmax(0, 1fr) !important; column-gap: 0 !important; padding: 24px 0 !important; }
body.aurora-shop .wc-block-cart:is(.is-medium, .is-small, .is-mobile) .wc-block-cart-items__header { display: none !important; }
body.aurora-shop .wc-block-cart:is(.is-medium, .is-small, .is-mobile) td { padding: 0 !important; }
body.aurora-shop .wc-block-cart:is(.is-medium, .is-small, .is-mobile) .wc-block-cart-item__image { grid-column: 1 !important; grid-row: 1 / span 2 !important; width: auto !important; padding: 0 18px 0 0 !important; align-self: start; }
body.aurora-shop .wc-block-cart:is(.is-medium, .is-small, .is-mobile) .wc-block-cart-item__image img { width: var(--aqs-pic) !important; height: var(--aqs-pic) !important; border-radius: 14px; }
body.aurora-shop .wc-block-cart:is(.is-medium, .is-small, .is-mobile) .wc-block-cart-item__product { grid-column: 2 !important; grid-row: 1 !important; min-width: 0; }
body.aurora-shop .wc-block-cart:is(.is-medium, .is-small, .is-mobile) .wc-block-cart-item__total { grid-column: 2 !important; grid-row: 2 !important; justify-self: start !important; text-align: left !important; padding-top: 12px !important; }
body.aurora-shop .wc-block-cart:is(.is-medium, .is-small, .is-mobile) .wc-block-cart-item__total .wc-block-components-sale-badge { display: none; }
/* empty cart */
body.aurora-shop .wp-block-woocommerce-empty-cart-block { text-align: center; padding: 30px 0; }
body.aurora-shop .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title { font-weight: 300; font-size: 26px; }
body.aurora-shop .wp-block-woocommerce-empty-cart-block .wp-block-separator,
body.aurora-shop .wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-new,
body.aurora-shop .wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title),
body.aurora-shop .wp-block-woocommerce-empty-cart-block > .wp-block-heading:not(.wc-block-cart__empty-cart__title) { display: none !important; }
body.aurora-shop .wp-block-woocommerce-empty-cart-block .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 30px !important; border-radius: 999px !important;
  background: var(--aqs-ink) !important; color: #fff !important; border: 1px solid var(--aqs-ink) !important; font-weight: 600 !important; font-size: 15.5px !important; text-decoration: none !important;
}
body.aurora-shop .wp-block-woocommerce-empty-cart-block .wp-block-button__link:hover { background: #33373c !important; }

/* ---------- checkout ---------- */
body.aurora-shop .wc-block-checkout { gap: 40px; }
body.aurora-shop .wc-block-components-checkout-step { margin-bottom: 34px !important; }
body.aurora-shop .wc-block-components-checkout-step__heading { margin-bottom: 14px !important; }
body.aurora-shop .wc-block-components-checkout-step__description { color: var(--aqs-mute); font-size: 14px; }
body.aurora-shop .wc-block-checkout__terms { color: var(--aqs-mute); font-size: 13.5px; border-top: 1px solid var(--aqs-line) !important; }
body.aurora-shop .wc-block-checkout__actions_row { gap: 16px; }
body.aurora-shop .wc-block-components-checkout-place-order-button { min-width: 260px; }
body.aurora-shop .wc-block-components-order-summary-item { padding: 14px 0 !important; }
body.aurora-shop .wc-block-components-order-summary-item__image img { max-width: none !important; object-fit: cover; border-radius: 12px; background: var(--aqs-studio); }
body.aurora-shop .wc-block-components-order-summary-item__quantity { background: var(--aqs-ink) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; }
body.aurora-shop .wc-block-components-order-summary-item__description { padding-left: 14px !important; }
body.aurora-shop .wc-block-components-order-summary .wc-block-components-product-name { font-size: 16px !important; }
body.aurora-shop .wc-block-components-order-summary .wc-block-components-product-details { font-size: 13px !important; margin-top: 8px !important; }
/* the summary is narrow: the unit price sits under the name, so the column on the right goes and the choices get room */
body.aurora-shop .wc-block-components-order-summary-item__total-price { display: none !important; }
body.aurora-shop .wc-block-components-order-summary-item__image { width: 72px !important; }
body.aurora-shop .wc-block-components-order-summary-item__image img { width: 66px !important; height: 66px !important; }

/* order confirmation and account (classic markup) */
body.aurora-shop .woocommerce-order-overview,
body.aurora-shop .wc-block-order-confirmation-summary { background: #fff; border: 1px solid var(--aqs-line); border-radius: 18px; padding: 20px 24px !important; }
body.aurora-shop .woocommerce table.shop_table, body.aurora-shop .wc-block-order-confirmation-totals table { border-radius: 14px; border-color: var(--aqs-line) !important; background: #fff; }
body.aurora-shop .aurora-iris-pay, body.aurora-shop .woocommerce-bacs-bank-details { background: #fff; border: 1px solid var(--aqs-line); border-radius: 18px; padding: 20px 24px; margin: 22px 0; }

/* ---------- footer ---------- */
.aqs-foot { background: var(--aqs-graphite); color: var(--aqs-steel); font-size: 13.5px; }
.aqs-foot-in { max-width: 1180px; margin: 0 auto; padding: 24px clamp(18px, 4vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; }
.aqs-foot-brand { display: inline-flex; align-items: center; gap: 0.9em; color: var(--aqs-fog); font-size: 14px; }
.aqs-foot-brand .aqs-wordmark { height: 26px; width: auto; display: block; color: #fff; }
.aqs-foot-prod { padding-left: 0.9em; border-left: 1px solid currentColor; font-weight: 300; letter-spacing: 0.24em; opacity: 0.85; line-height: 1.6; }
.aqs-foot-note { flex: 1 1 auto; text-align: center; }
@media (max-width: 720px) { .aqs-foot-note { text-align: left; flex-basis: 100%; order: 3; } }

@media (prefers-reduced-motion: reduce) { body.aurora-shop * { transition: none !important; } }

/* order details on the confirmation page: the configuration as a tight list */
body.aurora-shop .wc-item-meta { margin: 8px 0 0 !important; padding: 0 0 0 1.1em !important; list-style: disc !important; font-size: 14px; color: var(--aqs-mute); }
body.aurora-shop .wc-item-meta li { margin: 0 !important; padding: 0 !important; line-height: 1.6; }
body.aurora-shop .wc-item-meta li::marker { color: var(--aqs-crema); }
body.aurora-shop .wc-item-meta li p { display: inline; margin: 0 !important; }
body.aurora-shop .wc-item-meta .wc-item-meta-label { color: var(--aqs-ink); font-weight: 500; }
body.aurora-shop .woocommerce-order-details__title, body.aurora-shop .woocommerce-column__title { font-weight: 300 !important; font-size: 26px !important; }

/* ---------- buttons of the plugin's own pages ---------- */
body.aurora-shop .aqs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45em; padding: 10px 18px; min-height: 42px; box-sizing: border-box; border-radius: 999px; border: 1px solid var(--aqs-ink); background: transparent; color: var(--aqs-ink); font-size: 14.5px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color 0.2s, color 0.2s, transform 0.15s; }
body.aurora-shop .aqs-btn:hover { background: rgba(27, 29, 32, 0.06); }
body.aurora-shop .aqs-btn:active { transform: translateY(1px); }
body.aurora-shop .aqs-btn:disabled { opacity: 0.5; cursor: default; }
body.aurora-shop .aqs-btn-ink { background: var(--aqs-ink); color: #fff; }
body.aurora-shop .aqs-btn-ink:hover { background: #33373c; }
body.aurora-shop .aqs-btn-quiet { border-color: transparent; color: var(--aqs-mute); padding-left: 10px; padding-right: 10px; }
body.aurora-shop .aqs-btn-quiet:hover { color: #9b2c1f; background: transparent; }
body.aurora-shop .aqs-btn-danger { background: #9b2c1f; border-color: #9b2c1f; color: #fff; }
body.aurora-shop .aqs-btn-danger:hover { background: #7f2418; }
body.aurora-shop .aqs-btn:focus-visible, body.aurora-shop .aqp-shot:focus-visible, body.aurora-shop .aqp-thumb:focus-visible { outline: 2px solid var(--aqs-crema); outline-offset: 2px; }
.aqs-lead { flex-basis: 100%; margin: -6px 0 0; color: var(--aqs-mute); font-size: 15px; }

/* ---------- account page ---------- */
body.aurora-shop .woocommerce-MyAccount-navigation { float: none !important; width: auto !important; margin: 0 0 30px; }
body.aurora-shop .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
body.aurora-shop .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; border: 0; }
body.aurora-shop .woocommerce-MyAccount-navigation li a { display: block; padding: 9px 17px; border: 1px solid var(--aqs-line-2); border-radius: 999px; color: var(--aqs-mute); text-decoration: none; font-size: 14.5px; }
body.aurora-shop .woocommerce-MyAccount-navigation li a:hover { color: var(--aqs-ink); border-color: var(--aqs-ink); }
body.aurora-shop .woocommerce-MyAccount-navigation li.is-active a { background: var(--aqs-ink); border-color: var(--aqs-ink); color: #fff; }
body.aurora-shop .woocommerce-MyAccount-navigation-link--customer-logout { margin-left: auto !important; }
body.aurora-shop .woocommerce-MyAccount-navigation-link--customer-logout a { border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
body.aurora-shop .woocommerce-MyAccount-content { float: none !important; width: auto !important; }
body.aurora-shop .woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
body.aurora-shop .woocommerce form .form-row { padding: 0; margin: 0 0 16px; }
body.aurora-shop .woocommerce form .form-row label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; line-height: 1.4; }
body.aurora-shop .woocommerce form .form-row .input-text, body.aurora-shop .woocommerce form .form-row select { width: 100%; box-sizing: border-box; padding: 13px 14px !important; font-size: 15.5px; }
body.aurora-shop .woocommerce form .input-text:focus { border-color: var(--aqs-ink) !important; outline: 2px solid rgba(27, 29, 32, 0.12) !important; outline-offset: 0; }
body.aurora-shop .woocommerce form .form-row .required { color: var(--aqs-crema); text-decoration: none; }
body.aurora-shop .woocommerce .woocommerce-form-login__rememberme { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 400 !important; margin: 4px 16px 12px 0 !important; }
body.aurora-shop .woocommerce .button { min-height: 50px; }
body.aurora-shop .woocommerce .lost_password { margin: 6px 0 0; font-size: 14px; }
body.aurora-shop .woocommerce .lost_password a, body.aurora-shop .woocommerce-privacy-policy-text a { text-decoration: underline; text-underline-offset: 3px; }
body.aurora-shop .woocommerce-privacy-policy-text { font-size: 13px; color: var(--aqs-mute); line-height: 1.5; }
body.aurora-shop #customer_login { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
body.aurora-shop #customer_login::before, body.aurora-shop #customer_login::after { content: none !important; }
body.aurora-shop #customer_login > div { float: none !important; width: auto !important; background: #fff; border: 1px solid var(--aqs-line); border-radius: 20px; padding: clamp(20px, 3vw, 30px); }
body.aurora-shop #customer_login h2 { margin: 0 0 18px; font-size: 22px; font-weight: 500; }
body.aurora-shop .woocommerce form.login, body.aurora-shop .woocommerce form.register { border: 0 !important; padding: 0 !important; margin: 0 !important; }
body.aurora-shop .woocommerce-error, body.aurora-shop .woocommerce-message, body.aurora-shop .woocommerce-info { list-style: none; margin: 0 0 22px !important; padding: 14px 18px !important; border: 0 !important; border-radius: 14px; background: #fff !important; box-shadow: inset 0 0 0 1px var(--aqs-line); color: var(--aqs-ink) !important; font-size: 15px; }
body.aurora-shop .woocommerce-error { box-shadow: inset 0 0 0 1px rgba(155, 44, 31, 0.4); }
body.aurora-shop .woocommerce-error::before, body.aurora-shop .woocommerce-message::before, body.aurora-shop .woocommerce-info::before { display: none !important; }
.aqs-google-box { max-width: 420px; margin: 0 auto 26px; text-align: center; }
.aqs-google { min-height: 44px; display: flex; justify-content: center; }
.aqs-google-msg { min-height: 1.2em; margin: 8px 0 0; font-size: 14px; color: var(--aqs-mute); }
.aqs-or { display: flex; align-items: center; gap: 12px; margin: 10px 0 0; font-size: 13.5px; color: var(--aqs-mute); }
.aqs-or::before, .aqs-or::after { content: ""; flex: 1; height: 1px; background: var(--aqs-line-2); }

/* ---------- portfolio ---------- */
.aqp { --aqp-r: 20px; }
.aqp-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; margin-bottom: 26px; }
.aqp-lead { margin: 0; color: var(--aqs-mute); max-width: 60ch; }
.aqp-bar-act, .aqp-head-act, .aqp-design-act { display: flex; flex-wrap: wrap; gap: 8px; }
.aqp-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; list-style: none; margin: 0; padding: 0; }
.aqp-project { background: #fff; border: 1px solid var(--aqs-line); border-radius: var(--aqp-r); overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; }
.aqp-project:hover { box-shadow: 0 14px 34px rgba(23, 24, 26, 0.1); transform: translateY(-2px); }
.aqp-cover { display: grid; aspect-ratio: 4 / 3; background: var(--aqs-studio); gap: 2px; grid-template-columns: 1fr; }
.aqp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 0; }
.aqp-cover.n2 { grid-template-columns: 1fr 1fr; }
.aqp-cover.n3 { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; }
.aqp-cover.n3 img:first-child { grid-row: 1 / 3; }
.aqp-cover.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.aqp-project-meta { display: flex; flex-direction: column; gap: 3px; padding: 14px 18px 16px; }
.aqp-project-name { font-size: 17px; font-weight: 600; text-decoration: none; }
.aqp-project-name::after { content: ""; position: absolute; inset: 0; }
.aqp-project { position: relative; }
.aqp-project-meta span { font-size: 13.5px; color: var(--aqs-mute); }
.aqp-project-meta .aqp-badge { align-self: flex-start; margin-top: 4px; padding: 2px 9px; border-radius: 999px; background: rgba(201, 154, 91, 0.16); color: #7a5a2c; font-size: 12px; font-weight: 600; }
.aqp-usage { margin: 26px 0 0; font-size: 13px; color: var(--aqs-mute); text-align: right; }
.aqp-back { margin: 0 0 14px; font-size: 14px; }
.aqp-back a { color: var(--aqs-mute); text-decoration: none; }
.aqp-back a::before { content: "‹"; margin-right: 6px; }
.aqp-back a:hover { color: var(--aqs-ink); }
.aqp-head { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; margin-bottom: 20px; }
.aqp-title { margin: 0; font-size: clamp(26px, 3.4vw, 36px); font-weight: 400; letter-spacing: -0.01em; }
.aqp-share { margin: 0 0 24px; padding: 16px 18px; border-radius: 16px; background: rgba(201, 154, 91, 0.12); }
.aqp-share p { margin: 0 0 10px; font-size: 14.5px; }
.aqp-share-row { display: flex; gap: 8px; flex-wrap: wrap; }
.aqp-share-row input { flex: 1 1 260px; min-width: 0; padding: 10px 14px; border: 1px solid var(--aqs-line-2); border-radius: 999px; background: #fff; font-size: 14px; color: var(--aqs-ink); }
.aqp-designs { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.aqp-design { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: clamp(16px, 3vw, 30px); background: #fff; border: 1px solid var(--aqs-line); border-radius: var(--aqp-r); padding: clamp(14px, 2vw, 20px); }
.aqp-shot { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--aqs-studio); cursor: zoom-in; }
.aqp-shot img { width: 100%; height: 100%; object-fit: contain; display: block; }
.aqp-design-body { display: flex; flex-direction: column; min-width: 0; }
.aqp-design-name { margin: 2px 0 10px; font-size: 21px; font-weight: 500; overflow-wrap: anywhere; }
.aqp-rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 22px; font-size: 14.5px; }
.aqp-rows li { padding: 5px 0; border-bottom: 1px dashed var(--aqs-line); }
.aqp-rows span { color: var(--aqs-mute); margin-right: 4px; }
.aqp-code { margin: 10px 0 0; font-size: 12.5px; color: var(--aqs-mute); letter-spacing: 0.04em; }
.aqp-gal-h { margin: 18px 0 8px; font-size: 13.5px; font-weight: 600; }
.aqp-gallery { display: flex; flex-wrap: wrap; gap: 8px; }
.aqp-thumb { display: block; width: 118px; height: 84px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--aqs-studio); cursor: zoom-in; }
.aqp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.aqp-thumb:hover img { transform: scale(1.04); }
.aqp-hint { margin: 16px 0 0; font-size: 13.5px; color: var(--aqs-mute); max-width: 56ch; }
.aqp-design-act { margin-top: auto; padding-top: 18px; }
.aqp-empty { text-align: center; padding: clamp(28px, 5vw, 54px) 20px; border: 1px dashed var(--aqs-line-2); border-radius: var(--aqp-r); color: var(--aqs-mute); }
.aqp-empty p { max-width: 54ch; margin: 0 auto 18px; }
.aqp-empty-big h2 { margin: 0 0 10px; font-size: 26px; font-weight: 400; color: var(--aqs-ink); }
@media (max-width: 680px) {
  .aqp-design { grid-template-columns: 1fr; }
  .aqp-shot { max-width: 420px; }
  .aqp-thumb { width: calc(33.333% - 6px); height: auto; aspect-ratio: 4 / 3; }
  .aqp-design-act .aqs-btn-ink { flex: 1 0 100%; }
  body.aurora-shop .woocommerce-MyAccount-navigation-link--customer-logout { margin-left: 0 !important; }
}

/* dialog */
.aqp-dlg { border: 0; border-radius: 16px; padding: 0; width: min(440px, calc(100vw - 24px)); background: var(--aqs-paper); color: var(--aqs-ink); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25); }
.aqp-dlg::backdrop { background: rgba(22, 24, 27, 0.5); }
.aqp-dlg-in { display: grid; gap: 14px; padding: 24px; }
.aqp-dlg-in h2 { margin: 0; font-size: 20px; font-weight: 500; line-height: 1.35; }
.aqp-dlg-in p { margin: 0; color: var(--aqs-mute); font-size: 14.5px; }
.aqp-dlg-field { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.aqp-dlg-field input, .aqp-dlg-field select { font: inherit; font-size: 15.5px; padding: 11px 13px; border: 1px solid var(--aqs-line-2); border-radius: 10px; background: #fff; color: var(--aqs-ink); }
.aqp-dlg-field input:focus, .aqp-dlg-field select:focus { outline: 2px solid var(--aqs-crema); outline-offset: 0; border-color: transparent; }
.aqp-dlg [hidden] { display: none !important; }
.aqp-dlg-msg { min-height: 1.2em; color: #9b2c1f !important; font-size: 14px; }
.aqp-dlg-act { display: flex; justify-content: flex-end; gap: 8px; }

/* picture viewer */
.aqp-noscroll { overflow: hidden; }
.aqp-lb { position: fixed; inset: 0; z-index: 99999; background: rgba(15, 16, 18, 0.95); display: grid; place-items: center; padding: 20px 20px 80px; }
.aqp-lb[hidden] { display: none; }
.aqp-lb img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); }
.aqp-lb-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px clamp(14px, 3vw, 28px); color: var(--aqs-fog); font-size: 14px; }
.aqp-lb-act { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.aqp-lb-btn { padding: 9px 15px; border-radius: 999px; border: 1px solid rgba(236, 233, 227, 0.35); background: transparent; color: var(--aqs-fog); font-size: 14px; text-decoration: none; cursor: pointer; }
.aqp-lb-btn:hover { border-color: #fff; color: #fff; }
.aqp-lb-btn[hidden] { display: none; }
.aqp-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.aqp-lb-nav:hover { background: rgba(255, 255, 255, 0.2); }
.aqp-lb-nav[data-lb="-1"] { left: clamp(8px, 2vw, 24px); }
.aqp-lb-nav[data-lb="1"] { right: clamp(8px, 2vw, 24px); }
.aqp-lb-nav[hidden] { display: none; }
.aqp-lb-btn:focus-visible, .aqp-lb-nav:focus-visible { outline: 2px solid var(--aqs-crema); outline-offset: 2px; }
body.aurora-shop .aqs-body .woocommerce { max-width: none !important; width: auto !important; margin-left: 0 !important; margin-right: 0 !important; }
body.aurora-shop .woocommerce-MyAccount-navigation li a, body.aurora-shop .aqp a.aqs-btn { text-decoration: none !important; }
.aqp-cover.n1 img { object-fit: contain; }
@media (max-width: 480px) {
  .aqs-top-in { flex-wrap: wrap; row-gap: 8px; padding-top: 14px; padding-bottom: 12px; }
  .aqs-nav { flex: 1 0 100%; justify-content: space-between; gap: 8px; }
}
