/* tlo strony */

.artiphoria-club {
  background: #e4e4e4;
}


.artiphoria-club-container
/*, body.single-post-sidebar #bwp-main*/ {
  background-color: #2c1b3d; /* głęboki fiolet */
  background-image: 
    radial-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px);
  background-size: 24px 24px; /* drobna, gęsta siatka */
  background-repeat: repeat;
  color: #f6e8b1;
}

/* koniec tlo strony */


.artiphoria-club h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 30px;
}


body.page-template-page-artiphoria-club #bwp-footer {
  margin-top: 0px;
}



/*                         ArtiCoin                   */
.coin {
  display: inline-block;
  width: 25px;
  height: 25px;
  background-image: url("/wp-content/themes/moria/images/articoin.png");
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  
  margin: 0 4px;
  pointer-events: none;
  margin-bottom: -7px;
}
.coin.coinanimated {
  animation: spin-coin 2s linear infinite;
}

/* Moneta po lewej stronie */
.ac-menu-button .coin-left {
  order: -1;
}

/* Moneta po prawej stronie */
.ac-menu-button .coin-right {
  order: 1;
}


/* Animacja obrotu */
@keyframes spin-coin {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(340deg);
  }
}

/*                          BUTTON                       */
.button-arti {
  font-size: 15px;
  padding: 10px 30px;
  background: #423cc1;
  transition: all .2s ease-in-out;
  color: #fff;
  border: 0;
  text-align: center;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 600;
  margin: 25px auto;
  display: block;
}
.button-arti:hover {
  background: #c9209f;
}



/*                           STYLE PUNKTÓW NA STRONIE                         */

.yith-par-message.yith-par-message-loop {
  display: block!important;
}

.koszyk-artiphoria #bwp-header {
  margin-bottom: 20px;
}

.type-product.product .yith-par-message.yith-par-message-product {
  margin-bottom: 0px;
  background-color: #525252 !important;
  color: #fff!important;
  font-size: 16px!important;
  font-weight: bold!important;
}

.type-product.product .yith-par-message.yith-par-message-loop{
  border: 0;
}

.post-type-archive .yith-par-message-inner-content .coin {
  margin-bottom: -2px;
}

.ac-menu-button>a {
    font-weight: bold!important;
}
.ac-menu-button > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  position: relative;
  text-decoration: none;
  font-weight: bold;
  color: #333;
}



.yith-par-message-inner-content {
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  padding: 5px 12px;
  width: fit-content;
  background: #525252;
  border-radius: 10px;
}


.ywpar_apply_discounts{
  display: flex!important;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}
.realizacja-zamowienia-artiphoria #yith-par-message-reward-cart {
  margin-top:15px;
}
.checkout-page-style-2 .checkout_style2_content {
  top: 60px;
}

#ywpar_apply_discounts {
  background: #525252;
  border-radius: 10px;
  line-height: 2;
  padding: 3px 10px 3px 5px;
  font-size: 14px;
}
#yith-par-message-cart:before, #yith-par-message-reward-cart:before {
  content: "";
}
#yith-par-message-cart, #yith-par-message-reward-cart {
  border-top: 3px solid #daa520!important;
  padding: 10px;
  font-size: 14px;
}


.ac-header-points-mobile {
  text-align: center !important;
}
.ac-header-points-mobile .coin {
  margin-bottom: -4px;
  width: 20px;
  height: 20px;
}



/*                      PRODUCT META                         */

.product_meta .tagged_as a {
  background: #697445;
  padding: 8px 16px;
  color: #fff!important;
  text-transform: uppercase;
  font-size: 18px;
  margin-right: 2px;
  line-height: 40px;
}

.product_meta .tagged_as {
  text-transform: uppercase;
  font-size: 0px;
}

.product_meta .posted_in {
  font-size: 0px;
}

.product_meta .posted_in a {
  background: #be9519;
  color: #fff!important;
  padding: 8px 17px;
  font-size: 18px;
  line-height: 40px;;
  text-transform: uppercase;
  margin-right: 5px;
}



/*                     STRONA WPISU BLOGOWEGO                      */
.content-single-sidebar .entry-thumb.single-thumb {
  text-align: center;
}
.content-single-sidebar .entry-thumb.single-thumb img {
  width: auto;
  max-height: 250px;
}
.content-single-sidebar .content-image-single {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

.content-single-sidebar .content-image-single .content-info:after{
  height: 0;
}




/*                     ARTIPHORIA CLUB PAGE                         */

.artiphoria-club-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.login_required {
  padding: 50px 10px;
  text-align: center;
  color: #fff;
}
.login_required_button {
  color: #daa520;
  text-align: center;
  display: block;
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.tab-btn {
background: #a78225;
  color: white;
  border: none;
padding: 14px 24px;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-shadow: 1px 1px 1px #000;
}

.tab-btn.active, .tab-btn:hover {
    background: #005f8d;
}

.tab-icon {
    font-size: 18px;
}

.tab-content {
    animation: fadeIn 0.3s ease-in-out;
    padding-bottom: 50px;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}


/* AKTUALNOSCI */
.hfeed .breadcrumb-noheading {
  display: none;
}

#artiphoria-news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1160px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    gap: 15px;
background: #2d2d2d;
  border: 4px solid #de9813;
    padding: 15px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 8px;
}

.news-item:hover {
    background: #1e4254;
}

.news-thumbnail img {
width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  max-height: 250px;
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 5px;
}

.news-meta {
    font-size: 13px;
    color: #a4a4a4;
    margin-bottom: 5px;
}

.news-excerpt {
    font-size: 15px;
    color: #f7f7f7;
    margin-bottom: 8px;
}

.news-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.news-actions a {
      color: #afacff;
}

.comment-icon::before {
    content: "💬";
    margin-right: 4px;
}

.quick-comment-form {
    margin-top: 10px;
    display: none;
}

.quick-comment-form textarea {
    width: 100%;
    padding: 8px;
    font-size: 14px;
font-size: 18px;
  margin-bottom: 5px;
  color: #e7a303;
}

/* MOJA KOLEKCJA */
.collection-form {
  display: flex; 
  flex-wrap: wrap; 
  gap: 10px; 
  align-items: center;
  flex-direction: column;
  padding: 10px;
}

.collection-form .collection-filter-box {
  display: flex; 
  align-items: center; 
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
  }

  .collection-form {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .collection-form .collection-filter-box,
  .ac-category-filter {
    justify-content: flex-start;
    text-align: left;
    flex-wrap: wrap;
  }
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.collection-public .collection-grid {grid-template-columns: repeat(auto-fit, minmax(318px, 1fr))}
.collection-public .ac-attr {font-size: 20px;}
.collection-public .ac-attr img {font-size: 17px;}
.collection-public .ac-attr span {font-size: 14px;}
.collection-public .ac-col-level-badge {display: none;}
.collection-public .ac-col-name {padding: 10px 25px 10px 25px;}


.collection-item {
  border: 4px solid #de9813;
    border-radius: 14px;
    /*background: #231E53;*/
    background: url('/wp-content/themes/moria/images/ac-card.jpg') ;
    text-align: center;
    position: relative;
    padding: 1px;
    color: #fff;
    transition: all 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
    background-size: cover;
    display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 500px;
}
.collection-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4); /* opcjonalny blask */
    z-index: 2;
}


.collection-item-inner {
    padding: 10px;
}

.collection-item.locked .collection-item-inner {
  opacity: 0.7;
}
.collection-item.locked:hover .collection-item-inner {
  opacity: 1;
}

.collection-productpage {
  max-width: 400px;
  margin: 0 auto;
}

.collection-public .collection-item.locked .collection-item-inner,
.collection-productpage .collection-item.locked .collection-item-inner{
  opacity: 1;
}

.product-page-ac-alert {
  text-align: center;
  font-weight: bold;
}

.product-page-ac-alert a{
  color: #daa520;
}


.ac-col-name-wrapper {
    position: relative;
    display: inline-block;
    margin: 10px auto 20px;
    cursor: pointer;
}

.ac-col-name {
    font-size: 18px;
    color: #d4af37;
    text-align: center;
    padding: 10px 32px 10px 25px;
    margin: 0;
    max-width: 300px;
    border: 4px double #d4af37;
    border-radius: 12px;
    background: linear-gradient(to right, #3c1f57, #5b2b82);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    text-shadow: 1px 1px 2px #000;
    position: relative;
    z-index: 1;
    text-transform: uppercase!important;
    font-weight: bold;;
}

.ac-col-level-badge {
    position: absolute;
    top: 50%; /* środek wysokości */
    right: -20px; /* lekko poza prawą krawędź */
    transform: translateY(-50%); /* wyśrodkowanie pionowe */
    width: 44px;
    height: 44px;
    background: #d4af37;
color: #fff;
  font-size: 16px;
    font-weight: bold;
    border-radius: 50%;
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    text-shadow: 0 1px 0 #000, 0 2px 2px rgba(0, 0, 0, 0.4), 0 0 6px rgba(223, 117, 24, 0.8);
}



 .exp-bar-wrapper {
      margin-bottom: 10px;
      text-align: center;
      position: relative;
  }
  .exp-bar-bg {
      width: 100%;
      height: 14px;
      background: rgba(255, 255, 255, 0.08);
      border-radius: 6px;
      overflow: hidden;
      position: relative;
  }
  .exp-bar-fill {
      height: 100%;
      background: linear-gradient(to right, #ffd700, #ff8c00);
      transition: width 0.4s ease;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
  }
  .exp-bar-label {
position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 11px;
  color: #fff;
  font-weight: bold;
  z-index: 2;
  white-space: nowrap;
  text-shadow: 0 1px 1px rgb(0, 0, 0);
  }
  .feed-btn {
      background: linear-gradient(to right, #2c1b3d, #4a2a72);
      color: #f6e8b1;
      border: 2px solid #d4af37;
      padding: 6px 14px;
      font-size: 13px;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s ease-in-out;
      margin: 6px auto 0;
      display: inline-block;
  }
  .feed-btn:hover {
      background: linear-gradient(to right, #3b2563, #6a3fa8);
      box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
  }
  .feed-btn.disabled {
      background: #555;
      border-color: #888;
      color: #ccc;
      cursor: not-allowed;
      box-shadow: none;
  }





.ac-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  padding: 6px;
  background: linear-gradient(to left, #2c1b3d, #4a2a72); /* odwrócony gradient */
  
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0; /* usunięty margines z góry */
  border-radius: 0; /* brak zaokrągleń */
}


.ac-tag {
  background: rgba(212, 175, 55, 0.1);
  color: #f0e6d2;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 6px;
  text-transform: uppercase;
}






.collection-item .product-image-wrapper {
    position: relative;
    overflow: visible; /* ważne: pozwala ramce wystawać */
    border: 4px solid #DAA813;
    border-radius: 20px;
    max-height: 250px;
    border-radius: 20px 20px 0px 0px;
    border-bottom: none !important;
}


.product-image {
    overflow: hidden;
    border-radius: 16px;
    width: 100%;
    position: relative;
  border-radius: 16px 16px 0px 0px;
  margin-top: -0.1px;
}



.collection-item .product-image img {
  max-height: 250px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
  object-fit: cover;
  overflow: hidden;

}

.product-image-zoom {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.collection-item:hover .product-image-zoom {
    transform: scale(1.1);
}

.collection-item .card-quantity-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #d4af37; /* złote tło */
    color: #1b102e;
    font-weight: bold;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 20px;
    border: 2px solid #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
    z-index: 3;
    pointer-events: none;
}

.locked-badge {
position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #8b0000;
  color: #fff;
  padding: 2px 10px;
  font-size: 13px;
  border-radius: 6px;
  z-index: 10;
  border: 3px solid #ffbfbf;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  font-weight: bold;
  text-transform: uppercase !important;
  pointer-events: none;
  overflow: hidden;
  min-width: 281px;
  line-height: 1.5;
}
.locked-badge-have {
  background: #17792b;
  border: 3px solid #4aa45c; 
}



/* locked */
.collection-item .locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(100, 100, 100, 0.6);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
}
.collection-item.locked, 
.collection-item.locked .product-image-wrapper,
.collection-item.locked .ac-col-desc {
  border: 4px solid #240404;
}
.collection-item.locked:hover, 
.collection-item.locked:hover .product-image-wrapper,
.collection-item.locked:hover .ac-col-desc {
  border: 4px solid #8c0f0f;
}

.collection-item.locked {
  background: url('/wp-content/themes/moria/images/ac-card-locked.jpg') ;
}

/* koniec locked */

.ac-card-quantity-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #d4af37;
    color: #1b102e;
    font-weight: bold;
    font-size: 16px;
    padding: 4px 8px;
    border-radius: 20px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
    z-index: 2;
    border: 2px solid #fff;
}

.ac-card-attributes-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 15px;
    color: #f0e6d2;
    background: linear-gradient(to right, #4a2a72, #2d1a40);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    white-space: nowrap;
    gap: 4px;
}

.ac-attr {
    background-color: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    padding: 4px 6px 0px;
    font-weight: 600;
    flex: 1 1 0;
    text-align: center;
    min-width: 0;
    cursor: help;
    position: relative;
    font-size: 23px;
    line-height: 25px;
}

.ac-attr>span{
  display: block;
  margin-top: -5px;
  font-size: 14px;
}
.ac-attr>img {
  font-size: 22px;
}

.ac-card-price-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, #4a2a72, #2d1a40);
    padding: 4px 8px;
    font-size: 12px;
    color: #f0e6d2;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    gap: 4px;
}

.ac-card-price-info > div {
    background-color: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    padding: 2px 4px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1 1 0;
    min-width: 0;
    cursor: help;
    line-height: 1.5;
}

.ac-missing {
    background-color: rgba(255, 80, 80, 0.2);
    border: 1px solid rgba(255, 80, 80, 0.4);
    color: #ffbbbb;
}



.collection-item span.coin {
  width: 16px;
  height: 16px;
  margin-bottom:-4px;
}



.ac-col-desc {
padding: 12px 14px 10px;
  font-size: 14px;
  line-height: 1.4;
  color: #f2eee6;
  background: linear-gradient(to bottom, #2d1a40, #1c112b);
  border: 4px solid #DAA813;
  margin-bottom: 10px;
  border-radius: 0px 0px 20px 20px;
  cursor: default;
}



.collection-item .button {
  max-width: 200px;
  margin: 0px auto 10px;
    background: #0073aa;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 20px;
}

.collection-item .button:hover {
    background: #005f8d;
}

.ac-category-filter {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.ac-category-filter-label {
    font-weight: bold;
}

.ac-category-option {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    white-space: nowrap;
    margin-bottom: 0!important;
}
.collection-filter-box {
  gap: 15px;
  display: flex;
}

.ac_product_card_image {
  width: 400px; height: 400px; object-fit: cover;
}

.ac-add-to-cart {
    display: inline-block;
    background: linear-gradient(to right, #2c1b3d, #4a2a72)!important; /* głęboki fiolet */
    color: #f6e8b1; 
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    padding: 10px 20px;
    border: 2px solid #d4af37;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.ac-add-to-cart:hover,
.ac-add-to-cart:focus {
    background: linear-gradient(to right, #3b2563, #6a3fa8); /* jaśniejszy fiolet przy hoverze */
    color: #fff8dc;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    transform: scale(1.05);
}

.ac-add-to-cart.loading {
    pointer-events: none;
}

.ac-add-to-cart.loading .ac-add-text {
    visibility: hidden;
}

.ac-add-to-cart.loading .coin.coinanimated {
    display: inline-block;
}

.ac-add-to-cart .coin.coinanimated {
  display: none;
  width: 23px;
  height: 23px;
}


.ac-category-filter .loading {
  opacity: 0.2;
}


.ac-add-to-cart.loading:before {
  background: rgba(0, 0, 0, 0);
}



.added_to_cart.wc-forward {
    display: block;
  margin: 0px auto 10px;
  padding: 5px 19px;
    background-color: #dff5e1; /* jasna zieleń (sukces) */
    color: #256029;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #b4e2c3;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    width: fit-content;
    clear: both;
    transition: background 0.2s ease;
}

.added_to_cart.wc-forward:hover {
    background-color: #c7edd1;
    color: #1c401e;
}





/* POLECENIA */
#ywpar_referral_link_sc {
  margin: 0 auto;
  border: 4px solid #de9813;
}
#ywpar-copy-to-clipboard-wrapper input[type="text"].ywpar-copy-to-clipboard__field {
  color: #151515;
  font-size: 15px;
}
.ac-referral-header {
  text-align: center;
  margin: 30px auto;
  max-width: 1000px;
}

.ac-referral-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

.ac-referral-text {
  font-size: 16px;
  line-height: 1.6;
  color: #f2eee6;
}

#ywpar_referral_link_sc {
  background: #2D2D2D;
}
#ywpar-copy-to-clipboard-wrapper .ywpar-copy-to-clipboard__copy{
  color:#000;
}

/* MOJE ARTICOINY */

.ywpar_myaccount_entry_info > div {
  background-color: #2D2D2D;
}
.ywpar_level.level span {
  color: #f7f7f7!important;
}
#ywpar_tabs #history {
  overflow-x: auto;
}

.ywpar_tabs_header ul li.active {
  font-size: 20px;
}

.ywpar_tabs_header ul li.active {
  color: #fff;
}

.ywpar_points_rewards th{
  color: #d5d5d5!important;
}
.ywpar_points_rewards .ywpar-item>td>a {
  color: #afacff;
}

.ywpar_points_rewards td.ywpar_points_rewards-points{
  color: #bdbdbd;
}

#share_points {
  background-color: #2d2d2d;
  color: #f7f7f7;
}
#share_points>h3 {
  color: #f6e8b1;
}
#ywpar_share_points_to_share {
  color: #fff;
  text-align: center;
  line-height: initial;
}

#share_points input#ywpar-share-points__submit {
  background: #423cc1;
  border: 0px;
  color: #fff;
  padding: 5px 15px;
  margin-left: 10px;
}

.ywpar_summary_badge {
  background: #2D2D2D;
  border: 4px solid #de9813;
}
.ywpar_to_redeem_title {
  color:#f2eee6!important;
}

.ywpar_tabcontent #ywpar_banner .banner_header h4 {
  font-size: 16px;
}
#ywpar_banner {
  border: 4px solid #de9813;
}
.ywpar_tabcontent #ywpar_banner a {
display: block;
  color: #fff;
  font-size: 16px;
  background: #423CC1;
  text-align: center;
  padding: 5px 10px;
}

/* RANKING */

#tab-ranking .ywpar_tabcontent li {
  background: #2D2D2D;
  font-size: 20px;
  transition: background 0.2s;
}
#tab-ranking .ywpar_tabcontent li:hover {
  background: #1e4254;
}
.ywpar_best_users_tab ul li img {
  width: 200px;
}
.ywpar_best_users.boxed .ywpar_best_users_tab .user_info {
  padding-left: 0px;
}
.ywpar_best_users_tab ul li > div {
  margin-left: 0;
}
.ywpar_best_users .user_points .points::before {
  background: none;
  width: 0; height: 0; margin: 0;
}
#ywpar_tabs .ranking_list {
    display: flex;
    flex-direction: column;
}
.ywpar_best_users.boxed .ywpar_best_users_tab .user_points .points {
  margin-right:0;
  color: #daa520!important;
}

#ywpar_tabs .ranking_item {
    display: grid;
    grid-template-columns: 30px 200px 1fr 200px;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 4px solid #de9813;
    background-color: #2d2d2d;
    border-radius: 10px;
    color: #f6e8b1;
    margin-bottom: 20px;
  margin-top: 0;
}

#ywpar_tabs .ranking_item.active {
  background: #554826;
}



#ywpar_tabs .rank_number {
    font-size: 32px;
    font-weight: bold;
    color: #d4af37;
    text-align: center;
}

#ywpar_tabs .avatar img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #4f3a7b;
}

#ywpar_tabs .user_info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#ywpar_tabs .user_name {
    font-size: 22px !important;
    font-weight: bold;
    color: #fff8dc;
    margin-bottom: 0px;
}

#ywpar_tabs .user_socials {
    font-size: 15px;
    color: #d4af37;
}

#ywpar_tabs .user_socials a {
    color: #d4af37;
    text-decoration: none;
    margin-right: 8px;
    font-weight: 600;
}

#ywpar_tabs .user_socials a:hover {
    text-decoration: underline;
}

#ywpar_tabs .user_bio {
    font-size: 16px;
    color: #f2eee6;
    font-style: italic;
    max-width: 100%;
}

#ywpar_tabs .user_collection {
    font-size: 16px;
    color: #c7b1f6;
}

#ywpar_tabs .user_collection_products a {
 margin-right: 5px; margin-bottom: 5px;
 display: inline-block;
}
#ywpar_tabs .user_collection_products a img {
 width: 150px;
   border: 2px solid #515151;
}

#ywpar_tabs .user_collection_products a:hover img {
  border: 2px solid #de9813;
}

#ywpar_tabs .user_points {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    gap: 6px;
    color: #f6e8b1;
}

#ywpar_tabs .user_points .level {
    display: flex;
    align-items: center;
    gap: 6px;
}

#ywpar_tabs .user_points .level img {
    max-height: 24px;
    border-radius: 4px;
}

/* RWD */
@media (max-width: 1024px) {
    #ywpar_tabs .ranking_item {
        grid-template-columns: 60px 120px 1fr 160px;
        grid-template-areas:
            "rank avatar points"
            ". user user user";
    }

    #ywpar_tabs .ranking_item .rank_number {
        font-size: 24px;
    }

    #ywpar_tabs .avatar img {
        width: 120px;
        height: 120px;
    }

    #ywpar_tabs .user_points {
        align-items: flex-start;
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    #ywpar_tabs .ranking_item {
        grid-template-columns: 1fr;
        grid-template-areas:
            "rank"
            "avatar"
            "user"
            "points";
        text-align: center;
    }

    #ywpar_tabs .user_points {
        align-items: center;
    }

    #ywpar_tabs .user_info {
        align-items: center;
    }
}



/* PROFIL */




form.artiphoria-profile-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    border: 4px solid #de9813;
    background-color: #2d2d2d;
    color: #f6e8b1;
    border-radius: 8px;
    font-size: 15px;
}

@media (max-width: 768px) {
    form.artiphoria-profile-form {
        grid-template-columns: 1fr;
    }
}

form.artiphoria-profile-form > div,
form.artiphoria-profile-form p {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

form.artiphoria-profile-form h3 {
    grid-column: 1 / -1;
    font-size: 18px;
    color: #d4af37;
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid #4f3a7b;
    padding-bottom: 6px;
}

form.artiphoria-profile-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

form.artiphoria-profile-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    color: #f6e8b1;
    width: 100%;
}

form.artiphoria-profile-form input[type="text"],
form.artiphoria-profile-form input[type="url"],
form.artiphoria-profile-form input[type="file"],
form.artiphoria-profile-form textarea {
    display: block;
    background-color: #2e2842;
    border: 1px solid #4f3a7b;
    color: #fff8dc;
    padding: 10px;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
}

form.artiphoria-profile-form textarea {
    resize: vertical;
    min-height: 120px;
}

form.artiphoria-profile-form img {
    max-width: 100px;
    height: auto;
    border: 1px solid #4f3a7b;
    margin-top: 8px;
    background: #2e2842;
}

form.artiphoria-profile-form .avatar-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

form.artiphoria-profile-form .avatar-section small {
    font-size: 13px;
    color: #b8a6d9;
}

form.artiphoria-profile-form input[type="submit"] {
    grid-column: 1 / -1;
    padding: 14px 24px;
    background-color: #4f3a7b;
    color: #fff8dc;
    font-weight: bold;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

form.artiphoria-profile-form input[type="submit"]:hover {
    background-color: #6c4da1;
}
.artiphoria-notice {
    max-width: 700px;
    margin: 20px auto;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    font-size: 16px;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.artiphoria-notice.success {
    background-color: #2e4d2e;
    color: #d0ffd0;
    border: 1px solid #4caf50;
}

.artiphoria-notice.error {
    background-color: #4d2e2e;
    color: #ffd0d0;
    border: 1px solid #f44336;
}
.artiphoria-profile-form .button,
.artiphoria-profile-form #cropAvatarButton {
    background-color: #4f3a7b;
    color: #f6e8b1;
    padding: 12px 20px;
    border: none;
    font-size: 15px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
}

.artiphoria-profile-form .button:hover,
.artiphoria-profile-form #cropAvatarButton:hover {
    background-color: #6c4da1;
}

/* KONIEC PROFIL */


@media (max-width: 400px) {
  #collection-single-result .collection-item {
    max-width: 330px;
  }
  .collection-productpage {
    max-width: 330px;
  }
} 


@media (max-width: 500px) {
  #ywpar_tabs .user_collection_products a img {
    width: 130px;
  }
  #ywpar_tabs .avatar img {
    width: 300px;
    height: 300px;
  }
} 


/* AC WELCOME */

.ac_welcome-container {
    background: #f5f2ff;
    border-radius: 16px;
    padding: 24px;
    font-family: inherit;
    max-width: 800px;
    margin: 20px auto;
}

h2.ac_welcome-heading {
    font-size: 1.8em;
    color: #7b45d0;
    margin-bottom: 10px;
}

.ac_welcome-paragraph {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #333;
}

.ac_welcome-list {
    margin-left: 1.2em;
    padding-left: 0.5em;
    margin-bottom: 16px;
    color: #444;
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

.ac_welcome-final {
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 24px;
    color: #5a2caa;
}


/* AC Header (Top tygodnia + Nowi + Baner) – GRID + RWD */
/* Całość oskpowana do .tab-content */
.tab-content .ac-header-wrapper {
  display: grid;
  grid-template-columns: 35% 35% 30%;
  gap: 16px;
  align-items: stretch;
}

/* Kolumny */
.tab-content .ac-header-wrapper .ac-header-col { box-sizing: border-box; }

/* Karta */
.tab-content .ac-header-wrapper .ac-header-card {
  width: 100%;
  border: 4px solid #de9813;
  border-radius: 10px;
  padding: 16px;
  background: #2d2d2d;
  color: #f6e8b1;
  box-shadow: 0 0 10px rgba(0,0,0,.15);
}
.tab-content .ac-header-wrapper .ac-header-card--nopad { padding: 0; }

/* Tytuły */
.tab-content .ac-header-wrapper .ac-header-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #fff8dc;
  text-shadow: 1px 1px 1px #000;
}
.tab-content .ac-header-wrapper .ac-header-subtitle {
  margin: 0 0 14px;
  font-size: 14px;
  opacity: .8;
  color: #f2eee6;
}

/* Lista */
.tab-content .ac-header-wrapper .ac-header-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.tab-content .ac-header-wrapper .ac-header-list .coin {
  margin-bottom: -2px;
}

.tab-content .ac-header-wrapper .ac-header-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  background: #2d2d2d;
  border: 1px solid #4f3a7b;
  border-radius: 10px;
  padding: 10px 12px;
  transition: background .2s ease;
}
.tab-content .ac-header-wrapper .ac-header-item:hover { background: #1e4254; }

/* Avatar + badge */
.tab-content .ac-header-wrapper .ac-header-rank { position: relative; }
.tab-content .ac-header-wrapper .ac-header-avatar { display: block; }
.tab-content .ac-header-wrapper .ac-header-badge {
  position: absolute;
  top: -8px; left: -8px;
  background: #d4af37; color: #1b102e;
  font-size: 12px; font-weight: 800;
  border-radius: 999px; border: 2px solid #fff;
  padding: 2px 6px;
  box-shadow: 0 0 6px rgba(0,0,0,.3);
}

/* Teksty */
.tab-content .ac-header-wrapper .ac-header-item-main { min-width: 0; }
.tab-content .ac-header-wrapper .ac-header-name {
  font-weight: 800; color: #fff8dc; margin: 0 0 2px; font-size: 16px;
}
.tab-content .ac-header-wrapper .ac-header-meta { font-size: 13px; opacity: .8; color: #f2eee6; }

/* Punkty */
.tab-content .ac-header-wrapper .ac-header-points {
  font-weight: 800; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  color: #daa520; font-size: 15px;
}

/* Puste stany */
.tab-content .ac-header-wrapper .ac-header-empty { margin: 8px 0 0; color: #f2eee6; opacity: .9; }

/* Linki/przyciski akcji */
.tab-content .ac-header-wrapper .ac-header-more { margin-top: 12px; text-align: right; }
.tab-content .ac-header-wrapper .ac-header-more a {
  display: inline-block;
  background: #423cc1; color: #fff;
  padding: 8px 14px; border-radius: 8px; text-decoration: none;
  font-weight: 700; text-transform: uppercase; font-size: 13px;
  transition: background .2s ease, transform .15s ease;
  box-shadow: 0 0 8px rgba(0,0,0,.25);
}
.tab-content .ac-header-wrapper .ac-header-more a:hover { background: #c9209f; transform: translateY(-1px); }

/* Baner */
.tab-content .ac-header-wrapper .ac-header-banner-link {
  display: block; width: 100%; height: auto;
  overflow: hidden; border-radius: 10px; border: 4px solid #de9813;
  box-shadow: 0 0 10px rgba(0,0,0,.15);
}
.tab-content .ac-header-wrapper .ac-header-banner-link img {
  width: 100%; height: auto; display: block; object-fit: cover;
}

/* Monetka w headerze (lekka korekta) */
.tab-content .ac-header-wrapper .ac-header-points .coin.coin-left.coinanimated {
  margin-left: 4px; width: 20px; height: 20px; margin-bottom: -4px;
}

/* --- RWD --- */
/* >= 1280px: sztywno 3 kolumny 35/35/30 (baner nie spada) */
@media (min-width: 1280px) {
  .tab-content .ac-header-wrapper { grid-template-columns: 35% 35% 30%; }
}

/* 900px–1279px: 2 kolumny (Top tygodnia + Nowi w 1 rzędzie, Baner pod spodem) */
@media (max-width: 1279.98px) and (min-width: 900px) {
  .tab-content .ac-header-wrapper { grid-template-columns: 1fr 1fr; }
  .tab-content .ac-header-wrapper .ac-header-col-30 { grid-column: 1 / -1; }
}

/* < 900px: 1 kolumna (stack) */
@media (max-width: 899.98px) {
  .tab-content .ac-header-wrapper { grid-template-columns: 1fr; }
}
