/*
Theme Name: iBid Child
Theme URI: https://ibid.modeltheme.com/
Template: ibid
Author: ModelTheme
Author URI: http://modeltheme.com/
Description: Multi Vendor Auctions WooCommerce Theme
Version: 1.0
Text Domain: ibid
Tags: custom-header, custom-menu, featured-images, post-formats, sticky-post
*/

/* Theme customization starts here
------------------------------------------------------- */

#dropdown-user-profile.open ul {
    top: 100%;
    visibility: visible;
    opacity: 1;
}

.navbar-header .logo {
    margin: 6px 0;
}


/* Auction Countdown */
.auction-countdown {
    font-size: 18px;
    font-weight: 700;
    color: #e11d48;
    text-align: center;
    line-height: 1.4;
}

.auction-countdown .ended {
    color: #999;
    font-weight: 700;
}


/* Optional debug */
.samir-auction-debug {
    font-size: 12px;
    color: #777;
    margin-top: 8px;
}


/* Latest auction slider/cards */
.samir-auction-slider-wrap {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
}

.samir-auction-slide {
    width: 100%;
    max-width: 380px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
}

.samir-auction-inner {
    padding: 22px;
    text-align: left;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
}

.samir-auction-left {
    width: 100%;
}

.samir-auction-right {
    text-align: center;
    margin-top: auto;
    padding-top: 18px;
}

.samir-auction-right a {
    display: inline-block;
    width: 100%;
}

.hideme
{
	display:none;
}

.samir-auction-right img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.samir-auction-heading {
    font-size: 18px;
    line-height: 1.15;
    margin: 0 0 12px;
    color: #111;
    font-weight: 700;
    overflow-wrap: break-word;
    word-break: break-word;
}

.samir-auction-price {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
}

.samir-auction-label {
    font-size: 15px;
    font-weight: 700;
    color: #e21b1b;
    margin-bottom: 8px;
}

.samir-auction-timer {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    text-align: center;
}


/* Strong button fix for iBid/WooCommerce overrides */
.samir-auction-inner {
    padding: 22px;
    text-align: left;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.samir-auction-right {
    text-align: center;
    margin: 8px 0 18px;
    padding-top: 0;
}

.samir-auction-right a {
    display: block;
    width: 100%;
}

.samir-auction-right img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.samir-auction-price {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
    text-align: left;
}


.samir-auction-btn,
.samir-auction-btn:link,
.samir-auction-btn:visited,
.samir-auction-btn:hover,
.samir-auction-btn:focus,
.samir-auction-btn:active,
.samir-auction-slide .samir-auction-btn,
.samir-auction-slide .samir-auction-btn:link,
.samir-auction-slide .samir-auction-btn:visited,
.samir-auction-slide .samir-auction-btn:hover,
.samir-auction-slide .samir-auction-btn:focus,
.samir-auction-slide .samir-auction-btn:active {
    display: inline-block;
    width: fit-content;
    padding: 12px 22px;
    background: #111 !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 10px;
    font-weight: 700;
    line-height: 1.2;
    border: none !important;
    box-shadow: none !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.samir-auction-btn:hover,
.samir-auction-slide .samir-auction-btn:hover {
    background: #222 !important;
    color: #fff !important;
}

.samir-auction-empty {
    text-align: center;
    padding: 20px;
    font-weight: 700;
}


/* Responsive */
@media (max-width: 1199px) {
    .samir-auction-slide {
        max-width: 340px;
    }

    .samir-auction-heading {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .samir-auction-slider-wrap {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: stretch;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding: 0 12px 10px;
        margin: 0 -12px;
        scrollbar-width: none;
    }

    .samir-auction-slider-wrap::-webkit-scrollbar {
        display: none;
    }

    .samir-auction-slide {
        flex: 0 0 85%;
        max-width: 85%;
        min-width: 85%;
        scroll-snap-align: start;
    }

    .samir-auction-inner {
        padding: 7px;
    }

    .samir-auction-heading {
        font-size: 26px;
    }

    .samir-auction-price {
        font-size: 20px;
    }

    .samir-auction-btn,
    .samir-auction-btn:link,
    .samir-auction-btn:visited,
    .samir-auction-btn:hover,
    .samir-auction-btn:focus,
    .samir-auction-btn:active {
        padding: 11px 18px;
    }
}
/* iBid style countdown box */
.samir-countdownv2-holder{
    margin: 12px 0 18px;
}

/* old plain timer fallback */
.auction-countdown{
    font-size:18px;
    font-weight:700;
    color:#e11d48;
    text-align:center;
    line-height:1.4;
}

.auction-countdown .ended{
    color:#999;
    font-weight:700;
}


.samir-local-countdown-wrap{
    margin:12px 0 18px;
}

.samir-local-countdown-box{
    background:#f7f7f7;
    padding:14px 12px 10px;
    text-align:center;
    border-radius:0;
}

.samir-local-countdown-label{
    margin:0 0 10px;
    font-size:14px;
    line-height:1.2;
    color:#7a7a7a;
    font-weight:500;
}

.samir-local-countdown-row{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:6px;
    width:100%;
}

.samir-local-countdown-item{
    flex:1 1 0;
    text-align:center;
}

.samir-local-countdown-number{
    display:block;
    font-size:24px;
    line-height:1;
    font-weight:500;
    color:#111;
    margin-bottom:6px;
}

.samir-local-countdown-text{
    display:block;
    font-size:13px;
    line-height:1.25;
    color:#444;
    font-weight:400;
    text-transform:none;
}

.samir-local-countdown-item--ended{
    flex:1 1 100%;
}

.samir-local-countdown--empty{
    font-size:14px;
    color:#999;
    text-align:center;
}