/* ---------------------------------------------
   SECTION TITLE
--------------------------------------------- */
.section-title {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    margin: 10px 0 20px;
    color: #073487;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-title:before,
.section-title:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 35%;
    height: 2px;
    background: #ddd;
}

.section-title:before {
    left: 0;
}

.section-title:after {
    right: 0;
}

.section-title span {
    padding: 0 15px;
    background: #fff;
    position: relative;
    z-index: 2;
}

@media (max-width: 767px),
(max-width: 575px) {
    .section-title {
        font-size: 20px;
        margin: 10px 0 10px;
    }
}


/* ---------------------------------------------
   CATEGORY CARD
--------------------------------------------- */
.category-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.category-img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-name {
    font-size: 1.1rem;
    font-weight: 700;
}

.shop-btn {
    display: inline-block;
    padding: 5px 12px;
    background: #ff6b6b;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.shop-btn:hover {
    background: #ff3c3c;
    color: #ffffff;
}

@media (max-width: 768px) {
    .category-name {
        font-size: 0.95rem;
    }

    .shop-btn {
        font-size: 0.85rem;
        padding: 4px 10px;
    }
}

@media (max-width: 480px) {
    .category-name {
        font-size: 0.85rem;
    }

    .shop-btn {
        font-size: 0.8rem;
        padding: 3px 8px;
    }
}


/* ---------------------------------------------
   HOME SLIDER
--------------------------------------------- */
.section-slide .item-slick1 {
    height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.section-slide .item-slick1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.40);
    z-index: 1;
}

.section-slide .flex-col-l-m {
    position: relative;
    z-index: 2;
}

.ltext-101 {
    font-size: 48px;
    color: #fff !important;
    font-weight: 700;
}

.ltext-201 {
    font-size: 28px;
    color: #fff !important;
}

.hov-btn1 {
    background: #ff6a00 !important;
    border-color: #ff6a00 !important;
}

/* Mobile fixes */
@media (max-width: 768px) {

    .section-slide .item-slick1 {
        height: 50vh !important;
    }

    .ltext-101 {
        font-size: 26px !important;
    }

    .ltext-201 {
        font-size: 18px !important;
    }

    .hov-btn1 {
        padding: 8px 18px !important;
        font-size: 12px !important;
    }

    .flex-col-l-m {
        padding-top: 40px !important;
    }
}


/* ---------------------------------------------
   SCROLLING TICKER
--------------------------------------------- */
.info-ticker {
    width: 100%;
    background: #111;
    color: #fff;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    font-size: 18px;
    font-weight: 600;
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@media (max-width: 768px) {
    .ticker-content {
        font-size: 14px;
        animation-duration: 35s;
    }
}


/* ---------------------------------------------
   PRODUCTS GRID
--------------------------------------------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ---------------------------------------------
   PRODUCT CARD
--------------------------------------------- */
.product-card {
    display: block;
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.10);
}


.product-img {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 8px;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}


/* DISCOUNT BADGE */
.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff3d00;
    padding: 5px 10px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
}


/* PRODUCT NAME */
.product-name {
    font-size: 16px;
    font-weight: bold;
    color: #222;
    margin-top: 10px;
    height: 38px;
    overflow: hidden;
}


/* PRODUCT PRICE */
.product-price {
    margin: 8px 0;
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-new {
    color: #d70000;
    font-size: 18px;
    font-weight: bold;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}


/* PRODUCT STARS */
.product-stars {
    color: #ffbe00;
    font-size: 14px;
}

/* ---------------------------------------------
   CHECKOUT
--------------------------------------------- */
.payment-option {
    transition: all 0.2s;
}
    
.payment-option:hover {
    border-color: #0d6efd;
    box-shadow: 0 0 8px rgba(13, 110, 253, 0.3);
}
    
.payment-option.active {
    border-color: #0d6efd;
    background-color: #e7f1ff;
}
.cursor-pointer {
    cursor: pointer;
}
.place-order-btn{
    padding: 12px;
    font-size: 16px;
    background: #073487;
    border: none;
    border-radius: 10px;
}

/* ---------------------------------------------
   ALL PRODUCT
--------------------------------------------- */
.dms-categories-list li { margin-right: 10px; margin-bottom: 5px; }
.dms-category-filter {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    background: #f2f2f2;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    width: 100%;
}
.dms-category-filter.active,
.dms-category-filter:hover { background: #073487; color: #fff; }

@media (max-width: 767px) {
    .dms-categories-list { overflow-x: auto; white-space: nowrap; flex-wrap: nowrap !important; padding-bottom:10px; }
    .dms-categories-list li { display: inline-block; margin-right: 8px; }
}

.dms-product-card { 
    background: #fff; 
    border: 1px solid #eee; 
    border-radius:10px; 
    overflow:hidden; 
    transition:0.3s; 
    position: relative;
}
.dms-product-card:hover { transform: translateY(-3px); box-shadow:0 4px 15px rgba(0,0,0,0.1); }

.dms-product-img img { width:100%; height:180px; object-fit:cover; border-radius:6px; }
.dms-product-name { font-size:16px; font-weight:600; }

.dms-price { color:#d70000; }

@media (max-width:576px) { 
    .dms-product-img img { height:150px; } 
    .dms-product-name { font-size:14px; } 
}

.dms-discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #d70000;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 3px 7px;
    border-radius: 4px;
    z-index: 10;
}
