.akstore-category-page #content { padding: 0; background: #f7f8fa; }
.akstore-category-page .page-header { display: none; }
.ak-category-shell { max-width: 1440px; margin: auto; padding: 28px 24px 48px; color: #243128; }
.ak-category-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.ak-eyebrow { color: #777; font-size: 10px; letter-spacing: 1.7px; font-weight: 600; }
.ak-category-top h1 { font-size: 30px; margin: 4px 0 0; }
.ak-category-top > a { font-size: 13px; font-weight: 600; white-space: nowrap; }
.ak-category-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.ak-category-sidebar { position: sticky; top: 100px; background: #fff; border: 1px solid #e9ebed; border-radius: 14px; overflow: hidden; }
.ak-sidebar-heading { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid #eee; }
.ak-sidebar-toggle { border: 1px solid #eee; border-radius: 8px; background: #fafafa; color: #333; width: 36px; min-height: 36px; font-size: 24px; cursor: pointer; }
#ak-category-links { max-height: calc(100dvh - 250px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.ak-category-link { display: flex; align-items: center; gap: 12px; padding: 12px; color: #4e554f; border-left: 3px solid transparent; min-height: 74px; }
.ak-category-link:hover { background: #faf9f2; }
.ak-category-link.is-selected { background: #fff7dc; border-left-color: #e4ae2b; color: #252b25; font-weight: 700; }
.ak-category-thumb { flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center; background: #f5f6f2; border-radius: 12px; overflow: hidden; }
.ak-category-thumb img { width: 100%; height: 100%; object-fit: contain; }
.ak-category-name { font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.ak-category-results { min-width: 0; }
.ak-category-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #757b75; margin-bottom: 16px; }
.ak-subcategories { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; }
.ak-subcategories a { flex-shrink: 0; padding: 9px 14px; border: 1px solid #e4e7e2; border-radius: 20px; background: #fff; color: #444; font-size: 12px; }
.ak-subcategories a:hover { background: #fff7dc; border-color: #e4ae2b; }
.ak-category-description { font-size: 13px; color: #737773; }
.ak-products-toolbar { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin: 8px 0 18px; }
.ak-products-toolbar p { margin: 0; color: #717671; font-size: 13px; }
.ak-products-toolbar form { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.ak-products-toolbar select { max-width: 190px; min-height: 40px; border: 1px solid #e1e4e0; border-radius: 8px; padding: 6px; background: #fff; }
.ak-products-toolbar button { min-height: 40px; border: 0; border-radius: 8px; padding: 6px 12px; background: #f7c548; color: #222; cursor: pointer; }
.ak-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.ak-product-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid #e9ebed; border-radius: 14px; overflow: hidden; }
.ak-product-image { position: relative; display: block; padding: 14px; aspect-ratio: 1; }
.ak-product-image img { width: 100%; height: 100%; object-fit: contain; }
.ak-sale-badge { position: absolute; top: 10px; left: 10px; background: #eaf5e8; color: #386637; font-size: 10px; padding: 2px 7px; border-radius: 4px; }
.ak-product-details { display: flex; flex-direction: column; flex: 1; padding: 0 14px 14px; }
.ak-product-details h2 { margin: 0 0 10px; font-size: 14px; line-height: 1.5; font-weight: 500; }
.ak-product-price { margin-top: auto; font-size: 15px; font-weight: 700; }
.ak-product-price del { font-size: 11px; color: #888; font-weight: 400; }
.ak-product-price ins { background: transparent; text-decoration: none; }
.ak-product-action { margin-top: 12px; }
.ak-product-grid .ak-product-action a.button { display: block; width: 100%; min-height: 40px; border: 1px solid #e7b534; background: #fff8de; color: #4e431d; border-radius: 8px; text-align: center; padding: 9px 4px; font-size: 12px; line-height: 20px; white-space: normal; }
.ak-product-grid .ak-product-action a.button:hover { background: #f7c548; }
.ak-product-action .added_to_cart { display: block; text-align: center; padding-top: 8px; font-size: 12px; }
.ak-category-pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.ak-category-pagination .page-numbers { display: grid; place-items: center; min-width: 40px; min-height: 40px; border-radius: 8px; background: #fff; border: 1px solid #e5e7e2; }
.ak-category-pagination .current { background: #f7c548; color: #222; }
.ak-category-empty { padding: 40px 20px; text-align: center; background: #fff; border-radius: 14px; }
.ak-category-shell a:focus-visible, .ak-category-shell button:focus-visible, .ak-category-shell select:focus-visible { outline: 2px solid #705515; outline-offset: 2px; }
.ak-category-layout.is-collapsed { grid-template-columns: 84px minmax(0,1fr); }
.is-collapsed .ak-sidebar-heading { justify-content: center; }
.is-collapsed .ak-sidebar-heading strong { display: none; }
.is-collapsed .ak-category-link { flex-direction: column; gap: 6px; padding: 10px 4px; text-align: center; }
.is-collapsed .ak-category-name { font-size: 10px; }
@media(max-width:1199px) {
    .ak-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .ak-category-layout { grid-template-columns: 200px minmax(0,1fr); gap: 16px; }
    .ak-category-sidebar { top: 80px; }
}
@media(max-width:767px) {
    .ak-category-shell { padding: 18px 10px 24px 0; }
    .ak-category-top { padding-left: 14px; margin-bottom: 18px; }
    .ak-category-top h1 { font-size: 22px; line-height: 1.25; }
    .ak-category-top > a { font-size: 11px; }
    .ak-eyebrow { font-size: 8px; letter-spacing: 1px; }
    .ak-category-layout, .ak-category-layout.is-collapsed { grid-template-columns: 80px minmax(0,1fr); gap: 10px; }
    .ak-category-sidebar { top: 76px; border-radius: 0 12px 12px 0; }
    .ak-sidebar-heading { padding: 12px 2px; justify-content: center; }
    .ak-sidebar-heading strong { font-size: 10px; }
    .ak-sidebar-toggle { display: none; }
    #ak-category-links { max-height: calc(100dvh - 200px); }
    .ak-category-link { flex-direction: column; gap: 6px; padding: 10px 4px; text-align: center; }
    .ak-category-name { font-size: 10px; line-height: 1.35; }
    .ak-category-thumb { width: 42px; height: 42px; flex-basis: 42px; }
    .ak-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
    .ak-products-toolbar { flex-direction: column; align-items: stretch; gap: 8px; margin: 6px 0 12px; }
    .ak-products-toolbar form { gap: 4px; }
    .ak-products-toolbar label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .ak-products-toolbar select { flex: 1; min-width: 0; max-width: none; width: 100%; font-size: 11px; }
    .ak-products-toolbar button { font-size: 11px; padding: 5px 8px; }
    .ak-product-image { padding: 8px; }
    .ak-product-details { padding: 0 8px 10px; }
    .ak-product-details h2 { font-size: 11px; line-height: 1.4; margin-bottom: 8px; }
    .ak-product-price { font-size: 13px; }
    .ak-product-price del { display: block; font-size: 10px; }
    .ak-product-grid .ak-product-action a.button { font-size: 10px; padding: 7px 2px; }
    .ak-subcategories a { font-size: 11px; padding: 8px 10px; }
    .ak-category-breadcrumb { font-size: 10px; gap: 5px; margin-bottom: 10px; }
}
.ak-product-details h2 a, .ak-category-top > a, .ak-category-breadcrumb a { color: #28352d; }
.ak-product-details h2 a:hover { color: #866015; }
