body, select, #contenttop h1, #contenttop h2 {
  font-family: "Commissioner", serif;
}

.c-above-menu-cta a {
    font-size: 13px;
    font-weight: 700;
    background-color: #d9d9ea;
    color: #2f2250;
    padding: 3px 10px !important;
    border-radius: 50px;
    transition: 0.5s;
}

.c-above-menu-cta a:hover {
   background-color: #f47920;
   color: white !important;
}

#abovetopbanner .itemsgroup a.disabled.showgroup span, #mobile-header .itemsgroup a.disabled.showgroup {
    color: white;
} 
#abovetopbanner .itemsgroup a.disabled.showgroup span {
    color: black;
}

.c-abovetext {
font-size: 0.9em;
font-weight: 300;
line-height: 1em;
padding-top: 5px;
margin-bottom: 0px;
}

.c-belowsitetitle{
padding-top: 20px;
font-weight: 300;
font-size: 1.4em;
line-height: 2em;
margin-bottom: 10px;
}
.c-maintext{
font-weight: 300;
font-size: 1em;
line-height: 1.3em;
text-align: justify;
}
.c-maintitle{
padding-top: 20px;
font-weight: 300;
font-size: 1.6em;
line-height: 1.2em;
margin-bottom: 10px;
text-align: center;
color: #ff935f;
}
.c-topbannertext {
font-size: 1.1em;
line-height: 1.4em;
font-weight: 300;
color: #fff;
}
.c-bodytitle-1 {
font-size: 1.4em;
line-height: 1.5em;
font-weight: 300;
text-align: center;
color: #26517b;
}
.c-bodytext-1 {
font-size: 1.4em;
line-height: 2em;
font-weight: 300;
text-align: center;
color: #333;
}
.c-bodytext-2 {
font-size: 1.2em;
line-height: 1.5em;
font-weight: 300;
text-align: justify;
color: #333;
}
.c-bannertitle {
font-size: 1.8em;
line-height: 2em;
font-weight: 200;
text-align: center;
color: #fff;
}
.c-bannertext {
font-size: 1.2em;
line-height: 1.5em;
font-weight: 300;
text-align: center;
color: #fff;
}

.c-button{
display: inline-block;
text-decoration: none;
font-weight: 700;
font-size: 16px;
line-height: 1em;
text-align: center;
padding: 15px 25px;
color: #fff;
border-radius: 10px;
background-color: #010035;
border-radius: 50px;
   transition: 0.7s;
}

.c-button:hover {
background-color: #25247b
}

.c-marquee{
display: block;
position: relative;
width: 5400px;
height: 150px;
animation: scroll 12s ease-in-out infinite;
}

@keyframes scroll{
0% {left:10px;}
100% {left:-900px;}
}


.c-logos-space img {
margin-left: 25px;
margin-right: 25px;
margin-top: 25px;
margin-bottom: 25px;
}

.c-maindiv{
  overflow: hidden;
  white-space: nowrap;
}

.c-div1-panw {
  display: inline-block;
  animation: marquee 60s linear infinite;
}
.c-div2-panw {
  display: inline-block;
  animation: marquee2 60s linear infinite;
  animation-delay: 0s;
}


.c-div1 {
  display: inline-block;
  animation: marquee 50s linear infinite;
}
.c-div2 {
  display: inline-block;
  animation: marquee2 50s linear infinite;
  animation-delay: 0s;
}
.c-div3 {
  display: inline-block;
  animation: marquee3 60s linear infinite;
  animation-delay: 0s;
}

@keyframes marquee {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes marquee2 {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes marquee3 {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}




div.items div.detail div.horizontalitems div.itemcontent, div.horizontalitems div.itemcontent {
    border: 1px solid #8d8d97;
    border-radius: 20px;
    padding: 15px;
    overflow: hidden;
}

h3 a, div.items div.list h3 a, div.items h3 a {
color: #010035;
font-weight: 700;
}

div.price div.startprice span.value {
    text-decoration: auto;
    position: relative;
}

div.price div.startprice span.value::before {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    background-color: #f27821;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 1px;
}

.diffpercent {
   font-weight: 700;
   color: #f27821;
}

.firstpageitems {
max-width: 1440px;
    padding-left: 0px;
    padding-right: 0px;
}

#abovecontent h1, #contenttop h1, #contentbottom h1, #rightytop h1, #rightyl h1, #abovecontent h2, #contenttop h2, #contentbottom h2, #rightytop h2, #rightyl h2 {
    font-size: 30px;
    font-weight: 700;
    position: relative;
    border: 0px;
    margin-bottom: 40px;
    padding-bottom: 20px;
}

#abovecontent h1::after, #contenttop h1::after, #contentbottom h1::after, #rightytop h1::after, #rightyl h1::after, #abovecontent h2::after, #contenttop h2::after, #contentbottom h2::after, #rightytop h2::after, #rightyl h2::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 50%;
   transform: translateX(-50%);
   height: 2px;
   width: 100px;
   display: block;
    background-color: #f47920;
}

.pagetitle {
   margin-top: 100px;
}

.c-mobile-abovebanner {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-direction: row;
    align-items: center;
}

.c-mobile-abovebanner-boxy {

}

.c-mobile-abovebanner-boxy .c-above-menu-cta a {
    font-size: 12px;
}

@media (max-width: 990px) {
#abovetopbanner .htmlbox {
    float: none;
}

.c-abovetext a span {
    aspect-ratio: 1 / 1;
    background-color: white;
    padding: 6px 4px 5px 7px;
    border-radius: 50%;
    border: 1px solid #75758d;
}
}


.c-belowsitetitle {
    font-size: 30px;
    font-weight: 700;
    position: relative;
    border: 0px;
    margin-bottom: 20px;
    padding-bottom: 0;
    position: relative;
}

.c-belowsitetitle::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0%;
   transform: translateX(0%);
   height: 2px;
   width: 100px;
   display: block;
    background-color: #f47920;
}.c-newlogo {
    background-image: url('/cache/files/8307ead104beb11231d25230ae0afcc017015d8b.svg');
    background-position: center;
    background-size: contain;
background-repeat: no-repeat;
    margin-left: calc(5% + 20px) !important;
}

#topbanner {
    height: 100px;
}

#topmenu {
    top: 140px !important;
}

#innertopbanner {
    background-image: none;
}

a.mobile-header-startlink {
    background-image: url('/cache/files/8307ead104beb11231d25230ae0afcc017015d8b.svg');
    background-position: center;
    background-size: contain;
background-repeat: no-repeat;
width: 150px;
    transform: translate(-50%, 0%);
}

.side-nav__header {
    background-color: #26247b;
    background-image: url('/cache/files/8307ead104beb11231d25230ae0afcc017015d8b.svg') !important;
    color: #333;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 70%;
    padding-left: 8vh;
    padding-right: 8vh;
}

@media (min-width: 980px) {
    #belowtopmenu {
        min-height: 0px;
    }
}#contenttop .prodmenu.imagemenu {

}

.prodmenu.imagemenu ul li {
    border-radius: 20px;
    padding: 10px;
    background-color: white;
    position: relative;
    display: inline-block;
    padding: 0;
    margin-bottom: 20px;
    margin-right: 20px;
    width: calc(25% - 20px);
}

.imagemenu.imagemenu ul li a {
    background-color: white !important;
    border-radius: 20px !important;
    padding: 15px !important;
}

.prodmenu.imagemenu ul li > * {
   position: relative;
   z-index: 2;
    background-color: white;
}

.prodmenu.imagemenu ul li.inactive a:hover {
    color: #26517b;
    background-color: white;
    font-weight: bold;
}

.prodmenu.imagemenu ul li::before {
    content: '';
    background-image: linear-gradient(145deg, #25247b, transparent);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    display: block;
    left: -2px;
    top: -2px;
    position: absolute;
    z-index: 0;
    border-radius: 20px;
}

.prodmenu.imagemenu ul li::after {
    content: '';
    background-image: linear-gradient(145deg, #25247b, transparent);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    display: block;
    left: -2px;
    top: -2px;
    position: absolute;
    z-index: 0;
    border-radius: 20px;
    opacity: 0;
   transition: 0.5s;
}

.imagemenu.imagemenu ul li img.pagethumb {
    aspect-ratio: 1 / 1;
    height: auto;
    width: 100%;
    object-fit: contain;
}

.prodmenu.imagemenu ul li a {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #25247b !important;
    background-image: none !important;
   transition: 0.5s;
}

.prodmenu.imagemenu ul li:hover a {
    color: #f47920 !important;
}

.prodmenu.imagemenu ul li:hover::after {
    content: '';
    background-image: linear-gradient(145deg, white, #f47920);
    opacity: 1;
}


@media (min-width: 800px) {
    #lefty {
       padding-top: 100px;
    }
}.c-top-section {
   position: relative;
   height: calc(100vh - 100px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.c-top-section::before {
   content: '';
   display: block;
   background-image: linear-gradient(180deg, #25247b, transparent);
   width: 100%;
   height: 100%;
    position: absolute;
    z-index: 0;
}

.c-top-section .c-top-content, .c-top-section .c-top-metrics {
   position: relative;
   z-index: 1;
}

.c-big-logo {
    padding-top: 10vw;
    text-align: center;
}

.c-big-logo img {
    width: 40vw;
    height: auto;
}

.c-top-content {
    color: white;
    text-align: center;
}

.c-top-metrics {
    color: white;
    margin-bottom: 50px;
}

.c-top-title {
    font-size: 3vw;
    font-weight: 900;
    margin-top: 5vw;
}

.c-top-subtitle {
    margin-top: 10px;
    font-size: 30px;
    font-weight: 700;
    background-color: #f47920;
    display: inline-block;
    padding: 10px 15px 14px 15px;
    line-height: 0.8;
    border-radius: 100px;
}

.c-metrics-container {
    width: 100%;
    display: flex;
    gap: 15px;
    margin-left: 0;
    justify-content: center;
}

.c-metrics-box {
    padding: 15px;
    background-color: #13123e;
    border-radius: 20px;
   font-weight: 700;
   position: relative;
}

.c-metrics-box::before {
    content: '';
    display: block;
    background-image: linear-gradient(145deg, #ffffff, transparent);
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    position: absolute;
    left: -1px;
    top: -1px;
    border-radius: 20px;
    z-index: 1;
}

.c-metrics-box::after {
    content: '';
    display: block;
    position: absolute;
    z-index: 2;
    background-color: #13123e;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.c-metrics-box > * {
   position: relative;
    z-index: 3;
}


.c-mertic-num {
   font-size: 50px;
}

.c-metric-text {
   font-size: 20px;
}

#categories.c-main-container {
   padding-bottom: 70px;
}

.c-banners-boxy {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px 20px;
}


a.c-banner-link {
    width: calc(33.33% - 13.5px);
    text-decoration: none;
    font-size: 26px;
    font-weight: 700;
}

.c-banner-image img {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    width: 100%;
    height: auto;
}

div.c-banner-link {
    background-color: white;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    padding: 25px 15px;
}

div.c-banner-link span {
    position: relative;
    overflow: hidden;
    display: inline-block;
}


div.c-banner-link span::before {
   content: '';
   position: absolute;
   display: block;
   width: 100%;
    height: 3px;
    background-color: #f47920;
   left: -100%;
   bottom: 0;
   transition: 1s;
}

a.c-banner-link:hover div.c-banner-link span::before {
   left: 0%;
}

.c-main-container {
    padding-top: 70px;
}

.c-main-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px;
}

.c-marquee-container .c-main-inner {
    max-width: 100%;
}

#contenttop h2.c-title-main, #contentbottom h2.c-title-main {
    font-size: 30px;
    font-weight: 700;
    position: relative;
    border: 0px;
    margin-bottom: 40px;
    padding-bottom: 20px;
}


#contenttop h2.c-title-main::after, #contentbottom h2.c-title-main::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 50%;
   transform: translateX(-50%);
   height: 2px;
   width: 100px;
   display: block;
    background-color: #f47920;
}


/* MARQUEE */

.marquee {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
    white-space: nowrap;
}

.marquee-content {
     display: inline-flex;
     animation: marquee 60s linear infinite;
}

.marquee-content img {
    width: auto;
    min-width: 100px;
    height: 70px;
    object-fit: contain;
    margin-right: 20px;
}

@keyframes marquee {
    from {
    transform: translateX(0);
    }
    to {
    transform: translateX(-100%);
    }
}

/* END MARQUEE */


.c-banners-metplir {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border-radius: 20px;
    overflow: hidden;
}

.c-banner-boxy-metplir {
   width: 50%;
   position: relative;
    overflow: hidden;
}

.c-banner-boxy-metplir img {
   width: 100%;
   height: auto;
}

.c-banner-content-metplir {
   position: absolute;
   bottom: 20px;
   width: 100%;
   left: 0px;
   color: white;
   text-align: center;
   font-size: 20px;
}

#contenttop .c-banner-content-metplir h2.c-title-main, #contentbottom .c-banner-content-metplir h2.c-title-main {
   color: white;
    margin-bottom: 15px;
}

#company.c-main-container {
   background-color: #d9d9ea;
   padding-bottom: 70px;
}



#contentbottom #company h2.c-title-main {
    text-align: left;
}

#contentbottom #company h2.c-title-main::after {
    left: 0%;
    transform: translateX(0%);
}

.c-company-images img {
   border-radius: 20px;
   width: 100%;
   height: auto;
}

#company {
   margin-top: 70px;
}


/* RESPONSIVE */

@media (max-width: 990px) {
.c-big-logo {
    padding-top: 70px;
}

.c-big-logo img {
    width: 90vw;
}

.c-top-title {
    font-size: 20px;
    margin-top: 40px;
}

.c-top-subtitle {
    font-size: 20px;
    padding: 7px 10px 7px 10px;
}

.c-metrics-container {
    width: 90%;
    display: flex;
    gap: 10px;
    margin-left: 5%;
    flex-wrap: wrap;
}

.c-mertic-num {
    font-size: 30px;
}

.c-metric-text {
    font-size: 16px;
}

.c-metrics-box {
    padding: 10px;
    background-color: #13123e;
    border-radius: 20px;
    font-weight: 700;
    position: relative;
    display: flex;
    gap: 5px;
}

.c-top-section {
    position: relative;
    height: auto;
    min-height: calc(100vh - 100px);
}

a.c-banner-link {
    width: 100%;
}

.firstpageitems {
    max-width: 1440px;
    padding-left: 15px;
    padding-right: 15px;
}

.c-banners-metplir {
    display: flex;
    flex-direction: column;
}

.c-banner-boxy-metplir {
    width: 100%;
}

}/*.c-newspopup-container {
display: none !important;
}
*/
.c-newspopup-container .c-closebutton {
cursor: pointer;
}

.c-newspopup-container .c-title-md {
font-weight: 800;
font-size: 1.1em;
}

.c-newspopup-container.active-popup {
    position: fixed;
    right: 3%;
    bottom: 3%;
    z-index: 9;
}

.c-newspopup-container.active-popup .c-newspopup-icon {
    position: absolute;
    left: 50%;
    top: 0%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    padding: 10px;
    background-color: transparent;
    border-radius: 50%;
    z-index: 3;
}

.c-newspopup-container.active-popup .c-newspopup-icon img {
    width: 90px;
    padding: 0px;
    height: auto;
    transition: 0.5s;
}

.c-newspopup-container.active-popup .c-flowers-corner{
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.7;
}

.c-newspopup-container.active-popup .c-newspopup-box {
    background-color: white;
    padding-top: 60px;
    padding-bottom: 2vw;
    padding-right: 0;
    padding-left: 0;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 25%);
    transition: 0.5s;
    width: 350px;
    height: 150px;
    overflow: hidden;
}



.c-newspopup-container.active-popup .c-closebutton {
    position: absolute;
    right: 30px;
    top: -15px;
    background-color: black;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    box-shadow: 0px 0px 5px rgb(0 0 0 / 40%);
transition: 0.5s;
z-index: 90;
}

.c-newspopup-container.active-popup .c-linetop {
    position: absolute;
    width: 20px;
    height: 3px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    background-color: white;
transition: 0.5s;
}

.c-newspopup-container.active-popup .c-linebottom {
    position: absolute;
    width: 20px;
    height: 3px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    background-color: white;
transition: 0.5s;
}

.c-newspopup-container.active-popup p {
    width: 80%;
    margin: auto;
    position: relative;
    z-index: 13;
    margin-bottom: 20px;
}

.c-newspopup-container.active-popup p, .c-newspopup-container.active-popup a {
opacity: 1;
transition: 0.5s;
}

.c-newspopup-container.active-popup p.c-popup-title {
margin-bottom: 15px;
font-size: 1.2em;
font-weight: 800;
}

.c-coupon-button {
    display: inline-block;
    width: fit-content;
    margin: 20px auto 0;
    background-color: #eec7c9;
    color: #b8151f;
    padding: 10px 20px;
    border-radius: 7px;
    font-weight: 800;
}

.c-newspopup-container.active-popup p.c-couponi {
width: 100%;
}

/* DECTIVATE */

.c-newspopup-container.deactive-popup {
    position: fixed;
    right: 3%;
    bottom: 3%;
z-index: 999;
transition: 0.5s;
}

.c-newspopup-container.deactive-popup .c-newspopup-icon  {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
}

.c-newspopup-container.deactive-popup .c-newspopup-icon img {
    width: 60px;
    height: auto;
transition: 0.5s;
}

.c-newspopup-container.deactive-popup .c-newspopup-box {
    background-color: #dd3737;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 0;
    padding-left: 0;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 25%);
    transition: 0.5s;
    height: 100px;
    width: 100px;
overflow: hidden;
}


.c-newspopup-container.deactive-popup .c-closebutton {
    position: absolute;
    right: 0px;
    top: -15px;
    background-color: black;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    box-shadow: 0px 0px 5px rgb(0 0 0 / 40%);
transition: 0.5s;
z-index: 90;
}

.c-newspopup-container.deactive-popup .c-linetop {
    position: absolute;
    width: 20px;
    height: 3px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    background-color: white;
transition: 0.5s;
}

.c-newspopup-container.deactive-popup .c-linebottom {
    position: absolute;
    width: 20px;
    height: 3px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    background-color: white;
transition: 0.5s;
}

.c-newspopup-container.deactive-popup p, .c-newspopup-container.deactive-popup a {
opacity: 0;
transition: 0.5s;
}

.c-newspopup-container.deactive-popup .c-flowers-corner{
opacity: 0;
}


@media (max-width: 990px) {

.c-newspopup-container.active-popup {
    max-width: 450px;
    width: 90%;
    right: 5%;
    bottom: 5%;
    margin: 10px;
}

.c-newspopup-container.active-popup .c-newspopup-box {
    padding-top: 60px;
    padding-bottom: 30px;
    padding-right: 10px;
    padding-left: 10px;
    width: 100%;
    width: 90%;
    height: auto;
    margin-right: 0;
    margin-left: auto;
}

.c-newspopup-container.deactive-popup {
    position: fixed;
    max-width: 450px;
    width: 70px;
    right: 3%;
    bottom: 3%;
z-index: 999;
transition: 0.5s;
}

.c-newspopup-container.deactive-popup .c-newspopup-box {
    height: 70px;
    width: 70px;
margin-right: 0;
    margin-left: auto;
}
.c-newspopup-container.deactive-popup .c-closebutton {
    width: 70px;
    height: 70px;
    left: 0;
    top: 0;
    box-shadow: 0px 0px 5px rgb(0 0 0 / 0%);
background-color: transparent;
}

.c-newspopup-container.deactive-popup .c-linetop, .c-newspopup-container.deactive-popup .c-linebottom {
    background-color: transparent;
}
}


/* CUSTOM ALERT */
.custom-alert {
    position: absolute;
    left: 50%;
    top: 65%;
    transform: translate(-50%, -50%);
    background-color: #b8151f;
    z-index: 1000;
    padding: 0px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    width: 90%;
    color: white;
    font-size: 18px;
    font-weight: 800;
}

.custom-alert-content {
    margin: 5px;
    text-align: center;
}/* ==========================================================
   Pop-up «Νέες κατηγορίες»
   Tokens από το gourdoupis.gr (computed styles, Νοέμβριος 2026)
   ========================================================== */
:root {
  --np-font: "Commissioner", system-ui, sans-serif; /* γραμματοσειρά του site */
  --np-ink: #010035;          /* χρώμα κειμένου (--fontcolor) και κουμπιού .c-button */
  --np-ink-hover: #25247b;    /* hover του .c-button / μπλε του header */
  --np-navy-deep: #13123e;    /* κουτιά μετρικών */
  --np-accent: #f47920;       /* πορτοκαλί χάπι «ΜΑΖΙ ΣΑΣ ΑΠΟ ΤΟ 1972» */
  --np-new: #d03030;          /* κόκκινο του σήματος NEW (#dd3737 στο site), λίγο σκουρότερο για AA αντίθεση */
  --np-soft: #e9eaee;         /* ουδέτερο γκρι-μπλε φόντο */
  --np-lilac-grey: #d9d9ea;   /* χάπι τηλεφωνικών παραγγελιών */
  --np-muted: #4a4a6a;        /* δευτερεύον κείμενο, AA σε λευκό */
  --np-surface: #ffffff;

  --np-radius-box: 20px;      /* .c-newspopup-box, .c-metrics-box */
  --np-radius-card: 14px;
  --np-radius-pill: 50px;     /* .c-button */
  --np-shadow-box: 0 18px 50px rgba(0, 0, 0, 0.3), 0 2px 10px rgba(0, 0, 0, 0.12);
  --np-shadow-close: 0 2px 6px rgba(0, 0, 0, 0.4); /* .c-closebutton */
  --np-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Όλοι οι κανόνες αφορούν ΜΟΝΟ το modal (.np-modal), ώστε να μην
   επηρεάζουν το υπόλοιπο site και να μην τους χαλάει το CSS του site. */
.np-modal,
.np-modal *,
.np-modal *::before,
.np-modal *::after { box-sizing: border-box; }

.np-modal {
  font-family: var(--np-font);
  font-size: 16px;
  line-height: 1.6;            /* --lineheight του site */
  color: var(--np-ink);
  text-align: left;
}
.np-modal img { max-width: none; border: 0; }
.np-modal ::selection { background: var(--np-accent); color: #fff; }

/* ---------- Κουμπί (όπως το .c-button του site) ---------- */
.np-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 15px 28px;
  border: 0;
  border-radius: var(--np-radius-pill);
  background: var(--np-ink);
  color: #fff;
  font: 700 16px/1 var(--np-font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.35s ease, transform 0.15s ease;
}
.np-button:hover { background: var(--np-ink-hover); }
.np-button:active { transform: translateY(1px) scale(0.98); }

/* ---------- Focus ring για όλα τα στοιχεία ---------- */
:where(.np-modal) :where(a, button):focus-visible {
  outline: 3px solid var(--np-accent);
  outline-offset: 3px;
}

/* ---------- Modal (σκέτο <div>) ---------- */
.np-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* να μη φαρδαίνει από τις κάρτες με οριζόντια κύλιση */
  place-items: center;
  padding: 24px 16px;
}
.np-modal[hidden] { display: none; }

.np-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 0, 53, 0.6);
  backdrop-filter: blur(3px);
}

.np-dialog {
  position: relative;          /* πάνω από το backdrop */
  width: min(960px, 100%);
  color: var(--np-ink);
}
.np-dialog:focus { outline: none; }

.np-box {
  position: relative;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 48px 40px 36px;
  background: var(--np-surface);
  border-radius: var(--np-radius-box);
  box-shadow: var(--np-shadow-box);
}

/* Είσοδος και έξοδος */
.np-modal.is-open .np-box { animation: np-in 0.5s var(--np-ease) both; }
.np-modal.is-open .np-backdrop { animation: np-fade 0.35s ease both; }
.np-modal.is-closing .np-box { animation: np-out 0.22s ease-in both; }
.np-modal.is-closing .np-backdrop { animation: np-fade 0.22s ease-in reverse both; }

@keyframes np-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}
@keyframes np-out {
  to { opacity: 0; transform: translateY(12px) scale(0.98); }
}
@keyframes np-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Κουμπί κλεισίματος (μαύρος κύκλος με λευκό X, όπως το .c-closebutton) ---------- */
.np-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #000;
  box-shadow: var(--np-shadow-close);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s var(--np-ease);
  z-index: 2;
}
.np-close__line {
  grid-area: 1 / 1;
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: #fff;
  transform: rotate(45deg);
}
.np-close__line + .np-close__line { transform: rotate(-45deg); }
.np-close:hover { background: var(--np-ink-hover); transform: rotate(90deg); }

/* ---------- Κεφαλίδα ---------- */
.np-head {
  max-width: 600px;
  margin: 0 auto 32px;
  text-align: center;
}
.np-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 16px 7px;
  border-radius: 100px;
  background: var(--np-new);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.np-title {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.25rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.np-text {
  margin: 0;
  color: var(--np-muted);
  font-size: 1.0625rem;
  text-wrap: pretty;
}

/* ---------- Κάρτες κατηγοριών ---------- */
.np-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.np-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px 10px 18px;
  border-radius: var(--np-radius-box);
  background: var(--np-soft);
  color: var(--np-ink);
  text-decoration: none;
  transition: transform 0.3s var(--np-ease), box-shadow 0.3s ease, background-color 0.3s ease;
}
.np-card__link:hover {
  transform: translateY(-2px);
  background: var(--np-lilac-grey);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.np-card__media {
  display: block;
  overflow: hidden;
  border-radius: var(--np-radius-card);
  background: #fff;
  aspect-ratio: 455 / 300;
}
.np-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--np-ease);
}
.np-card__link:hover img { transform: scale(1.03); }

.np-card__name {
  margin: 16px 8px 4px;
  font-size: 1.1875rem;
  font-weight: 800;
  line-height: 1.25;
}
.np-card__more {
  margin: auto 8px 0;
  color: var(--np-ink-hover);
  font-size: 0.9375rem;
  font-weight: 700;
}
.np-card__more::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  transition: transform 0.3s var(--np-ease);
}
.np-card__link:hover .np-card__more::after { transform: translate(4px, -1px) rotate(45deg); }

/* ---------- Κάτω μέρος ---------- */
.np-foot {
  margin-top: 32px;
  text-align: center;
}

/* ---------- Tablet ---------- */
@media (max-width: 820px) {
  .np-box { padding: 44px 24px 28px; }
  .np-grid { gap: 14px; }
  .np-card__name { font-size: 1.0625rem; }
}

/* ---------- Κινητό: οριζόντια κύλιση με snap ---------- */
@media (max-width: 640px) {
  .np-modal { padding: 12px; }
  .np-box {
    max-height: calc(100dvh - 24px);
    padding: 56px 0 24px;
  }
  .np-close { top: 10px; right: 10px; }
  .np-head { margin-bottom: 22px; padding: 0 20px; }
  .np-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 12px;
    padding: 0 20px 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--np-lilac-grey) transparent;
  }
  .np-card { scroll-snap-align: start; }
  .np-foot { margin-top: 22px; padding: 0 20px; }
  .np-foot .np-button { width: 100%; }
}

/* ---------- Μειωμένη κίνηση ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
