/*
Theme Name: TechSecure Theme
Theme URI: https://example.com/techsecure
Author: Your Name
Author URI: https://example.com
Description: Theme WordPress cho giải pháp chấm công & an ninh, tối ưu cho WooCommerce, dựa trên layout TechSecure.
Version: 1.0.0
Text Domain: techsecure
*/

/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f5f7fb;
  color: #111827;
}

/* Material Symbols Icons */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.material-symbols-outlined.filled {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #1d4ed8;
  color: #fff;
}

.btn-primary:hover {
  background: #1e40af;
}

.btn-outline {
  background: #e5edff;
  color: #1d4ed8;
}

.btn-outline:hover {
  background: #d3e1ff;
}

.header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #1f2937;
}

.search-form {
  flex: 1;
  max-width: 460px;
  display: flex;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 6px 12px;
}

.search-form input[type="search"] {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
}

.header-actions {
  display: flex;
  gap: 8px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 0 14px;
  font-size: 14px;
}

.main-nav ul {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #4b5563;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
  color: #1d4ed8;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  padding: 40px 0 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e5edff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.hero-title span.accent {
  color: #1d4ed8;
}

.hero-desc {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-meta {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: #6b7280;
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.info-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 14px 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  font-size: 12px;
}

.info-card-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.section-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
}

.section-subtitle {
  font-size: 13px;
  color: #6b7280;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 170px;
  color: #ffffff;
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.7), transparent);
}

.category-card-content {
  position: absolute;
  left: 18px;
  bottom: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 12px 16px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  font-size: 13px;
}

.product-card .product-title {
  font-weight: 600;
  margin: 8px 0 4px;
  font-size: 13px;
}

.product-card .price {
  font-weight: 700;
  color: #1d4ed8;
  margin-top: 6px;
}

.banner {
  margin: 40px 0;
  border-radius: 24px;
  background: radial-gradient(circle at top left, #3b82f6, #1d4ed8);
  color: #ffffff;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.banner-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.partners {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 24px 0 40px;
  font-weight: 600;
  font-size: 14px;
  color: #6b7280;
}

.site-footer {
  background: #020617;
  color: #9ca3af;
  padding: 40px 0 24px;
  font-size: 13px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, minmax(0, 1fr)) 1.2fr;
  gap: 32px;
  margin-bottom: 24px;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* WooCommerce tweaks (basic) */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #ffffff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

/* Shop / category page */
.shop-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 40px;
}

.shop-sidebar-inner {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 14px 18px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  font-size: 13px;
}

.shop-sidebar-heading {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
}

.shop-filter-widget + .shop-filter-widget {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.shop-filter-title {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 8px;
}

.shop-main {
  min-width: 0;
}

.shop-header {
  background: #f9fafb;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 1px solid #e5e7eb;
}

.shop-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.shop-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.shop-view-toggle {
  display: inline-flex;
  background: #e5e7eb;
  border-radius: 999px;
  padding: 2px;
}

.shop-view-toggle button {
  border: none;
  background: transparent;
  width: 28px;
  height: 24px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
}

.shop-view-toggle button.is-active {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
}

.shop-header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #6b7280;
}

.shop-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.shop-breadcrumb {
  font-size: 12px;
}

.woocommerce .woocommerce-ordering select {
  border-radius: 999px;
  border: 1px solid #d1d5db;
  font-size: 12px;
  padding: 4px 10px;
}

.woocommerce .woocommerce-result-count {
  font-size: 12px;
  color: #6b7280;
}

.woocommerce nav.woocommerce-pagination ul {
  border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: none;
  margin: 0 2px;
}

.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce nav.woocommerce-pagination ul li a {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 4px 10px;
  font-size: 13px;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
  border-color: #d1d5db;
}

.woocommerce nav.woocommerce-pagination ul li .current {
  background: #1d4ed8;
  color: #ffffff;
}

/* Widgets in sidebar look */
.shop-sidebar input[type="checkbox"],
.shop-sidebar input[type="radio"] {
  accent-color: #1d4ed8;
}

.shop-sidebar .woocommerce-widget-layered-nav-list,
.shop-sidebar .product-categories {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-sidebar .woocommerce-widget-layered-nav-list__item,
.shop-sidebar .product-categories li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 13px;
}

.shop-sidebar .woocommerce-widget-layered-nav-list__item a,
.shop-sidebar .product-categories a {
  color: #111827;
}

.shop-sidebar .woocommerce-widget-layered-nav-list__item a:hover,
.shop-sidebar .product-categories a:hover {
  color: #1d4ed8;
}

/* ============================================
   Trang Chi Tiết Sản Phẩm (Single Product)
   ============================================ */
.single-product-wrapper {
  background: #f6f6f8;
  min-height: 100vh;
  padding: 24px 0 40px;
}

.single-product-container {
  max-width: 1280px;
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 24px;
  font-size: 14px;
}

.woocommerce-breadcrumb a {
  color: #616f89;
  text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
  text-decoration: underline;
}

.woocommerce-breadcrumb .breadcrumb-separator {
  color: #616f89;
}

/* Product Overview Card */
.product-overview-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  padding: 24px;
  margin-bottom: 32px;
}

.product-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

@media (min-width: 1024px) {
  .product-overview-grid {
    grid-template-columns: 5fr 7fr;
  }
}

/* Gallery Column */
.product-gallery-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-main-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #135bec;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 1;
}

.product-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.product-thumbnail {
  aspect-ratio: 1;
  border-radius: 6px;
  border: 2px solid transparent;
  overflow: hidden;
  padding: 4px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s;
}

.product-thumbnail:hover,
.product-thumbnail.active {
  border-color: #135bec;
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.product-thumbnail-video {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.product-thumbnail-video .material-symbols-outlined {
  font-size: 32px;
  color: #9ca3af;
}

/* Product Info Column */
.product-info-column {
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 28px;
  font-weight: 700;
  color: #111318;
  margin: 0 0 16px;
  line-height: 1.2;
}

.product-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 14px;
  flex-wrap: wrap;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-rating .star-rating {
  color: #fbbf24;
}

.rating-count {
  color: #616f89;
  font-size: 12px;
}

.product-meta-divider {
  width: 1px;
  height: 16px;
  background: #d1d5db;
}

.product-sku {
  color: #616f89;
}

.product-sku strong {
  color: #111318;
}

.product-stock {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.product-stock-in {
  color: #059669;
}

.product-stock-out {
  color: #ef4444;
}

/* Price Box */
.product-price-box {
  background: #f9fafb;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.product-price-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 4px;
}

.product-price-current {
  font-size: 32px;
  font-weight: 700;
  color: #135bec;
}

.product-price-old {
  font-size: 18px;
  color: #616f89;
  text-decoration: line-through;
}

.product-discount {
  font-size: 14px;
  font-weight: 700;
  color: #ef4444;
  background: #fee2e2;
  padding: 2px 8px;
  border-radius: 4px;
}

.product-price-note {
  margin: 0;
  font-size: 14px;
  color: #616f89;
}

/* Features */
.product-features {
  margin-bottom: 32px;
}

.product-features-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #111318;
  margin: 0 0 12px;
}

.product-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #616f89;
}

.product-feature-icon {
  color: #135bec;
  font-size: 20px;
  flex-shrink: 0;
}

/* Actions */
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

@media (min-width: 640px) {
  .product-actions {
    flex-direction: row;
  }
}

.product-quantity-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  height: 48px;
  width: fit-content;
}

.product-quantity-wrapper .quantity {
  display: flex;
  align-items: center;
}

.product-quantity-wrapper input[type="number"] {
  width: 48px;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 500;
  color: #111318;
  padding: 0;
}

.product-quantity-wrapper button {
  padding: 0 12px;
  height: 100%;
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-quantity-wrapper button:hover {
  color: #135bec;
}

.product-btn-add-cart,
.product-btn-buy-now {
  flex: 1;
  height: 48px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.product-btn-add-cart {
  background: #135bec;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(19, 91, 236, 0.3);
}

.product-btn-add-cart:hover {
  background: #0d4bc4;
}

.product-btn-buy-now {
  border: 2px solid #135bec;
  color: #135bec;
  background: transparent;
}

.product-btn-buy-now:hover {
  background: #eff6ff;
}

/* Guarantees */
.product-guarantees {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

@media (min-width: 640px) {
  .product-guarantees {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.product-guarantee-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-guarantee-icon {
  width: 40px;
  height: 40px;
  background: #dbeafe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #135bec;
  flex-shrink: 0;
}

.product-guarantee-title {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 700;
  color: #111318;
}

.product-guarantee-desc {
  margin: 0;
  font-size: 12px;
  color: #616f89;
}

/* Details Section */
.product-details-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

@media (min-width: 1024px) {
  .product-details-section {
    grid-template-columns: 8fr 4fr;
  }
}

.product-details-main {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

/* Tabs */
.product-tabs-nav {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 24px;
}

.product-tab {
  padding: 16px 4px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.product-tab:hover {
  color: #374151;
  border-bottom-color: #d1d5db;
}

.product-tab.active {
  color: #135bec;
  font-weight: 700;
  border-bottom-color: #135bec;
}

.product-tab-content {
  display: none;
}

.product-tab-content.active {
  display: block;
}

.product-tab-heading {
  font-size: 20px;
  font-weight: 700;
  color: #111318;
  margin: 0 0 16px;
}

.product-tab-content p {
  font-size: 16px;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 16px;
}

.product-tab-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px 0;
}

.product-tab-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 24px;
}

.product-tab-content li {
  margin-bottom: 8px;
  color: #374151;
}

/* Spec Table */
.product-spec-table {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.product-spec-table tr {
  border-bottom: 1px solid #e5e7eb;
}

.product-spec-table tr:last-child {
  border-bottom: none;
}

.product-spec-table tr:nth-child(even) {
  background: #f9fafb;
}

.spec-label {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  width: 33.333%;
}

.spec-value {
  padding: 12px 24px;
  font-size: 14px;
  color: #111318;
}

/* Sidebar */
.product-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-sidebar-related,
.product-sidebar-support {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.product-sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: #111318;
  margin: 0 0 16px;
}

.product-related-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-related-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  transition: all 0.2s;
}

.product-related-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-color: #135bec;
}

.product-related-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.product-related-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.product-related-title {
  font-size: 14px;
  font-weight: 500;
  color: #111318;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-related-item:hover .product-related-title {
  color: #135bec;
}

.product-related-price {
  font-size: 14px;
  font-weight: 700;
  color: #135bec;
  margin: 4px 0 0;
}

/* Support Box */
.product-sidebar-support {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  text-align: center;
}

.product-support-icon {
  width: 48px;
  height: 48px;
  background: #135bec;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.product-support-icon .material-symbols-outlined {
  font-size: 24px;
}

.product-support-title {
  font-size: 16px;
  font-weight: 700;
  color: #111318;
  margin: 0 0 8px;
}

.product-support-desc {
  font-size: 14px;
  color: #374151;
  margin: 0 0 16px;
  line-height: 1.5;
}

.product-support-btn {
  width: 100%;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #111318;
  font-weight: 600;
  text-decoration: none;
  display: block;
  transition: all 0.2s;
}

.product-support-btn:hover {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 1024px) {
  .product-overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-details-section {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-sidebar {
    order: -1;
  }
}

@media (max-width: 640px) {
  .product-title {
    font-size: 24px;
  }
  .product-price-current {
    font-size: 24px;
  }
  .product-actions {
    flex-direction: column;
  }
  .product-btn-add-cart,
  .product-btn-buy-now {
    width: 100%;
  }
}

/* Blog single post */
.single-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr);
  gap: 28px;
  margin-top: 28px;
  margin-bottom: 40px;
}

.post-main {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px 22px 28px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.post-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 16px;
}

.post-breadcrumb a {
  color: #6b7280;
}

.post-breadcrumb a:hover {
  color: #1d4ed8;
}

.post-header {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.post-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 10px;
  color: #111827;
}

.post-excerpt {
  font-size: 15px;
  color: #6b7280;
  margin: 0 0 14px;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #6b7280;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-author-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

.post-author-name {
  font-weight: 600;
  color: #111827;
}

.post-author-info {
  display: flex;
  gap: 6px;
  align-items: center;
}

.post-share {
  display: flex;
  gap: 8px;
}

.post-share-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  background: #f3f4f6;
  color: #4b5563;
  transition: all 0.2s ease;
}

.post-share-btn:hover {
  background: #1d4ed8;
  color: #ffffff;
}

.post-featured-image {
  margin: 20px 0 18px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.post-featured-image figcaption {
  font-size: 12px;
  color: #6b7280;
  text-align: center;
  padding: 8px 12px 10px;
  background: #f9fafb;
}

.post-content {
  font-size: 15px;
  line-height: 1.8;
  color: #111827;
}

.post-content h2,
.post-content h3 {
  margin-top: 22px;
  margin-bottom: 10px;
  color: #111827;
}

.post-content p {
  margin-bottom: 14px;
}

.post-content ul,
.post-content ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.post-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-tags a {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e5e7eb;
  color: #374151;
}

.post-tags a:hover {
  background: #1d4ed8;
  color: #ffffff;
}

.post-comments {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}

.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.blog-sidebar-widget {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 16px 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  font-size: 13px;
}

.blog-sidebar-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px;
}

.sidebar-product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-product-item a {
  display: flex;
  gap: 10px;
}

.sidebar-product-thumb img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
}

.sidebar-product-title {
  font-size: 13px;
  font-weight: 600;
}

.sidebar-product-price {
  font-size: 13px;
  font-weight: 700;
  color: #1d4ed8;
  margin-top: 2px;
}

.blog-newsletter-widget p {
  font-size: 13px;
  color: #4b5563;
  margin-top: 0;
  margin-bottom: 10px;
}

.blog-newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-newsletter-form input[type="email"] {
  flex: 1 1 160px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  font-size: 13px;
}

.single-post-related {
  background: #eef2ff;
  padding: 32px 0 40px;
}

.related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.related-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.related-header a {
  font-size: 13px;
  color: #1d4ed8;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  font-size: 13px;
}

.related-thumb img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.related-meta {
  font-size: 11px;
  color: #6b7280;
  padding: 8px 12px 0;
}

.related-title {
  font-size: 14px;
  font-weight: 700;
  padding: 4px 12px 0;
  color: #111827;
}

.related-excerpt {
  padding: 4px 12px 12px;
  color: #4b5563;
}
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shop-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .shop-sidebar {
    order: 2;
  }
  .shop-main {
    order: 1;
  }
  .single-product-main {
    grid-template-columns: minmax(0, 1fr);
  }
  .single-product-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .single-post-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .header-top,
  .main-nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .category-grid,
  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .banner {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ============================================
   Trang Đăng nhập / Đăng ký (My Account)
   ============================================ */
.account-page {
  padding: 24px 16px 40px;
}

.account-welcome {
  text-align: center;
  margin-bottom: 32px;
}

.account-welcome-title {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
}

.account-welcome-subtitle {
  font-size: 15px;
  color: #6b7280;
  margin: 0;
}

.account-forms-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.account-form-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.account-form-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.account-form-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
}

.account-form-icon-login {
  background: #dbeafe;
  color: #1d4ed8;
}

.account-form-icon-register {
  background: #d1fae5;
  color: #059669;
}

.account-form-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.account-form-field {
  margin-bottom: 16px;
}

.account-form-field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

.account-form-field .required {
  color: #ef4444;
}

.account-form-field input[type="text"],
.account-form-field input[type="email"],
.account-form-field input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.account-form-field input:focus {
  outline: none;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.account-field-icon {
  font-size: 16px;
}

.account-password-wrapper {
  position: relative;
}

.account-password-wrapper input {
  padding-right: 40px;
}

.account-password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  padding: 4px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.account-password-toggle:hover {
  opacity: 1;
}

.account-form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 13px;
}

.account-form-options .woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.account-form-options input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.account-form-options .lost_password {
  color: #1d4ed8;
  text-decoration: none;
}

.account-form-options .lost_password:hover {
  text-decoration: underline;
}

.account-form-submit {
  margin: 0;
}

.account-form-submit .btn {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
}

.account-social-login {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.account-social-separator {
  text-align: center;
  margin-bottom: 12px;
  font-size: 12px;
  color: #6b7280;
  position: relative;
}

.account-social-separator::before,
.account-social-separator::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 40px);
  height: 1px;
  background: #e5e7eb;
}

.account-social-separator::before {
  left: 0;
}

.account-social-separator::after {
  right: 0;
}

.account-social-buttons {
  display: flex;
  gap: 10px;
}

.account-social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s;
}

.account-social-btn:hover {
  border-color: #9ca3af;
  background: #f9fafb;
}

.account-social-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.account-social-icon {
  font-size: 16px;
  font-weight: 600;
}

.account-social-google .account-social-icon {
  color: #ea4335;
}

.account-social-facebook .account-social-icon {
  color: #1877f2;
}

/* Form đăng ký - Lợi ích */
.account-register-benefits {
  background: #f0f9ff;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
}

.account-register-benefits h3 {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 10px;
}

.account-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.account-benefits-list li {
  font-size: 13px;
  color: #374151;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
  line-height: 1.5;
}

.account-benefits-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 18px;
}

.account-form-checkbox {
  margin-bottom: 20px;
}

.account-form-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.5;
  color: #374151;
}

.account-form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.account-form-checkbox a {
  color: #1d4ed8;
  text-decoration: underline;
}

.account-form-checkbox a:hover {
  color: #1e40af;
}

/* Responsive cho trang account */
@media (max-width: 768px) {
  .account-forms-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .account-welcome-title {
    font-size: 26px;
  }
  .account-social-buttons {
    flex-direction: column;
  }
}

/* ============================================
   Trang Blog Archive (Danh sách bài viết)
   ============================================ */
.blog-archive-main {
  background: #f6f6f8;
  min-height: 100vh;
  padding: 24px 0 40px;
}

.blog-archive-container {
  max-width: 1280px;
}

/* Hero Section */
.blog-hero {
  margin-bottom: 40px;
}

.blog-hero-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.blog-hero-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-hero-image {
  position: relative;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.blog-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

.blog-hero-content {
  position: relative;
  z-index: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 75%;
}

.blog-hero-badge {
  display: inline-block;
  padding: 6px 12px;
  background: #135bec;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 999px;
  width: fit-content;
}

.blog-hero-title {
  margin: 0;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
}

.blog-hero-title a {
  color: inherit;
  text-decoration: none;
}

.blog-hero-title a:hover {
  opacity: 0.9;
}

.blog-hero-excerpt {
  margin: 0;
  font-size: 16px;
  color: #e5e7eb;
  line-height: 1.6;
}

.btn-white {
  background: #ffffff;
  color: #135bec;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  width: fit-content;
  transition: all 0.2s;
}

.btn-white:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
}

.btn-dark {
  background: #101622;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-dark:hover {
  background: #000000;
}

/* Filter Section */
.blog-filter-section {
  margin-bottom: 32px;
}

.blog-filter-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
  .blog-filter-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.blog-section-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #111318;
}

.blog-search-form {
  width: 100%;
  max-width: 400px;
}

.blog-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  height: 44px;
}

.blog-search-icon {
  padding: 0 12px;
  color: #616f89;
  font-size: 20px;
}

.blog-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 12px;
  font-size: 16px;
  color: #111318;
  outline: none;
}

.blog-search-input::placeholder {
  color: #616f89;
}

/* Category Chips */
.blog-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.blog-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #111318;
}

.blog-chip:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.blog-chip-active {
  background: #135bec;
  color: #ffffff;
  border-color: #135bec;
}

.blog-chip-active:hover {
  background: #0d4bc4;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Blog Card */
.blog-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.blog-card-image {
  position: relative;
  width: 100%;
  height: 208px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: #135bec;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.blog-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
}

.blog-card-meta {
  margin-bottom: 12px;
  font-size: 12px;
  color: #6b7280;
}

.blog-card-date {
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-card-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #111318;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: #135bec;
}

.blog-card-excerpt {
  margin: 0 0 20px;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
  margin-top: auto;
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.blog-author-name {
  font-size: 12px;
  font-weight: 500;
  color: #374151;
}

.blog-card-link {
  font-size: 14px;
  font-weight: 700;
  color: #135bec;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.blog-card-link:hover {
  gap: 8px;
}

/* Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 40px 0;
}

.blog-pagination ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.blog-pagination li {
  display: inline-block;
}

.blog-pagination a,
.blog-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.blog-pagination a:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #135bec;
}

.blog-pagination .current {
  background: #135bec;
  color: #ffffff;
  border-color: #135bec;
}

.blog-pagination .dots {
  border: none;
  color: #9ca3af;
}

/* Newsletter CTA */
.blog-newsletter-cta {
  position: relative;
  background: #135bec;
  border-radius: 16px;
  padding: 48px 24px;
  margin-top: 60px;
  overflow: hidden;
}

.blog-newsletter-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background-image: radial-gradient(#ffffff 2px, transparent 2px);
  background-size: 30px 30px;
}

.blog-newsletter-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.blog-newsletter-title {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
}

.blog-newsletter-subtitle {
  margin: 0 0 32px;
  font-size: 18px;
  color: #bfdbfe;
  line-height: 1.6;
}

.blog-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .blog-newsletter-form {
    flex-direction: row;
  }
}

.blog-newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  color: #111318;
  outline: none;
}

.blog-newsletter-input::placeholder {
  color: #9ca3af;
}

.blog-no-posts {
  text-align: center;
  padding: 60px 20px;
  font-size: 18px;
  color: #6b7280;
}

/* Responsive Blog */
@media (max-width: 1024px) {
  .blog-hero-content {
    max-width: 100%;
    padding: 32px 24px;
  }
  .blog-hero-title {
    font-size: 28px;
  }
  .blog-hero-image {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .blog-hero-title {
    font-size: 24px;
  }
  .blog-hero-excerpt {
    font-size: 14px;
  }
  .blog-section-title {
    font-size: 24px;
  }
  .blog-newsletter-title {
    font-size: 24px;
  }
  .blog-newsletter-subtitle {
    font-size: 16px;
  }
}

/* ============================================
   Trang Chính sách Bảo mật (Privacy Policy)
   ============================================ */
.privacy-policy-page {
  background: #f6f6f8;
  min-height: 100vh;
  padding: 24px 0 40px;
}

.privacy-policy-container {
  max-width: 1280px;
}

/* Breadcrumbs */
.privacy-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 24px;
  font-size: 14px;
}

.privacy-breadcrumb a {
  color: #616f89;
  text-decoration: none;
}

.privacy-breadcrumb a:hover {
  color: #135bec;
}

.privacy-breadcrumb span {
  color: #616f89;
}

/* Page Header */
.privacy-page-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e5e7eb;
}

.privacy-page-title {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.15;
  color: #111318;
  margin: 0;
  letter-spacing: -0.033em;
}

.privacy-page-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #616f89;
}

.privacy-page-meta .material-symbols-outlined {
  font-size: 20px;
}

/* Layout */
.privacy-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 1024px) {
  .privacy-layout {
    flex-direction: row;
  }
}

/* Sidebar */
.privacy-sidebar {
  width: 100%;
}

@media (min-width: 1024px) {
  .privacy-sidebar {
    width: 25%;
    min-width: 280px;
  }
}

.privacy-sidebar-inner {
  position: sticky;
  top: 96px;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #f3f4f6;
}

.privacy-sidebar-header {
  padding-bottom: 16px;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 16px;
}

.privacy-sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: #111318;
  margin: 0 0 4px;
}

.privacy-sidebar-subtitle {
  font-size: 12px;
  color: #616f89;
  margin: 0;
}

.privacy-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.privacy-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #616f89;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.privacy-nav-item:hover {
  background: #f9fafb;
  color: #135bec;
}

.privacy-nav-item .material-symbols-outlined {
  font-size: 20px;
}

.privacy-nav-active {
  background: rgba(19, 91, 236, 0.1);
  color: #135bec;
}

.privacy-nav-active:hover {
  background: rgba(19, 91, 236, 0.15);
}

/* Main Content */
.privacy-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 1024px) {
  .privacy-main {
    width: 75%;
  }
}

.privacy-section {
  scroll-margin-top: 112px;
}

.privacy-section-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #f3f4f6;
}

.privacy-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.privacy-section-icon {
  width: 40px;
  height: 40px;
  background: #dbeafe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #135bec;
}

.privacy-section-title {
  font-size: 24px;
  font-weight: 700;
  color: #111318;
  margin: 0;
}

.privacy-section-title-simple {
  font-size: 24px;
  font-weight: 700;
  color: #111318;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.privacy-section-number {
  color: #135bec;
}

.privacy-section-content {
  color: #616f89;
  font-size: 16px;
  line-height: 1.75;
}

.privacy-section-content p {
  margin-bottom: 16px;
}

.privacy-section-content p:last-child {
  margin-bottom: 0;
}

.privacy-section-content strong {
  color: #111318;
  font-weight: 700;
}

/* Info Grid */
.privacy-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .privacy-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.privacy-info-box {
  background: #f6f6f8;
  padding: 16px;
  border-radius: 8px;
}

.privacy-info-box-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #111318;
  margin: 0 0 8px;
}

.privacy-info-box ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  color: #616f89;
  font-size: 14px;
}

.privacy-info-box li {
  margin-bottom: 8px;
}

/* Usage List */
.privacy-usage-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy-usage-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.privacy-usage-list .material-symbols-outlined {
  color: #135bec;
  font-size: 20px;
  margin-top: 4px;
  flex-shrink: 0;
}

.privacy-usage-title {
  display: block;
  font-weight: 700;
  color: #111318;
  margin-bottom: 4px;
}

.privacy-usage-desc {
  display: block;
  font-size: 14px;
  color: #616f89;
}

/* Security Grid */
.privacy-security-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .privacy-security-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.privacy-security-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid;
}

.privacy-security-box .material-symbols-outlined {
  font-size: 48px;
  margin-bottom: 8px;
}

.privacy-security-box h4 {
  font-size: 16px;
  font-weight: 700;
  color: #111318;
  margin: 0 0 4px;
}

.privacy-security-box p {
  font-size: 12px;
  color: #616f89;
  margin: 0;
}

.privacy-security-ssl {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.privacy-security-ssl .material-symbols-outlined {
  color: #16a34a;
}

.privacy-security-firewall {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.privacy-security-firewall .material-symbols-outlined {
  color: #2563eb;
}

.privacy-security-control {
  background: #faf5ff;
  border-color: #e9d5ff;
}

.privacy-security-control .material-symbols-outlined {
  color: #9333ea;
}

/* Sharing List */
.privacy-sharing-list {
  list-style: disc;
  padding-left: 20px;
  margin: 16px 0 0;
  color: #616f89;
}

.privacy-sharing-list li {
  margin-bottom: 8px;
}

.privacy-sharing-list strong {
  color: #111318;
  font-weight: 600;
}

/* Rights List */
.privacy-rights-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.privacy-right-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f6f6f8;
  border-radius: 8px;
}

.privacy-right-item .material-symbols-outlined {
  color: #616f89;
  font-size: 20px;
  flex-shrink: 0;
}

.privacy-right-item span:last-child {
  font-weight: 500;
  color: #111318;
}

/* Contact Box */
.privacy-contact-box {
  position: relative;
  background: #135bec;
  border-radius: 12px;
  padding: 32px;
  color: #ffffff;
  overflow: hidden;
}

.privacy-contact-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 256px;
  height: 256px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transform: translate(25%, -25%);
  pointer-events: none;
}

.privacy-contact-pattern::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 192px;
  height: 192px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transform: translate(-25%, 25%);
}

.privacy-contact-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .privacy-contact-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.privacy-contact-text {
  flex: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .privacy-contact-text {
    text-align: left;
  }
}

.privacy-contact-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
}

.privacy-contact-desc {
  font-size: 16px;
  color: #bfdbfe;
  margin: 0 0 24px;
  max-width: 512px;
}

@media (min-width: 768px) {
  .privacy-contact-desc {
    margin-left: 0;
    margin-right: auto;
  }
}

.privacy-contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

@media (min-width: 640px) {
  .privacy-contact-buttons {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .privacy-contact-buttons {
    justify-content: flex-start;
  }
}

.privacy-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.privacy-contact-btn .material-symbols-outlined {
  font-size: 20px;
}

.privacy-contact-btn-primary {
  background: #ffffff;
  color: #135bec;
}

.privacy-contact-btn-primary:hover {
  background: #f3f4f6;
}

.privacy-contact-btn-secondary {
  background: rgba(37, 99, 235, 0.5);
  color: #ffffff;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.privacy-contact-btn-secondary:hover {
  background: rgba(37, 99, 235, 0.7);
}

.privacy-contact-icon {
  display: none;
}

@media (min-width: 768px) {
  .privacy-contact-icon {
    display: block;
  }
}

.privacy-contact-icon .material-symbols-outlined {
  font-size: 120px;
  opacity: 0.2;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 1024px) {
  .privacy-sidebar-inner {
    position: static;
  }
  .privacy-layout {
    flex-direction: column;
  }
  .privacy-main {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .privacy-page-title {
    font-size: 28px;
  }
  .privacy-section-title,
  .privacy-section-title-simple {
    font-size: 20px;
  }
  .privacy-section-card {
    padding: 20px;
  }
  .privacy-contact-box {
    padding: 24px;
  }
  .privacy-contact-title {
    font-size: 20px;
  }
}

/* ============================================
   Trang Giỏ Hàng (Cart Page)
   ============================================ */
.cart-page-wrapper {
  background: #f6f6f8;
  min-height: 100vh;
  padding: 24px 0 40px;
}

.cart-page-container {
  max-width: 1600px;
}

/* Breadcrumbs */
.cart-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 14px;
}

.cart-breadcrumb a {
  color: #616f89;
  text-decoration: none;
}

.cart-breadcrumb a:hover {
  color: #135bec;
}

.cart-breadcrumb span {
  color: #616f89;
}

/* Page Header */
.cart-page-header {
  margin-bottom: 32px;
}

.cart-page-title {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.15;
  color: #111318;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.cart-page-subtitle {
  font-size: 16px;
  color: #616f89;
  margin: 0;
}

.cart-page-subtitle strong {
  color: #111318;
  font-weight: 700;
}

/* Cart Layout */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

@media (min-width: 1024px) {
  .cart-layout {
    grid-template-columns: 8fr 4fr;
  }
}

/* Cart Table Column */
.cart-table-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cart-table-wrapper {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table thead {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.cart-table th {
  padding: 16px 24px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #616f89;
  text-align: left;
}

.cart-product-col {
  width: 40%;
}

.cart-price-col {
  width: 15%;
}

.cart-quantity-col {
  width: 20%;
}

.cart-subtotal-col {
  width: 15%;
}

.cart-remove-col {
  width: 10%;
  text-align: center;
}

.cart-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
  transition: background 0.2s;
}

.cart-table tbody tr:hover {
  background: #f9fafb;
}

.cart-table tbody tr:last-child {
  border-bottom: none;
}

.cart-table td {
  padding: 24px;
  vertical-align: middle;
}

/* Product Cell */
.cart-product-cell {
  padding: 24px;
}

.cart-product-info {
  display: flex;
  gap: 16px;
}

.cart-product-image {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #f3f4f6;
  padding: 8px;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-product-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.cart-product-details a {
  font-size: 14px;
  font-weight: 700;
  color: #111318;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.cart-product-details a:hover {
  color: #135bec;
}

.cart-product-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.cart-product-sku {
  font-size: 12px;
  color: #616f89;
}

.cart-product-status {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
  margin-top: 4px;
}

.cart-product-status-instock {
  background: #f0fdf4;
  color: #16a34a;
}

.cart-product-status-low {
  background: #fff7ed;
  color: #ea580c;
}

.cart-product-status-out {
  background: #fef2f2;
  color: #dc2626;
}

/* Price Cell */
.cart-price-cell {
  font-size: 14px;
  font-weight: 500;
  color: #111318;
}

/* Quantity Cell */
.cart-quantity-cell {
  padding: 24px;
}

.cart-quantity-cell .quantity {
  display: flex;
  align-items: center;
  border: 1px solid #dbdfe6;
  border-radius: 8px;
  width: fit-content;
}

.cart-quantity-cell .quantity .qty {
  width: 40px;
  text-align: center;
  border: none;
  border-left: 1px solid #dbdfe6;
  border-right: 1px solid #dbdfe6;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #111318;
  padding: 8px 0;
  -moz-appearance: textfield;
}

.cart-quantity-cell .quantity .qty::-webkit-outer-spin-button,
.cart-quantity-cell .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-quantity-cell .quantity .qty-btn {
  padding: 8px;
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.cart-quantity-cell .quantity .qty-btn:hover {
  background: #f3f4f6;
}

.cart-quantity-cell .quantity .qty-btn.qty-plus:hover {
  color: #135bec;
}

.cart-quantity-cell .quantity .qty-btn .material-symbols-outlined {
  font-size: 16px;
}

/* Subtotal Cell */
.cart-subtotal-cell {
  font-size: 14px;
  font-weight: 700;
  color: #135bec;
}

/* Remove Cell */
.cart-remove-cell {
  text-align: center;
}

.cart-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.2s;
}

.cart-remove-btn:hover {
  color: #ef4444;
  background: #fef2f2;
}

.cart-remove-btn .material-symbols-outlined {
  font-size: 20px;
}

/* Cart Actions */
.cart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.cart-continue-shopping {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #616f89;
  text-decoration: none;
  transition: color 0.2s;
}

.cart-continue-shopping:hover {
  color: #135bec;
}

.cart-continue-shopping .material-symbols-outlined {
  font-size: 18px;
}

.cart-clear-all {
  font-size: 14px;
  font-weight: 500;
  color: #ef4444;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.cart-clear-all:hover {
  color: #dc2626;
}

/* Cart Summary Column */
.cart-summary-column {
  position: relative;
}

@media (min-width: 1024px) {
  .cart-summary-column {
    position: sticky;
    top: 96px;
  }
}

.cart-summary-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cart-summary-title {
  font-size: 20px;
  font-weight: 700;
  color: #111318;
  margin: 0;
}

/* Cart Totals */
.cart-totals {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-totals-breakdown {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.cart-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-totals-label {
  font-size: 14px;
  color: #616f89;
}

.cart-totals-value {
  font-size: 14px;
  font-weight: 500;
  color: #111318;
}

.cart-shipping-free {
  color: #16a34a;
  font-weight: 500;
}

.cart-totals-total {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.cart-totals-total-label {
  font-size: 16px;
  font-weight: 700;
  color: #111318;
}

.cart-totals-total-value {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.cart-totals-total-amount {
  font-size: 28px;
  font-weight: 900;
  color: #135bec;
  line-height: 1;
}

.cart-totals-total-note {
  font-size: 11px;
  color: #616f89;
  margin-top: 4px;
}

/* Checkout Button */
.cart-checkout-btn-wrapper {
  margin-top: 8px;
}

.cart-checkout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  background: #135bec;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(19, 91, 236, 0.3);
  transition: all 0.2s;
}

.cart-checkout-btn:hover {
  background: #0d4bc4;
  box-shadow: 0 6px 16px rgba(19, 91, 236, 0.4);
}

.cart-checkout-btn .material-symbols-outlined {
  font-size: 16px;
}

/* Invoice Checkbox */
.cart-invoice-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.cart-invoice-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  appearance: none;
  position: relative;
  transition: all 0.2s;
}

.cart-invoice-checkbox input[type="checkbox"]:checked {
  background: #135bec;
  border-color: #135bec;
}

.cart-invoice-checkbox input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.cart-invoice-checkbox span {
  font-size: 14px;
  color: #616f89;
  line-height: 1.5;
}

.cart-invoice-checkbox:hover span {
  color: #111318;
}

/* Coupon Section */
.cart-coupon-section {
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.cart-coupon-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #111318;
  margin-bottom: 8px;
}

.cart-coupon-input-group {
  display: flex;
  gap: 8px;
}

.cart-coupon-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #dbdfe6;
  border-radius: 8px;
  font-size: 14px;
  color: #111318;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s;
}

.cart-coupon-input:focus {
  border-color: #135bec;
  box-shadow: 0 0 0 1px #135bec;
}

.cart-coupon-input::placeholder {
  color: #9ca3af;
}

.cart-coupon-btn {
  padding: 8px 16px;
  background: #f3f4f6;
  color: #111318;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.cart-coupon-btn:hover {
  background: #e5e7eb;
}

/* Trust Signals */
.cart-trust-signals {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 8px;
}

.cart-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #616f89;
}

.cart-trust-item .material-symbols-outlined {
  font-size: 32px;
}

.cart-trust-item span:last-child {
  font-size: 10px;
  font-weight: 500;
}

/* Empty Cart */
.woocommerce-cart-form__cart-item.cart_item {
  /* WooCommerce class */
}

/* Responsive */
@media (max-width: 1024px) {
  .cart-summary-column {
    position: static;
  }
  .cart-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .cart-table-wrapper {
    overflow-x: auto;
  }
  .cart-table {
    min-width: 600px;
  }
  .cart-page-title {
    font-size: 28px;
  }
  .cart-product-info {
    flex-direction: column;
    align-items: flex-start;
  }
  .cart-product-image {
    width: 60px;
    height: 60px;
  }
  .cart-trust-signals {
    flex-wrap: wrap;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .cart-table th,
  .cart-table td {
    padding: 12px;
  }
  .cart-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .cart-totals-total-amount {
    font-size: 24px;
  }
}


