/* Quiet controls and mobile ergonomics; individual theme compositions remain intact. */
.dg-theme img{max-width:100%}.dg-theme :where(h1,h2,h3,p,a,label){overflow-wrap:break-word}.dg-theme :focus-visible{outline:3px solid #2784ed!important;outline-offset:4px}.dg-theme .dg-toolbar{display:flex;align-items:center;gap:18px;margin:20px 0}.dg-theme .dg-toolbar>.dg-search{flex:1;min-width:0;margin:0}.dg-theme .dg-search input{width:100%;box-sizing:border-box;min-height:46px;border:1px solid var(--line,#ccc);background:var(--panel,var(--card,#fff));color:var(--ink,#222);border-radius:8px;padding:12px 15px;font:inherit;font-size:14px}.dg-theme .dg-filters{margin:0 0 0 auto;color:var(--ink,var(--qm-ink,#222));font-family:inherit}.dg-theme .dg-filters>summary{display:flex;align-items:center;gap:9px;padding:11px 15px;min-height:46px;box-sizing:border-box;border:1px solid var(--line,#ccc);border-radius:8px;list-style:none;cursor:pointer;background:var(--panel,var(--card,#fff));font:inherit;font-size:13px;font-weight:500;line-height:1.4;white-space:nowrap}.dg-theme .dg-filters>summary::-webkit-details-marker{display:none}.dg-theme .dg-filter-close-label{display:none}.dg-theme .dg-filters[open] .dg-filter-close-label{display:inline}.dg-theme .dg-filters[open] .dg-filter-open-label{display:none}.dg-theme .dg-filters[open]{position:fixed;inset:0 0 0 auto;width:min(430px,100%);height:100vh;height:100dvh;overflow:auto;overscroll-behavior:contain;z-index:500;padding:20px 22px calc(25px + env(safe-area-inset-bottom));box-sizing:border-box;background:var(--panel,var(--card,var(--paper,#fff)));box-shadow:-12px 0 55px #0002;color:var(--ink,#222);text-align:left}.dg-theme .dg-filters[open]>summary{position:sticky;top:0;z-index:2;justify-content:center;margin-bottom:20px;background:var(--panel,var(--card,#fff))}.dg-theme .dg-filters :is(.wa-filters,.pe-filters,.sl-menu-tools,.dc-directory-filters,.filter-panel,.filter-bar,.controls){display:flex!important;flex-direction:column!important;gap:20px;width:100%;min-width:0;padding:0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important}.dg-theme .dg-filters :is(.filter-top,.filter-bottom,.mini-filters,.advanced,.filters,.searchrow,.search-row,.extras){display:flex!important;flex-wrap:wrap;gap:15px;min-width:0;width:100%}.dg-theme .dg-filters label{display:block;min-width:0;width:100%;font:inherit;font-size:13px;line-height:1.5;color:inherit}.dg-theme .dg-filters select,.dg-theme .dg-filters input:not([type=range]){width:100%;min-width:0;min-height:46px;font:inherit;font-size:16px;box-sizing:border-box;margin-top:7px;border:1px solid var(--line,#bbb);border-radius:7px;background:var(--paper,#fff);color:var(--ink,#222);padding:10px}.dg-theme .dg-filters input[type=range]{width:100%;min-height:40px}.dg-theme .dg-filters .pe-more-filters{display:block;width:100%;margin:0}.dg-theme .dg-filters .pe-more-filters>div{position:static!important;box-shadow:none!important;display:flex;flex-direction:column;gap:17px;padding:20px 0}.dg-theme .dg-filters :is(.seg,.diets,.toggles){display:flex;flex-wrap:wrap;gap:9px}.dg-theme .dg-filters button{min-height:44px;padding:10px 14px;font-size:13px}.dg-filter-apply{display:block;width:100%;margin-top:25px;border:0;border-radius:8px;background:var(--ink,var(--qm-ink,#222));color:var(--paper,var(--qm-paper,#fff));font:inherit;font-size:14px;line-height:1.5;font-weight:500}.dg-filter-backdrop{position:fixed;inset:0;background:#0006;z-index:499}.dg-theme [data-dg-filter-count]:not([hidden]){display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 4px;border-radius:20px;background:var(--ink,#222);color:var(--paper,#fff);font-size:11px}.dg-theme :is(.wa-tabs,.sl-tabs,.qm-page .categories){scroll-padding-inline:15px}.dg-theme .wa-catalogue-note,.dg-theme .sl-menu-note{font-size:12px}.dg-theme .wa-preview-note,.dg-theme .pe-preview-note,.dg-theme .sl-preview-note,.dg-theme .dc-preview-note,.dg-theme .rv-preview-note{display:none}.dg-theme .wa-product-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dg-theme :is(.wa-consent,.dc-consent,.sl-consent){min-height:44px;align-items:center}
@media(max-width:760px){.dg-theme{overflow-x:clip}.dg-theme :is(input,select,textarea){font-size:16px!important}.dg-theme :is(button,.btn,.wa-button,.pe-button,.dc-button,.sl-button){min-height:44px}.dg-theme .dg-toolbar{gap:10px;align-items:end;margin:16px 0}.dg-theme .dg-toolbar>.dg-search{font-size:12px}.dg-theme .dg-filters>summary{padding-inline:12px}.dg-theme .dg-filters[open]{width:min(430px,100vw);padding-inline:20px}.dg-theme :is(.wa-tabs,.sl-tabs){flex-wrap:nowrap!important;overflow-x:auto;justify-content:flex-start;white-space:nowrap;max-width:100%;padding-bottom:9px;scrollbar-width:thin}.dg-theme :is(.wa-tabs,.sl-tabs)>button{flex:0 0 auto}.dg-theme .wa-compare-bar,.dg-theme .pe-compare-bar{bottom:calc(82px + env(safe-area-inset-bottom));max-width:calc(100vw - 24px);box-sizing:border-box;gap:12px;padding:10px 14px;flex-wrap:wrap;justify-content:center}.dg-theme :is(.wa-mobile-bag,.dc-mobile-book){padding-bottom:calc(12px + env(safe-area-inset-bottom))}.dg-theme :is(.wa-cart-drawer,.wa-product-dialog,.pe-dialog,.sl-lightbox){max-width:100vw;box-sizing:border-box}.dg-theme .wa-cart-drawer{width:100%;height:100dvh;max-height:100dvh}.dg-theme .wa-toast{bottom:calc(145px + env(safe-area-inset-bottom))}.dg-theme .wa-product-actions{flex-wrap:wrap;gap:12px}.dg-theme .wa-hero-copy .wa-intro{max-width:36ch;line-height:1.65}.dg-theme .wa-detail-note{font-size:12px}.dg-theme .wa-hero-actions{margin-top:22px}}
@media(prefers-reduced-motion:reduce){.dg-theme *,.dg-theme *:before,.dg-theme *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.dg-theme .dg-toolbar,.dg-filter-backdrop{display:none!important}}

@media(max-width:600px){.dg-theme :is(.wa-hero-copy,.pe-hero-copy,.dc-hero-copy,.sl-hero-copy) h1{font-size:clamp(32px,9.5vw,46px);line-height:1.1}.dg-theme .wa-hero-photo{max-height:360px}.dg-theme .dg-search-label{display:block;font-size:12px;margin-bottom:5px}}

.dg-theme .dg-primary-options{margin:12px 0 20px;min-width:0;max-width:100%}.dg-theme .dg-primary-options>div{display:flex;gap:9px;overflow-x:auto;max-width:100%;padding-bottom:7px;scrollbar-width:thin}.dg-theme .dg-primary-options button{min-height:44px;flex:0 0 auto;white-space:nowrap;padding:10px 15px;font-size:13px}

.dg-theme .dg-filters button:not(.dg-filter-apply){color:var(--ink,#222);background:var(--paper,#fff);border:1px solid var(--line,#bbb);border-radius:7px}

.dg-theme .dg-filters .filter-head{margin:0;display:flex;justify-content:flex-end}

/* Full-bleed campaign photography must fill the hero instead of inheriting the inset-photo cap. */
@media(max-width:600px){.dg-theme :is(.wa-drop-hero,.wa-nivara-hero)>.wa-hero-photo{max-height:none}.dg-theme .wa-drop-hero{height:clamp(570px,85svh,690px)}.dg-theme .wa-drop-title{top:55px}.dg-theme .wa-drop-sticker{bottom:28px}}

/* Legible body copy on the warm light sections of digital-card design 14. */
html:has(head link[href*="/css/vcard14.css"]) body.dg-theme .main-content>.main-section:not(.profile-section) :is(.profile-desc,.section-heading h2,.contact-desc a){color:var(--ink,#442712)!important}
body.dg-theme .vcard-one__profile-details .profile-designation{color:var(--ink,#56606B)!important;font-weight:400!important}

html:has(head link[href*="/css/vcard14.css"]) body.dg-theme .profile-section .card{background:var(--panel,#2A1B16)!important;position:relative}
html:has(head link[href*="/css/vcard14.css"]) body.dg-theme .profile-section .card :is(h2,.text-gray-100){color:var(--ink,#F7EEE8)!important}

/* Per-design contrast corrections retain each card's palette and composition. */
html:has(head link[href*="/css/vcard6.css"]) body.dg-theme :is(.heading-title,.small-title,.profile-description,.profile-company){color:var(--ink,#243147)!important}
html:has(head link[href*="/css/vcard18.css"]) body.dg-theme .profile-name .text-primary{color:var(--ink,#176574)!important}
html:has(head link[href*="/css/vcard22.css"]) body.dg-theme .profile-name :is(h2,p){color:var(--ink,#174E7B)!important}
html:has(head link[href*="/css/vcard24.css"]) body.dg-theme .profile-name :is(h4,p){color:var(--ink,#17565B)!important}
html:has(head link[href*="/css/oldVcard/vcard14.css"]) body.dg-theme :is(.profile-name h2,.profile-name p,.section-heading h2,.profile-desc){color:var(--ink,#684016)!important;-webkit-text-fill-color:currentColor!important}
html:has(head link[href*="/css/oldVcard/vcard22.css"]) body.dg-theme :is(.profile-name h2,.section-heading h2){color:var(--ink,#B6CEFF)!important}
html:has(head link[href*="/css/oldVcard/vcard25.css"]) body.dg-theme .profile-name p{color:var(--ink,#805115)!important}
html:has(head link[href*="/css/oldVcard/vcard29.css"]) body.dg-theme .profile-name p{color:var(--ink,#F2B4D7)!important}
html:has(head link[href*="/css/oldVcard/vcard36.css"]) body.dg-theme .profile-name p{color:var(--ink,#795416)!important}

html:has(head link[href*="/css/vcard6.css"]) body.dg-theme :is(.small-company,.event-icon a,.social-icons a,.social-icons a i,.social-icons a svg){color:var(--ink,#243147)!important}
html:has(head link[href*="/css/vcard6.css"]) body.dg-theme .social-icons a{border-color:var(--ink,#243147)!important}
html:has(head link[href*="/css/vcard6.css"]) body.dg-theme .event-icon>img{filter:brightness(.2)}
