/* Odrin Design System */

/* Custom CSS */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');
.btn
{
	background: #8d4c10;
	color: white;
}
.wd-promo-banner-link
{
	background: rgba(0,0,0,0.5);
}
.wd-footer
{
	background: #1a1a2e;
}
.whb-top-bar div, .whb-top-bar span
{
	font-size: 16px !important;
	color: #C5A55A !important;
	text-transform: uppercase;
font-family: 'Sans Serif' !important;
}
.whb-header-bottom span
{
	font-family: 'Cormorant Garamond' !important;
	font-size: 20px;
	letter-spacing: 1px;
}
.whb-header-bottom a:hover
{
	color: #C5A55A !important;
}
    .whb-header-bottom .current-menu-item > a,
    .whb-header-bottom .current_page_item > a,
    .whb-header-bottom .current-menu-ancestor > a,
    .whb-header-bottom .wd-active > a {
        color: #C5A55A !important;
    }
    .whb-header-bottom .wd-nav > li:hover > a,
    .whb-header-bottom .menu-item:hover > a,
    .whb-header-bottom li.menu-item-has-children:hover > a {
        color: #C5A55A !important;
    }
    
    .whb-header-bottom .wd-nav > li:hover > a:after,
    .whb-header-bottom .menu-item:hover > a:after,
    .whb-header-bottom li.menu-item-has-children:hover > a:after {
        color: #C5A55A !important;
    }
    
    /* Alt menüdeki seçeneklerin üzerine gelince (İletişim, Blog vb.) altın rengi olması */
    .whb-header-bottom .sub-menu a:hover,
    .whb-header-bottom .wd-dropdown a:hover,
    .whb-header-bottom .sub-menu .current-menu-item > a {
        color: #C5A55A !important;
    }
.gt-current-lang
{
	bottom: 10px !important;
}
#gt_float_wrapper
{
	bottom: 75px !important;
}
#odrindigital-chat-widget
{
	bottom: 125px !important;
}
.wd-slide .title
{
	background: rgba(0,0,0,0.5) !important;
	color: white !important;
}
.wd-carousel-wrap img
{
	aspect-ratio: 16/9;
}
.wd-carousel-wrap h3
{
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.product .wd-entities-title
{
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.5em;
	height: 3em;
}
.product img
{
	aspect-ratio: 1;
}
.woocommerce-Price-amount
{
	color: unset !important;
	font-size: 16px;
}
.wd-page-title div
{
	background: rgba(0,0,0,0.5) !important;
}
    /* Sadece Slider'ın bulunduğu Hero bölümünü tarayıcı genişliğine yay (Diğer içerikleri etkilemez) */
    .page-id-4179 .elementor-element.elementor-element-deee231 {
        width: 100vw !important;
        max-width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .page-id-4179 .elementor-element-deee231 .odr-custom-slider-wrap,
    .page-id-4179 .elementor-element-deee231 .swiper,
    .page-id-4179 .elementor-element-deee231 .swiper-slide {
        width: 100% !important;
    }

    /* Tablet Modu (1024px ve altı) - Küçük görünmeyi önler */
    @media (max-width: 1024px) {
        .page-id-4179 .elementor-element-deee231 .elementor-element-48c3954,
        .page-id-4179 .elementor-element-deee231 .swiper-slide {
            min-height: 480px !important; /* İsteğe göre 450px - 520px arası yapabilirsiniz */
        }

        .page-id-4179 .elementor-element-deee231 .elementor-element-48c3954::before {
            background-size: cover !important;
            background-position: center center !important;
        }
    }

    /* Mobil Modu (768px ve altı) */
    @media (max-width: 768px) {
        .page-id-4179 .elementor-element-deee231 .elementor-element-48c3954,
        .page-id-4179 .elementor-element-deee231 .swiper-slide {
            min-height: 280px !important;
        }

        .page-id-4179 .elementor-element-deee231 .elementor-element-48c3954::before {
            background-size: cover !important;
            background-position: center center !important;
        }
    }
    /* ========================================================
       WooCommerce & WoodMart Ürün Sayfası Orijinal En-Boy Oranı
       ======================================================== */
    
    /* Ana galeri ve ürün görselleri */
    .woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
    .woocommerce-product-gallery .woocommerce-product-gallery__image,
    .woocommerce-product-gallery .woocommerce-product-gallery__image a,
    .woocommerce-product-gallery .woocommerce-product-gallery__image img {
        aspect-ratio: auto !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
    }

    /* Sol/alt galeri küçük resimleri (thumbnails) */
    .woocommerce-product-gallery .wd-gallery-thumb .wd-carousel-item,
    .woocommerce-product-gallery .wd-gallery-thumb img {
        aspect-ratio: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }

    /* Sayfadaki OdrinDigital ürün görsel bileşeni (Varsa zorlanan 1:1 kare oranı sıfırlar) */
    .odrindigital-product-main-image-wrapper {
        aspect-ratio: auto !important;
        height: auto !important;
    }

    .odrindigital-product-main-image {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .odrindigital-gallery-item img {
        aspect-ratio: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }
