/* ============================================================
   BASE CSS - Common Styles (Quantity, Buttons, etc.)
============================================================ */

/* ============================================================
   GLOBAL BUTTON STYLES (Apple Style - Pill Shape)
============================================================ */
.woocommerce button.button,
.woocommerce a.button,
.woocommerce .button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .return-to-shop .button,
.woocommerce-page .return-to-shop .button {
    border-radius: 50px !important;
    /* Pill shape */
    padding: 12px 30px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border: none !important;
    height: auto !important;
    min-width: 0 !important;
}

/* Primary Button Colors (if not overridden) */
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt {
    background-color: var(--aw-primary-color, #0071e3) !important;
    color: #fff !important;
}

.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce input.button.alt:hover {
    background-color: var(--aw-primary-color, #0071e3) !important;
    filter: brightness(0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Secondary/Default Button Colors */
.woocommerce button.button:not(.alt),
.woocommerce a.button:not(.alt),
.woocommerce input.button:not(.alt) {
    background-color: #1d1d1f !important;
    color: #fff !important;
}

.woocommerce button.button:not(.alt):hover,
.woocommerce a.button:not(.alt):hover,
.woocommerce input.button:not(.alt):hover {
    background-color: #000 !important;
    transform: translateY(-1px);
}

/* ============================================================
   BUTTON ICONS (SVG Data URIs)
============================================================ */

/* Base Icon Style */
.woocommerce button.button::before,
.woocommerce a.button::before,
.woocommerce input.button::before,
.woocommerce #respond input#submit::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) invert(1);
    /* Make white (assuming black original) */
    flex-shrink: 0;
    /* Prevent icon shrinking */
}

/* Add to Cart (Bag Icon) */
.single_add_to_cart_button::before,
.add_to_cart_button::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'%3E%3C/path%3E%3Cline x1='3' y1='6' x2='21' y2='6'%3E%3C/line%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'%3E%3C/path%3E%3C/svg%3E");
}

/* Return to Shop / Back (Arrow Left) */
.return-to-shop .button::before,
.wc-backward::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='19' y1='12' x2='5' y2='12'%3E%3C/line%3E%3Cpolyline points='12 19 5 12 12 5'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Checkout / Forward (Arrow Right) */
.checkout-button::before,
.wc-forward::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Login (Log In Icon) */
.woocommerce-form-login__submit::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'%3E%3C/path%3E%3Cpolyline points='10 17 15 12 10 7'%3E%3C/polyline%3E%3Cline x1='15' y1='12' x2='3' y2='12'%3E%3C/line%3E%3C/svg%3E");
}

/* Register (User Plus Icon) */
.woocommerce-form-register__submit::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='8.5' cy='7' r='4'%3E%3C/circle%3E%3Cline x1='20' y1='8' x2='20' y2='14'%3E%3C/line%3E%3Cline x1='23' y1='11' x2='17' y2='11'%3E%3C/line%3E%3C/svg%3E");
}

/* ============================================================
   CHECKBOX & RADIO STYLES (Round & Larger)
============================================================ */
.woocommerce input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 22px !important;
    height: 22px !important;
    border: 1px solid #d2d2d7 !important;
    border-radius: 50% !important;
    /* Make it round */
    background-color: #fff !important;
    cursor: pointer !important;
    position: relative !important;
    top: 4px !important;
    /* Align with text */
    margin-right: 8px !important;
    transition: all 0.2s ease !important;
    outline: none !important;
}

.woocommerce input[type="checkbox"]:checked {
    background-color: var(--aw-primary-color, #0071e3) !important;
    border-color: var(--aw-primary-color, #0071e3) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-size: 14px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.woocommerce input[type="checkbox"]:hover {
    border-color: var(--aw-primary-color, #0071e3) !important;
}

/* ============================================================
   GLOBAL INPUT STYLES (Pill Shape)
============================================================ */
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="password"],
.woocommerce input[type="tel"],
.woocommerce input[type="number"],
.woocommerce select,
.woocommerce textarea {
    border-radius: 90px;
    /* Pill shape for inputs */
    padding: 12px 20px !important;
    border: 1px solid #d2d2d7 !important;
    background-color: #fff !important;
    color: #1d1d1f !important;
}

/* Select2 Container */
.select2-container .select2-selection--single {
    height: 48px !important;
    border-color: #d2d2d7 !important;
    border-radius: 90px !important;
    display: flex !important;
    align-items: center !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal !important;
    padding-left: 20px !important;
    color: #1d1d1f !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    right: 15px !important;
}

/* ============================================================
   QUANTITY STYLES
============================================================ */
.woocommerce .quantity {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 99px !important;
    padding: 4px !important;
    background: #f9fafb !important;
    height: 44px !important;
    min-width: 120px !important;
    width: auto !important;
}

/* Custom Buttons (+/-) */
.aw-qty-btn {
    width: 36px !important;
    height: 36px !important;
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    color: #111 !important;
    cursor: pointer !important;
    transition: all .2s ease !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.aw-qty-btn:hover {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
}

/* Input Field (Quantity) */
.woocommerce .quantity input.qty {
    width: 40px !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #111 !important;
    padding: 0 !important;
    height: 100% !important;
    appearance: none !important;
    box-shadow: none !important;
}

/* Hide Default Spinners */
.woocommerce .quantity input.qty::-webkit-inner-spin-button,
.woocommerce .quantity input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    display: none !important;
}

/* ============================================================
   NOTIFICATIONS (Apple Style)
============================================================ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: #fff !important;
    border-radius: 90px !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    /* Override default colored top border */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    padding: 20px 25px 20px 55px !important;
    /* Left padding for icon */
    color: #1d1d1f !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    margin-bottom: 30px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}

/* Icons */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    font-family: "WooCommerce" !important;
    content: "\e015" !important;
    /* default check */
    position: absolute !important;
    left: 25px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
}

/* Success (Message) */
.woocommerce-message::before {
    content: "\e015" !important;
    color: #34c759 !important;
    /* Apple Green */
    background: rgba(255, 140, 9, 0.1) !important;
}

/* Info */
.woocommerce-info::before {
    content: "\e016" !important;
    color: #ff8c09 !important;
    /* Apple Orange (info) */
    background: rgba(255, 140, 9, 0.1) !important;
}

/* Error */
.woocommerce-error {
    background: #fff !important;
}

.woocommerce-error::before {
    content: "\e016" !important;
    color: #ff3b30 !important;
    /* Apple Red */
    background: rgba(255, 59, 48, 0.1) !important;
}

/* Button inside notification */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    float: none !important;
    background: #f5f5f7 !important;
    color: #1d1d1f !important;
    border-radius: 99px !important;
    padding: 8px 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border: none !important;
    margin-left: auto !important;
    /* Push to right */
    transition: all 0.2s !important;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover {
    background: #e5e5ea !important;
    transform: translateY(-1px) !important;
}

/* Link inside notification */
.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a:not(.button) {
    color: var(--aw-primary-color, #0071e3) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.woocommerce-message a:not(.button):hover,
.woocommerce-info a:not(.button):hover,
.woocommerce-error a:not(.button):hover {
    text-decoration: underline !important;
}

/* Reset lists inside notifications to look like plain text */
.woocommerce-message ul,
.woocommerce-info ul,
.woocommerce-error ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100%;
}

.woocommerce-message ul li,
.woocommerce-info ul li,
.woocommerce-error ul li {
    margin: 0 !important;
    padding: 0 !important;
}

/* Coupon Error Notice Specifics */
.coupon-error-notice {
    background: #fff !important;
    border-radius: 90px !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    padding: 20px 25px 20px 55px !important;
    color: #1d1d1f !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    margin-bottom: 30px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}

.coupon-error-notice::before {
    content: "" !important;
    position: absolute !important;
    left: 25px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 24px !important;
    height: 24px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    border-radius: 0 !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ff3b30"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>') !important;
    background-color: transparent !important;
}

/* Login / Coupon / Register Forms – Borderless */
body .woocommerce form.login,
body .woocommerce form.checkout_coupon,
body .woocommerce form.register {
    border: 0px !important;
}

/* Shop Table Header Background */
.woocommerce-js table.shop_table thead,
.woocommerce-page table.shop_table thead {
    background-color: #ffffff;
}

/* ============================================================
   HEADER ICONS REPLACEMENT (Apple Style) - Astra
============================================================ */

/* 1. Hide Default Icons */
.ast-header-account-wrap .ast-header-account-link .ahfb-svg-iconset,
.ast-header-account-wrap .ast-header-account-link svg,
.ast-site-header-cart .ast-addon-cart-wrap i.astra-icon,
.ast-site-header-cart .ast-addon-cart-wrap .ast-icon {
    display: none !important;
}

/* 2. Account Icon */
.ast-header-account-wrap .ast-header-account-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    width: 24px !important;
    height: 24px !important;
    cursor: pointer !important;
    z-index: 10 !important;
}

.ast-header-account-wrap .ast-header-account-link::after {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 3. Cart Icon */
.ast-site-header-cart .ast-addon-cart-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    position: relative !important;
    min-width: 24px !important;
    min-height: 24px !important;
    cursor: pointer !important;
    z-index: 5 !important;
}

.ast-site-header-cart .ast-addon-cart-wrap::after {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'%3E%3C/path%3E%3Cline x1='3' y1='6' x2='21' y2='6'%3E%3C/line%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Cart Count Badge */
.ast-site-header-cart .ast-site-header-cart-li .count,
.ast-site-header-cart .ast-addon-cart-wrap .count {
    border-radius: 50% !important;
    background-color: #111111 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    width: 16px !important;
    height: 16px !important;
    line-height: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    position: absolute !important;
    top: -5px !important;
    right: -8px !important;
}

/* ============================================================
   Astra Header Hover Dropdown Kapatıldı (Side Cart Kullanılıyor)
============================================================ */
.ast-site-header-cart-data,
.ast-site-header-cart .widget_shopping_cart,
.ast-site-header-cart-data .widget_shopping_cart,
.ast-site-header-cart:hover .ast-site-header-cart-data,
.ast-site-header-cart:hover .widget_shopping_cart,
.ast-site-header-cart:focus .widget_shopping_cart {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* 4. Instagram Icon */
.ast-header-social-wrap .ast-instagram .ahfb-svg-iconset,
.ast-header-social-wrap .ast-instagram svg {
    display: none !important;
}

.ast-header-social-wrap .ast-instagram {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

.ast-header-social-wrap .ast-instagram::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'%3E%3C/rect%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'%3E%3C/path%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ============================================================
   HOMEPAGE CATEGORY CARDS (Apple Style)
============================================================ */

/* Category Grid Container */
.wp-block-query,
.wp-block-post-template,
.taxonomy-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    margin: 40px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Category Card */
.wp-block-post,
.taxonomy-item,
.product-category {
    position: relative !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    aspect-ratio: 4/3 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease !important;
    background-size: cover !important;
    background-position: center !important;
}

.wp-block-post:hover,
.taxonomy-item:hover,
.product-category:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}

/* Category Link */
.wp-block-post a,
.taxonomy-item a,
.product-category a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
    position: relative !important;
}

/* Category Image Background */
.wp-block-post-featured-image,
.category-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
}

.wp-block-post-featured-image img,
.category-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.wp-block-post:hover .wp-block-post-featured-image img,
.taxonomy-item:hover .category-image img,
.product-category:hover img {
    transform: scale(1.05) !important;
}

/* Gradient Overlay */
.wp-block-post a::before,
.taxonomy-item a::before,
.product-category a::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 60%) !important;
    z-index: 2 !important;
    transition: opacity 0.3s ease !important;
}

.wp-block-post:hover a::before,
.taxonomy-item:hover a::before,
.product-category:hover a::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 60%) !important;
}

/* Category Title */
.wp-block-post-title,
.taxonomy-title,
.woocommerce-loop-category__title {
    position: absolute !important;
    bottom: 25px !important;
    left: 25px !important;
    right: 25px !important;
    z-index: 3 !important;
    color: #fff !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    line-height: 1.2 !important;
}

/* Responsive */
@media (max-width: 1024px) {

    .wp-block-query,
    .wp-block-post-template,
    .taxonomy-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {

    .wp-block-query,
    .wp-block-post-template,
    .taxonomy-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .wp-block-post-title,
    .taxonomy-title,
    .woocommerce-loop-category__title {
        font-size: 18px !important;
        bottom: 15px !important;
        left: 15px !important;
        right: 15px !important;
    }
}

@media (max-width: 480px) {

    .wp-block-query,
    .wp-block-post-template,
    .taxonomy-grid {
        grid-template-columns: 1fr !important;
    }
}



/* ============================================================
   MOBILE RESPONSIVE - BUTTON OPTIMIZATIONS
============================================================ */
@media (max-width: 768px) {

    /* Reduce Button Size on Mobile */
    .woocommerce button.button,
    .woocommerce a.button,
    .woocommerce .button,
    .woocommerce input.button,
    .woocommerce #respond input#submit {
        padding: 10px 20px !important;
        font-size: 13px !important;
        min-height: 40px !important;
    }

    /* Icon Size */
    .woocommerce button.button::before,
    .woocommerce a.button::before,
    .woocommerce input.button::before {
        width: 16px !important;
        height: 16px !important;
    }

    /* Quantity Smaller on Mobile */
    .woocommerce .quantity {
        min-width: 100px !important;
        height: 40px !important;
    }

    .aw-qty-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }

    .woocommerce .quantity input.qty {
        width: 36px !important;
        font-size: 14px !important;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {}

/* Category Card */
.wp-block-post,
.taxonomy-item,
.product-category {
    position: relative !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    aspect-ratio: 4/3 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease !important;
    background-size: cover !important;
    background-position: center !important;
}

.wp-block-post:hover,
.taxonomy-item:hover,
.product-category:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}

/* Category Link */
.wp-block-post a,
.taxonomy-item a,
.product-category a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
    position: relative !important;
}

/* Category Image Background */
.wp-block-post-featured-image,
.category-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
}

.wp-block-post-featured-image img,
.category-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.wp-block-post:hover .wp-block-post-featured-image img,
.taxonomy-item:hover .category-image img,
.product-category:hover img {
    transform: scale(1.05) !important;
}

/* Gradient Overlay */
.wp-block-post a::before,
.taxonomy-item a::before,
.product-category a::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 60%) !important;
    z-index: 2 !important;
    transition: opacity 0.3s ease !important;
}

.wp-block-post:hover a::before,
.taxonomy-item:hover a::before,
.product-category:hover a::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 60%) !important;
}

/* Category Title */
.wp-block-post-title,
.taxonomy-title,
.woocommerce-loop-category__title {
    position: absolute !important;
    bottom: 25px !important;
    left: 25px !important;
    right: 25px !important;
    z-index: 3 !important;
    color: #fff !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    line-height: 1.2 !important;
}

/* Responsive */
@media (max-width: 1024px) {

    .wp-block-query,
    .wp-block-post-template,
    .taxonomy-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {

    .wp-block-query,
    .wp-block-post-template,
    .taxonomy-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .wp-block-post-title,
    .taxonomy-title,
    .woocommerce-loop-category__title {
        font-size: 18px !important;
        bottom: 15px !important;
        left: 15px !important;
        right: 15px !important;
    }
}

@media (max-width: 480px) {

    .wp-block-query,
    .wp-block-post-template,
    .taxonomy-grid {
        grid-template-columns: 1fr !important;
    }
}



/* ============================================================
   MOBILE RESPONSIVE - BUTTON OPTIMIZATIONS
============================================================ */
@media (max-width: 768px) {

    /* Reduce Button Size on Mobile */
    .woocommerce button.button,
    .woocommerce a.button,
    .woocommerce .button,
    .woocommerce input.button,
    .woocommerce #respond input#submit {
        padding: 10px 20px !important;
        font-size: 13px !important;
        min-height: 40px !important;
    }

    /* Icon Size */
    .woocommerce button.button::before,
    .woocommerce a.button::before,
    .woocommerce input.button::before {
        width: 16px !important;
        height: 16px !important;
    }

    /* Quantity Smaller on Mobile */
    .woocommerce .quantity {
        min-width: 100px !important;
        height: 40px !important;
    }

    .aw-qty-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }

    .woocommerce .quantity input.qty {
        width: 36px !important;
        font-size: 14px !important;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {

    .woocommerce button.button,
    .woocommerce a.button,
    .woocommerce .button {
        padding: 9px 16px !important;
        font-size: 12px !important;
        min-height: 38px !important;
    }
}

/* ============================================================
   NAVIGATION MENU DROPDOWN FIX (Desktop vs Mobile Separated)
============================================================ */

/* Desktop Menu Only (min-width: 922px) */
@media (min-width: 922px) {
    .ast-desktop .main-header-menu .menu-item-has-children,
    .main-header-menu .menu-item-has-children {
        position: relative !important;
    }

    .ast-desktop .main-header-menu .sub-menu,
    .main-header-menu .sub-menu {
        position: absolute !important;
        top: calc(100% - 48px) !important; /* Pulls dropdown up close to the link text */
        left: 0 !important;
        margin: 0 !important;
        padding: 8px 0 !important;
        background: #ffffff !important;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
        border-radius: 16px !important;
        border: 1px solid rgba(0, 0, 0, 0.06) !important;
        min-width: 210px !important;
        z-index: 99999 !important;
    }

    /* Invisible hover bridge to keep menu open while moving cursor */
    .ast-desktop .main-header-menu .sub-menu::before,
    .main-header-menu .sub-menu::before {
        content: "" !important;
        position: absolute !important;
        top: -20px !important;
        left: 0 !important;
        right: 0 !important;
        height: 20px !important;
        background: transparent !important;
    }

    .main-header-menu .sub-menu li {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main-header-menu .sub-menu li a {
        display: block !important;
        padding: 10px 18px !important;
        color: #1d1d1f !important;
        text-decoration: none !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        transition: all 0.2s ease !important;
        border-bottom: 1px solid #f5f5f7 !important;
    }

    .main-header-menu .sub-menu li:last-child a {
        border-bottom: none !important;
    }

    .main-header-menu .sub-menu li a:hover {
        background-color: #f5f5f7 !important;
        color: #0071e3 !important;
        padding-left: 22px !important;
    }
}

/* ============================================================
   MOBILE MENU & SUB-MENU (Apple Style Accordion - Perfected)
============================================================ */
/* Prevent Background Page Scrolling when Mobile Menu is Open */
body.aw-mobile-menu-open,
html.aw-mobile-menu-open,
body.ast-main-header-nav-open,
body.ast-popup-nav-open {
    overflow: hidden !important;
    height: 100vh !important;
    max-height: 100vh !important;
    touch-action: none !important;
}

@media (max-width: 921px) {
    /* Full Opaque Background for Mobile Menu / Drawer */
    .ast-header-break-point .main-header-bar-navigation,
    .ast-header-break-point .ast-mobile-header-wrap,
    .ast-header-break-point .ast-mobile-popup-drawer,
    .ast-header-break-point .ast-mobile-popup-inner,
    .ast-header-break-point .ast-mobile-popup-content {
        background-color: #ffffff !important;
        background: #ffffff !important;
        opacity: 1 !important;
    }

    /* Prevent background bleed when mobile menu is open */
    .ast-main-header-nav-open .ast-header-break-point .main-header-bar-navigation,
    .ast-popup-nav-open .ast-mobile-popup-drawer {
        background: #ffffff !important;
        z-index: 99999 !important;
    }

    /* Mobile Menu Container - Scrollable, Compact, Clean */
    .ast-header-break-point .main-header-bar-navigation,
    .ast-header-break-point .main-header-menu {
        background: #ffffff !important;
        border-radius: 18px !important;
        padding: 8px 8px 16px 8px !important;
        margin: 8px 0 !important;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.07) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        max-height: calc(100vh - 110px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .ast-header-break-point .main-header-menu .menu-item {
        border-bottom: 1px solid #f2f2f7 !important;
        position: relative !important;
        margin: 1px 0 !important;
        border-radius: 10px !important;
        transition: background 0.2s ease !important;
    }

    .ast-header-break-point .main-header-menu .menu-item:last-child {
        border-bottom: none !important;
    }

    .ast-header-break-point .main-header-menu .menu-item > a {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 14px !important;
        padding-right: 44px !important; /* Space for the toggle arrow */
        font-size: 14.5px !important;
        font-weight: 600 !important;
        color: #1d1d1f !important;
        text-decoration: none !important;
        border-radius: 10px !important;
        transition: all 0.2s ease !important;
        line-height: 1.3 !important;
        background: transparent !important;
        min-height: 44px !important;
        box-sizing: border-box !important;
    }

    .ast-header-break-point .main-header-menu .menu-item > a:hover,
    .ast-header-break-point .main-header-menu .menu-item > a:active {
        background: #f5f5f7 !important;
    }

    /* Active / Expanded Parent Item */
    .ast-header-break-point .main-header-menu .menu-item-has-children.ast-submenu-expanded > a,
    .ast-header-break-point .main-header-menu .menu-item-has-children:has(.sub-menu:not([style*="display: none"])) > a {
        background: #f5f5f7 !important;
        color: #1d1d1f !important;
        font-weight: 700 !important;
    }

    /* Mobile Toggle Button (Arrow - Perfectly Centered in Circle) */
    .ast-header-break-point .ast-menu-toggle {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        max-width: 30px !important;
        max-height: 30px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #f0f0f2 !important;
        border-radius: 50% !important;
        border: none !important;
        color: #1d1d1f !important;
        cursor: pointer !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
        position: absolute !important;
        right: 8px !important;
        top: 22px !important;
        transform: translateY(-50%) !important;
        z-index: 5 !important;
        padding: 0 !important;
        margin: 0 !important;
        line-height: 0 !important;
        box-sizing: border-box !important;
    }

    .ast-header-break-point .ast-menu-toggle:hover {
        background: #e5e5ea !important;
    }

    .ast-header-break-point .ast-menu-toggle.ast-menu-expanded {
        background: #1d1d1f !important;
        color: #ffffff !important;
        transform: translateY(-50%) rotate(180deg) !important;
    }

    .ast-header-break-point .ast-menu-toggle .screen-reader-text {
        display: none !important;
    }

    .ast-header-break-point .ast-menu-toggle .ast-icon,
    .ast-header-break-point .ast-menu-toggle .icon-arrow,
    .ast-header-break-point .ast-menu-toggle span {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 0 !important;
    }

    .ast-header-break-point .ast-menu-toggle svg {
        width: 11px !important;
        height: 11px !important;
        display: block !important;
        margin: 0 auto !important;
        position: static !important;
        transform: none !important;
        fill: currentColor !important;
    }

    /* Mobile Sub-menu (Clean Card Container) */
    .ast-header-break-point .main-header-menu .sub-menu {
        position: static !important;
        top: auto !important;
        left: auto !important;
        margin: 6px 6px 10px 6px !important;
        padding: 6px !important;
        background: #fafafa !important;
        border-radius: 14px !important;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03) !important;
        border: 1px solid #e5e5ea !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        min-width: calc(100% - 12px) !important;
        list-style: none !important;
    }

    .ast-header-break-point .main-header-menu .sub-menu li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
        border-radius: 10px !important;
        margin: 2px 0 !important;
    }

    .ast-header-break-point .main-header-menu .sub-menu li:last-child {
        border-bottom: none !important;
    }

    .ast-header-break-point .main-header-menu .sub-menu li a {
        display: flex !important;
        align-items: center !important;
        padding: 10px 14px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        color: #444444 !important;
        text-decoration: none !important;
        border-radius: 10px !important;
        transition: all 0.2s ease !important;
        background: transparent !important;
    }

    .ast-header-break-point .main-header-menu .sub-menu li a:hover,
    .ast-header-break-point .main-header-menu .sub-menu li a:active {
        background: #ffffff !important;
        color: #0071e3 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
        padding-left: 18px !important;
    }
}

/* ============================================================
   CUSTOM FOOTER & PAYMENT ICONS
============================================================ */
.footer {
    padding: 0px;
    color: white;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 15px;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
    opacity: 0.85;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.85;
}

.brand .logo {
    width: 200px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 50px;
    margin-left: auto;
}

.payment-icons img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

/* ============================================================
   UAGB / SPECTRA BLOCKS STYLING
============================================================ */
.uagb-tax-title {
    font-weight: 400 !important;
    text-shadow: 2px 1px 2px black !important;
    font-size: 30px !important;
    border-radius: 30px;
    padding: 10px 5px 2px 5px;
}

.uagb-ifb-content h3 {
    text-shadow: 2px 1px 2px black !important;
}

.uagb-taxomony-box {
    position: relative;
    overflow: hidden;
}

.uagb-taxomony-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 60%);
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.uagb-taxomony-box:hover::before {
    opacity: 0;
}

.uagb-tax-link {
    position: relative;
    z-index: 2;
}

/* ============================================================
   HAYALİM ÇEYİZ - CONTACT PAGE (Apple Dark Style)
============================================================ */
.hc-contact {
    --bg: #0b0b0c;
    --card: rgba(255,255,255,0.06);
    --card2: rgba(255,255,255,0.08);
    --stroke: rgba(255,255,255,0.12);
    --stroke2: rgba(255,255,255,0.18);
    --text: rgba(255,255,255,0.92);
    --muted: rgba(255,255,255,0.65);
    --muted2: rgba(255,255,255,0.50);
    --r: 18px;
    --r2: 24px;

    background: radial-gradient(1200px 600px at 20% -10%, rgba(255,255,255,0.09), transparent 55%),
                radial-gradient(900px 500px at 90% 10%, rgba(255,255,255,0.06), transparent 60%),
                var(--bg);
    color: var(--text);
    padding: clamp(32px, 4vw, 64px) 0;
}

.hc-wrap {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}

.hc-hero {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 18px;
    align-items: start;
    margin-bottom: 22px;
}

.hc-kicker {
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 10px;
}

.hc-contact h1 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.08;
    margin: 0 0 10px;
    font-weight: 650;
}

.hc-sub {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 18px;
    max-width: 62ch;
}

.hc-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hc-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: rgba(255,255,255,0.03);
    color: var(--text);
    text-decoration: none;
    transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.hc-chip:hover {
    transform: translateY(-1px);
    border-color: var(--stroke2);
    background: rgba(255,255,255,0.06);
}

.hc-card {
    border: 1px solid var(--stroke);
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    border-radius: var(--r2);
    padding: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
}

.hc-card--mini {
    padding: 16px;
}

.hc-card h2 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 650;
}

.hc-card h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 650;
}

.hc-muted {
    margin: 0 0 14px;
    color: var(--muted);
}

.hc-card__row {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.hc-card__row:first-child { 
    border-top: 0; 
    padding-top: 0; 
}

.hc-dot {
    width: 10px; 
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 0 6px rgba(255,255,255,0.06);
}

.hc-label {
    font-size: 12px;
    color: var(--muted2);
    letter-spacing: 0.02em;
}

.hc-value {
    font-size: 14px;
    color: var(--text);
    margin-top: 2px;
}

.hc-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 18px;
}

.hc-info {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.hc-info__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 12px;
    border-radius: var(--r);
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.03);
    text-decoration: none;
    color: var(--text);
    transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.hc-info__item:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.06);
}

.hc-info__item--static:hover { 
    transform: none; 
}

.hc-info__left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hc-ico {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.05);
    font-size: 16px;
}

.hc-arrow {
    opacity: 0.7;
    font-size: 18px;
}

.hc-divider {
    height: 1px;
    background: rgba(255,255,255,0.10);
    margin: 16px 0;
}

.hc-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.hc-list li { 
    margin: 8px 0; 
}

/* Form */
.hc-form {
    margin-top: 12px;
}

.hc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hc-field {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.hc-field label {
    font-size: 12px;
    color: var(--muted2);
}

.hc-field input,
.hc-field select,
.hc-field textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.35);
    color: var(--text);
    padding: 12px 12px;
    outline: none;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.hc-field textarea { 
    resize: vertical; 
    min-height: 140px; 
}

.hc-field input::placeholder,
.hc-field textarea::placeholder {
    color: rgba(255,255,255,0.38);
}

.hc-field input:focus,
.hc-field select:focus,
.hc-field textarea:focus {
    border-color: rgba(255,255,255,0.30);
    background: rgba(0,0,0,0.45);
    transform: translateY(-1px);
}

.hc-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 8px 0 14px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.hc-consent input {
    margin-top: 2px;
    width: 16px; 
    height: 16px;
    accent-color: white;
}

.hc-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.92);
    color: #0b0b0c;
    font-weight: 650;
    cursor: pointer;
    transition: transform .15s ease, filter .15s ease;
}

.hc-btn:hover { 
    transform: translateY(-1px); 
    filter: brightness(0.97); 
}

.hc-btn:active { 
    transform: translateY(0px); 
}

.hc-footnote {
    margin: 10px 0 0;
    color: rgba(255,255,255,0.45);
    font-size: 12px;
    text-align: center;
}

/* FAQ */
.hc-faq {
    margin-top: 18px;
}

.hc-faq h2 {
    font-size: 22px;
    margin: 22px 0 12px;
    font-weight: 650;
}

.hc-qa {
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.03);
    border-radius: var(--r2);
    padding: 14px 14px;
    margin: 10px 0;
}

.hc-qa summary {
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    outline: none;
}

.hc-qa summary::-webkit-details-marker { 
    display: none; 
}

.hc-qa__a {
    color: var(--muted);
    margin-top: 10px;
    line-height: 1.6;
    font-size: 14px;
}

/* Responsive Footer & Contact */
@media (max-width: 900px) {
    .hc-hero { grid-template-columns: 1fr; }
    .hc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-col ul li {
        margin-bottom: 12px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .payment-icons {
        margin-left: 0;
        margin-right: 0;
        justify-content: center;
        margin-bottom: 8vh;
        gap: 0px;
    }

    .payment-icons img {
        height: 30px;
    }

    .footer-col ul {
        margin: 0 0;
    }

    .uagb-tax-title {
        font-size: 25px !important;
        background-color: rgba(0, 0, 0, .5);
        padding: 10px 5px 2px 5px;
    }

    .wp-block-uagb-slider {
        margin-top: -50px;
        margin-bottom: -50px;
    }
}

/* ============================================================
   SIDE CART WOOCOMMERCE - APPLE THEME HARMONY
============================================================ */
/* SAVE / İndirim Rozeti */
.xoo-wsc-cart-item .xoo-wsc-item-save,
.xoo-wsc-save-badge,
.xoo-wsc-badge,
.side-cart-item-save,
[class*="save-badge"],
[class*="item-save"] {
    border: 1px solid rgba(52, 199, 89, 0.3) !important;
    background: rgba(52, 199, 89, 0.08) !important;
    color: #28a745 !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    display: inline-block !important;
}

/* Side Cart Butonları - Genel Apple Yapısı */
.xoo-wsc-ft-btn,
.xoo-wsc-btn,
.xoo-wsc-cart-btn,
.xoo-wsc-chkt-btn,
.xoo-wsc-ft-buttons a,
.xoo-wsc-ft-buttons button {
    border-radius: 99px !important;
    font-weight: 650 !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Ana Buton: Ödeme (Mavi yerine Şık Apple Siyahı) */
.xoo-wsc-chkt-btn,
.xoo-wsc-btn-checkout,
.xoo-wsc-ft-buttons a[href*="odeme"],
.xoo-wsc-ft-buttons a[href*="checkout"] {
    background: #111111 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
}

.xoo-wsc-chkt-btn:hover,
.xoo-wsc-btn-checkout:hover,
.xoo-wsc-ft-buttons a[href*="odeme"]:hover,
.xoo-wsc-ft-buttons a[href*="checkout"]:hover {
    background: #000000 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22) !important;
}

/* İkincil Buton: Alışverişe Devam (Mavi yerine Şık Beyaz/Siyah Çerçeve) */
.xoo-wsc-btn-continue,
.xoo-wsc-continue_btn,
.xoo-wsc-ft-buttons .xoo-wsc-btn-opn,
.xoo-wsc-ft-buttons a.xoo-wsc-btn-close {
    background: #ffffff !important;
    color: #1d1d1f !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    box-shadow: none !important;
}

.xoo-wsc-btn-continue:hover,
.xoo-wsc-continue_btn:hover {
    background: #f5f5f7 !important;
    border-color: rgba(0, 0, 0, 0.35) !important;
    color: #000000 !important;
}

/* Üçüncül Buton: Sepeti Göster */
.xoo-wsc-cart-btn,
.xoo-wsc-btn-cart,
.xoo-wsc-ft-buttons a[href*="sepet"],
.xoo-wsc-ft-buttons a[href*="cart"] {
    background: #f5f5f7 !important;
    color: #1d1d1f !important;
    border: none !important;
}

.xoo-wsc-cart-btn:hover,
.xoo-wsc-btn-cart:hover,
.xoo-wsc-ft-buttons a[href*="sepet"]:hover,
.xoo-wsc-ft-buttons a[href*="cart"]:hover {
    background: #e5e5ea !important;
    color: #000000 !important;
}
/* ============================================================
   WOODMART & APPLE STYLE SECONDARY HOVER IMAGE (Global)
============================================================ */
.woocommerce ul.products li.product .woocommerce-loop-product__link,
.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap {
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
    border-radius: 14px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link > img:first-child,
.woocommerce ul.products li.product .woocommerce-LoopProduct-link > img:first-child,
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap > img:first-child {
    display: block !important;
    width: 100% !important;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.35s ease !important;
}

.aw-product-thumb-secondary {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    transform: scale(1.02) !important;
    z-index: 2 !important;
    overflow: hidden !important;
    border-radius: inherit !important;
}

.aw-product-thumb-secondary img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: inherit !important;
}

@media (hover: hover) and (pointer: fine) {
    .woocommerce ul.products li.product:hover .woocommerce-loop-product__link > img:first-child,
    .woocommerce ul.products li.product:hover .woocommerce-LoopProduct-link > img:first-child,
    .woocommerce ul.products li.product:hover .astra-shop-thumbnail-wrap > img:first-child {
        transform: scale(1.05) !important;
    }

    .woocommerce ul.products li.product:not(.aw-has-active-swatch):hover .aw-product-thumb-secondary {
        opacity: 1 !important;
        visibility: visible !important;
        transform: scale(1.05) !important;
    }
}

