/**
 * Geneser - Components
 * Buton, kart, form, badge gibi yeniden kullanılabilir bileşenler
 */

@import url('modules/buttons.css');
@import url('modules/cards.css');
@import url('modules/forms.css');
@import url('modules/badge-divider.css');
@import url('modules/header.css');
@import url('modules/footer.css');
/* ─── Single Product (The Ordinary Style) ─── */
.geneser-single-product-wrap {
    padding: 60px 0 100px;
}

.geneser-single-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
}

@media (max-width: 768px) {
    .geneser-single-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.geneser-single-image {
    background: #f8f8f8;
    padding: 10px;
    text-align: center;
    position: sticky;
    top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    z-index: 2; /* Ensure it stays behind header (100) but above flow if needed, OR just safe */
}

.geneser-single-image img {
    max-width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

/* Fix Magnifier / Zoom transparency */
.zoomImg {
    background: #fff !important; /* Ensure zoomed image is opaque */
    mix-blend-mode: normal !important;
}

.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 99;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    opacity: 1 !important;
}

/* Gallery Thumbnails Fix */
.flex-control-nav.flex-control-thumbs {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px;
    padding: 10px 0 0 !important;
    margin: 0 !important;
    list-style: none !important;
    width: 100% !important;
    justify-content: center;
    position: relative !important;
}

.flex-control-nav.flex-control-thumbs li {
    width: 80px !important;
    float: none !important;
    margin: 0 !important;
}

.flex-control-nav.flex-control-thumbs img {
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
    border: 1px solid #eee;
    border-radius: 4px;
}

.flex-control-nav.flex-control-thumbs img.flex-active {
    opacity: 1;
    border-color: #000;
}

.woocommerce-product-gallery__trigger::before {
    font-size: 18px;
    color: #000;
}

.geneser-single-summary {
    padding-top: 20px;
}

.geneser-single-cat {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 10px;
}

.geneser-single-title {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 400;
    color: #000;
    margin-bottom: 10px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Related Products Styling */
.geneser-single-product-wrap .related.products {
    width: 100%;
    margin-top: 60px;
    border-top: 1px solid #eee;
    padding-top: 60px;
}

.geneser-single-product-wrap .related.products h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

@media (max-width: 1024px) {
    .geneser-single-product-wrap .related.products ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .geneser-single-product-wrap .related.products ul.products {
        grid-template-columns: 1fr;
    }
}
.geneser-single-subtitle {
    font-size: 16px;
    color: #333;
    font-weight: 300;
    margin-bottom: 25px;
    line-height: 1.6;
}

.geneser-single-price {
    font-size: 22px;
    color: #000;
    margin-bottom: 25px;
    font-weight: 400;
}

.geneser-single-price del {
    color: #999;
    font-size: 18px;
    margin-right: 10px;
}

.geneser-size-info {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-bottom: 30px;
}

/* Add to cart form overriding default */
.geneser-add-to-cart-box form.cart {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.geneser-add-to-cart-box .quantity {
    display: flex;
    border: 1px solid #ccc;
    height: 50px;
}

.geneser-add-to-cart-box .quantity input[type="number"] {
    width: 60px;
    border: none;
    text-align: center;
    font-size: 16px;
    background: transparent;
    appearance: textfield;
    -moz-appearance: textfield;
}

.geneser-add-to-cart-box .quantity input[type="number"]::-webkit-outer-spin-button,
.geneser-add-to-cart-box .quantity input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.geneser-add-to-cart-box .single_add_to_cart_button {
    flex: 1;
    background: #000;
    color: #fff;
    border: none;
    height: 50px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.geneser-add-to-cart-box .single_add_to_cart_button:hover {
    background: #333;
}

/* Accordions */
.geneser-accordions {
    border-top: 1px solid #000;
}

.geneser-accordion-toggle {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    color: #000;
}

.geneser-accordion-icon {
    font-size: 18px;
    font-weight: 300;
}

.geneser-accordion-content {
    display: none;
    padding: 20px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    border-bottom: 1px solid #ccc;
}

.geneser-accordion-content.is-open {
    display: block;
}

.geneser-accordion-content p {
    margin-bottom: 15px;
}

/* ─── WooCommerce Cart & Checkout (The Ordinary Style) ─── */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
    padding: 60px 0 100px;
}

/* Page Titles */
.woocommerce-cart h1.page-title,
.woocommerce-checkout h1.page-title {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 50px;
}

/* Tables */
.woocommerce table.shop_table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 40px;
    border-radius: 0;
    border: none;
    border-top: 1px solid #000;
}

.woocommerce table.shop_table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    color: #000;
}

.woocommerce table.shop_table td {
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    border-top: none;
    background: transparent;
}

.woocommerce table.shop_table tbody th,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th {
    font-weight: 600;
    border-top: 1px solid #eee;
}

/* Product Image in Cart */
.woocommerce table.cart .product-thumbnail img {
    width: 80px;
    height: auto;
    mix-blend-mode: multiply;
    background: #f8f8f8;
    padding: 10px;
}

/* Product Name */
.woocommerce table.cart .product-name a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
}

.woocommerce table.cart .product-name a:hover {
    opacity: 0.7;
}

/* Quantity Input */
.woocommerce .quantity .qty {
    width: 60px;
    height: 40px;
    background: transparent;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
}

/* Remove button */
.woocommerce table.cart a.remove {
    color: #000 !important;
    font-size: 24px;
    font-weight: 300;
    display: block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
}

.woocommerce table.cart a.remove:hover {
    background: transparent;
    color: red !important;
}

/* Cart Collaterals (Totals) */
.woocommerce .cart-collaterals .cart_totals {
    float: none;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    padding: 40px;
    background: #fcfcfc;
    border: 1px solid #eee;
}

.woocommerce .cart-collaterals .cart_totals h2 {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

/* Checkout Layout */
.woocommerce-checkout #customer_details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .woocommerce-checkout #customer_details {
        grid-template-columns: 1fr;
    }
}

.woocommerce-checkout h3 {
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #000;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

/* Forms */
.woocommerce form .form-row {
    margin-bottom: 20px;
}

.woocommerce form .form-row label {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    background: #fcfcfc;
    font-family: var(--font-primary);
    font-size: 15px;
    transition: border-color var(--transition);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: #000;
    outline: none;
}

/* Select2 drop-downs overrides */
.woocommerce .select2-container .select2-selection--single {
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fcfcfc;
}

.woocommerce .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 50px;
    padding-left: 15px;
}

.woocommerce .select2-container .select2-selection--single .select2-selection__arrow {
    height: 48px;
}

/* Buttons */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0;
    transition: background 0.3s;
    cursor: pointer;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background-color: #333;
    color: #fff;
}

/* Payment Methods */
.woocommerce-checkout #payment {
    background: #f8f8f8;
    border-radius: 0;
    border: 1px solid #eee;
    margin-top: 40px;
    padding: 30px;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid #eee;
    margin: 0;
    padding: 0 0 20px;
}

.woocommerce-checkout #payment div.payment_box {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 0;
    color: #666;
    font-size: 14px;
}

.woocommerce-checkout #payment div.payment_box::before {
    display: none;
    /* Hide top arrow */
}

/* ─── WooCommerce My Account (The Ordinary Style) ─── */
.woocommerce-account .woocommerce {
    padding: 60px 0 100px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Login & Register Forms */
.woocommerce-account .u-columns.col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

@media (max-width: 768px) {
    .woocommerce-account .u-columns.col2-set {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.woocommerce-account .u-column1 h2,
.woocommerce-account .u-column2 h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid #000;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.woocommerce-account form.login,
.woocommerce-account form.register {
    border: none;
    padding: 0;
    margin: 0;
    border-radius: 0;
}

/* My Account Navigation */
.woocommerce-MyAccount-navigation {
    float: left;
    width: 25%;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #000;
}

.woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid #eee;
}

.woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 15px 0;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
    color: #000;
    padding-left: 5px;
}

/* My Account Content */
.woocommerce-MyAccount-content {
    float: right;
    width: 70%;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

@media (max-width: 768px) {

    .woocommerce-MyAccount-navigation,
    .woocommerce-MyAccount-content {
        float: none;
        width: 100%;
        margin-bottom: 40px;
    }
}

.woocommerce-MyAccount-content mark {
    background: transparent;
    font-weight: 600;
    color: #000;
}

/* My Account Orders Table */
.woocommerce-MyAccount-content table.shop_table {
    border: none;
    width: 100%;
}

.woocommerce-MyAccount-content table.shop_table th {
    padding-top: 5px;
}

/* Addresses */
.woocommerce-MyAccount-content .u-columns.woocommerce-Addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses {
        grid-template-columns: 1fr;
    }
}

.woocommerce-MyAccount-content header.title h3 {
    border-bottom: none;
    margin-bottom: 10px;
    font-size: 18px;
}

.woocommerce-MyAccount-content address {
    font-style: normal;
    background: #fcfcfc;
    padding: 20px;
    border: 1px solid #eee;
}

.woocommerce-MyAccount-content a.edit {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    text-decoration: underline;
}

.woocommerce-MyAccount-content a.edit:hover {
    color: #000;
}

/* ============================================================
   The Ordinary Shop Layout
   ============================================================ */
.geneser-shop-wrapper .shop-content-grid {
    display: block;
    /* Remove sidebar layout constraint for a full width feel */
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.geneser-shop-wrapper .shop-sidebar {
    display: none;
    /* Hide sidebar completely for Best Sellers look */
}

.geneser-shop-wrapper .shop-main-products {
    width: 100%;
}

ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-gap: 60px 40px !important;
    margin: 0 !important;
    padding: 60px 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

@media (max-width: 1200px) {
    ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-gap: 40px 20px !important;
        padding: 40px 0 !important;
    }

    .geneser-shop-wrapper .shop-content-grid {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* Base Product Card - Minimalist */
.geneser-product-item {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
    background: #fff;
}

.geneser-product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.geneser-product-image {
    background: #f8f8f8;
    margin-bottom: 20px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1; /* Better for The Ordinary square look */
}

.geneser-product-image img {
    max-width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

.geneser-product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.geneser-product-meta {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.geneser-product-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.geneser-product-details {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
}

.geneser-product-price {
    font-size: 15px;
    font-weight: 500;
}

/* Info Cards Mixed in Grid */
.geneser-info-card {
    grid-column: span 2;
    background: #f8f8f8;
    display: flex;
    align-content: center;
    justify-content: center;
}

.geneser-info-card-text {
    padding: 60px;
    text-align: center;
}

@media (max-width: 768px) {
    .geneser-info-card {
        grid-column: span 1;
    }
}

.geneser-add-to-cart {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 11px;
    letter-spacing: 1px;
    border: 1px solid #000;
    background: transparent;
    color: #000;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.geneser-add-to-cart:hover {
    background: #000;
    color: #fff;
}

/* ============================================================
   Shop Video Banner
   ============================================================ */
.geneser-shop-wrapper {
    padding-top: 165px;
    /* Adjusting for sticky header height */
    position: relative;
    z-index: 10;
}

.geneser-shop-video-banner {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    margin-bottom: 40px;
    background: linear-gradient(-45deg, #e0e0e0, #f8f8f8, #f0f0f0);
    background-size: 400% 400%;
    animation: gradientFluid 15s ease infinite;
}

@keyframes gradientFluid {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 768px) {
    .geneser-shop-wrapper {
        padding-top: 100px;
    }

    .geneser-shop-video-banner {
        height: 250px;
    }
}

.geneser-shop-video-banner .shop-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1);
    opacity: 0.8;
    /* Let the animated background peek through if video fails */
    pointer-events: none;
}

.geneser-shop-video-banner .shop-hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.geneser-shop-video-banner .woocommerce-products-header__title {
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .geneser-shop-video-banner .woocommerce-products-header__title {
        font-size: 24px;
        letter-spacing: 2px;
    }
}

.geneser-shop-video-banner .shop-hero-subtitle {
    color: #f8f8f8;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 400;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   WooCommerce Pagination
   ============================================================ */
nav.woocommerce-pagination {
    text-align: center;
    margin: 60px 0;
    width: 100%;
    clear: both;
}

nav.woocommerce-pagination ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    /* Boxy look */
    overflow: hidden;
}

nav.woocommerce-pagination ul li {
    margin: 0;
    padding: 0;
    border-right: 1px solid #e0e0e0;
}

nav.woocommerce-pagination ul li:last-child {
    border-right: none;
}

nav.woocommerce-pagination ul li a,
nav.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 14px;
    font-weight: 400;
    color: #444;
    text-decoration: none;
    background: #fff;
    transition: all 0.2s ease;
}

nav.woocommerce-pagination ul li a:hover {
    background: #f8f8f8;
    color: #000;
}

nav.woocommerce-pagination ul li span.current {
    background: #000;
    color: #fff;
    font-weight: 500;
}

/* ─── Premium WooCommerce Notices (Desktop) ─── */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
    position: fixed !important;
    top: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10001 !important;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px !important;
    padding: 15px 30px !important;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-width: 450px !important;
    font-size: 14px !important;
    color: #000 !important;
    animation: slideDownNotice 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards !important;
}

@keyframes slideDownNotice {
    from { opacity: 0; transform: translate(-50%, -20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.woocommerce-message .button, 
.woocommerce-info .button,
.woocommerce-error .button {
    background: #000 !important;
    color: #fff !important;
    border-radius: 4px !important;
    padding: 8px 20px !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-left: 30px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.woocommerce-message .button:hover {
    background: #333 !important;
}

/* Kırmızı Hata Bildirimi İçin Küçük Dokunuş */
.woocommerce-error {
    border-left: 4px solid #cc0000 !important;
}