.ubp {
    --ubp-orange: #ff6600;
    --ubp-orange-dark: #e05a00;
    --ubp-orange-soft: #fff1e8;
    --ubp-orange-line: #ffd9bf;
    --ubp-blue: #0467ff;
    --ubp-navy: #0f172a;
    --ubp-ink: #111827;
    --ubp-text: #374151;
    --ubp-muted: #6b7280;
    --ubp-line: #e5e7eb;
    --ubp-soft: #f6f7fb;
    --ubp-green: #16a34a;
    --ubp-radius: 16px;
    --ubp-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
    --ubp-shadow-lg: 0 20px 48px rgba(16, 24, 40, .14);

    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ubp-text);
}
.ubp *, .ubp *::before, .ubp *::after { box-sizing: border-box; }
.ubp img { max-width: 100%; height: auto; }
.ubp a { text-decoration: none; }
.ubp button { font-family: inherit; }
.ubp-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.ubp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.ubp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 24px; border-radius: 10px; border: 2px solid transparent;
    font: 600 15px/1 'Poppins', sans-serif; letter-spacing: .01em; cursor: pointer; text-decoration: none !important;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.ubp-btn:hover { transform: translateY(-1px); }
.ubp-btn svg { width: 18px; height: 18px; flex: none; }
.ubp-btn--primary { background: var(--ubp-orange); color: #fff !important; box-shadow: 0 8px 20px rgba(255, 102, 0, .25); }
.ubp-btn--primary:hover { background: var(--ubp-orange-dark); }
.ubp-btn--blue { background: var(--ubp-blue); color: #fff !important; box-shadow: 0 8px 20px rgba(4, 103, 255, .22); }
.ubp-btn--blue:hover { background: #0356d6; }
.ubp-btn--ghost { background: #fff; color: var(--ubp-ink) !important; border-color: var(--ubp-line); }
.ubp-btn--ghost:hover { border-color: var(--ubp-ink); }
.ubp-btn--block { width: 100%; }

/* ---------- Breadcrumb ---------- */
.ubp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 20px 0 18px; font-size: 13px; color: var(--ubp-muted); }
.ubp-crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.ubp-crumbs li + li::before { content: "›"; color: #b6bcc6; font-size: 15px; }
.ubp-crumbs a { color: var(--ubp-muted) !important; text-decoration: none !important; }
.ubp-crumbs a:hover { color: var(--ubp-orange) !important; }
.ubp-crumbs [aria-current] { color: var(--ubp-ink); font-weight: 500; }

/* ---------- Alerts ---------- */
.ubp-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; line-height: 1.5; }
.ubp-alert svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.ubp-alert--ok { background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0; }
.ubp-alert--err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.ubp-alert ul { margin: 0; padding-left: 16px; }

/* ==========================================================================
   Top: gallery + summary
   ========================================================================== */
.ubp-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; padding-bottom: 56px; }

/* Gallery */
.ubp-gallery { position: sticky; top: 76px; }
.ubp-gallery__main { position: relative; border-radius: 20px; overflow: hidden; background: var(--ubp-soft); border: 1px solid var(--ubp-line); }
.ubp-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.ubp-gallery__track::-webkit-scrollbar { display: none; }
.ubp-gallery__slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; aspect-ratio: 1 / 1; display: grid; place-items: center; background: #fff; }
.ubp-gallery__slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ubp-gallery__arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ubp-ink);
    display: grid; place-items: center; cursor: pointer; box-shadow: var(--ubp-shadow); transition: background .2s, color .2s;
}
.ubp-gallery__arrow:hover { background: var(--ubp-orange); color: #fff; }
.ubp-gallery__arrow svg { width: 20px; height: 20px; }
.ubp-gallery__arrow--prev { left: 14px; }
.ubp-gallery__arrow--next { right: 14px; }
.ubp-gallery__count {
    position: absolute; right: 14px; bottom: 14px; z-index: 2; padding: 4px 10px; border-radius: 999px;
    background: rgba(17, 24, 39, .7); color: #fff; font-size: 12px; font-weight: 600;
}
.ubp-gallery__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.ubp-gallery__thumb {
    padding: 0; border: 2px solid var(--ubp-line); border-radius: 12px; overflow: hidden; background: #fff; cursor: pointer;
    aspect-ratio: 1 / 1; transition: border-color .2s, transform .2s;
}
.ubp-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ubp-gallery__thumb:hover { transform: translateY(-2px); }
.ubp-gallery__thumb[aria-current="true"] { border-color: var(--ubp-orange); }

/* Price + add to cart card */
.ubp-buy {
    margin-top: 18px; background: var(--ubp-orange-soft); border: 1px solid var(--ubp-orange-line); border-radius: var(--ubp-radius); padding: 18px;
}
.ubp-buy form { margin: 0; display: grid; grid-template-columns: auto 110px 1fr; gap: 14px; align-items: end; }
.ubp-buy__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ubp-muted); margin-bottom: 6px; }
.ubp-buy__price { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.ubp-buy__price strong { font-size: 30px; line-height: 1; font-weight: 800; color: var(--ubp-orange); }
.ubp-buy__price span { font-size: 13px; font-weight: 600; color: var(--ubp-muted); }
.ubp-buy__price del { font-size: 14px; color: #dc2626; font-weight: 600; }
.ubp-buy input[type="number"] {
    width: 100%; height: 48px; margin: 0; padding: 0 10px; text-align: center; font: 700 16px 'Poppins', sans-serif; color: var(--ubp-ink);
    border: 2px solid var(--ubp-orange); border-radius: 10px; background: #fff; box-shadow: none;
}
.ubp-buy input[type="number"]:focus { outline: none; box-shadow: 0 0 0 4px rgba(255, 102, 0, .15); }
.ubp-buy__note { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 13px; color: var(--ubp-text); }
.ubp-buy__note svg { width: 16px; height: 16px; color: var(--ubp-orange); flex: none; }

/* Summary (right) */
.ubp-summary { min-width: 0; }
.ubp-tag {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 6px;
    background: var(--ubp-orange); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.ubp-title { font-size: 34px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; color: var(--ubp-ink); margin: 12px 0 10px; }
.ubp-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }

/* Reviews tag (H1 ke neeche) */
.ubp-revtag {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 6px 12px 6px 6px;
    border: 1px solid var(--ubp-line); border-radius: 999px; background: #fff; text-decoration: none !important;
    transition: border-color .2s, box-shadow .2s;
}
.ubp-revtag:hover { border-color: var(--ubp-orange-line); box-shadow: var(--ubp-shadow); }
.ubp-revtag__faces { display: inline-flex; }
.ubp-revtag__faces > * {
    width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; object-fit: cover;
    display: inline-grid; place-items: center; background: var(--ubp-orange-soft); color: var(--ubp-orange); font-size: 12px; font-weight: 700;
}
.ubp-revtag__faces > *:first-child { margin-left: 0; }
.ubp-revtag__text { display: flex; flex-direction: column; line-height: 1.25; }
.ubp-revtag__text strong { font-size: 13px; color: var(--ubp-ink); font-weight: 700; }
.ubp-revtag__text span { font-size: 12px; color: var(--ubp-orange); font-weight: 500; }
.ubp-revtag__arrow { width: 16px; height: 16px; color: var(--ubp-muted); }
.ubp-reviews { scroll-margin-top: 80px; }
.ubp-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.ubp-pill--green { background: #ecfdf3; color: var(--ubp-green); }
.ubp-pill--soft { background: var(--ubp-soft); color: var(--ubp-text); }
.ubp-pill svg { width: 14px; height: 14px; }

.ubp-desc { position: relative; color: var(--ubp-muted); font-size: 15px; }
.ubp-desc__body { max-height: 5.2em; overflow: hidden; transition: max-height .3s ease; }
.ubp-desc__body > *:last-child { margin-bottom: 0; }
.ubp-desc__body p { margin: 0 0 10px; }
.ubp-desc.is-open .ubp-desc__body { max-height: none; }
.ubp-desc:not(.is-open).is-long .ubp-desc__body { -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.ubp-desc__toggle { display: none; margin-top: 4px; padding: 0; border: 0; background: none; color: var(--ubp-orange); font-weight: 600; font-size: 14px; cursor: pointer; }
.ubp-desc.is-long .ubp-desc__toggle { display: inline-block; }

.ubp-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 22px 0; padding: 0; list-style: none; }
.ubp-feats li { text-align: center; font-size: 12px; line-height: 1.35; color: var(--ubp-text); font-weight: 500; }
.ubp-feats__icon {
    width: 50px; height: 50px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center;
    background: var(--ubp-orange-soft); color: var(--ubp-orange);
}
.ubp-feats li:nth-child(even) .ubp-feats__icon { background: #eaf2ff; color: var(--ubp-blue); }
.ubp-feats__icon svg { width: 24px; height: 24px; }


/* Quote form */
.ubp-quote { border: 1px solid var(--ubp-line); border-radius: var(--ubp-radius); overflow: hidden; background: #fff; box-shadow: var(--ubp-shadow); scroll-margin-top: 90px; }
.ubp-quote__head { background: var(--ubp-orange); color: #fff; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ubp-quote__head h2 { margin: 0; font-size: 18px; font-weight: 700; color: #fff; line-height: 1.3; }
.ubp-quote__head span { font-size: 12px; opacity: .9; }
.ubp-quote__body { padding: 20px; }
.ubp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ubp-field--full { grid-column: 1 / -1; }
.ubp-field label { display: block; font-size: 12px; font-weight: 600; color: var(--ubp-ink); margin-bottom: 5px; }
.ubp-field input, .ubp-field select, .ubp-field textarea {
    width: 100%; min-height: 46px; margin: 0; padding: 11px 13px; border-radius: 10px;
    font: 400 14px/1.4 'Poppins', sans-serif; color: var(--ubp-ink);
    background: #fff; border: 1px solid #d6dae1; box-shadow: none; transition: border-color .2s, box-shadow .2s;
}
.ubp-field select {
    -webkit-appearance: none; appearance: none; padding-right: 36px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.ubp-field textarea { min-height: 96px; resize: vertical; }
.ubp-field input:focus, .ubp-field select:focus, .ubp-field textarea:focus {
    outline: none; border-color: var(--ubp-orange); box-shadow: 0 0 0 4px rgba(255, 102, 0, .12);
}
.ubp-field.has-error input, .ubp-field.has-error select { border-color: #dc2626; }
.ubp-field__err { display: block; font-size: 12px; color: #dc2626; margin-top: 4px; }
.ubp-quote .ubp-btn { margin-top: 16px; min-height: 52px; text-transform: uppercase; letter-spacing: .04em; }
.ubp-safe {
    display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border-radius: 10px;
    background: #f0fdf4; border: 1px solid #bbf7d0; font-size: 13px; line-height: 1.55; color: #166534;
}
.ubp-safe svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--ubp-green); }
.ubp-safe strong { color: #14532d; }
.ubp-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.ubp-trust li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12px; color: var(--ubp-text); font-weight: 500; }
.ubp-trust svg { width: 26px; height: 26px; color: var(--ubp-ink); }

/* ==========================================================================
   Why choose us
   ========================================================================== */
.ubp-why { background: var(--ubp-soft); padding: 64px 0; }
.ubp-sec-title { font-size: 30px; line-height: 1.25; font-weight: 700; color: var(--ubp-ink); text-align: center; margin: 0 0 32px; letter-spacing: -.02em; }
.ubp-sec-title--left { text-align: left; margin-bottom: 8px; }
.ubp-sec-sub { color: var(--ubp-muted); margin: 0 0 28px; }
.ubp-why__wrap { position: relative; }
.ubp-why__track {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 80px) / 6); gap: 16px;
    margin: 0; padding: 6px 2px 10px; list-style: none;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.ubp-why__track::-webkit-scrollbar { display: none; }
.ubp-why__item {
    scroll-snap-align: start; background: #fff; border: 1px solid var(--ubp-line); border-radius: 14px;
    padding: 22px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.ubp-why__arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid var(--ubp-line); background: #fff; color: var(--ubp-ink); display: grid; place-items: center; cursor: pointer;
    box-shadow: var(--ubp-shadow); transition: background .2s, color .2s, border-color .2s;
}
.ubp-why__arrow:hover { background: var(--ubp-orange); border-color: var(--ubp-orange); color: #fff; }
.ubp-why__arrow svg { width: 18px; height: 18px; }
.ubp-why__arrow--prev { left: -21px; }
.ubp-why__arrow--next { right: -21px; }
.ubp-why.is-static .ubp-why__arrow { display: none; }
.ubp-why__item:hover { transform: translateY(-4px); box-shadow: var(--ubp-shadow); border-color: var(--ubp-orange-line); }
.ubp-why__item img { width: 56px; height: 56px; object-fit: contain; margin: 0 auto 12px; display: block; }
.ubp-why__item p { margin: 0; font-size: 14px; font-weight: 600; color: var(--ubp-ink); line-height: 1.35; }

/* ==========================================================================
   Tabs: description + specification
   ========================================================================== */
.ubp-info { padding: 56px 0 24px; }
.ubp-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--ubp-line); margin-bottom: 32px; overflow-x: auto; }
.ubp-tabs button {
    padding: 14px 18px; border: 0; background: none; cursor: pointer; white-space: nowrap;
    font-size: 15px; font-weight: 600; color: var(--ubp-muted); border-bottom: 3px solid transparent; margin-bottom: -1px;
    transition: color .2s, border-color .2s;
}
.ubp-tabs button:hover { color: var(--ubp-ink); }
.ubp-tabs button[aria-selected="true"] { color: var(--ubp-orange); border-bottom-color: var(--ubp-orange); }
.ubp-panel[hidden] { display: none; }

/* Rich text (admin editor content) */
.ubp-rich { font-size: 16px; line-height: 1.8; color: var(--ubp-text); max-width: 980px; }
.ubp-rich > *:first-child { margin-top: 0 !important; }
.ubp-rich h2 { font-size: 26px; line-height: 1.3; font-weight: 700; color: var(--ubp-ink); margin: 44px 0 12px; letter-spacing: -.01em; }
.ubp-rich h2:first-child { margin-top: 0; }
.ubp-rich h3 { font-size: 19px; line-height: 1.4; font-weight: 600; color: var(--ubp-ink); margin: 26px 0 8px; }
.ubp-rich h4 { font-size: 17px; font-weight: 600; color: var(--ubp-ink); margin: 22px 0 8px; }
.ubp-rich p { margin: 0 0 16px; }
.ubp-rich a { color: var(--ubp-orange) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.ubp-rich a.ubp-btn { color: #fff !important; text-decoration: none !important; }
.ubp-rich strong, .ubp-rich b { color: var(--ubp-ink); }
.ubp-rich img { border-radius: 14px; margin: 8px 0 20px; height: auto !important; }
/* Lists: orange check icons */
.ubp-rich ul { list-style: none; padding: 0; margin: 0 0 20px; }
.ubp-rich ul > li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.ubp-rich ul > li::before {
    content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
    background: var(--ubp-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
/* Sirf chhoti items wali list (andar heading/para na ho) 2 columns mein */
.ubp-rich ul:not(:has(h2, h3, h4, p, ul, ol, img)) { columns: 2; column-gap: 40px; }
.ubp-rich ul:not(:has(h2, h3, h4, p, ul, ol, img)) > li { break-inside: avoid; }
/* "li > h3" pattern (sub-heading as bullet) */
.ubp-rich ul > li > h3, .ubp-rich ul > li > h4 { margin: 0; }
.ubp-rich ul:has(> li > h3) { margin: 22px 0 6px; }
.ubp-rich ol { padding-left: 22px; margin: 0 0 20px; }
.ubp-rich ol li { margin-bottom: 8px; }
.ubp-rich ol li::marker { color: var(--ubp-orange); font-weight: 700; }

/* Tables (spec + description) — admin content inline styles override */
.ubp-table-wrap { overflow-x: auto; border: 1px solid var(--ubp-line); border-radius: 14px; margin: 0 0 24px; background: #fff; }
.ubp-rich table {
    width: 100% !important; height: auto !important; min-width: 0; margin: 0 !important; border: 0 !important;
    border-collapse: collapse !important; table-layout: auto !important; background: #fff !important;
    font-size: 15px; line-height: 1.6; font-family: inherit !important;
}
.ubp-rich table col { width: auto !important; }
.ubp-rich table tbody, .ubp-rich table thead { border: 0 !important; background: transparent !important; }
.ubp-rich table tr { height: auto !important; background: transparent !important; border: 0 !important; }
.ubp-rich table td, .ubp-rich table th {
    width: auto !important; height: auto !important; padding: 14px 18px !important; text-align: left;
    vertical-align: top; border: 0 !important; border-bottom: 1px solid var(--ubp-line) !important;
    background: #fff !important; color: var(--ubp-text) !important; font-size: 15px !important;
    text-transform: none !important; letter-spacing: 0 !important; position: static !important;
}
.ubp-rich table td *, .ubp-rich table th * { font-family: inherit !important; font-size: inherit !important; background-color: transparent !important; }
.ubp-rich table td :not(a), .ubp-rich table th :not(a) { color: inherit !important; }
.ubp-rich table p { margin: 0 !important; }
.ubp-rich table tr:last-child td { border-bottom: 0 !important; }
.ubp-rich table tr:nth-child(even) td { background: var(--ubp-soft) !important; }
.ubp-rich table thead th, .ubp-rich table thead td { background: var(--ubp-navy) !important; color: #fff !important; font-weight: 600 !important; }
/* Spec table: pehla column label hota hai */
.ubp-spec table td:first-child { width: 32% !important; font-weight: 600 !important; color: var(--ubp-ink) !important; border-right: 1px solid var(--ubp-line) !important; }

.ubp-cta {
    margin: 36px 0 0; padding: 28px 32px; border-radius: var(--ubp-radius); background: var(--ubp-navy); color: #cbd5e1;
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.ubp-cta::before { content: ""; position: absolute; width: 320px; height: 320px; right: -100px; top: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 102, 0, .4), transparent); }
.ubp-cta > * { position: relative; }
.ubp-cta strong { display: block; font-size: 20px; color: #fff; margin-bottom: 4px; }
.ubp-cta p { margin: 0; font-size: 14px; color: #94a3b8; }

/* ==========================================================================
   Customization options (Material, Finishes, Insert, Printing, Coating)
   ========================================================================== */
.ubp-opts__intro { margin: 0 0 22px; color: var(--ubp-muted); font-size: 16px; }
.ubp-opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.ubp-opt { text-align: center; }
.ubp-opt__media {
    aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--ubp-soft); margin-bottom: 14px;
    border: 1px solid var(--ubp-line); transition: transform .25s, box-shadow .25s;
}
.ubp-opt:hover .ubp-opt__media { transform: translateY(-4px); box-shadow: var(--ubp-shadow-lg); }
.ubp-opt__media img, .ubp-opt__media svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.ubp-opt__title { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: var(--ubp-ink); line-height: 1.3; }
.ubp-opt__text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ubp-muted); }
.ubp-opts__cta {
    margin-top: 32px; padding: 18px 22px; border-radius: 14px; background: var(--ubp-orange-soft); border: 1px solid var(--ubp-orange-line);
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.ubp-opts__cta p { margin: 0; color: var(--ubp-ink); font-weight: 500; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.ubp-faq { padding: 48px 0; }
.ubp-faq__box { background: var(--ubp-soft); border-radius: 20px; padding: 36px; }
.ubp-faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; align-items: start; }
.ubp-faq__col { display: flex; flex-direction: column; gap: 12px; }
.ubp-faq__item { background: #fff; border: 1px solid var(--ubp-line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.ubp-faq__item[open] { border-color: var(--ubp-orange-line); box-shadow: var(--ubp-shadow); }
.ubp-faq__item summary {
    list-style: none; cursor: pointer; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
    font-size: 15px; font-weight: 600; color: var(--ubp-ink); line-height: 1.45;
}
.ubp-faq__item summary::-webkit-details-marker { display: none; }
.ubp-faq__item summary:hover { color: var(--ubp-orange); }
.ubp-faq__icon { width: 26px; height: 26px; border-radius: 50%; flex: none; position: relative; border: 1.5px solid var(--ubp-orange); }
.ubp-faq__icon::before, .ubp-faq__icon::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ubp-orange); transform: translate(-50%, -50%);
}
.ubp-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
.ubp-faq__item[open] .ubp-faq__icon { background: var(--ubp-orange); }
.ubp-faq__item[open] .ubp-faq__icon::before, .ubp-faq__item[open] .ubp-faq__icon::after { background: #fff; }
.ubp-faq__item[open] .ubp-faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.ubp-faq__answer { padding: 0 18px 18px; font-size: 14.5px; line-height: 1.7; color: var(--ubp-muted); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.ubp-reviews { padding: 48px 0; }
.ubp-reviews__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.ubp-reviews__nav { display: flex; gap: 8px; }
.ubp-reviews__nav button {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ubp-line); background: #fff; color: var(--ubp-ink);
    display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.ubp-reviews__nav button:hover { background: var(--ubp-orange); border-color: var(--ubp-orange); color: #fff; }
.ubp-reviews__nav svg { width: 18px; height: 18px; }
.ubp-reviews__track {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px; margin: -4px;
}
.ubp-reviews__track::-webkit-scrollbar { display: none; }
.ubp-review { scroll-snap-align: start; margin: 0; background: #fff; border: 1px solid var(--ubp-line); border-radius: var(--ubp-radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.ubp-review blockquote { margin: 0; padding: 0; border: 0; font-size: 15px; line-height: 1.7; color: var(--ubp-text); flex: 1; font-style: normal; }
.ubp-review blockquote::before, .ubp-review blockquote::after { display: none; }
.ubp-review__q { width: 28px; height: 28px; color: var(--ubp-orange); }
.ubp-review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--ubp-line); }
.ubp-review__avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; object-fit: cover; background: var(--ubp-orange-soft); color: var(--ubp-orange); display: grid; place-items: center; font-weight: 700; }
.ubp-review cite { display: block; font-style: normal; font-weight: 600; color: var(--ubp-ink); line-height: 1.3; }
.ubp-review figcaption span { font-size: 13px; color: var(--ubp-muted); }

/* ==========================================================================
   Related products
   ========================================================================== */
.ubp-related { padding: 32px 0 72px; }
.ubp-related__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.ubp-related__head .ubp-sec-title { margin: 0; }
.ubp-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ubp-blue) !important; text-decoration: none !important; }
.ubp-link svg { width: 16px; height: 16px; }
.ubp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ubp-card { background: #fff; border: 1px solid var(--ubp-line); border-radius: var(--ubp-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.ubp-card:hover { transform: translateY(-4px); box-shadow: var(--ubp-shadow-lg); border-color: transparent; }
.ubp-card__media { display: block; aspect-ratio: 1 / 1; background: var(--ubp-soft); overflow: hidden; }
.ubp-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.ubp-card:hover .ubp-card__media img { transform: scale(1.05); }
.ubp-card__body { padding: 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; text-align: center; }
.ubp-card__title { margin: 0; font-size: 15px; line-height: 1.4; font-weight: 600; }
.ubp-card__title a { color: var(--ubp-ink) !important; text-decoration: none !important; }
.ubp-card .ubp-btn { margin-top: auto; min-height: 42px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }

/* Mobile sticky CTA */
.ubp-sticky {
    display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; background: #fff; padding: 10px 16px;
    box-shadow: 0 -6px 20px rgba(16, 24, 40, .12); align-items: center; gap: 12px; transform: translateY(110%); transition: transform .25s;
}
.ubp-sticky.is-visible { transform: none; }
.ubp-sticky .ubp-btn { flex: 1; min-height: 46px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
    .ubp-why__track { grid-auto-columns: calc((100% - 64px) / 5); }
    .ubp-buy form { grid-template-columns: 1fr 110px; }
    .ubp-buy form .ubp-buy__btn { grid-column: 1 / -1; }
}

@media (max-width: 991px) {
    .ubp-top { grid-template-columns: 1fr; gap: 0; }
    .ubp-gallery { position: static; }
    /* Mobile/tablet order: Gallery -> Title + Quote form -> Price/Add to Cart
       (gallery wrapper "contents" ban jaata hai taaki uske bachche grid mein alag order le sakein) */
    .ubp-gallery { display: contents; }
    .ubp-gallery__main { order: 1; }
    .ubp-gallery__thumbs { order: 2; }
    .ubp-summary { order: 3; margin-top: 26px; }
    .ubp-buy { order: 4; margin-top: 22px; }
    .ubp-title { font-size: 28px; }
    .ubp-why__track { grid-auto-columns: calc((100% - 32px) / 3.3); }
    .ubp-why__arrow--prev { left: -8px; }
    .ubp-why__arrow--next { right: -8px; }
    .ubp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ubp-opts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
    .ubp-reviews__track { grid-auto-columns: calc((100% - 20px) / 2); }
    .ubp-buy form { grid-template-columns: auto 110px 1fr; }
    .ubp-buy form .ubp-buy__btn { grid-column: auto; }
}

@media (max-width: 767px) {
    .ubp { font-size: 14px; }
    .ubp-container { padding: 0 16px; }
    .ubp-crumbs { padding: 14px 0; }
    .ubp-title { font-size: 24px; }
    .ubp-gallery__slide { aspect-ratio: 4 / 3.4; }
    .ubp-gallery__arrow { width: 38px; height: 38px; }
    .ubp-gallery__thumbs { gap: 8px; }
    .ubp-buy form { grid-template-columns: 1fr 100px; }
    .ubp-buy form .ubp-buy__btn { grid-column: 1 / -1; }
    .ubp-feats { gap: 6px; }
    .ubp-feats__icon { width: 44px; height: 44px; }
    .ubp-feats li { font-size: 11px; }
            .ubp-quote__body { padding: 16px; }
    .ubp-form-grid { grid-template-columns: 1fr; }
    .ubp-why { padding: 44px 0; }
    .ubp-sec-title { font-size: 24px; margin-bottom: 22px; }
    .ubp-why__track { grid-auto-columns: 42%; gap: 10px; }
    .ubp-why__item { padding: 16px 10px; }
    .ubp-why__arrow { display: none; }
    .ubp-why__item img { width: 44px; height: 44px; }
    .ubp-why__item p { font-size: 13px; }
    .ubp-rich { font-size: 15px; }
    .ubp-rich h2 { font-size: 22px; margin-top: 32px; }
    .ubp-rich h3 { font-size: 17px; }
    .ubp-rich ul:not(:has(h2, h3, h4, p, ul, ol, img)) { columns: 1; }
    .ubp-rich table td, .ubp-rich table th { padding: 12px 14px !important; font-size: 14px !important; }
    .ubp-spec table td:first-child { width: 40% !important; }
    .ubp-cta { padding: 22px; }
    .ubp-tabs { margin-left: -16px; margin-right: -16px; padding: 0 16px; scrollbar-width: none; }
    .ubp-tabs::-webkit-scrollbar { display: none; }
    .ubp-tabs button { padding: 12px 12px; font-size: 14px; }
    .ubp-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
    .ubp-opt__title { font-size: 14px; }
    .ubp-opt__text { font-size: 12.5px; }
    .ubp-opts__cta .ubp-btn { width: 100%; }
    .ubp-cta .ubp-btn { width: 100%; }
    .ubp-faq__box { padding: 20px 14px; border-radius: 16px; }
    .ubp-faq__grid { grid-template-columns: 1fr; }
    .ubp-reviews__top { flex-direction: column; align-items: flex-start; }
    .ubp-reviews__track { grid-auto-columns: 88%; gap: 14px; }
    .ubp-grid { gap: 12px; }
    .ubp-card__body { padding: 12px; }
    .ubp-card__title { font-size: 13px; }
    .ubp-card .ubp-btn { font-size: 11px; padding: 0 8px; }
    .ubp-related { padding-bottom: 100px; }
    .ubp-sticky { display: flex; }
    /* Theme ka scroll-to-top button sticky bar ke upar na aaye */
    body:has(.ubp-sticky.is-visible) #scrollTopBtn { bottom: 84px !important; }
}

@media (prefers-reduced-motion: reduce) {
    .ubp *, .ubp *::before, .ubp *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Footer ka neela "From flat to fantastic" band product page pe nahi chahiye
   (page pe pehle se quote form, CTA aur sticky bar hain). Ye CSS sirf product page pe load hoti hai,
   isliye baaki pages pe band waise hi dikhta rahega. */
section.banner.banner-newsletter { display: none !important; }

/* ---------- Review stars (sirf jab admin mein asli rating ho) ---------- */
.ubp-stars { display: inline-flex; align-items: center; gap: 2px; line-height: 1; }
.ubp-star { width: 16px; height: 16px; display: block; flex: none; }
.ubp-star--full { fill: #f59e0b; }
.ubp-star--empty { fill: #e5e7eb; }
.ubp-star--half { fill: url(#ubpHalf); }
.ubp-review .ubp-stars .ubp-star { width: 18px; height: 18px; }
.ubp-revtag__text .ubp-revtag__rating { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 2px; color: var(--ubp-ink); }
.ubp-revtag__rating .ubp-star { width: 14px; height: 14px; }
.ubp-revtag__rating b { font-size: 13px; font-weight: 700; color: var(--ubp-ink); }
