/* public/css/websites/apps/1.css - App 1 (live video auction = live shopping): white cards on the night page, rose for
   the live, the prices and the seller, the stage of a live (video + website presented over it) */
/* bottom menu of a phone: icon above the text, the 4 tabs on one line */
menu.sticky-bottom{ flex-wrap:nowrap !important; }
menu.sticky-bottom .item-menu{ flex:1 1 0; min-width:0; flex-direction:column; gap:2px; padding:6px 0; font-size:.7rem !important; white-space:nowrap; }
menu.sticky-bottom .item-menu .fa{ font-size:1.2rem; }
.shop-page{ max-width:1200px; }
.shop-page-narrow{ max-width:720px; }
.shop-section{ font-weight:700; text-transform:uppercase; letter-spacing:.04em; font-size:.85rem; opacity:.9; }
.shop-accent{ color:#e11d48; }
.shop-text{ white-space:pre-line; }
.shop-icon{ width:2.4rem; height:2.4rem; border-radius:50%; background:linear-gradient(135deg,#fb7185,#e11d48); color:#fff; display:inline-flex; align-items:center; justify-content:center; box-shadow:0 2px 6px rgba(225,29,72,.4); }

/* live: a red dot that beats */
.shop-live-dot{ width:.6rem; height:.6rem; border-radius:50%; background:#ef4444; box-shadow:0 0 0 0 rgba(239,68,68,.7); animation:shop-beat 1.4s infinite; flex-shrink:0; }
@keyframes shop-beat{ 0%{ box-shadow:0 0 0 0 rgba(239,68,68,.7); } 70%{ box-shadow:0 0 0 .5rem rgba(239,68,68,0); } 100%{ box-shadow:0 0 0 0 rgba(239,68,68,0); } }
.shop-badge-live{ letter-spacing:.06em; animation:shop-blink 2s infinite; }
@keyframes shop-blink{ 50%{ opacity:.8; } }
.shop-badge-dark{ background:rgba(0,0,0,.55); color:#fff; font-weight:600; }
.shop-badge-seller{ font-size:.6rem; vertical-align:middle; }
/* the site's live presented by the AI hosts */
.shop-badge-ai{ background:#facc15; color:#18181b; font-weight:700; }

/* a live in the list: its picture in portrait, the texts over a dark gradient */
.shop-live-card{ aspect-ratio:3/4; background:#18181b; color:#fff; transition:transform .12s ease; }
.shop-live-card:active{ transform:scale(.98); }
.shop-live-cover{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; background:linear-gradient(135deg,#3f3f46,#18181b); }
.shop-live-top{ position:absolute; top:0; left:0; right:0; }
.shop-live-bottom{ position:absolute; bottom:0; left:0; right:0; background:linear-gradient(transparent,rgba(0,0,0,.85) 45%); padding-top:2rem !important; }
.shop-live-current{ background:rgba(255,255,255,.18); backdrop-filter:blur(4px); }

/* pictures of the websites: the website on a light background */
.shop-image{ aspect-ratio:1/1; background:#f4f4f5; overflow:hidden; }
.shop-image img{ width:100%; height:100%; object-fit:cover; }
.shop-thumb{ width:64px; height:64px; border-radius:.75rem; background:#f4f4f5; overflow:hidden; }
.shop-thumb img{ width:100%; height:100%; object-fit:cover; }
.shop-thumb-small{ width:48px; height:48px; border-radius:.6rem; }
.shop-thumb-tiny{ width:32px; height:32px; border-radius:.4rem; }
.shop-price{ font-weight:800; color:#e11d48; font-variant-numeric:tabular-nums; }
.shop-price-big{ font-size:1.5rem; }
.shop-row-now{ background:#fff1f2; }
.shop-qty{ width:2rem; padding-left:0; padding-right:0; }
.shop-switch .btn{ border-radius:.75rem; }

/* the stage of a live: the video (portrait on a phone), the states and the website presented over it */
.shop-stage{ background:#09090b; color:#fff; height:min(68vh,640px); min-height:320px; }
.shop-stage video{ width:100%; height:100%; object-fit:contain; background:#09090b; }
.shop-mirror{ transform:scaleX(-1); }
.shop-stage-info{ position:absolute; inset:0; background:radial-gradient(circle at 50% 40%,#3f3f46,#09090b); }
.shop-stage-top{ position:absolute; top:0; left:0; right:0; }
.shop-countdown{ font-size:1.4rem; font-weight:800; font-variant-numeric:tabular-nums; color:#fb7185; }
.shop-sound{ position:absolute; top:3rem; left:50%; transform:translateX(-50%); }
.shop-now{ position:absolute; left:.5rem; right:.5rem; bottom:.5rem; background:rgba(255,255,255,.95); color:#27272a; animation:shop-up .35s ease-out; }
@keyframes shop-up{ from{ transform:translateY(1rem); opacity:0; } to{ transform:none; opacity:1; } }
.shop-add:active{ transform:scale(.96); }
/* auction: the seconds left (red at the end), the result over the video */
.shop-timer{ width:2.6rem; height:2.6rem; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:800; font-variant-numeric:tabular-nums;
	color:#16a34a; border:3px solid #16a34a; background:rgba(22,163,74,.08); }
.shop-timer-low{ color:#ef4444; border-color:#ef4444; background:rgba(239,68,68,.12); animation:shop-beat 1s infinite; }
.shop-full .shop-now .shop-timer{ color:#4ade80; border-color:#4ade80; }
.shop-full .shop-now .shop-timer-low{ color:#ff6b6b; border-color:#ff6b6b; }
.shop-sold{ position:absolute; left:50%; top:42%; transform:translate(-50%,-50%); z-index:5; display:flex; flex-direction:column; align-items:center; gap:.15rem;
	padding:1rem 1.6rem; border-radius:1.4rem; color:#fff; text-align:center; background:linear-gradient(135deg,rgba(255,45,85,.92),rgba(255,94,58,.92));
	box-shadow:0 12px 40px rgba(255,45,85,.5); animation:shop-sold .5s cubic-bezier(.2,1.4,.4,1); pointer-events:none; }
.shop-sold .fa{ font-size:1.6rem; }
.shop-sold strong{ font-size:1.8rem; line-height:1.1; font-variant-numeric:tabular-nums; }
.shop-sold em{ font-style:normal; font-weight:700; }
/* phone: the timer and the bid button on a second line under the website */
@media (max-width:991.98px){
	.shop-now-auction{ flex-wrap:wrap; }
	.shop-now-auction > .flex-grow-1{ min-width:calc(100% - 3.5rem); }
	.shop-now-auction > .shop-add{ flex-grow:1 !important; }
}
.shop-sold-me{ background:linear-gradient(135deg,rgba(22,163,74,.94),rgba(34,197,94,.94)); box-shadow:0 12px 40px rgba(22,163,74,.5); }
@keyframes shop-sold{ from{ transform:translate(-50%,-50%) scale(.4); opacity:0; } to{ transform:translate(-50%,-50%) scale(1); opacity:1; } }
/* from live to live: the arrows on the side of the video, the new live slides in */
.shop-swipe{ position:absolute; right:.5rem; top:50%; transform:translateY(-50%); z-index:2; }
.shop-swipe .btn{ width:2.2rem; height:2.2rem; padding:0; opacity:.85; }
.shop-swipe-up{ animation:shop-swipe-up .35s ease-out; }
.shop-swipe-down{ animation:shop-swipe-down .35s ease-out; }
@keyframes shop-swipe-up{ from{ transform:translateY(12%); opacity:.3; } to{ transform:none; opacity:1; } }
@keyframes shop-swipe-down{ from{ transform:translateY(-12%); opacity:.3; } to{ transform:none; opacity:1; } }
#live-stage{ touch-action:pan-x; }
/* the sale of the site: vertical ads (9:16, services/Ad.js), the website presented under the video (it shows it already) */
.shop-stage-wide{ height:auto; min-height:200px; }
.shop-stage-wide video{ height:min(78vh,760px); width:100%; aspect-ratio:auto; display:block; object-fit:contain; }
.shop-stage-wide .shop-now{ position:static; margin:.5rem; }

/* chat of a live */
.shop-chat{ height:220px; overflow-y:auto; }
@media (min-width:992px){ .shop-chat{ height:280px; } }

/* windows: photo of a website, line-up to check */
.shop-photo{ display:block; aspect-ratio:16/10; background:#f4f4f5; border:2px dashed #d4d4d8; }
.shop-photo img{ width:100%; height:100%; object-fit:contain; }
.shop-photo-wait{ position:absolute; inset:0; background:rgba(0,0,0,.4); }
.shop-pick{ max-height:240px; overflow-y:auto; }
.shop-pick label:last-child{ border-bottom:0 !important; }
.shop-address{ background:#fafafa; line-height:1.35; }
/* a website of a supplier: cost + margin of the site + my markup */
.shop-breakdown{ background:#fafafa; }
/* an AI host of the site: its face */
.shop-presenter-image{ aspect-ratio:3/4; background:linear-gradient(135deg,#3f3f46,#18181b); }
.shop-presenter-image img{ object-fit:cover; object-position:top; }

/* a live in full page for the viewers (user, 2026-10-28, like TikTok / YouTube Live): the video as large as the screen,
   over it a dark glass header (seller with its LIVE ring, viewers, close), the website and the chat at the bottom */
.shop-hud{ display:none; }
.shop-full .shop-live-head, .shop-full .shop-stage-top{ display:none !important; }
.shop-full .shop-hud{ display:flex; align-items:center; justify-content:space-between; gap:.5rem; position:absolute; top:0; left:0; right:0; z-index:4;
	padding:.75rem .75rem 2.5rem; background:linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,0)); pointer-events:none; }
.shop-full .shop-hud > *{ pointer-events:auto; }
.shop-hud-seller{ display:flex; align-items:center; gap:.55rem; min-width:0; max-width:72%; padding:.25rem .9rem .25rem .25rem; border-radius:2rem;
	background:rgba(15,15,20,.45); -webkit-backdrop-filter:blur(14px) saturate(1.4); backdrop-filter:blur(14px) saturate(1.4); border:1px solid rgba(255,255,255,.14); }
.shop-hud-avatar{ position:relative; flex-shrink:0; width:2.5rem; height:2.5rem; border-radius:50%; display:flex; align-items:center; justify-content:center;
	font-weight:800; font-size:1.05rem; color:#fff; background:linear-gradient(135deg,#f43f5e,#a855f7); box-shadow:0 0 0 2px rgba(255,255,255,.9); }
.shop-hud-onair{ box-shadow:0 0 0 2px #0b0b0f, 0 0 0 4px #ff2d55; animation:shop-ring 1.6s ease-in-out infinite; }
.shop-hud-avatar em{ position:absolute; bottom:-.45rem; left:50%; transform:translateX(-50%); font-style:normal; font-size:.55rem; font-weight:800; letter-spacing:.08em;
	text-transform:uppercase; color:#fff; background:linear-gradient(90deg,#ff2d55,#ff5e3a); padding:.05rem .35rem; border-radius:.35rem; line-height:1.3; box-shadow:0 2px 6px rgba(255,45,85,.5); }
.shop-hud-names{ display:flex; flex-direction:column; min-width:0; line-height:1.15; color:#fff; }
.shop-hud-names strong{ font-size:.92rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.shop-hud-names small{ font-size:.72rem; opacity:.8; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.shop-hud-right{ display:flex; align-items:center; gap:.45rem; flex-shrink:0; }
.shop-hud-viewers{ display:flex; align-items:center; gap:.4rem; height:2.1rem; padding:0 .8rem; border-radius:2rem; color:#fff; font-weight:700; font-size:.82rem;
	background:rgba(15,15,20,.45); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); border:1px solid rgba(255,255,255,.14); }
.shop-hud-viewers .shop-live-dot{ width:.5rem; height:.5rem; }
.shop-hud-close{ width:2.1rem; height:2.1rem; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; cursor:pointer;
	background:rgba(15,15,20,.45); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); border:1px solid rgba(255,255,255,.14); transition:transform .15s; }
.shop-hud-close:hover{ transform:scale(1.08); }
@keyframes shop-ring{ 0%,100%{ box-shadow:0 0 0 2px #0b0b0f, 0 0 0 4px #ff2d55; } 50%{ box-shadow:0 0 0 2px #0b0b0f, 0 0 0 6px rgba(255,45,85,.55); } }
/* the bottom of the video darker: the website and the chat read well */
.shop-full .shop-stage::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:55%; z-index:1; pointer-events:none;
	background:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.35) 45%,rgba(0,0,0,.75)); }
/* the website presented: a glass card */
.shop-full .shop-now{ z-index:3; background:rgba(18,18,24,.62); color:#fff; border:1px solid rgba(255,255,255,.14); border-radius:1.1rem !important;
	-webkit-backdrop-filter:blur(16px) saturate(1.5); backdrop-filter:blur(16px) saturate(1.5); box-shadow:0 10px 30px rgba(0,0,0,.35) !important; }
.shop-full .shop-now .text-muted{ color:rgba(255,255,255,.65) !important; }
.shop-full .shop-now .shop-price{ color:#fff; font-size:1.05rem; }
.shop-full .shop-now .shop-thumb{ border-radius:.75rem; overflow:hidden; }
.shop-full .shop-now .shop-add{ border:0; border-radius:2rem; padding:.5rem 1rem; background:linear-gradient(135deg,#ff2d55,#ff5e3a); box-shadow:0 6px 18px rgba(255,45,85,.45); }
.shop-full .shop-now .shop-add:hover{ filter:brightness(1.08); }
/* computers: the video as high as the window, the chat beside it */
@media (min-width:992px){
	.shop-full{ padding-top:.75rem; }
	.shop-full .shop-stage{ height:calc(100dvh - 7rem); min-height:420px; border-radius:1.25rem !important; }
	.shop-full .shop-stage-wide video{ height:100%; }
	.shop-full .shop-now, .shop-full .shop-stage-wide .shop-now{ position:absolute; left:1rem; right:4rem; bottom:1rem; margin:0; }
	.shop-full .shop-live-chat .shop-chat{ height:calc(100dvh - 19rem); min-height:220px; }
}
/* phones and tablets: the video fills the screen above the tabs bar, the rest over it */
@media (max-width:991.98px){
	.shop-full{ position:fixed; top:0; left:0; right:0; bottom:51px; z-index:1019; background:#000; overflow:hidden; }
	.shop-full .shop-live-row, .shop-full .shop-live-main{ height:100%; margin:0; padding:0; }
	.shop-full .shop-live-row > *{ padding:0; margin:0; }
	.shop-full .shop-stage, .shop-full .shop-stage-wide{ height:100%; min-height:0; border-radius:0 !important; box-shadow:none !important; }
	.shop-full .shop-stage video, .shop-full .shop-stage-wide video{ height:100%; width:100%; object-fit:cover; }
	.shop-full .shop-sound{ top:4.5rem; z-index:4; border-radius:2rem; }
	/* swiping is enough on a phone */
	.shop-full .shop-swipe{ display:none !important; }
	/* the chat over the bottom of the video (its last messages), the website just above it */
	.shop-full .shop-live-side{ position:absolute; left:0; right:0; bottom:0; z-index:3; gap:0 !important; }
	.shop-full .shop-live-chat{ background:transparent !important; box-shadow:none !important; border-radius:0 !important; color:#fff; }
	.shop-full .shop-live-chat-title{ display:none; }
	.shop-full .shop-live-chat .shop-chat{ height:9rem; padding-right:4rem !important; gap:.3rem !important;
		-webkit-mask-image:linear-gradient(transparent,#000 18%); mask-image:linear-gradient(transparent,#000 18%); }
	.shop-full .shop-live-chat .shop-chat span{ color:#fff; }
	.shop-full .shop-live-chat .shop-chat .fw-bold{ color:#ffd166; margin-right:.2rem; }
	.shop-full .shop-live-chat .shop-chat > div{ align-self:flex-start; max-width:100%; padding:.35rem .7rem; border-radius:1rem; background:rgba(10,10,14,.62); color:#fff; font-size:.86rem; font-weight:500; text-shadow:0 1px 2px rgba(0,0,0,.6);
		-webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }
	.shop-full .shop-live-chat .shop-chat .shop-accent{ color:#ffd166; }
	.shop-full .shop-live-chat .text-muted{ color:rgba(255,255,255,.75) !important; }
	.shop-full .shop-live-chat form{ border-top:0 !important; padding:.5rem .75rem .75rem !important; }
	.shop-full .shop-live-chat form .form-control{ height:2.6rem; border-radius:2rem; padding:0 1rem; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.18); color:#fff;
		-webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); }
	.shop-full .shop-live-chat form .form-control::placeholder{ color:rgba(255,255,255,.7); }
	.shop-full .shop-live-chat form .btn{ width:2.6rem; height:2.6rem; border-radius:50%; border:0; background:linear-gradient(135deg,#ff2d55,#ff5e3a); }
	.shop-full .shop-now, .shop-full .shop-stage-wide .shop-now{ position:absolute; left:.75rem; right:.75rem; bottom:13rem; margin:0; }
	.shop-full .shop-live-lineup, .shop-full .shop-live-about, .shop-full .shop-live-controls{ display:none !important; }
}
/* a live ended on a phone: the chat over the video would cover its Leave button */
@media (max-width:991.98px){ .shop-chat-ended{ display:none !important; } }
/* a product with photos, full screen like a live (user, 2026-11-02): the photos side by side, the product at the bottom */
.shop-item{ position:fixed; left:0; right:0; top:56px; bottom:0; z-index:1019; background:#000; overflow:hidden; }
@media (max-width:991.98px){ .shop-item{ top:0; bottom:51px; } }
.shop-item-photos{ position:absolute; inset:0; display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
.shop-item-photos::-webkit-scrollbar{ display:none; }
.shop-item-photos img{ flex:0 0 100%; width:100%; height:100%; object-fit:contain; scroll-snap-align:center; }
.shop-item-top{ position:absolute; top:.75rem; left:.75rem; right:.75rem; display:flex; align-items:center; justify-content:space-between; gap:.5rem; z-index:2; }
.shop-item-bottom{ position:absolute; left:0; right:0; bottom:0; padding:2.5rem 1rem 1rem; color:#fff; background:linear-gradient(transparent,rgba(0,0,0,.8)); z-index:2; }
.shop-item-text{ max-height:4.5em; overflow:hidden; opacity:.85; white-space:pre-line; }
.shop-thumb-add{ border:1px dashed #a1a1aa; }
.shop-thumb-remove{ position:absolute; top:-.35rem; right:-.35rem; width:1.25rem; height:1.25rem; border-radius:50%; background:#18181b; color:#fff; font-size:.65rem; display:flex; align-items:center; justify-content:center; }
/* a photo of a product full screen (user, 2026-11-02) */
.shop-zoom{ position:fixed; inset:0; z-index:2000; display:flex; overflow:auto; background:rgba(0,0,0,.95); }
.shop-zoom img{ margin:auto; max-width:100%; max-height:100%; object-fit:contain; cursor:zoom-in; }
.shop-zoom img.shop-zoom-big{ max-width:none; max-height:none; width:250%; cursor:zoom-out; }
.shop-zoom-close{ position:fixed; top:.75rem; right:.75rem; z-index:1; }
/* the order of the photos of a product */
.shop-thumb-arrow{ position:absolute; bottom:.15rem; width:1.25rem; height:1.25rem; border-radius:50%; background:rgba(24,24,27,.8); color:#fff; font-size:.6rem; display:flex; align-items:center; justify-content:center; }
.shop-thumb-left{ left:.15rem; }
.shop-thumb-right{ right:.15rem; }
.shop-thumb-move{ position:absolute; left:0; right:0; top:0; background:rgba(24,24,27,.75); color:#fff; font-size:.55rem; font-weight:700; text-align:center; line-height:1.3; }
/* the window of the models and sizes of a product: first the model, then the size */
.shop-pick-photo{ width:96px; height:96px; object-fit:cover; border-radius:.75rem; background:#f4f4f5; }
.shop-pick-title{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; line-height:1.25; }
.shop-pick-model{ width:72px; height:72px; border-radius:.75rem; overflow:hidden; border:2px solid #e4e4e7; transition:transform .12s, border-color .12s; }
.shop-pick-model img{ width:100%; height:100%; object-fit:cover; display:block; }
.shop-pick-size{ min-width:3.25rem; padding:.5rem .75rem; text-align:center; font-weight:600; border-radius:.75rem; border:2px solid #e4e4e7; transition:transform .12s, border-color .12s; }
.shop-pick-model:active, .shop-pick-size:active{ transform:scale(.95); }
.shop-pick-on{ border-color:#16a34a; box-shadow:0 0 0 1px #16a34a; }
.shop-pick-size.shop-pick-on{ background:#16a34a; color:#fff; }
.shop-pick-off{ opacity:.35; cursor:not-allowed; text-decoration:line-through; }
.text-none{ text-transform:none; }
.shop-pick-zoom{ position:relative; line-height:0; }
.shop-pick-glass{ position:absolute; right:.3rem; bottom:.3rem; width:1.6rem; height:1.6rem; border-radius:50%; background:rgba(24,24,27,.75); color:#fff; font-size:.75rem; display:flex; align-items:center; justify-content:center; }
/* a product with its video (format videos): full screen, the sound after a tap; its card: a play sign */
.shop-item-video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; background:#000; }
.shop-clip-sound{ position:absolute; top:4.2rem; right:.9rem; width:2.4rem; height:2.4rem; border-radius:50%; background:rgba(0,0,0,.45); color:#fff; display:flex; align-items:center; justify-content:center; z-index:3; }
.shop-clip-play{ position:absolute; top:42%; left:50%; transform:translate(-50%,-50%); width:2.8rem; height:2.8rem; border-radius:50%; background:rgba(0,0,0,.45); color:#fff; display:flex; align-items:center; justify-content:center; padding-left:.2rem; }

/* the sheet of a product (Details): over the photos or the short, its buttons stay under it */
.shop-details{ position:absolute; left:.75rem; right:.75rem; top:3.6rem; max-height:calc(100% - 12rem); overflow-y:auto; border-radius:1rem; padding:.9rem; z-index:3; }
.shop-details-photos{ overflow-x:auto; scrollbar-width:thin; }
.shop-details-photos img{ flex:0 0 auto; width:7rem; height:7rem; object-fit:cover; background:#fff; }
.shop-details-text{ white-space:pre-line; }
