diff --git a/### AGH Shopify Site PRD.md b/### AGH Shopify Site PRD.md new file mode 100644 index 00000000..8fdc11dd --- /dev/null +++ b/### AGH Shopify Site PRD.md @@ -0,0 +1,106 @@ +### AGH Shopify Site PRD + +### Product Requirements Document (PRD) + +#### Project Title + +Custom Shopify Website for Andra’s Garden Heaven + +#### Objective + +To develop a custom Shopify website for Andra’s Garden Heaven that effectively showcases their handmade rattan furniture, enhances user experience, and drives sales through a seamless checkout process. The website should reflect the brand’s values of high quality, handmade craftsmanship, and affordability, while evoking a natural, calm, and garden-based feeling. + +#### Background + +Andra’s Garden Heaven is a retailer based in Glasgow, specializing in handmade rattan furniture. The company aims to provide high-quality, affordable furniture that brings a touch of nature and tranquility to any space. The new Shopify website will serve as the primary platform for sales and brand representation. + +#### Goals + +1. Increase online sales through an intuitive and user-friendly interface. +2. Provide a seamless checkout and payment process. +3. Reflect the brand’s identity with a modern, natural, and calming design. +4. Ensure the website is mobile-responsive and optimized for search engines. +5. Integrate social media and marketing tools to enhance customer engagement. + +#### Target Audience + +- Homeowners looking for unique, handmade furniture. +- Interior designers and decorators seeking high-quality rattan pieces. +- Eco-conscious consumers who appreciate natural and sustainable materials. +- Customers in Glasgow and the surrounding areas, as well as nationwide shipping. + +#### Key Features and Functionalities + +| Feature | Description | +| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | +| Homepage | A visually appealing homepage with high-quality images of rattan furniture, a clear value proposition, and easy navigation to product categories. | +| Product Listings | Detailed product pages with high-resolution images, descriptions, pricing, and customer reviews. | +| Search and Filter | Advanced search and filter options to help users find products based on categories, price range, and other attributes. | +| Shopping Cart | A user-friendly shopping cart with easy add/remove functionality and clear visibility of items and total cost. | +| Checkout Process | A streamlined checkout process with multiple payment options (credit/debit cards, PayPal, etc.) and guest checkout capability. | +| Mobile Responsiveness | A fully responsive design that ensures a seamless experience across all devices. | +| SEO Optimization | On-page SEO elements such as meta tags, alt text for images, and keyword optimization to improve search engine rankings. | + +| +Social Media Integration | Links to social media profiles and options to share products on social media platforms. || +Blog Section | A blog section to share stories about the craftsmanship, tips for garden decor, and other relevant content to engage customers. +| +| Customer Reviews | Integration of customer reviews and ratings to build trust and credibility. | +| +Contact Information | Easy-to-find contact information, including a contact form, email address, and phone number. | +| +Branding Elements | Consistent use of brand colors, fonts, and imagery to create a cohesive and recognizable brand identity. | + +#### Design Requirements + +- **Color Scheme**: Use the primary color combo of Pakistani Green over White and the secondary combo of Black over White with Green Accents. + + - Pakistan Green: #1C4219 + - French Grey: #D0CCD0 + - White: #FBFCFF + - Cerulean: #1C6E8C + - Black: #000000 + +- **Typography**: + + - **Font Family - Futura Book**: Use for the AGH logo, headings, and titles. The company name should never be smaller than 16pt. + - **Font Family - Elgian**: Use for body text and other content. + +- **Imagery**: High-quality images of rattan furniture in various settings, such as gardens, patios, and living rooms. Ensure images evoke a natural and calming feeling. + +- **Logo Usage**: Use Logo A as the primary choice. For digital placements, use Logo C. Ensure logos are square-shaped with sharp edges, standard size 50mm x 50mm. + +- **Layout**: A clean and organized layout with ample white space to highlight products and create a pleasant browsing experience. + +#### Technical Requirements + +- Platform: Shopify. +- Hosting: Reliable and secure hosting provider. +- Domain: Custom domain name (e.g., andrasgardenheaven.com). +- SSL Certificate: Ensure the website is secure with an SSL certificate. +- Analytics: Integration with Google Analytics to track website performance and user behavior. +- Marketing Tools: Integration with email marketing tools (e.g., Mailchimp) and social media platforms. +- Code : HTML | CSS | JS | LIQUID + +#### Success Metrics + +- Increase in online sales by 50% within the first 3 months. +- Improvement in website traffic and search engine rankings. +- Positive customer feedback and reviews. +- High user engagement and low bounce rates. +- Successful integration of social media and marketing tools. + +#### Risks and Mitigation + +- Delay in Development: Regular progress meetings and clear communication with the development team. +- Budget Overruns: Careful planning and monitoring of expenses. +- Technical Issues: Thorough testing and quality assurance processes. +- Low User Engagement: Continuous optimization based on user feedback and analytics. + +#### Conclusion + +The custom Shopify website for Andra’s Garden Heaven aims to create a seamless and enjoyable shopping experience for customers, reflecting the brand’s commitment to high quality, handmade craftsmanship, and affordability. By focusing on user experience, design, and functionality, the website will drive sales and enhance the brand’s online presence. + +--- + +. diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 00000000..fba2679c --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,639 @@ +--- +description: Liquid development rules for Shopify themes +globs: +alwaysApply: true +--- + + + + valid_filters = [ + + // array + { name: "compact", usage: "array | compact" }, + { name: "concat", usage: "array | concat: array" }, + { name: "find", usage: "array | find: string, string" }, + { name: "find_index", usage: "array | find_index: string, string" }, + { name: "first", usage: "array | first" }, + { name: "has", usage: "array | has: string, string" }, + { name: "join", usage: "array | join" }, + { name: "last", usage: "array | last" }, + { name: "map", usage: "array | map: string" }, + { name: "reject", usage: "array | reject: string, string" }, + { name: "reverse", usage: "array | reverse" }, + { name: "size", usage: "variable | size" }, + { name: "sort", usage: "array | sort" }, + { name: "sort_natural", usage: "array | sort_natural" }, + { name: "sum", usage: "array | sum" }, + { name: "uniq", usage: "array | uniq" }, + { name: "where", usage: "array | where: string, string" }, + + // cart + { name: "item_count_for_variant", usage: "cart | item_count_for_variant: {variant_id}" }, + { name: "line_items_for", usage: "cart | line_items_for: object" }, + + // collection + { name: "link_to_type", usage: "string | link_to_type" }, + { name: "link_to_vendor", usage: "string | link_to_vendor" }, + { name: "sort_by", usage: "string | sort_by: string" }, + { name: "url_for_type", usage: "string | url_for_type" }, + { name: "url_for_vendor", usage: "string | url_for_vendor" }, + { name: "within", usage: "string | within: collection" }, + { name: "highlight_active_tag", usage: "string | highlight_active_tag" }, + + // color + { name: "brightness_difference", usage: "string | brightness_difference: string" }, + { name: "color_brightness", usage: "string | color_brightness" }, + { name: "color_contrast", usage: "string | color_contrast: string" }, + { name: "color_darken", usage: "string | color_darken: number" }, + { name: "color_desaturate", usage: "string | color_desaturate: number" }, + { name: "color_difference", usage: "string | color_difference: string" }, + { name: "color_extract", usage: "string | color_extract: string" }, + { name: "color_lighten", usage: "string | color_lighten: number" }, + { name: "color_mix", usage: "string | color_mix: string, number" }, + { name: "color_modify", usage: "string | color_modify: string, number" }, + { name: "color_saturate", usage: "string | color_saturate: number" }, + { name: "color_to_hex", usage: "string | color_to_hex" }, + { name: "color_to_hsl", usage: "string | color_to_hsl" }, + { name: "color_to_oklch", usage: "string | color_to_oklch" }, + { name: "color_to_rgb", usage: "string | color_to_rgb" }, + { name: "hex_to_rgba", usage: "string | hex_to_rgba" }, + + // customer + { name: "customer_login_link", usage: "string | customer_login_link" }, + { name: "customer_logout_link", usage: "string | customer_logout_link" }, + { name: "customer_register_link", usage: "string | customer_register_link" }, + { name: "avatar", usage: "customer | avatar" }, + { name: "login_button", usage: "shop | login_button" }, + + // date + { name: "date", usage: "date | date: string" }, + + // default + { name: "default_errors", usage: "string | default_errors" }, + { name: "default", usage: "variable | default: variable" }, + { name: "default_pagination", usage: "paginate | default_pagination" }, + + // font + { name: "font_face", usage: "font | font_face" }, + { name: "font_modify", usage: "font | font_modify: string, string" }, + { name: "font_url", usage: "font | font_url" }, + + // format + { name: "date", usage: "string | date: string" }, + { name: "json", usage: "variable | json" }, + { name: "structured_data", usage: "variable | structured_data" }, + { name: "unit_price_with_measurement", usage: "number | unit_price_with_measurement: unit_price_measurement" }, + { name: "weight_with_unit", usage: "number | weight_with_unit" }, + + // hosted_file + { name: "asset_img_url", usage: "string | asset_img_url" }, + { name: "asset_url", usage: "string | asset_url" }, + { name: "file_img_url", usage: "string | file_img_url" }, + { name: "file_url", usage: "string | file_url" }, + { name: "global_asset_url", usage: "string | global_asset_url" }, + { name: "shopify_asset_url", usage: "string | shopify_asset_url" }, + + // html + { name: "class_list", usage: "settings.layout | class_list" }, + { name: "time_tag", usage: "string | time_tag: string" }, + { name: "inline_asset_content", usage: "asset_name | inline_asset_content" }, + { name: "highlight", usage: "string | highlight: string" }, + { name: "link_to", usage: "string | link_to: string" }, + { name: "placeholder_svg_tag", usage: "string | placeholder_svg_tag" }, + { name: "preload_tag", usage: "string | preload_tag: as: string" }, + { name: "script_tag", usage: "string | script_tag" }, + { name: "stylesheet_tag", usage: "string | stylesheet_tag" }, + + // localization + { name: "currency_selector", usage: "form | currency_selector" }, + { name: "translate", usage: "string | t" }, + { name: "format_address", usage: "address | format_address" }, + + // math + { name: "abs", usage: "number | abs" }, + { name: "at_least", usage: "number | at_least" }, + { name: "at_most", usage: "number | at_most" }, + { name: "ceil", usage: "number | ceil" }, + { name: "divided_by", usage: "number | divided_by: number" }, + { name: "floor", usage: "number | floor" }, + { name: "minus", usage: "number | minus: number" }, + { name: "modulo", usage: "number | modulo: number" }, + { name: "plus", usage: "number | plus: number" }, + { name: "round", usage: "number | round" }, + { name: "times", usage: "number | times: number" }, + + // media + { name: "external_video_tag", usage: "variable | external_video_tag" }, + { name: "external_video_url", usage: "media | external_video_url: attribute: string" }, + { name: "image_tag", usage: "string | image_tag" }, + { name: "media_tag", usage: "media | media_tag" }, + { name: "model_viewer_tag", usage: "media | model_viewer_tag" }, + { name: "video_tag", usage: "media | video_tag" }, + { name: "article_img_url", usage: "variable | article_img_url" }, + { name: "collection_img_url", usage: "variable | collection_img_url" }, + { name: "image_url", usage: "variable | image_url: width: number, height: number" }, + { name: "img_tag", usage: "string | img_tag" }, + { name: "img_url", usage: "variable | img_url" }, + { name: "product_img_url", usage: "variable | product_img_url" }, + + // metafield + { name: "metafield_tag", usage: "metafield | metafield_tag" }, + { name: "metafield_text", usage: "metafield | metafield_text" }, + + // money + { name: "money", usage: "number | money" }, + { name: "money_with_currency", usage: "number | money_with_currency" }, + { name: "money_without_currency", usage: "number | money_without_currency" }, + { name: "money_without_trailing_zeros", usage: "number | money_without_trailing_zeros" }, + + // payment + { name: "payment_button", usage: "form | payment_button" }, + { name: "payment_terms", usage: "form | payment_terms" }, + { name: "payment_type_img_url", usage: "string | payment_type_img_url" }, + { name: "payment_type_svg_tag", usage: "string | payment_type_svg_tag" }, + + // string + { name: "hmac_sha1", usage: "string | hmac_sha1: string" }, + { name: "hmac_sha256", usage: "string | hmac_sha256: string" }, + { name: "md5", usage: "string | md5" }, + { name: "sha1", usage: "string | sha1: string" }, + { name: "sha256", usage: "string | sha256: string" }, + { name: "append", usage: "string | append: string" }, + { name: "base64_decode", usage: "string | base64_decode" }, + { name: "base64_encode", usage: "string | base64_encode" }, + { name: "base64_url_safe_decode", usage: "string | base64_url_safe_decode" }, + { name: "base64_url_safe_encode", usage: "string | base64_url_safe_encode" }, + { name: "capitalize", usage: "string | capitalize" }, + { name: "downcase", usage: "string | downcase" }, + { name: "escape", usage: "string | escape" }, + { name: "escape_once", usage: "string | escape_once" }, + { name: "lstrip", usage: "string | lstrip" }, + { name: "newline_to_br", usage: "string | newline_to_br" }, + { name: "prepend", usage: "string | prepend: string" }, + { name: "remove", usage: "string | remove: string" }, + { name: "remove_first", usage: "string | remove_first: string" }, + { name: "remove_last", usage: "string | remove_last: string" }, + { name: "replace", usage: "string | replace: string, string" }, + { name: "replace_first", usage: "string | replace_first: string, string" }, + { name: "replace_last", usage: "string | replace_last: string, string" }, + { name: "rstrip", usage: "string | rstrip" }, + { name: "slice", usage: "string | slice" }, + { name: "split", usage: "string | split: string" }, + { name: "strip", usage: "string | strip" }, + { name: "strip_html", usage: "string | strip_html" }, + { name: "strip_newlines", usage: "string | strip_newlines" }, + { name: "truncate", usage: "string | truncate: number" }, + { name: "truncatewords", usage: "string | truncatewords: number" }, + { name: "upcase", usage: "string | upcase" }, + { name: "url_decode", usage: "string | url_decode" }, + { name: "url_encode", usage: "string | url_encode" }, + { name: "camelize", usage: "string | camelize" }, + { name: "handleize", usage: "string | handleize" }, + { name: "url_escape", usage: "string | url_escape" }, + { name: "url_param_escape", usage: "string | url_param_escape" }, + { name: "pluralize", usage: "number | pluralize: string, string" }, + + // tag + { name: "link_to_add_tag", usage: "string | link_to_add_tag" }, + { name: "link_to_remove_tag", usage: "string | link_to_remove_tag" }, + { name: "link_to_tag", usage: "string | link_to_tag" }, + + ] + + valid_tags = [ + "content_for", + "form", + "layout", + "assign", + "break", + "capture", + "case", + "comment", + "continue", + "cycle", + "decrement", + "doc", + "echo", + "for", + "if", + "include", + "increment", + "raw", + "render", + "tablerow", + "unless", + "paginate", + "javascript", + "section", + "stylesheet", + "sections", + "style", + "else", + "else", + "liquid", + ] + + valid_objects = [ + "collections", + "pages", + "all_products", + "articles", + "blogs", + "cart", + "closest", + "content_for_header", + "customer", + "images", + "linklists", + "localization", + "metaobjects", + "request", + "routes", + "shop", + "theme", + "settings", + "template", + "additional_checkout_buttons", + "all_country_option_tags", + "canonical_url", + "content_for_additional_checkout_buttons", + "content_for_index", + "content_for_layout", + "country_option_tags", + "current_page", + "handle", + "page_description", + "page_image", + "page_title", + "powered_by_link", + "scripts", + ] + + validation_rules = { + syntax: { + - Use {% liquid %} for multiline code + - Use {% # comments %} for inline comments + - Never invent new filters, tags, or objects + - Follow proper tag closing order + - Use proper object dot notation + - Respect object scope and availability + }, + + theme_structure: { + - Place files in appropriate directories + - Follow naming conventions + - Respect template hierarchy + - Maintain proper section/block structure + - Use appropriate schema settings + } + } + + ∀ liquid_code ∈ theme: + validate_syntax(liquid_code) ∧ + validate_filters(liquid_code.filters ∈ valid_filters) ∧ + validate_tags(liquid_code.tags ∈ valid_tags) ∧ + validate_objects(liquid_code.objects ∈ valid_objects) ∧ + validate_structure(liquid_code.location ∈ theme_structure) + + + + folder_structure = { + sections: theme_sections(), + blocks: theme_blocks(), + layout: theme_layout(), + snippets: theme_snippets(), + config: theme_config(), + assets: theme_assets(), + locales: theme_locales(), + templates: theme_templates(), + templates/customers: theme_templates/customers(), + templates/metaobject: theme_templates/metaobject() + } + theme_sections = { + - Liquid files that define customizable sections of a page + - They include blocks and settings defined via a schema, allowing merchants to modify them in the theme editor + - Should occupy the full width of the page container and be self-contained layout units + - Can be added to any JSON template and reordered via the theme editor + - Must include a {% schema %} tag to define settings and presets + - Examples: hero banners, product grids, testimonials, featured collections + } + theme_blocks = { + - Configurable elements within sections that can be added, removed, or reordered + - They are defined with a schema tag for merchant customization in the theme editor + - Allow merchants to build dynamic content without code changes + - Each block has a type and can contain settings for text, images, groups, links, etc. + - Limited to specific block types defined in the section's schema + - Blocks can be nested within other blocks to create hierarchical content structures + - Examples: individual testimonials, slides in a carousel, feature items + } + theme_layout = { + - Defines the structure for repeated content such as headers and footers, wrapping other template files + - It's the frame that holds the page together, but it's not the content + - Contains the HTML document structure (head, body tags) + - Includes global elements like navigation, cart drawer, and footer + - Typically includes global CSS/JS assets and meta tags or render a snippet that do that + } + theme_snippets = { + - Reusable code fragments included in templates, sections, and layouts via the render tag + - Ideal for logic that needs to be reused but not directly edited in the theme editor + - Can accept parameters when rendered for dynamic behavior + - Perfect for repetitive UI components like product cards, buttons, or form elements + - Help maintain DRY (Don't Repeat Yourself) principles in theme development + - Examples: product-card.liquid, icon.liquid, price.liquid + } + theme_config = { + - Holds settings data and schema for theme customization options, accessible through the Admin theme editor + - Stores global theme context like typography, colors, spacing, and branding + - Contains theme-wide settings that affect multiple pages (global variables) + - Includes presets for different theme variations or demo content + - Settings are accessible via settings object in all Liquid files + - Examples: brand colors, font choices, layout options, feature toggles + } + theme_assets = { + - Contains static files such as CSS, JavaScript, and images referenced via asset_url filter + - Includes compiled stylesheets, JavaScript bundles, and media files + - Can be organized in subdirectories for better file management + - Supports asset optimization and minification for performance + - Images should be optimized and include responsive variants when possible + - Examples: theme.css, theme.js, logo.png, icon sprites + } + theme_locales = { + - Stores translation files for localizing theme editor and storefront content + - Organized by language code (en.default.json, fr.json, etc.) + - Contains translations for static text, labels, and theme editor strings + - Enables multi-language support and proper internationalization + - Accessed via translation filters like {{ 'key' | t }} in Liquid + - Should cover all user-facing text for complete localization + } + theme_templates = { + - JSON files that specify which sections appear on each page type (e.g., product, collection, blog) + - They are wrapped by layout files for consistent header/footer content + - Templates can be Liquid files as well, but JSON is preferred as best practice for flexibility + - Define the page structure and section ordering for different page types + - Allow merchants to customize page layouts without code changes + - Support alternate templates for A/B testing or different page variants + } + theme_templates/customers = { + - Templates for customer-related pages such as login, register, account overview, and order history + - Handle customer authentication flows and account management interfaces + - Include forms for login, registration, password reset, and profile updates + - Must follow Shopify's customer data handling and security requirements + - Examples: login.json, register.liquid, account.json, order.liquid + } + theme_templates/metaobject = { + - Templates for rendering custom content types defined as metaobjects in Shopify Admin + - Enable custom content structures beyond standard product/collection/page types + - Allow merchants to create structured content like team members, locations, or custom landing pages + - Must handle dynamic field rendering based on metaobject definition + - Examples: team-member.json, location.liquid, custom-page.json + } + ∀ file ∈ theme: + validate(file.location) ∈ folder_structure; + + + + + - Keep every piece of text in the theme translated. + - Update the locale files with sensible keys and text. + - Just add english text, not other languages, as we have translators on staff who handle other languages + + + + Keep it simple, clear, and non-repetitive. + + - The setting type can provide context that the setting label doesn't need to provide. Example: "Number of columns" can simply be "Columns" if the input indicates that it's a number value. + - Assume all settings to be device-agnostic, with graceful scaling between breakpoints. Only mention mobile or desktop if there is a unique setting required. + - Use common shorthand where it makes sense. Example: Max/Min to mean Maximum and Minimum. Caveat: ensure these values are translated/localized correctly + - Help text: Minimize use as much as possible. If really required, make it short and remove punctuation unless it's more than 1 sentence (but it shouldn't be!) + + + + + The order of theme settings greatly impacts the merchant's ability to understand and configure the section/block. + + - List settings to reflect the order of elements they control in the preview. Top to bottom, left to right, background to foreground. + - List resource pickers first, if they're needed, followed by customization settings. Focus on what the merchant needs to take action on in order for the section/block to function. Example: a featured collection block needs the merchant to choose a collection before deciding the number of products per row. + - List settings in order of visual impact, example: Number of products per row should come before the product card settings. + + + + Consider grouping settings under a heading if there are more than 1 related setting. List ungrouped settings at the top of the section/block. + + Common groupings: + + - Layout + - Typography + - Colors + - Padding + + + + Remove word duplication in the heading and nested labels. When a word appears in a heading (e.g. "Color"), it should not be repeated in nested setting labels or help text. The hierarchy of information provides sufficient context. + + + + Use conditional settings when it: + + - simplifies decision-making for merchants via progressive disclosure + - avoids duplication of settings + - avoids visual clutter and reduces cognitive load + + Conditional settings should appear in the information architecture wherever they're most relevant. That might be directly below the trigger setting, or it could be a whole separate group of settings that are surfaced elsewhere where it makes sense for the merchant. + + Tradeoffs and considerations of conditional settings: + + - They hide functionality/options that help merchants decide how style their website, so be judicious in what concepts you tie together. For example, don't make a Product card's "Swatch display" setting conditional on a "Quick buy" setting. They are both related to variant selection, but they serve different purposes. + - Limit conditions to 2 levels deep to avoid complex logic (up for discussion!) + - Even when not shown, a conditional setting's value is evaluated in the Liquid code. Code defensively, never assume a theme setting's value is nil. + + + + **Checkbox**: Treat checkbox as an on/off switch. Avoid using verb-based labels, example: use "Language selector" and not "Enable language selector". The presence of the verb may inadvertently suggest the direction to toggle to enable or disable it. + + **Select**: Keep select option labels as short as possible so they can be dynamically displayed as segmented controls + + + + + + Storefronts are to be rendered server-side with Liquid as a first principle. As opposed to client-side JavaScript. + + When using JavaScript to render part of the page, fetch the new HTML from the server wherever possible. + + This is the exception to the rule of server-side rendering + + "Optimistic UI" is the idea that we can update part of the UI before the server response is received in the name of **perceived performance**. + + + Key factors to consider when deciding whether to use optimistic UI: + + 1. You are updating a **small** portion of the UI on the client (with JavaScript) before the server response is received. + 2. The API request has a high degree of certainty of being successful. + + Examples of appropriate use cases: + + When filtering a collection page, we can update the a list of applied filters client-side as a Buyer chooses them, i.e. "Color: Red" or "Size: Medium". However, we do not know how many products will be returned that match the filters, so we can't update the product grid or a count of products. + + When a Buyer attempts to add an item to their cart, we can update the cart item count client-side. Assuming our product form's "add to cart" button is already checking the item's availability, we can have a reasonably high degree of certainty that the item will be added to the cart (API request is successful). However, we do not know what the new cart total will be, nor do we know what the line items will look like, so we can't update those in a cart drawer without waiting for the server response. + + + + + + + - Use semantic HTML + - Prefer `
` and `` over JS for show/hide + - Use `CamelCase` for IDs. Append `-{{ block.id }}` or `-{{ section.id }}` + + + + - Make interactive elements focusable with `tabindex="0"` + - Only use `tabindex="0"` - avoid hijacking tab flow + + + + + + - Never use IDs as selectors for styles + - Avoid element selectors + - Avoid !important (comment why if absolutely necessary) + - Use 0 1 0 specificity (single .class selector) + - Maximum 0 4 0 specificity for parent/child relationships + - Keep selectors simple and readable + - Use pseudo selectors sparingly (:has, :where, :nth-child, et ) + + + + - Use CSS variables to reduce redundancy + - Hardcode values as variables first (e.g. --touch-target-size: 45px) + - Never hardcode colors, use color schemes + - Scope variables to components unless global + - Global variables go in :root (in may live in a file like snippets/theme-styles-variables.liquid) + - Scoped variables can reference global variables + + + + - Use {% stylesheet %} tags in sections, blocks, and snippets + - Reset CSS variables inline with style attributes for settings + - Avoid {% style %} tags with block/section ID selectors + - Use variables to reduce redundancy + + + + - Block: component name + - Element: block__element + - Modifier: block--modifier, block__element--modifier + - Use dashes to separate words + + + + - Mobile first (min-width queries) + - Use screen for all media queries + + + + - No & operator + - Never nest beyond first level + - Exceptions: media queries, parent-child with multiple states + - Keep nesting simple + + + + + + - Use zero external dependencies + - Use native browser features over JS ("popover", "details") + - Never use "var" + - Use "const" over "let" - avoid mutation + - Use "for (const thing of things)" over "things.forEach()" + - Add new lines before blocks with "{" and "}" + + + + - Group scripts by feature area + - Co-locate related classes (e.g. "collection.js" contains all collection page classes) + + + + - Use the module pattern to avoid global scope pollution + + + - Keep public APIs minimal + - Prefix private methods with "#" + - Don't use instance methods for functions that don't need the class instance + + ``` + class MyClass { + constructor() { + this.cache = new Map(); + } + + // Public method for external use + myPublicMethod() { + this.#myPrivateMethod(); + } + + // Private method requiring instance access + #myPrivateMethod() { + this.cache.set('key', 'value'); + } + } + + // Module-scoped utility - no instance access needed + const someUtilityFunction = (num1, num2) => num1 + num2; + ``` + + + + + - Use "async/await" syntax + - Use "await" over chaining ".then()" + + + + - Use events for custom element communication to avoid explicit dependencies + + + + - Initialize JS components as custom elements for seamless DOM updates + - Use shadow DOM and slots + + + + - Use early returns over nested conditionals + + + Multiple optional chains require early returns. Single chains are acceptable. + + ``` + // Multiple chains - use early return + const button = this.querySelector('ref="button"'); + if (!button) return; + button.enable(); + button.textContent = 'Add to cart'; + + // Single chain is fine + const button = this.querySelector('ref="button"'); + button?.enable(); + ``` + + + + + + Use ternaries for simple if/else blocks: + `simpleCondition ? this.doAThing() : this.doAnotherThing();` + + + + Write simple conditional returns on one line: + `if (simpleCondition) return;` + + + + Return boolean comparisons directly: + `return simpleCondition;` + + + + diff --git a/Shopify CLI Guide_ Creating About and Contact Pages.md b/Shopify CLI Guide_ Creating About and Contact Pages.md new file mode 100644 index 00000000..be8d3734 --- /dev/null +++ b/Shopify CLI Guide_ Creating About and Contact Pages.md @@ -0,0 +1,286 @@ +# Shopify CLI Guide: Creating About and Contact Pages + +This guide outlines the steps to create dedicated About Us and Contact Us pages for your Shopify store using the Shopify CLI, bypassing the need for the online theme editor. This approach ensures version control and streamlined development workflows. + +## 1. Understanding Shopify Theme Structure + +Before diving into page creation, it's crucial to understand the core directories within your Shopify theme: + +* `templates/`: Contains the Liquid files that define the layout and structure of different page types (e.g., `page.liquid`, `product.liquid`, `collection.liquid`). When you create a new page in the Shopify admin, you select a template from this directory. +* `sections/`: Contains reusable Liquid files that define distinct content blocks or features (e.g., `header.liquid`, `footer.liquid`, `featured-products.liquid`). These sections can be dynamically added, removed, and reordered within templates or directly in the theme customizer. +* `snippets/`: Contains small, reusable Liquid files that can be included in templates or sections to avoid code repetition. +* `assets/`: Stores static assets like images, stylesheets (`.css`, `.scss`), and JavaScript files (`.js`). +* `config/`: Holds configuration files, including `settings_schema.json` (for theme settings) and `settings_data.json` (for saved theme settings). + +For our purpose, we will primarily focus on the `templates/` and `sections/` directories. + +## 2. Creating the About Us Page + +To create an About Us page, you will need a new template file and potentially a new section file for specific content. + +### Step 2.1: Create a New Page Template for About Us + +1. Navigate to the `templates/` directory within your cloned theme repository: + ```bash + cd skeleton-theme/templates/ + ``` + +2. Create a new Liquid file named `page.about-us.liquid`. This naming convention (`page.your-custom-name.liquid`) is essential for Shopify to recognize it as a custom page template. You can start by copying the content of `page.liquid` as a base: + ```bash + cp page.json page.about-us.json + ``` + *Note: The user's `page.json` file is a JSON template, not a liquid file. I will adjust the content to reflect this and provide guidance on how to use it.* + + + + +3. Open `page.about-us.json` in your text editor. This file defines the sections that will be rendered on your About Us page. You can customize it to include specific sections relevant to your About Us content. A basic `page.about-us.json` might look like this: + + ```json + { + "sections": { + "main": { + "type": "main-page", + "settings": { + } + }, + "about-us-content": { + "type": "about-us-content", + "settings": { + "heading": "Our Story", + "text": "Write your compelling story here." + } + } + }, + "order": [ + "main", + "about-us-content" + ] + } + ``` + + In this example, we are including a `main-page` section (which is likely a generic page content section) and a custom `about-us-content` section. You will need to create the `about-us-content.liquid` file in your `sections/` directory. + +### Step 2.2: Create a New Section for About Us Content + +1. Navigate to the `sections/` directory: + ```bash + cd skeleton-theme/sections/ + ``` + +2. Create a new Liquid file named `about-us-content.liquid`. This file will contain the actual content and structure for your About Us section. Here's a basic example: + + ```liquid +
+
+

{{ section.settings.heading }}

+
+ {{ section.settings.text }} +
+
+
+ + {% schema %} + { + "name": "About Us Content", + "settings": [ + { + "type": "text", + "id": "heading", + "label": "Heading", + "default": "Our Story" + }, + { + "type": "richtext", + "id": "text", + "label": "Text", + "default": "

Share your company's journey, mission, and values here.

" + } + ], + "presets": [ + { + "name": "About Us Content" + } + ] + } + {% endschema %} + ``` + + This section includes a heading and a rich text editor field, allowing you to easily manage the content from the Shopify theme customizer. + +## 3. Creating the Contact Us Page + +Similar to the About Us page, the Contact Us page will require a new template file and a section for the contact form. + +### Step 3.1: Create a New Page Template for Contact Us + +1. Navigate to the `templates/` directory: + ```bash + cd skeleton-theme/templates/ + ``` + +2. Create a new JSON file named `page.contact-us.json`. You can copy the content of `page.json` as a starting point: + ```bash + cp page.json page.contact-us.json + ``` + +3. Open `page.contact-us.json` in your text editor and modify it to include a contact form section. A typical `page.contact-us.json` might look like this: + + ```json + { + "sections": { + "main": { + "type": "main-page", + "settings": { + } + }, + "contact-form": { + "type": "contact-form", + "settings": { + "heading": "Contact Us" + } + } + }, + "order": [ + "main", + "contact-form" + ] + } + ``` + + Here, we are including a `main-page` section and a custom `contact-form` section. You will need to create the `contact-form.liquid` file in your `sections/` directory. + +### Step 3.2: Create a New Section for the Contact Form + +1. Navigate to the `sections/` directory: + ```bash + cd skeleton-theme/sections/ + ``` + +2. Create a new Liquid file named `contact-form.liquid`. This file will contain the HTML for your contact form. Shopify provides a built-in `form` tag that handles form submissions. Here's a basic example: + + ```liquid +
+
+

{{ section.settings.heading }}

+ {% form 'contact' %} + + {% if form.posted_successfully? %} +

Your message has been sent successfully!

+ {% endif %} + + {{ form.errors | default_errors }} + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ + + + {% endform %} +
+
+ + {% schema %} + { + "name": "Contact Form", + "settings": [ + { + "type": "text", + "id": "heading", + "label": "Heading", + "default": "Contact Us" + } + ], + "presets": [ + { + "name": "Contact Form" + } + ] + } + {% endschema %} + ``` + + This section provides a basic contact form with fields for name, email, phone, and message. The `{% form 'contact' %}` tag handles the submission and sends the email to your store's customer email address. + +## 4. Uploading Changes to Shopify + +After creating and modifying these files locally, you need to upload them to your Shopify store using the Shopify CLI. + +1. Navigate to the root directory of your theme: + ```bash + cd skeleton-theme/ + ``` + +2. Run the following command to push your changes to your development theme: + ```bash + shopify theme push + ``` + If you have multiple themes, you might need to specify the theme ID or name. You can also use `shopify theme push --allow-live` to push directly to your live theme (use with caution!). + +## 5. Creating Pages in Shopify Admin + +Once the files are pushed, you can create the actual pages in your Shopify admin: + +1. Go to your Shopify admin (`your-store.myshopify.com/admin`). +2. Navigate to **Online Store > Pages**. +3. Click **Add page**. +4. For the About Us page: + * Set the **Title** to + +"About Us" (or similar). + * In the **Visibility** section, ensure it's visible. + * In the **Theme template** section, select `page.about-us` from the dropdown menu. + * Add your content using the rich text editor or by adding sections in the theme customizer. + * Click **Save**. + +5. For the Contact Us page: + * Set the **Title** to "Contact Us" (or similar). + * In the **Visibility** section, ensure it's visible. + * In the **Theme template** section, select `page.contact-us` from the dropdown menu. + * Click **Save**. + +## 6. Customizing Pages in the Theme Editor + +After creating the pages in the Shopify admin, you can further customize their content and layout using the Shopify theme editor (even though you are using CLI for development, the theme editor is still useful for content management and section reordering): + +1. Go to **Online Store > Themes**. +2. Click **Customize** next to your current theme. +3. Use the page selector at the top to navigate to your newly created About Us or Contact Us page. +4. You can now add, remove, and reorder sections, and modify the content within the sections you created (e.g., the heading and text for your About Us content, or the heading for your Contact Form). + +## 7. Adding Links to Navigation + +Finally, you'll want to add links to your new pages in your store's navigation menu. + +1. Go to **Online Store > Navigation**. +2. Select the menu you want to edit (e.g., + + +"Main menu" or "Footer menu"). +3. Click **Add menu item**. +4. In the **Link** field, search for and select your + + +About Us" or "Contact Us" page. +5. Click **Add**. +6. Click **Save menu**. + +By following these steps, you can effectively create and manage your About Us and Contact Us pages using the Shopify CLI for development and the Shopify admin for content management and navigation setup. + diff --git a/assets/AGH Logo GreenAsset 1@4x.png b/assets/AGH Logo GreenAsset 1@4x.png new file mode 100644 index 00000000..b1a90b25 Binary files /dev/null and b/assets/AGH Logo GreenAsset 1@4x.png differ diff --git a/assets/BackgrndPattern.png b/assets/BackgrndPattern.png new file mode 100644 index 00000000..40c739dd Binary files /dev/null and b/assets/BackgrndPattern.png differ diff --git a/assets/EmailIcon.svg b/assets/EmailIcon.svg new file mode 100644 index 00000000..65b1307d --- /dev/null +++ b/assets/EmailIcon.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/IGicon.svg b/assets/IGicon.svg new file mode 100644 index 00000000..f49acc4b --- /dev/null +++ b/assets/IGicon.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/IHS-VID.mp4 b/assets/IHS-VID.mp4 new file mode 100644 index 00000000..e2aaa17b Binary files /dev/null and b/assets/IHS-VID.mp4 differ diff --git a/assets/IHS-img1.jpg b/assets/IHS-img1.jpg new file mode 100644 index 00000000..96e39651 Binary files /dev/null and b/assets/IHS-img1.jpg differ diff --git a/assets/IHS-img2.jpg b/assets/IHS-img2.jpg new file mode 100644 index 00000000..cd16364a Binary files /dev/null and b/assets/IHS-img2.jpg differ diff --git a/assets/IHS-img3.jpg b/assets/IHS-img3.jpg new file mode 100644 index 00000000..f8d5a071 Binary files /dev/null and b/assets/IHS-img3.jpg differ diff --git a/assets/IHS-video.mp4 b/assets/IHS-video.mp4 new file mode 100644 index 00000000..60b42f72 Binary files /dev/null and b/assets/IHS-video.mp4 differ diff --git a/assets/IMG-20250630-WA0006.jpg b/assets/IMG-20250630-WA0006.jpg new file mode 100644 index 00000000..b6d4aa22 Binary files /dev/null and b/assets/IMG-20250630-WA0006.jpg differ diff --git a/assets/IMG-20250630-WA0010.jpg b/assets/IMG-20250630-WA0010.jpg new file mode 100644 index 00000000..99af328b Binary files /dev/null and b/assets/IMG-20250630-WA0010.jpg differ diff --git a/assets/Scm Footer Logo.svg b/assets/Scm Footer Logo.svg new file mode 100644 index 00000000..8deb383a --- /dev/null +++ b/assets/Scm Footer Logo.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/WORDMARKAsset 19@3x.png b/assets/WORDMARKAsset 19@3x.png new file mode 100644 index 00000000..720eb7ef Binary files /dev/null and b/assets/WORDMARKAsset 19@3x.png differ diff --git a/assets/critical.css b/assets/critical.css index cdb1ae1a..05c871c4 100644 --- a/assets/critical.css +++ b/assets/critical.css @@ -4,6 +4,27 @@ * { box-sizing: border-box; margin: 0; + padding: 0; +} +:root { + --green100: #e3f5d7; + --green200: #c4ecb1; + --green300: #8dc67c; + --green400: #558d4b; + + --green: #1c4219; + --green600: #123812; + + --green700: #0c2f0f; + --green800: #07260d; + + --green900: #041f0b; + --grey: #d0ccd0; + --white: #fbfcff; + --blue: #1c6e8c; + --black: #000; + --heading-font: "Futura Book", sans-serif; + --body-font: "Elgian", serif; } body { @@ -11,6 +32,8 @@ body { flex-direction: column; margin: 0; min-height: 100svh; + background-color: #1c4219; + color: #fbfcff; } html:has(dialog[scroll-lock][open], details[scroll-lock][open]) { @@ -31,21 +54,44 @@ input, textarea, select { font: inherit; - border-radius: var(--style-border-radius-inputs); + width: 100%; + padding: 0.75rem 1rem; + border: 2px solid var(--green200); + border-radius: 25px; + background: var(--white); + color: var(--green); + font-family: var(--body-font); } select { - background-color: var(--color-background); - color: currentcolor; + background-color: var(--white); + color: var(--blue); } dialog { - background-color: var(--color-background); - color: var(--color-foreground); + background-color: var(--white); + color: var(--blue); +} +h1, +h2, +h3, +h4, +h5, +h6 { + font-family: var(--heading-font); } - p { text-wrap: pretty; + font-family: var(--body-font); +} +a { + text-decoration: none; + color: var(--white); +} + +a:hover { + text-decoration: underline; + text-decoration-color: var(--blue); } p, h1, @@ -73,11 +119,79 @@ p:empty { /** Theme styles below */ body { - font-family: var(--font-primary--family); - background-color: var(--color-background); - color: var(--color-foreground); + font-family: var(--body-font); + background-color: var(--grey); + color: var(--green); + max-width: 100%; + overflow-x: hidden; +} +/* Button Styles */ +.button { + font-family: var(--heading-font); + background-color: var(--green); + color: var(--white); + padding: 0.5rem 1rem; + border-radius: 1rem; + border: none; + transition: all 0.3s ease-in-out; + text-decoration: none; +} +.shop-now { + background-color: var(--green900); + color: var(--white); + padding: 0.5rem 1rem; + border-radius: 1rem; + border: 1px solid var(--white); + transition: all 0.3s ease-in-out; +} +.shop-now:hover { + background-color: var(--green300); + scale: 1.1; + text-decoration: none; + + transition: all 0.3s ease-in-out; } +.learn-more { + background-color: var(--green700); + color: var(--white); + padding: 0.5rem 1rem; + border-radius: 1rem; + + text-decoration: none; + border: none; + transition: all 0.3s ease-in-out; +} +.learn-more:hover { + background-color: var(--green300); + scale: 1.1; + transition: all 0.3s ease-in-out; +} + +.newsletter-button { + background-color: var(--blue); + color: var(--white); + padding: 0.5rem 1rem; + border-radius: 1rem; + border: none; + transition: all 0.3s ease-in-out; +} +.newsletter-button:hover { + background-color: var(--green300); + scale: 1.1; + transition: all 0.3s ease-in-out; +} + +/* Reveals More Options for payments */ +.shopify-payment-button__more-options { + color: var(--green) !important; + text-decoration: none !important; +} + +.shopify-payment-button__more-options:hover { + color: var(--green900) !important; + text-decoration: underline var(--blue) !important; +} /** Section layout utilities */ /** @@ -97,8 +211,8 @@ body { calc(100% - var(--page-margin) * 2) ); --content-margin: minmax(var(--page-margin), 1fr); - --content-grid: var(--content-margin) var(--content-width) var(--content-margin); - + --content-grid: var(--content-margin) var(--content-width) + var(--content-margin); /* This is required to make elements work as background images */ position: relative; grid-template-columns: var(--content-grid); @@ -115,3 +229,408 @@ body { .shopify-section > .full-width { grid-column: 1 / -1; } + +/* Section Headings Styles */ + +.section-title { + color: var(--grey); +} +/* RESPONSIVE MQ +Aligns titles to center */ +@media screen and (max-width: 640px) { + .section-title { + text-align: center; + } +} + +/* Product Grid */ + +.product-grid { + background-color: var(--grey); + display: grid; + grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); + gap: 2rem; + padding: 2rem; +} + +.BelowFoldImage:hover { + transform: scale(1.1) rotate(360deg); + transition: transform 4.5s ease-in-out; +} + +/* Liquid Glass css */ +.glass { + position: relative; + background: rgba(255, 255, 255, 0.15); + -webkit-backdrop-filter: blur(2px) saturate(180%); + backdrop-filter: blur(2px) saturate(180%); + border: 1px solid rgba(255, 255, 255, 0.8); + border-radius: 2rem; + box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2), + inset 0 4px 20px rgba(255, 255, 255, 0.3); + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +.glass::after { + content: ""; + position: absolute; + top: 0; + left: 0; + width: 100%; + + height: 100%; + background: rgba(255, 255, 255, 0.1); + border-radius: 2rem; + -webkit-backdrop-filter: blur(1px); + backdrop-filter: blur(1px); + box-shadow: inset -10px -8px 0px -11px rgba(255, 255, 255, 1), + inset 0px -9px 0px -8px rgba(255, 255, 255, 1); + opacity: 0.6; + z-index: -1; + -webkit-filter: blur(1px) drop-shadow(10px 4px 6px black) brightness(115%); + filter: blur(1px) drop-shadow(10px 4px 6px black) brightness(115%); +} + +/* ===== iOS SAFARI SPECIFIC FIXES FOR CRITICAL CSS ===== */ +@supports (-webkit-touch-callout: none) { + /* iOS Safari viewport height fixes */ + body { + min-height: 100vh; + min-height: -webkit-fill-available; + } + + /* iOS Safari text rendering fixes */ + body { + -webkit-text-size-adjust: 100%; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + } + + /* iOS Safari flexbox fixes */ + .shopify-section { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + } + + /* iOS Safari transform fixes */ + .glass, + .glass-card { + -webkit-transform: translateZ(0); + transform: translateZ(0); + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + } + + /* iOS Safari backdrop-filter fixes */ + .glass, + .glass-card { + -webkit-backdrop-filter: blur(2px) saturate(180%); + backdrop-filter: blur(2px) saturate(180%); + } + + /* iOS Safari button fixes */ + .button, + .shop-now, + .learn-more, + .newsletter-button { + -webkit-appearance: none; + -webkit-border-radius: 1rem; + border-radius: 1rem; + -webkit-transform: translateZ(0); + transform: translateZ(0); + -webkit-appearance: none; + appearance: none; + } + + /* iOS Safari input fixes */ + input, + textarea, + select { + -webkit-appearance: none; + -webkit-border-radius: var(--style-border-radius-inputs); + border-radius: var(--style-border-radius-inputs); + -webkit-appearance: none; + appearance: none; + } +} +/* ===== iOS SAFARI SPECIFIC FIXES FOR CRITICAL CSS ===== */ +@supports (-webkit-touch-callout: none) { + /* iOS Safari viewport height fixes */ + body { + min-height: 100vh; + min-height: -webkit-fill-available; + } + + /* iOS Safari text rendering fixes */ + body { + -webkit-text-size-adjust: 100%; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + } + + /* iOS Safari flexbox fixes */ + .shopify-section { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + } + + /* iOS Safari transform fixes */ + .glass, + .glass-card { + -webkit-transform: translateZ(0); + transform: translateZ(0); + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + } + + /* iOS Safari backdrop-filter fixes */ + .glass, + .glass-card { + -webkit-backdrop-filter: blur(2px) saturate(180%); + backdrop-filter: blur(2px) saturate(180%); + } + + /* iOS Safari button fixes */ + .button, + .shop-now, + .learn-more, + .newsletter-button { + -webkit-appearance: none; + -webkit-border-radius: 1rem; + border-radius: 1rem; + -webkit-transform: translateZ(0); + transform: translateZ(0); + -webkit-appearance: none; + appearance: none; + } + + /* iOS Safari input fixes */ + input, + textarea, + select { + -webkit-appearance: none; + -webkit-border-radius: var(--style-border-radius-inputs); + border-radius: var(--style-border-radius-inputs); + -webkit-appearance: none; + appearance: none; + } +} +/* ===== iOS SAFARI SPECIFIC FIXES FOR CRITICAL CSS ===== */ +@supports (-webkit-touch-callout: none) { + /* iOS Safari viewport height fixes */ + body { + min-height: 100vh; + min-height: -webkit-fill-available; + } + + /* iOS Safari text rendering fixes */ + body { + -webkit-text-size-adjust: 100%; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + } + + /* iOS Safari flexbox fixes */ + .shopify-section { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + } + + /* iOS Safari transform fixes */ + .glass, + .glass-card { + -webkit-transform: translateZ(0); + transform: translateZ(0); + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + } + + /* iOS Safari backdrop-filter fixes */ + .glass, + .glass-card { + -webkit-backdrop-filter: blur(2px) saturate(180%); + backdrop-filter: blur(2px) saturate(180%); + } + + /* iOS Safari button fixes */ + .button, + .shop-now, + .learn-more, + .newsletter-button { + -webkit-appearance: none; + -webkit-border-radius: 1rem; + border-radius: 1rem; + -webkit-transform: translateZ(0); + transform: translateZ(0); + -webkit-appearance: none; + appearance: none; + } + + /* iOS Safari input fixes */ + input, + textarea, + select { + -webkit-appearance: none; + -webkit-border-radius: var(--style-border-radius-inputs); + border-radius: var(--style-border-radius-inputs); + -webkit-appearance: none; + appearance: none; + } +} +/* ===== iOS SAFARI SPECIFIC FIXES FOR CRITICAL CSS ===== */ +@supports (-webkit-touch-callout: none) { + /* iOS Safari viewport height fixes */ + body { + min-height: 100vh; + min-height: -webkit-fill-available; + } + + /* iOS Safari text rendering fixes */ + body { + -webkit-text-size-adjust: 100%; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + } + + /* iOS Safari flexbox fixes */ + .shopify-section { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + } + + /* iOS Safari transform fixes */ + .glass, + .glass-card { + -webkit-transform: translateZ(0); + transform: translateZ(0); + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + } + + /* iOS Safari backdrop-filter fixes */ + .glass, + .glass-card { + -webkit-backdrop-filter: blur(2px) saturate(180%); + backdrop-filter: blur(2px) saturate(180%); + } + + /* iOS Safari button fixes */ + .button, + .shop-now, + .learn-more, + .newsletter-button { + -webkit-appearance: none; + -webkit-border-radius: 1rem; + border-radius: 1rem; + -webkit-transform: translateZ(0); + transform: translateZ(0); + -webkit-appearance: none; + appearance: none; + } + + /* iOS Safari input fixes */ + input, + textarea, + select { + -webkit-appearance: none; + -webkit-border-radius: var(--style-border-radius-inputs); + border-radius: var(--style-border-radius-inputs); + -webkit-appearance: none; + appearance: none; + } +} +/* ===== iOS SAFARI SPECIFIC FIXES FOR CRITICAL CSS ===== */ +@supports (-webkit-touch-callout: none) { + /* iOS Safari viewport height fixes */ + body { + min-height: 100vh; + min-height: -webkit-fill-available; + } + + /* iOS Safari text rendering fixes */ + body { + -webkit-text-size-adjust: 100%; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + } + + /* iOS Safari flexbox fixes */ + .shopify-section { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + } + + /* iOS Safari transform fixes */ + .glass, + .glass-card { + -webkit-transform: translateZ(0); + transform: translateZ(0); + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + } + + /* iOS Safari backdrop-filter fixes */ + .glass, + .glass-card { + -webkit-backdrop-filter: blur(2px) saturate(180%); + backdrop-filter: blur(2px) saturate(180%); + } + + /* iOS Safari button fixes */ + .button, + .shop-now, + .learn-more, + .newsletter-button { + -webkit-appearance: none; + -webkit-border-radius: 1rem; + border-radius: 1rem; + -webkit-transform: translateZ(0); + transform: translateZ(0); + -webkit-appearance: none; + appearance: none; + } + + /* iOS Safari input fixes */ + input, + textarea, + select { + -webkit-appearance: none; + -webkit-border-radius: var(--style-border-radius-inputs); + border-radius: var(--style-border-radius-inputs); + -webkit-appearance: none; + appearance: none; + } +} +/* Glass Card css */ +.glass-card { + position: relative; + background: rgba(255, 255, 255, 0.15); + -webkit-backdrop-filter: blur(2px) saturate(180%); + backdrop-filter: blur(2px) saturate(180%); + border: 1px solid rgba(255, 255, 255, 0.8); + border-radius: 2rem; + box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2), + inset 0 4px 20px rgba(255, 255, 255, 0.3); + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +.glass-card::after { + content: ""; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(255, 255, 255, 0.1); + border-radius: 2rem; + -webkit-backdrop-filter: blur(1px); + backdrop-filter: blur(1px); + box-shadow: inset -10px -8px 0px -11px rgba(255, 255, 255, 1), + inset 0px -9px 0px -8px rgba(255, 255, 255, 1); + opacity: 0.6; + z-index: -1; + -webkit-filter: blur(1px) drop-shadow(10px 4px 6px black) brightness(115%); + filter: blur(1px) drop-shadow(10px 4px 6px black) brightness(115%); +} diff --git a/assets/hero_image.png b/assets/hero_image.png new file mode 100644 index 00000000..ac156926 Binary files /dev/null and b/assets/hero_image.png differ diff --git a/assets/styles.css b/assets/styles.css new file mode 100644 index 00000000..2ead36f4 --- /dev/null +++ b/assets/styles.css @@ -0,0 +1,3090 @@ +:root { + --green100: #e3f5d7; + --green200: #c4ecb1; + --green300: #8dc67c; + --green400: #558d4b; + --green: #1c4219; + --green600: #123812; + --green700: #0c2f0f; + --green800: #07260d; + --green900: #041f0b; + --grey: #d0ccd0; + --white: #fbfcff; + --blue: #1c6e8c; + --black: #000; + --heading-font: "Futura Book", sans-serif; + --body-font: "Elgian", serif; + + /* Missing variables that might be referenced */ + --transition-normal: all 0.3s ease; + --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), + 0 2px 4px -1px rgba(0, 0, 0, 0.06); + --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), + 0 10px 10px -5px rgba(0, 0, 0, 0.04); + --style-border-radius-inputs: 8px; +} + +/* === hero-banner.css === */ + +/* iOS Safari specific fixes */ +@supports (-webkit-touch-callout: none) { + /* iOS Safari viewport height fix */ + .hero-banner { + min-height: 100vh; + min-height: -webkit-fill-available; + } + + .hero-content { + height: 100vh; + height: -webkit-fill-available; + } + + /* iOS Safari flexbox fixes */ + .hero-content { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + } + + /* iOS Safari transform fixes */ + .hero-nav { + -webkit-transform: translateZ(0); + transform: translateZ(0); + } +} + +/* Reset any default margins/padding that might cause gaps */ +.hero-banner { + position: relative; + width: 100%; + min-height: 100vh; + overflow: hidden; + padding: 0; +} + +/* Hero Banner - Clean Version (Navigation removed) */ + +/* Main Hero Layout */ +.hero-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: 100vh; + width: 100%; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.hero-image-section { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + position: relative; + overflow: hidden; +} + +.hero-image { + width: 100%; + height: 100%; + object-fit: cover; + object-position: center; + filter: brightness(0.5); +} + +.hero-text-section { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + background: var(--green900); /* Changed background to dark green */ +} + +/* Pattern Background */ +.pattern-background { + position: absolute; + inset: 0; + background-size: cover; + background-position: center; + background-repeat: no-repeat; + opacity: 0.75; +} + +.hero-text-content { + position: relative; + z-index: 2; + text-align: center; + padding: 3rem; + max-width: 500px; + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +.wordmark { + max-width: 90%; + width: 350px; + height: auto; + margin-top: 6rem; + filter: brightness(0) invert(1); +} + +.hero-description { + margin-top: 1rem; +} + +.hero-description p { + color: var(--white); + font-family: var(--body-font); + font-size: 1rem; + line-height: 1.5; + margin: 0; + font-weight: 500; + letter-spacing: 1px; + max-width: 400px; +} + +.underline-text { + text-decoration: underline; + text-decoration-color: var(--blue); + text-decoration-thickness: 2px; + text-underline-offset: 4px; +} + +/* Mobile Responsive */ +@media (max-width: 768px) { + .hero-content { + flex-direction: column; + height: auto; + min-height: 100vh; + } + + .hero-image-section { + height: 50vh; + } + + .hero-text-section { + min-height: 50vh; + padding: 1rem; + background: var(--green900); /* Changed background to dark green */ + } + + .hero-text-content { + padding: 2rem 1rem; + } + + .hero-description p { + font-size: 1rem; + } + + .wordmark { + width: 280px; + margin-bottom: 2rem; + } + + .pattern-background { + opacity: 0; + background-image: none var(--green800); /* Removed pattern background image */ + } +} + +@media (max-width: 480px) { + .pattern-background { + opacity: 0; + } + .hero-text-content { + padding: 1.5rem 0.5rem; + } + + .wordmark { + width: 250px; + margin-bottom: 1.5rem; + } + + .hero-description p { + font-size: 0.95rem; + } + + .pattern-background { + background-size: 200px 200px; + } +} + +/* Additional mobile optimization for very small screens */ +@media (max-width: 320px) { + .wordmark { + width: 200px; + } + + .hero-description p { + font-size: 0.875rem; + } +} + +/* Below Fold Styles - ENHANCED WITH MOBILE RESPONSIVENESS */ +/* Below Fold Styles - Cross-Browser Compatible */ +.BelowFoldSection { + background: #1e3c27; + color: var(--grey); + border-radius: 0 0 2rem 2rem; + position: relative; + overflow: hidden; + padding: 2rem; /* Added base padding */ +} + +.BelowFoldSection::before { + content: ""; + position: absolute; + top: -50%; + left: -50%; + width: 200%; + height: 200%; + background: linear-gradient( + 45deg, + #1e3c27 0%, + #2d5a3d 20%, + #1a7431 40%, + #0f5132 60%, + #2d5a3d 80%, + #1e3c27 100% + ); + /* Cross-browser animation */ + -webkit-animation: gradientRotate 8s linear infinite; + -moz-animation: gradientRotate 8s linear infinite; + -ms-animation: gradientRotate 8s linear infinite; + -o-animation: gradientRotate 8s linear infinite; + animation: gradientRotate 8s linear infinite; + z-index: 1; + /* Performance optimizations */ + will-change: transform; + backface-visibility: hidden; + -webkit-backface-visibility: hidden; +} + +.BelowFoldSectionWrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + position: relative; + z-index: 2; + max-width: 1200px; /* Added max-width for better control */ + margin: 0 auto; /* Center the wrapper */ +} + +/* Cross-browser keyframes */ +@-webkit-keyframes gradientRotate { + 0% { + -webkit-transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + } +} + +@-moz-keyframes gradientRotate { + 0% { + -moz-transform: rotate(0deg); + } + 100% { + -moz-transform: rotate(360deg); + } +} + +@-ms-keyframes gradientRotate { + 0% { + -ms-transform: rotate(0deg); + } + 100% { + -ms-transform: rotate(360deg); + } +} + +@-o-keyframes gradientRotate { + 0% { + -o-transform: rotate(0deg); + } + 100% { + -o-transform: rotate(360deg); + } +} + +@keyframes gradientRotate { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} + +.BelowFoldLeft { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding: 2rem; + text-align: left; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; + gap: 1rem; + min-width: 300px; /* Added min-width for better control */ +} + +.BelowFoldRight { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding: 2rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: end; + -webkit-align-items: flex-end; + -ms-flex-align: end; + align-items: flex-end; + min-width: 300px; /* Added min-width for better control */ +} + +/* BelowFold Image Styling */ +.BelowFoldImage { + max-width: 100%; + height: auto; + border-radius: 50%; + box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); +} + +/* BelowFold Typography */ +.BelowFoldLeft h2 { + font-family: var(--heading-font); + font-size: 2.5rem; + font-weight: 700; + color: var(--white); + margin-bottom: 1rem; + line-height: 1.2; +} + +.BelowFoldLeft .hero-description p { + font-family: var(--body-font); + font-size: 1.1rem; + line-height: 1.6; + color: var(--grey); + margin-bottom: 1.5rem; +} + +/* CTAs Styling */ +.Hero-ctas { + display: flex; + gap: 1rem; + flex-wrap: wrap; /* Allow wrapping on small screens */ +} + +.Hero-ctas .button { + padding: 0.75rem 1.5rem; + border-radius: 0.5rem; + text-decoration: none; + font-family: var(--heading-font); + font-weight: 600; + font-size: 1rem; + transition: all 0.3s ease; + border: 2px solid transparent; + min-width: 140px; /* Ensure minimum button width */ + text-align: center; +} + +.Hero-ctas .learn-more { + background: transparent; + color: var(--white); + border-color: var(--white); +} + +.Hero-ctas .learn-more:hover { + background: var(--white); + color: var(--green); +} + +.Hero-ctas .shop-now { + background: var(--blue); + color: var(--white); + border-color: var(--blue); +} + +.Hero-ctas .shop-now:hover { + background: transparent; + color: var(--blue); + border-color: var(--blue); +} + +/* MOBILE RESPONSIVENESS FOR BELOWFOLD SECTION */ + +/* Tablet and large mobile screens */ +@media (max-width: 768px) { + .BelowFoldSection { + padding: 1.5rem; + border-radius: 0 0 1.5rem 1.5rem; + } + + .BelowFoldSectionWrapper { + flex-direction: column; /* Stack vertically on mobile */ + text-align: center; /* Center align content */ + } + + .BelowFoldLeft { + text-align: center; /* Center text on mobile */ + align-items: center; /* Center align items */ + padding: 1.5rem; + order: 1; /* Text comes first */ + } + + .BelowFoldRight { + align-items: center; /* Center align image */ + padding: 1.5rem; + order: 2; /* Image comes second */ + } + + .BelowFoldLeft h2 { + font-size: 2rem; + text-align: center; + } + + .BelowFoldLeft .hero-description p { + font-size: 1rem; + text-align: center; + max-width: 500px; /* Limit text width for readability */ + } + + .Hero-ctas { + justify-content: center; /* Center CTAs */ + width: 100%; + } + + .BelowFoldImage { + max-width: 300px; /* Reduce image size on mobile */ + width: 100%; + } +} + +/* Standard mobile phones */ +@media (max-width: 480px) { + .BelowFoldSection { + padding: 1rem; + border-radius: 0 0 1rem 1rem; + margin: 0; + } + + .BelowFoldLeft { + padding: 1rem; + } + + .BelowFoldRight { + padding: 1rem; + } + + .BelowFoldLeft h2 { + font-size: 1.75rem; + } + + .BelowFoldLeft .hero-description p { + font-size: 0.95rem; + line-height: 1.5; + } + + .Hero-ctas { + flex-direction: column; /* Stack buttons vertically */ + justify-content: center; + align-items: center; + gap: 0.75rem; + width: 100%; + } + + .Hero-ctas .button { + width: 100%; /* Full width buttons on mobile */ + max-width: 280px; /* But not too wide */ + padding: 0.875rem 1rem; + font-size: 0.95rem; + } + + .BelowFoldImage { + max-width: 250px; + } +} + +/* Very small mobile screens */ +@media (max-width: 320px) { + .BelowFoldSection { + padding: 0.75rem; + margin: 0; + } + + .BelowFoldLeft { + padding: 0.75rem; + } + + .BelowFoldRight { + padding: 0.75rem; + } + + .BelowFoldLeft h2 { + font-size: 1.5rem; + } + + .BelowFoldLeft .hero-description p { + font-size: 0.9rem; + } + + .Hero-ctas .button { + padding: 0.75rem 0.875rem; + font-size: 0.9rem; + max-width: 240px; + } + + .BelowFoldImage { + max-width: 200px; + } +} + +/* Featured Products */ +/* .featured-products { +} */ + +/* CTAs */ +.Hero-ctas { + display: flex; + gap: 1rem; +} +/* About Styles */ +.about-content { + display: flex; + flex-wrap: wrap; + justify-content: center; + align-items: center; + gap: auto; + padding: 2rem; + border: var(--green) 1px solid top bottom; +} +.about-title { + color: var(--green); + flex: 1; + padding: 2rem; + text-align: center; + display: flex; + + gap: 1rem; +} +.about-text { + color: var(--green); + flex: 1; + padding: 2rem; + text-align: left; + font-size: 1rem; + display: flex; + flex-direction: column; + justify-content: center; + align-items: flex-start; + gap: 1rem; +} +/* Newsletter Styles */ +.newsletter-container { + background: var(--green600); + color: var(--grey); + padding: 2rem; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + gap: 1rem; +} +.newsletter-text { + color: var(--grey); + text-align: center; + max-width: 50ch; +} +.newsletter-form { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + gap: 1rem; +} + +/* Trust Section - Optimized */ +.trust { + background: linear-gradient(135deg, var(--green700) 0%, var(--green800) 100%); + color: var(--white); +} + +.trust-container { + padding: 4rem 2rem; + text-align: center; +} + +.trust-container h2 { + font-size: 2.5rem; + margin-bottom: 3rem; + font-weight: 700; +} + +.trust-elements { + display: -ms-grid; + display: grid; + -ms-grid-columns: (minmax(240px, 1fr)) [auto-fit]; + grid-template-columns: repeat( + auto-fit, + minmax(240px, 1fr) + ); /* Reduced from 280px to 240px */ + gap: 2rem; + max-width: 1200px; + margin: 0 auto; +} + +.trust-item { + padding: 2rem; + border-radius: 1rem; + position: relative; + overflow: hidden; + min-height: 250px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 1rem; + transition: var(--transition-normal); + cursor: pointer; + border: 1px solid rgba(255, 255, 255, 0.1); + -webkit-backdrop-filter: blur(10px); + backdrop-filter: blur(10px); + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +.trust-item:hover { + transform: translateY(-8px) scale(1.02); + box-shadow: var(--shadow-xl); +} + +.trust-item h3 { + font-size: 1.5rem; + font-weight: 600; + margin-bottom: 0.5rem; +} + +.trust-item p { + font-size: 1rem; + line-height: 1.6; + opacity: 0.9; +} +.trust-video-container { + display: flex; + align-items: center; + justify-content: center; + padding-top: 3rem; +} + +/* Mobile optimization for trust section */ +@media (max-width: 480px) { + .trust-elements { + grid-template-columns: 1fr; /* Single column on very small screens */ + gap: 1rem; + } + + .trust-item { + padding: 1.5rem; + min-height: 200px; + } + + .trust-item h3 { + font-size: 1.25rem; + } + + .trust-item p { + font-size: 0.9rem; + } +} + +@media (max-width: 320px) { + .trust-elements { + gap: 0.75rem; + } + + .trust-item { + padding: 1rem; + min-height: 180px; + } +} + +/* Optimized Leafy Textures */ +.trust-item.leafy-texture { + background: radial-gradient( + circle at 25% 25%, + rgba(26, 75, 15, 0.8) 0%, + transparent 50% + ), + radial-gradient( + circle at 75% 75%, + rgba(45, 80, 22, 0.8) 0%, + transparent 50% + ), + linear-gradient( + 135deg, + #1a4b0f 0%, + #2d5016 25%, + #4a7c59 50%, + #52b788 75%, + #74c69d 100% + ); + color: var(--white); +} + +.trust-item.leafy-texture::before { + content: ""; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: conic-gradient( + from 0deg at 20% 20%, + transparent 0deg, + rgba(255, 255, 150, 0.1) 60deg, + transparent 120deg + ), + conic-gradient( + from 120deg at 80% 80%, + transparent 0deg, + rgba(255, 255, 150, 0.08) 60deg, + transparent 120deg + ), + conic-gradient( + from 240deg at 50% 50%, + transparent 0deg, + rgba(255, 255, 150, 0.12) 60deg, + transparent 120deg + ); + background-size: 60px 60px, 45px 45px, 75px 75px; + opacity: 0.6; + z-index: 1; +} + +.trust-item.leafy-texture::after { + content: ""; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: linear-gradient( + 45deg, + transparent 48%, + rgba(255, 255, 100, 0.3) 49%, + rgba(255, 255, 100, 0.4) 50%, + rgba(255, 255, 100, 0.3) 51%, + transparent 52% + ), + linear-gradient( + -45deg, + transparent 48%, + rgba(255, 255, 100, 0.2) 49%, + rgba(255, 255, 100, 0.3) 50%, + rgba(255, 255, 100, 0.2) 51%, + transparent 52% + ); + background-size: 100px 100px, 80px 80px; + opacity: 0.4; + z-index: 2; +} + +.trust-item.leafy-texture > * { + position: relative; + z-index: 10; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); +} + +/* Simplified Alternative Textures */ +.trust-item.emerald-leaf { + background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #10b981 100%); + color: var(--white); +} + +.trust-item.sage-leaf { + background: linear-gradient(135deg, #365314 0%, #4d7c0f 50%, #84cc16 100%); + color: var(--white); +} + +.trust-item.forest-leaf { + background: linear-gradient( + 135deg, + #1f2937 0%, + #374151 25%, + #059669 75%, + #34d399 100% + ); + color: var(--white); +} + +/* Trade Shows - Refined */ +.trade-shows { + padding: 4rem 2rem; + display: -ms-grid; + display: grid; + -ms-grid-columns: (minmax(250px, 1fr)) [auto-fit]; + grid-template-columns: repeat( + auto-fit, + minmax(250px, 1fr) + ); /* Reduced from 300px to 250px */ + gap: 2rem; +} + +.trade-shows-container { + max-width: 1200px; + margin: 0 auto; + text-align: center; +} + +.trade-shows h2 { + font-size: 2.5rem; + color: var(--green700); + margin-bottom: 3rem; + font-weight: 700; +} +.trade-show-link { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + gap: 2rem; +} +.trade-show-item { + background: var(--green400); + padding: 2rem; + border-radius: 1rem; + box-shadow: var(--shadow-md); + transition: var(--transition-normal); + position: relative; + overflow: hidden; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 1rem; + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +.trade-show-item:hover { + transform: translateY(-4px); + box-shadow: 4px 4px 8px var(--green200); +} + +.trade-show-item.leafy-texture { + background: linear-gradient( + 135deg, + #1a4b0f 0%, + #2d5016 25%, + #4a7c59 75%, + #52b788 100% + ); + color: var(--white); +} + +.trade-show-item.leafy-texture::before { + content: ""; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: radial-gradient( + circle at 30% 30%, + rgba(255, 255, 150, 0.1) 0%, + transparent 40% + ), + radial-gradient( + circle at 70% 70%, + rgba(255, 255, 150, 0.08) 0%, + transparent 40% + ); + background-size: 80px 80px, 60px 60px; + opacity: 0.7; + z-index: 1; +} + +.trade-show-item.leafy-texture > * { + position: relative; + z-index: 10; +} + +.trade-show-image { + width: 60px; /* Reduced from 80px */ + height: 60px; /* Reduced from 80px */ + background: rgba(255, 255, 255, 0.2); + border-radius: 50%; + margin: 0 auto 1.5rem; + display: flex; + align-items: center; + justify-content: center; + font-weight: 600; + transition: var(--transition-normal); + backdrop-filter: blur(10px); +} + +.trade-show-item:not(.leafy-texture) .trade-show-image { + background: var(--green); + color: var(--white); +} + +.trade-show-item:hover .trade-show-image { + transform: scale(1.1); +} + +.trade-show-item h3 { + font-size: 1.25rem; + margin-bottom: 1rem; + font-weight: 600; +} + +.trade-show-item p { + font-size: 1rem; + line-height: 1.6; + opacity: 0.9; +} + +.trade-show-item.leafy-texture::after { + content: ""; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: linear-gradient( + 45deg, + transparent 48%, + rgba(255, 255, 100, 0.4) 50%, + transparent 53% + ), + linear-gradient( + 85deg, + transparent 48%, + rgba(255, 255, 100, 0.3) 49%, + rgba(255, 255, 100, 0.5) 50%, + rgba(255, 255, 100, 0.3) 51%, + transparent 52% + ), + linear-gradient( + -25deg, + transparent 48%, + rgba(255, 255, 100, 0.3) 49%, + rgba(255, 255, 100, 0.5) 50%, + rgba(255, 255, 100, 0.3) 51%, + transparent 52% + ), + /* Fine vein network */ + linear-gradient( + 55deg, + transparent 49%, + rgba(255, 255, 120, 0.2) 49.5%, + rgba(255, 255, 120, 0.3) 50%, + rgba(255, 255, 120, 0.2) 50.5%, + transparent 51% + ), + linear-gradient( + -35deg, + transparent 49%, + rgba(255, 255, 120, 0.2) 49.5%, + rgba(255, 255, 120, 0.3) 50%, + rgba(255, 255, 120, 0.2) 50.5%, + transparent 51% + ); + background-size: 140px 90px, 150px 95px, 120px 80px, 130px 85px, 30px 30px, + 32px 32px; + background-position: 0 0, 70px 45px, 35px 25px, 90px 15px, 0 0, 15px 15px; + z-index: 2; +} + +.trade-show-item.leafy-texture * { + position: relative; + z-index: 10; + text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); +} + +.trade-show-image { + border-radius: 20%; + box-shadow: 0 5px 20px rgba(28, 66, 25, 0.05); + width: 150px; /* Reduced from 200px */ + height: 150px; /* Reduced from 200px */ + background: #e5e7eb; + margin: 0 auto; + display: flex; + align-items: center; + justify-content: center; +} +.trade-show-image:hover { + transform: scale(1.05); + box-shadow: 0 5px 20px rgba(28, 66, 25, 0.1); +} + +/* Mobile optimization for trade shows */ +@media (max-width: 480px) { + .trade-shows { + grid-template-columns: 1fr; /* Single column on very small screens */ + gap: 1rem; + padding: 2rem 1rem; + } + + .trade-show-item { + padding: 1.5rem; + } + + .trade-show-image { + width: 120px; + height: 120px; + } + + .trade-show-item h3 { + font-size: 1.1rem; + } + + .trade-show-item p { + font-size: 0.9rem; + } +} + +@media (max-width: 320px) { + .trade-shows { + padding: 1.5rem 0.5rem; + } + + .trade-show-item { + padding: 1rem; + } + + .trade-show-image { + width: 100px; + height: 100px; + } +} + +/* Reviews Slider - ENHANCED REALISTIC DESIGN */ + +.reviews-container { + position: relative; + width: 100%; + max-width: 800px; + margin: 0 auto 3rem auto; + overflow: hidden; + background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); + border-radius: 16px; + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04); + padding: 0; + box-sizing: border-box; + border: 1px solid rgba(0, 0, 0, 0.05); +} + +.reviews-slider { + display: flex; + transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); +} + +.review-slide { + flex: 0 0 100%; + padding: 2.5rem; + box-sizing: border-box; + display: flex; + flex-direction: column; + gap: 1.5rem; +} + +/* Review Header with Avatar and Info */ +.review-header { + display: flex; + align-items: flex-start; + gap: 1rem; + margin-bottom: 1rem; +} + +.reviewer-info { + display: flex; + align-items: center; + gap: 1rem; + flex: 1; +} + +.reviewer-avatar { + width: 48px; + height: 48px; + border-radius: 50%; + background: linear-gradient(135deg, var(--green400) 0%, var(--green600) 100%); + display: flex; + align-items: center; + justify-content: center; + color: white; + font-weight: 600; + font-size: 1rem; + font-family: var(--heading-font); + box-shadow: 0 2px 8px rgba(28, 66, 25, 0.2); +} + +.reviewer-details { + flex: 1; +} + +.reviewer-name { + font-family: var(--heading-font); + font-size: 1.1rem; + font-weight: 600; + color: var(--green); + margin: 0 0 0.25rem 0; +} + +.review-meta { + display: flex; + flex-direction: column; + gap: 0.25rem; +} + +.star-rating { + color: #ffc107; + font-size: 1rem; + display: flex; + gap: 2px; +} + +.star-rating .fa-star { + filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1)); +} + +.review-date { + font-size: 0.85rem; + color: #6c757d; + font-family: var(--body-font); +} + +/* Review Content */ +.review-text { + font-size: 1rem; + line-height: 1.7; + color: #2c3e50; + margin: 0; + font-family: var(--body-font); + text-align: left; + position: relative; + padding-left: 1rem; +} + +.review-text::before { + content: '"'; + position: absolute; + left: -0.5rem; + top: -0.5rem; + font-size: 3rem; + color: var(--green200); + font-family: Georgia, serif; + line-height: 1; +} + +/* Product Tag */ +.review-product { + margin-top: auto; + padding-top: 1rem; + border-top: 1px solid #e9ecef; +} + +.product-tag { + display: inline-block; + background: linear-gradient(135deg, var(--green100) 0%, var(--green200) 100%); + color: var(--green); + padding: 0.5rem 1rem; + border-radius: 20px; + font-size: 0.85rem; + font-weight: 500; + font-family: var(--heading-font); + border: 1px solid var(--green200); +} + +.slider-nav { + position: absolute; + top: 50%; + left: 0; + width: 100%; + display: flex; + justify-content: space-between; + transform: translateY(-50%); + padding: 0 1rem; + box-sizing: border-box; + pointer-events: none; +} + +.nav-button { + background: linear-gradient(135deg, var(--green) 0%, var(--green600) 100%); + color: white; + border: none; + border-radius: 50%; + width: 48px; + height: 48px; + display: flex; + justify-content: center; + align-items: center; + font-size: 1.2rem; + cursor: pointer; + transition: all 0.3s ease; + box-shadow: 0 4px 12px rgba(28, 66, 25, 0.3); + pointer-events: auto; + border: 2px solid rgba(255, 255, 255, 0.2); +} + +.nav-button:hover { + background: linear-gradient(135deg, var(--green600) 0%, var(--green700) 100%); + transform: scale(1.1); + box-shadow: 0 6px 16px rgba(28, 66, 25, 0.4); +} + +/* Enhanced mobile responsiveness for reviews */ +@media (max-width: 768px) { + .reviews-container { + max-width: 95%; + margin: 0 auto 2rem auto; + border-radius: 12px; + } + + .review-slide { + padding: 2rem; + } + + .reviewer-avatar { + width: 40px; + height: 40px; + font-size: 0.9rem; + } + + .reviewer-name { + font-size: 1rem; + } + + .review-text { + font-size: 0.95rem; + line-height: 1.6; + } + + .nav-button { + width: 40px; + height: 40px; + font-size: 1rem; + } +} + +@media (max-width: 480px) { + .reviews-container { + max-width: 98%; + border-radius: 8px; + } + + .review-slide { + padding: 1.5rem; + } + + .review-header { + flex-direction: column; + align-items: flex-start; + gap: 0.75rem; + } + + .reviewer-info { + flex-direction: column; + align-items: flex-start; + gap: 0.5rem; + } + + .reviewer-avatar { + width: 36px; + height: 36px; + font-size: 0.8rem; + } + + .reviewer-name { + font-size: 0.95rem; + } + + .review-text { + font-size: 0.9rem; + line-height: 1.5; + padding-left: 0.75rem; + } + + .review-text::before { + left: -0.25rem; + top: -0.25rem; + font-size: 2rem; + } + + .product-tag { + font-size: 0.8rem; + padding: 0.4rem 0.8rem; + } + + .nav-button { + width: 36px; + height: 36px; + font-size: 0.9rem; + } +} + +@media (max-width: 360px) { + .review-slide { + padding: 1rem; + } + + .review-text { + font-size: 0.85rem; + } + + .reviewer-name { + font-size: 0.9rem; + } + + .product-tag { + font-size: 0.75rem; + padding: 0.3rem 0.6rem; + } +} + +/* ===== iOS SAFARI SPECIFIC FIXES ===== */ +@supports (-webkit-touch-callout: none) { + /* iOS Safari viewport height fixes */ + .hero-banner, + .hero-content { + min-height: 100vh; + min-height: -webkit-fill-available; + } + + /* iOS Safari text rendering fixes */ + body { + -webkit-text-size-adjust: 100%; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + } + + /* iOS Safari flexbox fixes */ + .hero-content, + .BelowFoldSectionWrapper, + .trust-elements, + .trade-shows { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + } + + /* iOS Safari transform and animation fixes */ + .hero-nav, + .trust-item, + .trade-show-item, + .hero-text-content { + -webkit-transform: translateZ(0); + transform: translateZ(0); + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + } + + /* iOS Safari backdrop-filter fixes */ + .glass, + .hero-nav, + .trust-item { + -webkit-backdrop-filter: blur(10px); + backdrop-filter: blur(10px); + } + + /* iOS Safari gradient fixes */ + .BelowFoldSection::before, + .trust-item.leafy-texture, + .trade-show-item.leafy-texture { + -webkit-background-clip: border-box; + background-clip: border-box; + } + + /* iOS Safari image fixes */ + .hero-image, + .BelowFoldImage, + .trade-show-image { + -webkit-transform: translateZ(0); + transform: translateZ(0); + } + + /* iOS Safari button fixes */ + .button, + .shop-now, + .learn-more, + .newsletter-button { + appearance: none; + -webkit-border-radius: 1rem; + border-radius: 1rem; + -webkit-transform: translateZ(0); + transform: translateZ(0); + } + + /* iOS Safari input fixes */ + input, + textarea, + select { + appearance: none; + -webkit-appearance: none; + -webkit-border-radius: var(--style-border-radius-inputs); + border-radius: var(--style-border-radius-inputs); + } + + /* iOS Safari scroll fixes */ + .hero-banner, + .BelowFoldSection { + -webkit-overflow-scrolling: touch; + } +} + +/* Additional iOS fixes for older versions */ +@media screen and (-webkit-min-device-pixel-ratio: 0) { + .hero-banner { + min-height: 100vh; + min-height: -webkit-fill-available; + } + + .hero-content { + height: 100vh; + height: -webkit-fill-available; + } + + /* Fix for iOS Safari flexbox gap issues */ + + .BelowFoldSectionWrapper, + .trust-elements, + .trade-shows { + gap: 1rem; + } + + /* Fix for iOS Safari grid issues */ + .trust-elements, + .trade-shows { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + } + + .trust-item, + .trade-show-item { + -webkit-box-flex: 1; + -webkit-flex: 1 1 240px; + -ms-flex: 1 1 240px; + flex: 1 1 240px; + } +} + +/* === hero-banner.css === */ + +/* iOS Safari specific fixes */ +@supports (-webkit-touch-callout: none) { + /* iOS Safari viewport height fix */ + .hero-banner { + min-height: 100vh; + min-height: -webkit-fill-available; + } + + .hero-content { + height: 100vh; + height: -webkit-fill-available; + } + + /* iOS Safari flexbox fixes */ + .hero-content { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + } + + /* iOS Safari transform fixes */ + .hero-nav { + -webkit-transform: translateZ(0); + transform: translateZ(0); + } +} + +/* Reset any default margins/padding that might cause gaps */ +.hero-banner { + position: relative; + width: 100%; + min-height: 100vh; + overflow: hidden; + padding: 0; +} + +/* Hero Banner - Clean Version (Navigation removed) */ + +/* Main Hero Layout */ +.hero-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: 100vh; + width: 100%; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.hero-image-section { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + position: relative; + overflow: hidden; +} + +.hero-image { + width: 100%; + height: 100%; + object-fit: cover; + object-position: center; + filter: brightness(0.5); +} + +.hero-text-section { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + background: var(--green900); /* Changed background to dark green */ +} + +/* Pattern Background */ +.pattern-background { + position: absolute; + inset: 0; + background-size: cover; + background-position: center; + background-repeat: no-repeat; + opacity: 0.75; +} + +.hero-text-content { + position: relative; + z-index: 2; + text-align: center; + padding: 3rem; + max-width: 500px; + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +.wordmark { + max-width: 90%; + width: 350px; + height: auto; + margin-top: 6rem; + filter: brightness(0) invert(1); +} + +.hero-description { + margin-top: 1rem; +} + +.hero-description p { + color: var(--white); + font-family: var(--body-font); + font-size: 1rem; + line-height: 1.5; + margin: 0; + font-weight: 500; + letter-spacing: 1px; + max-width: 400px; +} + +.underline-text { + text-decoration: underline; + text-decoration-color: var(--blue); + text-decoration-thickness: 2px; + text-underline-offset: 4px; +} + +/* Mobile Responsive */ +@media (max-width: 768px) { + .hero-content { + flex-direction: column; + height: auto; + min-height: 100vh; + } + + .hero-image-section { + height: 50vh; + } + + .hero-text-section { + min-height: 50vh; + padding: 1rem; + background: var(--green900); /* Changed background to dark green */ + } + + .hero-text-content { + padding: 2rem 1rem; + } + + .hero-description p { + font-size: 1rem; + } + + .wordmark { + width: 280px; + margin-bottom: 2rem; + } + + .pattern-background { + opacity: 0; + background-image: none var(--green800); /* Removed pattern background image */ + } +} + +@media (max-width: 480px) { + .pattern-background { + opacity: 0; + } + .hero-text-content { + padding: 1.5rem 0.5rem; + } + + .wordmark { + width: 250px; + margin-bottom: 1.5rem; + } + + .hero-description p { + font-size: 0.95rem; + } + + .pattern-background { + background-size: 200px 200px; + } +} + +/* Additional mobile optimization for very small screens */ +@media (max-width: 320px) { + .wordmark { + width: 200px; + } + + .hero-description p { + font-size: 0.875rem; + } +} + +/* Below Fold Styles - ENHANCED WITH MOBILE RESPONSIVENESS */ +/* Below Fold Styles - Cross-Browser Compatible */ +.BelowFoldSection { + background: #1e3c27; + color: var(--grey); + border-radius: 0 0 2rem 2rem; + position: relative; + overflow: hidden; + padding: 2rem; /* Added base padding */ +} + +.BelowFoldSection::before { + content: ""; + position: absolute; + top: -50%; + left: -50%; + width: 200%; + height: 200%; + background: linear-gradient( + 45deg, + #1e3c27 0%, + #2d5a3d 20%, + #1a7431 40%, + #0f5132 60%, + #2d5a3d 80%, + #1e3c27 100% + ); + /* Cross-browser animation */ + -webkit-animation: gradientRotate 8s linear infinite; + -moz-animation: gradientRotate 8s linear infinite; + -ms-animation: gradientRotate 8s linear infinite; + -o-animation: gradientRotate 8s linear infinite; + animation: gradientRotate 8s linear infinite; + z-index: 1; + /* Performance optimizations */ + will-change: transform; + backface-visibility: hidden; + -webkit-backface-visibility: hidden; +} + +.BelowFoldSectionWrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + position: relative; + z-index: 2; + max-width: 1200px; /* Added max-width for better control */ + margin: 0 auto; /* Center the wrapper */ +} + +/* Cross-browser keyframes */ +@-webkit-keyframes gradientRotate { + 0% { + -webkit-transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + } +} + +@-moz-keyframes gradientRotate { + 0% { + -moz-transform: rotate(0deg); + } + 100% { + -moz-transform: rotate(360deg); + } +} + +@-ms-keyframes gradientRotate { + 0% { + -ms-transform: rotate(0deg); + } + 100% { + -ms-transform: rotate(360deg); + } +} + +@-o-keyframes gradientRotate { + 0% { + -o-transform: rotate(0deg); + } + 100% { + -o-transform: rotate(360deg); + } +} + +@keyframes gradientRotate { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} + +.BelowFoldLeft { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding: 2rem; + text-align: left; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; + gap: 1rem; + min-width: 300px; /* Added min-width for better control */ +} + +.BelowFoldRight { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding: 2rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: end; + -webkit-align-items: flex-end; + -ms-flex-align: end; + align-items: flex-end; + min-width: 300px; /* Added min-width for better control */ +} + +/* BelowFold Image Styling */ +.BelowFoldImage { + max-width: 100%; + height: auto; + border-radius: 50%; + box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); +} + +/* BelowFold Typography */ +.BelowFoldLeft h2 { + font-family: var(--heading-font); + font-size: 2.5rem; + font-weight: 700; + color: var(--white); + margin-bottom: 1rem; + line-height: 1.2; +} + +.BelowFoldLeft .hero-description p { + font-family: var(--body-font); + font-size: 1.1rem; + line-height: 1.6; + color: var(--grey); + margin-bottom: 1.5rem; +} + +/* CTAs Styling */ +.Hero-ctas { + display: flex; + gap: 1rem; + flex-wrap: wrap; /* Allow wrapping on small screens */ +} + +.Hero-ctas .button { + padding: 0.75rem 1.5rem; + border-radius: 0.5rem; + text-decoration: none; + font-family: var(--heading-font); + font-weight: 600; + font-size: 1rem; + transition: all 0.3s ease; + border: 2px solid transparent; + min-width: 140px; /* Ensure minimum button width */ + text-align: center; +} + +.Hero-ctas .learn-more { + background: transparent; + color: var(--white); + border-color: var(--white); +} + +.Hero-ctas .learn-more:hover { + background: var(--white); + color: var(--green); +} + +.Hero-ctas .shop-now { + background: var(--blue); + color: var(--white); + border-color: var(--blue); +} + +.Hero-ctas .shop-now:hover { + background: transparent; + color: var(--blue); + border-color: var(--blue); +} + +/* MOBILE RESPONSIVENESS FOR BELOWFOLD SECTION */ + +/* Tablet and large mobile screens */ +@media (max-width: 768px) { + .BelowFoldSection { + padding: 1.5rem; + border-radius: 0 0 1.5rem 1.5rem; + } + + .BelowFoldSectionWrapper { + flex-direction: column; /* Stack vertically on mobile */ + text-align: center; /* Center align content */ + } + + .BelowFoldLeft { + text-align: center; /* Center text on mobile */ + align-items: center; /* Center align items */ + padding: 1.5rem; + order: 1; /* Text comes first */ + } + + .BelowFoldRight { + align-items: center; /* Center align image */ + padding: 1.5rem; + order: 2; /* Image comes second */ + } + + .BelowFoldLeft h2 { + font-size: 2rem; + text-align: center; + } + + .BelowFoldLeft .hero-description p { + font-size: 1rem; + text-align: center; + max-width: 500px; /* Limit text width for readability */ + } + + .Hero-ctas { + justify-content: center; /* Center CTAs */ + width: 100%; + } + + .BelowFoldImage { + max-width: 300px; /* Reduce image size on mobile */ + width: 100%; + } +} + +/* Standard mobile phones */ +@media (max-width: 480px) { + .BelowFoldSection { + padding: 1rem; + border-radius: 0 0 1rem 1rem; + margin: 0; + } + + .BelowFoldLeft { + padding: 1rem; + } + + .BelowFoldRight { + padding: 1rem; + } + + .BelowFoldLeft h2 { + font-size: 1.75rem; + } + + .BelowFoldLeft .hero-description p { + font-size: 0.95rem; + line-height: 1.5; + } + + .Hero-ctas { + flex-direction: column; /* Stack buttons vertically */ + gap: 0.75rem; + width: 100%; + } + + .Hero-ctas .button { + width: 100%; /* Full width buttons on mobile */ + max-width: 280px; /* But not too wide */ + padding: 0.875rem 1rem; + font-size: 0.95rem; + } + + .BelowFoldImage { + max-width: 250px; + } +} + +/* Very small mobile screens */ +@media (max-width: 320px) { + .BelowFoldSection { + padding: 0.75rem; + margin: 0; + } + + .BelowFoldLeft { + padding: 0.75rem; + } + + .BelowFoldRight { + padding: 0.75rem; + } + + .BelowFoldLeft h2 { + font-size: 1.5rem; + } + + .BelowFoldLeft .hero-description p { + font-size: 0.9rem; + } + + .Hero-ctas .button { + padding: 0.75rem 0.875rem; + font-size: 0.9rem; + max-width: 240px; + } + + .BelowFoldImage { + max-width: 200px; + } +} + +/* Featured Products */ +/* .featured-products { +} */ + +/* CTAs */ +.Hero-ctas { + display: flex; + gap: 1rem; +} +/* About Styles */ +.about-content { + display: flex; + flex-wrap: wrap; + justify-content: center; + align-items: center; + gap: auto; + padding: 2rem; + border: var(--green) 1px solid top bottom; +} +.about-title { + color: var(--green); + flex: 1; + padding: 2rem; + text-align: center; + display: flex; + + gap: 1rem; +} +.about-text { + color: var(--green); + flex: 1; + padding: 2rem; + text-align: left; + font-size: 1rem; + display: flex; + flex-direction: column; + justify-content: center; + align-items: flex-start; + gap: 1rem; +} +/* Newsletter Styles */ +.newsletter-container { + background: var(--green600); + color: var(--grey); + padding: 2rem; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + gap: 1rem; +} +.newsletter-text { + color: var(--grey); + text-align: center; + max-width: 50ch; +} +.newsletter-form { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + gap: 1rem; +} + +/* Trust Section - Optimized */ +.trust { + background: linear-gradient(135deg, var(--green700) 0%, var(--green800) 100%); + color: var(--white); +} + +.trust-container { + padding: 4rem 2rem; + text-align: center; +} + +.trust-container h2 { + font-size: 2.5rem; + margin-bottom: 3rem; + font-weight: 700; +} + +.trust-elements { + display: -ms-grid; + display: grid; + -ms-grid-columns: (minmax(240px, 1fr)) [auto-fit]; + grid-template-columns: repeat( + auto-fit, + minmax(240px, 1fr) + ); /* Reduced from 280px to 240px */ + gap: 2rem; + max-width: 1200px; + margin: 0 auto; +} + +.trust-item { + padding: 2rem; + border-radius: 1rem; + position: relative; + overflow: hidden; + min-height: 250px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 1rem; + transition: var(--transition-normal); + cursor: pointer; + border: 1px solid rgba(255, 255, 255, 0.1); + -webkit-backdrop-filter: blur(10px); + backdrop-filter: blur(10px); + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +.trust-item:hover { + transform: translateY(-8px) scale(1.02); + box-shadow: var(--shadow-xl); +} + +.trust-item h3 { + font-size: 1.5rem; + font-weight: 600; + margin-bottom: 0.5rem; +} + +.trust-item p { + font-size: 1rem; + line-height: 1.6; + opacity: 0.9; +} +.trust-video-container { + display: flex; + align-items: center; + justify-content: center; + padding-top: 3rem; +} + +/* Mobile optimization for trust section */ +@media (max-width: 480px) { + .trust-elements { + grid-template-columns: 1fr; /* Single column on very small screens */ + gap: 1rem; + } + + .trust-item { + padding: 1.5rem; + min-height: 200px; + } + + .trust-item h3 { + font-size: 1.25rem; + } + + .trust-item p { + font-size: 0.9rem; + } +} + +@media (max-width: 320px) { + .trust-elements { + gap: 0.75rem; + } + + .trust-item { + padding: 1rem; + min-height: 180px; + } +} + +/* Optimized Leafy Textures */ +.trust-item.leafy-texture { + background: radial-gradient( + circle at 25% 25%, + rgba(26, 75, 15, 0.8) 0%, + transparent 50% + ), + radial-gradient( + circle at 75% 75%, + rgba(45, 80, 22, 0.8) 0%, + transparent 50% + ), + linear-gradient( + 135deg, + #1a4b0f 0%, + #2d5016 25%, + #4a7c59 50%, + #52b788 75%, + #74c69d 100% + ); + color: var(--white); +} + +.trust-item.leafy-texture::before { + content: ""; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: conic-gradient( + from 0deg at 20% 20%, + transparent 0deg, + rgba(255, 255, 150, 0.1) 60deg, + transparent 120deg + ), + conic-gradient( + from 120deg at 80% 80%, + transparent 0deg, + rgba(255, 255, 150, 0.08) 60deg, + transparent 120deg + ), + conic-gradient( + from 240deg at 50% 50%, + transparent 0deg, + rgba(255, 255, 150, 0.12) 60deg, + transparent 120deg + ); + background-size: 60px 60px, 45px 45px, 75px 75px; + opacity: 0.6; + z-index: 1; +} + +.trust-item.leafy-texture::after { + content: ""; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: linear-gradient( + 45deg, + transparent 48%, + rgba(255, 255, 100, 0.3) 49%, + rgba(255, 255, 100, 0.4) 50%, + rgba(255, 255, 100, 0.3) 51%, + transparent 52% + ), + linear-gradient( + -45deg, + transparent 48%, + rgba(255, 255, 100, 0.2) 49%, + rgba(255, 255, 100, 0.3) 50%, + rgba(255, 255, 100, 0.2) 51%, + transparent 52% + ); + background-size: 100px 100px, 80px 80px; + opacity: 0.4; + z-index: 2; +} + +.trust-item.leafy-texture > * { + position: relative; + z-index: 10; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); +} + +/* Simplified Alternative Textures */ +.trust-item.emerald-leaf { + background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #10b981 100%); + color: var(--white); +} + +.trust-item.sage-leaf { + background: linear-gradient(135deg, #365314 0%, #4d7c0f 50%, #84cc16 100%); + color: var(--white); +} + +.trust-item.forest-leaf { + background: linear-gradient( + 135deg, + #1f2937 0%, + #374151 25%, + #059669 75%, + #34d399 100% + ); + color: var(--white); +} + +/* Trade Shows - Refined */ +.trade-shows { + padding: 4rem 2rem; + display: -ms-grid; + display: grid; + -ms-grid-columns: (minmax(250px, 1fr)) [auto-fit]; + grid-template-columns: repeat( + auto-fit, + minmax(250px, 1fr) + ); /* Reduced from 300px to 250px */ + gap: 2rem; +} + +.trade-shows-container { + max-width: 1200px; + margin: 0 auto; + text-align: center; +} + +.trade-shows h2 { + font-size: 2.5rem; + color: var(--green700); + margin-bottom: 3rem; + font-weight: 700; +} +.trade-show-link { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + gap: 2rem; +} +.trade-show-item { + background: var(--green400); + padding: 2rem; + border-radius: 1rem; + box-shadow: var(--shadow-md); + transition: var(--transition-normal); + position: relative; + overflow: hidden; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 1rem; + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +.trade-show-item:hover { + transform: translateY(-4px); + box-shadow: 4px 4px 8px var(--green200); +} + +.trade-show-item.leafy-texture { + background: linear-gradient( + 135deg, + #1a4b0f 0%, + #2d5016 25%, + #4a7c59 75%, + #52b788 100% + ); + color: var(--white); +} + +.trade-show-item.leafy-texture::before { + content: ""; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: radial-gradient( + circle at 30% 30%, + rgba(255, 255, 150, 0.1) 0%, + transparent 40% + ), + radial-gradient( + circle at 70% 70%, + rgba(255, 255, 150, 0.08) 0%, + transparent 40% + ); + background-size: 80px 80px, 60px 60px; + opacity: 0.7; + z-index: 1; +} + +.trade-show-item.leafy-texture > * { + position: relative; + z-index: 10; +} + +.trade-show-image { + width: 60px; /* Reduced from 80px */ + height: 60px; /* Reduced from 80px */ + background: rgba(255, 255, 255, 0.2); + border-radius: 50%; + margin: 0 auto 1.5rem; + display: flex; + align-items: center; + justify-content: center; + font-weight: 600; + transition: var(--transition-normal); + backdrop-filter: blur(10px); +} + +.trade-show-item:not(.leafy-texture) .trade-show-image { + background: var(--green); + color: var(--white); +} + +.trade-show-item:hover .trade-show-image { + transform: scale(1.1); +} + +.trade-show-item h3 { + font-size: 1.25rem; + margin-bottom: 1rem; + font-weight: 600; +} + +.trade-show-item p { + font-size: 1rem; + line-height: 1.6; + opacity: 0.9; +} + +.trade-show-item.leafy-texture::after { + content: ""; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: linear-gradient( + 45deg, + transparent 48%, + rgba(255, 255, 100, 0.4) 50%, + transparent 53% + ), + linear-gradient( + 85deg, + transparent 48%, + rgba(255, 255, 100, 0.3) 49%, + rgba(255, 255, 100, 0.5) 50%, + rgba(255, 255, 100, 0.3) 51%, + transparent 52% + ), + linear-gradient( + -25deg, + transparent 48%, + rgba(255, 255, 100, 0.3) 49%, + rgba(255, 255, 100, 0.5) 50%, + rgba(255, 255, 100, 0.3) 51%, + transparent 52% + ), + /* Fine vein network */ + linear-gradient( + 55deg, + transparent 49%, + rgba(255, 255, 120, 0.2) 49.5%, + rgba(255, 255, 120, 0.3) 50%, + rgba(255, 255, 120, 0.2) 50.5%, + transparent 51% + ), + linear-gradient( + -35deg, + transparent 49%, + rgba(255, 255, 120, 0.2) 49.5%, + rgba(255, 255, 120, 0.3) 50%, + rgba(255, 255, 120, 0.2) 50.5%, + transparent 51% + ); + background-size: 140px 90px, 150px 95px, 120px 80px, 130px 85px, 30px 30px, + 32px 32px; + background-position: 0 0, 70px 45px, 35px 25px, 90px 15px, 0 0, 15px 15px; + z-index: 2; +} + +.trade-show-item.leafy-texture * { + position: relative; + z-index: 10; + text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); +} + +.trade-show-image { + border-radius: 20%; + box-shadow: 0 5px 20px rgba(28, 66, 25, 0.05); + width: 150px; /* Reduced from 200px */ + height: 150px; /* Reduced from 200px */ + background: #e5e7eb; + margin: 0 auto; + display: flex; + align-items: center; + justify-content: center; +} +.trade-show-image:hover { + transform: scale(1.05); + box-shadow: 0 5px 20px rgba(28, 66, 25, 0.1); +} + +/* Mobile optimization for trade shows */ +@media (max-width: 480px) { + .trade-shows { + grid-template-columns: 1fr; /* Single column on very small screens */ + gap: 1rem; + padding: 2rem 1rem; + } + + .trade-show-item { + padding: 1.5rem; + } + + .trade-show-image { + width: 120px; + height: 120px; + } + + .trade-show-item h3 { + font-size: 1.1rem; + } + + .trade-show-item p { + font-size: 0.9rem; + } +} + +@media (max-width: 320px) { + .trade-shows { + padding: 1.5rem 0.5rem; + } + + .trade-show-item { + padding: 1rem; + } + + .trade-show-image { + width: 100px; + height: 100px; + } +} + +/* Reviews Slider - ENHANCED REALISTIC DESIGN */ + +.reviews-container { + position: relative; + width: 100%; + max-width: 800px; + margin: 0 auto 3rem auto; + overflow: hidden; + background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); + border-radius: 16px; + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04); + padding: 0; + box-sizing: border-box; + border: 1px solid rgba(0, 0, 0, 0.05); +} + +.reviews-slider { + display: flex; + transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); +} + +.review-slide { + flex: 0 0 100%; + padding: 2.5rem; + box-sizing: border-box; + display: flex; + flex-direction: column; + gap: 1.5rem; +} + +/* Review Header with Avatar and Info */ +.review-header { + display: flex; + align-items: flex-start; + gap: 1rem; + margin-bottom: 1rem; +} + +.reviewer-info { + display: flex; + align-items: center; + gap: 1rem; + flex: 1; +} + +.reviewer-avatar { + width: 48px; + height: 48px; + border-radius: 50%; + background: linear-gradient(135deg, var(--green400) 0%, var(--green600) 100%); + display: flex; + align-items: center; + justify-content: center; + color: white; + font-weight: 600; + font-size: 1rem; + font-family: var(--heading-font); + box-shadow: 0 2px 8px rgba(28, 66, 25, 0.2); +} + +.reviewer-details { + flex: 1; +} + +.reviewer-name { + font-family: var(--heading-font); + font-size: 1.1rem; + font-weight: 600; + color: var(--green); + margin: 0 0 0.25rem 0; +} + +.review-meta { + display: flex; + flex-direction: column; + gap: 0.25rem; +} + +.star-rating { + color: #ffc107; + font-size: 1rem; + display: flex; + gap: 2px; +} + +.star-rating .fa-star { + filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1)); +} + +.review-date { + font-size: 0.85rem; + color: #6c757d; + font-family: var(--body-font); +} + +/* Review Content */ +.review-text { + font-size: 1rem; + line-height: 1.7; + color: #2c3e50; + margin: 0; + font-family: var(--body-font); + text-align: left; + position: relative; + padding-left: 1rem; +} + +.review-text::before { + content: '"'; + position: absolute; + left: -0.5rem; + top: -0.5rem; + font-size: 3rem; + color: var(--green200); + font-family: Georgia, serif; + line-height: 1; +} + +/* Product Tag */ +.review-product { + margin-top: auto; + padding-top: 1rem; + border-top: 1px solid #e9ecef; +} + +.product-tag { + display: inline-block; + background: linear-gradient(135deg, var(--green100) 0%, var(--green200) 100%); + color: var(--green); + padding: 0.5rem 1rem; + border-radius: 20px; + font-size: 0.85rem; + font-weight: 500; + font-family: var(--heading-font); + border: 1px solid var(--green200); +} + +.slider-nav { + position: absolute; + top: 50%; + left: 0; + width: 100%; + display: flex; + justify-content: space-between; + transform: translateY(-50%); + padding: 0 1rem; + box-sizing: border-box; + pointer-events: none; +} + +.nav-button { + background: linear-gradient(135deg, var(--green) 0%, var(--green600) 100%); + color: white; + border: none; + border-radius: 50%; + width: 48px; + height: 48px; + display: flex; + justify-content: center; + align-items: center; + font-size: 1.2rem; + cursor: pointer; + transition: all 0.3s ease; + box-shadow: 0 4px 12px rgba(28, 66, 25, 0.3); + pointer-events: auto; + border: 2px solid rgba(255, 255, 255, 0.2); +} + +.nav-button:hover { + background: linear-gradient(135deg, var(--green600) 0%, var(--green700) 100%); + transform: scale(1.1); + box-shadow: 0 6px 16px rgba(28, 66, 25, 0.4); +} + +/* Enhanced mobile responsiveness for reviews */ +@media (max-width: 768px) { + .reviews-container { + max-width: 95%; + margin: 0 auto 2rem auto; + border-radius: 12px; + } + + .review-slide { + padding: 2rem; + } + + .reviewer-avatar { + width: 40px; + height: 40px; + font-size: 0.9rem; + } + + .reviewer-name { + font-size: 1rem; + } + + .review-text { + font-size: 0.95rem; + line-height: 1.6; + } + + .nav-button { + width: 40px; + height: 40px; + font-size: 1rem; + } +} + +@media (max-width: 480px) { + .reviews-container { + max-width: 98%; + border-radius: 8px; + } + + .review-slide { + padding: 1.5rem; + } + + .review-header { + flex-direction: column; + align-items: flex-start; + gap: 0.75rem; + } + + .reviewer-info { + flex-direction: column; + align-items: flex-start; + gap: 0.5rem; + } + + .reviewer-avatar { + width: 36px; + height: 36px; + font-size: 0.8rem; + } + + .reviewer-name { + font-size: 0.95rem; + } + + .review-text { + font-size: 0.9rem; + line-height: 1.5; + padding-left: 0.75rem; + } + + .review-text::before { + left: -0.25rem; + top: -0.25rem; + font-size: 2rem; + } + + .product-tag { + font-size: 0.8rem; + padding: 0.4rem 0.8rem; + } + + .nav-button { + width: 36px; + height: 36px; + font-size: 0.9rem; + } +} + +@media (max-width: 360px) { + .review-slide { + padding: 1rem; + } + + .review-text { + font-size: 0.85rem; + } + + .reviewer-name { + font-size: 0.9rem; + } + + .product-tag { + font-size: 0.75rem; + padding: 0.3rem 0.6rem; + } +} + +/* ===== iOS SAFARI SPECIFIC FIXES ===== */ +@supports (-webkit-touch-callout: none) { + /* iOS Safari viewport height fixes */ + .hero-banner, + .hero-content { + min-height: 100vh; + min-height: -webkit-fill-available; + } + + /* iOS Safari text rendering fixes */ + body { + -webkit-text-size-adjust: 100%; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + } + + /* iOS Safari flexbox fixes */ + .hero-content, + .BelowFoldSectionWrapper, + .trust-elements, + .trade-shows { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + } + + /* iOS Safari transform and animation fixes */ + .hero-nav, + .trust-item, + .trade-show-item, + .hero-text-content { + -webkit-transform: translateZ(0); + transform: translateZ(0); + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + } + + /* iOS Safari backdrop-filter fixes */ + .glass, + .hero-nav, + .trust-item { + -webkit-backdrop-filter: blur(10px); + backdrop-filter: blur(10px); + } + + /* iOS Safari gradient fixes */ + .BelowFoldSection::before, + .trust-item.leafy-texture, + .trade-show-item.leafy-texture { + -webkit-background-clip: border-box; + background-clip: border-box; + } + + /* iOS Safari image fixes */ + .hero-image, + .BelowFoldImage, + .trade-show-image { + -webkit-transform: translateZ(0); + transform: translateZ(0); + } + + /* iOS Safari button fixes */ + .button, + .shop-now, + .learn-more, + .newsletter-button { + appearance: none; + -webkit-appearance: none; + -webkit-border-radius: 1rem; + border-radius: 1rem; + -webkit-transform: translateZ(0); + transform: translateZ(0); + } + + /* iOS Safari input fixes */ + input, + textarea, + select { + appearance: none; + -webkit-appearance: none; + -webkit-border-radius: var(--style-border-radius-inputs); + border-radius: var(--style-border-radius-inputs); + } + + /* iOS Safari scroll fixes */ + .hero-banner, + .BelowFoldSection { + -webkit-overflow-scrolling: touch; + } +} + +/* Additional iOS fixes for older versions */ +@media screen and (-webkit-min-device-pixel-ratio: 0) { + .hero-banner { + min-height: 100vh; + min-height: -webkit-fill-available; + } + + .hero-content { + height: 100vh; + height: -webkit-fill-available; + } + + /* Fix for iOS Safari flexbox gap issues */ + + .BelowFoldSectionWrapper, + .trust-elements, + .trade-shows { + gap: 1rem; + } + + /* Fix for iOS Safari grid issues */ + .trust-elements, + .trade-shows { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + } + + .trust-item, + .trade-show-item { + -webkit-box-flex: 1; + -webkit-flex: 1 1 240px; + -ms-flex: 1 1 240px; + flex: 1 1 240px; + } +} diff --git a/config/settings_schema.json b/config/settings_schema.json index ae703055..d003a659 100644 --- a/config/settings_schema.json +++ b/config/settings_schema.json @@ -3,7 +3,7 @@ "name": "theme_info", "theme_name": "Skeleton", "theme_version": "0.1.0", - "theme_author": "Shopify", + "theme_author": "SCM Design Studio", "theme_documentation_url": "https://help.shopify.com/manual/online-store/themes", "theme_support_url": "https://support.shopify.com/" }, @@ -80,4 +80,4 @@ } ] } -] +] \ No newline at end of file diff --git a/layout/theme.liquid b/layout/theme.liquid index 8123ab78..9516565f 100644 --- a/layout/theme.liquid +++ b/layout/theme.liquid @@ -1,6 +1,14 @@ + {% # iOS-specific meta tags %} + + + + {% # Inlined CSS Variables %} {% render 'css-variables' %} @@ -9,15 +17,154 @@ {% # Social, title, etc. %} {% render 'meta-tags' %} - {{ content_for_header }} + + {% # Load main styles without cache busting for iOS compatibility %} + {{ 'styles.css' | asset_url | stylesheet_tag }} + + {% # iOS-specific CSS fixes %} + - {% sections 'header-group' %} + {% # Include header on all pages except cart and checkout %} + {%- unless template contains 'cart' or template contains 'checkout' -%} + {% section 'header' %} + {%- endunless -%} {{ content_for_layout }} - {% sections 'footer-group' %} + {%- unless template contains 'cart' or template contains 'checkout' -%} + + + + {%- endunless -%} diff --git a/sections/BelowFold.liquid b/sections/BelowFold.liquid new file mode 100644 index 00000000..a717c6c6 --- /dev/null +++ b/sections/BelowFold.liquid @@ -0,0 +1,35 @@ +
+
+
+

Ready for Peace?

+
+

+ Elevate your living space with our globally inspired collection of handmade furniture, where craftsmanship + meets contemporary luxury. +

+
+ +
+
+ +
+
+
+ +{% schema %} +{ + "name": "Below Fold", + "settings": [] +} +{% endschema %} diff --git a/sections/about-section.liquid b/sections/about-section.liquid new file mode 100644 index 00000000..7faf0573 --- /dev/null +++ b/sections/about-section.liquid @@ -0,0 +1 @@ + diff --git a/sections/about-us-content.liquid b/sections/about-us-content.liquid new file mode 100644 index 00000000..5ef12104 --- /dev/null +++ b/sections/about-us-content.liquid @@ -0,0 +1,32 @@ +
+
+

{{ section.settings.heading }}

+
+ {{ section.settings.text }} +
+
+
+ +{% schema %} +{ + "name": "About Us Content", + "settings": [ + { + "type": "text", + "id": "heading", + "label": "Heading", + "default": "Our Story" + }, + { + "type": "richtext", + "id": "text", + "label": "Text" + } + ], + "presets": [ + { + "name": "About Us Content" + } + ] +} +{% endschema %} diff --git a/sections/about.liquid b/sections/about.liquid new file mode 100644 index 00000000..af44f332 --- /dev/null +++ b/sections/about.liquid @@ -0,0 +1,35 @@ + +
+
+
+ +
+

Crafted with Passion, Designed for Life

+

+ {% comment %} change this copy cos its whack {% endcomment %} + At Andra's Garden Heaven, we believe in the timeless beauty and enduring quality of handmade rattan furniture. + Based in Glasgow, we meticulously craft each piece to bring a touch of nature's tranquility and sustainable + elegance into your home. Our commitment to affordability ensures that exceptional design is accessible to + everyone, transforming your living spaces into serene havens. We are more than just furniture makers; we are + artisans dedicated to creating pieces that tell a story, built to last, and designed to enrich your everyday + life. +

+
+
+
+
+ +{% schema %} +{ + "name": "About", + "settings": [] +} +{% endschema %} diff --git a/sections/cart.liquid b/sections/cart.liquid index 6d7e4984..5cc0907d 100644 --- a/sections/cart.liquid +++ b/sections/cart.liquid @@ -5,33 +5,1477 @@ https://shopify.dev/docs/storefronts/themes/architecture/templates/cart {% endcomment %} -

{{ 'cart.title' | t }}

- -
- - {% for item in cart.items %} - - - - - - {% endfor %} -
- {% render 'image', image: item.image, url: item.url %} - -

{{ item.product.title }}

- {{ 'cart.remove' | t | link_to: item.url_to_remove }} -
- - -
- - -
+{% comment %} +

{{ 'cart.title' | t }}

+ +
+ + {% for item in cart.items %} + + + + + + {% endfor %} +
+ {% render 'image', image: item.image, url: item.url %} + +

{{ item.product.title }}

+ {{ 'cart.remove' | t | link_to: item.url_to_remove }} +
+ + +
+ + +
+ + {% schema %} + { + "name": "t:general.cart", + "settings": [] + } + {% endschema %} +{% endcomment %} + +{% comment %} Manus {% endcomment %} + +{% comment %} + This section is used in the cart template to render /cart page with an + overview of the items in customer's cart. + + https://shopify.dev/docs/storefronts/themes/architecture/templates/cart +{% endcomment %} + +{% comment %} + Enhanced Cart Section - Integrated with AGH Theme + This section provides a modern, mobile-first cart experience optimized for conversions + while maintaining consistency with the existing theme design language. +{% endcomment %} + +
+ +
+
+

Your Cart

+
+ {{ cart.item_count }} + item{% if cart.item_count != 1 %}s{% endif %} +
+
+ + +
+
+
1
+ Cart +
+
+
+
2
+ Checkout +
+
+
+
3
+ Complete +
+
+
+ + +
+ {% if cart.item_count > 0 %} + +
+ {% for item in cart.items %} +
+
+ {% if item.image %} + {{ item.product.title | escape }} +
In Stock
+ {% else %} +
+ + + +
+ {% endif %} +
+ +
+
+

{{ item.product.title }}

+ +
+ + {% if item.variant.title != 'Default Title' %} +
+ {% assign variant_options = item.variant.title | split: ' / ' %} + {% for option in variant_options %} + {{ option }} + {% endfor %} +
+ {% endif %} + +
+ {{ item.product.description | strip_html | truncatewords: 15 }} +
+ + +
+ + + + + Handcrafted + + + + + + Eco-Friendly + + + + + + Free Delivery + +
+ +
+
+ +
+ + + +
+
+ +
+ Price: + {{ item.price | money }} +
+
+ +
+ Item Total: + {{ item.line_price | money }} +
+
+
+ {% endfor %} + + + +
+ + + + {% else %} + +
+
+ + + +

Your cart is empty

+

Discover our beautiful handmade rattan furniture collection

+ Start Shopping +
+
+ {% endif %} +
+ + +
+
+
+ + + + Need Help? Call {{ shop.phone | default: '1-800-123-4567' }} +
+
+ + + + Live Chat Available +
+
+
+
+ +{% stylesheet %} + /* Enhanced Cart Styles - Integrated with AGH Theme */ + + .cart-container { + width: 100%; + max-width: 100%; + margin: 0; + padding: 1rem 0; + font-family: 'Elgian', serif; + background-color: var(--white, #fbfcff); + color: var(--black, #000); + min-height: 100vh; + overflow-x: hidden; + box-sizing: border-box; + } + + .cart-main, + .cart-items, + .cart-item, + .item-details { + width: 100%; + box-sizing: border-box; + } + + .item-description { + padding: 0 1rem; + margin: 0 auto; + word-break: break-word; + white-space: normal; + box-sizing: border-box; + } + + @media (max-width: 767px) { + .cart-container { + padding: 0.5rem 0; + } + .item-description { + padding: 0 0.75rem; + } + } + + /* Cart Header */ + .cart-header { + margin-bottom: 2rem; + padding-bottom: 1.5rem; + border-bottom: 2px solid var(--green100, #e3f5d7); + } + + .cart-header-content { + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 1.5rem; + gap: 1rem; + } + + .cart-title { + font-family: 'Futura', sans-serif; + font-size: 2rem; + font-weight: 600; + color: var(--green, #1c4219); + margin: 0; + } + + .cart-count { + font-size: 1.1rem; + color: var(--green400, #558d4b); + } + + .item-count { + font-weight: 600; + color: var(--green, #1c4219); + } + + /* Progress Indicator */ + .progress-indicator { + display: flex; + align-items: center; + justify-content: center; + gap: 1rem; + } + + .progress-step { + display: flex; + flex-direction: column; + align-items: center; + gap: 0.5rem; + opacity: 0.5; + transition: opacity 0.3s ease; + } + + .progress-step.active { + opacity: 1; + } + + .step-number { + width: 40px; + height: 40px; + border-radius: 50%; + background-color: var(--green100, #e3f5d7); + display: flex; + align-items: center; + justify-content: center; + font-weight: 600; + font-family: 'Futura', sans-serif; + transition: background-color 0.3s ease; + } + + .progress-step.active .step-number { + background-color: var(--green, #1c4219); + color: var(--white, #fbfcff); + } + + .progress-step span { + font-size: 0.9rem; + font-weight: 500; + } + + .progress-line { + width: 60px; + height: 2px; + background-color: var(--green100, #e3f5d7); + } + + /* Main Layout */ + .cart-main { + display: grid; + grid-template-columns: 1fr; + gap: 2rem; + margin-bottom: 2rem; + } + + /* Cart Items */ + .cart-items { + display: flex; + flex-direction: column; + gap: 1.5rem; + } + + .cart-item { + display: grid; + grid-template-columns: 120px 1fr; + gap: 1rem; + padding: 1.5rem; + background: var(--white, #fbfcff); + border: 1px solid var(--green100, #e3f5d7); + border-radius: 12px; + box-shadow: 0 2px 8px rgba(28, 66, 25, 0.05); + transition: all 0.3s ease; + } + + .cart-item:hover { + box-shadow: 0 4px 16px rgba(28, 66, 25, 0.1); + transform: translateY(-2px); + } + + /* Item Image */ + .item-image { + position: relative; + border-radius: 8px; + overflow: hidden; + } + + .item-image img { + width: 120px; + height: 120px; + object-fit: cover; + border-radius: 8px; + border: 1px solid var(--green100, #e3f5d7); + } + + .no-image { + width: 120px; + height: 120px; + background: var(--green100, #e3f5d7); + border: 1px solid var(--green200, #c4ecb1); + border-radius: 8px; + display: flex; + align-items: center; + justify-content: center; + color: var(--green400, #558d4b); + } + + .stock-badge { + position: absolute; + top: 0.5rem; + right: 0.5rem; + background-color: var(--green300, #8dc67c); + color: var(--white, #fbfcff); + padding: 0.25rem 0.5rem; + border-radius: 4px; + font-size: 0.75rem; + font-weight: 600; + } + + /* Item Details */ + .item-details { + display: flex; + flex-direction: column; + gap: 0.75rem; + } + + .item-header { + display: flex; + justify-content: space-between; + align-items: flex-start; + } + + .item-name { + font-family: 'Futura', sans-serif; + font-size: 1.25rem; + font-weight: 600; + color: var(--green, #1c4219); + margin: 0; + line-height: 1.3; + } + + .remove-item { + background: none; + border: none; + color: var(--green400, #558d4b); + cursor: pointer; + padding: 0.5rem; + border-radius: 6px; + transition: all 0.2s ease; + } + + .remove-item:hover { + color: #dc3545; + background-color: rgba(220, 53, 69, 0.1); + } + + .item-attributes { + display: flex; + flex-wrap: wrap; + gap: 0.5rem; + } + + .attribute { + background: var(--green100, #e3f5d7); + padding: 0.25rem 0.5rem; + border-radius: 4px; + font-size: 0.8rem; + color: var(--green400, #558d4b); + } + + .item-features { + display: flex; + gap: 1rem; + flex-wrap: wrap; + } + + .feature { + display: flex; + align-items: center; + gap: 0.25rem; + font-size: 0.8rem; + color: var(--green, #1c4219); + font-weight: 500; + } + + .item-actions { + display: flex; + justify-content: space-between; + align-items: center; + padding: 1rem 0; + border-top: 1px solid var(--green100, #e3f5d7); + border-bottom: 1px solid var(--green100, #e3f5d7); + } + + .quantity-controls { + display: flex; + align-items: center; + gap: 0.75rem; + } + + .quantity-label { + font-weight: 600; + color: var(--green, #1c4219); + } + + .quantity-selector { + display: flex; + align-items: center; + border: 1px solid var(--green200, #c4ecb1); + border-radius: 8px; + overflow: hidden; + } + + .qty-btn { + background-color: var(--white, #fbfcff); + border: none; + padding: 0.5rem; + cursor: pointer; + transition: all 0.2s ease; + display: flex; + align-items: center; + justify-content: center; + width: 36px; + height: 36px; + } + + .qty-btn:hover { + background-color: var(--green100, #e3f5d7); + color: var(--green, #1c4219); + } + + .qty-input { + border: none; + width: 50px; + text-align: center; + padding: 0.5rem 0.25rem; + font-size: 1rem; + font-weight: 600; + background: var(--white, #fbfcff); + } + + .qty-input:focus { + outline: none; + background-color: var(--green100, #e3f5d7); + } + + .item-price { + display: flex; + align-items: center; + gap: 0.5rem; + } + + .price-label { + font-weight: 600; + color: var(--green, #1c4219); + } + + .price { + font-family: 'Futura', sans-serif; + font-size: 1.1rem; + font-weight: 600; + color: var(--green300, #8dc67c); + } + + .item-total { + display: flex; + justify-content: space-between; + align-items: center; + font-weight: 600; + } + + .total-price { + font-family: 'Futura', sans-serif; + font-size: 1.2rem; + color: var(--green, #1c4219); + } + + .continue-shopping { + margin-top: 1.5rem; + } + + .continue-link { + display: inline-flex; + align-items: center; + gap: 0.5rem; + color: var(--green, #1c4219); + text-decoration: none; + font-weight: 500; + transition: color 0.2s ease; + } + + .continue-link:hover { + color: var(--green400, #558d4b); + text-decoration: underline; + } + + /* Order Summary */ + .order-summary { + position: sticky; + top: 1rem; + height: fit-content; + } + + .summary-card { + background: var(--white, #fbfcff); + border: 1px solid var(--green100, #e3f5d7); + border-radius: 12px; + padding: 1.5rem; + box-shadow: 0 4px 16px rgba(28, 66, 25, 0.1); + } + + .summary-title { + font-family: 'Futura', sans-serif; + font-size: 1.5rem; + font-weight: 600; + color: var(--green, #1c4219); + margin-bottom: 1.5rem; + text-align: center; + } + + /* Discount Section */ + .discount-section { + margin-bottom: 1.5rem; + } + + .discount-input-group { + display: flex; + gap: 0.5rem; + } + + .discount-input { + flex: 1; + padding: 0.75rem 1rem; + border: 1px solid var(--green200, #c4ecb1); + border-radius: 8px; + font-size: 1rem; + outline: none; + transition: border-color 0.2s ease; + } + + .discount-input:focus { + border-color: var(--green, #1c4219); + box-shadow: 0 0 0 3px rgba(28, 66, 25, 0.1); + } + + .apply-discount-btn { + background: var(--green, #1c4219); + color: var(--white, #fbfcff); + border: none; + padding: 0.75rem 1rem; + border-radius: 8px; + font-weight: 600; + cursor: pointer; + transition: all 0.2s ease; + white-space: nowrap; + } + + .apply-discount-btn:hover { + background: var(--green600, #123812); + transform: translateY(-1px); + } + + /* Price Breakdown */ + .price-breakdown { + margin-bottom: 1.5rem; + } + + .price-row { + display: flex; + justify-content: space-between; + align-items: center; + padding: 0.75rem 0; + border-bottom: 1px solid var(--green100, #e3f5d7); + } + + .price-row:last-child { + border-bottom: none; + } + + .total-row { + border-top: 2px solid var(--green200, #c4ecb1); + margin-top: 0.5rem; + padding-top: 1rem; + font-size: 1.1rem; + font-weight: 700; + } + + .price-label { + color: var(--green400, #558d4b); + } + + .total-row .price-label, + .total-row .price-value { + color: var(--green, #1c4219); + } + + .price-value { + font-weight: 600; + color: var(--green300, #8dc67c); + } + + .free-delivery { + color: var(--green300, #8dc67c); + font-weight: 700; + } + + .discount-amount { + color: #dc3545; + } + + /* Trust Badges */ + .trust-badges { + display: flex; + flex-direction: column; + gap: 1rem; + margin-bottom: 1.5rem; + padding: 1rem; + background: var(--green100, #e3f5d7); + border-radius: 8px; + } + + .trust-badge { + display: flex; + align-items: flex-start; + gap: 0.75rem; + } + + .trust-badge svg { + color: var(--green300, #8dc67c); + flex-shrink: 0; + margin-top: 0.125rem; + } + + .trust-badge strong { + color: var(--green, #1c4219); + font-size: 0.9rem; + display: block; + margin-bottom: 0.25rem; + } + + .trust-badge p { + color: var(--green400, #558d4b); + font-size: 0.8rem; + margin: 0; + line-height: 1.4; + } + + /* Payment Methods */ + .payment-methods { + margin-bottom: 1.5rem; + text-align: center; + } + + .payment-label { + display: block; + font-size: 0.9rem; + color: var(--green400, #558d4b); + margin-bottom: 0.75rem; + } + + .payment-icons { + display: flex; + justify-content: center; + gap: 0.75rem; + } + + /* Checkout Button */ + .checkout-btn { + width: 100%; + background: linear-gradient(135deg, var(--green300, #8dc67c), var(--green, #1c4219)); + color: var(--white, #fbfcff); + border: none; + padding: 1rem 1.5rem; + border-radius: 12px; + font-size: 1.1rem; + font-weight: 700; + cursor: pointer; + transition: all 0.3s ease; + display: flex; + align-items: center; + justify-content: center; + gap: 0.5rem; + margin-bottom: 1rem; + box-shadow: 0 4px 16px rgba(28, 66, 25, 0.3); + } + + .checkout-btn:hover { + background: linear-gradient(135deg, var(--green, #1c4219), var(--green600, #123812)); + transform: translateY(-2px); + box-shadow: 0 6px 20px rgba(28, 66, 25, 0.4); + } + + /* Cart Footer */ + .cart-footer { + border-top: 1px solid var(--green100, #e3f5d7); + padding-top: 1.5rem; + } + + .support-info { + display: flex; + justify-content: center; + gap: 2rem; + flex-wrap: wrap; + } + + .support-item { + display: flex; + align-items: center; + gap: 0.5rem; + color: var(--green400, #558d4b); + font-size: 0.9rem; + } + + .support-item svg { + color: var(--green, #1c4219); + } + + /* Empty Cart State */ + .empty-cart { + display: flex; + align-items: center; + justify-content: center; + min-height: 60vh; + } + + .empty-cart-content { + text-align: center; + max-width: 400px; + } + + .empty-cart-icon { + color: var(--green200, #c4ecb1); + margin-bottom: 1.5rem; + } + + .empty-cart-title { + font-family: 'Futura', sans-serif; + font-size: 1.75rem; + color: var(--green400, #558d4b); + margin-bottom: 0.75rem; + } + + .empty-cart-message { + color: var(--green400, #558d4b); + margin-bottom: 2rem; + line-height: 1.6; + } + + .start-shopping-btn { + background: var(--green, #1c4219); + color: var(--white, #fbfcff); + text-decoration: none; + padding: 1rem 2rem; + border-radius: 8px; + font-weight: 600; + transition: all 0.2s ease; + display: inline-block; + } + + .start-shopping-btn:hover { + background: var(--green600, #123812); + transform: translateY(-1px); + } + + /* Responsive Design */ + @media (min-width: 768px) { + .cart-container { + padding: 1.5rem; + } + + .cart-header-content { + flex-direction: row; + gap: 1rem; + } + + .cart-title { + font-size: 2.5rem; + } + + .cart-main { + grid-template-columns: 1fr 400px; + gap: 2.5rem; + } + + .cart-item { + grid-template-columns: 150px 1fr; + gap: 1.5rem; + padding: 2rem; + } + + .item-image img, + .no-image { + width: 150px; + height: 150px; + } + + .item-name { + font-size: 1.4rem; + } + + .summary-card { + padding: 2rem; + } + + .trust-badges { + flex-direction: row; + flex-wrap: wrap; + gap: 1.5rem; + } + + .trust-badge { + flex: 1; + min-width: 180px; + } + + .support-info { + gap: 3rem; + } + + .discount-input-group { + flex-direction: row; + } + } + + @media (max-width: 767px) { + .cart-header-content { + flex-direction: column; + align-items: flex-start; + gap: 0.5rem; + } + + .progress-indicator { + flex-direction: column; + gap: 0.5rem; + } + + .progress-step { + flex-direction: row; + gap: 0.5rem; + } + + .progress-line { + width: 2px; + height: 20px; + } + + .item-actions { + flex-direction: column; + gap: 1rem; + align-items: stretch; + } + + .quantity-controls { + justify-content: center; + } + + .item-price { + justify-content: center; + } + + .discount-input-group { + flex-direction: column; + } + + .apply-discount-btn { + width: 100%; + } + + .support-info { + flex-direction: column; + gap: 1rem; + text-align: center; + } + + .checkout-btn { + position: sticky; + bottom: 1rem; + z-index: 100; + } + } + + /* Loading and Animation States */ + .cart-item.removing { + opacity: 0.5; + transform: scale(0.95); + transition: all 0.3s ease; + } + + .qty-btn.loading { + pointer-events: none; + opacity: 0.6; + } + + .checkout-btn.loading { + pointer-events: none; + opacity: 0.8; + } + + .checkout-btn.loading::after { + content: ''; + width: 16px; + height: 16px; + border: 2px solid transparent; + border-top: 2px solid var(--white, #fbfcff); + border-radius: 50%; + animation: spin 1s linear infinite; + margin-left: 0.5rem; + } + + @keyframes spin { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } + } + + /* Focus States for Accessibility */ + .qty-btn:focus, + .remove-item:focus, + .checkout-btn:focus, + .apply-discount-btn:focus, + .start-shopping-btn:focus { + outline: 2px solid var(--green, #1c4219); + outline-offset: 2px; + } + + .discount-input:focus { + outline: none; + border-color: var(--green, #1c4219); + box-shadow: 0 0 0 3px rgba(28, 66, 25, 0.1); + } +{% endstylesheet %} + +{% javascript %} + // Enhanced Cart functionality for AGH Theme + class AGHCart { + constructor() { + this.init(); + } + + init() { + this.bindEvents(); + this.updateCartDisplay(); + } + + bindEvents() { + // Quantity controls + document.addEventListener('click', (e) => { + if (e.target.closest('.qty-btn')) { + this.handleQuantityChange(e); + } + + if (e.target.closest('.remove-item')) { + this.handleRemoveItem(e); + } + + if (e.target.closest('.apply-discount-btn')) { + this.handleDiscountCode(e); + } + }); + + // Quantity input changes + document.addEventListener('change', (e) => { + if (e.target.classList.contains('qty-input')) { + this.handleQuantityInput(e); + } + }); + + // Prevent form submission on Enter in discount input + document.addEventListener('keypress', (e) => { + if (e.target.classList.contains('discount-input') && e.key === 'Enter') { + e.preventDefault(); + this.handleDiscountCode(e); + } + }); + } + + async handleQuantityChange(e) { + const button = e.target.closest('.qty-btn'); + const cartItem = button.closest('.cart-item'); + const qtyInput = cartItem.querySelector('.qty-input'); + const action = button.dataset.action; + const line = button.dataset.line; + + let currentQty = parseInt(qtyInput.value); + let newQty = action === 'increase' ? currentQty + 1 : currentQty - 1; + + if (newQty < 1) newQty = 1; + if (newQty > 99) newQty = 99; + + qtyInput.value = newQty; + button.classList.add('loading'); + + try { + await this.updateCartQuantity(line, newQty); + this.updateItemSubtotal(cartItem, newQty); + } catch (error) { + console.error('Error updating quantity:', error); + qtyInput.value = currentQty; + this.showError('Failed to update quantity. Please try again.'); + } finally { + button.classList.remove('loading'); + } + } + + async handleQuantityInput(e) { + const qtyInput = e.target; + const cartItem = qtyInput.closest('.cart-item'); + const line = qtyInput.dataset.line; + let newQty = parseInt(qtyInput.value); + + if (isNaN(newQty) || newQty < 1) newQty = 1; + if (newQty > 99) newQty = 99; + + qtyInput.value = newQty; + + try { + await this.updateCartQuantity(line, newQty); + this.updateItemSubtotal(cartItem, newQty); + } catch (error) { + console.error('Error updating quantity:', error); + this.showError('Failed to update quantity. Please try again.'); + } + } + + async handleRemoveItem(e) { + const button = e.target.closest('.remove-item'); + const cartItem = button.closest('.cart-item'); + const line = button.dataset.line; + + if (!confirm('Are you sure you want to remove this item from your cart?')) { + return; + } + + cartItem.classList.add('removing'); + + try { + await this.updateCartQuantity(line, 0); + + setTimeout(() => { + cartItem.style.height = cartItem.offsetHeight + 'px'; + cartItem.style.overflow = 'hidden'; + cartItem.style.transition = 'all 0.3s ease'; + + requestAnimationFrame(() => { + cartItem.style.height = '0'; + cartItem.style.padding = '0'; + cartItem.style.margin = '0'; + cartItem.style.opacity = '0'; + }); + + setTimeout(() => { + cartItem.remove(); + this.updateCartDisplay(); + this.checkEmptyCart(); + }, 300); + }, 100); + } catch (error) { + console.error('Error removing item:', error); + cartItem.classList.remove('removing'); + this.showError('Failed to remove item. Please try again.'); + } + } + + async handleDiscountCode(e) { + const button = e.target.closest('.apply-discount-btn'); + const discountInput = document.querySelector('.discount-input'); + const discountCode = discountInput.value.trim(); + + if (!discountCode) { + this.showError('Please enter a discount code.'); + return; + } + + button.classList.add('loading'); + button.textContent = 'Applying...'; + + try { + window.location.href = '/discount/' + encodeURIComponent(discountCode); + } catch (error) { + console.error('Error applying discount:', error); + this.showError('Invalid discount code or code has expired.'); + button.classList.remove('loading'); + button.textContent = 'Apply'; + } + } + + async updateCartQuantity(line, quantity) { + const response = await fetch('/cart/change.js', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + body: JSON.stringify({ + line: line, + quantity: quantity, + }), + }); + + if (!response.ok) { + throw new Error('Failed to update cart'); + } + + const cart = await response.json(); + this.updateCartTotals(cart); + return cart; + } + + updateItemSubtotal(cartItem, quantity) { + const itemPrice = parseFloat(cartItem.dataset.itemPrice); + const subtotalElement = cartItem.querySelector('.total-price'); + const newSubtotal = (itemPrice * quantity).toFixed(2); + subtotalElement.textContent = `$${newSubtotal}`; + } + + updateCartTotals(cart) { + // Update subtotal + const subtotalElement = document.querySelector('.price-row .price-value'); + if (subtotalElement && cart.total_price) { + subtotalElement.textContent = this.formatMoney(cart.total_price); + } + + // Update item count + const itemCountElement = document.querySelector('.item-count'); + if (itemCountElement && cart.item_count !== undefined) { + itemCountElement.textContent = cart.item_count; + } + } + + updateCartDisplay() { + const cartItems = document.querySelectorAll('.cart-item'); + let totalItems = 0; + + cartItems.forEach((item) => { + const qtyInput = item.querySelector('.qty-input'); + const quantity = parseInt(qtyInput.value || 0); + totalItems += quantity; + }); + + const itemCountElement = document.querySelector('.item-count'); + if (itemCountElement) { + itemCountElement.textContent = totalItems; + } + } + + checkEmptyCart() { + const cartItems = document.querySelectorAll('.cart-item'); + if (cartItems.length === 0) { + window.location.reload(); // Reload to show empty cart state + } + } + + formatMoney(cents) { + const dollars = cents / 100; + return `$${dollars.toFixed(2)}`; + } + + showError(message) { + this.showNotification(message, 'error'); + } + + showSuccess(message) { + this.showNotification(message, 'success'); + } + + showNotification(message, type = 'info') { + const notification = document.createElement('div'); + notification.className = `agh-notification agh-notification-${type}`; + notification.textContent = message; + + Object.assign(notification.style, { + position: 'fixed', + top: '20px', + right: '20px', + padding: '15px 20px', + borderRadius: '8px', + color: 'var(--white, #fbfcff)', + fontWeight: '600', + zIndex: '9999', + maxWidth: '300px', + boxShadow: '0 4px 16px rgba(0, 0, 0, 0.2)', + transform: 'translateX(100%)', + transition: 'transform 0.3s ease', + }); + + switch (type) { + case 'error': + notification.style.background = '#dc3545'; + break; + case 'success': + notification.style.background = 'var(--green300, #8dc67c)'; + break; + default: + notification.style.background = 'var(--green, #1c4219)'; + } + + document.body.appendChild(notification); + + requestAnimationFrame(() => { + notification.style.transform = 'translateX(0)'; + }); + + setTimeout(() => { + notification.style.transform = 'translateX(100%)'; + setTimeout(() => { + if (notification.parentNode) { + notification.parentNode.removeChild(notification); + } + }, 300); + }, 4000); + } + } + + // Initialize cart functionality when DOM is loaded + document.addEventListener('DOMContentLoaded', () => { + new AGHCart(); + }); +{% endjavascript %} {% schema %} { - "name": "t:general.cart", - "settings": [] + "name": "Enhanced Cart (AGH)", + "settings": [ + { + "type": "number", + "id": "free_shipping_threshold", + "label": "Free Shipping Threshold", + "default": 500, + "info": "Minimum order amount for free shipping (in pounds)" + }, + { + "type": "text", + "id": "support_phone", + "label": "Support Phone Number", + "default": "1-800-123-4567", + "info": "Phone number displayed in cart footer" + } + ] } {% endschema %} diff --git a/sections/collection-info.liquid b/sections/collection-info.liquid new file mode 100644 index 00000000..b607b77e --- /dev/null +++ b/sections/collection-info.liquid @@ -0,0 +1,16 @@ + +
+
+
+

+ At Andra's Garden Heaven, we understand the desire for a home that reflects your unique style and provides a + sanctuary from the everyday. Our handcrafted rattan furniture is more than just decor; it's an investment in + comfort, sustainability, and timeless design. Unlike mass-produced alternatives, each AGH piece is meticulously + woven by skilled artisans, ensuring unparalleled quality and durability. We solve the common problem of finding + beautiful, eco-friendly, and affordable furniture by offering pieces that are not only stunning but also built + to last, bringing enduring beauty and tranquility to your living spaces. Choose AGH for furniture that truly + feels like home. +

+
+
+
diff --git a/sections/collection.liquid b/sections/collection.liquid index e5a78680..cb173f21 100644 --- a/sections/collection.liquid +++ b/sections/collection.liquid @@ -5,39 +5,230 @@ https://shopify.dev/docs/storefronts/themes/architecture/templates/collection {% endcomment %} -

{{ collection.title }}

+
+
+

+ Welcome to Your Peaceful Garden +

+

+ At Andra's Garden Heaven, we believe your garden should be a sanctuary—a place to unwind, connect, and find peace + in everyday moments. Our handcrafted furniture is made with care and passion, designed to bring comfort, beauty, + and a sense of calm to your outdoor space. Whether you're sharing laughter with friends or enjoying a quiet cup of + tea, our pieces are here to help you create memories and embrace the joy of simple living. Welcome home to peace, + comfort, and community. +

+
+
-
- {% paginate collection.products by 20 %} - {% for product in collection.products %} -
- {% if product.featured_image %} - {% render 'image', - class: 'collection-product__image', - image: product.featured_image, - url: product.url, - width: 400, - height: 400, - crop: 'center' - %} - {% endif %} -
-

{{ product.title | escape | link_to: product.url }}

-

{{ product.price | money }}

+
+ - {% endfor %} + {% endfor %} - {{ paginate | default_pagination }} - {% endpaginate %} -
+ {% if paginate.pages > 1 %} +
+ {{ paginate | default_pagination }} +
+ {% endif %} + {% endpaginate %} +
+ -{% stylesheet %} - .collection-products { + {% schema %} { diff --git a/sections/collections.liquid b/sections/collections.liquid index db897a3d..bdc057a7 100644 --- a/sections/collections.liquid +++ b/sections/collections.liquid @@ -5,53 +5,151 @@ https://shopify.dev/docs/storefronts/themes/architecture/templates/collection {% endcomment %} -

{{ 'collections.title' | t }}

+
+
+

+ Discover Our Collections +

+

+ At Andra's Garden Heaven, we understand the desire for a home that reflects your unique style and provides a + sanctuary from the everyday. Our handcrafted rattan furniture is more than just decor; it's an investment in + comfort, sustainability, and timeless design. Each AGH piece is meticulously woven by skilled artisans, ensuring + unparalleled quality and durability. Choose AGH for furniture that truly feels like home. +

+
+
- + {% schema %} { diff --git a/sections/contact-form.liquid b/sections/contact-form.liquid new file mode 100644 index 00000000..bc1e5aa3 --- /dev/null +++ b/sections/contact-form.liquid @@ -0,0 +1,70 @@ +
+
+

Contact Us

+ {% form 'contact' %} + {% if form.posted_successfully? %} +

Your message has been sent successfully!

+ {% endif %} + + {{ form.errors | default_errors }} + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ + + {% endform %} +
+
+ +{% schema %} +{ + "name": "Contact Form", + "settings": [ + { + "type": "text", + "id": "heading", + "label": "Heading", + "default": "Contact Us" + } + ], + "presets": [ + { + "name": "Contact Form" + } + ] +} +{% endschema %} diff --git a/sections/featured-products.liquid b/sections/featured-products.liquid new file mode 100644 index 00000000..efa2fcf8 --- /dev/null +++ b/sections/featured-products.liquid @@ -0,0 +1,271 @@ + + + + +{% schema %} +{ + "name": "Featured Products", + "settings": [] +} +{% endschema %} diff --git a/sections/footer-group.json b/sections/footer-group.json deleted file mode 100644 index 6560feb3..00000000 --- a/sections/footer-group.json +++ /dev/null @@ -1,25 +0,0 @@ -/* - * ------------------------------------------------------------ - * IMPORTANT: The contents of this file are auto-generated. - * - * This file may be updated by the Shopify admin theme editor - * or related systems. Please exercise caution as any changes - * made to this file may be overwritten. - * ------------------------------------------------------------ - */ -{ - "type": "footer", - "name": "t:general.footer", - "sections": { - "footer": { - "type": "footer", - "settings": { - "menu": "", - "show_payment_icons": true - } - } - }, - "order": [ - "footer" - ] -} diff --git a/sections/footer.liquid b/sections/footer.liquid index 66e6f097..1fa5e5da 100644 --- a/sections/footer.liquid +++ b/sections/footer.liquid @@ -1,40 +1,204 @@ -
- - - - - + + +
{% stylesheet %} - footer { + * { + box-sizing: border-box; + margin: 0; + padding: 0; + } + :root { + --green: #1c4219; + --grey: #d0ccd0; + --white: #fbfcff; + --blue: #1c6e8c; + --black: #000; + --heading-font: 'Futura Book', sans-serif; + --body-font: 'Elgian', serif; + } + .footer { + background-color: var(--green900); + color: var(--white); + text-align: center; + border-top: var(--grey) 1rem solid; + border-style: solid none none none; + } + .footer__content { + min-width: 100vw; + min-height: 90vh; + margin: 0 auto; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + } + .FooterBody { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + gap: 1.5rem; + padding-top: 3rem; + } + .FooterBio { + padding-top: 3rem; + display: flex; + max-width: 30rem; + flex-direction: column; + align-items: center; + justify-content: center; + gap: 1.5rem; + } + .FooterContact { + padding-top: 3rem; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + gap: 2.5rem; + font-family: var(--heading-font); + } + .ContactLinks { + text-decoration: none; + color: var(--white); + transition: 0.3s ease-in-out; + } + .ContactLinks:hover { + color: var(--blue); + scale: 1.1; + } + .InfoDiv { display: flex; - justify-content: space-between; - margin-top: 2rem; + gap: 1rem; + align-items: center; + } + .ConIcon { + width: 16px; + height: 16px; } footer a { text-decoration: none; - color: var(--color-foreground); + color: var(--grey); } - footer .footer__links, - footer .footer__payment { + .footer__links { display: flex; + flex-direction: column; gap: 1rem; } + .footer__payment { + display: flex; + gap: 1rem; + } + .footer__designed-by { + display: inline-flex; + align-items: center; + } + .footer__agency-logo { + padding: 1rem; + height: 100px; + width: 100px; + } + + /* Media Queries */ + + @media screen and (max-width: 550px) { + .FooterLogo { + padding: 2rem; + } + .FooterBio { + padding: 1rem; + } + .FooterContact { + padding: 1rem; + } + .footer__copyright { + padding: 1rem; + } + } {% endstylesheet %} {% schema %} diff --git a/sections/header.liquid b/sections/header.liquid index f5d3f3c3..15c99657 100644 --- a/sections/header.liquid +++ b/sections/header.liquid @@ -1,56 +1,801 @@ -
-

- {{ shop.name | link_to: routes.root_url }} -

- -
- {% for link in section.settings.menu.links %} - {{ link.title | link_to: link.url }} - {% endfor %} -
+
+
+ +
+ + + +
+ + + -
- {% if shop.customer_accounts_enabled %} - {{ 'icon-account.svg' | inline_asset_content | link_to: routes.account_url }} - {% endif %} + + - - {% if cart.item_count > 0 %} - {{ cart.item_count }} + + +
+ + +
+ +
-{% stylesheet %} - header { - height: 5rem; + + + {% schema %} { diff --git a/sections/hero-banner.liquid b/sections/hero-banner.liquid new file mode 100644 index 00000000..ad669b05 --- /dev/null +++ b/sections/hero-banner.liquid @@ -0,0 +1,39 @@ + +
+ +
+ +
+ Black wicker outdoor dining set with table and chairs +
+ + +
+
+
+ Andra's Garden Heaven wordmark, designed by SCM Design Studio. +
+
+
+
+ +{% schema %} +{ + "name": "Hero Banner", + "settings": [] +} +{% endschema %} diff --git a/sections/newsletter-signup.liquid b/sections/newsletter-signup.liquid new file mode 100644 index 00000000..cebb9878 --- /dev/null +++ b/sections/newsletter-signup.liquid @@ -0,0 +1 @@ + diff --git a/sections/newsletter.liquid b/sections/newsletter.liquid new file mode 100644 index 00000000..caa52792 --- /dev/null +++ b/sections/newsletter.liquid @@ -0,0 +1,22 @@ + + + +{% schema %} +{ + "name": "Newsletter", + "settings": [] +} +{% endschema %} diff --git a/sections/product.liquid b/sections/product.liquid index 9664dfda..73edca15 100644 --- a/sections/product.liquid +++ b/sections/product.liquid @@ -1,50 +1,696 @@ {% comment %} - This section is used in the product template to render product page with - media, content, and add-to-cart form. - + AGH Product Template - Enhanced with brand styling + This section renders product page with media, content, and add-to-cart form. https://shopify.dev/docs/storefronts/themes/architecture/templates/product {% endcomment %} -
- {% for image in product.images %} - {% render 'image', class: 'product-image', image: image %} - {% endfor %} -
+ + +
+ +
+
+
+ {% for image in product.images %} +
+ {% render 'image', class: 'product-image', image: image %} +
+ {% endfor %} +
- +
+ +
+ {{ product.description }} +
+
+ + +
+ {% form 'product', product %} + {% assign current_variant = product.selected_or_first_available_variant %} + + + {% if product.variants.size > 1 %} +
+ + +
+ {% else %} + + {% endif %} + + +
+ +
+ + + +
+
+ + +
+ + + {{ form | payment_button }} +
+ {% endform %} +
+
+
- + +
+
+
+
🌿
+

Handcrafted

+

Each piece is meticulously handmade by skilled artisans using traditional techniques.

+
- - {{ form | payment_button }} - {% endform %} +
+
🎋
+

Natural Rattan

+

Sustainably sourced rattan that brings the beauty of nature into your home.

+
+ +
+
🏠
+

Garden Ready

+

Weather-resistant finish perfect for both indoor and outdoor use.

+
+
+
+ + {% schema %} { - "name": "t:general.product", - "settings": [], + "name": "AGH Product", + "settings": [ + { + "type": "header", + "content": "Product Features" + }, + { + "type": "checkbox", + "id": "show_features", + "label": "Show product features section", + "default": true + } + ], "disabled_on": { "groups": ["header", "footer"] } diff --git a/sections/search.liquid b/sections/search.liquid index 7177c181..f0a50b77 100644 --- a/sections/search.liquid +++ b/sections/search.liquid @@ -5,50 +5,262 @@ https://shopify.dev/docs/storefronts/themes/architecture/templates/search {% endcomment %} -

{{ 'search.title' | t }}

+
+
+ + + +

{{ 'search.title' | t }}

+
+
-
- - -
- -{% if search.performed %} - {% if search.results_count == 0 %} -

{{ 'search.no_results_html' | t: terms: search.terms }}

- {% else %} -

{{ 'search.results_for_html' | t: terms: search.terms, count: search.results_count }}

+
+ -
- {% paginate search.results by 20 %} - {% # Search result items may be an article, a page, or a product. %} - {% for result in search.results %} -
- {% assign featured_image = result.featured_image | default: result.image %} - {% if featured_image %} - {% render 'image', class: 'search-result__image', image: featured_image, url: result.url, width: 400 %} - {% endif %} -
-

- {{ result.title | link_to: result.url }} - {% if result.price %} - {{ result.price | money_with_currency }} - {% endif %} -

+ {% if search.performed %} + {% if search.results_count == 0 %} +

{{ 'search.no_results_html' | t: terms: search.terms }}

+ {% else %} +

+ {{ 'search.results_for_html' | t: terms: search.terms, count: search.results_count }} +

+
+ {% paginate search.results by 20 %} + {% for result in search.results %} +
+ {% assign featured_image = result.featured_image | default: result.image %} + {% if featured_image %} + {% render 'image', class: 'search-result__image', image: featured_image, url: result.url, width: 400 %} + {% endif %} +
+

+ {{ result.title | link_to: result.url }} + {% if result.price %} + {{ result.price | money_with_currency }} + {% endif %} +

+
-
- {% endfor %} - - {{ paginate | default_pagination }} - {% endpaginate %} -
+ {% endfor %} + {{ paginate | default_pagination }} + {% endpaginate %} +
+ {% endif %} {% endif %} -{% endif %} +
+ + {% stylesheet %} .search-results { diff --git a/sections/trust.liquid b/sections/trust.liquid new file mode 100644 index 00000000..1e7987e0 --- /dev/null +++ b/sections/trust.liquid @@ -0,0 +1,248 @@ + +
+
+

Your Peace of Mind, Our Priority

+

+ At Andra's Garden Heaven, we are committed to building lasting relationships with our customers based on trust, + transparency, and exceptional service. +

+ +
+ +
+ + + + +
+
+
+
+
+
+ SM +
+
+

Sarah Mitchell

+
+
+ +
+ Verified Purchase • 2 weeks ago +
+
+
+
+

+ "Absolutely chuffed with my new AGH lounge chair! The craftsmanship is top-notch and it's made my patio feel + so much more inviting. Delivery was prompt and the team were ever so helpful. Wouldn't hesitate to + recommend!" +

+
+ Purchased: Oasis Lounge Chair +
+
+ +
+
+
+
+ MT +
+
+

Mark Thompson

+
+
+ +
+ Verified Purchase • 1 month ago +
+
+
+
+

+ "Andra's Garden Heaven were brilliant from start to finish. The furniture is beautiful and feels really + sturdy. Customer service was spot on – they helped me pick out just what I needed for my garden. The coffee + table's a real talking point!" +

+
+ Purchased: Garden Coffee Table Set +
+
+ +
+
+
+
+ ER +
+
+

Emily Roberts

+
+
+ +
+ Verified Purchase • 3 weeks ago +
+
+
+
+

+ "I'd highly recommend AGH to anyone after something a bit special for their home or garden. The 'Oasis' + coffee table is gorgeous and has stood up brilliantly to the Scottish weather. Great value and you can + really see the care that's gone into it." +

+
+ Purchased: Oasis Coffee Table +
+
+ +
+
+
+
+ JD +
+
+

James Davidson

+
+
+ +
+ Verified Purchase • 2 months ago +
+
+
+
+

+ "Bought the dining set for our conservatory and it's absolutely perfect. The chairs are comfy, the table's + just the right size, and everything arrived in great nick. Will definitely be back for more!" +

+
+ Purchased: Conservatory Dining Set +
+
+
+ + +
+ + +
+
+ + +
+
+

Fast & Reliable Shipping

+

+ We partner with trusted logistics providers to ensure your handcrafted furniture arrives safely and promptly + at your doorstep. +

+
+
+

Easy Returns & Exchanges

+

+ Your satisfaction is our guarantee. Our straightforward return policy makes exchanges and refunds simple and + stress-free. +

+
+
+

Crafted with Integrity

+

+ Every AGH piece embodies our core values: quality craftsmanship, sustainable sourcing, and natural beauty. +

+
+
+

Safe & Protected Transactions

+

+ Shop with confidence knowing that your payment information is always secure with industry-leading encryption. +

+
+
+

Partnerships for Growth

+

+ We welcome wholesale inquiries and offer competitive pricing and dedicated support for our partners. +

+
+
+
+
+ + + +{% schema %} +{ + "name": "Trust", + "settings": [] +} +{% endschema %} diff --git a/snippets/meta-tags.liquid b/snippets/meta-tags.liquid index 67299c04..8330089e 100644 --- a/snippets/meta-tags.liquid +++ b/snippets/meta-tags.liquid @@ -17,6 +17,44 @@ endif %} + + + + + + + + + + + + +{%- if request.page_type == 'product' -%} + +{%- elsif request.page_type == 'collection' -%} + +{%- elsif request.page_type == 'page' -%} + +{%- else -%} + +{%- endif -%} + + + + {%- if page_image -%} + {%- endif -%} {%- if request.page_type == 'product' -%} + {%- endif -%} + + + + + + + + + + + + + + + + - {{ page_title }} - {%- if current_tags %} – tagged "{{ current_tags | join: ', ' }}"{% endif -%} - {%- if current_page != 1 %} – Page {{ current_page }}{% endif -%} - {%- unless page_title contains shop.name %} – {{ shop.name }}{% endunless -%} + {%- if request.page_type == 'product' -%} + {{ product.title }} - Premium Garden Furniture UK | Andra's Garden Heaven + {%- elsif request.page_type == 'collection' -%} + {{ collection.title }} - British Garden Furniture Collection | Andra's Garden Heaven + {%- elsif request.page_type == 'page' -%} + {{ page_title }} - British Garden Furniture | Andra's Garden Heaven + {%- else -%} + {{ page_title }} + {%- if current_tags %} – tagged "{{ current_tags | join: ', ' }}"{% endif -%} + {%- if current_page != 1 %} – Page {{ current_page }}{% endif -%} + {%- unless page_title contains shop.name %} – {{ shop.name }}{% endunless -%} + {%- endif -%} -{% if page_description %} - -{% endif %} + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/404.json b/templates/404.json index fc12fc78..3fc1f7e7 100644 --- a/templates/404.json +++ b/templates/404.json @@ -1,20 +1,26 @@ -/* - * ------------------------------------------------------------ - * IMPORTANT: The contents of this file are auto-generated. - * - * This file may be updated by the Shopify admin theme editor - * or related systems. Please exercise caution as any changes - * made to this file may be overwritten. - * ------------------------------------------------------------ - */ - { - "sections": { - "main": { - "type": "404", - "settings": {} - } - }, - "order": [ - "main" - ] -} +/* + * ------------------------------------------------------------ + * IMPORTANT: The contents of this file are auto-generated. + * + * This file may be updated by the Shopify admin theme editor + * or related systems. Please exercise caution as any changes + * made to this file may be overwritten. + * ------------------------------------------------------------ + */ +{ + "sections": { + "main": { + "type": "404", + "disabled": true, + "settings": {} + }, + "footer": { + "type": "footer", + "settings": {} + } + }, + "order": [ + "main", + "footer" + ] +} diff --git a/templates/about-us-content.liquid b/templates/about-us-content.liquid new file mode 100644 index 00000000..cc91f954 --- /dev/null +++ b/templates/about-us-content.liquid @@ -0,0 +1,8 @@ +
+
+

Our Story

+
+

Share your company's journey, mission, and values here.

+
+
+
diff --git a/templates/article.json b/templates/article.json index d3bc0dfd..7f9750b2 100644 --- a/templates/article.json +++ b/templates/article.json @@ -1,20 +1,25 @@ -/* - * ------------------------------------------------------------ - * IMPORTANT: The contents of this file are auto-generated. - * - * This file may be updated by the Shopify admin theme editor - * or related systems. Please exercise caution as any changes - * made to this file may be overwritten. - * ------------------------------------------------------------ - */ -{ - "sections": { - "main": { - "type": "article", - "settings": {} - } - }, - "order": [ - "main" - ] -} +/* + * ------------------------------------------------------------ + * IMPORTANT: The contents of this file are auto-generated. + * + * This file may be updated by the Shopify admin theme editor + * or related systems. Please exercise caution as any changes + * made to this file may be overwritten. + * ------------------------------------------------------------ + */ +{ + "sections": { + "main": { + "type": "article", + "settings": {} + }, + "footer": { + "type": "footer", + "settings": {} + } + }, + "order": [ + "main", + "footer" + ] +} diff --git a/templates/blog.json b/templates/blog.json index 09705d70..d3444fac 100644 --- a/templates/blog.json +++ b/templates/blog.json @@ -1,20 +1,25 @@ -/* - * ------------------------------------------------------------ - * IMPORTANT: The contents of this file are auto-generated. - * - * This file may be updated by the Shopify admin theme editor - * or related systems. Please exercise caution as any changes - * made to this file may be overwritten. - * ------------------------------------------------------------ - */ -{ - "sections": { - "main": { - "type": "blog", - "settings": {} - } - }, - "order": [ - "main" - ] -} +/* + * ------------------------------------------------------------ + * IMPORTANT: The contents of this file are auto-generated. + * + * This file may be updated by the Shopify admin theme editor + * or related systems. Please exercise caution as any changes + * made to this file may be overwritten. + * ------------------------------------------------------------ + */ +{ + "sections": { + "main": { + "type": "blog", + "settings": {} + }, + "footer": { + "type": "footer", + "settings": {} + } + }, + "order": [ + "main", + "footer" + ] +} diff --git a/templates/cart.json b/templates/cart.json index 78c2add2..4fd056cf 100644 --- a/templates/cart.json +++ b/templates/cart.json @@ -1,20 +1,25 @@ -/* - * ------------------------------------------------------------ - * IMPORTANT: The contents of this file are auto-generated. - * - * This file may be updated by the Shopify admin theme editor - * or related systems. Please exercise caution as any changes - * made to this file may be overwritten. - * ------------------------------------------------------------ - */ -{ - "sections": { - "main": { - "type": "cart", - "settings": {} - } - }, - "order": [ - "main" - ] -} +/* + * ------------------------------------------------------------ + * IMPORTANT: The contents of this file are auto-generated. + * + * This file may be updated by the Shopify admin theme editor + * or related systems. Please exercise caution as any changes + * made to this file may be overwritten. + * ------------------------------------------------------------ + */ +{ + "sections": { + "main": { + "type": "cart", + "settings": {} + }, + "footer": { + "type": "footer", + "settings": {} + } + }, + "order": [ + "main", + "footer" + ] +} diff --git a/templates/collection.json b/templates/collection.json index 7592ac07..5d900755 100644 --- a/templates/collection.json +++ b/templates/collection.json @@ -9,12 +9,17 @@ */ { "sections": { - "main": { + "collection": { "type": "collection", "settings": {} + }, + "footer": { + "type": "footer", + "settings": {} } }, "order": [ - "main" + "collection", + "footer" ] -} +} \ No newline at end of file diff --git a/templates/contact-form.liquid b/templates/contact-form.liquid new file mode 100644 index 00000000..1030245b --- /dev/null +++ b/templates/contact-form.liquid @@ -0,0 +1,51 @@ +
+
+

Contact Us

+ {% form 'contact' %} + {% if form.posted_successfully? %} +

Your message has been sent successfully!

+ {% endif %} + + {{ form.errors | default_errors }} + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ + + {% endform %} +
+
diff --git a/templates/index.json b/templates/index.json index 1f827db9..6f636419 100644 --- a/templates/index.json +++ b/templates/index.json @@ -1,20 +1,50 @@ -/* - * ------------------------------------------------------------ - * IMPORTANT: The contents of this file are auto-generated. - * - * This file may be updated by the Shopify admin theme editor - * or related systems. Please exercise caution as any changes - * made to this file may be overwritten. - * ------------------------------------------------------------ - */ -{ - "sections": { - "main": { - "type": "hello-world", - "settings": {} - } - }, - "order": [ - "main" - ] -} +/* + * ------------------------------------------------------------ + * IMPORTANT: The contents of this file are auto-generated. + * + * This file may be updated by the Shopify admin theme editor + * or related systems. Please exercise caution as any changes + * made to this file may be overwritten. + * ------------------------------------------------------------ + */ +{ + "sections": { + "hero-banner": { + "type": "hero-banner", + "settings": {} + }, + "BelowFold": { + "type": "BelowFold", + "settings": {} + }, + "featured-products": { + "type": "featured-products", + "settings": {} + }, + "trust": { + "type": "trust", + "settings": {} + }, + "about": { + "type": "about", + "settings": {} + }, + "newsletter": { + "type": "newsletter", + "settings": {} + }, + "footer": { + "type": "footer", + "settings": {} + } + }, + "order": [ + "hero-banner", + "BelowFold", + "featured-products", + "trust", + "about", + "newsletter", + "footer" + ] +} diff --git a/templates/list-collections.json b/templates/list-collections.json index 30984287..1d7eb18c 100644 --- a/templates/list-collections.json +++ b/templates/list-collections.json @@ -1,20 +1,25 @@ -/* - * ------------------------------------------------------------ - * IMPORTANT: The contents of this file are auto-generated. - * - * This file may be updated by the Shopify admin theme editor - * or related systems. Please exercise caution as any changes - * made to this file may be overwritten. - * ------------------------------------------------------------ - */ -{ - "sections": { - "main": { - "type": "collections", - "settings": {} - } - }, - "order": [ - "main" - ] -} +/* + * ------------------------------------------------------------ + * IMPORTANT: The contents of this file are auto-generated. + * + * This file may be updated by the Shopify admin theme editor + * or related systems. Please exercise caution as any changes + * made to this file may be overwritten. + * ------------------------------------------------------------ + */ +{ + "sections": { + "main": { + "type": "collections", + "settings": {} + }, + "footer": { + "type": "footer", + "settings": {} + } + }, + "order": [ + "main", + "footer" + ] +} diff --git a/templates/page.about-us.liquid b/templates/page.about-us.liquid new file mode 100644 index 00000000..d53019c3 --- /dev/null +++ b/templates/page.about-us.liquid @@ -0,0 +1,360 @@ +{% comment %} + About Us Page Template for Andra's Garden Heaven + Following brand guidelines: Pakistani Green (#1C4219), French Grey (#D0CCD0), White (#FBFCFF) + Typography: Futura Book for headings, Elgian for body text +{% endcomment %} + +
+ +
+
+
+

About Andra's Garden Heaven

+

Bringing Nature's Beauty to Your Home

+
+
+
+ + +
+
+
+
+

Our Story

+
+

+ Welcome to Andra's Garden Heaven, where we believe that every home deserves a touch of nature's elegance. + Based in the heart of Glasgow, we specialize in creating and curating beautiful handmade rattan furniture + that brings warmth, comfort, and natural beauty to your living spaces. +

+ +

+ Our journey began with a simple passion for quality craftsmanship and a deep appreciation for the natural + materials that make our furniture unique. Each piece in our collection is carefully selected or + handcrafted to ensure it meets our high standards of quality, durability, and aesthetic appeal. +

+ +

+ We understand that your home is your sanctuary, and that's why we're committed to providing furniture that + not only looks beautiful but also feels comfortable and lasts for years to come. Our rattan pieces are + designed to complement any interior style, from modern minimalism to classic elegance. +

+
+
+
+ Andra's Garden Heaven Showroom +
+
+
+
+ + +
+
+

Our Values

+
+
+
+ + + +
+

Quality Craftsmanship

+

+ Every piece is carefully crafted with attention to detail, ensuring the highest quality standards. +

+
+ +
+
+ + + +
+

Natural Materials

+

+ We use only the finest natural rattan and sustainable materials in our furniture. +

+
+ +
+
+ + + +
+

Affordable Luxury

+

+ We believe that beautiful, quality furniture should be accessible to everyone. +

+
+
+
+
+ + +
+
+
+
+ Handmade Rattan Furniture +
+
+

Why Choose Andra's Garden Heaven?

+
+

+ Handmade Excellence: Each piece is crafted by skilled artisans who take pride in their + work, ensuring every detail is perfect. +

+ +

+ Natural Beauty: Our rattan furniture brings the warmth and texture of nature into your + home, creating a calming and inviting atmosphere. +

+ +

+ Versatile Design: From garden furniture to indoor pieces, our collection seamlessly + blends with any decor style and space. +

+ +

+ Local Service: As a Glasgow-based business, we provide personalized service and support + to our local community and beyond. +

+
+
+
+
+
+ + +
+
+
+

Ready to Transform Your Space?

+

+ Explore our collection of beautiful handmade rattan furniture and discover the perfect pieces for your home. +

+ Shop Our Collection +
+
+
+
+ + diff --git a/templates/page.contact-us.liquid b/templates/page.contact-us.liquid new file mode 100644 index 00000000..0568ca69 --- /dev/null +++ b/templates/page.contact-us.liquid @@ -0,0 +1,476 @@ +{% comment %} + Contact Us Page Template for Andra's Garden Heaven + Following brand guidelines: Pakistani Green (#1C4219), French Grey (#D0CCD0), White (#FBFCFF) + Typography: Futura Book for headings, Elgian for body text +{% endcomment %} + +
+ +
+
+
+

Contact Us

+

We'd Love to Hear from You

+
+
+
+ + +
+
+
+
+
+ + + + +
+

Visit Our Showroom

+

+ 123 Garden Street
+ Glasgow, G1 1AA
+ Scotland, UK +

+
+ +
+
+ + + +
+

Call Us

+

+ +44 (0) 141 123 4567
+ Monday - Friday: 9AM - 6PM
+ Saturday: 10AM - 4PM +

+
+ +
+
+ + + +
+

Email Us

+

+ hello@andrasgardenheaven.com
+ orders@andrasgardenheaven.com
+ support@andrasgardenheaven.com +

+
+
+
+
+ + +
+
+
+
+

Send Us a Message

+

+ Have a question about our furniture or need assistance with your order? We're here to help! +

+ + {% form 'contact' %} + {% if form.posted_successfully? %} +
+

Thank You!

+

Your message has been sent successfully. We'll get back to you within 24 hours.

+
+ {% endif %} + + {{ form.errors | default_errors }} + +
+
+ + +
+ +
+ + +
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ + +
+ + + {% endform %} +
+ +
+ Andra's Garden Heaven Showroom +
+
+
+
+ + +
+
+

Find Us

+
+
+

Andra's Garden Heaven

+

+ Address:
+ 123 Garden Street
+ Glasgow, G1 1AA
+ Scotland, UK +

+ +

+ Opening Hours:
+ Monday - Friday: 9:00 AM - 6:00 PM
+ Saturday: 10:00 AM - 4:00 PM
+ Sunday: Closed +

+ +

+ Parking:
+ Free parking available on-site +

+
+
+
+ + + +

Interactive Map Coming Soon

+
+
+
+
+
+ + +
+
+

Frequently Asked Questions

+
+
+

Do you offer delivery services?

+

+ Yes, we offer delivery throughout Glasgow and the surrounding areas. Delivery fees vary based on location + and order size. +

+
+ +
+

What is your return policy?

+

+ We offer a 30-day return policy for all unused items in their original packaging. Custom orders are + non-returnable. +

+
+ +
+

Do you offer custom furniture?

+

+ Yes, we specialize in custom rattan furniture. Contact us to discuss your specific requirements and get a + quote. +

+
+ +
+

How do I care for rattan furniture?

+

+ Rattan furniture should be kept indoors or in covered outdoor areas. Clean with a soft cloth and mild soap, + avoid direct sunlight. +

+
+
+
+
+
+ + diff --git a/templates/page.json b/templates/page.json index 36d23000..9fbdfd6e 100644 --- a/templates/page.json +++ b/templates/page.json @@ -1,20 +1,25 @@ -/* - * ------------------------------------------------------------ - * IMPORTANT: The contents of this file are auto-generated. - * - * This file may be updated by the Shopify admin theme editor - * or related systems. Please exercise caution as any changes - * made to this file may be overwritten. - * ------------------------------------------------------------ - */ -{ - "sections": { - "main": { - "type": "page", - "settings": {} - } - }, - "order": [ - "main" - ] -} +/* + * ------------------------------------------------------------ + * IMPORTANT: The contents of this file are auto-generated. + * + * This file may be updated by the Shopify admin theme editor + * or related systems. Please exercise caution as any changes + * made to this file may be overwritten. + * ------------------------------------------------------------ + */ +{ + "sections": { + "page": { + "type": "page", + "settings": {} + }, + "footer": { + "type": "footer", + "settings": {} + } + }, + "order": [ + "page", + "footer" + ] +} diff --git a/templates/product.json b/templates/product.json index 8329ddc6..0a63c9c4 100644 --- a/templates/product.json +++ b/templates/product.json @@ -1,20 +1,25 @@ -/* - * ------------------------------------------------------------ - * IMPORTANT: The contents of this file are auto-generated. - * - * This file may be updated by the Shopify admin theme editor - * or related systems. Please exercise caution as any changes - * made to this file may be overwritten. - * ------------------------------------------------------------ - */ -{ - "sections": { - "main": { - "type": "product", - "settings": {} - } - }, - "order": [ - "main" - ] -} +/* + * ------------------------------------------------------------ + * IMPORTANT: The contents of this file are auto-generated. + * + * This file may be updated by the Shopify admin theme editor + * or related systems. Please exercise caution as any changes + * made to this file may be overwritten. + * ------------------------------------------------------------ + */ +{ + "sections": { + "product": { + "type": "product", + "settings": {} + }, + "footer": { + "type": "footer", + "settings": {} + } + }, + "order": [ + "product", + "footer" + ] +} diff --git a/templates/search.json b/templates/search.json index 8c540c54..bd15d87e 100644 --- a/templates/search.json +++ b/templates/search.json @@ -1,20 +1,25 @@ -/* - * ------------------------------------------------------------ - * IMPORTANT: The contents of this file are auto-generated. - * - * This file may be updated by the Shopify admin theme editor - * or related systems. Please exercise caution as any changes - * made to this file may be overwritten. - * ------------------------------------------------------------ - */ -{ - "sections": { - "main": { - "type": "search", - "settings": {} - } - }, - "order": [ - "main" - ] -} +/* + * ------------------------------------------------------------ + * IMPORTANT: The contents of this file are auto-generated. + * + * This file may be updated by the Shopify admin theme editor + * or related systems. Please exercise caution as any changes + * made to this file may be overwritten. + * ------------------------------------------------------------ + */ +{ + "sections": { + "main": { + "type": "search", + "settings": {} + }, + "footer": { + "type": "footer", + "settings": {} + } + }, + "order": [ + "main", + "footer" + ] +}