@import url('css/bootstrap.min.css');
@import url('css/animate.css');
@import url('css/font-awesome.min.css');
@import url('css/simple-line-icons.css');
@import url('css/pe-icon-7-stroke.min.css');
@import url('css/owl.carousel.css');
@import url('css/owl.transitions.css');
@import url('css/flexslider.css');
@import url('css/jquery-ui.css');
@import url('css/revolution-slider.css');
@import url('css/quick_view_popup.css');
@import url('css/blog.css');
@import url('css/shortcode.css');
@import url('css/shortcodes/shortcodes.css');
@import url('css/shortcodes/featured-box.css');
@import url('css/shortcodes/pricing-table.css');
@import url('css/shortcodes/tooltip.css');
@import url('css/shortcodes/post.css');
@import url('css/style.css');
@import url('css/responsive.css');

/* ===== MODULE BAN HANG / E-COMMERCE 01-04-2026 ===== */
.alert-success,.alert-danger{padding:12px 14px;border-radius:10px;margin:12px 0;font-weight:600}.alert-success{background:#ecfdf5;color:#065f46}.alert-danger{background:#fef2f2;color:#991b1b}
.form-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid-2 input,.form-grid-2 select,.checkout-form input,.checkout-form select,.checkout-form textarea,.shop-search-form input,.cart-qty-form input,textarea{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:10px;box-sizing:border-box}.checkbox-row{display:flex;gap:18px;flex-wrap:wrap;margin-top:12px}
.home-product-module,.shop-page,.product-detail-page,.cart-page,.checkout-page{margin-top:18px}.home-product-head,.shop-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:16px}.home-product-kicker,.shop-product-category,.product-detail-category{display:inline-block;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#b91c1c}.home-product-head h2,.shop-page-head h1,.product-detail-main h1,.checkout-success-card h1{margin:6px 0 8px}.home-product-more,.shop-cart-link,.btn-detail,.btn-home-product-detail,.btn-ghost-cart,.btn-ghost{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:999px;text-decoration:none;font-weight:700}.home-product-more,.shop-cart-link,.btn-detail,.btn-home-product-detail,.btn-ghost-cart{background:#fff7ed;color:#9a3412;border:1px solid #fdba74}
.home-product-categories,.shop-category-chips{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}.home-product-cat-chip,.shop-chip{padding:8px 14px;border-radius:999px;background:#fff;border:1px solid #e5e7eb;text-decoration:none;color:#111827}.shop-chip.active,.home-product-cat-chip:hover{background:#fef3c7;border-color:#f59e0b}
.home-product-grid,.shop-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.home-product-card,.shop-product-card{background:#fff;border:1px solid #e5e7eb;border-radius:20px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.06)}.home-product-thumb,.shop-product-thumb{display:block;position:relative;background:#f9fafb;aspect-ratio:1/1}.home-product-thumb img,.shop-product-thumb img,.product-detail-gallery img{width:100%;height:100%;object-fit:cover}.home-product-badge,.shop-product-sale{position:absolute;top:12px;left:12px;background:#dc2626;color:#fff;border-radius:999px;padding:6px 10px;font-weight:700;font-size:12px}
.home-product-body,.shop-product-body{padding:16px}.home-product-body h3,.shop-product-body h3{font-size:17px;line-height:1.4;margin:4px 0 10px}.home-product-body h3 a,.shop-product-body h3 a{text-decoration:none;color:#111827}.home-product-price,.shop-product-price-row,.product-detail-price{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.home-product-price strong,.shop-product-price-row strong,.product-detail-price strong{color:#dc2626;font-size:22px}.home-product-price span,.shop-product-price-row span,.product-detail-price span{text-decoration:line-through;color:#6b7280}.home-product-stock,.shop-product-meta-row,.product-detail-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;color:#374151;font-size:14px}.home-product-actions,.shop-product-action-row,.cart-summary-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.btn-home-product-cart,.btn-cart,.btn-main-cart,.product-detail-buy-form button,.checkout-form button,.btn-primary{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;border-radius:999px;border:none;background:#dc2626;color:#fff;font-weight:700;cursor:pointer;text-decoration:none}.btn-remove-cart{display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;border:none;border-radius:999px;background:#111827;color:#fff;cursor:pointer}
.shop-toolbar{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.shop-search-form{display:flex;gap:10px;flex-wrap:wrap}.shop-search-form button{padding:10px 14px;border:none;border-radius:999px;background:#111827;color:#fff;font-weight:700}.shop-empty,.checkout-success-card{background:#fff;border:1px dashed #d1d5db;border-radius:18px;padding:24px;text-align:center}.product-detail-grid,.checkout-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:24px}.product-detail-gallery{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:16px}.product-detail-main,.checkout-form-card,.checkout-summary-card{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:20px}.product-detail-buy-form{display:grid;grid-template-columns:120px 120px 1fr;gap:12px;align-items:end;margin-top:18px}.product-detail-buy-form input{padding:10px 12px;border:1px solid #d1d5db;border-radius:10px}.product-detail-content,.product-related-block{margin-top:24px;background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:22px}
.cart-table-wrap{overflow:auto;background:#fff;border:1px solid #e5e7eb;border-radius:20px}.cart-table{width:100%;border-collapse:collapse}.cart-table th,.cart-table td{padding:14px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:top}.cart-product-cell{display:flex;gap:12px;align-items:flex-start}.cart-product-cell img{width:72px;height:72px;object-fit:cover;border-radius:12px}.cart-qty-form{display:flex;gap:8px;align-items:center}.cart-summary-box{margin-top:16px;background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:18px}.checkout-line{display:flex;justify-content:space-between;gap:12px;padding:8px 0}.checkout-line.total{font-size:18px}.checkout-success-card{max-width:720px;margin:0 auto}
@media (max-width: 991px){.home-product-grid,.shop-product-grid,.form-grid-2,.product-detail-grid,.checkout-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-detail-buy-form{grid-template-columns:1fr 1fr}.product-detail-buy-form button{grid-column:1/-1}}
@media (max-width: 767px){.home-product-grid,.shop-product-grid,.form-grid-2,.product-detail-grid,.checkout-grid{grid-template-columns:1fr}.home-product-head,.shop-page-head{align-items:flex-start}.product-detail-buy-form{grid-template-columns:1fr}.cart-table th:nth-child(2),.cart-table td:nth-child(2){display:none}}


/* ===== PAGINATION ECOMMERCE UI FIX 02-04-2026 ===== */
.shop-pagination,
.home-product-pagination{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
    margin:24px 0 8px;
}
.shop-page-numbers{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    flex-wrap:wrap;
}
.shop-page-number,
.shop-page-nav{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:42px;
    height:42px;
    padding:0 14px;
    border-radius:999px;
    border:1px solid #e5e7eb;
    background:#ffffff;
    color:#111827;
    text-decoration:none;
    font-size:14px;
    font-weight:700;
    line-height:1;
    box-shadow:0 8px 20px rgba(15,23,42,.06);
    transition:all .2s ease;
}
.shop-page-number:hover,
.shop-page-nav:hover{
    background:#f97316;
    border-color:#f97316;
    color:#ffffff;
    transform:translateY(-1px);
}
.shop-page-number.active{
    background:linear-gradient(135deg,#dc2626 0%,#f97316 100%);
    border-color:transparent;
    color:#ffffff;
    box-shadow:0 12px 24px rgba(220,38,38,.28);
}
.shop-page-nav.disabled,
.shop-page-nav.disabled:hover{
    opacity:.45;
    pointer-events:none;
    background:#f3f4f6;
    color:#9ca3af;
    border-color:#e5e7eb;
    transform:none;
    box-shadow:none;
}
@media (max-width: 767px){
    .shop-pagination,
    .home-product-pagination{
        gap:8px;
    }
    .shop-page-number,
    .shop-page-nav{
        min-width:38px;
        height:38px;
        padding:0 12px;
        font-size:13px;
    }
    .shop-page-numbers{
        gap:6px;
    }
}


/* ===== MEDIA ADMIN PAGINATION 02-04-2026 ===== */
.admin-media-pagination{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:24px 0 8px}.admin-media-page-numbers{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.admin-media-page-number,.admin-media-page-nav{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 14px;border-radius:999px;border:1px solid #dbe4f0;background:#fff;color:#0f172a;text-decoration:none;font-size:14px;font-weight:700;line-height:1;box-shadow:0 8px 20px rgba(15,23,42,.06);transition:all .2s ease}.admin-media-page-number:hover,.admin-media-page-nav:hover{background:#1d4ed8;border-color:#1d4ed8;color:#fff;transform:translateY(-1px)}.admin-media-page-number.active{background:linear-gradient(135deg,#1d4ed8 0%,#38bdf8 100%);border-color:transparent;color:#fff;box-shadow:0 12px 24px rgba(14,165,233,.24)}.admin-media-page-nav.disabled,.admin-media-page-nav.disabled:hover{opacity:.45;pointer-events:none;background:#f8fafc;color:#94a3b8;border-color:#e2e8f0;transform:none;box-shadow:none}.media-home-pagination{margin-top:18px;margin-bottom:26px}
@media (max-width: 767px){.admin-media-pagination{gap:8px}.admin-media-page-number,.admin-media-page-nav{min-width:38px;height:38px;padding:0 12px;font-size:13px}.admin-media-page-numbers{gap:6px}}


/* ===== PUBLIC MEDIA LIBRARY UI 02-04-2026 ===== */
.home-media-showcase-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}.home-media-showcase-actions,.home-media-head-actions,.public-media-album-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.public-media-album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.public-media-album-card{background:#fff;border:1px solid #e5e7eb;border-radius:22px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.06)}.public-media-album-thumb{display:block;aspect-ratio:16/10;background:#f8fafc}.public-media-album-thumb img{width:100%;height:100%;object-fit:cover}.public-media-album-body{padding:16px}.public-media-album-body h3{margin:8px 0 10px;font-size:20px;line-height:1.4}.public-media-album-body h3 a{text-decoration:none;color:#111827}.public-media-album-body p{color:#4b5563;line-height:1.6}.public-media-detail-grid{margin-top:10px}.media-library-page{margin-top:18px}.media-library-page .shop-page-head p{max-width:900px}.media-library-page .home-media-image-grid,.media-library-page .home-media-video-grid{margin-top:10px}
@media (max-width: 991px){.public-media-album-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 767px){.public-media-album-grid{grid-template-columns:1fr}.home-media-showcase-head{align-items:flex-start}}


/* Document library module */
.doc-grid-modern{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;}
.doc-grid-home{margin-top:20px;}
.doc-card-modern{background:#fff;border:1px solid rgba(148,163,184,.28);border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(15,23,42,.06);transition:transform .2s ease, box-shadow .2s ease;}
.doc-card-modern:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(15,23,42,.12);}
.doc-card-modern-link{display:block;color:inherit;text-decoration:none;height:100%;}
.doc-card-preview{height:260px;background:linear-gradient(180deg,#f8fafc,#eef2ff);display:flex;align-items:center;justify-content:center;overflow:hidden;}
.doc-card-preview img{width:100%;height:100%;object-fit:cover;display:block;}
.doc-pdf-cover{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:linear-gradient(135deg,#eff6ff,#e0e7ff 55%,#f8fafc);color:#0f172a;}
.doc-pdf-cover span{font-size:42px;font-weight:800;letter-spacing:2px;}
.doc-pdf-cover small{font-size:14px;opacity:.8;text-align:center;padding:0 16px;}
.doc-card-copy{padding:16px 16px 18px;}
.doc-card-copy h3{margin:0 0 10px;font-size:18px;line-height:1.4;}
.doc-card-copy p{margin:0;color:#475569;line-height:1.65;}
.document-pdf-frame{width:100%;height:900px;border:1px solid #cbd5e1;border-radius:18px;background:#fff;}
.home-doc-library-section,.document-library-zone{margin-top:28px;}
@media (max-width: 768px){.doc-card-preview{height:220px}.document-pdf-frame{height:70vh}}
