/* v0.3.225 – pouze režim hotového motivu ARVILO; vlastní fotografie beze změny. */
.pfc-motif-heading { max-width:1100px;margin:12px auto 16px;padding:22px 26px;background:#f2faf4;border:1px solid #c5e2cd;border-radius:16px;color:#214e38; }
.pfc-motif-heading>span { display:block;font-size:12px;font-weight:800;letter-spacing:.13em;color:#367f55; }
.pfc-motif-heading h2 { margin:5px 0 7px;font-size:clamp(23px,3vw,34px);color:#20573a; }
.pfc-motif-heading p { margin:5px 0 0;line-height:1.55; }
.pfc-motif-loader { font-weight:700;color:#276b43; }
.pfc-motif-empty {max-width:760px;margin:30px auto;padding:30px;border:1px solid #c5e2cd;border-radius:16px;}
.pfc-motif-entry {margin:20px 0;}
.pfc-motif-entry .button,.pfc-motif-loop-button {display:inline-block;background:#236a41!important;color:#fff!important;padding:14px 20px!important;border-radius:9px!important;text-decoration:none!important;font-weight:800;}
.pfc-motif-entry p {margin:8px 0;color:#55715e;font-size:14px;}
.pfc-motif-mode [data-tool="photos"],
.pfc-motif-mode [data-tool-content="photos"],
.pfc-motif-mode [data-open-file-picker],
.pfc-motif-mode [data-open-camera],
.pfc-motif-mode [data-remove-photo],
.pfc-motif-mode .pfc-mobile-empty-actions,
.pfc-motif-mode .pfc-desktop-photo-add {display:none!important;}
@media (max-width:980px) { .pfc-motif-heading {margin:10px 12px;padding:16px;}.pfc-motif-heading h2 {font-size:23px;} }
.pfc-motif-mode [data-project-transfer-from-mobile],
.pfc-motif-mode [data-project-transfer-to-pc],
.pfc-motif-mode [data-project-transfer-create],
.pfc-motif-mode [data-mobile-step-guide],
.pfc-motif-mode [data-room-fullscreen-transfer] {display:none!important;}

/* Jednoduchá produktová nabídka – bez volby dalších vlastních fotografií. */
.pfc-motif-mode [data-photo-strip-wrap],
.pfc-motif-mode [data-desktop-photo-rail] [data-desktop-photo-add],
.pfc-motif-mode [data-open-file-picker],
.pfc-motif-mode [data-open-camera],
.pfc-motif-mode [data-mobile-step-guide] { display:none!important; }

/* v0.3.227 – stránka jednotlivého hotového obrazu: bez Divi sidebaru,
   s okamžitou volbou rozměru/rámu a nativním WooCommerce přidáním. */
body.pfc-art-product #main-content .container:before { display:none!important; }
body.pfc-art-product #sidebar { display:none!important; }
body.pfc-art-product #left-area { float:none!important;width:100%!important;padding:0!important; }
body.pfc-art-product #main-content .container { max-width:1200px;width:92%;padding-top:38px; }
body.pfc-art-product #main-content .container .product { margin:0 auto; }
body.pfc-art-product .woocommerce div.product div.images,
body.pfc-art-product .woocommerce-page div.product div.images { width:52%;margin-bottom:25px; }
body.pfc-art-product .woocommerce div.product div.summary,
body.pfc-art-product .woocommerce-page div.product div.summary { width:43%; }
body.pfc-art-product .woocommerce div.product .product_title {font-size:clamp(28px,2.7vw,38px);font-weight:750;line-height:1.16;color:#244a36;padding-bottom:8px;}
body.pfc-art-product .woocommerce-product-gallery { --pfc-motif-frame-color:#b28b60; }
body.pfc-art-product .woocommerce-product-gallery .woocommerce-product-gallery__image:first-child>a>img {
  display:block;border:clamp(9px,1.3vw,16px) solid var(--pfc-motif-frame-color);
  box-shadow:0 12px 26px rgba(0,0,0,.14);border-radius:2px;box-sizing:border-box;
}
body.pfc-art-product div.product .summary > p.price { display:none; }
body.pfc-art-product .woocommerce-product-details__short-description {font-size:15px;line-height:1.55;color:#506253;margin:10px 0 18px;}
.pfc-motif-product-buy {background:#fff;border:1px solid #d5e6da;border-radius:17px;padding:22px;box-shadow:0 8px 26px rgba(31,83,50,.065);clear:both;}
.pfc-motif-product-intro {margin:0 0 16px;color:#57715f;font-size:14px;line-height:1.5;}
.pfc-motif-quick-form {display:block!important;float:none!important;margin:0!important;}
.pfc-motif-label {display:block;font-weight:750;font-size:14px;color:#254f38;margin:0 0 8px;line-height:1.45;}
.pfc-motif-quick-form select {display:block!important;width:100%!important;max-width:none!important;height:48px!important;min-height:48px!important;padding:0 40px 0 14px!important;color:#285039!important;font-size:15px!important;font-weight:650!important;border:1px solid #a6cdb4!important;border-radius:9px!important;background-color:#f6fbf7!important;box-shadow:none!important;cursor:pointer;}
.pfc-motif-quick-form select:focus-visible {outline:2px solid #28774a;outline-offset:2px;}
.pfc-motif-frame-fieldset {border:0!important;padding:0!important;margin:19px 0 20px!important;min-width:0!important;}
.pfc-motif-frame-options {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;}
.pfc-motif-frame-choice {min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:76px;padding:8px 3px;border:1px solid #d8e4dc;border-radius:9px;background:#fafcfb;font-size:11px;font-weight:650;color:#385542;cursor:pointer;position:relative;text-align:center;line-height:1.2;}
.pfc-motif-frame-choice input {position:absolute;opacity:0;width:1px;height:1px;left:8px;}
.pfc-motif-frame-choice:has(input:checked) {background:#e8f5eb;border:2px solid #2b8650;box-shadow:0 0 0 1px rgba(43,134,80,.11);}
.pfc-motif-frame-choice:has(input:focus-visible) {outline:2px solid #2b8650;outline-offset:3px;}
.pfc-motif-frame-dot {display:block;width:28px;height:28px;border:1px solid rgba(0,0,0,.15);border-radius:5px;box-shadow:inset 0 0 0 3px rgba(255,255,255,.16);}
.pfc-motif-price-wrap {display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 0;border-top:1px solid #e6eee8;}
.pfc-motif-price-caption {display:block;color:#697b70;font-size:12px;margin-bottom:3px;}
.pfc-motif-dynamic-price {display:block;font-size:28px;color:#184d2d;line-height:1.1;white-space:nowrap;}
.pfc-motif-dynamic-price small {font-size:14px;font-weight:500;}
.pfc-motif-quality-note {display:block;font-size:12px;line-height:1.4;color:#536d5b;max-width:180px;text-align:right;}
.pfc-motif-quality-error {color:#b13e36!important;font-weight:700;}
.pfc-motif-purchase-actions {display:flex;align-items:stretch;gap:10px;margin:2px 0 0;}
.pfc-motif-quick-form .pfc-motif-purchase-actions .quantity {float:none!important;margin:0!important;flex:0 0 64px;}
.pfc-motif-quick-form .pfc-motif-purchase-actions .quantity input.qty {margin:0!important;width:64px!important;max-width:64px!important;height:49px!important;border:1px solid #aad4b8!important;background:#f3fbf5!important;border-radius:9px!important;color:#205a39!important;font-size:17px!important;font-weight:750!important;}
.pfc-motif-quick-form .pfc-motif-purchase-actions .pfc-motif-add-btn {display:flex!important;align-items:center;justify-content:center;flex:1;float:none!important;margin:0!important;padding:10px 15px!important;min-height:49px;border:0!important;border-radius:9px!important;background:#21824a!important;color:white!important;font-size:15px!important;font-weight:800!important;text-transform:none!important;line-height:1.25!important;opacity:1;box-shadow:0 5px 12px rgba(33,130,74,.15);white-space:normal;}
.pfc-motif-quick-form .pfc-motif-purchase-actions .pfc-motif-add-btn:after {display:none!important;}
.pfc-motif-quick-form .pfc-motif-purchase-actions .pfc-motif-add-btn:hover:not(:disabled) {background:#176d3c!important;}
.pfc-motif-quick-form .pfc-motif-purchase-actions .pfc-motif-add-btn:disabled {background:#a2b9a9!important;box-shadow:none;cursor:not-allowed;opacity:.85;}
.pfc-motif-load-status {min-height:19px;margin:10px 0 0!important;font-size:12px;color:#5a725e;line-height:1.5;}
.pfc-motif-product-error .pfc-motif-load-status {color:#b13e36;}
.pfc-motif-room-link {display:flex;align-items:center;justify-content:center;gap:9px;min-height:47px;margin-top:12px;border:1px solid #2c8050!important;background:#f3faf5;border-radius:9px;font-weight:800;color:#246842!important;text-align:center;padding:11px 9px;line-height:1.35;}
.pfc-motif-room-link:hover {background:#e2f3e7;color:#1b5834!important;}
.pfc-motif-room-link span {font-size:19px;}
.pfc-motif-product-footnote {font-size:12px;color:#738478;line-height:1.5;margin:12px 0 0!important;}
body.pfc-art-product .woocommerce-tabs {clear:both;padding-top:22px;}
@media (max-width:980px) {
  body.pfc-art-product #main-content .container {width:92%;max-width:740px;padding-top:22px;}
  body.pfc-art-product .woocommerce div.product div.images,
  body.pfc-art-product .woocommerce-page div.product div.images,
  body.pfc-art-product .woocommerce div.product div.summary,
  body.pfc-art-product .woocommerce-page div.product div.summary {width:100%!important;float:none!important;}
  .pfc-motif-product-buy {padding:17px;}
}
@media (max-width:380px) {
  .pfc-motif-frame-options {gap:4px;}
  .pfc-motif-frame-choice {font-size:10px;min-height:72px;padding:7px 2px;}
  .pfc-motif-dynamic-price {font-size:24px;}
  .pfc-motif-purchase-actions {gap:7px;}
}

/* v0.3.228 – jednoduchý nákup: jen rozměr, množství a odkaz do galerie. */
.pfc-motif-quick-form .pfc-motif-purchase-actions .quantity {flex:0 0 74px;}
.pfc-motif-quick-form .pfc-motif-purchase-actions .quantity input.qty {width:74px!important;max-width:74px!important;}
.pfc-motif-back-to-shop {display:inline-flex;align-items:center;margin-top:18px;font-size:14px;font-weight:750;color:#236a41!important;text-decoration:underline;text-underline-offset:3px;}
.pfc-motif-back-to-shop:hover {color:#15482b!important;}
body.pfc-art-product .woocommerce-product-gallery {--pfc-motif-frame-color:#e7d2ae;}

/* v0.3.229 – nadpis nad snímkem, drobečková navigace až pod galerií. */
body.pfc-art-product div.product > h1.product_title {
    display:block!important;float:none!important;clear:both;width:100%!important;
    font-size:clamp(28px,2.7vw,38px)!important;font-weight:750!important;
    line-height:1.18!important;margin:0 0 22px!important;padding:0!important;color:#244a36!important;
}
body.pfc-art-product div.product div.images .woocommerce-breadcrumb.pfc-motif-breadcrumb {
    display:block!important;float:none!important;width:100%!important;
    margin:14px 0 12px!important;padding:0!important;font-size:13px!important;
    line-height:1.5!important;color:#66776a!important;
}
body.pfc-art-product .pfc-motif-quick-form .screen-reader-text {
    clip:rect(1px,1px,1px,1px)!important;
    clip-path:inset(50%)!important;height:1px!important;width:1px!important;
    overflow:hidden!important;position:absolute!important;white-space:nowrap!important;
}
body.pfc-art-product .pfc-motif-product-buy {padding-top:20px;}
@media (max-width:980px) {
    body.pfc-art-product div.product > h1.product_title {margin-bottom:16px!important;}
    body.pfc-art-product div.product div.images .woocommerce-breadcrumb.pfc-motif-breadcrumb {margin-top:12px!important;}
}
body.pfc-art-product #main-content .container {box-sizing:border-box;}

/* v0.3.230 — oddělený produktový editor hotového motivu. Konfigurátor vlastních fotografií beze změn. */
body.pfc-art-product #main-content .container{padding-top:56px!important;}
body.pfc-art-product div.product > h1.product_title{margin:0 0 34px!important; padding:0 0 4px!important;}
body.pfc-art-product .woocommerce-product-gallery.pfc-motif-preview-ready .woocommerce-product-gallery__wrapper,
body.pfc-art-product .woocommerce-product-gallery.pfc-motif-preview-ready .woocommerce-product-gallery__trigger,
body.pfc-art-product .pfc-motif-preview-ready .woocommerce-product-gallery__wrapper,
body.pfc-art-product .pfc-motif-preview-ready .woocommerce-product-gallery__trigger {display:none!important;}
body.pfc-art-product .woocommerce-product-gallery.pfc-motif-preview-ready,
body.pfc-art-product .pfc-motif-preview-ready{--pfc-frame-border:12px;}
.pfc-motif-art-stage{display:flex;align-items:center;justify-content:center;position:relative;width:100%;height:clamp(290px,33vw,510px);margin:0 0 5px;background:#fcfcfa;border-radius:4px;box-sizing:border-box;overflow:hidden;}
.pfc-motif-artwork,.pfc-motif-room-art{box-sizing:border-box;flex-shrink:0;border:var(--pfc-frame-border,12px) solid var(--pfc-frame-color,#b39266);border-image-slice:128;border-image-width:var(--pfc-frame-border,12px);border-image-repeat:stretch;overflow:hidden;box-shadow:0 10px 24px rgba(0,0,0,.18);background:#eee;}
.pfc-motif-artwork img,.pfc-motif-room-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none;user-select:none;}
.pfc-motif-stage-zoom{position:absolute;right:13px;top:13px;display:grid;place-items:center;min-width:42px;height:42px;padding:0;border:1px solid #fff!important;background:rgba(20,25,20,.78)!important;color:white!important;border-radius:99px;font-size:30px;cursor:pointer;line-height:1!important;}
.pfc-motif-stage-zoom:hover{background:#236e45!important;}
.pfc-motif-room-open{display:flex;width:100%;min-height:44px;justify-content:center;align-items:center;gap:8px;margin:17px 0 0;border-radius:9px!important;border:1px solid #39895b!important;background:#f0f8f2!important;color:#215b38!important;cursor:pointer;font-size:14px;font-weight:750;text-align:center;padding:11px 15px;}
.pfc-motif-room-open:hover{background:#dfefe4!important;}
.pfc-motif-room-open span{font-size:20px;}
.pfc-motif-room-modal[hidden],.pfc-motif-custom-picker[hidden],.pfc-motif-room-custom-empty[hidden],.pfc-motif-room-tabs button[hidden]{display:none!important;}
body.pfc-motif-modal-open{overflow:hidden!important;}
.pfc-motif-room-modal{position:fixed;inset:0;z-index:999999;background:rgba(10,14,12,.87);display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box;}
.pfc-motif-room-dialog{background:#fff;border-radius:16px;width:min(100%,1080px);max-height:calc(100dvh - 26px);display:flex;flex-direction:column;box-shadow:0 18px 55px rgba(0,0,0,.33);overflow:auto;}
.pfc-motif-room-head{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;gap:12px;color:#234d34;font-size:19px;}
.pfc-motif-close{border:0!important;background:#292d2a!important;color:#fff!important;width:40px;height:40px;line-height:1!important;border-radius:50%!important;font-size:30px!important;cursor:pointer;}
.pfc-motif-room-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:0 20px 14px;}
.pfc-motif-room-tabs button{border:1px solid #c8dcd0!important;border-radius:8px!important;background:#f5faf6!important;padding:8px 13px!important;font-size:13px!important;color:#355b40!important;cursor:pointer;font-weight:700;}
.pfc-motif-room-tabs button[aria-pressed="true"]{background:#256e44!important;color:#fff!important;border-color:#256e44!important;}
.pfc-motif-room-canvas{position:relative;width:100%;aspect-ratio:16 / 9;background:#ddd center/cover no-repeat;min-height:210px;overflow:hidden;touch-action:pan-y;}
.pfc-motif-room-art{position:absolute;transform:translate(-50%,-50%);cursor:grab;touch-action:none;user-select:none;outline-offset:4px;}
.pfc-motif-room-art:active{cursor:grabbing;}
.pfc-motif-room-custom-empty{position:absolute;left:50%;top:85%;transform:translate(-50%,-50%);background:rgba(255,255,255,.92);padding:10px 14px;border-radius:8px;color:#364f3d;max-width:90%;font-size:13px;text-align:center;pointer-events:none;}
.pfc-motif-room-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:13px 20px;}
.pfc-motif-custom-picker{display:inline-flex;align-items:center;justify-content:center;background:#edf7ef;border:1px solid #a9cab5;border-radius:8px;padding:9px 12px;color:#28613e;cursor:pointer;font-size:13px;font-weight:750;}
.pfc-motif-custom-picker input{position:absolute;width:1px;height:1px;opacity:0;}
.pfc-motif-scale-control{display:flex;align-items:center;gap:12px;color:#365b42;font-size:13px;font-weight:650;}
.pfc-motif-scale-control input{width:125px;accent-color:#28794b;}
.pfc-motif-room-foot button{border:1px solid #b1cdb8!important;background:#fff!important;color:#2e6242!important;border-radius:8px!important;padding:9px 12px!important;font-size:13px!important;cursor:pointer;}
.pfc-motif-room-caption{padding:0 20px 15px;margin:0!important;font-size:12px;color:#637667;}
@media (max-width:980px){body.pfc-art-product #main-content .container{padding-top:27px!important;}body.pfc-art-product div.product > h1.product_title{margin-bottom:20px!important;} .pfc-motif-art-stage{height:min(78vw,420px);min-height:245px;} .pfc-motif-room-dialog{max-height:calc(100dvh - 14px);} .pfc-motif-room-tabs{gap:5px;padding:0 12px 9px;} .pfc-motif-room-tabs button{font-size:12px!important;padding:8px 9px!important;}.pfc-motif-room-head,.pfc-motif-room-foot{padding:12px;} .pfc-motif-room-canvas{aspect-ratio:4/3;min-height:240px;} .pfc-motif-room-foot{justify-content:center;} }

/* v0.3.231: WooCommerce a Divi mohou přepisovat height:auto a max-width u obrázků.
   Náhled musí vždy vyplnit celou vnitřní plochu rámu včetně změny poměru stran. */
body.pfc-art-product .woocommerce div.product div.images .pfc-motif-artwork > img,
body.pfc-art-product .woocommerce-page div.product div.images .pfc-motif-artwork > img,
body.pfc-art-product .pfc-motif-artwork > img,
body.pfc-art-product .pfc-motif-room-art > img {
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-width:100%!important;
    min-height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:cover!important;
    object-position:center center!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    float:none!important;
    box-sizing:border-box!important;
}
body.pfc-art-product .pfc-motif-artwork,
body.pfc-art-product .pfc-motif-room-art {
    padding:0!important;
    line-height:0;
}

/* v0.3.232 – sjednocení detailu hotového obrazu s ovládáním původního konfigurátoru.
   Všechna nová pravidla platí jen na jednotlivém označeném produktu ARVILO. */
body.pfc-art-product .pfc-motif-sizes-fieldset {
  border:0!important;padding:0!important;margin:0 0 16px!important;min-width:0!important;
}
body.pfc-art-product .pfc-motif-sizes-fieldset .pfc-motif-label {
  display:block;font-size:13px;font-weight:750;margin:0 0 9px;color:#24563c;
}
body.pfc-art-product .pfc-motif-size-options {
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;
}
body.pfc-art-product .pfc-motif-size-choice {position:relative;display:block;cursor:pointer;min-width:0;}
body.pfc-art-product .pfc-motif-size-choice input {
  position:absolute;opacity:0;width:1px;height:1px;left:8px;top:8px;
}
body.pfc-art-product .pfc-motif-size-choice>span {
  display:flex;justify-content:center;align-items:center;min-height:40px;padding:8px 3px;
  box-sizing:border-box;border:2px solid transparent;border-radius:8px;
  background:#4d8968;color:white;font-size:12px;font-weight:800;line-height:1.15;
  white-space:nowrap;box-shadow:none;text-align:center;
}
body.pfc-art-product .pfc-motif-size-choice:hover>span {background:#387d57;}
body.pfc-art-product .pfc-motif-size-choice input:checked+span {
  background:#2b6546;border-color:#153e2b;box-shadow:0 0 0 2px #cde5d4;
}
body.pfc-art-product .pfc-motif-size-choice input:focus-visible+span {outline:3px solid #214e38;outline-offset:3px;}
body.pfc-art-product .pfc-motif-frame-fieldset {margin:8px 0 16px!important;}
body.pfc-art-product .pfc-motif-frame-choice {min-height:65px;}
/* Cena, množství a nákup jsou jeden vizuální řádek – včetně mobilu. */
body.pfc-art-product .pfc-motif-purchase-actions {
  display:flex!important;align-items:end!important;gap:12px!important;
  padding-top:16px;border-top:1px solid #e6eee8;margin:0!important;min-width:0;
}
body.pfc-art-product .pfc-motif-inline-price {
  flex:0 0 auto;min-width:95px;align-self:center;white-space:nowrap;
}
body.pfc-art-product .pfc-motif-purchase-actions .pfc-motif-price-caption {font-size:11px;color:#708274;margin-bottom:3px;}
body.pfc-art-product .pfc-motif-purchase-actions .pfc-motif-dynamic-price {font-size:clamp(20px,2.1vw,27px);line-height:1.2;color:#205b38;}
body.pfc-art-product .pfc-motif-quantity-label {
  flex:0 0 60px;display:flex;flex-direction:column;justify-content:end;align-items:stretch;
  min-width:0;margin:0!important;padding:0!important;gap:6px;color:#355840;font-size:11px;font-weight:700;
}
body.pfc-art-product .pfc-motif-quick-form .pfc-motif-purchase-actions .quantity {flex:none!important;width:100%!important;}
body.pfc-art-product .pfc-motif-quick-form .pfc-motif-purchase-actions .quantity input.qty {
  width:100%!important;max-width:100%!important;height:47px!important;min-height:47px!important;
}
body.pfc-art-product .pfc-motif-quick-form .pfc-motif-purchase-actions .pfc-motif-add-btn {
  min-width:0!important;flex:1 1 0!important;min-height:47px!important;white-space:nowrap!important;
  font-size:clamp(11px,1vw,14px)!important;padding:9px 10px!important;
}
/* Galerie: hlavní obraz, čtyři miniatury a lupa v jedné jednotné oblasti. */
body.pfc-art-product .pfc-motif-art-stage {
  height:clamp(310px,32vw,495px);margin:0 0 10px;
  background-color:#f8f9f7;background-position:center;background-repeat:no-repeat;background-size:cover;
}
body.pfc-art-product .pfc-motif-art-stage.is-room .pfc-motif-artwork {
  position:absolute;transform:translate(-50%,-50%);z-index:1;
}
body.pfc-art-product .pfc-motif-art-stage.is-frame .pfc-motif-artwork {position:relative;left:auto;top:auto;transform:none;}
body.pfc-art-product .pfc-motif-stage-zoom {
  display:grid!important;place-items:center!important;z-index:3;
  right:13px!important;top:13px!important;width:43px!important;min-width:43px!important;height:43px!important;
  background:rgba(22,28,25,.82)!important;border:1px solid rgba(255,255,255,.8)!important;
  padding:0!important;border-radius:50%!important;color:#fff!important;
}
body.pfc-art-product .pfc-motif-preview-thumbs {
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;
  margin:7px 0 16px;box-sizing:border-box;
}
body.pfc-art-product .pfc-motif-preview-thumb {
  display:flex!important;flex-direction:column;align-items:center;gap:5px;
  min-width:0!important;padding:5px!important;margin:0!important;
  border:1px solid #d5e0d8!important;border-radius:9px!important;
  color:#465b4d!important;background:#fff!important;box-shadow:none!important;cursor:pointer;
}
body.pfc-art-product .pfc-motif-preview-thumb.is-active {
  border-color:#2b7850!important;box-shadow:0 0 0 2px rgba(32,115,68,.22)!important;
}
body.pfc-art-product .pfc-motif-preview-thumb:focus-visible {outline:3px solid #26764e;outline-offset:2px;}
body.pfc-art-product .pfc-motif-thumb-visual {
  display:flex;position:relative;width:100%;height:64px;overflow:hidden;
  justify-content:center;align-items:center;border-radius:5px;background:#e6ebe7;
}
body.pfc-art-product .pfc-motif-thumb-bg {
  display:block!important;width:100%!important;height:100%!important;
  max-width:none!important;object-fit:cover!important;position:absolute;inset:0;
}
body.pfc-art-product .pfc-motif-thumb-visual:has(+.pfc-motif-thumb-label) .pfc-motif-thumb-frame {
  display:block;position:relative;z-index:1;box-sizing:border-box;border:var(--pfc-frame-border,2px) solid var(--pfc-frame-color,#b39266);
  border-image-slice:128;border-image-width:var(--pfc-frame-border,2px);border-image-repeat:stretch;
  overflow:hidden;box-shadow:0 2px 6px rgba(0,0,0,.24);background:#eee;
}
body.pfc-art-product .pfc-motif-thumb-frame>img {
  display:block!important;box-sizing:border-box!important;width:100%!important;height:100%!important;
  min-width:100%!important;min-height:100%!important;max-width:none!important;
  object-fit:cover!important;margin:0!important;padding:0!important;border:0!important;
}
body.pfc-art-product .pfc-motif-preview-thumb[data-scene="frame"] .pfc-motif-thumb-bg {display:none!important;}
body.pfc-art-product .pfc-motif-preview-thumb[data-scene="custom"] .pfc-motif-thumb-visual:after {
  content:'+';display:grid;place-items:center;position:absolute;right:2px;bottom:2px;
  width:17px;height:17px;border-radius:50%;background:#286d45;color:#fff;font-size:15px;z-index:2;
}
body.pfc-art-product .pfc-motif-thumb-label {
  display:block;min-width:0;font-size:11px;line-height:1.3;text-align:center;
  color:#375743!important;font-weight:650;word-break:normal;
}
body.pfc-art-product .pfc-motif-room-canvas.is-frame {background-color:#171a18!important;}
/* Mobil: žádné horizontální přetečení formuláře, cena i tlačítko vždy v jedné řadě. */
@media (max-width:980px) {
  body.pfc-art-product .pfc-motif-art-stage {height:min(78vw,440px);min-height:250px;}
  body.pfc-art-product .pfc-motif-preview-thumbs {gap:6px;}
  body.pfc-art-product .pfc-motif-thumb-visual {height:59px;}
  body.pfc-art-product .pfc-motif-thumb-label {font-size:10px;}
  body.pfc-art-product .pfc-motif-purchase-actions {gap:8px!important;}
}
@media (max-width:430px) {
  body.pfc-art-product .pfc-motif-size-options {grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;}
  body.pfc-art-product .pfc-motif-size-choice>span {min-height:38px;font-size:12px;}
  body.pfc-art-product .pfc-motif-product-buy {padding:14px!important;}
  body.pfc-art-product .pfc-motif-inline-price {min-width:0;flex:0 0 auto;}
  body.pfc-art-product .pfc-motif-purchase-actions .pfc-motif-dynamic-price {font-size:20px;}
  body.pfc-art-product .pfc-motif-quantity-label {flex-basis:47px;}
  body.pfc-art-product .pfc-motif-quick-form .pfc-motif-purchase-actions .pfc-motif-add-btn {font-size:11px!important;padding:8px 5px!important;}
  body.pfc-art-product .pfc-motif-purchase-actions {gap:6px!important;}
  body.pfc-art-product .pfc-motif-thumb-visual {height:50px;}
  body.pfc-art-product .pfc-motif-thumb-label {font-size:9px;}
}


/* v0.3.233 – stabilní WooCommerce/Divi galerie hotových motivů.
   Skryté prvky nesmějí vytvářet druhý obraz při prvním načtení. */
body.pfc-art-product .pfc-motif-art-stage[hidden],
body.pfc-art-product .pfc-motif-preview-thumbs[hidden]{display:none!important;}
body.pfc-art-product .woocommerce-product-gallery.pfc-motif-preview-ready .woocommerce-product-gallery__wrapper,
body.pfc-art-product .woocommerce-product-gallery.pfc-motif-preview-ready .woocommerce-product-gallery__trigger,
body.pfc-art-product .woocommerce-product-gallery.pfc-motif-preview-ready .flex-viewport,
body.pfc-art-product .woocommerce-product-gallery.pfc-motif-preview-ready .flex-control-nav,
body.pfc-art-product .woocommerce-product-gallery.pfc-motif-preview-ready .woocommerce-product-gallery__image {display:none!important;}
/* Lupa je přímo v horním pravém rohu fotografie, nikoliv volného prostoru galerie. */
body.pfc-art-product .pfc-motif-artwork .pfc-motif-stage-zoom {
  position:absolute!important;right:9px!important;top:9px!important;z-index:10!important;
  width:40px!important;min-width:40px!important;height:40px!important;
  border-radius:50%!important;padding:0!important;line-height:1!important;
  transform:none!important;pointer-events:auto!important;
}
/* Místo čtvrtého duplicitního snímku zobrazit jednoduché + pro vlastní místnost. */
body.pfc-art-product .pfc-motif-preview-thumb.pfc-motif-add-room {
  display:flex!important;align-items:center!important;justify-content:center!important;
  gap:0!important;background:#fafdfb!important;border:1px dashed #97bba5!important;
}
body.pfc-art-product .pfc-motif-room-plus {
  display:grid!important;place-items:center!important;width:100%;height:64px;
  font-size:32px!important;line-height:1!important;color:#285d3d!important;font-weight:400;
}
@media (max-width:980px) {body.pfc-art-product .pfc-motif-room-plus{height:59px;}}
@media (max-width:430px) {body.pfc-art-product .pfc-motif-room-plus{height:50px;}}

/* v0.3.234 — stabilní galerie vykreslovaná PHP, bez závislosti na dynamickém
   vytvoření galerie WooCommerce/Divi. Platí jen pro hotové obrazy ARVILO. */
body.pfc-art-product .woocommerce div.product .woocommerce-product-gallery:not([data-pfc-motif-gallery]),
body.pfc-art-product .woocommerce-page div.product .woocommerce-product-gallery:not([data-pfc-motif-gallery]) {
  display:none!important;
}
body.pfc-art-product .woocommerce div.product div.images.pfc-motif-own-gallery,
body.pfc-art-product .woocommerce-page div.product div.images.pfc-motif-own-gallery {
  display:block!important;
  width:52%!important;
  float:left!important;
  margin:0 0 24px!important;
  padding:0!important;
  background:transparent!important;
  opacity:1!important;
  position:relative;
}
body.pfc-art-product .woocommerce div.product div.summary,
body.pfc-art-product .woocommerce-page div.product div.summary {width:43%!important;float:right!important;}
body.pfc-art-product .woocommerce div.product div.summary h1.product_title,
body.pfc-art-product .woocommerce-page div.product div.summary h1.product_title {
  display:block!important;float:none!important;clear:none!important;width:auto!important;
  font-size:clamp(25px,2.4vw,36px)!important;
  padding:0!important;margin:0 0 17px!important;
  line-height:1.2!important;color:#263e30!important;
}
body.pfc-art-product .pfc-motif-own-gallery .pfc-motif-art-stage {
  display:flex!important;
  height:clamp(300px,32vw,495px)!important;
  background-color:transparent!important;
  border:0!important;border-radius:0!important;
  box-shadow:none!important;margin:0 0 11px!important;
  overflow:hidden!important;
}
body.pfc-art-product .pfc-motif-own-gallery .pfc-motif-art-stage .pfc-motif-artwork {
  width:min(87%,450px);
  aspect-ratio:4/3;
  height:auto;
  position:relative;
  box-sizing:border-box!important;
  border:var(--pfc-frame-border,12px) solid var(--pfc-frame-color,#b39266);
  border-image-slice:128;
  border-image-width:var(--pfc-frame-border,12px);
  border-image-repeat:stretch;
}
body.pfc-art-product .pfc-motif-own-gallery .pfc-motif-artwork > img {
  width:100%!important;height:100%!important;max-width:none!important;
  min-width:100%!important;min-height:100%!important;object-fit:cover!important;
  margin:0!important;padding:0!important;border:0!important;
}
body.pfc-art-product .pfc-motif-own-gallery .pfc-motif-preview-thumbs {
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));
  width:100%!important;margin:8px 0 14px!important;clear:both!important;
}
body.pfc-art-product .pfc-motif-own-gallery .pfc-motif-breadcrumb {
  display:block!important;width:100%!important;clear:both!important;
  margin-top:12px!important;font-size:12px!important;color:#6b796e!important;
}
body.pfc-art-product .pfc-motif-own-gallery .pfc-motif-breadcrumb .woocommerce-breadcrumb {
  display:block!important;position:static!important;margin:0!important;padding:0!important;
  float:none!important;width:100%!important;
}
body.pfc-art-product .woocommerce-breadcrumb:not(.pfc-motif-own-gallery .woocommerce-breadcrumb) {
  /* Starší Divi může generovat vlastní breadcrumb – nový je vždy pod obrazem. */
}
@media (max-width:980px) {
  body.pfc-art-product .woocommerce div.product div.images.pfc-motif-own-gallery,
  body.pfc-art-product .woocommerce-page div.product div.images.pfc-motif-own-gallery,
  body.pfc-art-product .woocommerce div.product div.summary,
  body.pfc-art-product .woocommerce-page div.product div.summary {
    width:100%!important;float:none!important;clear:both!important;
  }
  body.pfc-art-product .pfc-motif-own-gallery .pfc-motif-art-stage {
    height:min(78vw,440px)!important;min-height:240px!important;
  }
}
body.pfc-art-product .pfc-motif-own-gallery .pfc-motif-art-stage.is-room .pfc-motif-artwork {
  position:absolute!important;transform:translate(-50%,-50%)!important;
}
body.pfc-art-product .pfc-motif-own-gallery .pfc-motif-art-stage.is-frame .pfc-motif-artwork {
  position:relative!important;left:auto!important;top:auto!important;transform:none!important;
}
@media (min-width:981px) {
  /* Divi s pevným záhlavím: nenechat nadpis překrývat horním menu. */
  body.pfc-art-product #main-content .container {padding-top:95px!important;}
}

/* v0.3.235 – ARVILO katalog hotových motivů: jen obraz, název a popis. */
body.pfc-art-catalog #main-content .container:before{display:none!important;}
body.pfc-art-catalog #sidebar{display:none!important;}
body.pfc-art-catalog #left-area{float:none!important;width:100%!important;padding:0!important;}
body.pfc-art-catalog #main-content .container{max-width:1360px!important;width:92%!important;padding-top:45px!important;}
body.pfc-art-catalog .woocommerce .woocommerce-result-count,
body.pfc-art-catalog .woocommerce .woocommerce-ordering{display:none!important;}
body.pfc-art-catalog .woocommerce ul.products,
body.pfc-art-catalog .woocommerce-page ul.products{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:26px 22px!important;clear:both!important;margin:24px 0!important;
}
body.pfc-art-catalog .woocommerce ul.products li.product,
body.pfc-art-catalog .woocommerce-page ul.products li.product{
  float:none!important;width:auto!important;clear:none!important;margin:0!important;
  padding:0!important;box-shadow:none!important;border:none!important;min-width:0!important;
}
body.pfc-art-catalog .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link,
body.pfc-art-catalog .woocommerce ul.products li.product > a.woocommerce-loop-product__link{display:block!important;text-decoration:none!important;}
body.pfc-art-catalog .woocommerce ul.products li.product img{
  display:block!important;width:100%!important;max-width:100%!important;height:auto!important;
  aspect-ratio:4/3;object-fit:contain;object-position:center;background:transparent;
  border:0!important;box-shadow:none!important;margin:0 0 12px!important;
}
body.pfc-art-catalog .woocommerce ul.products li.product h2,
body.pfc-art-catalog .woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size:17px!important;color:#243f30!important;font-weight:700!important;line-height:1.35!important;
  padding:0!important;margin:0 0 6px!important;text-align:left!important;
}
body.pfc-art-catalog .woocommerce ul.products li.product .pfc-art-catalog-desc{
  color:#65756a!important;font-size:13px!important;line-height:1.55!important;
  margin:0!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
body.pfc-art-catalog .woocommerce ul.products li.product .price,
body.pfc-art-catalog .woocommerce ul.products li.product .button,
body.pfc-art-catalog .woocommerce ul.products li.product .star-rating,
body.pfc-art-catalog .woocommerce ul.products li.product .onsale{display:none!important;}
@media (max-width:1100px){body.pfc-art-catalog .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media (max-width:767px){body.pfc-art-catalog .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:21px 12px!important;}body.pfc-art-catalog .woocommerce ul.products li.product h2{font-size:15px!important;}}

/* Lupa je ukotvena k celému náhledu; při místnosti zůstává nahoře vpravo. */
body.pfc-art-product .pfc-motif-own-gallery .pfc-motif-art-stage > .pfc-motif-stage-zoom{
  position:absolute!important;right:13px!important;top:13px!important;left:auto!important;
  transform:none!important;z-index:10!important;pointer-events:auto!important;
}
/* V miniaturách místností má malý rám viset na stěně, nikoli sedět na nábytku. */
body.pfc-art-product .pfc-motif-preview-thumb[data-scene="living"] .pfc-motif-thumb-frame,
body.pfc-art-product .pfc-motif-preview-thumb[data-scene="bedroom"] .pfc-motif-thumb-frame,
body.pfc-art-product .pfc-motif-modal-thumb[data-scene="living"] .pfc-motif-thumb-frame,
body.pfc-art-product .pfc-motif-modal-thumb[data-scene="bedroom"] .pfc-motif-thumb-frame{
  position:absolute!important;left:50%!important;top:34%!important;
  transform:translate(-50%,-50%)!important;z-index:2!important;
}
body.pfc-art-product .pfc-motif-preview-thumb[data-scene="frame"] .pfc-motif-thumb-frame{
  position:relative!important;left:auto!important;top:auto!important;transform:none!important;
}
/* Plnoobrazovkový náhled: nejprve obrázek, pak volby a nakonec miniatury. */
body.pfc-art-product .pfc-motif-room-dialog{width:min(96vw,1120px)!important;}
body.pfc-art-product .pfc-motif-room-canvas{flex:0 0 auto;min-height:180px;max-height:58vh;}
body.pfc-art-product .pfc-motif-room-head{padding:10px 18px!important;}
body.pfc-art-product .pfc-motif-modal-tools{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;padding:12px 18px 5px;}
body.pfc-art-product .pfc-motif-modal-sizes,
body.pfc-art-product .pfc-motif-modal-frames{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;}
body.pfc-art-product .pfc-motif-modal-sizes button,
body.pfc-art-product .pfc-motif-modal-frames button{
  background:#f6faf7!important;color:#2c6041!important;border:1px solid #bbd5c4!important;
  border-radius:7px!important;font-size:12px!important;font-weight:700!important;
  padding:8px 11px!important;min-height:35px!important;min-width:0!important;cursor:pointer;
}
body.pfc-art-product .pfc-motif-modal-sizes button[aria-pressed="true"],
body.pfc-art-product .pfc-motif-modal-frames button[aria-pressed="true"]{background:#266d46!important;color:white!important;border-color:#1d603b!important;}
body.pfc-art-product .pfc-motif-modal-frames button{display:inline-flex!important;align-items:center;gap:5px!important;}
body.pfc-art-product .pfc-motif-modal-frames button span{width:13px;height:13px;border:1px solid #aaa;border-radius:3px;display:inline-block;flex:none;}
body.pfc-art-product .pfc-motif-room-dialog .pfc-motif-modal-thumbs{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  max-width:565px!important;width:calc(100% - 32px)!important;gap:8px!important;
  margin:10px auto 9px!important;flex:0 0 auto;
}
body.pfc-art-product .pfc-motif-room-dialog .pfc-motif-modal-thumbs .pfc-motif-thumb-visual{height:60px!important;}
body.pfc-art-product .pfc-motif-room-dialog .pfc-motif-modal-thumbs .pfc-motif-thumb-label{font-size:10px!important;}
body.pfc-art-product .pfc-motif-custom-actions,
body.pfc-art-product .pfc-motif-capture-qr{margin:8px 18px!important;padding:12px!important;border-radius:10px;border:1px solid #c7dfcf;background:#f6faf7;text-align:center;}
body.pfc-art-product .pfc-motif-custom-actions[hidden],
body.pfc-art-product .pfc-motif-capture-qr[hidden]{display:none!important;}
body.pfc-art-product .pfc-motif-custom-actions p,
body.pfc-art-product .pfc-motif-capture-qr p{font-size:12px!important;margin:4px 0 9px!important;color:#52745b;}
body.pfc-art-product .pfc-motif-custom-buttons{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;}
body.pfc-art-product .pfc-motif-custom-buttons button,
body.pfc-art-product .pfc-motif-capture-qr button{border:1px solid #3b8c5a!important;background:#fff!important;color:#23613f!important;border-radius:8px!important;font-weight:750!important;padding:9px 16px!important;cursor:pointer;}
body.pfc-art-product .pfc-motif-capture-qr img{display:block;max-width:148px;margin:6px auto;}
body.pfc-art-product .pfc-motif-modal-footer{display:flex;align-items:center;gap:15px;justify-content:space-between;padding:6px 18px 5px;font-size:12px;color:#6b756d;}
body.pfc-art-product .pfc-motif-modal-footer button{font-size:12px!important;padding:7px 10px!important;background:#fff!important;color:#2e6846!important;border:1px solid #c5dace!important;border-radius:6px!important;}
body.pfc-art-product .pfc-motif-room-caption{padding:2px 18px 12px!important;font-size:11px!important;}
@media (max-width:660px){
  body.pfc-art-product .pfc-motif-room-modal{padding:6px!important;}
  body.pfc-art-product .pfc-motif-room-dialog{width:100%!important;max-height:calc(100dvh - 12px)!important;}
  body.pfc-art-product .pfc-motif-room-canvas{aspect-ratio:4/3!important;max-height:47vh;}
  body.pfc-art-product .pfc-motif-modal-tools{gap:7px;padding:8px;}
  body.pfc-art-product .pfc-motif-modal-sizes button,
  body.pfc-art-product .pfc-motif-modal-frames button{font-size:10px!important;padding:6px 7px!important;min-height:32px!important;}
  body.pfc-art-product .pfc-motif-room-dialog .pfc-motif-modal-thumbs{gap:5px!important;margin:5px auto!important;}
  body.pfc-art-product .pfc-motif-room-dialog .pfc-motif-modal-thumbs .pfc-motif-thumb-visual{height:45px!important;}
  body.pfc-art-product .pfc-motif-modal-footer{padding:4px 9px;}
}

/* v0.3.236 – hotové motivy: nejprve miniatury, pak oddělené formáty a rámy. */
body.pfc-art-product .pfc-motif-room-dialog{position:relative!important;}
body.pfc-art-product .pfc-motif-room-dialog .pfc-motif-modal-thumbs{
  margin:12px auto 7px!important;
}
body.pfc-art-product .pfc-motif-modal-tools{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:0!important;padding:5px 16px 14px!important;
}
body.pfc-art-product .pfc-motif-edit-toolbar{
  display:flex;justify-content:center;align-items:center;margin:3px 0 8px;gap:8px;
}
body.pfc-art-product .pfc-motif-edit-toolbar button{
  display:inline-flex!important;justify-content:center;align-items:center;gap:7px;
  background:#292d2a!important;border:1px solid #6f7a71!important;
  border-radius:22px!important;padding:7px 13px!important;color:white!important;
  min-width:0!important;min-height:36px!important;font-size:12px!important;
  font-weight:750!important;cursor:pointer;
}
body.pfc-art-product .pfc-motif-edit-toolbar button[aria-pressed="true"]{
  background:#26784b!important;border-color:#1d6e42!important;
  box-shadow:0 0 0 2px #cce5d2!important;
}
body.pfc-art-product .pfc-motif-modal-sizes,
body.pfc-art-product .pfc-motif-modal-frames{
  display:flex!important;justify-content:center!important;align-items:center!important;
  width:100%;gap:7px!important;flex-wrap:wrap!important;
}
body.pfc-art-product .pfc-motif-modal-tool-heading{
  display:block!important;flex:0 0 100%;text-align:center;
  color:#325940;font-size:12px;line-height:1.45;font-weight:800;letter-spacing:.015em;
  margin:0 0 2px;
}
body.pfc-art-product .pfc-motif-modal-frames{
  border-top:1px solid #dfebe3;margin-top:13px!important;padding-top:13px!important;
}
/* Vlastní místnost: čistá úvodní nabídka jako v editoru fotografií. */
body.pfc-art-product .pfc-motif-room-canvas.is-awaiting-room{background:#242827!important;}
body.pfc-art-product .pfc-motif-room-art[hidden],
body.pfc-art-product .pfc-motif-modal-footer[hidden],
body.pfc-art-product [data-pfc-motif-room-change][hidden]{display:none!important;}
body.pfc-art-product .pfc-motif-room-custom-empty{
  position:absolute!important;inset:0!important;top:0!important;left:0!important;
  max-width:none!important;width:100%!important;height:100%!important;
  transform:none!important;background:rgba(18,23,20,.87)!important;border-radius:0!important;
  display:grid!important;place-items:center!important;box-sizing:border-box!important;
  padding:22px!important;color:#fff!important;pointer-events:auto!important;z-index:5!important;
}
body.pfc-art-product .pfc-motif-room-custom-empty[hidden]{display:none!important;}
body.pfc-art-product .pfc-motif-room-add-prompt{
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  gap:10px;text-align:center;max-width:350px;
}
body.pfc-art-product .pfc-motif-room-add-prompt strong{color:white;font-size:20px;}
body.pfc-art-product .pfc-motif-room-add-prompt p{
  color:#d5e0d9;font-size:13px!important;line-height:1.5!important;margin:0 0 3px!important;
}
body.pfc-art-product .pfc-motif-room-add-prompt button{
  background:#3a443e!important;color:white!important;border:1px solid #b4c7b9!important;
  border-radius:9px!important;padding:10px 24px!important;font-size:13px!important;
  font-weight:800!important;cursor:pointer;
}
body.pfc-art-product .pfc-motif-custom-actions,
body.pfc-art-product .pfc-motif-capture-qr{
  position:absolute!important;z-index:20!important;
  top:25%!important;left:50%!important;transform:translate(-50%,0)!important;
  width:min(440px,calc(100% - 32px))!important;max-height:70%!important;
  overflow-y:auto!important;box-sizing:border-box!important;
  margin:0!important;padding:24px 18px 16px!important;background:#fff!important;
  box-shadow:0 15px 48px rgba(0,0,0,.32)!important;
}
body.pfc-art-product .pfc-motif-custom-actions[hidden],
body.pfc-art-product .pfc-motif-capture-qr[hidden],
body.pfc-art-product .pfc-motif-custom-error[hidden]{display:none!important;}
body.pfc-art-product .pfc-motif-picker-close{
  position:absolute;right:8px;top:7px;border:0!important;background:transparent!important;
  font-size:22px!important;line-height:1!important;min-width:28px!important;padding:2px!important;
}
body.pfc-art-product .pfc-motif-custom-error{color:#a12727!important;}
body.pfc-art-product .pfc-motif-room-actions{display:flex;gap:7px;flex-wrap:wrap;}
/* ČB znamená skutečné černobílé provedení tisku, nikoli jen filtr na obrazovce. */
body.pfc-art-product [data-pfc-motif-gallery].is-monochrome .pfc-motif-artwork img,
body.pfc-art-product [data-pfc-motif-gallery].is-monochrome .pfc-motif-thumb-frame img,
body.pfc-art-product [data-pfc-motif-modal].is-monochrome .pfc-motif-room-art img,
body.pfc-art-product [data-pfc-motif-modal].is-monochrome .pfc-motif-thumb-frame img{
  filter:grayscale(1)!important;
}
@media (max-width:660px){
  body.pfc-art-product .pfc-motif-room-canvas{max-height:43vh!important;}
  body.pfc-art-product .pfc-motif-modal-tools{padding:4px 8px 10px!important;}
  body.pfc-art-product .pfc-motif-modal-frames{margin-top:11px!important;padding-top:11px!important;}
  body.pfc-art-product .pfc-motif-room-dialog .pfc-motif-modal-thumbs{margin:8px auto 5px!important;}
  body.pfc-art-product .pfc-motif-room-add-prompt{gap:5px;}
  body.pfc-art-product .pfc-motif-room-add-prompt strong{font-size:17px;}
  body.pfc-art-product .pfc-motif-custom-actions,
  body.pfc-art-product .pfc-motif-capture-qr{top:12%!important;max-height:80%!important;}
  body.pfc-art-product .pfc-motif-modal-footer{gap:5px;}
}

/* v0.3.237 – hotové obrazy: stejná lišta kulatých ikon jako u vlastních fotografií.
   Velikosti/rám jsou v rozbalovacích nabídkách, nikoliv ve dvou trvale otevřených řadách. */
body.pfc-art-product .pfc-motif-room-dialog .pfc-motif-modal-tools{
  display:flex!important;position:relative!important;z-index:15!important;
  order:0!important;align-self:center!important;align-items:center!important;
  flex:0 0 auto!important;justify-content:center!important;
  width:max-content!important;max-width:calc(100% - 24px)!important;
  margin:-42px auto 10px!important;padding:0!important;gap:0!important;
}
body.pfc-art-product .pfc-motif-edit-toolbar{
  display:flex!important;flex-wrap:nowrap!important;align-items:center!important;
  justify-content:center!important;gap:4px!important;
  margin:0!important;padding:5px 7px!important;
  background:rgba(38,35,34,.96)!important;border:1px solid rgba(255,255,255,.48)!important;
  border-radius:999px!important;box-shadow:0 8px 18px rgba(0,0,0,.25)!important;
}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-toolbar-picker{display:flex!important;position:relative!important;align-items:center!important;justify-content:center!important;}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-toolbar-icon{
  flex:0 0 36px!important;display:grid!important;place-items:center!important;
  width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;
  border:0!important;border-radius:50%!important;padding:7px!important;margin:0!important;
  background:rgba(255,255,255,.10)!important;color:#fff!important;
  font-size:17px!important;font-weight:800!important;line-height:1!important;box-shadow:none!important;
  cursor:pointer!important;transition:background .12s ease!important;
}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-toolbar-icon svg{
  display:block!important;width:21px!important;height:21px!important;fill:currentColor!important;
}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-toolbar-icon:hover,
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-toolbar-icon:focus-visible,
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-toolbar-icon[aria-expanded="true"]{
  background:#fff!important;color:#292522!important;
}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-toolbar-icon[aria-pressed="true"]{
  background:#fff!important;color:#234e37!important;box-shadow:inset 0 0 0 2px #77b88f!important;
}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-toolbar-icon[hidden]{display:none!important;}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-tool-menu:not([hidden]){
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;
  justify-content:center!important;gap:6px!important;
  position:absolute!important;bottom:calc(100% + 13px)!important;top:auto!important;
  left:50%!important;transform:translateX(calc(-50% + var(--pfc-tool-offset,0px)))!important;
  z-index:25!important;box-sizing:border-box!important;width:max-content!important;max-width:min(92vw,450px)!important;
  padding:10px!important;margin:0!important;
  background:rgba(39,37,35,.98)!important;color:white!important;
  border:1px solid rgba(255,255,255,.45)!important;
  border-radius:11px!important;box-shadow:0 10px 24px rgba(0,0,0,.34)!important;
}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-tool-menu[hidden]{display:none!important;}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-modal-sizes,
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-modal-frames{
  flex-direction:row!important;flex-wrap:wrap!important;min-width:225px!important;
  border:1px solid rgba(255,255,255,.4)!important;
}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-modal-frames{
  margin:0!important;padding:10px!important;
}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-tool-menu button:not(.pfc-motif-toolbar-icon){
  min-width:55px!important;min-height:35px!important;padding:7px 10px!important;
  color:white!important;border:1px solid rgba(255,255,255,.23)!important;
  background:#507c61!important;border-radius:7px!important;cursor:pointer!important;
  font-size:12px!important;font-weight:750!important;white-space:nowrap!important;
}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-tool-menu button[aria-pressed="true"]{
  background:#205a3d!important;box-shadow:inset 0 0 0 1.5px white!important;
}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-help-panel{
  display:block!important;width:min(350px,88vw)!important;text-align:left!important;
  max-height:50vh!important;overflow-y:auto!important;
  white-space:normal!important;
}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-help-panel[hidden]{display:none!important;}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-help-panel strong{display:block;color:white;font-size:13px;margin:0 0 8px;}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-help-panel p{color:#e8ede8!important;font-size:12px!important;line-height:1.55!important;margin:4px 0!important;}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-help-panel b{color:#fff;font-weight:800;}
body.pfc-art-product .pfc-motif-room-dialog .pfc-motif-modal-thumbs{
  position:relative!important;order:1!important;margin:10px auto 9px!important;
}
body.pfc-art-product .pfc-motif-room-dialog .pfc-motif-modal-footer{order:2!important;}
body.pfc-art-product .pfc-motif-room-dialog .pfc-motif-room-caption{order:3!important;}
@media (max-width:660px){
  body.pfc-art-product .pfc-motif-room-dialog .pfc-motif-modal-tools{margin:-36px auto 8px!important;max-width:calc(100% - 12px)!important;}
  body.pfc-art-product .pfc-motif-edit-toolbar{padding:4px 5px!important;gap:3px!important;}
  body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-toolbar-icon{
    width:33px!important;height:33px!important;min-width:33px!important;min-height:33px!important;flex-basis:33px!important;
  }
  body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-tool-menu:not([hidden]){max-width:min(92vw,365px)!important;}
  body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-tool-menu button:not(.pfc-motif-toolbar-icon){padding:7px!important;font-size:11px!important;}
}


/* v0.3.238 – hotové obrazy: vlastní místnost ve stylu editoru vlastních fotografií. */
body.pfc-art-product .pfc-motif-modal-footer,
body.pfc-art-product .pfc-motif-room-caption{display:none!important;}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-toolbar-icon.is-active,
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-toolbar-icon[aria-pressed="true"]{
  background:#fff!important;color:#234e37!important;box-shadow:inset 0 0 0 2px #77b88f!important;
}
body.pfc-art-product .pfc-motif-custom-actions,
body.pfc-art-product .pfc-motif-capture-qr{
  border-radius:18px!important;
  padding:28px 22px 20px!important;
}
body.pfc-art-product .pfc-motif-custom-actions > strong,
body.pfc-art-product .pfc-motif-capture-qr > strong{
  display:block!important;
  font-size:18px!important;
  line-height:1.3!important;
  color:#1f2421!important;
  margin:0 0 10px!important;
}
body.pfc-art-product .pfc-motif-custom-actions > p,
body.pfc-art-product .pfc-motif-capture-qr > p{
  font-size:14px!important;
  line-height:1.55!important;
  color:#667268!important;
  margin:0 0 16px!important;
}
body.pfc-art-product .pfc-motif-source-actions{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
body.pfc-art-product .pfc-motif-source-card{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  text-align:left!important;
  gap:7px!important;
  min-height:120px!important;
  padding:16px 18px!important;
  border:1px solid #ded8cf!important;
  border-radius:14px!important;
  background:#f8f4ee!important;
  color:#2b2f2b!important;
  box-shadow:none!important;
}
body.pfc-art-product .pfc-motif-source-card:hover,
body.pfc-art-product .pfc-motif-source-card:focus-visible{
  border-color:#3b8c5a!important;
  background:#fff!important;
}
body.pfc-art-product .pfc-motif-source-card .pfc-motif-source-icon{
  display:grid!important;
  place-items:center!important;
  width:36px!important;height:36px!important;
  border-radius:50%!important;
  background:#ece5db!important;
  color:#433e36!important;
  font-size:18px!important;
  line-height:1!important;
}
body.pfc-art-product .pfc-motif-source-card b{
  display:block!important;
  font-size:16px!important;
  line-height:1.25!important;
  color:#201f1d!important;
}
body.pfc-art-product .pfc-motif-source-card small{
  display:block!important;
  font-size:13px!important;
  line-height:1.45!important;
  color:#7d786f!important;
}
body.pfc-art-product .pfc-motif-custom-error{margin-top:12px!important;font-size:13px!important;}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-modal-frames{
  min-width:330px!important;
  gap:10px!important;
}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-modal-frames button{
  min-width:84px!important;
  padding:8px 8px 10px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  background:#30483a!important;
}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-modal-frames button .pfc-motif-frame-preview{
  display:block!important;
  width:44px!important;
  height:44px!important;
  border:6px solid transparent!important;
  border-image-slice:22 fill!important;
  border-image-width:6px!important;
  border-image-repeat:stretch!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  box-sizing:border-box!important;
  box-shadow:0 2px 10px rgba(0,0,0,.14)!important;
}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-modal-frames button[data-frame-key="natural"] .pfc-motif-frame-preview{border-image-source:url('../images/frames/frame-natural-v5.png')!important;}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-modal-frames button[data-frame-key="oak"] .pfc-motif-frame-preview{border-image-source:url('../images/frames/frame-oak-v5.png')!important;}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-modal-frames button[data-frame-key="walnut"] .pfc-motif-frame-preview{border-image-source:url('../images/frames/frame-walnut-v5.png')!important;}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-modal-frames button[data-frame-key="black"] .pfc-motif-frame-preview{border-image-source:url('../images/frames/frame-black-v5.png')!important;}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-modal-frames button[data-frame-key="white"] .pfc-motif-frame-preview{border-image-source:url('../images/frames/frame-white-v5.png')!important;}
@media (max-width:660px){
  body.pfc-art-product .pfc-motif-source-actions{grid-template-columns:1fr!important;}
  body.pfc-art-product .pfc-motif-source-card{min-height:0!important;padding:14px 16px!important;}
  body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-modal-frames{min-width:265px!important;}
  body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-modal-frames button{min-width:74px!important;gap:6px!important;}
  body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-modal-frames button .pfc-motif-frame-preview{width:38px!important;height:38px!important;}
}

/* v0.3.239 – dialog vlastni mistnosti/QR stejny jako u konfiguratoru fotografii. */
body.pfc-art-product .pfc-motif-room-canvas.is-custom:not(.is-awaiting-room){
  background-size:contain!important;background-position:center center!important;
  background-repeat:no-repeat!important;background-color:#20231f!important;
}
body.pfc-art-product .pfc-motif-art-stage.is-room.is-custom{
  background-size:contain!important;background-position:center!important;
  background-color:#20231f!important;
}
body.pfc-art-product .pfc-motif-custom-actions,
body.pfc-art-product .pfc-motif-capture-qr{
  top:50%!important;transform:translate(-50%,-50%)!important;
  width:min(484px,calc(100% - 28px))!important;
  max-height:calc(100% - 18px)!important;
  border:1px solid #e1e2de!important;
  border-radius:17px!important;
  background:#fff!important;
  padding:26px 20px 20px!important;
  box-shadow:0 18px 54px rgba(0,0,0,.32)!important;
  overflow-y:auto!important;
}
body.pfc-art-product .pfc-motif-custom-actions > strong,
body.pfc-art-product .pfc-motif-capture-qr > strong{
  text-align:center!important;font-size:19px!important;color:#242725!important;
}
body.pfc-art-product .pfc-motif-custom-actions > p,
body.pfc-art-product .pfc-motif-capture-qr > p{
  text-align:center!important;color:#707770!important;font-size:13px!important;
}
body.pfc-art-product .pfc-motif-qr-layout{
  display:grid!important;grid-template-columns:198px minmax(0,1fr)!important;
  gap:17px!important;align-items:center!important;
}
body.pfc-art-product .pfc-motif-qr-art{
  display:grid!important;place-items:center!important;
  width:198px!important;height:198px!important;
  border:1px solid #e4e6e2!important;border-radius:12px!important;background:#fff!important;
}
body.pfc-art-product .pfc-motif-capture-qr .pfc-motif-qr-art img{
  display:block!important;width:188px!important;height:188px!important;
  margin:0!important;object-fit:contain!important;max-width:100%!important;
}
body.pfc-art-product .pfc-motif-qr-details{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:12px!important;
}
body.pfc-art-product .pfc-motif-qr-details > span,
body.pfc-art-product .pfc-motif-qr-details small{
  font-size:11px!important;line-height:1.4!important;color:#888e89!important;
}
body.pfc-art-product .pfc-motif-qr-details > code{
  display:block!important;font-size:21px!important;letter-spacing:1.6px!important;
  font-weight:800!important;color:#272825!important;background:#f4f2ee!important;
  border:1px solid #e6e5e0!important;border-radius:9px!important;padding:10px 12px!important;
  white-space:nowrap!important;
}
body.pfc-art-product .pfc-motif-qr-details .pfc-motif-qr-visit{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border-radius:8px!important;background:#2c2d2b!important;color:white!important;
  padding:10px 13px!important;font-size:12px!important;font-weight:800!important;
  text-decoration:none!important;
}
body.pfc-art-product .pfc-motif-capture-qr .pfc-motif-qr-status{
  margin:14px 0 0!important;font-size:12px!important;font-weight:700!important;
  color:#555d57!important;text-align:center!important;
}
body.pfc-art-product .pfc-motif-custom-actions .pfc-motif-picker-close,
body.pfc-art-product .pfc-motif-capture-qr .pfc-motif-picker-close{
  display:grid!important;place-items:center!important;position:absolute!important;
  top:8px!important;right:9px!important;width:27px!important;height:27px!important;
  font-size:22px!important;font-weight:400!important;color:#343833!important;
  border:0!important;background:transparent!important;z-index:2!important;
}
/* Rámečky ve zvětšeném náhledu: stejné bílé karty jako v detailu produktu.
   Tmavozelenou výplň z nabídky odstraňujeme. */
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-tool-menu.pfc-motif-modal-frames:not([hidden]){
  background:#fff!important;color:#2d4735!important;
  border:1px solid #d5e0d9!important;
  box-shadow:0 13px 27px rgba(0,0,0,.24)!important;
  max-width:min(92vw,540px)!important;width:max-content!important;
  gap:7px!important;
}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-modal-frames button:not(.pfc-motif-toolbar-icon){
  background:#fff!important;color:#35473b!important;
  border:1px solid #e0e6e1!important;border-radius:8px!important;
  box-shadow:none!important;min-width:80px!important;
  padding:9px 10px 8px!important;
}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-modal-frames button:not(.pfc-motif-toolbar-icon):hover{
  border-color:#9bbfa8!important;background:#f8fbf8!important;
}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-modal-frames button[aria-pressed="true"]{
  background:#edf7ef!important;color:#184d31!important;
  border:2px solid #26774a!important;box-shadow:none!important;
}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-modal-frames button .pfc-motif-frame-preview{
  width:43px!important;height:43px!important;
}
/* Kalibrace místnosti je aktivní pouze na vlastním nahraném pozadí.
   Body jsou uloženy jako souřadnice vůči fotografii, ne vůči oknu. */
body.pfc-art-product .pfc-motif-room-canvas.is-calibrating{
  cursor:crosshair!important;
}
body.pfc-art-product .pfc-motif-calibration-layer{
  position:absolute!important;inset:0!important;z-index:11!important;
  touch-action:none!important;cursor:crosshair!important;
}
body.pfc-art-product .pfc-motif-calibration-layer[hidden],
body.pfc-art-product .pfc-motif-calibration-panel[hidden],
body.pfc-art-product .pfc-motif-calibration-dot[hidden],
body.pfc-art-product .pfc-motif-calibration-line[hidden]{display:none!important;}
body.pfc-art-product .pfc-motif-calibration-dot{
  position:absolute!important;z-index:2!important;
  width:17px!important;height:17px!important;
  transform:translate(-50%,-50%)!important;border-radius:50%!important;
  background:#fff!important;border:4px solid #1d7d51!important;
  box-shadow:0 2px 8px rgba(0,0,0,.35)!important;
  pointer-events:none!important;
}
body.pfc-art-product .pfc-motif-calibration-line{
  position:absolute!important;z-index:1!important;transform-origin:left center!important;
  height:3px!important;background:#1f8757!important;
  border-top:1px solid #fff!important;border-bottom:1px solid #fff!important;
  pointer-events:none!important;
}
body.pfc-art-product .pfc-motif-calibration-panel{
  position:absolute!important;z-index:13!important;top:14px!important;left:14px!important;
  width:min(290px,calc(100% - 28px))!important;max-height:calc(100% - 28px)!important;
  overflow-y:auto!important;box-sizing:border-box!important;
  background:rgba(255,255,255,.97)!important;color:#224735!important;
  border:1px solid #b1cdb8!important;box-shadow:0 8px 26px rgba(0,0,0,.22)!important;
  border-radius:12px!important;padding:13px!important;
}
body.pfc-art-product .pfc-motif-calibration-panel strong{
  display:block!important;font-size:14px!important;color:#204931!important;
  margin:0 0 7px!important;
}
body.pfc-art-product .pfc-motif-calibration-panel p{
  font-size:12px!important;line-height:1.4!important;color:#415c4a!important;
  margin:0 0 9px!important;
}
body.pfc-art-product .pfc-motif-calibration-panel label{
  display:block!important;font-size:11px!important;font-weight:700!important;
  color:#365340!important;margin:0 0 5px!important;
}
body.pfc-art-product .pfc-motif-calibration-panel input{
  display:block!important;width:100%!important;height:34px!important;
  box-sizing:border-box!important;border:1px solid #a7c7b2!important;
  border-radius:7px!important;background:#fff!important;color:#183c27!important;
  padding:6px 9px!important;font-size:15px!important;
}
body.pfc-art-product .pfc-motif-calibration-buttons{
  display:flex!important;gap:5px!important;flex-wrap:wrap!important;margin:10px 0 0!important;
}
body.pfc-art-product .pfc-motif-calibration-buttons button{
  border:1px solid #bad0c0!important;background:#eff7f1!important;color:#215b38!important;
  padding:7px 8px!important;font-size:11px!important;font-weight:750!important;
  border-radius:6px!important;min-height:30px!important;cursor:pointer!important;
}
body.pfc-art-product .pfc-motif-calibration-buttons [data-pfc-motif-calibration-save]{
  background:#277448!important;color:#fff!important;border-color:#277448!important;
}
body.pfc-art-product .pfc-motif-calibration-buttons button:disabled{
  opacity:.45!important;cursor:not-allowed!important;
}
body.pfc-art-product .pfc-motif-edit-toolbar .pfc-motif-toolbar-icon.is-calibrated:not([hidden]){
  background:#e9fff0!important;color:#185d34!important;
  box-shadow:inset 0 0 0 2px #6ab883!important;
}
@media (max-width:660px){
  body.pfc-art-product .pfc-motif-custom-actions,
  body.pfc-art-product .pfc-motif-capture-qr{
    top:50%!important;max-height:calc(100% - 12px)!important;padding:25px 14px 14px!important;
  }
  body.pfc-art-product .pfc-motif-qr-layout{
    grid-template-columns:132px minmax(0,1fr)!important;gap:9px!important;
  }
  body.pfc-art-product .pfc-motif-qr-art{width:132px!important;height:132px!important;}
  body.pfc-art-product .pfc-motif-capture-qr .pfc-motif-qr-art img{width:128px!important;height:128px!important;}
  body.pfc-art-product .pfc-motif-qr-details > code{font-size:15px!important;padding:8px!important;letter-spacing:.5px!important;}
  body.pfc-art-product .pfc-motif-calibration-panel{
    top:6px!important;left:6px!important;width:min(228px,calc(100% - 12px))!important;
    padding:9px!important;max-height:calc(100% - 12px)!important;
  }
  body.pfc-art-product .pfc-motif-calibration-panel p{font-size:11px!important;}
  body.pfc-art-product .pfc-motif-calibration-buttons button{font-size:10px!important;}
}

/* v0.3.240 – menší konzistentní karty katalogu ARVILO (včetně /obchod/ jako WP stránky). */
body.pfc-art-catalog #main-content .container{max-width:1180px!important;width:92%!important;}
body.pfc-art-catalog .woocommerce ul.products,
body.pfc-art-catalog .woocommerce-page ul.products{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:30px 24px!important;
  align-items:start!important;
}
body.pfc-art-catalog .woocommerce ul.products li.product,
body.pfc-art-catalog .woocommerce-page ul.products li.product{
  display:block!important;
  min-width:0!important;
  margin:0!important;
  width:100%!important;
  float:none!important;
}
body.pfc-art-catalog .woocommerce ul.products li.product img,
body.pfc-art-catalog .woocommerce-page ul.products li.product img{
  display:block!important;
  width:100%!important;
  height:180px!important;
  max-width:240px!important;
  max-height:180px!important;
  object-fit:contain!important;
  object-position:left center!important;
  margin:0 0 11px!important;
  background:transparent!important;
}
body.pfc-art-catalog .woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size:16px!important;
  line-height:1.35!important;
  font-weight:700!important;
  margin:0 0 5px!important;
}
body.pfc-art-catalog .woocommerce ul.products li.product .pfc-art-catalog-desc{
  max-width:240px!important;
  font-size:13px!important;
  line-height:1.45!important;
}
body.pfc-art-catalog .woocommerce ul.products li.product .price,
body.pfc-art-catalog .woocommerce ul.products li.product .button,
body.pfc-art-catalog .woocommerce-result-count,
body.pfc-art-catalog .woocommerce-ordering{
  display:none!important;
}
@media (max-width:1100px){
  body.pfc-art-catalog .woocommerce ul.products,
  body.pfc-art-catalog .woocommerce-page ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media (max-width:700px){
  body.pfc-art-catalog .woocommerce ul.products,
  body.pfc-art-catalog .woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 14px!important;}
  body.pfc-art-catalog .woocommerce ul.products li.product img{height:135px!important;max-height:135px!important;}
}

/* Kalibrační body lze zachytit a přesouvat myší, dotykem i klávesnicí. */
body.pfc-art-product .pfc-motif-calibration-dot{
  width:27px!important;
  height:27px!important;
  border:5px solid #197b4d!important;
  z-index:4!important;
  pointer-events:auto!important;
  cursor:grab!important;
  touch-action:none!important;
}
body.pfc-art-product .pfc-motif-calibration-dot:hover,
body.pfc-art-product .pfc-motif-calibration-dot.is-dragging,
body.pfc-art-product .pfc-motif-calibration-dot:focus-visible{
  border-color:#0f5a37!important;
  box-shadow:0 0 0 5px rgba(255,255,255,.55),0 4px 12px rgba(0,0,0,.4)!important;
  outline:none!important;
  cursor:grabbing!important;
}
body.pfc-art-product .pfc-motif-calibration-line{
  z-index:3!important;
  height:16px!important;
  margin-top:-8px!important;
  background:linear-gradient(to bottom,transparent 6px,#fff 6px,#fff 7px,#1f8757 7px,#1f8757 11px,#fff 11px,#fff 12px,transparent 12px)!important;
  border:0!important;
  pointer-events:auto!important;
  cursor:move!important;
  touch-action:none!important;
}
body.pfc-art-product .pfc-motif-calibration-line.is-dragging{filter:drop-shadow(0 0 5px #fff)!important;}
