.esun-landscape-video { --landscape-green: #12ad5c; box-sizing: border-box; margin: 72px auto 0; max-width: 1360px; padding: 0 20px; } .esun-landscape-video *, .esun-landscape-video *::before, .esun-landscape-video *::after { box-sizing: border-box; } .esun-landscape-video__media { aspect-ratio: 16 / 9; background: #151515; border-radius: 38px; overflow: hidden; position: relative; } .esun-landscape-video__media::after { background: linear-gradient(90deg, rgba(0, 0, 0, .58), transparent 56%); content: ""; inset: 0; pointer-events: none; position: absolute; z-index: 1; } .esun-landscape-video__cover, .esun-landscape-video__video { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; } .esun-landscape-video__video { background: #000; opacity: 0; pointer-events: none; z-index: 2; } .esun-landscape-video__media.is-playing .esun-landscape-video__video { opacity: 1; } .esun-landscape-video__media.is-playing .esun-landscape-video__cover, .esun-landscape-video__media.is-playing::after { display: none; } .esun-landscape-video__product { align-items: center; backdrop-filter: blur(16px); background: rgba(31, 34, 35, .72); border: 1px solid rgba(255, 255, 255, .18); border-radius: 22px; bottom: 52px; display: flex; min-height: 112px; padding: 14px 20px; position: absolute; right: 50px; width: min(470px, calc(100% - 48px)); z-index: 4; } .esun-landscape-video__product-image { background: #fff; border-radius: 22px; flex: 0 0 76px; height: 76px; overflow: hidden; padding: 5px; width: 76px; position: relative; } .esun-landscape-video__product-image .product-image-container, .esun-landscape-video__product-image .product-image-wrapper { height: 100%; width: 100% !important; } .esun-landscape-video__product-image .product-image-wrapper { padding-bottom: 0 !important; } .esun-landscape-video__product-image .product-image-photo { height: 100%; inset: 0; margin: auto; object-fit: contain; position: absolute; width: 100%; } .esun-landscape-video__product-copy { flex: 1 1 auto; min-width: 0; padding: 0 20px; } .esun-landscape-video__product-name { color: #fff; display: block; font-size: 18px; font-weight: 700; margin-bottom: 12px; overflow: hidden; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; } .esun-landscape-video__product-name:hover, .esun-landscape-video__product-name:focus { color: #fff; text-decoration: none; } .esun-landscape-video__price { align-items: baseline; display: flex; flex-wrap: wrap; gap: 16px; } .esun-landscape-video__final-price { color: var(--landscape-green); font-size: 20px; font-weight: 700; } .esun-landscape-video__regular-price { color: #aaa; font-size: 15px; text-decoration: line-through; } .esun-landscape-video__cart { align-items: center; background: var(--landscape-green); border-radius: 50%; color: #fff; display: flex; flex: 0 0 58px; height: 58px; justify-content: center; text-decoration: none; width: 58px; } .esun-landscape-video__cart:hover, .esun-landscape-video__cart:focus { background: #0c914c; color: #fff; text-decoration: none; } .esun-landscape-video__cart svg { fill: none; height: 27px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; width: 27px; } .esun-landscape-video__visually-hidden { clip: rect(0, 0, 0, 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; } @media (max-width: 767px) { .esun-landscape-video { margin-top: 48px; padding: 0 15px; } .esun-landscape-video__media { aspect-ratio: 4 / 3; border-radius: 24px; } .esun-landscape-video__product { bottom: 18px; min-height: 88px; padding: 10px 12px; right: 18px; width: calc(100% - 36px); } .esun-landscape-video__product-image { border-radius: 16px; flex-basis: 62px; height: 62px; width: 62px; } .esun-landscape-video__product-copy { padding: 0 12px; } .esun-landscape-video__product-name { font-size: 14px; margin-bottom: 7px; } .esun-landscape-video__final-price { font-size: 16px; } .esun-landscape-video__regular-price { font-size: 12px; } .esun-landscape-video__cart { flex-basis: 46px; height: 46px; width: 46px; } }