/* CAPARI KITCHEN — SHELL REFINEMENT · V5 additive layer.
   Changes only header, final CTA and footer. Existing pages and order system untouched. */

.tavola-page .shell-header{
  height:104px;min-height:104px;position:relative;z-index:50;
  padding:0 clamp(26px,4.5vw,88px)!important;
  display:grid;grid-template-columns:minmax(156px,1fr) auto minmax(255px,1fr);
  align-items:center;gap:30px;background:#f6eddf;
  border-bottom:1px solid #bfa99577;box-shadow:none;
}
.tavola-page .shell-brand{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:max-content;min-width:145px}
.tavola-page .shell-brand .brand-script{font-size:48px;line-height:.75}
.tavola-page .shell-brand .brand-type{margin-top:11px;font-size:10px;letter-spacing:.43em}
.shell-header-center{display:flex;flex-direction:column;align-items:center;gap:13px;align-self:center;min-width:0}
.shell-nav-overline{
  display:flex;align-items:center;gap:11px;color:#ad5546;
  font:800 8px/1 var(--ui);letter-spacing:.22em;white-space:nowrap;
}
.shell-nav-overline b{font-size:12px;font-weight:400}
.shell-nav{display:flex;gap:clamp(16px,1.65vw,33px);align-items:center}
.shell-nav a{display:inline-flex;align-items:baseline;gap:7px;font:800 11px/1.2 var(--ui);white-space:nowrap;color:#352920;padding:7px 0}
.shell-nav a:hover,.shell-nav a.tavola-nav-active{color:#ae3c32}
.shell-nav-no{font:italic 400 12px/1 var(--tavola-serif);color:#ac8171}
.shell-header-actions{justify-self:end;display:flex;align-items:center;gap:10px!important;margin-left:0!important}
.shell-header-message{
  writing-mode:vertical-rl;transform:rotate(180deg);font:850 7px/1 var(--ui);
  letter-spacing:.2em;color:#aa7869;white-space:nowrap;margin-right:4px;
}
.tavola-page .shell-order{
  min-height:49px!important;background:#a93d32!important;color:#fff6ec!important;
  gap:32px;padding:13px 20px!important;font:850 10px/1 var(--ui);letter-spacing:.11em;
}
.tavola-page .shell-order:hover{background:#7e291f!important}
.tavola-page .shell-order span{font-size:20px}
.tavola-page .shell-cart{
  display:flex;align-items:center;gap:10px;min-height:49px!important;
  padding:12px 13px!important;background:transparent;border:1px solid #c6b6a6!important;
  font-size:10px!important;letter-spacing:.09em;
}
.tavola-page .shell-cart:hover{border-color:#a93d32!important}
.tavola-page .shell-mobile-menu{display:none}

/* Closing scene replaces an isolated red slogan with two coordinated materials. */
.tavola-page .tavola-outro.outro-v2{
  display:block;min-height:0;text-align:left;position:relative;padding:0!important;
  background:#a03b32;color:#f8eee3;overflow:hidden;isolation:isolate;
}
.outro-v2__index,.outro-v2__endline{
  width:100%;display:flex;justify-content:space-between;align-items:center;gap:15px;
  font:850 9px/1.4 var(--ui);letter-spacing:.18em;
}
.outro-v2__index{
  padding:26px clamp(24px,4.5vw,88px);border-top:1px solid #fff6e932;
  border-bottom:1px solid #fff6e93b;color:#f6d9ca;
}
.outro-v2__index span:first-child{display:inline-flex;align-items:center;gap:8px}
.outro-v2__index span:first-child:before{content:'✳';font-size:18px;font-weight:400}
.outro-v2__scene{
  display:grid;grid-template-columns:minmax(420px,1fr) minmax(400px,.95fr);
  min-height:630px;max-width:1800px;margin:0 auto;align-items:stretch;
}
.outro-v2__copy{
  padding:clamp(48px,6vw,99px) 30px 60px clamp(29px,6.3vw,126px);
  position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
}
.outro-v2__script{font:italic 400 clamp(25px,2.5vw,39px)/1 var(--tavola-serif);color:#f3c9af;margin-bottom:20px}
.outro-v2__eyebrow{font:900 10px/1.2 var(--ui);letter-spacing:.19em;color:#ffd8c5}
.tavola-page .outro-v2__copy h2{
  margin:29px 0 22px!important;font:400 clamp(95px,9vw,178px)/.82 var(--tavola-serif)!important;
  letter-spacing:-.091em!important;white-space:nowrap;color:#fff4e6;
}
.tavola-page .outro-v2__copy h2 em{color:#f4c4a8;font-weight:400}
.outro-v2__copy p{font:400 15px/1.85 var(--ui);color:#f5ddd0;max-width:430px;margin:9px 0 28px}
.outro-v2__actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.tavola-page .outro-v2__action{
  min-height:54px;display:inline-flex;align-items:center;justify-content:space-between;
  gap:21px;padding:16px 19px;font:850 10px/1.1 var(--ui);letter-spacing:.11em;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.tavola-page .outro-v2__action b{font:400 22px/1 var(--ui)}
.tavola-page .outro-v2__action--main{background:#f8eddd;color:#37241b}
.tavola-page .outro-v2__action--main:hover{background:white;color:#a43f34}
.tavola-page .outro-v2__action--secondary{background:transparent;border:1px solid #eccdb7b5;color:#fff4e8}
.tavola-page .outro-v2__action--secondary:hover{background:#fff3e8;color:#8c342a}
.outro-v2__little-note{font:850 9px/1.3 var(--ui);color:#efc2ac;letter-spacing:.16em;display:flex;align-items:center;gap:9px;margin-top:42px}
.outro-v2__little-note i{font-size:18px;font-weight:400;font-style:normal}
.outro-v2__table{
  position:relative;isolation:isolate;min-height:600px;
  display:grid;place-items:center;background:#ead9c6;overflow:hidden;
}
.outro-v2__tablecloth{
  position:absolute;inset:0;z-index:-1;
  background-color:#efe0ce;
  background-image:conic-gradient(#ad4940 25%,#f0e3d3 0 50%,#ad4940 0 75%,#f0e3d3 0);
  background-size:102px 102px;
  filter:saturate(.79);
}
.outro-v2__table:after{
  content:'';position:absolute;inset:0;z-index:0;pointer-events:none;
  background:linear-gradient(90deg,#37201f1b,#37201f13),radial-gradient(circle at center,transparent 48%,#55312836 100%)
}
.outro-v2__table img{
  position:relative;z-index:1;display:block;width:min(90%,730px);height:auto;max-height:730px;
  object-fit:contain;transform:rotate(-8deg);
  filter:drop-shadow(0 20px 18px #36231968);
}
.outro-v2__tape{
  position:absolute;z-index:3;background:#f8f0e0;color:#30251e;padding:12px 16px;
  font:850 9px/1.2 var(--ui);letter-spacing:.17em;box-shadow:2px 4px 0 #53332421;
}
.outro-v2__tape--top{top:27px;left:26px;transform:rotate(-5deg)}
.outro-v2__tape--bottom{bottom:26px;right:23px;transform:rotate(3deg)}
.outro-v2__stamp{
  position:absolute;top:38px;right:34px;z-index:4;display:grid;place-items:center;text-align:center;
  width:109px;height:109px;border:4px double #f9e5d0;border-radius:50%;transform:rotate(14deg);
  background:#a43d32;color:#fff1df;box-shadow:0 7px 15px #2a201b47;
  font:850 12px/1.3 var(--ui);letter-spacing:.11em;
}
.outro-v2__endline{
  padding:23px clamp(24px,4.5vw,88px);background:#8d302c;color:#f9d9c5;
}
.outro-v2__endline span:last-child{font-style:italic;font-family:var(--tavola-serif);font-size:16px;font-weight:400;letter-spacing:.02em}

/* Footer: designed as the back cover of a restaurant menu. */
.tavola-page .tavola-footer.shell-footer{
  display:block;position:relative;overflow:hidden;background:#241e1a;color:#f7ebe0;
}
.shell-footer-top{
  display:flex;justify-content:space-between;gap:20px;align-items:center;
  padding:21px clamp(24px,4.5vw,88px);border-bottom:1px solid #fff8f022;
  font:850 10px/1.2 var(--ui);letter-spacing:.17em;color:#d4a994;
}
.shell-footer-top b{padding:0 11px;color:#b76751;font-size:16px;font-weight:400}
.shell-footer-main{
  display:grid;grid-template-columns:1.3fr .8fr .84fr;gap:clamp(28px,4vw,85px);
  max-width:1800px;margin:auto;padding:clamp(63px,6vw,100px) clamp(24px,6vw,120px) 75px;
}
.shell-footer-kicker{font:850 9px/1.3 var(--ui);letter-spacing:.2em;color:#d8a894}
.shell-footer-identity{position:relative}
.shell-footer-identity h2{font:400 clamp(60px,6.3vw,102px)/.92 var(--tavola-serif);letter-spacing:-.065em;margin:25px 0 19px}
.shell-footer-identity h2 em{color:#e8b59b;font-weight:400}
.shell-footer-identity p{font:400 13px/1.9 var(--ui);color:#cdb5a6;margin:0}
.shell-footer-stamp{
  position:absolute;top:14px;right:3%;display:grid;place-items:center;text-align:center;
  width:73px;height:73px;border:2px double #c59c87;border-radius:50%;transform:rotate(13deg);
  color:#c89c87;font:800 9px/1.2 var(--ui);letter-spacing:.08em;
}
.shell-footer-links{display:flex;flex-direction:column;gap:0!important;align-items:stretch!important;flex-wrap:nowrap!important}
.shell-footer-links>.shell-footer-kicker{margin:0 0 20px}
.shell-footer-links a{
  border-bottom:1px solid #f7eee122;padding:14px 0;display:flex;align-items:center;
  justify-content:space-between;gap:25px;min-width:0;
  color:#f6eadf;font:400 clamp(22px,2.1vw,33px)/1.1 var(--tavola-serif)!important;
}
.shell-footer-links a:first-of-type{border-top:1px solid #f7eee122}
.shell-footer-links a b{font:400 21px/1 var(--ui);color:#bfa193}
.shell-footer-links a:hover{color:#e9b099}
.shell-footer-actions{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.shell-footer-actions p{font:400 26px/1.15 var(--tavola-serif);letter-spacing:-.03em;margin:27px 0 30px;max-width:240px}
.shell-footer-actions>a{
  display:inline-flex;justify-content:space-between;gap:28px;align-items:center;
  background:#ab3f34;padding:17px 18px;color:#fff1e4;
  font:850 10px/1 var(--ui);letter-spacing:.12em;min-height:54px;width:min(100%,250px);
}
.shell-footer-actions>a:hover{background:#c95443}
.shell-footer-actions>a span{font-size:21px;font-weight:400}
.shell-footer-secondary{display:flex;flex-direction:column;gap:10px;margin-top:29px}
.shell-footer-secondary a{font:850 9px/1.4 var(--ui);letter-spacing:.12em;color:#d0aea0}
.shell-footer-secondary a:hover{color:#fff2e7}
.shell-footer-giant{
  font:400 clamp(150px,26vw,490px)/.65 var(--tavola-serif);letter-spacing:-.11em;
  color:#f2d7c21a;white-space:nowrap;text-align:center;margin:-8px auto -12px;user-select:none;pointer-events:none;
}
.shell-footer-giant span{color:#a8473b5c}
.tavola-page .shell-footer .shell-footer-bottom{
  display:flex;flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:wrap;
  gap:15px;width:auto;padding:20px clamp(24px,4.5vw,88px) 30px;margin:0;
  border-top:1px solid #f1e3d31c;background:#241e1a;
  color:#c8ae9c;font:850 9px/1.4 var(--ui);letter-spacing:.12em;
}
.shell-footer-bottom a{color:#e5b29c;font:850 9px/1.4 var(--ui)}
.shell-footer-bottom a:hover{color:#fff3e5}

@media(max-width:1180px){
 .tavola-page .shell-header{gap:12px;grid-template-columns:minmax(130px,1fr) auto auto;padding-inline:25px!important}
 .shell-nav-overline{font-size:7px}
 .shell-nav{gap:15px}
 .shell-nav a{font-size:10px}
 .shell-header-message{display:none}
 .tavola-page .shell-order{gap:10px;padding:12px 14px!important}
 .outro-v2__scene{grid-template-columns:1fr 1fr;min-height:560px}
 .outro-v2__copy{padding:55px 26px 55px 50px}
 .tavola-page .outro-v2__copy h2{font-size:clamp(78px,8.8vw,122px)!important}
 .outro-v2__table{min-height:530px}
 .shell-footer-main{gap:33px;padding:70px 34px 65px}
 .shell-footer-stamp{right:-11px}
}

@media(max-width:920px){
 .tavola-page .shell-header{height:79px;min-height:79px;padding-inline:20px!important;grid-template-columns:auto 1fr auto;gap:8px}
 .shell-header-center{display:none}
 .tavola-page .shell-brand .brand-script{font-size:40px}
 .tavola-page .shell-brand .brand-type{font-size:9px;margin-top:8px}
 .tavola-page .shell-header-actions{justify-self:end}
 .tavola-page .shell-mobile-menu{display:inline-flex;align-items:center;gap:6px;font:850 10px/1 var(--ui);letter-spacing:.08em;justify-self:end;white-space:nowrap;color:#352820}
 .shell-mobile-menu span{font-size:16px}
 .outro-v2__scene{grid-template-columns:1fr 1fr}
 .outro-v2__copy{padding:65px 25px}
 .outro-v2__copy p{font-size:13px}
 .tavola-page .outro-v2__copy h2{font-size:clamp(72px,9vw,100px)!important}
 .outro-v2__table{min-height:490px}
 .shell-footer-main{grid-template-columns:1.3fr 1fr;gap:50px 30px}
 .shell-footer-actions{grid-column:1/-1;flex-direction:row;align-items:center;gap:24px}
 .shell-footer-actions .shell-footer-kicker{display:none}
 .shell-footer-actions p{margin:0;font-size:25px}
 .shell-footer-secondary{margin:0 0 0 auto}
}

@media(max-width:620px){
 .tavola-page .shell-header{height:70px;min-height:70px;display:flex;gap:7px;padding:0 18px!important}
 .tavola-page .shell-brand{min-width:100px!important;margin-right:auto}
 .tavola-page .shell-brand .brand-script{font-size:34px!important}
 .tavola-page .shell-brand .brand-type{font-size:9px!important}
 .tavola-page .shell-header-actions{margin-left:auto!important}
 .tavola-page .shell-order{display:none!important}
 .tavola-page .shell-cart{min-height:38px!important;border:0!important;padding:5px!important;font-size:9px!important}
 .tavola-page .shell-mobile-menu{display:inline-flex!important;font-size:10px!important;order:3;margin-left:6px}
 .outro-v2__index{padding:19px 19px;font-size:8px}
 .outro-v2__index span:nth-child(2){display:none}
 .outro-v2__scene{display:flex;flex-direction:column;min-height:0}
 .outro-v2__copy{padding:60px 23px 59px;align-items:flex-start;min-width:0}
 .outro-v2__script{font-size:28px;margin-bottom:16px}
 .outro-v2__eyebrow{font-size:8px}
 .tavola-page .outro-v2__copy h2{font-size:clamp(75px,17.5vw,107px)!important;margin:22px 0 16px!important}
 .outro-v2__copy p{font-size:12px;max-width:340px;margin:6px 0 24px}
 .outro-v2__actions{width:100%;gap:9px}
 .tavola-page .outro-v2__action{min-height:49px;font-size:9px;padding:12px 13px;gap:9px}
 .tavola-page .outro-v2__action b{font-size:18px}
 .outro-v2__little-note{font-size:8px;margin-top:28px}
 .outro-v2__table{min-height:370px;aspect-ratio:1.03}
 .outro-v2__tablecloth{background-size:74px 74px}
 .outro-v2__table img{width:min(86%,470px)}
 .outro-v2__stamp{width:73px;height:73px;font-size:8px;top:17px;right:16px}
 .outro-v2__tape{font-size:7px;padding:9px 10px}
 .outro-v2__tape--top{left:13px;top:17px}
 .outro-v2__tape--bottom{right:13px;bottom:14px}
 .outro-v2__endline{padding:16px 19px;font-size:7px}
 .outro-v2__endline span:last-child{font-size:12px}
 .shell-footer-top{padding:19px 20px;font-size:8px}
 .shell-footer-top span:last-child{display:none}
 .shell-footer-main{display:flex;flex-direction:column;padding:65px 23px 55px;gap:44px}
 .shell-footer-identity h2{font-size:clamp(64px,15vw,92px);margin:19px 0 16px}
 .shell-footer-identity p{font-size:12px}
 .shell-footer-stamp{right:0;top:0;width:66px;height:66px;font-size:8px}
 .shell-footer-links>.shell-footer-kicker{margin-bottom:13px}
 .shell-footer-links a{padding:13px 0;font-size:28px!important}
 .shell-footer-actions{display:flex;flex-direction:column;align-items:flex-start;gap:0}
 .shell-footer-actions .shell-footer-kicker{display:block}
 .shell-footer-actions p{font-size:30px;margin:19px 0 24px;max-width:310px}
 .shell-footer-actions>a{max-width:280px}
 .shell-footer-secondary{margin:20px 0 0}
 .shell-footer-giant{font-size:clamp(132px,32vw,200px);margin:5px 0 0;line-height:.7}
 .tavola-page .shell-footer .shell-footer-bottom{padding:23px 20px 85px;gap:12px;font-size:8px;flex-direction:column;align-items:flex-start}
}
@media(max-width:365px){
 .tavola-page .shell-brand .brand-script{font-size:31px!important}
 .tavola-page .shell-cart{font-size:8px!important}
 .tavola-page .shell-mobile-menu{font-size:9px!important;margin-left:0}
 .outro-v2__copy{padding-inline:17px}
 .tavola-page .outro-v2__copy h2{font-size:clamp(65px,16vw,82px)!important}
 .tavola-page .outro-v2__action{width:100%;justify-content:space-between}
 .outro-v2__table{min-height:312px}
 .shell-footer-giant{font-size:32vw}
}
@media(prefers-reduced-motion:reduce){
 .tavola-page .outro-v2__action,.tavola-page .shell-order,
 .shell-footer-links a,.shell-footer-actions>a{transition:none!important}
}
