/*
 Theme Name: Flatsome Child - Thép Sáng Chinh
 Template: flatsome
 Version: 1.0.0
 Description: Child theme cho website Thép Sáng Chinh - Nhà cung cấp thép ống, thép hộp uy tín TPHCM
 Author: Thép Sáng Chinh
 Author URI: https://thepsangchinh.com
 Text Domain: flatsome-child-thepsangchinh
*/

/* ============================================
   IMPORTS & FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --sc-blue: #1a3a5c;
  --sc-blue-dark: #0d2240;
  --sc-orange: #e67e22;
  --sc-orange-dark: #d35400;
  --sc-gray: #4a4a4a;
  --sc-light: #f0f2f5;
  --sc-steel: #2c3e50;
  --sc-white: #ffffff;
  --sc-border: #e1e5e9;
  --sc-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  --sc-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
  --sc-shadow-card: 0 2px 10px rgba(0, 0, 0, 0.06);
  --sc-radius: 8px;
  --sc-radius-lg: 12px;
  --sc-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --sc-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sc-font-heading: 'Montserrat', 'Inter', sans-serif;
}

/* ============================================
   GLOBAL RESET & BASE
   ============================================ */
body {
  font-family: var(--sc-font-body) !important;
  font-size: 15px;
  line-height: 1.7;
  color: var(--sc-gray);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.product-title,
.widget-title {
  font-family: var(--sc-font-heading) !important;
  font-weight: 700;
  color: var(--sc-blue);
  letter-spacing: -0.02em;
}

a {
  color: var(--sc-blue);
  transition: var(--sc-transition);
}

a:hover {
  color: var(--sc-orange);
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   TOPBAR - Dark Navy
   ============================================ */
#top-bar {
  background-color: var(--sc-blue-dark) !important;
  border-bottom: none !important;
  padding: 0 !important;
  min-height: 38px;
}

#top-bar .flex-col {
  padding: 6px 0;
}

#top-bar,
#top-bar a,
#top-bar .nav > li > a,
#top-bar .header-social-icons a {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 13px !important;
  font-weight: 400;
}

#top-bar a:hover,
#top-bar .nav > li > a:hover {
  color: var(--sc-orange) !important;
}

#top-bar .nav > li > a i {
  margin-right: 5px;
  font-size: 14px;
}

/* ============================================
   HEADER - Clean White
   ============================================ */
.header-wrapper {
  background: var(--sc-white) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-main {
  background: var(--sc-white) !important;
  padding: 8px 0 !important;
  border-bottom: 2px solid var(--sc-light);
}

/* Logo */
.header-main .logo img {
  max-height: 60px !important;
  transition: var(--sc-transition);
}

.header-main .logo a {
  display: flex;
  align-items: center;
}

/* Sticky Header */
.stuck .header-main {
  padding: 4px 0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stuck .header-main .logo img {
  max-height: 48px !important;
}

/* ============================================
   NAVIGATION - Uppercase Bold
   ============================================ */
.header-nav .nav > li > a {
  font-family: var(--sc-font-heading) !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: var(--sc-blue) !important;
  padding: 10px 16px !important;
  position: relative;
  transition: var(--sc-transition);
}

.header-nav .nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--sc-orange);
  transition: var(--sc-transition);
  border-radius: 3px 3px 0 0;
}

.header-nav .nav > li > a:hover,
.header-nav .nav > li.active > a,
.header-nav .nav > li.current-menu-item > a,
.header-nav .nav > li.current-menu-parent > a {
  color: var(--sc-orange) !important;
}

.header-nav .nav > li > a:hover::after,
.header-nav .nav > li.active > a::after,
.header-nav .nav > li.current-menu-item > a::after,
.header-nav .nav > li.current-menu-parent > a::after {
  width: 100%;
}

/* Dropdown */
.header-nav .nav-dropdown {
  background: var(--sc-white);
  border: none !important;
  box-shadow: var(--sc-shadow-hover);
  border-radius: 0 0 var(--sc-radius) var(--sc-radius);
  border-top: 3px solid var(--sc-orange);
  padding: 10px 0;
}

.header-nav .nav-dropdown li a {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: var(--sc-gray) !important;
  padding: 8px 20px !important;
  transition: var(--sc-transition);
}

.header-nav .nav-dropdown li a:hover {
  color: var(--sc-orange) !important;
  background: rgba(230, 126, 34, 0.05);
  padding-left: 25px !important;
}

/* ============================================
   BUTTONS - Orange Gradient
   ============================================ */
.button,
button,
input[type="submit"],
.btn,
.ux-builder-button a,
.add_to_cart_button,
.single_add_to_cart_button {
  font-family: var(--sc-font-heading) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--sc-radius) !important;
  transition: var(--sc-transition) !important;
}

.button.primary,
.button.alt,
.button.checkout,
.ux-builder-button a,
.btn-primary,
a.button.primary {
  background: linear-gradient(135deg, var(--sc-orange) 0%, var(--sc-orange-dark) 100%) !important;
  border: none !important;
  color: var(--sc-white) !important;
  padding: 14px 32px !important;
  font-size: 14px !important;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.button.primary:hover,
.button.alt:hover,
.button.checkout:hover,
.ux-builder-button a:hover,
.btn-primary:hover,
a.button.primary:hover {
  background: linear-gradient(135deg, var(--sc-orange-dark) 0%, #c0392b 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.button.secondary,
.btn-secondary {
  background: var(--sc-blue) !important;
  border: none !important;
  color: var(--sc-white) !important;
}

.button.secondary:hover,
.btn-secondary:hover {
  background: var(--sc-blue-dark) !important;
  transform: translateY(-2px);
}

/* White outline button */
.button.white,
.btn-outline {
  background: transparent !important;
  border: 2px solid var(--sc-white) !important;
  color: var(--sc-white) !important;
}

.button.white:hover,
.btn-outline:hover {
  background: var(--sc-white) !important;
  color: var(--sc-blue) !important;
}

/* ============================================
   SECTION TITLES - Blue Underline
   ============================================ */
.section-title {
  font-family: var(--sc-font-heading) !important;
  font-weight: 800 !important;
  color: var(--sc-blue) !important;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 35px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--sc-orange), var(--sc-blue));
  border-radius: 2px;
}

.section-title.text-left::after {
  left: 0;
  transform: none;
}

/* Section subtitle */
.section-title small,
.section-title .sub-title {
  display: block;
  font-size: 14px;
  color: var(--sc-gray);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 10px;
}

/* ============================================
   HERO BANNER
   ============================================ */
.sc-hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 550px;
  display: flex;
  align-items: center;
}

.sc-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 34, 64, 0.9) 0%, rgba(26, 58, 92, 0.8) 50%, rgba(44, 62, 80, 0.75) 100%);
}

.sc-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--sc-white);
}

.sc-hero-content h1 {
  font-size: 48px;
  font-weight: 900;
  color: var(--sc-white) !important;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.sc-hero-content .hero-subtitle {
  font-size: 20px;
  font-weight: 300;
  opacity: 0.95;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.sc-hero-content .hero-phone {
  font-size: 28px;
  font-weight: 700;
  color: var(--sc-orange);
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sc-hero-content .hero-phone i {
  animation: sc-pulse 2s infinite;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.sc-about-section {
  padding: 80px 0;
  background: var(--sc-white);
}

.sc-about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.sc-stat-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--sc-light);
  border-radius: var(--sc-radius-lg);
  transition: var(--sc-transition);
}

.sc-stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--sc-shadow);
}

.sc-stat-number {
  font-family: var(--sc-font-heading);
  font-size: 42px;
  font-weight: 800;
  color: var(--sc-orange);
  line-height: 1;
  margin-bottom: 8px;
}

.sc-stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--sc-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   PRODUCT CARDS - Shadow Hover
   ============================================ */
.sc-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding: 20px 0;
}

.sc-product-card,
.product-small.col,
.product-small .box,
.products .product {
  background: var(--sc-white);
  border-radius: var(--sc-radius-lg) !important;
  overflow: hidden;
  box-shadow: var(--sc-shadow-card);
  transition: var(--sc-transition) !important;
  border: 1px solid var(--sc-border);
}

.sc-product-card:hover,
.product-small.col:hover,
.product-small .box:hover,
.products .product:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--sc-shadow-hover) !important;
  border-color: var(--sc-orange);
}

/* Product Image */
.sc-product-card .product-image,
.product-small .product-image,
.products .product .box-image {
  position: relative;
  overflow: hidden;
}

.sc-product-card .product-image img,
.product-small .product-image img,
.products .product .box-image img {
  transition: transform 0.5s ease !important;
}

.sc-product-card:hover .product-image img,
.product-small:hover .product-image img,
.products .product:hover .box-image img {
  transform: scale(1.08) !important;
}

/* Product overlay on hover */
.sc-product-card .product-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(26, 58, 92, 0.6) 0%, transparent 50%);
  opacity: 0;
  transition: var(--sc-transition);
}

.sc-product-card:hover .product-image::after {
  opacity: 1;
}

/* Product Info */
.sc-product-card .product-info,
.product-small .box-text {
  padding: 20px !important;
}

.sc-product-card .product-title,
.product-small .product-title,
.woocommerce-loop-product__title {
  font-family: var(--sc-font-heading) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--sc-blue) !important;
  line-height: 1.4;
  margin-bottom: 8px;
  transition: var(--sc-transition);
}

.sc-product-card:hover .product-title,
.product-small:hover .product-title {
  color: var(--sc-orange) !important;
}

.sc-product-card .product-desc {
  font-size: 13px;
  color: var(--sc-gray);
  opacity: 0.8;
  line-height: 1.5;
}

/* Category badge */
.sc-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--sc-orange);
  color: var(--sc-white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

/* Product price override (catalog mode) */
.price,
.woocommerce-Price-amount {
  font-family: var(--sc-font-heading) !important;
  font-weight: 700 !important;
  color: var(--sc-orange) !important;
  font-size: 16px !important;
}

/* ============================================
   PRODUCT CATEGORY CARDS (Homepage)
   ============================================ */
.sc-category-card {
  position: relative;
  border-radius: var(--sc-radius-lg);
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  transition: var(--sc-transition);
}

.sc-category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.sc-category-card:hover img {
  transform: scale(1.1);
}

.sc-category-card .category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px 20px;
  background: linear-gradient(to top, rgba(13, 34, 64, 0.9), transparent);
  color: var(--sc-white);
  transition: var(--sc-transition);
}

.sc-category-card:hover .category-overlay {
  padding-bottom: 30px;
}

.sc-category-card .category-name {
  font-family: var(--sc-font-heading);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.sc-cta-section {
  background: linear-gradient(135deg, var(--sc-blue) 0%, var(--sc-blue-dark) 100%);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sc-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(230, 126, 34, 0.1) 0%, transparent 60%);
  animation: sc-float 10s ease-in-out infinite;
}

.sc-cta-section h2 {
  color: var(--sc-white) !important;
  font-size: 32px;
  margin-bottom: 20px;
  position: relative;
}

.sc-cta-phone-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
  position: relative;
}

.sc-cta-phone-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--sc-radius);
  padding: 12px 24px;
  color: var(--sc-white);
  font-weight: 600;
  font-size: 16px;
  transition: var(--sc-transition);
  backdrop-filter: blur(10px);
}

.sc-cta-phone-item:hover {
  background: var(--sc-orange);
  border-color: var(--sc-orange);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

.sc-cta-phone-item i {
  margin-right: 8px;
  color: var(--sc-orange);
}

.sc-cta-phone-item:hover i {
  color: var(--sc-white);
}

/* ============================================
   NEWS / BLOG SECTION
   ============================================ */
.sc-news-card {
  background: var(--sc-white);
  border-radius: var(--sc-radius-lg);
  overflow: hidden;
  box-shadow: var(--sc-shadow-card);
  transition: var(--sc-transition);
  border: 1px solid var(--sc-border);
}

.sc-news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sc-shadow-hover);
}

.sc-news-card .news-image {
  height: 200px;
  overflow: hidden;
}

.sc-news-card .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sc-news-card:hover .news-image img {
  transform: scale(1.05);
}

.sc-news-card .news-content {
  padding: 20px;
}

.sc-news-card .news-title {
  font-family: var(--sc-font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--sc-blue);
  line-height: 1.4;
  margin-bottom: 10px;
  transition: var(--sc-transition);
}

.sc-news-card:hover .news-title {
  color: var(--sc-orange);
}

.sc-news-card .news-date {
  font-size: 12px;
  color: #999;
  font-weight: 500;
}

.sc-news-card .news-excerpt {
  font-size: 13px;
  color: var(--sc-gray);
  line-height: 1.6;
  margin-top: 8px;
}

/* ============================================
   CONTACT / MAP SECTION
   ============================================ */
.sc-contact-section {
  padding: 80px 0;
  background: var(--sc-light);
}

.sc-contact-info-card {
  background: var(--sc-white);
  border-radius: var(--sc-radius-lg);
  padding: 30px;
  box-shadow: var(--sc-shadow);
  height: 100%;
}

.sc-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--sc-border);
}

.sc-contact-item:last-child {
  border-bottom: none;
}

.sc-contact-item i {
  font-size: 20px;
  color: var(--sc-orange);
  min-width: 30px;
  margin-top: 2px;
}

.sc-contact-item .contact-label {
  font-weight: 700;
  color: var(--sc-blue);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.sc-contact-item .contact-value {
  font-size: 14px;
  color: var(--sc-gray);
}

.sc-contact-item .contact-value a {
  color: var(--sc-blue);
  font-weight: 600;
}

.sc-contact-item .contact-value a:hover {
  color: var(--sc-orange);
}

/* Google Maps */
.sc-map-container {
  border-radius: var(--sc-radius-lg);
  overflow: hidden;
  box-shadow: var(--sc-shadow);
}

.sc-map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ============================================
   FOOTER - Very Dark Blue
   ============================================ */
.footer-wrapper,
#footer {
  background-color: var(--sc-blue-dark) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  border-top: 3px solid var(--sc-orange);
}

.footer-wrapper .widget-title,
#footer .widget-title {
  color: var(--sc-white) !important;
  font-family: var(--sc-font-heading) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px !important;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--sc-orange);
  position: relative;
}

.footer-wrapper a,
#footer a {
  color: rgba(255, 255, 255, 0.75) !important;
  transition: var(--sc-transition);
}

.footer-wrapper a:hover,
#footer a:hover {
  color: var(--sc-orange) !important;
  padding-left: 5px;
}

.footer-wrapper .widget ul li,
#footer .widget ul li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.footer-wrapper .widget ul li::before {
  content: '›';
  color: var(--sc-orange);
  margin-right: 8px;
  font-weight: 700;
}

/* Footer bottom bar */
.absolute-footer,
.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2) !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 13px;
  padding: 15px 0;
}

/* ============================================
   FLOATING CTA - Phone + Zalo Pulse
   ============================================ */
.sc-floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sc-float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sc-white);
  font-size: 24px;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: var(--sc-transition);
  position: relative;
  cursor: pointer;
}

.sc-float-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
}

/* Phone button */
.sc-float-btn.phone-btn {
  background: linear-gradient(135deg, var(--sc-orange), var(--sc-orange-dark));
  animation: sc-pulse 2s infinite;
}

/* Zalo button */
.sc-float-btn.zalo-btn {
  background: linear-gradient(135deg, #0068ff, #0052cc);
  animation: sc-pulse 2s infinite 0.5s;
}

/* Messenger button */
.sc-float-btn.messenger-btn {
  background: linear-gradient(135deg, #00b2ff, #006aff);
  animation: sc-pulse 2s infinite 1s;
}

/* Pulse ring */
.sc-float-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: sc-pulse-ring 2s infinite;
}

.sc-float-btn.phone-btn::before {
  box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.5);
  animation: sc-pulse-ring-orange 2s infinite;
}

.sc-float-btn.zalo-btn::before {
  box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.5);
  animation: sc-pulse-ring-blue 2s infinite 0.5s;
}

/* Phone tooltip */
.sc-float-btn .tooltip-text {
  position: absolute;
  right: 70px;
  background: var(--sc-blue-dark);
  color: var(--sc-white);
  padding: 8px 16px;
  border-radius: var(--sc-radius);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--sc-transition);
  box-shadow: var(--sc-shadow);
}

.sc-float-btn .tooltip-text::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 8px solid var(--sc-blue-dark);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.sc-float-btn:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
  right: 68px;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs,
.woocommerce-breadcrumb {
  background: var(--sc-light) !important;
  padding: 12px 0 !important;
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--sc-blue) !important;
  font-weight: 500;
}

.breadcrumbs a:hover {
  color: var(--sc-orange) !important;
}

/* ============================================
   WOOCOMMERCE OVERRIDES
   ============================================ */
/* Single product */
.single-product .product_title {
  font-size: 28px !important;
  color: var(--sc-blue) !important;
}

.single-product .woocommerce-tabs .tabs li.active a {
  color: var(--sc-orange) !important;
  border-color: var(--sc-orange) !important;
}

/* Product grid */
.products .product .button,
.add_to_cart_button {
  background: var(--sc-blue) !important;
  color: var(--sc-white) !important;
  border-radius: var(--sc-radius) !important;
  font-size: 12px !important;
  padding: 10px 20px !important;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.products .product .button:hover,
.add_to_cart_button:hover {
  background: var(--sc-orange) !important;
}

/* ============================================
   SIDEBAR WIDGETS
   ============================================ */
.widget {
  margin-bottom: 25px;
  padding: 25px;
  background: var(--sc-white);
  border-radius: var(--sc-radius-lg);
  box-shadow: var(--sc-shadow-card);
  border: 1px solid var(--sc-border);
}

.widget .widget-title {
  font-size: 16px !important;
  font-weight: 700;
  color: var(--sc-blue) !important;
  padding-bottom: 10px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--sc-orange);
}

/* ============================================
   CONTACT FORM 7
   ============================================ */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  border: 2px solid var(--sc-border) !important;
  border-radius: var(--sc-radius) !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  transition: var(--sc-transition);
  font-family: var(--sc-font-body) !important;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: var(--sc-orange) !important;
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1) !important;
  outline: none !important;
}

.wpcf7 input[type="submit"] {
  background: linear-gradient(135deg, var(--sc-orange), var(--sc-orange-dark)) !important;
  color: var(--sc-white) !important;
  border: none !important;
  padding: 14px 40px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

.wpcf7 input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

/* ============================================
   HIDE FLATSOME DEFAULTS
   ============================================ */
.flatsome-default-banner,
.page-title .is-border-medium,
.page-header-default,
.flatsome-default-widget,
.header-top .flex-col:empty,
#top-bar .flex-col:empty {
  display: none !important;
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes sc-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes sc-pulse-ring-orange {
  0% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(230, 126, 34, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0); }
}

@keyframes sc-pulse-ring-blue {
  0% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(0, 104, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0); }
}

@keyframes sc-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(3%, 3%) rotate(2deg); }
  50% { transform: translate(-2%, 5%) rotate(-1deg); }
  75% { transform: translate(4%, -2%) rotate(1deg); }
}

@keyframes sc-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section fade-in */
.sc-animated {
  animation: sc-fadeInUp 0.6s ease forwards;
}

/* ============================================
   RESPONSIVE - Tablet
   ============================================ */
@media (max-width: 991px) {
  .sc-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .sc-about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .sc-hero-content h1 {
    font-size: 32px;
    letter-spacing: 2px;
  }

  .sc-hero-content .hero-subtitle {
    font-size: 16px;
  }

  .sc-hero-content .hero-phone {
    font-size: 22px;
  }

  .section-title {
    font-size: 24px;
  }

  .sc-cta-phone-list {
    gap: 10px;
  }

  .sc-cta-phone-item {
    padding: 10px 18px;
    font-size: 14px;
  }
}

/* ============================================
   RESPONSIVE - Mobile
   ============================================ */
@media (max-width: 767px) {
  .sc-product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sc-about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .sc-stat-number {
    font-size: 32px;
  }

  .sc-hero-section {
    min-height: 400px;
  }

  .sc-hero-content h1 {
    font-size: 24px;
    letter-spacing: 1px;
  }

  .sc-hero-content .hero-subtitle {
    font-size: 14px;
  }

  .sc-hero-content .hero-phone {
    font-size: 20px;
  }

  .section-title {
    font-size: 20px;
    padding-bottom: 14px;
  }

  .section-title::after {
    width: 60px;
    height: 3px;
  }

  .header-nav .nav > li > a {
    font-size: 14px !important;
    padding: 8px 12px !important;
  }

  .sc-floating-cta {
    bottom: 15px;
    right: 15px;
    gap: 10px;
  }

  .sc-float-btn {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .sc-float-btn .tooltip-text {
    display: none;
  }

  .sc-cta-section {
    padding: 40px 15px;
  }

  .sc-cta-section h2 {
    font-size: 22px;
  }

  .sc-cta-phone-list {
    flex-direction: column;
    align-items: center;
  }

  .sc-cta-phone-item {
    width: 100%;
    text-align: center;
  }

  /* Footer responsive */
  .footer-wrapper .row,
  #footer .row {
    flex-direction: column;
  }

  .footer-wrapper .col,
  #footer .col {
    width: 100% !important;
    margin-bottom: 25px;
  }

  /* Mobile menu */
  .off-canvas-left .off-canvas-toggle {
    font-size: 24px;
  }

  .mfp-content {
    max-width: 95% !important;
  }

  /* Product cards mobile */
  .sc-category-card {
    height: 200px;
  }

  .sc-news-card .news-image {
    height: 160px;
  }

  /* Contact section */
  .sc-map-container iframe {
    height: 280px;
  }
}

/* ============================================
   RESPONSIVE - Small Mobile
   ============================================ */
@media (max-width: 480px) {
  .sc-about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .sc-stat-item {
    padding: 20px 12px;
  }

  .sc-stat-number {
    font-size: 28px;
  }

  .sc-stat-label {
    font-size: 12px;
  }

  .sc-hero-content h1 {
    font-size: 20px;
  }

  .button.primary,
  .ux-builder-button a {
    padding: 12px 24px !important;
    font-size: 13px !important;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .sc-floating-cta,
  #top-bar,
  .header-nav,
  .footer-wrapper,
  .sc-cta-section {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
