/* ========================================
   PDF TAB
======================================== */

.protekon-pdf-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 20px;
}

.protekon-pdf-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    width: 280px;
    min-height: 320px;
    padding: 24px 20px;
    background: #f5f4f1;
    border: 1px solid #eceae5;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.protekon-pdf-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.protekon-pdf-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    min-height: 190px;
}

.protekon-pdf-card__image {
    display: block;
    max-width: 120px;
    height: auto;
}

.protekon-pdf-card__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 140px;
    background: #ff2954;
    border-radius: 14px;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.protekon-pdf-card__title {
    width: 100%;
    margin-top: 22px;
    color: #222;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
    word-break: break-word;
}
/* ========================================
   PRODUCT CATEGORIES WIDGET
   Widget CSS Class: protekon-product-cats
======================================== */

#content .protekon-product-cats ul,
#content .protekon-product-cats li {
    margin: 0;
    padding: 0;
    list-style: none !important;
}

/* Tema pseudo element saçmalıklarını temizle */
#content .protekon-product-cats ul.product-categories li::before,
#content .protekon-product-cats ul.product-categories li::after,
#content .protekon-product-cats ul.product-categories li > a::after {
    content: none !important;
    display: none !important;
}

/* Ana liste */
#content .protekon-product-cats ul.product-categories {
    margin: 0;
    padding: 0;
}

/* Ana kategori item */
#content .protekon-product-cats ul.product-categories > li {
    position: relative;
    margin-bottom: 14px;
    list-style: none !important;
    font-size: 16px !important;
}

/* Ana kategori link */
#content .protekon-product-cats ul.product-categories > li > a {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #1f2a44;
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: 0.22s ease;
}

/* Ana kategori hover */
#content .protekon-product-cats ul.product-categories > li > a:hover {
    color: #0d3b66;
}

/* Sağda ekstra ok basılmasını engelle */
#content .protekon-product-cats ul.product-categories > li.cat-parent > a::after {
    content: none !important;
    display: none !important;
}

/* Alt kategori alanı */
#content .protekon-product-cats ul.product-categories .children {
    margin-top: 8px;
    margin-left: 14px;
    padding-left: 10px;
    border-left: 2px solid #e8edf3;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    max-height: 0;
    overflow: hidden;

    transition:
        opacity 0.28s ease,
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        max-height 0.35s ease,
        visibility 0s linear 0.32s;
}

/* Hover veya aktif sayfada aç */
#content .protekon-product-cats ul.product-categories > li.cat-parent:hover > .children,
#content .protekon-product-cats ul.product-categories > li.cat-parent:focus-within > .children,
#content .protekon-product-cats ul.product-categories > li.current-cat > .children,
#content .protekon-product-cats ul.product-categories > li.current-cat-parent > .children {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    max-height: 500px;
    transition:
        opacity 0.28s ease,
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        max-height 0.35s ease,
        visibility 0s linear 0s;
}

/* Alt kategori item */
#content .protekon-product-cats ul.product-categories .children li {
    position: relative;
    margin: 6px 0;
    list-style: none !important;
    font-size: 14px !important;
}

/* Tema alt kategori ok/icon'unu kapat */
#content .protekon-product-cats ul.product-categories .children li > a::before {
    content: none !important;
    display: none !important;
}

/* Alt kategori link */
#content .protekon-product-cats ul.product-categories .children li > a {
    display: block;
    position: relative;
    padding-left: 12px;
    color: #4a5568;
    font-size: 14px !important;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
    transition: 0.22s ease, transform 0.22s ease;
}

/* Alt kategori çizgisi */
#content .protekon-product-cats ul.product-categories .children li > a::after {
    content: "" !important;
    display: block !important;
    position: absolute;
    left: -10px;
    top: 50%;
    width: 6px;
    height: 1px;
    background: #d6dde6;
    transform: translateY(-50%);
}

/* Alt kategori hover */
#content .protekon-product-cats ul.product-categories .children li > a:hover {
    color: #0d3b66;
    transform: translateX(2px);
}

/* İç içe parent olsa bile tema ikonlarını kapat */
#content .protekon-product-cats ul.product-categories .children li.cat-parent > a::before,
#content .protekon-product-cats ul.product-categories .children li.cat-parent > a::after {
    content: none !important;
    display: none !important;
}

/* Aktif kategori */
#content .protekon-product-cats ul.product-categories .current-cat > a,
#content .protekon-product-cats ul.product-categories .current-cat-parent > a {
    color: #0d3b66;
    font-weight: 700;
}

/* Aktif alt kategori */
#content .protekon-product-cats ul.product-categories .children .current-cat > a {
    color: #0d3b66;
    font-weight: 600;
}

#content .protekon-product-cats .widget-title {
    margin-bottom: 18px;
}

/* Mobil */
@media (max-width: 767px) {
    #content .protekon-product-cats ul.product-categories > li > a {
        font-size: 15px !important;
    }

    #content .protekon-product-cats ul.product-categories .children li > a {
        font-size: 13px !important;
    }

    /* Mobilde hover güvenilmez */
    #content .protekon-product-cats ul.product-categories > li.cat-parent:hover > .children {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(8px);
        max-height: 0;
    }

    #content .protekon-product-cats ul.product-categories > li.current-cat > .children,
    #content .protekon-product-cats ul.product-categories > li.current-cat-parent > .children {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        max-height: 500px;
    }
}

.woocommerce-product-gallery__image img {
	height: 500px !important;
    object-fit: contain;
}

.ct-showcase.layout1 .item-feature img{
	max-width:140px !important;
}

.woocommerce-product--title a {
	 display: -webkit-box;
  -webkit-line-clamp: 3; 
  -webkit-box-orient: vertical;
  overflow: hidden;
	min-height: 72px !important;
}

.woocommerce-sg-product-price{
	display:none !important;
}

.woocommerce .woocommerce-product-inner {
	display: flex;
    align-items: center;
    justify-content: center;
    height: 350px;
    background: #fff;
    overflow: hidden;
    flex-direction: column;
}

.woocommerce ul.products li.product a img {
	max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain !important;
}

.ct-carousel-inner .woocommerce-product-details img {
	aspect-ratio: 1/1;
	object-fit: contain;
}

.heading-custom .ct-heading .item--sub-title cite {
	color: #1565C0 !important;
}

/* ========================================
   CONTACT FORM - TEKLIF AL
======================================== */

.protekon-offer-form-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 48px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(10, 24, 64, 0.08);
    border: 5px solid #1565c04f;
}

.protekon-offer-form-head {
    margin-bottom: 32px;
}

.protekon-offer-form-head .offer-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(21, 66, 117, 0.08);
    color: #154275;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 16px;
}

.protekon-offer-form-head h2 {
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px;
}

.protekon-offer-form-head p {
    font-size: 16px;
    line-height: 1.7;
    color: #64748b;
    max-width: 760px;
    margin: 0;
}

.protekon-offer-form .input-filled {
    display: flex;
    flex-direction: column;
}

.protekon-offer-form .input-filled label {
    font-size: 14px;
    font-weight: 600;
    color: #154275;
    margin-bottom: 10px;
}

.protekon-offer-form .input-filled input,
.protekon-offer-form .input-filled textarea {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 18px;
    font-size: 15px;
    color: #0f172a;
    transition: all 0.25s ease;
    box-shadow: none;
}

.protekon-offer-form .input-filled textarea {
    min-height: 180px;
    resize: vertical;
}

.protekon-offer-form .input-filled input:focus,
.protekon-offer-form .input-filled textarea:focus {
    outline: none;
    border-color: #154275;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(21, 66, 117, 0.08);
}

.protekon-offer-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 6px;
	justify-content: center;
}

.protekon-offer-notes .offer-note-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 10px 16px;
}

.protekon-offer-notes .offer-note-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #154275;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.protekon-offer-notes .offer-note-item p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
}

.protekon-offer-form .input-filled-btn {
    margin-top: 2rem;
}

.protekon-offer-form .input-filled-btn input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 58px;
    padding: 0 28px;
    border: none;
    border-radius: 999px;
    background: #1565C0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 14px 30px rgba(21, 66, 117, 0.22);
}

.protekon-offer-form .input-filled-btn input[type="submit"]:hover {
    transform: translateY(-2px);
    background: #1b4f8f;
    box-shadow: 0 18px 34px rgba(21, 66, 117, 0.28);
}

.protekon-offer-form .wpcf7-spinner {
    margin-top: 14px;
}

.protekon-offer-form .wpcf7-not-valid-tip {
    font-size: 13px;
    margin-top: 8px;
}

.protekon-offer-form .wpcf7-response-output {
    margin: 20px 0 0 !important;
    border-radius: 14px;
    padding: 14px 18px !important;
    font-size: 14px;
}

@media (max-width: 991px) {
    .protekon-offer-form-wrap {
        padding: 36px 22px;
        border-radius: 18px;
    }

    .protekon-offer-form-head h2 {
        font-size: 28px;
    }

    .protekon-offer-form .input-filled-btn input[type="submit"] {
        width: 100%;
        min-width: unset;
    }
}

/* ========================================
   PRODUCT CATEGORIES MOBILE ACCORDION FIX
======================================== */

#content .protekon-product-cats ul.product-categories > li.cat-parent.is-open > .children {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    max-height: 500px;
    transition:
        opacity 0.28s ease,
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        max-height 0.35s ease,
        visibility 0s linear 0s;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 767px) {
    #content .protekon-product-cats ul.product-categories > li.cat-parent.is-open > .children {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
        max-height: 500px !important;
    }
}

@media (max-width: 767px) {
    .protekon-pdf-card {
        width: 100%;
        min-height: 260px;
    }

    .protekon-pdf-card__media {
        min-height: 140px;
    }

    #content .protekon-product-cats ul.product-categories > li > a {
        font-size: 15px !important;
    }

    #content .protekon-product-cats ul.product-categories .children li > a {
        font-size: 13px !important;
    }
}