.fct-custom-dimensions[hidden] { display: none !important; }
.fct-dimension-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 18px; }
.fct-dimension-grid label { display: grid; gap: 8px; min-width: 0; font-size: 13px; }
.fct-dimension-grid input { box-sizing: border-box; width: 100%; min-width: 0; padding: 14px; border: 1px solid #dfcbb5; border-radius: 12px; background: #fffdfa; color: #242321; font: inherit; font-size: 16px; }
.fct-custom-dimensions p { font-size: 12px; line-height: 1.8; }

body.framera-custom-tableau {
    --fct-gold: #798831;
    --fct-ink: #292721;
    --fct-muted: #81786e;
    --fct-line: #e2d3c1;
    margin: 0;
    background: #f8f5ef;
    color: var(--fct-ink);
    font-family: Alexandria, Tahoma, Arial, sans-serif;
    direction: rtl;
    line-height: 1.8;
}
.fct-field-error, .fct-form-error {
    display: block;
    padding: 10px 12px;
    margin: 10px 0 0;
    border: 1px solid #d7a599;
    border-radius: 10px;
    background: #fff0eb;
    color: #8b3021;
    font: 400 12px/1.9 Alexandria, sans-serif;
    white-space: normal;
    overflow-wrap: anywhere;
    max-width: 100%;
}
.fct-field-error[hidden], .fct-form-error[hidden] { display: none; }
.fct-page .fct-option input[aria-invalid="true"] + span { border-color: #b85943; }
.fct-page button, .fct-page input, .fct-page select { font-family: Alexandria, Tahoma, Arial, sans-serif; }
.fct-page *, .fct-header * { box-sizing: border-box; }
.fct-header, .fct-page { width: min(1480px, calc(100% - 64px)); margin-inline: auto; }
.fct-header { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; border-bottom: 1px solid var(--fct-line); gap: 20px; }
.fct-brand img { width: 180px; max-width: 100%; height: auto; display: block; }
.fct-header nav { display: flex; align-items: center; gap: 30px; }
.fct-header a { color: var(--fct-gold); text-decoration: none; }
.fct-cart-link { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--fct-line); border-radius: 50%; }
.fct-count { position: absolute; top: -5px; right: -4px; min-width: 21px; height: 21px; padding: 0 4px; background: var(--fct-gold); color: white; border-radius: 50%; font: 12px/21px Alexandria, sans-serif; text-align: center; }
.fct-page { padding-bottom: 70px; }
.fct-page .woocommerce-breadcrumb { margin: 26px 0; font-size: 12px; color: var(--fct-muted); }
.fct-page .woocommerce-breadcrumb a { color: inherit; }
.fct-notices:empty { display: none; }
.fct-layout { display: grid; grid-template-columns: minmax(0, 1fr); width:100%; max-width:860px; margin-inline:auto; align-items: start; gap: 0; }
.fct-gallery { position: sticky; top: 28px; min-width: 0; }
.admin-bar .fct-gallery { top: 60px; }
.fct-slides { display: flex; overflow-x: auto; direction: ltr; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 26px; background: #eee6da; }
.fct-slides::-webkit-scrollbar { display: none; }
.fct-slide { flex: 0 0 100%; min-width: 0; display: grid; place-items: center; scroll-snap-align: center; scroll-snap-stop: always; aspect-ratio: 1; }
.fct-page .fct-slide img { display: block; width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
.fct-gallery-tools { display: flex; align-items: center; gap: 14px; justify-content: space-between; padding: 12px 0; color: var(--fct-muted); font-size: 12px; }
.fct-page button { font-family: inherit; cursor: pointer; }
.fct-gallery-tools button { border: 1px solid var(--fct-line); border-radius: 30px; color: var(--fct-gold); background: #fffdf9; padding: 9px 16px; min-height: 44px; }
.fct-arrows { display: flex; gap: 6px; }
.fct-position { direction: ltr; white-space: nowrap; }
.fct-thumbs { display: flex; overflow-x: auto; gap: 10px; padding: 4px 0 10px; }
.fct-thumbs button { flex: 0 0 76px; padding: 3px; border: 1px solid var(--fct-line); border-radius: 10px; background: transparent; }
.fct-thumbs img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; border-radius: 6px; }
.fct-thumbs button[aria-pressed="true"] { border: 2px solid var(--fct-gold); }
.fct-eyebrow { color: var(--fct-gold); font-size: 13px; margin: 0 0 14px; }
.fct-info h1 { font: 700 clamp(26px, 2.8vw, 44px)/1.5 Alexandria, Tahoma, Arial, sans-serif; margin: 0 0 15px; color: var(--fct-ink); }
.fct-lead { margin: 0 0 12px; font-size: 16px; }
.fct-sku { font-size: 11px; color: var(--fct-muted); overflow-wrap: anywhere; }
.fct-price { color: var(--fct-gold); font-size: clamp(22px, 2vw, 30px); font-weight: 700; margin: 22px 0 4px; }
.fct-price .woocommerce-Price-currencySymbol { font-size: .65em; margin-inline-start: 5px; }
.fct-note { color: var(--fct-muted); font-size: 12px; margin: 4px 0 16px; }
.fct-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; }
.fct-tags span { padding: 7px 13px; font-size: 12px; border: 1px solid var(--fct-line); border-radius: 30px; }
.fct-page .fct-form { margin: 0; display: block; border-top: 1px solid var(--fct-line); padding-top: 24px; }
.fct-form fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.fct-form legend { padding: 0; margin-bottom: 13px; font-weight: 700; font-size: 15px; width: 100%; }
.fct-form legend > span { display: inline-grid; place-items: center; width: 25px; height: 25px; margin-inline-end: 6px; font-size: 12px; background: rgba(121, 136, 49, .12); border-radius: 50%; color: var(--fct-gold); }
.fct-form legend small { font-size: 11px; font-weight: 400; color: var(--fct-muted); margin-inline-start: 8px; }
.fct-options { display: flex; flex-wrap: wrap; gap: 9px; }
.fct-sizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fct-option { position: relative; display: block; cursor: pointer; min-width: 0; margin: 0; }
.fct-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.fct-option > span { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 12px 14px; min-height: 49px; border: 1px solid var(--fct-line); border-radius: 12px; background: #fffdf9; font-size: 13px; line-height: 1.6; transition: background .15s, border-color .15s; }
.fct-sizes .fct-option > span { padding-inline: 5px; font-size: 13px; white-space: nowrap; }
.fct-option input:checked + span { border-color: var(--fct-gold); background: rgba(121, 136, 49, .12); box-shadow: inset 0 0 0 1px var(--fct-gold); }
.fct-option input:focus-visible + span { outline: 3px solid var(--fct-gold); outline-offset: 3px; }
.fct-swatch { display: inline-block; width: 17px; height: 17px; border-radius: 50%; border: 1px solid #0002; }
.fct-select-label { display: block; font-size: 12px; }
#fct-color { min-height: 48px; width: 100%; background: white; border: 1px solid var(--fct-line); border-radius: 10px; color: var(--fct-ink); padding: 8px 12px; font: inherit; }
.fct-color-field[hidden] { display: none; }
.fct-color-field.fct-enhanced #fct-color, .fct-color-field.fct-enhanced .fct-select-label { display: none; }
.fct-selection-note { border-top: 1px solid var(--fct-line); padding: 17px 0; font-size: 12px; color: var(--fct-muted); }
.fct-page .fct-buy { display: flex; gap: 14px; align-items: stretch; }
.fct-quantity { display: flex; align-items: center; flex: 0 0 142px; border: 1px solid var(--fct-line); border-radius: 12px; overflow: hidden; background: #fffdf9; }
.fct-quantity button { width: 44px; flex: 0 0 44px; border: none; min-height: 54px; padding: 0; color: var(--fct-ink); background: transparent; font-size: 21px; }
.fct-page .fct-quantity .quantity { float: none; margin: 0; width: 52px; }
.fct-page .fct-quantity input.qty { appearance: textfield; -moz-appearance: textfield; width: 52px; min-height: 54px; padding: 0; border: 0; background: transparent; color: var(--fct-ink); text-align: center; font: 16px Alexandria, sans-serif; box-shadow: none; }
.fct-quantity input::-webkit-inner-spin-button, .fct-quantity input::-webkit-outer-spin-button { appearance: none; }
.fct-page .fct-add { flex: 1; float: none; border-radius: 12px; border: 1px solid var(--fct-gold); background: var(--fct-gold); color: white; font-size: 16px; font-weight: 700; padding: 15px; line-height: 1.5; min-height: 56px; margin: 0; }
.fct-page .fct-add:hover { background: #5d6926; }
.fct-page button:disabled { opacity: .45; cursor: not-allowed; }
.fct-page :focus-visible, .fct-header :focus-visible { outline: 3px solid #798831; outline-offset: 3px; }
.fct-details { margin-top: 32px; border-top: 1px solid var(--fct-line); }
.fct-details details { border-bottom: 1px solid var(--fct-line); padding: 18px 0; }
.fct-details summary { cursor: pointer; font-size: 15px; font-weight: 700; }
.fct-details p { font-size: 13px; }
.fct-table-wrap { overflow-x: auto; margin-top: 16px; }
.fct-page .fct-table { border-collapse: collapse; width: 100%; font-size: 11px; border: 0; }
.fct-table th, .fct-table td { text-align: center; padding: 10px 5px; border-bottom: 1px solid var(--fct-line); }
.fct-table th { font-weight: 700; }
.fct-table td { white-space: nowrap; }
.fct-table .woocommerce-Price-currencySymbol { display: none; }
.fct-page .fct-frame-preview { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; object-fit: cover; border: 1px solid var(--fct-line); }
.fct-color-options { gap: 10px; }
.fct-color-options .fct-option > span { gap: 10px; padding: 9px 12px; }
.fct-portfolio { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--fct-line); min-width: 0; }
.fct-portfolio-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.fct-portfolio h2 { margin: 0; font-size: clamp(20px, 3vw, 30px); }
.fct-portfolio button { border: 1px solid var(--fct-line); background: #fffdf9; border-radius: 50%; color: var(--fct-gold); width: 44px; height: 44px; }
.fct-work-track { display: flex; align-items: flex-start; gap: 10px; direction: ltr; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x proximity; }
.fct-page .fct-work-track img { display: block; flex: 0 0 auto; width: auto; height: auto; max-width: min(85vw, 640px); max-height: none; object-fit: contain; border-radius: 8px; scroll-snap-align: start; cursor: default; transform: none !important; }
.fct-page .fct-work-track img[hidden] { display: none; }
.fct-skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fct-skip:focus { position: fixed; top: 10px; right: 10px; width: auto; height: auto; clip-path: none; padding: 8px 12px; background: white; z-index: 999; }
@media (max-width: 1100px) {
    .fct-sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .fct-frames .fct-option { flex: 1 1 130px; }
}
@media (max-width: 800px) {
    .fct-header, .fct-page { width: calc(100% - 32px); }
    .fct-header { padding: 18px 0; }
    .fct-brand img { width: 135px; }
    .fct-header nav { gap: 16px; font-size: 12px; }
    .fct-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .fct-gallery, .admin-bar .fct-gallery { position: static; }
    .fct-slides { border-radius: 18px; }
    .fct-page .woocommerce-breadcrumb { margin: 18px 0; line-height: 1.9; }
    .fct-info h1 { font-size: 29px; }
    .fct-price { font-size: 25px; }
    .fct-sizes { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .fct-option > span { padding: 12px; }
    .fct-tags { margin-bottom: 24px; }
}
@media (max-width: 430px) {
    .fct-sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .fct-info h1 { font-size: 26px; }
    .fct-header nav { gap: 12px; }
    .fct-brand img { width: 120px; }
    .fct-page .fct-buy { gap: 9px; }
    .fct-quantity { flex-basis: 124px; }
    .fct-quantity button { width: 40px; flex-basis: 40px; }
    .fct-page .fct-quantity .quantity, .fct-page .fct-quantity input.qty { width: 42px; }
    .fct-page .fct-add { font-size: 14px; padding: 12px 8px; }
}
@media (prefers-reduced-motion: reduce) { .fct-option > span { transition: none; } }
.fct-upload input[type="file"], .fct-upload textarea { display:block; width:100%; max-width:100%; box-sizing:border-box; padding:14px; border:1px solid #dbcbb6; border-radius:12px; background:#fffdf9; color:#292722; font:inherit; margin:12px 0; }
.fct-upload .fct-upload-button { display:inline-block; background:#798831; color:#fff; padding:14px 20px; border-radius:12px; cursor:pointer; }
.fct-upload input[type="file"] { position:absolute; width:1px; height:1px; padding:0; opacity:0; overflow:hidden; }
.fct-upload:focus-within .fct-upload-button { outline:2px solid #798831; outline-offset:3px; }
.fct-upload input::file-selector-button { border:0; border-radius:8px; background:#798831; color:white; padding:10px; margin-inline-end:10px; font:inherit; cursor:pointer; }
.fct-upload-preview { width:100%; max-height:420px; height:auto; object-fit:contain; border-radius:14px; margin:12px 0; transform:none !important; cursor:default; }
.fct-upload-preview[hidden] { display:none; }
.fct-upload-caption { font-size:12px; overflow-wrap:anywhere; }

/* Apple green headings, selected options and interface icons. */
.fct-page h1, .fct-page h2, .fct-page h3,
.fct-page h4, .fct-page h5, .fct-page h6,
.fct-form legend, .fct-details summary,
.fct-quantity button, .fct-table th,
.fct-option input:checked + span { color: var(--fct-gold); }
.fct-cart-link { border-color: var(--fct-gold); }
.fct-page input, .fct-page select { accent-color: var(--fct-gold); }
.fct-gallery-tools button:hover,
.fct-portfolio button:hover { background: var(--fct-gold); color: white; border-color: var(--fct-gold); }
.fct-upload .fct-upload-button:hover, .fct-upload input::file-selector-button:hover { background: #5d6926; }
