/*
Theme Name: CaseInfinity Exact
Theme URI: https://casefinitybd.com/
Author: CaseInfinity BD
Description: WooCommerce storefront matched to the supplied CaseInfinityBD screenshots.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: caseinfinity-exact
*/
:root{--pink:#ff78ae;--pink2:#ed1762;--black:#050505;--text:#0d1726;--muted:#8a94a4;--line:#d8dde6;--soft:#f5f5f6;--green:#075c14;--max:980px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--text);font-family:Inter,Arial,Helvetica,sans-serif;font-size:13px;line-height:1.45}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.ci-wrap{width:min(var(--max),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}

/* Header */
.ci-top{height:58px;background:var(--black);color:#fff}.ci-top-inner{height:58px;display:grid;grid-template-columns:46px minmax(320px,1fr) auto auto auto;align-items:center;gap:18px}
.ci-brand{display:flex;align-items:center;justify-content:center}.ci-brand img{max-height:35px;width:auto}.ci-brand-fallback{font-size:10px;font-weight:900;font-style:italic;color:var(--pink)}
.ci-search{display:flex;height:37px;overflow:hidden;border:1px solid var(--pink);border-radius:5px;background:#fff}.ci-search input{flex:1;border:0;outline:0;padding:0 13px;font-size:12px}.ci-search button{width:46px;border:0;background:var(--pink);color:white;font-size:20px;cursor:pointer}
.ci-phone{border:1px solid #fff;border-radius:2px;padding:7px 11px;font-weight:900;white-space:nowrap}.ci-login{font-weight:800;white-space:nowrap}.ci-cart{font-size:19px;position:relative}.ci-cart-count{position:absolute;top:-10px;right:-10px;background:#fff;color:#000;min-width:17px;height:17px;border-radius:50%;display:grid;place-items:center;font-size:10px;font-weight:900}
.ci-menubar{height:42px;background:#fff;border-bottom:1px solid #d8d8d8}.ci-menu-inner{height:42px;display:flex;align-items:stretch}.ci-home-link{width:48px;display:grid;place-items:center;border-right:1px solid var(--line);font-size:16px}
.ci-primary-menu{display:flex;align-items:stretch;margin:0;padding:0;list-style:none}.ci-primary-menu>li{position:relative;border-right:1px solid var(--line)}.ci-primary-menu>li>a{height:42px;padding:0 14px;display:flex;align-items:center;font-size:11px;font-weight:500;text-transform:uppercase;white-space:nowrap}
.ci-primary-menu li.menu-item-has-children>a:after{content:"⌄";font-size:14px;margin-left:7px}.ci-primary-menu .sub-menu{display:none;position:absolute;z-index:1000;left:0;top:100%;min-width:220px;margin:0;padding:7px;background:#fff;border:1px solid var(--line);box-shadow:0 12px 28px rgba(0,0,0,.08);list-style:none}.ci-primary-menu li:hover>.sub-menu{display:block}.ci-primary-menu .sub-menu a{display:block;padding:10px;border-bottom:1px solid #f0f0f0;font-size:12px}

/* Breadcrumb */
.ci-breadcrumb{background:#f4f4f4;border-bottom:1px solid #eee}.ci-breadcrumb .ci-wrap{min-height:39px;display:flex;align-items:center;justify-content:space-between;color:#202a39;font-size:11px}.ci-crumbs{display:flex;gap:10px;align-items:center;min-width:0}.ci-crumbs strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ci-crumbs span{color:#9aa1ab}

/* Hero slider */
.ci-hero{position:relative;background:#f5f5f5}.ci-slides{position:relative}.ci-slide{display:none}.ci-slide.active{display:block}.ci-slide img{display:block;width:100%;height:auto;max-height:520px;object-fit:cover}
.ci-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:30px;height:30px;border:0;border-radius:50%;background:rgba(235,235,235,.82);display:grid;place-items:center;cursor:pointer;font-size:22px}.ci-arrow.prev{left:12px}.ci-arrow.next{right:12px}
.ci-dots{position:absolute;left:50%;bottom:9px;transform:translateX(-50%);display:flex;gap:7px}.ci-dot{width:9px;height:9px;border-radius:50%;border:0;background:#d0d0d0;padding:0}.ci-dot.active{background:#fff}

/* Home product menus */
.ci-home{padding:8px 0 46px}.ci-home-section{margin-bottom:46px}.ci-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.ci-section-head h2{margin:0;font-size:19px;letter-spacing:2px;font-weight:900;text-transform:uppercase}.ci-see-all{background:var(--pink);color:#fff;border-radius:4px;padding:7px 12px;font-size:10px;font-weight:800}
.ci-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.ci-product-card{border:1px solid #e4e7ed;background:#fff;padding:10px;display:flex;flex-direction:column;min-width:0;position:relative}
.ci-product-card .onsale{position:absolute;left:10px;top:10px;z-index:2;background:#0a1944!important;color:#fff!important;min-height:auto!important;min-width:auto!important;line-height:1!important;border-radius:3px!important;padding:5px 7px!important;font-size:10px!important;margin:0!important}
.ci-card-img{aspect-ratio:1;overflow:hidden;background:#fafafa;margin-bottom:11px}.ci-card-img img{width:100%;height:100%;object-fit:cover}.ci-product-card h3{font-size:14px;line-height:1.45;text-align:center;margin:0 0 4px;font-weight:700;min-height:40px}.ci-card-price{text-align:center;font-weight:900;margin-bottom:12px}.ci-card-price del{font-weight:400;color:#666;font-size:11px}
.ci-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:auto}.ci-card-btn{height:34px;border-radius:2px;display:grid;place-items:center;color:#fff;font-size:11px;font-weight:700}.ci-card-btn.cart{background:#111}.ci-card-btn.buy{background:#fb4042}
.ci-cat-title{color:var(--pink);font-size:18px;font-weight:900;text-transform:uppercase;margin:0 0 30px}.ci-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:45px}.ci-category-tile{text-align:center}.ci-category-image{aspect-ratio:1.25;display:grid;place-items:center;overflow:hidden}.ci-category-image img{width:100%;height:100%;object-fit:contain}.ci-category-tile h3{font-size:13px;margin:18px 0 0;font-weight:800}

/* Single product */
.single-product .ci-main{padding:30px 0 60px}.ci-single-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.ci-gallery-box,.ci-summary-box{border:1px solid var(--line);background:#fff;padding:13px}.ci-gallery-main{aspect-ratio:1;background:#f8f8f8;overflow:hidden}.ci-gallery-main img{width:100%;height:100%;object-fit:cover}
.ci-thumbs{display:flex;justify-content:center;gap:8px;margin-top:8px}.ci-thumb{width:78px;height:78px;border:1px solid transparent;padding:0;background:#fff;cursor:pointer}.ci-thumb.active{border:2px solid #0d2754}.ci-thumb img{width:100%;height:100%;object-fit:cover}
.ci-summary-box h1{font-size:17px;line-height:1.35;margin:4px 0 10px}.ci-meta-line{font-size:13px;font-weight:800;margin:6px 0}.ci-price-big{font-size:20px;font-weight:900}.ci-social-row{display:flex;gap:7px;justify-content:flex-end;margin-top:-28px;margin-bottom:13px}.ci-social{width:22px;height:22px;border-radius:50%;background:#d6dae0;display:grid;place-items:center;font-size:10px}
.variations{width:100%}.variations th,.variations td{display:block;text-align:left;padding:0!important}.variations label{display:block;font-size:13px;font-weight:900;margin:12px 0 7px}.variations select{width:100%;height:37px;border:1px solid var(--line);padding:0 10px}.reset_variations{display:inline-block;margin-top:6px;font-size:11px;color:#777}
.ci-option-buttons{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:5px}.ci-option-btn{border:1px solid var(--line);background:#fff;padding:8px 13px;border-radius:4px;cursor:pointer;font-weight:700;font-size:11px}.ci-option-btn.active{background:var(--pink);border-color:var(--pink);color:#fff}
.ci-stock{font-size:13px;font-weight:900;margin:12px 0;color:#00a83d}.woocommerce .quantity{display:inline-flex!important;align-items:center}.woocommerce .quantity .qty{height:31px;width:43px!important;border:1px solid var(--line);text-align:center}.ci-qty-btn{height:31px;width:26px;border:1px solid var(--line);background:#fff;cursor:pointer}
.ci-summary-box form.cart{margin-bottom:0!important}.ci-summary-box form.cart>.button,.ci-summary-box .woocommerce-variation-add-to-cart .single_add_to_cart_button{position:absolute!important;left:-9999px!important}
.ci-single-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}.ci-single-actions button{height:40px;border:0;border-radius:5px;color:#fff;font-weight:800;cursor:pointer}.ci-copy-cart{background:#090909}.ci-buy-now{background:var(--pink2)}
.ci-whatsapp{height:45px;margin-top:22px;border-radius:8px;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:900}.ci-product-description{margin-top:30px}

/* Checkout */
.woocommerce-checkout .ci-main{padding:35px 0 60px}.ci-checkout-shell{max-width:1000px;margin:auto;border:1px solid #cfd5dd;border-radius:15px;box-shadow:0 2px 5px rgba(0,0,0,.12);padding:24px}.ci-checkout-title{text-align:center;color:var(--pink);font-weight:900;font-size:28px;line-height:1.07;max-width:600px;margin:5px auto 12px}.ci-checkout-dash{width:58%;margin:0 auto 45px;border-bottom:3px dashed #9fa6b0}.ci-checkout-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px}.ci-checkout-col h3{font-size:15px;margin:0 0 25px;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:8px}
.woocommerce-checkout .form-row{margin:0 0 12px!important}.woocommerce-checkout .form-row label{font-size:11px;font-weight:600;display:block;margin-bottom:5px}.woocommerce-checkout .form-row input.input-text,.woocommerce-checkout .form-row textarea,.woocommerce-checkout .form-row select{height:37px;border:1px solid #cbd3de;border-radius:5px;width:100%;padding:0 10px;font-size:12px;background:#fff}.woocommerce-checkout .select2-container .select2-selection--single{height:37px;border:1px solid #cbd3de}.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:35px}.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{height:35px}
.ci-order-product-thumb{width:42px;height:42px;object-fit:cover;vertical-align:middle;margin-right:8px}.woocommerce-checkout-review-order-table{font-size:12px}.woocommerce-checkout-review-order-table th,.woocommerce-checkout-review-order-table td{padding:8px 4px!important;border-bottom:1px dashed #ccd2db!important}.woocommerce-checkout-review-order-table .order-total th,.woocommerce-checkout-review-order-table .order-total td{font-size:16px;font-weight:900}
.woocommerce-checkout-payment{background:transparent!important}.woocommerce-checkout-payment .wc_payment_methods{padding:0!important;margin:15px 0!important}.woocommerce-checkout-payment .place-order{padding:0!important}.woocommerce-checkout #place_order{width:100%;height:38px;border:0;background:var(--pink)!important;color:#fff!important;font-weight:900!important;border-radius:0!important}.ci-country-note{font-weight:900;margin-top:6px}.woocommerce-shipping-fields,.woocommerce-additional-fields{display:none!important}

/* WooCommerce basics */
.ci-main{min-height:55vh}.woocommerce-message,.woocommerce-info,.woocommerce-error{border-radius:4px}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:#111;color:#fff;border-radius:3px}.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:#333;color:#fff}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product{width:auto!important;margin:0!important;border:1px solid #e4e7ed;padding:10px}.woocommerce ul.products li.product a img{aspect-ratio:1;object-fit:cover}.woocommerce ul.products li.product .button{margin-top:8px}

/* Responsive */
@media(max-width:900px){:root{--max:100%}.ci-wrap{width:calc(100% - 24px)}.ci-top{height:auto}.ci-top-inner{height:auto;grid-template-columns:42px 1fr auto;padding:8px 0;gap:8px}.ci-phone,.ci-login{display:none}.ci-search{height:38px}.ci-menubar{overflow-x:auto}.ci-menu-inner{width:max-content}.ci-product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}.ci-category-grid{grid-template-columns:repeat(2,1fr);gap:25px}.ci-single-grid,.ci-checkout-grid{grid-template-columns:1fr;gap:20px}.ci-checkout-dash{margin-bottom:25px}.ci-social-row{margin-top:0;justify-content:flex-start}.ci-checkout-title{font-size:22px}.ci-slide img{min-height:250px;object-fit:cover}}
@media(max-width:520px){body{font-size:12px}.ci-wrap{width:calc(100% - 16px)}.ci-top-inner{grid-template-columns:34px 1fr auto}.ci-search input{min-width:0}.ci-primary-menu>li>a{padding:0 10px;font-size:10px}.ci-home-section{margin-bottom:34px}.ci-section-head h2{font-size:16px}.ci-product-grid{gap:8px}.ci-product-card{padding:7px}.ci-card-actions{grid-template-columns:1fr}.ci-category-grid{gap:18px}.ci-single-actions{grid-template-columns:1fr}.ci-thumbs{overflow-x:auto;justify-content:flex-start}.ci-thumb{min-width:64px;width:64px;height:64px}.ci-checkout-shell{padding:16px;border-radius:10px}.ci-checkout-title{font-size:19px}.ci-checkout-dash{width:85%}}
