﻿/* Shared interior pages */
.main > .hero { box-sizing:border-box; width:90%; max-width:1440px; height:auto; min-height:240px; margin:112px auto 0; border-radius:16px; position:relative; overflow:hidden; background-color:#234f40; }
.main > .hero::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(16,48,38,.84),rgba(16,48,38,.35)); }
.main > .hero .context { position:relative; box-sizing:border-box; width:100%; padding:40px 6%; }
.main > .hero .context h1 { margin:0 0 12px; font-size:clamp(34px,4vw,56px); line-height:1.2; }
.main > .hero .context h2 { width:auto; max-width:100%; margin:0; font-size:15px; line-height:1.6; }
.main > .section { margin:32px auto 70px; }
.main .product-filter { box-sizing:border-box; border-color:#e2ebe4; border-radius:16px; }
.main .filter-heading h2 { color:#173e35; }
.main .filter-heading a,.main .filter-empty a { color:#2e6e5a; }
.main .filter-fields button { background:#2e6e5a; }
.main .filter-fields select:focus-visible,.main .filter-fields button:focus-visible { outline-color:#43865d; }
.main .products { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); align-items:stretch; gap:16px; max-width:1280px; overflow:visible; }
.main .products .prod { box-sizing:border-box; width:100%; min-width:0; display:flex; align-items:stretch; justify-content:start; overflow:hidden; border:1px solid #e5ece5; border-radius:12px; background:#fff; }
.main .products .prod_img { height:240px; position:relative; border-radius:0; background:#f6f8f4; }
.main .products .prod_img > a { display:block; height:100%; padding:20px; box-sizing:border-box; }
.main .products .prod_img .img { width:100%; height:100%; object-fit:contain; filter:none; }
.main .products .buy { inset-inline-end:12px; bottom:12px; margin:0; width:48px; height:48px; background-color:#e8f2e9; background-position:center; background-size:58px; cursor:pointer; }
.main .products .prod_info { box-sizing:border-box; width:100%; height:auto; min-height:125px; margin:0; padding:16px; gap:8px; justify-content:start; }
.main .products .prod_info .title { margin:0; font-size:16px; line-height:1.5; color:#203f34; }
.main .products .prod_info .price { margin:0; color:#2e6e5a; font-size:16px; }
.main .aboutus { box-sizing:border-box; width:90%; max-width:1440px; height:auto; min-height:400px; margin:32px auto 70px; gap:20px; align-items:stretch; }
.main .aboutus .box { height:auto; min-height:400px; border-radius:16px; }
.main .aboutus .box.secondary { box-sizing:border-box; border:1px solid #e2ebe4; background:#fff; padding:40px; }
.main .aboutus .box.secondary .context { width:100%; }
.main .aboutus .box.secondary .context h1 { color:#173e35; font-size:clamp(28px,3vw,42px); }
.main .aboutus .box.secondary .context h2 { line-height:1.9; }
.main .aboutus::after { display:none; }
.main .login { width:90%; max-width:1440px; min-height:0; margin:112px auto 70px; padding:24px; gap:20px; background:#edf3ee; border-radius:16px; }
.main .login .backgrounded { display:none; }
.main .login .form,.main .login .social2 { box-sizing:border-box; height:auto; border:1px solid #e2ebe4; border-radius:12px; }
.main .login .form h1,.main .login .social2 h6 { color:#173e35; font-size:30px; }
.main .login .submit { background:#2e6e5a; cursor:pointer; }
.main .login .submit:hover { width:70%; background:#173e35; }
.main .login .social2 .item img { background:#edf5ef; }
.main .login .social2 .item .text span { overflow-wrap:anywhere; }
.main .shop-page { max-width:1440px; box-sizing:border-box; }
@media(max-width:1000px) {
 .main > .hero { width:92%; min-height:190px; margin-top:96px; }
 .main > .section { margin:24px auto 50px; }
 .main .products { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .main .aboutus { width:92%; min-height:0; margin:24px auto 50px; }
 .main .aboutus .box.secondary { width:100%; min-height:0; padding:30px; }
 .main .login { width:92%; margin:96px auto 50px; padding:16px; flex-direction:column-reverse; }
 .main .login .form,.main .login .social2 { width:100%; margin:0; }
 .main .login .social2 { padding:0 20px 30px; }
 .main .login .social2 .item { margin:0; }
}
@media(max-width:600px) {
 .main > .hero .context { padding:30px 24px; }
 .main .products { width:92%; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .main .products .prod_img { height:160px; }
 .main .products .prod_img > a { padding:12px; }
 .main .products .prod_info { padding:12px; min-height:110px; }
 .main .products .prod_info .title { font-size:14px; }
 .main .login .form { padding:0 20px 28px; }
 .main .login .credits,.main .login .form .text-area,.main .login .upload { box-sizing:border-box; width:100%; min-width:0; max-width:100%; }
 .main .login .social2 .context { margin:28px 0 10px; }
 .main .login .social2 .items { margin-top:20px; }
 .main .login .social2 .item .text span { font-size:15px; }
}
