Untitled conversation
- User
{% comment %} NABDA — Why Titanium is the Smarter Choice (Checklist Card + Comparison Table Card)
- Mobile-first CSS (base = mobile, min-width queries enhance for desktop)
- Card 1: heading + description + checklist + full-bleed image (all in one card)
- Card 2: comparison table (separate card)
- Luxury / Apple-style redesign pass: glass cards, gold glow, circular icons, scroll reveal
- Colors match nabda-hero.liquid / nabda-bundles.liquid (--n-gold, gold-tinted borders)
- RTL-aware for Arabic
- Respects prefers-reduced-motion {% endcomment %}
{% render 'nabda-design-tokens' %}
{%- liquid assign is_rtl = false if request.locale.iso_code contains 'ar' assign is_rtl = true endif
assign s = section.settings
assign heading = s.heading if heading == blank assign heading = 'nabda.why.heading' | t endif
assign description = s.description if description == blank assign description = 'nabda.why.description' | t endif
assign nabda_col_label = s.nabda_column_label if nabda_col_label == blank assign nabda_col_label = 'nabda.why.nabda_column' | t endif
assign wooden_col_label = s.wooden_column_label if wooden_col_label == blank assign wooden_col_label = 'nabda.why.wooden_column' | t endif
assign plastic_col_label = s.plastic_column_label if plastic_col_label == blank assign plastic_col_label = 'nabda.why.plastic_column' | t endif
assign available_label = s.available_label if available_label == blank assign available_label = 'nabda.why.available' | t endif
assign unavailable_label = s.unavailable_label if unavailable_label == blank assign unavailable_label = 'nabda.why.unavailable' | t endif
assign partial_label = s.partial_label if partial_label == blank assign partial_label = 'nabda.why.partial' | t endif
assign swipe_hint = s.swipe_hint if swipe_hint == blank assign swipe_hint = 'nabda.why.swipe_hint' | t endif
assign best_choice_text = s.best_choice_badge if best_choice_text == blank assign best_choice_text = 'Best Choice' endif -%}
{%- comment -%} CARD 1 — sharp image, gold-glow glass card, left-aligned text with gradient fade {%- endcomment -%} <div class="nabda-why2__card nabda-why2__card--info" data-animate="left"> {%- if s.image != blank -%} <img class="nabda-why2__bg" src="{{ s.image | image_url: width: 900 }}" srcset="{{ s.image | image_url: width: 640 }} 640w, {{ s.image | image_url: width: 900 }} 900w, {{ s.image | image_url: width: 1200 }} 1200w, {{ s.image | image_url: width: 1600 }} 1600w, {{ s.image | image_url: width: 1800 }} 1800w" sizes="(min-width: 1400px) 55vw, (min-width: 900px) 60vw, 100vw" width="900" height="{{ 900 | divided_by: s.image.aspect_ratio | round }}" alt="{{ s.image.alt | escape | default: heading | escape }}" loading="lazy" decoding="async" > <div class="nabda-why2__overlay"></div> <div class="nabda-why2__glass" aria-hidden="true"></div> <div class="nabda-why2__text-veil" aria-hidden="true"></div> {%- endif -%} <div class="nabda-why2__content"> <h2 class="nabda-why2__heading" id="nabda-why2-heading-{{ section.id }}">{{ heading }}</h2> <p class="nabda-why2__desc">{{ description }}</p> <ul class="nabda-why2__checklist"> {%- assign has_checklist = false -%} {%- for block in section.blocks -%} {%- if block.type == 'checklist_item' and block.settings.enabled != false -%} {%- assign has_checklist = true -%} <li {{ block.shopify_attributes }}> <span class="nabda-why2__bullet-icon"> {%- case block.settings.icon -%} {%- when 'shield' -%} <svg width="12" height="12" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M10 2 4 4.5v4c0 4 2.6 6.7 6 7.5 3.4-.8 6-3.5 6-7.5v-4L10 2Z"/></svg> {%- when 'droplet' -%} <svg width="12" height="12" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M10 3s5 5.2 5 8.5a5 5 0 0 1-10 0C5 8.2 10 3 10 3Z"/></svg> {%- when 'infinity' -%} <svg width="14" height="14" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M7 12c-1.66 0-3-1.34-3-3s1.34-3 3-3c1.66 0 2.75 1.5 3 3 .25-1.5 1.34-3 3-3 1.66 0 3 1.34 3 3s-1.34 3-3 3c-1.66 0-2.75-1.5-3-3-.25 1.5-1.34 3-3 3Z"/></svg> {%- when 'sparkle' -%} <svg width="12" height="12" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M10 3l1.2 4.3L15.5 8.5l-4.3 1.2L10 14l-1.2-4.3L4.5 8.5l4.3-1.2Z"/></svg> {%- else -%} <svg width="12" height="12" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M4.5 10.5 8 14l7.5-8"/></svg> {%- endcase -%} </span> <span class="nabda-why2__bullet-text">{{ block.settings.text }}</span> </li> {%- endif -%} {%- endfor -%} {%- unless has_checklist -%} <li> <span class="nabda-why2__bullet-icon"><svg width="12" height="12" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M4.5 10.5 8 14l7.5-8"/></svg></span> <span class="nabda-why2__bullet-text">{{ 'nabda.why.check_food_grade' | t }}</span> </li> <li> <span class="nabda-why2__bullet-icon"><svg width="12" height="12" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M10 2 4 4.5v4c0 4 2.6 6.7 6 7.5 3.4-.8 6-3.5 6-7.5v-4L10 2Z"/></svg></span> <span class="nabda-why2__bullet-text">{{ 'nabda.why.check_antibacterial' | t }}</span> </li> <li> <span class="nabda-why2__bullet-icon"><svg width="12" height="12" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M10 3s5 5.2 5 8.5a5 5 0 0 1-10 0C5 8.2 10 3 10 3Z"/></svg></span> <span class="nabda-why2__bullet-text">{{ 'nabda.why.check_nonporous' | t }}</span> </li> <li> <span class="nabda-why2__bullet-icon"><svg width="14" height="14" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M7 12c-1.66 0-3-1.34-3-3s1.34-3 3-3c1.66 0 2.75 1.5 3 3 .25-1.5 1.34-3 3-3 1.66 0 3 1.34 3 3s-1.34 3-3 3c-1.66 0-2.75-1.5-3-3-.25 1.5-1.34 3-3 3Z"/></svg></span> <span class="nabda-why2__bullet-text">{{ 'nabda.why.check_durability' | t }}</span> </li> <li> <span class="nabda-why2__bullet-icon"><svg width="12" height="12" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M10 3l1.2 4.3L15.5 8.5l-4.3 1.2L10 14l-1.2-4.3L4.5 8.5l4.3-1.2Z"/></svg></span> <span class="nabda-why2__bullet-text">{{ 'nabda.why.check_odor' | t }}</span> </li> {%- endunless -%} </ul> </div> </div> {%- comment -%} CARD 2 — comparison table {%- endcomment -%} <div class="nabda-why2__card nabda-why2__card--table" data-animate="right"> <div class="nabda-why2__table-scroll{% if s.enable_sticky_column %} has-sticky-column{% endif %}" tabindex="0" aria-label="{{ heading }} comparison table. Scroll horizontally to view all columns."> <table class="nabda-why2__table"> <caption class="nabda-why2__table-caption">{{ heading }} — comparison by feature</caption> <thead> <tr> <th scope="col" class="nabda-why2__th-feature">{% if s.features_label != blank %}{{ s.features_label }}{% else %}{{ 'nabda.why.features_label' | t }}{% endif %}</th> <th scope="col" class="nabda-why2__th-nabda"> <span class="nabda-why2__winner-badge">{{ best_choice_text }}</span> <span class="nabda-why2__th-nabda-label">{{ nabda_col_label }}</span> </th> <th scope="col">{{ wooden_col_label }}</th> <th scope="col">{{ plastic_col_label }}</th> </tr> </thead> <tbody> {%- assign has_rows = false -%} {%- for block in section.blocks -%} {%- if block.type == 'table_row' and block.settings.enabled != false -%} {%- assign has_rows = true -%} {%- liquid assign bs = block.settings -%} <tr data-animate-row {{ block.shopify_attributes }}> <th scope="row">{{ bs.feature }}</th> <td class="nabda-why2__td-nabda"> {%- case bs.nabda_status -%} {%- when 'check' -%}<span class="nabda-why2__icon nabda-why2__icon--check" role="img" aria-label="{{ available_label | escape }}">✓</span> {%- when 'cross' -%}<span class="nabda-why2__icon nabda-why2__icon--cross" role="img" aria-label="{{ unavailable_label | escape }}">✕</span> {%- when 'partial' -%}<span class="nabda-why2__icon nabda-why2__icon--partial" role="img" aria-label="{{ partial_label | escape }}">△</span> {%- when 'custom' -%}<span class="nabda-why2__value nabda-why2__value--nabda">{{ bs.nabda_text }}</span> {%- endcase -%} </td> <td> {%- case bs.wooden_status -%} {%- when 'check' -%}<span class="nabda-why2__icon nabda-why2__icon--check" role="img" aria-label="{{ available_label | escape }}">✓</span> {%- when 'cross' -%}<span class="nabda-why2__icon nabda-why2__icon--cross" role="img" aria-label="{{ unavailable_label | escape }}">✕</span> {%- when 'partial' -%}<span class="nabda-why2__icon nabda-why2__icon--partial" role="img" aria-label="{{ partial_label | escape }}">△</span> {%- when 'custom' -%}<span class="nabda-why2__value">{{ bs.wooden_text }}</span> {%- endcase -%} </td> <td> {%- case bs.plastic_status -%} {%- when 'check' -%}<span class="nabda-why2__icon nabda-why2__icon--check" role="img" aria-label="{{ available_label | escape }}">✓</span> {%- when 'cross' -%}<span class="nabda-why2__icon nabda-why2__icon--cross" role="img" aria-label="{{ unavailable_label | escape }}">✕</span> {%- when 'partial' -%}<span class="nabda-why2__icon nabda-why2__icon--partial" role="img" aria-label="{{ partial_label | escape }}">△</span> {%- when 'custom' -%}<span class="nabda-why2__value">{{ bs.plastic_text }}</span> {%- endcase -%} </td> </tr> {%- endif -%} {%- endfor -%} {%- unless has_rows -%} <tr data-animate-row><th scope="row">{{ 'nabda.why.table_food_grade' | t }}</th><td class="nabda-why2__td-nabda"><span class="nabda-why2__icon nabda-why2__icon--check" role="img" aria-label="{{ available_label | escape }}">✓</span></td><td><span class="nabda-why2__icon nabda-why2__icon--cross" role="img" aria-label="{{ unavailable_label | escape }}">✕</span></td><td><span class="nabda-why2__icon nabda-why2__icon--cross" role="img" aria-label="{{ unavailable_label | escape }}">✕</span></td></tr> <tr data-animate-row><th scope="row">{{ 'nabda.why.table_antibacterial' | t }}</th><td class="nabda-why2__td-nabda"><span class="nabda-why2__icon nabda-why2__icon--check" role="img" aria-label="{{ available_label | escape }}">✓</span></td><td><span class="nabda-why2__icon nabda-why2__icon--cross" role="img" aria-label="{{ unavailable_label | escape }}">✕</span></td><td><span class="nabda-why2__icon nabda-why2__icon--cross" role="img" aria-label="{{ unavailable_label | escape }}">✕</span></td></tr> <tr data-animate-row><th scope="row">{{ 'nabda.why.table_rust_proof' | t }}</th><td class="nabda-why2__td-nabda"><span class="nabda-why2__icon nabda-why2__icon--check" role="img" aria-label="{{ available_label | escape }}">✓</span></td><td><span class="nabda-why2__icon nabda-why2__icon--cross" role="img" aria-label="{{ unavailable_label | escape }}">✕</span></td><td><span class="nabda-why2__icon nabda-why2__icon--cross" role="img" aria-label="{{ unavailable_label | escape }}">✕</span></td></tr> <tr data-animate-row><th scope="row">{{ 'nabda.why.table_odor_stain' | t }}</th><td class="nabda-why2__td-nabda"><span class="nabda-why2__icon nabda-why2__icon--check" role="img" aria-label="{{ available_label | escape }}">✓</span></td><td><span class="nabda-why2__icon nabda-why2__icon--cross" role="img" aria-label="{{ unavailable_label | escape }}">✕</span></td><td><span class="nabda-why2__icon nabda-why2__icon--cross" role="img" aria-label="{{ unavailable_label | escape }}">✕</span></td></tr> <tr data-animate-row><th scope="row">{{ 'nabda.why.table_knife_friendly' | t }}</th><td class="nabda-why2__td-nabda"><span class="nabda-why2__icon nabda-why2__icon--check" role="img" aria-label="{{ available_label | escape }}">✓</span></td><td><span class="nabda-why2__icon nabda-why2__icon--partial" role="img" aria-label="{{ partial_label | escape }}">△</span></td><td><span class="nabda-why2__icon nabda-why2__icon--cross" role="img" aria-label="{{ unavailable_label | escape }}">✕</span></td></tr> <tr data-animate-row><th scope="row">{{ 'nabda.why.table_dishwasher' | t }}</th><td class="nabda-why2__td-nabda"><span class="nabda-why2__icon nabda-why2__icon--check" role="img" aria-label="{{ available_label | escape }}">✓</span></td><td><span class="nabda-why2__icon nabda-why2__icon--partial" role="img" aria-label="{{ partial_label | escape }}">△</span></td><td><span class="nabda-why2__icon nabda-why2__icon--cross" role="img" aria-label="{{ unavailable_label | escape }}">✕</span></td></tr> <tr data-animate-row><th scope="row">{{ 'nabda.why.table_durability' | t }}</th><td class="nabda-why2__td-nabda"><span class="nabda-why2__value nabda-why2__value--nabda">{{ 'nabda.why.table_lifetime' | t }}</span></td><td><span class="nabda-why2__value">{{ 'nabda.why.table_1_2_years' | t }}</span></td><td><span class="nabda-why2__value">{{ 'nabda.why.table_6_12_months' | t }}</span></td></tr> {%- endunless -%} </tbody> </table> </div> <p class="nabda-why2__swipe-hint" aria-hidden="true">{{ swipe_hint }} <span>→</span></p> </div> </div> Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.