.acontainer {
    max-width: 1330px;
    background: #f2f4f8;
    border-radius: 20px;
    margin: auto;
    padding: 40px 30px;
}


.agrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.acard {
    background: transparent;
    border-radius: 14px;
    padding: 15px;
    position: relative;
    box-shadow: none;
    border: 1px solid transparent;
    /* Start with transparent */
    text-align: left;
    transition: border 0.a3s ease, box-shadow 0.a3s ease;
}

.acard:hover {
    border: 1px solid #d0d5dd;
    /* Light border on hover */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.a08);
    /* Optional soft shadow */
}



.acard img {
    width: 100%;
    max-height: 140px;
    object-fit: contain;
    margin-bottom: 10px;
}

.asave-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #f93b3b;
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
}

.acard-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.arating {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin-bottom: 5px;
}


.aprice {
    font-weight: bold;
    font-size: 16px;
    margin: 5px 0;
    margin-bottom: 8px;
}

.alabels {
    display: flex;
    justify-content: flex-start;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}


.alabel {
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 3px;
}

.afree-shipping {
    background: #ffeded;
    color: #f54444;
}

.afree-gift {
    background: #ffeded;
    color: #f54444;
}

.astatus {
    font-size: 13px;
    color: #222;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.asmall-icons {
    display: flex;
    justify-content: flex-start;
    gap: 6px;
}

.asmall-icons img {
    width: 18px;
    height: 18px;
}

.ashipping-note {
    font-size: 10px;
    background-color: #eee;
    color: #444;
    padding: 2px 5px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 5px;
}

.aavailability {
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

.aimage-container {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 10px;
    position: relative;
}

.aimage-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.aimage-wrapper {
    position: relative;
    margin-bottom: 10px;
}

.asave-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #f93b3b;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

.aimage-container {
    background-color: #fff;
    padding: 15px;
    border-radius: 0px;
}

.aimage-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.acheck-icon {
    width: 14px;
    height: 14px;
}

.avariants {
    display: flex;
    gap: 6px;
}

.avariants img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 3px;
    background: #fff;
}

.acircle-dot {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    background-color: #e6e9f0;
    /* light greyish */
    border-radius: 50%;
    z-index: 1;
}


.aproduct-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    justify-content: center;
}

.ap-item {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.a08);
    width: 100%;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.a3s ease;
}

.ap-item:hover {
    box-shadow: 0 0px 0px #F2F4F8;
}


.amarks {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.amark {
    background-color: #39068b;
    color: white;
    font-size: 10px;
    padding: 3px 18px;
    margin-top: 20px;
    font-weight: 600;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    display: inline-block;
}

.ap-item-img {
    text-align: center;
    padding: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.ap-item-img img {
    max-width: 100%;
    height: auto;
}

.ap-item-details {
    padding: 0px 15px 20px 15px;
}

.ap-item-name a:hover {
    color: #c50303;
}

.ap-item-name a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.a4;
}

.ap-item-price {
    margin-top: 8px;
    font-size: 15px;
}

.aprice-new {
    color: #e60000;
    font-weight: 600;
    font-size: 17px;
}

.aprice-old {
    text-decoration: line-through;
    color: #888;
    margin-left: 8px;
    font-size: 13px;
}

.afeature-zone {
    max-width: 1200px;
    margin: 0 auto;
    background: #F2F4F8;
    margin-top: 150px;
    border-radius: 20px;
    padding: 30px;
}

.afeature-zone h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.afeature-zone h2 span {
    color: #000000;
    font-weight: normal;
    font-size: 16px;
}

.asection-wrapper {
    max-width: 1330px;
    margin: 0 auto;
    padding: 40px 30px;
    background-color: #f2f4f8;
    border-radius: 12px;
}

.anew-arrival-section {
    max-width: 1140px;
    margin: auto;
    text-align: center;
}

.anew-arrival-section h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
}

.ana-product-row {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 30px;
    justify-content: center;
}

.aproduct-card {
    background-color: #f0f2f6;
    border-radius: 10px;
    overflow: hidden;
    flex: 1 1 calc(25% - 25px);
    max-width: 270px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.aproduct-card img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.aproduct-content {
    padding: 15px;
    text-align: left;
}

.aproduct-title {
    font-size: 15px;
    font-weight: bold;
    color: #111;
    margin-bottom: 5px;
}

.aproduct-subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.ashop-button {
    display: inline-block;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: red;
    border: 1px solid red;
    background-color: #f1f2f4;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.a3s ease;
}

.ashop-button:hover {
    background-color: red;
    color: white;
}

/* 🔻 Responsive layout 🔻 */
@media (max-width: 1023px) {
    .aproduct-card {
        flex: 1 1 calc(50% - 25px);
        /* 2 per row */
    }
}

@media (max-width: 480px) {
    .asection-wrapper {
        padding: 20px 15px;
    }

    .aproduct-card {
        flex: 1 1 calc(50% - 15px);
        /* 2 per row even on small phones */
        max-width: 100%;
    }

    .aproduct-content {
        padding: 10px;
    }

    .aproduct-title {
        font-size: 14px;
    }

    .aproduct-subtitle {
        font-size: 12px;
    }

    .ashop-button {
        font-size: 12px;
        padding: 6px 12px;
    }
}


.bdeal-zone {
    max-width: 1200px;
    margin: 0 auto;
    background: #F2F4F8;
    border-radius: 20px;
    padding: 30px;
}

.bdeal-zone h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.bdeal-zone h2 span {
    color: #888;
    font-weight: normal;
}

.bcard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid #ddd;
    border-left: none;
    border-top: none;
}

.bcard {
    display: flex;
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
    background: #fff;
    padding: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.bcard:hover {
    background-color: #f9fdff;
    z-index: 1;
}

.bcard-img {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.bcard-img img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.bcard-img img:hover {
    transform: scale(1.1);
}

.bcard-content {
    width: 60%;
    padding: 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.btimer {
    color: red;
    font-weight: bold;
    font-size: 13px;
}

.btitle {
    font-size: 14px;
    font-weight: bold;
    margin: 8px 0;
    line-height: 1.3;
}

.brating {
    display: flex;
    align-items: center;
    font-size: 13px;
    margin-bottom: 8px;
}

.bstars {
    color: #f5b50a;
    margin-right: 5px;
}

.bprice-section {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
}

.bprice-section .discounted {
    font-size: 18px;
    margin-right: 10px;
    color: #000;
}

.bprice-section .original {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.bsavings {
    color: red;
    font-size: 13px;
}

body {
    margin: 0;
    padding: 30px;
    font-family: Arial, sans-serif;
    background: #e9ecf4;
}

.ccard {
    max-width: 1300px;
    margin: 0 auto 16px;
    background: #fff;
    padding: 20px;
    border-radius: 0px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ccard1 {
    max-width: 1300px;
    margin: 0 auto 16px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ctitle {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cdescription {
    font-size: 14px;
    margin-bottom: 15px;
    color: #444;
}

.cbrand-scroll {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 5px;
    user-select: none;
    cursor: grab;
}

.cbrand-scroll::-webkit-scrollbar {
    display: none;
}

.cbrand-scroll.cactive {
    cursor: grabbing;
}

.cbrand-pill {
    flex: 0 0 auto;
    background: #f1f3f5;
    padding: 6px 16px;
    font-size: 14px;
    border-radius: 999px;
    border: 1px solid #ddd;
    white-space: nowrap;
    transition: 0.2s;
}

.cbrand-pill:hover {
    background-color: #e2e6ea;
}

.csort-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}

.csort-button {
    background-color: red;
    color: white;
    padding: 6px 14px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.cbanner {
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    border-radius: 12px;
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cbanner-text {
    max-width: 300px;
}

.cbanner-text h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.cbanner-text p {
    font-size: 14px;
    margin-bottom: 12px;
}

.cbanner-text button {
    background: #00ff90;
    border: none;
    padding: 8px 14px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

.cbanner-image img {
    max-width: 300px;
    height: auto;
}

.cheader-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}


@media(max-width: 768px) {
    .cbanner {
        flex-direction: column;
        text-align: center;
    }

    .cbanner-text {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 991px) {
    .bcard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .bcard-grid {
        grid-template-columns: 1fr;
    }
}




.fproduct-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    justify-content: center;
}

.f-item {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 100%;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.f-item:hover {
    box-shadow: 0 0px 0px #F2F4F8;
}

.f-marks {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.f-mark {
    background-color: #39068b;
    color: white;
    font-size: 10px;
    padding: 3px 18px;
    margin-top: 20px;
    font-weight: 600;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    display: inline-block;
}

.f-item-img {
    text-align: center;
    padding: 15px;
    border-bottom: 2px solid #f0f0f0;
    position: relative; /* Needed for absolutely positioned button group */
}


.f-item-img img {
    max-width: 100%;
    height: auto;
}

.f-item-details {
    padding: 0px 15px 20px 15px;
}

.f-item-name a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.f-item-name a:hover {
    color: #c50303;
}

.f-item-price {
    margin-top: 8px;
    font-size: 15px;
}

.f-price-new {
    color: #e60000;
    font-weight: 600;
    font-size: 17px;
}

.f-price-old {
    text-decoration: line-through;
    color: #888;
    margin-left: 8px;
    font-size: 13px;
}

.feature-zone {
    max-width: 1200px;
    margin: 0 auto;
    background: #F2F4F8;
    margin-top: 150px;
    border-radius: 20px;
    padding: 30px;
}

.feature-zone h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.feature-zone h2 span {
    color: #000000;
    font-weight: normal;
    font-size: 16px;
}


.f-button-group {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.f-btn {
    color: #333;
    font-size: 14px;
    transition: color 0.2s;
}

.f-btn:hover {
    color: #e60000;
}

.f-out-stock {
    background-color: #888 !important;
}

/* Optional: style star ratings and category */
.f-item-rating {
    margin: 6px 0;
}

.f-item-category a {
    font-size: 12px;
    font-weight: 500;
    color: #888;
    text-decoration: none;
}




/* Tablets (up to 991px) */
@media (max-width: 991px) {
    .fproduct-row {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .f-item-name a {
        font-size: 14px;
    }

    .f-price-new {
        font-size: 16px;
    }
}

/* Mobile Devices (up to 576px) */
@media (max-width: 576px) {
    .fproduct-row {
        grid-template-columns: 1fr;
    }

    .feature-zone {
        padding: 20px 15px;
        margin-top: 100px;
    }

    .f-item {
        border-radius: 8px;
    }

    .f-item-img {
        padding: 10px;
    }

    .f-item-name a {
        font-size: 13px;
    }

    .f-price-new {
        font-size: 15px;
    }

    .f-price-old {
        font-size: 12px;
    }
}




.dz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1px;
    background: #F2F4F8;
}

.dzcard {
    display: flex;
    aspect-ratio: 1 / .7;
    flex-direction: row;
    background: #fff;
    padding: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
}

.dzcard:hover {
    background-color: #f9fdff;
}

.dzcard-image {
    width: 40%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.dz-image {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
}

.dz-out-stock {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ccc;
    color: #000;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
}

.dz-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #17a2b8;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
}

.dz-action-buttons {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
}

.dz-action-buttons a {
    font-size: 14px;
    color: inherit;
}

.dz-action-buttons a:nth-child(1) {
    color: #dc3545;
}

.dz-action-buttons a:nth-child(2) {
    color: #007bff;
}

.dz-action-buttons a:nth-child(3) {
    color: green;
}

.dzcard-details {
    width: 60%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dz-category {
    font-size: 13px;
    color: red;
    font-weight: bold;
    margin-bottom: 4px;
}

.dz-title a {
    font-size: 14px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
    line-height: 1.4;
}

.dz-title {
    margin-bottom: 8px;
}

.dz-rating {
    margin: 8px 0;
}

.dz-price {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
}

.dz-current {
    font-size: 18px;
    margin-right: 10px;
    color: #000;
}

.dz-old {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.dz-save {
    color: red;
    font-size: 13px;
}

@media (max-width: 768px) {
    .dzcard {
        flex-direction: column;
    }

    .dzcard-image,
    .dzcard-details {
        width: 100%;
    }

    .dzcard-image {
        padding: 10px 0;
    }

    .dz-image {
        width: 100%;
        height: auto;
        max-height: 240px;
    }

    

}