@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&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-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;
}
/* ===== GLOBAL PREMIUM UI ===== */

body {
  background: #05070b;
  color: #ffffff;
  font-family: 'Inter', Arial, sans-serif;
}

.site {
  position: relative;
}

.site::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, rgba(30,144,255,0.06), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(30,144,255,0.05), transparent 26%);
  z-index: 0;
}

.site > * {
  position: relative;
  z-index: 1;
}

/* ===== LINKS / BUTTONS ===== */

a,
button,
input,
textarea,
select {
  transition: all 0.25s ease;
}

a:hover {
  opacity: 0.92;
}

button:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-tertiary:hover {
  transform: translateY(-1px);
}

/* ===== GLOBAL CARD LOOK ===== */

.store-product,
.store-text,
.store-sidebar,
.widget,
.basket,
.actions,
.product-actions,
.media-slider,
.site-navigation,
.site-header,
.site-footer {
  will-change: transform, opacity;
}

/* ===== PRODUCT GRID ===== */

.store-products-grid,
.store-products-list,
.store-products-default {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

/* ===== PRODUCT CARD HOVER ===== */

.store-product {
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.store-product:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.36), 0 0 24px rgba(30, 144, 255, 0.08);
  border-color: rgba(30,144,255,0.24) !important;
}

/* ===== IMAGE ZOOM ===== */

.store-product .image-link {
  overflow: hidden;
}

.store-product .image,
.store-product .slide-image,
.store-product .thumb-image {
  transition: transform 0.35s ease, filter 0.35s ease;
}

.store-product:hover .image {
  transform: scale(1.03);
  filter: brightness(1.03);
}

/* ===== PRICE / CTA ===== */

.price {
  font-weight: 900;
}

.product-actions a,
.product-actions button {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.product-actions a:hover,
.product-actions button:hover {
  transform: translateY(-2px);
}

.product-actions .add:hover,
.product-actions .subscribe:hover,
.product-actions .gift:hover,
.product-actions .open-basket:hover {
  box-shadow: 0 0 18px rgba(30,144,255,0.14);
}

/* ===== NAV ===== */

.site-navigation a:hover {
  color: #ffffff !important;
  background: rgba(30,144,255,0.10) !important;
}

.site-navigation ul ul {
  opacity: 0.98;
}

/* ===== CMS / CONTENT ===== */

.text-content p,
.text-content li {
  color: #c7d0da;
  line-height: 1.9;
}

.text-content h1,
.text-content h2,
.text-content h3,
.text-content h4 {
  color: #ffffff;
  margin-top: 0;
}

/* ===== CHECKOUT ===== */

.basket-item {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.basket-item:hover {
  transform: translateY(-3px);
  border-color: rgba(30,144,255,0.18) !important;
  box-shadow: 0 0 20px rgba(30,144,255,0.06);
}

/* ===== SIDEBAR MODULES ===== */

.store-sidebar .widget,
.store-sidebar > div {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.store-sidebar .widget:hover,
.store-sidebar > div:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(30,144,255,0.05);
}

/* ===== SCROLL ANIMATION BASE ===== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE ===== */

@media (max-width: 900px) {
  .store-products-grid,
  .store-products-list,
  .store-products-default {
    grid-template-columns: 1fr;
  }
}
.premium-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.premium-product-card {
  background: linear-gradient(180deg, rgba(14,18,26,0.98) 0%, rgba(9,12,18,0.98) 100%);
  border: 1px solid rgba(30,144,255,0.10);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.30);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.premium-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 40px rgba(0,0,0,0.38), 0 0 24px rgba(30,144,255,0.10);
  border-color: rgba(30,144,255,0.24);
}

.premium-product-card .image-link {
  position: relative;
  display: block;
  overflow: hidden;
}

.premium-product-card .image,
.premium-product-card .image-default {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, filter .35s ease;
  background: linear-gradient(180deg,#10141b 0%, #0a0d13 100%);
}

.premium-product-card:hover .image {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.countdown-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #1E90FF;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(30,144,255,0.18);
}

.premium-product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.premium-product-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.premium-product-top .product-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
  max-width: 68%;
}

.premium-product-top .product-title a {
  color: #fff;
  text-decoration: none;
}

.premium-card-price {
  text-align: right;
  min-width: 120px;
}

.old-price {
  color: #788393;
  font-size: 13px;
  text-decoration: line-through;
  margin-bottom: 2px;
}

.new-price {
  color: #1E90FF;
  font-size: 24px;
  font-weight: 900;
}

.premium-card-desc {
  margin: 0;
  color: #b7c0ca;
  line-height: 1.7;
  font-size: 15px;
  min-height: 52px;
}

.premium-card-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
}

.premium-btn {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 800;
  transition: all .25s ease;
}

.primary-btn {
  background: #1E90FF;
  color: #fff;
  border: 1px solid #1E90FF;
  box-shadow: 0 0 18px rgba(30,144,255,0.14);
}

.secondary-btn {
  background: transparent;
  color: #1E90FF;
  border: 1px solid #1E90FF;
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .premium-products-grid {
    grid-template-columns: 1fr;
  }

  .premium-product-top {
    flex-direction: column;
  }

  .premium-product-top .product-title {
    max-width: 100%;
  }

  .premium-card-price {
    text-align: left;
  }
}
.quantity-field.with-open-basket {
  overflow: hidden;
}

.quantity-field.with-open-basket .open-basket {
  min-width: 110px;
}

.quantity-field.with-open-basket .quantity {
  min-width: 70px;
}
