/*
Theme Name: Craftkam Handmade Boutique
Theme URI: https://craftkam.com/
Author: OpenAI for Craftkam
Description: Warm handmade boutique WooCommerce theme for Craftkam with personalized gift categories, demo products, cart drawer and Buy Now flow.
Version: 1.7.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: craftkam-premium
*/
:root{--ck-purple:#6a3b24;--ck-purple-dark:#3b2117;--ck-violet:#9a7557;--ck-pink:#f3e8de;--ck-ink:#2d211c;--ck-muted:#766a62;--ck-bg:#fffdf9;--ck-border:#eadfd4;--ck-card:#fff;--ck-radius:18px;--ck-shadow:0 18px 48px rgba(91,45,22,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--ck-bg);color:var(--ck-ink);line-height:1.5}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto}.ck-container{width:min(1440px,calc(100% - 40px));margin:auto}.ck-topbar{background:linear-gradient(90deg,#3a2118,#6a3b24);color:#fff;font-size:13px}.ck-topbar .ck-container{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:9px 0}.ck-topbar-left,.ck-topbar-right{display:flex;gap:24px;flex-wrap:wrap}.ck-dot{color:#d6b07e;margin-right:7px}.ck-main-header{background:#fff;border-bottom:1px solid var(--ck-border);position:sticky;top:0;z-index:80}.ck-header-row{display:grid;grid-template-columns:210px 1fr auto;gap:24px;align-items:center;padding:16px 0}.custom-logo{max-height:54px;width:auto}.ck-wordmark{display:inline-block;font-size:30px;font-weight:900;letter-spacing:2px;color:#191536}.ck-wordmark b{color:#ff5d45}.ck-wordmark small{display:block;font-size:9px;letter-spacing:4px;color:#7e758e;margin-top:-2px}.ck-search{display:flex;border:1px solid var(--ck-border);border-radius:12px;overflow:hidden;background:#fff;height:48px}.ck-search select,.ck-search input{border:0;background:transparent;padding:0 14px;outline:0}.ck-search input{flex:1;min-width:120px}.ck-search select{border-left:1px solid var(--ck-border)}.ck-search button{border:0;background:linear-gradient(135deg,var(--ck-purple),var(--ck-violet));color:#fff;padding:0 28px;font-weight:700;cursor:pointer}.ck-head-actions{display:flex;align-items:center;gap:18px}.ck-action{position:relative;font-size:14px;font-weight:650}.ck-cart-count{position:absolute;right:-9px;top:-10px;width:19px;height:19px;border-radius:50%;background:#8c8b5d;color:#fff;font-size:11px;display:grid;place-items:center}.ck-nav{background:#fff;border-top:1px solid #f3f0f7}.ck-nav .ck-container{display:flex;gap:34px;align-items:center;min-height:44px;font-size:14px;font-weight:650}.ck-nav a:hover{color:var(--ck-purple)}
.ck-hero-wrap{display:grid;grid-template-columns:230px 1fr;gap:18px;padding-top:18px}.ck-sidebar{background:#fff;border:1px solid var(--ck-border);border-radius:14px;overflow:hidden;box-shadow:0 4px 18px rgba(40,22,70,.04)}.ck-side-title{padding:14px 16px;background:linear-gradient(135deg,var(--ck-purple),#8257eb);color:#fff;font-weight:800}.ck-cat-link{display:flex;justify-content:space-between;gap:12px;padding:10.5px 15px;border-bottom:1px solid #f3f0f7;font-size:14px}.ck-cat-link:last-child{border-bottom:0}.ck-cat-link:hover{background:#faf7ff;color:var(--ck-purple)}
.ck-hero{min-height:360px;border-radius:18px;overflow:hidden;position:relative;background:linear-gradient(115deg,#f8f1e9 0%,#f3e5db 52%,#eef0e1 100%);padding:42px;display:grid;grid-template-columns:43% 57%;align-items:center}.ck-hero:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 70% 35%,rgba(255,255,255,.5),transparent 34%);pointer-events:none}.ck-hero-copy{position:relative;z-index:2}.ck-hero h1{font-size:clamp(36px,4vw,64px);line-height:1.02;margin:0 0 16px;letter-spacing:-2px}.ck-hero h1 span{color:var(--ck-purple)}.ck-hero p{font-size:17px;color:#494256;max-width:560px}.ck-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;padding:13px 22px;font-weight:800;cursor:pointer;transition:.2s}.ck-btn:hover{transform:translateY(-1px)}.ck-btn-primary{background:linear-gradient(135deg,var(--ck-purple),var(--ck-violet));color:#fff;box-shadow:0 8px 20px rgba(98,70,229,.24)}.ck-btn-outline{background:#fff;color:var(--ck-purple);border:1px solid #a698ef}.ck-hero-art{position:relative;z-index:2;min-height:270px}.ck-art-orb{position:absolute;border-radius:28px;box-shadow:0 18px 38px rgba(74,38,101,.16);background:#fff;overflow:hidden}.ck-art-orb img{width:100%;height:100%;object-fit:cover}.ck-art-one{width:230px;height:230px;left:12%;top:15px;transform:rotate(-7deg)}.ck-art-two{width:230px;height:230px;right:4%;top:4px;border-radius:50%}.ck-art-three{width:170px;height:140px;left:47%;bottom:0;transform:rotate(8deg)}
.ck-benefits{display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin:20px auto;background:#fff;border:1px solid var(--ck-border);border-radius:14px;box-shadow:0 8px 28px rgba(39,27,79,.05)}.ck-benefit{padding:19px 18px;display:flex;align-items:center;gap:12px}.ck-benefit strong{display:block;font-size:14px}.ck-benefit small{color:var(--ck-muted)}.ck-benefit-icon{width:38px;height:38px;border-radius:11px;background:#f0edff;color:var(--ck-purple);display:grid;place-items:center;font-weight:900}
.ck-section{padding:18px 0 8px}.ck-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.ck-section h2{font-size:27px;margin:0}.ck-text-link{font-size:14px;color:var(--ck-purple);font-weight:800}.ck-categories{display:grid;grid-template-columns:repeat(8,1fr);gap:14px}.ck-category-card{background:#fff;border:1px solid var(--ck-border);border-radius:14px;overflow:hidden;transition:.2s}.ck-category-card:hover{transform:translateY(-4px);box-shadow:var(--ck-shadow)}.ck-category-image{aspect-ratio:1.2;background:linear-gradient(135deg,#f7efff,#fff3f0);padding:12px}.ck-category-image img{width:100%;height:100%;object-fit:contain}.ck-category-name{padding:10px 10px 13px;text-align:center;font-weight:700;font-size:13px}
.ck-tabs{display:flex;gap:10px}.ck-tab{padding:8px 15px;border:1px solid var(--ck-border);border-radius:8px;background:#fff;font-size:13px;font-weight:700}.ck-tab.active{background:var(--ck-purple);color:#fff}.ck-products{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.ck-product-card{background:#fff;border:1px solid var(--ck-border);border-radius:14px;padding:10px;position:relative;transition:.2s;display:flex;flex-direction:column}.ck-product-card:hover{transform:translateY(-4px);box-shadow:var(--ck-shadow)}.ck-product-image{aspect-ratio:1/1;border-radius:11px;background:#faf8fd;overflow:hidden;display:block}.ck-product-image img{width:100%;height:100%;object-fit:contain}.ck-wish{position:absolute;top:18px;right:18px;width:31px;height:31px;background:#fff;border-radius:50%;display:grid;place-items:center;box-shadow:0 4px 14px rgba(0,0,0,.06)}.ck-product-title{font-size:14px;font-weight:800;margin:11px 0 4px;min-height:42px}.ck-rating{font-size:12px;color:#b7864e;margin-bottom:4px}.ck-price{font-size:17px;color:#6a3b24;font-weight:900;margin:4px 0 11px}.ck-price del{font-size:12px;color:#999;font-weight:500;margin-left:6px}.ck-product-card .ck-btn{margin-top:auto;width:100%;padding:9px 11px;border-radius:7px;font-size:13px}
.ck-banner-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:28px 0}.ck-promo{border-radius:16px;padding:28px;background:linear-gradient(110deg,#f6e7dc,#fff8f1);min-height:160px;position:relative;overflow:hidden}.ck-promo.alt{background:linear-gradient(110deg,#eef0df,#f8f3e9)}.ck-promo h3{font-size:28px;margin:0 0 5px}.ck-promo p{margin:0 0 16px;color:var(--ck-muted)}
.ck-trustbar{margin-top:28px;background:linear-gradient(90deg,#6546e6,#231147);color:#fff}.ck-trustbar .ck-container{display:grid;grid-template-columns:repeat(4,1fr);padding:16px 0}.ck-trustitem{text-align:center;font-size:13px}.ck-trustitem b{display:block;font-size:14px}.ck-footer{background:#160f27;color:#f5f0ff;padding:44px 0 22px}.ck-footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:50px}.ck-footer h4{margin:0 0 13px}.ck-footer p,.ck-footer a{color:#c9c0d9;font-size:14px}.ck-footer a{display:block;margin:7px 0}.ck-copy{margin-top:30px;border-top:1px solid #302844;padding-top:18px;color:#9288a5;font-size:12px}
.ck-cart-drawer{position:fixed;top:0;right:-430px;width:min(420px,92vw);height:100vh;background:#fff;z-index:200;box-shadow:-20px 0 45px rgba(16,8,38,.18);transition:.3s;padding:20px;overflow:auto}.ck-cart-drawer.open{right:0}.ck-cart-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--ck-border);padding-bottom:14px}.ck-cart-close{border:0;background:none;font-size:24px;cursor:pointer}.ck-overlay{position:fixed;inset:0;background:rgba(15,8,30,.35);z-index:190;display:none}.ck-overlay.open{display:block}.ck-mini-item{display:grid;grid-template-columns:62px 1fr auto;gap:10px;padding:14px 0;border-bottom:1px solid var(--ck-border)}.ck-mini-item img{width:62px;height:62px;object-fit:contain;background:#faf8fd;border-radius:10px}.ck-mini-total{display:flex;justify-content:space-between;font-weight:900;font-size:18px;padding:18px 0}.ck-cart-drawer .button{display:block!important;text-align:center;background:var(--ck-purple)!important;color:#fff!important;border-radius:9px!important;padding:13px!important;margin-top:8px!important}
.woocommerce .woocommerce-breadcrumb{margin:18px 0;color:#7a7482}.woocommerce div.product{background:#fff;border:1px solid var(--ck-border);border-radius:18px;padding:24px}.woocommerce div.product div.images img{border-radius:16px;background:#faf8fd}.woocommerce div.product .product_title{font-size:34px}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ck-purple);font-size:28px;font-weight:900}.woocommerce div.product form.cart .button,.single_add_to_cart_button{background:var(--ck-purple)!important;color:#fff!important;border-radius:9px!important;padding:14px 24px!important}.ck-buy-now{margin-left:10px}.woocommerce ul.products li.product{background:#fff;border:1px solid var(--ck-border);border-radius:14px;padding:12px;overflow:hidden}.woocommerce ul.products li.product .button{background:var(--ck-purple);color:#fff;border-radius:8px}.woocommerce ul.products li.product .price{color:#6a3b24;font-weight:800}
@media(max-width:1200px){.ck-products{grid-template-columns:repeat(4,1fr)}.ck-categories{grid-template-columns:repeat(4,1fr)}.ck-benefits{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.ck-container{width:min(100% - 24px,1440px)}.ck-header-row{grid-template-columns:1fr auto}.ck-search{grid-column:1/-1;order:3}.ck-nav{display:none}.ck-hero-wrap{grid-template-columns:1fr}.ck-sidebar{display:none}.ck-hero{grid-template-columns:1fr;padding:28px}.ck-hero-art{min-height:250px}.ck-benefits{grid-template-columns:1fr 1fr}.ck-products{grid-template-columns:repeat(2,1fr)}.ck-categories{grid-template-columns:repeat(4,1fr)}.ck-footer-grid{grid-template-columns:1fr 1fr}.ck-trustbar .ck-container{grid-template-columns:1fr 1fr;gap:14px}.ck-topbar-right{display:none}}
@media(max-width:560px){.ck-topbar-left span:nth-child(n+3){display:none}.ck-wordmark{font-size:24px}.ck-head-actions .ck-action:not(.ck-cart-action){display:none}.ck-hero{min-height:560px}.ck-hero h1{font-size:38px}.ck-art-one{width:160px;height:160px;left:0}.ck-art-two{width:160px;height:160px;right:0}.ck-art-three{width:130px;height:110px;left:35%}.ck-benefits{grid-template-columns:1fr}.ck-categories{grid-template-columns:repeat(2,1fr)}.ck-products{grid-template-columns:repeat(2,1fr);gap:9px}.ck-product-card{padding:8px}.ck-banner-row{grid-template-columns:1fr}.ck-footer-grid{grid-template-columns:1fr}.ck-trustbar .ck-container{grid-template-columns:1fr 1fr}.woocommerce div.product{padding:14px}.ck-buy-now{margin:10px 0 0;width:100%}}


/* ===== Craftkam V2 layout fixes ===== */
html,body{width:100%!important;max-width:none!important;overflow-x:hidden}
body{background:#fff!important}
.ck-topbar,.ck-main-header,main,.ck-trustbar,.ck-footer{width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important}
.ck-container{width:calc(100% - 48px)!important;max-width:1560px!important;margin-left:auto!important;margin-right:auto!important}
.ck-topbar .ck-container{width:calc(100% - 48px)!important;max-width:1560px!important}
.ck-main-header{left:0;right:0}
.ck-header-row{grid-template-columns:240px minmax(420px,1fr) auto}
.ck-nav .ck-container{display:flex!important;align-items:center!important;gap:34px!important;min-height:48px!important}
.ck-nav ul{list-style:none!important;margin:0!important;padding:0!important;display:flex!important;align-items:center!important;gap:34px!important}
.ck-nav li,.ck-nav .ck-container>li{list-style:none!important;margin:0!important;padding:0!important;display:block!important}
.ck-nav li::marker,.ck-nav .ck-container>li::marker{content:""}
.ck-hero-wrap{grid-template-columns:250px minmax(0,1fr)!important;gap:20px!important;padding-top:20px!important}
.ck-hero{min-height:410px!important}
.ck-benefits{width:calc(100% - 48px)!important;max-width:1560px!important}
.ck-section>.ck-container{width:calc(100% - 48px)!important;max-width:1560px!important}
.ck-products{grid-template-columns:repeat(6,minmax(0,1fr))}
.ck-categories{grid-template-columns:repeat(8,minmax(0,1fr))}
.woocommerce-page main.ck-container,.single-product main.ck-container,.post-type-archive-product main.ck-container{width:calc(100% - 48px)!important;max-width:1560px!important}

@media (max-width:1200px){
  .ck-container,.ck-topbar .ck-container,.ck-benefits,.ck-section>.ck-container{width:calc(100% - 28px)!important}
  .ck-header-row{grid-template-columns:210px 1fr auto}
}
@media (max-width:900px){
  .ck-container,.ck-topbar .ck-container,.ck-benefits,.ck-section>.ck-container{width:calc(100% - 20px)!important}
  .ck-hero-wrap{grid-template-columns:1fr!important}
  .ck-hero{min-height:560px!important}
}

/* ===== Craftkam V3 exact-fit + demo visual fixes ===== */
/* Full browser-width canvas, with a small safe gutter only. */
html,body,body.ck-native-front{margin:0!important;padding:0!important;width:100%!important;max-width:100%!important;overflow-x:hidden!important}
body.ck-native-front>.ck-topbar{margin-top:0!important;top:auto!important;transform:none!important}
.ck-topbar,.ck-main-header,main,.ck-trustbar,.ck-footer{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}
.ck-container,.ck-topbar .ck-container,.ck-benefits,.ck-section>.ck-container{width:calc(100% - 24px)!important;max-width:none!important;margin-left:12px!important;margin-right:12px!important}
.ck-header-row{grid-template-columns:300px minmax(0,1fr) auto!important;gap:22px!important;padding:14px 0!important}
.ck-search{width:100%!important;min-width:0!important}
.ck-head-actions{white-space:nowrap!important}
.ck-nav .ck-container{width:calc(100% - 24px)!important;max-width:none!important;margin:0 12px!important}
.ck-hero-wrap{width:calc(100% - 24px)!important;max-width:none!important;margin:0 12px!important;grid-template-columns:300px minmax(0,1fr)!important}
.ck-hero{width:100%!important;min-width:0!important;overflow:hidden!important}
.ck-benefits{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;overflow:hidden!important}
.ck-benefit{min-width:0!important}.ck-benefit small{display:block;white-space:normal!important}
.ck-section{overflow:hidden!important}
.ck-categories{grid-template-columns:repeat(8,minmax(0,1fr))!important;width:100%!important}
.ck-category-card{min-width:0!important}.ck-category-image{aspect-ratio:1.35!important;padding:8px!important;background:#f9f7fc!important}.ck-category-image img{object-fit:contain!important}
.ck-products{grid-template-columns:repeat(6,minmax(0,1fr))!important;width:100%!important}
.ck-product-card{min-width:0!important}.ck-product-image{background:#fff!important}
/* Do not let common page-builder wrappers add blank space above our native homepage. */
body.ck-native-front #page,body.ck-native-front .site,body.ck-native-front .site-content,body.ck-native-front .content-area{margin-top:0!important;padding-top:0!important;max-width:none!important;width:100%!important}
@media(max-width:1200px){.ck-header-row{grid-template-columns:230px minmax(0,1fr) auto!important}.ck-hero-wrap{grid-template-columns:250px minmax(0,1fr)!important}.ck-products{grid-template-columns:repeat(4,minmax(0,1fr))!important}.ck-categories{grid-template-columns:repeat(4,minmax(0,1fr))!important}.ck-benefits{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:900px){.ck-container,.ck-topbar .ck-container,.ck-benefits,.ck-section>.ck-container,.ck-nav .ck-container,.ck-hero-wrap{width:calc(100% - 16px)!important;margin-left:8px!important;margin-right:8px!important}.ck-header-row{grid-template-columns:1fr auto!important}.ck-hero-wrap{grid-template-columns:1fr!important}.ck-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ck-categories{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ck-benefits{grid-template-columns:1fr 1fr!important}}

/* ===== Craftkam V5 logo-led boutique styling ===== */
.ck-brand-logo{display:flex;align-items:center;height:76px}.ck-brand-logo img,.custom-logo{display:block;max-height:74px!important;max-width:230px!important;width:auto!important;object-fit:contain}.ck-header-row{grid-template-columns:250px minmax(0,1fr) auto!important;padding:8px 0!important}.ck-topbar{background:linear-gradient(90deg,#3b2117,#6a3b24)!important}.ck-side-title,.ck-search button,.ck-tab.active,.ck-btn-primary{background:linear-gradient(135deg,#5b2d16,#9a7557)!important}.ck-btn-outline{color:#5b2d16!important;border-color:#c9aa8e!important}.ck-btn-outline:hover{background:#f8f0e8!important}.ck-hero{background:linear-gradient(115deg,#fbf5ef 0%,#f2e3d7 55%,#eef0df 100%)!important}.ck-hero h1 span,.ck-text-link,.ck-nav a:hover{color:#6a3b24!important}.ck-eyebrow{display:inline-block;color:#8c8b5d;font-size:12px;font-weight:900;letter-spacing:2px;margin-bottom:12px}.ck-hero-art{display:grid!important;place-items:center!important;min-height:280px!important}.ck-hero-logo{width:min(390px,80%)!important;max-height:290px!important;object-fit:contain!important;mix-blend-mode:multiply}.ck-benefit-icon{background:#f5ece3!important;color:#6a3b24!important}.ck-seven-cats{grid-template-columns:repeat(7,minmax(0,1fr))!important}.ck-category-image{background:#fffaf5!important;aspect-ratio:1.15!important}.ck-category-image img{object-fit:cover!important;border-radius:10px}.ck-category-name{min-height:58px;display:grid;place-items:center}.ck-product-image{background:#fffaf5!important}.ck-product-image img{object-fit:cover!important}.ck-rating span{color:#8b8179}.woocommerce div.product p.price,.woocommerce div.product span.price{color:#6a3b24!important}.ck-trustbar{background:linear-gradient(90deg,#6a3b24,#3b2117)!important}.ck-footer{background:#2f211b!important}
@media(max-width:1200px){.ck-seven-cats{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:900px){.ck-brand-logo img,.custom-logo{max-height:64px!important;max-width:190px!important}.ck-seven-cats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Craftkam V6 — handmade boutique footer */
.ck-footer-promise{margin-top:34px;background:linear-gradient(90deg,#6b432c 0%,#8b6247 45%,#7f8057 100%);color:#fff;width:100%;}
.ck-footer-promise-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:18px 0;}
.ck-footer-promise-item{display:flex;align-items:center;justify-content:center;gap:12px;padding:8px 18px;border-right:1px solid rgba(255,255,255,.18)}
.ck-footer-promise-item:last-child{border-right:0}.ck-footer-promise-item>span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.12);font-size:20px;color:#f2d7b6}
.ck-footer-promise-item strong{display:block;font-size:14px}.ck-footer-promise-item small{display:block;color:#f2e8df;font-size:12px;margin-top:2px}
.ck-footer.ck-footer-v6{background:linear-gradient(145deg,#2a1b15 0%,#3a261d 58%,#30271f 100%)!important;color:#fff;padding:52px 0 0!important;border-top:1px solid rgba(216,184,146,.2)}
.ck-footer-grid-v6{display:grid;grid-template-columns:minmax(280px,1.45fr) .8fr .95fr 1.2fr;gap:54px;padding-bottom:38px}
.ck-footer-logo{display:inline-block;background:#fffaf4;border-radius:16px;padding:10px 16px;margin-bottom:16px;box-shadow:0 10px 30px rgba(0,0,0,.12)}
.ck-footer-logo img{display:block;width:180px;max-height:96px;object-fit:contain;mix-blend-mode:multiply}
.ck-footer-brand p{max-width:420px;color:#e7d8cb!important;font-size:14px!important;line-height:1.75;margin:0 0 20px}
.ck-footer-v6 h4{font-size:16px;margin:4px 0 17px;color:#fff;position:relative;padding-bottom:9px}
.ck-footer-v6 h4:after{content:"";position:absolute;left:0;bottom:0;width:34px;height:2px;border-radius:99px;background:#c29a6d}
.ck-footer-v6 .ck-footer-column a{display:block!important;margin:9px 0!important;color:#e8d9cd!important;font-size:14px!important;transition:.2s}
.ck-footer-v6 .ck-footer-column a:hover{color:#fff!important;transform:translateX(3px)}
.ck-socials{display:flex;gap:9px}.ck-socials a{width:36px;height:36px;border:1px solid rgba(255,255,255,.22);border-radius:50%;display:grid!important;place-items:center;color:#fff!important;background:rgba(255,255,255,.05);font-weight:800}.ck-socials a:hover{background:#8a6043;border-color:#8a6043;transform:translateY(-2px)!important}
.ck-footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:18px 0 22px;display:flex;align-items:center;justify-content:space-between;gap:18px;color:#cdbdb0;font-size:12px}
.ck-payment-badges{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.ck-payment-badges span{background:#fff;color:#3b2a22;padding:5px 9px;border-radius:6px;font-size:10px;font-weight:900;letter-spacing:.2px;box-shadow:0 2px 5px rgba(0,0,0,.1)}
@media(max-width:1000px){.ck-footer-promise-grid{grid-template-columns:repeat(2,1fr)}.ck-footer-promise-item:nth-child(2){border-right:0}.ck-footer-grid-v6{grid-template-columns:1.2fr 1fr;gap:34px}.ck-footer-categories{grid-column:auto}}
@media(max-width:600px){.ck-footer-promise-grid{grid-template-columns:1fr}.ck-footer-promise-item{justify-content:flex-start;border-right:0;border-bottom:1px solid rgba(255,255,255,.14);padding:10px 4px}.ck-footer-promise-item:last-child{border-bottom:0}.ck-footer.ck-footer-v6{padding-top:38px!important}.ck-footer-grid-v6{grid-template-columns:1fr;gap:28px}.ck-footer-logo img{width:150px}.ck-footer-bottom{align-items:flex-start;flex-direction:column}.ck-payment-badges{justify-content:flex-start}}

/* ===== Craftkam V7 — polished mobile-first redesign ===== */
.ck-brand-logo{height:62px!important;min-width:0!important;display:flex!important;align-items:center!important}
.ck-brand-logo img{height:58px!important;width:auto!important;max-width:170px!important;object-fit:contain!important;mix-blend-mode:normal!important}
.ck-header-row{grid-template-columns:190px minmax(0,1fr) auto!important;gap:18px!important;padding:8px 0!important}
.ck-search-desktop{height:44px!important;border-radius:10px!important}
.ck-search-desktop button{padding:0 24px!important}
.ck-mobile-tools{display:none}
.ck-hero-collage{position:relative!important;min-height:300px!important;display:block!important}
.ck-hero-card{position:absolute!important;object-fit:cover!important;border-radius:20px!important;border:7px solid rgba(255,255,255,.9)!important;box-shadow:0 16px 35px rgba(76,45,27,.18)!important}
.ck-hero-card-a{width:46%!important;height:66%!important;left:3%!important;top:14%!important;transform:rotate(-5deg)!important}
.ck-hero-card-b{width:42%!important;height:58%!important;right:4%!important;top:3%!important;transform:rotate(5deg)!important}
.ck-hero-card-c{width:38%!important;height:52%!important;left:36%!important;bottom:0!important;transform:rotate(1deg)!important}
.ck-footer-logo{padding:8px 12px!important;background:#fffaf4!important}
.ck-footer-logo img{width:auto!important;height:92px!important;max-width:150px!important;object-fit:contain!important;mix-blend-mode:normal!important}

@media(max-width:700px){
  body{font-size:14px!important}
  .ck-container,.ck-topbar .ck-container,.ck-benefits,.ck-section>.ck-container,.ck-nav .ck-container,.ck-hero-wrap{width:calc(100% - 20px)!important;margin-left:10px!important;margin-right:10px!important}
  .ck-main-header{position:relative!important;top:auto!important}
  .ck-topbar .ck-container{padding:7px 0!important}
  .ck-topbar-left{width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px 10px!important}
  .ck-topbar-left span{display:block!important;font-size:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .ck-topbar-left span:nth-child(n+3){display:none!important}
  .ck-header-row{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:8px 0 6px!important;gap:10px!important}
  .ck-brand-logo{height:66px!important;flex:0 0 auto!important}
  .ck-brand-logo img{height:62px!important;max-width:120px!important}
  .ck-search-desktop{display:none!important}
  .ck-head-actions{margin-left:auto!important;gap:0!important}
  .ck-head-actions .ck-action:not(.ck-cart-action){display:none!important}
  .ck-cart-action{font-size:16px!important;padding:8px 2px!important}
  .ck-cart-count{right:-4px!important;top:-3px!important}
  .ck-mobile-tools{display:block!important;padding-bottom:9px!important}
  .ck-mobile-search{display:grid!important;grid-template-columns:minmax(0,1fr) 84px!important;height:43px!important;border:1px solid var(--ck-border)!important;border-radius:11px!important;overflow:hidden!important;background:#fff!important}
  .ck-mobile-search input{min-width:0!important;border:0!important;padding:0 12px!important;font-size:13px!important;outline:0!important;background:#fff!important}
  .ck-mobile-search button{border:0!important;background:linear-gradient(135deg,#5b2d16,#9a7557)!important;color:#fff!important;font-weight:800!important;font-size:13px!important}
  .ck-mobile-cat-toggle{width:100%!important;margin-top:8px!important;height:40px!important;border:1px solid #d9c9ba!important;background:#fbf6f1!important;color:#5b2d16!important;border-radius:10px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 13px!important;font-weight:800!important;font-size:13px!important}
  .ck-mobile-cat-panel{display:none!important;grid-template-columns:1fr 1fr!important;gap:1px!important;border:1px solid var(--ck-border)!important;border-radius:10px!important;margin-top:6px!important;overflow:hidden!important;background:#e9ded3!important}
  .ck-mobile-cat-panel.open{display:grid!important}
  .ck-mobile-cat-panel a{background:#fff!important;padding:10px!important;font-size:11px!important;line-height:1.25!important}
  .ck-nav{display:none!important}
  .ck-hero-wrap{padding-top:10px!important;display:block!important}
  .ck-sidebar{display:none!important}
  .ck-hero{min-height:0!important;height:auto!important;padding:24px 20px 18px!important;display:grid!important;grid-template-columns:1fr!important;gap:16px!important;border-radius:18px!important}
  .ck-eyebrow{font-size:9px!important;letter-spacing:1.5px!important;margin-bottom:8px!important}
  .ck-hero h1{font-size:34px!important;line-height:1.03!important;letter-spacing:-1.3px!important;margin-bottom:12px!important}
  .ck-hero p{font-size:15px!important;line-height:1.55!important;margin:0 0 16px!important}
  .ck-hero .ck-btn{padding:11px 16px!important;font-size:13px!important}
  .ck-hero-collage{min-height:185px!important;height:185px!important;margin-top:2px!important}
  .ck-hero-card{border-width:4px!important;border-radius:13px!important}
  .ck-hero-card-a{width:43%!important;height:72%!important;left:2%!important;top:10%!important}
  .ck-hero-card-b{width:42%!important;height:68%!important;right:2%!important;top:1%!important}
  .ck-hero-card-c{width:38%!important;height:59%!important;left:34%!important;bottom:0!important}
  .ck-benefits{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;margin:10px!important;width:calc(100% - 20px)!important}
  .ck-benefit{padding:11px 8px!important;gap:7px!important;min-width:0!important}
  .ck-benefit:nth-child(5){display:none!important}
  .ck-benefit-icon{width:30px!important;height:30px!important;min-width:30px!important;font-size:13px!important}
  .ck-benefit strong{font-size:11px!important;line-height:1.2!important}
  .ck-benefit small{font-size:9px!important;line-height:1.25!important}
  .ck-section{padding:15px 0 4px!important}
  .ck-section-head{align-items:flex-end!important;gap:8px!important;margin-bottom:12px!important}
  .ck-section h2{font-size:24px!important;line-height:1.1!important;max-width:65%!important}
  .ck-text-link{font-size:11px!important;white-space:nowrap!important}
  .ck-seven-cats,.ck-categories{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  .ck-category-card{border-radius:10px!important;box-shadow:none!important}
  .ck-category-image{aspect-ratio:1/1!important;padding:4px!important;border-radius:9px 9px 0 0!important}
  .ck-category-image img{border-radius:7px!important;object-fit:cover!important}
  .ck-category-name{min-height:42px!important;padding:5px 3px!important;font-size:9px!important;line-height:1.15!important;font-weight:800!important}
  .ck-tabs{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:5px!important;width:100%!important;min-width:0!important}
  .ck-section-head:has(.ck-tabs){display:block!important}
  .ck-section-head:has(.ck-tabs) h2{max-width:none!important;margin-bottom:10px!important}
  .ck-tab{min-width:0!important;width:100%!important;padding:8px 3px!important;font-size:10px!important;text-align:center!important;white-space:nowrap!important;border-radius:8px!important}
  .ck-products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .ck-product-card{padding:7px!important;border-radius:12px!important}
  .ck-product-image{aspect-ratio:1/1!important;border-radius:9px!important}
  .ck-product-image img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
  .ck-product-title{font-size:12px!important;line-height:1.3!important;min-height:34px!important;margin:8px 0 3px!important}
  .ck-rating{font-size:9px!important;white-space:nowrap!important}
  .ck-price{font-size:15px!important;margin:3px 0 8px!important}
  .ck-product-card .ck-btn{font-size:11px!important;padding:8px 4px!important}
  .ck-wish{top:11px!important;right:11px!important;width:27px!important;height:27px!important;font-size:15px!important}
  .ck-banner-row{grid-template-columns:1fr!important;gap:10px!important;margin:18px 0!important}
  .ck-promo{min-height:0!important;padding:20px!important}
  .ck-promo h3{font-size:22px!important}
  .ck-footer-promise{margin-top:20px!important}
  .ck-footer-promise-grid{grid-template-columns:1fr 1fr!important;padding:8px 0!important}
  .ck-footer-promise-item{border-right:0!important;border-bottom:1px solid rgba(255,255,255,.12)!important;padding:10px 7px!important;gap:8px!important;justify-content:flex-start!important}
  .ck-footer-promise-item>span{width:32px!important;height:32px!important;min-width:32px!important;font-size:15px!important}
  .ck-footer-promise-item strong{font-size:11px!important}.ck-footer-promise-item small{font-size:9px!important}
  .ck-footer.ck-footer-v6{padding-top:28px!important}
  .ck-footer-grid-v6{grid-template-columns:1fr 1fr!important;gap:24px 18px!important}
  .ck-footer-brand{grid-column:1/-1!important}
  .ck-footer-logo{display:inline-flex!important;padding:6px 10px!important;border-radius:12px!important;margin-bottom:10px!important}
  .ck-footer-logo img{height:82px!important;width:auto!important;max-width:120px!important}
  .ck-footer-brand p{font-size:12px!important;line-height:1.6!important;margin-bottom:12px!important}
  .ck-socials a{width:32px!important;height:32px!important}
  .ck-footer-v6 h4{font-size:13px!important;margin-bottom:10px!important}
  .ck-footer-v6 .ck-footer-column a{font-size:11px!important;margin:6px 0!important}
  .ck-footer-categories{grid-column:1/-1!important;columns:2!important;column-gap:18px!important}
  .ck-footer-categories h4{column-span:all!important}
  .ck-footer-bottom{font-size:10px!important;padding:12px 0 16px!important}
}


/* ===== Craftkam V7.1 final mobile polish ===== */
@media(max-width:700px){
  /* Slim, clean mobile header: logo, cart, then independent search + categories. */
  .ck-brand-logo{height:58px!important}
  .ck-brand-logo img{height:54px!important;max-width:108px!important}
  .ck-header-row{min-height:64px!important}
  .ck-mobile-search{margin-top:2px!important}
  .ck-mobile-cat-toggle{margin-top:7px!important;background:#fff!important;box-shadow:0 3px 12px rgba(74,45,28,.05)!important}
  .ck-mobile-cat-panel{position:relative!important;z-index:30!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;max-height:260px!important;overflow:auto!important}
  .ck-mobile-cat-panel a{display:flex!important;align-items:center!important;min-height:42px!important}

  /* Exactly four categories per row on phones, with compact cards. */
  .ck-seven-cats,.ck-categories{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}
  .ck-category-image{padding:3px!important}
  .ck-category-name{font-size:8.5px!important;min-height:38px!important;padding:4px 2px!important;word-break:normal!important;overflow-wrap:anywhere!important}

  /* Keep title + tabs completely inside viewport. */
  .ck-products-head{display:block!important}
  .ck-products-head h2{max-width:none!important;margin-bottom:10px!important;font-size:23px!important}
  .ck-products-head .ck-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important;gap:5px!important}
  .ck-products-head .ck-tab{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:9.5px!important;padding:8px 2px!important}

  /* Mobile hero/banner fits naturally without oversized logo/art. */
  .ck-hero{padding:21px 17px 15px!important;overflow:hidden!important}
  .ck-hero h1{font-size:31px!important}
  .ck-hero-collage{height:168px!important;min-height:168px!important}

  /* Product cards: stable images and readable two-column layout. */
  .ck-product-image{background:#fffaf5!important;overflow:hidden!important}
  .ck-product-image img{object-fit:cover!important;object-position:center!important}

  /* Footer logo stays compact instead of appearing as a long white panel. */
  .ck-footer-logo{background:transparent!important;padding:0!important;box-shadow:none!important;border-radius:0!important}
  .ck-footer-logo img{height:64px!important;max-width:105px!important;width:auto!important}
}

/* V8: compact footer logo card on desktop + mobile */
.ck-footer-logo{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:190px!important;
  height:92px!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  padding:7px 12px!important;
  margin:0 0 14px!important;
  background:#fffaf4!important;
  border-radius:13px!important;
  overflow:hidden!important;
  box-shadow:none!important;
}
.ck-footer-logo img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:142px!important;
  max-height:78px!important;
  object-fit:contain!important;
  object-position:center!important;
  mix-blend-mode:normal!important;
}
@media(max-width:600px){
  .ck-footer-logo{
    width:142px!important;
    height:82px!important;
    padding:6px 9px!important;
    background:#fffaf4!important;
    border-radius:11px!important;
  }
  .ck-footer-logo img{
    max-width:112px!important;
    max-height:68px!important;
  }
}
