
/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

.store-announcement {
    background: #ffcc00;
    padding: 5px;
    overflow: hidden; /* taşmayı gizle */
}

.scrolling-text {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%; /* baştan sağa taşma için başlangıç */
    animation: scrollText 12s linear infinite;
}

@keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.prad-block-upload-title.prad-d-flex.prad-item-center.prad-gap-4.prad-w-fit.prad-center-horizontal.prad-mb-12 {
    display: none;
}

.prad-mb-32.prad-mt-48.prad-product-price-summary {
    display: none;
}

/* Orijinal buton yazısını gizle */
.woocommerce-js ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
    color: transparent; /* yazıyı görünmez yap */
    position: relative;
}

/* Yeni yazıyı ortala */
.woocommerce-js ul.products li.product .button::after,
.woocommerce-page ul.products li.product .button::after {
    content: "Satın Al";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1em; /* buton yazısı boyutu */
    color: #fff;    /* yazı rengi */
    pointer-events: none;
}

.prad-req-warning-message.prad-block-error {
  font-size: 0; /* orijinal yazıyı görünmez yapar */
}

.prad-req-warning-message.prad-block-error::after {
  content: "Bu alan zorunludur.";
  font-size: 14px; /* görünür boyut */
  color: red; /* isteğe bağlı */
}

/*Kategori Link*/

.ast-woo-product-category a {
    color: #0f0f0f;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.ast-woo-product-category a:hover {
    text-decoration: underline;
}

.payment_box.payment_method_shopier {
    background-color: transparent !important;
}

/* Ürün sayfasındaki ödemi alanı kaldırma */


element.style {
}
fieldset.ast-single-product-payments.ast-inherit-color-version {
    display: none;
}

.ast-woo-product-categories {
    display: none;
}

.cky-notice-btn-wrapper {
    gap: 5px;
}

.astra-cart-drawer .astra-cart-drawer-content .woocommerce-mini-cart {
    padding: 1em !important;
}

.ast-header-break-point .ast-button-wrap .main-header-menu-toggle {
    font-size: 0.8em !important;
}

/* Fiyat ve sepet */

.ast-site-header-cart .ast-woo-header-cart-info-wrap {
        font-size: 15px;
}

.ast-site-header-cart i.astra-icon {
      font-size: 1em;
}

/* Cookie Düzen */

@media (max-width: 768px) {
    .cky-notice-btn-wrapper {
        margin-left: 0;
        margin-top: 10px;
        justify-content: left;
        display: flex;
        flex-direction: row !important;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 10px;
        margin-left: 0;
    }
}

/*Filter Son Satır*/
#secondary li:last-child {
    display: list-item !important;
}

/* 2 sütun grid ve eşit yükseklik */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px; /* ürünler arası boşluk */
}

.woocommerce ul.products li.product {
    display: flex;
    flex-direction: column;
}

/* Ürün başlıkları 2 satır ve alt boşluğu sıfırlanmış */
.woocommerce-js ul.products li.product .woocommerce-loop-product__title, 
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* maksimum 2 satır */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0 !important; /* Temadan gelen alt boşluğu kaldırır */
    padding: 0;
}

/* WooCommerce ürün fiyatları tek satır, taşarsa kır */
.woocommerce ul.products li.product .price {
    white-space: normal;  /* artık tek satır zorunlu değil */
    overflow: visible;    /* taşma görünmesin */
    text-overflow: unset; /* ... kaldır */
    margin-top: auto;     /* başlıktan aşağıya hizalama */
}

/* indirim kaldırma */

span.onsale {
    display: none !important;
}

/*Fiyat size*/

.woocommerce-js ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
    font-size: .857em !important;
}


