/* ═══════════════════════════════════════════════════════════
   style.css — Rainwater Labs shared stylesheet
   Used by: home.html · pricing.html · prototype_ui.html
═══════════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=DM+Mono:wght@400;500&display=swap');

/* ── CSS Variables ── */
:root {
    /* Backgrounds */
    --bg: #F5F6FA;
    --surface: #FFFFFF;
    --surface-2: #F0F2F8;

    /* Borders */
    --border: #E2E6F0;
    --border-2: #CDD2E6;

    /* Brand colours */
    --accent: #2563EB;
    --accent-2: #1D4ED8;
    --accent-light: #EFF4FF;
    --green: #059669;
    --green-light: #ECFDF5;
    --amber: #D97706;
    --amber-light: #FFFBEB;
    --red: #DC2626;

    /* Text */
    --text-1: #0F172A;
    --text-2: #374151;
    --text-3: #6B7280;
    --text-4: #9CA3AF;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 12px 48px rgba(15, 23, 42, 0.18);

    /* Shape */
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 14px;

    /* Typography */
    /* --font: 'DM Sans', sans-serif; */
    --font: "Poppins", sans-serif !important;
    /* --mono: 'DM Mono', monospace; */

    /* Pricing page grey scale */
    --grey-1: #1A1A1A;
    --grey-2: #2A2A2A;
    --grey-3: #444444;
    --grey-4: #888888;
    --grey-5: #BBBBBB;
    --grey-6: #E5E5E5;
    --grey-7: #F4F4F4;
    --grey-8: #FAFAFA;
}

/* ── Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Base body ── */
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text-1);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ════════════════════════════════════════
   HEADER  (home.html + pricing.html)
════════════════════════════════════════ */
.header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0 32px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}



.sticky-header{position: sticky !important;top: 0 !important;z-index:999;}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 15px;
    color: var(--text-1);
    text-decoration: none;
}

.logo-mark {
    width: 28px;
    height: 28px;
    background: var(--text-1);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-mark svg {
    width: 14px;
    height: 14px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}


.ad-row {
    font-size: 11px;
    color: var(--text-2);
    padding: 3px 0;
}

.ad-row strong {
    color: var(--text-1);
}

.ad-sep {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}

.ad-btn {
    width: 100%;
    padding: 6px 10px;
    margin-bottom: 5px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface);
    font-family: var(--font);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-1);
    transition: background 0.12s;
}

.ad-btn:hover {
    background: var(--bg);
}

.ad-btn.danger {
    color: var(--red);
    border-color: #FECACA;
}

.ad-btn.danger:hover {
    background: #FEF2F2;
}

/* ════════════════════════════════════════
   LOGIN MODAL  (home.html + pricing.html)
════════════════════════════════════════ */
.modal-header-logo{width:28px}

.modal-bg {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(4px);
    z-index: 500;
    align-items: center;
    justify-content: center;
}
.modal-header{border-bottom:none;margin-bottom:30px !important;}

.modal-bg.show {
    display: flex;
}

.modal-box {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 28px;
    width: 360px;
    max-width: 92vw;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: mIn 0.18s ease;
}

#loginModal .modal-box{padding:30px 40px;}
#loginModal .modal-close{position: relative;top: 0;right:0;color:#333;}
#loginModal .modal-title{text-align: center;}
#loginModal .social-btn{margin-bottom:15px;}
[type="button"]:focus {
    box-shadow: none;
    outline: none;
}

@keyframes mIn {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    border: none;
    background: transparent;
    font-size: 16px;
    cursor: pointer;
    color: var(--text-3);
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-1);
}
/* 
.modal-title {
    font-size: 18px;
    border-bottom:1px solid #dedede;
    padding-bottom:15px;
    font-weight: 700;
    margin-bottom: 0;
} */

/* Social login button */
.s-btn {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--text-1);
    transition: background 0.12s;
}

.s-btn:hover {
    background: var(--bg);
}

/* "or" divider */
.m-or {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: var(--text-4);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 15px 0;
}

.m-or::before,
.m-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Modal inputs */
.m-inp {
    width: 100%;
    padding: 9px 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font);
    font-size: 14px;
    font-width:400;
    color: var(--text-1);
    background: var(--surface);
    outline: none;
    transition: border-color 0.12s;
}

.m-inp:focus {
    border-color: var(--text-1);
}

.m-inp::placeholder {
    color: var(--text-4);
}

.m-btn {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background: var(--text-1);
    color: #fff;
    /* margin-bottom: 6px; */
    transition: background 0.12s;
}

.m-btn:hover {
    background: #1E293B;
}

/* ════════════════════════════════════════
   URL INPUT BAR  (home.html)
════════════════════════════════════════ */
.url-wrap {
    display: flex;
    overflow: hidden;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.url-wrap:focus-within {
    border-color: var(--text-1);
    box-shadow: var(--shadow-md);
}

.url-icon {
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: var(--text-4);
    flex-shrink: 0;
}

.url-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-family: var(--font);
    font-size: 13px;
    color: var(--text-1);
    padding: 14px 0;
}

.url-input::placeholder {
    color: var(--text-4);
    font-family: var(--font);
}

.url-error {
    display: none;
    font-size: 12px;
    font-weight: 500;
    color: #EF4444;
    margin-top: 7px;
    text-align: left;
    padding-left: 4px;
    animation: errFade 0.2s ease;
}

.url-error.show {
    display: block;
}

.btn-next {
    height: auto;
    padding: 0 24px;
    background: var(--text-1);
    color: #fff;
    border: none;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    transition: background 0.12s;
    white-space: nowrap;
}

.btn-next:hover {
    background: #1E293B;
}

.cp-brand-edit-input--name{font-size:14px !important;font-weight:500 !important;}
.content-sections .section{margin-bottom:15px;}
.content-sections .page-header{padding:0;margin-top:20px !important;text-align: left;margin-bottom:20px !important;}
.content-sections .page-header h1{font-size:1.5rem;font-weight:700;}
.content-sections{font-size:14px;line-height:26px;}
.content-sections h2 {
    font-size:18px;
    margin-bottom: 15px;
    font-weight:600;
}
.content-sections h3{font-size:16px;font-weight:500;margin-bottom:10px;}
.content-sections ul li{margin-bottom:12px;}
.content-sections ul{list-style: disc;margin-left:30px;}
.content-sections ul li:last-child{margin-bottom:0;}

.pricing-heading{ line-height:1.4 !important;font-weight:500 !important;}

#couponModal .btn{float:right;font-size:13px;}
.cp-custom-concept-btn-cancel, .cp-custom-concept-btn-apply{padding:14px 20px !important;}


/* ════════════════════════════════════════
   SHARED ANIMATIONS
════════════════════════════════════════ */
@keyframes errFade {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeUp {
    from {
        transform: translateY(12px);
        opacity: 0;
    }

    to {
        transform: none;
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }

    to {
        transform: none;
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(20px);
        opacity: 0;
    }

    to {
        transform: none;
        opacity: 1;
    }
}


/* ════════════════════════════════════════
   Priceing page grey scale utility classes
   (pricing.html)
*/

         .page-header {
             text-align: center;
             padding: 72px 24px 20px;
         }

         .page-header h1 {
             font-size: clamp(26px, 4vw, 40px);
             font-weight: 800;
             color: var(--grey-1);
             letter-spacing: -.02em;
             margin-bottom: 0;
         }

         .features {
             display: flex;
             justify-content: center;
             gap: 48px;
             padding: 32px 24px 48px;
             max-width: 860px;
             margin: 0 auto;
         }

         .feat {
             display: flex;
             flex-direction: column;
             align-items: center;
             text-align: center;
             max-width: 200px;
         }

         .feat-icon {
             width: 40px;
             height: 40px;
             border: 1.5px solid var(--grey-6);
             border-radius: 10px;
             display: flex;
             align-items: center;
             justify-content: center;
             margin-bottom: 12px;
             background: var(--grey-8);
         }

         .feat-icon svg {
             width: 18px;
             height: 18px;
             color: var(--grey-3);
         }

         .feat h3 {
             font-size: 13px;
             font-weight: 700;
             color: var(--grey-1);
             margin-bottom: 6px;
         }

         .feat p {
             font-size: 12px;
             color: var(--grey-4);
             line-height: 1.6;
         }

         .plans {
             display: grid;
             grid-template-columns: repeat(3, 1fr);
             gap: 16px;
             max-width: 980px;
             margin: 0 auto;
             padding: 0 24px 80px;
         }

         .plan {
             border: 1.5px solid var(--grey-6);
             border-radius: var(--radius);
             padding: 28px 24px;
             background: #fff;
             position: relative;
             display: flex;
             flex-direction: column;
             transition: box-shadow .2s, transform .2s;
         }

         .plan:hover {
             box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
             transform: translateY(-2px);
         }

         .plan.featured {
             background: var(--grey-1);
             border-color: var(--grey-1);
             color: #fff;
         }

         .plan.featured:hover {
             box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
         }

         .plan-title-row {
             display: flex;
             align-items: center;
             gap: 8px;
             margin-bottom: 10px;
         }

         .plan-name {
             font-size: 18px;
             font-weight: 800;
             letter-spacing: -.01em;
         }

         .plan-badge {
             font-size: 9px;
             font-weight: 800;
             text-transform: uppercase;
             letter-spacing: .1em;
             padding: 3px 8px;
             border-radius: 20px;
         }

         .badge-popular {
             background: #fff;
             color: var(--grey-1);
         }

         .plan:not(.featured) .badge-popular {
             background: var(--grey-1);
             color: #fff;
         }

         .badge-powerful {
             background: #fff;
             color: var(--grey-1);
             border: 1px solid var(--grey-5);
         }

         .plan:not(.featured) .badge-powerful {
             background: var(--grey-7);
             color: var(--grey-3);
             border: none;
         }

         .plan-desc {
             font-size: 12px;
             color: var(--grey-4);
             margin-bottom: 20px;
             line-height: 1.6;
         }

         .plan.featured .plan-desc {
             color: var(--grey-5);
         }

         .plan-price {
             display: flex;
             align-items: baseline;
             gap: 3px;
             margin-bottom: 20px;
         }

         .price-sym {
             font-size: 22px;
             font-weight: 800;
         }

         .price-amt {
             font-size: 52px;
             font-weight: 900;
             letter-spacing: -.03em;
             line-height: 1;
         }

         .price-per {
             font-size: 13px;
             font-weight: 500;
             color: var(--grey-4);
             margin-left: 2px;
         }

         .plan.featured .price-per {
             color: var(--grey-5);
         }

         .token-box {
             border-radius: var(--radius-sm);
             padding: 14px 16px;
             margin-bottom: 20px;
             border: 1.5px solid var(--grey-6);
             background: var(--grey-8);
         }

         .plan.featured .token-box {
             border-color: rgba(255, 255, 255, .12);
             background: rgba(255, 255, 255, .07);
         }

         .token-label {
             font-size: 9px;
             font-weight: 800;
             text-transform: uppercase;
             letter-spacing: .1em;
             color: var(--grey-4);
             margin-bottom: 6px;
         }

         .plan.featured .token-label {
             color: var(--grey-5);
         }

         .token-title {
             font-size: 15px;
             font-weight: 700;
             color: var(--grey-1);
             margin-bottom: 3px;
         }

         .plan.featured .token-title {
             color: #fff;
         }

         .token-sub {
             font-size: 12px;
             color: var(--grey-4);
         }

         .plan.featured .token-sub {
             color: var(--grey-5);
         }

         .btn-buy {
             width: 100%;
             padding: 14px;
             border-radius: var(--radius-sm);
             font-family: var(--font);
             font-size: 14px;
             font-weight: 700;
             cursor: pointer;
             border: none;
             margin-bottom: 22px;
             transition: background .14s, transform .12s;
             letter-spacing: .01em;
         }

         .btn-buy:active {
             transform: scale(.98);
         }

         .plan:not(.featured) .btn-buy {
             background: var(--grey-1);
             color: #fff;
         }

         .plan:not(.featured) .btn-buy:hover {
             background: #333;
         }

         .plan.featured .btn-buy {
             background: #fff;
             color: var(--grey-1);
         }

         .plan.featured .btn-buy:hover {
             background: var(--grey-6);
         }

         .features-list {
             list-style: none;
             display: flex;
             flex-direction: column;
             gap: 10px;
         }

         .features-list li {
             display: flex;
             align-items: flex-start;
             gap: 9px;
             font-size: 13px;
             line-height: 1.5;
         }

         .features-list li.section-header {
             font-weight: 700;
             font-size: 13px;
             color: var(--grey-1);
             margin-top: 4px;
             display: block;
         }

         .plan.featured .features-list li.section-header {
             color: #fff;
         }

         .check-wrap {
             width: 16px;
             height: 16px;
             border-radius: 50%;
             display: flex;
             align-items: center;
             justify-content: center;
             flex-shrink: 0;
             margin-top: 1px;
         }

         .plan:not(.featured) .check-wrap {
             background: var(--grey-7);
             border: 1px solid var(--grey-5);
         }

         .plan.featured .check-wrap {
             background: rgba(255, 255, 255, .15);
         }

         .check-wrap svg {
             width: 8px;
             height: 8px;
         }

         .plan:not(.featured) .check-wrap svg {
             color: var(--grey-1);
         }

         .plan.featured .check-wrap svg {
             color: #fff;
         }

         .feat-text {
             color: var(--grey-3);
         }

         .plan.featured .feat-text {
             color: var(--grey-5);
         }

         .page-footer {
             text-align: center;
             padding: 0 24px 48px;
             font-size: 12px;
             color: var(--grey-4);
         }

         .page-footer a {
             color: var(--grey-3);
         }

         @media (max-width:768px) {
             .plans {
                 grid-template-columns: 1fr;
                 max-width: 420px;
             }

             .features {
                 flex-direction: column;
                 align-items: center;
                 gap: 24px;
             }
         }


    #globalLoader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 9999;
    }

    .loader-backdrop {
        position: absolute;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
    }

    .loader-box {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        color: #fff;
    }

    .spinner {
        width: 40px;
        height: 40px;
        border: 4px solid #ccc;
        border-top-color: #fff;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin: auto;
    }

    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }

#toastContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 320px;
}

/* Toast box */
.toast {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
}

/* Types */
.toast-success {
    background: #10B981;
}

.toast-error {
    background: #DC2626;
}

.toast-warning {
    background: #F59E0B;
}

/* Close button */
.toast-close {
    margin-left: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}

/* Animation */
@keyframes slideIn {
    from {
        transform: translateX(40px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}


.navbar-logo {
    height: 40px;
    /* control size here */
    width: auto;
    /* keep aspect ratio */
    object-fit: contain;
}


/* Modal look */
.modal-content {
    border-radius: 12px;
    border: none;
}

/* Input */
.form-control-lg {
    height: 48px;
    font-size: 16px;
}

/* Button */
.btn-dark {
    height: 40px;
}

/* Divider */
hr {
    opacity: 0.1;
}

/* Quick select active */
.quick-btn.active {
    background: #111827;
    color: #fff;
    border-color: #111827;
}

/* Better spacing */


.modal-footer {
    padding-top: 0;
}




.modal-demo-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 10px;
}

.modal-demo-header .demo-left h2 {
  font-size:20px;
  font-weight:600;
  margin-bottom: 10px;
}

.modal-demo-header .demo-left p {
  font-size: 15px;
  color:#333;
  max-width: 280px;
  font-weight:400;
}

.modal-demo-header .demo-right h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

.modal-demo-header .demo-right ul {
  list-style: none;
  padding: 0;
}

.modal-demo-header .demo-right li {
  font-size: 15px;
  font-weight:400;
  color: #374151;
  margin-bottom: 5px;
  position: relative;
  padding-left: 18px;
}

.modal-demo-header .demo-right li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1c3971;
}

.modal-demo-header .demo-right li strong{font-weight:500;}

.demo-modal .advisor-title {
    position:relative;
    text-align: center;
    font-size: 12px;
    letter-spacing: 1.5px;
    color: #6b7280;
    margin-bottom: 15px;
   text-transform:uppercase
}

/* Horizontal line */
.demo-modal .advisor-title::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  border-top: 1px solid #d4d4d4;
  transform: translateY(-50%);
  z-index: 1;
}

/* Text above the line */
.demo-modal .advisor-title span {
  position: relative;
  background:#fff;
  padding: 0 12px;
  z-index: 2;
}

.demo-modal .card{border:1px solid #d4d4d4;padding:15px 15px;border-radius:12px;}
.demo-modal .card .avtar{width:100px;height:100px;margin:0 auto;border-radius:100%;border:1px dashed #d4d4d4;display:flex;align-items: center;justify-content: center;}
.demo-modal .card .avtar img{width:100px;height:100px;border-radius:100%;}
.demo-modal h2{font-size:14px;font-weight:500;}
.demo-modal a{color:#333;text-decoration: none;}
.demo-modal a.link-btn{border:1px solid #d4d4d4;border-radius:35px;height:38px;letter-spacing:normal;font-size:14px;}
.demo-modal a:hover{background:#333;color:#fff}


.demo-modal .advisor-type {
  font-size: 14px;
  color: #111827;
}

.demo-modal .advisor-desc {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 15px;
}

.demo-modal .card-title{font-size:16px;}
.demo-modal .card-body{padding:15px 0;height:auto !important}


.form-select:focus,
.form-control:focus {
    outline: none !important;
    box-shadow: none !important;
}
.form-label .red{color:red}

.form-control,.form-select,.form-label{font-size:15px;padding:9px 12px;font-family:var(--font);}
.form-label{padding:0 !important;}
textarea.form-control{
    resize: none;
}

.modal .modal-body{padding:0 40px 20px !important}
.modal .modal-header{margin-bottom:0 !important;padding:30px 40px 30px;}
.modal-title{font-size:18px;margin-bottom:10px;font-weight: 700;}
.modal .btn-close{font-size:13px;}
.cp-brand-sub{margin-top:8px;}
.cp-offerings-foot{margin-bottom:0 !important;}
.cp-brand-count{padding:0 !important;width:20px;height:20px;display:flex;align-items: center;justify-content: center;}

/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


/* .contact-form{background:#fff;border:1px solid #dedede;padding:15px 15px;border-radius:10px;max-width:600px;margin:0 auto} */
/* .contact-form h4{font-size: 22px;
    font-weight: 700;
    color: var(--cp-text-1);
    margin: 10px 0 15px 0;
    letter-spacing: -0.01em;text-align:center} */

.response-message{text-align:center}
.response-message.success{color:green}
.response-message.error{color:red}
.form .text-danger{font-size:13px;font-weight:400 !important;}

.navbar .nav-item{font-size:14px;color:#333 !important;opacity:.8;font-weight:500 !important;display:flex;gap:8px;align-items: center;}
.navbar .nav-item:hover{color:#333;opacity: 1;}
.navbar .token-nav-item i{display:flex;align-items: center;}
.gap-8{gap:8px;}

.invalid-feedback{font-size:13px !important;font-weight:400 !important;}

.cp-custom-concept-card,.cp-add-offering-card{padding:30px 40px !important;}

.cp-modal.cp-modal-lightbox .modal-content{background:rgba(0,0,0,.7) !important;}
.cp-modal.cp-modal-lightbox .cp-modal-nav .cp-modal-nav-icon{padding-bottom:6px;}
.cp-concept-foot{align-items: center !important;width:100%;}
.logout-btn{background:transparent !important;border:none !important;text-align: center;display:flex;gap:8px;align-items: center;color:#333;opacity:.8;font-size:13px;}
.logout-btn:hover{color:#333;opacity:1;}
.cp-console-body,.cp-brands-list{ /* Hide scrollbar for Firefox */
  scrollbar-width: none;
/* Hide scrollbar for IE/Edge */
  -ms-overflow-style: none;}
.cp-console-body::-webkit-scrollbar,.cp-brands-list::-webkit-scrollbar {
  display: none;
}

.cp-brands-head-add{background:transparent !important;color:var(--cp-text-1) !important;border-radius: var(--cp-radius-sm) !important;transition: background .15s ease, border-color .15s ease, color .15s ease !important;font:600 12px/1.2 var(--cp-font) !important;border:1px dashed var(--cp-border, rgba(0, 0, 0, 0.2)) !important;width:auto !important;height:auto !important;padding:4px 10px !important;display: block !important;}
.cp-brands-head-add-icon{font-size:600 12px/1.2 var(--cp-font) !important;font-weight:500 !important;}
.cp-brands-head-add:hover{background: var(--cp-accent-soft) !important;
    border-color: var(--cp-accent) !important;
    color: var(--cp-accent) !important;}
.cp-carousel-arrow{padding-bottom:0 !important;}

.trial-btn{font-size:13px;font-weight:600;}
.cp-page{height:calc(100% - 65px) !important;max-height:100% !important;    /* Firefox scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #c7ced9 #f5f7fb;
}
.cp-left{height:100% !important;}

/* Chrome, Edge, Safari */
.cp-page::-webkit-scrollbar{
    width: 3px;
}

.cp-page::-webkit-scrollbar-track{
    background: #f5f7fb;
}

.cp-page::-webkit-scrollbar-thumb{
    background: #c7ced9;
    border-radius: 20px;
}

.cp-page::-webkit-scrollbar-thumb:hover{
    background: #aeb7c4;
}

.cp-creatives-section{margin-top:15px !important;padding-top:20px !important;}

select.form-select option[value=""] {
    color: #6c757d;
}
/* Default state — matches placeholder grey */
select.form-select {
    color: #6c757d;
}

/* When user selects an actual option — show dark/active color */
select.form-select.selected {
    color: #212529 !important;
}

/* Also style each option to always be dark */
select.form-select option {
    color: #212529;
}

.navbar .btn-outline-dark{border:none !important;background:#dedede;border-radius:26px;}
.navbar .btn-outline-dark:hover{background:rgba(229, 229, 229, 1) !important;color:#333 !important;}
.dropdown-menu .d-grid a.sm-link{background:transparent;padding:10px 0 0;font-size:13px !important;border:none;display:flex;gap:8px;align-items: center;}
.navbar .btn.show{color: #333;}

.cp-add-btn{border-radius:32px !important;padding:0 !important;width:172.25px;height:42.6px;display:flex;align-items: center;justify-content: center;background:transparent !important; color: #333 !important;border:1px solid #0F172A !important;font-size:500 !important;}
.cp-add-btn-icon{font-size:14px !important;font-weight:400 !important;}
.cp-add-btn:hover{background: #2a2a2a !important;color:#fff !important;}
.cp-add-btn i.fa-arrow-up{transform: rotate(45deg);}
.cp-add-input-wrap{border-radius:32px !important;}
.cp-add-input{padding:8px 15px !important;}
.cp-add-input-wrap{padding:6px 8px 6px 6px !important;}
.cp-add-form .flex-item{ gap:15px;width:100%;}
.cp-add-form.disabled{opacity:.5;}
.cp-add-input-wrap{
    flex:1;
    width:100% !important;
}

.no-website-btn{
    white-space:nowrap;
    font-size:14px;
    border:none;border-radius:0;background:transparent;padding:0;transition: background .15s ease, transform .05s ease;color:#333;opacity:.8;margin:10px 0 0 22px;text-decoration:underline;
}
.no-website-btn:hover{color: #333;opacity:1;}
.cp-add-form{width:800px !important;max-width:800px !important;}
.cp-form-content{max-width:650px !important;margin:0 auto;}
.cp-add-form .grid-image{display:flex;align-items: center;justify-content: center;gap:15px;flex-wrap: wrap;}
.cp-add-form .grid-image img{width: calc(33.33% - 10px) !important;height:auto !important;display: block;}

#cpConceptModal .cp-popup-header-close{color:#fff !important;}
.cp-modal.cp-modal-lightbox .cp-modal-img{box-shadow: none !important;}

/*--campaign--*/
.campaign-main-header{position:sticky !important;top:0 !important;}
.campaign-main-header h1{font-size: 1.5rem;font-weight: 700;margin-bottom:0}


.sidebar-main-fix-header{position: sticky;
    top: 63px;
    z-index: 30;
    background: #fff;}
.metric-tabs{overflow-x:auto;padding:10px 0 0;}
.none-scroll-bar{ scrollbar-width: none;}
.none-scroll-bar::-webkit-scrollbar {display: none;}


.metric-tab {
  flex: 1;
  padding: 15px;
  cursor: pointer;
  color: #444;
  transition: 0.2s;
  border-radius:12px;
  border:1px solid #dedede;
  position:relative;
  min-width:170px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.metric-tab small{font-weight:500;}

.metric-tab.event-none{pointer-events:none !important;}

.metric-tab .label {
  font-size: 13px;
}

.metric-tab .value {
  display: block;
  font-size: 22px;
  font-weight: 600;
  margin-top: 4px;
}

/* ACTIVE STATE */
.metric-tab.active {
    border-color: #00008B;
    background:#eee;
}

/* Check icon */
.metric-tab.active::after {
    content: "✓";
    position: absolute;
    top: -10px;
    right: -10px;
    width: 22px;
    height: 22px;
    background: #00008B;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* COLORS */
.blue.active { background: #1a73e8; }
.red.active { background: #d93025; }
.orange.active { background: #f9ab00; }
.green.active { background: #188038 ; }
.gray.active { background: #5f6368; }

.chart-wrapper {
  padding: 20px 10px;
  width:100%;
}
.chart-wrapper canvas{width:100%;max-height:180px;}

.date-range-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-items:flex-end;
}


.date-range-section{position:relative;border: 1px solid #dadce0;
  border-radius: 6px;
  padding: 0 5px;
  cursor: pointer;
  background: #fff;font-size:14px;width:240px;}

.date-range-wrapper:hover {
  border-color: #1a73e8;
}

.date-range-section #dateRange{padding:8px 6px;}

.date-range-wrapper .label {
  font-size: 13px;
  color: #5f6368;
}

.date-input {
  border: none;
  outline: none;
  font-size: 14px;
  color: #202124;
  width: 206px;
  cursor: pointer;
  font-size:13px;
}
.chevron {
  font-size: 12px;
  color: #5f6368;
  transition: transform 0.2s ease;
}

.date-range-section.active .chevron i {
  transform: rotate(180deg); /* down → up */
}

.date-range-wrapper .flatpickr-calendar{top:72px !important;}
.table strong, .table th{background:transparent !important;}
.table td{background:transparent !important;}


/* Default row colors */
.table tr:nth-child(odd) {
  background-color: #ffffff !important;
}

.table tr:nth-child(even) {
  background-color: #f7f7f7 !important;
}


.date-range-wrapper .search-btn {
    background:#111;
    border: 1px solid #111;
    color: #fff;
    border-radius: 5px;
    height: 34.4px;
    width: 34.4px;
}

.table-section{background: #fff;border:1px solid #dedede;border-radius:15px !important}
.table-section .table-bg{overflow:hidden;}
.table-section h3{font-size:1rem;padding:15px 18px 0;margin-bottom:0;font-weight:600;}
.table-wrapper{overflow-y:auto !important;max-height:450px !important}
.table-wrapper tr td img.platform-img{width:30px;height:auto;}
.table-wrapper tr td img.full-image{width:90px;height:auto;}
.table-wrapper tbody tr:hover{background:#cacaca !important;}
.table-wrapper::-webkit-scrollbar{
    width: 4px;
    height:4px;
}

.table-wrapper::-webkit-scrollbar-track{
    background: #f5f7fb;
}

.table-wrapper::-webkit-scrollbar-thumb{
    background: #c7ced9;
    border-radius: 20px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover{
    background: #aeb7c4;
}

.table{padding:15px 0 0 !important;margin-bottom:0 !important;}

.table tr th,.table .tr td{padding:10px 10px !important;text-align: center !important;font-size:14px;font-weight:500;}
.table tr{text-align: center !important;}
.table tr:last-child td{border-bottom:none !important;}



.table tr th{padding:15px 10px 15px !important;font-size:14px;font-weight:600;position:sticky;top:0;background:#fff !important;border-bottom:1px solid #dedede;}
.grid-image {
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
    transform: translateY(0);
}

.grid-image.hide {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.campaign-info-grid {
    display: flex;
    justify-content: space-between;
    align-items: center; /* vertical centering */
    border: 1px solid #e5e7eb;
    padding: 25px 30px;
    border-radius: 14px;
    margin-bottom: 30px;
    background: #fff;
    
    /* ✨ soft shadow */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Equal spacing + centered separators */
.campaign-info-grid .campaign-info-grid-item {
    flex: 1; /* equal width */
    text-align: center;
    position: relative;
}

/* Centered vertical divider */
.campaign-info-grid .campaign-info-grid-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 50%;
    width: 1px;
    background-color: #e5e7eb;
}

.campaign-info-grid .label {
    font-size: 13px;
    color: #6b7280;
}

.campaign-info-grid .value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-top: 6px;
    color: #111827;
}


.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    /* padding-top: 60px; */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.image-modal .modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 85vh;
    border-radius: 8px;
}

.image-modal .btn-close {
    position: absolute !important;
    top: 20px !important;
    right: 40px !important;
    color: #fff;
    font-size: 18px;
    background: transparent !important;
    font-weight: bold;
    cursor: pointer;
    color:#fff;
}

.labs-footer-bottom .no-link-bg{order:2}
.labs-footer-bottom .footer-copy-right{order:1}
.labs-section .no-link-bg{background:none;padding:0;text-decoration: none;display:flex;gap:15px;justify-content: flex-end;}
.labs-section .no-link-bg a{color:rgba(255,255,255,.6) !important;text-decoration:none;font-weight:400;}
.lg-none{display:none !important;}
.lg-show{display:flex !important;}
.transaction-card .form-select{min-width:150px;}


.cp-mobile-title-group {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}

.cp-mobile-main-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--cp-text-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.cp-mobile-sub-text {
    font-size: 10px;
    font-weight: 500;
    color: var(--cp-text-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* .cp-creative-tile-shimmer{background:linear-gradient(90deg,#E5E7EB 0%,#CBD5E1 50%,#E5E7EB 100%) !important;} */
.dropdown-avatar{display:flex;align-items:center;gap:8px;margin-bottom:10px;font-size:14px;padding-bottom:5px;}
.dropdown-avatar i{border:1px solid #dedede;width:28px;height:28px;border-radius:100%;display:flex;align-items: center;justify-content: center;}

/*========Page detail=========*/
.page-detail-content h1{font-family: 'Playfair Display', Georgia, serif;font-size:clamp(32px, 3vw, 40px);margin:80px auto 0;max-width:600px;text-align: center;margin-bottom:10px;}
.page-detail-content h1 .count{font-size:18px;}
.page-detail-content .meta-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
 
.page-detail-content .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;opacity:.8;
}
 
.page-detail-content .meta-item i {
    font-size: 15px;
    color: #9ca3af;
}

.meta-item-image{border:1px dashed #dedede !important;border-radius:10px !important;background:linear-gradient(135deg, #E5E7EB 0%, #F3F4F6 100%) !important;width:100% !important;display:flex;align-items: center;justify-content: center;}
 
/* dot separator between meta items */
.page-detail-content .meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #ccc;
    flex-shrink: 0;
}

.page-detail-content .cap {
    padding: 12px 0 4px;
}
 
.page-detail-content .cap-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}
 
.page-detail-content .cap-title {
    font-size: 20px;
    font-weight: 500;
    color: #111;
}
 
.page-detail-content .cap-date {
    font-size: 12px;
    color: #333;
    opacity:.8;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
 


.page-detail-hero{display:flex;align-items: center;justify-content: center;flex-direction: column}
.page-detail-hero p{margin-bottom:50px;font-size:16px;line-height:1.8rem}
.page-detail-hero .date{min-width:200px;text-align:center;font-size:13px;opacity:.8;margin:5px 0 10px;}
.page-detail-hero a{font-size:13px;font-weight:400;color:#333;opacity:.8;text-decoration:none;}
.page-detail-hero a:hover{opacity: 1;text-decoration: underline;}
.page-detail-hero img{border-radius:15px 15px;}
.page-detail-content .card-content{background:#fff;padding:80px 50px;border-radius:25px;margin-bottom:50px;font-size:16px;line-height:1.8rem;}
.page-detail-content .radius-top-none{border-top-left-radius:0;border-top-right-radius:0}
.page-detail-content .card-image{margin-bottom:50px;}
.page-detail-content .text-title-2{font-size:22px;font-weight:500;line-height:2.2rem}

.page-detail-content .full-image{width:100%;height:auto;object-fit:cover;}
.full-page-image{margin:-30px 0;position:relative;z-index:-1;}
.page-detail-content .flex-content{display:flex;}
/* .page-detail-content .card-image{min-width:600px;} */



.page-detail-content .title{
        font-size:14px;
        font-weight:700;
        color:var(--cp-text-3);
        margin-bottom:18px;
        letter-spacing:1px;
        text-transform: uppercase !important;
    }

.page-detail-content .color-list{
        display:flex;
        align-items:center;
        gap:20px;
        margin-bottom:50px;
        flex-wrap: wrap;
    }

.page-detail-content .color-code{
        display:flex;
        align-items:center;
        gap:10px;
    }

.page-detail-content .color-box{
        width:18px;
        height:18px;
        border-radius:4px;
        border:1px solid #d9d9d9;
        box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    }

.page-detail-content .primary{
        background:#000;
        border:none;
    }

.page-detail-content .secondary{
        background:#fff;
    }

.page-detail-content .hex{
        font-size:16px;
        font-weight:700;
        color:#24364b;
    }

.page-detail-content .label{
        color:#9aa3ad;
        font-size:13px;
    }
.flex-wrap{flex-wrap: wrap;}

.page-detail-content .col-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 8px;        /* tiny base unit — cards span multiples of this */
    gap: 0 15px;                /* no row gap — rows are the unit, col gap kept */
    align-items: start;
}

/* Each card spans enough rows to fit its content
   JS below calculates and sets --span on each card */
.page-detail-content .col-card-content {
    grid-row: span var(--span, 40); /* fallback 40 units */
    margin-bottom: 30px;
}

/* Card shell */
.page-detail-content .box-card-content {
    border: 1px dashed #dedede;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    height: auto;
    flex:1;
    overflow: hidden;
}

/* Image: natural size, no crop, no stretch */
.page-detail-content .box-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    background: linear-gradient(135deg, #E5E7EB 0%, #F3F4F6 100%);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-bottom: 0;
    display: block;
}

.page-detail-content .box-image img {
    width: 100%;
    height: auto;
    object-fit: unset;
    display: block;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: block;
}

/* Caption area — fixed, never stretches */
.page-detail-content .flex-content {
    padding: 12px 15px;
    flex-shrink: 0;
}


.page-detail-content h3{font-size:16px !important;line-height:1.4rem !important;font-weight:500;min-width:120px;margin-right:15px;margin-bottom:0 !important}
.page-detail-content p{line-height:1.6rem;font-size:15px;}
.page-detail-content .vibes-text p {font-size:14px !important;}

/* ═══════════════════════════════════════════════════════════
   Film Collection Carousel — add to style.css
   Arrows float left & right of the card track.
   Bottom nav row replaced by a slim progress bar only.
═══════════════════════════════════════════════════════════ */

/* ── Section wrapper ──────────────────────── */
.film-collection {
    padding: 80px 0 100px;
}

/* ── Header ───────────────────────────────── */
.film-collection .collection-header {
    align-items: center;
    justify-content: center;
    justify-content: space-between;
    padding: 0 0 40px;text-align: center;
    margin-bottom: 40px;
    width:100%;
}

.film-collection .collection-eyebrow {
    font-size: 15px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #7a7268;
    margin-bottom: 10px;
}

.film-collection .collection-title {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--bs-heading-color);
}

.film-collection .collection-title em {
    font-family: 'Playfair Display', Georgia, serif;
    color:#333
}

.cp-add-title,.pricing-heading,.transaction-header h4,.content-sections .page-header h1{font-family: 'Playfair Display', Georgia, serif !important}

/* ── Carousel wrapper — positions side arrows ─ */
.film-collection .carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

/* ── Arrow buttons — left & right ────────────
   Positioned as flex siblings of the track,
   NOT absolutely placed, so they never overlap
   the card content.                            */
.film-collection .nav-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(28, 25, 22, 0.15);
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, opacity 0.2s, transform 0.15s;
    color: #1c1916;
    z-index: 2;
    align-self: flex-start;
    margin-top: calc((var(--card-img-height, 340px) / 2) - 22px);
}

.film-collection .nav-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.film-collection .nav-btn:hover {
    background: #1c1916;
    border-color: #1c1916;
    color: #f6f2ed;
    transform: scale(1.06);
}

.film-collection .nav-btn:disabled,
.film-collection .nav-btn[style*="opacity: 0.3"] {
    pointer-events: none;
}

.film-collection .nav-btn--prev { margin-right: 16px; }
.film-collection .nav-btn--next { margin-left:  16px; }

/* ── Scrollable track ─────────────────────── */
.film-collection .carousel-track {
    flex: 1;                      /* fills space between the two arrows */
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
    padding-bottom: 4px;          /* prevents clipping box-shadows */
}

.film-collection .carousel-track:active { cursor: grabbing; }
.film-collection .carousel-track::-webkit-scrollbar { display: none; }
.film-collection .carousel-track { scrollbar-width: none; }

/* ── Cards ────────────────────────────────── */
.film-collection .film-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    cursor: pointer;
}

.film-collection .card-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #1a1816;
    border-radius: 2px;
    display:flex;
    align-items: center;
}

.film-collection .thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.film-collection .film-card:hover .thumb-image {
    transform: scale(1.04);
}

/* Hover overlay */
.film-collection .card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 24, 22, 0);
    transition: background 0.35s ease;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    padding: 22px;
}

.film-collection .film-card:hover .card-overlay {
    background: rgba(26, 24, 22, 0.38);
}

.film-collection .card-overlay-cta {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #f6f2ed;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease 0.04s, transform 0.25s ease 0.04s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.film-collection .card-overlay-cta::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: #f6f2ed;
    transition: width 0.25s ease;
}

.film-collection .film-card:hover .card-overlay-cta{ opacity: 1; transform: translateY(0); }
.film-collection .film-card:hover .card-overlay-cta::after { width: 40px; }

/* Badge */
.film-collection .card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 4px 10px;
    background: #b8913a;
    color: #fff;
    border-radius: 1px;
}

/* Card text */
.film-collection .card-meta{ padding: 16px 0 0; }

.film-collection .card-category {
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #7a7268;
    margin-bottom: 6px;
}

.film-collection .card-title {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.25;
    color: #1c1916;
    margin-bottom: 6px;
    transition: color 0.2s;
}

.film-collection .film-card:hover .card-title { color: #000; }
.film-collection .card-title em { font-style: italic; }

.film-collection .card-byline {
    font-size: 13px;
    font-weight: 300;
    color: #7a7268;
    line-height: 1.45;
}

/* ── Progress bar row (NO buttons here) ─────── */
.film-collection .carousel-progress-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
    /* indent to align with the track (skip the arrow widths + margins) */
    padding: 0 calc(44px + 16px);
}

.film-collection .progress-bar-wrap {
    flex: 1;
    height: 1px;
    background: rgba(28, 25, 22, 0.12);
    position: relative;
    display:none;
}

.film-collection .progress-bar-fill {
    height: 100%;
    background: #1c1916;
    width: 12%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.film-collection .progress-bar-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: -2px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #1c1916;
}

.film-collection .progress-label {
    font-size: 10px;
    letter-spacing: 0.15em;
    color: #7a7268;
    white-space: nowrap;
    min-width: 36px;
    text-align: right;
    display:none;
}

.card-flex-content{
    display:flex;
    gap:50px;
    align-items:flex-start;
    justify-content: space-between;
}
.card-brand-text{
    width:280px;
    flex-shrink:0;
}
.card-flex-content .text-title-2{flex:1;min-width:280px;}

/* ── Responsive ───────────────────────────── */
@media (max-width: 768px) {
    .film-collection .film-card        { flex: 0 0 240px; }
    .film-collection .nav-btn          { width: 36px; height: 36px; }
    .film-collection .nav-btn--prev    { margin-right: 10px; }
    .film-collection .nav-btn--next    { margin-left:  10px; }
    .film-collection .carousel-progress-row { padding: 0 calc(36px + 10px); }
}

@media (max-width: 480px) {
    /* On very small screens collapse arrows above track */
    /* .film-collection .carousel-wrapper       { flex-wrap: nowrap; align-items: center; }
    .film-collection .nav-btn                { width: 32px; height: 32px; margin-top: 0 !important; align-self: center;  }
    .film-collection .nav-btn--prev          { margin-right: 8px; }
    .film-collection .nav-btn--next          {margin-left:  8px;  }
    .film-collection .carousel-track         { order: 1; flex: 0 0 100%; } */
    .film-collection .carousel-progress-row  { padding: 0 calc(32px + 8px); }
    .film-collection .page-detail-content .card-content{padding:15px 15px;}
    .film-collection .page-detail-content .text-title-2{font-size:22px;}
    .film-collection .page-detail-content .card-content{font-size:15px;line-height:1.8rem;}
    .film-collection .full-page-image{margin:50px 0;}
    .film-collection .film-collection{padding:0;}
    .film-collection .carousel-track{gap:10px}
    .page-detail-content .card-content{padding:20px 20px;border-radius:12px;text-align:center;}
    .page-detail-content .radius-top-none{border-top-left-radius:0;border-top-right-radius:0;}
    .full-page-image{margin:50px 0;}
    
    .page-detail-content .card-content{font-size:15px;}
    .page-detail-content .text-title-2{font-size:22px;text-align: center;}
    .card-flex-content .text-title-2{min-width:auto;}
    .page-detail-content h1{margin-top:40px;}
    .card-flex-content{flex-direction:column;gap:20px;}
    .film-collection{margin:0;padding:0;}
    .film-collection .collection-header{padding-bottom:0;}
}
 
  /* ── VIEW ALL LINK ───────────────────────── */
  .view-all-row {
    padding: 48px 48px 0;
    display: flex;
    align-items: center;
    gap: 16px;
  }
 
  .view-all-link {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #1a1816;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: gap 0.2s;
  }
 
  .view-all-link::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: #1a1816;;
    transition: width 0.25s ease;
  }
 
  .view-all-link:hover { gap: 20px; }
  .view-all-link:hover::after { width: 60px; }
 
  /* ── DRAG HINT ───────────────────────────── */
  .drag-hint {
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8a8078;
    opacity: 0.6;
  }

  .page-detail-content .thumb-image{width:100%;height:auto;}
 
  /* ── RESPONSIVE ──────────────────────────── */
  /* @media (max-width: 768px) {
    .collection-header,
    .carousel-wrapper,
    .carousel-nav,
    .view-all-row { padding-left: 24px; padding-right: 24px; }
    .film-card { flex: 0 0 260px; }
  } */


/* ── GALLERY GRID ── */
.eg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;   /* base unit — spans multiply this */
    gap: 3px;
}
 
/* ── SPAN CLASSES ── */
.eg-item--col2 { grid-column: span 2; }   /* wide:  2 cols × 1 row */
.eg-item--row2 { grid-row:    span 2; }   /* tall:  1 col × 2 rows */
.eg-item--big  { grid-column: span 2;     /* hero:  2 cols × 2 rows */
                 grid-row:    span 2; }
 
/* ── ITEM ── */
.eg-item {
    overflow: hidden;
    position: relative;
    background: #f0eeeb;
}
 
/* Image always fills the slot — native size irrelevant */
.eg-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform .65s cubic-bezier(.25,.46,.45,.94);
}
 
.eg-item:hover img { transform: scale(1.05); }
 
/* Hover overlay */
.eg-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background .3s ease;
    pointer-events: none;
}
.eg-item:hover::after { background: rgba(0,0,0,0.12); }
 
/* Optional caption */
.eg-item figcaption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 8px 12px;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.85);
    background: linear-gradient(transparent, rgba(0,0,0,.45));
    opacity: 0;
    transition: opacity .3s ease;
}
.eg-item:hover figcaption { opacity: 1; }
.eg-header{text-align: center;}
.eg-header h2 em{font-family: 'Playfair Display', Georgia, serif;color:#333 !important;}
.eg-meta{display:flex;align-items: center;justify-content: center;gap:50px;margin-bottom:50px;font-weight:500;}
.eg-desc{max-width:600px;margin:10px auto 50px;}
.eg-eyebrow{    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #7a7268;
    margin-bottom: 10px;}
/* ── RESPONSIVE ── */
@media (max-width: 640px) {
    .eg-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
    }
    /* On small screens, col2 still works; big hero becomes just col2 */
    .eg-item--big { grid-column: span 2; grid-row: span 1; }
}
 
@media (max-width: 400px) {
    .eg-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    .eg-item--col2,
    .eg-item--big  { grid-column: span 1; grid-row: span 1; }
    .eg-item--row2 { grid-row: span 1; }
}
.dropdown-avatar{display:flex;align-items:center;gap:.5rem;margin-bottom:10px;font-size:13px;padding-bottom:5px;}
.dropdown-avatar i{border:1px solid #dedede;width:28px;height:28px;border-radius:100%;display:flex;align-items: center;justify-content: center;}
.cp-offering-edit-current-img{height:170px !important;}
.cp-add-offering-drop{min-height:190px !important;}
.cp-add-offering-fixed-prompt{font-weight:500 !important;}
.cp-add-offering-fixed{min-height:180px !important;}
.cp-offering-edit-current-empty{min-height:120px !important;}
.transaction-header .text-primary{color:#333 !important;font-size:13px !important;}
.cp-offering-edit-current-img{object-fit: contain !important;}
.cp-add-offering-fixed{max-width:250px !important;}
.cp-concept.is-selected{box-shadow:none !important;}
.cp-carousel{gap:4px !important;}

.cp-add-offering-fixed,.cp-btn-custom{border:1px dashed rgba(179, 180, 184, 1) !important}

.cp-concepts-head .sub-text{font-size:12px !important;font-weight:400 !important;color:var(--cp-text-2);margin:-5px 0 0 !important;}
/* .cp-btn-process {
    animation: pulse-btn 2s ease-in-out infinite;
} */


.cp-center-add{padding:0 16px !important;}
.cp-carousel-track .cp-concept{display:flex !important;min-width:280px !important}
.cp-concept-label{white-space:normal !important;}
.cp-concept-img{max-width:95px;}
.cp-concept-foot{flex-direction:column;}
.cp-concept-radio{width:100%;}
.cp-add-offering-card{max-height:92vh !important;}
.cp-concept-url a{font-size:10px !important;color:var(--cp-text-1) !important;opacity:1 !important;white-space:normal !important;text-decoration: underline !important;margin-bottom:4px;display:block !important;word-break: break-all;
    overflow-wrap: break-word;}
.cp-concept-url a:hover{opacity:1 !important;text-decoration:underline !important}
/* .cp-concept-label{font-size:12px !important;} */
@keyframes pulse-btn {
    0%   { box-shadow: 0 0 0 0    rgba(26, 31, 54, 0.9); }
    50%  { box-shadow: 0 0 0 14px rgba(26, 31, 54, 0);   }
    100% { box-shadow: 0 0 0 0    rgba(26, 31, 54, 0);   }
}

/* DARK MODE AUTO */
@media (prefers-color-scheme: dark) {
    .modal-content {
        background: #0f172a;
        color: #e5e7eb;
    }

    .modal-header,
    .modal-footer {
        border-color: #1f2937;
    }

    .form-control {
        background: #1f2937;
        border-color: #374151;
        color: #fff;
    }

    .form-control::placeholder {
        color: #9ca3af;
    }

    hr {
        border-color: #374151;
    }
}

@media (min-width: 1920px) {
    .snap-section {
        justify-content: center !important;
    }
}

@media (max-width: 1300px) {
    .cp-add-form{
        width: 100% !important;
        max-width: 750px !important;
    }
}

@media (max-width:1024px){
    .card-flex-content,.flex-content{flex-direction:column;}
    .flex-content{gap:0 !important;}
    .page-detail-content .col-card{grid-template-columns:repeat(1, 1fr)}
    .page-detail-content .color-list{margin-bottom:30px;}
    .card-flex-content{gap:15px !important;}
    .page-detail-content .flex-content{width:100%;padding:10px 20px;}
    .page-detail-content h3{font-size:16px;}
}

@media (max-width:767px){
    .sm-flex-column{flex-direction:column !important;justify-content:flex-start !important;align-items: flex-start !important;}
    .campaign-info-grid,.cp-offerings-foot{flex-direction:column;}
    .campaign-info-grid .campaign-info-grid-item:not(:last-child)::after{display:none;}
    .campaign-info-grid-item{margin-bottom:15px;border:1px solid #dedede;width:100%;padding:10px 0;border-radius:12px;}
    .campaign-main-header h1{margin-bottom:25px;}
    .search-form,.date-range-wrapper,.date-range-section,#cpBtnCustom,.cp-brand-edit-input--name{width:100% !important;}
    #cpBtnCustom{text-align: center;justify-content: center !important;}
    .date-input{width:calc(100% - 30px);}
    .campaign-main-header{position:relative !important}
    .labs-footer-bottom .no-link-bg{order:1}
    .labs-footer-bottom .footer-copy-right{order:2;margin-bottom:30px;}
    .labs-footer-bottom {margin-bottom:30px;}
    .modal .modal-header,.modal .modal-body{padding-left:30px !important;padding-right:30px !important;}
    .modal-demo-header{flex-direction:column;display:flex !important;gap:0;}
    .sm-none{display:none !important;}
    .sm-show{display:flex !important;}
    .cp-left{height:auto !important;}
    .cp-select-hint{white-space: normal !important;}
    .cp-custom-concept-card, .cp-add-offering-card{padding-left:30px !important;padding-right:30px !important;}
    .cp-left.is-open .cp-left-inner{max-height:calc(100vh - 150px) !important;}
    .modal-fullscreen-sm-down .modal-content{height:auto !important;margin:0 10px;border-radius:15px;}
    .cp-form-item{display:flex;flex-direction: column;}
    .cp-add-input-wrap{display:flex !important;flex-direction: row !important;}
    .no-website-btn{width:100%;}
    .cp-brand-details-top{margin:32px 0 10px;}
    .table td{min-width:140px;text-align: center !important;}
     .flex-header h4{font-size:1.5rem;}
    .flex-header .text-primary{font-size:13px !important;font-weight:500;}
    .transaction-card .card-body{flex-direction:column;}
    .cp-offering-edit-current-img, .cp-offering-edit-current-empty{height:auto !important;}
    .flip-left {
    transform: scaleX(-1);
    }
    .ai-agent-icon{width:32px;height:32px;background:#29364e;color:#fff;display:flex;align-items: center;justify-content: center;border-radius:100%}
    /* When sidebar is open, allow internal panels to fill the container */
    .cp-left.is-open .cp-left-inner {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .cp-brands, .cp-console {
        flex: 1 1 100% !important; /* Force full height */
        margin: 0 !important;
    }

    .cp-mobile-title-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligns text to the left */
    line-height: 1.2;
}

.cp-mobile-main-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--cp-text-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px; /* Adjust based on your screen width */
}

.cp-mobile-sub-text {
    font-size: 10px;
    font-weight: 500;
    color: var(--cp-text-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cp-left.is-open .cp-left-inner {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    /* Active panel fills sidebar */
    .cp-brands, .cp-console {
        flex: 1 1 100% !important;
        margin: 0 !important;
    }

    /* Handle collapsing of brand info */
    .cp-brand-head.is-collapsed {
        display: none !important;
    }

    /* Remove default dropdown icon if present */
    .cp-left-toggle-chev {
        display: none !important;
    }
    .cp-add-offering-tile{width:100%;min-width:100% !important;}
    .no-website-btn{margin:10px 0 0;}
    .cp-offerings-row{flex-direction:column;}
    .cp-add-offering-fixed{min-height:250px !important;width:calc(100% - 77px);margin:8px auto;}
    .table td{font-size:14px !important;}
    .transaction-card select,.transaction-card .form-control{font-size:14px !important;}
    .cp-brand-edit-save, .cp-brand-edit-cancel{height:26px !important;font-size:12px !important;font-weight:400 !important;}
    .cp-concept.is-selected{box-shadow: none !important;}
    .cp-offering-edit-current-img{object-fit: cover !important;}
    .cp-add-offering-fixed{max-width:none !important}

    .cp-carousel-track .cp-concept{display:block !important;}
    .cp-concept-img{max-width:100%;}
    .cp-carousel-track{padding:4px 0 8px !important;}

    .cp-add-form .card{padding:15px 15px !important;}
    .cp-shell .cp-center-add{padding:0 !important;}
    .cp-add-form .add-products-btn{padding:10px 8px !important;}
    .icon-btn-group{flex:1 !important;}
    .sel-card{flex-direction:column;}
    .cp-add-form .pp-card, .cp-add-form .cp-carousel-track .pp-card{min-width:auto !important}
    .pp-card .pp-remove{line-height:10px !important;right:6px !important;}
    .add-products-btn svg{width:11px !important;height:11px !important;}
    .page-detail-content .color-list,.card-flex-content, .flex-content{justify-content: center;align-items: center;}
    .page-detail-content .cap-row,.page-detail-content .eg-meta{flex-direction: column;text-align: center;justify-content: center;align-items: center;}
    .page-detail-content .eg-meta{gap:15px;}
    .page-detail-content .box-image{height:auto !important;}
    .page-detail-content p{text-align: center;}
    .page-detail-content .col-card{gap:0 15px !important;}
    .page-detail-content .card-image{margin-bottom:15px !important;}
    .page-detail-hero .full-image{border-radius:10px !important;}
    .hes-slide,.hes-text-wrap{max-width:100% !important;}
    .hes-text-wrap{height:auto !important;}
}
.h-100{height:100%;}
.unsubscribe-content{height:calc(100vh - 116px);display:flex;flex-direction:column;align-items: center;justify-content: center;}
.unsubscribe-wrapper{
        width:100%;
        max-width:1200px;
        background:#fff;
        border-radius:28px;
        overflow:hidden;
        display:grid;
        align-items: flex-start;
        grid-template-columns:1fr 1.05fr;
        box-shadow:0 15px 40px rgba(0,0,0,0.08);
    }

    /* LEFT */
    .unsubscribe-wrapper .left-side{
        padding:30px;
        display:flex;
        flex-direction:column;
        justify-content:center;
    }

    .unsubscribe-wrapper .logo{
        font-size:26px;
        font-weight:700;
        margin-bottom:30px;
        display:none;
    }

    .unsubscribe-wrapper .logo span{
        color:#00008B;
    }

    .unsubscribe-wrapper h1{
        font-size:26px;
        line-height:1.1;
        margin-bottom:10px;
        font-weight:700;
    }

    .unsubscribe-wrapper .subtitle{
        font-size:15px;
        color:#6b7280;
        margin-bottom:15px;
        line-height:1.6;
    }

    .unsubscribe-wrapper .mini-card h4{font-size:18px;}

    .unsubscribe-wrapper .email-box{
        background:#f4f5f9;
        border-radius:12px;
        padding:12px 15px;
        margin-bottom:15px;
        font-size:14px;
        color:#4b5563;
    }

    .unsubscribe-wrapper .options{
        display:flex;
        flex-direction:column;
        gap:18px;
        margin-bottom:20px;
    }

    .unsubscribe-wrapper .option{
        border:1px solid #e5e7eb;
        border-radius:16px;
        padding:18px 20px;
        display:flex;
        align-items:center;
        gap:14px;
        cursor:pointer;
        transition:0.3s;
    }

    .unsubscribe-wrapper .option:hover{
        border-color:#00008B;
        background:#f9f8ff;
    }

    .unsubscribe-wrapper .option input{
        accent-color:#00008B;
        width:18px;
        height:18px;
    }

    .unsubscribe-wrapper .option-text h3{
        font-size:15px;
        margin-bottom:0;
    }

    .unsubscribe-wrapper .option-text p{
        font-size:13px;
        color:#6b7280;
        margin-bottom:0;
    }

    .unsubscribe-wrapper .buttons{
        display:flex;
        gap:16px;
        flex-wrap:wrap;
    }

    .unsubscribe-wrapper button{
        border:none;
        padding:16px 28px;
        border-radius:14px;
        font-size:15px;
        font-weight:600;
        cursor:pointer;
        transition:0.3s;
    }

    .unsubscribe-wrapper .unsubscribe-btn{
        background:#00008B;
        color:#fff;
    }

    .unsubscribe-wrapper .unsubscribe-btn:hover{
        background:#00008B;
    }

    .unsubscribe-wrapper .stay-btn{
        background:#eef0f4;
        color:#111827;
    }

    .unsubscribe-wrapper .stay-btn:hover{
        background:#0F172A;
        color:#fff;
    }

    /* RIGHT */
    .unsubscribe-wrapper .right-side{
        background:linear-gradient(135deg,#00008B,#8b7cff);
        position:relative;
        display:flex;
        align-items:start;
        justify-content:center;
        padding:0;
    }

    .unsubscribe-wrapper .illustration {
        width: 100%;
        height: 100%;
    }

.unsubscribe-wrapper .image-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    height: 100%;
}

.unsubscribe-wrapper .image-card {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.unsubscribe-wrapper .image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* auto fit full box */
    display: block;
}


/* Responsive */
@media (max-width: 768px) {
    .unsubscribe-wrapper .image-row {
        grid-template-columns: 1fr;
    }
}

    /* MOBILE */
    @media(max-width:900px){
        .unsubscribe-content{height:auto !important;}
        .unsubscribe-wrapper{
            grid-template-columns:1fr;
        }

        .unsubscribe-wrapper .right-side{
            order:2;
            min-height:400px;
        }
        .unsubscribe-wrapper{box-shadow:none !important;border-radius:5px;}
        .unsubscribe-wrapper .left-side{
            order:1;
            padding:45px 28px;
            border-bottom:20px solid #f5f6fa
        }

       .unsubscribe-wrapper  h1{
            font-size:38px;
        }
    }

    @media(max-width:600px){

        .unsubscribe-wrapper h1{
            font-size:24px;
        }

        .unsubscribe-wrapper .buttons{
            flex-direction:column;
        }

        .unsubscribe-wrapper button{
            width:100%;
        }

    }


/*======New creative plaground ========*/
 /* ── CARD ── */
.cp-add-form .card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:28px 32px 24px; width:100%; max-width:780px; box-shadow:var(--shadow-sm); }
.cp-add-form .card-title { font-size:15px; font-weight:600; color:var(--ink); margin-bottom:18px; letter-spacing:-0.01em; }
 
/* ── TEXTAREA ── */
.textarea-wrap { position:relative; border:1.5px solid var(--border); border-radius:var(--radius-sm); background:var(--surface); transition:border-color .15s; margin-bottom:0; }
.textarea-wrap:focus-within { border-color:var(--accent); box-shadow:0 0 0 3px rgba(14,165,233,0.1); }
.brand-textarea { width:100%; min-height:110px; padding:14px 16px 14px; border:none; outline:none; resize:none; font-family:'DM Sans',sans-serif; font-size:15px; font-weight:300; color:var(--ink); background:transparent; line-height:1.65; display:block; }
.brand-textarea::placeholder { color:var(--muted); }
 
/* ── CHIPS BAR ── */
.inline-chips { display:flex; gap:7px; align-items:center; flex-wrap:wrap; padding:8px 4px 0; width:100%; overflow:visible; }
.inline-chips.hidden  { display:none; }
.inline-chips.visible { display:flex; }
 
/* ── CHIP ── */
.chip {
  display:inline-flex; align-items:center; gap:5px;
  padding:5px 11px 5px 9px;
  background:var(--surface); border:1px solid var(--border-2);
  border-radius:20px; font-size:12px; font-weight:500; color:var(--ink);
  cursor:pointer; user-select:none; white-space:nowrap;
  transition:border-color .15s,background .15s,box-shadow .15s;
}
.chip:hover  { border-color:var(--accent); background:#f0f9ff; }
.chip.active { border-color:var(--accent); background:#e0f2fe; color:#0369a1; }
.chip.open .chip-caret { transform:rotate(180deg); }
.chip-caret { font-size:9px; color:var(--muted); transition:transform .2s; margin-left:1px; }
.chip-badge { display:none; align-items:center; justify-content:center; width:16px; height:16px; border-radius:50%; background:var(--accent); color:#fff; font-size:9px; font-weight:700; margin-left:2px; }
.chip-badge.show { display:inline-flex; }
.chip-swatch { width:11px; height:11px; border-radius:50%; border:1px solid rgba(0,0,0,0.15); flex-shrink:0; display:none; }
.chip-swatch.show { display:block; }
 
/* ── DROPDOWN ── */ 
.cp-add-form .dropdown {
  position:fixed; z-index:200;
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-sm); box-shadow:var(--shadow);
  padding:12px; opacity:0;
  transform:translateY(-6px) scale(.97);
  pointer-events:none;
  transition:opacity .18s,transform .18s;
}
.cp-add-form .dropdown.open { opacity:1; transform:none; pointer-events:auto; }
 
.cp-add-form .dropdown-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.cp-add-form .dropdown-title { font-size:11px; font-weight:600; color:var(--muted); letter-spacing:.08em; text-transform:uppercase; }
.cp-add-form .dropdown-limit { font-size:10px; font-weight:600; color:var(--muted); background:#f5f5f3; border-radius:10px; padding:1px 7px; }
.cp-add-form .dropdown-limit.maxed { color:#d97706; background:#fef3c7; }
 
/* ── CHECKBOX LIST (vibes & tones) ── */
.check-list { display:flex; flex-direction:column; gap:3px; }
.check-item {
  display:flex; align-items:center; gap:8px;
  padding:6px 8px; border-radius:6px; cursor:pointer;
  transition:background .12s;
}   
.check-item:hover { background:#f5f5f3; }
.check-item.checked { background:#f0f9ff; }
.check-item.disabled { opacity:.35; cursor:not-allowed; pointer-events:none; }
.check-box {
  width:15px; height:15px; border:1.5px solid var(--border-2); border-radius:3px;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  transition:background .12s,border-color .12s;
}
.check-item.checked .check-box { background:var(--accent); border-color:var(--accent); }
.check-icon { width:8px; height:8px; opacity:0; transition:opacity .12s; }
.check-item.checked .check-icon { opacity:1; }
.check-label { font-size:13px; color:var(--ink); font-weight:400; }
 
/* ── COLOR PICKER ── */
.color-picker-wrap { display:flex; flex-direction:column; gap:10px; }
.color-canvas-wrap { position:relative; width:100%; height:130px; border-radius:6px; overflow:hidden; cursor:crosshair; }
#colorCanvas { width:100%; height:100%; display:block; }
.color-cursor { position:absolute; width:12px; height:12px; border:2px solid #fff; border-radius:50%; box-shadow:0 0 0 1px rgba(0,0,0,.3); pointer-events:none; transform:translate(-50%,-50%); top:50%; left:50%; }
.hue-slider { width:100%; height:12px; border-radius:6px; background:linear-gradient(to right,hsl(0,100%,50%),hsl(60,100%,50%),hsl(120,100%,50%),hsl(180,100%,50%),hsl(240,100%,50%),hsl(300,100%,50%),hsl(360,100%,50%)); -webkit-appearance:none; outline:none; border:none; cursor:pointer; }
.hue-slider::-webkit-slider-thumb { -webkit-appearance:none; width:16px; height:16px; border-radius:50%; background:#fff; border:2px solid rgba(0,0,0,.2); box-shadow:0 1px 4px rgba(0,0,0,.2); }
.color-meta-row { display:flex; align-items:center; gap:8px; }
.color-hex-wrap { display:flex; align-items:center; gap:4px; background:#f5f5f3; border:1px solid var(--border); border-radius:5px; padding:4px 8px; flex:1; }
.color-hex-label { font-size:10px; color:var(--muted); font-family:monospace; }
.color-hex-input { border:none; background:transparent; font-family:monospace; font-size:12px; color:var(--ink); width:72px; outline:none; }
.color-opacity-wrap { display:flex; align-items:center; gap:4px; background:#f5f5f3; border:1px solid var(--border); border-radius:5px; padding:4px 8px; }
.color-opacity-input { border:none; background:transparent; font-size:12px; color:var(--ink); width:36px; outline:none; text-align:right; }
.color-opacity-pct { font-size:12px; color:var(--muted); }
 
/* ── BOTTOM ROW ── */
.bottom-row { display:flex; align-items:center; gap:10px; flex-wrap:nowrap; }
.add-products-btn { display:inline-flex; align-items:center; gap:8px; padding:11px 20px; border:1.5px solid var(--border-2); border-radius:22px; background:var(--surface); font-family:'DM Sans',sans-serif; font-size:13px; font-weight:500; color:var(--ink); cursor:pointer; white-space:nowrap; transition:border-color .15s,box-shadow .15s; }
.add-products-btn:hover { border-color:#1A1A17; box-shadow:0 2px 8px rgba(0,0,0,0.15), 0 1px 2px rgba(0,0,0,0.1) !important }
 
.selected-tags { display:flex; align-items:center; gap:6px; flex-wrap:wrap; width:100%; padding:6px 0 0; }
 
/* tag colors per type */
.sel-tag { display:inline-flex; align-items:center; gap:5px; padding:4px 10px; border-radius:20px; font-size:12px; font-weight:500; animation:tagIn .15s ease; }
.sel-tag.vibe  { background:#e0f2fe; color:#0369a1; border:1px solid #bae6fd; }
.sel-tag.tone  { background:#f0fdf4; color:#15803d; border:1px solid #bbf7d0; }
.sel-tag.color { background:#f5f5f3; color:var(--ink); border:1px solid var(--border-2); }
.sel-tag-dot { width:10px; height:10px; border-radius:50%; border:1px solid rgba(0,0,0,.15); flex-shrink:0; }
.sel-tag-remove { cursor:pointer; font-size:10px; opacity:.55; line-height:1; transition:opacity .1s; margin-left:1px; }
.sel-tag-remove:hover { opacity:1; }
 
@keyframes tagIn { from{opacity:0;transform:scale(.9) translateY(2px)} to{opacity:1;transform:none} }
 
.bottom-spacer { flex:1; min-width:0; }
.submit-btn { width:48px; height:48px; border-radius:50%; background:var(--ink); border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:background .15s,transform .1s; box-shadow:0 2px 8px rgba(0,0,0,.18); }
.submit-btn:hover { background:#2a2a28; transform:scale(1.04); }
.submit-btn:hover svg {stroke:#fff !important;}
.submit-btn svg { width:20px; height:20px;stroke:#000; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
 
#dropdownOverlay { position:fixed; inset:0; z-index:199; display:none; }
#dropdownOverlay.active { display:block; }
/* ═══════════════════════════════════════════════
   SCROLL FIX — added
   Ensures the right column and add-brand section
   scroll when content (dropdowns, form) grows.
═══════════════════════════════════════════════ */
.cp-shell {
    overflow: hidden !important;
}
.cp-main {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: 100% !important;
}
.cp-center-add {
    height: auto !important;
    min-height: 0 !important;
}
.cp-add-inner,
.cp-add-form {
    overflow: visible !important;
}  
/* ═══════════════════════════════════════════════════════════
   ICON BUTTONS + COLOR/LOCATION DROPDOWNS
   ─────────────────────────────────────────────────────────
   (1) vibe + tone chips removed
   (2) add-products-btn left, submit right
   (3) icon button group: color palette + location pin
   (4) color dropdown: swatch grid + canvas + rect preview
   (5) location dropdown: search + list + selected tag
═══════════════════════════════════════════════════════════ */

/* ── Hide vibe/tone chips (removed per req 1) ── */
#vibeChip, #toneChip, .inline-chips { display:none !important; }

/* ── Bottom row ── */
.bottom-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    margin-top: 10px;
}

.bottom-spacer { flex: 1; min-width: 0; }

/* ── Icon button group ── */
.icon-btn-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    flex: 1;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--cp-border, #e2e2de);
    background: var(--cp-surface, #fff);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .15s, background .15s, transform .1s, box-shadow .15s;
    flex-shrink: 0;
    color: var(--cp-text-2, #4a4540);
}

.icon-btn svg {
    width: 18px;
    height: 18px;
}

.icon-btn:hover {
    border-color: var(--cp-accent, #0ea5e9);
    background: #f0f9ff;
    color: var(--cp-accent, #0ea5e9);
    transform: scale(1.07);
    box-shadow: 0 2px 8px rgba(14,165,233,0.15);
}

.icon-btn.active {
    border-color: var(--cp-accent, #0ea5e9);
    background: #e0f2fe;
    color: var(--cp-accent, #0ea5e9);
}

/* ── Icon dropdowns (body-level, position:fixed via JS) ── */
.icon-dropdown {
    position: fixed;
    z-index: 300;
    min-width: 240px;
    background: var(--cp-surface, #fff);
    border: 1px solid var(--cp-border, #e2e2de);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
    padding: 14px;
    opacity: 0;
    transform: translateY(-6px) scale(.97);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    /* ensure off-screen until positioned */
    left: -9999px;
    top: -9999px;
}

.icon-dropdown.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.icon-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.icon-dropdown-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cp-text-3, #6b7280);
}

.icon-dropdown-limit {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    background: #f5f5f3;
    color: var(--cp-text-3, #6b7280);
}

.icon-dropdown-limit.maxed {
    background: #fef3c7;
    color: #d97706;
}

/* ── Color swatch grid ── */
.color-swatch-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 12px;
}

.color-swatch-item {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    border: 1.5px solid rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform .12s, box-shadow .12s;
}

.color-swatch-item:hover {
    transform: scale(1.2);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.color-swatch-item.selected {
    border-color: var(--cp-accent, #0ea5e9);
    box-shadow: 0 0 0 2px rgba(14,165,233,0.35);
}

/* ── Color canvas + hue (reuse existing) ── */
.color-canvas-wrap { position:relative; width:100%; height:120px; border-radius:6px; overflow:hidden; cursor:crosshair; }
#colorIconCanvas   { width:100%; height:100%; display:block; }
.color-cursor      { position:absolute; width:12px; height:12px; border:2px solid #fff; border-radius:50%; box-shadow:0 0 0 1px rgba(0,0,0,.3); pointer-events:none; transform:translate(-50%,-50%); }

.hue-slider {
    width:100%; height:10px; border-radius:6px; margin:8px 0;
    background: linear-gradient(to right,hsl(0,100%,50%),hsl(60,100%,50%),hsl(120,100%,50%),hsl(180,100%,50%),hsl(240,100%,50%),hsl(300,100%,50%),hsl(360,100%,50%));
    -webkit-appearance:none; outline:none; border:none; cursor:pointer;
}
.hue-slider::-webkit-slider-thumb { -webkit-appearance:none; width:16px; height:16px; border-radius:50%; background:#fff; border:2px solid rgba(0,0,0,.2); box-shadow:0 1px 4px rgba(0,0,0,.2); }

.color-meta-row  { display:flex; align-items:center; gap:8px; }
.color-hex-wrap  { display:flex; align-items:center; gap:4px; background:#f5f5f3; border:1px solid #e2e2de; border-radius:5px; padding:4px 8px; flex:1; }
.color-hex-label { font-size:10px; color:#9a9a94; font-family:monospace; }
.color-hex-input { border:none; background:transparent; font-family:monospace; font-size:12px; color:#1a1a18; width:68px; outline:none; }

.color-add-btn {
    padding: 5px 12px;
    border: 1px solid #c8c8c2;
    border-radius: 6px;
    background: #1a1a18;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .15s;
    flex-shrink: 0;
}
.color-add-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ── Selected colors list (rect boxes with color code) ── */
.color-selected-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}

.color-selected-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 7px;
    background: #f9f9f7;
    border: 1px solid #ebebea;
}

.color-rect {
    width: 36px;
    height: 22px;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.12);
    flex-shrink: 0;
}

.color-rect-code {
    font-family: monospace;
    font-size: 12px;
    font-weight: 500;
    color: #1a1a18;
    flex: 1;
}

.color-rect-remove {
    cursor: pointer;
    font-size: 11px;
    color: #9a9a94;
    opacity: .7;
    transition: opacity .1s;
    padding: 2px 4px;
    border-radius: 3px;
}
.color-rect-remove:hover { opacity: 1; color: #e53e3e; }

/* ── Location dropdown ── */
.location-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid #e2e2de;
    border-radius: 7px;
    background: #f9f9f7;
    margin-bottom: 8px;
}

.location-search-icon { flex-shrink: 0; color: #9a9a94; }

.location-search-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    color: #1a1a18;
    width: 100%;
    font-family: 'DM Sans', sans-serif;
}
.location-search-input::placeholder { color: #9a9a94; }

.location-list {
    max-height: 180px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ddd #f9f9f7;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #1a1a18;
    transition: background .12s;
}
.location-item:hover  { background: #f0f9ff; color: #0369a1; }
.location-item.active { background: #e0f2fe; color: #0369a1; font-weight: 500; }

.location-item svg { flex-shrink: 0; color: #9a9a94; }
.location-item:hover svg, .location-item.active svg { color: #0ea5e9; }

/* ── Selected location tag (shown below list) ── */
.location-selected {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 6px 10px;
    border-radius: 20px;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    font-size: 12px;
    font-weight: 500;
    color: #0369a1;
}

.location-selected svg { flex-shrink: 0; color: #0ea5e9; }

/* ── Selected tag pill in selectedTags row ── */
.sel-tag.location {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

/* ═══════════════════════════════════════
   SELECT2-STYLE LOCATION DROPDOWN
   + RECT COLOR BOXES
═══════════════════════════════════════ */

/* Location dropdown */
.loc-dropdown { padding: 0 !important; overflow: hidden; }

.loc-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--cp-border, #e2e2de);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 2;
}
.loc-search-box svg { flex-shrink:0; color:#9a9a94; }

.loc-search-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    font-family: 'DM Sans', sans-serif;
    color: #1a1a18;
    width: 100%;
}
.loc-search-input::placeholder { color: #bbb; }

.loc-list {
    max-height: 200px;
    overflow-y: auto;
    padding: 4px 0;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}
.loc-list::-webkit-scrollbar { width: 4px; }
.loc-list::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

.loc-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 13px;
    color: #1a1a18;
    transition: background .1s;
}
.loc-item:hover  { background: #f0f9ff; }
.loc-item.active { background: #e0f2fe; font-weight: 500; color: #0369a1; }
.loc-item svg    { flex-shrink:0; color:#9a9a94; }
.loc-item:hover svg, .loc-item.active svg { color:#0ea5e9; }

.loc-item-name    { flex:1; }
.loc-item-country { font-size:11px; color:#aaa; }
.loc-item.active .loc-item-country { color:#7cc4ea; }
.loc-item-check   { margin-left:auto; color:#0ea5e9; font-size:13px; display:none; }
.loc-item.active .loc-item-check { display:block; }

/* Selected row inside dropdown */
.loc-selected-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 12px 10px;
    padding: 7px 10px;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #0369a1;
}
.loc-selected-row svg { flex-shrink:0; color:#0ea5e9; }
.loc-selected-text    { flex:1; }
.loc-remove {
    cursor:pointer; font-size:11px; opacity:.6;
    width:16px; height:16px; display:flex;
    align-items:center; justify-content:center;
    border-radius:50%; transition:opacity .1s, background .1s;
}
.loc-remove:hover { opacity:1; background:rgba(3,105,161,0.12); }

/* ── COLOR rect boxes ── */
.color-selected-list  { display:flex; flex-direction:column; gap:5px; margin-top:8px; }

.color-selected-row {
    display:flex; align-items:center; gap:10px;
    padding:6px 8px; border-radius:7px;
    background:#f9f9f7; border:1px solid #ebebea;
}
.color-rect {
    width:38px; height:22px; border-radius:4px;
    border:1px solid rgba(0,0,0,.12); flex-shrink:0;
}
.color-rect-code { font-family:monospace; font-size:12px; font-weight:500; color:#1a1a18; flex:1; }
.color-rect-remove {
    cursor:pointer; font-size:11px; color:#9a9a94;
    opacity:.6; padding:2px 4px; border-radius:3px; transition:opacity .1s, color .1s;
}
.color-rect-remove:hover { opacity:1; color:#e53e3e; }

/* No-results message */
.loc-empty {
    padding: 14px;
    text-align: center;
    font-size: 12px;
    color: #bbb;
}

/* icon-dropdown header padding fix */
.icon-dropdown .icon-dropdown-header { padding: 12px 12px 0; margin-bottom: 8px; }
.loc-dropdown .icon-dropdown-header  { padding: 10px 12px 8px; margin:0; border-bottom:1px solid #f0eeeb; }

/* ═══════════════════════════════════════════════════
   SELECTED TAGS CARD
   Shows color boxes + location in a clean card below
   the bottom row
═══════════════════════════════════════════════════ */

#selectedTags { width: 100%;margin-top:0 !important; }

.sel-card {
    background: #ffffff;
    border: 1px solid #e8e8e4;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    width:100% !important;
    display:flex !important;
}

.sel-card-section {
    padding: 10px 14px 12px;
}

.sel-card-section--border {
    border-top: 1px solid #f0eeeb;
}

/* Section label — small uppercase with icon */
.sel-card-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 8px;
    font-size:10px !important;
    font-weight:500 !important;
}
.sel-card-label svg { flex-shrink: 0; }

/* ── Color row ── */
.sel-color-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sel-color-box {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 9px 5px 6px;
    background: #f9f9f7;
    border: 1px solid #ebebea;
    border-radius: 7px;
    transition: border-color .15s;
}
.sel-color-box:hover { border-color: #c8c8c2; }

/* Color rectangle */
.sel-color-rect {
    width: 34px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.1);
    flex-shrink: 0;
}



/* Remove button */
.sel-color-remove {
    cursor: pointer;
    font-size: 10px;
    color: #b0aea8;
    line-height: 1;
    padding: 2px;
    border-radius: 3px;
    transition: color .1s, background .1s;
}
.sel-color-remove:hover { color: #e53e3e; background: #fff1f1; }

/* ── Location box ── */
.sel-location-box {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 3px 10px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 5px;
    font-size: 11px;
    color: #0369a1;
}
.sel-location-box svg { flex-shrink: 0; color: #0ea5e9; }

.sel-location-name {
    font-weight: 600;
}
.sel-location-country {
    font-size: 11px;
    color: #7cc4ea;
    font-weight: 400;
}
.sel-location-remove {
    cursor: pointer;
    font-size: 10px;
    color: #7cc4ea;
    padding: 2px 3px;
    border-radius: 50%;
    transition: color .1s, background .1s;
    margin-left: 2px;
}
.sel-location-remove:hover { color: #0369a1; background: rgba(3,105,161,0.1); }

/* ═══════════════════════════════════════════════════════
   PENDING PRODUCTS SECTION
   Mirrors cp-carousel + cp-concept card styles exactly
═══════════════════════════════════════════════════════ */

/* Section wrapper — same padding as .cp-concepts-card */
.pp-section {
    margin-top: 12px;
    padding: 14px 14px 16px;
    border: 1px solid var(--cp-border, #e2e2de);
    border-radius: var(--cp-radius, 10px);
    background: var(--cp-surface, #fff);
}

/* Header */
.pp-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.pp-section-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500 !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cp-text-3, #6b7280);
}

.pp-section-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--cp-primary, #0f172a);
    color: var(--cp-primary-fg, #fff);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    line-height:11px;
}

/* Card — mirrors cp-concept exactly */
.pp-card {
    flex: 0 0 calc((100% - 24px) / 3);
    min-width: 0;
    scroll-snap-align: start;
    background: var(--cp-surface, #fff);
    border: 1.5px solid var(--cp-border, #e2e2de);
    border-radius: var(--cp-radius, 10px);
    overflow: hidden;
    position: relative;
    transition: border-color .15s, box-shadow .15s;
}
.pp-card:hover {
    border-color: var(--cp-border-2, #c8c8c2);
    box-shadow: var(--cp-shadow, 0 4px 12px rgba(0,0,0,0.08));
}

/* Image area — same proportions as cp-concept-img */
.pp-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #E5E7EB 0%, #F3F4F6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.pp-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: var(--cp-bg, #f9fafb);
}
.pp-img-letter {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--cp-text-4, #9ca3af);
    letter-spacing: -0.02em;
}

/* Remove button */
.pp-remove {
    position: absolute;
    top: 4px !important;
    right: 72px !important;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    transition: background .15s;
    z-index: 3;
}

/* pp-body/text/title/desc removed — cp-concept-foot/text/label/desc used directly */

/* ═══════════════════════════════════════════════════
   UX POLISH OVERRIDES
   More professional, user-friendly design
═══════════════════════════════════════════════════ */

/* ── Textarea ── */
.textarea-wrap {
    border-radius: 10px !important;
    border: 1.5px solid #e2e2de !important;
    transition: border-color .2s, box-shadow .2s !important;
}
.textarea-wrap:focus-within {
    border-color: #0ea5e9 !important;
    box-shadow: 0 0 0 4px rgba(14,165,233,0.08) !important;
}
.brand-textarea {
    font-size: 14px !important;
    color: #1a1a18 !important;
    letter-spacing: 0.01em;
}

/* ── Bottom row ── */
.bottom-row { margin-top: 10px !important; gap: 8px !important; }

/* ── Icon buttons ── */
.icon-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    border: 1.5px solid #e2e2de !important;
    background: #fff !important;
    transition: all .18s ease !important;
}
.icon-btn:hover {
    border-color: #0ea5e9 !important;
    background: #f0f9ff !important;
    color: #0ea5e9 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 10px rgba(14,165,233,0.15) !important;
}
.icon-btn.active {
    border-color: #0ea5e9 !important;
    background: #e0f2fe !important;
    color: #0369a1 !important;
}
.icon-btn svg { width: 16px !important; height: 16px !important; }

/* ── Add Your Products button ── */
.add-products-btn {
    padding: 10px 18px !important;
    border-radius: 10px !important;
    border: 1.5px solid #e2e2de !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    gap: 7px !important;
    transition: all .18s ease !important;
    background: #fff !important;
}
.add-products-btn:hover {
    border-color: #1a1a18 !important;
    color: #0369a1 !important;
    background: #f0f9ff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15), 0 1px 2px rgba(0,0,0,0.1) !important;
    transform: translateY(-1px) !important;
}
.add-products-btn svg {
    transition: transform .18s ease;
    width:12px;
    height:12px;
}
.add-products-btn:hover svg { transform: rotate(90deg); }

/* ── Submit button ── */
.submit-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    background: #1a1a18 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15), 0 1px 2px rgba(0,0,0,0.1) !important;
    transition: all .18s ease !important;
}
.submit-btn:hover {
    background: #1a1a18 !important;
    transform: translateY(-1px) scale(1.03) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15), 0 1px 2px rgba(0,0,0,0.1) !important;
}
.submit-btn svg {
    stroke: #fff !important;
    width: 18px !important;
    height: 18px !important;
}

/* ── sel-card (color + location) ── */
.sel-card {
    /* margin-top: 10px !important; */
    border-radius: 10px !important;
    border: 1px solid #eceae6 !important;
    box-shadow: none !important;
    overflow: hidden !important;
}
.sel-card-section { padding: 10px 14px 11px !important; }
.sel-card-label {
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
    color: #333 !important;
    margin-bottom: 8px !important;
}

/* Color boxes — tighter, more refined */
.sel-color-box {
    padding: 4px 8px 4px 5px !important;
    border-radius: 6px !important;
    gap: 7px !important;
    background: #f9f9f7 !important;
    border: 1px solid #e8e6e2 !important;
}
.sel-color-rect {
    width: 28px !important;
    height: 18px !important;
    border-radius: 3px !important;
}
.sel-color-code {
    font-size: 11px !important;
    letter-spacing: 0.03em !important;
    color: #3a3835 !important;
    line-height:11px;
}
.sel-color-remove {
    font-size: 9px !important;
    opacity: .5 !important;
    width: 14px; height: 14px;
    display: flex; align-items: center; justify-content: center;
}
.sel-color-remove:hover { opacity: 1 !important; }

/* Location pill */
.sel-location-box {
    padding: 3.5px 10px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    gap: 6px !important;
}
.sel-location-name { font-weight: 600 !important; font-size: 11px !important; }
.sel-location-country { font-size: 11px !important; }

.sel-card-section--border .sel-card-label{margin-bottom:7px !important;}

/* ── Products to add section ── */
.pp-section {
    margin-top: 10px !important;
    padding: 12px !important;
    border-radius: 10px !important;
    border: 1px solid #eceae6 !important;
    box-shadow: none !important;
}
.pp-section-head { margin-bottom: 10px !important; }
.pp-section-label {
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 0.18em !important;
    color: #b0aea8 !important;
    gap: 6px !important;
}
.pp-section-count {
    width: 18px; height: 18px;
    font-size: 10px !important;
    background: #1a1a18 !important;
    border-radius: 50% !important;
    min-width: 18px !important;
}

/* pp-card  — tighter, cleaner */
.pp-card,
.cp-carousel-track .pp-card {
    border-radius: 10px !important;
    border: 1.5px solid #e8e6e2 !important;
    overflow: hidden !important;
    transition: border-color .18s, box-shadow .18s, transform .18s !important;
    min-width:250px !important
}
.pp-card:hover {
    border-color: #c8c6c2 !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.09) !important;
    transform: translateY(-2px) !important;
}
.pp-card.is-selected {
    border-color: var(--cp-primary, #0f172a) !important;
    box-shadow: 0 0 0 3px rgba(15,23,42,0.08) !important;
}

/* Image — contains full product, light bg */
.pp-card .cp-concept-img {
    aspect-ratio: 4 / 3 !important;
    background: #f5f5f3 !important;
    border-bottom: 1px solid #f0eeeb !important;
}
.pp-card .cp-concept-img-file {
    padding: 8px !important;
}
.pp-card .cp-concept-img-letter {
    font-size: 2.4rem !important;
    color: #d0cec8 !important;
}

/* Remove × — more visible, clean */

.pp-remove:hover {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border-color: #fca5a5 !important;
}

/* Footer foot */
.pp-card .cp-concept-foot {
    padding: 9px 11px 11px !important;
    gap: 8px !important;
    background: #fff !important;
    border-top: 1px solid #f0eeeb !important;
}
.pp-card .cp-concept-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #1a1a18 !important;
    white-space: normal !important;
    display: -webkit-box !important;
    line-clamp: 2 !important; 
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: unset !important;
    margin-bottom: 3px !important;
}
.pp-card .cp-concept-desc {
    font-size: 11px !important;
    color: #8a8680 !important;
    line-height: 1.45 !important;
}

/* Select button — full width inside card */
.pp-card .cp-concept-radio {
    width: 100% !important;
    justify-content: center !important;
    padding: 7px 0 !important;
    border-radius: 7px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    border: 1.5px solid #e2e2de !important;
    background: #fff !important;
    color: #3a3835 !important;
    margin-top: 8px !important;
    transition: all .15s ease !important;
}
.pp-card .cp-concept-radio:hover {
    background: #f0f9ff !important;
    border-color: #0ea5e9 !important;
    color: #0369a1 !important;
}
.pp-card.is-selected .cp-concept-radio {
    background: #1a1a18 !important;
    border-color: #1a1a18 !important;
    color: #fff !important;
}
.pp-card.is-selected .cp-concept-radio:hover {
    background: #0f172a !important;
    border-color: #0f172a !important;
}

/* cp-concept-text should be full width in pp-card foot */
.pp-card .cp-concept-text { flex: 1 !important; min-width: 0 !important; }
.pp-card .cp-concept-foot { flex-direction: column !important; align-items: stretch !important; }

/* Carousel arrows — subtler */
.pp-section .cp-carousel-arrow {
    width: 30px !important;
    height: 30px !important;
    border-radius: 8px !important;
    border: 1.5px solid #e2e2de !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #6b6560 !important;
    transition: all .15s ease !important;
}
.pp-section .cp-carousel-arrow:hover:not([disabled]) {
    background: #1a1a18 !important;
    border-color: #1a1a18 !important;
    color: #fff !important;
}
.pp-section .cp-carousel-arrow-icon {
    font-size: 18px !important;
    font-weight: 400 !important;
}

.cp-add-offering-foot{display:flex;justify-content: flex-end;margin:12px 0 0;gap:15px;}
.cp-add-offering-foot .cp-add-offering-cancel{background: transparent;
    color: var(--cp-text-2);
    border: 1px solid var(--cp-border, rgba(0, 0, 0, 0.15));padding:4px 12px;font-size:13px;font-weight:500;border-radius:var(--cp-radius-sm);transition: background .15s ease, opacity .15s ease;height:32px;}
.cp-add-offering-foot .cp-add-offering-apply{background: var(--cp-primary);
    color: var(--cp-primary-fg);padding:4px 12px;font-size:13px;font-weight:500;border-radius:var(--cp-radius-sm);transition: background .15s ease, opacity .15s ease;height:32px;}

 .cp-add-offering-apply[disabled], .cp-add-offering-cancel[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}
.pp-section .cp-carousel-track{padding:0 !important;}
/* ═══════════════════════════════════════════════════
   LATEST CHANGES
═══════════════════════════════════════════════════ */

/* Default: form centred in viewport */
/* When products added → JS adds .has-products → anchor to top */
.cp-center-add.has-products {
    align-items: flex-start !important;
    padding-top: 0 !important;
}

/* ── Textarea ── */
.textarea-wrap {
    border-radius: 10px !important;
    border: 1.5px solid #e2e2de !important;
    transition: border-color .2s, box-shadow .2s !important;
}
.textarea-wrap:focus-within {
    border-color: #0ea5e9 !important;
    box-shadow: 0 0 0 4px rgba(14,165,233,0.08) !important;
}
.brand-textarea {
    font-size: 14px !important;
    color: #1a1a18 !important;
    letter-spacing: 0.01em;
}

/* ── Bottom row ── */
.bottom-row { margin-top: 10px !important; gap: 8px !important; }

/* ── Icon buttons — squircle style ── */
.icon-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    border: 1.5px solid #e2e2de !important;
    background: #fff !important;
    transition: all .18s ease !important;
}
.icon-btn:hover {
    border-color: #1a1a18 !important;
    background: #1a1a18 !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow:0 2px 8px rgba(0,0,0,0.15), 0 1px 2px rgba(0,0,0,0.1) !important;
}
.icon-btn.active {
    border-color: #0ea5e9 !important;
    background: #e0f2fe !important;
    color: #0369a1 !important;
}
.icon-btn svg { width: 16px !important; height: 16px !important; }

/* ── Add Your Products button ── */
.add-products-btn {
    padding: 10px 18px !important;
    border-radius: 10px !important;
    border: 1.5px solid #e2e2de !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    gap: 7px !important;
    transition: all .18s ease !important;
    background: #fff !important;
}
.add-products-btn:hover {
    border-color: #1a1a18 !important;
    color: #fff !important;
    background: #1a1a18 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15), 0 1px 2px rgba(0,0,0,0.1) !important;
    transform: translateY(-1px) !important;
}
.add-products-btn svg { transition: transform .18s ease; }
.add-products-btn:hover svg { transform: rotate(90deg); }

/* ── Submit button ── */
.submit-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    background: #1a1a18 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15), 0 1px 2px rgba(0,0,0,0.1) !important;
    transition: all .18s ease !important;
}
.submit-btn:hover {
    background: #1a1a18 !important;
    transform: translateY(-1px) scale(1.03) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15), 0 1px 2px rgba(0,0,0,0.1) !important;;
}
.submit-btn svg { stroke: #fff !important; width: 18px !important; height: 18px !important; }

/* ── sel-card (color + location) ── */
.sel-card {
    margin-top: 0 !important;
    border-radius: 10px !important;
    border: 1px solid #eceae6 !important;
    box-shadow: none !important;
    overflow: hidden !important;
}
.sel-card-section { padding: 10px 14px 11px !important; }
.sel-card-label {
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
    color: #333 !important;
    margin-bottom: 9px !important;
}
.sel-color-box {
    padding: 4px 8px 4px 5px !important;
    border-radius: 6px !important;
    gap: 7px !important;
    background: #f9f9f7 !important;
    border: 1px solid #e8e6e2 !important;
}
.sel-color-rect { width: 28px !important; height: 18px !important; border-radius: 3px !important; }
.sel-location-box {
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    gap: 6px !important;
}

/* ── Products section ── */
.pp-section {
    margin-top: 10px !important;
    padding: 12px !important;
    border-radius: 10px !important;
    border: 1px solid #eceae6 !important;
    box-shadow: none !important;
}
.pp-section-head { margin-bottom: 10px !important; }
.pp-section-label {
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 0.18em !important;
    color: #b0aea8 !important;
    gap: 6px !important;
}
.pp-section-count {
    width: 22px; height: 22px;
    font-size: 11px !important;
    background: #1a1a18 !important;
    border-radius: 50% !important;
    min-width: 22px !important;
}

/* ── pp-card mirrors cp-concept exactly ── */
.pp-card,
.cp-carousel-track .pp-card {
    border-radius: 10px !important;
    border: 1.5px solid #e8e6e2 !important;
    overflow: hidden !important;
    transition: border-color .18s, box-shadow .18s, transform .18s !important;
}
.pp-card:hover {
    border-color: #c8c6c2 !important;
    /* box-shadow: 0 4px 14px rgba(0,0,0,0.09) !important; */
    transform: translateY(-1px) !important;
}
.pp-card.is-selected {
    border-color: var(--cp-primary, #0f172a) !important;
    box-shadow: 0 0 0 3px rgba(15,23,42,0.08) !important;
}
.pp-card .cp-concept-img {
    aspect-ratio: 4 / 3 !important;
    background: #f5f5f3 !important;
    border-bottom: 1px solid #f0eeeb !important;
}
.pp-card .cp-concept-img-file { padding: 8px !important; }
.pp-card .cp-concept-img-letter { font-size: 2.4rem !important; color: #d0cec8 !important; }

.pp-card .cp-concept-foot {
    padding: 9px 11px 11px !important;
    gap: 8px !important;
    background: #fff !important;
    border-top: 1px solid #f0eeeb !important;
    flex-direction: column !important;
    align-items: stretch !important;
}
.pp-card .cp-concept-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #1a1a18 !important;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: unset !important;
    margin-bottom: 3px !important;
}
.pp-card .cp-concept-desc { font-size: 11px !important; color: #8a8680 !important; line-height: 1.45 !important; }
.pp-card .cp-concept-radio {
    width: 100% !important;
    justify-content: center !important;
    padding: 7px 0 !important;
    border-radius: 7px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border: 1.5px solid #e2e2de !important;
    background: #fff !important;
    color: #3a3835 !important;
    margin-top: 8px !important;
    transition: all .15s ease !important;
}
.pp-card .cp-concept-radio:hover { background: #f0f9ff !important; border-color: #0ea5e9 !important; color: #0369a1 !important; }
.pp-card.is-selected .cp-concept-radio { background: #1a1a18 !important; border-color: #1a1a18 !important; color: #fff !important; }
.pp-card.is-selected .cp-concept-radio:hover { background: #0f172a !important; border-color: #0f172a !important; }
.pp-card .cp-concept-text { flex: 1 !important; min-width: 0 !important; }
.pp-section .cp-carousel-arrow {
    width: 30px !important; height: 30px !important;
    border-radius: 8px !important;
    border: 1.5px solid #e2e2de !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #6b6560 !important;
    transition: all .15s ease !important;
}
.pp-section .cp-carousel-arrow:hover:not([disabled]) { background: #1a1a18 !important; border-color: #1a1a18 !important; color: #fff !important; }
.pp-section .cp-carousel-arrow-icon { font-size: 18px !important; font-weight: 400 !important; }
.brand-textarea{font-weight:500 !important;}
.brand-textarea::placeholder{color:#333;opacity:.8;}
/* ── DISABLED STATE — URL detected in textarea ── */
.icon-btn--disabled,
.add-products-btn--disabled {
    opacity: 0 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}
.cp-concept-edit-pencil{top:4px !important;left:4px !important;}
.cp-concepts-card .cp-concept-user-added-badge{top:auto !important;bottom:8px !important;right:auto !important;left:8px !important;}
.cp-concepts-card .cp-concept-foot{align-items: flex-start !important;}
/* ═══════════════════════════════════════════════════════
   DETAIL PAGE — hero image size fix
   Appended — overrides rules above via cascade
═══════════════════════════════════════════════════════ */

/* Hero featured image — constrain height so it never fills the full viewport */
.page-detail-hero .full-image {
    width: auto !important;
    max-width: 100% !important;
    max-height: 80vh !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
    margin: 0 auto !important;
    border-radius:0 !important;
}

/* Hero section — center align the image nicely */
.page-detail-hero {
    max-width: 800px;
    margin: 0 auto;
}

/* Caption below hero image — tighten spacing */
.page-detail-hero .cap {
    max-width: 100% !important;
    margin: 0 auto;
    text-align: left;
    width:100% !important;
}

/* Gallery card images — max height so tall images don't dominate */
.page-detail-content .box-image {
    max-height: 480px !important;
    overflow: hidden !important;
}

.page-detail-content .box-image img {
    width: 100% !important;
    height: 100% !important;
    max-height: 480px !important;
    object-fit: contain !important;
}

/* First gallery card (larger featured card) — slightly taller */
.page-detail-content .card-image .box-image {
    max-height: 520px !important;
}
.page-detail-content .card-image .box-image img {
    max-height: 520px !important;
}

/* ═══════════════════════════════════════════════════════
   IMAGE POPUP — detail page (Feature 1 hero + Feature 2 gallery slider)
═══════════════════════════════════════════════════════ */

#lp-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    flex-direction: column;
}

/* Top bar */
#lp-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    flex-shrink: 0;
}

#lp-counter {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    padding: 3px 10px;
    border-radius: 4px;
    min-width: 52px;
    text-align: center;
}

#lp-title {
    flex: 1;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    padding: 0 16px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#lp-close {
    background: none;
    border: none;
    color: #aaa;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    font-weight: 300;
    transition: color .15s;
}

#lp-close:hover { color: #fff; }

/* Image area */
#lp-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 16px;
    min-height: 0;
    overflow: hidden;
}

#lp-img {
    max-width: 100%;
    max-height: 96%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

/* Prev / Next buttons */
#lp-prev,
#lp-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .15s, opacity .2s;
}

#lp-prev:hover,
#lp-next:hover { background: rgba(255, 255, 255, 0.2); }

#lp-prev:disabled,
#lp-next:disabled { opacity: .25; cursor: default; }

/* Thumbnail strip */
#lp-thumbs {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 12px 20px 18px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

#lp-thumbs .lp-thumb {
    width: 48px;
    height: 34px;
    object-fit: cover;
    border-radius: 3px;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: .55;
    transition: opacity .15s, border-color .15s;
}

#lp-thumbs .lp-thumb.active {
    border-color: #fff;
    opacity: 1;
}

#lp-thumbs .lp-thumb:hover { opacity: .85; }

/* Single-image mode — hide slider controls */
#lp-popup.lp-single #lp-prev,
#lp-popup.lp-single #lp-next,
#lp-popup.lp-single #lp-counter,
#lp-popup.lp-single #lp-thumbs { display: none !important; }

/* Clickable gallery/hero images */
.lp-hero-img,
.lp-gallery-img { cursor: zoom-in; }

.cp-tile-variation-badge{margin-left:0 !important;margin-bottom:8px !important;}
.cp-tile-bottom-title .cp-creative-tile-angle{flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;text-align: left !important;word-break: break-word !important;
    white-space: break-spaces !important;}
.cp-btn-process[disabled]{background:#aaa !important;}
.cp-brand-attr-label span.red-mark{color:#dc2626 !important;}
.cp-add-offering-fixed-label{font-weight:500 !important;font-size:12px;}
.cp-add-offering-fixed-prompt{
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--cp-text-1) !important;
}
.cp-add-offering-fixed{background-color:rgba(239, 246, 255, .3) !important; transition: background-color .3s ease !important;}
.cp-add-offering-fixed:hover{background-color:rgba(239, 246, 255, 1) !important}

.text-no-plan{font-weight:500 !important;font-size:15px;}
.text-valid,.text-token{font-size: 13px !important;font-weight:500 !important;}
.dropdown-menu .plan-d-grid .btn{height:38px !important;font-size:14px !important;font-weight:500 !important;}