.writer-detail-language{width:min(1180px,calc(100vw - 40px));margin:0 auto 14px;display:flex;justify-content:flex-end;align-items:center;gap:8px}
.writer-detail-language label{font-size:12px;font-weight:800;color:#5f665f}
.writer-detail-language select,.writer-detail-language button{min-height:38px;border:1px solid #d8d0c4;border-radius:8px;background:#fffdfa;color:#151817;font-weight:750}
.writer-detail-language select{max-width:210px;padding:0 34px 0 12px}
.writer-detail-language button{padding:0 14px;cursor:pointer}
html[dir="rtl"] .iris-commerce{text-align:right}
html[dir="rtl"] .writer-detail-language{justify-content:flex-start;direction:rtl}
html[dir="rtl"] .iris-price-row,html[dir="rtl"] .iris-media-caption{direction:rtl}
@media(max-width:620px){.writer-detail-language{width:calc(100vw - 24px);justify-content:stretch}.writer-detail-language label{position:absolute;clip:rect(0,0,0,0)}.writer-detail-language select{min-width:0;max-width:none;flex:1}}

/* Writer Bridge keeps its own identity without changing other storefront products. */
.writer-bridge-brand{min-width:210px}
.writer-bridge-brand-mark{position:relative;box-sizing:border-box;width:42px;height:42px;border:1px solid #151817;border-radius:10px;background:transparent;color:#151817}
.writer-bridge-brand-mark::after{content:"";width:9px;height:9px;border-radius:50%;background:#3f9b62;box-shadow:0 0 0 4px rgba(63,155,98,.16)}
.writer-bridge-brand-mark i{position:absolute;inset-inline-end:-4px;width:7px;height:1px;background:currentColor}
.writer-bridge-brand-mark i:first-child{top:12px}
.writer-bridge-brand-mark i:last-child{bottom:12px}
.writer-bridge-brand .iris-brand-copy{display:grid;line-height:1;white-space:nowrap}
.writer-bridge-brand .iris-brand-copy strong{font-size:16px;line-height:19px;letter-spacing:.03em}
.writer-bridge-brand .iris-brand-copy em{margin-top:4px;font-size:8px;line-height:11px;font-weight:800;letter-spacing:.16em}

@media screen and (max-width:960px){
  .writer-bridge-brand{min-width:0}
  .writer-bridge-brand .iris-brand-copy em{display:block}
}

@media screen and (max-width:640px){
  .writer-bridge-brand-mark{width:34px;height:34px}
  .writer-bridge-brand-mark i:first-child{top:9px}
  .writer-bridge-brand-mark i:last-child{bottom:9px}
  .writer-bridge-brand .iris-brand-copy strong{max-width:none;font-size:13px;line-height:15px}
  .writer-bridge-brand .iris-brand-copy em{margin-top:3px;font-size:6px;line-height:8px}
}

/* Writer Bridge language control: native, immediate, and intentionally arrowless. */
.writer-checkout-language{position:relative;z-index:10020;flex:0 0 104px;width:104px;min-width:0}
.writer-checkout-language select{box-sizing:border-box;width:100%;height:38px;min-width:0;padding:0 10px;border:1px solid #d8d0c4;border-radius:8px;background:#fffdfa;background-image:none;color:#151817;font-size:11px;font-weight:800;line-height:38px;text-align:center;text-align-last:center;appearance:none;-webkit-appearance:none;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.92),inset 0 -2px 0 rgba(110,82,45,.12),0 9px 18px rgba(35,31,25,.08)}
.writer-checkout-language select::-ms-expand{display:none}
.writer-checkout-language select:focus-visible{outline:2px solid #9b7a45;outline-offset:2px}

/* RTL changes text flow only. The established product/header geometry stays stable. */
html[dir="rtl"] .iris-topbar-inner,
html[dir="rtl"] .iris-detail,
html[dir="rtl"] .iris-order-form,
html[dir="rtl"] .iris-form-grid{direction:ltr}
html[dir="rtl"] .writer-bridge-brand{direction:ltr;text-align:left}
html[dir="rtl"] .iris-nav,
html[dir="rtl"] .iris-article-menu,
html[dir="rtl"] .iris-account,
html[dir="rtl"] .iris-detail-panel .iris-kicker,
html[dir="rtl"] .iris-detail-panel h1,
html[dir="rtl"] .iris-detail-lead,
html[dir="rtl"] .iris-price-row>span,
html[dir="rtl"] .iris-form-grid>label,
html[dir="rtl"] .iris-field,
html[dir="rtl"] .iris-option-groups,
html[dir="rtl"] .iris-form-note,
html[dir="rtl"] .iris-info-block{direction:rtl;text-align:right}
html[dir="rtl"] .writer-bridge-footer{direction:ltr}
html[dir="rtl"] .writer-bridge-footer .iris-footer-grid>div,
html[dir="rtl"] .writer-bridge-footer .iris-footer-bottom{direction:rtl;text-align:right}
html[dir="rtl"] .iris-price-row{direction:rtl;justify-content:flex-start;text-align:right}
html[dir="rtl"] .iris-qty-control,
html[dir="rtl"] .iris-money-input,
html[dir="rtl"] #shipping_fee_display{direction:ltr;text-align:left}
html[dir="rtl"] .iris-media-caption{right:16px;left:auto;direction:rtl}
html[dir="rtl"] .writer-checkout-language{direction:ltr}

@media(max-width:960px){
  .writer-checkout-language{flex:0 0 96px;width:96px}
}

@media(max-width:640px){
  .writer-checkout-language{flex:0 0 82px;width:82px}
  .writer-checkout-language select{height:34px;padding:0 7px;font-size:9px;line-height:34px}
}

/* The accessible field name stays in the DOM without taking header space. */
.writer-checkout-language>label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}

/* Writer Bridge product copy uses one readable type scale. */
.writer-bridge-commerce .iris-product-copy,
.writer-bridge-commerce .iris-product-copy p,
.writer-bridge-commerce .iris-product-copy li,
.writer-bridge-commerce .iris-product-copy strong{
  font-size:16px;
  line-height:1.8;
}
.writer-bridge-commerce .iris-product-copy p{margin:14px 0 0}
.writer-bridge-commerce .iris-product-copy ul{margin:14px 0;padding-inline-start:1.35em}
.writer-bridge-commerce .iris-product-copy li+li{margin-top:8px}

/* RTL is a text-flow choice. Header, checkout, payment, and footer geometry stay fixed. */
html.writer-bridge-commerce[dir="rtl"] .iris-checkout,
html.writer-bridge-commerce[dir="rtl"] .iris-checkout-main,
html.writer-bridge-commerce[dir="rtl"] .iris-pay-panel,
html.writer-bridge-commerce[dir="rtl"] .iris-order-summary,
html.writer-bridge-commerce[dir="rtl"] .iris-step-list{direction:ltr}
html.writer-bridge-commerce[dir="rtl"] .iris-checkout-card,
html.writer-bridge-commerce[dir="rtl"] .iris-pay-panel .iris-section-head>div,
html.writer-bridge-commerce[dir="rtl"] .iris-pay-result,
html.writer-bridge-commerce[dir="rtl"] .iris-empty,
html.writer-bridge-commerce[dir="rtl"] .iris-state-card,
html.writer-bridge-commerce[dir="rtl"] .iris-order-summary div,
html.writer-bridge-commerce[dir="rtl"] .iris-step-list div{
  direction:rtl;
  text-align:right;
}
html.writer-bridge-commerce[dir="rtl"] .iris-order-summary strong,
html.writer-bridge-commerce[dir="rtl"] .iris-total-line strong{unicode-bidi:plaintext}

@media(max-width:640px){
  .writer-bridge-commerce .iris-product-copy,
  .writer-bridge-commerce .iris-product-copy p,
  .writer-bridge-commerce .iris-product-copy li,
  .writer-bridge-commerce .iris-product-copy strong{font-size:15px;line-height:1.75}
}
