/*
Theme Name: Printiyi
Version: 1.9.0
Text Domain: printiyi
*/
:root{--red:#bd1019;--ink:#21232a}
*{box-sizing:border-box}
body{margin:0;background:#fafafa;color:var(--ink);font-family:system-ui,sans-serif}
a{color:inherit}
.site-head{background:var(--ink);color:white}
.head-inner,main,.site-foot{max-width:1080px;margin:auto;padding:20px}
.head-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{text-decoration:none;font-size:1.6rem;font-weight:900}
.brand span{color:#ff5d62}
.custom-logo{max-width:180px;height:auto;vertical-align:middle}
.cart-link,.buy{display:inline-block;background:var(--red);color:white;text-decoration:none;border-radius:8px;padding:10px 14px;font-weight:700}
.grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.card{grid-column:span 2;background:white;border:1px solid #ddd;border-radius:12px;overflow:hidden;text-align:center;padding:12px;display:flex;flex-direction:column}
.card:nth-child(4),.card:nth-child(5){grid-column:span 3}
.card img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;display:block}
.card h2{margin:10px 0 4px;font-size:clamp(1rem,2vw,1.45rem);line-height:1.2}
.card p{margin:0 0 12px;color:#555;font-size:.91rem}
.options{display:grid;gap:6px;margin-top:auto}
.option{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.option .buy{margin-left:auto}
.buy:hover,.cart-link:hover{background:#950b13}
a:focus-visible{outline:3px solid #3677c7;outline-offset:3px}
.site-foot{color:#555}
@media(max-width:620px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grid .card{grid-column:span 1}.grid .card:last-child:nth-child(odd){grid-column:span 2}.option{justify-content:center}.option .buy{margin:0}main,.head-inner{padding:12px}}
@media(max-width:360px){.grid{display:flex;flex-direction:column}}
/* Product cards */
.grid{gap:14px}
.card{text-align:start;padding:0;box-shadow:0 2px 6px #21232a0a}
.card img{background:#f5f5f5;aspect-ratio:1;object-fit:contain}
.card:nth-child(4) img,.card:nth-child(5) img{aspect-ratio:4/3}
.card h2,.card p{margin-inline:12px}
.card h2{margin-top:12px}
.card p{line-height:1.45}
.options{background:#f4f4f5;padding:9px 10px;gap:7px}
.option{justify-content:space-between;font-size:.85rem;font-weight:600}
.option .buy{display:inline-flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 10px;margin-inline-start:auto;margin-inline-end:0}
.option .buy:only-child{width:100%}
.buy-icon{display:grid;place-items:center;min-width:24px}
@media(max-width:620px){.grid .card img{aspect-ratio:1}.option .buy{margin-inline-start:auto}}

.catalog-nav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}
.catalog-nav a{border:1px solid #dedee2;background:#fff;border-radius:999px;padding:8px 13px;text-decoration:none;font-size:.9rem;font-weight:650}
.catalog-nav a:hover{border-color:var(--red)}
.catalog-nav a[aria-current]{background:var(--ink);border-color:var(--ink);color:#fff}
.catalog-empty{background:white;border:1px solid #ddd;border-radius:12px;padding:20px;color:#555}
.grid:has(.card:nth-child(2):last-child) .card{grid-column:span 3}
@media(max-width:620px){.grid:has(.card:nth-child(2):last-child) .card{grid-column:span 1}}

.brand-logo{display:block;width:clamp(116px,23vw,154px);height:auto}

/* Catalog details and prices */
.card p{font-size:1.04rem;font-weight:550;line-height:1.45;color:#3f4148;margin-bottom:14px}
.options{padding:10px;gap:8px}
.option{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;font-size:1rem;line-height:1.3}
.option .buy{min-height:44px;padding:8px 11px;gap:8px;margin:0}
.option .buy:only-child{grid-column:1/-1}
.buy-price{font-size:clamp(1.08rem,2.5vw,1.3rem);line-height:1.2;font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:480px){
 .option:has(>span){grid-template-columns:1fr;gap:4px}
 .option .buy{width:100%}
}




/* Storefront category layout */
.site-head{direction:ltr;background:#232427}
.site-head .head-inner{max-width:1560px;min-height:78px;padding:12px clamp(18px,3vw,52px);display:grid;grid-template-columns:auto minmax(0,760px) auto;justify-content:space-between;gap:clamp(14px,4vw,70px)}
.site-head .cart-link{background:#df0714;white-space:nowrap;padding:12px 17px;border-radius:10px}
.catalog-search{position:relative;width:100%;margin:0}
.catalog-search input{width:100%;min-height:46px;background:#fff;border:1px solid #d8d8da;border-radius:10px;padding:0 12px 0 44px;font:inherit;color:#222}
.catalog-search button{position:absolute;top:0;left:0;width:42px;height:100%;border:0;background:transparent;color:#242529;cursor:pointer}
.catalog-search button span{display:inline-block;position:relative;border:2px solid currentColor;width:14px;height:14px;border-radius:50%}
.catalog-search button span::after{content:"";position:absolute;left:10px;top:10px;width:8px;height:2px;background:currentColor;transform:rotate(45deg);transform-origin:left}
body.home main#icerik{max-width:none;padding:0}
.store-catalog{background:#fff;color:#202126;min-height:60vh;padding:0 max(20px,calc((100vw - 1480px)/2)) 32px}
.store-catalog .catalog-nav{border-bottom:1px solid #dedee1;margin:0 0 27px;gap:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding:0}
.store-catalog .catalog-nav a{flex:0 0 auto;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#202126;padding:16px 14px 13px;font-size:1rem;white-space:nowrap}
.store-catalog .catalog-nav a[aria-current],.store-catalog .catalog-nav a:hover{border-bottom-color:#e20715;color:#c8000c}
.store-catalog h1{font-size:clamp(2rem,4vw,3.25rem);margin:0 0 24px;line-height:1.1;letter-spacing:-.035em}
.store-catalog .grid{gap:clamp(12px,1.7vw,24px)}
.store-catalog .card{box-shadow:none;border-radius:11px}
.store-catalog .card img{aspect-ratio:3/2}
.store-catalog .card-photo img{object-fit:cover}
.store-catalog .card h2{font-size:clamp(1.15rem,2.1vw,1.8rem);margin:16px 15px 4px;font-weight:780}
.store-catalog .card p{font-size:clamp(1rem,1.5vw,1.25rem);margin:0 15px 15px;color:#525358}
.store-catalog .options{padding:0 14px 14px;background:#fff}
.store-catalog .option .buy{background:#df0714;min-height:48px}
.store-catalog .option .buy:only-child{justify-content:center}
.store-catalog .buy-icon{order:-1}
.store-catalog .buy-price{font-size:clamp(1.1rem,2vw,1.5rem)}
@media(max-width:650px){
 .site-head .head-inner{grid-template-columns:1fr auto;gap:9px 14px;padding:11px 14px}
 .site-head .catalog-search{grid-column:1/-1;grid-row:2}
 .site-head .cart-link{padding:9px 12px}
 .store-catalog{padding-inline:12px}
 .store-catalog .catalog-nav{margin-bottom:20px}
 .store-catalog .catalog-nav a{padding-inline:11px}
 .store-catalog .card h2,.store-catalog .card p{margin-inline:10px}
 .store-catalog .options{padding-inline:9px}
}

.store-catalog .buy-icon img{height:1em;width:1em;display:inline-block;aspect-ratio:auto;background:transparent}


.store-catalog .card-image-link{display:block}
.store-catalog .card h2 a{text-decoration:none}
.store-catalog .card h2 a:hover{text-decoration:underline}
body.single-product main#icerik{max-width:1490px;padding:clamp(16px,3vw,42px)}
.printiyi-single{color:#222329}
.product-breadcrumb{display:flex;align-items:center;gap:8px;color:#51535a;margin-bottom:20px;font-size:.91rem}
.product-breadcrumb a{text-underline-offset:3px}
.product-detail-grid{display:grid;grid-template-columns:minmax(0,1.13fr) minmax(0,1fr);gap:clamp(24px,5vw,76px);align-items:start}
.product-detail-image{display:grid;place-items:center;background:white;border-radius:12px;overflow:hidden}
.product-detail-image img{display:block;width:100%;height:auto;max-height:690px;object-fit:contain}
.product-detail-info{padding:clamp(0px,2vw,27px) 0}
.product-detail-info h1{font-size:clamp(2.1rem,5vw,4rem);line-height:1.06;letter-spacing:-.035em;margin:0 0 20px}
.product-detail-description{font-size:1.06rem;line-height:1.55;color:#47494f}
.product-detail-description p{margin:0 0 12px}
.product-choices{margin:26px 0 22px}
.product-choices h2{font-size:1.15rem;margin:0 0 10px}
.product-choices nav{display:flex;gap:9px;flex-wrap:wrap}
.product-choices a{flex:1 1 100px;text-align:center;padding:11px 10px;border:1px solid #ccc;border-radius:8px;text-decoration:none;font-weight:650}
.product-choices a[aria-current],.product-choices a:hover{background:#fff0f0;border-color:#df0714;color:#c40010}
.product-detail-price{font-size:clamp(2rem,4vw,3.5rem);font-weight:800;line-height:1.1;margin:24px 0 18px}
.product-detail-buy form.cart{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap;margin:0 0 20px}
.product-detail-buy form.cart .quantity{display:inline-flex;align-items:center;gap:2px;border:1px solid #ddd;border-radius:9px;direction:ltr;margin:0;min-height:52px}
.product-detail-buy form.cart .quantity input.qty{width:42px;text-align:center;border:0;background:transparent;appearance:textfield;-moz-appearance:textfield}
.product-detail-buy form.cart .quantity input.qty::-webkit-inner-spin-button,.product-detail-buy form.cart .quantity input.qty::-webkit-outer-spin-button{appearance:none;margin:0}
.product-detail-buy .quantity button{border:0;background:transparent;cursor:pointer;min-height:46px;min-width:38px;font:inherit;font-size:1.35rem}
.product-detail-buy form.cart button.single_add_to_cart_button{flex:1;min-height:52px;min-width:150px;background:#df0714;color:white;border-radius:9px;padding:10px 18px;font-size:1.13rem;font-weight:750}
.product-detail-buy form.cart button.single_add_to_cart_button:hover{background:#b90a13}
@media(max-width:720px){.product-detail-grid{grid-template-columns:1fr;gap:20px}.product-detail-image img{max-height:460px}}

.product-specs{display:grid;grid-template-columns:minmax(100px,max-content) minmax(0,1fr);gap:9px 20px;margin:0 0 24px;font-size:1.05rem;line-height:1.4}
.product-specs dt{font-weight:750}
.product-specs dd{margin:0;color:#383a40;overflow-wrap:anywhere}





/* Home campaigns and catalog shortcuts */
.store-header-actions{display:flex;gap:10px;align-items:center}
.products-top,.products-float{background:#f9c647;color:#202126;text-decoration:none;font-weight:800}
.products-top{padding:12px 16px;border-radius:10px}
.products-top:hover,.products-float:hover{background:#ffdb78;color:#202126}
.products-float{position:fixed;bottom:max(20px,env(safe-area-inset-bottom));left:clamp(12px,2vw,28px);width:76px;height:76px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;z-index:90;box-shadow:0 5px 19px #19191c40;font-size:12px;animation:printiyi-float 3s ease-in-out infinite}
.products-float span{font-size:25px;line-height:1}
.products-float:hover,.products-float:focus-visible{animation-play-state:paused}
@keyframes printiyi-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@media(prefers-reduced-motion:reduce){.products-float{animation:none}}
#urunler{scroll-margin-top:48px}
.home-promos{display:grid;gap:18px;margin:0 0 35px}
.promo-hero,.promo-feature{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border-radius:14px;align-items:stretch}
.promo-hero{background:#242528;color:#fff}
.promo-feature{background:#f6f5f3;color:#222328}
.promo-hero img,.promo-feature img{display:block;width:100%;height:100%;min-height:240px;max-height:370px;object-fit:cover}
.promo-copy{padding:clamp(22px,4vw,62px);align-self:center}
.promo-copy h2{font-size:clamp(2rem,4vw,4rem);letter-spacing:-.045em;line-height:1.03;margin:0 0 12px}
.promo-copy h2 span{color:#c40010}
.promo-copy p{font-size:clamp(1rem,1.6vw,1.35rem);margin:0 0 12px}
.promo-cta,.promo-tile span{display:inline-block;background:#cf0715;color:#fff;padding:10px 14px;border-radius:8px;font-weight:750;text-decoration:none}
.promo-cta:hover,.promo-tile:hover span{background:#a8000b}
.promo-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.promo-tile{position:relative;isolation:isolate;text-decoration:none;min-height:220px;overflow:hidden;border-radius:12px;background:#efefef;display:flex;align-items:flex-end}
.promo-tile img{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover}
.promo-tile::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,#141418d9,transparent 76%)}
.promo-tile div{padding:16px}
.promo-tile h2{color:#fff;font-size:clamp(1.1rem,2vw,1.65rem);margin:0 0 8px;line-height:1.15}
.promo-tile span{font-size:.88rem}
@media(max-width:650px){
 .products-top{padding:9px 10px;font-size:.87rem}
 .store-header-actions{gap:6px}
 .products-float{width:63px;height:63px}
 .promo-hero,.promo-feature{grid-template-columns:1fr}
 .promo-hero img,.promo-feature img{height:215px;min-height:0}
 .promo-hero img{grid-row:1}
 .promo-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .promo-tile{min-height:155px}
 .promo-tile:last-child{grid-column:1/-1}
 .promo-tile div{padding:11px}
}
@media(max-width:370px){.products-top,.site-head .cart-link{padding-inline:6px;font-size:.81rem}}

.product-detail-buy .printiyi-design{flex:0 0 100%;display:grid;gap:8px;color:#3b3b42}
.printiyi-design-button{position:relative;border:2px solid #d40a17;color:#c40814;background:#fff;min-height:48px;border-radius:9px;text-align:center;padding:10px;box-sizing:border-box;font-size:1.1rem;font-weight:750;cursor:pointer}
.printiyi-design-button:hover,.printiyi-design-button:focus-within{background:#fff1f2;outline:2px solid #d40a17;outline-offset:2px}
.printiyi-design-button input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.printiyi-design [hidden]{display:none!important}
.printiyi-design progress{width:100%;accent-color:#d40a17}
.printiyi-design [role=status]{overflow-wrap:anywhere}
.printiyi-design button{justify-self:start}

/* Printiyi catalog purchase buttons */
.store-catalog .option .buy{background:#911a1c;color:#fff;gap:10px}
.store-catalog .option .buy:hover,.store-catalog .option .buy:focus-visible{background:#781517}
.store-catalog .buy .buy-price,.store-catalog .buy .woocommerce-Price-amount{color:#fff}
.store-catalog .buy .buy-icon{flex:0 0 26px;width:26px;height:25px;font-size:0;background:center / contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2036%2034%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%204h5l7%2023h16M10%209h23l-4%2013H14%22%20stroke-width%3D%222.2%22%2F%3E%3Cpath%20d%3D%22m16%209%202%2013m4-13v13m6-13-2%2013M11%2013h21m-19%204h17%22%20stroke-width%3D%221.2%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M2%204h5%22%20stroke%3D%22%23911a1c%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%2F%3E%3Cg%20fill%3D%22%2328262b%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221%22%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%2229%22%20r%3D%223%22%2F%3E%3Ccircle%20cx%3D%2228%22%20cy%3D%2229%22%20r%3D%223%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
.store-catalog .buy .buy-icon img{display:none}
