/* Tomato Paste and its three galleries; isolated from prior site pages. */
.tomato-page,.tomato-gallery-page{background:#fafaf8;color:#16324f}
.tomato-page .container,.tomato-gallery-page .container{width:calc(100% - 172px);max-width:1268px}
.tomato-page h2,.tomato-gallery-page h2{font-size:34px;line-height:1.3;font-weight:700;letter-spacing:0;color:#16324f}
.tomato-page .tp-kicker,.tomato-gallery-page .tp-kicker{display:block;font-size:12px;line-height:19px;color:#1e5b45;font-weight:700}
.tomato-page .tp-body,.tomato-gallery-page .tp-body{font-size:16px;line-height:26px;color:#536962}
.tp-rule{display:block;width:50px;height:3px;background:#c9a24a;border-radius:2px;flex-shrink:0}
.tomato-page .button,.tomato-gallery-page .button{display:inline-flex;align-items:center;justify-content:center;font-size:15px;line-height:22px;min-height:52px;border-radius:8px;padding:12px 16px;font-weight:600}
.tp-green{background:#1e5b45;color:white;border:1px solid #1e5b45}
.tp-gold{background:#c9a24a;color:#0b2b25;border:1px solid #c9a24a}
.tp-white{background:white;color:#1e5b45;border:1px solid white}
.tp-outline{background:white;color:#1e5b45;border:1px solid #1e5b45}
.tp-heading{display:flex;flex-direction:column;align-items:start;gap:16px}
.tp-heading .tp-kicker{margin-top:8px}
.tp-heading .tp-body{width:100%}
.tp-buttons{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.tp-picture{display:block;overflow:hidden;min-width:0;border-radius:8px}
.tp-picture img{width:100%;height:100%;object-fit:contain}
.tp-hero{min-height:565px;background:white;padding-block:65px 68px}
.tp-hero-grid{display:grid;grid-template-columns:minmax(0,570fr) minmax(0,655fr);gap:43px;align-items:start}
.tp-hero .tp-kicker{font-size:13px;line-height:20px;font-weight:600;margin-top:35px}
.tomato-page .tp-hero h1{font-size:55px;line-height:71px;margin-top:30px;font-weight:700;color:#16324f}
.tomato-page .tp-subtitle{font-size:24px;line-height:36px;font-weight:600;color:#16324f;margin-top:19px}
.tp-hero .tp-body{font-size:17px;line-height:29px;margin-top:44px;max-width:546px}
.tp-hero .tp-buttons{margin-top:64px;flex-wrap:nowrap}
.tp-hero .tp-gold{min-width:240px}
.tp-hero .tp-green{min-width:271px}
.tp-hero figure{margin:23px 0 0;min-width:0}
.tp-picture--hero{height:310px;border-radius:13px}
.tp-picture--hero img{object-fit:cover}
.tp-hero figcaption{font-size:12px;line-height:19px;color:#1e5b45;font-weight:600;margin:28px 14px 0}
.tp-packaging{padding-block:40px;scroll-margin-top:24px}
.tp-segment-nav{display:flex;gap:12px;flex-wrap:wrap;margin-top:40px}
.tp-segment-nav .button{width:280px}
.tp-segment{margin-top:40px;scroll-margin-top:24px}
.tp-segment h2{margin-top:12px}
.tp-segment>.tp-body{margin-top:12px}
.tp-pack-grid,.tg-pack-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:20px}
.tp-pack{display:flex;flex-direction:column;align-items:stretch;min-width:0;min-height:296px;padding:18px;background:white;border:1px solid #dce5e0;border-radius:10px;gap:8px;text-align:start;scroll-margin-top:24px}
.tp-pack .tp-picture{height:193px;background:#f1f4f6}
.tp-pack-format{font-size:16px;line-height:22px;color:#16324f;margin-top:4px}
.tp-pack strong{font-size:15px;line-height:22px;font-weight:600;color:#1e5b45}
.tp-pack:hover{box-shadow:0 3px 12px #0b2b2518}
.tp-quote{margin-top:20px;min-width:300px}
.tp-drum{width:406.66px;max-width:100%;padding:16px 16px 20px;margin-top:20px;border-radius:12px;background:#fafaf8}
.tp-picture--drum{height:260px}
.tp-drum h3{font-size:18px;line-height:27px;font-weight:600;margin-top:8px}
.tomato-page .tp-drum-brix{font-size:24px;line-height:34px;font-weight:700;color:#1e5b45;margin-top:8px}
.tomato-page .tp-drum-net{font-size:16px;line-height:25px;color:#1e5b45;margin-top:8px}
.tp-drum ul{list-style:none;margin:8px 0 0;padding:0;color:#263f37;font-size:14px;line-height:22px}
.tp-specifications{padding-block:48px 40px}
.tp-spec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:28px 0 0}
.tp-spec-grid>div{display:flex;align-items:center;gap:12px;background:white;border:1px solid #d9e3dd;border-radius:8px;padding:14px;min-width:0}
.tp-spec-grid>div:last-child{grid-column:1/-1}
.tp-spec-grid dt{width:180px;max-width:40%;flex-shrink:0;font-size:14px;font-weight:600;line-height:21px;color:#16324f}
.tp-spec-grid dd{margin:0;font-size:13px;line-height:20px;color:#536962}
.tp-dimensions{padding-block:40px 48px;min-height:993px}
.tp-table{border-collapse:collapse;width:100%;margin-top:28px;font-size:14px;line-height:22px;text-align:start;table-layout:fixed}
.tp-table th,.tp-table td{text-align:start;padding:14px 12px;vertical-align:middle;border-bottom:1px solid #d9e3dd;font-weight:400;overflow-wrap:anywhere}
.tp-table thead{background:#e6efe9;color:#1e5b45;font-size:12px;font-weight:600}
.tp-table thead th{font-weight:600}
.tp-table tbody tr:nth-child(even){background:#edf4ef}
.tp-table tbody tr:nth-child(odd){background:white}
.tp-table th:first-child{width:16%}
.tp-table th:nth-child(2){width:15%}
.tp-table th:nth-child(3){width:25%}
.tp-table th:nth-child(4){width:15%}
.tp-table th:nth-child(5){width:29%}
.tp-gallery-preview{padding-block:40px}
.tp-preview-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.tp-gallery-preview .button{margin-top:20px}
.tp-picture--preview{height:260px}
.tp-commercial{background:white;min-height:355px;padding-block:46px 70px}
.tp-commercial .tp-heading{gap:24px}
.tp-commercial .tp-heading .tp-body{margin-top:6px}
.tp-cta{min-height:360px;background:#0b2b25;text-align:center;padding-block:40px 44px}
.tp-cta .tp-rule{margin-inline:auto;width:68px}
.tomato-page .tp-cta .tp-kicker{margin-top:32px;color:#e7cd8e}
.tomato-page .tp-cta h2{color:white;margin-top:18px;font-size:34px;line-height:47px}
.tomato-page .tp-cta .tp-body{color:white;margin-top:18px}
.tp-cta .tp-buttons{justify-content:center;margin-top:34px;gap:24px}
.tp-cta .button{width:232px;min-height:50px}
/* Shared gallery layout, with actual page links for design and format selection. */
.tg-intro{padding-block:48px 32px}
.tg-intro .tp-kicker{margin-top:16px}
.tomato-gallery-page h1{font-size:48px;line-height:1.35;font-weight:700;letter-spacing:0;color:#16324f;margin-top:16px}
.tg-intro .tp-body,.tg-intro .button{margin-top:16px}
.tg-intro .button,.tg-return .button{min-width:210px}
.tg-designs{padding-block:12px 20px}
.tg-design-links{display:flex;gap:12px;margin-top:16px}
.tg-design-links .button{width:220px}
.tg-filters{padding-block:20px}
.tg-filter-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}
.tg-filter-links .button{min-width:150px}
.tg-packs{padding-block:32px 48px}
.tg-packs .tp-heading{gap:16px}
.tg-packs .tp-heading .tp-kicker{margin-top:0}
.tg-pack-grid{margin-top:28px}
.tomato-gallery-page[data-design="2"] .tp-pack .tp-picture,.tomato-gallery-page[data-design="3"] .tp-pack .tp-picture{border:1px solid #1e5b45;background:#fafaf8}
.tg-pack-grid>.tp-pack:last-child:nth-child(4n+1){grid-column:2/span 2;width:calc((100% - 16px)/2);justify-self:center}
.tg-families{min-height:906px;padding-block:50px 40px}
.tg-families .tp-heading{gap:22px}
.tg-family-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:42px 80px;margin-top:36px}
.tg-family-grid h3{font-size:12px;line-height:19px;font-weight:600;color:#1e5b45;margin-bottom:12px}
.tp-picture--family{height:276px;border-radius:10px}
.tg-return{padding-block:40px 48px}
.tg-return .tp-body,.tg-return .button{margin-top:16px}
.tg-lightbox{border:0;border-radius:12px;max-width:min(1000px,94vw);max-height:94vh;padding:0;background:#fafaf8;color:#16324f}
.tg-lightbox::backdrop{background:#051b16d9}
.tg-lightbox-inner{padding:48px 26px 24px;position:relative;text-align:center}
.tg-lightbox-image{display:block;max-width:100%;max-height:67vh;width:auto;height:auto;margin-inline:auto;object-fit:contain}
.tg-lightbox-close{position:absolute;top:5px;inset-inline-end:10px;background:transparent;border:0;font-size:32px;color:#1e5b45;width:40px;height:40px;line-height:1}
#tg-lightbox-caption{font-size:15px;line-height:24px;margin-top:16px;color:#16324f}
.tg-lightbox-controls{display:flex;justify-content:center;gap:16px;margin-top:16px}
.tg-lightbox-controls .button{min-height:42px;font-size:22px;padding:8px 20px}
.tg-lightbox-controls button:disabled{opacity:.4;cursor:default}
.tomato-lightbox-open{overflow:hidden}
html[dir=rtl] .tomato-page h2,html[dir=rtl] .tomato-gallery-page h2{font-size:32px;line-height:1.5;letter-spacing:0}
html[dir=rtl] .tomato-page .tp-hero h1{font-size:48px;line-height:71px}
html[dir=rtl] .tomato-page .tp-subtitle{font-size:23px;line-height:36px}
html[dir=rtl] .tp-drum-brix{text-align:right}
html[dir=rtl] .tomato-gallery-page h1{font-size:42px;line-height:1.6}
@media(max-width:1099px){
.tomato-page .container,.tomato-gallery-page .container{width:calc(100% - 80px)}
.tomato-page h2,.tomato-gallery-page h2,html[dir=rtl] .tomato-page h2,html[dir=rtl] .tomato-gallery-page h2{font-size:32px;line-height:1.35}
.tp-hero{min-height:720px;padding-block:47px 19px}
.tp-hero-grid{grid-template-columns:minmax(0,1fr);gap:37px}
.tp-hero .tp-rule{width:45px}
.tp-hero .tp-kicker{font-size:12px;margin-top:33px}
.tomato-page .tp-hero h1{font-size:45px;line-height:59px;margin-top:22px}
.tomato-page .tp-subtitle{font-size:24px;line-height:34px;margin-top:19px}
.tp-hero .tp-body{font-size:16px;line-height:25px;max-width:none;margin-top:34px;min-height:50px}
.tp-hero .tp-buttons{margin-top:26px}
.tp-hero .tp-buttons .button{min-height:49px;min-width:270px}
.tp-hero figure{margin:0}
.tp-picture--hero{height:232px;border-radius:10px}
.tp-hero figcaption{margin:19px 0 0;font-size:11px;line-height:17px}
.tp-segment-nav .button{width:auto;flex:1;min-width:0}
.tp-pack-grid,.tg-pack-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tp-pack{min-height:264px}
.tp-pack .tp-picture{height:171px}
.tp-spec-grid{grid-template-columns:minmax(0,1fr)}
.tp-spec-grid>div:last-child{grid-column:auto}
.tp-dimensions{min-height:0}
.tp-table,.tp-table tbody{display:block}
.tp-table thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.tp-table tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tp-table tbody tr{display:flex;flex-direction:column;padding:16px;border:1px solid #d9e3dd;border-radius:10px;background:white!important;min-width:0}
.tp-table tbody th,.tp-table tbody td{display:block;width:100%;border:0;padding:5px 0;font-size:13px;line-height:21px}
.tp-table tbody th{font-size:17px;line-height:26px;font-weight:600;color:#16324f;margin-bottom:8px}
.tp-table tbody td::before{content:attr(data-label);display:block;font-size:11px;line-height:18px;color:#1e5b45;font-weight:600;margin-bottom:2px}
.tp-preview-grid{grid-template-columns:minmax(0,1fr);gap:28px}
.tp-picture--preview{height:290px}
.tp-commercial{min-height:325px;padding-block:40px 48px}
.tomato-gallery-page h1{font-size:40px}
.tg-design-links .button{flex:1;width:auto;min-width:0}
.tg-filter-links{gap:10px}
.tg-filter-links .button{min-width:0;flex:1}
.tg-pack-grid>.tp-pack:last-child:nth-child(odd){grid-column:1/-1;width:calc((100% - 18px)/2);justify-self:center}
.tg-pack-grid>.tp-pack:last-child:nth-child(even){grid-column:auto;width:auto}
.tg-families{min-height:1254px;padding-block:45px 40px}
.tg-family-grid{grid-template-columns:minmax(0,1fr);gap:32px;margin-top:32px}
.tp-picture--family{height:278px}
html[dir=rtl] .tomato-page .tp-hero h1{font-size:42px;line-height:59px}
html[dir=rtl] .tomato-gallery-page h1{font-size:38px}
}
@media(max-width:699px){
.tomato-page .container,.tomato-gallery-page .container{width:calc(100% - 48px)}
.tomato-page h2,.tomato-gallery-page h2,html[dir=rtl] .tomato-page h2,html[dir=rtl] .tomato-gallery-page h2{font-size:28px;line-height:1.35}
.tomato-page .tp-body,.tomato-gallery-page .tp-body{font-size:14px;line-height:23px}
.tomato-page .button,.tomato-gallery-page .button{font-size:14px}
.tp-hero{min-height:726px;padding-block:38px 20px}
.tp-hero-grid{gap:23px}
.tp-hero .tp-kicker{margin-top:31px}
.tomato-page .tp-hero h1{font-size:41px;line-height:53px;margin-top:18px}
.tomato-page .tp-subtitle{font-size:20px;line-height:28px;min-height:56px;margin-top:20px}
.tp-hero .tp-body{font-size:14.5px;line-height:23px;min-height:69px;margin-top:24px}
.tp-hero .tp-buttons{margin-top:31px;gap:11px;flex-direction:column;align-items:stretch}
.tp-hero .tp-buttons .button{width:100%;min-width:0}
.tp-picture--hero{height:175px}
.tp-packaging{padding-block:28px 32px}
.tp-segment-nav{flex-direction:column;gap:12px;margin-top:28px}
.tp-segment-nav .button{width:100%;flex:auto}
.tp-segment{margin-top:32px}
.tp-pack-grid,.tg-pack-grid{gap:12px}
.tp-pack{padding:12px;gap:6px;min-height:204px}
.tp-pack .tp-picture{height:125px}
.tp-pack-format{font-size:12px;line-height:18px;margin-top:2px}
.tp-pack strong{font-size:12px;line-height:18px}
.tp-quote{min-width:0;width:100%}
.tp-drum{width:100%;padding-inline:12px}
.tp-drum ul{font-size:13px;line-height:22px}
.tp-specifications{padding-block:32px}
.tp-spec-grid>div{display:block;padding:14px}
.tp-spec-grid dt{width:100%;max-width:none;font-size:13px}
.tp-spec-grid dd{margin-top:8px;font-size:12px;line-height:21px}
.tp-dimensions{padding-block:32px}
.tp-table tbody{grid-template-columns:minmax(0,1fr);gap:16px}
.tp-gallery-preview{padding-block:32px}
.tp-picture--preview{height:175px}
.tp-commercial{padding-block:32px;min-height:340px}
.tp-cta{padding-block:36px;min-height:430px}
.tomato-page .tp-cta h2{font-size:27px;line-height:38px}
.tp-cta .tp-buttons{flex-direction:column;gap:12px}
.tp-cta .button{width:100%}
.tg-intro{padding-block:48px 32px}
.tomato-gallery-page h1{font-size:32px;line-height:1.35}
.tg-intro .button,.tg-return .button{width:100%;min-width:0}
.tg-design-links{flex-direction:column}
.tg-design-links .button{width:100%;flex:auto}
.tg-filter-links .button{flex:initial;min-width:calc((100% - 20px)/3);min-height:44px;padding:10px 8px;font-size:12px}
.tg-filter-links .button:first-child{width:100%}
.tg-filter-links .button:nth-child(2){width:100%}
.tg-pack-grid>.tp-pack:last-child:nth-child(odd){width:calc((100% - 12px)/2)}
.tg-families{min-height:900px;padding-block:40px}
.tg-family-grid{gap:32px;margin-top:30px}
.tg-family-grid h3{font-size:11px;line-height:18px}
.tp-picture--family{height:156px}
.tg-lightbox-inner{padding-inline:14px}
html[dir=rtl] .tomato-page .tp-hero h1{font-size:36px;line-height:53px}
html[dir=rtl] .tomato-page .tp-subtitle{font-size:18px;line-height:28px}
html[dir=rtl] .tomato-gallery-page h1{font-size:30px;line-height:1.55}
}
