/* AMS Fashion x Stitch: shared frontend style, scoped to public theme body only.
   Keep original Ninico CSS and ecommerce classes intact. */
:root{--ams-primary:#b80035;--ams-primary-hover:#92002a;--ams-text:#131b2e;--ams-muted:#5c3f40;--ams-line:#eadfe2;--ams-surface:#faf8ff;--ams-font:'Plus Jakarta Sans',sans-serif;--ams-radius:14px;--ams-shadow:0 12px 38px rgba(47,13,27,.075)}
html{scroll-behavior:smooth}
body.ams-stitch-store{font-family:var(--ams-font)!important;background:#fff;color:var(--ams-text);font-size:14px;line-height:1.65;-webkit-font-smoothing:antialiased}
.ams-stitch-store :is(h1,h2,h3,h4,h5,h6,button,input,select,textarea,a){font-family:var(--ams-font)}
.ams-stitch-store :is(h1,h2,h3,h4,h5,h6){color:var(--ams-text);font-weight:750;letter-spacing:-.035em}
.ams-stitch-store a{transition:color .2s ease,opacity .2s ease}
.ams-stitch-store a:hover{color:var(--ams-primary)}
.ams-stitch-store :is(a,button,input,select,textarea):focus-visible{outline:3px solid rgba(184,0,53,.34);outline-offset:3px}
.ams-stitch-store :is(.container,.container-xl){max-width:1320px}
.ams-stitch-store :is(.tp-btn,.tp-btn-2,.btn-primary,.button-primary,button[type='submit']):not(.ams-slide-arrow){border-radius:9px;transition:transform .2s,box-shadow .2s,background-color .2s}
.ams-stitch-store :is(.tp-btn,.tp-btn-2,.btn-primary):hover{transform:translateY(-2px);box-shadow:0 9px 25px rgba(184,0,53,.16)}
.ams-stitch-store :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-radius:9px;max-width:100%;border-color:var(--ams-line)}
.ams-stitch-store :is(input,textarea,select):focus{border-color:var(--ams-primary)}
/* Existing AMS custom header */
.ams-stitch-store .ams-header{background:#fff;border-bottom:1px solid #f1e8e9;z-index:101}
.ams-stitch-store .ams-header-main{background:#fff}
.ams-stitch-store .ams-header-inner{min-height:76px;display:flex;justify-content:space-between;align-items:center;gap:28px}
.ams-stitch-store .ams-header-logo img{max-height:54px;width:auto;object-fit:contain}
.ams-stitch-store .ams-menu-list{display:flex;align-items:center;gap:clamp(14px,2vw,32px);list-style:none;padding:0;margin:0}
.ams-stitch-store .ams-menu-list li{margin:0;list-style:none}
.ams-stitch-store .ams-menu-list a{font-size:12px;letter-spacing:.045em;font-weight:700;text-transform:uppercase;color:var(--ams-text);text-decoration:none}
.ams-stitch-store .ams-menu-list a:hover{color:var(--ams-primary)}
.ams-stitch-store .ams-header-icons{display:flex;align-items:center;gap:10px}
.ams-stitch-store .ams-icon-link{width:36px;height:36px;display:grid;place-items:center;border:1px solid #eedee2;border-radius:50%;color:var(--ams-primary);text-decoration:none}
.ams-stitch-store .ams-icon-link:hover{background:#fff1f4;color:var(--ams-primary-hover)}
/* Product catalog and all shared cards */
.ams-stitch-store :is(.tpproduct,.tpproduct__thumb,.tpproduct-item,.product-item,.tpproduct__item,.product-card){border-radius:var(--ams-radius);overflow:hidden}
.ams-stitch-store :is(.tpproduct,.tpproduct-item,.tpproduct__item,.product-card){transition:transform .2s ease,box-shadow .2s ease;background:#fff}
.ams-stitch-store :is(.tpproduct,.tpproduct-item,.tpproduct__item,.product-card):hover{transform:translateY(-3px);box-shadow:var(--ams-shadow)}
.ams-stitch-store :is(.tpproduct__thumb,.product-thumbnail,.tpproduct__thumbitem){background:#fbf8f8}
.ams-stitch-store :is(.tpproduct__thumb,.product-item .image-wrap) img{width:100%;object-fit:contain}
.ams-stitch-store :is(.product-filter-content,.product-filter-mobile__inner,.tpproduct-details__content,.cart-form,.bb-ecommerce-table,.auth-form){border-radius:var(--ams-radius)}
.ams-stitch-store .product-filter-content{padding:16px;background:var(--ams-surface);border:1px solid var(--ams-line)}
.ams-stitch-store .product-filter-mobile__content{background:#fff}
.ams-stitch-store :is(.tpproduct-details__title,.product-name){letter-spacing:-.025em}
.ams-stitch-store :is(.tpproduct-details__price,.tpproduct__price,.price){font-weight:700;color:var(--ams-primary)}
.ams-stitch-store :is(.table-content,.table-responsive){border:1px solid var(--ams-line);border-radius:var(--ams-radius);overflow-x:auto}
.ams-stitch-store .table thead{background:#faf4f6}
.ams-stitch-store .table :is(td,th){padding:15px;border-color:#f2e9ec;vertical-align:middle}
.ams-stitch-store .pagination .page-link{border-radius:9px;margin:0 3px}
.ams-stitch-store .breadcrumb-area{background:var(--ams-surface)}
/* Checkout, customer account, authentication, review, order tracking */
.ams-stitch-store :is(.checkout-area,.checkout-form,.account-area,.profile-content,.customer-page,.login-area,.register-area,.order-tracking-area,.contact-area,.blog-area,.postbox-area){accent-color:var(--ams-primary)}
.ams-stitch-store :is(.checkout-area,.account-area,.login-area,.register-area,.order-tracking-area) :is(.card,.form-control,.form-select){border-radius:10px}
.ams-stitch-store :is(.checkout-area,.account-area,.login-area,.register-area,.order-tracking-area) .card{border-color:var(--ams-line);box-shadow:0 4px 24px rgba(47,13,27,.04)}
.ams-stitch-store :is(.checkout-area,.account-area,.login-area,.register-area,.order-tracking-area) :is(.btn-primary,.btn-success){background:var(--ams-primary);border-color:var(--ams-primary)}
.ams-stitch-store .ams-footer{background:#261923;color:#fdf6f7}
.ams-stitch-store .ams-footer :is(a,p,span){color:inherit}
.ams-stitch-store .ams-footer :is(h3,h4,h5,strong){color:#fff}
.ams-stitch-store .ams-footer a:hover{color:#ffd5df}
/* Dynamic promo slider: respects all uploaded CMS slider item data */
.ams-stitch-store .ams-stitch-slider{position:relative;background:#fff9fa;overflow:hidden}
.ams-stitch-store .ams-stitch-slider .swiper-slide{min-height:clamp(330px,38vw,540px)}
.ams-stitch-store .ams-stitch-slider .tpslidertwo__title{font-size:clamp(30px,3.7vw,56px);line-height:1.13;max-width:600px}
.ams-stitch-store .ams-stitch-slider .tpslidertwo__img img{max-height:500px;width:auto;max-width:100%;object-fit:contain}
.ams-stitch-store .ams-stitch-slider .ams-slide-arrow{position:absolute;top:49%;z-index:3;display:grid;place-items:center;width:44px;height:44px;background:#fff;border:1px solid #eddde2;color:var(--ams-primary);border-radius:50%;box-shadow:0 4px 20px #3500161a;cursor:pointer}
.ams-stitch-store .ams-stitch-slider .ams-slide-prev{left:12px}
.ams-stitch-store .ams-stitch-slider .ams-slide-next{right:12px}
.ams-stitch-store .ams-stitch-slider .swiper-pagination-bullet{width:9px;height:9px}
.ams-stitch-store .ams-stitch-slider .swiper-pagination-bullet-active{background:var(--ams-primary)}
@media(min-width:992px){.ams-stitch-store .ams-header{position:sticky;top:0}}
@media(max-width:991px){.ams-stitch-store .ams-header-inner{flex-wrap:wrap;justify-content:center;gap:12px;padding:12px 0}.ams-stitch-store .ams-menu-list{flex-wrap:wrap;justify-content:center;gap:8px 16px}.ams-stitch-store .ams-menu-list a{font-size:11px}.ams-stitch-store .ams-stitch-slider .swiper-slide{min-height:340px}}
@media(max-width:575px){.ams-stitch-store .ams-header-inner{gap:10px}.ams-stitch-store .ams-header-nav{width:100%;overflow-x:auto}.ams-stitch-store .ams-menu-list{width:max-content;min-width:100%;flex-wrap:nowrap;white-space:nowrap;justify-content:flex-start;padding:3px 6px}.ams-stitch-store .ams-icon-link{width:32px;height:32px}.ams-stitch-store .ams-stitch-slider .tpslidertwo__title{font-size:30px}.ams-stitch-store .ams-stitch-slider .ams-slide-arrow{width:32px;height:32px;top:55%}.ams-stitch-store .ams-stitch-slider .slider-top-padding{padding-top:32px}.ams-stitch-store .table :is(td,th){padding:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ams-stitch-store *, .ams-stitch-store *:before,.ams-stitch-store *:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}


/* ===== AMS Stitch Stage 2: catalog, category and product carousel ===== */
.ams-stitch-store .ams-section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px;gap:16px}
.ams-stitch-store .ams-eyebrow{display:block;color:#ab1941;font-size:11px;font-weight:800;letter-spacing:.16em;margin-bottom:10px}
.ams-stitch-store .ams-section-heading h2,.ams-stitch-store .ams-catalog-intro h2{font-size:clamp(27px,3vw,40px);line-height:1.15;margin:0 0 10px}
.ams-stitch-store .ams-section-heading p,.ams-stitch-store .ams-catalog-intro p{color:#776b70;margin:0;font-size:14px}
.ams-stitch-store .ams-stitch-collections{padding:68px 0;background:#fff}
.ams-stitch-store .ams-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.ams-stitch-store .ams-category-card{display:block;border-radius:15px;overflow:hidden;background:#faf5f5;border:1px solid #f2e9ea;text-decoration:none;transition:box-shadow .22s,transform .22s}
.ams-stitch-store .ams-category-card:hover{transform:translateY(-4px);box-shadow:0 16px 36px #3e17231c}
.ams-stitch-store .ams-category-image{aspect-ratio:4/4.6;overflow:hidden;background:#f8f4f4}
.ams-stitch-store .ams-category-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.ams-stitch-store .ams-category-card:hover .ams-category-image img{transform:scale(1.045)}
.ams-stitch-store .ams-category-body{padding:19px 20px 22px}
.ams-stitch-store .ams-category-body h3{font-size:18px;line-height:1.35;margin:0 0 7px;color:#341d25}
.ams-stitch-store .ams-category-body span{font-size:12px;font-weight:750;color:#9d1c43}
.ams-stitch-store .ams-stitch-products,.ams-stitch-store .ams-stitch-product-carousel{padding-top:65px;padding-bottom:65px;background:#fff!important}
.ams-stitch-store .ams-stitch-products .tpsection__title,.ams-stitch-store .ams-stitch-product-carousel .tpsection__title{font-size:clamp(25px,2.5vw,35px);line-height:1.2}
.ams-stitch-store .ams-stitch-products .tpnavbar .nav-tabs{border:0;display:flex;flex-wrap:wrap;gap:9px;justify-content:flex-end}
.ams-stitch-store .ams-stitch-products .tpnavbar .nav-tabs .nav-link{border:1px solid transparent;border-radius:999px;padding:9px 15px;font-size:12px;font-weight:700;color:#4a3640;background:transparent}
.ams-stitch-store .ams-stitch-products .tpnavbar .nav-tabs .nav-link.active,.ams-stitch-store .ams-stitch-products .tpnavbar .nav-tabs .nav-link:hover{background:#8f1536;color:white;border-color:#8f1536}
.ams-stitch-store .ams-stitch-product-card{border:1px solid #eee4e6;background:#fff;border-radius:13px;padding-bottom:12px;overflow:hidden;box-shadow:none;min-height:100%}
.ams-stitch-store .ams-stitch-product-card .tpproduct__thumb{border-radius:0;background:#f8f4f4;overflow:hidden}
.ams-stitch-store .ams-stitch-product-card .tpproduct__thumb>a{display:block;aspect-ratio:4/5}
.ams-stitch-store .ams-stitch-product-card .tpproduct__thumb>a img{width:100%;height:100%;object-fit:contain}
.ams-stitch-store .ams-stitch-product-card .tpproduct__content{padding:14px 15px 10px}
.ams-stitch-store .ams-stitch-product-card .tpproduct__title{font-weight:750;font-size:14px;line-height:1.5;margin-bottom:9px}
.ams-stitch-store .ams-stitch-product-card .tpproduct__thumb-topsall{background:#8f1536!important;border-radius:5px}
.ams-stitch-store .ams-stitch-product-card .tpproduct__priceinfo-list{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.ams-stitch-store .ams-stitch-product-card .tpproduct__cart a{background:#8f1536;color:#fff;border-radius:8px}
.ams-stitch-store .ams-stitch-catalog{padding-top:36px}
.ams-stitch-store .ams-catalog-intro{text-align:center;padding:20px 0 38px}
.ams-stitch-store .ams-stitch-catalog .product-filter-mobile__inner{border:1px solid #eee3e6;background:#fff;border-radius:12px}
.ams-stitch-store .ams-stitch-catalog .product-filter-content{padding:16px 22px;border:1px solid #eee3e6;background:#fff;border-radius:12px}
.ams-stitch-store .ams-stitch-catalog .tp-shop-selector select{border-radius:8px;border:1px solid #e8dfe1;padding:8px 12px;max-width:100%}
.ams-stitch-store .ams-stitch-catalog .product-item-count{font-size:13px;color:#67545d}
.ams-stitch-store .ams-stitch-catalog .pagination .page-link{border:1px solid #eee3e6;color:#8f1536}
.ams-stitch-store .ams-stitch-catalog .pagination .active .page-link{background:#8f1536;border-color:#8f1536;color:#fff}
.ams-stitch-store .ams-stitch-product-carousel .whiteproduct{border:1px solid #eee4e6;background:#fff;border-radius:12px;overflow:hidden;padding:0 0 16px}
.ams-stitch-store .ams-stitch-product-carousel .whiteproduct__thumb{aspect-ratio:4/5;background:#faf5f5;overflow:hidden}
.ams-stitch-store .ams-stitch-product-carousel .whiteproduct__thumb img{width:100%;height:100%;object-fit:contain}
.ams-stitch-store .ams-stitch-product-carousel .whiteproduct__content{padding:0 15px}
.ams-stitch-store .ams-stitch-product-carousel .tpproductarrow__prv,.ams-stitch-store .ams-stitch-product-carousel .tpproductarrow__nxt{border-radius:999px}
@media(max-width:991px){.ams-stitch-store .ams-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.ams-stitch-store .ams-stitch-collections{padding:46px 0}.ams-stitch-store .ams-stitch-catalog .product-filter-mobile__inner{border-radius:0}}
@media(max-width:650px){.ams-stitch-store .ams-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ams-stitch-store .ams-category-body{padding:12px}.ams-stitch-store .ams-category-body h3{font-size:14px}.ams-stitch-store .ams-section-heading{margin-bottom:20px}.ams-stitch-store .ams-stitch-products,.ams-stitch-store .ams-stitch-product-carousel{padding:40px 0}.ams-stitch-store .ams-stitch-products .tpnavbar .nav-tabs{justify-content:flex-start}.ams-stitch-store .ams-stitch-products .tpnavbar .nav-tabs .nav-link{font-size:11px;padding:8px 12px}.ams-stitch-store .ams-stitch-catalog{padding-top:20px}.ams-stitch-store .ams-catalog-intro{padding:12px 0 28px}.ams-stitch-store .ams-stitch-product-card .tpproduct__content{padding:11px 10px}}
@media(prefers-reduced-motion:reduce){.ams-stitch-store .ams-category-card,.ams-stitch-store .ams-category-image img{transition:none}}
