@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  --color-primary: #41C4C3;
  --bg-image: url("https://template-assets.tebex.io/images/page-bg.jpg");
}

body {
  font-family: Lato, sans-serif;
}
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  max-height: 400px;
  z-index: -1;
  background: var(--bg-image) center center/cover no-repeat;
  mask-image: linear-gradient(rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.25));
  pointer-events: none;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
  border-radius: 2px;
}

.btn-primary:hover, .btn-primary:focus,
.btn-secondary:hover,
.btn-secondary:focus {
  box-shadow: 0 0 6px rgb(from var(--btn-color-bg-hover) r g b/0.6);
}

.quantity-field {
  border-radius: 5px;
}

.site-header-inner .info .image {
  border-radius: 5px;
}
.site-header-inner .user-name ul li {
  overflow: hidden;
}
.site-header-inner .user-name ul li:first-child {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}
.site-header-inner .user-name ul li:last-child {
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.site-sale-banner {
  border-radius: 5px;
}

.site-home-categories .category {
  border-radius: 5px;
  padding: 20px var(--widget-padding);
  background: var(--color-brighter-bg);
  transition: color 0.15s ease-in-out;
}
.site-home-categories .category:hover {
  color: var(--color-primary);
}

.category-description {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}

.store-text {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}
.store-text h1,
.store-text h2,
.store-text h3,
.store-text h4,
.store-text h5,
.store-text h6 {
  text-align: center;
}

.store-products-list .store-product,
.store-products-images .store-product {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}

.store-products-images .store-product {
  text-align: center;
}

.widget-title {
  text-align: center;
}

.widget .store-product {
  text-align: center;
}

.no-products {
  color: var(--color-text-secondary);
  background: var(--color-brighter-bg);
  border-radius: 5px;
}

.store-product-full {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}

.store-product .quantity-field {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}
.store-product .quantity-field input[type=number] {
  border: none;
}

@media (width > 960px) {
  .navigation-horizontal > ul {
    border-radius: 5px;
  }
}
.navigation-horizontal .has-children > ul {
  border-radius: 5px;
}

.widget {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}
@media (width <= 960px) {
  .widget.site-navigation {
    border-radius: 0;
    background: transparent;
  }
}

.widget-gift-card .gift-card-input {
  border-radius: 2px;
}

.widget-top-donator .avatar {
  border-radius: 50%;
}

.widget-community-goal .progress,
.widget-goal .progress {
  border-radius: 2px;
}
.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
  border-radius: 2px;
}

.popup-content {
  border-radius: 5px;
}

.popup-close {
  border-radius: 0 5px 0 5px;
}

.basket-popup-content,
.basket-popup-content .popup-close {
  border-radius: 0;
}

.basket-items {
  padding: var(--widget-padding) calc(var(--content-padding) - var(--widget-padding));
}

.basket-item {
  border-radius: 5px;
}
.basket-item .quantity {
  border-radius: 2px;
}

.toast {
  border-radius: 6px;
}

.toast-close {
  border-radius: 2px;
}

.store-category-tiered {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}

.store-category-tiered-header h1,
.store-category-tiered-header h2,
.store-category-tiered-header h3,
.store-category-tiered-header h4,
.store-category-tiered-header h5,
.store-category-tiered-header h6 {
  text-align: center;
}

.store-product-tiered {
  border-radius: 5px;
  background: rgb(from var(--color-bg) r g b/0.5);
}

.media-slider .slider,
.media-slider .thumb {
  border-radius: 5px;
}
.media-slider .open-lightbox {
  border-radius: 2px;
}

.popup.popup-media-slider .thumb {
  border-radius: 5px;
}
.popup.popup-media-slider .popup-close {
  border-radius: 5px;
}

/* GRP-THEME-START */

/* ============ GRP DEVELOPMENT THEME — matches grpdev.com ============ */
:root {
  --color-bg: #0a0a0a;
  --color-brighter-bg: #121214;
  --color-text: #ffffff;
  --color-text-darker: #e5e5e5;
  --color-text-secondary: #888888;
  --color-text-dark: #0a0a0a;
  --color-primary: #00d4ff;
  --color-primary-hover: #00b8e6;
  --color-primary-text: #0a0a0a;
  --color-primary-text-hover: #0a0a0a;
  --color-secondary: rgba(255,255,255,0.06);
  --color-secondary-hover: rgba(255,255,255,0.12);
  --color-secondary-text: #ffffff;
  --color-secondary-text-hover: #ffffff;
  --color-tertiary: transparent;
  --color-tertiary-hover: rgba(0,212,255,0.10);
  --color-tertiary-text: rgba(255,255,255,0.9);
  --color-tertiary-text-hover: #ffffff;
  --color-removed: #c12e2e;
  --color-sale-banner-bg: #00d4ff;
  --color-sale-banner-text: #0a0a0a;
  --content-inner-width: 1280px;
  --widget-padding: 24px;
  --grp-surface: linear-gradient(160deg, rgba(26,26,26,0.95) 0%, rgba(18,18,20,0.98) 100%);
  --grp-border: rgba(255,255,255,0.08);
  --grp-border-hover: rgba(0,212,255,0.22);
  --grp-radius-md: 10px;
  --grp-radius-lg: 14px;
  --grp-radius-xl: 20px;
  --grp-radius-pill: 9999px;
  --grp-shadow-sm: 0 1px 2px rgba(0,0,0,0.45);
  --grp-shadow-md: 0 8px 24px rgba(0,0,0,0.5);
  --grp-glow: 0 0 40px rgba(0,212,255,0.12);
  --grp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --grp-duration: 0.18s;
  --tebex-legal-footer-background-color: #0a0a0a;
  --tebex-legal-footer-border-color: rgba(255,255,255,0.08);
  --tebex-legal-footer-text-color: #666666;
}
html, body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  background-color: #0a0a0a;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
}
body::before {
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0,212,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(0,212,255,0.04) 0%, transparent 55%);
  background-color: #0a0a0a;
  background-size: cover;
  opacity: 1;
  filter: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}
a.btn-primary, button.btn-primary,
a.btn-secondary, button.btn-secondary,
a.btn-tertiary, button.btn-tertiary,
.btn-primary, .btn-secondary, .btn-tertiary {
  border-radius: var(--grp-radius-pill);
  font-weight: 700;
  font-size: 0.8125rem;
  min-height: 40px;
  padding: 0 1.125rem;
  transition: filter var(--grp-duration) var(--grp-ease), transform var(--grp-duration) var(--grp-ease),
              background var(--grp-duration) var(--grp-ease), border-color var(--grp-duration) var(--grp-ease);
}
a.btn-primary, button.btn-primary, .btn-primary {
  background: #00d4ff;
  color: #0a0a0a;
  border: none;
  box-shadow: 0 4px 20px rgba(0,212,255,0.25);
}
a.btn-primary:hover, button.btn-primary:hover, .btn-primary:hover {
  background: #00d4ff;
  filter: brightness(1.06);
  transform: translateY(-1px);
  color: #0a0a0a;
}
a.btn-secondary, button.btn-secondary, .btn-secondary {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.18);
  font-weight: 600;
}
a.btn-secondary:hover, button.btn-secondary:hover, .btn-secondary:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.35);
  color: #ffffff;
}
a.btn-tertiary, button.btn-tertiary, .btn-tertiary {
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}
a.btn-tertiary:hover, button.btn-tertiary:hover, .btn-tertiary:hover {
  border-color: rgba(0,212,255,0.35);
  background: rgba(0,212,255,0.08);
  color: #ffffff;
}
.link-text { color: #00d4ff; }
.link-text:hover { color: #00b8e6; }

/* ---------- HERO (mirrors components/Hero.vue) ---------- */
.grp-hero {
  position: relative;
  width: 100%;
  max-width: var(--content-inner-width);
  margin: 0 auto 3rem;
  min-height: min(52vh, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  overflow: hidden;
  border-radius: var(--grp-radius-xl);
}
.grp-hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, #000 0%, transparent 75%);
  pointer-events: none;
}
.grp-hero__glow {
  position: absolute;
  top: -30%; left: 50%;
  width: 70%; height: 120%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0,212,255,0.14) 0%, transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}
.grp-hero__content { position: relative; z-index: 1; width: 100%; }
.grp-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.75rem;
  color: #ffffff;
}
.grp-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.375rem);
  color: rgba(255,255,255,0.72);
  font-weight: 500;
  margin: 0 auto 2rem;
  max-width: 46ch;
}
.grp-hero__actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center;
}
.grp-hero__cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.75rem;
  border-radius: var(--grp-radius-pill);
  font-size: 0.9375rem; font-weight: 700;
  text-decoration: none !important;
  transition: filter var(--grp-duration) var(--grp-ease), transform var(--grp-duration) var(--grp-ease),
              background var(--grp-duration) var(--grp-ease), border-color var(--grp-duration) var(--grp-ease);
}
.grp-hero__cta--primary {
  background: #00d4ff; color: #0a0a0a;
  box-shadow: 0 4px 24px rgba(0,212,255,0.3);
}
.grp-hero__cta--primary:hover { filter: brightness(1.06); transform: translateY(-2px); color: #0a0a0a; }
.grp-hero__cta--ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.18);
  color: #ffffff;
}
.grp-hero__cta--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.35); }

/* ---------- HEADER: floating pill bar ---------- */
.site-header {
  background: transparent;
  border-bottom: none;
  padding-top: 1rem;
}
.site-header-inner {
  max-width: var(--content-inner-width);
  margin: 0 auto;
  background: rgba(18,18,20,0.92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--grp-border);
  border-radius: var(--grp-radius-xl);
  box-shadow: var(--grp-shadow-md);
  padding: 0.75rem 1.25rem;
}
.site-header-inner h1 a img { max-height: 46px; width: auto; }
.site-sale-banner {
  background: #00d4ff; color: #0a0a0a;
  font-weight: 700; letter-spacing: -0.01em;
  border-radius: var(--grp-radius-pill);
  max-width: var(--content-inner-width);
  margin: 0.75rem auto 0;
}
.site-header-inner .info .title { color: rgba(255,255,255,0.9); font-weight: 700; }
.site-header-inner .info .action { color: #00d4ff; }

/* ---------- NAV: pill links ---------- */
.navigation-horizontal {
  max-width: var(--content-inner-width);
  margin: 0.75rem auto 0;
  background: rgba(18,18,20,0.92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--grp-border);
  border-radius: var(--grp-radius-pill);
  padding: 0.375rem 0.5rem;
}
.navigation-horizontal > ul > li > a,
.navigation-list > li > a {
  border-radius: var(--grp-radius-pill);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  color: rgba(255,255,255,0.75);
  transition: background var(--grp-duration) var(--grp-ease), color var(--grp-duration) var(--grp-ease);
}
.navigation-horizontal > ul > li > a:hover,
.navigation-list > li > a:hover { background: rgba(0,212,255,0.10); color: #00d4ff; }
.navigation-list > li > a.link-active,
.navigation-horizontal > ul > li > a.link-active {
  background: rgba(0,212,255,0.15);
  color: #00d4ff;
}
.navigation-horizontal .has-children > ul {
  background: #121214;
  border: 1px solid var(--grp-border);
  border-radius: var(--grp-radius-md);
  box-shadow: var(--grp-shadow-md);
}
.navigation-vertical.widget { border-radius: var(--grp-radius-lg); }

/* ---------- CATEGORY TILES ---------- */
.site-home-categories {
  max-width: var(--content-inner-width);
  margin: 0 auto 3rem;
}
.site-home-categories .category {
  background: var(--grp-surface);
  border: 1px solid var(--grp-border);
  border-radius: var(--grp-radius-lg);
  box-shadow: var(--grp-shadow-sm);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  overflow: hidden;
  transition: border-color var(--grp-duration) var(--grp-ease), box-shadow var(--grp-duration) var(--grp-ease),
              transform var(--grp-duration) var(--grp-ease), color var(--grp-duration) var(--grp-ease);
}
.site-home-categories .category:hover {
  border-color: var(--grp-border-hover);
  box-shadow: var(--grp-shadow-md), var(--grp-glow);
  transform: translateY(-4px);
  color: #00d4ff;
}

/* ---------- PRODUCT CARDS (mirrors PackageCard.vue) ---------- */
.store-product,
.store-products-list .store-product,
.store-products-images .store-product {
  background: var(--grp-surface);
  border: 1px solid var(--grp-border);
  border-radius: var(--grp-radius-lg);
  box-shadow: var(--grp-shadow-sm);
  overflow: hidden;
  transition: border-color var(--grp-duration) var(--grp-ease), box-shadow var(--grp-duration) var(--grp-ease),
              transform var(--grp-duration) var(--grp-ease);
}
.store-product:hover,
.store-products-list .store-product:hover,
.store-products-images .store-product:hover {
  border-color: var(--grp-border-hover);
  box-shadow: var(--grp-shadow-md), var(--grp-glow);
  transform: translateY(-4px);
}
.store-product .image, .store-product .image-link { background: #252525; overflow: hidden; }
.store-product .image img { transition: transform 0.45s var(--grp-ease); }
.store-product:hover .image img { transform: scale(1.05); }
.store-product .product-title a {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 700; font-size: 1rem; letter-spacing: -0.02em;
  color: #ffffff;
  transition: color var(--grp-duration) var(--grp-ease);
}
.store-product .product-title a:hover,
.store-product .image-link:hover ~ .product-title a { color: #00d4ff; }
.store-product .descr { color: #888888; font-size: 0.8125rem; line-height: 1.55; }
.store-product .price { color: #00d4ff; font-weight: 700; font-variant-numeric: tabular-nums; }
.store-product .price strong { color: #00d4ff; font-weight: 700; }
.store-product .price .discount { color: #c12e2e; text-decoration: line-through; font-weight: 600; opacity: 1; }
.store-product-full {
  background: var(--grp-surface);
  border: 1px solid var(--grp-border);
  border-radius: var(--grp-radius-xl);
}
.store-product .countdown {
  background: rgba(0,0,0,0.62);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--grp-radius-pill);
  color: rgba(255,255,255,0.9);
  font-size: 0.6875rem; font-weight: 800;
  backdrop-filter: blur(10px);
}

/* ---------- WIDGETS ---------- */
.widget {
  background: var(--grp-surface);
  border: 1px solid var(--grp-border);
  border-radius: var(--grp-radius-lg);
  box-shadow: var(--grp-shadow-sm);
  overflow: hidden;
}
.widget-title {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 800; letter-spacing: -0.02em; color: #ffffff;
  border-bottom: 1px solid var(--grp-border);
}
.widget .store-product { background: transparent; border: none; box-shadow: none; }
.widget .store-product:hover { transform: none; box-shadow: none; border: none; }

/* ---------- CONTENT / FORMS / POPUPS / FOOTER ---------- */
.store-text {
  background: var(--grp-surface);
  border: 1px solid var(--grp-border);
  border-radius: var(--grp-radius-lg);
}
.text-content { color: #888888; line-height: 1.8; }
.text-content strong { color: #ffffff; }
.text-content a { color: #00d4ff; }
.category-description, .no-products { color: #888888; }
.store-form input[type="text"], .store-form input[type="email"], .store-form input[type="number"],
.store-form input[type="password"], .store-form textarea, .store-form select,
.quantity-field input[type="number"] {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--grp-radius-md);
  color: #ffffff;
}
.store-form input:focus, .store-form textarea:focus, .store-form select:focus {
  border-color: rgba(0,212,255,0.45);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.12);
  outline: none;
}
.store-form input::placeholder, .store-form textarea::placeholder { color: #666666; }
.quantity-field {
  border-radius: var(--grp-radius-pill);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}
.popup-content {
  background: #121214;
  border: 1px solid var(--grp-border);
  border-radius: var(--grp-radius-xl);
  box-shadow: 0 20px 50px rgba(0,0,0,0.55);
}
.popup-close { color: rgba(255,255,255,0.6); }
.popup-close:hover { color: #ffffff; }
.site-footer { background: #0a0a0a; border-top: 1px solid rgba(255,255,255,0.08); color: #666666; }
.site-footer a { color: #888888; }
.site-footer a:hover { color: #00d4ff; }
::selection { background: rgba(0,212,255,0.30); color: #ffffff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #252525; border-radius: var(--grp-radius-pill); }
::-webkit-scrollbar-thumb:hover { background: #333333; }
@media (max-width: 700px) {
  .grp-hero { padding: 2.5rem 1rem 2rem; border-radius: var(--grp-radius-lg); }
  .site-header-inner, .navigation-horizontal { border-radius: var(--grp-radius-lg); }
}

/* GRP-THEME-END */

/* ---------- SECTION HEADINGS (mirrors SectionTitle.vue) ---------- */
.grp-section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin: 0 0 1.75rem; width: 100%;
}
.grp-section-title {
  position: relative;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 800; letter-spacing: -0.02em;
  color: #ffffff; margin: 0; padding-left: 0.875rem; line-height: 1.2;
}
.grp-section-title::before {
  content: ""; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 1.05em; border-radius: 2px; background: #00d4ff;
}

/* ================= GRP HEADER BAR (mirrors components/Header.vue) ================= */
.site-header { background: transparent !important; border-bottom: none !important; padding: 1rem 1.25rem 0 !important; }
.site-header-inner.grp-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto !important;
  padding: 0.5rem 0.75rem 0.5rem 1rem !important;
  background: rgba(18,18,20,0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  min-height: 0 !important;
  height: auto !important;
}
.grp-bar__logo-link { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none !important; }
.grp-bar__logo { height: 38px; width: auto; display: block; }
.grp-bar__logo-text { font-weight: 800; font-size: 1.0625rem; color: #fff; letter-spacing: -0.02em; }

.grp-bar__links { display: flex; align-items: center; gap: 0.125rem; flex-wrap: wrap; justify-content: center; }
.grp-link {
  display: inline-flex; align-items: center;
  padding: 0.5rem 0.95rem;
  border-radius: 9999px;
  border: none; background: transparent;
  font-family: inherit; font-size: 0.875rem; font-weight: 600;
  color: rgba(255,255,255,0.82);
  text-decoration: none !important; cursor: pointer;
  white-space: nowrap;
  transition: color .18s cubic-bezier(.22,1,.36,1), background .18s cubic-bezier(.22,1,.36,1);
}
.grp-link:hover { color: #fff; background: rgba(255,255,255,0.06); }
.grp-link.is-active { color: #00d4ff; background: rgba(0,212,255,0.14); }

.grp-bar__actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.grp-pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.5rem 1rem; border-radius: 9999px;
  font-size: 0.8125rem; font-weight: 700; white-space: nowrap;
  text-decoration: none !important; border: 1px solid transparent; cursor: pointer;
  transition: transform .18s cubic-bezier(.22,1,.36,1), background .18s, border-color .18s, filter .18s;
}
.grp-pill--accent { background: #00d4ff; color: #0a0a0a; box-shadow: 0 4px 20px rgba(0,212,255,.25); }
.grp-pill--accent:hover { filter: brightness(1.06); transform: translateY(-1px); color: #0a0a0a; }
.grp-pill--ghost { background: transparent; border-color: rgba(255,255,255,0.18); color: rgba(255,255,255,0.92); font-weight: 600; }
.grp-pill--ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.35); color: #fff; }

.grp-menu-btn {
  display: none; flex-direction: column; gap: 4px;
  padding: 10px; border-radius: 10px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); cursor: pointer;
}
.grp-menu-btn span { display: block; width: 16px; height: 2px; background: #fff; border-radius: 2px; }

@media (max-width: 960px) {
  .site-header-inner.grp-bar { border-radius: 20px; flex-wrap: wrap; justify-content: center !important; }
  .grp-bar__links { order: 3; width: 100%; }
}

/* ================= GRP PRODUCT CARD (mirrors PackageCard.vue) ================= */
.store-product.grp-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.grp-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #252525; }
.grp-card__media .image { width: 100%; height: 100%; object-fit: cover; display: block; }
.grp-card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 8px; pointer-events: none; }
.grp-card__badge {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px;
  border-radius: 9999px; background: rgba(0,0,0,0.62);
  border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.9);
  font-size: 0.6875rem; font-weight: 800; line-height: 1; backdrop-filter: blur(10px);
}
.grp-card__body { padding: 16px 16px 0; }
.grp-card__body .product-title { margin: 0; }
.grp-card .product-title a { font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.grp-card .product-title a:hover { color: #00d4ff; }

.grp-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px; margin-top: auto; flex-wrap: wrap;
}
.grp-card__footer .actions { display: flex; align-items: center; gap: 8px; margin: 0; flex: 0 0 auto; order: 1; }
.grp-card__footer .price { margin: 0; text-align: right; margin-left: auto; order: 2; font-size: 1.0625rem; }
.grp-card__footer .actions .btn-primary,
.grp-card__footer .actions .add,
.grp-card__footer .actions .gift {
  width: auto !important; min-width: 0 !important; flex: 0 0 auto;
  padding: 0 1.05rem; min-height: 38px; font-size: 0.8125rem;
}
.grp-card__footer .actions .wide { width: auto !important; }
@media (max-width: 420px) {
  .grp-card__footer { flex-direction: column-reverse; align-items: stretch; }
  .grp-card__footer .price { text-align: left; margin-left: 0; }
}

/* ================= HOMEPAGE RAILS (mirrors pages/index.vue) ================= */
.grp-rail { width: 100%; max-width: 1280px; margin: 0 auto 3.5rem; padding: 0 1.25rem; }
.grp-rail .grp-section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  margin: 0 0 1.5rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0,212,255,0.12);
}
.grp-browse-all {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: 9999px;
  color: #00d4ff; text-decoration: none !important;
  font-size: 0.875rem; font-weight: 600;
  border: 1px solid rgba(0,212,255,0.35); background: rgba(0,212,255,0.08);
  transition: background .18s cubic-bezier(.22,1,.36,1), border-color .18s;
  white-space: nowrap;
}
.grp-browse-all:hover { background: rgba(0,212,255,0.14); border-color: rgba(0,212,255,0.5); color: #00d4ff; }
.grp-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grp-grid { grid-template-columns: repeat(3, 1fr); } }
.grp-grid .store-product { height: 100%; }

/* bigger logo in the bar */
.grp-bar__logo { height: 46px !important; }

/* hero spacing tuned to the rails below */
.grp-hero { margin-bottom: 2.5rem; }

/* ============ HOMEPAGE: about + community (widgets moved to the bottom) ============ */
.grp-about, .grp-community {
  width: 100%; max-width: 1280px; margin: 0 auto 3.5rem; padding: 0 1.25rem;
}
.grp-about .store-text {
  background: var(--grp-surface);
  border: 1px solid var(--grp-border);
  border-radius: var(--grp-radius-lg);
  padding: 1.75rem;
}
/* the sidebar include renders a column of .widget cards - lay them out in a row here */
.grp-community__inner { width: 100%; }
.grp-community__inner .site-sidebar,
.grp-community__inner aside,
.grp-community__inner > div {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  position: static !important;
}
@media (min-width: 700px) {
  .grp-community__inner .site-sidebar,
  .grp-community__inner aside,
  .grp-community__inner > div { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grp-community__inner .site-sidebar,
  .grp-community__inner aside,
  .grp-community__inner > div { grid-template-columns: repeat(3, 1fr); }
}
.grp-community__inner .widget { margin: 0 !important; width: auto !important; }

/* index page no longer uses the two-column shell */
body.page-index .site-content,
body.page-index .site-content-widgets { display: block !important; }

/* ============ BEST SELLER RANK BADGES ============ */
.grp-card--ranked { position: relative; }
.grp-rank {
  position: absolute; top: -10px; left: -10px; z-index: 3;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; padding: 0 8px;
  border-radius: 9999px;
  font-size: 0.8125rem; font-weight: 800; letter-spacing: -0.02em;
  color: #0a0a0a; background: #00d4ff;
  box-shadow: 0 6px 20px rgba(0,212,255,0.35);
  border: 2px solid #0a0a0a;
}
.grp-rank--1 { background: linear-gradient(135deg,#ffd88a,#ffb14a); color:#231703; box-shadow: 0 6px 20px rgba(255,177,74,.35); }
.grp-rank--2 { background: linear-gradient(135deg,#e8e8ef,#b8bcc9); color:#1a1a1f; box-shadow: 0 6px 20px rgba(200,205,220,.28); }
.grp-rank--3 { background: linear-gradient(135deg,#e0a879,#b9743f); color:#241203; box-shadow: 0 6px 20px rgba(185,116,63,.3); }
.grp-grid { overflow: visible; }
.grp-rail { overflow: visible; }
