/* Home Widgets CSS */

/* Genel Stiller */
.hw-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 0px;
    text-align: center;
    color: #165EC9;
}

.hw-subtitle {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    color: #000000;
}

.hw-main-image {
    text-align: center;
    margin-bottom: 10px;
    min-height: 132px;
}

.hw-main-image img {
    width: auto  ;
    max-height: 100px;
}

.hw-main-button {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 15px;
}

.hw-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0071e3;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hw-button:hover {
    background-color: #0058b0;
    color: #fff;
}

.hw-button-outline {
    background-color: transparent;
    border: 1px solid #0071e3;
    color: #0071e3;
}

.hw-button-outline:hover {
    background-color: #0071e3;
    color: #fff;
}

.hw-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    justify-content: center;
}

.hw-item {
    padding: 2px;
    margin-bottom: 0px;
    text-align: center;
    width: 50%;
}

.hw-grid-4 .hw-item {
    width: calc(25% - 20px);
}

.hw-grid-6 .hw-item {
    width: calc(16.666% - 20px);
}

.hw-item-inner {
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hw-item-title {
    font-size: 12px;
    font-weight: 600;
    margin: 0px 0 0px;
}

.hw-item-title a {
    color: #333;
    text-decoration: none;
}

.hw-item-title a:hover {
    color: #0071e3;
}

.hw-item-subtitle {
    font-size: 14px;
    color: #666;
}

/* Style 1 - iPhone, iPad, Mac */
.hw-style-1 {
    background-color: #F5F5F7;
    padding: 20px 20px;
    border-radius: 5px;
    margin-bottom: 0px;
    border: 1px solid #E6E6E6;
}

.hw-style-1 .hw-item-inner {
    background-color: #fff;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border: 1px solid #E6E6E6;
}

.hw-item-title:hover {
    color : #155ec9;
}
.hw-style-1 .hw-item-inner:hover {
 
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.hw-style-1 .hw-item-image {
    margin: -15px -15px 15px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.hw-style-1 .hw-item-image img {
    max-width: 100%;
    max-height: 160px;
    width: auto;
}

/* Style 2 - Aksesuarlar */
.hw-style-2 {
    padding: 20px 20px;
    background-color: #f5f5f7;
    margin-bottom: 0px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
}

.hw-style-2 .hw-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    margin: 10px;
    border: 1px solid #E6E6E6;
    border-radius: 6px;
}

.hw-style-2 .hw-item-inner {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0px;
}

.hw-style-2 .hw-item-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.hw-style-2 .hw-item-icon img {
    width: 60px;
    height: 60px;
}

.hw-style-2 .hw-item-title {
    font-size: 12px;
    margin-bottom: 10px;
}

.hw-item-button {
    font-size: 12px;
    color: #000000;
    text-decoration: none;
    padding: 5px 5px;
    border: 1px solid #E6E6E6;
    width: 70%;
    margin: auto;
    border-radius: 6px;
    margin-bottom: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

 .hw-item-button:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    color: #165EC9;
}

/* Style 3 - Yazılım */
.hw-style-3 {
    padding: 20px 20px;
    background-color: #f5f5f7;
    margin-bottom: 40px;
    border-radius: 6px;
    border: 1px solid #e6e6e6;
    height : 275px;
}

.hw-style-3 .hw-grid {
    justify-content: center;
}

.hw-style-3 .hw-item-inner {
    background-color: #FFFFFF;
    border: 1px solid #E6E6E6;
    border-radius: 7px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.hw-style-3 .hw-item-logo {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.hw-style-3 .hw-item-logo img {
    width: auto;
    max-height: 35px;
}

.hw-style-3 .hw-action-button {
    margin-top: auto;
}

.hw-style-3 .hw-action-link {
    display: inline-block;
    padding: 8px 15px;
    background-color: #0071e3;
    color: #fff;
    text-decoration: none;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 500;
}

.hw-style-3 .hw-action-link:hover {
    background-color: #0058b0;
    color: #fff;
}

.hw-style-3 .hw-action-text {
    display: inline-block;
    padding: 8px 15px;
    background-color: #e6e6e6;
    color: #333;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1200px) {
    .hw-grid-6 .hw-item {
        width: calc(16.666% - 20px);
    }
}

@media (max-width: 992px) {

    .hw-main-image img {
      max-height: 150px;
    }


    .hw-grid-4 .hw-item {
        width: calc(33.333% - 20px);
    }
    
    .hw-grid-6 .hw-item {
        width: calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .hw-grid-4 .hw-item,
    .hw-grid-6 .hw-item {
        width: calc(50% - 20px);
    }
    
    .hw-title {
        font-size: 24px;
    }
    
    .hw-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hw-grid-4 .hw-item,
    .hw-grid-6 .hw-item {
        width: calc(50% - 20px);
    }
    
    .hw-style-1,
    .hw-style-2,
    .hw-style-3 {
        padding: 20px 15px;
    }
}

.style-sec{
    margin: 0 -20px !important;
}
.hw-item.style_th {
    width: 33% ;
}
.styleThreeText{
    font-size: 22px;
    margin-bottom: 10px;
}

.hw-grid.hw-grid-3 .hw-item.style_th:last-child .hw-item-inner {
    background-color: #D5D5D5;
    border: #CCCCCC;
}

.hw-grid.hw-grid-3 .hw-item.style_th:last-child .hw-item-inner .hw-item-button{
    background: #4B4B4B;
    color: #fff;
}

.apple-service-container {
    height: 275px;
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    background-color: #2B2B2B;
    color: white;
}

.apple-service-left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-right: 1px solid #888888;
}

.apple-service-right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.apple-service-logo {
    width: auto;
    height: 50px;
    margin-bottom: 20px;
}

.apple-service-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
}

.apple-service-details-button {
    background-color: #165EC9;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 500;
    margin: 0;
    padding: 5px 20px;
}

.apple-service-details-button:hover {
    background-color: #0d4eab;
}

.apple-service-menu-item {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-bottom: 1px solid #888888;
    cursor: pointer;
    transition: background-color 0.3s;
}

.apple-service-menu-item:last-child {
    border-bottom: none;
}

.apple-service-menu-item:hover {
    background-color: #3a3a3a;
}

.apple-service-menu-icon {
    width: 32px;
    height: 32px;
    margin-right: 5px;
}

.apple-service-menu-text {
    font-size: 14px;
    font-weight: 500;
}


/* Style 4 - Tabs ile Ürün Gösterimi */
.hw-style-4 {
    padding: 30px 0px 0px 0px;
    margin-bottom: 0px;
}

.hw-tabs-title {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: #000;
}

.hw-tabs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hw-tabs-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.hw-tab-button {
    background: #fff;
    border: 1px solid #E6E6E6;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin: 0 0px;
    color: #000;
    transition: all 0.3s ease;
}

.hw-tab-button:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
  }
  
  .hw-tab-button:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
  }

.hw-tab-button.active {
    background-color: #165EC9;
    color: white;
    border-color: #165EC9;
}

.hw-tabs-content {
    padding: 0px 20px;
}

.hw-tab-pane {
    display: none;
}

.hw-tab-pane.active {
    display: block;
}

/* Ürün Carousel */
.hw-products-carousel {
    position: relative;
    margin: 0 -10px;
    transition: opacity 0.5s ease;
}

.hw-product-card {
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    padding: 10px 15px 0px 15px;
    margin: 0 10px;
    text-align: center;
    position: relative;
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 350px; /* Sabit yükseklik */
}

.hw-product-card:hover {
    transform: translateY(-5px);
}

.hw-product-top {
    margin-bottom: 10px;
    height: 60px; /* Sabit yükseklik - başlık ve eğitim indirimi etiketi için */
    display: flex;
    flex-direction: column;
}

.hw-product-badge,
.hw-product-badge-placeholder {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #B13B3BEB;
    text-align: left;
    height: 18px; /* Sabit yükseklik */
    line-height: 18px;
    text-align: center;
}

.hw-product-badge-placeholder {
    visibility: hidden; /* Gizli ama yer kaplar */
}

.hw-product-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: left;
    flex: 1; /* Kalan alanı doldur */
    margin: 0; /* Margin'i sıfırla */
}

.hw-product-title a {
    color: #333;
    text-decoration: none;
}

.hw-product-image {
    flex: 1; /* Esnek büyüme */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    min-height: 150px;
}

.hw-product-image img {
    max-height: 140px;
    max-width: 100%;
    width: auto !important;
}

.hw-product-price-row {
    margin-bottom: 15px;
    height: 48px; /* Sabit yükseklik - eski fiyat ve fiyat için */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hw-product-old-price, 
.hw-product-old-price-placeholder {
    font-size: 14px;
    color: #ACACAC;
    margin-bottom: 5px;
    height: 20px;
    line-height: 20px;
}

.hw-product-price {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    height: 24px;
    line-height: 24px;
}

.hw-add-to-cart {
    display: inline-block;
    background: #165EC9;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
    margin-top: auto;
    font-size: 14px;
    margin-bottom: 10px;
}

.hw-add-to-cart:hover {
    background: #2d4373;
    color: white;
}

/* Slick Slider Özelleştirmeleri */
.hw-products-carousel .slick-arrow {
    width: 40px;
    height: 40px;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    z-index: 1;
    transition: all 0.3s ease;
}

.hw-products-carousel .slick-prev {
    left: 5px;
}

.hw-products-carousel .slick-next {
    right: 5px;
}





.hw-products-carousel .slick-prev:before,
.hw-products-carousel .slick-next:before {
    font-family: 'slick';
    color: #165EC9;
    opacity: 1;
}

.hw-products-carousel .slick-prev:before,
.hw-products-carousel .slick-next:before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border-style: solid;
    border-width: 0 2px 2px 0;
    padding: 0;
}

.hw-products-carousel .slick-prev:before {
    transform: rotate(135deg);
    margin-left: 5px;
}

.hw-products-carousel .slick-next:before {
    transform: rotate(-45deg);
    margin-right: 5px;
}



.hw-products-carousel .slick-arrow:hover {
    background: #F5F5F7;
}


.hw-products-carousel .slick-dots {
    bottom: -25px;
    display: none;
}

.hw-products-carousel .slick-dots li button:before {
    font-size: 10px;
}

/* Responsive Düzenlemeler */
@media (max-width: 992px) {
    .hw-tabs-title {
        font-size: 24px;
    }
    
    .hw-tab-button {
        font-size: 10px;
        padding: 8px 2px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hw-tabs-nav {
        flex-wrap: no-wrap;
    }
    
    .hw-tab-button {
        margin-bottom: 5px;
    }
    
    .hw-products-carousel .slick-prev {
        left: 5px;
    }
    
    .hw-products-carousel .slick-next {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .hw-tabs-title {
        font-size: 20px;
    }
    
    .hw-tab-button {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .hw-product-card {
        margin: 0 auto;
    }
}

.forYouProduct{
    background: #F5F5F7;
    margin-bottom: 50px;
}

.slick-slide {
    height: 90% !important;
}

.slick-dotted.slick-slider{
    margin-bottom: 0px !important;
}

.forYouCol{
    padding-bottom: 0px !important;
}
.slick-next:focus {
    background: #fff !important; 
}
.slick-prev:focus {
    background: #fff !important; 
}


/* Target the SVG icon with a CSS selector */
.attachment-thumbnail {
    transition: all 0.3s ease;
    /* Initial state remains as is */
  }
  
  /* Apply the hover effect to the parent <a> tag */
  a:hover .attachment-thumbnail {
    filter: brightness(0) saturate(100%) invert(29%) sepia(78%) saturate(1583%) hue-rotate(198deg) brightness(92%) contrast(88%);
    /* This filter transforms any color to #165EC9 */
  }


  /* Add these new styles for the title and button hover effects */
.hw-item-title {
    transition: all 0.3s ease;
    /* Your existing title styles remain unchanged */
  }
  
  .hw-item-button {
    transition: all 0.3s ease;
    /* Your existing button styles remain unchanged */
  }
  
  /* When hovering over the hw-item container, change the title and button color */
  .hw-item:hover .hw-item-button {
    color: #165EC9;
  }
  .hw-products-carousel .slick-dots {
    display: none !important;
  }
