/* Glamora – WordPress layer: base, header, footer, shop grid, pages, WooCommerce */
:root {
  --font-body--family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading--family: "Playfair Display", Georgia, serif;
  --ink: #1f1418; --ink-2: #5e4e55; --ink-3: #8c7d84; --line: #ece4e7; --paper: #fff;
  --blush: #fbf3f5; --blush-2: #f6e6eb; --rose: #c8426f; --rose-2: #a8315a; --plum: #2b1520; --pink: #f9dce6;
  --header-height: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-height) + 12px); }
body { margin: 0; font-family: var(--font-body--family); font-size: 15px; line-height: 1.6; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.gl-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 4px; }
.gl-skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- ANNOUNCEMENT ---------- */
.gl-ann { background: var(--ann-bg, var(--pink)); color: var(--plum); }
.gl-ann__inner { position: relative; display: grid; place-items: center; min-height: 38px; text-align: center; }
.gl-ann__item { grid-area: 1 / 1; margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .01em; opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease; padding: 8px 0; }
.gl-ann__item.is-on { opacity: 1; transform: none; }

/* ---------- HEADER ---------- */
.gl-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.admin-bar .gl-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .gl-header { top: 0; } }
.gl-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-height); }
.gl-logo { display: flex; align-items: center; text-decoration: none; color: var(--ink); flex: 0 0 auto; }
.gl-logo__img { max-height: 36px; width: auto; display: block; }
.gl-logo__text { font-family: var(--font-heading--family); font-size: 24px; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.gl-logo__text em { font-style: italic; color: var(--rose); }
.gl-nav { flex: 1 1 auto; min-width: 0; }
.gl-nav__list { display: flex; align-items: center; gap: 4px 22px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.gl-nav__list > li { position: relative; }
.gl-nav__list > li > a { display: flex; align-items: center; min-height: var(--header-height); font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); white-space: nowrap; }
.gl-nav__list > li > a:hover, .gl-nav__list > li.current-menu-item > a { color: var(--rose); }
.gl-nav__list > li.gl-nav__sale > a { color: var(--rose); font-weight: 600; }
.gl-nav__list .sub-menu { position: absolute; top: 100%; left: -18px; min-width: 240px; list-style: none; margin: 0; padding: 14px 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 40px -20px rgba(43, 21, 32, .35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease; z-index: 5; }
.gl-nav__list .sub-menu--cols { columns: 3; column-gap: 0; min-width: 640px; }
.gl-nav__list li:hover > .sub-menu, .gl-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.gl-nav__list .sub-menu a { display: block; padding: 7px 20px; font-size: 14px; color: var(--ink-2); text-decoration: none; break-inside: avoid; }
.gl-nav__list .sub-menu a:hover { color: var(--rose); background: var(--blush); }
.gl-header__actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.gl-header__icon { position: relative; appearance: none; border: 0; background: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); cursor: pointer; text-decoration: none; transition: background .15s ease; }
.gl-header__icon:hover { background: var(--blush); }
.gl-header__icon svg { width: 22px; height: 22px; }
.gl-header__burger { display: none; }
.gl-cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--rose); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.gl-cart-count[hidden] { display: none; }
.gl-search { border-top: 1px solid var(--line); background: #fff; }
.gl-search__form { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.gl-search__form > svg { width: 20px; height: 20px; color: var(--ink-3); flex: 0 0 auto; }
.gl-search__form input[type=search] { flex: 1; border: 0; outline: 0; font-size: 18px; background: transparent; min-width: 0; }
@media (max-width: 1100px) { .gl-nav__list { gap: 4px 16px; } .gl-nav__list > li > a { font-size: 14px; } }
@media (max-width: 989px) {
  :root { --header-height: 60px; }
  .gl-nav { display: none; }
  .gl-header__burger { display: grid; margin-left: -10px; }
  .gl-header__inner { gap: 6px; }
  .gl-logo { margin: 0 auto 0 0; }
  .gl-logo__text { font-size: 21px; }
  .gl-header__account { display: none; }
}

/* ---------- DRAWER ---------- */
.gl-drawer { position: fixed; inset: 0; z-index: 100; }
.gl-drawer[hidden] { display: none; }
.gl-drawer__scrim { position: absolute; inset: 0; background: rgba(31, 20, 24, .45); animation: gl-fade .2s ease; }
.gl-drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(88vw, 380px); background: #fff; z-index: 1; display: flex; flex-direction: column; animation: gl-slide .25s ease; overflow-y: auto; }
.gl-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--line); }
.gl-drawer__list, .gl-drawer__list .sub-menu { list-style: none; margin: 0; padding: 0; }
.gl-drawer__list > li { border-bottom: 1px solid var(--line); }
.gl-drawer__list > li > a { display: block; padding: 15px 20px; font-size: 16px; font-weight: 500; text-decoration: none; }
.gl-drawer__list > li.gl-nav__sale > a { color: var(--rose); }
.gl-drawer__list .sub-menu { padding: 0 20px 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.gl-drawer__list .sub-menu a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; text-decoration: none; color: var(--ink-2); }
.gl-drawer__foot { margin-top: auto; padding: 16px 20px 24px; display: grid; gap: 12px; background: var(--blush); }
.gl-drawer__foot a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; }
.gl-drawer__foot svg { width: 20px; height: 20px; }
@keyframes gl-fade { from { opacity: 0; } }
@keyframes gl-slide { from { transform: translateX(-100%); } }
body.gl-lock { overflow: hidden; }

/* ---------- FOOTER ---------- */
.gl-footer { background: var(--plum); color: rgba(255, 255, 255, .82); margin-top: 0; }
.gl-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.gl-footer__title { font-family: var(--font-heading--family); font-weight: 400; font-size: 30px; line-height: 1.1; color: #fff; margin: 0 0 10px; }
.gl-footer__club p { margin: 0 0 18px; max-width: 420px; }
.gl-footer__social { display: flex; gap: 10px; }
.gl-footer__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; color: #fff; transition: all .15s ease; }
.gl-footer__social a:hover { background: var(--pink); color: var(--plum); border-color: var(--pink); }
.gl-footer__social svg { width: 20px; height: 20px; }
.gl-footer__head { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #f3b7cb; margin: 6px 0 14px; }
.gl-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gl-footer a { color: inherit; text-decoration: none; }
.gl-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.gl-footer__contact { margin: 0; line-height: 1.9; }
.gl-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .6); }
@media (max-width: 860px) { .gl-footer__grid { grid-template-columns: 1fr 1fr; } .gl-footer__club { grid-column: 1 / -1; } }
@media (max-width: 520px) { .gl-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; } }

/* ---------- 24h badge ---------- */
.gl24 { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; padding: 12px 14px; border-radius: 12px; background: #eaf6ef; color: #1f7a4d; line-height: 1.35; }
.gl24 > svg { width: 26px; height: 26px; flex: none; }
.gl24 b { display: block; font-size: 15px; }
.gl24 span { font-size: 13px; color: #2d5e45; }
.gl24--card { gap: 5px; margin: 4px 0 0; padding: 0; background: none; border-radius: 0; font-size: 12px; font-weight: 600; }
.gl24--card > svg { width: 14px; height: 14px; }

/* ---------- SHOP GRID ---------- */
.gl-shop { padding: 8px 0 64px; }
.gl-shop__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.gl-shop__bar .woocommerce-result-count { margin: 0; font-size: 13px; color: var(--ink-3); }
.gl-shop__bar .woocommerce-ordering { margin: 0; }
.gl-shop__bar select { appearance: none; min-height: 40px; padding: 0 38px 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1418' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 14px; font-size: 13px; font-weight: 500; cursor: pointer; }
.gl-shop__bar select:hover { border-color: var(--ink); }
.gl-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 20px; }
@media (max-width: 1499px) { .gl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 989px) { .gl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 749px) { .gl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } }
.gl-grid > .glc .glc__media { border-radius: 8px; }
.gl-empty { padding: 48px 0; text-align: center; display: grid; gap: 16px; justify-items: center; }
.gl-pagination { margin-top: 44px; }
.gl-pagination ul, .woocommerce-pagination ul.page-numbers { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; border: 0; }
.gl-pagination .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 14px; color: var(--ink); }
.gl-pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.gl-pagination a.page-numbers:hover { border-color: var(--ink); }
.gl-pagination ul li { border: 0 !important; }

/* Product card extras */
.glc__now .woocommerce-Price-amount, .glc__was .woocommerce-Price-amount { font: inherit; }
.glc__form .glc__btn.is-loading { opacity: .6; }

/* ---------- PAGES ---------- */
.gl-page { padding: 40px 0 72px; }
.gl-page__wrap--narrow { max-width: 820px; }
.gl-page__title { font-family: var(--font-heading--family); font-weight: 400; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; margin: 0 0 24px; }
.gl-page__hero { margin-bottom: 28px; border-radius: 8px; overflow: hidden; }
.gl-rte { font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.gl-rte h2, .gl-rte h3 { color: var(--ink); line-height: 1.25; margin: 1.6em 0 .5em; }
.gl-rte a { color: var(--rose-2); }
.gl-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
@media (max-width: 860px) { .gl-posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gl-posts { grid-template-columns: 1fr; } }
.gl-post__img { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 12px; }
.gl-post__img img { width: 100%; height: 100%; object-fit: cover; }
.gl-post__date { font-size: 12px; color: var(--ink-3); margin: 0 0 4px; }
.gl-post__title { font-size: 19px; line-height: 1.3; margin: 0 0 6px; }
.gl-post__title a { text-decoration: none; }
.gl-404__ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.gl-store__ph { display: grid; place-items: center; height: 100%; min-height: 320px; color: var(--rose); }
.gl-store__ph svg { width: 64px; height: 64px; opacity: .5; }

/* ---------- WOOCOMMERCE: notices, cart, checkout, account ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 0 0 20px; padding: 14px 18px; border-radius: 6px; background: var(--blush); border: 1px solid var(--blush-2); border-left: 3px solid var(--rose); font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.woocommerce-error { border-left-color: #b3261e; background: #fdf1f0; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; }
.gl-page--shop .button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .wc-block-components-button:not(.is-link) {
  background: var(--ink) !important; color: #fff !important; border-radius: 4px !important; border: 0; font-weight: 600 !important; padding: 12px 22px; text-decoration: none; transition: background .15s ease;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .wc-block-components-button:not(.is-link):hover { background: var(--rose-2) !important; }
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--ink); }
.gl-page--shop input[type=text], .gl-page--shop input[type=email], .gl-page--shop input[type=tel], .gl-page--shop input[type=password], .gl-page--shop select, .gl-page--shop textarea { border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; }
.wc-block-components-text-input input, .wc-block-components-combobox input, .wc-block-components-form .wc-block-components-text-input input { border-radius: 4px !important; }
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { min-height: 52px; }
.wc-block-components-product-name { color: var(--ink) !important; text-decoration: none; font-weight: 500; }
.wc-block-components-totals-item__value, .wc-block-components-product-price__value { font-weight: 600; }

/* ---------- toast ---------- */
.gl-toast a { color: #f3b7cb; }

/* Product page: price amounts inherit sizes */
.glpd__price .woocommerce-Price-amount, .glpd__sticky-price .woocommerce-Price-amount { font: inherit; }
.glpd__reviews .comment-reply-title { font-size: 18px; }
.glpd__reviews ol.commentlist { list-style: none; padding: 0; }

/* v1.0.1 fixes */
html, body { overflow-x: clip; }
.glh { overflow: hidden; }
.glh__wrap > * { min-width: 0; max-width: 100%; }
.gl-nav__list { flex-wrap: nowrap; }
@media (max-width: 1250px) { .gl-nav__list { gap: 4px 14px; } .gl-nav__list > li > a { font-size: 14px; } }
