/* =============================================
   CUSTOM CSS - CG Marketplace Website
   Bootstrap 5 + Montserrat Font Family
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
/* Color Palette */

--brandSecondary: #2175ff;
--brandTertiary: #31b082;
--backgroundBackground: #000000;
--brandPrimary: #ffffff;
--brandSecondaryVarient: #5394ff;
--borderColorBorder: #12121228;
--borderColorBorderVeriant2:  rgba(255, 255, 255, 0.151);
--backgroundSurfaceHigh: #151515;
--disableOnDisable: #aeaeae;
--disableDisable: #dcdcdc;
--iconColorLow: #ffffff;
--brandPrimaryVariant: #b6b6b9;
--brandPrimaryVariant2: #282828;
--brandSecondaryVariant2: #b7d2ff;
--brandTertiaryVariant: #46d29f;
--brandTertiaryVariant2: #126c4b;
--statusWarningWarningContainer: #ffd596;
--statusWarningWarning: #ffbe5b;
--statusSuccessSuccess: #85db39;
--statusErrorErrorContainer: #ffc8c8;
--statusSuccessSuccessContainer: #b9ff7c;
--statusErrorError: #da3939;
--statusErrorOnError: #f14e4e;
--statusErrorOnErrorContainer: #151515;
--statusSuccessOnSuccess: #85db39;
--statusSuccessOnSuccessContainer: #b9ff7c;
--statusWarningOnWarning: #ffbe5b;
--statusWarningOnWarningContainer: #ffd596;
--backgroundSurfaceLow: #f5f5f5;
--textColorLow: #646468;
--textColorLowest: #131010;
--backgroundSurfaceLowest: #ffffff;
--textColorHigh: #b6b6b9;
--iconColorLowest: #121212;
--iconColorHighest: #31b082;
--backgroundSurfaceHighest: #000000;
--textColorHighest: #ffffff;
--textColorDefault: #e0e0e1;
--brandPrimaryVariant3: #121212;
--borderColorBorderVeriant3: #ffffff7c;
--iconColorHigh: #2175ff;
--textgradientgreen: linear-gradient(90deg, #31b082, #31b08109);
--fixed: #121212;
    
/* Font Family */
--font-family-main: 'Montserrat', sans-serif !important;

/* Font Sizes */
--font-size-h1: 56px;
--font-size-h2: 40px;
--font-size-h3: 36px;
--font-size-h4: 24px;
--font-size-body-xl: 20px;
--font-size-body-l: 18px;
--font-size-body-m: 16px;
--font-size-body-s: 14px;

/* Font Weights */
--font-weight-bold: 700;
--font-weight-semi-bold: 600;
--font-weight-medium: 500;
--font-weight-regular: 400;

/* Line Heights */
--line-height-tight: 1;
--line-height-normal: 1.5;
--line-height-relaxed: 1.75;
--line-height-semi-tight: 1.25;

/* Spacing */
--spacing-xs: 4px;
--spacing-sm: 8px;
--spacing-md: 16px;
--spacing-lg: 24px;
--spacing-xl: 32px;
--spacing-2xl: 48px;
--spacing-3xl: 58px;
--spacing-4xl: 78px

/* Border Radius */
--border-radius-sm: 4px;
--border-radius-md: 8px;
--border-radius-lg: 16px;
--border-radius-full: 400px;

/* Transitions */
--transition-fast: 200ms bounce-in-out;
--transition-smooth: 300ms ease-in-out;
}

/* =============================================
   GLOBAL STYLES
   ============================================= */

* {
    font-family: var(--font-family-main);
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--backgroundBackground);
    color: var(--backgroundSurfaceLowest);
    line-height: var(--line-height-normal);
}

/* =============================================
   TYPOGRAPHY STYLES
   ============================================= */

/* Headings */
h1, .h1 {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-semi-bold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.2px;
    margin-bottom: var(--spacing-lg);
}

h2, .h2 {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-semi-bold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.15px;
    margin-bottom: var(--spacing-md);
}

h3, .h3 {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-semi-bold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-sm);
}

h4, .h4 {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-semi-bold);
    line-height: var(--line-height-normal);
    margin-bottom: var(--spacing-sm);
}

h5, .h5 {
    font-size: var(--font-size-body-l);
    font-weight: var(--font-weight-semi-bold);
    line-height: var(--line-height-normal);
    margin-bottom: var(--spacing-sm);
}

h6, .h6 {
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-semi-bold);
    line-height: var(--line-height-normal);
    margin-bottom: var(--spacing-sm);
}

/* Body Text */
p {
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-normal);
    margin-bottom: var(--spacing-md);
}

p.lead {
    font-size: var(--font-size-body-l);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-relaxed);
}

small, .small {
    font-size: var(--font-size-body-s);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-normal);
}

/* Text Colors & Variants */
.text-gradient {
    background: linear-gradient(90deg, #31b082 26.923%, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

hr {background-color: transparent;}

.text-accent-green {
    color: var(--brandTertiaryVariant);
}

.text-accent-blue {
    color: var(--color-accent-blue);
}

.text-muted {
    color: var(--textColorHigh) !important;
}

.detail-title {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-medium);
    letter-spacing: -0.684px;
    line-height: 1.26;
    color: var(--textColorHighest);
}


/* =============================================
   BUTTON STYLES
   ============================================= */

.btn {
    font-family: var(--font-family-main);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-body-m);
    height: 58px;
    padding: 0 var(--spacing-xl);
    box-sizing: border-box;
    border-radius: var(--border-radius-full);
    border: none;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    white-space: nowrap;
}

/* Primary Button */
.btn-primary {
    height: 58px;
    padding: 0 28px;
    box-sizing: border-box;
    border-radius: 64px;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brandPrimary) !important;
    color: var(--brandPrimaryVariant3) !important;
    border: 2px solid var(--brandPrimaryVariant3) !important;
    position: absolute;
    transition: transform var(--transition-fast);
    z-index: 1;
}

/* Waving Hand Pseudo-Element on CTA Primary Button Hover */
.btn-primary.btn-cta::after {
    content: '👋';
    position: absolute;
    top: -10px;
    left: -20px;
    font-size: 32px;
    opacity: 0;
    transform: rotate(0deg);
    transition: opacity var(--transition-fast) ease, transform var(--transition-fast) ease;
    pointer-events: none;
    z-index: 10;
}

.btn-primary.btn-cta:hover::after {
    opacity: 1;
    animation: wave-hand-wobble 1.2s infinite ease-in-out;
}

/* Wobble / waving effect keyframes for the hand emoji */
@keyframes wave-hand-wobble {
    0% {
        transform: rotate(0deg);
    }

    15% {
        transform: rotate(-20deg);
    }

    30% {
        transform: rotate(15deg);
    }

    45% {
        transform: rotate(-15deg);
    }

    60% {
        transform: rotate(10deg);
    }

    75% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* Button Instance Behind Primary */
.btn-instance {
    height: 58px;
    padding: 0 28px;
    box-sizing: border-box;
    border-radius: 64px;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brandTertiary) !important;
    color: var(--brandPrimaryVariant3) !important;
    border: 2px solid var(--brandPrimaryVariant3) !important;
    position: relative;
    pointer-events: none;
}

.button-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

@keyframes Button_primaryText__PSGPD {
    0% {
        transform: translateY(0)
    }

    25% {
        transform: translateY(-17px)
    }

    40% {
        transform: translateY(-15px)
    }

    55% {
        transform: translateY(-17px)
    }

    to {
        transform: translateY(-12px)
    }
}

/* Triggered off the stable, non-moving wrapper box (not the button's own
   moving box) so the lift doesn't carry the pointer off the hover target
   and re-trigger the animation in a loop. */
.button-wrapper:hover .btn-primary,
.popup-button-wrapper:hover .btn-primary {
    animation: Button_primaryText__PSGPD var(--transition-smooth) 1;
    animation-fill-mode: forwards;
}

.btn-primary:focus{
  background-color: var(--brandPrimary) !important;
  color: var(--brandPrimaryVariant3) !important;
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25) !important; 
}

.btn-primary:disabled {
    background-color: var(--color-text-high);
    border-color: var(--color-text-high);
    color: var(--color-dark-bg);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Secondary Button - Outline Dark */
.btn-outline-dark, .btn-outline-dark:hover {
    padding: 22px 28px;
    border-radius: 64px;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brandPrimary);
    color: var(--brandPrimaryVariant3);
    border: 1px solid var(--brandPrimaryVariant3);
}

/* --- Subsection: Button Styles for Purchases Page --- */
.btn-outline-secondary {
    background-color: var(--backgroundSurfaceHigh);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--brandPrimary);
    font-family: var(--font-family-main);
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-medium);
    padding: 9px 24px;
    border-radius: 60px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-secondary:hover {
    background-color: var(--backgroundSurfaceHigh);
    border-color: var(--brandTertiaryVariant);
    color: var(--brandTertiaryVariant);
}

.link-action {
    color: var(--brandTertiary);
    text-decoration: none;
    font-family: var(--font-family-main);
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 7px;
    line-height: 24px;
}

.link-action:hover {
    color: var(--brandTertiaryVariant);
}

.link-action--danger {
  background: transparent;
  border: none;
  color: var(--statusErrorError); /* red */
}

.link-action--danger:hover {
  background: transparent;
  border: none;
  color: var(--statusErrorOnError) !important; /* light red */
}

.btn-release-notes {
    background-color: var(--brandPrimaryVariant2);
    border: 1px solid rgba(18, 18, 18, 0.16);
    color: var(--textColorHighest);
    font-family: var(--font-family-main);
    font-size: var(--font-size-body-s);
    font-weight: var(--font-weight-medium);
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
    line-height: 19px;
}

.btn-release-notes:hover {
    background-color: rgba(40, 40, 40, 0.8);
    border-color: rgba(18, 18, 18, 0.24);
    color: var(--textColorHighest);
}


/* --- Subsection: Button Styles for icon button --- */
 .btn-icon {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-body-l);
    background: var(--brandPrimary);
    color: var(--textColorLowest);
    border-radius: 40px;
    font-weight: 500;
    gap: 12px;
}

.btn-icon .cart-icon {
  width: 18px;
  height: 18px;
  margin-left: 8px;
}

/* --- Subsection: Button Styles for popup --- */

.popup-btn{
    position: static;
    margin: 20px auto 0;
    display: block;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-body-l);
    background: var(--brandPrimary);
    color: var(--textColorLowest);
    border-radius: 40px;
    font-weight: 500;
}

.auth-popup-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.auth-popup {
    background: var(--backgroundSurfaceHigh);
    border-radius: var(--border-radius-lg);
    width: min(510px, 100%);
    color: var(--brandPrimary) box-shadow 0 15px 45px rgba(0, 0, 0, .4);
    padding: var(--spacing-xl);
    position: relative;
}

.auth-popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.popup-subtitle {
    color: var(--brandTertiary);
    margin: 8px 0 0;
    font-size: 1.1rem;
    font-weight: var(--font-weight-medium);
    text-align: center;
}
.popup-desc {
    margin: .35rem 0 0;
    color: #d3d3d3;
    font-size: .9rem;
    line-height: 1.45;
    text-align: center;
}

.auth-input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #333;
    background: #111;
    color: #fff;
    padding: .75rem .85rem;
    margin-top: .65rem;
    font-size: 1rem;
}
.auth-btn {
    width: fit-content;
    display: block;
    margin: 1rem 0 0 auto;
    border-radius: 999px;
    border: none;
    background: #00e3aa;
    color: #0a0a0a;
    font-weight: 700;
    padding: .65rem 1.4rem;
    min-width: 120px;
    font-size: 1rem;
    cursor: pointer;
    align-self: flex-end;
}
.auth-mode-row {
    display: flex;
    justify-content: flex-start;
    margin-top: .35rem;
}

.auth-mode-pill {
    background: #1c1c1c;
    border: 1px solid #2a2a2a;
    color: #fff;
    border-radius: 999px;
    padding: .35rem .9rem;
    font-size: .8rem;
    cursor: pointer;
    font-weight: 600;
}

.auth-mode-pill.active {
    background: #00e3aa;
    border-color: #00e3aa;
    color: #101010;
}

.popup-close-btn {
   position: absolute;
    top: 16px;
    right: 16px;
    left: auto;
    background: transparent;
    border: none;
    cursor: pointer;
}

.auth-input + .auth-input {
    margin-top:.8rem;
}
.auth-popup-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.auth-popup-check {
    font-size: var(--font-size-body-s);
    color: var(--textColorHigh);
    margin-top: .2rem;
}

.auth-popup-check span {
  display: inline;
}

.d-none {
    display: none !important;
}

/* --- Subsection:dropdown --- */
.profile-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: var(--backgroundSurfaceHigh);
    border: 1px solid var(--borderColorBorderVeriant2);
    border-radius: var(--border-radius-md);
    width: 180px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
    z-index: 2500;
    overflow: hidden;
}

.profile-dropdown .dropdown-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: var(--spacing-md);
    background: transparent;
    border: none;
    color: var(--textColorHighest);
    font-size: var(--font-size-body-m);
    text-decoration: none;
    cursor: pointer;
}

.profile-dropdown .dropdown-item:hover {
    background: var(--backgroundSurfaceHighest);
    color: var(--brandTertiaryVariant);
}

/* --- Subsection: popup classes used in order details --- */

.popup-section-title {
  width: 100%;
  margin-top: 18px;
  margin-bottom: 10px;
  color: var(--brandSecondaryVarient);
  font-size: var(--font-size-body-l);
  text-align: left;
}

.popup-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.popup-field {
  display: flex;
  flex-direction: column;
}

.popup-label {
  color: var(--textColorHigh);
  font-size: var(--font-size-body-m);
}

.popup-value {
  color: var(--textColorHighest);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-body-m);
}

/* --- Subsection: popup classes used in release notes --- */
.popup-icon {
  font-size: 20px;
  margin-bottom: 6px;
}

.popup-updated {
  margin-top: 6px;
  margin-bottom: 14px;
}

.text-blue {
  color: #4da3ff;
}

.popup-section-title {
  width: 100%;
  text-align: left;
  margin-top: 16px;
  margin-bottom: 8px;
  font-weight: 600;
}

.popup-list {
  width: 100%;
  list-style: none;
  padding-left: 0;
}

.popup-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
}

.popup-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #00e3aa;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
}

/* =============================================
    BREADCRUMBS STYLES
   ============================================= */

.Breadcrumb-container {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
}


.breadcrumbs-wrapper {
    display: flex;
    gap: 7px;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    gap: 7px;
    align-items: center;
}

.breadcrumb-text1 {
    font-family: var(--font-family-main);
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-semi-bold);
    color: var(--disableDisable);
    white-space: nowrap;
    cursor:pointer;
    text-decoration: none;
}

.breadcrumb-text1:hover {
    color: var(--brandTertiary);
}

.breadcrumb-text2 {
    font-family: var(--font-family-main);
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-semi-bold);
    color: var(--brandPrimary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 40vw;
}

.breadcrumb-icon {
    width: 24px;
    height: 24px;
    color: var(--disableOnDisable);
    display: inline-flex;
    align-items: center;
    justify-content: center;

}


/* =============================================
   NAVIGATION STYLES
   ============================================= */

.navbar {
    background-color: var(--backgroundSurfaceHighest);
    padding: var(--spacing-md) 0;
    position: fixed;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

.navbar .container {
    width: 100% !important;
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Account for fixed navbar */
main {
    padding-top: 70px;
}

/* =============================================
   CUSTOM MOBILE MENU
   ============================================= */

.custom-mobile-menu {
    display: none;
}

.custom-mobile-menu.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.menu-close-btn {
    background: none;
    border: none;
    padding: 0;
    margin-bottom: 30px;
    cursor: pointer;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.menu-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.menu-link:hover {
    color: var(--brandTertiaryVariant);
}

.menu-socials {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.social-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-circle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.social-circle img {
    width: 24px;
    height: 24px;
}

.menu-owner {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 10px;
}

.menu-owner strong {
    color: #fff;
    font-weight: 600;
}

.menu-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin: 0;
}

/** Header visibility CSS **/
#main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;

    transition:
        transform 0.35s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}
#main-navbar.navbar-visible {
    transform: translateY(0);
}
#main-navbar.navbar-hidden {
    transform: translateY(-100%);
}

/* Keep the mobile menu below the fixed header and centre it on a light surface. */
@media (max-width: 991.98px) {
    .custom-mobile-menu.active {
        position: fixed;
        top: 58px;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 999;
        flex-direction: column;
        align-items: center;
        padding: 24px;
        overflow-y: auto;
        background: #fff;
        text-align: center;
        margin-top: -60px;
        z-index: 9999999;
    }

    .menu-close-btn {
        align-self: flex-end;
        margin-bottom: 0;
    }

    .menu-content {
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .menu-nav,
    .menu-socials {
        align-items: center;
        justify-content: center;
    }

    .menu-link,
    .menu-owner,
    .menu-owner strong,
    .menu-copyright {
        color: #000;
    }

    .menu-link {
        font-weight: 700;
    }

    .social-circle {
        background: rgb(0 0 0);
        width: 30px;
        height: 30px;
    }

    .social-circle:hover {
        background: rgb(0 0 0);
    }
}

/* Custom navbar toggler icon */
.custom-navbar-toggler-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-brand {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-semi-bold);
    color: var(--color-primary-white) !important;
    letter-spacing: -0.5px;
}

.nav-link {
    font-size: var(--font-size-body-l);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-high) !important;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brandTertiary) !important;
}



.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile / Tablet navbar collapsed menu */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
    padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.15);
}

@media (max-width: 991.98px) {
    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        background-color: var(--backgroundSurfaceHighest);
        padding: var(--spacing-md) var(--spacing-lg);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        margin-top: var(--spacing-sm);
        border-radius: 0 0 8px 8px;
    }

    .navbar-nav {
        gap: 0 !important;
    }

    .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: none;
        padding-top: var(--spacing-sm);
    }

    .navbar-nav .nav-link {
        padding: var(--spacing-sm) 0;
        font-size: var(--font-size-body-m);
    }

    .profile-dropdown {
        position: static;
        box-shadow: none;
        background: transparent;
        border: none;
        padding: 0;
        margin-top: var(--spacing-xs, 4px);
    }

    .profile-dropdown .dropdown-item {
        padding-left: 0;
    }
}

/* Overview Section Helpers */

.overview-screenshots img {
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    width: 100%;
}

/* =============================================
   HERO SECTION STYLES
   ============================================= */

.hero-section {
    background-color: var(--color-dark-bg);
    min-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    z-index: 5;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../assets/pattern-back.png) no-repeat center center fixed;
    background-color: #000000;
    opacity: 0.5;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-title {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    color: var(--textColorHighest);
    text-align: center;
}

.hero-image {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image img {
    max-width: 1281px;
    height: auto;
    border-radius: var(--border-radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: var(--font-size-body-l);
    font-weight: var(--font-weight-medium);
    color: var(--textColorHigh) !important;
    max-width: 569px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.198px;
}

.hero-decor-left {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 600px;
    background: linear-gradient(90deg, var(--backgroundSurfaceHighest), transparent);
    height: 100%;
}

.hero-decor-right {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    width: 600px;
    background: linear-gradient(90deg, transparent,  var(--backgroundSurfaceHighest));
    height: 100%;
}

@media (max-width: 1024px) {
    .hero-decor-left,
    .hero-decor-right {
        width: 20vw;
    }

    /*Product detail page */
    .template-details-page {
        padding-top: 0px !important;
    }
}

/* =============================================
   SEARCH BAR STYLES
   ============================================= */

.search-bar {
    position: relative;
    width: 100%;
    max-width: 597px;
}

.search-input {
    width: 100%;
    padding: var(--spacing-lg) var(--spacing-md);
    padding-left: 5px;
    padding-right: 45px;
    font-size: var(--font-size-body-xl);
    font-weight: var(--font-weight-medium);
    background-color: var(--backgroundSurfaceHighest);
    border-bottom: 1px solid rgba(255, 255, 255, 0.253) !important;
    color: var(--textColorHigh);
    transition: all var(--transition-smooth);
    border: 0px;
    border-radius: 0 !important;
}

.search-input::placeholder {
    color: var(--textColorHigh);
}

.search-input:focus {
    background-color: var(--backgroundSurfaceHigh) !important;
    outline: none !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.253) !important;
    color: var(--textColorHigh) !important;
}

@media (max-width: 768px) {
    .search-input {
        font-size: var(--font-size-body-md);
        padding-right: 35px;
    }
}

@media (max-width: 400px) {
    .search-input {
        font-size: var(--font-size-body-sm);
        padding-right: 30px;
    }
}

.search-input:-webkit-autofill,
.search-input:-webkit-autofill:hover,
.search-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--textColorHigh) !important;
    -webkit-box-shadow: 0 0 0px 1000px var(--backgroundSurfaceHighest) inset !important;
    box-shadow: 0 0 0px 1000px var(--backgroundSurfaceHighest) inset !important;
    caret-color: var(--textColorHigh);
}

/* =============================================
   TEMPLATE CARD STYLES
   ============================================= */
img.search-icon {
    position: absolute;
    right: 15px;
    top: 25px;
}

.template-title {
            font-weight: 500;
            margin-bottom: 58px;
            letter-spacing: -0.684px;
            line-height: 1.26;
        }

.templates-section  {
    background-color: var(--backgroundSurfaceHighest);
    padding: var(--spacing-xl) 0px;
}

.darkgrey-background{
        background-color: var(--backgroundSurfaceHigh);
        padding: var(--spacing-3xl) 0;
}

 .template-card  {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}


/*.template-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent-blue);
} */

.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 416 / 234;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-smooth);
    z-index: 3;
}

.template-card:hover .card-overlay {
    opacity: 1;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.template-card:hover .card-image {
    transform: scale(1.05);
}

.btn-view-card {
    padding: 12px 24px;
    border-radius: 24px;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    background-color: transparent;
    color: var(--brandSecondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    text-decoration: none;
}

.btn-view-card img {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0;
    min-width: 16px;
    min-height: 16px;
    max-width: 16px;
    max-height: 16px;
}

@media (max-width: 768px) {
    .btn-view-card {
        padding: 6px 12px;
        font-size: 13px;
        line-height: 16px;
        gap: 4px;
    }

    .btn-view-card img {
        width: 14px;
        height: 14px;
    }
}

.btn-view-card:hover {
    color: var(--brandPrimary);
}

.btn-view-card:focus, 
.btn-view-card:active {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}



.badge-new {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background-color: var(--brandSecondary);
    color: var(--color-primary-white);
    font-size: var(--font-size-body-s);
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-lg);
    z-index: 2;
}

.badge-free {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background-color: #ffffff;
    color: #000000;
    font-size: var(--font-size-body-s);
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.card-body {
    padding: var(--spacing-sm);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.card-title {
    font-size: var(--font-size-body-l);
    font-weight: var(--font-weight-semi-bold);
    color: var(--color-primary-white);
    margin: 0;
    flex: 1;
    min-height: 60px;
}

.price-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    white-space: nowrap;
}

.price-current {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-semi-bold);
    color: var(--brandTertiaryVariant);
}

.price-original {
    font-size: var(--font-size-body-m);
    color: var(--textColorHigh);
    text-decoration: line-through;
}

.divider {
    border: none;
    border-top: 1px solid #ffffff4f !important;
    margin: var(--spacing-sm) 0;
}

.card-category {
    font-size: var(--font-size-body-s);
    color: var(--textColorHigh);
    margin: 0;
    font-weight: var(--font-weight-medium);
}

/* =============================================
   SECTION STYLES
   ============================================= */

.support-link {
    color: var(--brandTertiary);
    text-align: none;
    text-decoration: none !important;
}

.support-link:hover{
    color: var(--brandTertiaryVariant2);
}

h1.section-title, h2.section-title, h3.section-title {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-tight);
  letter-spacing: -0.2px;
  margin-bottom: var(--spacing-2xl);
}

.section-title.text-light {
  color: var(--textColorHighest) !important;
}

.section-title.text-dark {
  color: var(--textColorLowest) !important;
}

.section-description {
    font-size: var(--font-size-body-l);
    font-weight: var(--font-weight-medium);
    color: var(--textColorDefault);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-md);
}

.section-description ul,
.section-description ol {
    margin: 12px 0;
    padding-left: 24px;
}

.section-description ul {
    list-style-type: disc;
}

.section-description ol {
    list-style-type: decimal;
}

.section-description li {
    margin-bottom: 6px;
    color: var(--textColorDefault);
}

.section-description li[data-list="bullet"] {
    list-style-type: disc !important;
}

.section-description li[data-list="ordered"] {
    list-style-type: decimal !important;
}

.section-description .ql-ui {
    display: none;
}

.section-description2 {
    font-size: var(--font-size-body-l);
    font-weight: var(--font-weight-medium);
    color: var(--textColorLow);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-md);
}

.section-description2 ul,
.section-description2 ol {
    margin: 12px 0;
    padding-left: 24px;
}

.section-description2 ul {
    list-style-type: disc;
}

.section-description2 ol {
    list-style-type: decimal;
}

.section-description2 li {
    margin-bottom: 6px;
    color: var(--textColorLow);
}

.section-description2 li[data-list="bullet"] {
    list-style-type: disc !important;
}

.section-description2 li[data-list="ordered"] {
    list-style-type: decimal !important;
}

.section-description2 .ql-ui {
    display: none;
}

/* Support Section */
.support-section {
    background-color: var(--backgroundSurfaceLowest);
    color: var(--textColorLowest);
    padding: 70px 0;
     padding-left: 10px;
}

.support-section h1.section-title,
.support-section h2.section-title,
.support-section h3.section-title {
  font-weight: var(--font-weight-semi-bold) !important;
}

.support-visual-group {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 480px;
}

.support-img {
    display: block;
    width: 100%;
}

.support-card-container {
    position: absolute;
    bottom: -9%;
    right: 0;
    width: 60%;
    z-index: 2;
    transform: rotate(-3.5deg);
    container-type: inline-size;
}

.support-card-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding-left: 10%;
    z-index: 2;
}

.typewriter-card-img {
    width: 100%;
    display: block;
}

.typewriter-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
    transform: rotate(-5.5deg);
}

.typewriter-line1 {
    display: block;
    font-size: clamp(10px, 10cqw, 30px);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    border-right: 2px solid #ffffff;
    animation:
        typewriter-typing 4s steps(9) infinite,
        typewriter-cursor .8s step-end infinite;
    letter-spacing: -0.2px;
    color: #ffffff;
}

.typewriter-line2 {
    display: block;
    font-size: clamp(12px, 12cqw, 36px);
    font-weight: 500;
    opacity: 0;
    animation: typewriter-fade-in 0.5s forwards 2s;
    letter-spacing: -0.2px;
    color: #ffffff;
    line-height: 1.1;
    white-space: nowrap;
}

@keyframes typewriter-typing {
    from { width: 1ch; }
    40% { width: 9ch; }
    60% { width: 9ch; }
    to { width: 1ch; }
}

@keyframes typewriter-cursor {
    from, to { border-color: transparent; }
    50% { border-color: #ffffff; }
}

@keyframes typewriter-fade-in {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
    .support-visual-group {
        padding-bottom: 5%;
    }
    .support-card-container {
        bottom: 0;
    }
}


/* FAQ Section */
.faq-section {
    background-color: var(--backgroundSurfaceHighest);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 650px;
    padding-top: 100px;
}

        .faq-inner-container {
    max-width: 1316px;
    width: 100%;
}

        .faq-container {
            max-width: 1110px;
            margin: 0 auto;
            min-height: 450px;
        }



        .faq-wrapper {
    display: flex;
    gap: 73px;
    align-items: flex-start;
    padding-left: 10px;
    /* padding-right: 130px; */
}

        /* Vertical Tabs Navigation */
        .faq-tabs {
            display: flex;
            flex-direction: column;
            min-width: 210px;
            padding: 22px 0;
            border: none;
            background: transparent;
            gap: 24px;
        }

        .nav { 
            flex-direction: column;
            border-right: 1px solid rgba(255, 255, 255, 0.10);
            max-width: 250px;
            width: 250px;
        }

        .nav-pills .nav-link {
            color: var(--text-highest);
            padding: 20px 30px;
            border-radius: 4px;
            text-align: left;
            display: flex;
            align-items: center;
            gap: 11px;
            font-size: 18px;
            font-weight: 600;
            min-height: 58px;
            border: none !important;
            position: relative;
            transition: all 0.3s ease;
            outline: none !important;
            box-shadow: none !important;
        }

        .nav-pills .nav-link:focus {
            outline: none !important;
            box-shadow: none !important;
            background-color: transparent !important;
        }

        .nav-pills .nav-link:not(.active) {
            background-color: transparent;
            color: var(--text-highest);
        }

        .nav-pills .nav-link.active {
            background-color: transparent;
            color: #31b082;
            border: none !important;
            outline: none !important;
            box-shadow: none !important;
        }

        /* Toggle icon visibility for active/inactive state with smooth opacity transition */
        .nav-pills .nav-link .icon-active {
            position: absolute;
            left: 30px;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
            width: 24px;
            height: 24px;
        }

        .nav-pills .nav-link .icon-default {
            position: relative;
            opacity: 1;
            pointer-events: auto;
            transition: opacity 0.3s ease;
            width: 24px;
            height: 24px;
        }

        .nav-pills .nav-link.active .icon-active {
            opacity: 1;
            pointer-events: auto;
        }

        .nav-pills .nav-link.active .icon-default {
            opacity: 0;
            pointer-events: none;
        }

        /* Vertical line indicator for active tab */
        .nav-pills .nav-link.active::after {
            content: "";
            position: absolute;
            right: -2px;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 50px;
            background-color: var(--bs-primary);
            border-radius: 4px;
        }

        .nav-link-icon {
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Accordion Styling */
        .faq-questions {
    flex: 1;

}

    .accordion {
        border: none;
    }

    .accordion-item {
        background-color: transparent;
        border: none;
        margin-bottom: 12px;
        margin-top: 0;
    }

    .accordion-button {
        width: 100%;
        background-color: transparent;
        color: var(--text-highest);
        border: none;
        padding: 32px 0 16px;
        font-size: var(--font-size-body-xl);
        font-weight: 500;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        margin-bottom: 0;
        /* Don't use transition:none */
        transition:
            color 0.4s ease,
            opacity 0.4s ease;
    }

    .accordion-button:not(.collapsed) {
        background-color: transparent;
        box-shadow: none;
        color: var(--text-highest);
    }

    .accordion-button:focus {
        border-color: transparent;
        outline: none;
        box-shadow: none;
    }

    /* Accordion content */
    .accordion-collapse {
        overflow: hidden;
        will-change: height;
    }

    /* Answer */
    .accordion-body {
        padding: 0;
        color: var(--textColorHigh);
        font-size: var(--font-size-body-l);
        font-weight: 500;
        line-height: 30px;
        margin-bottom: 0;
    }
    .accordion-button::after {
        flex-shrink: 0;
        width: 1.25rem;
        height: 1.25rem;
        margin-left: auto;
        content: "";
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-size: 1.25rem;
        transform: rotate(0deg);
        transition: transform 0.4s ease;
    }

    .accordion-button:not(.collapsed)::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z'/%3e%3c/svg%3e");
        transform: rotate(180deg);
    }
        /* Responsive */
        @media (max-width: 768px) {
            .faq-wrapper {
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
    }

            .faq-tabs {
                flex-direction: row;
                min-width: auto;
                width: 100%;
                max-width: 100%;
                gap: 12px;
                overflow-x: auto;
                overflow-y: hidden;
                flex-wrap: nowrap;
                -webkit-overflow-scrolling: touch;
                padding-bottom: 12px;
                border-right: 0;
            }

            .nav-pills .nav-link {
        flex-shrink: 0 !important;
        padding: 14px 20px !important;
        min-height: auto !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
        border-radius: 0 !important;
        background-color: transparent !important;
        color: rgba(255, 255, 255, 0.5) !important;
        position: relative !important;
        border: none !important;

    }

            .nav-pills .nav-link.active::after {
        content: "" !important;
        position: absolute !important;
        bottom: -1px !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        transform: none !important;
        width: 100% !important;
        height: 3px !important;
        background-color: var(--brandTertiaryVariant) !important;
        border-radius: 3px 3px 0 0 !important;
    }

            .nav-pills .nav-link.active {
        color: #31b082 !important;
        border: none !important;
        border-bottom: none !important;
        background-color: transparent !important;
    }

            /*.faq-inner-container {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }*/

            .faq-title {
                font-size: 28px;
                margin-bottom: 32px;
            }
        }


/*---------------- CTA Section ----------------*/
.cta-section {
    background: var(--backgroundSurfaceLowest);
    min-height: 400px;
    padding: 70px 0;
}

/* =============================================
   FOOTER STYLES
   ============================================= */

.footer-section {
    background-color: var(--backgroundSurfaceHighest, #000);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 70px !important;
    padding-bottom: 69px !important;
    color: var(--color-primary-white);
}

.footer-title {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-medium);
    line-height: 1.3;
    margin-bottom: var(--spacing-2xl);
    color: var(--color-primary-white);
}

.footer-subtitle {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-medium);
    color: var(--color-primary-white);
    margin-bottom: var(--spacing-lg);
}

.footer-contact {
    font-size: var(--font-size-body-l);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-sm);
}

.footer-link {
    color: var(--brandPrimaryVariant);
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.footer-link:hover {
    color: var(--brandTertiaryVariant);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-links li a {
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-medium);
    color: var(--brandPrimaryVariant);
    transition: color var(--transition-fast);
}

.footer-links li a:hover {
    color: var(--brandTertiaryVariant);
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    margin: var(--spacing-2xl) 0 var(--spacing-xl) 0;
}

.footer-copyright {
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-regular);
    color: var(--brandPrimary);
}

.social-icons {
    display: flex;
    gap: var(--spacing-md);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--brandPrimary);
    text-decoration: none;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-fast);
    background-color: #59585852;
}

.social-icon:hover {
    color: var(--brandTertiary);
    transform: translateY(-3px);
}

.footer-container {
    width: 100% !important;
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* =============================================
   PAGE: TERMS OF USE
   ============================================= */

.terms-section {
    background-color: var(--backgroundSurfaceHighest);
    padding: 48px 0 100px 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.terms-title {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-semi-bold);
    color: var(--textColorHighest);
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
}

.terms-title-accent {
  color: var(--brandSecondary);
}

.terms-heading{
    font-size: var(--font-size-h4);
    color: var(--textColorHighest);
}

.terms-description {
    font-size: var(--font-size-body-l);
    color: var(--textColorHigh);
    font-size: var(--font-weight-medium);
    margin-bottom: 12px;
}

.cms-content {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}

.cms-content img, 
.cms-content video, 
.cms-content iframe {
    max-width: 100%;
    height: auto;
}

.cms-content pre, 
.cms-content code {
    white-space: pre-wrap;
    word-break: break-word;
    max-width: 100%;
    overflow-x: auto;
}


/* =============================================
   PAGE: CONTACT PAGE
   ============================================= */

/* --- Section: Breadcrumb Navigation --- */
.breadcrumb-contact {
    background-color: var(--backgroundSurfaceHighest);
    margin-top: 50px;
}

.breadcrumb-link {
    color: var(--textColorHigh);
    text-decoration: none;
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-smooth);
}

.breadcrumb-link:hover {
    color: var(--brandTertiary);
}

.breadcrumb-separator {
    color: var(--textColorHigh);
    margin: 0 var(--spacing-sm);
    font-weight: var(--font-weight-medium);
}

.breadcrumb-current {
    color: var(--textColorHighest);
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-medium);
}

/* --- Section: Contact Section --- */
.contact-section {
    background-color: var(--backgroundSurfaceHighest);
    padding: 48px 0 100px 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.contact-left {
    padding-right: var(--spacing-3xl);
}

.contact-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Subsection: Contact Title & Description --- */
.contact-title{
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-semi-bold);
    color: var(--textColorHighest);
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
}

.contact-title-accent {
    color: var(--brandSecondary);
}

.contact-description {
    font-size: var(--font-size-body-l);
    color: var(--textColorHighest);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-lg);
}

.contact-info-text {
    font-size: var(--font-size-body-l);
    color: var(--textColorHighest);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-2xl);
}

.contact-email-link {
    color: var(--brandTertiary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-smooth);
}

.contact-email-link:hover {
    color: var(--brandTertiaryVariant);
}

.contact-illustration {
    width: 100%;
    max-width: 500px;
    margin-top: var(--spacing-2xl);
}

.contact-img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Subsection: Contact Form --- */
.contact-form-wrapper {
    background-color: var(--backgroundSurfaceLowest);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-2xl);
    width: 100%;
    max-width: 580px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: 0;
}

.contact-form-label {
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-medium);
    color: var(--textColorLowest);
    margin-bottom: 0;
}

.input-wrapper {
    position: relative;
}

.input-icon img {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
}

.contact-form-input {
    padding-left: 45px;
    width: 100%;
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 45px;
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-medium);
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius-md);
    background-color: var(--backgroundSurfaceLowest);
    color: var(--textColorLow);
    transition: all var(--transition-smooth);
    font-family: var(--font-family-main);
}

.contact-form-input::placeholder {
    color: var(--textColorLow);
}

.contact-form-input:focus {
    outline: none;
    border-color: var(--brandTertiary);
    background-color: var(--backgroundSurfaceLowest);
    box-shadow: 0 0 0 3px rgba(33, 117, 255, 0.1);
}

.contact-form-input:disabled {
    background-color: var(--backgroundSurfaceLowest);
    color: var(--textColorLow);
    cursor: not-allowed;
    opacity: 0.7;
}

.contact-form-textarea {
    resize: none;
    padding-left: var(--spacing-md) !important;
    padding-top: var(--spacing-md) !important;
    min-height: 140px;
}

.contact-form-textarea::placeholder {
    color: var(--textColorLow);
}

.contact-reply-notice {
    font-size: var(--font-size-body-m);
    color: var(--brandSecondary);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-lg);
    margin-top: 0;
}

.contact-form-input-dark {
     background: var(--backgroundSurfaceHighest);
     border: 1px solid var(--backgroundSurfaceHighest);
     color: var(--brandPrimaryVariant);
}

/* --- Subsection: Contact Submit Button --- */
.btn-contact-submit {
    padding: 18px 36px;
    border-radius: 64px;
    font-weight: var(--font-weight-semi-bold);
    font-size: var(--font-size-body-m);
    border: 2px solid var(--textColorLowest);
    background-color: var(--backgroundSurfaceLowest);
    color: var(--textColorLowest);
    transition: all var(--transition-smooth);
    cursor: pointer;
    white-space: nowrap;
    align-self: center;
    margin-top: var(--spacing-md);
}

.btn-contact-submit:hover {
    background-color: var(--textColorLowest);
    color: var(--backgroundSurfaceLowest);
    border-color: var(--textColorLowest);
}

.btn-contact-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */


/* =============================================
   PRODUCT template PAGE STYLES
   ============================================= */
/* Template info is static by default; desktop enables the sticky panel below. */
.template-info {
    position: relative;
    top: auto;
    z-index: auto;
    padding-left: 0;
    background-color: var(--backgroundSurfaceHighest);
}

.template-details-page {
  padding-top: 70px;
}

.template-details-page .breadcrumb-item {
  margin-top: 40px;
  margin-bottom: 40px;
}

.template-details-page .button-wrapper {
  position: relative;
  display: inline-block;
}

.template-details-page .button-wrapper .btn-primary {
  position: absolute;
  top: 8px;
  left: -8px;
}

.template-details-page .button-wrapper .btn-instance {
  position: relative;
  top: 8px;
  left: -8px;
}

.template-info .section-title {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-medium);
    letter-spacing: -0.684px;
    line-height: var(--line-height-semi-tight);
    color: var(--textColorHighest);
}   


.template-details-page .overview p {
  color: var(--textColorHigh);
  font-size: 16px;
  line-height: 1.7;
}


.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--textColorHigh);
  font-size: 16px;
  font-weight: var(--font-weight-medium);
}

.feature-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--brandTertiary);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
}

.included-list {
  color: var(--textColorHigh);
  font-size: var(--font-size-body-m);
  line-height: 1.8;
  padding-left: 20px;
}

.included-list li {
  margin-bottom: 6px;
}
.template-details-page #left-column {
  max-width: 800px;
}

.policy-card {
  background: #0D0D0D;
  border: 1px solid #1F1F1F;
  border-radius: 12px;
  padding: 24px;

}

.policy-card h3 {
  color: var(--textColorHighest);
  font-size: var(--font-size-h4);
  margin-bottom: var(--spacing-md);
}

.policy-card p {
  color: #B3B3B3;
  font-size: var(--font-size-body-m);
  margin-bottom: var(--spacing-md);
}

.compatibility-text {
  color: var(--textColorHigh);
}

/* product detail page thumbnail hover overlay */
.detail-thumb-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/9;
}
.detail-thumb-wrapper img {
    width: 100%;
    /*height: 100%;
    object-fit: cover;*/
    display: block;
    transition: transform 0.3s ease;
}
.detail-thumb-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(18, 18, 18, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
}
.detail-thumb-wrapper:hover .detail-thumb-overlay {
    opacity: 1;
}
.detail-thumb-wrapper:hover img {
    transform: scale(1.03);
}

/* On touch devices, completely hide the overlay */
@media (hover: none) {
    .detail-thumb-overlay {
        display: none !important;
    }
}

/* On mobile screens, hide overlay */
@media (max-width: 768px) {
    .detail-thumb-overlay {
        display: none !important;
    }
}

/* tag badges in info panel */
.template-info .tags .badge {
    background-color: #000;
    color: #fff;
    border: 1px solid #333;
    padding: var(--spacing-sm) var(--spacing-md);
}

/* price style in info panel */
.template-info .price-current {
    font-size: 2.5rem;
    line-height: 1;

}
.template-info .price-original {
    text-decoration: line-through;
    margin-left: var(--spacing-sm);
    color: var(--textColorHigh);
}

/* adjust preview image width inside left column */
#left-column .img-fluid {
    width: 100%;
    height: auto;
}


/* Sticky panel and independently scrolling preview are desktop-only. */
@media (min-width: 992px) {
    .template-info {
        position: sticky;
        top: 100px;
        z-index: 10;
        padding-left: 24px;
    }

    .product-row {
        background-color: var(--backgroundSurfaceHighest);
        color: var(--textColorHighest);
    }
}
/* chip/tag design */
.template-info .tags .badge {
    background-color: #111;
    color: #fff;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: var(--font-size-body-m);
    font-weight: 500;
    line-height: 1.35;
    border: 1px solid #333;
}

/* removed mobile override so sticky continues to function on all widths */

.product-hero {
    background-color: var(--backgroundSurfaceHighest);
    padding: 80px 0;
}
.product-hero .section-title {
    color: var(--textColorHighest);
}
.breadcrumb {
    background: transparent;
}

.features-list li {
    color: var(--textColorLow);
    margin-bottom: var(--spacing-sm);
}
.tags .badge {
    background-color: var(--brandPrimaryVariant3);
    border: 1px solid var(--borderColorBorderVeriant2);
    color: var(--textColorHighest);
}
.tag-chip {
    display: inline-flex;
    align-items: center;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.included-section {
    background-color: var(--backgroundSurfaceHigh);
    padding: 80px 0;
}
.compatibility-section .badge {
    background-color: var(--backgroundSurfaceHighest);
    color: var(--textColorHighest);
}
.curated-section {
    padding: 70px 0;
    background-color: var(--backgroundSurfaceHigh);
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 40px;
    }

    .section-title {
        font-size: 32px;
    }

    h1, .h1 {
        font-size: 40px;
    }

    h2, .h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding-top: 70px;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    h1, .h1 {
        font-size: 32px;
    }

    h2, .h2 {
        font-size: 28px;
    }

    .price-section {
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: none;
    }

    .btn-view-card {
        width: auto;
        max-width: none;
    }

    .footer-title {
        font-size: 28px;
    }

    .hero-decor-left, .hero-decor-right {
        display: none;
    }
    .hero-image img {
        width: 100%;
    }
}

@media (max-width: 576px) {
    :root {
        --font-size-h1: 32px;
        --font-size-h2: 24px;
        --font-size-h3: 20px;
        --font-size-body-l: 16px;
        --font-size-body-m: 14px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 30px !important;
    }

    .section-title {
        font-size: 24px;
    }

    .section-description {
        font-size: 16px;
    }

    .navbar {
        padding: var(--spacing-sm) 0;
    }

    .navbar-brand {
        font-size: var(--font-size-body-l);
    }

    .nav-link {
        font-size: var(--font-size-body-s);
    }

    .template-card {
        margin-bottom: var(--spacing-lg);
    }

    .card-body {
        padding: var(--spacing-sm);
    }

    .footer-title {
        font-size: 24px;
    }

    .footer-subtitle {
        font-size: 16px;
    }

    .btn-lg {
        font-size: var(--font-size-body-m);
        padding: var(--spacing-md) var(--spacing-lg);
        height: 48px;
    }
}

/* =============================================
   UTILITY CLASSES
   ============================================= */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.font-semibold {
    font-weight: var(--font-weight-semi-bold);
}

.font-bold {
    font-weight: var(--font-weight-bold);
}

.font-medium {
    font-weight: var(--font-weight-medium);
}

.gap-4 {
    gap: var(--spacing-xl);
}

.gap-3 {
    gap: var(--spacing-lg);
}

.gap-2 {
    gap: var(--spacing-md);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-text-high);
    border-radius: var(--border-radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-green);
}

/* =============================================
   RESPONSIVE: CONTACT PAGE
   ============================================= */

@media (max-width: 992px) {
    .contact-section {
        padding: 60px 0;
    }

    .contact-left {
        padding-right: 0;
        margin-bottom: var(--spacing-2xl);
    }

    .contact-title {
        font-size: var(--font-size-h2);
    }

    .contact-description {
        font-size: 18px;
    }

    .contact-form-wrapper {
        padding: var(--spacing-xl);
        max-width: 100%;
    }

    .np-mockup-container {
        top: 40px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: var(--spacing-2xl) 0;
        min-height: auto;
    }

    .contact-left {
        margin-bottom: var(--spacing-2xl);
        text-align: center;
    }

    .contact-title {
        font-size: var(--font-size-h3);
    }

    .contact-description {
        font-size: var(--font-size-body-s);
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-info-text {
        font-size: var(--font-size-body-s);
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-right {
        justify-content: center;
        width: 100%;
    }

    .contact-form-wrapper {
        padding: var(--spacing-lg);
        max-width: 100%;
        width: 100%;
    }

    .contact-form-input {
        padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 45px;
    }

    .input-icon {
          width:8px;
          height:8px;
    }

    .btn-contact-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: var(--spacing-xl) 0;
    }

    .contact-title {
        font-size: var(--font-size-h4);
        margin-bottom: var(--spacing-md);
    }

    .contact-description {
        font-size: var(--font-size-body-s);
        margin-bottom: var(--spacing-md);
    }

    .contact-illustration {
        margin-top: var(--spacing-lg);
    }

    .contact-form-wrapper {
        padding: var(--spacing-md);
        border-radius: var(--border-radius-md);
    }

    .contact-form-group {
        gap: var(--spacing-xs);
    }

    .contact-form-textarea {
        min-height: 100px;
        padding-left: var(--spacing-md) !important;
    }

    .contact-reply-notice {
        font-size: var(--font-size-body-s);
        text-align: left;
    }
}

/* =============================================
   PAGE: PURCHASES PAGE
   ============================================= */

/* --- Section: Purchases Container --- */
.purchases-container {
    background-color: var(--backgroundSurfaceHighest);
    padding: 78px 0 32px 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0px;
}

.purchases-page-container {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    max-width: 1302px;
    padding: 58px var(--spacing-lg);
}


/* --- Subsection: Main Content --- */
.purchases-main-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
    width: 100%;
}

/* --- Subsection: Tabs Container --- */
.purchases-tabs-container {
    width: 100%;
}

.purchases-tabs {
    display: flex;
    gap: 4px;
    align-items: center;
    background-color: var(--backgroundSurfaceHigh);
    padding: 0;
    border-radius: 24px;
    width: fit-content;
}

.purchase-tab {
    padding: 4px 16px;
    border-radius: 16px;
    background-color: var(--backgroundSurfaceHigh);
    border: none;
    color: var(--textColorHigh);
    font-family: var(--font-family-main);
    font-size: var(--font-size-body-l);
    font-weight: var(--font-weight-medium);
    line-height: 30px;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-smooth);
    white-space: nowrap;
}

.purchase-tab:hover {
    text-decoration: none;
}

.purchase-tab.active {
    background-color: var(--brandSecondary);
    color: var(--brandPrimary);
}

.purchase-tab:hover:not(.active) {
    color: var(--textColorHighest);
}

/* --- Tab Content Helpers --- */
.settings-content {
    display: flex;
    flex-direction: column;
    gap: 0px;
    width: 100%;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.account-card {
    background-color: var(--backgroundSurfaceHigh);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;

}

.account-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.account-label {
    margin: 0;
    color: var(--textColorHigh);
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.account-name {
    margin: 0;
    font-size: 18px;
    font-weight: var(--font-weight-semi-bold);
    color: var(--textColorHighest);
}

.account-email, .account-meta {
    margin: 0;
    font-size: 14px;
    color: var(--textColorHigh);
}

.account-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 10px;
}

.account-note {
    background-color: #1c1c1f;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 14px 16px;
    color: var(--textColorHigh);
    font-size: 14px;
}

.account-note a {
    color: var(--brandSecondary);
    text-decoration: underline;
}

.account-form-card {
    background: linear-gradient(180deg, #0e0e10 0%, #111114 100%);
    border: 1px solid #292931;
    border-radius: 16px;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-lg) ;
}

.account-form-section {
    margin: 0;
    color: var(--textColorHigh);
    font-size: var(--font-size-body-l);
    font-weight: var(--font-weight-medium);
    letter-spacing: -0.2px;
}

.account-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-md);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-field.full-width {
    grid-column: span 2;
}

.form-label, .form-label-light {
    font-size: var(--font-size-body-m);
    font-weight: var(--font-weight-medium);
    letter-spacing: auto;
    color:var(--textColorLowest);
    margin: 0;
}

.form-label-light{
    color:var(--textColorHighest)
}

.form-input-wrapper {
    background-color: transparent;
    border: 1px solid var(--borderColorBorderVeriant2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
}

.form-icon img {
    color: var(--iconColorLow);
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.form-input {
    border: none;
    background: transparent !important;
    color: var(--textColorHigh);
    outline: none;
    width: 100%;
    font-size: var(--font-size-body-m);
    font-weight: 500;
}

.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--textColorHigh) !important;
    -webkit-box-shadow: 0 0 0px 1000px var(--backgroundSurfaceHigh) inset !important;
    box-shadow: 0 0 0px 1000px var(--backgroundSurfaceHigh) inset !important;
    caret-color: var(--textColorHigh);
}

.btn-row{
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
}


/*.delete-account-btn {
    border: 1px solid var(--statusErrorError);
    color: #ff4d4f;
}

.delete-account-btn:hover{
    color: var(--statusErrorOnError);
    border: 1px solid var(--statusErrorOnError);
} */

/* --- Subsection: Purchases Header --- */
.purchases-header-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.purchases-title {
    font-family: var(--font-family-main);
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-medium);
    color: var(--textColorHighest);
    line-height: 1;
    margin-bottom: 0;
    white-space: nowrap;
}

.purchases-subtitle {
    font-family: var(--font-family-main);
    font-size: var(--font-size-body-l);
    font-weight: var(--font-weight-medium);
    color: var(--textColorHigh);
    line-height: 1.4;
    margin-bottom: var(--spacing-2xl);
}

.purchases-subtitle .text-white {
    color: var(--textColorHighest);
}

/* --- Subsection: Purchases List Container --- */
.purchases-list-container {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
}

.order-item {
    background-color: var(--backgroundSurfaceHigh);
    border: 1px solid rgba(45, 45, 47, 1);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all var(--transition-smooth);
}

/*.order-item:hover {
    border-color: var(--brandSecondary);
}*/

.order-image-wrapper {
    flex-shrink: 0;
    width: 130px;
    height: 130px;
    border-radius: 6px;
    overflow: hidden;
}

.order-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.order-details-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    padding-top: 10px;

}

.order-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.order-title {
    font-family: var(--font-family-main);
    font-size: var(--font-size-body-xl);
    font-weight: var(--font-weight-medium);
    color: var(--textColorHighest);
    line-height: 1;
    margin-bottom: 4px;
    white-space: normal;
}

.order-date {
    font-family: var(--font-family-main);
    font-size: var(--font-size-body-s);
    font-weight: var(--font-weight-medium);
    color: var(--textColorHigh);
    line-height: 19px;
    margin-bottom: 4px;
}

.order-price {
    font-family: var(--font-family-main);
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-medium);
    color: var(--brandPrimary);
    line-height: 1;
    white-space: nowrap;
    text-align: right;
}

.order-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.action-group {
    display: flex;
    gap: 16px;
    align-items: center;
}


.icon-small {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}



/* Add color variable for text in order title */
:root {
    --textColorDefault: #e0e0e1;
}

/* =============================================
   RESPONSIVE: PURCHASES PAGE
   ============================================= */

@media (max-width: 992px) {
    .purchases-page-container {
        max-width: 100%;
        padding: 0 var(--spacing-lg);
    }

    .order-item {
        flex-direction: column;
    }

    .order-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-price {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .purchases-container {
        padding: 60px 30px 60px 30px;
    }

    .purchases-page-container {
        gap: 40px;
        padding: 0 var(--spacing-md);
    }

    .purchases-title {
        font-size: var(--font-size-h4);
    }

    .purchases-subtitle {
        font-size: var(--font-size-body-l);
    }

    .order-item {
        padding: 16px;
        gap: 12px;
    }

    .order-image-wrapper {
        width: 100px;
        height: 100px;
    }

    .order-title {
        font-size: var(--font-size-body-l);
    }

    .order-date {
        font-size: var(--font-size-body-s);
    }

    .order-actions {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 25px !important;
        width: 100% !important;
    }

    .action-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-outline-secondary,
    .link-action,
    .btn-release-notes {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .purchases-container {
        padding: 50px 30px 50px 30px;
    }

    .purchases-page-container {
        gap: 30px;
        padding: 50px 0px 20px 0px;
    }

    .breadcrumbs-wrapper {
        gap: 4px;
    }

    .breadcrumb-text {
        font-size: var(--font-size-body-l);
    }

    .breadcrumb-icon {
        width: 20px;
        height: 20px;
    }
}

/* =============================================
   VIEW ALL POPUP MODALS
   ============================================= */


.popup-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.popup-card {
    width: min(560px, 100%);
    background-color: var(--backgroundSurfaceHigh);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    padding: var(--spacing-xl);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: var(--spacing-lg);
}

.popup-tag {
    margin: 0;
    font-size: 0.7rem;
    color: #8f8f92;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.popup-title {
   font-size: var(--font-size-h4);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-tight);
  letter-spacing: -0.2px;
  text-align: center;
}

.popup-text {
    margin: 0.4rem 0 1rem;
    color: #d3d3d6;
    font-size: 0.95rem;
    line-height: 1.5;
}

.popup-close {
    border: none;
    border-radius: 10px;
    width: 30px;
    height: 30px;
    background: #1f1f22;
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
}

.popup-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0.25rem 0 0.9rem;
}

.popup-tag-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.popup-actions {
    display: flex;
    gap: 0.65rem;
    margin-top: 0.5rem;
    justify-content: center;
}

.popup-actions .btn {
    font-size: 0.9rem;
    border-radius: 10px;
    padding: 10px 14px;
    
}

.popup-button-wrapper {
  position: relative;
  display: inline-block;
  margin: 0px auto 0;
}

.popup-back-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    margin-right: auto;
    margin-top: 5px;
    cursor: pointer;
}

.popup-close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 10px;
}

/* white button (front) */
.auth-popup .popup-button-wrapper .btn-primary {
  position: relative;
  z-index: 2;
}

/* green button (back) */
.auth-popup .popup-button-wrapper .btn-instance {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
}


.popup-actions .btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.15);
    color: #f5f5f5;
}

.otp-wrapper {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.otp-input {
  width: 48px;
  height: 48px;
  text-align: center;
  font-size: 18px;
  padding: 0;
}

@media (max-width: 768px) {
    .popup-card {
        width: 100%;
        max-width: 560px;
    }

    .purchase-tab {
        font-size: var(--font-size-body-l);
        padding: 4px 12px;
    }

    .purchases-title {
        font-size: var(--font-size-h4);
    }

    .purchases-subtitle {
        font-size: var(--font-size-body-l);
    }

    .order-item {
        padding: 24px;
        gap: 24px;
    
    }

    .order-image-wrapper {
        width: 100px;
        height: 110px;
    }

    .order-title {
        font-size: var(--font-size-body-l);
    }

    .order-date {
        font-size: var(--font-size-body-s);
    }

    .order-price {
        font-size: var(--font-size-body-l);
    }

    .action-group {
        gap: 8px;
    }

    .btn-outline-secondary {
        padding: 8px 16px;
        font-size: var(--font-size-body-m);
    }

    .link-action {
        font-size: var(--font-size-body-m);
    }

    .btn-release-notes {
        padding: 12px;
        font-size: var(--font-size-body-s);
    }

    .icon-small {
        width: 16px;
        height: 16px;
    }
}

/* ── Account Settings extras ─────────────────────────────────── */
.form-input--readonly {
    cursor: not-allowed;
    opacity: 0.5;
    user-select: none;
    pointer-events: none;
}

.form-error-text {
    color: var(--statusErrorError, #dc3545);
    font-size: 13px;
    margin-top: 4px;
}

/* Danger zone card */
.account-danger-card {
    margin-top: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--backgroundSurfaceHigh);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.account-danger-title {
    color: #e74c3c;
}

.account-danger-desc {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 16px;
}

.btn-danger-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 8px !important;
    border: 1.5px solid #c0392b !important;
    background: transparent !important;
    color: #c0392b !important;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    width: auto;
    align-self: flex-start;
}

.btn-danger-outline:hover {
    background: #c0392b !important;
    color: #fff !important;
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 8px !important;
    border: 1.5px solid #c0392b !important;
    background: #c0392b !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
    width: auto;
}

.btn-danger:hover:not(:disabled) {
    background: #a93226 !important;
    border-color: #a93226 !important;
}

.btn-danger:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.deactivate-modal__btn-cancel {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    border-radius: 8px;
    border: 1.5px solid #333;
    background: transparent;
    color: #aaa;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.deactivate-modal__btn-cancel:hover:not(:disabled) {
    background: #2a2a2a;
    border-color: #444;
    color: #fff;
}

.deactivate-modal__btn-cancel:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Deactivate confirmation modal */
.deactivate-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
    backdrop-filter: blur(4px);
}

.deactivate-modal {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 40px 36px 32px;
    max-width: 460px;
    width: 100%;
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #2a2a2a;
}

.deactivate-modal__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(192, 57, 43, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e74c3c;
    margin-bottom: 20px;
}

.deactivate-modal__icon--otp {
    background: rgba(59, 91, 219, 0.15);
    color: #6c8ef7;
}

.deactivate-modal__title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.deactivate-modal__body {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 8px;
    line-height: 1.6;
}

.deactivate-modal__body strong {
    color: #ddd;
}

.deactivate-modal__error {
    font-size: 13px;
    color: #e74c3c;
    margin-top: 8px;
    margin-bottom: 0;
}

.deactivate-modal__otp-input {
    width: 100%;
    max-width: 200px;
    margin: 16px auto 4px;
    padding: 12px;
    font-size: 24px;
    letter-spacing: 8px;
    text-align: center;
    border: 2px solid #333;
    border-radius: 10px;
    outline: none;
    background: #111;
    color: #fff;
    transition: border-color 0.15s;
}

.deactivate-modal__otp-input:focus {
    border-color: #6c8ef7;
}

.deactivate-modal__otp-input::placeholder {
    color: #444;
}

.deactivate-modal__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* =============================================
   ADMIN TABLE STYLES - Responsive Layout
   ============================================= */

.admin-table-wrap {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.table-custom {
    width: 100%;
    min-width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    background-color: transparent;
}

.table-custom thead {
    background-color: transparent;
    position: sticky;
    top: 0;
    z-index: 10;
}

.table-custom thead th,
.table-custom tbody td {
    padding: 12px 8px;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.table-custom thead th {
    font-weight: 600;
    border-bottom: 1px solid var(--borderColorBorder);
    white-space: nowrap;
    vertical-align: middle;
}

.table-custom tbody tr {
    border-bottom: 1px solid var(--borderColorBorder);
    transition: background-color 200ms ease;
}

.table-custom tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.table-custom tbody td {
    font-size: 14px;
    vertical-align: middle;
}

/* Text truncation for long content */
.table-custom td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Allow specific columns to wrap text */
.table-custom td.wrap-text {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Text alignment utilities */
.table-custom td.text-center {
    text-align: center;
}

.table-custom td.text-end,
.table-custom th.text-end {
    text-align: right;
    padding-right: 12px;
}

.table-custom td.text-low {
    color: var(--textColorLow);
}

/* Column sizing - CMS Pages (7 columns) */
.table-custom:has(th:nth-child(7)) th:nth-child(1),
.table-custom:has(th:nth-child(7)) td:nth-child(1) {
    width: 25%;
    min-width: 150px;
}

.table-custom:has(th:nth-child(7)) th:nth-child(2),
.table-custom:has(th:nth-child(7)) td:nth-child(2) {
    width: 20%;
    min-width: 120px;
}

.table-custom:has(th:nth-child(7)) th:nth-child(3),
.table-custom:has(th:nth-child(7)) td:nth-child(3) {
    width: 10%;
    min-width: 80px;
}

.table-custom:has(th:nth-child(7)) th:nth-child(4),
.table-custom:has(th:nth-child(7)) td:nth-child(4) {
    width: 10%;
    min-width: 80px;
}

.table-custom:has(th:nth-child(7)) th:nth-child(5),
.table-custom:has(th:nth-child(7)) td:nth-child(5) {
    width: 15%;
    min-width: 100px;
}

.table-custom:has(th:nth-child(7)) th:nth-child(6),
.table-custom:has(th:nth-child(7)) td:nth-child(6) {
    width: 12%;
    min-width: 100px;
}

.table-custom:has(th:nth-child(7)) th:nth-child(7),
.table-custom:has(th:nth-child(7)) td:nth-child(7) {
    width: 8%;
    min-width: 60px;
    text-align: right;
}

/* Column sizing - 8 column tables (Orders, Customers Detail) */
.table-custom:has(th:nth-child(8)) th:nth-child(1),
.table-custom:has(th:nth-child(8)) td:nth-child(1) {
    width: 15%;
    min-width: 100px;
}

.table-custom:has(th:nth-child(8)) th:nth-child(2),
.table-custom:has(th:nth-child(8)) td:nth-child(2) {
    width: 15%;
    min-width: 100px;
}

.table-custom:has(th:nth-child(8)) th:nth-child(n+3):nth-child(-n+6),
.table-custom:has(th:nth-child(8)) td:nth-child(n+3):nth-child(-n+6) {
    width: 12%;
    min-width: 90px;
}

.table-custom:has(th:nth-child(8)) th:nth-child(7),
.table-custom:has(th:nth-child(8)) td:nth-child(7) {
    width: 15%;
    min-width: 100px;
}

.table-custom:has(th:nth-child(8)) th:nth-child(8),
.table-custom:has(th:nth-child(8)) td:nth-child(8) {
    width: 8%;
    min-width: 60px;
    text-align: right;
}

/* Column sizing - CMS table (7 columns: Title, Slug, Type, Status, Last Updated By, Updated, Actions) */
.admin-table-wrap .table-custom:has(th:nth-child(7)) th:nth-child(1),
.admin-table-wrap .table-custom:has(th:nth-child(7)) td:nth-child(1) {
    width: 24%;
    min-width: 140px;
}

.admin-table-wrap .table-custom:has(th:nth-child(7)) th:nth-child(2),
.admin-table-wrap .table-custom:has(th:nth-child(7)) td:nth-child(2) {
    width: 16%;
    min-width: 110px;
}

.admin-table-wrap .table-custom:has(th:nth-child(7)) th:nth-child(3),
.admin-table-wrap .table-custom:has(th:nth-child(7)) td:nth-child(3) {
    width: 12%;
    min-width: 85px;
}

.admin-table-wrap .table-custom:has(th:nth-child(7)) th:nth-child(4),
.admin-table-wrap .table-custom:has(th:nth-child(7)) td:nth-child(4) {
    width: 12%;
    min-width: 85px;
}

.admin-table-wrap .table-custom:has(th:nth-child(7)) th:nth-child(5),
.admin-table-wrap .table-custom:has(th:nth-child(7)) td:nth-child(5) {
    width: 12%;
    min-width: 100px;
}

.admin-table-wrap .table-custom:has(th:nth-child(7)) th:nth-child(6),
.admin-table-wrap .table-custom:has(th:nth-child(7)) td:nth-child(6) {
    width: 14%;
    min-width: 110px;
}

.admin-table-wrap .table-custom:has(th:nth-child(7)) th:nth-child(7),
.admin-table-wrap .table-custom:has(th:nth-child(7)) td:nth-child(7) {
    width: 10%;
    min-width: 75px;
    text-align: right;
}

/* Column sizing - Templates table (8 columns: Template, Industry, Category, Tags, Price, Status, Created, Actions) */
.tmpl-table-wrap .table-custom th:nth-child(1),
.tmpl-table-wrap .table-custom td:nth-child(1) {
    width: 24%;
    min-width: 180px;
}

.tmpl-table-wrap .table-custom th:nth-child(2),
.tmpl-table-wrap .table-custom td:nth-child(2) {
    width: 13%;
    min-width: 100px;
}

.tmpl-table-wrap .table-custom th:nth-child(3),
.tmpl-table-wrap .table-custom td:nth-child(3) {
    width: 13%;
    min-width: 100px;
}

.tmpl-table-wrap .table-custom th:nth-child(4),
.tmpl-table-wrap .table-custom td:nth-child(4) {
    width: 15%;
    min-width: 110px;
}

.tmpl-table-wrap .table-custom th:nth-child(5),
.tmpl-table-wrap .table-custom td:nth-child(5) {
    width: 12%;
    min-width: 90px;
}

.tmpl-table-wrap .table-custom th:nth-child(6),
.tmpl-table-wrap .table-custom td:nth-child(6) {
    width: 10%;
    min-width: 80px;
}

.tmpl-table-wrap .table-custom th:nth-child(7),
.tmpl-table-wrap .table-custom td:nth-child(7) {
    width: 10%;
    min-width: 90px;
}

.tmpl-table-wrap .table-custom th:nth-child(8),
.tmpl-table-wrap .table-custom td:nth-child(8) {
    width: 3%;
    min-width: 50px;
    text-align: right;
}

/* Column sizing - Users & Roles tables (5 columns: Name/Role, Email/Users, Permissions, Role/Created By, Actions) */
.admin-table-wrap .table-custom:has(th:nth-child(5)) th:nth-child(1),
.admin-table-wrap .table-custom:has(th:nth-child(5)) td:nth-child(1) {
    width: 20%;
    min-width: 120px;
}

.admin-table-wrap .table-custom:has(th:nth-child(5)) th:nth-child(2),
.admin-table-wrap .table-custom:has(th:nth-child(5)) td:nth-child(2) {
    width: 30%;
    min-width: 150px;
}

.admin-table-wrap .table-custom:has(th:nth-child(5)) th:nth-child(3),
.admin-table-wrap .table-custom:has(th:nth-child(5)) td:nth-child(3) {
    width: 20%;
    min-width: 110px;
}

.admin-table-wrap .table-custom:has(th:nth-child(5)) th:nth-child(4),
.admin-table-wrap .table-custom:has(th:nth-child(5)) td:nth-child(4) {
    width: 20%;
    min-width: 110px;
}

.admin-table-wrap .table-custom:has(th:nth-child(5)) th:nth-child(5),
.admin-table-wrap .table-custom:has(th:nth-child(5)) td:nth-child(5) {
    width: 10%;
    min-width: 60px;
    text-align: right;
}

/* Column sizing - Orders table (9 columns: Order ID, Customer, Template, Amount, Status, Payment Date, Order Date, File, Actions) */
.admin-table-wrap .table-custom:has(th:nth-child(9)) th:nth-child(1),
.admin-table-wrap .table-custom:has(th:nth-child(9)) td:nth-child(1) {
    width: 10%;
    min-width: 80px;
}

.admin-table-wrap .table-custom:has(th:nth-child(9)) th:nth-child(2),
.admin-table-wrap .table-custom:has(th:nth-child(9)) td:nth-child(2) {
    width: 20%;
    min-width: 130px;
}

.admin-table-wrap .table-custom:has(th:nth-child(9)) th:nth-child(3),
.admin-table-wrap .table-custom:has(th:nth-child(9)) td:nth-child(3) {
    width: 20%;
    min-width: 130px;
}

.admin-table-wrap .table-custom:has(th:nth-child(9)) th:nth-child(4),
.admin-table-wrap .table-custom:has(th:nth-child(9)) td:nth-child(4) {
    width: 12%;
    min-width: 90px;
}

.admin-table-wrap .table-custom:has(th:nth-child(9)) th:nth-child(5),
.admin-table-wrap .table-custom:has(th:nth-child(9)) td:nth-child(5) {
    width: 10%;
    min-width: 80px;
}

.admin-table-wrap .table-custom:has(th:nth-child(9)) th:nth-child(6),
.admin-table-wrap .table-custom:has(th:nth-child(9)) td:nth-child(6) {
    width: 12%;
    min-width: 110px;
}

.admin-table-wrap .table-custom:has(th:nth-child(9)) th:nth-child(7),
.admin-table-wrap .table-custom:has(th:nth-child(9)) td:nth-child(7) {
    width: 12%;
    min-width: 110px;
}

.admin-table-wrap .table-custom:has(th:nth-child(9)) th:nth-child(8),
.admin-table-wrap .table-custom:has(th:nth-child(9)) td:nth-child(8) {
    width: 2%;
    min-width: 50px;
}

.admin-table-wrap .table-custom:has(th:nth-child(9)) th:nth-child(9),
.admin-table-wrap .table-custom:has(th:nth-child(9)) td:nth-child(9) {
    width: 2%;
    min-width: 50px;
    text-align: right;
}

/* Column sizing - Customers table (8 columns: ID, Name, Email, Phone, Registration Date, Purchases, Total Spent, Status) */
.admin-table-wrap .table-custom:has(th:nth-child(8)) th:nth-child(1),
.admin-table-wrap .table-custom:has(th:nth-child(8)) td:nth-child(1) {
    width: 10%;
    min-width: 80px;
}

.admin-table-wrap .table-custom:has(th:nth-child(8)) th:nth-child(2),
.admin-table-wrap .table-custom:has(th:nth-child(8)) td:nth-child(2) {
    width: 20%;
    min-width: 120px;
}

.admin-table-wrap .table-custom:has(th:nth-child(8)) th:nth-child(3),
.admin-table-wrap .table-custom:has(th:nth-child(8)) td:nth-child(3) {
    width: 25%;
    min-width: 150px;
}

.admin-table-wrap .table-custom:has(th:nth-child(8)) th:nth-child(4),
.admin-table-wrap .table-custom:has(th:nth-child(8)) td:nth-child(4) {
    width: 12%;
    min-width: 100px;
}

.admin-table-wrap .table-custom:has(th:nth-child(8)) th:nth-child(5),
.admin-table-wrap .table-custom:has(th:nth-child(8)) td:nth-child(5) {
    width: 12%;
    min-width: 110px;
}

.admin-table-wrap .table-custom:has(th:nth-child(8)) th:nth-child(6),
.admin-table-wrap .table-custom:has(th:nth-child(8)) td:nth-child(6) {
    width: 8%;
    min-width: 70px;
}

.admin-table-wrap .table-custom:has(th:nth-child(8)) th:nth-child(7),
.admin-table-wrap .table-custom:has(th:nth-child(8)) td:nth-child(7) {
    width: 10%;
    min-width: 90px;
}

.admin-table-wrap .table-custom:has(th:nth-child(8)) th:nth-child(8),
.admin-table-wrap .table-custom:has(th:nth-child(8)) td:nth-child(8) {
    width: 3%;
    min-width: 50px;
    text-align: right;
}

/* Column sizing - Configuration table (3 columns: Name, Templates, Actions) */
.content-card .table-custom:has(th:nth-child(3)) th:nth-child(1),
.content-card .table-custom:has(th:nth-child(3)) td:nth-child(1) {
    width: 70%;
    min-width: 200px;
}

.content-card .table-custom:has(th:nth-child(3)) th:nth-child(2),
.content-card .table-custom:has(th:nth-child(3)) td:nth-child(2) {
    width: 15%;
    min-width: 80px;
    text-align: center;
}

.content-card .table-custom:has(th:nth-child(3)) th:nth-child(3),
.content-card .table-custom:has(th:nth-child(3)) td:nth-child(3) {
    width: 15%;
    min-width: 60px;
    text-align: right;
}

/* Content card adjustments */
.content-card {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Mobile responsive adjustments */
@media (max-width: 1200px) {
    .table-custom thead th,
    .table-custom tbody td {
        padding: 10px 6px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .table-custom {
        font-size: 12px;
    }

    .table-custom thead th,
    .table-custom tbody td {
        padding: 8px 4px;
    }

    .admin-table-wrap {
        overflow-x: auto;
    }
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.max-w-600 {
    max-width: 600px;
}

.max-w-800 {
    max-width: 800px;
}

.max-w-1000 {
    max-width: 1000px;
}

/* =============================================
   NEW PAGE REDESIGN STYLES
   ============================================= */

/* Layout container for achievement metrics cards */
.np-metrics-container {
    padding-top: 24px;
    padding-bottom: 24px;
}

.np-metrics-container .row {
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
}

/* Metric card container with subtle borders and border glow hover effect */
.np-metric-card {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px 24px;
    height: 100%;
    transition: all var(--transition-smooth);
}

.np-metric-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.02);
}

/* Metric numbers text styles */
.np-metric-num {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.metric-plus-icon {
    display: inline-flex;
    align-items: center;
    width: 36px;
    height: 36px;
    margin-left: 4px;
}

.metric-plus-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Accent colored suffix character inside metric numbers */
.np-metric-num span {
    color: var(--brandTertiary);
}

/* Uppercase bold labels for metrics description */
.np-metric-label {
    font-size: 18px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    color: var(--textColorLowest) !important;
    margin-top: 12px !important;
    margin-bottom: 8px !important;
}

/* Paragraph text styling inside metric cards */
.np-metric-desc {
    font-size: 16px;
    color: var(--textColorLow);
}

.section-sub-title {
    font-size: 20px;
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-tight);
    letter-spacing: -0.2px;
    margin-bottom: var(--spacing-2xl);
}

.section-title-bold {
    font-weight: var(--font-weight-bold) !important;
}

/* Override metrics colors when on white background */
.np-metrics-container .np-metric-num {
    color: #121212 !important;
    font-size: 40px !important;
    font-weight: 600 !important;
}

.np-metrics-container .np-metric-num span {
    color: var(--brandTertiary) !important;
}

.np-metrics-container .np-metric-label {
    color: #121212 !important;
}

.np-metrics-container .np-metric-desc {
    color: var(--textColorLow) !important;
}

/* Offsetting metrics container to overlay the hero mockup block with white background */
.np-metrics-container {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: none !important;
    position: relative !important;
    z-index: 1 !important;
    margin-top: 0 !important;
    border-radius: 0 !important;
    padding-top: 300px !important;
}

/* Templates Carousel Section */
.newpage-body-section {
    padding: 78px 0;
}

.newpage-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.np-templates-section {
    background-color: var(--backgroundBackground);
    padding: 89px 0;
}

.np-templates-header {
    margin-bottom: 70px;
    padding: 0px 50px 0px 50px;
}

.np-templates-title {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-medium);
    color: #ffffff;
    line-height: var(--line-height-tight);
}

.np-templates-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: var(--textColorHigh);
}

.np-view-all-link {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color var(--transition-fast);
}

.np-view-all-link:hover {
    color: var(--brandTertiary);
}

.np-slider-outer-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
    --slide-width: 767px;
    --slide-gap: 32px;
    --center-shift: 0px;
    --image-container-max-height: 380px;
    --card-padding: 45px;
    --card-chrome-height: 140px;
    --image-container-side-margin: 0px;
}

.np-templates-slider {
    position: relative;
    width: 100%;
    height: calc((((var(--slide-width) - (2 * var(--card-padding)) - (2 * var(--image-container-side-margin))) / (16 / 9)) + var(--card-chrome-height) + (2 * var(--card-padding))) / 0.95);
    margin: 0 auto;
    overflow: visible !important;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
}

.np-templates-slider:active {
    cursor: grabbing;
}

.np-templates-slider.dragging .np-template-slide {
    transition: none !important;
}

.np-template-slide {
    position: absolute;
    width: var(--slide-width);
    height: 100%;
    left: 50%;
    top: 50%;
    transform: translate(calc(-50% + var(--slide-diff, 0) * (var(--slide-width) + var(--slide-gap)) - var(--center-shift)), -50%);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
    will-change: transform, opacity;
}

.np-template-slide.active {
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
}

.np-template-slide.prev {
    opacity: 0.4;
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
}

.np-template-slide.next {
    opacity: 0.4;
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
}

.np-template-slide.far-prev {
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.np-template-slide.far-next {
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.np-showcase-card {
    background: radial-gradient(circle at center, var(--glow-card-color, rgba(255, 255, 255, 0.03)) 0%, #0a0a0a 75%);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 32px;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 95%;
    cursor: pointer;
    box-sizing: border-box;
}

/*.np-showcase-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px var(--glow-color, rgba(49, 176, 130, 0.2));
}*/

/* Themed card backgrounds and tags matching each slide's template identity */
.np-template-slide:nth-child(1) .np-showcase-card {
    --glow-card-color: rgba(242, 79, 30, 0.293);
}

.np-template-slide:nth-child(2) .np-showcase-card {
    --glow-card-color: rgba(33, 118, 255, 0.362);
}

.np-template-slide:nth-child(3) .np-showcase-card {
    --glow-card-color: rgba(234, 0, 255, 0.247);
}

.np-template-slide:nth-child(4) .np-showcase-card {
    --glow-card-color: rgba(255, 193, 7, 0.195);
}

.np-template-slide:nth-child(5) .np-showcase-card {
    --glow-card-color: rgba(255, 242, 1, 0.293);
}

.np-card-header {
    margin-bottom: 12px;
}

.np-card-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.np-card-price .price-current {
    font-size: 24px;
    font-weight: 700;
    color: var(--brandTertiary);
}

.np-card-price .price-original {
    font-size: 16px;
    font-weight: 400;
    text-decoration: line-through;
    color: var(--textColorHigh) !important;
}

.np-card-tag {
    font-size: 13px;
    font-weight: 500;
    color: var(--textColorHighest);
    border: 1px solid rgba(255, 255, 255, 0.192);
    background-color: var(--backgroundSurfaceHighest);
    padding: 6px 16px;
    border-radius: 100px;
    transition: all var(--transition-smooth);
}

.np-card-image-container {
    position: relative;
    width: calc(100% - (2 * var(--image-container-side-margin, 0px)));
    aspect-ratio: 16 / 9;
    flex: 0 1 auto;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    margin: 0 var(--image-container-side-margin, 0px) 24px;
}

.np-card-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: 75%;
    background: var(--glow-color);
    filter: blur(55px);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
}

.np-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.np-card-footer {
    border-top: none;
    min-height: 24px;
}

.np-slider-dots-container {
    margin-top: 40px;
    padding: 0;
}

.np-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0;
    transition: width var(--transition-smooth), border-radius var(--transition-smooth), background-color var(--transition-smooth);
}

.np-slider-dot.active {
    width: 24px;
    border-radius: 4px;
    background-color: #b1b1b1;
}

.np-slider-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Features Section */
.np-features-section {
    background-color: #ffffff !important;
    color: #121212 !important;
    padding: 89px 100px 89px 100px;
}

.np-features-section .section-title {
    color: #121212 !important;
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-medium);
    text-align: center;
    line-height: var(--line-height-tight);
}

.np-feature-row {
    margin-bottom: 80px;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.np-feature-row:last-child {
    margin-bottom: 0;
}

.np-feature-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
}

.np-feature-tag.tag-grey {
    color: #949494 !important;
}

.np-feature-title {
    font-size: 36px;
    font-weight: 600;
    color: #121212 !important;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.np-feature-highlight {
    display: block;
    font-style: italic;
    font-weight: 700;
}

.np-feature-highlight-1 {
    color: var(--brandTertiary) !important;
}

.np-feature-highlight-2 {
    color: var(--brandSecondaryVarient) !important;
}

.np-feature-desc {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #646468 !important;
    margin-bottom: 0;
}

.np-video-placeholder {
    width: 100%;
    aspect-ratio: 750 / 530;
    border-radius: 32px !important;
    overflow: hidden;
    background: transparent !important;
}

.np-video-placeholder video,
.np-video-placeholder iframe,
.np-video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    display: block;
    border-radius: 32px !important;
}

/* Personas Section */
.np-persona-card {
    border: 1px solid #ffffff17 !important;
    border-radius: 28px !important;
    padding: 20px 20px !important;
    width: 400px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.np-persona-image {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    overflow: hidden;
}

.np-persona-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.np-persona-card-label {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.5;
}

/* Why Love Section */
.np-why-love-section {
    background-color: #f7f7f7 !important;
    /* Off-white background */
    padding: 100px 0 0px 0;
    color: #121212 !important;
}

/*.np-why-love-container {
    width: 100% !important;
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 50px !important;
    padding-right: 50px !important;
}*/

.np-why-love-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 50px;
    /* Increased from 50px for more vertical spacing */
}

.np-why-slider-wrapper {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    overflow: hidden;
    padding: 0 !important;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
    box-sizing: border-box;
}

.np-why-slider-wrapper:active {
    cursor: grabbing;
}

.np-why-slider-track {
    display: flex !important;
    width: 100%;
    will-change: transform;
    transition: none;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    box-sizing: border-box;
}

.np-why-slider-track.smooth-transition {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.np-why-slide {
    flex-shrink: 0 !important;
    width: 1600px !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
}

.np-why-slide-card {
    position: relative;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    max-width: 470px;
    aspect-ratio: 932 / 266;
    margin-bottom: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: left;
    box-sizing: border-box;
    padding: 10px 40px 30px 40px;
    /* Symmetric padding to keep text centered inside the bubble */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
    /* Constrain positioning to align with content container */
    margin-left: calc((100vw - 1440px) / 2 + 50px) !important;
}

.np-why-slide.active .np-why-slide-card {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0.15s;
}

.np-why-slide:nth-child(4n + 1) .np-why-slide-card,
.np-why-slide:nth-child(4n + 3) .np-why-slide-card {
    background-image: url('../assets/ourtemplates-info-card-green.png');
}

.np-why-slide:nth-child(4n + 2) .np-why-slide-card,
.np-why-slide:nth-child(4n + 4) .np-why-slide-card {
    background-image: url('../assets/ourtemplates-info-card-blue.png');
}

.np-why-slide-card p {
    font-size: 20px;
    line-height: 1.45;
    color: #121212;
    margin: 0;
    text-align: left;
}

.np-why-slide-card strong {
    font-weight: 700;
}

.np-why-slide-crop {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
    position: relative;
    z-index: 1;
}

.np-why-lottie-container {
    width: 100%;
    height: 100%;
}

.np-why-slider-dots-container {
    margin-top: 30px;
}

.np-why-slider-dot {
    display: none !important;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(18, 18, 18, 0.2);
    border: none;
    padding: 0;
    transition: width 0.3s ease, border-radius 0.3s ease, background-color 0.3s ease;
}

.np-why-slider-dot.active {
    width: 24px;
    border-radius: 4px;
    background-color: var(--brandTertiary);
}

/* Hero Section Enhanced */
/* Hero Shadow Button styling (positioned underneath) */
.np-hero-btn-shadow {
    background-color: var(--brandTertiary) !important;
    color: var(--brandPrimaryVariant3) !important;
    border: 2px solid var(--brandPrimaryVariant3) !important;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

/* Hero Primary Button styling (positioned on top with white background) */
.np-hero-btn-front {
    background-color: var(--brandPrimary) !important;
    color: var(--brandPrimaryVariant3) !important;
    border: 2px solid var(--brandPrimaryVariant3) !important;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
}

.np-hero-btn-front:disabled,
.np-hero-btn-front:disabled:hover {
    background-color: #4b4b4b !important;
    border-color: #4b4b4b !important;
    color: #9a9a9a !important;
    cursor: not-allowed !important;
    animation: none !important;
    opacity: 1 !important;
    pointer-events: none !important;
}

.np-hero-btn-front:focus {
    background-color: var(--brandPrimary) !important;
    color: var(--brandPrimaryVariant3) !important;
    border: 2px solid var(--brandPrimaryVariant3) !important;
    box-shadow: none !important;
}

/* Ensure the search and CTA row displays on top of other overlapping elements (such as the video gradient/mockup container) */
.np-controls-row {
    position: relative;
    z-index: 15 !important;
}

/* Translucent search wrapper with rounded pill border and inline-flex alignment */
.np-search-wrapper {
    background-color: #11241d;
    border: 1px solid rgba(255, 255, 255, 0.027);
    border-radius: 64px;
    height: 58px;
    padding: 0 24px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 420px;
    width: 100%;
    transition: background-color var(--transition-smooth), border-color var(--transition-smooth);
}

.np-search-wrapper:focus-within {
    background-color: #11241dc5 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Transparent search text input field */
.np-search-wrapper input {
    background: transparent;
    border: none;
    color: var(--textColorDefault);
    font-size: 16px;
    font-weight: 500;
    outline: none;
    width: 100%;
}

/* Muted placeholder text color for search input */
.np-search-wrapper input::placeholder {
    color: var(--textColorHigh);
}

/* Container for mockup video and the Curious How To callout */
.np-mockup-container {
    position: relative;
    max-width: 1146px;
    margin-left: auto;
    margin-right: auto;
    z-index: 10;
}

/* Focused soft green radial glow behind the video container, starting from the top-center */
.np-mockup-container::before {
    content: '';
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(49, 176, 130, 0.35) 0%, rgba(49, 176, 130, 0.1) 45%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

/* Callout placed above top-left corner of the video */
.np-video-callout {
    position: absolute;
    top: -55px;
    left: -40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    z-index: 12;
    transform: rotate(-10deg);
}

.np-video-callout .callout-text {
    font-family: 'Nanum Brush Script', cursive;
    font-size: 28px;
    font-weight: 500;
    color: var(--textColorDefault);
    margin-bottom: 2px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.np-video-callout .callout-arrow {
    width: 50px;
    height: 50px;
    transform: rotate(-20deg);
    margin-top: -10px;
    margin-left: 30px;
}

/* Wraps only the video so the mute toggle centers against the video's own box, not the taller mockup container */
.np-video-wrapper {
    position: relative;
    line-height: 0;
}

/* Mute/unmute toggle on the hero video, right-edge, vertically centered */
.np-video-mute-toggle {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 20, 20, 0.7);
    color: #fff;
    border: 2px solid var(--brandPrimary, #31b082);
    border-radius: 50%;
    cursor: pointer;
    z-index: 11;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.np-video-mute-toggle:hover {
    background: rgba(10, 20, 20, 0.9);
}

/* Hero mockup preview image (16:9 ratio, rounded border, and soft shadow) */
.np-mockup-media {
    width: 100%;
    max-width: 1146px;
    height: auto;
    box-sizing: border-box;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    z-index: 10;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: -28.125% !important;
    display: flex;
    /* Covers exactly 50% of the mockup height (56.25% * 0.5) */
}

.hero-underline-green {
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--textgradientgreen) !important;
    border-radius: 2px;
    z-index: 2;
}

/* Support Section Redesign */
.np-support-section-redesign {
    background-color: #000000 !important;
    /* Solid black background */
    padding: 89px 0 58px 0;
    color: #ffffff !important;
}

/*.np-support-container {
    width: 100% !important;
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 50px !important;
    padding-right: 50px !important;
}*/

.np-support-title-container {
    text-align: center;
    margin-bottom: 80px;
}

.np-support-items-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    /* spacing between rows */
    max-width: 979px;
    margin: 0 auto;
}

.np-support-item-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.np-support-item-row.reverse {
    flex-direction: row-reverse;
}

.support-image {
    width: 238px;
    height: 227px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.support-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    position: relative;
    z-index: 3;
    display: block;
}

#support-team-lottie {
    transform: scaleX(-1);
}

.np-support-item-text {
    flex-grow: 1;
    max-width: 416px;
}

.np-support-item-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.35;
    color: #ffffff;
    margin-bottom: 16px;
}

.np-support-item-desc {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #b6b6b9 !important;
    /* Muted grey matching the design */
    margin: 0;
}

.np-support-item-desc a {
    color: #31b082;
    text-decoration: none;
    font-weight: 600;
}

.np-support-item-desc a:hover {
    text-decoration: underline;
}

/* Responsive metrics container padding */
@media (max-width: 1200px) {
    /* Keep each Why Love slide inside the viewport on tablets and phones. */
    .np-why-slide {
        width: 100vw !important;
        max-width: 100vw !important;
    }

    .np-why-slide-card {
        width: calc(100% - 40px);
        max-width: 470px;
        margin-left: 20px !important;
        margin-right: 20px;
    }

    .np-slider-outer-wrapper {
        --slide-width: 63vw;
        --center-shift: 0px;
        --image-container-max-height: 300px;
    }

    .np-metrics-container {
        margin-top: 0 !important;
        padding-top: calc(28.125% + 30px) !important;
        border-radius: 0 !important;
    }
    .np-video-callout {
        left: 0px !important;
    }
}

@media (max-width: 576px) {
    .np-why-slide-card {
        /* aspect-ratio: auto; */
        min-height: 90px;
        padding: 18px 25px 35px;
        align-items: center;
    }

    .np-why-slide-card p {
        font-size: 15px;
        line-height: 1.3;
    }
}

@media (max-width: 992px) {
    .np-features-section {
        padding: 40px 0 !important;
    }

    .np-feature-row {
        flex-direction: column !important;
        text-align: left !important;
        gap: 16px !important;
        margin-bottom: 40px !important;
        padding-top: 0 !important;
        padding-bottom: 40 !important;
    }

    .np-support-item-row,
    .np-support-item-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .np-support-item-text {
        max-width: 100%;
    }

    .np-support-items-list {
        gap: 80px;
    }

    .np-metrics-container {
        margin-top: 0 !important;
        padding-top: calc(28.125% + 25px) !important;
        border-radius: 0 !important;
    }

    .faq-questions .accordion-button {
        font-size: 17px;
        line-height: 1.5;
    }
    .faq-questions .accordion-body {
        font-size: 16px;
        line-height: 1.5;
    }
    .faq-section {
        padding-bottom: 40px;
    }
    .faq-section .section-title {
        margin-bottom: 30px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .np-slider-outer-wrapper {
        --slide-width: 72vw;
        --center-shift: 0px;
        --image-container-max-height: 220px;
    }

    .np-templates-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
        margin-bottom: 40px;
        gap: 20px;
    }

    .np-templates-header .section-title {
        font-size: 28px;
        line-height: 1.25;
    }

    .np-view-all-link {
        align-self: flex-start;
    }

    .np-showcase-card {
        padding: 16px;
    }

    .np-card-header {
        margin-bottom: 6px !important;
    }

    .np-card-title {
        font-size: 16px;
        margin-bottom: 4px !important;
    }

    .np-card-price .price-current {
        font-size: 16px;
    }

    .np-card-price .price-original {
        font-size: 13px;
    }

    .np-card-tag {
        font-size: 11px;
        padding: 4px 10px;
    }

    .np-card-image-container {
        margin-bottom: 10px !important;
    }

    .np-card-footer {
        font-size: 12px;
    }

    .newpage-body-section {
        padding: 40px 0;
    }

    .hero-section-padding {
        padding: 0px 0px;
    }

    .np-metrics-container {
        padding-top: calc(25.125% + 10px) !important;
        padding-bottom: 20px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .np-metric-num {
        font-size: 40px !important;
    }

    .np-metric-card {
        padding: 15px 0px !important;
    }

    .np-feature-row {
        display: block !important;
    }

    .np-feature-row > .col-lg-5,
    .np-feature-row > .col-lg-7 {
        margin-bottom: 30px;
    }

    .np-persona-card {
        margin-bottom: 20px;
    }

    .np-persona-image {
        width: 160px;
        height: 160px;
        margin: 0 auto 12px;
    }

    .np-why-slide {
        width: 100vw !important;
    }

    .np-why-slide-crop {
        width: 100%;
        height: 200px;
    }

    .np-support-item-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .np-support-item-row.reverse {
        direction: ltr;
    }

    .np-hero-btn-shadow {
        display: none;
    }

    .np-hero-btn-front {
        position: relative;
        left: 0;
        top: 0;
    }

    .np-controls-row {
        flex-direction: column;
        max-width: 100%;
        display: block !important;
    }

    .np-search-wrapper {
        max-width: 100%;
    }

    /* Remove explore templates button on mobile */
    .explore-templates-btn {
        display: none;
    }

    .mobile-np-templates-header {
        display: block !important;
        padding: 0px;
    }
    .mobile-np-templates-header p.np-templates-subtitle.mb-0 {
        display: none;
    }
    .mobile-np-templates-header a.np-view-all-link {
        float: right;
        margin: 20px 0px 35px;
    }
    .np-slider-dots-container {
        margin-top: 15px !important;
    }
    .np-feature-title {
        font-size: 22px;
    }
    .np-features-section .section-title {
        margin-bottom: 20px;
    }
    .np-features-section {
        padding: 60px 0 1px !important;
    }
    .np-why-love-section {
        padding: 60px 0 0px 0;
    }
    .np-why-love-header span.section-title-bold {
        position: relative;
        top: 10px;
    }
    .np-support-section-redesign {
        padding: 60px 0 58px 0;
    }
    .np-support-item-title {
        font-size: 20px;
    }
    #features-showcase {
        overflow-x: hidden;
    }
    .mobile-cta-section {
        padding-top: 60px;
    }
    .mobile-cta-section .btn-cta {
        width: 174px;
    }
    .social-icons {
        padding-top: 20px;
    }
    .mobile-social-icons {
        justify-content: start !important;
    }
    .mobile-contact-info {
        padding-bottom: 30px;
    }
    .faq-inner-container {
        padding: 0px 20px;
    }
    .template-details-container {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }
}


/* ========================================================================== 
   CHECKOUT PAGE STYLES
   ========================================================================== */
.np-checkout-section {
    padding: 120px 0 78px 0;
    position: relative;
    background-color: var(--backgroundSurfaceHighest);
}

.Breadcrumb-container {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 24px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-text1 {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.breadcrumb-text1:hover {
    color: #ffffff;
}

.breadcrumb-icon {
    width: 16px;
    height: 16px;
}

.breadcrumb-text2 {
    color: #ffffff;
    font-weight: 600;
}

.np-checkout-container-box {
    background-color: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
}

@media (max-width: 768px) {
    .np-checkout-container-box {
        padding: 24px;
    }
}

.np-checkout-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 30px;
}

.np-checkout-product-card {
    background-color: #000000;
    border: 1px solid rgba(82, 82, 82, 0.596);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    margin-bottom: 40px;
    width: 95%;
}

@media (max-width: 576px) {
    .np-checkout-product-card {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 50px;
    }
}

.np-checkout-product-img {
    width: 130px;
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
}

.np-checkout-product-details {
    flex-grow: 1;
    min-width: 0;
    padding-right: 40px;
}

.np-checkout-product-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}

.np-checkout-product-category {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.np-checkout-product-discount {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #31B082;
    margin: 0;
    font-weight: 500;
}

.np-checkout-trash-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 24px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-fast);
}

.np-checkout-trash-btn:hover {
    opacity: 0.8;
}

.np-checkout-included-section {
    margin-top: 40px;
}

.np-checkout-included-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.np-checkout-included-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.np-checkout-included-item {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 12px;
}

.np-checkout-included-dot {
    width: 6px;
    height: 6px;
    background-color: #31B082;
    border-radius: 50%;
    display: inline-block;
}

.np-checkout-included-list-raw p,
.np-checkout-included-list-raw li {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.np-checkout-included-list-raw ul {
    padding-left: 20px;
    list-style: disc;
}

.np-checkout-included-list-raw ol {
    padding-left: 20px;
    list-style: decimal;
}

.np-checkout-included-list-raw li[data-list="bullet"] {
    list-style-type: disc !important;
}

.np-checkout-included-list-raw li[data-list="ordered"] {
    list-style-type: decimal !important;
}

.np-checkout-included-list-raw [data-list] {
    list-style-position: outside;
}

/* Payment Card */
.np-checkout-payment-card-wrap {
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

.np-checkout-payment-card {
    background-image: url(../assets/ticket-bg.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    padding: 35px 30px 55px 30px;
    color: #121212;
    position: relative;
    height: 450px;
}

.np-payment-breakdown-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #121212;
}

.np-payment-row {
    display: flex;
    justify-content: space-between;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin-bottom: 16px;
    color: rgba(18, 18, 18, 0.6);
    font-weight: 500;
}

.np-payment-row span:last-child {
    color: var(--textColorLowest);
    font-weight: 700;
}

.np-payment-row.np-payment-total {
    font-weight: 700;
    color: #121212;
    margin-top: 20px;
    margin-bottom: 24px;
}

.np-payment-divider {
    border-top: 1px solid rgba(18, 18, 18, 0.37);
    margin: 20px 0 30px 0;
}

.np-payment-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    margin-top: 50px;
}

.np-payment-proceed {
    color: var(--brandSecondary);
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.np-payment-proceed:hover {
    color: #1d4ed8;
}


.np-payment-terms {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--textColorLow)
}

.np-payment-terms input[type="checkbox"] {
    accent-color: #31B082;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    cursor: pointer;
}

.np-payment-terms a,
.terms-link {
    color: #31B082;
    text-decoration: none;
    font-weight: 600;
}

.np-payment-terms a:hover,
.terms-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .np-checkout-payment-card-wrap {
        position: static;
        margin-top: 30px;
    }

    .np-checkout-section {
        padding: 100px 0 40px 0;
    }
}

/* Standardize desktop container max-width to 1440px and match left/right alignment of Template Listing page */
.template-details-page .container,
.purchases-page-container,
.contact-section .container,
.breadcrumb-contact .container,
.templates-section .container {
    width: 100% !important;
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (min-width: 1025px) {

    .template-details-page .container,
    .purchases-page-container,
    .contact-section .container,
    .breadcrumb-contact .container,
    .templates-section .container {
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }
}

/* Standardize price alignment (vertical center alignment and consistent 8px gap) across the entire website */
.price-section,
.np-card-price {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.price-section .price-original,
.np-card-price .price-original {
    margin-left: 0 !important;
}


@media screen and (min-device-width: 769px) and (max-device-width: 1200px) { 
    .mobile-np-templates-header {
        padding: 0px;
    }
    .faq-inner-container {
        padding: 0px 40px;
    }
}

@media screen and (min-width: 769px) {
    .nav.nav-pills.faq-tabs {
        margin-left: -40px;
    }
}

@media screen and (min-width: 992px) {
    .footer-container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

/* Quill Editor Frontend Fixes */
.section-description [data-list="bullet"] { list-style-type: disc; margin-left: 1.5em; }
.section-description [data-list="ordered"] { list-style-type: decimal; margin-left: 1.5em; }
.section-description [data-list] { list-style-position: outside; }

/* Processing text animation */
.processing-text {
    display: inline-block;
    text-align: left;
}
.processing-text .dots {
    display: inline-block;
    width: 15px;
    text-align: left;
}
.processing-text .dots::after {
    content: '';
    animation: dots-animation 1.5s steps(4, end) infinite;
}

@keyframes dots-animation {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
    100% { content: ''; }
}

@media (max-width: 1199px) {
    .np-payment-actions {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

/* CMS Content Frontend Fixes */
.cms-content ul,
.cms-content [data-list="bullet"] { list-style-type: disc; margin-left: 1.5em; }
.cms-content ol,
.cms-content [data-list="ordered"] { list-style-type: decimal; margin-left: 1.5em; }
.cms-content ul, .cms-content ol,
.cms-content [data-list] { list-style-position: outside; margin-bottom: 1em; }

.text-dark-grey { color: #646468 !important; }

.amount-spacing { letter-spacing: 1px; }

.admin-preview-btn:disabled,
.admin-preview-btn[disabled],
.admin-preview-btn:disabled:hover,
.admin-preview-btn[disabled]:hover {
    background-color: #4b4b4b !important;
    border-color: #4b4b4b !important;
    color: #9a9a9a !important;
    cursor: not-allowed !important;
    pointer-events: auto !important;
    animation: none !important;
    opacity: 1 !important;
}

/* ── CustomSelect component ─────────────────────────────────────── */
.cg-select {
    position: relative;
    width: 100%;
}

.cg-select__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    background-color: #161618;
    border: 1px solid var(--outline-default, #2d2d2f);
    border-radius: 8px;
    color: var(--text-default, #e0e0e1);
    padding: 12px 16px;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s;
    outline: none;
}

.cg-select__trigger:hover:not(:disabled) {
    border-color: var(--outline-default, #2d2d2f);
}

.cg-select--open .cg-select__trigger {
    border-color: var(--outline-default, #2d2d2f);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.cg-select--error .cg-select__trigger {
    border-color: var(--statusErrorError, #da3939) !important;
}

.cg-select--disabled .cg-select__trigger {
    opacity: 0.5;
    cursor: not-allowed;
}

.cg-select__placeholder {
    color: var(--text-lowest, #4a4a4e);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cg-select__value {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cg-select__arrow {
    flex-shrink: 0;
    color: var(--text-low, #7a7a7e);
    transition: transform 0.2s;
}

.cg-select--open .cg-select__arrow {
    transform: rotate(180deg);
}

.cg-select__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #161618;
    border: 1px solid var(--outline-default, #2d2d2f);
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    max-height: 320px;
    height: auto;
    overflow-y: auto !important;
    overflow-x: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    min-width: 100%;
    contain: layout style paint;
}

.cg-select--up .cg-select__dropdown {
    top: auto;
    bottom: 100%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-top: 1px solid var(--outline-default, #2d2d2f);
    border-bottom: none;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.4);
}

@media (max-width: 576px) {
    .cg-select__dropdown {
        max-height: 240px;
        overflow-y: auto !important;
    }

    /* Prevent dropdown from going off-screen on small devices */
    .form-input-group .cg-select {
        position: relative;
        z-index: 1;
    }

    .form-input-group .cg-select__dropdown {
        max-width: calc(100vw - 48px);
        right: auto;
        left: 0;
        max-height: 240px;
        overflow-y: auto !important;
    }
}

.cg-select__dropdown::-webkit-scrollbar {
    width: 6px;
}
.cg-select__dropdown::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
}
.cg-select__dropdown::-webkit-scrollbar-thumb {
    background: var(--outline-default, #3a3a3f);
    border-radius: 3px;
}
.cg-select__dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--text-low, #7a7a7e);
}

/* Firefox scrollbar */
.cg-select__dropdown {
    scrollbar-color: var(--outline-default, #3a3a3f) rgba(255, 255, 255, 0.02);
    scrollbar-width: thin;
}

.cg-select__option {
    display: flex;
    align-items: center;
    padding: 9px 12px;
    font-size: var(--font-size-label-l, 14px);
    color: var(--text-default, #e0e0e1);
    cursor: pointer;
    transition: background 0.15s;
    user-select: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cg-select__option:hover {
    background: var(--bg-surface-overlay, #2a2a2e);
}

.cg-select__option--active {
    color: var(--brand-secondary, #2175ff);
    font-weight: 500;
}
.cg-select__check-icon { margin-right: 8px; flex-shrink: 0; }
.cg-select__check-spacer { width: 21px; flex-shrink: 0; display: inline-block; }
.cg-select__option-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.trigger-card-select { min-width: 200px; }
