.com-page{max-width:1080px;margin:0 auto}.com-page h3{margin:30px 0 10px}.com-ribbon{position:absolute;top:12px;left:0;background:#8e1f2b;color:white;padding:7px 12px;z-index:11;font-weight:700;font-size:11px;line-height:1.2;text-transform:uppercase;letter-spacing:.04em;box-shadow:0 2px 7px #0003}.woocommerce ul.products li.product,.woocommerce div.product div.images{position:relative}.com-table-wrap{overflow-x:auto}.com-table{border-collapse:collapse;width:100%;min-width:430px}.com-table th,.com-table td{padding:12px;border-bottom:1px solid #ddd;text-align:left}.com-table th:last-child,.com-table td:last-child{text-align:right}.com-table input[type=number]{width:82px;min-height:40px;text-align:center}.com-checkout{margin:25px 0;padding:20px;border:1px solid #ddd;border-radius:8px}.com-checkout select{width:100%;max-width:380px;padding:12px}.com-checkout label{display:block;margin:9px 0}.com-checkout button{padding:13px 23px;background:#7d2029;color:#fff;border:0;border-radius:4px;cursor:pointer}.com-notice{background:#f8f4ed;padding:14px;border-left:4px solid #a87932;margin:15px 0}.com-actions{margin:20px 0}.com-actions a{display:inline-block;padding:10px 16px;border:1px solid #aaa;text-decoration:none}@media(max-width:600px){.com-table th,.com-table td{padding:10px 6px;font-size:13px}.com-checkout{padding:14px}}

/* Christmas collection checkout display settings (classic checkout). */
.woocommerce-checkout #com-christmas-checkout-date {
  box-sizing:border-box; width:var(--com-block-width,50%); max-width:100%;
  float:none; clear:both; margin-top:18px; margin-bottom:18px;
}
.woocommerce-checkout #com-christmas-checkout-date.com-align-left { margin-left:0; margin-right:auto; }
.woocommerce-checkout #com-christmas-checkout-date.com-align-center { margin-left:auto; margin-right:auto; }
.woocommerce-checkout #com-christmas-checkout-date.com-align-right { margin-left:auto; margin-right:0; }
.woocommerce-checkout #com-christmas-checkout-date .form-row { float:none; width:100%; }
.woocommerce-checkout #com-christmas-checkout-date select { width:100%; max-width:100%; }
@media(max-width:767px) {
  .woocommerce-checkout #com-christmas-checkout-date.com-mobile-full {
     width:100%; max-width:100%; margin-left:0; margin-right:0;
  }
}

/* Christmas order: clearly distinguish the deposit charged at checkout from
   the approximate full value and future amount due on collection. */
.woocommerce-checkout-review-order-table tr.com-estimate-total th,
.woocommerce-checkout-review-order-table tr.com-estimate-total td {padding-top:14px;}
.woocommerce-checkout-review-order-table tr.com-estimated-balance th,
.woocommerce-checkout-review-order-table tr.com-estimated-balance td {font-weight:700;}
.woocommerce-checkout-review-order-table tr.com-estimated-explanation td {font-weight:400;font-size:12px;line-height:1.5;color:#606060;padding-top:2px;padding-bottom:14px;}

/* WooCommerce-like Christmas admin orders list */
.com-admin-orders td{vertical-align:middle;padding:11px 10px}
.com-admin-orders th{vertical-align:middle}
.com-admin-orders .com-actions-column{width:360px}
.com-admin-orders .com-inline-actions{display:flex;align-items:center;justify-content:flex-start;gap:6px;white-space:nowrap;flex-wrap:nowrap}
.com-admin-orders .com-inline-actions form{display:inline-flex;align-items:center;gap:5px;margin:0}
.com-admin-orders .com-inline-actions select{max-width:100px;min-width:65px}
.com-admin-orders .com-inline-actions button{white-space:nowrap}
.com-admin-orders .com-trash-button{display:inline-flex;align-items:center;justify-content:center;min-width:32px;padding:0 5px;color:#a00;border-color:#dba3a3}
.com-admin-orders .com-trash-button:hover{color:#b32d2e;border-color:#b32d2e}
.com-admin-orders .com-order-status{display:inline-block;border-radius:4px;background:#e5e5e5;color:#454545;padding:5px 9px;font-weight:400;line-height:1.3;white-space:nowrap}
.com-admin-orders .com-status-confirmed,.com-admin-orders .com-status-completed{background:#c8e6ce;color:#285c32}
.com-admin-orders .com-status-awaiting-deposit,.com-admin-orders .com-status-deposit-overdue{background:#f9e2ad;color:#654d14}
.com-admin-orders .com-status-cancelled{background:#eee;color:#777}
.com-manual-order .form-table{max-width:900px}
/* Reserve enough horizontal space for all four controls; on narrow admin windows
   scroll the table itself rather than allowing the Trash action to escape the cell. */
.com-admin-orders-scroll{max-width:100%;overflow-x:auto;overflow-y:visible;margin-top:12px;-webkit-overflow-scrolling:touch}
.com-admin-orders-scroll .com-admin-orders{width:100%;min-width:1190px;table-layout:fixed;margin:0}
.com-admin-orders-scroll .com-admin-orders .com-actions-column{box-sizing:border-box;width:360px;min-width:360px;padding-left:8px;padding-right:8px}
.com-admin-orders-scroll .com-inline-actions{display:flex;flex-flow:row nowrap;align-items:center;justify-content:flex-start;gap:5px;max-width:100%;box-sizing:border-box}
.com-admin-orders-scroll .com-inline-actions form{min-width:0;flex:0 0 auto;gap:5px}
.com-admin-orders-scroll .com-inline-actions .com-date-form{display:flex;flex:0 0 auto}
.com-admin-orders-scroll .com-inline-actions select{width:86px;min-width:70px;max-width:86px;padding-left:7px;padding-right:16px}
.com-admin-orders-scroll .com-inline-actions .button{font-size:12px;padding:0 8px;min-height:32px;line-height:2;box-sizing:border-box}
.com-admin-orders-scroll .com-inline-actions .com-trash-button{width:32px;min-width:32px;padding:0}
@media(max-width:1280px){.com-admin-orders-scroll .com-admin-orders{min-width:1190px}}


/* Beta 0.3.0 – isolate Dashicon vertical alignment to the Christmas admin list. */
.com-admin-orders .com-actions-column .button .dashicons{line-height:1;vertical-align:middle}
.com-edit-notice{padding:12px;border-left:3px solid #666;background:#f4f4f4;margin:14px 0}
@media print{.wrap .button,.wrap form,.wp-admin #adminmenumain{display:none!important}}

/* Settings tab visibility (scope limited to Seasonal Orders settings). */
.com-settings-table tr[hidden], #com-prepare-season-form[hidden]{display:none!important}
.com-settings-tabs{margin:16px 0 12px}
.com-settings-tabs .nav-tab{cursor:pointer}
.com-settings-tabs .nav-tab:focus-visible{outline:2px solid #2271b1;outline-offset:2px}
/* v0.4.4: clear gram increments and accessible weight fields on seasonal forms. */
.com-table td .description,.com-manual-order td .description{display:block;margin-top:4px;font-size:11px;line-height:1.35;color:#665f58;white-space:normal;max-width:165px}
.com-manual-order input[type=number],.com-edit-quantity{min-width:98px;max-width:126px}


/* v0.4.5: compact, accessible seasonal product list. Scoped to the public
   seasonal form so WooCommerce tables, administrative lists and print CSS
   are not changed. */
.com-page .com-table-wrap{overflow-x:auto;max-width:100%;margin:18px 0 24px;border:1px solid #d9d9d9;border-radius:6px;background:#fff}
.com-page table.com-table{width:100%;min-width:0;margin:0!important;border:0!important;border-collapse:collapse!important;border-spacing:0;table-layout:fixed;background:transparent;box-shadow:none}
.com-page table.com-table thead th{padding:13px 16px!important;background:#f4f4f4!important;color:#282828!important;font-size:13px;font-weight:700;letter-spacing:.025em;line-height:1.35;text-transform:none;border:0!important;border-bottom:1px solid #d9d9d9!important}
.com-page table.com-table th:nth-child(1),.com-page table.com-table td:nth-child(1){width:51%;text-align:left}
.com-page table.com-table th:nth-child(2),.com-page table.com-table td:nth-child(2){width:23%;text-align:left}
.com-page table.com-table th:nth-child(3),.com-page table.com-table td:nth-child(3){width:26%;text-align:right}
.com-page table.com-table tbody tr{background:#fff!important}
.com-page table.com-table tbody tr:nth-child(even){background:#fafafa!important}
.com-page table.com-table tbody tr:hover{background:#f4f6f7!important}
.com-page table.com-table tbody td{height:auto;vertical-align:middle!important;padding:12px 16px!important;border:0!important;border-bottom:1px solid #e6e6e6!important;font-size:15px;line-height:1.4;color:#242424}
.com-page table.com-table tbody tr:last-child td{border-bottom:0!important}
.com-page table.com-table .com-product-name{font-weight:500;overflow-wrap:break-word}
.com-page table.com-table .com-product-price{font-weight:500;white-space:normal}
.com-page table.com-table .com-product-price .woocommerce-Price-amount{white-space:nowrap}
.com-page table.com-table .com-quantity-control{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:4px}
.com-page table.com-table input[type=number]{box-sizing:border-box;width:104px!important;max-width:100%;min-width:0;min-height:38px;height:38px;margin:0!important;padding:5px 22px 5px 8px!important;border:1px solid #c8c8c8;border-radius:5px;background:#fff;color:#252525;font-size:14px;line-height:1.3;text-align:right;font-variant-numeric:tabular-nums;box-shadow:none}
.com-page table.com-table input[type=number]:focus{outline:2px solid #2271b1;outline-offset:1px;border-color:#2271b1}
.com-page table.com-table .com-quantity-control .description{display:block;margin:0;color:#686868;font-size:11px;line-height:1.3;text-align:right;white-space:normal;max-width:170px}
@media (max-width:600px){
 .com-page table.com-table thead th{padding:10px 8px!important;font-size:12px}
 .com-page table.com-table tbody td{padding:10px 8px!important;font-size:13px}
 .com-page table.com-table th:nth-child(1),.com-page table.com-table td:nth-child(1){width:44%}
 .com-page table.com-table th:nth-child(2),.com-page table.com-table td:nth-child(2){width:24%}
 .com-page table.com-table th:nth-child(3),.com-page table.com-table td:nth-child(3){width:32%}
 .com-page table.com-table input[type=number]{width:86px!important;height:36px;min-height:36px;font-size:13px;padding-right:19px!important}
 .com-page table.com-table .com-quantity-control .description{font-size:10px;max-width:115px}
}
@media print{
 .com-page table.com-table tbody tr:hover{background:transparent!important}
 .com-page .com-table-wrap{border-radius:0;overflow:visible}
}

/* Visual category separators without category names (v0.4.6). */
.com-page table.com-table tbody tr.com-category-start td{
 border-top:3px solid #777!important;
}
@media print{
 .com-page table.com-table tbody tr.com-category-start td{border-top:2px solid #555!important}
}

/* v0.4.7: Uppercase product labels on seasonal order forms only. */
.com-page table.com-table td.com-product-name { text-transform: uppercase; }

/* v0.4.8: visible variation and WooCommerce product descriptions. */
.com-page table.com-table td.com-product-name .com-product-title{display:block;text-transform:uppercase;font-weight:500}
.com-page table.com-table td.com-product-name .com-variant-label{display:block;margin-top:4px;font-size:13px;line-height:1.4;font-weight:600;color:#444;text-transform:none;overflow-wrap:anywhere}
.com-page table.com-table td.com-product-name .com-product-hint{display:block;margin-top:5px;font-size:12px;line-height:1.45;font-weight:400;color:#666;text-transform:none;white-space:normal;overflow-wrap:break-word}
@media(max-width:600px){.com-page table.com-table td.com-product-name .com-variant-label{font-size:12px}.com-page table.com-table td.com-product-name .com-product-hint{font-size:11px}}

/* v0.5.0: confirmed public order selections; only submitted after clicking Dodaj. */
.com-page table.com-choice-table th:nth-child(1),.com-page table.com-choice-table td:nth-child(1){width:43%}
.com-page table.com-choice-table th:nth-child(2),.com-page table.com-choice-table td:nth-child(2){width:19%}
.com-page table.com-choice-table th:nth-child(3),.com-page table.com-choice-table td:nth-child(3){width:23%}
.com-page table.com-choice-table th:nth-child(4),.com-page table.com-choice-table td:nth-child(4){width:15%;text-align:center}
.com-page .com-choice-button{appearance:none;border:1px solid #555;border-radius:4px;background:#fff;color:#242424;cursor:pointer;min-width:72px;padding:8px 10px;font-size:13px;font-weight:600;line-height:1.4}
.com-page .com-choice-button:hover,.com-page .com-choice-button:focus-visible{background:#eee;border-color:#111}
.com-page .com-choice-added .com-choice-button{background:#f4f4f4}
.com-page .com-choice-status{display:block;color:#31693f;font-size:11px;margin-top:4px;white-space:nowrap}
.com-page .com-choice-added input.com-choice-input{background:#f2f2f2;color:#515151}
@media(max-width:600px){
 .com-page table.com-choice-table th:nth-child(1),.com-page table.com-choice-table td:nth-child(1){width:39%}
 .com-page table.com-choice-table th:nth-child(2),.com-page table.com-choice-table td:nth-child(2){width:20%}
 .com-page table.com-choice-table th:nth-child(3),.com-page table.com-choice-table td:nth-child(3){width:23%}
 .com-page table.com-choice-table th:nth-child(4),.com-page table.com-choice-table td:nth-child(4){width:18%}
 .com-page .com-choice-button{min-width:0;padding:7px 5px;font-size:11px}
 .com-page .com-choice-status{font-size:10px}
}

/* v0.5.1: removal action for explicitly confirmed products. */
.com-page .com-product-action .com-choice-remove{appearance:none;border:0;background:none;color:#9b2e32;cursor:pointer;text-decoration:underline;font-size:12px;padding:5px 2px;margin-top:3px;line-height:1.3}
.com-page .com-product-action .com-choice-remove:hover,.com-page .com-product-action .com-choice-remove:focus-visible{color:#5d1619;text-decoration:none}
.com-page .com-product-action .com-choice-remove[hidden]{display:none!important}

/* v0.5.2: right-aligned quantities with spinner at the far edge, without
   changing the original input width or its weight/quantity validation. */
.com-page table.com-choice-table .com-quantity-spinner {
  position:relative; display:inline-block; width:104px; max-width:100%; vertical-align:middle;
}
.com-page table.com-choice-table .com-quantity-spinner input[type=number] {
  width:100%!important; box-sizing:border-box; text-align:right!important;
  padding-left:8px!important; padding-right:32px!important;
  -moz-appearance:textfield; appearance:textfield;
}
.com-page table.com-choice-table .com-quantity-spinner input[type=number]::-webkit-inner-spin-button,
.com-page table.com-choice-table .com-quantity-spinner input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance:none; margin:0;
}
.com-page table.com-choice-table .com-quantity-spinner-buttons {
  position:absolute; right:5px; top:50%; transform:translateY(-50%);
  display:flex; flex-direction:column; gap:0; z-index:1;
}
.com-page table.com-choice-table .com-quantity-spinner-button {
  width:18px; height:15px; padding:0; margin:0; border:0; background:transparent;
  color:#444; font:normal 9px/15px Arial,sans-serif; cursor:pointer; text-align:center;
}
.com-page table.com-choice-table .com-quantity-spinner-button:hover { color:#111; background:#eee; }
.com-page table.com-choice-table .com-quantity-spinner-button:disabled { opacity:.4; cursor:default; }
.com-page table.com-choice-table .com-quantity-spinner-button:focus-visible { outline:2px solid #2271b1; outline-offset:0; }
@media(max-width:600px) {
 .com-page table.com-choice-table .com-quantity-spinner { width:86px; }
 .com-page table.com-choice-table .com-quantity-spinner input[type=number] { padding-right:29px!important; }
}
