@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: #000;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

.hero {
    background: url('navadamaphoto.adama.webp') no-repeat center center/cover;
    color: #000;
    padding: 8rem 2rem;
    text-align: left;
    height: 580px;
    display: flex;
    align-items: center;
}

.hero h1 {
    margin-left: 1rem;
    font-size: 5.5rem;
    margin-bottom: 1rem;
    color: #000;
    line-height: 1.3;
}

.hero h1 span {
    color: #151335;
    font-size: 6rem;
}

.hero .btn {
    position: absolute;
    bottom: 7.5rem;
    margin-left: 5rem;
    padding: 0.7rem 1.5rem;
    background-color: #151335;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.hero .btn:active {
    background-color: #f1c40f;
    color: #151335;
}

.categories-section {
    padding: 20px;
    margin-bottom: 1.5rem;
    background-color: #ffffff;
}

.categories-grid { display: grid; }
.categories-wrapper { display: none; }
.categories-wrapper.tablet { display: none; }

.cate {
    margin-left: 2rem;
    margin-right: 2rem;
}

.categories-section h2 {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 5px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    padding: 10px 0;
    justify-items: center;
}

.categorie {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.categorie:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.categorie img {
    width: 190px;
    height: 190px;
    border-radius: 8px;
    margin-bottom: 7px;
}

.categorie h2 {
    margin-top: 0;
    font-size: 0.9rem;
    color: #000;
}

.produits-section {
    margin-bottom: 1.5rem;
    background-color: #fff;
    margin-right: 1rem;
    margin-left: 1rem;
    padding: 10px;
}

.margin {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.voir-tout {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    color: #000;
    text-decoration: none;
    margin-bottom: 5px;
}

.voir-tout i {
    margin-top: 2px;
    margin-left: 5px;
    vertical-align: middle;
    font-size: 0.8rem;
}

.produits-section h2 {
    text-align: left;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: black;
}

.produits {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    padding:  0 20px;
}

.produit {
    max-width: 200px;
}

.produit:hover {
    transform: translateY(-1px);
}

.image-container {
    position: relative;
    display: inline-block;
}

.discount-badge {
    position: absolute;
    background: #151335;
    color: white;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 0.8em;
    margin-left: 5px;
    top: 2px;
    right: 2px;
    z-index: 10;
}

.produit img {
    max-width: 100%;
    width: 190px;
    height: 190px;
    position: relative;
}

.produit p {
    font-size: 0.8rem;
    color: #000;
    padding-top: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rating-display {
    font-size: 0.8rem;
    color: #f1c40f;
    margin-top: 8px;
    display: flex;
    align-items: center;
}

.note-text {
    font-size: 0.75rem;
    color: #000;
    padding-left: 5px;
    display: flex;
    align-items: center;
}

.price-display {
    margin-top: 8px;
}

.old-price {
    text-decoration: line-through;
    color: #666;
    font-size: 0.75rem;
    display: inline-block;
    margin-left: 5px;
}
       
.current-price, .normal-price {
    color: #000;
    font-size: 0.95rem;
    font-weight: bold;
}

.flash-badge {
    position: absolute;
    top: 2px;
    left: 2px;
    background-color: #ff4757;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
}

.time-remaining {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #e0e0e0;
    z-index: 10;
}

.time-progress {
    height: 100%;
    background-color: #ff4757;
    width: 100%;
    transition: width 1s linear;
}

.flash-alert {
    background-color: #ff4757;
    color: white;
    padding: 5px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 5px;
    text-align: center;
    animation: pulse 1s infinite;
    margin-top: 5px;
    width: 100%;
    max-width: 190px;
}

.flash-alert i {
    margin-right: 3px;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.image-container {
    position: relative;
    display: inline-block;
}
        
.no-items {
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
    font-style: italic;
}

.no-items i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    color: #bdc3c7;
}

@media (max-width: 480px) {
    * {
        overflow-x: hidden;
    }

    body {
        background-color: #f5f5f5;
    }

    .hero {
        display: none;
    }

    .categories-section {
        padding: 5px;
        margin-bottom: 1rem;
    }

    .cate {
        margin-left: 0;
        margin-right: 0;
    }

    .categories-section h2 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .categories-grid {
        display: none !important;
    }

    .categories-wrapper.tablet {
        display: none !important;
    }

    .categories-wrapper.mobile {
        display: block !important;
        position: relative;
    }

    .categorie {
        padding: 0;
        background-color: #ffffff;
        border: none;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        box-shadow: none;
    }

    .categorie:hover {
        transform: none;
        box-shadow: none;
    }

    .categorie img {
        width: 170px;
        height: 150px;
        margin-bottom: 5px;
    }

    .categorie h2 {
        margin-top: 0;
        font-size: 0.8rem;
        color: #000;
    }

    .categories-scroller {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .categories-scroller::-webkit-scrollbar {
        display: none;
    }

    .page {
        scroll-snap-align: start;
        flex: 0 0 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0;
        box-sizing: border-box;
    }

    .page.active {
        display: grid;
    }

    .pagination-buttons {
        display: flex;
        justify-content: center;
        margin-top: 5px;
        gap: 5px;
    }

    .dot {
        width: 7px;
        height: 7px;
        background-color: #bbb;
        border-radius: 50%;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .dot.active {
        background-color: #151335;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

.produits-section {
    padding: 5px;
    margin-bottom: 1rem;
    margin-right: 0rem;
    margin-left: 0rem;
}

.margin {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.margin h2 {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  color: black;
  margin: 0;
}

.margin h2 i {
  margin-right: 5px;
  vertical-align: middle;
  font-size: 1.1rem;
}

.voir-tout {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    color: #000;
    text-decoration: none;
    margin-bottom: 9px;
}

.voir-tout i {
    margin-bottom: 2px;
    margin-left: 5px;
    vertical-align: middle;
    font-size: 0.75rem;
}

.produits-section h2 {
    text-align: left;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: black;
}

.produits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 5px;
    padding: 0;
}

.produit {
    width: 100%;
    max-width: 170px;
}

.produit:hover {
    transform: translateY(0px);
}

.image-container {
    position: relative;
    display: inline-block;
}

.discount-badge {
    position: absolute;
    background: #151335;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    margin-left: 5px;
    top: 0;
    right: 0;
    z-index: 10;
}

.produit img {
    width: 170px;
    height: 170px;
    position: relative;
}

.produit p {
    font-size: 0.75rem;
    color: #000;
    padding-top: 0px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rating-display {
    font-size: 0.75rem;
    color: #f1c40f;
    margin-top: 8px;
    display: flex;
    align-items: center;
}

.note-text {
    font-size: 0.7rem;
    color: #000;
    padding-left: 5px;
    display: flex;
    align-items: center;
}

.price-display {
    margin-top: 8px;
    display: flex;
}
       
.current-price {
    color: #000;
    font-size: 0.85rem;
    font-weight: bold;
}

.normal-price {
    color: #000;
    font-size: 0.85rem;
    font-weight: bold;
}

.old-price {
    text-decoration: line-through;
    color: #666;
    font-size: 0.7rem;
    display: inline-block;
    margin-left: 8px;
    margin-top: 1px;
}

.flash-badge {
    position: absolute;
    top: 2px;
    left: 2px;
    background-color: #ff4757;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 10;
}

.time-remaining {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #ff4757;
    z-index: 10;
}

.timer-bar {
    height: 100%;
    background-color: #e0e0e0;
    width: 100%;
    position: absolute;
    right: 0;
}

.flash-alert {
    background-color: #ff4757;
    color: white;
    padding: 7px;
    border-radius: 3px;
    font-size: 0.7rem;
    margin-bottom: 5px;
    text-align: center;
    animation: pulse 1s infinite;
    margin-top: 5px;
    width: 100%;
    max-width: 160px;
    display: flex;
    align-items: center;
    text-align: center;
}

.flash-alert i {
    margin-right: 3px;
    padding: 1px;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.image-container {
    position: relative;
    display: inline-block;
}
        
.no-items {
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
    font-style: italic;
    font-size: 1rem;
}

.no-items i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    color: #bdc3c7;
}

.cookie-modal-overlay {
    display: none;
}

.cookie-modal-bottom {
    display: none;
}

.cookie-modal-content {
    display: none;
}

.cookie-modal-header {
    display: none;
}

.cookie-modal-body {
    display: none;
}

.cookie-modal-footer {
    display: none;
}

#cookie-modal-overlay {
    display: none;
}
}

@media (min-width: 481px) and (max-width: 960px) {
    body {
        overflow-x: hidden;
    }

    .hero {
        display: none;
    }

    .categories-section {
        padding: 10px;
        margin-bottom: 1rem;
    }

    .cate {
        margin-left: 0;
        margin-right: 0;
    }

    .categories-section h2 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .categories-grid {
        display: none !important;
    }

    .categories-wrapper.mobile {
        display: none !important;
    }

    .categories-wrapper {
        overflow: hidden;
        position: relative;
    }

    .categories-scroller {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .categories-scroller::-webkit-scrollbar {
        display: none;
    }
    
    .categories-wrapper.tablet {
        display: block !important;
    }

    .categorie {
        padding: 0;
        margin: 0;
        background-color: #ffffff;
        border: none;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        overflow: hidden;
        box-shadow: none;
    }

    .categorie:hover {
        transform: none;
        box-shadow: none;
    }

    .categorie img {
        max-width: 160px;
        width: 100%;
        max-height: 160px;
        height: 100%;
    }

    .categorie h2 {
        margin-top: 0;
        font-size: 0.8rem;
        color: #000;
    }

    .page {
        scroll-snap-align: start;
        flex: 0 0 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        padding: 0;
        box-sizing: border-box;
        background-color: #ffffff;
    }

    .page.active {
        display: grid;
    }

    .pagination-buttons {
        display: flex;
        justify-content: center;
        margin-top: 10px;
        gap: 5px;
    }

    .dot {
        width: 7px;
        height: 7px;
        background-color: #bbb;
        border-radius: 50%;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .dot.active {
        background-color: #151335;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

.produits-section {
    padding: 10px;
    margin-bottom: 1rem;
    margin-right: 0rem;
    margin-left: 0rem;
}

.margin {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.margin h2 {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  color: black;
  margin: 0;
}

.margin h2 i {
  margin-right: 5px;
  vertical-align: middle;
  font-size: 1.1rem;
}

.voir-tout {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    color: #000;
    text-decoration: none;
    margin-bottom: 9px;
}

.voir-tout i {
    margin-bottom: 2px;
    margin-left: 5px;
    vertical-align: middle;
    font-size: 0.75rem;
}

.produits-section h2 {
    text-align: left;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: black;
}

.produits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 5px;
    padding: 0;
}

.produit {
    width: 100%;
    max-width: 170px;
}

.produit:hover {
    transform: translateY(0px);
}

.image-container {
    position: relative;
    display: inline-block;
}

.discount-badge {
    position: absolute;
    background: #151335;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    margin-left: 5px;
    top: 0;
    right: 0;
    z-index: 10;
}

.produit img {
    width: 170px;
    height: 170px;
    position: relative;
}

.produit p {
    font-size: 0.75rem;
    color: #000;
    padding-top: 0px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rating-display {
    font-size: 0.75rem;
    color: #f1c40f;
    margin-top: 8px;
    display: flex;
    align-items: center;
}

.note-text {
    font-size: 0.7rem;
    color: #000;
    padding-left: 5px;
    display: flex;
    align-items: center;
}

.price-display {
    margin-top: 8px;
}

.old-price {
    text-decoration: line-through;
    color: #666;
    font-size: 0.7rem;
    display: inline-block;
    margin-left: 8px;
    margin-top: 2px;
}
       
.current-price {
    color: #000;
    font-size: 0.85rem;
    font-weight: bold;
}

.normal-price {
    color: #000;
    font-size: 0.85rem;
    font-weight: bold;
}

.flash-badge {
    position: absolute;
    top: 2px;
    left: 2px;
    background-color: #ff4757;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 10;
}

.time-remaining {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #ff4757;
    z-index: 10;
}

.timer-bar {
    height: 100%;
    background-color: #e0e0e0;
    width: 100%;
    position: absolute;
    right: 0;
}

.flash-alert {
    background-color: #ff4757;
    color: white;
    padding: 7px;
    border-radius: 3px;
    font-size: 0.7rem;
    margin-bottom: 5px;
    text-align: center;
    animation: pulse 1s infinite;
    margin-top: 5px;
    width: 100%;
    max-width: 160px;
    display: flex;
    align-items: center;
    text-align: center;
}

.flash-alert i {
    margin-right: 3px;
    padding: 1px;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.image-container {
    position: relative;
    display: inline-block;
}
        
.no-items {
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
    font-style: italic;
    font-size: 1rem;
}

.no-items i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    color: #bdc3c7;
}
.cookie-modal-overlay {
    display: none;
}

.cookie-modal-bottom {
    display: none;
}

.cookie-modal-content {
    display: none;
}

.cookie-modal-header {
    display: none;
}

.cookie-modal-body {
    display: none;
}

.cookie-modal-footer {
    display: none;
}

#cookie-modal-overlay {
    display: none;
}
}