/* =====================================================================
   Global Fashion UK – storefront styles
   Loaded after custom.css (the original design). This file owns the header,
   product cards, listing, product page, basket, checkout and account pages.
   ===================================================================== */

:root {
  --gf-bg: #eef8fa;
  --gf-surface: #ffffff;
  --gf-purple: #7137c7;
  --gf-purple-600: #5f2bb0;
  --gf-purple-50: #f4effc;
  --gf-pink: #ef2d7c;
  --gf-pink-50: #fdeef4;
  --gf-ink: #111111;
  --gf-text: #2b2b2b;
  --gf-muted: #6c6c6c;
  --gf-line: #e3ecee;
  --gf-line-strong: #cfdcdf;
  --gf-success: #12805c;
  --gf-warning: #b45309;
  --gf-danger: #c62828;
  --gf-radius: 22px;
  --gf-radius-sm: 14px;
  --gf-shadow-sm: 0 2px 10px rgba(17, 17, 17, .05);
  --gf-shadow: 0 14px 40px rgba(25, 25, 40, .10);
  --gf-header-h: 84px;
  --gf-serif: Georgia, "Times New Roman", serif;
  --gf-sans: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-font-family: var(--gf-sans);
  /* Brand links instead of Bootstrap blue */
  --bs-link-color: #7137c7;
  --bs-link-color-rgb: 113, 55, 199;
  --bs-link-hover-color: #5f2bb0;
  --bs-link-hover-color-rgb: 95, 43, 176;
  --bs-link-color: var(--gf-purple);
  --bs-link-hover-color: var(--gf-purple-600);
}

body { font-family: var(--gf-sans); color: var(--gf-text); background: #e8f4f6; overflow-x: clip; }
.visually-hidden-focusable:focus { position: fixed !important; top: 8px; left: 8px; z-index: 5000; background: #fff; padding: 10px 16px; border-radius: 10px; box-shadow: var(--gf-shadow); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid rgba(113, 55, 199, .45); outline-offset: 2px; }
.gf-serif { font-family: var(--gf-serif); }
.text-purple { color: var(--gf-purple) !important; }
.text-pink { color: var(--gf-pink) !important; }
.bg-surface { background: var(--gf-surface); }
.gf-container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 992px) { .gf-container { padding: 0 32px; } }

/* ---------- Buttons ---------- */
.btn-gf, .btn-gf-outline, .btn-gf-pink, .btn-gf-light {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 14px;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn-gf { background: var(--gf-ink); color: #fff; }
.btn-gf:hover { background: var(--gf-purple); color: #fff; box-shadow: 0 10px 24px rgba(113, 55, 199, .25); }
.btn-gf-pink { background: var(--gf-pink); color: #fff; }
.btn-gf-pink:hover { background: #d81d6a; color: #fff; }
.btn-gf-outline { background: transparent; color: var(--gf-ink); border-color: var(--gf-line-strong); }
.btn-gf-outline:hover { border-color: var(--gf-ink); color: var(--gf-ink); background: #fff; }
.btn-gf-light { background: #fff; color: var(--gf-ink); border-color: var(--gf-line); }
.btn-gf-light:hover { border-color: var(--gf-purple); color: var(--gf-purple); }
.btn-gf[disabled], .btn-gf.disabled, .btn-gf-pink[disabled] { opacity: .55; pointer-events: none; }
.btn-gf-sm { min-height: 36px; padding: 0 16px; font-size: 13px; }
.btn-gf-lg { min-height: 56px; padding: 0 30px; font-size: 15px; }
.btn-gf-block { width: 100%; }
.btn-gf .spinner-border { width: 1rem; height: 1rem; border-width: .15em; }
.btn-link-gf { background: none; border: 0; padding: 0; color: var(--gf-purple); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Forms ---------- */
.gf-form .form-label, .gf-label { font-size: 13px; font-weight: 700; color: var(--gf-ink); margin-bottom: 6px; }
.gf-form .form-control, .gf-form .form-select, .gf-input {
  min-height: 48px; border-radius: 12px; border: 1px solid var(--gf-line-strong); background-color: #fff;
  font-size: 15px; padding: 10px 14px; box-shadow: none;
}
.gf-form textarea.form-control { min-height: 110px; }
.gf-form .form-control:focus, .gf-form .form-select:focus, .gf-input:focus { border-color: var(--gf-purple); box-shadow: 0 0 0 4px rgba(113, 55, 199, .12); }
.gf-form .form-check-input:checked { background-color: var(--gf-purple); border-color: var(--gf-purple); }
.gf-form .form-text { font-size: 12px; }
.gf-form .invalid-feedback { font-size: 12.5px; }
.gf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Alerts / flash ---------- */
.gf-alert { border-radius: 14px; border: 1px solid; padding: 12px 16px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.gf-alert i { font-size: 18px; line-height: 1.1; }
.gf-alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.gf-alert-danger { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.gf-alert-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.gf-alert-info { background: var(--gf-purple-50); border-color: #ddd0f4; color: #4c1d95; }
.gf-toasts { position: fixed; z-index: 3200; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 10px; max-width: min(380px, calc(100vw - 32px)); }
.gf-toast { background: #111; color: #fff; border-radius: 14px; padding: 13px 16px; box-shadow: var(--gf-shadow); display: flex; gap: 10px; align-items: flex-start; font-size: 14px; animation: gfToastIn .28s ease; }
.gf-toast.is-error { background: #7f1d1d; }
.gf-toast a { color: #fff; font-weight: 700; text-decoration: underline; }
.gf-toast button { margin-left: auto; background: none; border: 0; color: rgba(255, 255, 255, .7); padding: 0 0 0 8px; }
@keyframes gfToastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 767.98px) { .gf-toasts { bottom: 84px; left: 16px; right: 16px; max-width: none; } }

/* ---------- Announcement bar ---------- */
.gf-announcement { background: var(--gf-ink); color: #fff; font-size: 13px; text-align: center; padding: 8px 16px; }
.gf-announcement a { color: #fff; text-decoration: underline; }

/* =====================================================================
   Header
   Constant height in every state: the compact look on scroll only adds a
   shadow and scales the logo with a transform, so nothing below moves.
   ===================================================================== */
.sh-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }
.sh { position: sticky; top: 0; z-index: 1030; background: rgba(238, 248, 250, .97); border-bottom: 1px solid rgba(0, 0, 0, .05); transition: box-shadow .25s ease, background-color .25s ease; }
@supports (backdrop-filter: blur(10px)) { .sh { background: rgba(238, 248, 250, .88); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); } }
.sh.is-stuck { box-shadow: 0 8px 26px rgba(25, 25, 40, .10); }
.sh-inner { height: var(--gf-header-h); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; }
.sh-left, .sh-right { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sh-right { justify-content: flex-end; gap: 4px; }
.sh-logo { display: block; line-height: 0; }
.sh-logo img { height: 34px; width: auto; max-width: 260px; display: block; transform-origin: center; transition: transform .25s ease; }
.sh.is-stuck .sh-logo img { transform: scale(.92); }

.sh-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; color: #fff; font-weight: 700; font-size: 14.5px; white-space: nowrap; text-decoration: none; transition: box-shadow .2s ease, filter .2s ease; }
.sh-pill:hover { color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .14); filter: brightness(1.05); }
.sh-pill-purple { background: var(--gf-purple); }
.sh-pill-pink { background: var(--gf-pink); }
.sh-pill i { font-size: 13px; transition: transform .2s ease; }
.sh-catalog.is-open .sh-pill i { transform: rotate(180deg); }

.sh-icon { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--gf-ink); display: inline-grid; place-items: center; font-size: 21px; text-decoration: none; transition: background .2s ease, color .2s ease; }
.sh-icon:hover, .sh-icon[aria-expanded="true"] { background: rgba(113, 55, 199, .09); color: var(--gf-purple); }
.sh-badge { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--gf-pink); color: #fff; font: 700 10.5px/18px var(--gf-sans); text-align: center; box-shadow: 0 0 0 2px var(--gf-bg); }
.sh-badge:empty, .sh-badge[data-count="0"] { display: none; }

.sh-chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid #b9c6c9; background: transparent; color: var(--gf-ink); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.sh-chip:hover, .sh-chip[aria-expanded="true"] { border-color: var(--gf-purple); color: var(--gf-purple); background: #fff; }
.sh-chip .bi-chevron-down { font-size: 10px; }
.sh-chip .sh-flag { font-size: 16px; line-height: 1; }
.sh-divider { width: 1px; height: 26px; background: #c9d6d9; margin: 0 6px; }

.sh-menu { border: 1px solid rgba(0, 0, 0, .07); border-radius: 16px; box-shadow: 0 18px 48px rgba(25, 25, 40, .16); padding: 8px; min-width: 220px; margin-top: 8px !important; }
.sh-menu .dropdown-header { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: #8a8a8a; padding: 8px 12px 6px; }
.sh-menu .dropdown-item, .sh-menu button.dropdown-item { display: flex; align-items: center; gap: 10px; border-radius: 10px; padding: 9px 12px; font-size: 14px; color: var(--gf-text); }
.sh-menu .dropdown-item:hover, .sh-menu .dropdown-item:focus { background: var(--gf-purple-50); color: var(--gf-purple); }
.sh-menu .dropdown-item.active, .sh-menu .dropdown-item:active { background: var(--gf-purple); color: #fff; }
.sh-menu .dropdown-item .ms-auto { font-size: 12px; opacity: .7; }
.sh-menu form { margin: 0; }

/* Mega menu */
.sh-catalog { position: relative; }
.sh-mega { position: absolute; top: calc(100% + 12px); left: 0; width: min(1080px, calc(100vw - 64px)); background: #fff; border: 1px solid rgba(0, 0, 0, .07); border-radius: 22px; box-shadow: 0 28px 70px rgba(27, 20, 35, .20); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 1040; }
.sh-catalog.is-open .sh-mega { opacity: 1; visibility: visible; transform: none; }
.sh-mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.sh-mega-inner { padding: 26px 28px 18px; max-height: calc(100vh - var(--gf-header-h) - 40px); overflow: auto; }
.sh-mega-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid #eee; }
.sh-kicker { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .17em; font-weight: 800; color: #8754cb; margin-bottom: 4px; }
.sh-mega-head h3 { font: 500 26px var(--gf-serif); margin: 0; }
.sh-mega-head a { font-size: 13px; font-weight: 700; color: var(--gf-ink); }
.sh-mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 28px; }
.sh-mega-group a { display: block; color: #5d5856; font-size: 13.5px; padding: 4px 0; line-height: 1.35; transition: color .15s ease, transform .15s ease; }
.sh-mega-group a:hover { color: var(--gf-purple); transform: translateX(3px); }
.sh-mega-group .sh-mega-title { color: var(--gf-ink); font: 700 15.5px var(--gf-serif); margin-bottom: 6px; padding: 0; display: flex; align-items: center; gap: 6px; }
.sh-mega-group .sh-mega-title i { color: var(--gf-purple); font-size: 12px; }
.sh-mega-group .sh-count { color: #a3a3a3; font-size: 11.5px; margin-left: 4px; }
.sh-mega-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 22px; padding-top: 14px; border-top: 1px solid #eee; }
.sh-mega-foot a { color: var(--gf-ink); font-size: 13px; font-weight: 700; }
.sh-mega-foot a i { color: var(--gf-purple); margin-right: 5px; }

/* Header breakpoints */
.sh-only-compact { display: none !important; }
@media (max-width: 1399.98px) {
  .sh-chip .sh-chip-label { display: none; }
  .sh-pill { padding: 0 16px; font-size: 14px; }
}
@media (max-width: 1199.98px) {
  :root { --gf-header-h: 72px; }
  .sh-only-desktop { display: none !important; }
  .sh-only-compact { display: inline-grid !important; }
  .sh-logo img { height: 28px; max-width: 200px; }
}
@media (max-width: 575.98px) {
  :root { --gf-header-h: 64px; }
  .sh-inner { gap: 6px; grid-template-columns: auto 1fr auto; }
  .sh-logo { justify-self: center; }
  .sh-logo img { height: 22px; max-width: 170px; }
  .sh-icon { width: 40px; height: 40px; font-size: 20px; }
  .sh-hide-xs { display: none !important; }
}

/* Search overlay */
.sh-search { position: fixed; inset: 0 0 auto 0; z-index: 2000; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .16); transform: translateY(-105%); transition: transform .32s cubic-bezier(.2, .8, .2, 1); padding: 22px 0 26px; max-height: 100vh; overflow: auto; }
.sh-search.is-open { transform: none; }
.sh-search-backdrop { position: fixed; inset: 0; z-index: 1990; background: rgba(17, 17, 17, .35); opacity: 0; visibility: hidden; transition: .25s ease; }
.sh-search-backdrop.is-open { opacity: 1; visibility: visible; }
.sh-search-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sh-search-top span { font: 500 22px var(--gf-serif); }
.sh-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f3f3f3; display: grid; place-items: center; color: var(--gf-ink); transition: .2s ease; }
.sh-close:hover { background: #ebebeb; transform: rotate(90deg); }
.sh-search-form { height: 60px; border: 1.5px solid var(--gf-line-strong); border-radius: 16px; display: flex; align-items: center; padding-left: 18px; overflow: hidden; background: #fff; }
.sh-search-form:focus-within { border-color: var(--gf-purple); box-shadow: 0 0 0 4px rgba(113, 55, 199, .12); }
.sh-search-form > i { font-size: 20px; color: #888; }
.sh-search-form input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 14px; height: 100%; font-size: 16px; background: transparent; }
.sh-search-form button { height: 100%; padding: 0 26px; border: 0; background: var(--gf-ink); color: #fff; font-weight: 700; }
.sh-search-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 12px; font-size: 12.5px; color: #777; }
.sh-search-tags a { border: 1px solid #e1e1e1; border-radius: 999px; padding: 6px 12px; color: var(--gf-text); font-size: 12.5px; }
.sh-search-tags a:hover { border-color: var(--gf-purple); color: var(--gf-purple); }
.sh-suggest { margin-top: 16px; }
.sh-suggest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.sh-suggest-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--gf-ink); }
.sh-suggest-item:hover { background: var(--gf-purple-50); color: var(--gf-ink); }
.sh-suggest-item img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: #f6f9fa; }
.sh-suggest-item strong { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sh-suggest-item span { font-size: 13px; color: var(--gf-purple); font-weight: 700; }
.sh-suggest-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.sh-suggest-cats a { background: var(--gf-purple-50); color: var(--gf-purple); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 700; }

/* Mini basket drawer and mobile menu (Bootstrap offcanvas) */
.gf-offcanvas { width: min(440px, 94vw) !important; border-left: 0 !important; }
.gf-offcanvas .offcanvas-header { padding: 22px 22px 16px; border-bottom: 1px solid #eee; align-items: flex-start; }
.gf-offcanvas .offcanvas-title { font: 500 24px var(--gf-serif); margin: 0; }
.gf-offcanvas .offcanvas-body { padding: 0; display: flex; flex-direction: column; }
.gf-drawer-lines { flex: 1; overflow: auto; padding: 4px 22px; }
.gf-drawer-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid #f0f0f0; }
.gf-drawer-line img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: #f5f9fa; }
.gf-drawer-line a.gf-line-name { color: var(--gf-ink); font-size: 13.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gf-drawer-line .gf-line-option { color: #888; font-size: 12px; }
.gf-drawer-line .gf-line-price { font-size: 14px; font-weight: 700; white-space: nowrap; text-align: right; }
.gf-drawer-foot { padding: 18px 22px 22px; border-top: 1px solid #eee; background: #fff; }
.gf-drawer-empty { padding: 50px 22px; text-align: center; color: var(--gf-muted); }
.gf-drawer-empty i { font-size: 44px; color: #c9c9c9; display: block; margin-bottom: 8px; }
.gf-qty-sm { display: inline-flex; align-items: center; border: 1px solid #ddd; border-radius: 999px; overflow: hidden; height: 32px; margin-top: 8px; }
.gf-qty-sm button { width: 30px; height: 30px; border: 0; background: #fff; color: var(--gf-ink); font-size: 15px; }
.gf-qty-sm button:hover { background: #f4f4f4; }
.gf-qty-sm span, .gf-qty-sm input { width: 34px; text-align: center; font-size: 13px; border: 0; padding: 0; -moz-appearance: textfield; }
.gf-line-remove { border: 0; background: none; color: #a5a5a5; font-size: 12px; padding: 0; margin-top: 8px; text-decoration: underline; }
.gf-line-remove:hover { color: var(--gf-danger); }
.gf-progress { height: 6px; border-radius: 99px; background: #eceff0; overflow: hidden; }
.gf-progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--gf-purple), var(--gf-pink)); border-radius: 99px; transition: width .4s ease; }

.gf-mobile-nav { padding: 12px 18px 24px; overflow: auto; }
.gf-mobile-nav .gf-mm-section { border-bottom: 1px solid #eee; }
.gf-mm-toggle { width: 100%; border: 0; background: none; padding: 14px 2px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 15px; color: var(--gf-ink); text-align: left; }
.gf-mm-toggle i { transition: transform .2s ease; }
.gf-mm-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
.gf-mm-links { padding: 0 0 10px 12px; }
.gf-mm-links a { display: block; padding: 7px 0; color: #5d5d5d; font-size: 14px; }
.gf-mm-catalog-btn { width: 100%; border: 0; background: var(--gf-purple); color: #fff; border-radius: 14px; min-height: 50px; padding: 0 18px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.gf-mm-links-main a { display: flex; align-items: center; gap: 10px; padding: 13px 2px; color: var(--gf-ink); font-size: 14.5px; border-bottom: 1px solid #f2f2f2; }
.gf-mm-prefs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.gf-mm-prefs label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: #888; margin-bottom: 4px; display: block; }
.gf-mm-prefs select { width: 100%; height: 44px; border-radius: 12px; border: 1px solid var(--gf-line-strong); padding: 0 12px; background: #fff; font-size: 14px; }

/* Mobile bottom navigation */
.gf-bottom-nav { display: none; }
@media (max-width: 767.98px) {
  .gf-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; height: 64px; padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255, 255, 255, .97); border-top: 1px solid #e8e8e8; box-shadow: 0 -8px 30px rgba(0, 0, 0, .07); }
  .gf-bottom-nav a, .gf-bottom-nav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; background: none; color: #333; font-size: 10.5px; font-weight: 600; }
  .gf-bottom-nav i { font-size: 20px; }
  .gf-bottom-nav .is-active { color: var(--gf-purple); }
  .gf-bottom-nav .sh-badge { top: 6px; right: calc(50% - 22px); }
  body.has-bottom-nav { padding-bottom: 64px; }
  .mobile-bottom-nav { display: none !important; }
}

/* =====================================================================
   Page heads, breadcrumbs, sections
   ===================================================================== */
.gf-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--gf-muted); margin: 0 0 14px; padding: 0; list-style: none; }
.gf-crumbs a { color: var(--gf-muted); }
.gf-crumbs a:hover { color: var(--gf-purple); }
.gf-crumbs li + li::before { content: "\F285"; font-family: "bootstrap-icons"; font-size: 10px; margin-right: 6px; color: #aaa; }
.gf-crumbs li[aria-current] { color: var(--gf-ink); font-weight: 600; }
.gf-page-head { padding: 26px 0 18px; }
.gf-page-head h1 { font: 500 clamp(28px, 3.2vw, 42px)/1.15 var(--gf-serif); margin: 0; color: var(--gf-ink); }
.gf-page-head p { color: var(--gf-muted); margin: 8px 0 0; max-width: 720px; }
.gf-section-title { text-align: center; margin-bottom: 30px; }
.gf-section-title h2 { font: 700 clamp(26px, 3vw, 36px) var(--gf-sans); margin: 0 0 6px; }
.gf-section-title h2 span { color: var(--gf-purple); }
.gf-section-title p { color: var(--gf-muted); font-size: 17px; margin: 0; }
.gf-card { background: #fff; border-radius: var(--gf-radius); border: 1px solid var(--gf-line); box-shadow: var(--gf-shadow-sm); }
.gf-card-pad { padding: 24px; }
@media (max-width: 575.98px) { .gf-card-pad { padding: 18px; } }
.gf-card h2.gf-card-title, .gf-card-title { font: 700 18px var(--gf-sans); margin: 0 0 16px; color: var(--gf-ink); }
.gf-empty { text-align: center; padding: 60px 20px; }
.gf-empty i { font-size: 54px; color: #c4c4c4; display: block; margin-bottom: 12px; }
.gf-empty h2 { font: 500 26px var(--gf-serif); }
.gf-empty p { color: var(--gf-muted); max-width: 460px; margin: 6px auto 20px; }

/* =====================================================================
   Product cards
   ===================================================================== */
.pc-grid { display: grid; grid-template-columns: repeat(var(--pc-cols, 4), minmax(0, 1fr)); gap: 22px; }
.pc-grid.cols-3 { --pc-cols: 3; }
@media (max-width: 1199.98px) { .pc-grid { --pc-cols: 3; } }
@media (max-width: 991.98px) { .pc-grid, .pc-grid.cols-3 { --pc-cols: 3; gap: 16px; } }
@media (max-width: 767.98px) { .pc-grid, .pc-grid.cols-3 { --pc-cols: 2; gap: 12px; } }

.pc { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 20px; border: 1px solid var(--gf-line); overflow: hidden; transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; height: 100%; }
.pc:hover { box-shadow: 0 18px 42px rgba(30, 30, 50, .12); border-color: transparent; transform: translateY(-3px); }
.pc-media { position: relative; display: block; aspect-ratio: 1 / 1; background: linear-gradient(180deg, #f7fbfc, #eef5f7); overflow: hidden; }
.pc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: opacity .35s ease, transform .5s ease; }
.pc-media .pc-img-hover { opacity: 0; }
.pc:hover .pc-media .pc-img-hover { opacity: 1; }
.pc:hover .pc-media.has-hover .pc-img-main { opacity: 0; }
.pc:hover .pc-media:not(.has-hover) .pc-img-main { transform: scale(1.04); }
.pc-flags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 2; }
.pc-flag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .02em; line-height: 1.3; }
.pc-flag-sale { background: var(--gf-pink); color: #fff; }
.pc-flag-new { background: var(--gf-purple); color: #fff; }
.pc-flag-pro { background: #111; color: #fff; }
.pc-flag-muted { background: #fff; color: #555; border: 1px solid #ddd; }
.pc-wish { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--gf-ink); display: grid; place-items: center; font-size: 17px; box-shadow: 0 4px 12px rgba(0, 0, 0, .08); transition: transform .2s ease, color .2s ease; }
.pc-wish:hover { transform: scale(1.08); color: var(--gf-pink); }
.pc-wish.is-saved { color: var(--gf-pink); }
.pc-wish.is-saved i::before { content: "\F415"; }
.pc-quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; opacity: 0; transform: translateY(8px); transition: .25s ease; }
.pc:hover .pc-quick, .pc:focus-within .pc-quick { opacity: 1; transform: none; }
@media (hover: none) { .pc-quick { display: none; } }
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; gap: 6px; }
.pc-cat { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #8e8e8e; font-weight: 700; }
.pc-name { font-size: 14.5px; font-weight: 600; line-height: 1.38; color: var(--gf-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.76em; }
.pc-name:hover { color: var(--gf-purple); }
.pc-rating { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #777; }
.gf-stars { --pct: 0%; position: relative; display: inline-block; font-size: 12px; line-height: 1; letter-spacing: 2px; color: #d8d8d8; }
.gf-stars::before { content: "★★★★★"; }
.gf-stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--pct); overflow: hidden; color: #f5a524; }
.pc-swatches { display: flex; align-items: center; gap: 5px; min-height: 22px; }
.pc-swatch { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #d9d9d9; background: #eee center / cover no-repeat; }
.pc-swatch-more { font-size: 11.5px; color: #777; font-weight: 700; margin-left: 2px; }
.pc-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: auto; padding-top: 4px; }
.pc-price .now { font-size: 17px; font-weight: 800; color: var(--gf-ink); }
.pc-price .now.is-sale { color: var(--gf-pink); }
.pc-price .was { font-size: 13px; color: #9a9a9a; text-decoration: line-through; }
.pc-price .from { font-size: 12px; color: #7a7a7a; font-weight: 600; }
.pc-price .trade { font-size: 11px; font-weight: 800; color: var(--gf-purple); text-transform: uppercase; letter-spacing: .06em; }
.pc-stock { font-size: 12px; font-weight: 700; }
.pc-stock.low { color: var(--gf-warning); }
.pc-stock.out { color: #999; }
.pc-actions { margin-top: 10px; }
.pc-actions .btn-gf, .pc-actions .btn-gf-outline { width: 100%; min-height: 42px; font-size: 13px; }
@media (max-width: 575.98px) {
  .pc { border-radius: 16px; }
  .pc-body { padding: 10px 11px 12px; gap: 4px; }
  .pc-name { font-size: 13px; }
  .pc-price .now { font-size: 15px; }
  .pc-actions .btn-gf, .pc-actions .btn-gf-outline { min-height: 38px; font-size: 12px; padding: 0 10px; }
  .pc-wish { width: 34px; height: 34px; font-size: 15px; top: 8px; right: 8px; }
  .pc-flags { top: 8px; left: 8px; }
  .pc-cat { display: none; }
}
.pc-skeleton { border-radius: 20px; background: #fff; border: 1px solid var(--gf-line); overflow: hidden; }
.pc-skeleton .sk-media { aspect-ratio: 1/1; }
.pc-skeleton .sk-line { height: 12px; margin: 12px 16px 0; border-radius: 6px; }
.pc-skeleton .sk-line.short { width: 40%; margin-bottom: 18px; }
.sk-anim { background: linear-gradient(90deg, #eef3f4 25%, #f8fbfc 37%, #eef3f4 63%); background-size: 400% 100%; animation: gfSk 1.3s ease infinite; }
@keyframes gfSk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* Horizontal product rail (home, related) */
.pc-rail { position: relative; }
.pc-rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 18px; }
.pc-rail-track::-webkit-scrollbar { display: none; }
.pc-rail-track > * { scroll-snap-align: start; }
.pc-rail-btn { position: absolute; top: 38%; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--gf-shadow); display: grid; place-items: center; font-size: 18px; color: var(--gf-ink); transition: .2s ease; }
.pc-rail-btn:hover { background: var(--gf-ink); color: #fff; }
.pc-rail-btn[disabled] { opacity: 0; pointer-events: none; }
.pc-rail-prev { left: -18px; }
.pc-rail-next { right: -18px; }
@media (max-width: 1199.98px) { .pc-rail-track { grid-auto-columns: calc((100% - 2 * 18px) / 3); gap: 18px; } }
@media (max-width: 767.98px) { .pc-rail-track { grid-auto-columns: 62%; gap: 12px; } .pc-rail-btn { display: none; } }

/* =====================================================================
   Listing (shop / category / search)
   ===================================================================== */
.gf-shop { padding-bottom: 60px; }
.gf-shop-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 30px; align-items: start; }
@media (max-width: 991.98px) { .gf-shop-layout { grid-template-columns: minmax(0, 1fr); } }
.gf-subcats { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 14px; margin-bottom: 4px; scrollbar-width: thin; }
.gf-subcats a { flex: 0 0 auto; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--gf-line); color: var(--gf-ink); font-size: 13.5px; font-weight: 600; }
.gf-subcats a:hover, .gf-subcats a.active { border-color: var(--gf-purple); color: var(--gf-purple); }
.gf-subcats a span { color: #999; font-weight: 500; margin-left: 4px; }

.gf-filters { position: sticky; top: calc(var(--gf-header-h) + 16px); max-height: calc(100vh - var(--gf-header-h) - 32px); overflow: auto; background: #fff; border-radius: var(--gf-radius); border: 1px solid var(--gf-line); padding: 6px 20px 20px; scrollbar-width: thin; }
.gf-filter { border-bottom: 1px solid #f0f0f0; padding: 14px 0; }
.gf-filter:last-of-type { border-bottom: 0; }
.gf-filter-head { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: 0; padding: 0; font-weight: 800; font-size: 14px; color: var(--gf-ink); text-align: left; }
.gf-filter-head i { transition: transform .2s ease; font-size: 12px; }
.gf-filter-head[aria-expanded="false"] i { transform: rotate(-90deg); }
.gf-filter-body { padding-top: 12px; }
.gf-check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; color: var(--gf-text); cursor: pointer; }
.gf-check input { width: 18px; height: 18px; accent-color: var(--gf-purple); flex: 0 0 auto; }
.gf-check .count { margin-left: auto; color: #9b9b9b; font-size: 12px; }
.gf-filter-list { max-height: 240px; overflow: auto; padding-right: 4px; scrollbar-width: thin; }
.gf-filter-search { width: 100%; height: 36px; border: 1px solid #e3e3e3; border-radius: 10px; padding: 0 12px; font-size: 13px; margin-bottom: 8px; }
.gf-swatch-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.gf-swatch-filter label { cursor: pointer; }
.gf-swatch-filter input { position: absolute; opacity: 0; pointer-events: none; }
.gf-swatch-filter .sw { display: block; width: 30px; height: 30px; border-radius: 50%; background: #eee center / cover no-repeat; box-shadow: 0 0 0 1px #d6d6d6; border: 3px solid #fff; transition: box-shadow .15s ease; }
.gf-swatch-filter input:checked + .sw { box-shadow: 0 0 0 2px var(--gf-purple); }
.gf-swatch-filter input:focus-visible + .sw { outline: 3px solid rgba(113, 55, 199, .4); }
.gf-pill-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.gf-pill-filter label { cursor: pointer; }
.gf-pill-filter input { position: absolute; opacity: 0; pointer-events: none; }
.gf-pill-filter span { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid #ddd; font-size: 13px; }
.gf-pill-filter input:checked + span { background: var(--gf-ink); color: #fff; border-color: var(--gf-ink); }
.gf-price-inputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.gf-price-inputs input { width: 100%; height: 40px; border: 1px solid #ddd; border-radius: 10px; padding: 0 10px; font-size: 14px; }
.gf-filters-actions { display: none; }

.gf-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.gf-toolbar .gf-result-count { color: var(--gf-muted); font-size: 14px; }
.gf-toolbar-right { display: flex; gap: 10px; align-items: center; }
.gf-select-sm { height: 42px; border-radius: 999px; border: 1px solid var(--gf-line-strong); background-color: #fff; padding: 0 36px 0 16px; font-size: 14px; font-weight: 600; }
.gf-filter-btn { display: none; }
.gf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.gf-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; border-radius: 999px; background: var(--gf-purple-50); color: var(--gf-purple); font-size: 12.5px; font-weight: 700; }
.gf-chip i { font-size: 15px; }
.gf-chip:hover { background: var(--gf-purple); color: #fff; }
.gf-chip-clear { background: none; color: var(--gf-ink); text-decoration: underline; padding: 6px 4px; }
.gf-results { position: relative; transition: opacity .2s ease; }
.gf-results.is-loading { opacity: .45; pointer-events: none; }
.gf-pagination { display: flex; justify-content: center; margin-top: 34px; }
.gf-pagination .pagination { gap: 6px; flex-wrap: wrap; justify-content: center; }
.gf-pagination .page-link { border-radius: 999px !important; border: 1px solid var(--gf-line); min-width: 42px; height: 42px; display: grid; place-items: center; color: var(--gf-ink); font-weight: 700; }
.gf-pagination .page-item.active .page-link { background: var(--gf-ink); border-color: var(--gf-ink); color: #fff; }
.gf-pagination .page-item.disabled .page-link { color: #bbb; background: transparent; }

@media (max-width: 991.98px) {
  .gf-filter-btn { display: inline-flex; }
  .gf-filters-panel { position: fixed; inset: 0; z-index: 2100; pointer-events: none; }
  .gf-filters-panel .gf-filters { position: absolute; top: 0; bottom: 0; left: 0; width: min(360px, 88vw); max-height: none; border-radius: 0 22px 22px 0; transform: translateX(-105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); padding-bottom: 90px; }
  .gf-filters-panel::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .3s ease; }
  .gf-filters-panel.is-open { pointer-events: auto; }
  .gf-filters-panel.is-open::before { opacity: 1; }
  .gf-filters-panel.is-open .gf-filters { transform: none; }
  .gf-filters-actions { display: flex; gap: 10px; position: fixed; left: 0; bottom: 0; width: min(360px, 88vw); padding: 14px 20px; background: #fff; border-top: 1px solid #eee; z-index: 2; }
  .gf-filters-actions > * { flex: 1; }
  body.filters-open { overflow: hidden; }
}
.gf-filters-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 0 6px; }
.gf-filters-head h2 { font: 800 16px var(--gf-sans); margin: 0; }

/* =====================================================================
   Product page
   ===================================================================== */
.pp { padding-bottom: 50px; }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 991.98px) { .pp-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; } }
.pp-gallery { position: sticky; top: calc(var(--gf-header-h) + 16px); display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
@media (max-width: 991.98px) { .pp-gallery { position: static; grid-template-columns: minmax(0, 1fr); } }
/* Main image always in the last column; thumbnails (when there are several images) in the first. */
.pp-gallery > .pp-main { grid-column: -2 / -1; grid-row: 1; }
.pp-gallery > .pp-thumbs { grid-column: 1; grid-row: 1; }
.pp-gallery:has(> .pp-thumbs[hidden]) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 991.98px) { .pp-gallery > .pp-thumbs { grid-row: 2; } }
.pp-main { position: relative; aspect-ratio: 1 / 1; background: #fff; border-radius: 24px; border: 1px solid var(--gf-line); overflow: hidden; cursor: zoom-in; }
.pp-main img { width: 100%; height: 100%; object-fit: contain; padding: 22px; transition: opacity .2s ease; }
.pp-main .pc-flags { top: 16px; left: 16px; }
.pp-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); box-shadow: var(--gf-shadow-sm); display: grid; place-items: center; z-index: 2; }
.pp-nav.prev { left: 12px; } .pp-nav.next { right: 12px; }
.pp-thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 560px; overflow: auto; scrollbar-width: none; order: -1; }
.pp-thumbs button { flex: 0 0 auto; width: 84px; height: 84px; border-radius: 14px; border: 2px solid transparent; background: #fff; padding: 4px; box-shadow: 0 0 0 1px var(--gf-line); }
.pp-thumbs button.active { border-color: var(--gf-purple); box-shadow: none; }
.pp-thumbs img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 991.98px) { .pp-thumbs { flex-direction: row; order: 0; max-height: none; overflow-x: auto; } .pp-thumbs button { width: 70px; height: 70px; } }

.pp-info h1 { font: 500 clamp(26px, 2.6vw, 36px)/1.2 var(--gf-serif); margin: 6px 0 10px; color: var(--gf-ink); }
.pp-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; color: var(--gf-muted); font-size: 13.5px; }
.pp-meta a { color: var(--gf-muted); text-decoration: underline; text-underline-offset: 3px; }
.pp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 18px 0 4px; }
.pp-price .now { font-size: 30px; font-weight: 800; color: var(--gf-ink); }
.pp-price .now.is-sale { color: var(--gf-pink); }
.pp-price .was { font-size: 18px; color: #9b9b9b; text-decoration: line-through; }
.pp-price .save { background: var(--gf-pink-50); color: var(--gf-pink); font-weight: 800; font-size: 13px; border-radius: 999px; padding: 3px 10px; }
.pp-vat { font-size: 12.5px; color: var(--gf-muted); }
.pp-short { color: #444; margin: 16px 0; line-height: 1.65; }
.pp-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.pp-badges span { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--gf-line); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; }
.pp-badges i { color: var(--gf-purple); }
.pp-buy { background: #fff; border: 1px solid var(--gf-line); border-radius: 22px; padding: 20px; margin-top: 18px; }
.pp-option { margin-bottom: 18px; }
.pp-option-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.pp-option-head .name { font-weight: 800; font-size: 14px; }
.pp-option-head .value { color: var(--gf-purple); font-weight: 700; font-size: 14px; text-align: right; }
.pp-swatch-search { width: 100%; height: 40px; border: 1px solid #ddd; border-radius: 12px; padding: 0 12px 0 36px; font-size: 14px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0'/%3E%3C/svg%3E") no-repeat 12px center; margin-bottom: 10px; }
.pp-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; max-height: 300px; overflow: auto; padding: 3px; scrollbar-width: thin; }
.pp-swatch { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; border: 2px solid transparent; padding: 2px; background: #fff; box-shadow: 0 0 0 1px #dedede; cursor: pointer; transition: box-shadow .15s ease, transform .15s ease; }
.pp-swatch:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px #aaa; }
.pp-swatch .fill { display: block; width: 100%; height: 100%; border-radius: 9px; background: #f1f1f1 center / cover no-repeat; }
.pp-swatch .fill.txt { display: grid; place-items: center; font-size: 10.5px; font-weight: 800; color: #555; line-height: 1.1; text-align: center; padding: 2px; overflow: hidden; }
.pp-swatch.is-selected { border-color: var(--gf-purple); box-shadow: none; }
.pp-swatch.is-out::after { content: ""; position: absolute; inset: 6px; background: linear-gradient(to top right, transparent calc(50% - 1px), rgba(198, 40, 40, .7) 50%, transparent calc(50% + 1px)); border-radius: 8px; }
.pp-swatch.is-out .fill { opacity: .55; }
.pp-buttons-opt { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-buttons-opt button { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #d6d6d6; background: #fff; font-size: 14px; font-weight: 600; }
.pp-buttons-opt button.is-selected { border-color: var(--gf-ink); background: var(--gf-ink); color: #fff; }
.pp-buttons-opt button.is-out { color: #aaa; text-decoration: line-through; }
.pp-stock { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; margin: 4px 0 14px; }
.pp-stock .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gf-success); box-shadow: 0 0 0 4px rgba(18, 128, 92, .12); }
.pp-stock.low .dot { background: var(--gf-warning); box-shadow: 0 0 0 4px rgba(180, 83, 9, .12); }
.pp-stock.out .dot { background: #aaa; box-shadow: none; }
.pp-stock.low { color: var(--gf-warning); }
.pp-stock.out { color: #888; }
.pp-stock.in { color: var(--gf-success); }
.pp-cta { display: flex; gap: 10px; align-items: stretch; }
.pp-qty { display: inline-flex; align-items: center; border: 1.5px solid #d6d6d6; border-radius: 999px; overflow: hidden; height: 56px; background: #fff; flex: 0 0 auto; }
.pp-qty button { width: 44px; height: 100%; border: 0; background: transparent; font-size: 20px; color: var(--gf-ink); }
.pp-qty button:hover { background: #f4f4f4; }
.pp-qty input { width: 46px; border: 0; text-align: center; font-weight: 800; font-size: 16px; -moz-appearance: textfield; background: transparent; }
.pp-qty input::-webkit-outer-spin-button, .pp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pp-cta .btn-gf { flex: 1 1 0; min-width: 0; min-height: 56px; font-size: 15px; }
.pp-cta .btn-gf span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 440px) {
  .pp-cta { flex-wrap: wrap; }
  .pp-cta .pp-wish { margin-left: auto; }
  .pp-cta .btn-gf { order: 3; flex-basis: 100%; }
}
.pp-wish { width: 56px; height: 56px; flex: 0 0 auto; border-radius: 50%; border: 1.5px solid #d6d6d6; background: #fff; font-size: 20px; color: var(--gf-ink); display: grid; place-items: center; }
.pp-wish:hover, .pp-wish.is-saved { color: var(--gf-pink); border-color: var(--gf-pink); }
.pp-wish.is-saved i::before { content: "\F415"; }
.pp-sku { font-size: 12.5px; color: var(--gf-muted); margin-top: 12px; }
.pp-assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.pp-assure div { background: #fff; border-radius: 16px; border: 1px solid var(--gf-line); padding: 12px; font-size: 12.5px; line-height: 1.35; display: flex; gap: 8px; align-items: flex-start; }
.pp-assure i { color: var(--gf-purple); font-size: 18px; }
@media (max-width: 575.98px) { .pp-assure { grid-template-columns: 1fr; } }
.pp-compliance { font-size: 12.5px; color: #6b4b00; background: #fff8e6; border: 1px solid #f6e2a8; border-radius: 12px; padding: 10px 12px; margin-top: 14px; }
.pp-tabs { margin-top: 48px; }
.pp-tabs .nav-tabs { border: 0; gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.pp-tabs .nav-link { border: 1px solid var(--gf-line) !important; border-radius: 999px !important; background: #fff; color: var(--gf-ink); font-weight: 700; padding: 10px 20px; white-space: nowrap; }
.pp-tabs .nav-link.active { background: var(--gf-ink); color: #fff; }
.pp-tab-body { background: #fff; border-radius: 22px; border: 1px solid var(--gf-line); padding: 26px; margin-top: 14px; }
.pp-description { line-height: 1.75; color: #333; }
.pp-description img { border-radius: 14px; height: auto; }
.pp-description table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.pp-description td, .pp-description th { border: 1px solid #eee; padding: 8px 10px; }
.pp-specs { width: 100%; border-collapse: collapse; }
.pp-specs th, .pp-specs td { padding: 11px 12px; border-bottom: 1px solid #f0f0f0; font-size: 14px; vertical-align: top; }
.pp-specs th { width: 38%; color: var(--gf-muted); font-weight: 600; }
.pp-review { border-bottom: 1px solid #f0f0f0; padding: 18px 0; }
.pp-review:last-child { border-bottom: 0; }
.pp-review-head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 13px; color: var(--gf-muted); }
.pp-review-head strong { color: var(--gf-ink); }
.pp-verified { color: var(--gf-success); font-weight: 700; font-size: 12px; }
.pp-rating-summary { display: flex; gap: 16px; align-items: center; }
.pp-rating-summary .big { font: 500 46px var(--gf-serif); line-height: 1; }
.gf-star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.gf-star-input input { position: absolute; opacity: 0; pointer-events: none; }
.gf-star-input label { font-size: 28px; color: #d6d6d6; cursor: pointer; line-height: 1; }
.gf-star-input input:checked ~ label, .gf-star-input label:hover, .gf-star-input label:hover ~ label { color: #f5a524; }
.gf-star-input input:focus-visible + label { outline: 2px solid var(--gf-purple); border-radius: 4px; }
.pp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1034; background: #fff; border-top: 1px solid #eee; box-shadow: 0 -10px 30px rgba(0, 0, 0, .08); padding: 10px 16px; display: none; align-items: center; gap: 12px; transform: translateY(110%); opacity: 0; visibility: hidden; transition: transform .25s ease, opacity .25s ease, visibility .25s; }
.pp-sticky.is-visible { transform: none; opacity: 1; visibility: visible; }
.pp-sticky img { width: 46px; height: 46px; object-fit: contain; border-radius: 10px; background: #f5f9fa; }
.pp-sticky .info { min-width: 0; flex: 1; }
.pp-sticky .info strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-sticky .info span { font-size: 14px; font-weight: 800; }
@media (max-width: 991.98px) { .pp-sticky { display: flex; } }
@media (max-width: 767.98px) { .pp-sticky { bottom: 64px; } }
.pp-preview-bar { background: #fff8e6; border: 1px solid #f6e2a8; color: #6b4b00; border-radius: 14px; padding: 10px 14px; font-size: 14px; margin-bottom: 14px; }
.gf-lightbox .modal-content { background: transparent; border: 0; }
.gf-lightbox img { max-height: 86vh; object-fit: contain; background: #fff; border-radius: 18px; }

/* =====================================================================
   Basket, checkout, thank-you
   ===================================================================== */
.gf-cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
@media (max-width: 991.98px) { .gf-cart-grid { grid-template-columns: minmax(0, 1fr); } }
.gf-cart-table { width: 100%; }
.gf-cart-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 130px 110px 32px; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid #f0f0f0; }
.gf-cart-row:last-child { border-bottom: 0; }
.gf-cart-row img { width: 96px; height: 96px; object-fit: contain; border-radius: 16px; background: #f5f9fa; }
.gf-cart-row .name { color: var(--gf-ink); font-weight: 700; font-size: 15px; line-height: 1.35; }
.gf-cart-row .opt { color: var(--gf-muted); font-size: 13px; }
.gf-cart-row .unit { color: var(--gf-muted); font-size: 13px; }
.gf-cart-row .line { font-weight: 800; font-size: 16px; text-align: right; }
.gf-cart-row .issue { color: var(--gf-danger); font-size: 12.5px; font-weight: 700; }
.gf-cart-row .remove { border: 0; background: none; color: #a5a5a5; font-size: 18px; }
.gf-cart-row .remove:hover { color: var(--gf-danger); }
.gf-cart-head { display: grid; grid-template-columns: 96px minmax(0, 1fr) 130px 110px 32px; gap: 16px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #8a8a8a; font-weight: 800; padding-bottom: 10px; border-bottom: 1px solid #eee; }
@media (max-width: 767.98px) {
  .gf-cart-head { display: none; }
  .gf-cart-row { grid-template-columns: 76px minmax(0, 1fr) 28px; grid-template-areas: "img info rm" "img qty line"; gap: 8px 12px; }
  .gf-cart-row img { width: 76px; height: 76px; grid-area: img; }
  .gf-cart-row .info { grid-area: info; }
  .gf-cart-row .qty { grid-area: qty; }
  .gf-cart-row .line { grid-area: line; align-self: center; font-size: 15px; }
  .gf-cart-row .remove { grid-area: rm; align-self: start; }
}
.gf-qty { display: inline-flex; align-items: center; border: 1.5px solid #d9d9d9; border-radius: 999px; overflow: hidden; height: 42px; background: #fff; }
.gf-qty button { width: 36px; height: 100%; border: 0; background: transparent; font-size: 17px; color: var(--gf-ink); }
.gf-qty button:hover { background: #f4f4f4; }
.gf-qty input { width: 40px; border: 0; text-align: center; font-weight: 800; font-size: 14px; -moz-appearance: textfield; background: transparent; }
.gf-qty input::-webkit-outer-spin-button, .gf-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gf-summary { position: sticky; top: calc(var(--gf-header-h) + 16px); }
.gf-summary-rows { display: grid; gap: 10px; font-size: 14.5px; }
.gf-summary-rows > div { display: flex; justify-content: space-between; gap: 12px; }
.gf-summary-rows .muted { color: var(--gf-muted); font-size: 13px; }
.gf-summary-rows .discount { color: var(--gf-success); font-weight: 700; }
.gf-summary-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #eee; margin-top: 14px; padding-top: 14px; font-size: 16px; font-weight: 800; }
.gf-summary-total strong { font-size: 24px; }
.gf-charged-note { font-size: 12.5px; color: var(--gf-muted); margin-top: 6px; }
.gf-coupon { display: flex; gap: 8px; }
.gf-coupon input { flex: 1; min-width: 0; height: 46px; border-radius: 999px; border: 1px solid var(--gf-line-strong); padding: 0 16px; text-transform: uppercase; font-size: 14px; }
.gf-coupon-applied { display: flex; justify-content: space-between; align-items: center; background: #ecfdf5; border: 1px dashed #6ee7b7; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; color: #065f46; font-weight: 700; }
.gf-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 16px; margin-top: 16px; font-size: 12px; color: var(--gf-muted); }
.gf-trust i { color: var(--gf-purple); margin-right: 4px; }

.gf-checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
@media (max-width: 991.98px) { .gf-checkout-grid { grid-template-columns: minmax(0, 1fr); } .gf-checkout-grid .gf-summary { position: static; } }
.gf-step { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.gf-step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--gf-ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: 0 0 auto; }
.gf-step h2 { font: 700 18px var(--gf-sans); margin: 0; }
.gf-option { display: flex; gap: 14px; align-items: flex-start; border: 1.5px solid var(--gf-line-strong); border-radius: 16px; padding: 14px 16px; cursor: pointer; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.gf-option + .gf-option { margin-top: 10px; }
.gf-option:hover { border-color: #b8a3df; }
.gf-option input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gf-purple); flex: 0 0 auto; }
.gf-option:has(input:checked) { border-color: var(--gf-purple); box-shadow: 0 0 0 3px rgba(113, 55, 199, .12); }
.gf-option .title { font-weight: 800; font-size: 14.5px; }
.gf-option .desc { color: var(--gf-muted); font-size: 13px; margin-top: 2px; }
.gf-option .price { margin-left: auto; font-weight: 800; white-space: nowrap; }
.gf-option .gw-icons { margin-left: auto; display: flex; gap: 6px; font-size: 20px; color: #555; }
.gf-mini-lines { display: grid; gap: 12px; max-height: 320px; overflow: auto; margin-bottom: 14px; padding-right: 4px; }
.gf-mini-line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13.5px; }
.gf-mini-line .thumb { position: relative; }
.gf-mini-line img { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: #f5f9fa; border: 1px solid #eef2f3; }
.gf-mini-line .qty-badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 99px; background: #555; color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 5px; }
.gf-mini-line strong { font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gf-mini-line small { color: var(--gf-muted); display: block; }
.gf-pay-box { min-height: 120px; }
.gf-thanks-hero { text-align: center; padding: 30px 0 10px; }
.gf-thanks-hero .icon { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; font-size: 34px; background: #ecfdf5; color: var(--gf-success); }
.gf-thanks-hero .icon.pending { background: #fffbeb; color: var(--gf-warning); }
.gf-thanks-hero h1 { font: 500 clamp(28px, 3vw, 38px) var(--gf-serif); }
.gf-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.gf-kv div span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #8a8a8a; font-weight: 800; margin-bottom: 3px; }
.gf-kv div strong { font-size: 15px; }
.gf-bank { background: var(--gf-purple-50); border-radius: 16px; padding: 16px 18px; }
.gf-bank dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 14px; }
.gf-bank dt { color: #6b5a8a; font-weight: 600; }
.gf-bank dd { margin: 0; font-weight: 800; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* Order status timeline */
.gf-timeline { list-style: none; margin: 0; padding: 0; }
.gf-timeline li { position: relative; padding: 0 0 16px 26px; font-size: 14px; }
.gf-timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--gf-purple); }
.gf-timeline li::after { content: ""; position: absolute; left: 10px; top: 18px; bottom: 0; width: 2px; background: #eee; }
.gf-timeline li:last-child::after { display: none; }
.gf-timeline time { display: block; color: var(--gf-muted); font-size: 12px; }
.gf-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.gf-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.gf-status-pending { background: #fff7e6; color: #b45309; }
.gf-status-processing { background: #eef2ff; color: #4338ca; }
.gf-status-shipped { background: #f0f9ff; color: #0369a1; }
.gf-status-completed { background: #ecfdf5; color: #047857; }
.gf-status-cancelled { background: #fef2f2; color: #b91c1c; }
.gf-status-refunded { background: #f5f3ff; color: #6d28d9; }

/* =====================================================================
   Account and auth
   ===================================================================== */
.gf-account { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 60px; }
@media (max-width: 991.98px) { .gf-account { grid-template-columns: minmax(0, 1fr); } }
.gf-account-nav { background: #fff; border-radius: var(--gf-radius); border: 1px solid var(--gf-line); padding: 12px; position: sticky; top: calc(var(--gf-header-h) + 16px); }
.gf-account-nav .who { display: flex; gap: 12px; align-items: center; padding: 10px 10px 16px; border-bottom: 1px solid #f0f0f0; margin-bottom: 8px; }
.gf-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--gf-purple), var(--gf-pink)); color: #fff; display: grid; place-items: center; font-weight: 800; flex: 0 0 auto; }
.gf-account-nav a, .gf-account-nav button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border-radius: 12px; border: 0; background: none; color: var(--gf-text); font-size: 14.5px; font-weight: 600; text-align: left; }
.gf-account-nav a:hover, .gf-account-nav button:hover { background: var(--gf-purple-50); color: var(--gf-purple); }
.gf-account-nav a.active { background: var(--gf-ink); color: #fff; }
@media (max-width: 991.98px) {
  .gf-account-nav { position: static; display: flex; gap: 6px; overflow-x: auto; padding: 8px; scrollbar-width: none; }
  .gf-account-nav .who { display: none; }
  .gf-account-nav a, .gf-account-nav button { width: auto; white-space: nowrap; padding: 9px 14px; font-size: 13.5px; }
}
.gf-stat { background: #fff; border-radius: 20px; border: 1px solid var(--gf-line); padding: 18px; }
.gf-stat span { display: block; color: var(--gf-muted); font-size: 13px; font-weight: 600; }
.gf-stat strong { font: 500 30px var(--gf-serif); color: var(--gf-ink); }
.gf-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.gf-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: #8a8a8a; padding: 10px 12px; border-bottom: 1px solid #eee; font-weight: 800; }
.gf-table td { padding: 14px 12px; border-bottom: 1px solid #f3f3f3; vertical-align: middle; }
.gf-table tr:last-child td { border-bottom: 0; }
@media (max-width: 767.98px) {
  .gf-table-stack thead { display: none; }
  .gf-table-stack tr { display: block; border: 1px solid #eee; border-radius: 14px; margin-bottom: 12px; padding: 6px 4px; }
  .gf-table-stack td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 7px 12px; }
  .gf-table-stack td::before { content: attr(data-label); font-weight: 700; color: #888; font-size: 12px; text-transform: uppercase; }
}
.gf-address-card { background: #fff; border: 1px solid var(--gf-line); border-radius: 18px; padding: 18px; height: 100%; font-size: 14px; line-height: 1.6; position: relative; }
.gf-address-card .tags { display: flex; gap: 6px; margin-bottom: 8px; }
.gf-address-card .tag { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--gf-purple-50); color: var(--gf-purple); }

.gf-auth { min-height: calc(100vh - var(--gf-header-h) - 200px); display: grid; place-items: center; padding: 40px 0 70px; }
.gf-auth-card { width: min(980px, 100%); display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--gf-shadow); }
.gf-auth-side { position: relative; background: linear-gradient(150deg, var(--gf-purple), var(--gf-pink)); color: #fff; padding: 46px 40px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; overflow: hidden; }
.gf-auth-side::before { content: ""; position: absolute; inset: 0; background: url("../images/banner_02.jpg") center / cover; opacity: .22; mix-blend-mode: luminosity; }
.gf-auth-side > * { position: relative; }
.gf-auth-side h2 { font: 500 34px/1.2 var(--gf-serif); }
.gf-auth-side ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-size: 14.5px; }
.gf-auth-side li i { margin-right: 8px; }
.gf-auth-main { padding: 44px 42px; }
.gf-auth-main h1 { font: 500 30px var(--gf-serif); margin-bottom: 6px; }
@media (max-width: 767.98px) { .gf-auth-card { grid-template-columns: 1fr; } .gf-auth-side { display: none; } .gf-auth-main { padding: 30px 22px; } }

/* =====================================================================
   Footer additions, cookie banner, misc
   ===================================================================== */
.gf-newsletter { background: #fff; border-radius: 26px; padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; margin: 50px auto 0; box-shadow: var(--gf-shadow-sm); }
.gf-newsletter h2 { font: 500 26px var(--gf-serif); margin: 0; }
.gf-newsletter form { display: flex; gap: 8px; flex-wrap: wrap; }
.gf-newsletter input[type=email] { flex: 1; min-width: 200px; height: 50px; border-radius: 999px; border: 1px solid var(--gf-line-strong); padding: 0 18px; }
.gf-newsletter .form-check { width: 100%; font-size: 12.5px; color: var(--gf-muted); }
@media (max-width: 767.98px) { .gf-newsletter { grid-template-columns: 1fr; padding: 22px; } }
.gf-pay-icons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.gf-pay-icons span { background: rgba(255, 255, 255, .12); border-radius: 8px; padding: 4px 10px; font-size: 12px; font-weight: 700; color: #fff; }
.gf-cookie { position: fixed; left: 16px; bottom: 16px; z-index: 3100; width: min(440px, calc(100vw - 32px)); background: #fff; border-radius: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .2); padding: 20px; font-size: 13.5px; }
.gf-cookie h2 { font: 800 15px var(--gf-sans); margin-bottom: 6px; }
@media (max-width: 767.98px) { .gf-cookie { bottom: 80px; } }
.gf-cookie-options { display: grid; gap: 8px; margin-bottom: 14px; padding: 12px 14px; border: 1px solid var(--gf-line); border-radius: 14px; background: #faf8fd; }
.gf-cookie-options .form-check { margin: 0; font-size: 13px; }
.gf-cookie-options .btn-gf { justify-self: start; }
.btn-gf-link { background: none; border: 0; color: var(--gf-purple, #7137c7); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; padding: 0 6px; cursor: pointer; }
.btn-gf-link:hover { color: var(--gf-ink); }
.gf-prose { line-height: 1.75; color: #333; }
.gf-prose h2 { font: 500 26px var(--gf-serif); margin: 28px 0 12px; color: var(--gf-ink); }
.gf-prose h3 { font: 700 19px var(--gf-sans); margin: 22px 0 10px; }
.gf-prose img { height: auto; border-radius: 16px; }
.gf-prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; }
.gf-prose th, .gf-prose td { border: 1px solid #e7e7e7; padding: 9px 12px; text-align: left; }
.gf-prose th { background: #f7f9fa; }
.gf-prose blockquote { border-left: 4px solid var(--gf-purple); padding: 6px 0 6px 16px; color: #555; font-style: italic; }
.gf-prose a { color: var(--gf-purple); text-decoration: underline; text-underline-offset: 3px; }
.gf-faq .accordion-item { border: 1px solid var(--gf-line); border-radius: 16px !important; overflow: hidden; margin-bottom: 10px; }
.gf-faq .accordion-button { font-weight: 700; }
.gf-faq .accordion-button:not(.collapsed) { background: var(--gf-purple-50); color: var(--gf-purple); box-shadow: none; }
.gf-error-page { text-align: center; padding: 70px 20px 90px; }
.gf-error-page .code { font: 500 clamp(80px, 14vw, 150px)/1 var(--gf-serif); background: linear-gradient(135deg, var(--gf-purple), var(--gf-pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
