/**
 * TORINOFINESTRE - SCHÜCO MINIMAL CSS
 * Versione: 1.0.0 - Produzione
 * Data: 2026-04-03
 * Ottimizzato per: https://www.torinofinestre.it/schuco/
 */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
  --tf-blue: #0057b8;
  --tf-blue-dark: #004494;
  --tf-blue-light: #e6f0fa;
  --tf-orange: #ff6b00;
  --tf-orange-dark: #e55a00;
  --tf-dark: #1a1a1a;
  --tf-gray: #666666;
  --tf-gray-light: #f5f5f5;
  --tf-white: #ffffff;
  --tf-border: #e0e0e0;

  --header-height: 90px;
  --header-height-mobile: 70px;
  --container-max: 1200px;
  --section-padding: 60px;

  --transition: 0.3s ease;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-size: 1rem; line-height: 1.6; color: var(--tf-dark); background: var(--tf-white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tf-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--tf-blue-dark); }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; margin-bottom: 1rem; color: var(--tf-dark); }
h1 { font-size: 2.25rem; } h2 { font-size: 1.875rem; } h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }

/* ========================================
   LAYOUT
   ======================================== */
.body-wrapper { position: relative; overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; }
.body-innerwrapper { flex: 1; width: 100%; }

.container, .container-fluid { width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }
.container { max-width: var(--container-max); }

.row { display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }
.col, [class*="col-"] { position: relative; width: 100%; padding-right: 15px; padding-left: 15px; }
.col { flex-basis: 0; flex-grow: 1; max-width: 100%; }

.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

@media (min-width: 576px) {
  .col-sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 768px) {
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-md-9 { flex: 0 0 75%; max-width: 75%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) {
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
}

@media (min-width: 1200px) {
  .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
  .col-xl-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-xl-6 { flex: 0 0 50%; max-width: 50%; }
  .col-xl-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
}

/* ========================================
   HEADER
   ======================================== */
#sp-header, .sp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: var(--tf-white);
  height: var(--header-height);
  transition: all var(--transition);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

#sp-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.sp-logo { display: flex; align-items: center; height: 100%; }
.sp-logo a { display: inline-block; line-height: 1; }
.sp-logo img { max-height: 60px; width: auto; transition: max-height var(--transition); }
.logo-text { font-size: 1.75rem; font-weight: 800; color: var(--tf-blue); letter-spacing: -0.5px; }

/* ========================================
   MEGA MENU
   ======================================== */
.sp-megamenu-wrapper { display: flex; align-items: center; }
.sp-megamenu-parent { display: flex; list-style: none; margin: 0; padding: 0; }
.sp-megamenu-parent > li { position: relative; display: flex; align-items: center; }
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
  display: block;
  padding: 0.5rem 1.25rem;
  color: var(--tf-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.2s ease;
}
.sp-megamenu-parent > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--tf-orange);
  transition: width 0.2s ease;
}
.sp-megamenu-parent > li:hover > a::after, .sp-megamenu-parent > li.active > a::after { width: calc(100% - 2.5rem); }
.sp-megamenu-parent > li:hover > a, .sp-megamenu-parent > li.active > a { color: var(--tf-blue); }

.sp-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--tf-white);
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
  border-radius: 0 0 4px 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1000;
  border-top: 3px solid var(--tf-orange);
}
.sp-megamenu-parent > li:hover > .sp-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.sp-dropdown-inner { padding: 0.75rem 0; }
.sp-dropdown-items { list-style: none; margin: 0; padding: 0; }
.sp-dropdown-items > li > a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--tf-dark);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}
.sp-dropdown-items > li > a:hover {
  background: var(--tf-blue-light);
  color: var(--tf-blue);
  border-left-color: var(--tf-orange);
  padding-left: 1.75rem;
}

.sp-mega-group, .offcanvas-toggler { display: none; }

/* ========================================
   OFFCANVAS
   ======================================== */
.offcanvas-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.offcanvas-active .offcanvas-overlay { opacity: 1; visibility: visible; }

.offcanvas-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: var(--tf-white);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform var(--transition);
  overflow-y: auto;
  box-shadow: 5px 0 25px rgba(0,0,0,0.1);
}
.offcanvas-active .offcanvas-menu { transform: translateX(0); }

.close-offcanvas {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tf-dark);
  font-size: 1.5rem;
  z-index: 10;
  border-radius: 50%;
  transition: all 0.2s ease;
}
.close-offcanvas:hover { background: var(--tf-gray-light); color: var(--tf-orange); }

.offcanvas-inner { padding: 5rem 1.5rem 2rem; }
.offcanvas-menu .sp-module { margin-bottom: 2.5rem; }
.offcanvas-menu .sp-module-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--tf-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--tf-orange);
}
.offcanvas-menu ul { list-style: none; padding: 0; }
.offcanvas-menu ul li { border-bottom: 1px solid var(--tf-border); }
.offcanvas-menu ul li a {
  display: block;
  padding: 0.875rem 0;
  color: var(--tf-gray);
  font-weight: 500;
  transition: all 0.2s ease;
}
.offcanvas-menu ul li a:hover { color: var(--tf-blue); padding-left: 0.5rem; }

/* ========================================
   SECTIONS
   ======================================== */
#sp-main-body { padding-top: var(--header-height); min-height: 60vh; }
.sp-section { padding: var(--section-padding) 0; }
.sp-section-sm { padding: calc(var(--section-padding) / 2) 0; }
.sp-section-lg { padding: calc(var(--section-padding) * 1.5) 0; }

.sp-section-title { text-align: center; margin-bottom: 3rem; }
.sp-section-title h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--tf-dark);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}
.sp-section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--tf-blue), var(--tf-orange));
  margin: 0.75rem auto 0;
  border-radius: 2px;
}
.sp-section-title p { font-size: 1.1rem; color: var(--tf-gray); max-width: 700px; margin: 0 auto; }

#sp-top1, #sp-top2, #sp-top3 { background: var(--tf-blue); color: var(--tf-white); padding: 0.75rem 0; font-size: 0.9rem; }
#sp-top1 a, #sp-top2 a, #sp-top3 a { color: var(--tf-white); opacity: 0.9; }
#sp-top1 a:hover, #sp-top2 a:hover, #sp-top3 a:hover { opacity: 1; }

#sp-feature {
  background: linear-gradient(135deg, var(--tf-blue) 0%, var(--tf-blue-dark) 100%);
  color: var(--tf-white);
  padding: 4rem 0;
}
#sp-feature h1, #sp-feature h2, #sp-feature h3 { color: var(--tf-white); }

#sp-main-content { padding: 3rem 0; }
#sp-left, #sp-right { padding: 2rem 0; }
#sp-bottom1, #sp-bottom2, #sp-bottom3 { background: var(--tf-gray-light); padding: 4rem 0; }

/* ========================================
   JOOMLA CONTENT
   ======================================== */
.item-page, .blog-item, .category-list {
  background: var(--tf-white);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  margin-bottom: 2rem;
}
.page-header { margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 2px solid var(--tf-blue-light); }
.page-header h1, .page-header h2 { font-size: 2rem; margin-bottom: 0.5rem; color: var(--tf-dark); }
.page-header h1 { font-size: 2.5rem; }

.article-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--tf-gray);
}
.article-info dd { margin: 0; display: flex; align-items: center; gap: 0.5rem; }

.item-image { margin-bottom: 1.5rem; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.item-image img { width: 100%; height: auto; transition: transform var(--transition); }
.item-image:hover img { transform: scale(1.03); }

/* ========================================
   MODULES
   ======================================== */
.sp-module { margin-bottom: 2.5rem; }
.sp-module-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--tf-dark);
  position: relative;
  padding-bottom: 0.75rem;
}
.sp-module-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--tf-blue), var(--tf-orange));
  border-radius: 2px;
}
.sp-module-content { color: var(--tf-gray); line-height: 1.7; }

.sp-module ul { list-style: none; padding: 0; margin: 0; }
.sp-module ul li { border-bottom: 1px solid var(--tf-border); }
.sp-module ul li:last-child { border-bottom: none; }
.sp-module ul li a { display: block; padding: 0.875rem 0; color: var(--tf-gray); font-weight: 500; transition: all 0.2s ease; }
.sp-module ul li a:hover { color: var(--tf-blue); padding-left: 0.75rem; }

/* ========================================
   BUTTONS
   ======================================== */
.btn, .button, button[type="submit"], input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn::before, .button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.btn:hover::before, .button:hover::before { left: 100%; }

.btn-primary, .button-primary {
  background: linear-gradient(135deg, var(--tf-blue) 0%, var(--tf-blue-dark) 100%);
  color: var(--tf-white);
  box-shadow: 0 4px 15px rgba(0,87,184,0.3);
}
.btn-primary:hover, .button-primary:hover {
  background: linear-gradient(135deg, var(--tf-blue-dark) 0%, #003366 100%);
  color: var(--tf-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,87,184,0.4);
}

.btn-orange, .button-orange {
  background: linear-gradient(135deg, var(--tf-orange) 0%, var(--tf-orange-dark) 100%);
  color: var(--tf-white);
  box-shadow: 0 4px 15px rgba(255,107,0,0.3);
}
.btn-orange:hover, .button-orange:hover {
  background: linear-gradient(135deg, var(--tf-orange-dark) 0%, #cc4e00 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,0,0.4);
}

.btn-outline { background: transparent; border: 2px solid var(--tf-blue); color: var(--tf-blue); }
.btn-outline:hover { background: var(--tf-blue); color: var(--tf-white); }

.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }

/* ========================================
   CARDS (3 BOX SCHUCO)
   ======================================== */
.tf-card {
  background: var(--tf-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transition: all var(--transition);
  height: 100%;
  border: 1px solid var(--tf-border);
}
.tf-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  border-color: var(--tf-blue-light);
}
.tf-card-image { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.tf-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.tf-card:hover .tf-card-image img { transform: scale(1.08); }
.tf-card-content { padding: 1.75rem; }
.tf-card-title { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--tf-dark); }
.tf-card-text { color: var(--tf-gray); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.25rem; }
.tf-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--tf-orange);
  font-weight: 600;
  font-size: 0.95rem;
}
.tf-card-link::after { content: '→'; transition: transform 0.2s ease; }
.tf-card:hover .tf-card-link::after { transform: translateX(4px); }

/* ========================================
   SIDEBAR WIDGET
   ======================================== */
.tf-widget-preventivo {
  background: linear-gradient(135deg, var(--tf-orange) 0%, var(--tf-orange-dark) 100%);
  color: var(--tf-white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(255,107,0,0.3);
}
.tf-widget-preventivo h3 { color: var(--tf-white); font-size: 1.5rem; margin-bottom: 1rem; }
.tf-widget-preventivo p { margin-bottom: 1.5rem; opacity: 0.95; }
.tf-widget-preventivo .btn { background: var(--tf-white); color: var(--tf-orange); font-weight: 700; width: 100%; }
.tf-widget-preventivo .btn:hover { background: var(--tf-dark); color: var(--tf-white); }

/* ========================================
   FOOTER
   ======================================== */
#sp-footer, .sp-footer {
  background: linear-gradient(135deg, var(--tf-dark) 0%, #0d0d0d 100%);
  color: #b0b0b0;
  padding: 5rem 0 2rem;
  margin-top: auto;
}
#sp-footer a { color: #e0e0e0; transition: color 0.2s ease; }
#sp-footer a:hover { color: var(--tf-orange); }
#sp-footer .sp-module { margin-bottom: 2.5rem; }
#sp-footer .sp-module-title {
  color: var(--tf-white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 0.75rem;
}
#sp-footer .sp-module-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--tf-orange);
  border-radius: 2px;
}
#sp-footer ul { list-style: none; padding: 0; margin: 0; }
#sp-footer ul li { margin-bottom: 0.75rem; position: relative; padding-left: 1.25rem; }
#sp-footer ul li::before { content: '›'; position: absolute; left: 0; color: var(--tf-orange); }
#sp-footer ul li a { font-size: 0.95rem; opacity: 0.8; }
#sp-footer ul li a:hover { opacity: 1; padding-left: 5px; }

.sp-copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 4rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}
.sp-copyright a { color: var(--tf-orange); }

/* ========================================
   SCROLL TO TOP
   ======================================== */
.sp-scroll-up {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--tf-blue) 0%, var(--tf-blue-dark) 100%);
  color: var(--tf-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0,87,184,0.4);
  cursor: pointer;
}
.sp-scroll-up.visible { opacity: 1; visibility: visible; }
.sp-scroll-up:hover {
  background: linear-gradient(135deg, var(--tf-orange) 0%, var(--tf-orange-dark) 100%);
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(255,107,0,0.4);
}

/* ========================================
   UTILITIES
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline-block { display: inline-block !important; }
.justify-content-start { justify-content: flex-start; }
.justify-content-end { justify-content: flex-end; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.align-items-start { align-items: flex-start; }
.align-items-end { align-items: flex-end; }
.align-items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.flex-column { flex-direction: column; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }

.m-0 { margin: 0; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1199px) {
  :root { --section-padding: 50px; }
  .sp-section-title h2 { font-size: 2rem; }
}

@media (max-width: 991px) {
  :root { --header-height: var(--header-height-mobile); }
  .sp-megamenu-wrapper { display: none; }
  .sp-mega-group, .offcanvas-toggler { display: flex; }
  .sp-section-title h2 { font-size: 1.75rem; }
  .tf-card { margin-bottom: 2rem; }
}

@media (max-width: 767px) {
  :root { --section-padding: 40px; }
  .sp-section-title h2 { font-size: 1.5rem; }
  .item-page, .blog-item { padding: 1.5rem; }
  .page-header h1 { font-size: 1.875rem; }
  .sp-scroll-up { width: 44px; height: 44px; bottom: 20px; right: 20px; }
}

@media (max-width: 575px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .tf-card-content { padding: 1.25rem; }
  .btn { padding: 0.75rem 1.25rem; font-size: 0.9rem; }
}

/* ========================================
   ACCESSIBILITY & PRINT
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible {
  outline: 3px solid var(--tf-orange);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media print {
  #sp-header, .sp-scroll-up, .offcanvas-menu, .offcanvas-overlay, #sp-top1, #sp-top2, #sp-top3 { display: none !important; }
  #sp-main-body { padding-top: 0; }
  .tf-card { break-inside: avoid; box-shadow: none; border: 1px solid #ddd; }
}

/* ========================================
   WIDGET SPECIFIC
   ======================================== */
#tory-widget-container { /* Container widget TF */ }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fadeInUp { animation: fadeInUp 0.6s ease-out; }

.loading { position: relative; pointer-events: none; }
.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border: 2px solid var(--tf-border);
  border-top-color: var(--tf-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
