/* ================= WRAPPER ================= */
.cmp-single-final {
    max-width: 1200px;
    margin: auto;
    padding: 25px;
    font-family: 'Manrope';
    color: #222;
    font-size: 17px; /* αυξημένο μέγεθος γενικά */
}

/* ================= BREADCRUMB ================= */
.cmp-breadcrumb {
    font-size: 16px;
	font-family: 'Manrope';
    margin-bottom: 20px;
    color: #555;
}
.cmp-breadcrumb a {
    color: #0073aa;
    text-decoration: none;
    font-weight: 600;
}
.cmp-breadcrumb span {
    color: #222;
    font-weight: 700;
}


/* ================= TOP LAYOUT ================= */
.cmp-top-final {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* LEFT PANEL */
.cmp-left-final {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

/* MAIN IMAGE */
.cmp-main-image-final {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 15px;
    background: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cmp-main-image-final img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.cmp-main-image-final:hover img {
    transform: scale(1.03);
}

/* GALLERY */
.cmp-gallery-final {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    justify-content: center;
}
.cmp-gallery-final img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid #ddd;
    transition: 0.2s all;
}
.cmp-gallery-final img:hover {
    border-color: #0073aa;
    transform: scale(1.05);
}

/* FAVORITE BUTTON */
.cmp-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    padding: 10px 12px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* RIGHT PANEL */
.cmp-right-final {
	position: sticky;
    align-self: start; /* 🔥 σημαντικό για grid */
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    top: 20px;
}

/* TITLE */
.cmp-right-final h1 {
    font-size: 28px;
	font-family: 'Manrope';
    font-weight: 800;
    margin-bottom: 15px;
}

/* PRICE */
.cmp-price-final {
    font-size: 48px;
	font-family: 'Manrope';
    font-weight: 800;
    color: #383838;
    margin-bottom: 0px;
}

/* BASIC INFO */
.cmp-basic-final {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.cmp-basic-final li {
    padding: 0px 0;
    font-size: 17px;
	font-family: 'Manrope';
    border-bottom: 1px solid #eee;
}
.cmp-basic-final li strong {
    color: #333;
}

/* VENDOR BOX */
.cmp-vendor-box {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    font-size: 17px;
}

/* CALL BUTTON */
.cmp-call-final {
    display: block;
    padding: 20px;
    background: #0073aa;
    color: #fff;
    text-align: center;
    border-radius: 12px;
    font-size: 24px;
	font-family: Manrope;
    font-weight: 800;
    text-decoration: none;
    margin-top: 10px;
}
.cmp-call-final:hover {
    background: #009245;
}

/* DETAILS TABLE */
.cmp-details-final {
    margin-top: 0px;
    background: #fff;
    padding: 5px;
    border-radius: 15px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}
.cmp-details-final h2 {
    font-size: 22px;
	font-family: 'Manrope';
    margin-bottom: 20px;
}
.cmp-details-final table {
    width: 100%;
    border-collapse: collapse;
}
.cmp-details-final td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-size: 17px;
}
.cmp-details-final td:first-child {
    color: #555;
    font-weight: 600;
}

/* DESCRIPTION */
.cmp-description-final {
    margin-top: 30px;
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.cmp-description-final h2 {
    font-size: 22px;
	font-family: 'Manrope';
    margin-bottom: 15px;
}
.cmp-description-final p {
    line-height: 1.7;
    font-size: 17px;
	font-family: 'Manrope';
}

/* SIMILAR ADS */
.cmp-similar h2 {
    font-size: 22px;
	font-family: 'Manrope';
    margin-bottom: 20px;
}


.cmp-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}
.cmp-card{
    background:#fff;
    border-radius:15px;
    padding:15px;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
    overflow:hidden;
}
.cmp-card img{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:10px;
}
.cmp-card h3{
    font-size:18px;
	font-family: 'Manrope';
    margin:10px 0;
}
.cmp-card .cmp-price{
    font-size:40px;
	font-family: 'Manrope';
    font-weight:800;
    color:#242424;
}
.cmp-card .cmp-btn{
    display:block;
    margin-top:10px;
    padding:10px;
    background:#0073aa;
    color:#fff;
    text-align:center;
    border-radius:8px;
    text-decoration:none;
	font-size: 24px;
}

/* LIGHTBOX */
.cmp-lightbox{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.9);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
}
.cmp-lightbox img{
    max-width:90%;
    max-height:90%;
    border-radius:10px;
}
.cmp-close{
    position:absolute;
    top:20px;
    right:30px;
    font-size:40px;
    color:#fff;
    cursor:pointer;
}

/* ================= MOBILE ================= */
@media(max-width:768px){
    .cmp-top-final{
        grid-template-columns:1fr;
    }
    .cmp-main-image-final{
        aspect-ratio:4/3;
    }
    .cmp-gallery-final img{
        width:90px;
        height:65px;
    }
    .cmp-right-final{
        position:relative;
        top:auto;
    }
    .cmp-right-final h1{
        font-size:20px;
		font-family: 'Manrope';
    }
    .cmp-price-final{
        font-size:40px;
		font-family: 'Manrope';
    }
    .cmp-grid{
        grid-template-columns:1fr;
    }
}

/* Lightbox overlay */
.cmp-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

/* Lightbox image */
.cmp-lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* Close button */
.cmp-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
    user-select: none;
}

/* Prev / Next buttons */
.cmp-prev, .cmp-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 120px;
	font-family: 'Manrope';
    color: #fff;
    cursor: pointer;
    padding: 10px;
    user-select: none;
    z-index: 10000;
    transition: color 0.2s;
}

.cmp-prev:hover, .cmp-next:hover {
    color: #00a651;
}

/* Left / Right positioning */
.cmp-prev {
    left: 30px;
}

.cmp-next {
    right: 30px;
}


/* ================= MOBILE ================= */
@media(max-width:768px){

    .cmp-top-final {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cmp-main-image-final {
        aspect-ratio: 4/3;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .cmp-gallery-final {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .cmp-right-final {
        position: relative;
        top: auto;
    }

    .cmp-right-final h1 {
        font-size: 24px;
		font-family: 'Manrope';
    }

    .cmp-price-final {
        font-size: 32px;
		font-family: 'Manrope';
    }

    .cmp-basic-final li,
    .cmp-details-final td,
    .cmp-description-final p,
    .cmp-vendor-box {
        font-size: 16px;
		
.cmp-frontend-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 20px;
    font-family: 'Manrope';
    color: #333;
}
    }

    .cmp-call-final {
        font-size: 17px;
        padding: 14px;
    }
}


/* MAIN IMAGE - FIX CENTER MOBILE */
@media(max-width:768px){
    .cmp-main-image-final {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: flex;
        justify-content: center;  /* horizontal centering */
        align-items: center;      /* vertical centering */
        overflow: hidden;
        aspect-ratio: 4/3;
        margin: 0 auto;
    }
    .cmp-main-image-final img {
        width: 100%;
        height: auto; /* κρατάμε σωστά την αναλογία */
        object-fit: cover;
        display: block;
    }
}


/* SINGLE PAGE WRAPPER - FULL MOBILE CENTERING */
@media(max-width:768px){
    .cmp-single-final {
        max-width: 90%;      /* πλήρες πλάτος */
        padding: 15px;        /* λίγο padding για να μην κολλάει στις άκρες */
        margin: 0 auto;       /* center ολόκληρη η σελίδα */
        display: flex;
        flex-direction: column; /* όλα τα panels κάτω-κάτω */
        align-items: center;    /* center content */
    }

    .cmp-top-final {
        grid-template-columns: 1fr; /* μία στήλη */
        width: 100%;
        gap: 20px;
    }

    .cmp-left-final,
    .cmp-right-final {
        width: 95%; /* panels full width */
        max-width: 450px; /* optional για να μην είναι τεράστια */
    }

    .cmp-main-image-final {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
    }
}

/* GENERAL RESET */
.cmp-single-final, .cmp-top-final, .cmp-left-final, .cmp-right-final {
    box-sizing: border-box;
}

/* MOBILE FIX */
@media(max-width:768px){
    body {
        overflow-x: hidden; /* αποτρέπει scroll δεξιά */
    }

    .cmp-single-final {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 15px;
    }

    .cmp-top-final {
        display: flex !important;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .cmp-left-final,
    .cmp-right-final {
        width: 100% !important;
        max-width: 100%;
    }

    .cmp-main-image-final {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }

    .cmp-gallery-final {
        width: 100%;
        overflow-x: auto; /* για scroll gallery */
    }

    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
}

/* TOP GRID */
.cmp-top-final {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

/* LEFT */
.cmp-left-final {
    grid-column: 1;
}

/* RIGHT */
.cmp-right-final {
    grid-column: 2;
}

/* DETAILS κάτω από LEFT */
.cmp-details-final,
.cmp-description-final {
    grid-column: 1; /* 🔥 αυτό τα βάζει κάτω από LEFT */
}










.cmp-frontend-form {
    max-width:900px;
    margin:30px auto;
    padding:25px;
    background:#fff;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
    font-family:Arial,sans-serif;
}

.cmp-frontend-form label {
    display:block;
    margin-bottom:5px;
    font-weight:bold;
    color:#333;
}
.cmp-frontend-form input[type=text],
.cmp-frontend-form input[type=number],
.cmp-frontend-form textarea,
.cmp-frontend-form select {
    width:100%;
    padding:10px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:14px;
}

.cmp-frontend-form textarea {
    min-height:100px;
    resize:vertical;
}

.cmp-frontend-form input[type=submit] {
    background:#00a651;
    color:#fff;
    border:none;
    padding:15px 25px;
    font-size:16px;
    font-weight:bold;
    border-radius:10px;
    cursor:pointer;
}
.cmp-frontend-form input[type=submit]:hover {
    background:#009245;
}

/* Preview εικόνων */
.preview img {
    width:120px;
    height:80px;
    object-fit:cover;
    border-radius:8px;
    margin-right:8px;
}

@media(min-width:768px){
    .cmp-frontend-form {
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:20px;
    }
    .cmp-frontend-form textarea,
    .cmp-frontend-form input[type=file],
    .cmp-frontend-form input[type=submit] {
        grid-column:1 / -1;
    }
}

.cmp-carousel{
    position:relative;
    max-width:1200px;
    margin:auto;
    overflow:hidden;
}

/* TRACK */
.cmp-track{
    display:flex;
    gap:20px;
    transition:transform 0.3s ease;
}

/* CARD */
.cmp-item{
    flex:0 0 calc(33.333% - 14px);
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 2px 8px rgba(0,0,0,0.1);
}

/* IMAGE */
.cmp-item img{
    width:100%;
    height:260px;
    object-fit:cover;
}

/* INFO */
.cmp-info{
    padding:12px;
}

.cmp-info h3{
    font-size:18px;
    margin-bottom:5px;
	font-weight:800;
}

.cmp-price{
    font-size:35px;
    font-weight:800;
    color:#373a3d;
    margin-bottom:10px;
}

/* BUTTON */
.cmp-info a{
    display:block;
    text-align:center;
    background:#0073aa;
    color:#fff;
    padding:8px;
    border-radius:8px;
    text-decoration:none;
	font-size: 26px;
    font-weight: 500;
}

/* ARROWS */
.cmp-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:40px;
    height:40px;
    border:none;
    border-radius:50%;
    background:#fff;
    box-shadow:0 2px 8px rgba(0,0,0,0.2);
    cursor:pointer;
    z-index:10;
}

.cmp-left{ left:10px; }
.cmp-right{ right:10px; }

/* MOBILE */
@media(max-width:768px){
    .cmp-item{
        flex:0 0 80%;
    }
}

.cmp-all-btn-wrapper{
    text-align:center;
    margin:40px 0;
}

.cmp-all-btn{
    display: ruby-text;
    background:#00a651; /* πράσινο */
    color:#fff;
    font-size:32px;
    font-weight:bold;
    padding:18px 30px;
    border-radius:20px; /* 🔥 pill shape */
    text-decoration:none;
    letter-spacing:1px;
    transition: all 0.3s ease;
}

/* HOVER EFFECT */
.cmp-all-btn:hover{
    background:#009245;
    transform:translateY(-2px);
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

/* MOBILE */
@media(max-width:768px){
    .cmp-all-btn{
        width:90%;
        font-size:24px;
        padding:16px;
    }
}

/* SEARCH BAR */
.cmp-search{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    background:#fff;
    padding:15px;
    border-radius:15px;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
    margin-bottom:20px;
}

.cmp-search input{
    flex:1;
    padding:12px;
    border-radius:10px;
    border:1px solid #ddd;
    font-size:14px;
}

.cmp-search button{
    background:#00a651;
    color:#fff;
    border:none;
    padding:12px 25px;
    border-radius:10px;
    font-weight:bold;
    cursor:pointer;
}

.cmp-search button:hover{
    background:#009245;
}

/* MOBILE */
@media(max-width:768px){
    .cmp-search{
        flex-direction:column;
    }
}

.cmp-frontend-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 20px;
    font-family: 'Manrope';
    color: #333;
}

.cmp-section-title{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:15px;
    margin:0 auto 25px;
}

.cmp-popular-ads{
    text-align:center;
}

.cmp-section-title h2{
    margin:0;
    font-size:24px;
    font-weight:700;
    line-height:1.2;
}

.cmp-section-title a{
    background:#00a651;
    color:#fff;
    text-decoration:none;
    padding:8px 16px;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
    transition:.2s;
}

.cmp-section-title a:hover{
    transform:translateY(-1px);
}