Files
dostavka_vodi/wp-content/themes/twentytwentyfour/assets/css/test1-shared-shell.css
2026-04-12 17:36:34 +03:00

629 lines
12 KiB
CSS

.test1-shared-shell {
font-family: "Manrope", sans-serif;
}
.test1-shared-shell .container {
width: min(1180px, calc(100% - 32px));
margin: 0 auto;
}
.test1-shared-shell .site-main {
padding-top: 20px;
}
.test1-shared-cart-page {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.test1-shared-faq-page {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.test1-shared-contacts-page {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.test1-shared-delivery-page {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.test1-shared-service-page {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.test1-shared-shop-page {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.test1-shared-cart-page .site-main {
flex: 1 0 auto;
}
.test1-shared-faq-page .site-main {
flex: 1 0 auto;
padding-bottom: 26px;
}
.test1-shared-contacts-page .site-main {
flex: 1 0 auto;
padding-bottom: 26px;
}
.test1-shared-delivery-page .site-main,
.test1-shared-service-page .site-main {
flex: 1 0 auto;
padding-bottom: 26px;
}
.test1-shared-shop-page .site-main {
flex: 1 0 auto;
padding-bottom: 26px;
}
.test1-shared-cart-page .classic-footer {
margin-top: auto;
}
.test1-shared-faq-page .classic-footer {
margin-top: auto;
}
.test1-shared-contacts-page .classic-footer {
margin-top: auto;
}
.test1-shared-delivery-page .classic-footer,
.test1-shared-service-page .classic-footer {
margin-top: auto;
}
.test1-shared-shop-page .classic-footer {
margin-top: auto;
}
.test1-shared-shell .site-header {
position: sticky;
top: 0;
z-index: 40;
backdrop-filter: blur(16px);
background: rgba(244, 248, 255, 0.9);
border-bottom: 1px solid rgba(18, 48, 89, 0.08);
}
.test1-shared-shell .header-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
min-height: 82px;
}
.test1-shared-shell .brand {
display: flex;
align-items: center;
gap: 14px;
color: #123059;
text-decoration: none;
}
.test1-shared-shell .brand-mark {
width: 48px;
height: 48px;
display: grid;
place-items: center;
border-radius: 18px;
background: linear-gradient(145deg, #3cc8ff, #0d4fd6);
color: #fff;
box-shadow: 0 14px 28px rgba(13, 79, 214, 0.24);
}
.test1-shared-shell .brand-text strong {
display: block;
font-size: 16px;
line-height: 1.2;
}
.test1-shared-shell .brand-text span {
color: #5f7496;
font-size: 12px;
}
.test1-shared-shell .nav {
display: flex;
align-items: center;
gap: 20px;
}
.test1-shared-shell .nav a {
color: #5f7496;
text-decoration: none;
font-size: 14px;
font-weight: 700;
}
.test1-shared-shell .nav a:hover,
.test1-shared-shell .nav a:focus-visible {
color: #08338d;
}
.test1-shared-shell .nav a.is-active {
color: #08338d;
}
.test1-shared-shell .header-actions {
display: flex;
align-items: center;
gap: 12px;
}
.test1-shared-shell .header-phone,
.test1-shared-shell .cart-button,
.test1-shared-shell .checkout-back-link {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 46px;
padding: 10px 18px;
border-radius: 999px;
text-decoration: none;
font-weight: 800;
}
.test1-shared-shell .header-phone {
color: #123059;
background: rgba(255, 255, 255, 0.82);
border: 1px solid rgba(18, 48, 89, 0.1);
}
.test1-shared-shell .cart-button,
.test1-shared-shell .checkout-back-link {
color: #fff;
background: linear-gradient(135deg, #08338d, #0d4fd6);
box-shadow: 0 14px 28px rgba(13, 79, 214, 0.24);
}
.test1-shared-shell .classic-footer {
width: 100%;
margin-top: 24px;
padding: 44px 0 28px;
background: #0a1f47;
border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.test1-shared-shell .classic-footer-shell {
display: grid;
gap: 22px;
}
.test1-shared-shell .classic-footer-main {
display: grid;
grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(180px, 1fr));
gap: 28px;
align-items: start;
}
.test1-shared-shell .classic-footer-col h3 {
margin: 0;
color: #fff;
font-size: 18px;
line-height: 1.2;
}
.test1-shared-shell .footer-description,
.test1-shared-shell .footer-links a,
.test1-shared-shell .footer-legal a,
.test1-shared-shell .footer-bottom,
.test1-shared-shell .classic-footer .brand-text strong,
.test1-shared-shell .classic-footer .brand-text span {
color: rgba(255, 255, 255, 0.78);
}
.test1-shared-shell .footer-links,
.test1-shared-shell .footer-legal {
display: grid;
gap: 10px;
margin-top: 14px;
}
.test1-shared-shell .footer-links a,
.test1-shared-shell .footer-legal a {
text-decoration: none;
}
.test1-shared-shell .footer-links a:hover,
.test1-shared-shell .footer-links a:focus-visible,
.test1-shared-shell .footer-legal a:hover,
.test1-shared-shell .footer-legal a:focus-visible {
color: #fff;
}
.test1-shared-shell .classic-footer-bottom {
display: flex;
justify-content: space-between;
gap: 20px;
align-items: center;
margin-top: 8px;
padding-top: 16px;
border-top: 1px solid rgba(255, 255, 255, 0.16);
font-size: 13px;
}
.test1-shared-blog-page,
.test1-shared-blog-single-page {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.test1-shared-blog-page .site-main,
.test1-shared-blog-single-page .site-main {
flex: 1 0 auto;
padding-bottom: 30px;
}
.test1-shared-blog-page .classic-footer,
.test1-shared-blog-single-page .classic-footer {
margin-top: auto;
}
.test1-shared-shell .blog-hero .section-head {
margin-bottom: 12px;
}
.test1-shared-shell .blog-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 24px;
}
.test1-shared-shell .blog-card {
display: flex;
flex-direction: column;
min-height: 100%;
border: 1px solid rgba(18, 48, 89, 0.1);
border-radius: 22px;
background: rgba(255, 255, 255, 0.86);
box-shadow: 0 18px 40px rgba(13, 79, 214, 0.1);
overflow: hidden;
transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.test1-shared-shell .blog-card:hover {
transform: translateY(-6px);
box-shadow: 0 24px 48px rgba(13, 79, 214, 0.16);
border-color: rgba(13, 79, 214, 0.26);
}
.test1-shared-shell .blog-card-media {
display: block;
position: relative;
aspect-ratio: 16 / 10;
overflow: hidden;
background: linear-gradient(135deg, #0d4fd6, #3cc8ff);
}
.test1-shared-shell .blog-card-media img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.35s ease;
}
.test1-shared-shell .blog-card:hover .blog-card-media img {
transform: scale(1.04);
}
.test1-shared-shell .blog-card-placeholder {
position: absolute;
inset: 0;
display: grid;
place-items: center;
color: rgba(255, 255, 255, 0.92);
font-size: 46px;
font-weight: 800;
letter-spacing: 0.06em;
text-transform: uppercase;
}
.test1-shared-shell .blog-card-body {
display: grid;
gap: 12px;
padding: 18px 18px 20px;
}
.test1-shared-shell .blog-meta {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
color: #5f7496;
font-size: 13px;
font-weight: 700;
}
.test1-shared-shell .blog-meta span {
display: inline-flex;
align-items: center;
gap: 6px;
}
.test1-shared-shell .blog-meta span::before {
content: "";
width: 4px;
height: 4px;
border-radius: 50%;
background: rgba(95, 116, 150, 0.58);
}
.test1-shared-shell .blog-card-title {
margin: 0;
font-size: clamp(20px, 2.1vw, 27px);
line-height: 1.15;
letter-spacing: -0.02em;
}
.test1-shared-shell .blog-card-title a {
text-decoration: none;
color: #123059;
}
.test1-shared-shell .blog-card-excerpt {
margin: 0;
color: #5f7496;
line-height: 1.65;
}
.test1-shared-shell .blog-card-link {
justify-self: start;
}
.test1-shared-shell .blog-empty-state {
padding: 38px;
border-radius: 22px;
border: 1px solid rgba(18, 48, 89, 0.1);
background: rgba(255, 255, 255, 0.88);
}
.test1-shared-shell .blog-empty-state h2 {
margin: 0;
font-size: clamp(28px, 4vw, 42px);
}
.test1-shared-shell .blog-empty-state p {
margin: 14px 0 0;
color: #5f7496;
}
.test1-shared-shell .navigation.pagination {
margin-top: 28px;
}
.test1-shared-shell .navigation.pagination .nav-links {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
}
.test1-shared-shell .navigation.pagination .page-numbers {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 44px;
min-height: 44px;
padding: 8px 12px;
border-radius: 14px;
border: 1px solid rgba(18, 48, 89, 0.14);
background: rgba(255, 255, 255, 0.82);
color: #123059;
text-decoration: none;
font-weight: 800;
}
.test1-shared-shell .navigation.pagination .page-numbers.current {
border-color: rgba(13, 79, 214, 0.35);
background: linear-gradient(135deg, rgba(13, 79, 214, 0.18), rgba(60, 200, 255, 0.2));
}
.test1-shared-shell .blog-single {
display: grid;
gap: 22px;
}
.test1-shared-shell .blog-single-head {
margin-top: 10px;
padding: 26px;
border-radius: 24px;
border: 1px solid rgba(18, 48, 89, 0.1);
background: rgba(255, 255, 255, 0.84);
box-shadow: 0 18px 36px rgba(13, 79, 214, 0.08);
}
.test1-shared-shell .blog-back-link {
display: inline-flex;
align-items: center;
gap: 8px;
margin-bottom: 14px;
font-weight: 800;
color: #08338d;
text-decoration: none;
}
.test1-shared-shell .blog-back-link::before {
content: "\2190";
}
.test1-shared-shell .blog-single-title {
margin: 0;
font-size: clamp(34px, 5vw, 62px);
line-height: 1.02;
letter-spacing: -0.03em;
}
.test1-shared-shell .blog-single-meta {
margin-top: 14px;
}
.test1-shared-shell .blog-single-media {
border-radius: 24px;
overflow: hidden;
box-shadow: 0 24px 48px rgba(13, 79, 214, 0.15);
}
.test1-shared-shell .blog-single-media img {
width: 100%;
height: auto;
display: block;
}
.test1-shared-shell .blog-single-content {
padding: 26px;
border-radius: 24px;
border: 1px solid rgba(18, 48, 89, 0.1);
background: rgba(255, 255, 255, 0.88);
color: #183764;
line-height: 1.78;
}
.test1-shared-shell .blog-single-content h2,
.test1-shared-shell .blog-single-content h3,
.test1-shared-shell .blog-single-content h4 {
color: #0b2f75;
line-height: 1.2;
}
.test1-shared-shell .blog-single-content h2 {
margin-top: 28px;
margin-bottom: 12px;
font-size: clamp(28px, 3.4vw, 42px);
}
.test1-shared-shell .blog-single-content p {
margin: 0 0 16px;
}
.test1-shared-shell .blog-single-content ul,
.test1-shared-shell .blog-single-content ol {
margin: 0 0 16px;
padding-left: 22px;
}
.test1-shared-shell .blog-single-pagination {
padding: 20px 0 4px;
}
.test1-shared-shell .blog-single-pagination .nav-links {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
}
.test1-shared-shell .blog-single-pagination .nav-previous a,
.test1-shared-shell .blog-single-pagination .nav-next a {
display: grid;
gap: 4px;
padding: 16px;
border-radius: 18px;
border: 1px solid rgba(18, 48, 89, 0.12);
background: rgba(255, 255, 255, 0.86);
text-decoration: none;
color: #123059;
min-height: 100%;
}
.test1-shared-shell .blog-single-pagination .nav-subtitle {
color: #5f7496;
font-size: 12px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.08em;
}
.test1-shared-shell .blog-single-pagination .nav-title {
font-weight: 800;
line-height: 1.35;
}
@media (max-width: 960px) {
.test1-shared-shell .nav {
display: none;
}
.test1-shared-shell .header-row {
min-height: 74px;
}
.test1-shared-shell .classic-footer-main {
grid-template-columns: 1fr 1fr;
}
.test1-shared-shell .classic-footer-main .brand-col {
grid-column: 1 / -1;
}
.test1-shared-shell .blog-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.test1-shared-shell .blog-single-pagination .nav-links {
grid-template-columns: 1fr;
}
}
@media (max-width: 700px) {
.test1-shared-shell .container {
width: min(1180px, calc(100% - 20px));
}
.test1-shared-shell .header-actions {
gap: 8px;
}
.test1-shared-shell .header-phone {
display: none;
}
.test1-shared-shell .cart-button,
.test1-shared-shell .checkout-back-link {
min-height: 42px;
padding: 8px 14px;
}
.test1-shared-shell .classic-footer {
padding-top: 32px;
}
.test1-shared-shell .classic-footer-main,
.test1-shared-shell .classic-footer-bottom {
grid-template-columns: 1fr;
display: grid;
}
.test1-shared-shell .classic-footer-main .brand-col {
grid-column: auto;
}
.test1-shared-shell .blog-grid {
grid-template-columns: 1fr;
gap: 18px;
}
.test1-shared-shell .blog-single-head,
.test1-shared-shell .blog-single-content {
padding: 18px;
border-radius: 18px;
}
}