/* #main.site-main .ct-container-full {
  padding-top: 10px;

  @media (min-width: 768px) {
    padding-top: 2.2rem;
  }
} */

[data-vertical-spacing*="top"] {
  padding-top: 1.5rem;
}

[data-vertical-spacing*="bottom"] {
  padding-bottom: 1.5rem;
}

#shipping_method.woocommerce-shipping-methods li {
  display: flex;
  align-items: center;
  gap: 1rem;

  label {
    margin: 0;
    font-weight: 600;
    font-size: 13px;
  }

  img.inpost_pl-shipping-method-meta-wrap {
    margin-top: 0;
  }
}

/* Single product: price + add to cart grouped under rating */
.ct-price-add-to-cart {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;

  p.price {
    margin: 0;
  }
}

@media (min-width: 768px) {
  .ct-price-add-to-cart {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
  }

  .ct-price-add-to-cart .ct-product-add-to-cart {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .ct-price-add-to-cart .ct-product-add-to-cart,
  .ct-price-add-to-cart .ct-product-add-to-cart form.cart,
  .ct-price-add-to-cart .ct-product-add-to-cart .ct-cart-actions {
    width: 100%;
  }

  .ct-price-add-to-cart .ct-product-add-to-cart .ct-cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .ct-price-add-to-cart .ct-product-add-to-cart .quantity {
    width: 100%;
  }

  .ct-price-add-to-cart .ct-product-add-to-cart .single_add_to_cart_button {
    width: 100%;
  }
}

.ct-product-additional-actions {
  display: flex;
  align-content: center;
  justify-content: end;
}

.product-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  .cust-icon-ar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .icon-padding-ar {
    height: 24px;
    min-width: 24px;
  }
}

.wrapper-shakal-icon {
  display: flex;
  margin-top: 2rem;
  align-items: center;
  gap: 1rem;

  .left-shakal-aurat {
    width: 100px;
    height: auto;
    border-radius: 50%;
    overflow: hidden;
  }
  .right-text-and-icon {
    font-size: 13px !important;
  }
}

/* Product highlights (icon + heading + description) */
.twojapka-product-highlights,
.twojapka-product-highlights-2,
.twojapka-media-text,
.allmmed-expert,
.twojapka-howto,
.twojapka-faq,
.twojapka-wc-reviews {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;

  @media (min-width: 767px) {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
  }
}

/* Media + text (50/50 with optional reversed order) */
.twojapka-media-text-grid {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

.twojapka-media-text-image,
.twojapka-media-text-content {
  flex: 1 1 0;
  min-width: 0;
}

.twojapka-media-text-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.twojapka-media-text-content > :first-child {
  margin-top: 0;
}

.twojapka-media-text-content > :last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .twojapka-media-text.is-reversed .twojapka-media-text-grid {
    flex-direction: row-reverse;
  }
}

@media (max-width: 767px) {
  .twojapka-media-text-grid {
    flex-direction: column;
    gap: 20px;
  }

  .twojapka-media-text.is-reversed .twojapka-media-text-grid {
    flex-direction: column-reverse;
  }
}

.woocommerce-tabs .ct-accordion-heading {
  font-size: 16px;
  text-align: left;
}

/* Shared section title */
.twojapka-section-title {
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 16px;
}

@media (max-width: 767px) {
  .twojapka-section-title {
    font-size: 22px;
  }
}

/* Responsive embeds */
.twojapka-posts-cards .entries[data-layout="grid"] {
  --grid-template-columns: repeat(
    var(--twojapka-cols-desktop, 3),
    minmax(0, 1fr)
  );
}

.twojapka-posts-cards .entry-card {
  border-radius: var(--card-media-radius, 12px);
  background-color: #fff;
}

.twojapka-posts-cards .entry-card .ct-media-container {
  border-radius: var(--card-media-radius, 12px);
  overflow: hidden;
  margin-bottom: var(--card-media-spacing, 16px);
}

.twojapka-posts-cards .entry-card .ct-media-container img {
  display: block;
  width: 100%;
  height: auto;
}

.twojapka-posts-cards .entry-card .entry-title {
  font-size: var(--card-title-size, 20px);
  line-height: var(--card-title-line-height, 1.35);
  margin-bottom: var(--card-title-spacing, 12px);
}

.twojapka-posts-cards .entry-card .entry-excerpt {
  font-size: var(--card-excerpt-size, 15px);
  line-height: var(--card-excerpt-line-height, 1.6);
  margin-bottom: var(--card-excerpt-spacing, 16px);
}

.twojapka-posts-cards .entry-card .entry-button {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .twojapka-posts-cards .entries[data-layout="grid"] {
    --grid-template-columns: repeat(
      var(--twojapka-cols-tablet, 2),
      minmax(0, 1fr)
    );
  }
}

@media (max-width: 767px) {
  .twojapka-posts-cards .entries[data-layout="grid"] {
    --grid-template-columns: repeat(
      var(--twojapka-cols-mobile, 1),
      minmax(0, 1fr)
    );
  }
}
.twojapka-embed {
  position: relative;
  width: 100%;
}

.twojapka-embed iframe,
.twojapka-embed video {
  width: 100%;
  max-width: 100%;
}

/* Woo Product Collection: full card click -> AJAX add to cart */
.wp-block-woocommerce-product-collection.twojapka-full-card-link
  li.wc-block-product,
.wp-block-woocommerce-product-collection.twojapka-full-card-link
  .box-with-border {
  cursor: pointer;
}

.wp-block-woocommerce-product-collection.twojapka-full-card-link
  li.wc-block-product.twojapka-full-card-link__card {
  position: relative;
}

.wp-block-woocommerce-product-collection.twojapka-full-card-link
  .twojapka-full-card-link__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
}

.wp-block-post-template li.wp-block-post.twojapka-full-card-link__card {
  cursor: pointer;
  position: relative;
}

.wp-block-post-template
  li.wp-block-post.twojapka-full-card-link__card
  .twojapka-query-loop__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
}

.wc-block-product-template__responsive {
  grid-gap: 0 !important;
  grid: 0;
}

.wc-block-product-template__responsive li {
  margin-block-end: 0.5rem !important;
}

/* Video media (poster card + HTML5 video) */
.twojapka-lazy-video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

@media (max-width: 767px) {
  .twojapka-lazy-video {
    aspect-ratio: 9 / 16;
  }
}

@media (min-width: 768px) {
  .twojapka-lazy-video.is-landscape-desktop {
    aspect-ratio: 16 / 9;
  }
}

/* Explicit aspect ratio overrides from ACF */
.twojapka-lazy-video.is-aspect-1-1 {
  aspect-ratio: 1 / 1;
}

.twojapka-lazy-video.is-aspect-16-9 {
  aspect-ratio: 16 / 9;
}

.twojapka-lazy-video.is-aspect-9-16 {
  aspect-ratio: 9 / 16;
}

.twojapka-lazy-video__button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

.twojapka-lazy-video__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.02);
}

.twojapka-lazy-video__poster--empty {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0)
  );
}

.twojapka-lazy-video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.twojapka-lazy-video__play::before {
  content: "";
  position: absolute;
  left: 54%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 18px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.twojapka-lazy-video__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}

.twojapka-lazy-video__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.twojapka-lazy-video.is-cover .twojapka-lazy-video__video {
  object-fit: cover;
}

.twojapka-lazy-video.is-cover .twojapka-lazy-video__poster {
  object-fit: cover;
}

.twojapka-video-link-card {
  text-decoration: none;
}

/* Section 5: Expert opinion */
.twojapka-expert-grid {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

.twojapka-expert-media,
.twojapka-expert-content {
  flex: 1 1 0;
  min-width: 0;
}

.twojapka-expert-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.twojapka-expert-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
}

.twojapka-expert-name {
  font-weight: 700;
}

.twojapka-expert-role {
  color: #666;
  font-size: 14px;
}

@media (max-width: 767px) {
  .twojapka-expert-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

/* Section 6: How-to rows */
.twojapka-howto-grid {
  display: flex;
  gap: 2.2rem;
  align-items: flex-start;
}

.twojapka-howto-media {
  flex: 1 1 0;
  min-width: 0;
  max-height: 550px;
  overflow: hidden;
}

.twojapka-howto-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  object-position: center;
  max-height: 550px;
}

.twojapka-howto-steps {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.twojapka-howto-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.twojapka-howto-step-media img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  display: block;
  object-position: top;
}

.twojapka-howto-step-content > :first-child {
  margin-top: 0;
}

.twojapka-howto-step-content > :last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .twojapka-howto-grid {
    flex-direction: column;
    gap: 20px;
  }

  .twojapka-howto-step-media img {
    min-width: 48px;
    height: 48px;
  }
}

.twojapka-howto-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.twojapka-howto-title {
  font-size: 22px;
  margin: 0 0 10px;
}

.twojapka-howto-text > :first-child {
  margin-top: 0;
}

.twojapka-howto-text > :last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .twojapka-howto-row.is-reversed .twojapka-howto-grid {
    flex-direction: row-reverse;
  }
}

@media (max-width: 767px) {
  .twojapka-howto-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

/* Carousels (Sections 7 & 8) */
.twojapka-carousel {
  margin-top: 16px;
}

.thumbs-left .flexy {
  margin-inline-start: 0 !important;
}

/* Carousels (Sections 7 & 8) now use Blocksy Flexy.
   Keep the old sizing (3/2/1 cards) by setting Flexy variables. */
.ct-product-acf-section-7 .twojapka-carousel .flexy-items,
.ct-product-acf-section-8 .twojapka-carousel .flexy-items {
  --flexy-items-gap: 18px;
  --flexy-item-width: calc((100% - 36px) / 4);
}

.ct-product-acf-section-7 .twojapka-carousel .flexy-item,
.ct-product-acf-section-8 .twojapka-carousel .flexy-item {
  min-width: 280px;
}

@media (max-width: 1023px) {
  .ct-product-acf-section-7 .twojapka-carousel .flexy-items,
  .ct-product-acf-section-8 .twojapka-carousel .flexy-items {
    --flexy-item-width: calc((100% - 18px) / 2);
  }
}

@media (max-width: 767px) {
  .ct-product-acf-section-7 .twojapka-carousel .flexy-items,
  .ct-product-acf-section-8 .twojapka-carousel .flexy-items {
    --flexy-item-width: 85%;
  }

  .ct-product-acf-section-7 .twojapka-carousel .flexy-item,
  .ct-product-acf-section-8 .twojapka-carousel .flexy-item {
    min-width: 260px;
  }
}

.twojapka-carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 2px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.twojapka-carousel-track::-webkit-scrollbar {
  height: 8px;
}

.twojapka-carousel-track::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
}

.twojapka-carousel-item {
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 280px;
}

@media (max-width: 1023px) {
  .twojapka-carousel-item {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 767px) {
  .twojapka-carousel-item {
    flex-basis: 85%;
    min-width: 260px;
  }
}

.twojapka-video-card .twojapka-embed {
  border-radius: 16px;
  overflow: hidden;
}

.twojapka-card-caption {
  margin-top: 10px;
  font-size: 14px;
  color: #444;
}

.twojapka-review-card {
  background: #f6f7f9;
  border: 0;
  border-radius: 16px;
  padding: 22px 20px;
  height: 100%;
}

.twojapka-reviews-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.twojapka-review-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  color: #111;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  transition:
    background 0.12s ease,
    border-color 0.12s ease;
}

.twojapka-review-cta:hover {
  background: #f3f4f6;
  border-color: rgba(0, 0, 0, 0.2);
}

.twojapka-review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.twojapka-review-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 44px;
}

.twojapka-review-author {
  margin-top: 0;
  font-weight: 700;
  font-size: 16px;
  color: #111;
  line-height: 1.2;
}

.twojapka-review-age {
  margin-top: 6px;
  font-size: 12px;
  color: #6b7280;
}

/* Woo review form extras */
.comment-form-age input {
  width: 100%;
}

.twojapka-review-rating {
  margin-top: 10px;
}

.twojapka-review-card .star-rating,
.twojapka-review-card .star-rating span:before,
.twojapka-review-card .star-rating:before {
  color: #f5b301;
}

.twojapka-review-card .star-rating {
  font-size: 14px;
}

.twojapka-review-text {
  font-size: 13px;
  color: #4b5563;
  margin-top: 14px;
  line-height: 1.6;
}

/* Ensure review cards have equal height inside Flexy item wrapper */
.ct-product-acf-section-8 .twojapka-carousel .flexy-item {
  display: flex;
}

.ct-product-acf-section-8 .twojapka-carousel .flexy-item > * {
  width: 100%;
}

/* Section 8: 4 cards on desktop like the design */
.ct-product-acf-section-8 .twojapka-carousel .flexy-items {
  --flexy-items-gap: 18px;
  --flexy-item-width: calc((100% - 54px) / 4);
}

@media (max-width: 1023px) {
  .ct-product-acf-section-8 .twojapka-carousel .flexy-items {
    --flexy-item-width: calc((100% - 18px) / 2);
  }
}

@media (max-width: 767px) {
  .ct-product-acf-section-8 .twojapka-carousel .flexy-items {
    --flexy-item-width: 85%;
  }
}

/* FAQ (Section 10) */

.twojapka-faq-item {
  background: #fff;

  button {
    padding: 24px 16px;
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  article {
    padding: 10px 10px 0 10px;
  }
}

.twojapka-faq-item + .twojapka-faq-item {
  margin-top: 12px;
}

.twojapka-faq-question {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.twojapka-faq-question::-webkit-details-marker {
  display: none;
}

.twojapka-faq-answer {
  margin-top: 12px;
  color: #333;
}

.twojapka-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  text-align: center;
  padding: 10px;
}

.twojapka-icon-img {
  width: 80px;
  height: auto;
  margin: 0 auto 15px;
  display: block;
}

.twojapka-icon-heading {
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.twojapka-icon-description {
  font-size: 14px;
  font-weight: 400;
  color: #666;
}

@media (max-width: 767px) {
  .twojapka-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .twojapka-icon-heading,
  .twojapka-icon-description {
    font-size: 13px;
  }
}

/* ACF section visibility toggles */
@media (max-width: 767px) {
  .twojapka-hide-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .twojapka-hide-tablet {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .twojapka-hide-desktop {
    display: none !important;
  }
}

.twojapka-carousel .flexy-item {
  max-width: 360px;
}

.flexy-arrow-prev,
.flexy-arrow-next {
  opacity: 0.65;
  transition: opacity 0.2s ease;
  backdrop-filter: blur(1px);
}

.products-pack {
  display: flex;
  gap: 0.5rem;
}

.ct-card-variation-swatches.variations_form {
  width: 100%;

  [data-swatches-type="button"] {
    --swatch-size: 36px;
  }
}

.comment_container {
  grid-template-columns: 1fr !important;

  .avatar.avatar-60.photo {
    display: none;
  }
}

.twojapka-featured-review .wrapper-shakal-icon .left-shakal-aurat {
  min-width: 48px;

  img {
    aspect-ratio: 1/1;
    width: 100%;
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
    object-position: center;
  }
}

.box-with-border {
  border-radius: 10px;
  border: 1px solid var(--wp--preset--color--card-border);
  padding: 0.5rem 0.3rem;
  transition: border-color 0.2s ease;
}

.box-with-border:hover {
  border-color: var(--wp--preset--color--primary);
}

.comment-text .woocommerce-review__dash,
.comment-text .woocommerce-review__published-date {
  display: none;
}

/* ==========================================================================
   Modyfikacje WooCommerce
   ========================================================================== */

.header__cart .cart-contents {
  display: block !important;
}

/* Ikona koszyka w nawigacji - większy rozmiar */
.header__cart .cart-contents .fe-shopping-cart {
  font-size: 1.5rem !important; /* fs-2 equivalent */
  display: block;
}

.navbar {
  .navbar-brand {
    padding-bottom: 0;

    .custom-logo {
      max-height: 70px;
      max-width: 70px;
      object-fit: contain;
    }
  }
  .navbar-nav i {
    height: 48px;
  }

  #menu-menu-header.navbar-nav {
    margin-left: auto;
  }
}

/* ============================================
   BLOG SIDEBAR WIDGET STYLES
   ============================================ */

/* Główny kontener widgetu */
.blog-sidebar-widget {
  background: #fff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Nagłówki sekcji */
.blog-sidebar-widget .widget-section-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #754ffe;
  color: #1e293b;
}

/* Ostatnie wpisy */
.blog-sidebar-widget .recent-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-sidebar-widget .recent-post-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.blog-sidebar-widget .recent-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.blog-sidebar-widget .recent-post-item:first-child {
  padding-top: 0;
}

.blog-sidebar-widget .recent-post-thumbnail {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 0.375rem;
  overflow: hidden;
}

.blog-sidebar-widget .recent-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-sidebar-widget .recent-post-item:hover .recent-post-thumbnail img {
  transform: scale(1.05);
}

.blog-sidebar-widget .recent-post-content {
  flex: 1;
  min-width: 0;
}

.blog-sidebar-widget .recent-post-title {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-sidebar-widget .recent-post-title a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-sidebar-widget .recent-post-title a:hover {
  color: #754ffe;
}

.blog-sidebar-widget .recent-post-date {
  font-size: 0.8125rem;
  color: #64748b;
  margin-top: 0.25rem;
}

/* Lista kategorii */
.blog-sidebar-widget .categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-sidebar-widget .categories-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.blog-sidebar-widget .categories-list li:last-child {
  border-bottom: none;
}

.blog-sidebar-widget .categories-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #475569;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.blog-sidebar-widget .categories-list a:hover {
  color: #754ffe;
}

.blog-sidebar-widget .categories-list .cat-count {
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  border-radius: 1rem;
  transition: all 0.2s ease;
}

.blog-sidebar-widget .categories-list a:hover .cat-count {
  background: #754ffe;
  color: #fff;
}

/* Tagi */
.blog-sidebar-widget .tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-sidebar-widget .tags-cloud a {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.8125rem;
  border-radius: 0.25rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-sidebar-widget .tags-cloud a:hover {
  background: #754ffe;
  color: #fff;
}

/* Formularz wyszukiwania */
.blog-sidebar-widget .search-form-widget {
  display: flex;
  gap: 0;
}

.blog-sidebar-widget .search-form-widget .search-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-right: none;
  border-radius: 0.375rem 0 0 0.375rem;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.blog-sidebar-widget .search-form-widget .search-input:focus {
  border-color: #754ffe;
}

.blog-sidebar-widget .search-form-widget .search-button {
  padding: 0.75rem 1rem;
  background: #754ffe;
  color: #fff;
  border: 1px solid #754ffe;
  border-radius: 0 0.375rem 0.375rem 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.blog-sidebar-widget .search-form-widget .search-button:hover {
  background: #5c3fd3;
  border-color: #5c3fd3;
}

.blog-sidebar-widget .search-form-widget .search-button i {
  font-size: 1rem;
}

/* Responsywność */
@media (max-width: 991.98px) {
  .blog-sidebar-widget {
    margin-top: 2rem;
  }
}

@media (max-width: 575.98px) {
  .blog-sidebar-widget .recent-post-thumbnail {
    width: 60px;
    height: 60px;
  }

  .blog-sidebar-widget .recent-post-title {
    font-size: 0.875rem;
  }
}

.tutor-course-entry-box-login {
  margin-left: 1.5rem;
}

.product__thumbnail.card-img-top img {
  /* max-height: 250px; */
  object-fit: contain;
  height: 100%;
  /* object-position: top; */
}

.product__thumbnail.card-img-top img:hover {
  object-fit: contain;
}

.tutor-course-single-content-wrapper {
  background: #e2e8f0;
}

.tutor-quiz-btn-grp {
  @media (min-width: 576px) {
    margin-top: 1rem;
  }
}

.wp-block-navigation.items-justified-center.is-vertical,
nav.wp-block-navigation {
  @media screen and (min-width: 767px) {
    --navigation-layout-align: start !important;
    justify-items: start !important;
    align-items: start !important;
  }
}

.footer-links {
  @media screen and (min-width: 767px) {
    --navigation-layout-direction: row !important;
  }
}

.ct-panel-actions .ct-toggle-close svg {
  height: 22px;
  width: 22px;
  fill: #fff;
}
