.homepage3 .titles3 {
    margin-left: 1.5rem;
    margin-top: 3rem;
    font-size: 25px;
    color: black;
    font-weight: bold;
}

/* ΓΡΑΜΜΕΣ */
.homepage3 hr {
    border: none;
    border-top: 3px solid black;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}
/* --- GRID LAYOUT FOR BASKET CARDS --- */
.basket-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* --- CARD (χωρίς zoom) --- */
.basket-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
}

.basket-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);  /* μικρή έμφαση χωρίς zoom */
}

/* --- IMAGE WRAPPER --- */
.basket-card-img-wrapper {
    width: 100%;
    overflow: hidden; /* απαραίτητο για να κόβει το zoom της φωτογραφίας */
}

/* --- IMAGE (zoom only on image) --- */
.basket-card-img-wrapper .basket-card-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.35s ease; /* smooth zoom */
    transform-origin: center;
}

/* 🔥 ONLY THE PHOTO ZOOMS — NOT THE CARD */
.basket-card-img-wrapper:hover .basket-card-img {
    transform: scale(1.15);  /* πόσο zoom θέλεις */
}

/* --- CONTENT --- */
.basket-card-content {
    padding: 15px;
}

.basket-card-content .basket-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #222;
}

.basket-card-content .basket-card-quantity {
    font-size: 18px;
    color: blue;
    font-weight: bold;
    margin-bottom: 12px;
}
.basket-card-content .items-card-price {
    color: rgb(167, 28, 28);
    font-weight: bold;
}

.basket-card-content .basket-card-quantity span {
    color: black;
}



/* --- DELETE BUTTON --- */
.basket-card-content .basket-delete-btn1 {
    width: 100%;
    padding: 10px;
    background-color: #dc2626;   /* καθαρό κόκκινο */
    color: #ffffff;
    font-size: 15px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    margin-top: 5px;
    transition: background-color 0.2s ease;
}

.basket-card-content .basket-delete-btn1:hover {
    background-color: #b91c1c;   /* πιο σκούρο κόκκινο */
}
/* --- REMOVE FORM --- */
.remove-box {
    margin-top: 10px;
}

/* --- QUANTITY BOX --- */
.quantity-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

/* --- QUANTITY BUTTONS --- */
.qty-btn {
    width: 34px;
    height: 34px;
    border: none;
    background-color: #e5e7eb;
    color: #000;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.qty-btn:hover {
    background-color: #d1d5db;
}

/* --- INPUT --- */
.qty-input {
    width: 50px;
    height: 34px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f9fafb;
    color: #000;
}

/* --- OPTIONAL: χρώμα +/- --- */
.minus-btn {
    color: #dc2626;
}

.plus-btn {
    color: #16a34a;
}


@media only screen and (min-width: 240px) and (max-width: 600px) and (orientation: portrait) {
    .homepage3 .title3 {
        margin-left: 1rem;
    }

    /* ΓΡΑΜΜΕΣ */
    .homepage3 hr{
        margin-left: 1rem;
        margin-right: 1rem;
    }
    /* --- GRID LAYOUT --- */
    .basket-cards {
        grid-template-columns: 1fr;   /* ✅ 1 κάρτα ανά σειρά */
        padding-left: 1rem;           /* ✅ 1rem δεξιά-αριστερά */
        padding-right: 1rem;
        gap: 16px;                    /* λίγο πιο σφιχτό στο mobile */
    }

    /* --- CARD --- */
    .basket-card {
        border-radius: 12px;          /* πιο mobile friendly */
    }

    /* --- CONTENT --- */
    .basket-card-content {
        padding: 14px;
    }

    .basket-card-title {
        font-size: 17px;
    }

    .basket-card-quantity {
        font-size: 14px;
    }

    /* --- DELETE BUTTON --- */
    .basket-delete-btn {
        font-size: 15px;
        padding: 12px;
        border-radius: 8px;
    }
}

@media only screen and (min-width: 481px) and (max-width: 950px) and (orientation: landscape) {
    .homepage3 .title3 {
        margin-left: 1rem;
    }

    /* ΓΡΑΜΜΕΣ */
    .homepage3 hr{
        margin-left: 1rem;
        margin-right: 1rem;
    }
    /* --- GRID LAYOUT --- */
    .basket-cards {
        grid-template-columns: repeat(2, 1fr);  /* ✅ 2 κάρτες */
        padding-left: 1rem;                     /* άνετο spacing */
        padding-right: 1rem;
        gap: 20px;
    }

    /* --- CARD CONTENT --- */
    .basket-card-content {
        padding: 15px;
    }

    .basket-card-title {
        font-size: 17px;
    }

    .basket-card-quantity {
        font-size: 14px;
    }

    /* --- DELETE BUTTON --- */
    .basket-delete-btn {
        font-size: 15px;
        padding: 12px;
    }
}

@media only screen and (min-width: 601px) and (max-width: 1024px) and (orientation: portrait) {
    .homepage3 .title3 {
        margin-left: 1rem;
    }

    /* ΓΡΑΜΜΕΣ */
    .homepage3 hr{
        margin-left: 1rem;
        margin-right: 1rem;
    }
    /* --- GRID LAYOUT --- */
    .basket-cards {
        grid-template-columns: repeat(2, 1fr);  /* ✅ 2 κάρτες */
        padding-left: 1rem;
        padding-right: 1rem;
        gap: 20px;
    }

    /* --- CONTENT --- */
    .basket-card-content {
        padding: 16px;
    }

    .basket-card-title {
        font-size: 18px;
    }

    .basket-card-quantity {
        font-size: 15px;
    }

    /* --- DELETE BUTTON --- */
    .basket-delete-btn {
        font-size: 16px;
        padding: 12px;
    }
}

@media only screen and (min-width: 951px) and (max-width: 1366px) and (orientation: landscape) {
    .homepage3 .titles3 {
        margin-left: 1.2rem;
    }

    .homepage3 hr {
        margin-left: 1.2rem;
        margin-right: 1.2rem;
    }
    /* --- GRID LAYOUT --- */
    .basket-cards {
        grid-template-columns: repeat(3, 1fr); /* ✅ 3 κάρτες */
        padding: 1.2rem;
        gap: 24px;
        justify-content: stretch;
    }

    /* --- CONTENT --- */
    .basket-card-content {
        padding: 16px;
    }

    .basket-card-title {
        font-size: 18px;
    }

    .basket-card-quantity {
        font-size: 15px;
    }

    /* --- DELETE BUTTON --- */
    .basket-delete-btn {
        font-size: 16px;
        padding: 12px;
    }
}

@media only screen and (min-width: 1367px) and (max-width: 1599px) and (orientation: landscape) {
    .homepage3 .titles3 {
        margin-left: 1.4rem;
    }

    .homepage3 hr {
        margin-left: 1.4rem;
        margin-right: 1.4rem;
    }
    /* 🔒 ΚΟΙΝΟΣ CONTAINER (ίδιος με homepage) */
    .basket-container {
        max-width: 1400px;     /* μεγαλύτερο grid για 4 κάρτες */
        margin: 0 auto;
        padding: 1.4rem;
    }

    /* 🧱 GRID ΚΑΡΤΩΝ */
    .basket-cards {
        display: grid;
        grid-template-columns: repeat(4, 1fr);  /* ✅ 4 κάρτες */
        gap: 28px;
        justify-content: stretch;
    }

    /* 🃏 CARD CONTENT */
    .basket-card-content {
        padding: 16px;
    }

    .basket-card-title {
        font-size: 18px;
    }

    .basket-card-quantity {
        font-size: 15px;
    }

    /* 🗑️ DELETE BUTTON */
    .basket-delete-btn {
        font-size: 16px;
        padding: 12px;
    }
}

@media only screen and (min-width: 1600px) and (max-width: 1920px) and (orientation: landscape) {
    .homepage3 .titles3 {
        margin-left: 1.5rem;
    }

    .homepage3 hr {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }
    /* 🔒 ΚΟΙΝΟΣ CONTAINER */
    .basket-container {
        max-width: 1480px;     /* άνετο πλάτος για large desktop */
        margin: 0 auto;
        padding: 1.5rem;
    }

    /* 🧱 GRID ΚΑΡΤΩΝ */
    .basket-cards {
        display: grid;
        grid-template-columns: repeat(4, 1fr);  /* ✅ 4 κάρτες */
        gap: 32px;
        justify-content: stretch;
    }

    /* 🃏 CARD CONTENT */
    .basket-card-content {
        padding: 18px;
    }

    .basket-card-title {
        font-size: 19px;
    }

    .basket-card-quantity {
        font-size: 15px;
    }

    /* 🗑️ DELETE BUTTON */
    .basket-delete-btn {
        font-size: 16px;
        padding: 14px;
    }
}

@media only screen and (min-width: 1921px) {
    .homepage3 .titles3 {
        margin-left: 1.8rem;
    }

    .homepage3 hr {
        margin-left: 1.8rem;
        margin-right: 1.8rem;
    }

    /* 🔒 ΚΟΙΝΟΣ CONTAINER */
    .basket-container {
        max-width: 1800px;     /* άνετο ultra-wide grid */
        margin: 0 auto;
        padding: 1.8rem;
    }

    /* 🧱 GRID ΚΑΡΤΩΝ */
    .basket-cards {
        display: grid;
        grid-template-columns: repeat(6, 1fr);  /* ✅ 6 κάρτες */
        gap: 32px;
        justify-content: stretch;
    }

    /* 🃏 CARD CONTENT */
    .basket-card-content {
        padding: 20px;
    }

    .basket-card-title {
        font-size: 20px;
    }

    .basket-card-quantity {
        font-size: 16px;
    }

    /* 🗑️ DELETE BUTTON */
    .basket-delete-btn {
        font-size: 17px;
        padding: 14px;
    }
}
