/*
 Theme Name:   Flatsome Child
 Theme URI:    https://phongthuybaolinh.com
 Description:  Flatsome child theme - Phong Thuy Bao Linh, Da Nang
 Author:       phongthuybaolinh.com
 Template:     flatsome
 Version:      1.0.0
 Text Domain:  flatsome-child-ptbl
*/

:root {
  --ptbl-primary: #CC0000;
  --ptbl-primary-dark: #990000;
  --ptbl-secondary: #5cb85c;
  --ptbl-gold: #d4a017;
  --ptbl-dark: #2C2C2C;
  --ptbl-text: #333;
  --ptbl-light: #f8f8f8;
  --ptbl-radius: 8px;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap&subset=vietnamese');

body {
  font-family: 'Roboto', sans-serif;
  color: var(--ptbl-text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: var(--ptbl-dark);
}

/* ===== HEADER ===== */
.header-main { background: var(--ptbl-primary); }
.logo img { max-height: 55px; }

.header-top {
  background: linear-gradient(150deg, var(--ptbl-primary), var(--ptbl-primary-dark));
  color: #fff;
  font-size: 13px;
}
.header-top a { color: #fff !important; }

.nav > li > a {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 14px;
}
.nav > li > a:hover,
.nav > li.active > a { color: var(--ptbl-gold) !important; }

/* ===== PRODUCT CARDS ===== */
.product-card {
  border-radius: var(--ptbl-radius);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* Price styling */
.price {
  color: var(--ptbl-primary) !important;
  font-weight: 700 !important;
  font-size: 18px !important;
}

/* ===== SECTION TITLES ===== */
.ptbl-section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--ptbl-primary);
  text-align: center;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 35px;
}
.ptbl-section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background: var(--ptbl-gold);
}

/* ===== BUTTONS ===== */
.ptbl-btn {
  display: inline-block;
  padding: 8px 20px;
  background: var(--ptbl-secondary);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 13px;
  transition: all 0.3s ease;
  border: none;
}
.ptbl-btn:hover { background: #449d44; color: #fff; transform: translateY(-1px); }

/* ===== FOOTER ===== */
.footer-1, .footer-2 {
  background: var(--ptbl-dark) !important;
  padding: 30px 0 !important;
}
.footer-1 .footer-title { color: #fff !important; font-weight: 700; }

/* Footer Grid — 3 cột đều */
.ptbl-footer-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 30px !important;
  max-width: 1200px;
  margin: 0 auto;
}
.ptbl-footer-col {
  min-width: 0;
}
.ptbl-footer-heading {
  color: #CC0000 !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  margin-bottom: 15px !important;
  text-transform: uppercase;
}
.ptbl-footer-subheading {
  color: #CC0000 !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  margin-top: 15px !important;
}
.ptbl-footer-col p {
  color: rgba(255,255,255,0.85) !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  margin-bottom: 5px !important;
}
.ptbl-icon {
  color: #CC0000 !important;
  width: 20px !important;
  display: inline-block;
  text-align: center;
  margin-right: 5px;
}
.ptbl-phone {
  color: #fff !important;
  font-size: 18px !important;
  font-weight: bold !important;
}
.ptbl-btn-fb {
  color: #fff !important;
  background: #CC0000 !important;
  padding: 6px 14px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  font-size: 13px !important;
  display: inline-block;
}
.ptbl-btn-fb:hover { opacity: 0.9; }
.ptbl-footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 13px !important;
}
.ptbl-footer-links li { padding: 3px 0; }
.ptbl-footer-links a { color: rgba(255,255,255,0.7) !important; }
.ptbl-footer-links a:hover { color: #CC0000 !important; }

/* Copyright bar */
.absolute-footer {
  background: rgba(0,0,0,0.3) !important;
  color: rgba(255,255,255,0.5) !important;
}
.absolute-footer p, .absolute-footer span {
  color: rgba(255,255,255,0.5) !important;
}

/* Footer links general */
.footer-1 a, .footer-2 a { color: rgba(255,255,255,0.8) !important; }
.footer-1 a:hover, .footer-2 a:hover { color: #CC0000 !important; }

@media (max-width: 768px) {
  .ptbl-footer-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===== FLOATING CTA ===== */
.ptbl-float-cta {
  position: fixed; bottom: 20px; right: 20px;
  z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
}
.ptbl-float-cta a {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 22px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  text-decoration: none;
}
.ptbl-float-cta a:hover { transform: scale(1.1); }
.ptbl-float-cta .cta-phone { background: linear-gradient(135deg, #e8434c, #d61114); }
.ptbl-float-cta .cta-fb { background: linear-gradient(135deg, #4267B2, #2c5aa0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .price { font-size: 15px !important; }
  h2 { font-size: 22px !important; }
  .ptbl-section-title { font-size: 20px; }
  .ptbl-float-cta a { width: 45px; height: 45px; font-size: 20px; }
}
