/* assets/css/style.css */

/* Fix for absolute positioned elements inside product image wrappers (e.g. Out of Stock badge) */
.product-image {
    position: relative;
}

/* Social Icon Official Brand Colors - Fixed Default States */
.footer-static-middle .social-link li.youtube {
    background: #ff0000 !important;
}

.footer-static-middle .social-link li.instagram {
    background: #C13584 !important;
}

/* Hover fixes (slight darkening on hover) */
.footer-static-middle .social-link li.youtube:hover {
    background-color: #cc0000 !important;
}

.footer-static-middle .social-link li.instagram:hover {
    background-color: #833AB4 !important;
}

/* Custom Theme Yellow Button with Animation */
.btn-theme-yellow {
    background-color: #fed700;
    border-color: #fed700;
    color: #242424;
    transition: all 0.3s ease;
}

.btn-theme-yellow:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    color: #242424;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(254, 215, 0, 0.4);
}

/* ==============================================================
   🚀 NEW SLEEK PRODUCT CARD (CodePen: nodws/gbpLqqg)
   ============================================================== */
.sleek-card {
    width: 100%;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
    transition: .3s;
    font-family: 'Segoe UI', sans-serif;
    margin: 0 auto 15px;
    /* Reduced from 30px */
    overflow: hidden;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f5f5f5;
}

.sleek-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
}

.sleek-card .badge-sale {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(to right, rgba(169, 3, 41, 1) 0%, rgba(196, 72, 72, 1) 44%, rgba(170, 34, 56, 1) 100%);
    color: #fff;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
    z-index: 10;
}

.sleek-card .tilt {
    overflow: hidden;
    position: relative;
}

.sleek-card .tilt>a {
    display: block;
}

.sleek-card .img {
    height: 160px;
    /* Reduced to compress card height */
    overflow: hidden;
    background: #fcfcfc;
    /* subtle background for transparent images */
    display: flex;
    align-items: center;
    justify-content: center;
}

.sleek-card .img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* changed from cover to fit image perfectly */
    transition: .5s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 8px;
    /* slight padding inner */
}

.sleek-card:hover .img img {
    transform: scale(1.08);
}

.sleek-card .info {
    padding: 12px 15px;
    /* Reduced from 20px */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sleek-card .cat {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.sleek-card .title {
    font-size: 14px;
    color: #333;
    margin: 0 0 6px 0;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sleek-card .title a {
    color: #525252;
    text-decoration: none;
    transition: 0.2s;
}

.sleek-card .title a:hover {
    color: #fed700;
}

.sleek-card .desc {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sleek-card .feats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.sleek-card .feat {
    font-size: 11px;
    background: #f0f0f0;
    color: #555;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.sleek-card .bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 10px;
    /* Reduced */
    margin-top: auto;
    margin-bottom: 10px;
    /* Reduced */
}

.sleek-card .price .old {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    display: block;
    margin-bottom: 2px;
}

.sleek-card .price .new {
    font-size: 18px;
    /* Reduced from 20px */
    color: #242424;
    font-weight: 500;
}

.sleek-card .btn-add {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
    color: #fff;
    border: none;
    padding: 7px 10px;
    border-radius: 6px;
    font-weight: 200;
    font-size: 14px;
    transition: .3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.sleek-card .btn-add:hover {
    background: #fed700;
    color: #242424;
}

.sleek-card .btn-add.disabled {
    background: #f1f1f1;
    color: #aaa;
    cursor: not-allowed;
}

.sleek-card .btn-add.disabled:hover {
    background: #f1f1f1;
    color: #aaa;
}

.sleek-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    border-top: 1px dotted #eaeaea;
    padding-top: 12px;
}

.sleek-card .rating {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #ffc107;
    font-size: 11px;
}

.sleek-card .rating i {
    color: #ffc107;
}

.sleek-card .rating span:first-of-type {
    color: #555;
    font-weight: 700;
    margin-left: 4px;
    font-size: 12px;
}

.sleek-card .stock {
    color: #27ae60;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
}

.sleek-card .stock:before {
    content: "";
    width: 7px;
    height: 7px;
    background: #27ae60;
    border-radius: 50%;
}

.sleek-card .stock-out {
    color: #e44d26;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
}

.sleek-card .stock-out:before {
    content: "";
    width: 7px;
    height: 7px;
    background: #e44d26;
    border-radius: 50%;
}

/* Mobile response */
@media (max-width: 400px) {
    .sleek-card .title {
        font-size: 15px;
    }

    .sleek-card .img {
        height: 160px;
    }

    .sleek-card .bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .sleek-card .btn-add {
        width: 100%;
        justify-content: center;
    }
}

/* Tight grid columns for sleek-card to reduce gap and expand width */
.sleek-col {
    padding-left: 4px !important;
    /* Reduced from 7px */
    padding-right: 4px !important;
}

/* ==============================================================
   🚀 SLEEK PRODUCT LIST ROW (Adapted for List View)
   ============================================================== */
.sleek-list-card {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
    transition: .3s;
    font-family: 'Segoe UI', sans-serif;
    margin-bottom: 25px;
    overflow: hidden;
    border: 1px solid #f5f5f5;
    padding: 15px !important;
    display: flex;
    align-items: center;
}

.sleek-list-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .12);
}

.sleek-list-card .img {
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
    position: relative;
}

.sleek-list-card .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.sleek-list-card:hover .img img {
    transform: scale(1.05);
}

.sleek-list-card .info {
    padding: 10px 20px;
}

.sleek-list-card .desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.sleek-list-card .price .new {
    font-size: 24px;
    color: #242424;
    font-weight: 800;
    display: block;
    margin-bottom: 15px;
}

.sleek-list-card .add-actions-link {
    display: flex;
    gap: 15px;
}

.sleek-list-card .add-actions-link li {
    list-style: none;
}

.sleek-list-card .add-actions-link li a {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: .3s;
    text-decoration: none;
}

.sleek-list-card .add-actions-link li a:hover {
    background: #fed700;
    color: #242424;
}

.sleek-list-card .add-actions-link li.disabled a {
    background: #f1f1f1;
    color: #aaa;
    cursor: not-allowed;
}

.sleek-list-card .add-actions-link li.disabled a:hover {
    background: #f1f1f1;
    color: #aaa;
}

/* ==============================================================
   🚀 EXPAND SITE CONTAINER WIDTH (User Request)
   ============================================================== */
@media (min-width: 1200px) {
    .container {
        max-width: 95% !important;
    }
}
@media (min-width: 1600px) {
    .container {
        max-width: 85% !important;
    }
}

/* ==============================================================
   🚀 PRODUCT DETAIL OVERHAUL (Gallery & Modal)
   ============================================================== */
/* Fix margin and overlapping between main image and thumbnails */
.product-details-images {
    margin-bottom: 20px !important;
}
.slider-thumbs-1 {
    margin-top: 20px !important;
    padding: 0 5px; /* Space for slick arrows if they appear */
}
.slider-thumbs-1 .sm-image img {
    border-radius: 8px;
    border: 1px solid #eee;
    transition: 0.3s;
}
.slider-thumbs-1 .sm-image:hover img {
    border-color: #fed700;
}
.slider-thumbs-1 .slick-slide {
    padding: 0 8px; /* Gap between thumbnails */
}
/* Force Venobox large images to fit the screen without creating scrollbars */
.vbox-content img {
    max-height: 85vh !important;
    width: auto !important;
    max-width: 100vw !important;
    object-fit: contain !important;
    margin: 0 auto;
}
/* Prevent double scrollbar while Venobox is open */
body.vbox-open, html.vbox-open {
    overflow: hidden !important;
}
.vbox-overlay, .vbox-container, .vbox-content {
    overflow: hidden !important;
}

/* ==============================================================
   🚀 HOMEPAGE UI IMPROVEMENTS
   ============================================================== */
/* Soften corners of the main slider */
.slider-active {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02); /* Subtle premium shadow */
    transition: all 0.3s ease;
}
/* Soften corners of any side/bottom banners */
.li-banner a, .li-banner img {
    border-radius: 6px;
    overflow: hidden;
}