/*
Theme Name: Tolooh Silver
Version: 1.0.9
*/
@font-face{font-family:'Vazirmatn';src:url('/wp-content/themes/tolooh-silver-theme/assets/fonts/Vazirmatn.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{--bg:#f6f7f8;--surface:#fff;--text:#171a1c;--muted:#59656e;--silver:#a7b0b7;--accent:#806039;--border:#dce1e4}
*{box-sizing:border-box}html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:'IRANYekan','Vazirmatn',Tahoma,sans-serif;line-height:1.8}img{max-width:100%;display:block}body.tsp-product{--bg:var(--pl-bg,#eef2f5);--surface:var(--pl-card,#f9fbfc);--text:var(--pl-text,#14202a);--muted:var(--pl-muted,#52636e);--accent:var(--pl-accent,#284b5b);--border:var(--pl-border,#d3dce2);background:var(--bg);color:var(--text)}.pack-wrap{min-height:100dvh;height:100dvh;display:grid;grid-template-columns:1fr 1fr;direction:ltr;overflow:hidden}.pack-media{direction:rtl;position:relative;background:radial-gradient(ellipse at 50% 35%,#fff 0,#e9edf0 55%,#d9e0e6 100%);display:flex;align-items:center;justify-content:center;padding:74px 32px;min-height:0;isolation:isolate}.pack-media::before{content:'';position:absolute;inset:22px;border:1px solid #ffffffa0;border-radius:24px;pointer-events:none}.pack-photo{object-fit:contain;width:100%;height:100%;max-height:none;border-radius:18px;filter:drop-shadow(0 22px 24px #171a1c20);cursor:zoom-in}.pack-brand{position:absolute;top:30px;right:36px;font-size:14px;font-weight:700;color:#4d5862;z-index:1}.pack-brand span{padding:0 8px;color:#806039}.pack-media-caption{position:absolute;bottom:28px;font-size:12px;color:#59656e}.pack-empty{text-align:center;color:#59656e}.pack-emblem{display:inline-grid;place-items:center;width:150px;height:150px;border-radius:32px;font:normal 76px Georgia,serif;color:#727d86;background:linear-gradient(135deg,#fff,#cdd4da);box-shadow:12px 16px 30px #aeb7bf70,inset 2px 2px 0 #fff,inset -2px -2px 0 #b9c2ca}
.pack-info{background:var(--bg);color:var(--text);direction:rtl;padding:clamp(10px,1.6dvh,18px) clamp(20px,3vw,48px);display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:6px;min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto}.pack-info>*{flex-shrink:0}.pack-info h1{text-align:center;align-self:center;width:100%;font-size:32px;line-height:1.4;display:flex;margin:0;justify-content:space-around;overflow-wrap:anywhere}.pack-info>.tsp-hint,.pack-info>.tsp-transfer,.pack-info>.pack-admin-link{align-self:center;text-align:center;width:100%}.pack-info .tsp-transfer .tsp-primary{justify-content:center}.pack-info .pack-data{text-align:center}.pack-data{width:100%;flex:1 1 0;min-height:0;height:auto;max-width:100%;max-height:none;background:linear-gradient(145deg,#fff,#fafbfc);border:1px solid #fff;border-radius:22px;overflow:hidden;box-shadow:9px 9px 25px #dce0e5,-8px -8px 24px #fff}.pack-admin-link{color:var(--pl-link,#24576e);font-size:13px;line-height:1.5;text-decoration:none;margin-top:2px}.pack-info>.tsp-hint{margin:0}.pack-info>.tsp-transfer{margin-top:0}.tsp-product .tsp-table th,.tsp-product .tsp-table td{text-align:center}.tsp-product .tsp-table th{width:38%}.tsp-product .pack-data .tsp-table{height:100%;font-size:16px;table-layout:fixed}.tsp-product .pack-data .tsp-table>tbody,.tsp-product .pack-data .tsp-table>tbody>tr{height:auto}.tsp-product .pack-data .tsp-table caption{padding:5px 12px;line-height:1.5}.tsp-product .pack-data .tsp-table th,.tsp-product .pack-data .tsp-table td{padding:clamp(2px,.7dvh,6px) 14px;line-height:1.5}.tsp-product .tsp-transfer .tsp-hint,.tsp-product .pack-info>.tsp-hint{font-size:12px!important;line-height:1.5;text-align:center;margin:3px 0}.tsp-product .tsp-record-actions button{font-size:14px;min-height:38px;padding:6px 14px}.tsp-product .tsp-transfer-open{font-size:16px;min-height:44px;padding:8px 16px}
@media(min-width:901px){
    .tsp-product .pack-wrap{direction:ltr;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
    .tsp-product .pack-info{padding:12px clamp(18px,2vw,36px);gap:6px;overflow:visible}
    .tsp-product .pack-info>.pack-data{flex:1 1 0;align-self:stretch;width:100%;min-height:0}
    .tsp-product .pack-info h1{font-size:clamp(24px,3.6dvh,32px);line-height:1.3;margin:0}
    .tsp-product .pack-data .tsp-table{display:grid;grid-template-rows:auto minmax(0,1fr);font-size:16px}
    .tsp-product .pack-data .tsp-table>tbody{display:grid;grid-auto-rows:minmax(min-content,1fr);min-height:0}
    .tsp-product .pack-data .tsp-table tr{display:grid;grid-template-columns:minmax(0,46fr) minmax(0,54fr)}
    .tsp-product .pack-data .tsp-table th,.tsp-product .pack-data .tsp-table td{display:flex;align-items:center;justify-content:center;min-width:0;width:auto;padding:4px 12px;line-height:1.45}
    .tsp-product .pack-info>.tsp-hint,.tsp-product .tsp-transfer>.tsp-hint{font-size:12px!important;line-height:1.5;margin:0}
    .tsp-product .tsp-transfer{display:grid;gap:6px}
    .tsp-product .tsp-transfer-open{min-height:42px;padding:7px 16px}
    .tsp-product .tsp-record-actions button{min-height:36px;padding:4px 14px}
}
@media(min-width:901px) and (max-height:700px){
    .tsp-product .pack-info{padding-block:8px;gap:4px}
    .tsp-product .pack-data .tsp-table{font-size:14px}
    .tsp-product .pack-data .tsp-table th,.tsp-product .pack-data .tsp-table td{padding-block:2px;line-height:1.4}
    .tsp-product .pack-data .tsp-table caption{padding-block:3px}
}
@media(max-width:900px){.pack-wrap{grid-template-columns:1fr;height:auto;min-height:100dvh;overflow:visible}.pack-media{padding:76px 24px 54px;min-height:42dvh;height:42dvh}.pack-brand{top:25px;right:28px}.pack-media::before{inset:14px}.pack-media-caption{bottom:20px}.pack-photo{height:100%;width:100%;max-height:none}.tsp-product .pack-info{padding:16px 16px 24px;overflow:visible;min-height:auto}.tsp-product .pack-data{flex:none;width:100%;height:auto;max-height:none}.tsp-product .pack-data .tsp-table{height:auto}.tsp-product .pack-data .tsp-table>tbody{height:auto}.tsp-product .pack-data .tsp-table>tbody>tr{height:auto}.pack-info h1{font-size:28px}.pack-emblem{width:110px;height:110px;font-size:58px}}
