// ============================================================ // Pinbo Packaging — 版面 01 (Cozy Home 居家风) // Bootstrap 4 + LESS 在线解析 (less.js 2.5.3) // 注意: LESS 2.5.3 下 min()/max()/calc() 与 a/b 除法需 ~"" 转义, // 本文件已全部规避。 // ============================================================ @serif: 'Nunito', 'Segoe UI', sans-serif; @sans: 'Nunito', 'Segoe UI', sans-serif; // 背景三层: @bg 页面底色 < @cream 区块底色 < @card 卡片面 (客户反馈: 背景加深) // 只动这三档 + @line, 保持原有明暗节奏, 整体均匀加深而不是局部变脏 @bg: #f2e6d0; @cream: #e9dbbe; @card: #fdf8ec; @dark: #5d4037; @dark2: #6f4e3d; @gold: #ee8a33; @gold2: #d67a24; @text: #6f5a4a; @line: #dcc79f; @media screen and (max-width: 1920px) { .container, .container-sm, .container-md, .container-lg, .container-xl { max-width: 1440px; } } @media screen and (max-width: 1600px) { .container, .container-sm, .container-md, .container-lg, .container-xl { max-width: 1440px; } } @media screen and (max-width: 1366px) { .container, .container-sm, .container-md, .container-lg, .container-xl { max-width: 1200px; } } body { font-family: @sans; color: @text; font-size: 15px; line-height: 1.7; background: @bg; } h1, h2, h3, h4, h5, h6 { font-family: @serif; color: @dark; } a { transition: all .3s; text-decoration: none; } .section { padding: 75px 0; } .section-cream { background: @cream; } .sec-kicker { display: block; color: @gold; font-family: @sans; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 8px; } .about-img{ overflow: hidden; img{ max-width: 100%; } } .sec-head { text-align: center; max-width: 640px; margin: 0 auto 45px; .sec-kicker { display: block; } h2 { font-size: 34px; margin-bottom: 14px; } .sec-line { width: 46px; height: 2px; background: @gold; margin: 0 auto 16px; } p { margin: 0; } &.text-left { text-align: left; margin: 0 0 40px; .sec-line { margin: 0 0 16px; } } } /* ---------- topbar ---------- */ .topbar { background: @cream; color: #6f5a4a; font-size: 17px; font-weight: 500; padding: 11px 0; border-bottom: 1px solid @line; a { color: #6f5a4a; &:hover { color: @gold2; } } i { color: @gold; font-size: 16px; margin-right: 8px; vertical-align: -1px; } .topbar-social a { margin-left: 18px; i { font-size: 17px; margin: 0; } } } /* ---------- header ---------- */ .site-header { background: @bg; border-bottom: 1px solid @line; .navbar { padding: 12px 0; } .navbar-brand { font-family: @serif; font-size: 26px; color: @gold; letter-spacing: 2px; span { color: @dark; } &:hover { color: @gold; } img { height: 46px; } } .nav-link { color: #5d4037; font-size: 13px; text-transform: uppercase; letter-spacing: 2px; margin: 0 10px; padding: 8px 0; border-bottom: 2px solid transparent; &:hover { color: @gold; } &.active { color: @gold; border-bottom-color: @gold; } } .btn-gold { padding: 8px 22px; } } .btn-gold { background: @gold; border: 1px solid @gold; color: #fff; border-radius: 30px; padding: 10px 26px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; &:hover { background: darken(@gold, 8%); border-color: darken(@gold, 8%); color: #fff; } } .btn-line-light { border: 1px solid rgba(255, 255, 255, .7); color: #fff; border-radius: 30px; padding: 10px 26px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; &:hover { background: #fff; color: @dark; } } .btn-line-dark { border: 1px solid @gold; color: @dark; border-radius: 30px; padding: 10px 26px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; &:hover { background: @gold; color: #fff; } } /* ---------- hero ---------- */ .hero { .carousel-item { height: 600px; background-repeat: no-repeat; background-position: center; background-size: cover; &::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(242, 230, 208, .95) 0%, rgba(242, 230, 208, .78) 55%, rgba(242, 230, 208, .3) 100%); } } .carousel-caption { top: 50%; bottom: auto; transform: translateY(-50%); text-align: left; left: 12%; right: 12%; .hero-kicker { color: @gold2; letter-spacing: 4px; text-transform: uppercase; font-size: 13px; } h2 { color: @dark; font-size: 50px; line-height: 1.2; margin: 12px 0 16px; } p { color: @text; font-size: 17px; max-width: 560px; margin-bottom: 26px; } } .carousel-indicators li { width: 30px; height: 3px; border-radius: 0; background: rgba(93, 64, 55, .25); cursor: pointer; &.active { background: @gold; } } .carousel-control-prev, .carousel-control-next { width: 8%; opacity: 1; i { font-size: 22px; width: 42px; height: 42px; line-height: 42px; text-align: center; border-radius: 50%; color: @dark; background: rgba(255, 255, 255, .85); box-shadow: 0 2px 10px rgba(93, 64, 55, .18); transition: all .3s; } &:hover i { color: #fff; background: @gold; } } } .intro-strip { background: @cream; border-bottom: 1px solid @line; padding: 26px 0; .intro-item { display: flex; align-items: center; justify-content: center; i { color: @gold; font-size: 22px; margin-right: 12px; width: 24px; text-align: center; } span { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: #6f5a4a; } } } /* ---------- category ---------- */ .cat-card { display: block; background: @card; border: 1px solid @line; border-radius: 14px; padding: 12px; margin-bottom: 30px; img { width: 100%; height: 250px; object-fit: cover; border-radius: 10px; transition: all .5s; } .cat-overlay { padding: 16px 8px 6px; text-align: center; h5 { color: @dark; margin: 0 0 2px; font-size: 19px; } span { color: @gold2; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; } } &:hover img { transform: scale(1.04); } } /* ---------- categories slider ---------- */ .cat-slider { position: relative; .cat-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 6px; scrollbar-width: none; &::-webkit-scrollbar { display: none; } } .cat-card { flex: 0 0 ~"calc(25% - 18px)"; margin-bottom: 0; scroll-snap-align: start; } .cat-nav { position: absolute; top: 38%; transform: translateY(-50%); width: 44px; height: 44px; border: none; border-radius: 50%; background: @dark; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; z-index: 5; display: flex; align-items: center; justify-content: center; transition: all .3s; box-shadow: 0 6px 18px rgba(0,0,0,.15); &:hover { background: @gold2; } &.cat-prev { left: -6px; } &.cat-next { right: -6px; } &:disabled { opacity: 0; pointer-events: none; } } @media (max-width: 991.98px) { .cat-card { flex-basis: ~"calc(50% - 12px)"; } } @media (max-width: 575.98px) { .cat-card { flex-basis: 100%; } .cat-nav { display: none; } } } /* ---------- product card ---------- */ .prod-card { display: block; background: @card; border: 1px solid @line; border-radius: 14px; overflow: hidden; margin-bottom: 30px; .prod-img { overflow: hidden; position: relative; img { width: 100%; height: 250px; object-fit: cover; transition: transform .5s; } .prod-badge { position: absolute; top: 12px; left: 12px; background: @gold; color: #fff; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; padding: 4px 12px; border-radius: 30px; } } .prod-body { padding: 16px 18px 18px; } .prod-cat { color: @gold; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; } .prod-name { color: @dark; font-size: 18px; margin: 6px 0 10px; line-height: 1.4; } .prod-more { color: @text; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; i { margin-left: 6px; } } &:hover { border-color: @gold; box-shadow: 0 16px 32px rgba(93, 64, 55, .16); .prod-img img { transform: scale(1.05); } .prod-more { color: @gold2; } } } /* ---------- add-to-inquiry button on cards ---------- */ .prod-cell { position: relative; } .prod-add { position: absolute; top: 12px; right: 12px; z-index: 6; width: 40px; height: 40px; border: none; border-radius: 50%; background: @gold; color: #fff; font-size: 16px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); transition: all .3s; &:hover { background: @dark; transform: scale(1.08); } &.is-added { background: #4a8a3a; } } /* ---------- floating inquiry cart ---------- */ .footer-cart { position: fixed; right: 22px; bottom: 22px; z-index: 1080; width: 60px; height: 60px; border: none; border-radius: 50%; background: @dark; color: #fff; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .28); transition: all .3s; &:hover { background: @gold2; } .cart-count { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 12px; background: @gold; color: #fff; font-size: 12px; font-weight: 700; line-height: 22px; text-align: center; } &.cart-hidden { visibility: hidden; } } .footer-cart-list { position: fixed; right: 22px; bottom: 22px; z-index: 1081; width: 380px; max-width: ~"calc(100vw - 32px)"; max-height: 82vh; overflow-y: auto; background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); padding: 18px; display: none; &.open { display: block; } h3 { font-size: 17px; color: @dark; margin: 0 0 12px; display: flex; align-items: center; justify-content: space-between; .cart-close { cursor: pointer; width: 30px; height: 30px; border-radius: 50%; background: @bg; color: @dark; display: flex; align-items: center; justify-content: center; &:hover { background: @gold; color: #fff; } } } .cart-items { list-style: none; margin: 0 0 12px; padding: 0; } .cart-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid @line; img { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; flex: 0 0 54px; } .ci-info { flex: 1 1 auto; min-width: 0; } .ci-name { display: block; color: @dark; font-size: 14px; font-weight: 600; line-height: 1.3; } .ci-view { color: @gold2; font-size: 11px; } .ci-qty { display: flex; align-items: center; gap: 4px; button { width: 24px; height: 24px; border: 1px solid @line; background: #fff; border-radius: 6px; cursor: pointer; line-height: 1; &:hover { border-color: @gold; color: @gold; } } span { min-width: 18px; text-align: center; font-size: 13px; } } .ci-remove { border: none; background: none; color: #b32d2e; cursor: pointer; font-size: 15px; } } .cart-empty { color: @text; font-size: 14px; margin: 0 0 12px; } .cart-form .form-group { margin-bottom: 8px; } } @media (max-width: 575.98px) { .footer-cart { right: 16px; bottom: 16px; width: 54px; height: 54px; } .footer-cart-list { right: 12px; bottom: 12px; left: 12px; width: auto; } } /* ---------- single product: lead + details ---------- */ .prod-lead { color: @text; font-size: 15px; line-height: 1.8; margin: 0 0 14px; } .prod-highlights { list-style: none; margin: 0 0 18px; padding: 0; li { color: @dark; font-size: 14px; margin-bottom: 6px; i { color: @gold; margin-right: 8px; } } } .prod-detail { margin-top: 18px; padding-top: 26px; border-top: 1px solid @line; .sec-head { margin-bottom: 16px; } .article-body { max-width: 820px; } } /* ---------- stats ---------- */ .stat-band { background: linear-gradient(135deg, @gold 0%, @gold2 100%); padding: 55px 0; .stat-item { text-align: center; border-right: 1px solid rgba(255, 255, 255, .25); &:last-child { border-right: 0; } .stat-num { font-family: @serif; font-size: 40px; color: #fff; line-height: 1.2; font-variant-numeric: tabular-nums; } .stat-label { color: rgba(255, 255, 255, .9); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-top: 6px; } } } /* ---------- why ---------- */ .why-item { text-align: center; padding: 10px 20px; margin-bottom: 30px; .why-icon { width: 82px; height: 82px; line-height: 82px; background: rgba(238, 138, 51, .12); border-radius: 26px; color: @gold2; font-size: 30px; margin: 0 auto 18px; } h5 { font-size: 18px; margin-bottom: 8px; } p { font-size: 14px; margin: 0; } } /* ---------- process (icons, no numbers) ---------- */ .flow-item { text-align: center; padding: 10px 20px; position: relative; .flow-icon { width: 90px; height: 90px; line-height: 90px; background: @card; border: 1px solid @line; border-radius: 30px; color: @gold; box-shadow: 0 10px 24px rgba(93, 64, 55, .1); font-size: 32px; margin: 0 auto 18px; position: relative; z-index: 2; } h5 { font-size: 18px; margin-bottom: 8px; } p { font-size: 14px; margin: 0; } } /* ---------- about split ---------- */ .about-split { .about-img { position: relative; margin: 0 18px 18px 0; img { width: 100%; border: 1px solid @line; border-radius: 14px; } &::after { content: ""; position: absolute; top: 16px; left: 16px; right: -16px; bottom: -16px; border: 2px solid @gold; border-radius: 16px; z-index: -1; } } h3 { font-size: 28px; margin-bottom: 16px; } p { margin-bottom: 12px; } .about-list { list-style: none; padding: 0; margin: 18px 0 24px; li { padding: 6px 0 6px 30px; position: relative; i { position: absolute; left: 0; top: 12px; color: @gold; } } } } /* ---------- news card ---------- */ .news-card { display: block; background: @card; border: 1px solid @line; border-radius: 14px; overflow: hidden; margin-bottom: 30px; .news-img { overflow: hidden; position: relative; img { width: 100%; height: 220px; object-fit: cover; transition: transform .5s; } .news-date { position: absolute; top: 12px; left: 12px; background: @gold; color: #fff; text-align: center; padding: 8px 12px; .d { display: block; font-family: @serif; font-size: 22px; color: #fff; line-height: 1.1; } .m { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; } } } .news-body { padding: 18px 20px 20px; } .news-meta { color: #a3966c; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; i { margin-right: 6px; } } .news-title { font-size: 19px; line-height: 1.4; margin-bottom: 8px; a { color: @dark; &:hover { color: @gold; } } } p { font-size: 14px; margin-bottom: 12px; } .news-more { color: @gold; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; i { margin-left: 6px; } } &:hover { border-color: @gold; box-shadow: 0 16px 32px rgba(93, 64, 55, .16); .news-img img { transform: scale(1.05); } } } /* ---------- video card ---------- */ .video-card { margin-bottom: 30px; a { display: block; } .video-cell { position: relative; width: 100%; padding-bottom: 75%; background: #12120f; border: 1px solid @line; border-radius: 14px; overflow: hidden; > img { position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; } &::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; z-index: 1; background: linear-gradient(to top, rgba(18,18,17,.78), rgba(18,18,17,0)); pointer-events: none; } } .video-play { position: absolute; top: 50%; left: 50%; z-index: 2; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; transition: background .3s; i { color: #12120f; font-size: 24px; margin: 0 0 0 3px; transition: color .3s; } } .video-title { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 2; color: #fff; font-family: @serif; font-size: 18px; line-height: 1.35; } &:hover { .video-cell { border-color: @gold; } .video-cell > img { transform: scale(1.05); } .video-play { background: @gold; i { color: #fff; } } } } /* video player (detail page) */ .video-embed { position: relative; width: 100%; padding-bottom: 56.25%; background: #12120f; border-radius: 14px; overflow: hidden; margin-bottom: 24px; iframe, video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; display: block; } .video-empty { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: #b7a89a; text-align: center; padding: 0 24px; font-size: 15px; } } /* social brand svg icons (tiktok / x) */ .topbar-social a svg.soc-svg, .footer .mt-3 a svg.soc-svg { width: 17px; height: 17px; vertical-align: -.15em; } .footer .mt-3 a svg.soc-svg { width: 18px; height: 18px; } /* ---------- testimonial ---------- */ .testi-card { background: @card; border: 1px solid @line; border-radius: 14px; padding: 30px 28px; margin-bottom: 30px; position: relative; .fa-quote-left { color: @line; font-size: 40px; position: absolute; top: 18px; right: 22px; } p { font-size: 15px; font-style: italic; color: @text; } .testi-person { margin-top: 16px; .testi-avatar { width: 48px; height: 48px; line-height: 48px; border-radius: 50%; background: @cream; color: @gold; font-size: 22px; text-align: center; float: left; margin-right: 12px; } .testi-name { font-family: @serif; font-size: 16px; color: @dark; padding-top: 4px; } .testi-role { font-size: 12px; color: #a3966c; letter-spacing: 1px; text-transform: uppercase; } } } /* ---------- cta ---------- */ .cta-band { background: linear-gradient(135deg, @gold 0%, @gold2 100%); border-radius: 0px; padding: 55px 0; color: #fff; text-align: center; h2 { color: #fff; font-size: 30px; margin-bottom: 10px; } p { color: rgba(255, 255, 255, .85); margin-bottom: 24px; } .btn-line-light { border-color: rgba(255, 255, 255, .9); &:hover { color: @dark; } } } /* ---------- page banner ---------- */ .page-banner { background: @cream; border-bottom: 1px solid @line; padding: 80px 0 70px; text-align: center; h1 { color: @dark; font-size: 38px; } .breadcrumb { background: transparent; justify-content: center; margin: 14px 0 0; padding: 0; .breadcrumb-item { color: @text; a { color: @gold2; } } .breadcrumb-item + .breadcrumb-item::before { color: #c9b28d; } } } /* ---------- products page toolbar ---------- */ .prod-toolbar { background: @cream; border: 1px solid @line; border-radius: 12px; padding: 16px 20px; margin-bottom: 35px; .form-control { border-radius: 8px; border: 1px solid @line; font-size: 14px; &:focus { border-color: @gold; box-shadow: none; } } .toolbar-label { color: #6f5a4a; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0; } } .grp-title { margin: 20px 0 26px; padding-bottom: 10px; border-bottom: 1px solid @line; h3 { font-size: 24px; margin: 0; } span { color: @gold; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; } } /* ---------- pagination ---------- */ .pagination { .page-link { background: @card; color: @dark; border: 1px solid @line; border-radius: 8px; margin: 0 3px; &:hover { background: @gold; border-color: @gold; color: #fff; } &.active-page { background: @gold; border-color: @gold; color: #fff; } } } /* ---------- sidebar widgets ---------- */ .side-widget { border: 1px solid @line; background: @card; border-radius: 14px; padding: 24px; margin-bottom: 30px; h4 { font-size: 18px; padding-bottom: 10px; margin-bottom: 16px; border-bottom: 2px solid @gold; display: inline-block; letter-spacing: 1px; } ul { list-style: none; padding: 0; margin: 0; } .widget-list li { border-bottom: 1px dashed @line; padding: 8px 0; a { color: @text; font-size: 14px; i { color: @gold; margin-right: 8px; } &:hover { color: @gold; } } &:last-child { border-bottom: 0; } } .tag-cloud a { display: inline-block; border: 1px solid @line; color: @text; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; padding: 5px 12px; margin: 0 6px 8px 0; &:hover { background: @gold; border-color: @gold; color: #fff; } } .form-control { border-radius: 8px; border: 1px solid @line; font-size: 14px; &:focus { border-color: @gold; box-shadow: none; } } } /* ---------- timeline ---------- */ .timeline { position: relative; padding: 10px 0; .tl-item { position: relative; padding: 0 0 40px 90px; .tl-year { position: absolute; left: 0; top: 0; font-family: @serif; font-size: 26px; color: @gold; width: 70px; } h5 { font-size: 18px; margin-bottom: 6px; } p { font-size: 14px; margin: 0; } &::before { content: ""; position: absolute; left: 78px; top: 8px; width: 10px; height: 10px; background: @gold; border-radius: 50%; } &:not(:last-child)::after { content: ""; position: absolute; left: 82px; top: 22px; bottom: 6px; width: 1px; background: @line; } } } /* ---------- contact ---------- */ .contact-card { border: 1px solid @line; border-radius: 14px; padding: 30px 24px; text-align: center; background: @card; margin-bottom: 30px; i { color: @gold; font-size: 30px; margin-bottom: 14px; } h5 { font-size: 17px; margin-bottom: 8px; } p { margin: 0; font-size: 14px; } } .contact-form { background: @card; border: 1px solid @line; border-radius: 14px; padding: 34px 30px; h3 { font-size: 24px; margin-bottom: 6px; } .form-text { font-size: 14px; color: @text; margin-bottom: 20px; } .form-control { border-radius: 8px; border: 1px solid @line; font-size: 14px; padding: 10px 12px; &:focus { border-color: @gold; box-shadow: none; } } label { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: @dark; } } .contact-info-list { list-style: none; padding: 0; margin: 0; li { padding: 16px 0 16px 58px; position: relative; border-bottom: 1px dashed @line; i { position: absolute; left: 0; top: 14px; width: 42px; height: 42px; line-height: 40px; border: 1px solid @gold; color: @gold; text-align: center; font-size: 18px; } .ci-label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #a3966c; display: block; } span { color: @dark; font-size: 15px; } } } /* ---------- faq ---------- */ .faq-card { .card { border: 1px solid @line; border-radius: 12px; margin-bottom: 12px; background: @card; } .card-header { background: @card; border-bottom: 0; padding: 0; h5 { font-size: 16px; margin: 0; .btn-link { display: block; width: 100%; text-align: left; color: @dark; padding: 14px 18px; &:hover, &:focus { text-decoration: none; color: @gold; } i { color: @gold; margin-right: 10px; } } } } .card-body { padding: 0 18px 16px 50px; font-size: 14px; color: @text; } } /* ---------- footer ---------- */ .footer { background: #3a2f24; color: #a29482; padding-top: 60px; a{ color: @gold } h5 { color: #fff; font-size: 16px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; } .footer-brand { font-family: @serif; font-size: 24px; color: @gold; letter-spacing: 2px; span { color: #fff; } img { height: 52px; /*background: #fff; padding: 6px 10px; border-radius: 6px;*/ } } p { font-size: 14px; } ul { list-style: none; padding: 0; margin: 0; li { padding: 5px 0; a { color: #a29482; font-size: 14px; &:hover { color: @gold; } } i { color: @gold; width: 20px; } } } .newsletter { .form-control { background: transparent; border: 1px solid rgba(255, 255, 255, .2); border-radius: 0; color: #fff; font-size: 14px; &:focus { border-color: @gold; box-shadow: none; } &::placeholder { color: #8a7c6c; } } .btn-gold { width: 100%; margin-top: 10px; } } .footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding: 18px 0; font-size: 13px; color: #7d6f5e; } } /* ---------- responsive ---------- */ @media (max-width: 991.98px) { .site-header .nav-link { border-bottom: 0; padding: 8px 0; } .hero .carousel-item { height: 520px; } } @media (max-width: 767.98px) { .hero { .carousel-item { height: 440px; } .carousel-caption { left: 8%; right: 8%; h2 { font-size: 30px; } p { font-size: 15px; } } } .section { padding: 55px 0; } .topbar .topbar-social { margin-top: 4px; } .topbar { font-size: 14px; padding: 9px 0; } } /* ============================================================ * WordPress additions (nav dropdown, gallery, article body) * LESS 2.5.3 safe: no bare / division, no min()/max()/calc(). * ============================================================ */ /* dropdown nav */ .site-header .nav-item { position: relative; } .site-header .dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 200px; background: @card; border: 1px solid @line; border-radius: 10px; box-shadow: 0 12px 28px rgba(93, 64, 55, .16); padding: 8px 0; margin: 0; display: none; z-index: 999; .dropdown-item { display: block; padding: 8px 20px; color: @dark; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; border: 0; background: transparent; &:hover { color: @gold; background: @cream; } } } .site-header .nav-item:hover > .dropdown-menu { display: block; } .site-header .navbar-nav .nav-link.active { color: @gold; border-bottom-color: @gold; } /* product gallery */ .pb-gallery { .pb-gal-main { border: 1px solid @line; border-radius: 14px; overflow: hidden; background: @card; img { width: 100%; display: block; max-height: 520px; object-fit: contain; } } .pb-gal-thumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 14px 0 0; li { width: 84px; height: 84px; border: 1px solid @line; border-radius: 10px; overflow: hidden; cursor: pointer; background: @card; opacity: .7; transition: all .25s; img { width: 100%; height: 100%; object-fit: cover; display: block; } &.active, &:hover { opacity: 1; border-color: @gold; } } } } .pb-specs { margin: 22px 0 0; .btn-line-dark{ margin-top: 10px; } } /* article / page body */ .article-body { font-size: 16px; line-height: 1.85; color: @text; h2, h3, h4 { margin: 28px 0 12px; color: @dark; } p { margin-bottom: 16px; } img { max-width: 100%; height: auto; border-radius: 12px; margin: 8px 0; } ul, ol { margin: 0 0 16px 22px; } li { margin-bottom: 6px; } a { color: @gold2; &:hover { color: @gold; } } blockquote { border-left: 3px solid @gold; padding-left: 18px; margin: 18px 0; color: @dark2; font-style: italic; } table { width: 100%; border-collapse: collapse; margin: 16px 0; th, td { border: 1px solid @line; padding: 8px 12px; } th { background: @cream; } } } .pb-tags { margin: 24px 0 0; color: @text; a { color: @gold2; margin-right: 8px; } i { color: @gold; margin-right: 4px; } } .pb-post-nav { margin: 30px 0 0; padding: 20px 0 0; border-top: 1px solid @line; a { color: @dark; font-size: 14px; &:hover { color: @gold; } } } /* pagination current page (WP markup) */ .pagination .current-page, .pagination .page-numbers.current { background: @gold; border-color: @gold; color: #fff; } /* search widget */ .search-form { .input-group { display: flex; } .form-control { border-radius: 8px 0 0 8px; border: 1px solid @line; border-right: 0; &:focus { border-color: @gold; box-shadow: none; } } .btn { border-radius: 0 8px 8px 0; } } /* inquiry feedback */ .pinbo-inquiry-form .pinbo-form-msg { padding: 10px 14px; border-radius: 8px; background: fade(@gold, 8%); } /* get-a-quote modal */ .pb-quote-modal { .modal-content { border: 0; border-radius: 16px; background: @card; box-shadow: 0 30px 70px rgba(93, 64, 55, .35); overflow: hidden; } .modal-header { background: linear-gradient(135deg, @gold 0%, @gold2 100%); border: 0; padding: 18px 24px; .modal-title { color: #fff; font-size: 20px; letter-spacing: 1px; i { margin-right: 8px; } } .close { color: #fff; opacity: .9; text-shadow: none; &:hover { opacity: 1; } } } .modal-body { padding: 24px; } .modal-footer { border-top: 1px solid @line; padding: 16px 24px; } label { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: @dark; } .form-control { border-radius: 8px; border: 1px solid @line; font-size: 14px; padding: 9px 12px; &:focus { border-color: @gold; box-shadow: none; } } .form-text { font-size: 14px; color: @text; margin-bottom: 18px; } } @media (max-width: 991.98px) { .site-header .dropdown-menu { position: static; display: none; box-shadow: none; border: 0; padding-left: 14px; } .site-header .nav-item.open > .dropdown-menu { display: block; } .site-header .dropdown-toggle::after { display: none; } }