/*
Theme Name: GoalDealLive
Theme URI: https://goaldeallive.com/
Author: GoalDealLive
Author URI: https://goaldeallive.com/
Description: GOALDEALLIVE 足球球衣独立站主题。版式基于 Dapper 模板改造，配色取自品牌 Logo（藏青 #323141 + 金 #B08D3E），深度整合 WooCommerce，支持区块编辑器与 Elementor 全宽页模板。
Version: 1.1.8
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: goaldeallive
Tags: e-commerce, custom-logo, custom-menu, custom-colors, featured-images, translation-ready, full-width-template
*/

/* ---------------------------------------------------------------
   主题全部视觉样式位于：
     static/css/app.css      —— 模板原始样式（品牌配色已替换）
     assets/css/gdl-theme.css —— WP 结构补丁（区块、分页、表单、抽屉等）
     assets/css/gdl-woo.css   —— WooCommerce 页面样式
   本文件只放极少量全局修正，避免与上面三者冲突。
   --------------------------------------------------------------- */

/* 后台管理栏存在时，固定层需下移 */
body.admin-bar .mobile-nav__wrapper,
body.admin-bar #sidebar-cart {
  margin-top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .mobile-nav__wrapper,
  body.admin-bar #sidebar-cart {
    margin-top: 46px;
  }
}

/* 屏幕阅读器专用文本 */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #fff;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #323141;
  display: block;
  font-size: 14px;
  font-weight: 500;
  height: auto;
  left: 8px;
  line-height: normal;
  padding: 14px 22px;
  text-decoration: none;
  top: 8px;
  width: auto;
  z-index: 100000;
}

/* 图片直出时统一自适应 */
img {
  max-width: 100%;
  height: auto;
}

.alignleft {
  float: left;
  margin: 0 24px 16px 0;
}

.alignright {
  float: right;
  margin: 0 0 16px 24px;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
