/* ========================================
   Pagina: Despre noi (cms-id-4)
   ======================================== */

/* --- Container full width --- */
.cms-id-4 .container {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.cms-id-4 .breadcrumb__wrapper .container {
    max-width: 1440px !important;
    padding-left: 15px !important;
}

/* --- Reset & Base --- */
.cms-id-4 #content {
    font-family: 'Inter', sans-serif;
}

/* --- Sectiune generica --- */
.cms-despre-noi .dn-section {
    padding: 0 15px;
}

.cms-despre-noi .dn-section-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 72px 0;
}

/* --- 1 coloana --- */
.cms-despre-noi .dn-single-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* --- 1 coloana half-width (Hero, Misiune) --- */
.cms-despre-noi .dn-half-width {
    max-width: 50%;
}

/* --- 1 coloana centrata (Misiune) --- */
.cms-despre-noi .dn-centered {
    align-items: center;
    text-align: center;
}

.cms-despre-noi .dn-centered .dn-half-width {
    max-width: 65%;
}

/* --- 2 coloane --- */
.cms-despre-noi .dn-two-col {
    display: flex;
    flex-direction: row;
    gap: 20px 100px;
    align-items: center;
}

.cms-despre-noi .dn-two-col .dn-col {
    flex: 1 1 0;
    min-width: 0;
}

.cms-despre-noi .dn-two-col .dn-col img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 25px;
    overflow: hidden;
    object-fit: cover;
}

/* --- Tipografie --- */
.cms-despre-noi .dn-title {
    color: #2A1A46;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px 0;
}

.cms-despre-noi .dn-subtitle {
    color: #7C6D96;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

.cms-despre-noi .dn-text {
    color: #7C6D96;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
}

.cms-despre-noi .dn-list {
    color: #7C6D96;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    list-style-type: disc;
    padding-left: 1.5em;
    margin-top: 16px;
}

.cms-despre-noi .dn-list li {
    margin-bottom: 8px;
}

/* --- Sectiune cu fundal lila --- */
.cms-despre-noi .dn-bg-light {
    background-color: #EBE9EF;
}

/* --- Sectiune cu fundal verde (Misiune) --- */
.cms-despre-noi .dn-bg-green {
    background-color: #3EB449;
}

.cms-despre-noi .dn-bg-green .dn-title {
    color: #ECF8ED;
}

.cms-despre-noi .dn-bg-green .dn-subtitle {
    color: #ECF8ED;
}

/* --- Responsive Despre noi --- */
@media (max-width: 768px) {
    .cms-despre-noi .dn-two-col {
        flex-direction: column;
        gap: 30px;
    }

    .cms-despre-noi .dn-title {
        font-size: 30px;
    }

    .cms-despre-noi .dn-subtitle,
    .cms-despre-noi .dn-text,
    .cms-despre-noi .dn-list {
        font-size: 17px;
    }

    .cms-despre-noi .dn-section-inner {
        padding: 40px 0;
    }

    .cms-despre-noi .dn-half-width,
    .cms-despre-noi .dn-centered .dn-half-width {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .cms-id-4 .container {
        padding-bottom: 0 !important;
        padding-top: 0 !important;
    }

    .cms-id-4 .breadcrumb__wrapper .container {
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* ========================================
   Pagina: Digitalizare Splendid-Service (cms-id-20)
   ======================================== */

.cms-id-20 .cms-digitalizare {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.cms-id-20 .cms-digitalizare h1 {
    font-size: 56px;
    font-weight: 900;
    color: #333333;
    line-height: 1.2;
    margin: 8px 0 16px 0;
}

.cms-id-20 .cms-digitalizare h3 {
    font-size: 32px;
    font-weight: 700;
    color: #333333;
    line-height: 1.2;
    margin: 32px 0 16px 0;
}

.cms-id-20 .cms-digitalizare p {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    line-height: 1.4;
    margin-bottom: 12px;
}

.cms-id-20 .cms-digitalizare ul {
    padding-left: 40px;
    margin: 0 0 12px 0;
    list-style-type: disc;
}

.cms-id-20 .cms-digitalizare ul li {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    line-height: 1.4;
    margin-bottom: 4px;
}

.cms-id-20 .cms-digitalizare hr {
    border: none;
    border-top: 1px solid #808080;
    margin: 24px 0;
}

.cms-id-20 .cms-digitalizare img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 16px 0;
}

.cms-id-20 .cms-digitalizare .dg-links a {
    color: #29B4D6;
    text-decoration: none;
}

.cms-id-20 .cms-digitalizare .dg-links a:hover {
    text-decoration: underline;
}

.cms-id-20 #content > p {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .cms-id-20 .cms-digitalizare h1 {
        font-size: 36px;
    }

    .cms-id-20 .cms-digitalizare h3 {
        font-size: 24px;
    }
}

/* ========================================
   Pagina: Magazin Piese de Schimb (cms-id-27),
   Showroom Echipamente (cms-id-26, foloseste clasele .cms-piese-schimb ps-*)
   ======================================== */

/* --- Container principal --- */
.cms-id-27 .container,
.cms-id-26 .container {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.cms-id-27 .breadcrumb__wrapper .container,
.cms-id-26 .breadcrumb__wrapper .container {
    max-width: 1440px !important;
    padding-left: 15px !important;
}

.cms-piese-schimb {
    font-family: 'Inter', sans-serif;
    color: #7C6D96;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
}

/* --- Sectiuni --- */
.cms-piese-schimb .ps-section {
    padding: 0 15px;
}

.cms-piese-schimb .ps-section-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 72px 0;
}

/* --- Tipografie --- */
.cms-piese-schimb h1,
.cms-piese-schimb h3 {
    font-family: 'Inter', sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: #2A1A46;
    line-height: 1.2;
    margin: 0 0 16px 0;
}

.cms-piese-schimb p {
    font-size: 20px;
    margin: 0 0 12px 0;
}

.cms-piese-schimb a {
    color: #7C6D96;
    text-decoration: underline;
}

.cms-piese-schimb a:hover {
    color: #2A1A46;
}

/* --- Liste --- */
.cms-piese-schimb ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin: 0 0 16px 0;
}

.cms-piese-schimb ul li {
    margin-bottom: 0;
}

/* --- Text branduri --- */
.cms-piese-schimb .ps-brands {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    margin-top: 16px;
}

/* --- Half width text --- */
.cms-piese-schimb .ps-half-width {
    max-width: 50%;
}

/* --- Sectiune cu fundal gri --- */
.cms-piese-schimb .ps-bg-grey {
    background-color: #EBE9EF;
}

.cms-piese-schimb .ps-bg-grey .ps-section-inner {
    max-width: 900px;
    text-align: center;
}

.cms-piese-schimb .ps-bg-grey + .ps-section .ps-section-inner {
    padding-top: 1px;
}

/* --- Layout 2 coloane --- */
.cms-piese-schimb .ps-two-col {
    display: flex;
    flex-direction: row;
    gap: 10px 50px;
    align-items: stretch;
}

.cms-piese-schimb .ps-two-col .ps-col {
    flex: 1 1 0;
    min-width: 0;
}

/* --- Imagini --- */
.cms-piese-schimb .ps-two-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 25px;
}

.cms-piese-schimb .ps-gallery-section .ps-section-inner {
    padding-bottom: 20px;
}


/* --- Galerie 4 imagini --- */
.cms-piese-schimb .ps-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.cms-piese-schimb .ps-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 0;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cms-piese-schimb .ps-gallery img:hover {
    opacity: 0.85;
}

/* --- Lightbox --- */
.ps-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.ps-lightbox.active {
    display: flex;
}

.ps-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
}

.ps-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    font-weight: 300;
}

.ps-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    cursor: pointer;
    padding: 20px;
    line-height: 1;
    font-weight: 300;
    user-select: none;
}

.ps-lightbox-prev {
    left: 20px;
}

.ps-lightbox-next {
    right: 20px;
}

/* --- Separator --- */
.cms-piese-schimb hr {
    border: none;
    border-top: 1px solid #EBE9EF;
    margin: 0;
}

/* --- Video embed --- */
.cms-piese-schimb .ps-video {
    padding-top: 0;
    padding-bottom: 0;
}

.cms-piese-schimb .ps-video iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border: 0;
}

/* --- Link-uri --- */
.cms-piese-schimb a {
    color: #29B4D6;
    text-decoration: none;
}

.cms-piese-schimb a:hover {
    text-decoration: underline;
}

/* --- Google Maps --- */
.cms-piese-schimb .ps-map {
    padding-top: 0;
    padding-bottom: 0;
}

.cms-piese-schimb .ps-map iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .cms-piese-schimb h1,
    .cms-piese-schimb h3 {
        font-size: 30px;
    }

    .cms-piese-schimb p,
    .cms-piese-schimb ul li {
        font-size: 17px;
        line-height: 24px;
    }

    .cms-piese-schimb .ps-brands {
        font-size: 14px;
    }

    .cms-piese-schimb .ps-half-width {
        max-width: 100%;
    }

    .cms-piese-schimb .ps-two-col {
        flex-direction: column;
    }

    .cms-piese-schimb .ps-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .cms-piese-schimb .ps-gallery img {
        height: 180px;
    }

    .cms-piese-schimb .ps-section-inner {
        padding: 40px 0;
    }

    .cms-piese-schimb .ps-map iframe {
        height: 300px;
        border-radius: 15px;
    }
}

/* ========================================
   Pagini text simple: Metode de plata (cms-id-11),
   Metode de livrare (cms-id-22),
   Service si garantie (foloseste clasa .cms-metode-plata),
   Termeni si conditii (foloseste clasa .cms-metode-plata),
   Politica de confidentialitate (foloseste clasa .cms-metode-plata)
   ======================================== */

.cms-metode-plata,
.cms-metode-livrare {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px 72px;
    font-family: 'Inter', sans-serif;
    color: #7C6D96;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
}

.cms-metode-plata h1,
.cms-metode-livrare h1 {
    font-size: 44px;
    font-weight: 700;
    color: #2A1A46;
    line-height: 52.8px;
    margin: 0 0 24px 0;
}

.cms-metode-plata h3,
.cms-metode-livrare h3 {
    font-size: 28px;
    font-weight: 700;
    color: #2A1A46;
    line-height: 33.6px;
    margin: 0 0 16px 0;
}

.cms-metode-plata p,
.cms-metode-livrare p {
    font-size: 20px;
    margin: 0 0 16px 0;
}

.cms-metode-plata ul,
.cms-metode-livrare ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin: 0 0 16px 0;
}

.cms-metode-plata ul li,
.cms-metode-livrare ul li {
    margin-bottom: 4px;
    font-size: 20px;
}

.cms-metode-plata a,
.cms-metode-livrare a {
    color: #29B4D6;
    text-decoration: none;
}

.cms-metode-plata a:hover,
.cms-metode-livrare a:hover {
    text-decoration: underline;
}

.cms-metode-plata .subheading {
    font-weight: 700;
    color: #2A1A46;
    margin: 32px 0 16px 0;
}

.cms-metode-plata hr,
.cms-metode-livrare hr {
    border: none;
    border-top: 1px solid #EBE9EF;
    margin: 32px 0;
}

@media (max-width: 768px) {
    .cms-metode-plata h1,
    .cms-metode-livrare h1 {
        font-size: 30px;
        line-height: 1.2;
    }

    .cms-metode-plata h3,
    .cms-metode-livrare h3 {
        font-size: 22px;
        line-height: 1.2;
    }

    .cms-metode-plata p,
    .cms-metode-plata ul li,
    .cms-metode-livrare p,
    .cms-metode-livrare ul li {
        font-size: 17px;
        line-height: 24px;
    }
}

/* ========================================
   Pagina: Tutoriale echipamente (cms-id-31)
   ======================================== */

.cms-id-31 .container {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.cms-id-31 .breadcrumb__wrapper .container {
    max-width: 1600px !important;
    padding-left: 20px !important;
}

.cms-tutoriale {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px 72px;
    font-family: 'Inter', sans-serif;
    color: #7C6D96;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
}

.cms-tutoriale h1 {
    font-size: 44px;
    font-weight: 700;
    color: #2A1A46;
    line-height: 52.8px;
    margin: 0 0 40px 0;
}

.cms-tutoriale h3 {
    font-size: 28px;
    font-weight: 700;
    color: #2A1A46;
    line-height: 33.6px;
    margin: 0 0 16px 0;
}

.cms-tutoriale p {
    font-size: 20px;
    margin: 0 0 16px 0;
}

/* --- Layout 2 coloane tutorial --- */
.cms-tutoriale .tut-row {
    display: flex;
    flex-direction: row;
    gap: 20px 100px;
    align-items: stretch;
    margin-bottom: 60px;
}

.cms-tutoriale .tut-row .tut-col {
    flex: 1 1 0;
    min-width: 0;
}

/* --- Video embed --- */
.cms-tutoriale .tut-video iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 15px;
}

/* --- Buton CTA --- */
.cms-tutoriale .tut-btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    background-color: #3EB449;
    padding: 16px 32px;
    border-radius: 100px;
    text-decoration: none;
    margin-top: 16px;
    transition: background-color 0.2s;
}

.cms-tutoriale .tut-btn:hover {
    background-color: #359E3F;
    color: #FFFFFF;
    text-decoration: none;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .cms-tutoriale h1 {
        font-size: 30px;
        line-height: 1.2;
    }

    .cms-tutoriale h3 {
        font-size: 22px;
        line-height: 1.2;
    }

    .cms-tutoriale p {
        font-size: 17px;
        line-height: 24px;
    }

    .cms-tutoriale .tut-row {
        flex-direction: column;
        gap: 30px;
    }
}
