/* ===========================
   GAYA – SINGLE PRODUCT
   =========================== */
.sovea-shop-sidebar {display: none !important;}
.gaya-product-hero {
    padding: 80px 0 60px;
    background: #ffffff;
}

.gaya-product-hero .container {
    max-width: 1200px;
    margin: 0 auto;
}

.gaya-product-hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr;
    gap: 60px;
    align-items: flex-start;
}

/* Galeria */
.gaya-product-gallery {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

/* Wyłączenie zoom trigger (ikona lupki) */
.woocommerce-product-gallery .woocommerce-product-gallery__trigger,
.gaya-product-gallery .woocommerce-product-gallery__trigger {
    display: none !important;
}

/* Główne zdjęcie — pełna szerokość w kontenerze galerii */
.gaya-product-gallery .woocommerce-product-gallery {
    margin: 0;
    padding: 0;
    position: relative;
}

.gaya-product-gallery .woocommerce-product-gallery__wrapper {
    margin: 0;
}

.gaya-product-gallery .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    cursor: default;
}

/* Wyłącz cursor zoom na głównym zdjęciu */
.gaya-product-gallery .woocommerce-product-gallery--with-images .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image,
.gaya-product-gallery .woocommerce-product-gallery .zoomImg {
    cursor: default !important;
}
.gaya-product-gallery .zoomImg {
    display: none !important;
}

/* Miniatury galerii — poziomy rząd */
.gaya-product-gallery .flex-control-thumbs {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 16px;
    padding: 0;
    list-style: none;
    justify-content: flex-start;
    overflow-x: auto;
}

.gaya-product-gallery .flex-control-thumbs li {
    flex: 0 0 auto;
    width: 72px !important;
    height: 72px;
    margin: 0 !important;
    padding: 0;
}

.gaya-product-gallery .flex-control-thumbs li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s ease;
    opacity: 0.6;
}

.gaya-product-gallery .flex-control-thumbs li img:hover,
.gaya-product-gallery .flex-control-thumbs li img.flex-active {
    border-color: #222522;
    opacity: 1;
}

/* Ukryj numerację Kadence jeśli obecna */
.gaya-product-gallery .flex-control-thumbs li::before,
.gaya-product-gallery .flex-control-thumbs li::marker {
    display: none !important;
    content: none !important;
}

/* Strzałki nawigacyjne galerii */
.gaya-product-gallery .flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gaya-product-gallery .flex-direction-nav a {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #222;
    font-size: 0;
    text-decoration: none;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s ease, background 0.2s ease;
}

.gaya-product-gallery:hover .flex-direction-nav a {
    opacity: 1;
}

.gaya-product-gallery .flex-direction-nav a:hover {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.gaya-product-gallery .flex-direction-nav a.flex-prev {
    left: 12px;
}

.gaya-product-gallery .flex-direction-nav a.flex-next {
    right: 12px;
}

/* Strzałki SVG via pseudo-element */
.gaya-product-gallery .flex-direction-nav a::after {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    border-right: 2.5px solid #222;
    border-bottom: 2.5px solid #222;
}

.gaya-product-gallery .flex-direction-nav a.flex-prev::after {
    transform: rotate(135deg);
    margin-left: 3px;
}

.gaya-product-gallery .flex-direction-nav a.flex-next::after {
    transform: rotate(-45deg);
    margin-right: 3px;
}

/* Ukryj strzałki na disabled (pierwszy/ostatni slide) */
.gaya-product-gallery .flex-direction-nav a.flex-disabled {
    opacity: 0 !important;
    pointer-events: none;
}

/* Prawa kolumna */
.gaya-product-summary {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.gaya-product-title-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 8px;
}

.gaya-product-eco-points {
    flex-shrink: 0;
    margin-top: 4px;
}

.gaya-product-summary .product_title {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.gaya-product-meta-small {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #7b7f7c;
    margin: 0 0 12px;
}
.gaya-product-eco-points__badge::before {
    content: "";
    background-image: url(assets/img/lisc.png);
    height: 23px;
    width: 24px;
    top: -1px;
    position: relative;
}
.gaya-product-eco-points__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e3f6dd;
    color: #3a7c2d;
    font-size: 11px;
    font-weight: 500;
}

.gaya-product-shortdesc {
    font-size: 13px;
    line-height: 1.5;
    color: #4e554f;
    margin: 0 0 18px;
}

/* Toggle subskrypcji */
.gaya-subscription-toggle {
    display: inline-flex;
    border-radius: 999px;
    background: #f1f3f1;
    padding: 4px;
    margin-bottom: 16px;
}

.gaya-subscription-toggle__btn {
    border: none;
    background: transparent;
    font-size: 12px;
    padding: 6px 16px;
    border-radius: 999px;
    cursor: pointer;
    color: #5c635e;
    transition: background .2s, color .2s;
}

.gaya-subscription-toggle__btn.is-active {
    background: #222522;
    color: #ffffff;
}

/* Pasek subskrypcji */
.gaya-subscription-box {
    border-radius: 16px;
    border: 1px solid #4fce78;
    background: #f1fff6;
    padding: 14px 18px 12px;
    margin-bottom: 14px;
    display: none;
}

.gaya-subscription-box.is-visible {
    display: block;
}

.gaya-subscription-box__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.gaya-subscription-box__badge {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 999px;
    background: #4fce78;
    color: #ffffff;
}

.gaya-subscription-box__price {
    font-size: 14px;
    font-weight: 600;
    color: #222522;
}

.gaya-subscription-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11px;
    color: #4e554f;
    margin-bottom: 8px;
}

.gaya-subscription-perks span::before {
    content: "•";
    margin-right: 4px;
}

/* Dostawa co */
.gaya-subscription-delivery {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #222522;
}

.gaya-subscription-delivery__select {
    position: relative;
}

.gaya-subscription-delivery__select select {
    border-radius: 999px;
    border: 1px solid #b7d6c1;
    background: #ffffff;
    padding: 5px 28px 5px 14px;
    font-size: 12px;
    appearance: none;
}

.gaya-subscription-delivery__chevron {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    pointer-events: none;
}

/* Jednorazowy zakup */
.gaya-one-time-box {
    border-radius: 999px;
    background: #f2f2f2;
    padding: 7px 14px;
    margin-bottom: 12px;
}

.gaya-one-time-box__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.gaya-one-time-box__label {
    color: #222522;
}

.gaya-one-time-box__price {
    font-weight: 600;
}

/* Koszyk */
.gaya-product-cart .single_add_to_cart_button {
    width: 100%;
    border-radius: 999px;
    background: #000000;
    color: #ffffff;
    font-size: 13px;
    padding: 12px 20px;
    text-transform: none;
}

/* ===========================
   PASEK BENEFITÓW – 1:1 JAK NA MAKIETACH
   =========================== */

.gaya-product-shipping-benefits {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    padding: 10px 4px 0;
    margin: 0 0 10px;
    font-size: 11px;
    color: #6a706b;
}

.gaya-product-shipping-benefits li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.gaya-benefit-icon img {
    display: block;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.gaya-benefit-label {
    line-height: 1;
}

/* ===========================
   Lista cech produktu
   =========================== */

.gaya-product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    font-size: 14px;
    color: #323632;
}

.gaya-product-features li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 4px;
}

.gaya-product-features li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 13px;
    color: #4fce78;
}

/* Cena per użycie — wyróżniony punkt */
.gaya-product-features__cpu {
    font-weight: 600;
    color: #222522;
    font-size: 15px;
    margin-bottom: 6px;
}

/* Ikonki lisc + zaufanie */
.gaya-product-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.gaya-product-icon {
    width: 80px;
    height: 80px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gaya-product-icon img {
    max-height: 72px;
    max-width: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Zielony box z info */
.gaya-product-eco-note {
    background: #e4f6dd;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #385932;
    margin-bottom: 14px;
}

/* Akordeon */
.gaya-product-accordion {
	 border-radius: 8px;
    font-size: 14px;
}

.gaya-accordion-item + .gaya-accordion-item {
    border-top: 1px solid #e1e3e1;
}

.gaya-accordion-item__header {
    width: 100%;
    padding: 9px 12px;
    border: none;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.gaya-accordion-item__header:hover,
.gaya-accordion-item__header:focus {
    background: #f5f5f3;
    outline: none;
}

.gaya-accordion-item__header span:first-child {
    font-weight: 500;
    color: #222522;
}

.gaya-accordion-item__icon {
    font-size: 14px;
    color: #868b87;
    transition: transform .2s;
}

.gaya-accordion-item.is-open .gaya-accordion-item__icon {
    transform: rotate(45deg);
}

.gaya-accordion-item__content {
    display: none;
    padding: 0 12px 10px;
    font-size: 15px;
    color: #555b56;
}

/* FAQ w akordeonach */
.gaya-faq-content h4 {
    font-size: 15px;
    font-weight: 500;
    color: #222522;
    margin: 14px 0 4px;
    line-height: 1.4;
}

.gaya-faq-content h4:first-child {
    margin-top: 0;
}

.gaya-faq-content p {
    margin: 0 0 0;
    color: #555b56;
    line-height: 1.55;
}

/* Karta charakterystyki – subtelny link */
.gaya-product-purchase a.gaya-kch-download,
.gaya-product-purchase a.gaya-kch-download:visited,
.gaya-product-purchase a.gaya-kch-download:link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    font-size: 11px !important;
    font-weight: 400 !important;
    color: #a3a9a4 !important;
    text-decoration: none !important;
    text-align: left;
    letter-spacing: 0.01em;
}

.gaya-product-purchase a.gaya-kch-download:hover {
    color: #6b726c !important;
    text-decoration: none !important;
}

.gaya-product-purchase a.gaya-kch-download svg {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    opacity: 0.7;
}

/* ===========================
   Sekcja "Nasze podejście"
   =========================== */
.gaya-product-approach {
    padding: 60px 0 40px;
    background: #ffffff;
}
.gaya-product-approach .container{
 	 max-width: 1200px;
    margin: 0 auto;
    }
.section-header--center {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #111211;
}

.gaya-approach-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.gaya-approach-card {
    background: #FAFAFA;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.04);
    padding: 22px 20px;
    font-size: 12px;
    line-height: 1.6;
    color: #4c5250;
}

.gaya-approach-card h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 6px;
}

/* ===========================
   Inni kupili również
   =========================== */
.gaya-product-related {
    max-width: 1060px;
    margin: 30px auto 40px;
    padding: 0 24px;
    background: #ffffff;
    box-sizing: border-box;
}

/* Hide WooCommerce default "Podobne produkty" heading (we use our own "Inni kupili również") */
.gaya-product-related .related.products > h2 {
    display: none;
}

/* Constrain product grid within related section */
.gaya-product-related .related.products {
    max-width: 100%;
}

.gaya-product-related ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.gaya-product-related ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* Button overrides moved to end of file for specificity (after general .gaya-card__btn) */

/* Product image in related — Figma-aligned */
.gaya-product-related ul.products li.product .gaya-card__media {
    display: block !important;
    min-height: 0 !important;
    max-height: 260px !important;
    height: 260px !important;
    width: 100% !important;
    flex: 0 0 260px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f3f4f4;
    border-radius: 14px;
    overflow: visible !important;
    position: relative;
    box-sizing: border-box !important;
}

.gaya-product-related ul.products li.product .gaya-card__img {
    display: block !important;
    min-height: 0 !important;
    height: 110% !important;
    width: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    padding: 0 12px;
    margin: 0 !important;
    position: relative;
    bottom: 10%;
    box-sizing: border-box;
}

/* Smaller title/meta/price in related */
.gaya-product-related .gaya-card__title,
.gaya-product-related h3.gaya-card__title {
    font-size: 14px !important;
}

.gaya-product-related .gaya-card__meta {
    font-size: 12px !important;
    color: #888 !important;
}

.gaya-product-related .gaya-card__price {
    font-size: 13px !important;
}

/* Tighter card layout in related — full-height flex for alignment */
.gaya-product-related ul.products li.product .gaya-card {
    gap: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.gaya-product-related ul.products li.product .gaya-card__body {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 12px 0 0 0 !important;
    margin: 0 !important;
}

.gaya-product-related ul.products li.product .gaya-card__row {
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 768px) {
    .gaya-product-related ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .gaya-product-related .gaya-card__media {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .gaya-product-related ul.products li.product .gaya-card__img {
        object-fit: cover !important;
        height: 100% !important;
        padding: 0 !important;
        bottom: 0 !important;
    }
}

/* ===========================
   Story slider (packshoty)
   =========================== */
#gaya-product-story-slider {
    padding: 0 60px 80px;
    background: #ffffff;
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
}

#gaya-product-story-slider .gaya-story-slide__inner {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    max-width: 100%;
}

#gaya-product-story-slider .gaya-story-slide__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#gaya-product-story-slider .gaya-story-slide__overlay {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    padding: 48px 60px;
}

#gaya-product-story-slider .gaya-story-slide__text h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    line-height: 1.5;
    color: #fff;
    max-width: 420px;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

#gaya-product-story-slider .gaya-story-slide__btn {
    display: inline-flex;
    margin-top: 20px;
    padding: 10px 26px;
    border-radius: 999px;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: background 0.2s, transform 0.2s;
}

#gaya-product-story-slider .gaya-story-slide__btn:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

/* Strzałki — poza sliderem */
.gaya-product-story-arrows {
    position: absolute;
    top: 50%;
    left: -52px;
    right: -52px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.gaya-product-story-arrow {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    color: #999;
    cursor: pointer;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.2s;
}

.gaya-product-story-arrow:hover {
    color: #333;
}

.gaya-product-story-arrow svg {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.gaya-product-story-arrow::before {
    display: none !important;
}

/* ===========================
   RESPONSYWNOŚĆ
   =========================== */

@media (max-width: 960px) {
    .gaya-product-hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .gaya-product-eco-points__badge {width: auto; left: 0; position: relative; font-size: 11px; padding: 3px 8px;}
    .gaya-product-title-row {flex-wrap: wrap; overflow: hidden;}
    .gaya-product-eco-points {flex-shrink: 1; min-width: 0;}
    .gaya-product-hero__inner {
        gap: 16px !important;
    }
    .gaya-product-gallery,
    .gaya-product-summary {
        border-radius: 0;
        padding: 0;
        max-width: 420px;
        margin: 0 auto;
    }
    .gaya-product-gallery .flex-control-thumbs li {
        width: 56px !important;
        height: 56px;
    }

    .gaya-approach-grid {
        grid-template-columns: 1fr;
    }

    #gaya-product-story-slider .gaya-story-slide__overlay {
        grid-template-columns: 1fr;
        padding: 28px 20px;
    }
    #gaya-product-story-slider .gaya-story-slide__text h2 {
        font-size: 1.1rem;
    }
    .gaya-product-story-arrow {
        width: 32px;
        height: 32px;
    }
    .gaya-product-story-arrow svg {
        width: 18px;
        height: 18px;
    }
    .gaya-plan__left {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      top: 0;
      position: relative;
    }

    /* 1. Reduce top padding on product hero + side padding */
    .gaya-product-hero {
        padding: 16px 20px 32px !important;
    }

    /* 2. Reduce gap between accordion and "Nasze podejście" */
    .gaya-product-approach {
        padding: 24px 0 24px !important;
    }

    /* 3. Summary full width with side padding on mobile */
    .gaya-product-summary {
        max-width: 100% !important;
        padding: 0 20px !important;
    }
}
/* ===========================
   GAYA – karta produktu: subskrypcja 1:1 z makietą
   =========================== */

/* kontener planów */
.gaya-product-purchase {
    margin: 18px 0 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* wspólna rama planu */
.gaya-plan {
    border-radius: 20px;
    border: 1px solid transparent;
    background: #f6f7f4;
    cursor: pointer;
    transition: border-color .2s, background .2s, box-shadow .2s;
}

.gaya-plan__inner {
    padding: 14px 16px 12px;
}

/* SUBSKRYPCJA – zielona karta */
.gaya-plan--subscription {
    border-color: #4fce78;
    background: #f1fff6;
    position: relative;
}

.gaya-plan--subscription.is-active {
    box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

/* JEDNORAZOWO – szara kapsuła */
.gaya-plan--onetime {
    border-color: #e3e6e1;
    background: #fafcf9;
}

/* top: radio + label + badge + cena */
.gaya-plan__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

/* uproszczony top – dolny plan */
.gaya-plan__top--simple {
    align-items: center;
}

/* lewa część (radio + tekst) */
.gaya-plan__left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* RADIO – puste kółko */
.gaya-plan__radio {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid #c2c8c1;
    box-sizing: border-box;
    position: relative;
}

/* wypełnienie aktywnego – pełne kółko */
.gaya-plan.is-active .gaya-plan__radio::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 999px;
    background: #222522;
}

/* etykieta planu */
.gaya-plan__label {
    font-size: 14px;
    font-weight: 500;
    color: #222522;
}

/* mała ikonka "i" */
.gaya-plan__info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 1px solid #cfd5cf;
    font-size: 11px;
    color: #656c66;
    margin-left: 4px;
}

/* prawa część (badge + cena) */
.gaya-plan__right {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.gaya-plan__badge {
    position: absolute;
    top: -11px;
    right: 16px;
    z-index: 1;
}
.gaya-plan__badge > .textp {
    padding: 3px 12px;
    border-radius: 999px;
    background: #73C352;
    font-size: 11px;
    font-weight: 500;
    color: white;
    white-space: nowrap;
}

.gaya-plan__price {
    font-size: 16px;
    font-weight: 600;
    color: #222522;
}

/* lista benefitów */
.gaya-plan__perks {
    margin: 8px 0 4px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    font-size: 12px;
    color: #4e554f;
    margin: 0 auto;
}

.gaya-plan__perks li::before {
    content: "✓ ";
    color: #4fce78;
    font-weight: 600;
}

/* Dostawa co */
.gaya-plan__delivery {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    font-size: 12px;
    color: #4e554f;
}

.gaya-plan__delivery-select {
    position: relative;
    min-width: 150px;
}

.gaya-plan__delivery-select select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 999px;
    border: 1px solid #e2e6e1;
    padding: 6px 28px 6px 12px;
    font-size: 12px;
    background: #ffffff;
    color: #424842;
}

.gaya-plan__delivery-chevron {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    pointer-events: none;
}

/* dolny plan – trochę ciaśniej */
.gaya-plan--onetime .gaya-plan__inner {

}
/* ── Quantity stepper: capsule [ − | 1 | + ] ── */
body.single-product .gaya-product-cart form.cart {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

body.single-product .gaya-product-cart form.cart::before,
body.single-product .gaya-product-cart form.cart::after {
    display: none;
}

body.single-product .gaya-product-cart div.quantity {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0;
    float: none !important;
    clear: none !important;
    border: 1px solid #E5E5E5 !important;
    border-radius: 999px;
    overflow: hidden;
    width: fit-content !important;
    max-width: fit-content !important;
    margin: 0 !important;
    height: 44px;
    background: #fff;
    padding: 0 !important;
}

body.single-product .gaya-product-cart .quantity label {
    display: none !important;
}

body.single-product .gaya-product-cart .input-text.qty.text,
body.single-product .gaya-product-cart input.qty {
    border: none !important;
    width: 48px !important;
    min-width: 48px;
    max-width: 48px;
    flex: 0 0 48px;
    text-align: center;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    background: transparent !important;
    color: #0a0a0a;
    height: 100%;
    border-radius: 0 !important;
    -moz-appearance: textfield;
    -webkit-appearance: none;
    appearance: none;
}
body.single-product .gaya-product-cart input[type="number"]::-webkit-inner-spin-button,
body.single-product .gaya-product-cart input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    margin: 0;
    display: none !important;
}

body.single-product .gaya-product-cart .gaya-qty-btn {
    border: none;
    background: transparent;
    color: #555;
    width: 44px;
    height: 44px;
    font-size: 18px;
    line-height: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
    flex-shrink: 0;
}

body.single-product .gaya-product-cart .gaya-qty-btn:hover {
    color: #111;
    background: #f5f5f3;
}

body.single-product .gaya-product-cart .gaya-qty-divider {
    width: 1px;
    height: 22px;
    background: #E5E5E5;
    flex-shrink: 0;
}

body.single-product .gaya-product-cart .single_add_to_cart_button {
    border-radius: 999px;
    padding: 14px 26px;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
    text-align: center;
    letter-spacing: 0.02em;
}

.single_add_to_cart_button.button.alt { background-color: black !important; }
/* hover */
.gaya-plan:hover {
    box-shadow: 0 10px 24px rgba(0,0,0,0.04);
}

/* responsywność */
@media (max-width: 768px) {
    .gaya-plan__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .gaya-plan__right {
        align-self: flex-start;
    }
}
#kadence-breadcrumbs{display: none !important;}
/* ===========================
   GAYA – toast po dodaniu do koszyka
   =========================== */

.gaya-cart-toast {
    position: fixed;
    top: 80px;
    right: 40px;
    z-index: 9999;
    max-width: 420px;
    width: 100%;
    pointer-events: none; /* żeby nie blokować kliknięć poza kartą */
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.gaya-cart-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.gaya-cart-toast__inner {
    position: relative;
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.12);
    padding: 24px 28px 24px;
}

/* X w prawym górnym rogu */
.gaya-cart-toast__close {
    position: absolute;
    top: 16px;
    right: 18px;
    border: 0;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

/* Nagłówek: "Produkt dodany do Twojego koszyka" */
.gaya-cart-toast__title {
    font-size: 16px;
    font-weight: 500;
    margin: 0 32px 18px 0;
}

/* Sekcja z produktem */
.gaya-cart-toast__body {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.gaya-cart-toast__thumb {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gaya-cart-toast__thumb img {
    max-width: 100%;
    height: auto;
    display: block;
}

.gaya-cart-toast__info {
    flex: 1;
    min-width: 0;
}

.gaya-cart-toast__name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.gaya-cart-toast__meta {
    font-size: 13px;
    color: #777777;
    margin-bottom: 4px;
}

.gaya-cart-toast__price {
    font-size: 14px;
    font-weight: 500;
}

/* Przyciski */
.gaya-cart-toast__actions {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.gaya-cart-toast__btn {
    flex: 1;
    text-align: center;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #000000;
    cursor: pointer;
}

/* Lewy: biały z czarną ramką */
.gaya-cart-toast__btn--outline {
    background: #FFFFFF;
    color: #000000;
}

/* Prawy: czarny button */
.gaya-cart-toast__btn--primary {
    background: #000000;
    color: #FFFFFF;
}

/* Hovery */
.gaya-cart-toast__btn--outline:hover {
    background: #000000;
    color: #FFFFFF;
}

.gaya-cart-toast__btn--primary:hover {
    background: #111111;
}

/* Responsywność – na mobile przesuwamy niżej i na środek */
@media (max-width: 768px) {
    .gaya-cart-toast {
        top: auto;
        right: 16px;
        left: 16px;
        bottom: 16px;
        max-width: none;
    }
}


/* =========================================================
   GAYA – PRODUCT TILE (Figma 1:1) + disable Kadence hover
   Scope: shop loops (archive, shortcode products, frontpage)
   ========================================================= */

/* Neutralize Kadence loop hover/overlay so layout never jumps */
.woocommerce ul.products li.product.entry.loop-entry,
.woocommerce ul.products li.product.loop-entry,
.woocommerce ul.products li.product.entry {
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
}
.woocommerce ul.products li.product.entry.loop-entry:hover,
.woocommerce ul.products li.product.loop-entry:hover,
.woocommerce ul.products li.product.entry:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Some Kadence installs move CTA into action wrapper / hide it on hover */
.woocommerce ul.products li.product .product-action-wrap,
.woocommerce ul.products li.product .kadence-product-action-wrap {
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
    transform: none !important;
    height: auto !important;
}

/* Reset Kadence inherited styles on product li */
.woocommerce ul.products li.product.gaya-loop-product {
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

/* Card – Figma: 20px gap between image and body */
.woocommerce ul.products li.product .gaya-card {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Media – Figma-based, solid bg for consistent look across homepage & shop */
.woocommerce ul.products li.product .gaya-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f3;
    border-radius: 12px;
    padding: 0;
    aspect-ratio: 1 / 1;
    text-align: center;
    margin-bottom: 0;
    box-shadow: none;
    overflow: hidden;
}
.woocommerce ul.products li.product .gaya-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Body */
.woocommerce ul.products li.product .gaya-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
    padding: 0 !important;
    margin: 0 !important;
}

/* Row: title/meta on left, price on right (Figma) */
.woocommerce ul.products li.product .gaya-card__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    padding: 0 !important;
    margin: 0 !important;
}
.woocommerce ul.products li.product .gaya-card__left {
    flex: 1;
    min-width: 0;
    padding: 0;
    margin: 0;
}
.woocommerce ul.products li.product .gaya-card__right {
    flex-shrink: 0;
}

/* Title – Figma: Aspekta 600, 18px, #2e2e2e */
.woocommerce ul.products li.product .gaya-card__title,
.woocommerce ul.products li.product h3.gaya-card__title {
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    color: #2e2e2e;
}
.woocommerce ul.products li.product .gaya-card__title a {
    color: inherit;
    text-decoration: none;
}
.woocommerce ul.products li.product .gaya-card__title a:hover {
    text-decoration: underline;
}

/* Meta – Figma: Aspekta 400, 16px, #979797 */
.woocommerce ul.products li.product .gaya-card__meta {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    color: #979797;
    margin: 8px 0 0 0;
    padding: 0;
}

/* Price – Figma: Aspekta 350→400, 16px, #2e2e2e */
.woocommerce ul.products li.product .gaya-card__price {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    color: #2e2e2e;
    margin: 0;
    padding-top: 0;
}
.woocommerce ul.products li.product .gaya-card__price .amount {
    font-weight: 400;
}

/* Hover – no layout changes (Figma) */
.woocommerce ul.products li.product .gaya-card__media:hover {
    box-shadow: none;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .woocommerce ul.products li.product .gaya-card { padding: 0; }
    .woocommerce ul.products li.product .gaya-card__media {
        padding: 0;
        min-height: 0;
    }
    .woocommerce ul.products li.product .gaya-card__img {
        min-height: 0;
    }
    /* 2 kolumny na mobile */
    .frontpage .section-bestsellers ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .frontpage .section-bestsellers .gaya-card__title {
        font-size: 14px !important;
    }
    .frontpage .section-bestsellers .gaya-card__meta {
        font-size: 12px !important;
    }
    .frontpage .section-bestsellers .gaya-card__price {
        font-size: 13px !important;
    }
    .woocommerce ul.products li.product .gaya-card__title {
        font-size: 15px;
    }
    .woocommerce ul.products li.product .gaya-card__meta {
        font-size: 14px;
        margin-top: 6px;
    }
    .woocommerce ul.products li.product .gaya-card__price {
        font-size: 14px;
    }
}




/* =========================================================
   GAYA – LOOP ADD TO CART (Figma button + koszyk-bialy.png)
   ========================================================= */

.woocommerce ul.products li.product .gaya-card__cta {
    margin-top: auto;
    padding-top: 14px;
}

/* "Do koszyka" — outline */
.woocommerce ul.products li.product .gaya-card__btn,
.woocommerce ul.products li.product a.button.gaya-card__btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 22px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #2b2b2b !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    outline: none !important;
    margin-bottom: 7px !important;
    transition: border-color 0.15s ease, background 0.15s ease !important;
}

.woocommerce ul.products li.product .gaya-card__btn:hover,
.woocommerce ul.products li.product a.button.gaya-card__btn:hover {
    border-color: #2b2b2b !important;
    background: #fafafa !important;
}

/* "Kup i zapłać" — green (newsletter style) */
.woocommerce ul.products li.product .gaya-card__btn--quick,
.woocommerce ul.products li.product a.button.gaya-card__btn--quick {
    background: #c3e0ba !important;
    color: #151515 !important;
    border: 1px solid #c3e0ba !important;
}

.woocommerce ul.products li.product .gaya-card__btn--quick:hover,
.woocommerce ul.products li.product a.button.gaya-card__btn--quick:hover {
    background: #b5d6aa !important;
    border-color: #b5d6aa !important;
}

/* Cart icon — dark for outline btn */
.woocommerce ul.products li.product .gaya-card__btn::before {
    content: "" !important;
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    background-image: url("assets/img/koszyk.png");
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    flex-shrink: 0 !important;
}

/* Cart icon — dark for green filled btn */
.woocommerce ul.products li.product .gaya-card__btn--quick::before {
    background-image: url("assets/img/koszyk.png") !important;
}

/* Hide WooCommerce default "View cart" link after AJAX add-to-cart */
.woocommerce ul.products li.product a.added_to_cart {
    display: none !important;
}

 #customer_details.gaya-checkout__details{display: block;}

/* =========================================================
   GAYA – LOOP: clean reset (no padding on body, flush with image edge)
   ========================================================= */
.woocommerce ul.products li.product .gaya-card__body,
.woocommerce ul.products li.product .gaya-card_body {
  padding: 0 !important;
  margin: 0 !important;
}

/* =========================================================
   GAYA – PRODUCT PAGE: flat layout override (no cards/shadows)
   Nadpisuje wszelkie inline styles / Kadence defaults
   ========================================================= */
body.single-product .gaya-product-hero {
    background: #ffffff !important;
}
body.single-product .gaya-product-gallery {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}
body.single-product .gaya-product-summary {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}
body.single-product .gaya-product-gallery .woocommerce-product-gallery__image img {
    border-radius: 8px;
    background: #f5f5f5;
}

/* =========================================================
   GAYA – RELATED PRODUCTS: button + card overrides
   Must be AFTER general .gaya-card__btn styles for specificity
   ========================================================= */

.gaya-product-related .gaya-card__cta {
    margin-top: auto !important;
    padding-top: 6px;
    gap: 5px;
    display: flex;
    flex-direction: column;
}

.gaya-product-related ul.products li.product .gaya-card__btn,
.gaya-product-related ul.products li.product a.button.gaya-card__btn {
    height: 32px !important;
    font-size: 11px !important;
    padding: 0 14px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    gap: 6px !important;
    background: transparent !important;
    color: #2b2b2b !important;
    border: 1.5px solid #d0d0d0 !important;
    box-shadow: none !important;
    font-weight: 500 !important;
    transition: border-color 0.15s, background 0.15s;
}

.gaya-product-related ul.products li.product .gaya-card__btn:hover,
.gaya-product-related ul.products li.product a.button.gaya-card__btn:hover {
    border-color: #2b2b2b !important;
    background: #fafafa !important;
}

.gaya-product-related ul.products li.product .gaya-card__btn::before {
    width: 14px !important;
    height: 14px !important;
    filter: brightness(0) !important;
}

/* Related: "Kup i zapłać" — green override */
.gaya-product-related ul.products li.product .gaya-card__btn--quick,
.gaya-product-related ul.products li.product a.button.gaya-card__btn--quick {
    background: #c3e0ba !important;
    color: #151515 !important;
    border: 1px solid #c3e0ba !important;
}

.gaya-product-related ul.products li.product .gaya-card__btn--quick:hover,
.gaya-product-related ul.products li.product a.button.gaya-card__btn--quick:hover {
    background: #b5d6aa !important;
    border-color: #b5d6aa !important;
}
