/*
Theme Name: Giappham Blank
Theme URI: https://giappham.com
Author: GiapPhamCom
Author URI: https://giappham.com
Description: Theme trắng tối giản, được thiết kế tối ưu cho Elementor Page Builder. Không có style mặc định cản trở, hỗ trợ full-width canvas, tốc độ nhanh, tương thích WooCommerce. Phù hợp để build trang web hoàn toàn bằng Elementor.
Version: 1.0.0
Requires at least: 5.6
Tested up to: 6.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: giappham-blank
Tags: blog, e-commerce, portfolio, custom-colors, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, wide-blocks, block-styles, full-width-template
*/

/* ==========================================================================
   Reset & Base - Tối giản để Elementor toàn quyền điều khiển
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hỗ trợ alignment cho block editor / Elementor */
.alignleft  { float: left;  margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

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

a {
    color: inherit;
    text-decoration: none;
}

/* Accessibility - skip link */
.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;
    clip: auto !important;
    clip-path: none;
    color: #111;
    display: block;
    font-size: 14px;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Container mặc định cho trang chưa dùng Elementor */
.site-content-default {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header / Footer mặc định - chỉ dùng khi chưa setup Elementor Header/Footer */
.site-header-default {
    padding: 20px;
    border-bottom: 1px solid #eee;
}
.site-footer-default {
    padding: 30px 20px;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 14px;
    color: #888;
}

/* Ẩn admin bar khi xem trên frontend nếu cần - bỏ comment nếu muốn
html { margin-top: 0 !important; }
* html body { margin-top: 0 !important; }
*/
