.amery-products{font-family:inherit;color:#30352e}.ap-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.ap-card{display:flex;flex-direction:column;border:1px solid #e1e4d9;background:#fffdf8;border-radius:14px;overflow:hidden;min-width:0}.ap-image{height:230px;display:flex;align-items:center;justify-content:center;background:#f6f3eb;color:#73776f}.ap-image img{height:100%;width:100%;object-fit:contain}.ap-card-body{padding:22px;display:flex;flex:1;flex-direction:column;gap:12px}.ap-card-body h3{margin:0;font-size:1.25rem}.ap-card-body p{margin:0;flex:1}.ap-card-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:auto}.amery-products .ap-button{display:inline-block;background:#71866f;color:#fff!important;padding:12px 20px;border:0;border-radius:7px;text-decoration:none;font-weight:700;cursor:pointer}.amery-products .ap-button:hover{background:#526c51;color:#fff!important}.ap-detail{max-width:850px;margin:auto}.ap-detail-image img{max-height:420px;width:100%;object-fit:contain}.ap-form{display:grid;gap:18px;margin-top:22px}.ap-form label{display:grid;gap:6px}.ap-form input:not([type=radio]):not([type=checkbox]),.ap-form select,.ap-form textarea{padding:10px;border:1px solid #b9c0b5;border-radius:5px;width:100%;box-sizing:border-box}.ap-form fieldset{border:1px solid #cbd1c5;border-radius:8px;padding:16px;display:grid;gap:10px}.ap-form fieldset label,.ap-form .ap-check{display:flex;align-items:center;gap:10px}.ap-form input[type=radio],.ap-form input[type=checkbox]{width:auto;flex-shrink:0}.ap-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ap-honey{position:absolute;left:-9999px}.ap-notice{padding:18px;border:1px solid #71866f;margin-bottom:20px;border-radius:8px}@media(max-width:900px){.ap-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.ap-grid,.ap-fields{grid-template-columns:1fr}.ap-image{height:250px}}

.ap-specs{border-top:1px solid #e0e3d9;margin:24px 0}.ap-specs>div{display:grid;grid-template-columns:170px 1fr;gap:16px;border-bottom:1px solid #e0e3d9;padding:12px 0}.ap-specs dt{font-weight:700}.ap-specs dd{margin:0}.ap-engraving-notice{padding:20px;background:#f5f1e8;border-left:5px solid #71866f;border-radius:8px;margin:24px 0}.ap-engraving-notice p{margin:8px 0 0}.ap-summary{background:#f6f4ee;padding:20px;border-radius:10px}.ap-summary h3{margin-top:0}.ap-summary-total{font-weight:700}.ap-choice-upload[hidden],.ap-choice-custom[hidden],.ap-address[hidden]{display:none!important}.ap-detail-image{background:#f8f6f0;border-radius:12px;padding:12px}.ap-back{display:inline-block;margin-bottom:12px}.ap-card .ap-dimensions{font-size:.9rem;color:#656b60;flex:0}.ap-price{font-size:1.2rem}@media(max-width:600px){.ap-specs>div{grid-template-columns:1fr;gap:3px}}

/* v0.2.2: centre catalogue cards without changing the ordering form */
.amery-products .ap-card-body{text-align:center;align-items:stretch}
.amery-products .ap-card-body h3,.amery-products .ap-card-body p{text-align:center}
.amery-products .ap-card-bottom{align-items:center;text-align:center;width:100%}
.amery-products .ap-card-bottom .ap-button{align-self:center}
.amery-products .ap-image img{display:block;margin-inline:auto}

/* v0.2.3: explicit, Divi-resistant card content alignment */
.amery-products .ap-grid .ap-card .ap-card-body {
  display:flex; flex-direction:column; align-items:center!important; text-align:center!important; width:100%; box-sizing:border-box;
}
.amery-products .ap-grid .ap-card .ap-card-body > * {text-align:center!important; max-width:100%;}
.amery-products .ap-grid .ap-card .ap-card-body h3,
.amery-products .ap-grid .ap-card .ap-card-body p,
.amery-products .ap-grid .ap-card .ap-card-body .ap-price {text-align:center!important; width:100%;}
.amery-products .ap-grid .ap-card .ap-card-bottom {
  display:flex; flex-direction:column; align-items:center!important; justify-content:center; text-align:center!important; width:100%; margin-top:auto;
}
.amery-products .ap-grid .ap-card .ap-card-bottom .ap-button {
  align-self:center!important; margin-left:auto!important; margin-right:auto!important; text-align:center!important;
}

/* Ensure Divi cannot override hidden catalogue-only sections. */
.et_pb_section[hidden], .ap-catalogue-intro[hidden] { display:none!important; }

/* v0.2.5: A fieldset legend cannot be laid out as a grid item reliably in Safari. */
.amery-products .ap-form fieldset{display:block;min-width:0;box-sizing:border-box}
.amery-products .ap-form fieldset legend{display:table;max-width:100%;width:auto;white-space:normal;padding:0 6px;line-height:1.45}
.amery-products .ap-form fieldset label{display:flex;align-items:flex-start;gap:10px;margin:10px 0 0;line-height:1.5}
.amery-products .ap-form fieldset input[type="radio"]{margin-top:.3em}

/* v0.2.6: full-width product photograph, preserving original proportions. */
.amery-products .ap-detail-image {padding:0;overflow:hidden;max-width:100%;}
.amery-products .ap-detail-image img {display:block;width:100%!important;height:auto!important;max-width:none!important;max-height:none!important;object-fit:contain;margin:0!important;border:0;}

/* v0.2.7: make catalogue photographs fill their image frames. */
.amery-products .ap-grid .ap-card .ap-image {overflow:hidden;}
.amery-products .ap-grid .ap-card .ap-image img {display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center center!important;margin:0!important;}

/* v0.2.8: fill the catalogue image frame, including under Divi image defaults. */
.amery-products .ap-grid .ap-card .ap-image {
  position:relative!important; display:block!important; width:100%!important; height:230px!important;
  min-height:230px!important; overflow:hidden!important; box-sizing:border-box!important;
}
.amery-products .ap-grid .ap-card .ap-image > img,
.amery-products .ap-grid .ap-card .ap-image > a > img {
  position:absolute!important; inset:0!important; 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; box-shadow:none!important;
}
@media(max-width:600px){.amery-products .ap-grid .ap-card .ap-image{height:250px!important;min-height:250px!important;}}
.ap-stock{font-weight:600;color:#476653;text-align:center;margin:8px 0}.ap-out{display:inline-block;color:#795a50;font-weight:700;padding:10px}

/* High-visibility, stock-aware badges (catalogue and individual product view). */
.amery-products .ap-stock {text-align:center;margin:12px 0!important;line-height:1.35;}
.amery-products .ap-stock-badge {display:inline-block!important;padding:8px 15px!important;border-radius:6px!important;font-size:14px!important;font-weight:800!important;letter-spacing:.055em!important;text-transform:uppercase!important;background:#e4f0e5!important;color:#24643a!important;}
.amery-products .ap-stock--low .ap-stock-badge {background:#fff0d9!important;color:#92500c!important;}
.amery-products .ap-stock--empty .ap-stock-badge {background:#f9e4e3!important;color:#9b2727!important;}

/* v0.3.1 readability and confirmation */
.amery-products .ap-form input:not([type=radio]):not([type=checkbox]):not([type=file]),
.amery-products .ap-form select,.amery-products .ap-form textarea{
 font-size:18px!important;line-height:1.5!important;min-height:48px!important;color:#252b25!important;
}
.amery-products .ap-form input[type=file]{font-size:16px!important;line-height:1.5!important;}
.amery-products .ap-form label,.amery-products .ap-form legend{font-size:17px!important;line-height:1.5!important;}
.amery-products .ap-form button.ap-button{font-size:18px!important;line-height:1.4!important;font-weight:800!important;min-height:54px!important;color:#ffffff!important;}
.amery-products .ap-success{display:flex;align-items:flex-start;gap:20px;padding:28px!important;background:#f7f9f5!important;border:1px solid #b6c9b5!important;border-left:6px solid #71866f!important;border-radius:12px!important;line-height:1.65;}
.amery-products .ap-success-icon{background:#71866f;color:#fff;flex:0 0 46px;height:46px;border-radius:50%;display:grid;place-items:center;font-size:26px;font-weight:bold;}
.amery-products .ap-success-eyebrow{font-size:12px;font-weight:800;letter-spacing:.12em;color:#4f7052;}
.amery-products .ap-success h2{font-size:24px!important;line-height:1.3!important;margin:6px 0 12px!important;color:#30352e!important;}
.amery-products .ap-success p{font-size:16px!important;margin:0 0 12px!important;}
.amery-products .ap-success-note{border-top:1px solid #dce4d9;padding-top:12px;margin-top:12px!important;}
@media(max-width:600px){.amery-products .ap-success{padding:20px!important;gap:12px}.amery-products .ap-success-icon{flex-basis:36px;height:36px;font-size:21px}}

/* v0.9.76: show complete wooden catalogue photographs without cropping. */
.amery-products .ap-grid .ap-card .ap-image {
  height:270px!important; min-height:270px!important;
  background:#f5f2eb;
}
.amery-products .ap-grid .ap-card .ap-image > img,
.amery-products .ap-grid .ap-card .ap-image > a > img {
  object-fit:contain!important; box-sizing:border-box!important;
  padding:12px!important;
}
@media(max-width:600px){
  .amery-products .ap-grid .ap-card .ap-image{height:250px!important;min-height:250px!important;}
}
