/* Albulya Catalog: child-owned desktop presentation. Commerce hooks stay in
   the parent. Important bridges are limited to incumbent important utilities. */
.ac-category-rail,.ac-desktop-product-grid{display:none}
.ac-cart-label{display:none}
@media(min-width:992px){
    body[data-albulya-theme="catalog"]{--ac-primary:var(--primary-color,#4b1d96);--ac-ink:var(--brand-ink,#2e1065);--ac-muted:var(--brand-muted,#706780);--ac-line:var(--brand-border,#e5dff0);--ac-surface:var(--brand-surface,#fff);--ac-wash:#f8f7fa;--ac-yellow:#ffc629;background:var(--ac-surface);color:var(--ac-ink);caret-color:var(--ac-primary);scrollbar-color:#a89abd #f4f1f8}
    body[data-albulya-theme="catalog"] ::selection{background:#e8def8;color:#2e1065}
    body[data-albulya-theme="catalog"] :focus-visible{outline:2px solid var(--ac-primary);outline-offset:3px}
    body[data-albulya-theme="catalog"] .container{max-width:var(--catalog-width,1440px)!important;padding-inline:28px!important}
    body[data-albulya-theme="catalog"] a{text-underline-offset:3px}
    body[data-albulya-theme="catalog"] .p360-utility{background:var(--ac-surface);border:0;min-height:28px}
    body[data-albulya-theme="catalog"] .p360-utility a{font-size:11px}
    body[data-albulya-theme="catalog"] .tp-header-main{padding-block:14px!important;border-bottom:1px solid var(--ac-line)}
    body[data-albulya-theme="catalog"] .tp-header-main>.container>.row{min-height:62px!important}
    body[data-albulya-theme="catalog"] .p360-header-logo img{max-width:175px!important;width:175px!important;height:auto!important;max-height:62px!important;object-fit:contain}
    body[data-albulya-theme="catalog"] .tp-header-search-box input{height:46px!important;font-size:14px!important;padding-inline:18px!important;border:0!important;background:var(--ac-surface)}
    body[data-albulya-theme="catalog"] .tp-header-search-wrapper{border-radius:8px!important;border-color:var(--ac-line)!important;box-shadow:none!important}
    body[data-albulya-theme="catalog"] .tp-header-search-wrapper:focus-within{border-color:var(--ac-primary)!important;box-shadow:0 0 0 2px #4b1d9618!important}
    body[data-albulya-theme="catalog"] .tp-header-search-btn button{height:46px!important;min-width:54px!important;border-radius:0 7px 7px 0!important}
    body[data-albulya-theme="catalog"] .tp-header-login>a,body[data-albulya-theme="catalog"] .p360-cart-action{min-height:46px!important;border-radius:8px!important;background:var(--ac-surface)!important;box-shadow:none}
    body[data-albulya-theme="catalog"] .tp-header-bottom{border-bottom:1px solid var(--ac-line)!important}
    body[data-albulya-theme="catalog"] .p360-desktop-rail{min-height:48px!important}
    body[data-albulya-theme="catalog"] .p360-desktop-rail__categories .tp-main-menu-content>ul>li>a{padding-block:14px!important}
    body[data-albulya-theme="catalog"]:has(.ac-category-rail) .tp-header-bottom{display:none!important}
    body[data-albulya-theme="catalog"] .breadcrumb__area{background:var(--ac-wash)!important;padding-block:20px!important;border-bottom:1px solid var(--ac-line)}
    body[data-albulya-theme="catalog"] .breadcrumb__area .breadcrumb__content{padding:0!important}
    body[data-albulya-theme="catalog"] .breadcrumb__title{font-size:26px!important;line-height:1.25;color:var(--ac-ink)!important;margin-bottom:8px}
    body[data-albulya-theme="catalog"] .breadcrumb__list,body[data-albulya-theme="catalog"] .breadcrumb__list span,body[data-albulya-theme="catalog"] .breadcrumb__list a{color:var(--ac-muted)!important;font-size:12px}

    /* Homepage topology: one category directory beside the managed feed. */
    body[data-albulya-theme="catalog"] .ac-home-shell{max-width:var(--catalog-width,1440px);margin:0 auto;padding:20px 28px 48px;display:grid;grid-template-columns:var(--catalog-rail-width,220px) minmax(0,1fr);gap:24px;align-items:start}
    body[data-albulya-theme="catalog"] .ac-category-rail{display:block;position:sticky;top:18px;z-index:20;background:var(--ac-primary);color:#fff;border-radius:12px;padding:8px 0 14px;min-height:600px}
    body[data-albulya-theme="catalog"] .ac-category-rail h2{color:#fff;font-size:17px;font-weight:700;padding:16px 18px 14px;margin:0}
    body[data-albulya-theme="catalog"] .ac-all-products{display:flex;align-items:center;gap:10px;padding:13px 18px;background:var(--ac-yellow);color:#2e1065;font-size:13px;font-weight:700}
    body[data-albulya-theme="catalog"] .ac-directory,body[data-albulya-theme="catalog"] .ac-category-columns ul{list-style:none;padding:0;margin:0}
    body[data-albulya-theme="catalog"] .ac-directory>li{margin:0;position:static}
    body[data-albulya-theme="catalog"] .ac-category-group{position:static}
    body[data-albulya-theme="catalog"] .ac-category-group>summary,body[data-albulya-theme="catalog"] .ac-directory-link{display:flex;align-items:center;gap:10px;min-height:46px;padding:12px 18px;color:#fff;font-size:13px;line-height:1.4;cursor:pointer;list-style:none}
    body[data-albulya-theme="catalog"] .ac-category-group>summary::-webkit-details-marker{display:none}
    body[data-albulya-theme="catalog"] .ac-category-group>summary span,body[data-albulya-theme="catalog"] .ac-directory-link span{flex:1;min-width:0}
    body[data-albulya-theme="catalog"] .ac-category-rail svg{width:18px;height:18px;flex:none}
    body[data-albulya-theme="catalog"] .ac-directory-link:hover,body[data-albulya-theme="catalog"] .ac-category-group>summary:hover,body[data-albulya-theme="catalog"] .ac-category-group[open]>summary{background:#ffffff18;color:#fff}
    body[data-albulya-theme="catalog"] .ac-category-group[open]>summary>svg:last-child{transform:rotate(90deg)}
    body[data-albulya-theme="catalog"] .ac-category-panel{position:absolute;left:100%;top:0;width:min(760px,calc(100vw - var(--catalog-rail-width) - 100px));max-height:75vh;overflow:auto;padding:24px;background:var(--ac-surface);color:var(--ac-ink);box-shadow:0 12px 36px #26104322;border-radius:0 12px 12px 0}
    body[data-albulya-theme="catalog"] .ac-category-all{display:flex;align-items:center;gap:10px;color:var(--ac-primary);font-size:16px;font-weight:700;padding:0 0 18px;border-bottom:1px solid var(--ac-line)}
    body[data-albulya-theme="catalog"] .ac-category-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding-top:20px}
    body[data-albulya-theme="catalog"] .ac-category-columns h3{font-size:13px;line-height:1.5;margin:0 0 8px}
    body[data-albulya-theme="catalog"] .ac-category-columns li a{display:block;padding:7px 0;color:var(--ac-muted);font-size:12px;line-height:1.5}
    body[data-albulya-theme="catalog"] .ac-category-columns a:hover{color:var(--ac-primary);text-decoration:underline}
    body[data-albulya-theme="catalog"] .ac-home-feed{display:flex;flex-direction:column;min-width:0}
    body[data-albulya-theme="catalog"] .ac-home-feed>.p360-spotlight{order:-3}
    body[data-albulya-theme="catalog"] .ac-home-feed>.ac-desktop-product-grid{order:-2}
    body[data-albulya-theme="catalog"] .ac-home-feed>.p360-quick-campaigns{order:2}
    body[data-albulya-theme="catalog"] .ac-home-feed>.p360-seo-about{order:5}
    body[data-albulya-theme="catalog"] .ac-home-feed .container{max-width:100%!important;padding-inline:0!important}
    body[data-albulya-theme="catalog"] .ac-home-feed .p360-spotlight{background:transparent!important;padding:0 0 16px!important}
    body[data-albulya-theme="catalog"] .ac-home-feed .p360-spotlight-grid{display:block;height:auto}
    body[data-albulya-theme="catalog"] .ac-home-feed .p360-spotlight-stage{border-radius:10px;background:transparent;min-height:0;height:auto;aspect-ratio:auto}
    body[data-albulya-theme="catalog"] .ac-home-feed .p360-spotlight-slides{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;height:auto!important;aspect-ratio:auto!important;overflow:visible}
    body[data-albulya-theme="catalog"] .ac-home-feed .p360-spotlight-slide{position:static!important;display:block!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;border-radius:10px;overflow:hidden;transform:none!important}
    body[data-albulya-theme="catalog"] .ac-home-feed .p360-spotlight-slide picture,body[data-albulya-theme="catalog"] .ac-home-feed .p360-spotlight-slide img{display:block;width:100%;height:auto!important;aspect-ratio:2/1;object-fit:contain!important}
    body[data-albulya-theme="catalog"] .ac-home-feed .p360-spotlight-controls{display:none}
    body[data-albulya-theme="catalog"] .ac-home-feed .p360-spotlight-products{margin-top:18px;height:auto;overflow:visible}
    body[data-albulya-theme="catalog"] .ac-home-feed .p360-spotlight-products h2{font-size:16px;margin:0 0 10px}
    body[data-albulya-theme="catalog"] .ac-home-feed .p360-spotlight-product-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;overflow:visible}
    body[data-albulya-theme="catalog"] .ac-home-feed .p360-spotlight-product{min-width:0;min-height:84px;padding:10px;border:1px solid var(--ac-line);border-radius:10px;box-shadow:none}
    body[data-albulya-theme="catalog"] .ac-home-feed .p360-spotlight-product-image{width:48px!important;height:48px!important;flex:0 0 48px}
    body[data-albulya-theme="catalog"] .ac-home-feed .p360-spotlight-product-copy{min-width:0}
    body[data-albulya-theme="catalog"] .ac-home-feed .p360-spotlight-product-copy>a{font-size:11px;line-height:1.4}
    body[data-albulya-theme="catalog"] .ac-home-feed .p360-spotlight-product strong{font-size:16px}
    body[data-albulya-theme="catalog"] .ac-home-feed .p360-spotlight-product .p360-card-cart{width:32px;height:36px;flex:0 0 32px}

    /* Cards share the existing wishlist, variation, price and cart handlers. */
    body[data-albulya-theme="catalog"] .ac-desktop-product-grid{display:block}
    body[data-albulya-theme="catalog"] .ac-mobile-product-slider{display:none}
    body[data-albulya-theme="catalog"] .ac-products-section{padding:18px 0 24px}
    body[data-albulya-theme="catalog"] .ac-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
    body[data-albulya-theme="catalog"] .ac-section-head>a{flex:none;font-size:12px;color:var(--ac-primary)}
    body[data-albulya-theme="catalog"] .tp-section-title,body[data-albulya-theme="catalog"] .tp-section-title-2{font-size:23px!important;line-height:1.3!important;font-weight:700!important;letter-spacing:-.02em;margin:0}
    body[data-albulya-theme="catalog"] .tp-product-item{border:1px solid var(--ac-line)!important;box-shadow:none!important;border-radius:10px!important;margin-bottom:18px!important;min-height:0!important;background:var(--ac-surface);overflow:hidden;transition:border-color .18s ease}
    body[data-albulya-theme="catalog"] .tp-product-item:hover{border-color:#ab8ed5!important;transform:none!important;box-shadow:none!important}
    body[data-albulya-theme="catalog"] .tp-product-item .tp-product-thumb{padding:12px!important;border:0!important;border-radius:0!important;height:clamp(140px,14vw,185px)!important;min-height:0!important;aspect-ratio:auto}
    body[data-albulya-theme="catalog"] .tp-product-thumb>a{height:100%;display:flex;align-items:center;justify-content:center}
    body[data-albulya-theme="catalog"] .tp-product-thumb img{height:100%!important;max-height:190px!important;width:100%!important;object-fit:contain!important}
    body[data-albulya-theme="catalog"] .tp-product-item .tp-product-content{padding:12px!important}
    body[data-albulya-theme="catalog"] .tp-product-item .tp-product-title{font-size:13px!important;line-height:1.5!important;min-height:39px;font-weight:600!important;margin-bottom:8px}
    body[data-albulya-theme="catalog"] .tp-product-item .tp-product-price.new-price{font-size:20px!important;font-weight:700!important;color:var(--ac-ink)!important;font-variant-numeric:tabular-nums;white-space:normal}
    body[data-albulya-theme="catalog"] .tp-product-item .tp-product-price.old-price{font-size:11px!important;color:var(--ac-muted)!important}
    body[data-albulya-theme="catalog"] .p360-product-card-footer{align-items:end;gap:8px;flex-wrap:wrap}
    body[data-albulya-theme="catalog"] .p360-product-card-cart{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;padding:8px 10px!important;width:auto!important;height:auto!important;background:var(--ac-primary)!important;color:#fff!important;border:0!important;border-radius:6px!important;min-width:38px;min-height:38px;margin-left:auto}
    body[data-albulya-theme="catalog"] .ac-cart-label{display:inline;font-size:11px;line-height:1.4;white-space:nowrap}
    body[data-albulya-theme="catalog"] .p360-product-card-cart:disabled{opacity:.5;cursor:not-allowed}
    body[data-albulya-theme="catalog"] .p360-product-card-cart:hover{background:var(--ac-ink)!important}
    body[data-albulya-theme="catalog"] .tp-product-category{font-size:11px}
    body[data-albulya-theme="catalog"] .tp-product-rating-row{font-size:11px}
    body[data-albulya-theme="catalog"] .p360-campaign-card{border-radius:10px!important;box-shadow:none!important}

    /* Category and search: real filters keep their original inputs and hooks. */
    body[data-albulya-theme="catalog"] .tp-shop-area>.container{padding-top:28px!important}
    body[data-albulya-theme="catalog"] .bb-filter-offcanvas-wrapper{background:var(--ac-wash);padding:20px;border-radius:12px}
    body[data-albulya-theme="catalog"] .tp-shop-widget{margin-bottom:22px;padding-bottom:20px;border-bottom:1px solid var(--ac-line)}
    body[data-albulya-theme="catalog"] .tp-shop-widget-title{font-size:15px;font-weight:700}
    body[data-albulya-theme="catalog"] .tp-shop-top{border-bottom:1px solid var(--ac-line);padding-bottom:16px;margin-bottom:22px}
    body[data-albulya-theme="catalog"] .tp-shop-main-wrapper{padding-left:8px}

    /* Product: photo, decision area and real merchant remain in their columns. */
    body[data-albulya-theme="catalog"].single-product .tp-product-details-area{padding-top:30px!important}
    body[data-albulya-theme="catalog"] .tp-product-details-thumb-wrapper{border-radius:12px!important;border:1px solid var(--ac-line)!important;box-shadow:none!important}
    body[data-albulya-theme="catalog"] .tp-product-details-title{font-size:28px!important;line-height:1.25!important;font-weight:700!important;letter-spacing:-.02em}
    body[data-albulya-theme="catalog"] .tp-product-details-price-wrapper{margin-block:18px!important}
    body[data-albulya-theme="catalog"] .tp-product-details-price.new-price{font-size:30px!important;color:var(--ac-ink)!important;font-weight:700!important;font-variant-numeric:tabular-nums}
    body[data-albulya-theme="catalog"] .tp-product-details-description{font-size:13px;line-height:1.8;color:var(--ac-muted)}
    body[data-albulya-theme="catalog"] .tp-product-details-add-to-cart-btn,body[data-albulya-theme="catalog"] .tp-product-details-buy-now-btn{min-height:48px;border-radius:8px!important}
    body[data-albulya-theme="catalog"] .p360-product-store,body[data-albulya-theme="catalog"] .tp-product-details-payment,body[data-albulya-theme="catalog"] .p360-product-trust{box-shadow:none!important;border-radius:12px!important}
    body[data-albulya-theme="catalog"] .tp-product-details-tab-nav{border-bottom:1px solid var(--ac-line)}
    body[data-albulya-theme="catalog"] .tp-product-details-tab-nav button{font-size:14px}

    /* Cart: native totals, coupon validation and checkout are not replaced. */
    body[data-albulya-theme="catalog"] .tp-cart-area{padding-top:32px;padding-bottom:64px}
    body[data-albulya-theme="catalog"] .tp-cart-list{border:1px solid var(--ac-line);border-radius:12px;overflow:hidden;margin-right:24px!important}
    body[data-albulya-theme="catalog"] .tp-cart-list table{margin:0;background:var(--ac-surface)}
    body[data-albulya-theme="catalog"] .tp-cart-list thead{background:var(--ac-wash)}
    body[data-albulya-theme="catalog"] .tp-cart-list th{font-size:12px;font-weight:600;padding:16px;color:var(--ac-muted)}
    body[data-albulya-theme="catalog"] .tp-cart-list td{padding:20px 14px;border-color:var(--ac-line);font-size:14px}
    body[data-albulya-theme="catalog"] .tp-cart-title a{font-size:14px!important;line-height:1.5}
    body[data-albulya-theme="catalog"] .tp-cart-checkout-wrapper{background:var(--ac-wash)!important;padding:24px;border-radius:12px!important;box-shadow:none!important}
    body[data-albulya-theme="catalog"] .tp-cart-checkout-total-price{font-variant-numeric:tabular-nums}
    body[data-albulya-theme="catalog"] .tp-cart-coupon-input input{border:1px solid var(--ac-line);border-radius:8px 0 0 8px;height:46px}
    body[data-albulya-theme="catalog"] .tp-cart-coupon-input button{height:46px;border-radius:0 8px 8px 0;background:var(--ac-primary);color:#fff}

    /* Content / support and real auth form share one quiet field language. */
    body[data-albulya-theme="catalog"] .tp-page-area{padding-top:32px!important}
    body[data-albulya-theme="catalog"] .tp-page-area>.container>.ck-content{max-width:78ch;margin-inline:auto;font-size:15px;line-height:1.85}
    body[data-albulya-theme="catalog"] .al-support{background:var(--ac-surface);padding-block:36px 64px}
    body[data-albulya-theme="catalog"] .al-support-heading{background:transparent!important;color:var(--ac-ink)!important;border:0!important;border-radius:0!important;padding:0 0 28px!important}
    body[data-albulya-theme="catalog"] .al-support-heading h1{color:var(--ac-ink)!important;font-size:32px;font-weight:700}
    body[data-albulya-theme="catalog"] .al-support-heading p{color:var(--ac-muted)!important;font-size:14px}
    body[data-albulya-theme="catalog"] .al-support-layout{grid-template-columns:minmax(260px,.8fr) minmax(0,1.4fr);gap:40px}
    body[data-albulya-theme="catalog"] .al-support-aside{padding:24px;background:var(--ac-wash);border-radius:12px}
    body[data-albulya-theme="catalog"] .al-support-message{border:1px solid var(--ac-line);box-shadow:none;border-radius:12px;padding:28px}
    body[data-albulya-theme="catalog"] .p360-auth-shell:not(.p360-auth-vendor){max-width:520px!important;margin:40px auto 64px!important;padding:28px!important;background:var(--ac-surface)!important;border:1px solid var(--ac-line)!important;border-radius:12px!important;box-shadow:none!important}
    body[data-albulya-theme="catalog"] .p360-auth-shell:not(.p360-auth-vendor) .p360-auth-form{width:100%;max-width:none!important;padding:0!important;border:0!important;box-shadow:none!important}
    body[data-albulya-theme="catalog"] .p360-auth-shell:not(.p360-auth-vendor) input:not([type=checkbox]):not([type=radio]):not([type=hidden]),body[data-albulya-theme="catalog"] .al-support-message input:not([type=checkbox]):not([type=radio]):not([type=hidden]),body[data-albulya-theme="catalog"] .al-support-message select{border:1px solid var(--ac-line)!important;border-radius:8px!important;min-height:46px;background:var(--ac-surface);color:var(--ac-ink)}
    body[data-albulya-theme="catalog"] .p360-auth-shell:not(.p360-auth-vendor) button[type=submit]{min-height:46px;border-radius:8px!important}
    body[data-albulya-theme="catalog"] .p360-auth-shell:not(.p360-auth-vendor) h1,body[data-albulya-theme="catalog"] .p360-auth-shell:not(.p360-auth-vendor) h2{font-size:26px!important;line-height:1.3;font-weight:700!important}
    body[data-albulya-theme="catalog"] .p360-footer{margin-top:16px}
}
@media(min-width:992px) and (max-width:1199.98px){
    body[data-albulya-theme="catalog"] .ac-home-shell{grid-template-columns:200px minmax(0,1fr);gap:18px;padding-inline:20px}
    body[data-albulya-theme="catalog"] .ac-home-feed .p360-spotlight-slides{grid-template-columns:repeat(2,minmax(0,1fr))}
    body[data-albulya-theme="catalog"] .ac-home-feed .p360-spotlight-product-list{grid-template-columns:1fr}
    body[data-albulya-theme="catalog"] .ac-category-columns{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){
    body[data-albulya-theme="catalog"] .tp-product-item{transition:none}
}
