
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;500;600;700&display=swap');

/* ========================================
   HALO MARKETING - WEBSITE TEMPLATES
======================================== */

:root {
    --halo-primary: #7e22ce;
    --halo-primary-dark: #6b21a8;
    --halo-primary-light: #f3e8ff;
    --halo-gradient-from: #7e22ce;
    --halo-gradient-to: #a855f7;

    --halo-text: #999999;
    --halo-text-light: #aaaaaa;
    --halo-heading: #888888;

    --halo-background: #ffffff;
    --halo-section-bg: #fafafa;
    --halo-border: #eeeeee;

    --halo-radius: 5px;
}

/* ========================================
   GLOBAL
======================================== */

#halo-templates {
    width: 100%;
    font-family: 'Lato', sans-serif;
    color: var(--halo-text);
    background: var(--halo-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#halo-templates *,
#halo-templates *::before,
#halo-templates *::after {
    box-sizing: border-box;
}

#halo-templates img {
    max-width: 100%;
    display: block;
}

#halo-templates a {
    text-decoration: none;
}

#halo-templates button,
#halo-templates input,
#halo-templates select,
#halo-templates textarea {
    font-family: 'Lato', sans-serif;
}

#halo-templates h1,
#halo-templates h2,
#halo-templates h3,
#halo-templates h4 {
    font-weight: 400;
    color: var(--halo-heading);
}

#halo-templates p {
    color: var(--halo-text-light);
    font-weight: 300;
    line-height: 1.7;
}

/* ========================================
   HEADER
======================================== */

#halo-templates .halo-header {
    width: 100%;
    position: relative;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #f1edf4;
}

#halo-templates .halo-header-inner {
    max-width: 1280px;
    min-height: 82px;
    margin: 0 auto;
    padding: 0 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

#halo-templates .halo-logo {
    color: var(--halo-primary);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.2;
}

#halo-templates .halo-menu-btn {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 11px 18px;
    border: 1px solid #e8e0ef;
    border-radius: var(--halo-radius);

    background: #ffffff;
    color: #999999;

    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;

    cursor: pointer;

    transition:
        color 0.4s ease,
        border-color 0.4s ease,
        background 0.4s ease;
}

#halo-templates .halo-menu-btn:hover {
    color: var(--halo-primary);
    border-color: var(--halo-primary);
    background: #faf7fd;
}

#halo-templates .halo-menu-icon {
    font-size: 17px;
    line-height: 1;
}

/* ========================================
   MENU DROPDOWN
======================================== */

#halo-templates .halo-menu-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 25px;

    width: 220px;
    padding: 8px;

    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: var(--halo-radius);

    box-shadow: 0 10px 30px rgba(50, 20, 70, 0.08);

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease,
        transform 0.4s ease;
}

#halo-templates .halo-menu-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#halo-templates .halo-menu-dropdown a {
    display: block;
    padding: 13px 14px;

    color: #999999;
    font-size: 13px;
    font-weight: 300;

    border-radius: var(--halo-radius);

    transition:
        color 0.35s ease,
        background 0.35s ease;
}

#halo-templates .halo-menu-dropdown a:hover {
    color: var(--halo-primary);
    background: #f8f2fc;
}

/* ========================================
   TEMPLATES SECTION
======================================== */

#halo-templates .halo-templates-section {
    width: 100%;
    padding: 65px 15px 85px;
    background: #ffffff;
}

#halo-templates .halo-templates-container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 25px;
    padding-right: 25px;
}

#halo-templates .halo-templates-title {
    margin: 0 0 12px;
    color: #888888;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: -0.5px;
    text-align: center;
}

#halo-templates .halo-templates-description {
    max-width: 650px;
    margin: 0 auto 45px;

    color: #aaaaaa;
    font-size: 14px;
    font-weight: 300;
    text-align: center;
}

/* ========================================
   TEMPLATE GRID
======================================== */

#halo-templates .halo-template-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

/* ========================================
   TEMPLATE CARD
======================================== */

#halo-templates .halo-template-card {
    min-width: 0;
    overflow: hidden;

    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: var(--halo-radius);

    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease,
        border-color 0.5s ease;
}

#halo-templates .halo-template-card:hover {
    transform: translateY(-4px);
    border-color: #e5d5f2;
    box-shadow: 0 12px 30px rgba(80, 35, 110, 0.07);
}

/* ========================================
   TEMPLATE IMAGE
======================================== */

#halo-templates .halo-template-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;

    background: #f7f3fa;
    border-radius: var(--halo-radius);
}

#halo-templates .halo-template-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.7s ease;
}

#halo-templates .halo-template-card:hover .halo-template-image img {
    transform: scale(1.035);
}

/* ========================================
   TEMPLATE INFORMATION
======================================== */

#halo-templates .halo-template-info {
    padding: 20px;
}

#halo-templates .halo-template-info h3 {
    margin: 0 0 8px;

    color: #888888;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.4;
}

#halo-templates .halo-template-info p {
    margin: 0 0 18px;

    color: #aaaaaa;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.6;
}

/* ========================================
   TEMPLATE BUTTONS
======================================== */

#halo-templates .halo-template-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

#halo-templates .halo-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-height: 39px;
    padding: 9px 13px;

    border: 1px solid transparent;
    border-radius: var(--halo-radius);

    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.2px;

    cursor: pointer;

    transition:
        color 0.4s ease,
        background 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

/* Choose Template */

#halo-templates .halo-btn-choose {
    color: #ffffff;
    background: var(--halo-primary);
    border-color: var(--halo-primary);
}

#halo-templates .halo-btn-choose:hover {
    color: #ffffff;
    background: var(--halo-primary-dark);
    border-color: var(--halo-primary-dark);
}

/* View Demo */

#halo-templates .halo-btn-view {
    color: rgb(222, 222, 222);
    background: rgb(255, 255, 255);
    border: 1px solid rgb(222, 222, 222);
}

#halo-templates .halo-btn-view:hover {
    color: #999999;
    background: #ffffff;
    border-color: #bbbbbb;
}

/* ========================================
   POPUP OVERLAY
======================================== */

#halo-templates .halo-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(30, 15, 40, 0.45);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}

#halo-templates .halo-popup.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   POPUP CONTENT
======================================== */

#halo-templates .halo-popup-content {
    position: relative;

    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;

    padding: 35px;

    background: #ffffff;
    border-radius: var(--halo-radius);

    box-shadow: 0 20px 60px rgba(30, 15, 40, 0.15);

    opacity: 0;
    transform: translateY(15px);

    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

#halo-templates .halo-popup.active .halo-popup-content {
    opacity: 1;
    transform: translateY(0);
}

#halo-templates .halo-popup-close {
    position: absolute;
    top: 14px;
    right: 16px;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border: none;
    border-radius: var(--halo-radius);

    background: transparent;
    color: #aaaaaa;

    font-size: 24px;
    font-weight: 300;

    cursor: pointer;

    transition: color 0.3s ease;
}

#halo-templates .halo-popup-close:hover {
    color: var(--halo-primary);
}

#halo-templates .halo-popup-title {
    margin: 0 0 8px;

    color: #888888;
    font-size: 23px;
    font-weight: 400;
}

#halo-templates .halo-popup-description {
    margin: 0 0 25px;

    color: #aaaaaa;
    font-size: 13px;
    font-weight: 300;
}

/* ========================================
   FORM
======================================== */

#halo-templates .halo-form-group {
    margin-bottom: 18px;
}

#halo-templates .halo-form-group label {
    display: block;
    margin-bottom: 8px;

    color: #999999;
    font-size: 13px;
    font-weight: 400;
}

#halo-templates .halo-form-group input,
#halo-templates .halo-form-group select,
#halo-templates .halo-form-group textarea {
    display: block;
    width: 100%;
    min-height: 45px;

    padding: 11px 13px;

    border: 1px solid #e8e2ed;
    border-radius: var(--halo-radius);

    outline: none;

    background: #ffffff;
    color: #888888;

    font-size: 13px;
    font-weight: 300;

    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

#halo-templates .halo-form-group input::placeholder,
#halo-templates .halo-form-group textarea::placeholder {
    color: #cccccc;
}

#halo-templates .halo-form-group input:focus,
#halo-templates .halo-form-group select:focus,
#halo-templates .halo-form-group textarea:focus {
    border-color: var(--halo-primary);
    box-shadow: 0 0 0 3px rgba(126, 34, 206, 0.07);
}

#halo-templates .halo-form-group input[readonly] {
    background: #faf8fc;
    color: #aaaaaa;
    cursor: default;
}

/* ========================================
   FORM SUBMIT BUTTON
======================================== */

#halo-templates .halo-form-submit {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    min-height: 47px;

    margin-top: 10px;
    padding: 12px 20px;

    border: 1px solid var(--halo-primary);
    border-radius: var(--halo-radius);

    background: var(--halo-primary);
    color: #ffffff;

    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;

    cursor: pointer;

    transition:
        background 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

#halo-templates .halo-form-submit:hover {
    background: var(--halo-primary-dark);
    border-color: var(--halo-primary-dark);
    box-shadow: 0 5px 15px rgba(126, 34, 206, 0.12);
}

/* ========================================
   FOOTER
======================================== */

#halo-templates .halo-footer {
    width: 100%;
    padding: 45px 15px 25px;

    background: #faf8fc;
    border-top: 1px solid #f0eaf4;
}

#halo-templates .halo-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 25px;
    padding-right: 25px;
}

#halo-templates .halo-footer-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 35px;

    padding-bottom: 30px;
}

#halo-templates .halo-footer-logo {
    margin-bottom: 12px;

    color: var(--halo-primary);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

#halo-templates .halo-footer-description {
    max-width: 360px;
    margin: 0;

    color: #aaaaaa;
    font-size: 13px;
    font-weight: 300;
}

#halo-templates .halo-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

#halo-templates .halo-footer-links a {
    color: #aaaaaa;
    font-size: 13px;
    font-weight: 300;

    transition: color 0.35s ease;
}

#halo-templates .halo-footer-links a:hover {
    color: var(--halo-primary);
}

#halo-templates .halo-footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #eee8f2;

    color: #bbbbbb;
    font-size: 12px;
    font-weight: 300;
    text-align: center;
}

/* ========================================
   RESPONSIVE - TABLET
======================================== */

@media (max-width: 1024px) {

    #halo-templates .halo-template-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    #halo-templates .halo-templates-section {
        padding-top: 55px;
        padding-bottom: 70px;
    }

}

/* ========================================
   RESPONSIVE - MOBILE
======================================== */

@media (max-width: 600px) {

    #halo-templates .halo-header-inner {
        min-height: 70px;
        padding: 0 15px;
    }

    #halo-templates .halo-logo {
        font-size: 18px;
        letter-spacing: 1.5px;
    }

    #halo-templates .halo-menu-btn {
        padding: 9px 12px;
        font-size: 11px;
    }

    #halo-templates .halo-menu-dropdown {
        right: 15px;
        width: 200px;
    }

    #halo-templates .halo-templates-section {
        padding: 40px 15px 55px;
    }

    #halo-templates .halo-templates-container {
        padding-left: 0;
        padding-right: 0;
    }

    #halo-templates .halo-templates-title {
        font-size: 25px;
    }

    #halo-templates .halo-templates-description {
        margin-bottom: 30px;
        font-size: 13px;
    }

    #halo-templates .halo-template-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #halo-templates .halo-template-info {
        padding: 17px;
    }

    #halo-templates .halo-template-info h3 {
        font-size: 16px;
    }

    #halo-templates .halo-template-actions {
        gap: 8px;
    }

    #halo-templates .halo-btn {
        flex: 1;
        min-height: 40px;
    }

    #halo-templates .halo-popup-content {
        padding: 28px 20px;
    }

    #halo-templates .halo-popup-title {
        font-size: 21px;
    }

    #halo-templates .halo-footer {
        padding: 35px 15px 20px;
    }

    #halo-templates .halo-footer-inner {
        padding-left: 0;
        padding-right: 0;
    }

    #halo-templates .halo-footer-content {
        flex-direction: column;
        gap: 25px;
    }

    #halo-templates .halo-footer-links {
        gap: 15px;
    }

}

/* ========================================
   REDUCE MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {

    #halo-templates *,
    #halo-templates *::before,
    #halo-templates *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

}

/* ========================================
   TEMPLATE CARD INFO
======================================== */

#halo-templates .halo-template-info {
    padding: 20px 18px 18px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* TEMPLATE NAME */
#halo-templates .halo-template-info h3 {
    margin: 0;
    color: #393044;
    font-family: 'Lato', sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

/* ACTION BUTTONS */
#halo-templates .halo-template-actions {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 10px;
    width: 100%;
}

/* COMMON BUTTON STYLE */
#halo-templates .halo-template-actions .halo-btn {
    min-height: 42px;
    padding: 10px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s ease;
}

/* CHOOSE TEMPLATE */
#halo-templates .halo-btn-primary {
    background: #1c1c74;
    color: #ffffff;
    border: 1px solid #ab90c3;
}

#halo-templates .halo-btn-primary:hover {
    background: #a28bb7;
    border-color: #a28bb7;
}

/* VIEW DEMO */
#halo-templates .halo-btn-outline {
    background: #ffffff;
    color: #999999;
    border: 1px solid #dedede;
}

#halo-templates .halo-btn-outline:hover {
    color: #7e22ce;
    border-color: #7e22ce;
    background: #faf7ff;
}

/* MOBILE */
@media (max-width: 480px) {
    #halo-templates .halo-template-info {
        padding: 16px 14px;
        gap: 14px;
    }

    #halo-templates .halo-template-info h3 {
        font-size: 15px;
    }

    #halo-templates .halo-template-actions {
        gap: 8px;
    }

    #halo-templates .halo-template-actions .halo-btn {
        min-height: 40px;
        padding: 9px 6px;
        font-size: 11px;
    }
}

/* TEMPLATE CARD INFO */
#halo-templates .halo-template-info {
    padding: 22px 18px 20px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* TEMPLATE NAME */
#halo-templates .halo-template-info h3 {
    margin: 0;
    color: #d0c7db;
    font-family: 'Lato', sans-serif;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

/* ACTION BUTTONS */
#halo-templates .halo-template-actions {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 10px;
    width: 100%;
}

/* COMMON BUTTON STYLE */
#halo-templates .halo-template-actions .halo-btn {
    min-height: 45px;
    padding: 11px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s ease;
}

/* CHOOSE TEMPLATE */
#halo-templates .halo-btn-primary {
    background: #d2d2dd;
    color: #ffffff;
    border: 1px solid #a28bb7;
}

#halo-templates .halo-btn-primary:hover {
    background: #040404;
    border-color: #a28bb7;
}

/* VIEW DEMO */
#halo-templates .halo-btn-outline {
    background: #ffffff;
    color: #999999;
    border: 1px solid #dedede;
}

#halo-templates .halo-btn-outline:hover {
    color: #7e22ce;
    border-color: #7e22ce;
    background: #faf7ff;
}

/* MOBILE */
@media (max-width: 480px) {
    #halo-templates .halo-template-info {
        padding: 18px 14px;
        gap: 16px;
    }

    #halo-templates .halo-template-info h3 {
        font-size: 17px;
    }

    #halo-templates .halo-template-actions {
        gap: 8px;
    }

    #halo-templates .halo-template-actions .halo-btn {
        min-height: 42px;
        padding: 9px 6px;
        font-size: 12px;
    }
}
/* GALLERY INTRO */
#halo-templates .halo-gallery-intro {
    width: 100%;
    margin: 0 auto 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* TITLE */
#halo-templates .halo-gallery-title {
    display: flex;
    align-items: center;
    gap: 13px;
}

#halo-templates .halo-title-line {
    display: block;
    width: 3px;
    height: 30px;
    border-radius: 5px;
    background: #a28bb7;
}

#halo-templates .halo-gallery-title h2 {
    margin: 0;
    color: #51445e;
    font-family: 'Lato', sans-serif;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* DROPDOWN */
#halo-templates .halo-package-dropdown {
    position: relative;
    display: inline-block;
    z-index: 20;
}

#halo-templates .halo-dropdown-toggle {
    min-width: 190px;
    height: 48px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: #ffffff;
    border: 1px solid #e8e0ed;
    border-radius: 6px;
    color: #51445e;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#halo-templates .halo-dropdown-toggle:hover,
#halo-templates .halo-package-dropdown.open .halo-dropdown-toggle {
    border-color: #a28bb7;
    box-shadow: 0 5px 18px rgba(162, 139, 183, 0.12);
}

/* LABEL */
#halo-templates .halo-dropdown-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

#halo-templates .halo-dropdown-dot,
#halo-templates .halo-option-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #a28bb7;
}

/* ARROW */
#halo-templates .halo-dropdown-arrow {
    display: flex;
    align-items: center;
    color: #a28bb7;
}

#halo-templates .halo-dropdown-arrow svg {
    width: 17px;
    height: 17px;
    transition: transform 0.3s ease;
}

#halo-templates .halo-package-dropdown.open .halo-dropdown-arrow svg {
    transform: rotate(180deg);
}

/* DROPDOWN MENU */
#halo-templates .halo-dropdown-menu {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    width: 100%;
    min-width: 210px;
    padding: 7px;
    background: #ffffff;
    border: 1px solid #eee8f2;
    border-radius: 7px;
    box-shadow: 0 12px 35px rgba(48, 33, 61, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(7px);
    transition: all 0.25s ease;
}

#halo-templates .halo-package-dropdown.open .halo-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* MENU OPTIONS */
#halo-templates .halo-dropdown-menu button {
    width: 100%;
    min-height: 43px;
    padding: 0 11px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: #777080;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

#halo-templates .halo-dropdown-menu button:hover {
    background: #f7f3fa;
    color: #8f75a7;
}

#halo-templates .halo-option-check {
    margin-left: auto;
    color: #a28bb7;
    opacity: 0;
}

#halo-templates .halo-dropdown-menu button.selected .halo-option-check {
    opacity: 1;
}

/* MOBILE */
@media (max-width: 480px) {
    #halo-templates .halo-gallery-intro {
        gap: 12px;
        margin-bottom: 28px;
    }

    #halo-templates .halo-gallery-title {
        gap: 9px;
    }

    #halo-templates .halo-gallery-title h2 {
        font-size: 21px;
    }

    #halo-templates .halo-title-line {
        height: 25px;
    }

    #halo-templates .halo-dropdown-toggle {
        min-width: 125px;
        height: 43px;
        padding: 0 11px;
        gap: 10px;
        font-size: 11px;
    }

    #halo-templates .halo-dropdown-menu {
        min-width: 185px;
    }
}