/* acron/css/modern-ui.css */

/* ==========================================================================
   1. PRODUCT CARD MODERNIZATION
   ========================================================================== */
.box.product {
    border-radius: 12px !important;
    border: 1px solid #f1f5f9 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: #ffffff !important;
    overflow: hidden !important;
    position: relative !important;
    padding-bottom: 20px !important;
}

.box.product:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03) !important;
    border-color: #e2e8f0 !important;
    z-index: 10 !important;
}

.box.product .product-image {
    border-radius: 12px 12px 0 0 !important;
    overflow: hidden !important;
    position: relative !important;
}

.box.product .product-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.box.product:hover .product-image img {
    transform: scale(1.05) !important;
}

/* Discount Badge */
.box.product .badge {
    background: linear-gradient(135deg, #ff4c3b 0%, #ff6b5b 100%) !important;
    color: white !important;
    border-radius: 20px !important;
    padding: 4px 12px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    box-shadow: 0 4px 10px rgba(255, 76, 59, 0.3) !important;
    top: 12px !important;
    right: 12px !important;
    border: none !important;
    z-index: 10 !important;
}

/* Product Titles */
.box.product .title {
    margin-top: 15px !important;
    padding: 0 15px !important;
    height: 42px !important;
    overflow: hidden !important;
}

.box.product .title a {
    color: #334155 !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    transition: color 0.2s !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.box.product .title a:hover {
    color: #ff4c3b !important;
}

/* Pricing */
.box.product .price-container {
    padding: 0 15px !important;
    margin-top: 12px !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.box.product .price-container .price {
    font-size: 1.25rem !important;
    color: #ff4c3b !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
}

.box.product .price-container .price.old {
    color: #94a3b8 !important;
    font-size: 0.9rem !important;
    text-decoration-color: #cbd5e1 !important;
    font-weight: 500 !important;
}

/* Ratings */
.box.product .ratings-container {
    padding: 0 15px !important;
    margin-top: 5px !important;
}
.box.product .ratings-container i {
    color: #fbbf24 !important;
    font-size: 0.8rem !important;
}

/* ==========================================================================
   2. SLIDER & WIDGET MODERNIZATION
   ========================================================================== */
.special-root .Herousel-18OoN {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05) !important;
}

.slick-prev, .slick-next {
    width: 45px !important;
    height: 45px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
    z-index: 20 !important;
    transition: all 0.3s ease !important;
}
.slick-prev:hover, .slick-next:hover {
    background: #ff4c3b !important;
    box-shadow: 0 4px 15px rgba(255, 76, 59, 0.4) !important;
}
.slick-prev:hover::before, .slick-next:hover::before {
    color: white !important;
}
.slick-prev::before, .slick-next::before {
    color: #334155 !important;
    font-size: 1.2rem !important;
}

/* ==========================================================================
   3. MOBILE OFFCANVAS (MMENU) MODERNIZATION
   ========================================================================== */
.mm-menu {
    background: #ffffff !important;
    color: #334155 !important;
}
.mm-navbar {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
.mm-navbar .mm-title {
    color: #0f172a !important;
    font-weight: 700 !important;
}
.mm-listitem {
    border-bottom: 1px solid #f1f5f9 !important;
}
.mm-listitem > a, .mm-listitem > span {
    color: #475569 !important;
    font-weight: 500 !important;
    transition: background 0.2s !important;
}
.mm-listitem > a:hover {
    color: #ff4c3b !important;
    background: #f8fafc !important;
}
.mm-btn:before, .mm-btn:after {
    border-color: #64748b !important;
}


/* ==========================================================================
   TRENDYOL MEGA MENU
   ========================================================================== */
.ty-menu-wrapper {
    position: relative;
    width: 100%;
    background: transparent;
    border-bottom: 1px solid #e2e8f0;
}

.ty-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
}
.ty-menu::-webkit-scrollbar { display: none; }

.ty-menu-item {
    position: static;
}

.ty-menu-item > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.ty-menu-item:hover > a {
    color: #ff6b00;
}

.ty-badge {
    background: #ff4c3b;
    color: #fff;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
    margin-left: 4px;
}

.ty-kategoriler > a {
    font-weight: 700;
    color: #1e293b;
}

.ty-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: none;
    z-index: 9999;
    min-height: 500px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ty-mega-menu.active {
    display: flex;
    opacity: 1;
}

/* Sidebar */
.ty-mega-sidebar {
    width: 220px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.ty-mega-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.ty-sidebar-item > a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #334155;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.ty-sidebar-item.active > a,
.ty-sidebar-item:hover > a {
    background: #fff;
    color: #ff6b00;
    box-shadow: -2px 0 0 #ff6b00 inset;
}

.ty-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ty-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ty-chevron {
    margin-left: auto;
    opacity: 0;
    transition: opacity 0.2s;
}

.ty-sidebar-item.active .ty-chevron,
.ty-sidebar-item:hover .ty-chevron {
    opacity: 1;
}

/* Content Area */
.ty-mega-content {
    flex-grow: 1;
    padding: 24px 40px;
    background: #fff;
}

.ty-mega-pane {
    display: none;
}

.ty-mega-pane.active {
    display: block;
}

.ty-masonry-cols {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 40px;
}

.ty-sub-col {
    width: 220px;
    display: flex;
    flex-direction: column;
}

.ty-sub-title {
    color: #ff6b00;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.ty-sub-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ty-sub-col ul li {
    margin-bottom: 8px;
}

.ty-sub-col ul li a {
    color: #475569;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.ty-sub-col ul li a:hover {
    color: #ff6b00;
    text-decoration: underline;
}

.ty-hidden-item {
    display: none;
}

.ty-see-more {
    background: none;
    border: none;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    padding: 0;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: color 0.2s;
}

.ty-see-more:hover {
    color: #ff6b00;
}

/* ==========================================================================
   COUNTDOWN TIMER (GÜNÜN FIRSATLARI)
   ========================================================================== */
.timer-wrapper {
    background: linear-gradient(90deg, #ff416c 0%, #ff4b2b 100%) !important;
    padding: 0 !important;
    width: 100% !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 -2px 10px rgba(255, 75, 43, 0.3) !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 30 !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
}

.timer-wrapper .time-and-quantity {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.sale-end-timer {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
    float: none !important;
}

.sale-end-timer::before, .sale-end-timer::after {
    display: none !important;
}

h4.sale-emd-title {
    display: none !important; /* Hide to save space on small cards */
}

.timer-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.25) !important;
    border-radius: 4px !important;
    padding: 2px 4px !important;
    min-width: 30px !important;
    width: auto !important;
    height: 24px !important;
    margin: 0 !important;
    float: none !important;
    border: none !important;
}

.timer-box .digits {
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    color: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.timer-box .digits b {
    font-weight: 800 !important;
}

.timer-box span {
    font-size: 7px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    opacity: 0.9 !important;
    margin: 2px 0 0 0 !important;
    color: #fff !important;
    display: block !important;
    line-height: 1 !important;
    float: none !important;
}
