/**
* 2006-2022 THECON SRL
*
* NOTICE OF LICENSE
*
* DISCLAIMER
*
* YOU ARE NOT ALLOWED TO REDISTRIBUTE OR RESELL THIS FILE OR ANY OTHER FILE
* USED BY THIS MODULE.
*
*  @author    THECON SRL <contact@thecon.ro>
*  @copyright 2006-2022 THECON SRL
*  @license   Commercial
*/

/* ========================================
   Hide default PS product elements
   ======================================== */
.product-showcase {
    display: none !important;
}
.product-sections {
    display: none !important;
}

/* Zone1 hero: container handles alignment, override module padding */
.thce-zone1-hero {
    padding: 60px 0;
}
.thce-zone1-hero-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    z-index: 99;
}
.thce-zone1-hero-text {
    max-width: 50%;
}

/* Zone1 features grid inside .container */
.thce-zone1-features-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
}

/* Zone2 row layout inside .container */
.thce-zone2-row {
    display: flex;
    align-items: center;
    gap: 40px;
}
.thce-zone2-row .thce-zone2-image {
    flex: 0 0 50%;
}
.thce-zone2-row .thce-zone2-content {
    flex: 1;
}

/* Partners on product page: slider full-width with small padding */
.th-colaboratori-product .th-colaboratori-slider-wrap {
    padding-left: 15px;
    padding-right: 15px;
}

/* ========================================
   Section 0: Hero — Cover + Product Info
   ======================================== */
.sp-product-hero {
    padding: 72px 0 36px;
    background: #fff;
}
.sp-product-hero .row > .col-lg-6:last-child {
    padding-left: 0;
}
.sp-product-cover {
    border-radius: 16px;
    overflow: hidden;
}
.sp-product-cover-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* Category badge — teal pill link */
a.sp-product-category-badge,
.sp-product-category-badge {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #EAF8FB;
    background: #29B4D6;
    padding: 6px 20px;
    border-radius: 100px;
    margin-bottom: 16px;
    text-decoration: none;
    transition: background 0.3s ease;
}
a.sp-product-category-badge:hover {
    background: #2099b6;
    color: #EAF8FB;
    text-decoration: none;
}

.sp-product-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #2A1A46;
    margin-bottom: 16px;
    line-height: 1.2;
}
.sp-product-sku {
    font-family: 'Inter', sans-serif;
    color: #625182;
    margin-bottom: 16px;
}
.sp-product-sku-label {
    color: #7a7a7a;
    font-family: "Inter", Sans-serif;
    font-weight: 700;
}
.sp-product-sku-value {
    color: #7a7a7a;
}
.sp-product-brand {
    margin-bottom: 20px;
}
.sp-product-brand img {
    max-height: 60px;
    width: auto;
}
.sp-product-short-desc {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: #625182;
    line-height: 1.7;
    margin-bottom: 24px;
}
.sp-product-short-desc p {
    margin-bottom: 8px;
}

/* Buy button — green pill */
.sp-btn-buy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #3EB449;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s ease;
}
.sp-btn-buy:hover {
    background: #35a040;
    color: #fff;
    text-decoration: none;
}
.sp-btn-buy span {
    margin-left: 4px;
}

/* ========================================
   Section 1: Description + Gallery
   ======================================== */
.sp-product-desc-gallery {
    padding: 36px 0 72px;
}
.sp-product-desc-gallery .row > .col-lg-6:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
}
.sp-section-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #2A1A46;
    margin-bottom: 20px;
}
.sp-product-description {
    color: #7c6d96;
    font-family: "Inter", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22.4px;
    text-align: justify;
}
.sp-product-description h5,
.sp-product-description p strong {
    font-weight: 600;
    color: #7C6D96;
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 18px;
}
.sp-product-description h4,
.sp-product-description h3 {
    font-weight: 700;
    color: #7C6D96;
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 18px;
}
.sp-product-description ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 16px;
}
.sp-product-description ul li {
    margin-bottom: 4px;
    color: #7C6D96;
}
.sp-product-description a {
    color: #29B4D6;
    text-decoration: underline;
}
.sp-product-description a:hover {
    color: #2A1A46;
}

/* Gallery slider */
.sp-gallery-slider {
    border-radius: 35px;
    overflow: hidden;
    position: relative;
}
.sp-gallery-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}
.sp-gallery-swiper {
    position: static;
}
.sp-gallery-next,
.sp-gallery-prev {
    width: auto;
    height: auto;
    padding: 10px 20px;
    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(165, 155, 183);
    border-radius: 8px;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
}
.sp-gallery-next {
    right: 10px;
}
.sp-gallery-prev {
    left: 10px;
}
.sp-gallery-slider .sp-gallery-next:after,
.sp-gallery-slider .sp-gallery-prev:after {
    font-size: 25px !important;
    color: #e83892;
    font-weight: 700;
}

/* ========================================
   Section 4: Standard Characteristics
   ======================================== */
.sp-product-csr {
    padding: 72px 0;
    background: #fff;
}
.sp-product-csr .row > .col-lg-6:last-child {
    padding-left: 70px;
}
.sp-product-csr .row > .col-lg-6:last-child .sp-csr-slider-wrap {
    padding-left: 20px;
}
.sp-csr-img {
    width: 100%;
    border-radius: 16px;
}

/* CSR Swiper slider */
.sp-csr-slider-wrap {
    margin-bottom: 24px;
}
.sp-csr-swiper .swiper-slide {
    height: 280px;
}
.sp-csr-list {
    list-style: disc;
    padding: 0 0 0 20px;
    margin: 0;
}
.sp-csr-list li {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: #2a1a46;
    line-height: 28px;
}

/* Swiper pagination dots for CSR and COR */
.sp-csr-pagination,
.sp-cor-pagination {
    text-align: center;
    margin-top: 20px;
    padding-top: 40px;
    position: relative;
}
.sp-csr-pagination .swiper-pagination-bullet,
.sp-cor-pagination .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    border: 2px solid #a59bb7;
    background: transparent;
    opacity: 1;
    margin: 0 4px;
}
.sp-csr-pagination .swiper-pagination-bullet-active,
.sp-cor-pagination .swiper-pagination-bullet-active {
    background: #E83892;
    border-color: #E83892;
}

/* ========================================
   Section 5: Product Details
   ======================================== */
.sp-product-details {
    padding: 72px 0;
    background: #fff;
}
.sp-product-details .container > .row:first-child {
    border-bottom: 1px solid #EBE9EF;
    padding-bottom: 24px;
}
.sp-details-intro {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #7C6D96;
    line-height: 1.6;
}

/* Tech sheet download buttons */
.sp-fisa-tehnica {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: flex-end;
}
.sp-fisa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E83892;
    color: rgba(255, 255, 255, 1);
    font-family: "Inter", Sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 22.4px;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s ease;
}
.sp-fisa-btn:hover {
    background: #d12e80;
    color: #fff;
    text-decoration: none;
}
.sp-fisa-btn svg {
    width: 25px;
    height: 25px;
}

/* Features/attributes table */
.sp-features-table {
    margin-top: 0;
}
.sp-feature-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #EBE9EF;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
}
.sp-feature-name {
    font-family: 'Inter', sans-serif;
    width: 200px;
    flex-shrink: 0;
    font-weight: 600;
    color: #625182;
    font-size: 16px;

}
.sp-feature-value {
    flex: 1;
    font-family: 'Inter', sans-serif;
    color: #7C6D96;
    font-size: 16px;
    padding-left: 16px;
}

/* Detail product image */
.sp-dp-img {
    width: 100%;
    max-width: 450px;
    border-radius: 16px;
}

/* ========================================
   Section 6: Personalizează (color CTA)
   ======================================== */
.sp-product-customize {
    padding: 72px 0;
    background: #EAF8FB;
}
.sp-customize-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 44px;
    color: #2A1A46;
    margin-bottom: 16px;
    line-height: 1.15;
}
.sp-customize-text {
    text-align: left;
    color: #625182;
    font-family: "Inter", Sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: none;
    font-style: normal;
    text-decoration: none;
    line-height: 140%;
    letter-spacing: 0px;
    word-spacing: 0em;
    margin-bottom: 24px;
}
.sp-customize-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E83892;
    color: rgba(255, 255, 255, 1);
    font-family: "Inter", Sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 22.4px;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s ease;
}
.sp-customize-btn:hover {
    background: #d12e80;
    color: #fff;
    text-decoration: none;
}
.sp-customize-btn svg {
    width: 25px;
    height: 25px;
}
.sp-customize-pattern {
    width: 100%;
    max-width: 500px;
}

/* ========================================
   Section 7: Optional Characteristics
   ======================================== */
.sp-product-cor {
    padding: 72px 0;
    background: #fff;
}
.sp-product-cor .col-lg-6 {
    padding-left: calc(var(--bs-gutter-x) * 1);
    padding-right: calc(var(--bs-gutter-x) * 1);
}
.sp-product-cor .col-lg-6:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
}
.sp-cor-img {
    width: 100%;
    border-radius: 16px;
}

/* Contra-cost badge — pink pill */
.sp-cor-badge {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #EAF8FB;
    background: #E83892;
    padding: 5px 18px;
    border-radius: 100px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* COR Swiper slider */
.sp-cor-slider-wrap {
    margin-top: 16px;
}
.sp-cor-swiper .swiper-slide {
    height: 440px;
}
.sp-cor-table {
    width: 100%;
    border-collapse: collapse;
}
.sp-cor-table thead {
    border-bottom: 2px solid #EBE9EF;
}
.sp-cor-th-cod,
.sp-cor-th-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #2A1A46;
    padding: 8px 0;
    text-align: left;
}
.sp-cor-th-cod {
    width: 120px;
}
.sp-cor-row td {
    padding: 10px 0;
    border-bottom: 1px solid #EBE9EF;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    vertical-align: top;
}
.sp-cor-cod {
    width: 120px;
    font-weight: 700;
    color: #E83892;
}
.sp-cor-text {
    color: #7C6D96;
    padding-left: 16px;
}

/* ========================================
   Section 9: Related Products
   ======================================== */
.sp-related-products {
    padding: 72px 0;
    background: #fff;
}
.sp-related-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 44px;
    color: #2A1A46;
    margin-bottom: 40px;
}
.sp-related-card {
    display: block;
    text-decoration: none;
    text-align: center;
}
.sp-related-card:hover {
    text-decoration: none;
}
.sp-related-img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    margin-bottom: 16px;
}
.sp-related-name {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #2A1A46;
    line-height: 1.3;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 991px) {
    .sp-product-title { font-size: 28px; }
    .sp-customize-title { font-size: 32px; }
    .sp-related-title { font-size: 32px; }
    .sp-section-heading { font-size: 24px; }
}

@media (max-width: 768px) {
    .sp-product-hero { padding: 36px 0 24px; }
    .sp-product-title { font-size: 24px; }
    .sp-product-desc-gallery { padding: 24px 0 48px; }
    .sp-gallery-img { height: 300px; }
    .sp-product-csr,
    .sp-product-details,
    .sp-product-cor,
    .sp-product-customize,
    .sp-related-products { padding: 48px 0; }
    .sp-feature-row { flex-direction: column; }
    .sp-feature-name { width: 100%; margin-bottom: 4px; }
    .sp-feature-value { padding-left: 0; }
    .sp-cor-row td { display: block; }
    .sp-cor-cod { width: 100%; margin-bottom: 2px; }
    .sp-cor-text { padding-left: 0; }
    .sp-customize-title { font-size: 28px; }
    .sp-related-title { font-size: 24px; }
    .sp-fisa-tehnica { flex-direction: column; }
}
