:root{
  --bg:#070a0f; --bg2:#0b111c; --panel:#101827; --panel2:#131d2e; --text:#f8fafc; --muted:#94a3b8;
  --line:rgba(255,255,255,.10); --accent:#ef4444; --accent2:#f97316; --green:#22c55e;
  --shadow:0 24px 80px rgba(0,0,0,.40); --radius:24px; --wrap:1240px;
}
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:radial-gradient(circle at top left,rgba(239,68,68,.16),transparent 36%),linear-gradient(180deg,var(--bg),#0b1020 45%,#06080d);color:var(--text);line-height:1.55}.wrap{max-width:var(--wrap);margin:0 auto;padding:0 22px}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.muted{color:var(--muted)}
.site-header{position:sticky;top:0;z-index:50;background:rgba(7,10,15,.84);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}.header-inner{min-height:78px;display:grid;grid-template-columns:220px minmax(260px,1fr) auto auto;align-items:center;gap:20px}.brand{display:flex;align-items:center;gap:10px}.brand img{height:46px;width:auto;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(0,0,0,.55))}.brand span{font-weight:950;font-size:25px;letter-spacing:-.7px}.brand small{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.18em}.nav-search{justify-self:center;width:min(560px,100%);display:flex;align-items:center;background:rgba(255,255,255,.08);border:1px solid var(--line);border-radius:999px;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)}.nav-search input{flex:1;min-width:0;background:transparent;color:#fff;border:0;padding:14px 8px 14px 20px;font-size:15px;outline:0}.nav-search input::placeholder{color:#cbd5e1}.nav-search button{border:0;width:48px;height:48px;background:linear-gradient(135deg,var(--accent),var(--accent2));color:white;border-radius:999px;margin:3px;cursor:pointer;font-size:18px;box-shadow:0 10px 28px rgba(239,68,68,.35)}.main-nav{display:flex;align-items:center;gap:4px}.main-nav>a,.dropbtn{padding:11px 13px;border-radius:999px;color:#e5e7eb;font-weight:800;font-size:14px;border:0;background:transparent;cursor:pointer}.main-nav>a:hover,.dropbtn:hover,.dropdown.open .dropbtn{background:rgba(255,255,255,.10);color:#fff}.dropdown{position:relative}.dropdown-menu{position:absolute;right:0;top:calc(100% + 12px);min-width:285px;padding:10px;background:#0b111c;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);display:none}.dropdown:hover .dropdown-menu,.dropdown.open .dropdown-menu{display:block}.dropdown-menu a{display:flex;gap:10px;align-items:center;padding:11px 12px;border-radius:12px;color:#e2e8f0}.dropdown-menu a:hover{background:rgba(255,255,255,.08)}.mobile-menu-button{display:none;background:rgba(255,255,255,.08);border:1px solid var(--line);color:#fff!important;-webkit-text-fill-color:#fff!important;border-radius:12px;padding:10px 12px;font-size:20px;font-weight:900;text-shadow:0 1px 2px rgba(0,0,0,.5)}
.hero-slider{position:relative;margin:0 auto 30px;max-width:none;width:100%;border-radius:0;overflow:hidden;min-height:590px;background:#111;border-bottom:1px solid var(--line);box-shadow:0 24px 60px rgba(0,0,0,.45)}.hero-track{height:590px;position:relative}.hero-slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .65s ease}.hero-slide.active{opacity:1;pointer-events:auto}.hero-slide img{width:100%;height:100%;object-fit:cover;filter:saturate(1.1) contrast(1.04)}.hero-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.18) 45%,rgba(0,0,0,.55)),linear-gradient(180deg,transparent 40%,rgba(0,0,0,.75))}.hero-content{position:absolute;z-index:2;left:max(28px,calc((100vw - var(--wrap))/2 + 22px));bottom:52px;max-width:650px;background:rgba(5,8,13,.68);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(14px);padding:26px;border-radius:24px;box-shadow:var(--shadow)}.hero-content .album-category{display:inline-flex;align-items:center;gap:7px;background:rgba(239,68,68,.18);border:1px solid rgba(239,68,68,.35);color:#fff;padding:7px 12px;border-radius:999px;font-weight:900;font-size:13px}.hero-content h1{font-size:clamp(34px,5vw,64px);line-height:.98;margin:16px 0 10px;letter-spacing:-2px}.hero-content p{margin:0 0 18px;color:#e2e8f0;font-weight:700}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;padding:12px 18px;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#fff;font-weight:900;cursor:pointer;box-shadow:0 14px 32px rgba(239,68,68,.28)}.btn.light{background:rgba(255,255,255,.10);border:1px solid var(--line);box-shadow:none;color:#fff}.btn:hover{transform:translateY(-1px)}.slider-arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:999px;border:1px solid var(--line);background:rgba(0,0,0,.48);color:white;font-size:34px;cursor:pointer}.slider-arrow.prev{left:22px}.slider-arrow.next{right:22px}.slider-dots{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);display:flex;gap:8px;z-index:3}.slider-dots button{width:10px;height:10px;border-radius:999px;border:0;background:rgba(255,255,255,.38);cursor:pointer}.slider-dots button.active{width:30px;background:var(--accent)}
.notice{margin:28px auto;background:linear-gradient(90deg,rgba(249,115,22,.18),rgba(239,68,68,.12));border:1px solid rgba(249,115,22,.30);border-left:5px solid var(--accent2);padding:16px 18px;border-radius:18px;color:#fff;box-shadow:0 12px 34px rgba(0,0,0,.18)}.notice strong{color:#fed7aa}.category-cards{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x proximity;padding:6px 0 18px;margin:0 0 14px}.category-card{scroll-snap-align:start;min-width:185px;padding:18px;border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.035));border:1px solid var(--line);position:relative;overflow:hidden;transition:.25s ease}.category-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at top right,var(--cat-color),transparent 48%);opacity:.24}.category-card:hover{transform:translateY(-5px);box-shadow:0 18px 48px rgba(0,0,0,.33);border-color:color-mix(in srgb,var(--cat-color),white 30%)}.category-icon{font-size:30px;display:block;margin-bottom:8px}.category-card strong,.category-card small{position:relative;z-index:1;display:block}.category-card strong{font-size:17px}.category-card small{color:var(--muted);margin-top:4px}.quick-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:12px 0 34px}.quick-stats div{background:rgba(255,255,255,.06);border:1px solid var(--line);border-radius:20px;padding:20px;text-align:center}.quick-stats strong{display:block;font-size:34px;line-height:1;color:#fff}.quick-stats span{color:var(--muted);font-weight:800;text-transform:uppercase;font-size:12px;letter-spacing:.12em}.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:42px 0 18px}.section-title h2{font-size:30px;margin:0;letter-spacing:-1px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-bottom:18px}.album{background:transparent;border:0;border-radius:0;overflow:hidden}.album-cover{position:relative;display:block;aspect-ratio:16/10;border-radius:24px;overflow:hidden;background:#111;border:1px solid var(--line);box-shadow:0 18px 48px rgba(0,0,0,.28)}.album-cover img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease,filter .4s ease}.album:hover .album-cover img{transform:scale(1.06);filter:saturate(1.08) contrast(1.05)}.album-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.16),rgba(0,0,0,.82));opacity:.84;transition:.3s}.album:hover .album-cover:after{opacity:.94}.album-overlay{position:absolute;z-index:2;inset:auto 14px 14px 14px;color:#fff}.album-overlay .album-category{display:inline-flex;background:rgba(0,0,0,.50);border:1px solid rgba(255,255,255,.18);padding:5px 10px;border-radius:999px;font-size:12px;font-weight:900;margin-bottom:10px}.album-overlay h3{margin:0 0 7px;font-size:20px;line-height:1.15;letter-spacing:-.5px}.album-overlay p{margin:4px 0;color:#dbeafe;font-weight:700;font-size:13px}.album-action{display:inline-flex;margin-top:11px;opacity:0;transform:translateY(6px);transition:.25s;background:#fff;color:#111827;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:950}.album:hover .album-action{opacity:1;transform:none}.album-badge{position:absolute;top:12px;left:12px;z-index:3;background:rgba(0,0,0,.56);border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:6px 10px;font-weight:900}.album-date{position:absolute;top:12px;right:12px;z-index:3;background:rgba(239,68,68,.86);border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;color:#fff}
.gallery-hero{display:grid;grid-template-columns:1.05fr .95fr;gap:26px;align-items:center;margin:34px 0 24px;padding:26px;border:1px solid var(--line);background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.035));border-radius:28px;box-shadow:0 18px 54px rgba(0,0,0,.26)}.gallery-hero img{width:100%;height:340px;object-fit:cover;border-radius:22px;border:1px solid var(--line)}.gallery-hero h1{font-size:clamp(32px,4vw,54px);line-height:1;margin:12px 0;letter-spacing:-1.7px}.album-category{color:#fff;font-weight:900}.photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.photo{position:relative;background:transparent;border:0;border-radius:18px;overflow:hidden;min-height:0}.photo img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:18px;border:1px solid var(--line);transition:transform .25s,filter .25s}.photo:hover img{transform:scale(1.025);filter:brightness(.88)}.photo-title{margin:8px 2px 0;color:#cbd5e1;font-weight:800;font-size:13px}.photo-check{position:absolute;opacity:0}.photo-select{position:absolute;top:12px;left:12px;z-index:4;width:32px;height:32px;border-radius:999px;background:rgba(0,0,0,.58);border:1px solid rgba(255,255,255,.34);color:white;display:grid;place-items:center;cursor:pointer;font-weight:950}.photo-check:checked+.photo-select{background:var(--green);border-color:var(--green)}.selected-badge{position:absolute;top:12px;right:12px;z-index:4;display:none;width:30px;height:30px;border-radius:999px;background:var(--green);place-items:center;font-weight:950}.photo:has(.photo-check:checked) .selected-badge{display:grid}.zoom-btn{position:absolute;right:12px;bottom:42px;z-index:4;border:0;border-radius:999px;width:42px;height:42px;background:rgba(0,0,0,.68);color:#fff;font-size:19px;cursor:pointer;border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(8px)}.zoom-btn:hover{background:var(--accent)}.favourite-btn{position:absolute;left:12px;bottom:42px;z-index:4;width:42px;height:42px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(0,0,0,.68);color:#fff;font-size:22px;cursor:pointer;backdrop-filter:blur(8px)}.favourite-btn.active{background:#ef4444;color:#fff}.share{position:absolute;left:10px;right:10px;bottom:74px;display:flex;gap:7px;justify-content:flex-end;opacity:0;pointer-events:none;transition:.2s}.photo:hover .share{opacity:1;pointer-events:auto}.icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);font-weight:950}.contact-icon img{width:22px;height:22px}.bar{position:fixed;right:22px;bottom:22px;z-index:45;display:flex;align-items:center;gap:12px;flex-wrap:wrap;max-width:min(760px,calc(100vw - 44px));background:rgba(9,13,22,.92);border:1px solid var(--line);backdrop-filter:blur(18px);box-shadow:var(--shadow);border-radius:999px;padding:12px 14px}.bar label{font-size:13px;color:#e2e8f0;font-weight:800}.selected-total{background:linear-gradient(135deg,var(--accent),var(--accent2));padding:10px 14px;border-radius:999px}.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.92);z-index:200;display:none;align-items:center;justify-content:center;padding:30px}.lightbox.open{display:flex}.lightbox figure{margin:0;max-width:min(1180px,86vw);max-height:86vh;text-align:center}.lightbox img{max-height:78vh;max-width:100%;object-fit:contain;border-radius:12px;box-shadow:0 30px 100px #000}.lightbox figcaption{color:white;margin-top:12px;font-weight:900}.lightbox-close,.lightbox-prev,.lightbox-next{position:absolute;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.10);color:white;border-radius:999px;cursor:pointer}.lightbox-close{top:22px;right:22px;width:48px;height:48px;font-size:34px}.lightbox-prev,.lightbox-next{top:50%;transform:translateY(-50%);width:56px;height:56px;font-size:42px}.lightbox-prev{left:22px}.lightbox-next{right:22px}.lightbox-tools{position:absolute;left:50%;transform:translateX(-50%);bottom:calc(22px + env(safe-area-inset-bottom,0px));display:flex;gap:10px;padding:8px 12px;background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.15);border-radius:999px;backdrop-filter:blur(10px)}
.lightbox-tools button{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.10);color:white;border-radius:999px;padding:10px 14px;font-weight:900;cursor:pointer}
.lightbox-tools button:hover{background:rgba(255,255,255,.22)}
@media(max-width:768px){.lightbox-tools{bottom:calc(34px + env(safe-area-inset-bottom,0px));gap:8px}.lightbox-tools button{padding:12px 16px}}

.site-footer{margin-top:70px;background:#05070b;border-top:1px solid var(--line);padding:44px 0 24px}.footer-grid{display:grid;grid-template-columns:1fr auto;gap:22px;align-items:center}.site-footer strong{font-size:24px}.site-footer p{color:var(--muted);margin:4px 0 0}.footer-contact{display:flex;gap:10px;flex-wrap:wrap}.footer-contact a{padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid var(--line);font-weight:850}.footer-contact a:hover{background:rgba(255,255,255,.14)}.footer-copy{text-align:center;color:var(--muted);font-size:13px;margin-top:28px}.footer-social{display:flex;gap:10px;justify-content:flex-end;margin-top:10px}.footer-social a{width:38px;height:38px;border-radius:999px;background:rgba(255,255,255,.08);display:grid;place-items:center;border:1px solid var(--line);font-weight:950}
.search-results{margin-top:34px}.admin-box,.card{background:rgba(255,255,255,.06);border:1px solid var(--line);border-radius:22px;padding:22px}.form-row{display:grid;gap:6px;margin-bottom:14px}.form-row input,.form-row textarea,.form-row select{width:100%;background:#0b111c;border:1px solid var(--line);border-radius:12px;color:#fff;padding:12px}.table{width:100%;border-collapse:collapse}.table th,.table td{border-bottom:1px solid var(--line);padding:10px;text-align:left}.table th{color:#cbd5e1}
@media(max-width:980px){.header-inner{grid-template-columns:1fr auto;gap:12px}.nav-search{grid-column:1/-1;order:3;width:100%;justify-self:stretch}.mobile-menu-button{display:block}.main-nav{display:none;grid-column:1/-1;flex-direction:column;align-items:stretch;background:#0b111c;border:1px solid var(--line);border-radius:18px;padding:10px}.main-nav.open{display:flex}.dropdown-menu{position:static;box-shadow:none;margin-top:5px}.hero-slider,.hero-track{height:520px;min-height:520px}.hero-content{left:22px;right:22px;bottom:34px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.gallery-hero{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.footer-social{justify-content:flex-start}}
@media(max-width:640px){.wrap{padding:0 16px}.brand img{height:38px}.hero-slider,.hero-track{height:450px;min-height:450px}.hero-content{padding:18px;border-radius:18px}.hero-content h1{font-size:34px}.slider-arrow{display:none}.grid,.photo-grid{grid-template-columns:1fr}.quick-stats{grid-template-columns:1fr}.bar{left:12px;right:12px;bottom:12px;border-radius:22px;justify-content:center}.gallery-hero img{height:230px}.section-title{align-items:flex-start;flex-direction:column}.category-card{min-width:160px}.lightbox-prev,.lightbox-next{display:none}}
/* Compatibility with existing v6 HTML names */
.home-wrap .hero-slider{width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);}
.hero-slider .slides{height:590px;position:relative;}
.hero-image-link{position:absolute;inset:0;display:block;}
.hero-overlay{position:absolute;z-index:2;left:max(28px,calc((100vw - var(--wrap))/2 + 22px));bottom:52px;max-width:650px;background:rgba(5,8,13,.68);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(14px);padding:26px;border-radius:24px;box-shadow:var(--shadow)}
.hero-overlay .hero-category{display:inline-flex;align-items:center;gap:7px;background:rgba(239,68,68,.18);border:1px solid rgba(239,68,68,.35);color:#fff;padding:7px 12px;border-radius:999px;font-weight:900;font-size:13px}
.hero-overlay h1{font-size:clamp(34px,5vw,64px);line-height:.98;margin:16px 0 10px;letter-spacing:-2px}.hero-overlay p{margin:0 0 12px;color:#e2e8f0;font-weight:700}
.hero-slide:after{pointer-events:none}
@media(max-width:980px){.hero-slider .slides{height:520px}.hero-overlay{left:22px;right:22px;bottom:34px}}
@media(max-width:640px){.hero-slider .slides{height:450px}.hero-overlay{padding:18px;border-radius:18px}.hero-overlay h1{font-size:34px}}

/* Admin redesign v7.1 */
body:has(.admin-shell) .site-header, body:has(.admin-shell) footer{display:none}
.admin-shell{min-height:100vh;display:grid;grid-template-columns:280px minmax(0,1fr);background:radial-gradient(circle at top left,rgba(239,68,68,.12),transparent 32%),#070a0f;color:#f8fafc}
.admin-sidebar{position:sticky;top:0;height:100vh;padding:22px;background:linear-gradient(180deg,#0d1422,#090d14);border-right:1px solid rgba(255,255,255,.08);display:flex;flex-direction:column;gap:20px}
.admin-logo{display:grid;gap:4px;padding:6px 4px 18px;border-bottom:1px solid rgba(255,255,255,.08)}.admin-logo img{max-width:130px;max-height:54px;object-fit:contain}.admin-logo strong{font-size:20px}.admin-logo span,.admin-sidebar-footer a,.card-head p,.admin-main>p{color:#94a3b8}.admin-sidebar nav{display:grid;gap:7px}.admin-sidebar nav a,.admin-sidebar-footer a{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;color:#e2e8f0;font-weight:800}.admin-sidebar nav a:hover{background:rgba(255,255,255,.08)}.admin-sidebar-footer{margin-top:auto;display:grid;gap:8px}
.admin-main{padding:30px;max-width:1500px;width:100%;margin:0 auto}.admin-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.admin-topbar h1{margin:0;font-size:34px}.admin-topbar p{margin:6px 0 0;color:#94a3b8}.admin-card{background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.10);border-radius:22px;padding:22px;margin-bottom:22px;box-shadow:0 24px 70px rgba(0,0,0,.23)}.card-head{margin-bottom:18px}.card-head.row{display:flex;align-items:center;justify-content:space-between;gap:16px}.card-head h2{margin:0 0 4px;font-size:22px}.card-head p{margin:0}.pro-form{margin:0}.form-grid{display:grid;gap:16px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid.compact{gap:13px}.field{display:grid;gap:7px}.field.wide,.admin-info.wide{grid-column:1/-1}.field label{color:#cbd5e1;font-weight:800;font-size:13px}.pro-form input,.pro-form textarea,.pro-form select,.admin-table input,.admin-table textarea{width:100%;background:#0b111c;border:1px solid rgba(255,255,255,.11);border-radius:12px;color:#fff;padding:12px 13px;outline:none}.pro-form input:focus,.pro-form textarea:focus,.pro-form select:focus,.admin-table input:focus,.admin-table textarea:focus{border-color:#fb6b33;box-shadow:0 0 0 3px rgba(251,107,51,.15)}.pro-form textarea,.admin-table textarea{min-height:76px;resize:vertical}.admin-info{background:rgba(14,165,233,.12);border:1px solid rgba(14,165,233,.28);border-radius:14px;padding:14px;color:#dbeafe}.favicon-preview{display:flex;align-items:center;justify-content:center}.favicon-preview img,.fake-favicon{width:120px;height:120px;border-radius:24px;background:#111827;border:1px solid rgba(255,255,255,.12);display:grid;place-items:center;font-size:34px;font-weight:950;box-shadow:0 18px 42px rgba(0,0,0,.35)}.badge-soft{display:inline-flex;align-items:center;border:1px solid rgba(251,107,51,.25);background:rgba(251,107,51,.12);color:#fed7aa;border-radius:999px;padding:7px 11px;font-weight:900;font-size:12px}.admin-table-wrap{overflow:auto;border:1px solid rgba(255,255,255,.08);border-radius:16px}.admin-table{width:100%;border-collapse:collapse;min-width:980px}.admin-table th{background:rgba(255,255,255,.05);color:#cbd5e1;text-transform:uppercase;font-size:12px;letter-spacing:.06em}.admin-table th,.admin-table td{padding:12px;border-bottom:1px solid rgba(255,255,255,.08);vertical-align:top}.admin-table tr:last-child td{border-bottom:0}.admin-table td:nth-child(3){min-width:220px}.admin-table td:nth-child(6){min-width:330px}.admin-table input+input,.admin-table textarea+input{margin-top:8px}.admin-table .mini{max-width:90px;text-align:center}.switch{display:inline-flex;position:relative;width:48px;height:26px}.switch input{opacity:0;width:0;height:0}.switch span{position:absolute;inset:0;background:#334155;border-radius:999px;cursor:pointer;transition:.2s}.switch span:before{content:"";position:absolute;width:20px;height:20px;left:3px;top:3px;border-radius:999px;background:#fff;transition:.2s}.switch input:checked+span{background:#22c55e}.switch input:checked+span:before{transform:translateX(22px)}.new-row{background:rgba(34,197,94,.045)}.admin-two-col{display:grid;grid-template-columns:1.25fr .75fr;gap:22px}.upload-drop{border:1px dashed rgba(255,255,255,.22);border-radius:18px;background:rgba(255,255,255,.04);padding:24px;display:grid;gap:12px;text-align:center}.admin-albums-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.admin-album-card{display:grid;grid-template-columns:180px 1fr;gap:16px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:14px}.admin-album-card img{width:100%;height:125px;object-fit:cover;border-radius:14px}.admin-album-card h3{margin:0 0 6px}.admin-album-card p{margin:5px 0;color:#94a3b8}.admin-actions{display:flex;gap:8px;margin-top:12px}.btn.danger{background:linear-gradient(135deg,#991b1b,#ef4444)}.admin-login-card{width:min(440px,calc(100vw - 32px));margin:12vh auto;background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.10);border-radius:26px;padding:30px}.admin-login-card img{max-width:150px;margin-bottom:18px}@media (max-width:1100px){.admin-shell{grid-template-columns:1fr}.admin-sidebar{position:relative;height:auto}.admin-main{padding:18px}.form-grid.three,.form-grid.two,.admin-two-col,.admin-albums-grid{grid-template-columns:1fr}.admin-album-card{grid-template-columns:1fr}}

/* Watermark Manager */
.switch.big{display:flex;align-items:center;height:42px}
.watermark-preview{display:grid;grid-template-columns:220px 1fr;gap:18px;align-items:center}
.watermark-photo-sample{height:130px;border-radius:18px;background:linear-gradient(135deg,#0f172a,#334155 45%,#020617);position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.12)}
.watermark-photo-sample:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.18),transparent 34%),radial-gradient(circle at 74% 70%,rgba(249,115,22,.25),transparent 26%)}
.watermark-photo-sample .wm-sample-img{position:absolute;right:18px;bottom:18px;max-width:44%;max-height:42%;opacity:.48;filter:drop-shadow(0 8px 18px rgba(0,0,0,.45))}
.watermark-photo-sample span{position:absolute;right:18px;bottom:18px;background:rgba(0,0,0,.48);border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;color:#fff;line-height:1.05}
.watermark-photo-sample span strong{font-size:18px;letter-spacing:.02em}.watermark-photo-sample span small{font-size:11px;color:#fb923c;margin-top:5px}
@media(max-width:800px){.watermark-preview{grid-template-columns:1fr}.watermark-photo-sample{height:150px}}

/* v7.3 fixes: centered login and album editing */
.admin-shell.admin-login-mode{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:24px;background:radial-gradient(circle at top left,rgba(239,68,68,.16),transparent 34%),#070a0f}
.admin-shell.admin-login-mode .admin-login-card{margin:0 auto;width:min(460px,calc(100vw - 32px));}
.admin-login-card h1{text-align:center;margin:0 0 20px}.admin-login-card img{display:block;margin:0 auto 18px}.admin-login-card .btn{width:100%;justify-content:center}.admin-login-card .field label{text-align:left}.admin-login-card .notice{text-align:center}
.highlight-card{border-color:rgba(251,107,51,.34);box-shadow:0 24px 80px rgba(251,107,51,.10)}
.field small{color:#94a3b8;font-size:12px;line-height:1.4}.add-more-box{margin-top:22px;padding:18px;border:1px dashed rgba(251,107,51,.35);border-radius:18px;background:rgba(251,107,51,.07)}.add-more-box h3{margin:0 0 8px}.add-more-box p{color:#cbd5e1;margin:0 0 16px}.admin-actions{flex-wrap:wrap}.btn.light{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}
.photo-actions{position:absolute;left:12px;right:12px;bottom:42px;z-index:5;display:flex;gap:8px;align-items:center;justify-content:flex-end;opacity:0;transition:.2s}.photo:hover .photo-actions{opacity:1}.photo-actions .favourite-btn,.photo-actions .zoom-btn{position:static}.photo-actions .icon{background:rgba(0,0,0,.68);color:#fff;text-decoration:none}.mini-order-btn{border:0;cursor:pointer}.order-modal{position:fixed;inset:0;background:rgba(0,0,0,.78);z-index:300;display:none;align-items:center;justify-content:center;padding:24px}.order-modal.open{display:flex}.order-modal-card{width:min(940px,96vw);max-height:92vh;overflow:auto;background:#0b1220;border:1px solid rgba(255,255,255,.14);border-radius:26px;padding:26px;box-shadow:0 30px 100px rgba(0,0,0,.6);position:relative}.order-close{position:absolute;right:18px;top:18px;width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#fff;font-size:28px;cursor:pointer}.order-summary{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:18px;padding:16px;margin:14px 0}.order-summary p{margin:7px 0}.summary-total{font-size:22px;color:#fff}.order-methods{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.method-card{text-align:left;border:1px solid rgba(255,255,255,.12);background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.035));color:#fff;border-radius:18px;padding:18px;cursor:pointer;transition:.2s}.method-card:hover{transform:translateY(-3px);border-color:var(--accent)}.method-card span{display:block;font-size:28px}.method-card strong{display:block;font-size:18px;margin:8px 0 4px}.method-card small,.small-note{color:#cbd5e1}.buyer-form{margin-top:18px}.buyer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.buyer-form input,.buyer-form textarea{width:100%;box-sizing:border-box;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:#fff;border-radius:14px;padding:13px}.buyer-form textarea{min-height:90px;margin-top:12px}.payment-box{display:none;background:rgba(249,115,22,.09);border:1px solid rgba(249,115,22,.25);border-radius:18px;padding:16px;margin-top:14px}.payment-box pre{white-space:pre-wrap;color:#fff;font-family:inherit}.admin-card .field.wide{grid-column:1/-1}@media(max-width:800px){.order-methods{grid-template-columns:1fr 1fr}.buyer-grid{grid-template-columns:1fr}.bar{border-radius:22px}}@media(max-width:520px){.order-methods{grid-template-columns:1fr}}

/* v8.1 order/payment fixes */
.photo-actions{position:absolute;top:10px;right:10px;z-index:8;display:flex;gap:6px;align-items:center;justify-content:flex-end;left:auto;bottom:auto;opacity:1;pointer-events:auto}.photo-actions .favourite-btn,.photo-actions .zoom-btn,.photo-actions .icon{position:static;width:34px;height:34px;min-width:34px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:rgba(0,0,0,.68);border:1px solid rgba(255,255,255,.22);color:#fff;backdrop-filter:blur(8px);font-size:15px;text-decoration:none}.photo-actions .favourite-btn{font-size:20px}.photo-actions .zoom-btn{font-size:13px;cursor:pointer}.photo-actions .social-fb{font-family:Arial,sans-serif;font-weight:900}.photo-actions .social-x{font-weight:900}.photo-title{display:flex;flex-direction:column;gap:4px}.photo-title span{font-size:12px;color:#fbbf24;font-weight:800}.order-modal-wide{max-width:940px}.order-modal-card h2{margin-top:0}.order-accordion{display:grid;gap:12px;margin-top:18px}.acc-item{border:1px solid rgba(255,255,255,.14);border-radius:18px;overflow:hidden;background:rgba(255,255,255,.045)}.acc-head{width:100%;display:flex;gap:12px;align-items:center;text-align:left;padding:16px 18px;background:rgba(255,255,255,.06);border:0;color:#fff;cursor:pointer;font-size:16px}.acc-head span{font-size:22px}.acc-body{display:none;padding:18px}.acc-item.open .acc-body{display:block}.compact-methods{grid-template-columns:repeat(3,minmax(0,1fr))}.method-card span img{width:30px;height:30px;display:block}.buyer-form{margin:12px 0}.buyer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.buyer-form input,.buyer-form textarea{width:100%;box-sizing:border-box;border:1px solid rgba(255,255,255,.16);border-radius:12px;background:rgba(0,0,0,.25);color:#fff;padding:12px}.buyer-form textarea{min-height:86px;margin-top:10px}.payment-box.visible{display:block}.orders-table td{vertical-align:top}.orders-table small{color:#94a3b8}@media(max-width:760px){.compact-methods{grid-template-columns:1fr}.buyer-grid{grid-template-columns:1fr}.photo-actions .favourite-btn,.photo-actions .zoom-btn,.photo-actions .icon{width:30px;height:30px;min-width:30px}.photo-actions{gap:4px}}

/* v8.2 fixes: share icons top-right, zoom bottom-right */
.photo-actions.photo-actions-top{position:absolute;top:10px;right:10px;left:auto;bottom:auto;z-index:8;display:flex;gap:6px;align-items:center;justify-content:flex-end;opacity:1;pointer-events:auto}
.photo-actions.photo-actions-top .favourite-btn,.photo-actions.photo-actions-top .icon{position:static;width:34px;height:34px;min-width:34px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:rgba(0,0,0,.68);border:1px solid rgba(255,255,255,.22);color:#fff;backdrop-filter:blur(8px);font-size:15px;text-decoration:none}
.photo-actions.photo-actions-top .favourite-btn{font-size:20px;cursor:pointer}
.photo .zoom-btn{position:absolute!important;right:12px!important;bottom:42px!important;top:auto!important;left:auto!important;z-index:8;width:42px!important;height:42px!important;min-width:42px!important;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:rgba(0,0,0,.68);border:1px solid rgba(255,255,255,.22);color:#fff;backdrop-filter:blur(8px);font-size:14px;cursor:pointer}
.photo .zoom-btn:hover{background:var(--accent)}
.admin-menu-icon{width:18px;height:18px;min-width:18px;display:inline-block;vertical-align:-3px;margin-right:6px;position:relative;border:2px solid currentColor;border-radius:4px;opacity:.95}
.admin-menu-icon.orders:before{content:'';position:absolute;left:4px;right:4px;top:-6px;height:7px;border:2px solid currentColor;border-bottom:0;border-radius:4px 4px 0 0}
.admin-menu-icon.orders:after{content:'';position:absolute;left:4px;right:4px;top:5px;height:2px;background:currentColor;box-shadow:0 5px 0 currentColor}
.order-edit-box{margin:16px 0 22px;padding:18px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.045);border-radius:18px}
.order-actions{display:flex;gap:8px;flex-wrap:wrap}.order-actions .btn{padding:8px 10px;font-size:13px}.btn.danger{background:#dc2626;color:#fff}

/* v8.3 pages, footer links and back-to-top */
.footer-pages{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap;margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.08)}
.footer-pages a{color:#cbd5e1;font-weight:800;font-size:14px}
.footer-pages a:hover{color:#fff}

.footer-social a{
    width:42px;
    height:42px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.20);
    border:1px solid rgba(255,255,255,.32);
    color:#ffffff;
    font-size:20px;
    font-weight:950;
    transition:all .25s ease;
    box-shadow:0 6px 16px rgba(0,0,0,.35);
}

.footer-social a svg,
.footer-social a i,
.footer-social a img{
    width:22px;
    height:22px;
    fill:#ffffff !important;
    color:#ffffff !important;
    opacity:1;
}

.footer-social a:hover{
    background:#f97316;
    border-color:#f97316;
    transform:translateY(-3px);
    box-shadow:0 10px 24px rgba(249,115,22,.45);
}

.back-to-top{position:fixed;right:22px;bottom:22px;width:48px;height:48px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:linear-gradient(135deg,var(--accent),var(--accent2));color:#fff;font-size:25px;font-weight:950;line-height:1;display:grid;place-items:center;box-shadow:0 18px 45px rgba(239,68,68,.34);z-index:90;opacity:0;visibility:hidden;transform:translateY(12px);transition:.22s;cursor:pointer}.back-to-top.show{opacity:1;visibility:visible;transform:translateY(0)}.back-to-top:hover{transform:translateY(-3px)}body:has(.admin-shell) .back-to-top{display:none}.page-wrap{padding-top:34px}.page-hero{margin-top:0;min-height:auto;padding:42px;border-radius:28px;background:linear-gradient(135deg,rgba(239,68,68,.18),rgba(255,255,255,.05)),#0b111c;border:1px solid var(--line)}.page-hero h1{margin:0;font-size:clamp(34px,5vw,58px)}.page-hero p{max-width:720px;color:#cbd5e1}.content-page{margin-top:22px;font-size:17px}.editable-content{white-space:normal;color:#e5e7eb}.contact-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px}.contact-card{display:block;background:rgba(255,255,255,.055);border:1px solid var(--line);border-radius:18px;padding:18px;color:#e5e7eb}.contact-card:hover{background:rgba(255,255,255,.09)}.contact-card img{width:28px;height:28px;display:inline-block;vertical-align:middle;margin-right:8px}.contact-card strong{color:#fff}.page-editor-card{background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:16px}.page-editor-card label:not(:first-child){margin-top:10px}@media(max-width:760px){.footer-pages{justify-content:flex-start}.contact-cards{grid-template-columns:1fr}.back-to-top{right:16px;bottom:16px;width:44px;height:44px}.page-hero{padding:28px}}


/* Cookie consent popup - fixed */
.cookie-consent{
    position:fixed;
    left:50%;
    bottom:24px;
    transform:translateX(-50%);
    width:calc(100% - 40px);
    max-width:720px;
    display:none;
    align-items:center;
    gap:18px;
    padding:18px 20px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:18px;
    background:rgba(12,12,15,.94);
    box-shadow:0 20px 70px rgba(0,0,0,.45);
    color:#fff;
    backdrop-filter:blur(12px);
    z-index:9998;
}
.cookie-consent.show{display:flex;}
.cookie-consent p{margin:0;line-height:1.5;color:rgba(255,255,255,.86);}
.cookie-consent a{color:#ff7a18;font-weight:700;text-decoration:none;}
.cookie-actions{margin-left:auto;display:flex;gap:10px;flex-shrink:0;}
.cookie-actions button{
    border:0;
    border-radius:999px;
    padding:10px 15px;
    font-weight:800;
    cursor:pointer;
}
.cookie-accept{background:linear-gradient(135deg,#ff7a18,#ef4444);color:#fff;}
.cookie-close{background:rgba(255,255,255,.12);color:#fff;}

.back-to-top{
    position:fixed;
    right:22px;
    bottom:22px;
    width:48px;
    height:48px;
    z-index:9999;
}

@media(max-width:700px){
    .cookie-consent{
        left:50%;
        transform:translateX(-50%);
        width:calc(100% - 24px);
        bottom:12px;
        flex-direction:column;
        align-items:flex-start;
    }
    .cookie-actions{
        width:100%;
        margin-left:0;
    }
    .cookie-actions button{flex:1;}
}

.g-recaptcha{margin:12px 0 6px;}
.recaptcha-help{display:block;color:rgba(255,255,255,.55);margin-top:6px;}

/* Cookie consent popup - fixed */
.cookie-consent{
    position:fixed;
    left:50%;
    bottom:24px;
    transform:translateX(-50%);
    width:calc(100% - 40px);
    max-width:720px;
    display:none;
    align-items:center;
    gap:18px;
    padding:18px 20px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:18px;
    background:rgba(12,12,15,.94);
    box-shadow:0 20px 70px rgba(0,0,0,.45);
    color:#fff;
    backdrop-filter:blur(12px);
    z-index:9998;
}
.cookie-consent.show{display:flex;}
.cookie-consent p{margin:0;line-height:1.5;color:rgba(255,255,255,.86);}
.cookie-consent a{color:#ff7a18;font-weight:700;text-decoration:none;}
.cookie-actions{margin-left:auto;display:flex;gap:10px;flex-shrink:0;}
.cookie-actions button{
    border:0;
    border-radius:999px;
    padding:10px 15px;
    font-weight:800;
    cursor:pointer;
}
.cookie-accept{background:linear-gradient(135deg,#ff7a18,#ef4444);color:#fff;}
.cookie-close{background:rgba(255,255,255,.12);color:#fff;}
.back-to-top{z-index:9999;}
@media(max-width:700px){
    .cookie-consent{left:50%;transform:translateX(-50%);width:calc(100% - 24px);bottom:12px;flex-direction:column;align-items:flex-start;}
    .cookie-actions{width:100%;margin-left:0;}
    .cookie-actions button{flex:1;}
}
.g-recaptcha{margin:12px 0 6px;}
.recaptcha-help{display:block;color:rgba(255,255,255,.55);margin-top:6px;}
/* v8.6 size labels and FAQ */
.photo-title span strong{color:#fff;font-weight:950;}
.photo-title span{line-height:1.45;}
.content-page h2{margin-top:0;color:#fff;}
.content-page h2:not(:first-child){margin-top:28px;}
.content-page p{color:#e5e7eb;}


/* v9.1 dropdown hover fix: keeps menu open while moving mouse to submenu */
.dropdown{position:relative;}
.dropdown:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:100%;
  height:14px;
  display:block;
}
.dropdown-menu{
  top:100%;
  margin-top:10px;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.open .dropdown-menu{
  display:block;
}
@media(max-width:980px){
  .dropdown:after{display:none;}
  .dropdown-menu{margin-top:5px;}
}

/* v9.3 editable footer social icons */
.footer-social a svg{width:18px;height:18px;display:block;fill:currentColor;}
.footer-social a:hover{background:rgba(255,255,255,.14);transform:translateY(-2px);}


/* v9.6 favourites fix */
.photo-actions.photo-actions-top .favourite-btn.active,
.photo-actions .favourite-btn.active,
.favourite-btn.active{
  background:#ef4444!important;
  border-color:#ef4444!important;
  color:#ffffff!important;
}
.photo-actions.photo-actions-top .favourite-btn.active:hover,
.favourite-btn.active:hover{
  background:#dc2626!important;
  border-color:#dc2626!important;
}


/* v9.7 admin sidebar footer buttons fix */
.admin-sidebar{
  overflow-y:auto;
  overflow-x:hidden;
}
.admin-sidebar-footer{
  margin-top:auto;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,rgba(9,13,20,0),#090d14 18%);
}
.admin-sidebar-footer .admin-footer-btn,
.admin-sidebar-footer a{
  display:flex!important;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  min-height:44px;
  padding:12px 14px!important;
  border-radius:14px;
  font-weight:900;
  color:#ffffff!important;
  border:1px solid rgba(255,255,255,.14);
  text-decoration:none;
}
.admin-sidebar-footer .view-site{
  background:rgba(255,255,255,.09);
}
.admin-sidebar-footer .logout{
  background:linear-gradient(135deg,#ef4444,#f97316);
  border-color:rgba(249,115,22,.45);
}
.admin-sidebar-footer .admin-footer-btn:hover,
.admin-sidebar-footer a:hover{
  transform:translateY(-1px);
  filter:brightness(1.08);
}
@media(max-width:1100px){
  .admin-sidebar-footer{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
}


/* Phase 4: Professional Admin Dashboard */
.admin-dashboard{margin-bottom:22px}.dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,rgba(251,107,51,.18),rgba(255,255,255,.045))}.dashboard-hero h2{font-size:30px;margin:4px 0}.dashboard-hero p{color:#cbd5e1;margin:0}.eyebrow{display:inline-flex;letter-spacing:.09em;text-transform:uppercase;color:#fed7aa;font-size:12px;font-weight:950}.dashboard-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.dashboard-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-bottom:22px}.stat-card{min-height:132px;text-decoration:none;color:#fff;background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.10);border-radius:20px;padding:18px;display:grid;align-content:space-between;box-shadow:0 18px 48px rgba(0,0,0,.18)}.stat-card:hover{transform:translateY(-2px);border-color:rgba(251,107,51,.45)}.stat-card span{font-size:26px}.stat-card strong{font-size:28px;line-height:1}.stat-card small{color:#94a3b8;font-weight:850}.dashboard-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.mini-panel{margin-bottom:0}.compact-row{display:flex;align-items:center;gap:12px;padding:11px;border-radius:14px;color:#fff;text-decoration:none;border:1px solid transparent}.compact-row:hover{background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.08)}.compact-row img{width:64px;height:48px;border-radius:10px;object-fit:cover}.compact-row span{display:grid;gap:3px}.compact-row small{color:#94a3b8}.order-dot{width:42px;height:42px;border-radius:50%;background:rgba(251,107,51,.18);border:1px solid rgba(251,107,51,.35);display:grid!important;place-items:center;font-weight:950;color:#fed7aa}.health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.health-grid span{background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08);border-radius:13px;padding:12px;color:#94a3b8}.health-grid strong{display:block;color:#fff;margin-top:4px}.health-warnings{border-color:rgba(250,204,21,.35);background:linear-gradient(145deg,rgba(250,204,21,.10),rgba(255,255,255,.035))}.warning-row{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:rgba(250,204,21,.08);color:#fff;text-decoration:none;margin-top:8px}.warning-row em{margin-left:auto;color:#fde68a;font-style:normal;font-weight:900}@media(max-width:1250px){.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.dashboard-hero{display:grid}.dashboard-actions{justify-content:flex-start}.dashboard-stats,.dashboard-panels{grid-template-columns:1fr}.health-grid{grid-template-columns:1fr}}

/* Phase 6 - Sales & Orders Pro */
.order-filter-bar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:18px 0;padding:14px;border:1px solid rgba(15,23,42,.08);border-radius:16px;background:#f8fafc}
.order-filter-bar input,.order-filter-bar select{min-height:42px;border:1px solid rgba(15,23,42,.15);border-radius:12px;padding:9px 12px;background:#fff}
.order-history,.order-public-note{margin:14px 0;padding:12px 14px;border-radius:14px;background:#f8fafc;border:1px solid rgba(15,23,42,.08)}
.order-history span{display:block;margin-top:6px;color:#475569;font-size:13px}
.order-public-note{background:#fff7ed}
.orders-table td small{color:#64748b}


/* Phase 9 - QR Gallery Pro */
.album-share-card{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:22px auto;padding:20px;border:1px solid rgba(15,23,42,.12);border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.06)}
.album-share-card input{width:min(620px,100%);padding:12px;border:1px solid rgba(15,23,42,.14);border-radius:12px;background:#f8fafc;color:#334155}.album-share-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.album-share-actions img{width:96px;height:96px;border:1px solid rgba(15,23,42,.12);border-radius:12px;background:#fff;padding:6px}.qr-page{max-width:900px}.qr-toolbar{display:flex;gap:12px;justify-content:space-between;margin:24px 0}.qr-print-card{max-width:620px;margin:20px auto;padding:38px;border:1px solid rgba(15,23,42,.14);border-radius:28px;background:#fff;text-align:center;box-shadow:0 18px 50px rgba(15,23,42,.08)}.qr-brand{display:flex;gap:10px;align-items:center;justify-content:center;margin-bottom:16px}.qr-brand img{max-height:48px;width:auto}.qr-print-card h1{font-size:32px;line-height:1.15;margin:8px 0}.qr-meta{color:#64748b;font-weight:700}.qr-main{width:320px;max-width:100%;height:auto;margin:18px auto;border:10px solid #fff;box-shadow:0 10px 30px rgba(15,23,42,.12)}.qr-note{font-size:18px;font-weight:700}.qr-url{font-size:12px;color:#64748b;word-break:break-all}.admin-album-card .admin-actions{flex-wrap:wrap}@media(max-width:720px){.album-share-card{flex-direction:column;align-items:flex-start}.album-share-actions{width:100%;justify-content:space-between}}@media print{.no-print,.site-header,.site-footer{display:none!important}body{background:#fff}.qr-print-card{box-shadow:none;border:0;margin:0 auto;padding:20px}.qr-main{width:360px}}

/* Phase 11.1 - Smart Upload Engine */
.smart-upload-drop{position:relative;display:grid;gap:10px;border:2px dashed rgba(251,107,51,.35);background:linear-gradient(145deg,rgba(251,107,51,.08),rgba(15,23,42,.025));transition:.18s ease}
.smart-upload-drop.is-dragover{border-color:rgba(251,107,51,.9);background:rgba(251,107,51,.12);transform:translateY(-1px)}
.smart-upload-drop input[type=file]{display:none}
.smart-upload-actions{display:flex;gap:10px;flex-wrap:wrap}.smart-upload-actions .btn{margin:0}
.smart-upload-list{display:grid;gap:4px;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.72);border:1px solid rgba(15,23,42,.08)}
.smart-upload-list:empty{display:none}.smart-upload-list strong{color:#0f172a}.smart-upload-list small{color:#64748b;word-break:break-word}
.smart-upload-progress{height:12px;overflow:hidden;border-radius:999px;background:rgba(15,23,42,.10);border:1px solid rgba(15,23,42,.08)}
.smart-upload-progress span{display:block;width:0;height:100%;border-radius:999px;background:linear-gradient(90deg,#fb6b33,#f97316);transition:width .18s ease}
.smart-upload-status{min-height:20px;margin:0;color:#475569;font-weight:800}.smart-upload-submit:disabled{opacity:.62;cursor:wait}

.upload-session-box{display:grid;gap:6px;padding:10px 12px;border-radius:12px;background:rgba(15,23,42,.045);border:1px solid rgba(15,23,42,.08)}
.upload-session-box strong{color:#0f172a}.upload-session-box small{color:#64748b;line-height:1.45}.upload-session-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}

/* Phase 12.2 Professional Batch Editor */
.batch-editor-panel{margin-top:22px;padding:18px;border:1px solid rgba(15,23,42,.12);border-radius:18px;background:linear-gradient(180deg,rgba(248,250,252,.95),rgba(255,255,255,.95));box-shadow:0 10px 30px rgba(15,23,42,.06)}
.batch-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 18px}
.batch-dry-run{margin-top:14px;line-height:1.6}
.metadata-table th:first-child,.metadata-table td:first-child{text-align:center;width:42px}
.metadata-table input[type="checkbox"]{width:18px;height:18px;accent-color:#111827}
.version-grid span{min-height:54px}
#activity-log small{word-break:break-word;color:#64748b}
.batch-progress{margin-top:14px}
.batch-progress span{transition:width .4s ease}


/* Phase 13.0.3 - Lightbox Auto Hide Controls */
.lightbox .lightbox-close,.lightbox .lightbox-prev,.lightbox .lightbox-next,.lightbox .lightbox-tools,.lightbox figcaption{transition:opacity .2s ease, transform .2s ease}
.lightbox.controls-hidden .lightbox-close,.lightbox.controls-hidden .lightbox-prev,.lightbox.controls-hidden .lightbox-next,.lightbox.controls-hidden .lightbox-tools,.lightbox.controls-hidden figcaption{opacity:0;pointer-events:none}
.lightbox.controls-hidden .lightbox-tools{transform:translateX(-50%) translateY(12px)}
.lightbox #zoomReset{min-width:58px;transition:transform .16s ease}
.lightbox #zoomReset.zoom-updated{transform:scale(1.08)}
@media(max-width:760px){.lightbox .lightbox-tools{bottom:calc(28px + env(safe-area-inset-bottom,0px))}.lightbox.controls-hidden .lightbox-tools{transform:translateX(-50%) translateY(8px)}}


/* Phase 13.0.4 - Lazy Loading 2.0 and Smart Thumbnail Cache */
.photo::before{content:"";position:absolute;inset:0;border-radius:18px;background:linear-gradient(90deg,rgba(255,255,255,.055),rgba(255,255,255,.12),rgba(255,255,255,.055));background-size:240% 100%;animation:pspSkeleton 1.2s ease-in-out infinite;z-index:1;pointer-events:none;opacity:1;transition:opacity .28s ease}
.photo.image-loaded::before,.photo:has(img.is-loaded)::before{opacity:0;animation:none;visibility:hidden}
.photo img.psp-lazy-img{filter:blur(10px) brightness(.84);transform:scale(1.01);opacity:.72;transition:opacity .35s ease,filter .35s ease,transform .35s ease}
.photo img.psp-lazy-img.is-loaded{filter:none;transform:none;opacity:1}
@keyframes pspSkeleton{0%{background-position:120% 0}100%{background-position:-120% 0}}
@media(prefers-reduced-motion:reduce){.photo::before{animation:none}.photo img.psp-lazy-img{transition:none}}

/* Phase 13.0.6 - Intelligent Viewer Engine */
.lightbox.viewer-opening{animation:pspViewerOpen .18s ease both}
.lightbox.viewer-closing{animation:pspViewerClose .18s ease both}
.lightbox.viewer-next img,.lightbox.viewer-prev img{animation:pspViewerImageFade .2s ease both}
@keyframes pspViewerOpen{from{opacity:0}to{opacity:1}}
@keyframes pspViewerClose{from{opacity:1}to{opacity:0}}
@keyframes pspViewerImageFade{from{opacity:.68;transform:scale(.985)}to{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.lightbox.viewer-opening,.lightbox.viewer-closing,.lightbox.viewer-next img,.lightbox.viewer-prev img{animation:none}}

/* Phase 13.0.7 - Developer Diagnostics */
.developer-diagnostics .diagnostics-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.diagnostics-grid span{position:relative;overflow:hidden}
.diagnostics-grid span:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:rgba(148,163,184,.8)}
.diagnostics-grid .diag-ok:before{background:#22c55e}.diagnostics-grid .diag-warning:before{background:#facc15}.diagnostics-grid .diag-error:before{background:#ef4444}.diagnostics-grid .diag-info:before{background:#38bdf8}
@media(max-width:1000px){.developer-diagnostics .diagnostics-grid{grid-template-columns:1fr}}

/* Phase 13.0.9 - Smart Search and Gallery Status Bar */
.smart-search-panel{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:12px;align-items:end;margin:14px 0;padding:14px;border:1px solid rgba(15,23,42,.10);border-radius:18px;background:linear-gradient(145deg,rgba(15,23,42,.045),rgba(255,255,255,.85))}
.smart-search-main{display:grid;gap:6px}.smart-search-main label{font-weight:900;color:#0f172a}.smart-search-main input{width:100%;min-height:46px;border:1px solid rgba(15,23,42,.16);border-radius:14px;background:#fff;padding:11px 14px;font-weight:800;color:#0f172a;box-sizing:border-box}.smart-search-main input:focus{outline:3px solid rgba(251,107,51,.18);border-color:rgba(251,107,51,.55)}
.photo.smart-hidden{display:none!important}.photo.smart-match{box-shadow:0 0 0 3px rgba(251,107,51,.36),0 18px 42px rgba(15,23,42,.16);transform:translateY(-1px)}
.gallery-status-bar{position:sticky;bottom:12px;z-index:40;display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:12px 0 24px;padding:11px 14px;border-radius:16px;background:rgba(15,23,42,.92);color:#e5e7eb;box-shadow:0 14px 38px rgba(15,23,42,.22);backdrop-filter:blur(12px)}
.gallery-status-bar span{display:inline-flex;gap:5px;align-items:center;font-size:13px}.gallery-status-bar strong{color:#fff}.gallery-status-bar em{font-style:normal;color:#fbbf24;font-weight:900}
@media(max-width:760px){.smart-search-panel{grid-template-columns:1fr}.smart-search-panel .btn{width:100%}.gallery-status-bar{position:static;justify-content:flex-start}}


/* Phase 13.8.2 frontend hierarchical category menu */
.category-tree-menu{min-width:360px;max-width:min(92vw,420px);max-height:72vh;overflow:auto;padding:10px;}
.category-tree-list{list-style:none;margin:0;padding:0;}
.category-tree-children{margin:4px 0 8px 20px;padding-left:14px;border-left:1px solid rgba(148,163,184,.28);}
.category-tree-item{margin:3px 0;}
.category-tree-link,
.category-tree-label{display:flex;align-items:center;gap:10px;width:100%;min-height:36px;padding:9px 10px;border-radius:12px;color:#e2e8f0;text-decoration:none;box-sizing:border-box;}
.dropdown-menu .category-tree-link{display:flex;color:#e2e8f0;}
.category-tree-label{font-size:12px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;color:#94a3b8;background:rgba(148,163,184,.10);cursor:default;}
.category-tree-link:hover{background:rgba(255,255,255,.08);color:#fff;}
.category-tree-icon{width:24px;min-width:24px;text-align:center;font-size:16px;filter:drop-shadow(0 2px 6px rgba(0,0,0,.25));}
.category-tree-name{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.category-tree-caret{margin-left:auto;color:#94a3b8;font-weight:900;transform:rotate(90deg);}
.category-tree-item.has-children>.category-tree-link .category-tree-name{font-weight:850;}
.category-tree-item.category-type-category>.category-tree-link{font-weight:850;background:linear-gradient(90deg,rgba(255,255,255,.07),rgba(255,255,255,.02));}
.category-tree-item.category-type-subcategory>.category-tree-link{font-size:13px;color:#cbd5e1;padding-top:7px;padding-bottom:7px;}
.category-tree-item.category-type-subcategory>.category-tree-link:before{content:"•";color:var(--cat-color,#94a3b8);font-size:18px;line-height:1;margin-right:-2px;}
@media(max-width:980px){
  .category-tree-menu{max-width:none;min-width:0;width:100%;max-height:none;}
  .category-tree-children{margin-left:14px;padding-left:12px;}
  .category-tree-name{white-space:normal;}
}
.dropdown-menu .category-tree-link{gap:10px;align-items:center;padding:9px 10px;border-radius:12px;}
.dropdown-menu .category-tree-item.category-type-subcategory>.category-tree-link{padding-top:7px;padding-bottom:7px;}

/* PhotoSales Studio 1.1.1 - Photo Basket and Floating Action Bar */
.photo-basket-options{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:18px 0 10px;padding:12px 14px;border:1px solid rgba(15,23,42,.10);border-radius:16px;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(248,250,252,.92));box-shadow:0 8px 22px rgba(15,23,42,.06)}
.photo-basket-options .selected-total{color:#0f172a;font-weight:950}.photo-basket-options label{display:inline-flex;gap:6px;align-items:center;font-weight:800;color:#334155}.photo-basket-options input{accent-color:#fb6b33}
.photo-basket-floating{position:fixed;left:50%;bottom:18px;z-index:120;transform:translateX(-50%);display:flex;gap:14px;align-items:center;justify-content:space-between;width:min(720px,calc(100vw - 28px));padding:12px 14px;border:1px solid rgba(255,255,255,.15);border-radius:20px;background:rgba(15,23,42,.95);color:#fff;box-shadow:0 22px 55px rgba(15,23,42,.35);backdrop-filter:blur(14px)}
.photo-basket-floating[hidden]{display:none!important}.photo-basket-floating-info{display:flex;gap:10px;align-items:center;min-width:0}.photo-basket-floating-info>span{display:grid;place-items:center;width:38px;height:38px;border-radius:14px;background:rgba(251,107,51,.18);font-size:18px}.photo-basket-floating-info strong{display:block;line-height:1.1;white-space:nowrap}.photo-basket-floating-info small{display:block;color:#fbbf24;font-weight:900}.photo-basket-floating .btn{margin:0;white-space:nowrap}
.photo.is-selected{box-shadow:0 0 0 3px rgba(34,197,94,.45),0 18px 42px rgba(15,23,42,.18)}.photo.is-selected .selected-badge{opacity:1;transform:scale(1)}.selected-badge{opacity:0;transform:scale(.8);transition:.16s ease}
@media(max-width:760px){.photo-basket-options{padding-bottom:10px}.photo-basket-floating{bottom:10px;border-radius:18px}.photo-basket-floating-info strong{font-size:14px}.photo-basket-floating-info small{font-size:12px}.photo-basket-floating .btn{padding:11px 14px}}
.adaptive-search-heading{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;margin:0 0 12px;padding:10px 12px;border:1px solid rgba(15,23,42,.10);border-radius:16px;background:rgba(255,255,255,.70)}
.adaptive-search-heading span{font-weight:900;color:#0f172a}
.adaptive-search-heading small{color:#64748b;font-weight:700}
.adaptive-search-general .field.wide,.adaptive-search-music .field.wide,.adaptive-search-celebrity .field.wide,.adaptive-search-wedding .field.wide{grid-column:1/-1}
.search-options-box{border:1px solid rgba(15,23,42,.10);border-radius:18px;padding:14px;background:rgba(248,250,252,.92)}
.search-options-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin-top:10px}
.search-option-chip{display:flex;gap:10px;align-items:flex-start;border:1px solid rgba(15,23,42,.10);border-radius:14px;padding:10px 12px;background:#fff;cursor:pointer}
.search-option-chip input{margin-top:3px}
.search-option-chip strong{display:block;color:#0f172a}
.search-option-chip small{display:block;color:#64748b;font-weight:600;line-height:1.35;margin-top:3px}
.search-options-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:12px}

/* PhotoSales Studio 2.0.3: readable form headings on dark backgrounds */
.admin-login-card h1,
.admin-login-card h2,
.admin-login-card h3,
.search-box h1,
.search-box h2,
.search-box h3,
.search-page h1,
.search-page h2,
.search-page h3,
.search-results h1,
.search-results h2,
.search-results h3,
.section-title h1,
.section-title h2,
.admin-login-card .field > label,
.admin-login-card .form-row > label,
.search-box .field > label,
.search-box .form-row > label,
.search-page .field > label,
.search-page .form-row > label,
.template-search-fields p{
  color:#f8fafc !important;
  text-shadow:0 1px 2px rgba(0,0,0,.45);
}
.search-box,
.search-page,
.template-search-fields,
.admin-login-card{
  color:#e5e7eb;
}
.search-box input,
.search-box select,
.search-page input,
.search-page select{
  color:#ffffff;
  background:#0b111c;
  border-color:rgba(255,255,255,.16);
}
.search-box input::placeholder,
.search-page input::placeholder{
  color:#cbd5e1;
}


/* PhotoSales Studio 2.1: stronger readability for search form titles on dark layouts */
.search-box .card-head h1,
.search-box .card-head h2,
.search-box .card-head h3,
.search-page .card-head h1,
.search-page .card-head h2,
.search-page .card-head h3,
.search-results .card-head h1,
.search-results .card-head h2,
.search-results .card-head h3,
.template-search-fields h1,
.template-search-fields h2,
.template-search-fields h3,
.template-search-fields legend,
.adaptive-search-heading span,
.adaptive-search-heading strong,
.smart-search-main label{
  color:#ffffff !important;
  text-shadow:0 2px 4px rgba(0,0,0,.55);
}
.search-box .card-head p,
.search-page .card-head p,
.search-results .card-head p,
.template-search-fields small,
.adaptive-search-heading small{
  color:#dbeafe !important;
}
.search-page .admin-box,
.search-box.admin-box,
.template-search-fields,
.adaptive-search-heading,
.smart-search-panel{
  background:rgba(15,23,42,.78) !important;
  border-color:rgba(255,255,255,.16) !important;
  color:#f8fafc !important;
}
.search-page .field label,
.search-box .field label,
.template-search-fields label,
.search-page .form-row label,
.search-box .form-row label{
  color:#f8fafc !important;
  font-weight:900;
}
.search-page input,
.search-page select,
.search-page textarea,
.search-box input,
.search-box select,
.search-box textarea,
.template-search-fields input,
.template-search-fields select,
.template-search-fields textarea{
  background:#020617 !important;
  color:#ffffff !important;
  border-color:rgba(255,255,255,.22) !important;
}
.search-page input::placeholder,
.search-box input::placeholder,
.template-search-fields input::placeholder{
  color:#cbd5e1 !important;
}


/* PhotoSales Studio 2.1.1: final search title readability fix */
.gallery-search-card,
.gallery-search-card .pro-form,
.gallery-search-form,
.gallery-search-form .field,
.gallery-search-form .smart-search-main{
  color:#f8fafc !important;
}
.gallery-search-form label,
.gallery-search-form .field > label,
.gallery-search-card label,
.gallery-search-card .adaptive-search-heading span,
.gallery-search-card .smart-search-main label,
.gallery-search-card strong,
.gallery-search-card h1,
.gallery-search-card h2,
.gallery-search-card h3{
  color:#ffffff !important;
  text-shadow:0 2px 4px rgba(0,0,0,.55);
}
.gallery-search-card .adaptive-search-heading small,
.gallery-search-card small{
  color:#dbeafe !important;
}
.gallery-search-card .adaptive-search-heading,
.gallery-search-card .smart-search-panel{
  background:rgba(15,23,42,.82) !important;
  border-color:rgba(255,255,255,.18) !important;
}
.gallery-search-card input,
.gallery-search-card select,
.gallery-search-card textarea{
  background:#020617 !important;
  color:#ffffff !important;
  border-color:rgba(255,255,255,.24) !important;
}
.gallery-search-card input::placeholder{
  color:#cbd5e1 !important;
}

/* PhotoSales Studio 2.2.0: Smart Sales Engine */
.sales-options-panel,
.coupon-box{
  background:rgba(15,23,42,.82);
  border:1px solid rgba(255,255,255,.16);
  border-radius:18px;
  padding:16px;
  color:#f8fafc;
}
.sales-options-panel label,
.coupon-box label,
.sales-rules-table label{
  color:#fff !important;
  font-weight:800;
}
.sales-rules-table{display:grid;gap:10px;margin-top:10px}
.sales-rule-row{display:grid;grid-template-columns:150px repeat(5,minmax(90px,1fr));gap:8px;align-items:center;background:rgba(2,6,23,.45);border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:10px}
.sales-rule-row input,.sales-rule-row select,.coupon-row input{background:#020617!important;color:#fff!important;border-color:rgba(255,255,255,.24)!important}
.coupon-row{display:flex;gap:8px;align-items:center;margin-top:8px}.coupon-row input{flex:1}.coupon-box small{display:block;margin-top:8px;color:#dbeafe!important;font-weight:700}.checkline{display:block;margin:.25rem 0;color:#fff!important}
@media(max-width:900px){.sales-rule-row{grid-template-columns:1fr}.coupon-row{flex-direction:column;align-items:stretch}}


/* PhotoSales Studio 2.2.1 admin navigation anchor fix */
.admin-main section[id], .admin-card[id]{scroll-margin-top:24px;}
.pss-anchor-focus{outline:2px solid rgba(251,107,51,.55);outline-offset:4px;transition:outline-color .25s ease;}

/* PhotoSales Studio 2.2.2 - admin navigation visibility fix */
.admin-sidebar nav a.is-active{background:rgba(249,115,22,.18)!important;border-color:rgba(249,115,22,.38)!important;color:#fff!important}
.admin-main section[id], .admin-card[id]{scroll-margin-top:22px;}
.pss-anchor-focus{outline:2px solid rgba(249,115,22,.55);outline-offset:3px;transition:outline-color .25s ease;}

/* PhotoSales Studio 2.2.7 - shaded discount notice with light green/blue typography */
.discount-preview-card,
.discount-info-card{
  position:relative;
  overflow:hidden;
  margin:18px 0 22px;
  padding:18px;
  border-radius:22px;
  border:1px solid rgba(125,211,252,.34);
  background:
    radial-gradient(circle at top left,rgba(34,211,238,.16),transparent 38%),
    linear-gradient(145deg,rgba(15,23,42,.96),rgba(15,35,58,.94));
  color:#bfdbfe;
  box-shadow:
    0 18px 48px rgba(2,6,23,.34),
    inset 0 1px 0 rgba(255,255,255,.08);
}
.discount-preview-card::before,
.discount-info-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(134,239,172,.08),rgba(125,211,252,.08));
}
.discount-preview-card[hidden]{display:none!important}
.discount-preview-card > *,
.discount-info-card > *{position:relative;z-index:1}
.discount-preview-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;flex-wrap:wrap}
.discount-preview-head strong,
.discount-info-copy strong{display:block;color:#86efac;font-size:18px;font-weight:950;margin-bottom:6px;text-shadow:0 1px 14px rgba(34,197,94,.25)}
.discount-preview-head span,
.discount-info-copy p{margin:0;color:#bfdbfe!important;font-weight:800;line-height:1.5}
.discount-preview-tiers,
.discount-info-tiers{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin-top:14px}
.discount-tier,
.discount-info-tier{padding:12px 13px;border-radius:16px;border:1px solid rgba(125,211,252,.22);background:rgba(15,23,42,.58);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.discount-tier strong,
.discount-info-tier strong{display:block;color:#d9f99d;font-size:17px;font-weight:950;margin-top:3px}
.discount-tier span,
.discount-info-tier span{display:block;color:#bfdbfe;font-size:13px;font-weight:850;margin-top:3px}
.discount-tier small,
.discount-info-tier small{display:block;color:#86efac;font-weight:950;margin-top:5px}
.discount-tier.is-unlocked{border-color:rgba(134,239,172,.58);background:rgba(22,101,52,.24)}
.discount-line{color:#86efac}.discount-line small{color:#bfdbfe;margin-left:6px}
.discount-info-note{margin:12px 0 0;color:#93c5fd;font-size:13px;font-weight:850}
.psp-toast.success{border-color:rgba(134,239,172,.58);background:rgba(20,83,45,.94);color:#dcfce7}

/* Public order tracking */
.order-public-wrap{max-width:980px;margin:32px auto 60px}.order-public-card{background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:26px;box-shadow:0 22px 60px rgba(15,23,42,.08)}.order-public-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;border-bottom:1px solid #e5e7eb;padding-bottom:18px;margin-bottom:18px}.order-public-head h1{margin:.15rem 0}.eyebrow{margin:0;color:#64748b;font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;font-weight:800}.order-public-status{display:inline-flex;align-items:center;border-radius:999px;padding:9px 14px;font-weight:900;border:1px solid transparent}.order-public-status-new{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.order-public-status-confirmed{background:#f0f9ff;border-color:#bae6fd;color:#0369a1}.order-public-status-paid{background:#ecfdf5;border-color:#bbf7d0;color:#166534}.order-public-status-processing{background:#fffbeb;border-color:#fde68a;color:#92400e}.order-public-status-delivered{background:#f5f3ff;border-color:#ddd6fe;color:#6d28d9}.order-public-status-completed{background:#f0fdf4;border-color:#bbf7d0;color:#15803d}.order-public-status-cancelled{background:#fef2f2;border-color:#fecaca;color:#b91c1c}.order-public-note{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:14px 16px;color:#334155}.order-public-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin:18px 0}.order-public-grid>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:14px}.order-public-grid small{display:block;color:#64748b;font-weight:800;text-transform:uppercase;font-size:.72rem;letter-spacing:.08em}.order-public-grid strong{display:block;font-size:1.05rem;margin:5px 0;color:#0f172a}.order-public-grid span{color:#64748b}.order-public-photos{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.order-public-photos span{background:#111827;color:#fff;border-radius:999px;padding:8px 11px;font-weight:700;font-size:.88rem}.order-public-note-box{margin-top:18px;background:#fff7ed;border:1px solid #fed7aa;border-radius:18px;padding:14px 16px}@media(max-width:720px){.order-public-head{display:block}.order-public-status{margin-top:12px}}

/* PhotoSales Studio 2.5.0 - public order page polish */
.order-status-message{
  margin:18px 0;
  padding:16px 18px;
  border-radius:18px;
  background:#0f172a;
  color:#e0f2fe;
  border:1px solid rgba(125,211,252,.35);
  font-weight:800;
  line-height:1.55;
  box-shadow:0 14px 32px rgba(15,23,42,.16);
}
.order-status-message.order-public-status-new{background:#0f172a;color:#bfdbfe;border-color:#3b82f6;}
.order-status-message.order-public-status-confirmed{background:#082f49;color:#bae6fd;border-color:#38bdf8;}
.order-status-message.order-public-status-paid{background:#052e16;color:#bbf7d0;border-color:#22c55e;}
.order-status-message.order-public-status-processing{background:#451a03;color:#fde68a;border-color:#f59e0b;}
.order-status-message.order-public-status-delivered{background:#2e1065;color:#ddd6fe;border-color:#8b5cf6;}
.order-status-message.order-public-status-completed{background:#064e3b;color:#bbf7d0;border-color:#10b981;}
.order-status-message.order-public-status-cancelled{background:#450a0a;color:#fecaca;border-color:#ef4444;}
.order-public-item{display:block;background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:16px 18px;line-height:1.5;}
.order-public-label{display:block;color:#0f172a;font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px;}
.order-public-value{display:block;color:#0f172a;font-size:1.06rem;margin-bottom:6px;}
.order-public-meta{display:block;color:#475569;margin-top:4px;word-break:break-word;}
.order-public-grid small,.order-public-grid>div>small{display:none;}

/* PhotoSales Studio 2.5.2 - public order page contrast fix */
.order-public-card,
.order-public-card p,
.order-public-card h1,
.order-public-card h2,
.order-public-card h3,
.order-public-card strong,
.order-public-card span,
.order-public-card div{
  color:#0f172a;
}
.order-public-head p,
.order-public-head .eyebrow{
  color:#475569 !important;
}
.order-public-card h2{
  margin:24px 0 12px;
  color:#0f172a !important;
  font-weight:950;
}
.order-public-note-box{
  background:#fff7ed !important;
  border:1px solid #fed7aa !important;
  color:#0f172a !important;
}
.order-public-note-box strong{
  display:block;
  color:#9a3412 !important;
  margin-bottom:8px;
}
.order-public-note-box p{
  color:#0f172a !important;
  margin:0;
  line-height:1.55;
}
.order-public-status{
  color:inherit;
}
.order-public-status-new{color:#1d4ed8 !important;}
.order-public-status-confirmed{color:#0369a1 !important;}
.order-public-status-paid{color:#166534 !important;}
.order-public-status-processing{color:#92400e !important;}
.order-public-status-delivered{color:#6d28d9 !important;}
.order-public-status-completed{color:#15803d !important;}
.order-public-status-cancelled{color:#b91c1c !important;}
.order-status-message,
.order-status-message *{
  color:inherit !important;
}
.order-public-photos span{
  background:#111827 !important;
  color:#fff !important;
}

/* PhotoSales Studio 2.5.3 - admin orders block placement fix */
#dashboard > #orders.orders-manager-card{margin-top:18px;}


/* PhotoSales Studio 2.5.4 - customer photo filters */
.customer-photo-filters{margin:18px 0 22px;padding:16px;border-radius:20px;background:linear-gradient(135deg,rgba(15,23,42,.96),rgba(30,41,59,.92));border:1px solid rgba(148,163,184,.28);box-shadow:0 18px 44px rgba(15,23,42,.18);color:#e2e8f0}
.customer-photo-filters-head{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:12px}
.customer-photo-filters-head strong{font-size:16px;color:#bfdbfe}.customer-photo-filters-head span{font-size:13px;color:#86efac;font-weight:800}
.customer-photo-filter-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.customer-photo-filter-actions label{display:inline-flex;align-items:center;gap:7px;padding:9px 11px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);font-weight:800;color:#e0f2fe}.customer-photo-filter-actions input{accent-color:#38bdf8}.customer-photo-category-filter{border-radius:14px!important}.customer-photo-category-filter span{color:#bfdbfe}.customer-photo-category-filter select{border:1px solid rgba(255,255,255,.16);background:rgba(15,23,42,.92);color:#fff;border-radius:10px;padding:8px 10px}.photo.smart-hidden{display:none!important}@media(max-width:720px){.customer-photo-filters-head{align-items:flex-start;flex-direction:column}.customer-photo-filter-actions{display:grid;grid-template-columns:1fr}.customer-photo-filter-actions label,.customer-photo-filter-actions .btn{width:100%;box-sizing:border-box;justify-content:flex-start}.customer-photo-category-filter{align-items:flex-start;flex-direction:column;border-radius:16px!important}.customer-photo-category-filter select{width:100%}}


/* PhotoSales Studio 2.5.5 - customer filter panel polish */
.album-share-card,.album-share-card strong,.album-share-card p{color:#0f172a;}
.album-share-card p{color:#334155;}
.customer-photo-filters{margin:18px 0 22px;padding:18px;border-radius:22px;background:linear-gradient(135deg,#f8fafc,#eef6ff);border:1px solid rgba(15,23,42,.12);box-shadow:0 18px 44px rgba(15,23,42,.12);color:#0f172a}
.customer-photo-filters-head{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;margin-bottom:14px}.customer-photo-filters-head strong{display:block;font-size:17px;color:#0f172a}.customer-photo-filters-head small{display:block;margin-top:4px;color:#0369a1;font-weight:800}.customer-photo-filters-head span{font-size:13px;color:#166534;font-weight:900;background:#dcfce7;border:1px solid #86efac;border-radius:999px;padding:6px 10px;white-space:nowrap}
.customer-photo-filter-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px) auto;gap:14px;align-items:end}.customer-photo-filter-group{background:#fff;border:1px solid rgba(15,23,42,.1);border-radius:18px;padding:12px;box-shadow:0 8px 20px rgba(15,23,42,.05)}.customer-photo-filter-title{display:block;margin-bottom:9px;color:#0f172a;font-weight:900}.customer-photo-filter-options{display:flex;flex-wrap:wrap;gap:9px}.customer-photo-filter-options label{display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border-radius:999px;background:#f1f5f9;border:1px solid #cbd5e1;font-weight:800;color:#0f172a;cursor:pointer}.customer-photo-filter-options input{accent-color:#0284c7}.customer-photo-filter-options em{font-style:normal;min-width:24px;text-align:center;padding:2px 7px;border-radius:999px;background:#e0f2fe;color:#075985;font-weight:900}.customer-photo-category-filter select{width:100%;border:1px solid #cbd5e1;background:#fff;color:#0f172a;border-radius:12px;padding:10px 12px;font-weight:800}.photo.smart-hidden{display:none!important}@media(max-width:900px){.customer-photo-filter-panel{grid-template-columns:1fr}.customer-photo-filter-panel .btn{width:100%}}@media(max-width:720px){.customer-photo-filters-head{align-items:flex-start;flex-direction:column}.customer-photo-filters-head span{white-space:normal}.customer-photo-filter-options{display:grid;grid-template-columns:1fr}.customer-photo-filter-options label{width:100%;box-sizing:border-box;justify-content:space-between}}


/* PhotoSales Studio 3.0.1: visible upload fallback for create/edit gallery screens. */
.classic-upload-fallback{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0;padding:14px;border-radius:14px;background:rgba(15,23,42,.06);border:1px solid rgba(15,23,42,.12);text-align:left}
.classic-upload-fallback label{display:grid;gap:7px;color:#0f172a;font-weight:800}
.classic-upload-fallback small{grid-column:1/-1;color:#475569;line-height:1.45}
.classic-upload-fallback input[type=file],.smart-upload-drop .classic-upload-fallback input[type=file]{display:block!important;width:100%;padding:10px;border-radius:10px;background:#fff;color:#0f172a;border:1px solid rgba(15,23,42,.18)}
.album-create-upload{border-color:rgba(59,130,246,.35);background:rgba(59,130,246,.06)}
@media(max-width:760px){.classic-upload-fallback{grid-template-columns:1fr}}

/* PhotoSales Studio 3.0.30 - detailed customer photo search */
.customer-photo-advanced-filter{grid-column:1 / -1}
.customer-photo-advanced-grid{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:10px}
.customer-photo-advanced-grid label{display:flex;flex-direction:column;gap:6px;font-weight:800;color:#0f172a}
.customer-photo-advanced-grid label span{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#475569}
.customer-photo-advanced-grid input,.customer-photo-advanced-grid select{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;background:#fff;color:#0f172a;border-radius:12px;padding:10px 12px;font-weight:800;min-height:42px}
.customer-photo-advanced-grid input:focus,.customer-photo-advanced-grid select:focus{outline:2px solid rgba(14,165,233,.28);border-color:#0284c7}
@media(max-width:1100px){.customer-photo-advanced-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.customer-photo-advanced-grid{grid-template-columns:1fr}}

/* PhotoSales Studio 3.0.31 - Professional Dashboard */
.pss-dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px!important;background:linear-gradient(135deg,#0f172a,#1e293b)!important;color:#fff!important;overflow:hidden;position:relative}.pss-dashboard-hero:after{content:"";position:absolute;right:-80px;top:-80px;width:260px;height:260px;background:rgba(255,255,255,.08);border-radius:50%}.pss-dashboard-welcome{position:relative;z-index:1}.pss-dashboard-welcome h2{font-size:34px;line-height:1.15;margin:8px 0;color:#fff!important}.pss-dashboard-welcome p{color:#cbd5e1!important;max-width:720px}.pss-dashboard-date{position:relative;z-index:1;text-align:right;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);border-radius:18px;padding:16px 18px;min-width:150px}.pss-dashboard-date strong{display:block;font-size:22px;color:#fff}.pss-dashboard-date span{display:block;color:#cbd5e1;margin-top:4px}.pss-dashboard-primary-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:20px 0}.pss-stat-card{display:flex;align-items:center;gap:15px;padding:22px;border-radius:22px;text-decoration:none;background:#fff;border:1px solid #e5e7eb;box-shadow:0 18px 45px rgba(15,23,42,.08);color:#0f172a;transition:.18s ease}.pss-stat-card:hover{transform:translateY(-2px);box-shadow:0 22px 55px rgba(15,23,42,.12)}.pss-stat-card span{width:54px;height:54px;display:grid;place-items:center;border-radius:18px;font-size:26px;background:#eff6ff}.pss-stat-card strong{display:block;font-size:30px;line-height:1;color:#0f172a}.pss-stat-card small{display:block;margin-top:6px;color:#64748b;font-weight:800}.pss-stat-card.is-blue span{background:#dbeafe}.pss-stat-card.is-green span{background:#dcfce7}.pss-stat-card.is-orange span{background:#ffedd5}.pss-stat-card.is-red span{background:#fee2e2}.pss-dashboard-money-row{display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px;margin:0 0 20px}.pss-revenue-card{padding:22px!important}.pss-revenue-card strong{display:block;font-size:32px;color:#0f172a;margin:6px 0}.pss-revenue-card small{color:#64748b;font-weight:800}.pss-revenue-card.muted strong{font-size:24px}.pss-dashboard-quick-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:20px!important}.pss-dashboard-panels{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.pss-dashboard-panel{min-height:260px}.pss-activity-list,.pss-expiring-list{display:grid;gap:12px}.pss-activity-item,.pss-expiring-item{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid #e5e7eb;border-radius:16px;background:#f8fafc;text-decoration:none;color:#0f172a}.pss-activity-item>span,.pss-expiring-item>span{width:34px;height:34px;display:grid;place-items:center;border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(15,23,42,.08)}.pss-activity-item strong,.pss-expiring-item strong{display:block;color:#0f172a}.pss-activity-item small,.pss-expiring-item small{display:block;color:#64748b;margin-top:4px}.pss-secondary-stats{grid-template-columns:repeat(6,minmax(0,1fr))}.admin-dashboard>.order-pipeline-card{margin-top:20px!important}@media(max-width:1180px){.pss-dashboard-primary-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.pss-dashboard-money-row,.pss-dashboard-panels{grid-template-columns:1fr}.pss-secondary-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.pss-dashboard-hero{display:block}.pss-dashboard-date{text-align:left;margin-top:16px}.pss-dashboard-primary-stats,.pss-secondary-stats{grid-template-columns:1fr}.pss-stat-card strong{font-size:26px}.pss-dashboard-welcome h2{font-size:26px}}
/* PhotoSales Studio 3.0.32 - Professional Activity Log */
.pss-dashboard-grid.mini{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0 22px}.activity-log-pro .pss-stat-card{min-height:94px}.pss-activity-timeline{display:grid;gap:12px}.pss-activity-row{display:grid;grid-template-columns:48px 1fr minmax(190px,260px);gap:14px;align-items:center;padding:15px 16px;border:1px solid #e5e7eb;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05)}.pss-activity-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:15px;background:#f8fafc;border:1px solid #e5e7eb}.pss-activity-content strong{display:block;color:#0f172a;line-height:1.35}.pss-activity-content small{display:block;margin-top:5px;color:#64748b}.pss-activity-meta{text-align:right}.pss-activity-meta span{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#3730a3;font-weight:800;font-size:12px}.pss-activity-meta small{display:block;margin-top:6px;color:#64748b}@media(max-width:820px){.pss-dashboard-grid.mini{grid-template-columns:1fr}.pss-activity-row{grid-template-columns:42px 1fr}.pss-activity-meta{text-align:left;grid-column:2}.pss-activity-meta span{margin-top:4px}}

/* PhotoSales Studio 3.0.33 - professional order status workflow */
.order-status-workflow{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));gap:10px;margin:14px 0 20px;padding:12px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.035);border-radius:18px}
.status-flow-form{margin:0}.status-flow-step{width:100%;min-height:76px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:rgba(255,255,255,.055);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-weight:900;cursor:pointer;transition:.18s ease;text-align:center;padding:10px}
.status-flow-step span{font-size:24px}.status-flow-step strong{font-size:13px}.status-flow-step:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.28);background:rgba(255,255,255,.09)}.status-flow-step.active{cursor:default;box-shadow:inset 0 0 0 2px rgba(255,255,255,.28);background:linear-gradient(135deg,rgba(249,115,22,.28),rgba(239,68,68,.20))}.status-flow-step:disabled{opacity:1}
.quick-status-form{margin-top:8px}.mini-status-btn{padding:7px 10px!important;font-size:12px!important;box-shadow:none!important}.order-status-badge{display:inline-flex;align-items:center;gap:6px;margin-bottom:4px}.order-history{display:grid;gap:6px;margin:14px 0;padding:12px;border:1px dashed rgba(255,255,255,.18);border-radius:14px;background:rgba(0,0,0,.12)}.order-history strong{margin-bottom:2px}.order-history span{color:#cbd5e1;font-size:13px}
.order-status-new,.order-status-confirmed,.order-status-paid,.order-status-processing,.order-status-delivered,.order-status-completed,.order-status-cancelled{border-color:rgba(255,255,255,.14)}.order-status-new{background:rgba(59,130,246,.13)!important;color:#bfdbfe!important}.order-status-confirmed{background:rgba(14,165,233,.14)!important;color:#bae6fd!important}.order-status-paid{background:rgba(34,197,94,.14)!important;color:#bbf7d0!important}.order-status-processing{background:rgba(245,158,11,.15)!important;color:#fde68a!important}.order-status-delivered{background:rgba(139,92,246,.16)!important;color:#ddd6fe!important}.order-status-completed{background:rgba(16,185,129,.16)!important;color:#bbf7d0!important}.order-status-cancelled{background:rgba(239,68,68,.16)!important;color:#fecaca!important}
@media(max-width:1100px){.order-status-workflow{grid-template-columns:repeat(4,minmax(120px,1fr))}}@media(max-width:720px){.order-status-workflow{grid-template-columns:repeat(2,minmax(0,1fr))}.status-flow-step{min-height:66px}}


/* PhotoSales Studio 3.0.35 - Modern Dashboard Quick Actions */
.pss-dashboard-quick-actions.admin-card{display:block!important;padding:24px!important;margin:20px 0!important;background:linear-gradient(180deg,#ffffff,#f8fafc)!important;border:1px solid #e5e7eb!important;border-radius:26px!important;box-shadow:0 18px 50px rgba(15,23,42,.08)!important}
.pss-quick-actions-head{display:flex;flex-direction:column;gap:5px;margin-bottom:18px}.pss-quick-actions-head h2{margin:0;color:#0f172a;font-size:24px;line-height:1.2}.pss-quick-actions-head p{margin:0;color:#64748b;font-weight:700;line-height:1.5}.pss-quick-actions-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.pss-quick-action-card{position:relative;display:flex;flex-direction:column;gap:8px;min-height:142px;padding:20px 18px;border-radius:24px;background:#fff;border:1px solid #e5e7eb;color:#0f172a;text-decoration:none;box-shadow:0 12px 34px rgba(15,23,42,.07);overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.pss-quick-action-card:after{content:"";position:absolute;right:-34px;top:-34px;width:98px;height:98px;border-radius:50%;background:rgba(15,23,42,.035);transition:.18s ease}.pss-quick-action-card:hover{transform:translateY(-4px);box-shadow:0 22px 55px rgba(15,23,42,.13);border-color:#cbd5e1}.pss-quick-action-card:hover:after{transform:scale(1.18);background:rgba(59,130,246,.08)}.pss-quick-action-card strong{display:block;color:#0f172a;font-size:17px;line-height:1.2;position:relative;z-index:1}.pss-quick-action-card small{display:block;color:#64748b;font-weight:750;line-height:1.35;position:relative;z-index:1}.pss-quick-action-icon{width:56px;height:56px;display:grid;place-items:center;border-radius:20px;background:#f1f5f9;border:1px solid #e2e8f0;font-size:27px;position:relative;z-index:1}.pss-quick-action-card.is-primary{background:linear-gradient(135deg,#0f172a,#1e293b);border-color:#1e293b;color:#fff;box-shadow:0 20px 55px rgba(15,23,42,.20)}.pss-quick-action-card.is-primary strong{color:#fff}.pss-quick-action-card.is-primary small{color:#cbd5e1}.pss-quick-action-card.is-primary .pss-quick-action-icon{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.18)}.pss-quick-action-card.is-primary:after{background:rgba(255,255,255,.08)}
@media(max-width:1280px){.pss-quick-actions-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:820px){.pss-quick-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pss-quick-action-card{min-height:130px}}@media(max-width:560px){.pss-quick-actions-grid{grid-template-columns:1fr}.pss-dashboard-quick-actions.admin-card{padding:18px!important}.pss-quick-action-card{min-height:auto}}


/* PhotoSales Studio 3.0.37 - contrast polish and localized dashboard finishing */
.pss-dashboard-quick-actions.admin-card{
  background:linear-gradient(180deg,#ffffff,#f8fafc)!important;
  color:#0f172a!important;
}
.pss-dashboard-quick-actions .eyebrow,
.pss-dashboard-quick-actions h2,
.pss-dashboard-quick-actions p{
  color:#0f172a!important;
}
.pss-dashboard-quick-actions .pss-quick-actions-head p{color:#64748b!important;}
.pss-quick-action-card,
.pss-quick-action-card:visited{
  color:#0f172a!important;
}
.pss-quick-action-card strong{color:#0f172a!important;}
.pss-quick-action-card small{color:#64748b!important;}
.pss-quick-action-card.is-primary,
.pss-quick-action-card.is-primary:visited{
  color:#ffffff!important;
  background:linear-gradient(135deg,#0f172a,#1e293b)!important;
}
.pss-quick-action-card.is-primary strong,
.pss-quick-action-card.is-primary .pss-quick-action-icon{
  color:#ffffff!important;
}
.pss-quick-action-card.is-primary small{color:#e2e8f0!important;}
.pss-quick-action-card.is-primary .pss-quick-action-icon{
  background:rgba(255,255,255,.14)!important;
  border-color:rgba(255,255,255,.28)!important;
}

/* High-contrast form controls in dark admin cards, including Watermark Manager */
.admin-main .admin-card .field label,
.admin-main .admin-card label,
.admin-main .admin-card .card-head h2{
  color:#f8fafc!important;
}
.admin-main .admin-card .card-head p,
.admin-main .admin-card small{
  color:#cbd5e1!important;
}
.admin-main .admin-card input,
.admin-main .admin-card textarea,
.admin-main .admin-card select,
.pro-form input,
.pro-form textarea,
.pro-form select,
.admin-table input,
.admin-table textarea,
.admin-table select{
  background:#020617!important;
  color:#ffffff!important;
  border-color:rgba(255,255,255,.24)!important;
}
.admin-main .admin-card input::placeholder,
.admin-main .admin-card textarea::placeholder,
.pro-form input::placeholder,
.pro-form textarea::placeholder{
  color:#94a3b8!important;
  opacity:1!important;
}
.admin-main .admin-card select option{
  background:#020617!important;
  color:#ffffff!important;
}
#watermark .watermark-photo-sample span{
  background:rgba(2,6,23,.82)!important;
  border:1px solid rgba(255,255,255,.22)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.38)!important;
}
#watermark .watermark-photo-sample span strong{color:#ffffff!important;}
#watermark .watermark-photo-sample span small{color:#fed7aa!important;}
#watermark .admin-info{color:#eff6ff!important;}

/* PhotoSales Studio 3.0.39: final admin contrast cleanup */
.admin-main .admin-info,
.admin-main .admin-card .admin-info,
.admin-main #watermark .admin-info,
.admin-main #watermark p.admin-info,
.admin-main .pro-form .admin-info{
  background:#eff6ff!important;
  border:1px solid #bfdbfe!important;
  color:#1e3a8a!important;
  text-shadow:none!important;
}
.admin-main .admin-info *,
.admin-main #watermark .admin-info *{
  color:#1e3a8a!important;
  text-shadow:none!important;
}
.admin-main .field label,
.admin-main .admin-card label,
.admin-main .admin-card .field > label,
.admin-main .admin-card .setting-label,
.admin-main .admin-card legend{
  color:#111827!important;
}

/* PhotoSales Studio 3.0.40 - per-photo order format controls */
.photo-format-control{display:flex;gap:8px;align-items:center;margin-top:10px;padding:8px 10px;border:1px solid rgba(15,23,42,.12);border-radius:12px;background:#fff;color:#111827;}
.photo-format-control em{font-style:normal;font-size:12px;font-weight:700;color:#374151;white-space:nowrap;}
.photo-format-control select{width:100%;min-width:0;border:1px solid #cbd5e1;border-radius:10px;padding:8px 10px;background:#fff;color:#111827;font-weight:700;}
.per-photo-format-note{display:inline-flex;align-items:center;gap:6px;color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:700;}
.order-format-list{margin:8px 0 14px;padding-left:20px;color:#111827;}
.order-format-list li{margin:4px 0;}

/* PhotoSales Studio 3.0.41 - Global cart clarity */
.global-cart-link{margin-left:auto;white-space:nowrap}
.order-summary,.order-summary p,.order-summary li,.order-summary strong,.order-summary span,.order-summary em{color:#fff!important}
.order-format-list{display:flex;flex-direction:column;gap:8px;margin:12px 0;padding:0;list-style:none}
.order-format-list li{display:grid;grid-template-columns:1fr auto auto auto;gap:10px;align-items:center;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}
.order-format-list li em{font-style:normal;color:#dbeafe!important}.order-format-list li strong{font-weight:800;color:#fff!important}.cart-remove-mini{width:30px;height:30px;border-radius:999px;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:18px;cursor:pointer}.cart-remove-mini:hover{background:#ef4444}.cart-gallery-group{margin:14px 0}.cart-gallery-group>strong{display:block;margin-bottom:8px;color:#fff!important}
.global-cart-panel{max-width:980px;margin:0 auto}.cart-headline{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.cart-headline h1{margin:0 0 6px}.cart-headline p{margin:0;color:#4b5563}.global-cart-content{display:flex;flex-direction:column;gap:18px}.global-cart-group{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:16px;box-shadow:0 10px 28px rgba(15,23,42,.08)}.global-cart-group h3{margin:0 0 12px;color:#111827}.global-cart-item{display:grid;grid-template-columns:1fr auto auto auto;gap:12px;align-items:center;padding:10px 0;border-top:1px solid #eef2f7}.global-cart-item:first-of-type{border-top:0}.global-cart-item span{font-weight:700;color:#111827}.global-cart-item em{font-style:normal;color:#475569}.global-cart-item strong{color:#111827}.global-cart-item button{border:0;border-radius:999px;background:#fee2e2;color:#991b1b;padding:7px 12px;cursor:pointer;font-weight:700}.global-cart-item button:hover{background:#fecaca}.global-cart-total{display:flex;justify-content:space-between;align-items:center;margin:18px 0;padding:18px;border-radius:18px;background:#111827;color:#fff}.global-cart-total span,.global-cart-total strong{color:#fff!important}.global-cart-total strong{font-size:24px}.cart-customer-box{background:#f8fafc;border:1px solid #e5e7eb;border-radius:18px;padding:16px;margin-top:16px}.cart-customer-box h3{margin-top:0;color:#111827}.cart-order-channels{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}@media(max-width:760px){.cart-headline{display:block}.global-cart-item,.order-format-list li{grid-template-columns:1fr;align-items:start}.global-cart-link{margin-left:0;width:100%;text-align:center}.photo-basket-options{align-items:stretch}.photo-basket-options>*{margin-bottom:8px}}


/* PhotoSales Studio 3.0.42 - Floating global cart */
.pss-floating-cart{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:9999;
  display:flex;
  align-items:center;
  gap:12px;
  min-width:230px;
  max-width:calc(100vw - 28px);
  padding:13px 15px;
  border-radius:22px;
  background:linear-gradient(135deg,#111827,#1f2937);
  color:#ffffff!important;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 22px 60px rgba(2,6,23,.34);
  transform:translateY(0);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease;
}
.pss-floating-cart:hover{transform:translateY(-3px);box-shadow:0 28px 70px rgba(2,6,23,.44);}
.pss-floating-cart-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:16px;background:rgba(255,255,255,.12);font-size:23px;flex:0 0 auto;}
.pss-floating-cart-text{display:flex;flex-direction:column;gap:2px;min-width:0;}
.pss-floating-cart-text strong{color:#fff!important;font-size:15px;line-height:1.1;}
.pss-floating-cart-text small{color:#e5e7eb!important;font-size:13px;font-weight:750;line-height:1.25;white-space:nowrap;}
.pss-floating-cart-open{margin-left:auto;border-radius:999px;padding:7px 10px;background:rgba(255,255,255,.12);color:#fff!important;font-size:12px;font-weight:800;white-space:nowrap;}
.pss-floating-cart.has-items{background:linear-gradient(135deg,#0f172a,#14532d);}
.pss-floating-cart.has-items .pss-floating-cart-icon{background:rgba(34,197,94,.22);}
.pss-floating-cart.is-empty{opacity:.82;}
@media(max-width:640px){
  .pss-floating-cart{left:12px;right:12px;bottom:12px;min-width:0;width:auto;border-radius:18px;padding:12px;}
  .pss-floating-cart-open{display:none;}
  body{padding-bottom:86px;}
}


/* PhotoSales Studio 3.0.43 - Floating dock: cart above Go to top */
.pss-floating-cart{
  bottom:88px!important;
}
.back-to-top{
  right:22px!important;
  bottom:22px!important;
  width:48px!important;
  height:48px!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,#111827,#1f2937)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  color:#ffffff!important;
  box-shadow:0 18px 45px rgba(2,6,23,.32)!important;
}
.back-to-top.show{
  opacity:1!important;
  visibility:visible!important;
}
.back-to-top:hover{
  transform:translateY(-3px)!important;
  box-shadow:0 24px 58px rgba(2,6,23,.42)!important;
}
@media(max-width:640px){
  .pss-floating-cart{
    left:12px!important;
    right:76px!important;
    bottom:12px!important;
    width:auto!important;
    max-width:none!important;
  }
  .pss-floating-cart-icon{width:42px;height:42px;border-radius:14px;}
  .back-to-top{
    right:12px!important;
    bottom:12px!important;
    width:52px!important;
    height:52px!important;
    border-radius:18px!important;
  }
  body{padding-bottom:88px;}
}
@media(max-width:420px){
  .pss-floating-cart-text small{font-size:12px;}
  .pss-floating-cart-text strong{font-size:14px;}
}


/* PhotoSales Studio 3.0.44–3.0.46 Smart Cart, Smart Gallery and Smart Checkout */
.pss-floating-cart[hidden]{display:none!important}.pss-floating-cart.cart-dock-pop{animation:pssCartDockPop .48s ease}.photo.cart-add-pop{animation:pssPhotoCartPop .5s ease}.smart-cart-photo-badge{position:absolute;left:12px;bottom:112px;z-index:7;display:flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;background:rgba(15,23,42,.92);color:#fff;box-shadow:0 10px 25px rgba(15,23,42,.28);pointer-events:none;transform:translateY(5px);opacity:0;transition:.22s}.smart-cart-photo-badge span{font-size:12px;font-weight:850;color:#fff}.smart-cart-photo-badge strong{font-size:11px;color:#bbf7d0;background:rgba(34,197,94,.18);padding:3px 7px;border-radius:999px}.photo.is-in-cart .smart-cart-photo-badge{opacity:1;transform:none}.photo.is-in-cart{box-shadow:0 0 0 3px rgba(34,197,94,.22),0 16px 35px rgba(15,23,42,.12)}
.smart-checkout-overview,.smart-checkout-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0 18px}.smart-checkout-overview span,.smart-checkout-stats span{display:flex;flex-direction:column;gap:2px;padding:13px 15px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0;color:#64748b;font-size:12px;font-weight:750}.smart-checkout-overview strong,.smart-checkout-stats strong{font-size:18px;color:#0f172a}.smart-checkout-group-head,.smart-cart-group-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:10px}.smart-checkout-group-head small,.smart-cart-group-head small{color:#64748b}.checkout-format-select,.global-cart-item select{min-width:150px;border:1px solid #cbd5e1;border-radius:10px;padding:8px 10px;background:#fff;color:#0f172a;font-weight:750}.smart-checkout-kicker{display:inline-flex;margin-bottom:8px;border-radius:999px;background:#dcfce7;color:#166534;padding:5px 10px;font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}.smart-cart-item-name{display:flex;flex-direction:column;min-width:0}.smart-cart-item-name span{overflow-wrap:anywhere}.smart-cart-item-name small{color:#94a3b8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:320px}.global-cart-item label{display:flex;flex-direction:column;gap:4px}.global-cart-item label small{color:#64748b;font-weight:750}.smart-cart-group-head h3{margin:0}.smart-cart-group-head>strong{color:#0f172a}.smart-cart-empty{text-align:center;padding:52px 20px;border:2px dashed #cbd5e1;border-radius:20px;background:#f8fafc}.smart-cart-empty span{display:block;font-size:42px;margin-bottom:10px}.smart-cart-empty h2{margin:0;color:#334155}
@keyframes pssCartDockPop{0%{transform:scale(.84) translateY(8px)}60%{transform:scale(1.06) translateY(-2px)}100%{transform:scale(1)}}@keyframes pssPhotoCartPop{0%,100%{transform:scale(1)}50%{transform:scale(1.018)}}
@media(max-width:760px){.smart-cart-photo-badge{bottom:142px}.smart-checkout-overview,.smart-checkout-stats{grid-template-columns:1fr}.checkout-format-select,.global-cart-item select{width:100%;min-width:0}.smart-cart-item-name small{max-width:100%}}


/* PhotoSales Studio 3.0.47 - order confirmation and review */
.order-success-confirmation{display:flex;gap:18px;align-items:flex-start;margin:0 0 24px;padding:22px;border-radius:22px;background:linear-gradient(135deg,#ecfdf5,#f0fdf4);border:1px solid #86efac;box-shadow:0 16px 36px rgba(22,101,52,.12)}
.order-success-icon{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:50%;background:#16a34a;color:#fff!important;font-size:26px;font-weight:950;box-shadow:0 8px 20px rgba(22,163,74,.25)}
.order-success-confirmation h2{margin:4px 0 8px!important;color:#14532d!important}.order-success-confirmation p{margin:0;color:#166534!important;line-height:1.6}.order-success-link-note{margin-top:9px!important;font-weight:900}
.order-public-groups{display:grid;gap:14px}.order-public-group{border:1px solid #e2e8f0;border-radius:18px;overflow:hidden;background:#fff}.order-public-group-head{display:flex;justify-content:space-between;gap:12px;padding:14px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.order-public-group-head span{color:#64748b!important;font-weight:800}.order-public-photo-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:center;padding:13px 16px;border-bottom:1px solid #f1f5f9}.order-public-photo-row:last-child{border-bottom:0}.order-public-photo-row div{min-width:0}.order-public-photo-row div strong{display:block;overflow-wrap:anywhere}.order-public-photo-row small{display:block;color:#64748b;margin-top:3px;overflow-wrap:anywhere}.order-public-photo-row>span{padding:6px 10px;border-radius:999px;background:#eff6ff;color:#1d4ed8!important;font-weight:850;font-size:.86rem}
@media(max-width:640px){.order-success-confirmation{display:block}.order-success-icon{margin-bottom:14px}.order-public-photo-row{grid-template-columns:1fr auto}.order-public-photo-row>span{grid-column:1}.order-public-photo-row>strong{grid-column:2;grid-row:1/3}}
.smart-price-summary{display:grid;gap:10px;padding:18px 20px}.smart-price-summary>div{display:flex;justify-content:space-between;align-items:center;gap:20px}.smart-price-summary .smart-discount-row{color:#16803a}.smart-price-summary .smart-final-row{padding-top:12px;border-top:1px solid rgba(0,0,0,.12);font-size:1.12em}.smart-price-summary .smart-final-row strong{font-size:1.25em}
.order-public-price-summary .order-public-discount{color:#16803a}.order-public-price-summary .order-public-value{margin-top:8px;padding-top:8px;border-top:1px solid rgba(0,0,0,.12)}
.order-channel-card textarea{width:100%;min-height:300px;margin:18px 0;padding:16px;border:1px solid var(--border,#dfe3e8);border-radius:14px;background:#f8fafc;font:14px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;resize:vertical}.order-channel-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.order-channel-actions .btn{margin:0}
.order-channel-guide{margin:18px 0;padding:16px 18px;border:1px solid #dbe4ef;border-radius:14px;background:#f8fafc;color:#1f2937}.order-channel-guide strong{display:block;margin-bottom:8px}.order-channel-guide ol{margin:0;padding-left:22px}.order-channel-guide li+li{margin-top:6px}.order-channel-recipient{margin:12px 0 0;word-break:break-word}

/* PhotoSales Studio 3.0.52 - visible secondary buttons on order channel page */
.order-channel-actions .btn.light{
  background:#ffffff!important;
  color:#0f172a!important;
  border:2px solid #334155!important;
  box-shadow:0 8px 20px rgba(15,23,42,.10)!important;
}
.order-channel-actions .btn.light:hover,
.order-channel-actions .btn.light:focus-visible{
  background:#f1f5f9!important;
  color:#020617!important;
  border-color:#0f172a!important;
  box-shadow:0 12px 26px rgba(15,23,42,.16)!important;
}

/* PhotoSales Studio 3.0.53 - Smart Email Composer */
.smart-email-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.smart-email-service{display:flex;flex-direction:column;gap:4px;padding:16px 18px;border:1px solid #d8e0ea;border-radius:14px;background:#fff;color:#111827!important;text-decoration:none!important;box-shadow:0 7px 20px rgba(15,23,42,.07);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.smart-email-service:hover,.smart-email-service:focus-visible{transform:translateY(-2px);box-shadow:0 11px 26px rgba(15,23,42,.13);border-color:#64748b}.smart-email-service strong{font-size:17px;color:#111827}.smart-email-service span{font-size:13px;color:#64748b}.smart-email-service.gmail{border-left:5px solid #d93025}.smart-email-service.yahoo{border-left:5px solid #6001d2}.smart-email-service.outlook{border-left:5px solid #0078d4}.smart-email-service.default-mail{border-left:5px solid #475569}.order-email-details{display:grid;gap:10px;margin:18px 0}.order-email-details>div{display:grid;grid-template-columns:minmax(90px,auto) 1fr auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid #dbe4ef;border-radius:12px;background:#f8fafc}.order-email-details span{color:#64748b}.order-email-details strong{color:#111827;word-break:break-word}.copy-mini{border:1px solid #475569;border-radius:999px;background:#fff;color:#111827;padding:7px 12px;font-weight:700;cursor:pointer}.copy-mini:hover,.copy-mini:focus-visible{background:#111827;color:#fff}@media(max-width:650px){.smart-email-services{grid-template-columns:1fr}.order-email-details>div{grid-template-columns:1fr}.copy-mini{justify-self:start}}


/* PhotoSales Studio 3.1.0 - Smart Recommendations */
.smart-recommendations{margin:28px 0;padding:24px;border:1px solid rgba(15,23,42,.12);border-radius:20px;background:linear-gradient(180deg,#fff,#f8fafc);box-shadow:0 14px 40px rgba(15,23,42,.07)}
.smart-recommendations[hidden]{display:none!important}.smart-recommendations-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.smart-recommendations-head h2{margin:4px 0 6px;font-size:clamp(1.25rem,2vw,1.7rem)}.smart-recommendations-head p{margin:0;color:#64748b}.smart-recommendations-head .eyebrow{font-size:.76rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#475569}
.smart-recommendations-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.smart-recommendation-card{min-width:0;overflow:hidden;border:1px solid rgba(15,23,42,.1);border-radius:15px;background:#fff;box-shadow:0 7px 20px rgba(15,23,42,.06);transition:transform .2s ease,box-shadow .2s ease}.smart-recommendation-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(15,23,42,.12)}.smart-recommendation-card[hidden]{display:none!important}.smart-recommendation-preview{display:block;width:100%;height:145px;padding:0;border:0;background:#e2e8f0;cursor:zoom-in}.smart-recommendation-preview img{display:block;width:100%;height:100%;object-fit:cover}.smart-recommendation-copy{display:grid;gap:6px;padding:12px}.smart-recommendation-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.smart-recommendation-copy small{overflow:hidden;color:#64748b;text-overflow:ellipsis;white-space:nowrap}.smart-recommendation-add{width:100%;margin-top:4px;padding:9px 10px;font-size:.82rem}
@media(max-width:1100px){.smart-recommendations-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:640px){.smart-recommendations{padding:18px 14px}.smart-recommendations-head{display:block}.smart-recommendations-head .badge-soft{display:inline-flex;margin-top:10px}.smart-recommendations-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.smart-recommendation-preview{height:125px}}

/* PhotoSales Studio 3.1.2-3.1.4 - Favorites, Quick Compare, Recently Viewed, Smart Filters */
.photo-actions .compare-btn{position:static;width:34px;height:34px;min-width:34px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:rgba(0,0,0,.68);border:1px solid rgba(255,255,255,.22);color:#fff;font-size:17px;cursor:pointer}.photo-actions .compare-btn.active{background:#2563eb;border-color:#93c5fd}.photo-collection-panel{margin:28px 0;padding:24px;border:1px solid rgba(15,23,42,.12);border-radius:20px;background:linear-gradient(180deg,#fff,#f8fafc);box-shadow:0 14px 40px rgba(15,23,42,.07);color:#0f172a}.photo-collection-panel[hidden]{display:none!important}.photo-collection-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px}.photo-collection-head h2{margin:4px 0 6px}.photo-collection-head p{margin:0;color:#64748b}.photo-collection-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.photo-collection-card{overflow:hidden;border:1px solid #e2e8f0;border-radius:15px;background:#fff}.photo-collection-card img{width:100%;height:145px;object-fit:cover;display:block}.photo-collection-copy{padding:11px;display:grid;gap:9px}.photo-collection-copy strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.photo-collection-actions{display:grid;gap:6px}.photo-collection-actions .btn{font-size:.78rem;padding:8px}.compare-tray{position:fixed;left:50%;transform:translateX(-50%);bottom:22px;z-index:120;width:min(660px,calc(100vw - 28px));display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 16px;border-radius:18px;background:#0f172a;color:#fff;border:1px solid rgba(255,255,255,.18);box-shadow:0 22px 60px rgba(0,0,0,.38)}.compare-tray[hidden]{display:none!important}.compare-tray>div:first-child{display:flex;gap:10px;align-items:center}.compare-tray-actions{display:flex;gap:8px}.compare-modal{position:fixed;inset:0;z-index:410;display:none;align-items:center;justify-content:center;padding:22px;background:rgba(2,6,23,.84)}.compare-modal.open{display:flex}.compare-modal-card{position:relative;width:min(1180px,96vw);max-height:92vh;overflow:auto;padding:26px;border-radius:24px;background:#fff;color:#0f172a}.compare-modal-close{position:absolute;right:16px;top:16px;width:42px;height:42px;border-radius:999px;border:1px solid #cbd5e1;background:#fff;font-size:28px;cursor:pointer}.compare-modal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:20px}.compare-photo-card{display:grid;gap:12px;padding:14px;border:1px solid #e2e8f0;border-radius:18px}.compare-photo-card img{width:100%;height:min(48vh,420px);object-fit:contain;background:#f1f5f9;border-radius:12px}.compare-photo-card select{width:100%;padding:10px;border:1px solid #cbd5e1;border-radius:10px}.customer-photo-commerce-filter{grid-column:1/-1}.customer-photo-commerce-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.customer-photo-commerce-grid label{display:grid;gap:5px;color:#334155;font-weight:800}.customer-photo-commerce-grid select,.customer-photo-commerce-grid input{width:100%;box-sizing:border-box;padding:9px 10px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a}
@media(max-width:1000px){.photo-collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-photo-commerce-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.photo-collection-panel{padding:18px 14px}.photo-collection-head{display:block}.photo-collection-head .btn{margin-top:10px}.photo-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compare-tray{bottom:10px;align-items:stretch;flex-direction:column}.compare-tray-actions .btn{flex:1}.compare-modal-grid{grid-template-columns:1fr}.customer-photo-commerce-grid{grid-template-columns:1fr}.photo-actions .compare-btn{width:30px;height:30px;min-width:30px}}

/* PhotoSales Studio 3.1.5 - Unified floating tools / overlap fix */
/* The legacy selected-photos bar duplicated the global Smart Cart and covered
   Favorites / Quick Compare controls. Keep its DOM hooks for compatibility,
   but never render the legacy floating bar. */
.photo-basket-floating{display:none!important}

/* Keep Quick Compare clear of the global cart on wider screens. */
@media (min-width:761px){
  .compare-tray{
    left:24px;
    right:380px;
    width:auto;
    max-width:720px;
    transform:none;
    bottom:24px;
  }
}

/* On phones the global cart spans the bottom edge, so Quick Compare sits above it. */
@media (max-width:760px){
  .compare-tray{
    left:12px;
    right:12px;
    width:auto;
    transform:none;
    bottom:92px;
  }
  body:not(.has-photo-selection) .compare-tray{bottom:14px}
}

/* PhotoSales Studio 3.2.0b - Smart Action Layout */
.photo-share-zone{position:absolute;left:12px;bottom:42px;z-index:9;display:flex;flex-direction:column-reverse;align-items:flex-start;gap:8px;max-width:calc(100% - 72px)}
.photo-share-toggle{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:7px 11px;border:1px solid rgba(255,255,255,.38);border-radius:10px;background:rgba(15,23,42,.82);color:#fff;font:inherit;font-size:12px;font-weight:850;cursor:pointer;box-shadow:0 7px 20px rgba(0,0,0,.22);backdrop-filter:blur(10px);transition:background .18s ease,transform .18s ease,border-color .18s ease}
.photo-share-toggle:hover,.photo-share-toggle:focus-visible,.photo-share-zone.is-open .photo-share-toggle{background:#fff;color:#0f172a;border-color:#fff;transform:translateY(-1px)}
.photo-share-toggle span{font-size:16px;line-height:1}.photo-share-toggle strong{font-size:12px}
.photo-share-panel{display:flex;align-items:center;gap:6px;padding:7px;border:1px solid rgba(255,255,255,.3);border-radius:12px;background:rgba(15,23,42,.94);box-shadow:0 15px 36px rgba(0,0,0,.34);backdrop-filter:blur(14px)}
.photo-share-panel[hidden]{display:none!important}
.photo-share-option{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:6px 9px;border:1px solid rgba(255,255,255,.14);border-radius:8px;background:rgba(255,255,255,.08);color:#fff!important;text-decoration:none!important;font:inherit;cursor:pointer;white-space:nowrap}
.photo-share-option:hover,.photo-share-option:focus-visible{background:#fff;color:#0f172a!important;border-color:#fff}
.photo-share-option span{display:grid;place-items:center;min-width:18px;font-size:13px;font-weight:950}.photo-share-option em{font-size:11px;font-style:normal;font-weight:800}
.photo-share-zone .social-fb span{font-family:Arial,sans-serif}.photo-share-zone .social-x span{font-weight:950}
@media(max-width:760px){.photo-share-zone{left:10px;bottom:142px;max-width:calc(100% - 20px)}.photo-share-panel{max-width:calc(100vw - 38px);overflow-x:auto}.photo-share-option{padding:6px 8px}.photo-share-toggle strong{display:none}.photo-share-toggle{width:34px;height:34px;min-height:34px;padding:0;justify-content:center;border-radius:9px}}

/* PhotoSales Studio 3.3.1 - Smart Orders filters */
.smart-orders-filter-panel{display:grid;grid-template-columns:repeat(5,minmax(135px,1fr));gap:12px;align-items:end;margin:18px 0;padding:16px;border:1px solid #dbe5f0;border-radius:16px;background:#f8fbff}
.smart-orders-filter-panel .field{display:flex;flex-direction:column;gap:6px;min-width:0}
.smart-orders-filter-panel .field label{font-size:12px;font-weight:800;color:#475569}
.smart-orders-filter-panel input,.smart-orders-filter-panel select{width:100%;min-height:42px;padding:9px 11px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a}
.smart-orders-filter-panel .smart-order-search{grid-column:span 2}
.smart-order-filter-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:9px;padding-top:2px}
.smart-orders-filter-summary{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap;margin:2px 0 14px}
.smart-orders-result-count{display:flex;flex-direction:column;gap:2px}.smart-orders-result-count strong{font-size:14px;color:#0f172a}.smart-orders-result-count span{font-size:12px;color:#64748b}
.active-order-filters{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.active-order-filters>span{font-size:12px;font-weight:800;color:#64748b}.active-order-filters a{display:inline-flex;gap:4px;align-items:center;padding:7px 10px;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#1d4ed8;text-decoration:none;font-size:12px}.active-order-filters a:hover{background:#dbeafe}
.order-sort-link{display:inline-flex;align-items:center;gap:5px;color:inherit;text-decoration:none;white-space:nowrap}.order-sort-link span{font-size:11px;color:#64748b}.order-sort-link:hover{color:#2563eb}
#orders.is-filtering{position:relative;opacity:.68;pointer-events:none}#orders.is-filtering:after{content:'…';position:absolute;top:18px;right:18px;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#fff;box-shadow:0 5px 18px rgba(15,23,42,.15);font-weight:900}
@media(max-width:1200px){.smart-orders-filter-panel{grid-template-columns:repeat(3,minmax(145px,1fr))}.smart-orders-filter-panel .smart-order-search{grid-column:span 2}}
@media(max-width:760px){.smart-orders-filter-panel{grid-template-columns:1fr}.smart-orders-filter-panel .smart-order-search{grid-column:auto}.smart-order-filter-actions{flex-direction:column}.smart-order-filter-actions .btn{width:100%;justify-content:center}.smart-orders-filter-summary{flex-direction:column}.active-order-filters{align-items:flex-start}}

/* PhotoSales Studio 3.3.2 — Internal Notes */
.order-internal-notes-panel{margin:22px 0;padding:20px;border:1px solid #dbe4ef;border-radius:16px;background:#f8fafc}.internal-notes-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.internal-notes-head h4{margin:0 0 4px;font-size:1.1rem}.internal-notes-head p{margin:0;color:#64748b}.internal-notes-head>span{display:inline-flex;min-width:34px;height:34px;align-items:center;justify-content:center;border-radius:999px;background:#e2e8f0;font-weight:700}.internal-note-add-form{display:grid;gap:10px;margin-bottom:18px}.internal-note-add-form textarea,.internal-note-edit-form textarea{width:100%;min-height:88px;resize:vertical}.internal-note-add-form .btn{justify-self:start}.internal-notes-list{display:grid;gap:12px}.internal-note-item{position:relative;padding:15px;border:1px solid #dbe4ef;border-radius:13px;background:#fff}.internal-note-meta{display:flex;justify-content:space-between;gap:10px;margin-bottom:9px}.internal-note-meta span{color:#64748b;font-size:.82rem}.internal-note-edit-form{display:grid;gap:8px}.internal-note-edit-form .btn{justify-self:start}.internal-note-delete-form{position:absolute;right:14px;bottom:14px}.internal-note-delete-form .btn{padding:7px 10px}.internal-notes-empty{padding:14px;border:1px dashed #cbd5e1;border-radius:10px;color:#64748b}.order-note-indicator{display:inline-flex;align-items:center;gap:4px;margin-top:7px;padding:4px 8px;border-radius:999px;background:#fff7ed;color:#9a3412;font-size:.78rem;font-weight:700;text-decoration:none}.order-note-indicator:hover{background:#ffedd5}@media(max-width:700px){.internal-note-meta{flex-direction:column}.internal-note-delete-form{position:static;margin-top:8px}.internal-note-item{padding:13px}}


/* PhotoSales Studio 5.0.0-10.4 — Unified timeline priorities and combined filters */
.pss-activity-filter-groups{display:grid;gap:8px;margin-bottom:14px}.pss-activity-prioritybar{display:flex;gap:7px;overflow-x:auto;padding-bottom:2px}.pss-unified-activity-item[data-activity-priority="urgent"]{border-left:4px solid #dc2626}.pss-unified-activity-item[data-activity-priority="attention"]{border-left:4px solid #f59e0b}.pss-unified-activity-item[data-activity-priority="info"]{border-left:4px solid #3b82f6}.pss-activity-priority{display:inline-flex;align-items:center;width:max-content;margin-top:7px;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:900}.pss-priority-urgent{background:#fef2f2;color:#b91c1c}.pss-priority-attention{background:#fffbeb;color:#a16207}.pss-priority-info{background:#eff6ff;color:#1d4ed8}@media(max-width:700px){.pss-activity-filterbar,.pss-activity-prioritybar{overflow-x:auto;flex-wrap:nowrap}.pss-activity-filterbar button,.pss-activity-prioritybar button{white-space:nowrap}}


/* PhotoSales Studio 5.0.0-10.5a + 5.0.0-11.1 — precise contrast and Executive Dashboard */
.pss-activity-filterbar button.is-active{background:#eaf3ff!important;color:#123d68!important;border-color:#4f86bd!important}
.pss-attention-filters button.is-active{background:#dbeeff!important;color:#123d68!important;border-color:#79a9d6!important}
.pss-executive-dashboard{display:grid;gap:18px}.pss-executive-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.pss-executive-head h2{margin:.25rem 0}.pss-executive-periods{display:flex;gap:8px;overflow:auto;padding:2px 0}.pss-executive-periods a{flex:0 0 auto;padding:9px 14px;border:1px solid #d3dfeb;border-radius:999px;background:#fff;color:#244b70;text-decoration:none;font-weight:800}.pss-executive-periods a.is-active{background:#dbeeff;color:#123d68;border-color:#79a9d6}.pss-executive-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.pss-executive-kpi{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;padding:17px;border:1px solid #dce6f0;border-radius:16px;background:#fff;color:#173b5d;text-decoration:none}.pss-executive-kpi>span{grid-row:1/4;font-size:1.55rem}.pss-executive-kpi small,.pss-executive-kpi strong,.pss-executive-kpi em{display:block}.pss-executive-kpi strong{font-size:1.45rem}.pss-executive-kpi em{font-size:.75rem;font-style:normal;font-weight:800}.pss-executive-kpi em.is-up{color:#167548}.pss-executive-kpi em.is-down{color:#b42318}.pss-executive-kpi em.is-flat{color:#627487}.pss-executive-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:14px}.pss-executive-summary,.pss-executive-top{padding:17px;border:1px solid #dce6f0;border-radius:16px;background:#f9fbfd}.pss-executive-summary h3,.pss-executive-top h3{margin:0 0 13px}.pss-executive-summary>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pss-executive-summary span{padding:12px;border-radius:12px;background:#fff;border:1px solid #e2eaf2}.pss-executive-summary small,.pss-executive-summary strong{display:block}.pss-executive-ranking{display:grid;gap:8px}.pss-executive-ranking a{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid #dce6f0;border-radius:12px;background:#fff;color:#173b5d;text-decoration:none}.pss-executive-ranking a>b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#eaf3ff;color:#123d68}.pss-executive-ranking span strong,.pss-executive-ranking span small{display:block}.pss-executive-ranking span small{color:#64778a;margin-top:2px}.pss-executive-ranking em{font-style:normal;font-weight:900;white-space:nowrap}
@media(max-width:980px){.pss-executive-kpis{grid-template-columns:1fr 1fr}.pss-executive-grid{grid-template-columns:1fr}}@media(max-width:620px){.pss-executive-head{display:block}.pss-executive-head .btn{margin-top:12px}.pss-executive-kpis{grid-template-columns:1fr}.pss-executive-summary>div{grid-template-columns:1fr}.pss-executive-ranking a{grid-template-columns:30px minmax(0,1fr)}.pss-executive-ranking em{grid-column:2}}

/* 5.0.0-10.5a targeted contrast corrections retained in 11.1 */
.pss-ui-button--primary,.pss-ui-button--primary:visited{color:#fff!important}
.smart-order-filter-actions .btn:not(.light),.smart-order-filter-actions button.btn:not(.light){color:#fff!important}
.pss-ui-toolbar__actions .pss-ui-button--primary,.pss-ui-stack .pss-ui-button--primary{color:#fff!important}


/* PhotoSales Studio 5.0.0-11.2 — Gallery Analytics */
.pss-gallery-analytics{margin:0 0 24px;padding:20px;border:1px solid #dbe7f5;border-radius:18px;background:#fff}
.pss-gallery-analytics-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:16px 0}
.pss-gallery-analytics-controls label{display:grid;gap:5px;font-size:.82rem;font-weight:700;color:#334155}
.pss-gallery-analytics-controls input,.pss-gallery-analytics-controls select{min-height:42px;border:1px solid #cbd5e1;border-radius:10px;padding:8px 10px;background:#fff;color:#0f172a}
.pss-gallery-periods{display:flex;flex-wrap:wrap;gap:6px}.pss-gallery-periods a{padding:9px 12px;border-radius:999px;background:#eef6ff;color:#12345b;font-weight:800;text-decoration:none}.pss-gallery-periods a.is-active{background:#cfe8ff;color:#0b2d52;box-shadow:inset 0 0 0 1px #8fc7f5}
.pss-gallery-analytics-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:16px 0}.pss-gallery-analytics-kpis>div{padding:14px;border-radius:14px;background:#f6f9fc;border:1px solid #e2e8f0}.pss-gallery-analytics-kpis small{display:block;color:#64748b}.pss-gallery-analytics-kpis strong{display:block;margin-top:5px;color:#0f172a;font-size:1.1rem}
.pss-gallery-analytics-table td>small{display:block;color:#64748b;margin-top:3px}.pss-gallery-analytics-actions{display:flex;flex-wrap:wrap;gap:6px}.pss-gallery-analytics-actions .btn{white-space:nowrap}
.pss-conversion-badge,.pss-gallery-insight{display:inline-flex;border-radius:999px;padding:5px 9px;font-weight:800;font-size:.78rem;line-height:1.25}.pss-conversion-badge.is-strong{background:#dcfce7;color:#166534}.pss-conversion-badge.is-medium{background:#dbeafe;color:#1e3a8a}.pss-conversion-badge.is-empty{background:#f1f5f9;color:#475569}.pss-gallery-insight{white-space:normal;border-radius:10px}.pss-gallery-insight.is-warning{background:#fee2e2;color:#991b1b}.pss-gallery-insight.is-attention{background:#fef3c7;color:#92400e}.pss-gallery-insight.is-success{background:#dcfce7;color:#166534}.pss-gallery-insight.is-info{background:#e0f2fe;color:#075985}
@media(max-width:1100px){.pss-gallery-analytics-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.pss-gallery-analytics{padding:14px}.pss-gallery-analytics-controls>*{width:100%}.pss-gallery-periods{overflow-x:auto;flex-wrap:nowrap}.pss-gallery-periods a{flex:0 0 auto}.pss-gallery-analytics-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.pss-gallery-analytics-table{min-width:1100px}}

/* PhotoSales Studio 5.2.4-2 — Saved Views */
.pss-saved-views{margin:18px 0 10px;padding:14px 16px;border:1px solid #dbe5f0;border-radius:16px;background:#fff}.pss-saved-views-head strong{display:block}.pss-saved-views-head small{display:block;margin-top:3px;color:#64748b}.pss-saved-view-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.pss-saved-view-chip{display:flex;align-items:center;border:1px solid #cbd5e1;border-radius:999px;overflow:hidden;background:#f8fafc}.pss-saved-view-chip>a{padding:7px 10px;text-decoration:none;font-weight:700;color:#0f172a}.pss-saved-view-chip form{margin:0}.pss-saved-view-chip button{border:0;border-left:1px solid #cbd5e1;background:#fff;min-width:32px;height:34px;cursor:pointer}.pss-saved-empty{color:#64748b}.pss-save-view-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:-4px 0 18px}.pss-save-view-form>input[type=text],.pss-save-view-form>input:not([type]){min-width:220px;min-height:42px;padding:9px 11px;border:1px solid #cbd5e1;border-radius:10px}.pss-save-view-form label{display:flex;align-items:center;gap:6px}@media(max-width:760px){.pss-save-view-form{display:grid;grid-template-columns:1fr}.pss-save-view-form>*{width:100%}.pss-saved-view-list{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.pss-saved-view-chip{flex:0 0 auto}}
/* PhotoSales Studio 5.3.0-7 — Diagnostics & Performance Center */
.pss-diagnostics-score{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;padding:14px 16px;border:1px solid var(--pss-border,#d8e0ea);border-radius:14px;background:var(--pss-surface-soft,#f7f9fc)}
.pss-diagnostics-score div{display:flex;align-items:baseline;gap:10px}.pss-diagnostics-score strong{font-size:1.65rem}.pss-diagnostics-score span{font-size:.86rem;opacity:.75}
.pss-runtime-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-top:16px}.pss-runtime-metric{display:flex;flex-direction:column;gap:7px;min-width:0;padding:14px;border:1px solid var(--pss-border,#d8e0ea);border-left-width:4px;border-radius:12px;background:var(--pss-surface,#fff)}
.pss-runtime-metric small{line-height:1.3;opacity:.76}.pss-runtime-metric strong{overflow-wrap:anywhere}.pss-runtime-metric.is-good{border-left-color:#239b56}.pss-runtime-metric.is-warning{border-left-color:#d89a1b}.pss-runtime-metric.is-critical{border-left-color:#cc3d3d}.pss-diagnostics-footnote{margin:14px 0 0;font-size:.88rem;opacity:.8}
@media(max-width:640px){.pss-diagnostics-score{align-items:flex-start;flex-direction:column}.pss-runtime-metrics{grid-template-columns:1fr}}

/* PhotoSales Studio 5.5.6.1 — Virtual Gallery Engine */
.photo-grid.pss-virtual-gallery>.pss-virtual-slot{min-width:0;width:100%;align-self:start}
.photo-grid.pss-virtual-gallery>.pss-virtual-slot.is-mounted>.photo{width:100%;height:100%}
.photo-grid.pss-virtual-gallery>.pss-virtual-slot.is-virtual-placeholder{min-height:var(--pss-virtual-height,320px);contain:layout style paint;content-visibility:auto;contain-intrinsic-size:auto var(--pss-virtual-height,320px);border-radius:18px;background:linear-gradient(110deg,rgba(148,163,184,.06),rgba(148,163,184,.12),rgba(148,163,184,.06));background-size:220% 100%;animation:pssVirtualPulse 1.8s ease-in-out infinite}
.photo-grid.pss-virtual-gallery>.pss-virtual-slot[hidden]{display:none!important}
@keyframes pssVirtualPulse{0%,100%{background-position:100% 0}50%{background-position:0 0}}
@media(prefers-reduced-motion:reduce){.photo-grid.pss-virtual-gallery>.pss-virtual-slot.is-virtual-placeholder{animation:none}}

/* PhotoSales Studio 5.5.6.2 — Virtual Gallery State & Stability */
.photo-grid.pss-virtual-gallery{overflow-anchor:none}
.photo-grid.pss-virtual-gallery>.pss-virtual-slot{overflow-anchor:auto}
.photo-grid.pss-virtual-gallery[data-virtual-active="1"]{min-height:1px}
/* PhotoSales Studio 5.5.6.4 - Virtual Gallery UX & Recovery */
.photo-grid.pss-virtual-gallery>.pss-virtual-slot.is-mounted{min-height:0}
.photo-grid.pss-virtual-gallery>.pss-virtual-slot.is-virtual-placeholder{pointer-events:none}
.photo-grid.pss-virtual-gallery>.pss-virtual-slot.is-mounted:focus-within{position:relative;z-index:2}

/* 5.5.7.2 modern responsive image delivery */
.psp-responsive-picture{display:block;width:100%;line-height:0}
.psp-responsive-picture>img{display:block;width:100%}

/* PhotoSales Studio 5.5.8.3a – package discount admin polish */
.pss-package-discount-manager{padding:16px;border:1px solid rgba(14,116,144,.18);border-radius:20px;background:linear-gradient(135deg,#f8fbff,#eef8ff)}
.pss-package-discount-title{display:block!important;margin:0 0 5px;color:#12304f!important;font-size:18px;font-weight:900!important}
.pss-package-discount-help{margin:0 0 14px;color:#52647a;font-weight:650}
.pss-package-discount-table{gap:12px}
.pss-package-discount-row{position:relative;background:#fff!important;border:1px solid #d7e2ec!important;box-shadow:0 8px 20px rgba(35,73,110,.07);grid-template-columns:minmax(120px,150px) minmax(150px,1.35fr) minmax(110px,.8fr) minmax(90px,.65fr) minmax(110px,.8fr) minmax(90px,.65fr)!important}
.pss-package-discount-row input,.pss-package-discount-row select{background:#fff!important;color:#172033!important;border:1px solid #b9c8d6!important}
.pss-package-discount-row label{color:#172033!important;text-shadow:none!important}
.pss-package-discount-new{border-style:dashed!important;background:#f8fbfd!important}
@media(max-width:1050px){.pss-package-discount-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:680px){.pss-package-discount-manager{padding:12px}.pss-package-discount-row{grid-template-columns:1fr!important}.pss-package-discount-row input,.pss-package-discount-row select{width:100%!important;box-sizing:border-box}}

/* 5.7.0.4 gallery presentation compatibility: keep all gallery previews uniform. */
.photo>.psp-responsive-picture{
  display:block;
  width:100%;
  aspect-ratio:4/3;
  overflow:hidden;
  border-radius:18px;
  background:#111;
  border:1px solid var(--line);
}
.photo>.psp-responsive-picture>img{
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  aspect-ratio:auto;
  object-fit:cover;
  border:0;
  border-radius:0;
}

/* 5.14.2.4.9.5 — stable landscape gallery frames */
#photoGrid .photo>picture.psp-responsive-picture,#photoGrid .photo>picture,#photoGrid .photo>img{display:block;width:100%;aspect-ratio:4/3;overflow:hidden;border-radius:18px}
#photoGrid .photo>picture.psp-responsive-picture>img,#photoGrid .photo>picture>img,#photoGrid .photo>img{display:block;width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center center!important;border-radius:18px}
@media(max-width:760px){#photoGrid .photo>picture.psp-responsive-picture,#photoGrid .photo>picture,#photoGrid .photo>img{aspect-ratio:4/3}}

/* 5.14.2.4.9.6 — unified public gallery thumbnail geometry */
.photo>.pss-photo-thumb{position:relative;display:block;width:100%;aspect-ratio:4/3;overflow:hidden;border-radius:18px;border:1px solid var(--line);background:#111827}
.photo>.pss-photo-thumb>img,.photo>.pss-photo-thumb>picture{display:block;width:100%;height:100%;margin:0;border:0;border-radius:0}
.photo>.pss-photo-thumb>picture>img{display:block;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center center!important;border:0!important;border-radius:0!important}
.photo>.pss-photo-thumb>img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center center!important;border:0!important;border-radius:0!important}
.photo:hover>.pss-photo-thumb img{transform:scale(1.025);filter:brightness(.88)}
