/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy-child
 */

:root {
  --primary-color: #e74a27;
  --secondary-color: #D2691E;
  --accent-color: #FF6B35;
  --text-dark: #2C2C2C;
  --text-light: #666;
  --bg-light: #F8F9FA;
  --border-color: #E5E5E5;
}
#wpadminbar {
  display: none;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 0 40px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  position: relative;
}

.header-left {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #333;
  transition: color 0.3s ease;
}

.menu-toggle:hover {
  color: #000;
}

.header-search.mobile-header-search {
  display: none;
}

.logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 3px;
  color: #000;
  text-transform: uppercase;
}

.logo img {
  width: 160px;
  position: relative;
  top: 10px;
}

.header-icons {
  display: flex;
  gap: 25px;
  flex: 1;
  justify-content: flex-end;
}

.icon {
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #333;
}

.icon:hover {
  color: #000;
  transform: translateY(-1px);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 15px 0;
}

.nav-item {
  text-decoration: none;
  color: #666;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.nav-item:hover,
.nav-item.active {
  color: #000;
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: #000;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  height: 100vh;
  background: 000000;
  z-index: 2000;
  transition: left 0.3s ease;
  padding: 80px 40px 40px;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}
.woocommerce-info{
  color: #000;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mobile-nav-item {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: #000;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

/* Main Content */
.main-content {
  margin-top: 92px;
}

/* Hero Styles */
.hero {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.hero:first-child {
  margin-top: 0;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
}

.hero-text {
  text-align: center;
  color: white;
  max-width: 600px;
  padding: 0 20px 60px 20px;
}

.hero-category {
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.hero-title {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 2px;
  line-height: 1.2;
  margin-bottom: 40px;
  color: #fff;
}

.hero-button {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 15px 30px;
  font-size: 12px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.hero-button:hover {
  background: white;
  color: #000;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .header {
    padding: 0 20px;
  }

  .header-top {
    padding: 15px 0;
  }

  .menu-toggle {
    display: block;
  }

  .header-search {
    display: block;
    font-size: 16px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
  }

  .header-search:hover {
    color: #000;
  }

  .header-icons {
    gap: 15px;
  }

  .header-icons .fa-search {
    display: none;
  }

  .icon {
    font-size: 16px;
  }

  .nav {
    display: none;
  }

  .hero {
    margin-top: 80px;
    aspect-ratio: 3/4;
  }

  .hero-title {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .hero-button {
    padding: 12px 25px;
    font-size: 11px;
  }

  .main-content {
    margin-top: 0;
  }

  .logo img {
    width: 106px;
    top: 0;
  }
}

@media (max-width: 480px) {
  .nav {
    gap: 20px;
  }

  .hero-title {
    font-size: 24px;
    line-height: 1.3;
  }

  .hero-category {
    font-size: 10px;
    margin-bottom: 15px;
  }
}

/* Desktop aspect ratio */
@media (min-width: 769px) {
  .hero {
    aspect-ratio: 16/7;
  }
}

/* Footer Styles */
.footer {
  background: #000;
  color: #fff;
  padding: 80px 0 0;
  margin-top: 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-logo {
  text-align: center;
  margin-bottom: 60px;
}

.footer-logo h2 {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
}

.footer-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

.footer-section h3 {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
  color: #fff;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 15px;
}

.footer-section a {
  color: #999;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 40px 0;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.footer-location {
  font-size: 14px;
  color: #999;
  letter-spacing: 1px;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.social-icon {
  color: #999;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  color: #fff;
  transform: translateY(-2px);
}

.footer-copyright {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.footer-copyright p {
  font-size: 12px;
  color: #666;
  letter-spacing: 1px;
}

/* Mobile Footer Styles */
@media (max-width: 768px) {
  .footer {
    padding: 60px 0 0;
  }

  .footer-content {
    padding: 0 20px;
  }

  .footer-logo {
    margin-bottom: 40px;
  }

  .footer-logo h2 {
    font-size: 24px;
    letter-spacing: 3px;
  }

  .footer-sections {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }

  .footer-section h3 {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .footer-section a {
    font-size: 13px;
  }

  .footer-bottom {
    padding: 30px 0;
  }

  .footer-bottom-content {
    padding: 0 20px;
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-social {
    gap: 25px;
  }

  .social-icon {
    font-size: 20px;
  }

  .footer-copyright {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .footer-sections {
    gap: 30px;
  }

  .footer-section h3 {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .footer-section a {
    font-size: 12px;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Section spacing */
.hero+.hero {
  margin-top: 0;
}

nav[class*=menu] .ct-menu-link {
  color: #fff;
}
nav[class*=menu] .ct-menu-link {
  color: #fff;
}
#main-container .site-main{
  background-color: #000;
}
body[data-id="blocksy"] {
  background-color: #000; /* 或者你想要的任何颜色 */
}
#header.ct-header [data-row*="middle"] {
  --height: auto;
  padding: 10px 0;
}

html {
  margin-top: 0px !important;
}

nav[class*=menu] li[class*=current-menu-]>.ct-menu-link,
nav[class*=menu] li[class*=current-menu-]>.ct-sub-menu-parent {
  color: #fff;
}

nav[class*=menu] li:hover>.ct-menu-link,
nav[class*=menu] li:hover>.ct-sub-menu-parent {
  color: #fff;

}

.menu li.menu-item,
.menu li.page_item {
  position: relative;
}
#header.ct-header [data-row*="middle"]{
  background: #000;
  color: #fff;
}
/* 默认隐藏横线 */
.menu li.menu-item::after,
.menu li.page_item::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  /* 距离文字下方一点 */
  width: 0;
  height: 2px;
  /* 横线粗细 */
  background-color: #000;
  /* 横线颜色，可自定义 */
  transition: width 0.3s ease;
  opacity: 0;
}

/* hover 时显示横线并展开 */
.menu li.menu-item:hover::after,
.menu li.page_item:hover::after {
  /* width: 100%; */
  /* 横线铺满整个菜单项宽度 */
  opacity: 1;
}

/* 当前菜单项：显示常驻横线 */
.menu li[class*=current-menu-]::after,
.menu li[class*=current-menu-]::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background-color: #000;
  /* 和 hover 颜色一致 */
  opacity: 1;
  transition: none;
  /* 可选：如果不需要动画，关闭过渡 */
}

[data-header*="type-1"] .ct-header [data-transparent-row="yes"][data-row*="top"] {
  background-color: #fff;
}

[data-header*="type-1"] .ct-header [data-transparent-row="yes"][data-row*="middle"] {
  background-color: #fff;
}

#header.ct-header {
  position: fixed;
  width: 100%;
}
.entry-header{
  display: none;
}
.ct-header-account-dropdown{
  background: #eee;
  color: #000;
}
[data-header*="type-1"] [data-transparent-row="yes"] [data-id="search"] {
  
}
.woocommerce-MyAccount-navigation ul li:hover a, .woocommerce-MyAccount-navigation ul li.is-active a{
  background-color: #F2A93B;
}
.woocommerce-MyAccount-navigation ul li a {
  color: #3A4F66
}
.brand-logo {
  font-size: 28px;
  font-weight: 600;
  color: #F2A93B;
  text-align: center;
  margin-bottom: 10px;
  margin-top: 70px;
}
.brand-subtitle {
  font-size: 16px;
  color: #cccccc;
  text-align: center;
  margin-bottom: 30px;
}
.products-wrapper{
  margin-top: 70px;
}
/* .products-wrapper img{
  height: 300px;
} */
.copyright{
    font-size: 12px;
    line-height: 1.4;
}
.entry-summary-items > .ct-product-divider[data-id="divider_2"]{
  display: none;
}
.woocommerce-product-gallery .flexy-container .flexy-arrow-prev{
  display: none;
}
.woocommerce-product-gallery .flexy-container .flexy-arrow-next{
  display: none;
}

.ct-media-container img {
  aspect-ratio: 1 / 1 !important;
}