/* Use the existing Dashboard and storefront themes; only module layout lives here. */
.yk-app [hidden]{display:none!important}.yk-app .yk-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.yk-top{display:flex;justify-content:space-between;align-items:center;gap:20px}.yk-app label{display:block;font-weight:normal;margin:16px 0 8px}.yk-app label>input:not([type=checkbox]),.yk-app label>select{display:block;width:100%;margin-top:7px}.yk-app input[type=checkbox]{margin-right:9px}.yk-options{max-height:350px;overflow:auto;border:1px solid #e6e6e6;padding:10px 14px}.yk-options label{margin:0;padding:9px 0;border-bottom:1px solid #eee}.yk-muted,.yk-app small{color:#888}.yk-app .yk-item{padding:18px 0;border-bottom:1px solid #e5e5e5;margin:0 0 14px}.yk-app table{width:100%}.yk-app td{vertical-align:top}.yk-app button{cursor:pointer}.yk-app button:disabled{opacity:.5;cursor:not-allowed}.yk-tabs{display:flex;gap:0;margin:25px 0}.yk-tabs button{border-bottom:3px solid transparent!important}.yk-tabs button.active{border-bottom-color:#a13339!important}.yk-note{font-size:14px;color:#888;margin:15px 0 25px}.yk-error,.yk-success{padding:14px 18px;margin:15px 0}.yk-error{color:#a13339;background:#fff1f1;border-left:3px solid #a13339}.yk-success{color:#387044;background:#f1f7f1;border-left:3px solid #5e9c68}.yk-app [role=status]:empty{display:none}.yk-choice{display:grid!important;grid-template-columns:1fr 90px;gap:18px;align-items:center}.yk-choice input{margin:0!important}.yk-app button+button{margin-left:6px}
/* Dashboard inherits its existing panel, nav, form-control and btn classes. */
.yk-app[data-mode=admin]{padding-top:30px;padding-bottom:60px}.yk-app[data-mode=admin] h1{font-size:24px;font-weight:400;margin:0}.yk-app[data-mode=admin] article{padding:8px 24px 24px;margin-bottom:25px}.yk-app[data-mode=admin] article>h2{font-size:18px;font-weight:400;margin:0 0 20px;padding:22px 0 15px;border-bottom:1px solid #eee}.yk-app[data-mode=admin] h3{font-size:16px;font-weight:400}.yk-app[data-mode=admin] .yk-note{font-size:13px}.yk-app[data-mode=admin] .yk-item{background:#fafafa;border:1px solid #e6e6e6;padding:18px;margin:14px 0}.yk-app[data-mode=admin] .yk-tabs button{border-radius:0;background:white;color:#555;padding:12px 25px}.yk-app[data-mode=admin] .yk-tabs button.active{color:#a13339}.yk-app[data-mode=admin] .btn-primary{color:white}.yk-app[data-mode=admin] #bundle-items{max-width:100%}.yk-app[data-mode=admin] .yk-muted{font-size:12px}
/* Storefront inherits the original ps-product, ps-btn and form-control styles. */
.yk-app[data-mode=store]{padding-top:40px;padding-bottom:80px}.yk-app[data-mode=store] h1{font-size:32px;color:#a16f3d}.yk-app[data-mode=store] h2{font-size:24px;color:#a16f3d;font-weight:500}.yk-app[data-mode=store] h3{font-size:18px;font-weight:500}.yk-app[data-mode=store] .yk-top{border-bottom:1px solid #eee;padding:0 0 20px}.yk-app[data-mode=store] article{padding:30px 0;margin-bottom:30px;border-bottom:1px solid #eee}.yk-app[data-mode=store] #store-list{grid-template-columns:repeat(3,minmax(0,1fr));margin:30px 0}.yk-app[data-mode=store] #store-list article{text-align:center;border:0;margin:0;padding:0 0 30px}.yk-app[data-mode=store] #store-list h2{font-size:20px;line-height:1.5;margin-top:15px}.yk-app[data-mode=store] #store-list .ps-product__price{font-size:22px;color:#000}.yk-app[data-mode=store] .yk-mosaic{display:flex;align-items:center;justify-content:center;min-height:210px;background:#fff;gap:8px;border:1px solid #f0f0f0;padding:15px}.yk-app[data-mode=store] .yk-mosaic img{width:46%;max-height:220px;object-fit:contain}.yk-product-layout{display:grid;grid-template-columns:1fr 1fr;gap:55px;margin-top:30px}.yk-gallery{display:grid;grid-template-columns:1fr 1fr;gap:15px;align-content:start}.yk-gallery img{width:100%;object-fit:contain}.yk-gallery figcaption{font-size:13px;text-align:center;color:#888}.yk-app[data-mode=store] #config-form{padding-bottom:20px}.yk-app[data-mode=store] #config-form>label{max-width:150px}.yk-app[data-mode=store] #config-form .ps-btn{padding:12px 20px;font-size:14px}.yk-app[data-mode=store] #cart-list .yk-item{position:relative;padding:20px 0}.yk-app[data-mode=store] #cart-list label{max-width:120px}.yk-app[data-mode=store] #cart-total{font-size:24px;color:#a16f3d}.yk-app[data-mode=store] #quote-result{padding:16px 0;color:#a16f3d}.yk-app[data-mode=store] .ps-breadcrumb{display:flex;margin:0 0 28px}.yk-app[data-mode=store] .ps-breadcrumb li{display:inline-block;margin-right:20px}.yk-app[data-mode=store] .ps-breadcrumb li+li:before{content:'/';color:#ccc;margin-right:20px}
@media(max-width:767px){.yk-app .yk-grid,.yk-product-layout{grid-template-columns:1fr}.yk-app[data-mode=store] #store-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.yk-app[data-mode=store] .yk-mosaic{min-height:140px;padding:5px}.yk-app[data-mode=store] .yk-mosaic img{max-height:140px}.yk-app[data-mode=store] #store-list h2{font-size:17px}.yk-top{display:block}.yk-tabs button{padding:10px 12px!important}.yk-app[data-mode=admin] article{padding:8px 15px 20px}.yk-product-layout{gap:20px}.yk-gallery{max-width:500px}.yk-app[data-mode=store] h1{font-size:28px}}

.yk-app[data-mode=admin] .yk-tabs button.active{background:white!important;color:#a13339!important}.yk-app[data-mode=admin] .yk-tabs button{border:0!important;border-bottom:3px solid transparent!important;box-shadow:none!important}.yk-app[data-mode=admin] .yk-tabs button.active{border-bottom-color:#a13339!important}.yk-app[data-mode=store] .yk-mosaic{overflow:hidden;gap:3px}.yk-app[data-mode=store] .yk-mosaic img{min-width:0;flex:1;width:30%}

/* Quantity controls follow the storefront's white fields and warm accent. */
.yk-app[data-mode=store] .yk-quantity-field{margin:16px 0 8px}
.yk-app[data-mode=store] .yk-choice{grid-template-columns:minmax(0,1fr) 144px}
.yk-app[data-mode=store] .yk-quantity{display:inline-flex;width:144px;max-width:100%;height:48px;vertical-align:middle;margin:7px 0 0}
.yk-app[data-mode=store] .yk-choice .yk-quantity{margin:0}
.yk-app[data-mode=store] .yk-quantity-field:not(.yk-choice)>.yk-quantity{display:flex}
.yk-app[data-mode=store] .yk-quantity button{flex:0 0 44px;width:44px;padding:0;margin:0;border:1px solid #ddd;background:#fff;color:#a16f3d;font-size:22px;line-height:46px;border-radius:0}
.yk-app[data-mode=store] .yk-quantity button:hover:not(:disabled){background:#f7f3ee}
.yk-app[data-mode=store] .yk-quantity input{flex:1;min-width:0;width:56px;height:48px;padding:0 4px;margin:0;border:1px solid #ddd;border-left:0;border-right:0;text-align:center;border-radius:0;appearance:textfield}
.yk-app[data-mode=store] .yk-quantity input::-webkit-inner-spin-button,.yk-app[data-mode=store] .yk-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.yk-app[data-mode=store] .yk-quantity button:focus-visible,.yk-app[data-mode=store] .yk-quantity input:focus-visible{outline:2px solid #a16f3d;outline-offset:2px;z-index:1}
@media(max-width:480px){.yk-app[data-mode=store] .yk-choice{grid-template-columns:1fr;gap:8px}}

/* Visible bilingual feedback, scoped to bundle interactions. */
#yk-toast{position:fixed;top:24px;right:24px;width:390px;max-width:calc(100vw - 32px);padding:20px 44px 18px 20px;z-index:10050;background:#fff;border:1px solid #ded6cc;border-left:5px solid #a16f3d;box-shadow:0 8px 32px #0003;color:#333;font-size:15px;line-height:1.6}
#yk-toast[hidden]{display:none}#yk-toast strong{display:block;font-size:17px;margin-bottom:8px}#yk-toast p{margin:0;overflow-wrap:anywhere}#yk-toast.yk-toast-error{border-left-color:#a13339;background:#fff7f6}#yk-toast.yk-toast-error strong{color:#a13339}#yk-toast.yk-toast-success{border-left-color:#387044}#yk-toast .yk-toast-close{position:absolute;right:5px;top:5px;width:36px;height:36px;border:0;background:transparent;font-size:26px;cursor:pointer;color:#666}
.yk-app .yk-needs-action{outline:2px solid #a13339;outline-offset:5px;background:#fff4f2!important;scroll-margin-top:110px}
.yk-app .yk-selection-hint{margin:14px 0 0;font-size:14px;font-weight:500;color:#a16f3d;padding:10px 12px;background:#faf5ee;border-left:3px solid #a16f3d}
.yk-app .yk-needs-action .yk-selection-hint{color:#a13339;background:#fce8e5;border-left-color:#a13339}.yk-app .yk-selection-complete{color:#387044;background:#f1f7f1;border-left-color:#387044}
.yk-app #yk-message{font-size:16px;font-weight:500;line-height:1.7}
@media(max-width:767px){#yk-toast{top:12px;right:16px;font-size:14px;padding:15px 40px 15px 16px}}
#shared-cart-page{padding-top:40px}#shared-cart-page .yk-cart-photo{width:80px;height:80px;object-fit:contain;margin-right:15px}#shared-cart-page td{padding:20px 12px;vertical-align:middle}#shared-cart-page td:first-child{min-width:220px}#shared-cart-page .yk-quantity{margin:0}#shared-cart-page .yk-muted{font-size:13px;margin-top:10px}#shared-cart-page #shared-cart-total{color:#a16f3d}#shared-cart-page .ps-btn{font-size:14px;padding:12px 20px}#cart .ps-product__remove{border:0;background:transparent}
#shared-cart-page td:nth-child(2),#shared-cart-page td:nth-child(4){white-space:nowrap}
@media(max-width:991px){
 #shared-cart-page .table-responsive{overflow:visible}
 #shared-cart-page table,#shared-cart-page tbody{display:block;width:100%}
 #shared-cart-page thead{display:none}
 #shared-cart-page tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 16px;padding:22px 0;border-bottom:1px solid #ddd}
 #shared-cart-page tbody td{display:block;border:0!important;padding:0;min-width:0!important}
 #shared-cart-page tbody td:first-child{grid-column:1 / -1}
 #shared-cart-page tbody td:first-child>a{display:flex;align-items:center;font-size:16px;line-height:1.5}
 #shared-cart-page tbody td:nth-child(2){align-self:center;color:#777}
 #shared-cart-page tbody td:nth-child(3){justify-self:end}
 #shared-cart-page tbody td:nth-child(4){align-self:center;font-weight:600}
 #shared-cart-page tbody td:nth-child(5){justify-self:end}
 #shared-cart-page .yk-cart-photo{flex:0 0 70px;width:70px;height:70px}
 #shared-cart-page .yk-muted{line-height:1.8}
}

#shared-rewards{padding:24px 0}#shared-promotion-form{max-width:560px}#shared-points-options input{max-width:150px}#shared-promotion-summary{margin-top:24px}#shared-member{margin:15px 0}#shared-coupon{margin-bottom:18px}#shared-points-options small{display:block;margin:6px 0 18px}

#shared-promotion-form.yk-promotion-invalid{border-left:4px solid #ae2933;background:#fff3f3;padding:16px}#shared-promotion-form.yk-promotion-invalid input{border-color:#ae2933}


/* Only the extra bundle choices need module layout; product.php owns the page. */
.yk-bundle-options .yk-bundle-selection{margin-bottom:20px}
.yk-bundle-options .yk-bundle-selection h4{font-size:16px;margin-bottom:15px}
.yk-bundle-options .yk-item h3{font-size:15px;font-weight:500;line-height:1.6}
.yk-bundle-options .yk-choice{grid-template-columns:76px minmax(0,1fr) 110px;gap:12px}
.yk-bundle-options .yk-quantity{display:block;width:110px;margin:0}
.yk-bundle-options .yk-quantity input,.yk-bundle-options .yk-native-quantity input{appearance:textfield}
.yk-bundle-options input[type=number]::-webkit-inner-spin-button,.yk-bundle-options input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.yk-bundle-options .yk-quantity button+button,.yk-bundle-options .yk-native-quantity button+button{margin-left:0}
.yk-bundle-options .yk-component-image{display:flex;width:76px;height:76px;align-items:center;justify-content:center;background:#fff;border:1px solid #eee;border-radius:3px;overflow:hidden}
.yk-bundle-options .yk-component-image img{width:100%;height:100%;object-fit:contain}
.yk-bundle-options .yk-image-placeholder{padding:6px;text-align:center;color:#888;font-size:12px;line-height:1.5}
.yk-bundle-options .yk-choice-name{min-width:0;overflow-wrap:anywhere;line-height:1.6}
.yk-bundle-options .yk-fixed-component{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:12px}
.yk-bundle-options .yk-fixed-component p{margin:0;overflow-wrap:anywhere}
@media(max-width:480px){
 .yk-bundle-options .yk-choice{grid-template-columns:64px minmax(0,1fr);gap:8px 12px}
 .yk-bundle-options .yk-choice .yk-component-image{grid-row:1 / 3}
 .yk-bundle-options .yk-choice .yk-quantity{grid-column:2}
 .yk-bundle-options .yk-component-image{width:64px;height:64px}
 .yk-bundle-options .yk-fixed-component{grid-template-columns:64px minmax(0,1fr)}
}

/* Preview component photos with the storefront's existing lightbox. */
.yk-bundle-options .yk-component-image{position:relative}
.yk-bundle-options .yk-component-zoom{display:block;width:100%;height:100%;cursor:zoom-in}
.yk-bundle-options .yk-component-zoom:after{content:'⤢';position:absolute;right:0;bottom:0;width:22px;height:22px;line-height:22px;text-align:center;font-size:18px;background:rgba(255,255,255,.9);color:#a16f3d;pointer-events:none}
.yk-bundle-options .yk-component-zoom:hover img{opacity:.85}
.yk-bundle-options .yk-component-zoom:focus-visible{outline:2px solid #a16f3d;outline-offset:-2px}
