@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://hytaris.pl/assets/bg-sklep.png");
}

html,
body {
  min-height: 100%;
}

body.page-home-custom{
  position:relative;
  color:#eef2ff;
  background:
    linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.58)),
    url("https://hytaris.pl/assets/bg-sklep.png") center top / cover no-repeat fixed,
    #070a12;
}

body.page-home-custom{
  isolation:isolate;
}

#bg-particles{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

.site,
.site-content,
.content,
.container,
.site-wrapper,
main,
#header{
  position: relative;
  z-index: 1;
}

.home-shell{
  width:100% !important;
  max-width:1280px !important;
  margin:0 auto;
  padding:30px 24px 60px;
}

  .custom-login-shell{
    width:100%;
    max-width:760px;
    margin:40px auto 70px;
    padding:0 20px;
  }

  .custom-login-page{
    width:100%;
    max-width:900px;
    margin:40px auto 70px;
    padding:0 20px;
  }

  .popup-content{
    display:block;
    width:100%;
    position:relative;
    overflow:hidden;
    border-radius:28px;
    border:1px solid rgba(255,255,255,.10);
    background:
      radial-gradient(700px 220px at 0% 0%, rgba(124,77,255,.16), transparent 60%),
      radial-gradient(500px 180px at 100% 0%, rgba(24,214,255,.10), transparent 60%),
      linear-gradient(180deg, rgba(20,24,38,.95), rgba(14,18,30,.98)) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 60px rgba(0,0,0,.35);
    padding:34px;
    margin-bottom:24px;
  }
  
  .package-main-card .store-form-options{
  margin-top:20px;
  padding-bottom:20px !important;
}

  .field{
  margin-top:16px;
  margin-bottom:16px;
}

.store-product-options .actions-multiple{
    margin-top:24px !important;
    padding-top:16px !important;
}

  .custom-login-card{
    display:block;
    width:100%;
    position:relative;
    overflow:hidden;
    border-radius:28px;
    border:1px solid rgba(255,255,255,.10);
    background:
      radial-gradient(700px 220px at 0% 0%, rgba(124,77,255,.16), transparent 60%),
      radial-gradient(500px 180px at 100% 0%, rgba(24,214,255,.10), transparent 60%),
      linear-gradient(180deg, rgba(20,24,38,.95), rgba(14,18,30,.98)) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 60px rgba(0,0,0,.35);
    padding:34px;
  }

  .custom-login-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(135deg, rgba(255,255,255,.05), transparent 42%);
    pointer-events:none;
  }

  .custom-login-inner{
    position:relative;
    z-index:1;
  }

  .custom-login-kicker{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:16px;
    padding:9px 14px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.10);
    background:rgba(255,255,255,.05);
    color:#b8c2dc;
    font-size:13px;
    line-height:1;
  }

  .custom-login-dot{
    width:8px;
    height:8px;
    border-radius:999px;
    background:linear-gradient(135deg, #7c4dff, #18d6ff);
    box-shadow:0 0 16px rgba(124,77,255,.7);
  }

  .custom-login-card h2{
    margin:0 0 10px;
    color:#fff;
    font-size:clamp(28px, 4vw, 42px);
    line-height:1.05;
    font-weight:800;
    text-align:left;
  }

  .custom-login-sub{
    margin:0 0 24px;
    color:#b8c2dc;
    font-size:15px;
    line-height:1.8;
  }

  .custom-login-form,
  .custom-login-actions{
    display:flex;
    flex-direction:column;
    gap:14px;
  }

  .custom-login-form input[type="text"]{
    width:100%;
    min-height:56px;
    padding:0 18px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.10);
    background:rgba(255,255,255,.04);
    color:#fff;
    font-size:15px;
    outline:none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
    transition:.18s ease;
  }

  .custom-login-form input[type="text"]::placeholder{
    color:#94a0bd;
  }

  .custom-login-form input[type="text"]:focus{
    border-color:rgba(124,77,255,.45);
    background:rgba(255,255,255,.06);
    box-shadow:
      0 0 0 3px rgba(124,77,255,.12),
      inset 0 1px 0 rgba(255,255,255,.05);
  }

  .custom-login-form button,
  .custom-login-actions a.btn-primary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:52px;
    padding:0 20px;
    border:none;
    border-radius:16px;
    text-decoration:none;
    font-size:15px;
    font-weight:800;
    color:#fff;
    background:linear-gradient(135deg, rgba(124,77,255,.78), rgba(24,214,255,.24));
    box-shadow:0 16px 32px rgba(0,0,0,.28);
    transition:.18s ease;
    cursor:pointer;
  }

  .custom-login-form button:hover,
  .custom-login-actions a.btn-primary:hover{
    transform:translateY(-1px);
    background:linear-gradient(135deg, rgba(124,77,255,.9), rgba(24,214,255,.28));
  }
  
    .popup-close{
    transform:translateY(-1px);
    background:linear-gradient(135deg, rgba(124,77,255,.9), rgba(24,214,255,.28));
  }

  .custom-login-note{
    margin-top:16px;
    color:#94a0bd;
    font-size:13px;
    line-height:1.7;
  }

  .page-username .site-content,
  .page-username main,
  .page-username .store-text,
  .page-username .store-form{
    background:transparent;
    box-shadow:none;
    border:none;
  }

  @media (max-width: 700px){
    .custom-login-page{
      margin:28px auto 50px;
      padding:0 14px;
    }

    .custom-login-card{
      padding:24px;
      border-radius:24px;
    }
  }

 

/* HERO */
.page-home-custom .home-hero{
  margin-bottom:26px;
}

.page-home-custom .hero-card{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  border-radius:28px;
  background:
    radial-gradient(900px 320px at 15% 0%, rgba(124,77,255,.22), transparent 60%),
    radial-gradient(700px 260px at 100% 20%, rgba(24,214,255,.12), transparent 60%),
    linear-gradient(180deg, rgba(20,24,38,.88), rgba(14,18,30,.92));
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  padding:34px;
}

.page-home-custom .hero-inner{
  position:relative;
  z-index:1;
}

.page-home-custom .kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:16px;
  padding:9px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  color:#b8c2dc;
  font-size:13px;
}

.page-home-custom .dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:linear-gradient(135deg, #7c4dff, #18d6ff);
  box-shadow:0 0 16px rgba(124,77,255,.7);
}

.page-home-custom .hero-inner h1{
  margin:0 0 12px;
  color:#ffffff;
  font-size:clamp(34px, 5vw, 58px);
  font-weight:800;
}

.page-home-custom .hero-inner .sub{
  margin:0;
  max-width:1280px;
  color:#b8c2dc;
  font-size:15px;
  line-height:1.8;
}

.page-home-custom .hero-pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px;
}

.page-home-custom .hero-pills span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:#eef2ff;
  font-size:14px;
}

/* KATEGORIE */
.categories-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
  margin-top:30px;
}

.category-card{
  padding:28px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(600px 200px at 0% 0%, rgba(124,77,255,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)),
    rgba(15,18,29,.90);

  box-shadow:0 20px 50px rgba(0,0,0,.35);
  transition:.25s ease;
}

.category-card:hover{
  transform:translateY(-4px);
  box-shadow:0 30px 70px rgba(0,0,0,.45);
}

.category-title{
  font-size:26px;
  font-weight:800;
  margin-bottom:10px;
}

.category-desc{
  color:#b8c2dc;
  font-size:14px;
  margin-bottom:20px;
}

.category-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 18px;
  border-radius:12px;
  font-weight:700;
  font-size:14px;

  color:#fff;
  text-decoration:none;

  border:1px solid rgba(124,77,255,.4);
  background:linear-gradient(135deg, rgba(124,77,255,.7), rgba(24,214,255,.2));

  transition:.2s;
}

.category-btn:hover{
  background:linear-gradient(135deg, rgba(124,77,255,.9), rgba(24,214,255,.3));
}

.category-image-wrap{
  margin-bottom:18px;
}

.category-image{
  width:100%;
  height:280px;

  object-fit:contain;   /* 🔥 kluczowa zmiana */
  object-position:center;

  background:rgba(0,0,0,.25); /* delikatne tło pod obraz */
  padding:10px;

  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
}

.category-image-fallback{
  width:100%;
  height:280px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(500px 180px at 0% 0%, rgba(124,77,255,.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)),
    rgba(15,18,29,.70);
}

/* cały content nad overlayem */
.page-home-custom #header,
.page-home-custom .site,
.page-home-custom .site-content,
.page-home-custom .content,
.page-home-custom .container,
.page-home-custom .site-wrapper,
.page-home-custom .home-shell,
.page-home-custom main{
  position:relative;
  z-index:3;
}

.page-home-custom{
  min-height:100vh;
}


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

body {
  font-family: Lato, sans-serif;
}


  .page-username .site-content,
  .page-login .site-content,
  .site-content{
    width:100%;
  }



.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);
  padding-bottom: 34 !important;
}

.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;
}