/* Amaley Core v1.0.78 — Member / Producer Single visual rhythm polish. Scoped only to .amms-* member single sections. */
.amms-section{--amms-dark:#2e1203;--amms-warm:#4a2208;--amms-paper:#fff8ed;--amms-cream:#f6efe3;--amms-sand:#efe3d0;--amms-gold:#c2880a;--amms-rust:#b85c38;--amms-muted:#7a6250;--amms-border:#e5d7c2;--amms-shadow:0 14px 34px rgba(46,18,3,.08);box-sizing:border-box;font-family:Lato,Arial,sans-serif;color:var(--amms-warm);background:var(--amms-paper);padding:44px 18px}.amms-section *{box-sizing:border-box}.amms-wrap{width:min(1180px,100%);margin:0 auto}.amms-kicker,.amms-card-label{margin:0 0 10px;color:var(--amms-gold);font-family:Lato,Arial,sans-serif;font-size:11px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.amms-title,.amms-section-title{margin:0;color:var(--amms-dark);font-family:"Playfair Display",Georgia,serif;font-weight:600;letter-spacing:-.025em;line-height:1.08}.amms-title{font-size:clamp(36px,4.6vw,70px);max-width:760px}.amms-section-title{font-size:clamp(28px,3.2vw,44px);max-width:760px}.amms-description,.amms-section-desc{margin:16px 0 0;max-width:760px;color:var(--amms-muted);font-size:15px;line-height:1.7}.amms-section-head{max-width:820px;margin:0 0 24px}.amms-breadcrumb{display:inline-flex;margin:0 0 14px;padding:8px 12px;border:1px solid rgba(194,136,10,.24);border-radius:999px;color:#f7ecd8;background:rgba(255,255,255,.09);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.amms-button-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.amms-btn,.amms-card-button,.amms-product-button,.amms-section-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:12px 20px;border-radius:999px;font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;text-decoration:none;transition:transform .22s ease,background .22s ease,border-color .22s ease,color .22s ease,box-shadow .22s ease}.amms-btn-primary,.amms-product-button{background:var(--amms-rust);border:1px solid var(--amms-rust);color:#fff}.amms-btn-primary:hover,.amms-product-button:hover{background:var(--amms-dark);border-color:var(--amms-dark);color:#fff;transform:translateY(-1px)}.amms-btn-secondary,.amms-card-button,.amms-section-button{background:transparent;border:1px solid rgba(194,136,10,.48);color:var(--amms-dark)}.amms-btn-secondary:hover,.amms-card-button:hover,.amms-section-button:hover{background:var(--amms-dark);border-color:var(--amms-dark);color:#fff8ed;transform:translateY(-1px)}.amms-empty{padding:22px;border:1px dashed rgba(194,136,10,.34);border-radius:22px;background:rgba(255,250,241,.72);color:var(--amms-muted);text-align:center}.amms-hero{background:radial-gradient(circle at 88% 14%,rgba(194,136,10,.16),transparent 34%),linear-gradient(135deg,#2e1203 0%,#4a2208 72%,#2e1203 100%);padding:64px 18px;color:#fff8ed}.amms-hero .amms-title,.amms-hero .amms-description{color:#fff8ed}.amms-hero-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:34px;align-items:center}.amms-hero-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.amms-hero-pills span{display:inline-flex;align-items:center;min-height:28px;padding:7px 10px;border-radius:999px;background:rgba(255,248,237,.1);border:1px solid rgba(255,248,237,.18);color:#fff8ed;font-size:11px;font-weight:800}.amms-hero-media{height:380px;border-radius:30px;overflow:hidden;border:1px solid rgba(255,248,237,.22);background:rgba(255,248,237,.12);box-shadow:0 22px 54px rgba(0,0,0,.22);display:flex;align-items:center;justify-content:center;color:#f4d9a6;font-family:"Playfair Display",Georgia,serif;font-size:64px}.amms-hero-media img{width:100%;height:100%;display:block;object-fit:cover;object-position:center center}.amms-snapshot,.amms-products{background:#fff8ed}.amms-snapshot-grid{display:grid;grid-template-columns:repeat(var(--amms-cols,4),minmax(0,1fr));gap:16px}.amms-stat{padding:18px;border:1px solid rgba(194,136,10,.24);border-radius:20px;background:#fffdf8;box-shadow:0 10px 24px rgba(46,18,3,.055)}.amms-stat span{display:block;margin-bottom:6px;color:var(--amms-gold);font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.amms-stat strong{display:block;color:var(--amms-dark);font-size:16px;line-height:1.35}.amms-story{background:#f6efe3}.amms-story-card{padding:34px;border:1px solid rgba(194,136,10,.22);border-radius:28px;background:#fffdf8;box-shadow:var(--amms-shadow)}.amms-story-body{max-width:830px;color:var(--amms-warm);font-size:15px;line-height:1.75}.amms-story-body p{margin:0 0 14px}.amms-chip-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;max-width:100%;overflow:hidden}.amms-chip-row span,.amms-product-fallback span{display:inline-flex;max-width:100%;min-height:28px;padding:7px 10px;border:1px solid rgba(194,136,10,.22);border-radius:999px;background:rgba(194,136,10,.08);color:#684119;font-size:10px;font-weight:850;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.amms-related{background:#fff8ed}.amms-related-grid,.amms-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.amms-one-card{grid-template-columns:minmax(0,620px)}.amms-related-card,.amms-product-card{overflow:hidden;border:1px solid rgba(194,136,10,.24);border-radius:24px;background:#fffdf8;box-shadow:0 12px 30px rgba(46,18,3,.07);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.amms-related-card:hover,.amms-product-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(46,18,3,.1);border-color:rgba(194,136,10,.4)}.amms-related-media,.amms-product-media{position:relative;height:220px;background:linear-gradient(135deg,#f3e7cf,#ead8b8);display:flex;align-items:center;justify-content:center;color:#94652e;font-family:"Playfair Display",Georgia,serif;font-size:34px;overflow:hidden}.amms-related-media img,.amms-product-media img{width:100%;height:100%;display:block;object-fit:cover;object-position:center center}.amms-related-media b{position:absolute;top:12px;left:12px;padding:7px 10px;border-radius:999px;background:rgba(255,253,248,.95);border:1px solid rgba(194,136,10,.26);color:#6a401a;font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.amms-related-body,.amms-product-body{display:flex;flex-direction:column;gap:10px;padding:20px}.amms-related-body h3,.amms-product-body h3{margin:0;color:var(--amms-dark);font-family:"Playfair Display",Georgia,serif;font-size:24px;line-height:1.12}.amms-related-body p{margin:0;color:var(--amms-muted);font-size:13px;line-height:1.62}.amms-related-body dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 0}.amms-related-body dl div,.amms-product-meta div{min-width:0;padding:11px;border:1px solid rgba(194,136,10,.18);border-radius:14px;background:rgba(255,248,237,.72)}.amms-related-body dt,.amms-product-meta span{display:block;margin:0 0 4px;color:var(--amms-gold);font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.amms-related-body dd,.amms-product-meta strong{display:block;margin:0;color:var(--amms-dark);font-size:12px;font-weight:800;line-height:1.35;overflow-wrap:anywhere}.amms-card-button,.amms-product-button{width:100%;margin-top:auto}.amms-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.amms-product-media{height:190px}.amms-product-body h3{font-size:18px}.amms-product-meta{display:grid;grid-template-columns:1fr 1fr;gap:9px}.amms-product-fallback{display:flex;flex-wrap:wrap;gap:8px;padding:20px;border:1px solid rgba(194,136,10,.24);border-radius:22px;background:#fffdf8}.amms-section-actions{display:flex;justify-content:center;margin-top:22px}.amms-gallery{background:#f6efe3}.amms-gallery-grid{display:grid;grid-template-columns:repeat(var(--amms-cols,3),minmax(0,1fr));gap:16px}.amms-gallery figure{position:relative;margin:0;min-height:210px;border-radius:22px;overflow:hidden;background:#ead8b8;box-shadow:0 12px 30px rgba(46,18,3,.08)}.amms-gallery img{width:100%;height:100%;min-height:210px;display:block;object-fit:cover;object-position:center center}.amms-gallery figcaption{position:absolute;left:12px;right:12px;bottom:12px;padding:9px 10px;border-radius:14px;background:rgba(46,18,3,.72);color:#fff8ed;font-size:11px;font-weight:800}.amms-contact{background:#fff8ed}.amms-contact-card{padding:38px;border-radius:30px;background:linear-gradient(135deg,#2e1203,#4a2208);color:#fff8ed;text-align:center;box-shadow:0 20px 48px rgba(46,18,3,.14)}.amms-contact .amms-kicker,.amms-contact .amms-section-title,.amms-contact .amms-section-desc,.amms-phone{color:#fff8ed;margin-left:auto;margin-right:auto}.amms-phone{margin-top:12px;font-weight:800}.amms-contact .amms-button-row{justify-content:center}@media(max-width:980px){.amms-hero-grid{grid-template-columns:1fr}.amms-hero-media{height:320px}.amms-snapshot-grid{grid-template-columns:repeat(var(--amms-cols-tablet,2),minmax(0,1fr))}.amms-related-grid,.amms-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.amms-gallery-grid{grid-template-columns:repeat(var(--amms-cols-tablet,2),minmax(0,1fr))}}@media(max-width:640px){.amms-section{padding:34px 14px}.amms-hero{padding:46px 14px}.amms-title{font-size:38px}.amms-hero-media{height:260px;border-radius:22px}.amms-button-row,.amms-contact .amms-button-row{flex-direction:column}.amms-btn,.amms-section-button{width:100%}.amms-snapshot-grid{grid-template-columns:repeat(var(--amms-cols-mobile,2),minmax(0,1fr));gap:12px}.amms-related-grid,.amms-product-grid,.amms-one-card{grid-template-columns:1fr}.amms-related-media,.amms-product-media{height:190px}.amms-related-body dl,.amms-product-meta{grid-template-columns:1fr}.amms-gallery-grid{grid-template-columns:repeat(var(--amms-cols-mobile,1),minmax(0,1fr))}.amms-story-card,.amms-contact-card{padding:24px;border-radius:24px}.amms-section-head{text-align:left}.amms-section-title{font-size:30px}}


/* v1.0.78 Member Single visual rhythm polish — scoped overrides only */
.amms-hero{padding:58px 18px 56px}
.amms-hero-grid{grid-template-columns:minmax(0,1.15fr) minmax(280px,420px);gap:42px}
.amms-hero-media{height:320px;border-radius:24px;background:linear-gradient(135deg,rgba(255,248,237,.15),rgba(194,136,10,.16));font-size:58px}
.amms-hero-pills{max-width:780px}
.amms-hero-pills span{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.amms-section{padding-top:42px;padding-bottom:42px}
.amms-snapshot{padding-top:34px;padding-bottom:34px}
.amms-stat{min-height:70px;display:flex;flex-direction:column;justify-content:center}
.amms-story{padding-top:34px;padding-bottom:34px}
.amms-story-card{width:min(980px,100%);margin:0 auto;padding:38px 40px}
.amms-story-card .amms-section-head{margin-bottom:18px}
.amms-related{padding-top:46px;padding-bottom:46px}
.amms-related .amms-wrap{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(320px,520px);gap:32px;align-items:start}
.amms-related .amms-section-head{margin:0;max-width:520px;padding-top:10px}
.amms-related-grid.amms-one-card{grid-template-columns:minmax(0,1fr);width:100%}
.amms-related-card{border-radius:26px}
.amms-related-media{height:200px}
.amms-related-body{padding:22px;gap:11px}
.amms-related-body h3{font-size:26px}
.amms-related-body p{font-size:13px;line-height:1.68}
.amms-related-body dl{gap:10px;margin-top:2px}
.amms-card-button{min-height:38px;padding:10px 16px;margin-top:8px}
.amms-products{padding-top:46px;padding-bottom:46px}
.amms-product-fallback{max-width:760px;padding:16px;margin-top:6px}
.amms-product-fallback span{white-space:nowrap;max-width:180px;overflow:hidden;text-overflow:ellipsis}
.amms-gallery{padding-top:42px;padding-bottom:42px}
.amms-gallery .amms-empty{max-width:820px;text-align:center}
.amms-contact{padding-top:38px;padding-bottom:38px}
.amms-contact-card{width:min(980px,100%);margin:0 auto;padding:42px 42px;border-radius:28px}
@media(max-width:980px){
  .amms-hero-grid{grid-template-columns:1fr;gap:26px}
  .amms-hero-media{height:300px;max-width:520px;width:100%}
  .amms-related .amms-wrap{grid-template-columns:1fr;gap:22px}
  .amms-related .amms-section-head{max-width:760px;padding-top:0}
  .amms-related-grid.amms-one-card{max-width:560px}
}
@media(max-width:640px){
  .amms-hero{padding:42px 14px 44px}
  .amms-hero-media{height:230px;font-size:46px}
  .amms-section{padding-top:34px;padding-bottom:34px}
  .amms-story-card,.amms-contact-card{padding:24px 18px}
  .amms-related-media{height:170px}
  .amms-related-body h3{font-size:24px}
  .amms-stat{min-height:64px;padding:14px}
}


/* v1.0.78.1 — Member Single section architecture polish. Scoped only to .amms-* classes. */
.amms-section{padding-top:38px;padding-bottom:38px}
.amms-section .amms-wrap{position:relative}
.amms-section-head{margin-bottom:20px}
.amms-section-title{max-width:700px;letter-spacing:-.032em}
.amms-section-desc{max-width:640px;margin-top:11px;font-size:14px;line-height:1.62}
.amms-kicker,.amms-card-label{letter-spacing:.16em}

/* Hero: calmer premium start and cleaner transition into facts. */
.amms-hero{padding-top:56px;padding-bottom:54px;background:radial-gradient(circle at 82% 18%,rgba(194,136,10,.20),transparent 31%),linear-gradient(135deg,#2a0f03 0%,#431b06 60%,#2e1203 100%)}
.amms-hero-grid{grid-template-columns:minmax(0,1fr) minmax(300px,430px);gap:46px}
.amms-hero .amms-description{max-width:650px;margin-top:14px;font-size:15px;line-height:1.68;color:rgba(255,248,237,.92)}
.amms-hero-pills{gap:9px;margin-top:18px}
.amms-hero-pills span{min-height:27px;padding:7px 11px;background:rgba(255,248,237,.11);border-color:rgba(255,248,237,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.amms-hero .amms-button-row{margin-top:26px;gap:14px}
.amms-hero-media{height:315px;border-radius:22px;box-shadow:0 22px 54px rgba(0,0,0,.25)}

/* Snapshot: tighter profile fact strip. */
.amms-snapshot{padding-top:28px;padding-bottom:30px;background:#fff8ed}
.amms-snapshot .amms-section-head{margin-bottom:18px}
.amms-snapshot-grid{gap:14px}
.amms-stat{min-height:66px;padding:16px 18px;border-radius:18px;background:linear-gradient(180deg,#fffdf8 0%,#fbf4e8 100%);box-shadow:0 8px 20px rgba(46,18,3,.045)}
.amms-stat span{margin-bottom:7px;font-size:9.5px;letter-spacing:.14em}
.amms-stat strong{font-size:15px;line-height:1.32}

/* Producer story: editorial card, less bulky, better reading width. */
.amms-story{padding-top:32px;padding-bottom:34px;background:linear-gradient(180deg,#f6efe3 0%,#f4eadc 100%)}
.amms-story-card{width:min(1040px,100%);padding:34px 38px;border-radius:24px;background:linear-gradient(180deg,#fffdf8 0%,#fffaf1 100%);box-shadow:0 14px 34px rgba(46,18,3,.07)}
.amms-story-card:before{content:"";position:absolute;left:38px;top:34px;width:34px;height:2px;border-radius:999px;background:rgba(194,136,10,.55)}
.amms-story-card .amms-section-head{padding-top:12px;margin-bottom:16px}
.amms-story-body{max-width:860px;font-size:15px;line-height:1.72;color:#4a2208}
.amms-story-body p:last-child{margin-bottom:0}
.amms-story .amms-chip-row{margin-top:18px;gap:7px}

/* Linked SHG / Cluster: connect copy and card as one story block instead of floating widgets. */
.amms-related{padding-top:38px;padding-bottom:38px;background:#fff8ed}
.amms-related .amms-wrap{display:grid;grid-template-columns:minmax(240px,0.86fr) minmax(340px,500px);gap:30px;align-items:center;padding:4px 0}
.amms-related .amms-section-head{max-width:500px;padding:0;margin:0}
.amms-related .amms-section-head:after{content:"";display:block;width:46px;height:1px;margin-top:18px;background:rgba(194,136,10,.45)}
.amms-related .amms-section-title{font-size:clamp(30px,3vw,42px);max-width:520px;line-height:1.06}
.amms-related .amms-section-desc{max-width:470px;color:#6f5948}
.amms-related-grid.amms-one-card{width:100%;max-width:500px;justify-self:end}
.amms-related-card{border-radius:24px;background:linear-gradient(180deg,#fffdf8 0%,#fff8ed 100%);box-shadow:0 14px 36px rgba(46,18,3,.08)}
.amms-related-card:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(46,18,3,.11)}
.amms-related-media{height:170px;background:linear-gradient(135deg,#efe0c4,#e5d0aa)}
.amms-related-card.amms-no-media .amms-related-media{height:128px;background:linear-gradient(135deg,#eadbbd 0%,#f4e8d3 100%)}
.amms-related-card.amms-no-media .amms-related-media span{font-size:32px;color:rgba(96,56,18,.72)}
.amms-related-media b{top:12px;left:12px;padding:7px 11px;font-size:9.5px}
.amms-related-body{padding:20px;gap:10px}
.amms-related-body h3{font-size:25px;letter-spacing:-.015em}
.amms-related-body p{font-size:13px;line-height:1.58;color:#6f5948}
.amms-related-body dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:2px}
.amms-related-body dl div{padding:10px;border-radius:13px;background:#fff9ee}
.amms-card-button{min-height:39px;margin-top:6px;background:#fffdf8}
.amms-related-cluster{background:linear-gradient(180deg,#fff8ed 0%,#fbf2e6 100%)}

/* Products: premium catalogue rhythm, not crowded marketplace dump. */
.amms-products{padding-top:40px;padding-bottom:40px;background:#fff8ed}
.amms-products .amms-section-head{margin-bottom:22px}
.amms-product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(285px,1fr));gap:20px;max-width:980px}
.amms-product-card{border-radius:22px;background:#fffdf8;box-shadow:0 12px 30px rgba(46,18,3,.065)}
.amms-product-media{height:176px}
.amms-product-body{padding:18px;gap:9px}
.amms-product-body h3{font-size:19px;line-height:1.18;min-height:45px}
.amms-product-meta{gap:8px}
.amms-product-meta div{padding:10px;border-radius:12px;background:#fff9ef}
.amms-product-meta strong{font-size:12px;line-height:1.32}
.amms-product-card .amms-chip-row{margin-top:4px;gap:7px}
.amms-product-button{min-height:40px;margin-top:6px;padding:10px 16px}
.amms-section-actions{margin-top:24px}
.amms-section-button{min-height:40px;background:#fffdf8}

/* Gallery: curated proof section with controlled weight. */
.amms-gallery{padding-top:40px;padding-bottom:40px;background:linear-gradient(180deg,#f6efe3 0%,#f3e8d7 100%)}
.amms-gallery .amms-section-head{margin-bottom:22px}
.amms-gallery-grid{gap:14px}
.amms-gallery figure{min-height:230px;border-radius:20px;box-shadow:0 10px 26px rgba(46,18,3,.075)}
.amms-gallery img{min-height:230px;transition:transform .28s ease}
.amms-gallery figure:hover img{transform:scale(1.025)}
.amms-gallery figcaption{left:10px;right:10px;bottom:10px;padding:8px 10px;border-radius:12px;background:linear-gradient(90deg,rgba(46,18,3,.76),rgba(46,18,3,.48));font-size:10.5px}

/* Contact: final closure, slightly less oversized and more refined. */
.amms-contact{padding-top:36px;padding-bottom:44px;background:#fff8ed}
.amms-contact-card{width:min(1040px,100%);padding:40px 44px;border-radius:26px;background:radial-gradient(circle at 50% 0%,rgba(194,136,10,.16),transparent 38%),linear-gradient(135deg,#2e1203,#431b06 72%,#2a0f03);box-shadow:0 20px 48px rgba(46,18,3,.14)}
.amms-contact .amms-section-title{max-width:780px;margin-left:auto;margin-right:auto;line-height:1.08}
.amms-contact .amms-section-desc{max-width:780px;margin-top:16px}
.amms-contact .amms-button-row{margin-top:24px}

@media(max-width:980px){
  .amms-section{padding-top:34px;padding-bottom:34px}
  .amms-hero-grid{gap:28px}
  .amms-hero-media{height:290px;max-width:560px}
  .amms-related .amms-wrap{grid-template-columns:1fr;gap:20px;align-items:start}
  .amms-related .amms-section-head{max-width:760px}
  .amms-related-grid.amms-one-card{justify-self:start;max-width:560px}
  .amms-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:100%}
}
@media(max-width:640px){
  .amms-section{padding:30px 14px}
  .amms-hero{padding:38px 14px 40px}
  .amms-title{font-size:clamp(34px,11vw,42px)}
  .amms-hero .amms-description{font-size:14px;line-height:1.58}
  .amms-hero-pills span{max-width:100%}
  .amms-hero-media{height:220px;border-radius:20px}
  .amms-snapshot-grid{grid-template-columns:1fr 1fr}
  .amms-stat{min-height:62px;padding:13px 12px}
  .amms-stat strong{font-size:13px}
  .amms-story-card{padding:24px 18px;border-radius:22px}
  .amms-story-card:before{left:18px;top:24px}
  .amms-related .amms-section-title{font-size:30px}
  .amms-related-grid.amms-one-card,.amms-product-grid{grid-template-columns:1fr;max-width:100%}
  .amms-related-media{height:155px}
  .amms-related-card.amms-no-media .amms-related-media{height:104px}
  .amms-related-body dl,.amms-product-meta{grid-template-columns:1fr}
  .amms-product-body h3{min-height:0}
  .amms-gallery-grid{grid-template-columns:1fr}
  .amms-gallery figure,.amms-gallery img{min-height:210px}
  .amms-contact-card{padding:28px 18px;border-radius:22px}
}

/* v1.0.78.3 — Story section correction only.
   Fixes the mistake from v1.0.78.2 by restoring Producer Story as a single editorial card.
   Does not change Linked SHG or Linked Cluster structure. Scoped only to .amms-story. */
.amms-story{
  padding-top:30px;
  padding-bottom:32px;
  background:linear-gradient(180deg,#f6efe3 0%,#f3e8d7 100%);
}
.amms-story .amms-wrap{
  width:min(1080px,100%);
}
.amms-story-card{
  position:relative;
  width:100%;
  margin:0 auto;
  padding:30px 36px 28px;
  border:1px solid rgba(194,136,10,.20);
  border-radius:24px;
  background:linear-gradient(135deg,#fffdf8 0%,#fff8ed 100%);
  box-shadow:0 10px 28px rgba(46,18,3,.055);
  overflow:hidden;
}
.amms-story-card:before{
  content:"";
  position:absolute;
  left:36px;
  top:30px;
  width:36px;
  height:2px;
  border-radius:999px;
  background:rgba(194,136,10,.58);
}
.amms-story-card .amms-section-head{
  max-width:760px;
  padding-top:14px;
  margin-bottom:14px;
}
.amms-story-card .amms-section-title{
  max-width:760px;
  font-size:clamp(30px,3vw,42px);
  line-height:1.07;
}
.amms-story-card .amms-section-desc{
  max-width:680px;
  margin-top:9px;
  font-size:14px;
  line-height:1.58;
}
.amms-story-body{
  max-width:900px;
  font-size:14.7px;
  line-height:1.72;
  color:#4a2208;
}
.amms-story-body p{
  margin:0 0 12px;
}
.amms-story-body p:last-child{
  margin-bottom:0;
}
.amms-story .amms-chip-row{
  max-width:900px;
  margin-top:17px;
  padding-top:13px;
  border-top:1px solid rgba(194,136,10,.14);
  gap:7px;
}
.amms-story .amms-chip-row span{
  min-height:26px;
  padding:6px 10px;
  background:#fff4df;
  border-color:rgba(194,136,10,.23);
}
@media(max-width:640px){
  .amms-story{padding-top:28px;padding-bottom:30px}
  .amms-story-card{padding:24px 18px 22px;border-radius:22px}
  .amms-story-card:before{left:18px;top:24px;width:32px}
  .amms-story-card .amms-section-head{padding-top:13px;margin-bottom:12px}
  .amms-story-card .amms-section-title{font-size:30px}
  .amms-story-body{font-size:14px;line-height:1.64}
}

/* v1.0.78.6 — Related sections grid-layout correction.
   Removes the rejected side-by-side split from Linked SHG and Linked Cluster.
   Follows the Single SHG page rhythm: label + heading + description first, then cards below. */
.amms-section.amms-related{
  padding-top:42px;
  padding-bottom:44px;
  background:#fff8ed;
}
.amms-section.amms-related-cluster{
  background:#f6efe3;
}
.amms-section.amms-related .amms-wrap{
  display:block !important;
  width:min(1180px,100%);
}
.amms-section.amms-related .amms-section-head{
  display:block;
  max-width:760px;
  margin:0 0 22px;
  padding:0 !important;
}
.amms-section.amms-related .amms-section-head:after{
  content:"";
  display:block;
  width:48px;
  height:1px;
  margin-top:18px;
  background:rgba(194,136,10,.45);
}
.amms-section.amms-related .amms-section-title{
  max-width:760px;
  font-size:clamp(30px,3vw,42px);
  line-height:1.06;
}
.amms-section.amms-related .amms-section-desc{
  max-width:650px;
  margin-top:10px;
  color:#6f5948;
}
.amms-section.amms-related .amms-related-grid.amms-one-card{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(250px,330px));
  gap:18px;
  width:100%;
  max-width:none !important;
  justify-content:start;
  justify-self:auto !important;
  margin-top:22px;
}
.amms-section.amms-related .amms-related-grid.amms-card-count-1{
  grid-template-columns:minmax(0,330px);
}
.amms-section.amms-related .amms-related-grid.amms-card-count-2{
  grid-template-columns:repeat(2,minmax(0,330px));
}
.amms-section.amms-related .amms-related-grid.amms-card-count-3{
  grid-template-columns:repeat(3,minmax(0,330px));
}
.amms-section.amms-related .amms-related-card{
  width:100%;
  max-width:330px;
  border-radius:20px;
  background:#fffdf8;
  box-shadow:0 12px 28px rgba(46,18,3,.07);
}
.amms-section.amms-related .amms-related-media{
  height:118px;
  background:linear-gradient(135deg,#f1e1c2,#ead4aa);
}
.amms-section.amms-related .amms-related-card.amms-no-media .amms-related-media{
  height:108px;
  background:linear-gradient(135deg,#eadbbd 0%,#f4e8d3 100%);
}
.amms-section.amms-related .amms-related-card.amms-no-media .amms-related-media span{
  font-size:28px;
  color:rgba(96,56,18,.72);
}
.amms-section.amms-related .amms-related-body{
  padding:17px;
  gap:8px;
}
.amms-section.amms-related .amms-related-body h3{
  font-size:21px;
  line-height:1.12;
}
.amms-section.amms-related .amms-related-body p{
  font-size:12.5px;
  line-height:1.55;
}
.amms-section.amms-related .amms-related-body dl{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:2px;
}
.amms-section.amms-related .amms-related-body dl div{
  padding:9px;
  border-radius:12px;
  background:#fff9ee;
}
.amms-section.amms-related .amms-card-button{
  min-height:38px;
  padding:10px 14px;
  margin-top:6px;
}

@media(max-width:980px){
  .amms-section.amms-related .amms-related-grid.amms-one-card,
  .amms-section.amms-related .amms-related-grid.amms-card-count-1,
  .amms-section.amms-related .amms-related-grid.amms-card-count-2,
  .amms-section.amms-related .amms-related-grid.amms-card-count-3{
    grid-template-columns:repeat(2,minmax(0,330px));
  }
}
@media(max-width:640px){
  .amms-section.amms-related{
    padding-top:32px;
    padding-bottom:34px;
  }
  .amms-section.amms-related .amms-section-title{
    font-size:30px;
  }
  .amms-section.amms-related .amms-related-grid.amms-one-card,
  .amms-section.amms-related .amms-related-grid.amms-card-count-1,
  .amms-section.amms-related .amms-related-grid.amms-card-count-2,
  .amms-section.amms-related .amms-related-grid.amms-card-count-3{
    grid-template-columns:1fr;
  }
  .amms-section.amms-related .amms-related-card{
    max-width:100%;
  }
  .amms-section.amms-related .amms-related-body dl{
    grid-template-columns:1fr;
  }
}

/* v1.0.78.9 — Product price inline fix.
   Scoped only to Member Single product cards. */
.amms-products .amms-product-meta strong.amms-product-price,
.amms-products .amms-product-meta strong.amms-product-price .amount,
.amms-products .amms-product-meta strong.amms-product-price .woocommerce-Price-amount,
.amms-products .amms-product-meta strong.amms-product-price .woocommerce-Price-currencySymbol,
.amms-products .amms-product-meta strong.amms-product-price bdi{
  display:inline !important;
  white-space:nowrap !important;
  line-height:1.25 !important;
}
.amms-products .amms-product-meta strong.amms-product-price{
  font-variant-numeric:tabular-nums;
  overflow-wrap:normal !important;
  word-break:normal !important;
}
.amms-products .amms-product-meta strong.amms-product-price .woocommerce-Price-currencySymbol{
  margin-right:2px;
}

/* v1.0.78.10 — Member Single product card consistency.
   Aligns Member Single product cards with the accepted compact product-card family. */
.amms-products .amms-product-grid{
  align-items:stretch;
}
.amms-products .amms-product-card{
  display:flex;
  flex-direction:column;
  height:100%;
  overflow:hidden;
  border-radius:22px;
  background:#fffaf2;
  border:1px solid rgba(194,136,10,.24);
  box-shadow:0 14px 38px rgba(46,18,3,.075);
}
.amms-products .amms-product-media{
  height:170px;
  border:0;
  border-radius:0;
  background:linear-gradient(135deg,rgba(194,136,10,.16),rgba(181,80,42,.08));
}
.amms-products .amms-product-body{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:9px;
  padding:18px;
}
.amms-products .amms-product-body .amms-card-label{
  margin:0;
  color:var(--amms-gold);
  font-size:10.5px;
  line-height:1.15;
  letter-spacing:.13em;
}
.amms-products .amms-product-body h3{
  margin:0;
  min-height:46px;
  color:var(--amms-dark);
  font-size:21px;
  line-height:1.12;
  letter-spacing:-.018em;
}
.amms-products .amms-product-excerpt{
  margin:0;
  min-height:40px;
  color:var(--amms-muted);
  font-size:13px;
  line-height:1.5;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.amms-products .amms-product-meta{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:2px;
}
.amms-products .amms-product-meta div{
  min-width:0;
  min-height:58px;
  padding:9px 10px;
  border-radius:12px;
  background:rgba(194,136,10,.06);
  border:1px solid rgba(194,136,10,.20);
  overflow:hidden;
}
.amms-products .amms-product-meta span{
  display:block;
  margin:0 0 5px;
  color:var(--amms-gold);
  font-size:9px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.amms-products .amms-product-meta strong{
  color:var(--amms-dark);
  font-size:12px;
  line-height:1.25;
  font-weight:900;
}
.amms-products .amms-product-meta strong.amms-product-origin{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.amms-products .amms-chip-row{
  gap:7px;
  margin-top:2px;
  max-height:32px;
}
.amms-products .amms-chip-row span{
  min-height:24px;
  padding:6px 9px;
  font-size:10px;
}
.amms-products .amms-product-button{
  min-height:42px;
  margin-top:auto;
  border-radius:999px;
}
@media(max-width:640px){
  .amms-products .amms-product-media{height:150px}
  .amms-products .amms-product-body{padding:16px}
  .amms-products .amms-product-body h3{min-height:0;font-size:20px}
  .amms-products .amms-product-excerpt{min-height:0}
  .amms-products .amms-product-meta{grid-template-columns:1fr}
}

/* v1.0.80 — Member Single Products Core Card pilot layout.
   Applies only when the Products widget is switched from Legacy to Amaley Core Card Renderer. */
.amms-products .amms-product-grid .amaley-card{
  height:100%;
}
.amms-products .amms-product-grid .amaley-card__title{
  min-height:46px;
}
.amms-products .amms-product-grid .amaley-card__excerpt{
  min-height:40px;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
@media(max-width:640px){
  .amms-products .amms-product-grid .amaley-card__title,
  .amms-products .amms-product-grid .amaley-card__excerpt{
    min-height:0;
  }
}

/* v1.0.81 — Member Single Products: final Core card structure support.
   Applies only when the Products widget is switched to Amaley Core card rendering. */
.amms-products .amms-product-grid .amaley-card{
  height:100%;
}
.amms-products .amms-product-grid .amaley-card__button{
  margin-top:auto;
}

/* v1.0.92.1 — Member Single OG Card 1 compatibility.
   Does not redesign the locked OG card. Keeps Member Single grids stable when OG Card 1 is selected. */
.amms-related-grid .amaley-card,
.amms-product-grid .amaley-card{
  width:100%;
  max-width:100%;
}
.amms-related-grid:has(.amaley-card),
.amms-product-grid:has(.amaley-card){
  align-items:stretch;
}

/* v1.0.92.2 — Member Single OG/legacy card transform controls.
   Default values preserve the approved design; Elementor controls set variables per widget. */
.amms-related-card,
.amms-product-card{
  --amaley-og-card-translate-y: 0px;
  --amaley-og-card-scale: 1;
  --amaley-og-card-rotate: 0deg;
  --amaley-og-card-hover-translate-y: 0px;
  --amaley-og-card-hover-scale: 1;
  --amaley-og-card-hover-rotate: 0deg;
  --amaley-og-card-transition-duration: 220ms;
  transform:
    translateY(var(--amaley-og-card-translate-y))
    scale(var(--amaley-og-card-scale))
    rotate(var(--amaley-og-card-rotate));
  transition:
    transform var(--amaley-og-card-transition-duration) ease,
    box-shadow var(--amaley-og-card-transition-duration) ease,
    border-color var(--amaley-og-card-transition-duration) ease,
    background-color var(--amaley-og-card-transition-duration) ease;
}
.amms-related-card:hover,
.amms-product-card:hover{
  transform:
    translateY(calc(var(--amaley-og-card-translate-y) + var(--amaley-og-card-hover-translate-y)))
    scale(calc(var(--amaley-og-card-scale) * var(--amaley-og-card-hover-scale)))
    rotate(calc(var(--amaley-og-card-rotate) + var(--amaley-og-card-hover-rotate)));
}
.amms-related-shg .amaley-card,
.amms-related-cluster .amaley-card,
.amms-products .amaley-card{
  width:100%;
  max-width:100%;
}

/* v1.0.92.4 — Member Single OG Full Controls compatibility */
.amms-related-shg .amaley-card,
.amms-related-cluster .amaley-card,
.amms-products .amaley-card{
  width:100%;
  max-width:100%;
}

/* v1.0.96 — Member Single products AJAX pagination */
.amms-products-results{position:relative}
.amms-pagination{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:26px 0 0;
}
.amms-page-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:40px;
  min-height:40px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(92,61,37,.18);
  background:#fffaf2;
  color:#4b2f1f;
  font-size:13px;
  font-weight:800;
  line-height:1;
  text-decoration:none;
}
.amms-page-link:hover{background:#f1dfc6;color:#2e1b12}
.amms-page-current{background:#7b4a24;color:#fff;border-color:#7b4a24}
.amms-page-prev,.amms-page-next{min-width:auto;padding-inline:18px}
.amms-products-loading .amms-products-results{opacity:.58;pointer-events:none}
.amms-products-loading .amms-products-results::after{content:"";position:absolute;inset:0;border-radius:18px;background:rgba(255,248,237,.28)}
.amms-pagination a[aria-disabled="true"]{pointer-events:none}
@media (max-width:640px){
  .amms-pagination{gap:8px}
  .amms-page-link{min-width:36px;min-height:36px;padding:9px 11px;font-size:12px}
  .amms-page-prev,.amms-page-next{width:100%}
}
