/* =========================================================
   WEBLINKUS
   SINGLE WEBTEMPLATE
   ========================================================= */


/* =========================================================
   01. PAGE
========================================================= */

.single-webtemplate-page {
    width: 100%;
    direction: rtl;
    background: #f8f9fc;
    color: #172033;
}


/* =========================================================
   02. CONTAINER
========================================================= */

.webtemplate-container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================================
   03. DETAIL SECTION
========================================================= */

.webtemplate-detail {
    position: relative;
    padding: 80px 0;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(194, 13, 253, 0.08),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8f9fc 100%
        );
}


/* =========================================================
   04. DETAIL GRID
========================================================= */

.webtemplate-detail .webtemplate-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}


/* =========================================================
   05. PREVIEW AREA
========================================================= */

.webtemplate-preview {
    width: 100%;
    position: relative;
}


/* =========================================================
   06. IMAGE BOX
========================================================= */

.webtemplate-image {
    position: relative;
    width: 100%;
    overflow: hidden;

    background: #ffffff;

    border-radius: 24px;

    border: 1px solid rgba(194, 13, 253, 0.10);

    box-shadow:
        0 25px 60px rgba(20, 20, 50, 0.12);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* =========================================================
   07. IMAGE HOVER
========================================================= */

.webtemplate-image:hover {
    transform: translateY(-6px);

    box-shadow:
        0 35px 75px rgba(20, 20, 50, 0.16);
}


/* =========================================================
   08. IMAGE
========================================================= */

.webtemplate-image img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 620px;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}


.webtemplate-image:hover img {
    transform: scale(1.025);
}


/* =========================================================
   09. CONTENT
========================================================= */

.webtemplate-content {
    width: 100%;
}


/* =========================================================
   10. CATEGORY
========================================================= */

.webtemplate-category {
    display: inline-flex;
    align-items: center;

    margin-bottom: 18px;

    padding: 7px 16px;

    border-radius: 50px;

    background:
        rgba(194, 13, 253, 0.09);

    color: #8f0fc0;

    font-size: 14px;
    font-weight: 700;

    border: 1px solid rgba(194, 13, 253, 0.12);
}


/* =========================================================
   11. TITLE
========================================================= */

.webtemplate-content h1 {
    margin: 0 0 12px;

    color: #111827;

    font-size: clamp(
        32px,
        4vw,
        48px
    );

    line-height: 1.25;

    font-weight: 800;

    letter-spacing: -0.5px;
}


/* =========================================================
   12. TEMPLATE NUMBER
========================================================= */

.webtemplate-number {
    margin-bottom: 24px;

    color: #737b8c;

    font-size: 14px;
    font-weight: 500;
}


/* =========================================================
   13. DESCRIPTION
========================================================= */

.webtemplate-description {
    margin-bottom: 28px;

    color: #5d6678;

    font-size: 17px;

    line-height: 2;
}


.webtemplate-description p {
    margin: 0 0 12px;
}


/* =========================================================
   14. STATS
========================================================= */

.webtemplate-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 28px;
}


/* =========================================================
   15. STAT
========================================================= */

.webtemplate-stat {
    display: flex;
    align-items: center;

    gap: 7px;

    min-height: 42px;

    padding: 8px 14px;

    background: #ffffff;

    border: 1px solid #ececf3;

    border-radius: 12px;

    color: #4c5567;

    box-shadow:
        0 8px 25px rgba(20, 20, 50, 0.04);
}


.webtemplate-stat strong {
    color: #252b38;

    font-size: 15px;
}


.webtemplate-stat small {
    color: #8a91a0;

    font-size: 13px;
}


/* =========================================================
   16. STAT ICON
========================================================= */

.stat-icon {
    font-size: 17px;
}


/* =========================================================
   17. PRICE BOX
========================================================= */

.webtemplate-price-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 30px;
}


/* =========================================================
   18. CURRENT PRICE
========================================================= */

.webtemplate-price {
    color: #c20dfd;

    font-size: 38px;

    line-height: 1;

    font-weight: 900;
}


/* =========================================================
   19. OLD PRICE
========================================================= */

.webtemplate-old-price {
    color: #9ca3af;

    font-size: 20px;

    font-weight: 600;

    text-decoration: line-through;
}


/* =========================================================
   20. DISCOUNT
========================================================= */

.webtemplate-discount {
    display: inline-flex;
    align-items: center;

    padding: 7px 12px;

    border-radius: 8px;

    background: #fff0f5;

    color: #e11d48;

    font-size: 13px;

    font-weight: 800;
}


/* =========================================================
   21. ACTIONS
========================================================= */

.webtemplate-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;
}


/* =========================================================
   22. COMMON BUTTON
========================================================= */

.webtemplate-buy-btn,
.webtemplate-demo-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 52px;

    padding: 0 24px;

    border-radius: 12px;

    font-size: 15px;

    font-weight: 800;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


/* =========================================================
   23. BUY BUTTON
========================================================= */

.webtemplate-buy-btn {
    background:
        linear-gradient(
            135deg,
            #c20dfd,
            #8f0fc0
        );

    color: #ffffff;

    box-shadow:
        0 12px 30px rgba(
            194,
            13,
            253,
            0.25
        );
}


.webtemplate-buy-btn:hover {
    color: #ffffff;

    transform: translateY(-3px);

    box-shadow:
        0 18px 35px rgba(
            194,
            13,
            253,
            0.32
        );
}


/* =========================================================
   24. DEMO BUTTON
========================================================= */

.webtemplate-demo-btn {
    background: #ffffff;

    color: #252b38;

    border: 1px solid #e4e6ee;
}


.webtemplate-demo-btn:hover {
    color: #c20dfd;

    border-color: #c20dfd;

    transform: translateY(-3px);

    box-shadow:
        0 12px 28px rgba(
            20,
            20,
            50,
            0.08
        );
}


/* =========================================================
   25. BUTTON ARROW
========================================================= */

.webtemplate-buy-btn span,
.webtemplate-demo-btn span {
    font-size: 18px;

    transition:
        transform 0.3s ease;
}


.webtemplate-buy-btn:hover span {
    transform: translateX(-4px);
}


.webtemplate-demo-btn:hover span {
    transform: translate(2px, -2px);
}


/* =========================================================
   26. FEATURES SECTION
========================================================= */

.webtemplate-features-section {
    padding: 90px 0;

    background: #ffffff;
}


/* =========================================================
   27. SECTION HEADING
========================================================= */

.webtemplate-section-heading {
    max-width: 720px;

    margin: 0 auto 45px;

    text-align: center;
}


.webtemplate-section-heading > span {
    display: inline-block;

    margin-bottom: 10px;

    color: #c20dfd;

    font-size: 14px;

    font-weight: 800;
}


.webtemplate-section-heading h2 {
    margin: 0 0 12px;

    color: #111827;

    font-size: 34px;

    line-height: 1.35;

    font-weight: 800;
}


.webtemplate-section-heading p {
    margin: 0;

    color: #737b8c;

    font-size: 16px;

    line-height: 1.9;
}


/* =========================================================
   28. FEATURES GRID
========================================================= */

.webtemplate-features-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}


/* =========================================================
   29. FEATURE ITEM
========================================================= */

.webtemplate-feature {
    display: flex;
    align-items: center;

    gap: 14px;

    min-height: 72px;

    padding: 18px 20px;

    background: #f9fafc;

    border: 1px solid #eceef4;

    border-radius: 14px;

    color: #3d4555;

    font-size: 15px;

    font-weight: 600;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.webtemplate-feature:hover {
    transform: translateY(-4px);

    border-color:
        rgba(194, 13, 253, 0.25);

    box-shadow:
        0 15px 35px rgba(
            20,
            20,
            50,
            0.07
        );
}


/* =========================================================
   30. FEATURE CHECK
========================================================= */

.feature-check {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    background:
        rgba(194, 13, 253, 0.10);

    color: #c20dfd;

    font-size: 15px;

    font-weight: 900;
}


/* =========================================================
   31. DESCRIPTION SECTION
========================================================= */

.webtemplate-description-section {
    padding: 90px 0;

    background: #f8f9fc;
}


/* =========================================================
   32. DESCRIPTION CONTENT
========================================================= */

.webtemplate-description-content {
    max-width: 900px;

    margin: 0 auto;

    padding: 35px;

    background: #ffffff;

    border: 1px solid #eceef4;

    border-radius: 20px;

    color: #50596a;

    font-size: 16px;

    line-height: 2;
}


/* =========================================================
   33. CONTENT ELEMENTS
========================================================= */

.webtemplate-description-content p {
    margin: 0 0 18px;
}


.webtemplate-description-content p:last-child {
    margin-bottom: 0;
}


.webtemplate-description-content h2,
.webtemplate-description-content h3,
.webtemplate-description-content h4 {
    margin-top: 30px;

    margin-bottom: 15px;

    color: #202635;

    font-weight: 800;
}


.webtemplate-description-content ul,
.webtemplate-description-content ol {
    margin: 20px 0;

    padding-right: 22px;
}


.webtemplate-description-content li {
    margin-bottom: 8px;
}


/* =========================================================
   34. TABLET
========================================================= */

@media (max-width: 991px) {

    .webtemplate-detail {
        padding: 60px 0;
    }


    .webtemplate-detail .webtemplate-container {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .webtemplate-preview {
        max-width: 720px;

        margin: 0 auto;
    }


    .webtemplate-content {
        max-width: 720px;

        margin: 0 auto;

        text-align: center;
    }


    .webtemplate-category {
        margin-bottom: 15px;
    }


    .webtemplate-stats,
    .webtemplate-price-box,
    .webtemplate-actions {
        justify-content: center;
    }


    .webtemplate-features-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .webtemplate-section-heading {
        margin-bottom: 35px;
    }

}


/* =========================================================
   35. MOBILE
========================================================= */

@media (max-width: 767px) {

    .webtemplate-container {
        width: 90%;
    }


    .webtemplate-detail {
        padding: 40px 0 55px;
    }


    .webtemplate-detail .webtemplate-container {
        gap: 32px;
    }


    .webtemplate-image {
        border-radius: 18px;
    }


    .webtemplate-image img {
        max-height: 500px;
    }


    .webtemplate-content h1 {
        font-size: 30px;

        line-height: 1.35;
    }


    .webtemplate-description {
        font-size: 15px;

        line-height: 1.9;
    }


    .webtemplate-stats {
        gap: 8px;

        margin-bottom: 22px;
    }


    .webtemplate-stat {
        min-height: 38px;

        padding: 7px 11px;

        font-size: 13px;
    }


    .webtemplate-price {
        font-size: 32px;
    }


    .webtemplate-old-price {
        font-size: 17px;
    }


    .webtemplate-actions {
        width: 100%;

        flex-direction: column;
    }


    .webtemplate-buy-btn,
    .webtemplate-demo-btn {
        width: 100%;

        min-height: 50px;
    }


    .webtemplate-features-section,
    .webtemplate-description-section {
        padding: 60px 0;
    }


    .webtemplate-section-heading h2 {
        font-size: 28px;
    }


    .webtemplate-section-heading p {
        font-size: 14px;
    }


    .webtemplate-features-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .webtemplate-feature {
        min-height: 65px;

        padding: 15px;
    }


    .webtemplate-description-content {
        padding: 24px 20px;

        border-radius: 16px;

        font-size: 15px;

        line-height: 1.9;
    }

}


/* =========================================================
   36. SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .webtemplate-content h1 {
        font-size: 27px;
    }


    .webtemplate-category {
        font-size: 13px;

        padding: 6px 13px;
    }


    .webtemplate-number {
        font-size: 13px;
    }


    .webtemplate-stat {
        flex: 1;
    }


    .webtemplate-price-box {
        gap: 9px;
    }


    .webtemplate-price {
        font-size: 30px;
    }


    .webtemplate-section-heading h2 {
        font-size: 25px;
    }


    .webtemplate-description-content {
        padding: 20px 16px;
    }

}


/* =========================================================
   37. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .webtemplate-image,
    .webtemplate-image img,
    .webtemplate-feature,
    .webtemplate-buy-btn,
    .webtemplate-demo-btn,
    .webtemplate-buy-btn span,
    .webtemplate-demo-btn span {
        transition: none;
    }

}