/*
Theme Name: FotoPro Simple
Theme URI: https://fotoprovn.com/
Author: OpenAI for FotoProVN
Description: Giao diện WooCommerce tối giản dành cho cửa hàng phụ kiện máy ảnh FotoProVN.
Version: 1.7.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: fotopro-simple
*/

:root{--fp-blue:#0869da;--fp-navy:#102a43;--fp-orange:#ffb000;--fp-red:#e63b2e;--fp-bg:#f5f8fb;--fp-line:#e2eaf2;--fp-muted:#687b8e;--fp-radius:14px;--fp-shadow:0 8px 28px rgba(17,49,80,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--fp-navy);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.55}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}.fp-wrap{width:min(1180px,calc(100% - 32px));margin:auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.fp-topbar{background:#0d2844;color:#d9e8f5;font-size:13px}.fp-topbar .fp-wrap{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:20px}.fp-topbar a{color:#fff;font-weight:700}.fp-header-main{min-height:86px;display:grid;grid-template-columns:240px 1fr auto;gap:28px;align-items:center}.fp-brand{display:flex;align-items:center;gap:11px;font-size:25px;font-weight:900;line-height:1}.fp-brand-mark{width:49px;height:49px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#087df5,#0758ba);color:#fff;font-size:26px;box-shadow:inset 0 0 0 5px #ddecff}.custom-logo{max-height:58px;width:auto}.fp-search form{display:flex;border:2px solid var(--fp-blue);border-radius:11px;overflow:hidden;height:48px}.fp-search input{width:100%;border:0;outline:0;padding:0 17px}.fp-search button{border:0;background:var(--fp-blue);color:#fff;font-weight:800;padding:0 22px}.fp-header-actions{display:flex;align-items:center;gap:10px}.fp-icon-link{position:relative;min-width:48px;height:48px;border-radius:10px;background:var(--fp-bg);display:flex;align-items:center;justify-content:center;gap:7px;font-weight:800}.fp-icon-link.cart{padding:0 14px;background:var(--fp-orange)}.fp-cart-count{min-width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--fp-blue);color:#fff;font-size:11px}.fp-nav{border-top:1px solid var(--fp-line);border-bottom:1px solid var(--fp-line);background:#fff}.fp-nav .fp-wrap{display:flex;align-items:center;justify-content:space-between}.fp-menu{display:flex;align-items:center;gap:3px;list-style:none;margin:0;padding:0}.fp-menu li{position:relative;list-style:none}.fp-menu a{display:block;padding:15px 17px;font-size:14px;font-weight:750;white-space:nowrap}.fp-menu a:hover,.fp-menu li:focus-within>a{color:var(--fp-blue);background:#f3f8ff}.fp-menu .menu-item-has-children>a:after{content:"⌄";display:inline-block;margin-left:6px;font-size:12px}.fp-menu .sub-menu{visibility:hidden;opacity:0;transform:translateY(8px);position:absolute;z-index:50;top:100%;left:0;min-width:260px;margin:0;padding:7px 0;background:#fff;border:1px solid var(--fp-line);box-shadow:0 12px 30px rgba(17,49,80,.16);transition:opacity .18s,transform .18s,visibility .18s}.fp-menu li:hover>.sub-menu,.fp-menu li:focus-within>.sub-menu{visibility:visible;opacity:1;transform:translateY(0)}.fp-menu .sub-menu a{padding:12px 20px;font-weight:500;color:#65788b;white-space:normal}.fp-menu .sub-menu a:hover{color:var(--fp-blue);background:#f3f8ff}.fp-menu .sub-menu .sub-menu{top:-7px;left:100%}.fp-nav-sale{font-size:13px;font-weight:850;color:var(--fp-red);white-space:nowrap}.fp-menu-toggle{display:none;border:0;background:var(--fp-blue);color:#fff;border-radius:8px;padding:10px 13px}
.fp-main{min-height:55vh}.fp-hero{margin:22px auto 42px;border-radius:20px;overflow:hidden;min-height:390px;background:linear-gradient(120deg,#0757b8,#0787f4);position:relative;color:#fff;display:flex;align-items:center}.fp-hero:before,.fp-hero:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.08)}.fp-hero:before{width:420px;height:420px;right:-110px;top:-170px}.fp-hero:after{width:260px;height:260px;right:190px;bottom:-160px}.fp-hero-copy{position:relative;z-index:2;width:58%;padding:55px}.fp-kicker{margin:0 0 10px;font-size:12px;letter-spacing:1.8px;font-weight:900;color:#bfe0ff}.fp-hero h1{font-size:clamp(37px,5vw,61px);line-height:1.02;letter-spacing:-2px;margin:0 0 18px}.fp-hero p{font-size:17px;max-width:590px;margin:0 0 26px;color:#e7f3ff}.fp-hero-buttons{display:flex;gap:12px;flex-wrap:wrap}.fp-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 21px;border-radius:10px;background:var(--fp-orange);color:#172a3a;font-weight:900;border:0}.fp-btn.secondary{background:#fff;color:var(--fp-blue)}.fp-hero-art{position:absolute;right:45px;bottom:32px;width:315px;height:315px;border-radius:50%;background:linear-gradient(145deg,#fff,#d4e9ff);box-shadow:0 26px 70px rgba(0,30,80,.28);display:grid;place-items:center;font-size:130px;transform:rotate(-6deg)}
.fp-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:50px}.fp-benefit{display:flex;align-items:center;gap:13px;border:1px solid var(--fp-line);border-radius:var(--fp-radius);padding:18px;background:#fff}.fp-benefit-icon{width:44px;height:44px;border-radius:10px;background:#edf6ff;display:grid;place-items:center;font-size:22px}.fp-benefit strong,.fp-benefit span{display:block}.fp-benefit span{color:var(--fp-muted);font-size:12px;margin-top:2px}.fp-section{padding:10px 0 55px}.fp-section.alt{background:var(--fp-bg);padding-top:48px}.fp-section-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.fp-section-title p{margin:0 0 4px;color:var(--fp-blue);font-size:11px;font-weight:900;letter-spacing:1.4px}.fp-section-title h2{font-size:31px;line-height:1.15;margin:0;letter-spacing:-.8px}.fp-section-title a{color:var(--fp-blue);font-size:14px;font-weight:800}.fp-categories{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.fp-category{min-height:135px;border:1px solid var(--fp-line);border-radius:var(--fp-radius);background:#fff;padding:23px;position:relative;overflow:hidden;box-shadow:0 5px 18px rgba(13,54,90,.05)}.fp-category span{font-size:34px}.fp-category strong{display:block;margin-top:12px}.fp-category small{color:var(--fp-muted)}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{width:auto!important;margin:0!important;background:#fff;border:1px solid var(--fp-line);border-radius:var(--fp-radius);padding:0 0 14px!important;overflow:hidden;box-shadow:0 5px 20px rgba(13,54,90,.06);transition:.2s}.woocommerce ul.products li.product:hover{transform:translateY(-3px);box-shadow:var(--fp-shadow)}.woocommerce ul.products li.product a img{margin:0!important;aspect-ratio:1/1;object-fit:cover;background:#eef3f6}.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:13px 14px 5px!important;font-size:15px!important;color:var(--fp-navy);min-height:58px}.woocommerce ul.products li.product .price{padding:0 14px;color:var(--fp-blue)!important;font-weight:900;font-size:18px!important}.woocommerce ul.products li.product .price del{color:#8d9aaa!important;font-size:12px;font-weight:500}.woocommerce ul.products li.product .button{margin:9px 14px 0!important;background:var(--fp-blue)!important;color:#fff!important;border-radius:8px!important;padding:11px 12px!important;text-align:center;font-size:13px!important}.onsale,.woocommerce span.onsale{top:10px!important;left:10px!important;right:auto!important;min-width:auto!important;min-height:auto!important;line-height:1!important;padding:8px 9px!important;border-radius:7px!important;background:var(--fp-red)!important;font-size:11px!important}.woocommerce .star-rating{margin-left:14px!important}.woocommerce-message,.woocommerce-info{border-top-color:var(--fp-blue)!important}.woocommerce-message:before,.woocommerce-info:before{color:var(--fp-blue)!important}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--fp-blue);color:#fff;border-radius:8px}.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--fp-blue)}.woocommerce-cart table.cart img{width:70px}.cart_totals,.woocommerce-checkout-review-order{border:1px solid var(--fp-line);padding:20px;border-radius:var(--fp-radius)}.fp-content{padding:36px 0 60px}.fp-content h1{font-size:36px}.fp-empty{border:1px dashed #b9cad9;border-radius:14px;padding:35px;text-align:center;background:#f8fbfe}.fp-empty strong{font-size:21px;display:block;margin-bottom:7px}.fp-empty p{color:var(--fp-muted);margin:0}
.single-product .summary>.price .fp-variable-price{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin:6px 0 18px}.fp-price-group{display:inline-flex;align-items:baseline;gap:7px}.fp-price-group small{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.5px}.fp-regular-group small{color:#7b8a99}.fp-regular-group del{color:#8996a3;opacity:1;font-size:17px;font-weight:600}.fp-sale-group small{color:var(--fp-red)}.fp-sale-group ins{color:var(--fp-red);text-decoration:none;font-size:23px;font-weight:900}.fp-price-arrow{color:#9cabb8;font-weight:800}
.woocommerce ul.products li.product .fp-loop-variable-price{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap}.woocommerce ul.products li.product .fp-loop-variable-price del{color:#9aa7b4!important;font-size:12px;font-weight:500}.woocommerce ul.products li.product .fp-loop-variable-price ins{color:var(--fp-blue);text-decoration:none;font-size:17px;font-weight:900}
.woocommerce ul.products li.product{display:flex;flex-direction:column}.woocommerce ul.products li.product .woocommerce-LoopProduct-link{display:flex;flex:1;flex-direction:column}.woocommerce ul.products li.product .fp-view-product{align-self:flex-start}
.fp-footer{background:#0d2844;color:#d3e2ef;padding:45px 0 22px;margin-top:40px}.fp-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:45px}.fp-footer h3{color:#fff;margin:0 0 12px}.fp-footer p{font-size:14px}.fp-footer ul{list-style:none;padding:0;margin:0}.fp-footer li{margin:8px 0}.fp-footer a:hover{color:#fff}.fp-copyright{border-top:1px solid rgba(255,255,255,.12);margin-top:30px;padding-top:19px;font-size:12px;color:#8fa8bc}
@media(max-width:900px){.fp-header-main{grid-template-columns:210px 1fr auto}.fp-header-actions .account-label{display:none}.fp-hero-copy{width:70%;padding:42px}.fp-hero-art{right:10px;width:230px;height:230px;font-size:100px;opacity:.8}.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}.fp-categories{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.fp-wrap{width:min(100% - 22px,1180px)}.fp-topbar .fp-wrap{justify-content:center}.fp-topbar span:last-child{display:none}.fp-header-main{min-height:126px;grid-template-columns:1fr auto;gap:10px;padding:12px 0}.fp-brand{font-size:20px}.fp-search{grid-column:1/-1;grid-row:2}.fp-search form{height:44px}.fp-search button{padding:0 15px}.fp-icon-link.account{display:none}.fp-nav .fp-wrap{display:block;position:relative}.fp-menu-toggle{display:block;margin:8px 0}.fp-menu{display:none;position:absolute;z-index:20;top:53px;left:0;right:0;background:#fff;border:1px solid var(--fp-line);border-radius:10px;box-shadow:var(--fp-shadow);padding:7px}.fp-menu.open{display:block}.fp-menu a{padding:12px}.fp-nav-sale{position:absolute;right:4px;top:14px}.fp-hero{min-height:450px;margin-top:12px;align-items:flex-start}.fp-hero-copy{width:100%;padding:32px 22px}.fp-hero h1{font-size:40px}.fp-hero-art{width:190px;height:190px;font-size:80px;right:20px;bottom:20px}.fp-benefits{grid-template-columns:1fr;gap:8px}.fp-benefit{padding:13px}.fp-section-title h2{font-size:25px}.fp-section-title a{font-size:12px}.fp-categories{grid-template-columns:repeat(2,1fr);gap:9px}.fp-category{padding:16px;min-height:120px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px}.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:9px 9px 3px!important;font-size:13px!important;min-height:54px}.woocommerce ul.products li.product .price{padding:0 9px;font-size:15px!important}.woocommerce ul.products li.product .button{margin:8px 9px 0!important;padding:10px 6px!important;font-size:11px!important}.woocommerce .star-rating{margin-left:9px!important}.fp-footer-grid{grid-template-columns:1fr;gap:20px}.fp-content{padding-top:20px}.fp-content h1{font-size:29px}}
@media(max-width:680px){.fp-menu .sub-menu{visibility:visible;opacity:1;transform:none;position:static;min-width:0;border:0;border-left:2px solid #dce9f5;box-shadow:none;margin:0 0 3px 14px;padding:0}.fp-menu .sub-menu a{padding:10px 14px;font-size:13px}.fp-menu .sub-menu .sub-menu{margin-left:14px}}
