diff --git a/assets/1-reel-ig.mp4 b/assets/1-reel-ig.mp4 new file mode 100644 index 0000000..af169a6 Binary files /dev/null and b/assets/1-reel-ig.mp4 differ diff --git a/assets/2-reel-ig.mp4 b/assets/2-reel-ig.mp4 new file mode 100644 index 0000000..e53de9d Binary files /dev/null and b/assets/2-reel-ig.mp4 differ diff --git a/assets/3-reel-ig.mp4 b/assets/3-reel-ig.mp4 new file mode 100644 index 0000000..4df2840 Binary files /dev/null and b/assets/3-reel-ig.mp4 differ diff --git a/assets/4-reel-ig.mp4 b/assets/4-reel-ig.mp4 new file mode 100644 index 0000000..e9ec2a5 Binary files /dev/null and b/assets/4-reel-ig.mp4 differ diff --git a/assets/5-reel-ig.mp4 b/assets/5-reel-ig.mp4 new file mode 100644 index 0000000..fa07b68 Binary files /dev/null and b/assets/5-reel-ig.mp4 differ diff --git a/assets/bestsellers-promo-sm.avif b/assets/bestsellers-promo-sm.avif new file mode 100644 index 0000000..c517319 Binary files /dev/null and b/assets/bestsellers-promo-sm.avif differ diff --git a/assets/bestsellers-promo.avif b/assets/bestsellers-promo.avif index 4507c4a..0dcd1e6 100644 Binary files a/assets/bestsellers-promo.avif and b/assets/bestsellers-promo.avif differ diff --git a/assets/distributors-photo-sm.avif b/assets/distributors-photo-sm.avif new file mode 100644 index 0000000..92fbc0f Binary files /dev/null and b/assets/distributors-photo-sm.avif differ diff --git a/assets/favicon-seasons.png b/assets/favicon-seasons.png new file mode 100644 index 0000000..94697d7 Binary files /dev/null and b/assets/favicon-seasons.png differ diff --git a/assets/learn-cover-1-sm.avif b/assets/learn-cover-1-sm.avif new file mode 100644 index 0000000..708fe95 Binary files /dev/null and b/assets/learn-cover-1-sm.avif differ diff --git a/assets/learn-cover-1.avif b/assets/learn-cover-1.avif index 3d93c1d..7abf799 100644 Binary files a/assets/learn-cover-1.avif and b/assets/learn-cover-1.avif differ diff --git a/assets/learn-cover-2-sm.avif b/assets/learn-cover-2-sm.avif new file mode 100644 index 0000000..4983778 Binary files /dev/null and b/assets/learn-cover-2-sm.avif differ diff --git a/assets/learn-cover-2.avif b/assets/learn-cover-2.avif index cfe2e92..a8ae952 100644 Binary files a/assets/learn-cover-2.avif and b/assets/learn-cover-2.avif differ diff --git a/assets/learn-cover-4-sm.avif b/assets/learn-cover-4-sm.avif new file mode 100644 index 0000000..7465a7e Binary files /dev/null and b/assets/learn-cover-4-sm.avif differ diff --git a/assets/learn-cover-4.avif b/assets/learn-cover-4.avif index ede78c0..a3cc252 100644 Binary files a/assets/learn-cover-4.avif and b/assets/learn-cover-4.avif differ diff --git a/assets/learn-cover-5-sm.avif b/assets/learn-cover-5-sm.avif new file mode 100644 index 0000000..90c2814 Binary files /dev/null and b/assets/learn-cover-5-sm.avif differ diff --git a/assets/learn-cover-5.avif b/assets/learn-cover-5.avif index 11f6094..3a374f4 100644 Binary files a/assets/learn-cover-5.avif and b/assets/learn-cover-5.avif differ diff --git a/assets/nuevos-productos.mp4 b/assets/nuevos-productos.mp4 new file mode 100644 index 0000000..34f905b Binary files /dev/null and b/assets/nuevos-productos.mp4 differ diff --git a/assets/reel1.jpg b/assets/reel1.jpg new file mode 100644 index 0000000..6043c83 Binary files /dev/null and b/assets/reel1.jpg differ diff --git a/assets/routine-hidrata-sm.avif b/assets/routine-hidrata-sm.avif new file mode 100644 index 0000000..ed89f98 Binary files /dev/null and b/assets/routine-hidrata-sm.avif differ diff --git a/assets/routine-limpia-sm.avif b/assets/routine-limpia-sm.avif new file mode 100644 index 0000000..7f27223 Binary files /dev/null and b/assets/routine-limpia-sm.avif differ diff --git a/assets/routine-photo-sm.avif b/assets/routine-photo-sm.avif new file mode 100644 index 0000000..282173d Binary files /dev/null and b/assets/routine-photo-sm.avif differ diff --git a/assets/routine-photo.avif b/assets/routine-photo.avif index e8ce662..fd3cdea 100644 Binary files a/assets/routine-photo.avif and b/assets/routine-photo.avif differ diff --git a/assets/routine-protege-sm.avif b/assets/routine-protege-sm.avif new file mode 100644 index 0000000..0569914 Binary files /dev/null and b/assets/routine-protege-sm.avif differ diff --git a/assets/routine-trata-sm.avif b/assets/routine-trata-sm.avif new file mode 100644 index 0000000..1f1e762 Binary files /dev/null and b/assets/routine-trata-sm.avif differ diff --git a/assets/routine-trata.avif b/assets/routine-trata.avif index 43e88c5..6f8deaf 100644 Binary files a/assets/routine-trata.avif and b/assets/routine-trata.avif differ diff --git a/assets/skin-match-photo-cheek-sm.avif b/assets/skin-match-photo-cheek-sm.avif new file mode 100644 index 0000000..b493cd3 Binary files /dev/null and b/assets/skin-match-photo-cheek-sm.avif differ diff --git a/assets/skin-match-photo-cheek.avif b/assets/skin-match-photo-cheek.avif index cb988e9..ca294fd 100644 Binary files a/assets/skin-match-photo-cheek.avif and b/assets/skin-match-photo-cheek.avif differ diff --git a/assets/skin-match-photo-dropper-sm.avif b/assets/skin-match-photo-dropper-sm.avif new file mode 100644 index 0000000..233d476 Binary files /dev/null and b/assets/skin-match-photo-dropper-sm.avif differ diff --git a/assets/skin-match-photo-dropper.avif b/assets/skin-match-photo-dropper.avif index 6944cf8..9c01c2b 100644 Binary files a/assets/skin-match-photo-dropper.avif and b/assets/skin-match-photo-dropper.avif differ diff --git a/assets/skin-match-photo-jar-sm.avif b/assets/skin-match-photo-jar-sm.avif new file mode 100644 index 0000000..68482de Binary files /dev/null and b/assets/skin-match-photo-jar-sm.avif differ diff --git a/assets/skin-match-photo-jar.avif b/assets/skin-match-photo-jar.avif index dcd8d9d..c64a723 100644 Binary files a/assets/skin-match-photo-jar.avif and b/assets/skin-match-photo-jar.avif differ diff --git a/assets/skin-match-photo-serum-sm.avif b/assets/skin-match-photo-serum-sm.avif new file mode 100644 index 0000000..f8261f3 Binary files /dev/null and b/assets/skin-match-photo-serum-sm.avif differ diff --git a/assets/skin-match-photo-serum.avif b/assets/skin-match-photo-serum.avif index b937b78..09be68e 100644 Binary files a/assets/skin-match-photo-serum.avif and b/assets/skin-match-photo-serum.avif differ diff --git a/assets/tailwind.css b/assets/tailwind.css index 877f6d1..81843c1 100644 --- a/assets/tailwind.css +++ b/assets/tailwind.css @@ -1 +1 @@ -*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.left-0{left:0}.right-0{right:0}.top-0{top:0}.top-full{top:100%}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.col-span-5{grid-column:span 5/span 5}.col-start-1{grid-column-start:1}.col-start-2{grid-column-start:2}.col-start-4{grid-column-start:4}.col-start-5{grid-column-start:5}.row-span-2{grid-row:span 2/span 2}.row-start-1{grid-row-start:1}.row-start-2{grid-row-start:2}.m-0{margin:0}.mr-5{margin-right:1.25rem}.mr-\[50px\]{margin-right:50px}.mt-\[15px\]{margin-top:15px}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.size-10{width:2.5rem;height:2.5rem}.size-\[10px\]{width:10px;height:10px}.size-\[30px\]{width:30px;height:30px}.size-\[45px\]{width:45px;height:45px}.h-4{height:1rem}.h-\[50px\]{height:50px}.h-\[55px\]{height:55px}.h-auto{height:auto}.w-\[223px\]{width:223px}.w-full{width:100%}.min-w-0{min-width:0}.min-w-4{min-width:1rem}.min-w-\[220px\]{min-width:220px}.max-w-\[699px\]{max-width:699px}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-\[auto_minmax\(0\2c 699px\)_1fr_auto_auto\]{grid-template-columns:auto minmax(0,699px) 1fr auto auto}.grid-cols-subgrid{grid-template-columns:subgrid}.grid-rows-subgrid{grid-template-rows:subgrid}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-center{align-items:center}.justify-center{justify-content:center}.gap-10{gap:2.5rem}.gap-2\.5{gap:.625rem}.gap-5{gap:1.25rem}.gap-\[15px\]{gap:15px}.gap-\[50px\]{gap:50px}.self-stretch{align-self:stretch}.overflow-hidden{overflow:hidden}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-0{border-width:0}.border-solid{border-style:solid}.border-black{--tw-border-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity,1))}.bg-black\/40{background-color:rgba(0,0,0,.4)}.bg-brand-cloud{--tw-bg-opacity:1;background-color:rgb(248 248 248/var(--tw-bg-opacity,1))}.bg-brand-mint{--tw-bg-opacity:1;background-color:rgb(157 214 199/var(--tw-bg-opacity,1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-0{padding:0}.p-2{padding:.5rem}.p-\[5px\]{padding:5px}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-\[100px\]{padding-left:100px;padding-right:100px}.px-\[3px\]{padding-left:3px;padding-right:3px}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pt-\[15px\]{padding-top:15px}.text-center{text-align:center}.font-sans{font-family:Archivo,sans-serif}.text-\[10px\]{font-size:10px}.text-\[14px\]{font-size:14px}.text-\[16px\]{font-size:16px}.text-\[20px\]{font-size:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-none{line-height:1}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.no-underline{text-decoration-line:none}.shadow-\[0_12px_40px_rgba\(0\2c 0\2c 0\2c 0\.08\)\]{--tw-shadow:0 12px 40px rgba(0,0,0,.08);--tw-shadow-colored:0 12px 40px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.placeholder\:font-light::-moz-placeholder{font-weight:300}.placeholder\:font-light::placeholder{font-weight:300}.placeholder\:text-brand-placeholder::-moz-placeholder{--tw-text-opacity:1;color:rgb(191 189 190/var(--tw-text-opacity,1))}.placeholder\:text-brand-placeholder::placeholder{--tw-text-opacity:1;color:rgb(191 189 190/var(--tw-text-opacity,1))}.hover\:bg-brand-cloud:hover{--tw-bg-opacity:1;background-color:rgb(248 248 248/var(--tw-bg-opacity,1))}.focus-visible\:outline:focus-visible{outline-style:solid}.focus-visible\:outline-2:focus-visible{outline-width:2px}.focus-visible\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\:outline-offset-4:focus-visible{outline-offset:4px}.focus-visible\:outline-black:focus-visible{outline-color:#000}@media (max-width:1439px){.xxl\:mr-8{margin-right:2rem}.xxl\:gap-6{gap:1.5rem}.xxl\:gap-8{gap:2rem}.xxl\:px-10{padding-left:2.5rem;padding-right:2.5rem}}@media (max-width:1119px){.xl\:text-\[14px\]{font-size:14px}} \ No newline at end of file +*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.container{width:100%;margin-right:auto;margin-left:auto;padding-right:1rem;padding-left:1rem}@media (min-width:1702px){.container{max-width:1702px}}.article-rte{font-size:14.4px;line-height:1.89;--tw-text-opacity:1;color:rgb(33 35 38/var(--tw-text-opacity,1))}.article-rte>:first-child{margin-top:0}.article-rte h2{margin-top:29px;margin-bottom:29px;font-size:35px;font-weight:300;line-height:1.27;letter-spacing:.6px;--tw-text-opacity:1;color:rgb(26 27 24/var(--tw-text-opacity,1))}@media (max-width:767px){.article-rte h2{font-size:26px}}.article-rte h3{margin-bottom:.75rem;margin-top:1.5rem;font-size:26px;font-weight:300;line-height:1.27;letter-spacing:.6px;--tw-text-opacity:1;color:rgb(26 27 24/var(--tw-text-opacity,1))}@media (max-width:767px){.article-rte h3{font-size:22px}}.article-rte p{margin-bottom:14.4px}.article-rte ol,.article-rte ul{margin-bottom:14.4px;padding-left:1.25rem}.article-rte ul{list-style:disc}.article-rte ol{list-style:decimal}.article-rte li{margin-bottom:4.5px}.article-rte a{--tw-text-opacity:1;color:rgb(26 27 24/var(--tw-text-opacity,1));text-decoration-line:underline;text-underline-offset:3px}.article-rte img{height:auto;max-width:100%;border-radius:18px}.article-rte blockquote,.article-rte img{margin-top:1.5rem;margin-bottom:1.5rem}.article-rte blockquote{border-left-width:2px;border-style:solid;--tw-border-opacity:1;border-color:rgb(157 214 199/var(--tw-border-opacity,1));padding-left:1rem}.article-rte strong{font-weight:500}.about-faq summary::-webkit-details-marker{display:none}.about-faq summary{list-style:none}.about-faq details[open] .about-faq__icon{transform:rotate(45deg)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.left-0{left:0}.left-1\/2{left:50%}.right-0{right:0}.top-0{top:0}.top-1\/2{top:50%}.top-full{top:100%}.z-30{z-index:30}.z-40{z-index:40}.col-span-5{grid-column:span 5/span 5}.col-span-full{grid-column:1/-1}.col-start-1{grid-column-start:1}.col-start-2{grid-column-start:2}.col-start-4{grid-column-start:4}.col-start-5{grid-column-start:5}.row-span-2{grid-row:span 2/span 2}.row-start-1{grid-row-start:1}.row-start-2{grid-row-start:2}.m-0{margin:0}.m-1{margin:.25rem}.mx-\[4px\]{margin-left:4px;margin-right:4px}.mx-auto{margin-left:auto;margin-right:auto}.mb-0{margin-bottom:0}.mb-1\.5{margin-bottom:.375rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-\[12\.6px\]{margin-bottom:12.6px}.mb-\[18px\]{margin-bottom:18px}.mb-\[27px\]{margin-bottom:27px}.mb-\[45px\]{margin-bottom:45px}.ml-1{margin-left:.25rem}.mr-5{margin-right:1.25rem}.mr-\[50px\]{margin-right:50px}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}.mt-14{margin-top:3.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-7{margin-top:1.75rem}.mt-8{margin-top:2rem}.mt-9{margin-top:2.25rem}.mt-\[13\.5px\]{margin-top:13.5px}.mt-\[15px\]{margin-top:15px}.mt-\[45px\]{margin-top:45px}.mt-\[6px\]{margin-top:6px}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.\!block{display:block!important}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.aspect-\[3\/2\]{aspect-ratio:3/2}.aspect-square{aspect-ratio:1/1}.size-10{width:2.5rem;height:2.5rem}.size-3\.5{width:.875rem;height:.875rem}.size-5{width:1.25rem;height:1.25rem}.size-7{width:1.75rem;height:1.75rem}.size-\[10px\]{width:10px;height:10px}.size-\[30px\]{width:30px;height:30px}.size-\[31px\]{width:31px;height:31px}.size-\[45px\]{width:45px;height:45px}.size-\[58px\]{width:58px;height:58px}.h-4{height:1rem}.h-\[50px\]{height:50px}.h-\[55px\]{height:55px}.h-\[650px\]{height:650px}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.min-h-\[140px\]{min-height:140px}.min-h-\[650px\]{min-height:650px}.min-h-screen{min-height:100vh}.w-\[223px\]{width:223px}.w-full{width:100%}.min-w-0{min-width:0}.min-w-4{min-width:1rem}.min-w-\[260px\]{min-width:260px}.max-w-\[1070px\]{max-width:1070px}.max-w-\[1100px\]{max-width:1100px}.max-w-\[1170px\]{max-width:1170px}.max-w-\[1440px\]{max-width:1440px}.max-w-\[420px\]{max-width:420px}.max-w-\[460px\]{max-width:460px}.max-w-\[640px\]{max-width:640px}.max-w-\[699px\]{max-width:699px}.max-w-\[760px\]{max-width:760px}.max-w-\[900px\]{max-width:900px}.flex-1{flex:1 1 0%}.flex-shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y:-50%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-\[auto_minmax\(0\2c 699px\)_1fr_auto_auto\]{grid-template-columns:auto minmax(0,699px) 1fr auto auto}.grid-cols-subgrid{grid-template-columns:subgrid}.grid-rows-subgrid{grid-template-rows:subgrid}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-10{gap:2.5rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-\[15px\]{gap:15px}.gap-\[27px\]{gap:27px}.gap-\[50px\]{gap:50px}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-x-\[27px\]{-moz-column-gap:27px;column-gap:27px}.gap-y-10{row-gap:2.5rem}.gap-y-16{row-gap:4rem}.gap-y-2{row-gap:.5rem}.self-stretch{align-self:stretch}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.text-balance{text-wrap:balance}.rounded-\[18px\]{border-radius:18px}.rounded-\[7px\]{border-radius:7px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-0{border-width:0}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-solid{border-style:solid}.border-\[\#1a1b18\]{--tw-border-opacity:1;border-color:rgb(26 27 24/var(--tw-border-opacity,1))}.border-\[\#d2d5d9\]{--tw-border-opacity:1;border-color:rgb(210 213 217/var(--tw-border-opacity,1))}.border-\[\#ececec\]{--tw-border-opacity:1;border-color:rgb(236 236 236/var(--tw-border-opacity,1))}.border-black{--tw-border-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity,1))}.border-brand-mint{--tw-border-opacity:1;border-color:rgb(157 214 199/var(--tw-border-opacity,1))}.bg-\[\#1a1b18\]{--tw-bg-opacity:1;background-color:rgb(26 27 24/var(--tw-bg-opacity,1))}.bg-\[\#f3f3f3\]{--tw-bg-opacity:1;background-color:rgb(243 243 243/var(--tw-bg-opacity,1))}.bg-\[\#f9f9fa\]{--tw-bg-opacity:1;background-color:rgb(249 249 250/var(--tw-bg-opacity,1))}.bg-black\/40{background-color:rgba(0,0,0,.4)}.bg-brand-cloud{--tw-bg-opacity:1;background-color:rgb(248 248 248/var(--tw-bg-opacity,1))}.bg-brand-mint{--tw-bg-opacity:1;background-color:rgb(157 214 199/var(--tw-bg-opacity,1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-white\/90{background-color:hsla(0,0%,100%,.9)}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-\[5px\]{padding:5px}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-8{padding-left:2rem;padding-right:2rem}.px-\[100px\]{padding-left:100px;padding-right:100px}.px-\[11px\]{padding-left:11px;padding-right:11px}.px-\[18px\]{padding-left:18px;padding-right:18px}.px-\[22px\]{padding-left:22px;padding-right:22px}.px-\[27px\]{padding-left:27px;padding-right:27px}.px-\[3px\]{padding-left:3px;padding-right:3px}.px-\[45px\]{padding-left:45px;padding-right:45px}.px-\[6px\]{padding-left:6px;padding-right:6px}.px-\[90px\]{padding-left:90px;padding-right:90px}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-\[26px\]{padding-top:26px;padding-bottom:26px}.py-\[45px\]{padding-top:45px;padding-bottom:45px}.py-\[6px\]{padding-top:6px;padding-bottom:6px}.py-\[8px\]{padding-top:8px;padding-bottom:8px}.py-\[9px\]{padding-top:9px;padding-bottom:9px}.pb-12{padding-bottom:3rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pb-9{padding-bottom:2.25rem}.pb-\[18px\]{padding-bottom:18px}.pb-\[72px\]{padding-bottom:72px}.pt-10{padding-top:2.5rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.pt-\[13\.5px\]{padding-top:13.5px}.pt-\[15px\]{padding-top:15px}.pt-\[60px\]{padding-top:60px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-sans{font-family:Archivo,sans-serif}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[12\.6px\]{font-size:12.6px}.text-\[12px\]{font-size:12px}.text-\[14\.4px\]{font-size:14.4px}.text-\[14px\]{font-size:14px}.text-\[15px\]{font-size:15px}.text-\[16px\]{font-size:16px}.text-\[18px\]{font-size:18px}.text-\[20px\]{font-size:20px}.text-\[22px\]{font-size:22px}.text-\[28px\]{font-size:28px}.text-\[35px\]{font-size:35px}.text-\[50px\]{font-size:50px}.text-\[64px\]{font-size:64px}.text-\[9px\]{font-size:9px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.uppercase{text-transform:uppercase}.leading-\[1\.05\]{line-height:1.05}.leading-\[1\.08\]{line-height:1.08}.leading-\[1\.15\]{line-height:1.15}.leading-\[1\.1\]{line-height:1.1}.leading-\[1\.27\]{line-height:1.27}.leading-\[1\.45\]{line-height:1.45}.leading-\[1\.5\]{line-height:1.5}.leading-\[1\.89\]{line-height:1.89}.leading-\[21px\]{line-height:21px}.leading-\[26px\]{line-height:26px}.leading-none{line-height:1}.tracking-\[0\.08em\]{letter-spacing:.08em}.tracking-\[0\.6px\]{letter-spacing:.6px}.tracking-\[1\.17px\]{letter-spacing:1.17px}.text-\[\#0a0a0a\]{--tw-text-opacity:1;color:rgb(10 10 10/var(--tw-text-opacity,1))}.text-\[\#1a1b18\]{--tw-text-opacity:1;color:rgb(26 27 24/var(--tw-text-opacity,1))}.text-\[\#212326\]{--tw-text-opacity:1;color:rgb(33 35 38/var(--tw-text-opacity,1))}.text-\[\#212326\]\/75{color:rgba(33,35,38,.75)}.text-\[\#6b7280\]{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.text-inherit{color:inherit}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.underline-offset-2{text-underline-offset:2px}.underline-offset-\[5px\]{text-underline-offset:5px}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow-\[0_12px_40px_rgba\(0\2c 0\2c 0\2c 0\.08\)\]{--tw-shadow:0 12px 40px rgba(0,0,0,.08);--tw-shadow-colored:0 12px 40px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.blur{--tw-blur:blur(8px)}.blur,.drop-shadow{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow{--tw-drop-shadow:drop-shadow(0 1px 2px rgba(0,0,0,.1)) drop-shadow(0 1px 1px rgba(0,0,0,.06))}.invert{--tw-invert:invert(100%)}.filter,.invert{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-500{transition-duration:.5s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.placeholder\:font-light::-moz-placeholder{font-weight:300}.placeholder\:font-light::placeholder{font-weight:300}.placeholder\:text-brand-placeholder::-moz-placeholder{--tw-text-opacity:1;color:rgb(191 189 190/var(--tw-text-opacity,1))}.placeholder\:text-brand-placeholder::placeholder{--tw-text-opacity:1;color:rgb(191 189 190/var(--tw-text-opacity,1))}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:bottom-0:after{content:var(--tw-content);bottom:0}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:h-\[3px\]:after{content:var(--tw-content);height:3px}.after\:w-\[90px\]:after{content:var(--tw-content);width:90px}.after\:-translate-x-1\/2:after{content:var(--tw-content);--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.after\:bg-\[\#1a1b18\]:after{content:var(--tw-content);--tw-bg-opacity:1;background-color:rgb(26 27 24/var(--tw-bg-opacity,1))}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.hover\:text-brand-ink:hover{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.hover\:underline:hover{text-decoration-line:underline}.focus\:border-\[\#1a1b18\]:focus{--tw-border-opacity:1;border-color:rgb(26 27 24/var(--tw-border-opacity,1))}.focus-visible\:outline:focus-visible{outline-style:solid}.focus-visible\:outline-2:focus-visible{outline-width:2px}.focus-visible\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\:outline-offset-4:focus-visible{outline-offset:4px}.focus-visible\:outline-black:focus-visible{outline-color:#000}.group:hover .group-hover\:scale-105{--tw-scale-x:1.05;--tw-scale-y:1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (max-width:1439px){.xxl\:mr-8{margin-right:2rem}.xxl\:gap-6{gap:1.5rem}.xxl\:gap-8{gap:2rem}.xxl\:px-10{padding-left:2.5rem;padding-right:2.5rem}}@media (max-width:1119px){.xl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.xl\:text-\[14px\]{font-size:14px}}@media (max-width:1024px){.lg\:block{display:block}.lg\:hidden{display:none}.lg\:min-h-0{min-height:0}.lg\:max-w-none{max-width:none}.lg\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:flex-col{flex-direction:column}.lg\:items-start{align-items:flex-start}.lg\:justify-start{justify-content:flex-start}.lg\:gap-4{gap:1rem}.lg\:px-0{padding-left:0;padding-right:0}.lg\:text-\[48px\]{font-size:48px}}@media (max-width:767px){.md\:mt-8{margin-top:2rem}.md\:h-\[420px\]{height:420px}.md\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.md\:flex-col{flex-direction:column}.md\:items-start{align-items:flex-start}.md\:justify-start{justify-content:flex-start}.md\:gap-y-10{row-gap:2.5rem}.md\:gap-y-8{row-gap:2rem}.md\:px-5{padding-left:1.25rem;padding-right:1.25rem}.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:py-10{padding-top:2.5rem;padding-bottom:2.5rem}.md\:py-12{padding-top:3rem;padding-bottom:3rem}.md\:py-8{padding-top:2rem;padding-bottom:2rem}.md\:pb-12{padding-bottom:3rem}.md\:pt-10{padding-top:2.5rem}.md\:text-left{text-align:left}.md\:text-\[18px\]{font-size:18px}.md\:text-\[26px\]{font-size:26px}.md\:text-\[28px\]{font-size:28px}.md\:text-\[32px\]{font-size:32px}.md\:text-\[34px\]{font-size:34px}.md\:text-\[36px\]{font-size:36px}.md\:leading-\[1\.2\]{line-height:1.2}} \ No newline at end of file diff --git a/config/settings_data.json b/config/settings_data.json index 512f358..5f2e1c9 100644 --- a/config/settings_data.json +++ b/config/settings_data.json @@ -1,12 +1 @@ -/* - * ------------------------------------------------------------ - * 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. - * ------------------------------------------------------------ - */ -{ - "current": {} -} +{"current":{}} \ No newline at end of file diff --git a/config/settings_schema.json b/config/settings_schema.json index 7bebd3c..2d8fdaf 100644 --- a/config/settings_schema.json +++ b/config/settings_schema.json @@ -64,5 +64,23 @@ "default": 4 } ] + }, + { + "name": "SEO", + "settings": [ + { + "type": "image_picker", + "id": "favicon", + "label": "Favicon", + "info": "PNG cuadrado, mínimo 192 × 192 px. Vacío = ícono Seasons por defecto." + }, + { + "type": "textarea", + "id": "default_meta_description", + "label": "Meta descripción por defecto", + "default": "Skincare mexicano con ingredientes naturales: protectores solares, sérums, hidratantes y limpiadores para cada tipo de piel. Encuentra tu rutina Seasons.", + "info": "Se usa en páginas sin descripción propia (inicio, colecciones sin descripción). Máx. ~155 caracteres." + } + ] } -] +] \ No newline at end of file diff --git a/layout/theme.liquid b/layout/theme.liquid index 8f507ce..905189c 100644 --- a/layout/theme.liquid +++ b/layout/theme.liquid @@ -5,15 +5,20 @@ {% render 'css-variables' %} {% # Load and preload the critical CSS %} - {{ 'critical.css' | asset_url | stylesheet_tag: preload: true }} + {% render 'font-faces' %} - {{ 'tailwind.css' | asset_url | stylesheet_tag }} + {{ 'tailwind.css' | asset_url | stylesheet_tag: preload: true }} {% # Social, title, etc. %} {% render 'meta-tags' %} {% capture shopify_header %}{{ content_for_header }}{% endcapture %} {% render 'delay-header-scripts', html: shopify_header %} + {% # WhatsApp coupon widget host: warm up the connection early %} + {%- unless request.design_mode %} + + + {%- endunless %} @@ -33,5 +38,6 @@ {% endif %} + {% render 'whatsapp-coupon-widget' %} diff --git a/locales/en.default.json b/locales/en.default.json index e367464..514a2d3 100644 --- a/locales/en.default.json +++ b/locales/en.default.json @@ -1,12 +1,3 @@ -/* - * ------------------------------------------------------------ - * IMPORTANT: The contents of this file are auto-generated. - * - * This file may be updated by the Shopify admin language editor - * or related systems. Please exercise caution as any changes - * made to this file may be overwritten. - * ------------------------------------------------------------ - */ { "404": { "title": "404", @@ -14,13 +5,90 @@ "back_to_shopping": "Back to shopping" }, "blog": { - "article_comments": "Comments", - "article_metadata_html": "{{ date }} by {{ author }}", - "comment_form_body": "Comment", - "comment_form_email": "Email", - "comment_form_name": "Name", - "comment_form_submit": "Post", - "comment_form_title": "Add a comment" + "all": "Todas", + "article_comments": "Comentarios", + "article_metadata_html": "{{ date }} por {{ author }}", + "back": "Volver a {{ blog }}", + "breadcrumb": "Migas de pan", + "comment_form_body": "Comentario", + "comment_form_email": "Correo electrónico", + "comment_form_name": "Nombre", + "comment_form_submit": "Publicar", + "comment_form_title": "Escribe un comentario", + "comment_success": "Tu comentario se publicó.", + "copied": "Enlace copiado", + "copy_link": "Copiar enlace", + "empty": "No hay artículos por ahora.", + "home": "Inicio", + "next": "Siguiente", + "page": "Página {{ page }}", + "pagination": "Paginación", + "previous": "Anterior", + "read_more": "— Leer más", + "related": "También te puede interesar", + "share": "Compartir", + "view_all": "Ver todo" + }, + "about": { + "hero_title": "Nuestro propósito", + "hero_line_1": "Acompañar a las personas a", + "hero_emphasis_1": "reconocerse, sentirse", + "hero_and": "y", + "hero_emphasis_2": "celebrarse", + "hero_line_3": "en cada una de sus temporadas.", + "play": "Reproducir video", + "pillars_title": "Creamos skincare hecho en México con estándares globales.", + "pillar_1_title": "Inspirados y desarrollados para piel latina", + "pillar_1_text": "Creamos productos pensados para las necesidades reales de la piel latina, considerando su diversidad de tonos, climas y estilos de vida.", + "pillar_2_title": "Unimos ciencia con ingredientes naturales", + "pillar_2_text": "Formulamos con activos respaldados por la ciencia, potenciados con ingredientes naturales que maximizan resultados sin comprometer la salud de la piel. Es el equilibrio perfecto entre innovación y naturaleza.", + "pillar_3_title": "Skinmalismo con productos multipropósito", + "pillar_3_text": "Creemos en menos pasos, mejores resultados: desarrollamos productos multifuncionales que simplifican la rutina sin sacrificar eficacia.", + "pillar_4_title": "Rutina de 4 pasos", + "pillar_4_text": "Estructuramos el cuidado de la piel en una rutina clara de 4 pasos, fácil de seguir y adaptable a cualquier estilo de vida. Esto permite constancia, mejores resultados y una experiencia sin complicaciones.", + "values_title": "Lo que somos", + "value_1": "Textura ligera", + "value_2": "Cruelty-free", + "value_3": "Love your skin", + "facts_title": "Sobre", + "facts_brand": "Seasons", + "facts_intro": "Seasons (Seasons Love Your Skin) es una marca mexicana de dermocosmética fundada en 2012 en Guadalajara, Jalisco. Con desarrollo de fórmulas y manufactura propias en Zapopan, Jalisco, creamos skincare hecho en México, vegano y cruelty-free, que une ciencia dermatológica con ingredientes naturales para la piel latina.", + "fact_1_title": "Fundación", + "fact_1_text": "Marca mexicana fundada en 2012 en Guadalajara, Jalisco, México.", + "fact_2_title": "Hecho en México", + "fact_2_text": "Desarrollo de fórmulas y manufactura propias en Zapopan, Jalisco. Productos hechos en México.", + "fact_3_title": "Veganas y cruelty-free", + "fact_3_text": "Fórmulas 100% veganas (sin ingredientes de origen animal) y libres de crueldad animal (no testeadas en animales).", + "fact_4_title": "Ciencia + naturaleza", + "fact_4_text": "Unimos la ciencia dermatológica con ingredientes naturales y activos de alta eficacia para las necesidades reales de la piel latina.", + "fact_5_title": "Activos clave", + "fact_5_text": "Niacinamida, ácido hialurónico, vitamina C, vitamina E, retinol, ácido salicílico, coenzima Q10 y péptidos, con extractos botánicos (manzana verde, nopal, té verde, aloe, avena y más).", + "fact_6_title": "Portafolio", + "fact_6_text": "Más de 30 productos organizados por necesidad de piel, bajo un sistema de 4 pasos: 01. Limpia · 02. Trata · 03. Hidrata · 04. Protege.", + "fact_7_title": "Certificación sanitaria", + "fact_7_text": "Aviso de Funcionamiento COFEPRIS 2314105019X00941 · Aviso de Publicidad COFEPRIS 2314102002D00053. Sellos de vegano, cruelty-free y envase reciclable.", + "fact_8_title": "Dónde encontrarnos", + "fact_8_text": "Tienda oficial seasonsmexico.com (con Glow Army), Liverpool, Amazon, Mercado Libre y TikTok Shop, además de una red nacional de distribuidoras, cosmetólogas y spas.", + "press": "Reconocida en medios como Grazia México y Latinoamérica como marca de belleza mexicana cruelty-free.", + "stores_title": "Encuentra productos Seasons cerca de ti.", + "stores_text": "Estás a un clic de tu rutina, en tu marketplace favorito o en tiendas físicas.", + "stores_button": "Consultar ubicaciones", + "faq_title": "Preguntas frecuentes sobre Seasons", + "faq_1_q": "¿Dónde se fabrica Seasons?", + "faq_1_a": "En instalaciones de manufactura propias en Zapopan, Jalisco, México. Por eso nuestros productos son hechos en México, con control de la fórmula y la calidad de principio a fin.", + "faq_2_q": "¿Los productos son veganos y cruelty-free?", + "faq_2_a": "Sí. Nuestras fórmulas son 100% veganas (sin ingredientes de origen animal) y libres de crueldad animal: no se testean en animales.", + "faq_3_q": "¿Seasons cuenta con registro ante COFEPRIS?", + "faq_3_a": "Sí. Contamos con Aviso de Funcionamiento COFEPRIS 2314105019X00941 y Aviso de Publicidad COFEPRIS 2314102002D00053, requeridos para la comercialización de nuestros productos.", + "faq_4_q": "¿Para quién están pensadas las fórmulas?", + "faq_4_a": "Para la piel latina. Unimos ciencia dermatológica con ingredientes naturales, considerando la diversidad de tonos, climas y estilos de vida de nuestra piel.", + "faq_5_q": "¿Cómo es la rutina Seasons?", + "faq_5_a": "Un sistema sencillo de 4 pasos: 01. Limpia, 02. Trata, 03. Hidrata y 04. Protege, con más de 30 productos organizados por necesidad de piel.", + "faq_6_q": "¿Dónde puedo comprar Seasons?", + "faq_6_a": "En nuestra tienda oficial seasonsmexico.com (con el programa de lealtad Glow Army), en Liverpool, y en Amazon, Mercado Libre y TikTok Shop. También a través de nuestra red de distribuidoras, cosmetólogas y spas.", + "join_title": "Crezcamos juntos", + "join_text": "Buscamos socios que compartan nuestra visión de bienestar y cuidado consciente. Únete a Seasons y construyamos juntos una experiencia de valor para más personas.", + "join_button": "Distribuidores" }, "cart": { "checkout": "Checkout", @@ -83,6 +151,16 @@ "before": "Antes", "after": "Después", "reviewer": "Cliente", + "gallery": "Imágenes del producto", + "write_review": "Escribir Reseña", + "view_more": "Ver más", + "review_name": "Nombre", + "review_email": "Correo electrónico", + "review_rating": "Calificación", + "review_body": "Tu reseña", + "review_submit": "Publicar reseña", + "review_sent": "Gracias, recibimos tu reseña.", + "review_error": "No pudimos enviar tu reseña. Inténtalo de nuevo.", "reviews_label": "Reseñas", "decrease": "Reducir cantidad", "increase": "Aumentar cantidad" @@ -138,7 +216,6 @@ "skin_type": "Por tipo de piel", "concern": "Por preocupación", "sunscreen": "Protección Solar", - "favorites": "Los favoritos", "kits": "Kits y Rutinas", "moisturizers": "Hidratantes", "glow_army": "Glow Army", @@ -198,19 +275,14 @@ }, "seasons": { "about": "Quiénes somos", - "blog": "Blog Seasons", - "reviews": "Reseñas", + "blog": "Blog", "stores": "Puntos de venta" }, "shop": { "all": "Todos los productos", - "bestsellers": "Más vendidos", - "new": "Nuevos lanzamientos", - "kits": "Kits y rutinas", - "previous": "Línea anterior" + "kits": "Kits y rutinas" }, "routine": { - "ideal": "Tu rutina ideal", "oily": "Piel grasa", "combination": "Piel mixta", "dry": "Piel seca", @@ -218,7 +290,6 @@ "kits": "Kits y rutinas" }, "help": { - "faq": "Preguntas frecuentes", "shipping": "Envíos", "returns": "Devoluciones", "billing": "Facturación", @@ -228,8 +299,7 @@ "community": { "experts": "Seasons Experts", "distributor": "Ser distribuidor", - "glow_army": "Glow Army", - "videos": "Videos y tips" + "glow_army": "Glow Army" }, "newsletter": { "heading": "Obtén un descuento sorpresa\nen tu primera compra", @@ -309,6 +379,54 @@ "success": "Gracias por registrarte.", "error": "No pudimos registrarte. Intenta de nuevo." }, + "glow_army": { + "heading": "Glow Army", + "text": "Nuestro espacio exclusivo dónde recompensamos que cuides tu carita. Cada compra que hagas te acerca a recompensas increíbles.", + "join": "Unirse", + "points": "Ver mis puntos", + "how": "Cómo funciona", + "earn": "Formas de ganar puntos", + "redeem": "Formas de canjear puntos", + "referral_heading": "Da 10% de descuento, recibe 10% de descuento", + "referral_text": "Únete al programa de referidos y reclama tus recompensas", + "referral_button": "Únete ahora", + "steps": { + "one_title": "Crear una cuenta", + "one_text": "Conviértete en miembro para recibir recompensas", + "two_title": "Ganar puntos", + "two_text": "Completa estas actividades para acumular puntos", + "three_title": "Canjear puntos", + "three_text": "Intercambia puntos por descuentos emocionantes" + }, + "earn_items": { + "order_title": "Completar un pedido", + "order_text": "Gana 1 punto por cada $1", + "birthday_title": "Feliz cumpleaños", + "birthday_text": "200 puntos", + "review_title": "Dejar una reseña", + "review_text": "100 puntos", + "profile_title": "Completa tu perfil", + "profile_text": "50 puntos" + }, + "rewards": { + "rate_title": "Canjea tus puntos (20 por cada $1)", + "rate_text": "20 puntos = $1", + "off_50_title": "$50 off", + "off_50_text": "1,000 puntos", + "balm_title": "Bálsamo labial gratis", + "balm_text": "1,200 puntos", + "off_100_title": "$100 off", + "off_100_text": "2,000 puntos", + "toner_title": "Tónico té verde gratis", + "toner_text": "3,000 puntos", + "off_200_title": "$200 off", + "off_200_text": "4,000 puntos", + "off_300_title": "$300 off", + "off_300_text": "6,000 puntos", + "sunscreen_title": "Bloqueador solar manzana gratis", + "sunscreen_text": "10,500 puntos" + } + }, "skin_match": { "heading": "¿Qué necesita tu piel hoy?", "subheading": "Encuentra tu match de cuidado facial con Seasons.", diff --git a/locales/en.default.schema.json b/locales/en.default.schema.json index 3d2681a..8d4ef1b 100644 --- a/locales/en.default.schema.json +++ b/locales/en.default.schema.json @@ -1,12 +1,3 @@ -/* - * ------------------------------------------------------------ - * IMPORTANT: The contents of this file are auto-generated. - * - * This file may be updated by the Shopify admin language editor - * or related systems. Please exercise caution as any changes - * made to this file may be overwritten. - * ------------------------------------------------------------ - */ { "general": { "404": "Not found", @@ -156,7 +147,7 @@ "poster": "Cover image", "poster_info": "Shown beside the slider, and used as the video poster. On mobile it sits above the slider.", "video": "Video", - "video_info": "Optional. The cover stays on screen until the block is near the viewport, then the video file loads.", + "video_info": "Leave empty to use the theme video. The cover stays on screen until the block is near the viewport, then the video file loads.", "promo_link": "Image link", "promo_link_info": "Used when no video is set." }, @@ -204,7 +195,7 @@ "poster": "Cover image", "poster_info": "Shown until this clip is in the center. Leave empty to use the theme image.", "video": "Video", - "video_info": "Plays only while this clip is centered. The file loads at that moment.", + "video_info": "Leave empty to use the theme video for this position. Plays only while this clip is centered. The file loads at that moment.", "product_1": "Product 1", "product_2": "Product 2" }, @@ -229,9 +220,41 @@ "rating_label": "Rating", "product": "Product" }, + "glow_army": { + "name": "Glow Army", + "heading": "Heading", + "text": "Text", + "join": "Join button", + "points": "Points button", + "join_link": "Join link", + "points_link": "Points link", + "how": "How it works heading", + "earn": "Earn heading", + "redeem": "Redeem heading", + "referral_heading": "Referral heading", + "referral_text": "Referral text", + "referral_button": "Referral button", + "referral_link": "Referral link", + "step": "Step", + "number": "Number", + "earn_item": "Way to earn", + "icon": "Icon", + "icons": { + "order": "Order", + "birthday": "Birthday", + "review": "Review", + "profile": "Profile" + }, + "reward": "Reward", + "image": "Image" + }, "product_page": { "name": "Product", - "metafields": "Optional product custom fields: custom.subtitulo, custom.tipo_de_piel, custom.descripcion_corta, custom.como_aplicarlo, custom.ingredientes, custom.antes, custom.despues, custom.rutina, custom.llevate, custom.resenas." + "metafields": "Product content uses custom metafields (subtitulo, tipo de piel, descripcion corta, ingredientes, como aplicarlo) and Judge.me reviews.", + "reviews_shop": "Judge.me shop domain", + "reviews_shop_info": "Shop that stores the reviews, for example seasons-world.myshopify.com. When it matches this store, the product id is used directly.", + "reviews_storefront": "Storefront used to match products", + "reviews_storefront_info": "Used only when the Judge.me shop is different from this store. The product is matched by handle." }, "collection_page": { "name": "Collection", @@ -239,6 +262,21 @@ "metafields": "Banner custom fields on the collection: custom.banner_tipo (titulo, listado or ambos), custom.banner_imagen, custom.banner_titulo, custom.banner_texto, custom.banner_listado, custom.banner_enlace.", "recent_name": "Recently viewed" }, + "about_section": { + "name": "About", + "hero_video": "Hero video", + "pillar_1": "Pillar image 1", + "pillar_2": "Pillar image 2", + "pillar_3": "Pillar image 3", + "pillar_4": "Pillar image 4", + "join_image": "Distributors image" + }, + "blog_section": { + "show_tags": "Show tags", + "show_author": "Show author", + "show_share": "Show share links", + "show_related": "Show related articles" + }, "cart_drawer": { "name": "Cart drawer", "free_shipping": "Free shipping from", diff --git a/sections/about.liquid b/sections/about.liquid new file mode 100644 index 0000000..ddd261f --- /dev/null +++ b/sections/about.liquid @@ -0,0 +1,343 @@ +{% liquid + assign hero_poster = 'https://www.seasonsmexico.com/cdn/shop/files/preview_images/80b44ceeba2f4677b438eab3668f2f7a.thumbnail.0000000000_1100x.jpg?v=1769452702' + assign hero_src = 'https://www.seasonsmexico.com/cdn/shop/videos/c/vp/80b44ceeba2f4677b438eab3668f2f7a/80b44ceeba2f4677b438eab3668f2f7a.HD-1080p-4.8Mbps-67816357.mp4?v=0' + + if section.settings.hero_video != blank + assign hero_poster = section.settings.hero_video.preview_image | image_url: width: 1600 + for source in section.settings.hero_video.sources + if source.format == 'mp4' or source.mime_type == 'video/mp4' + assign hero_src = source.url + endif + endfor + endif + + assign pillar_1 = 'https://www.seasonsmexico.com/cdn/shop/files/SNS_ManzanaVerde_2000x2000-03.png?v=1785786287&width=1400' + assign pillar_2 = 'https://www.seasonsmexico.com/cdn/shop/files/SNS_PDRN_2000x2000-04.png?v=1785787229&width=1400' + assign pillar_3 = 'https://www.seasonsmexico.com/cdn/shop/files/SNS_Nopal_Niacinamida_2000x2000-13.png?v=1786075950&width=1400' + assign pillar_4 = 'https://www.seasonsmexico.com/cdn/shop/files/SNS_ManzanaVerde_2000x2000-04.png?v=1786076882&width=1400' + assign join_image = 'https://www.seasonsmexico.com/cdn/shop/files/Duo_de_protectores_solares.png?v=1786142521&width=1400' + + if section.settings.pillar_1 != blank + assign pillar_1 = section.settings.pillar_1 | image_url: width: 1400 + endif + if section.settings.pillar_2 != blank + assign pillar_2 = section.settings.pillar_2 | image_url: width: 1400 + endif + if section.settings.pillar_3 != blank + assign pillar_3 = section.settings.pillar_3 | image_url: width: 1400 + endif + if section.settings.pillar_4 != blank + assign pillar_4 = section.settings.pillar_4 | image_url: width: 1400 + endif + if section.settings.join_image != blank + assign join_image = section.settings.join_image | image_url: width: 1400 + endif +%} + +
+
+
+ + +
+ +
+
+

+ {{ 'about.hero_title' | t }} +

+

{{ 'about.hero_line_1' | t }}

+

+ {{ 'about.hero_emphasis_1' | t }} + {{ 'about.hero_and' | t }} + {{ 'about.hero_emphasis_2' | t }} +

+

{{ 'about.hero_line_3' | t }}

+
+
+
+ +
+

+ {{ 'about.pillars_title' | t }} +

+ +
+
+
+ +

{{ 'about.pillar_1_title' | t }}

+

{{ 'about.pillar_1_text' | t }}

+
+
+ +

{{ 'about.pillar_2_title' | t }}

+

{{ 'about.pillar_2_text' | t }}

+
+
+ +

{{ 'about.pillar_3_title' | t }}

+

{{ 'about.pillar_3_text' | t }}

+
+
+ +

{{ 'about.pillar_4_title' | t }}

+

{{ 'about.pillar_4_text' | t }}

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

+ {{ 'about.values_title' | t }} +

+ +
+ +
+
+

+ {{ 'about.facts_title' | t }} + {{ 'about.facts_brand' | t }} +

+

+ {{ 'about.facts_intro' | t }} +

+
+
+

{{ 'about.fact_1_title' | t }}

+

{{ 'about.fact_1_text' | t }}

+
+
+

{{ 'about.fact_2_title' | t }}

+

{{ 'about.fact_2_text' | t }}

+
+
+

{{ 'about.fact_3_title' | t }}

+

{{ 'about.fact_3_text' | t }}

+
+
+

{{ 'about.fact_4_title' | t }}

+

{{ 'about.fact_4_text' | t }}

+
+
+

{{ 'about.fact_5_title' | t }}

+

{{ 'about.fact_5_text' | t }}

+
+
+

{{ 'about.fact_6_title' | t }}

+

{{ 'about.fact_6_text' | t }}

+
+
+

{{ 'about.fact_7_title' | t }}

+

{{ 'about.fact_7_text' | t }}

+
+
+

{{ 'about.fact_8_title' | t }}

+

{{ 'about.fact_8_text' | t }}

+
+
+

+ {{ 'about.press' | t }} +

+
+
+ +
+

+ {{ 'about.stores_title' | t }} +

+

{{ 'about.stores_text' | t }}

+ + {{ 'about.stores_button' | t }} + +
+ +
+

+ {{ 'about.faq_title' | t }} +

+ {% for i in (1..6) %} + {% liquid + case i + when 1 + assign question = 'about.faq_1_q' | t + assign answer = 'about.faq_1_a' | t + when 2 + assign question = 'about.faq_2_q' | t + assign answer = 'about.faq_2_a' | t + when 3 + assign question = 'about.faq_3_q' | t + assign answer = 'about.faq_3_a' | t + when 4 + assign question = 'about.faq_4_q' | t + assign answer = 'about.faq_4_a' | t + when 5 + assign question = 'about.faq_5_q' | t + assign answer = 'about.faq_5_a' | t + else + assign question = 'about.faq_6_q' | t + assign answer = 'about.faq_6_a' | t + endcase + %} +
+ + {{ question }} + + +

{{ answer }}

+
+ {% endfor %} +
+ +
+
+ {{ 'about.join_title' | t | escape }} +
+
+
+

+ {{ 'about.join_title' | t }} +

+

{{ 'about.join_text' | t }}

+ + {{ 'about.join_button' | t }} + +
+
+
+
+ +{% javascript %} +document.querySelectorAll('[data-about-play]').forEach((button) => { + if (button.getAttribute('data-bound') === 'true') return; + button.setAttribute('data-bound', 'true'); + button.addEventListener('click', () => { + const video = button.parentElement.querySelector('[data-about-video]'); + if (!video) return; + video.setAttribute('controls', 'controls'); + video.play(); + button.hidden = true; + }); +}); + +document.querySelectorAll('[data-about-pillars]').forEach((root) => { + if (root.getAttribute('data-bound') === 'true') return; + root.setAttribute('data-bound', 'true'); + const images = [...root.querySelectorAll('[data-panel-image]')]; + const panels = [...root.querySelectorAll('[data-panel]')]; + if (!images.length || !('IntersectionObserver' in window)) return; + + const observer = new IntersectionObserver((entries) => { + entries.forEach((entry) => { + if (!entry.isIntersecting) return; + const index = entry.target.getAttribute('data-panel'); + images.forEach((image) => { + const active = image.getAttribute('data-panel-image') === index; + image.classList.toggle('opacity-100', active); + image.classList.toggle('opacity-0', !active); + }); + }); + }, { rootMargin: '-35% 0px -35% 0px', threshold: 0.1 }); + + panels.forEach((panel) => observer.observe(panel)); +}); +{% endjavascript %} + +{% schema %} +{ + "name": "t:about_section.name", + "settings": [ + { + "type": "video", + "id": "hero_video", + "label": "t:about_section.hero_video" + }, + { + "type": "image_picker", + "id": "pillar_1", + "label": "t:about_section.pillar_1" + }, + { + "type": "image_picker", + "id": "pillar_2", + "label": "t:about_section.pillar_2" + }, + { + "type": "image_picker", + "id": "pillar_3", + "label": "t:about_section.pillar_3" + }, + { + "type": "image_picker", + "id": "pillar_4", + "label": "t:about_section.pillar_4" + }, + { + "type": "image_picker", + "id": "join_image", + "label": "t:about_section.join_image" + } + ] +} +{% endschema %} diff --git a/sections/article.liquid b/sections/article.liquid index 146acd1..7cd190c 100644 --- a/sections/article.liquid +++ b/sections/article.liquid @@ -1,68 +1,300 @@ -{% comment %} - This section is used in the article template to render the article page, which - displays the full content of the blog post and can optionally include a - comments section for customers (not shown in this example). +{% liquid + assign share_url = shop.url | append: article.url + assign share_url_encoded = share_url | url_encode + assign share_title = article.title | url_encode + assign published = article.published_at | date: '%B %d, %Y' - https://shopify.dev/docs/storefronts/themes/architecture/templates/article -{% endcomment %} + assign share_image = '' + if article.image != blank + assign share_image = article.image | image_url: width: 1200 + unless share_image contains 'https:' + assign share_image = share_image | prepend: 'https:' + endunless + assign share_image = share_image | url_encode + endif +%} -{% if article.image %} - {{ article.image | image_url: width: 1000 | image_tag }} -{% endif %} +
+
+ {% if article.image != blank %} +
+ {{ + article.image + | image_url: width: 2000 + | image_tag: + loading: 'eager', + widths: '600, 900, 1200, 1600, 2000', + sizes: '(max-width: 1200px) 100vw, 1170px', + alt: article.image.alt | default: article.title, + class: 'h-auto w-full bg-[#f3f3f3]' + }} +
+ {% endif %} -

{{ article.title }}

+
+ -{% assign date = article.published_at | time_tag: format: 'date' %} -

{{ 'blog.article_metadata_html' | t: date: date, author: article.author }}

+
+

+ {{ article.title | escape }} +

+ +
-{{ article.content }} +
+ {{ article.content }} +
-{% if blog.comments_enabled? %} -

{{ 'blog.article_comments' | t }}

+ {% if blog.comments_enabled? %} +
+

+ {{ 'blog.article_comments' | t }} +

-
- {% paginate article.comments by 10 %} - {% for comment in article.comments %} -
-

{{ comment.author }}

-

- {{- comment.created_at | time_tag: format: 'date' -}} -

-

{{ comment.content }}

+ {% paginate article.comments by 10 %} +
+ {% for comment in article.comments %} +
+

{{ comment.author | escape }}

+

+ {{ comment.created_at | date: '%B %d, %Y' }} +

+
{{ comment.content }}
+
+ {% endfor %} +
+ {% if paginate.pages > 1 %} +
+ {{ paginate | default_pagination: anchor: 'comments' }} +
+ {% endif %} + {% endpaginate %} + + {% form 'new_comment', article %} +

+ {{ 'blog.comment_form_title' | t }} +

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

{{ 'blog.comment_success' | t }}

+ {% endif %} + + {{ form.errors | default_errors }} + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+
+ {% endform %}
- {% endfor %} + {% endif %} - {{ paginate | default_pagination: anchor: 'comments' }} - {% endpaginate %} -
+ {% if section.settings.show_share %} +
+ {{ 'blog.share' | t }} + + Facebook + + + X + + {% if share_image != blank %} + + Pinterest + + {% endif %} + + WhatsApp + + +
+ {% endif %} - {% form 'new_comment', article %} -

{{ 'blog.comment_form_title' | t }}

- - {{ form.errors | default_errors }} - -
- - +
-
- - -
+ {% if blog.previous_article or blog.next_article %} + + {% endif %} +
-
- - -
+ {% if section.settings.show_related and blog.articles.size > 1 %} +
+
+ + + {{ 'blog.view_all' | t }} + +
- - {% endform %} -{% endif %} +
+ {% for related in blog.articles limit: 3 %} + {% render 'blog-card', article: related, heading_tag: 'h3' %} + {% endfor %} +
+
+ {% endif %} +
+ +{% javascript %} +document.querySelectorAll('[data-copy-link]').forEach((button) => { + if (button.getAttribute('data-copy-bound') === 'true') return; + button.setAttribute('data-copy-bound', 'true'); + + button.addEventListener('click', () => { + const url = button.getAttribute('data-url'); + const label = button.querySelector('[data-copy-label]'); + if (!url || !navigator.clipboard || !label) return; + + navigator.clipboard.writeText(url).then(() => { + const original = label.textContent; + label.textContent = button.getAttribute('data-copied') || original; + window.setTimeout(() => { + label.textContent = original; + }, 2000); + }); + }); +}); +{% endjavascript %} {% schema %} { "name": "t:general.article", - "settings": [] + "settings": [ + { + "type": "checkbox", + "id": "show_share", + "label": "t:blog_section.show_share", + "default": true + }, + { + "type": "checkbox", + "id": "show_related", + "label": "t:blog_section.show_related", + "default": true + } + ] } {% endschema %} diff --git a/sections/bestsellers.liquid b/sections/bestsellers.liquid index b6e22e4..74cc960 100644 --- a/sections/bestsellers.liquid +++ b/sections/bestsellers.liquid @@ -83,7 +83,7 @@ widths: '372, 486, 744, 972', sizes: '(max-width: 1024px) calc(100vw - 30px), 486px', class: 'bestsellers__promo-image', - loading: 'eager' + loading: 'lazy' }} {% else %} {{ heading | escape }} {% endif %} diff --git a/sections/blog.liquid b/sections/blog.liquid index 0ea2113..0a3393a 100644 --- a/sections/blog.liquid +++ b/sections/blog.liquid @@ -1,35 +1,128 @@ -{% comment %} - This section is used in the blog template to render the blog page listing all - articles within a blog. +
+
+
+

+ {{ blog.title | escape }} +

- https://shopify.dev/docs/storefronts/themes/architecture/templates/blog -{% endcomment %} - -

{{ blog.title }}

- -{% paginate blog.articles by 5 %} - {% for article in blog.articles %} -
- {% if article.image %} - {{ article.image | image_url: width: 1000 | image_tag }} + {% if section.settings.show_tags and blog.all_tags.size > 0 %} + {% endif %} -

- {{ article.title | link_to: article.url }} -

- {% assign date = article.published_at | time_tag: format: 'date' %} -

{{ 'blog.article_metadata_html' | t: date: date, author: article.author }}

-

{{ article.excerpt }}

-
- {% endfor %} +
- {%- if paginate.pages > 1 -%} - {{- paginate | default_pagination -}} - {%- endif -%} -{% endpaginate %} + {% paginate blog.articles by 12 %} +
+ {% for article in blog.articles %} + {% render 'blog-card', + article: article, + show_excerpt: true, + show_author: section.settings.show_author, + eager: forloop.first + %} + {% else %} +

{{ 'blog.empty' | t }}

+ {% endfor %} +
+ + {% if paginate.pages > 1 %} + + {% endif %} + {% endpaginate %} +
+
{% schema %} { "name": "t:general.blog", - "settings": [] + "settings": [ + { + "type": "checkbox", + "id": "show_tags", + "label": "t:blog_section.show_tags", + "default": true + }, + { + "type": "checkbox", + "id": "show_author", + "label": "t:blog_section.show_author", + "default": true + } + ] } {% endschema %} diff --git a/sections/collection.liquid b/sections/collection.liquid index 4635931..cf23013 100644 --- a/sections/collection.liquid +++ b/sections/collection.liquid @@ -74,7 +74,7 @@ | image_tag: alt: banner_title, widths: '600, 960, 1400', - sizes: '(max-width: 767px) 70vw, 50vw', + sizes: '(max-width: 767px) 100vw, 50vw', class: 'collection__banner-image', loading: 'eager' }} @@ -97,6 +97,8 @@ alt="" width="185" height="210" + loading="lazy" + decoding="async" > @@ -294,6 +296,7 @@ .collection__banner-media { height: 100%; min-height: 380px; + max-height: 380px; } .collection__banner-image { @@ -330,6 +333,8 @@ font-size: 18px; font-weight: 300; line-height: 1.4; + position: relative; + z-index: 2; } .collection__banner-text p { @@ -597,33 +602,35 @@ @media (max-width: 767px) { .collection__banner { - grid-template-columns: 1fr; - min-height: 250px; + display: flex; + flex-direction: column; + min-height: 0; + background: transparent; } .collection__banner-media { - position: absolute; - inset: 0 auto 0 0; - width: 58%; - min-height: 0; - } - - .collection__banner { - position: relative; + position: static; + width: 100%; + height: 250px; + min-height: 250px; + max-height: 250px; } .collection__banner-image { + width: 100%; + height: 250px; min-height: 250px; + object-fit: cover; } .collection__banner-copy { position: relative; - z-index: 1; - min-height: 250px; - justify-content: flex-end; + justify-content: flex-start; gap: 15px; - padding: 20px; - background: linear-gradient(90deg, rgba(247, 197, 133, 0) 0%, #f7c585 46%); + min-height: 250px; + padding: 77px 20px 40px; + overflow: hidden; + background: #f7c585; } .collection__banner-title { @@ -636,7 +643,11 @@ } .collection__banner-blob { - display: none; + display: block; + top: 4px; + right: 20px; + width: 153px; + transform: none; } .collection__body { diff --git a/sections/distributors.liquid b/sections/distributors.liquid index dca82dc..6711173 100644 --- a/sections/distributors.liquid +++ b/sections/distributors.liquid @@ -54,6 +54,9 @@ width="1157" height="1300" loading="lazy" + srcset="{{ 'distributors-photo-sm.avif' | asset_url }} 680w, {{ 'distributors-photo.avif' | asset_url }} 1157w" + sizes="(max-width: 1024px) 372px, 859px" + decoding="async" > {% endif %} @@ -63,6 +66,8 @@ alt="{{ 'distributors.wordmark' | t }}" width="324" height="210" + loading="lazy" + decoding="async" > @@ -73,6 +78,8 @@ alt="" width="355" height="403" + loading="lazy" + decoding="async" >
diff --git a/sections/footer-group.json b/sections/footer-group.json index 758a5df..3e5f38e 100644 --- a/sections/footer-group.json +++ b/sections/footer-group.json @@ -1,12 +1,3 @@ -/* - * ------------------------------------------------------------ - * 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", diff --git a/sections/footer.liquid b/sections/footer.liquid index 45d591c..54e318f 100644 --- a/sections/footer.liquid +++ b/sections/footer.liquid @@ -1,26 +1,5 @@ {% liquid assign copyright_year = 'now' | date: '%Y' - assign privacy_url = '/pages/aviso-de-privacidad' - assign shipping_url = '/pages/envios' - assign returns_url = '/pages/devoluciones' - assign payments_url = '/pages/politica-de-pagos' - - if shop.privacy_policy != blank - assign privacy_url = shop.privacy_policy.url - endif - - if shop.shipping_policy != blank - assign shipping_url = shop.shipping_policy.url - endif - - if shop.refund_policy != blank - assign returns_url = shop.refund_policy.url - endif - - if shop.terms_of_service != blank - assign payments_url = shop.terms_of_service.url - endif - assign form_id = 'FooterSignup-' | append: section.id assign email_id = 'FooterEmail-' | append: section.id assign message_id = 'FooterSignupMessage-' | append: section.id @@ -63,9 +42,24 @@ {% else %} @@ -83,9 +77,8 @@
{% endif %} @@ -351,6 +338,22 @@ font-weight: 300; line-height: 30px; text-decoration: none; + background-image: linear-gradient(currentColor, currentColor); + background-position: 0 100%; + background-repeat: no-repeat; + background-size: 0 1px; + transition: background-size 0.25s ease; + } + + .footer__column a:hover, + .footer__column a:focus-visible { + background-size: 100% 1px; + } + + @media (prefers-reduced-motion: reduce) { + .footer__column a { + transition: none; + } } .footer a:focus-visible { diff --git a/sections/glow-army.liquid b/sections/glow-army.liquid new file mode 100644 index 0000000..496128b --- /dev/null +++ b/sections/glow-army.liquid @@ -0,0 +1,172 @@ +{% render 'glow-army-page' %} + +{% schema %} +{ + "name": "t:glow_army.name", + "tag": "section", + "settings": [ + { + "type": "text", + "id": "heading", + "label": "t:glow_army.heading", + "default": "Glow Army" + }, + { + "type": "textarea", + "id": "text", + "label": "t:glow_army.text", + "default": "Nuestro espacio exclusivo dónde recompensamos que cuides tu carita. Cada compra que hagas te acerca a recompensas increíbles." + }, + { + "type": "text", + "id": "join_label", + "label": "t:glow_army.join", + "default": "Unirse" + }, + { + "type": "url", + "id": "join_link", + "label": "t:glow_army.join_link" + }, + { + "type": "text", + "id": "points_label", + "label": "t:glow_army.points", + "default": "Ver mis puntos" + }, + { + "type": "url", + "id": "points_link", + "label": "t:glow_army.points_link" + }, + { + "type": "text", + "id": "how_heading", + "label": "t:glow_army.how", + "default": "Cómo funciona" + }, + { + "type": "text", + "id": "earn_heading", + "label": "t:glow_army.earn", + "default": "Formas de ganar puntos" + }, + { + "type": "text", + "id": "redeem_heading", + "label": "t:glow_army.redeem", + "default": "Formas de canjear puntos" + }, + { + "type": "text", + "id": "referral_heading", + "label": "t:glow_army.referral_heading", + "default": "Da 10% de descuento, recibe 10% de descuento" + }, + { + "type": "textarea", + "id": "referral_text", + "label": "t:glow_army.referral_text", + "default": "Únete al programa de referidos y reclama tus recompensas" + }, + { + "type": "text", + "id": "referral_button", + "label": "t:glow_army.referral_button", + "default": "Únete ahora" + }, + { + "type": "url", + "id": "referral_link", + "label": "t:glow_army.referral_link" + } + ], + "blocks": [ + { + "type": "step", + "name": "t:glow_army.step", + "settings": [ + { + "type": "text", + "id": "number", + "label": "t:glow_army.number", + "default": "01" + }, + { + "type": "text", + "id": "title", + "label": "t:glow_army.heading", + "default": "Crear una cuenta" + }, + { + "type": "textarea", + "id": "text", + "label": "t:glow_army.text", + "default": "Conviértete en miembro para recibir recompensas" + } + ] + }, + { + "type": "earn", + "name": "t:glow_army.earn_item", + "settings": [ + { + "type": "select", + "id": "icon", + "label": "t:glow_army.icon", + "default": "order", + "options": [ + { "value": "order", "label": "t:glow_army.icons.order" }, + { "value": "birthday", "label": "t:glow_army.icons.birthday" }, + { "value": "review", "label": "t:glow_army.icons.review" }, + { "value": "profile", "label": "t:glow_army.icons.profile" } + ] + }, + { + "type": "text", + "id": "title", + "label": "t:glow_army.heading", + "default": "Completar un pedido" + }, + { + "type": "text", + "id": "text", + "label": "t:glow_army.text", + "default": "Gana 1 punto por cada $1" + } + ] + }, + { + "type": "reward", + "name": "t:glow_army.reward", + "settings": [ + { + "type": "image_picker", + "id": "image", + "label": "t:glow_army.image" + }, + { + "type": "text", + "id": "title", + "label": "t:glow_army.heading", + "default": "$50 off" + }, + { + "type": "text", + "id": "text", + "label": "t:glow_army.text", + "default": "1,000 puntos" + } + ] + } + ], + "presets": [ + { + "name": "t:glow_army.name" + } + ], + "disabled_on": { + "groups": ["header", "footer"] + } +} +{% endschema %} diff --git a/sections/header-group.json b/sections/header-group.json index 25ed907..b3ae708 100644 --- a/sections/header-group.json +++ b/sections/header-group.json @@ -1,12 +1,3 @@ -/* - * ------------------------------------------------------------ - * 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": "header", "name": "t:general.header", @@ -18,5 +9,5 @@ }, "order": [ "header" - ], + ] } diff --git a/sections/header.liquid b/sections/header.liquid index c25d5a5..f2b8942 100644 --- a/sections/header.liquid +++ b/sections/header.liquid @@ -122,7 +122,7 @@
  • {{ 'header.links.glow_army' | t }} @@ -130,7 +130,7 @@
  • {{ 'header.links.experts' | t }} @@ -183,12 +183,12 @@ assign label_hydration = 'header.dropdowns.hydration' | t assign label_aging = 'header.dropdowns.anti_aging' | t assign label_spots = 'header.dropdowns.spots' | t - assign categories_menu = label_all | append: '::' | append: routes.all_products_collection_url | append: '|' | append: label_blockers | append: '::/collections/bloqueadores|' | append: label_moisturizers | append: '::/collections/hidratantes|' | append: label_cleansers | append: '::/collections/limpiadores|' | append: label_masks | append: '::/collections/mascarillas|' | append: label_serums | append: '::/collections/serums' - assign routine_menu = label_clean | append: '::/collections/limpia|' | append: label_treat | append: '::/collections/trata|' | append: label_hydrate | append: '::/collections/hidrata|' | append: label_protect | append: '::/collections/protege|' | append: label_kits | append: '::/collections/kits-y-rutinas-completas' - assign skin_menu = label_combination | append: '::/collections/mixta-grasa|' | append: label_oily | append: '::/collections/grasa|' | append: label_dry | append: '::/collections/seca' - assign concern_menu = label_sun | append: '::/collections/proteccion-solar|' | append: label_oil | append: '::/collections/control-grasa|' | append: label_acne | append: '::/collections/acne|' | append: label_hydration | append: '::/collections/hidratacion|' | append: label_aging | append: '::/collections/antiedad|' | append: label_spots | append: '::/collections/manchas' + assign categories_menu = label_all | append: '::/collections/all-products|' | append: label_blockers | append: '::/collections/proteccion-solar-1|' | append: label_moisturizers | append: '::/collections/hidratantes|' | append: label_cleansers | append: '::/collections/limpiadores|' | append: label_masks | append: '::/collections/mascarillas|' | append: label_serums | append: '::/collections/serum' + assign routine_menu = label_clean | append: '::/collections/1-limpia|' | append: label_treat | append: '::/collections/2-trata|' | append: label_hydrate | append: '::/collections/3-hidrata|' | append: label_protect | append: '::/collections/4-protege-bloqueadores-solares|' | append: label_kits | append: '::/collections/kits-skincare-facial' + assign skin_menu = label_combination | append: '::/collections/piel-mixta-grasa|' | append: label_oily | append: '::/collections/piel-grasa|' | append: label_dry | append: '::/collections/piel-seca-1' + assign concern_menu = label_sun | append: '::/collections/proteccion-solar-1|' | append: label_oil | append: '::/collections/control-grasa|' | append: label_acne | append: '::/collections/acne-1|' | append: label_hydration | append: '::/collections/hidratacion|' | append: label_aging | append: '::/collections/antiedad-1|' | append: label_spots | append: '::/collections/aclarar' %} - {% render 'header-menu-item', title: nav_categories, url: routes.all_products_collection_url, child_menu: categories_menu %} + {% render 'header-menu-item', title: nav_categories, url: '/collections/all-products', child_menu: categories_menu %} {% render 'header-menu-item', title: nav_routine, url: routes.collections_url, child_menu: routine_menu %} {% render 'header-menu-item', title: nav_skin_type, url: routes.collections_url, child_menu: skin_menu %} {% render 'header-menu-item', title: nav_concern, url: routes.collections_url, child_menu: concern_menu %} @@ -209,22 +209,17 @@ {% endfor %} {% else %}
  • - + {{ 'header.links.sunscreen' | t }}
  • - - {{ 'header.links.favorites' | t }} - -
  • -
  • - + {{ 'header.links.kits' | t }}
  • - + {{ 'header.links.moisturizers' | t }}
  • @@ -651,6 +646,43 @@ width: 128px; } } + + .header__item > a, + .header__submenu a, + .header__utility a { + background-image: linear-gradient(currentColor, currentColor); + background-position: 0 100%; + background-repeat: no-repeat; + background-size: 0 1px; + transition: background-size 0.25s ease; + } + + .header__item > a:hover, + .header__item > a:focus-visible, + .header__submenu a:hover, + .header__submenu a:focus-visible, + .header__utility a:hover, + .header__utility a:focus-visible { + background-size: 100% 1px; + } + + .header__pills a { + transition: background-color 0.2s ease, color 0.2s ease; + } + + .header__pills a:hover, + .header__pills a:focus-visible { + background: #9dd6c7; + } + + @media (prefers-reduced-motion: reduce) { + .header__item > a, + .header__submenu a, + .header__utility a, + .header__pills a { + transition: none; + } + } {% endstylesheet %} {% javascript %} diff --git a/sections/hero.liquid b/sections/hero.liquid index a589a06..bb090a6 100644 --- a/sections/hero.liquid +++ b/sections/hero.liquid @@ -316,6 +316,7 @@ } .hero__card-media { + position: relative; display: block; width: 100px; height: 100px; @@ -328,6 +329,50 @@ height: 100%; max-width: none; object-fit: cover; + transition: transform 0.35s ease; + } + + .hero__card:hover .hero__card-image, + .hero__card:focus-within .hero__card-image { + transform: scale(1.06); + } + + .hero__card-image--hover { + position: absolute; + inset: 0; + opacity: 0; + transition: opacity 0.35s ease, transform 0.35s ease; + } + + .hero__card:hover .hero__card-image--hover, + .hero__card:focus-within .hero__card-image--hover { + opacity: 1; + } + + .hero__card-title { + background-image: linear-gradient(currentColor, currentColor); + background-position: 0 100%; + background-repeat: no-repeat; + background-size: 0 1px; + transition: background-size 0.25s ease; + } + + .hero__card:hover .hero__card-title, + .hero__card-title:focus-visible { + background-size: 100% 1px; + } + + @media (prefers-reduced-motion: reduce) { + .hero__card-image, + .hero__card-image--hover, + .hero__card-title { + transition: none; + } + + .hero__card:hover .hero__card-image, + .hero__card:focus-within .hero__card-image { + transform: none; + } } .hero__card-copy { diff --git a/sections/learn.liquid b/sections/learn.liquid index e4da660..234ce01 100644 --- a/sections/learn.liquid +++ b/sections/learn.liquid @@ -25,8 +25,14 @@ data-cart-url="{{ routes.cart_url }}.js" data-active="{{ active_index }}" > - - + +

    {{ heading | escape }}

    @@ -46,6 +52,10 @@ endif endfor endif + if video_src == blank and forloop.index <= 5 + assign reel_name = forloop.index | append: '-reel-ig.mp4' + assign video_src = reel_name | asset_url + endif assign fallback_image = blank case forloop.index @@ -53,6 +63,8 @@ assign fallback_image = 'learn-cover-1.avif' when 2 assign fallback_image = 'learn-cover-2.avif' + when 3 + assign fallback_image = 'reel1.jpg' when 4 assign fallback_image = 'learn-cover-4.avif' when 5 @@ -86,6 +98,9 @@ width="384" height="680" loading="lazy" + srcset="{{ fallback_image | replace: '.avif', '-sm.avif' | asset_url }} 400w, {{ fallback_image | asset_url }} 780w" + sizes="(max-width: 1024px) 220px, 384px" + decoding="async" > {% endif %} {% if video_src != blank %} diff --git a/sections/new-products.liquid b/sections/new-products.liquid index 7c9216e..2fdf314 100644 --- a/sections/new-products.liquid +++ b/sections/new-products.liquid @@ -29,6 +29,9 @@ endif endfor endif + if video_src == blank and section.settings.promo_link == blank + assign video_src = 'nuevos-productos.mp4' | asset_url + endif assign poster = section.settings.poster assign poster_url = blank diff --git a/sections/page.liquid b/sections/page.liquid index 1a3fea1..4132cd8 100644 --- a/sections/page.liquid +++ b/sections/page.liquid @@ -5,9 +5,13 @@ https://shopify.dev/docs/storefronts/themes/architecture/templates/page {% endcomment %} -

    {{ page.title }}

    +{% if page.handle == 'glow-army' %} + {% render 'glow-army-page' %} +{% else %} +

    {{ page.title }}

    -{{ page.content }} + {{ page.content }} +{% endif %} {% schema %} { diff --git a/sections/product.liquid b/sections/product.liquid index 0fb295e..e9f0a0e 100644 --- a/sections/product.liquid +++ b/sections/product.liquid @@ -165,22 +165,63 @@ {% endif %}
    {% if product.images.size > 1 %} -
    + {% assign gallery_count = 0 %} + {% if main_image != blank %} + {% assign gallery_count = 1 %} + {% endif %} + {% for image in product.images %} + {% if image.id != main_image.id %} + {% assign gallery_count = gallery_count | plus: 1 %} + {% endif %} + {% endfor %} +
    + {% if main_image != blank %} +
    + {{ + main_image + | image_url: width: 1400 + | image_tag: + alt: main_alt, + loading: 'eager', + fetchpriority: 'high', + widths: '700, 1000, 1400', + sizes: '100vw', + draggable: false + }} +
    + {% endif %} {% for image in product.images %} {% if image.id != main_image.id %} {% assign thumb_alt = image.alt | default: product.title %} - {{ - image - | image_url: width: 900 - | image_tag: - alt: thumb_alt, - loading: 'lazy', - widths: '400, 700, 900', - sizes: '(min-width: 1120px) 28vw, 50vw' - }} +
    + {{ + image + | image_url: width: 900 + | image_tag: + alt: thumb_alt, + loading: 'lazy', + widths: '400, 700, 900', + sizes: '(max-width: 767px) 100vw, (min-width: 1120px) 28vw, 50vw', + draggable: false + }} +
    {% endif %} {% endfor %}
    + {% if gallery_count > 1 %} + + {% endif %} {% endif %}
    @@ -428,7 +469,10 @@ }} {{ 'product_page.after' | t }} - + {% endif %} @@ -458,90 +502,87 @@ {% if show_reviews %} -
    -

    {{ 'product_page.reviews' | t }}

    - {% if rating_count > 0 %} -
    -
    -

    {{ 'product_page.rating_of' | t: rating: rating_value }}

    -

    {{ 'product_page.based_on' | t: count: rating_count }}

    -
    - -
    + {% assign rating_exact = product.metafields.reviews.rating.value.rating | default: rating_value | round: 2 %} + {% assign rating_text = rating_exact | append: '' %} + {% unless rating_text contains '.' %} + {% assign rating_text = rating_text | append: '.00' %} + {% else %} + {% assign rating_decimals = rating_text | split: '.' | last %} + {% if rating_decimals.size == 1 %} + {% assign rating_text = rating_text | append: '0' %} {% endif %} + {% endunless %} +
    +
    +

    {{ 'product_page.reviews' | t }}

    +
    + {% if rating_count > 0 %} +
    +
    + +

    {{ 'product_page.rating_of' | t: rating: rating_text }}

    +
    +

    {{ 'product_page.based_on' | t: count: rating_count }}

    +
    + + {% endif %} + +
    +
    - {% if review_items != blank %} -
    - {% for review in review_items %} - {% liquid - assign review_field = review.texto | default: review.text | default: review.comentario | default: review.resena - assign review_author = review.autor.value | default: review.autor | default: review.author.value | default: review.nombre.value | default: review.name.value - assign review_stars = review.calificacion.value | default: review.rating.value | default: 5 | round - assign review_photo = review.foto.value | default: review.image.value | default: review.avatar.value - assign review_image = blank - if review_photo.preview_image != blank - assign review_image = review_photo.preview_image - elsif review_photo.width != blank - assign review_image = review_photo - endif - if review_author == blank - assign review_author = 'product_page.reviewer' | t - endif - assign review_initial = review_author | slice: 0, 1 | upcase - assign review_plain = '' - if review.id == blank - assign review_plain = review | strip - endif - %} - {% if review_field != blank or review_plain != blank %} -
    3 %}hidden{% endif %}> - {% if review_image %} - {{ review_image | image_url: width: 120 | image_tag: class: 'product__avatar', alt: review_author, loading: 'lazy' }} - {% else %} - - {% endif %} -
    -

    {{ review_author | escape }}

    - -
    - {% if review_field != blank %} - {{ review_field | metafield_tag }} - {% else %} - {{ review_plain | escape | newline_to_br }} - {% endif %} -
    -
    -
    - {% endif %} +
    + + + + + + +
    + {{ 'product_page.review_rating' | t }} + {% for star in (1..5) %} + {% endfor %} -
    - {% if review_count > 3 %} - - {% endif %} - {% endif %} + + + + + + +
    +
    {% endif %} @@ -594,6 +635,20 @@ gap: 10px; } + .product__thumb { + min-width: 0; + } + + .product__thumb--main, + .product__gallery-progress { + display: none; + } + + .product__thumbs img { + -webkit-user-drag: none; + user-select: none; + } + .product__badges { display: flex; flex-wrap: wrap; @@ -780,7 +835,7 @@ .product__add, .product__buy, .product__favorite, - .product__pager button { + .product__more { font-family: inherit; } @@ -999,11 +1054,138 @@ pointer-events: none; } - .product__also, - .product__reviews { + .product__also { margin-top: 72px; } + .product:has(.product__reviews) { + padding-bottom: 0; + } + + .product__reviews { + margin: 72px -50px 0; + padding: 100px 100px 80px; + background: linear-gradient(180deg, #f9f9fa 0%, #e8fff9 100%); + } + + .product__reviews-head { + display: flex; + flex-direction: column; + margin-bottom: 8px; + } + + .product__reviews-title { + margin: 0 0 60px; + font-size: 30px; + font-weight: 500; + line-height: 1.2; + text-transform: uppercase; + } + + .product__reviews-bar { + display: flex; + align-items: center; + justify-content: center; + gap: 100px; + } + + .product__reviews-head .product__summary { + display: flex; + flex-direction: column; + align-items: flex-start; + gap: 10px; + margin: 0; + } + + .product__summary-score { + display: flex; + align-items: center; + gap: 8px; + } + + .product__reviews .product__stars { + gap: 1px; + } + + .product__reviews-head .product__score, + .product__reviews-head .product__based { + margin: 0; + color: #111; + font-size: 16px; + font-weight: 300; + } + + .product__reviews-rule { + flex: none; + width: 1px; + height: 70px; + background: #d9d9d9; + } + + .product__write { + flex: none; + width: 326px; + height: 50px; + padding: 0 28px; + border: 0; + border-radius: 60px; + background: #9dd6c7; + color: #111; + font: inherit; + font-size: 16px; + font-weight: 300; + cursor: pointer; + } + + .product__write-form { + display: none; + max-width: 640px; + margin: 20px 0 8px; + gap: 8px; + } + + .product__write-form.is-open { + display: grid; + } + + .product__write-label { + margin-top: 8px; + font-size: 14px; + font-weight: 500; + } + + .product__write-input { + width: 100%; + box-sizing: border-box; + padding: 12px 14px; + border: 1px solid #e5e5e5; + border-radius: 10px; + font: inherit; + font-weight: 300; + } + + .product__write-stars { + display: flex; + gap: 8px; + margin: 0; + padding: 0; + border: 0; + } + + .product__write-stars label { + display: inline-flex; + align-items: center; + gap: 4px; + font-size: 14px; + font-weight: 300; + } + + .product__write-success { + margin: 0; + font-size: 16px; + font-weight: 300; + } + .product__score { margin: 0; font-size: 28px; @@ -1016,68 +1198,68 @@ margin-bottom: 8px; } + .product__review-list { + margin: 40px 140px 0; + } + .product__review { - display: grid; - grid-template-columns: 56px minmax(0, 1fr); - gap: 16px; - padding: 20px 0; - border-top: 1px solid #ececec; + display: flex; + flex-direction: column; + gap: 10px; + padding: 20px 50px; + border-top: 1px solid #e6e6e6; + } + + .product__review:last-child { + border-bottom: 1px solid #e6e6e6; + } + + .product__review-person { + display: flex; + align-items: center; + gap: 10px; } .product__avatar { display: grid; - width: 56px; + width: 55px; height: 56px; place-items: center; - overflow: hidden; - border-radius: 50%; - background: #f3f3f3; - font-weight: 600; - } - - img.product__avatar { - display: block; - object-fit: cover; + border: 1px solid #ececec; + border-radius: 10px; + background: #fff; + color: #111; } .product__review-name { - margin: 0 0 6px; + margin: 0; font-size: 16px; - font-weight: 600; + font-weight: 300; } .product__review-text { - margin-top: 8px; - font-size: 15px; + margin: 0; + font-size: 16px; font-weight: 300; - line-height: 1.5; + line-height: 22px; } - .product__pager { - display: flex; - justify-content: center; - gap: 8px; - margin-top: 28px; - } - - .product__pager button { - display: grid; - width: 40px; - height: 40px; - place-items: center; + .product__more { + display: block; + margin: 28px auto 0; + padding: 6px 10px; border: 0; - border-radius: 50%; background: transparent; + color: #111; + font-size: 16px; + font-weight: 500; + line-height: 1; cursor: pointer; } - .product__pager button.is-current { - background: #111; - color: #fff; - } - - .product__pager [data-review-next] { - background: #c9c9c9; + .product__more:disabled { + opacity: 0.5; + cursor: default; } .product [hidden] { @@ -1102,6 +1284,23 @@ grid-template-columns: repeat(2, minmax(0, 1fr)); } + .product__reviews { + margin-left: -20px; + margin-right: -20px; + padding-left: 40px; + padding-right: 40px; + } + + .product__review-list { + margin-left: 0; + margin-right: 0; + } + + .product__review { + padding-left: 0; + padding-right: 0; + } + .product__compare { height: 360px; } @@ -1112,6 +1311,60 @@ padding: 12px 16px 56px; } + .product__gallery { + gap: 16px; + } + + .product__thumbs { + display: flex; + gap: 0; + overflow-x: auto; + overscroll-behavior-x: contain; + scroll-snap-type: x mandatory; + scrollbar-width: none; + cursor: grab; + -webkit-overflow-scrolling: touch; + } + + .product__thumbs::-webkit-scrollbar { + display: none; + } + + .product__thumbs.is-dragging { + cursor: grabbing; + scroll-snap-type: none; + } + + .product__gallery:has(.product__thumbs) .product__main { + display: none; + } + + .product__thumb { + flex: 0 0 100%; + scroll-snap-align: start; + } + + .product__thumb--main { + display: block; + } + + .product__gallery-progress { + display: block; + position: relative; + height: 2px; + background: #d9d9d9; + } + + .product__gallery-progress span { + position: absolute; + top: 0; + left: 0; + height: 100%; + width: calc(100% / var(--slides)); + background: #111; + transform: translateX(0); + } + .product__title { font-size: 26px; } @@ -1142,11 +1395,58 @@ display: none; } - .product__also, - .product__reviews { + .product__also { margin-top: 40px; } + .product__reviews { + margin: 40px -16px 0; + padding: 50px 15px 48px; + } + + .product__reviews-title { + margin-bottom: 20px; + font-size: 20px; + } + + .product__reviews-bar { + flex-direction: column; + align-items: stretch; + gap: 20px; + } + + .product__reviews-rule { + display: none; + } + + .product__write { + width: 100%; + height: 35px; + font-size: 12px; + font-weight: 500; + } + + .product__review-list { + margin: 30px 0 0; + } + + .product__review { + padding: 20px 0; + } + + .product__avatar { + width: 45px; + height: 45px; + } + + .product__review-name { + font-size: 15px; + } + + .product__more { + font-size: 15px; + } + .product__summary { align-items: flex-start; flex-direction: column; @@ -1192,6 +1492,50 @@ applyWish(); + const thumbs = root.querySelector('[data-product-thumbs]'); + if (thumbs) { + let pointerId = null; + let startX = 0; + let startScroll = 0; + + thumbs.addEventListener('pointerdown', (event) => { + if (event.pointerType !== 'mouse' || event.button !== 0) return; + pointerId = event.pointerId; + startX = event.clientX; + startScroll = thumbs.scrollLeft; + thumbs.classList.add('is-dragging'); + thumbs.setPointerCapture(pointerId); + }); + + thumbs.addEventListener('pointermove', (event) => { + if (event.pointerId !== pointerId) return; + thumbs.scrollLeft = startScroll - (event.clientX - startX); + }); + + const endDrag = (event) => { + if (event.pointerId !== pointerId) return; + pointerId = null; + thumbs.classList.remove('is-dragging'); + }; + + thumbs.addEventListener('pointerup', endDrag); + thumbs.addEventListener('pointercancel', endDrag); + thumbs.addEventListener('dragstart', (event) => event.preventDefault()); + + const progress = root.querySelector('[data-gallery-progress]'); + const mark = progress ? progress.querySelector('span') : null; + const syncProgress = () => { + if (!mark || !thumbs.clientWidth) return; + const slides = thumbs.children.length; + const index = Math.max(0, Math.min(slides - 1, Math.round(thumbs.scrollLeft / thumbs.clientWidth))); + mark.style.transform = 'translateX(' + (index * 100) + '%)'; + if (progress) progress.setAttribute('aria-valuenow', String(index + 1)); + }; + thumbs.addEventListener('scroll', syncProgress, { passive: true }); + window.addEventListener('resize', syncProgress); + syncProgress(); + } + const form = root.querySelector('.product__form'); const qtyInput = root.querySelector('[data-qty-input]'); @@ -1343,33 +1687,163 @@ } })(); - const reviewNodes = [...root.querySelectorAll('[data-review]')]; - const pager = root.querySelector('[data-review-pager]'); - if (reviewNodes.length && pager) { - const pageSize = 3; - const pageButtons = [...pager.querySelectorAll('[data-review-page]')]; - const showPage = (page) => { - const maxPage = Math.max(0, pageButtons.length - 1); - const nextPage = Math.min(Math.max(0, page), maxPage); - reviewNodes.forEach((node, index) => { - const visible = index >= nextPage * pageSize && index < (nextPage + 1) * pageSize; - node.hidden = !visible; - }); - pageButtons.forEach((button) => { - button.classList.toggle('is-current', Number(button.dataset.reviewPage) === nextPage); - }); - pager.dataset.page = String(nextPage); + const reviewsRoot = root.querySelector('[data-product-reviews]'); + if (reviewsRoot) { + const list = reviewsRoot.querySelector('[data-review-list]'); + const more = reviewsRoot.querySelector('[data-review-more]'); + const writeButton = reviewsRoot.querySelector('[data-write-review]'); + const writeForm = reviewsRoot.querySelector('#product-review-form'); + const cache = new Map(); + let productExternalId = reviewsRoot.dataset.productId; + let currentPage = 1; + let loading = false; + const reviewsShop = reviewsRoot.dataset.reviewsShop || reviewsRoot.dataset.shop; + const starPath = 'M7 1.2l1.45 3.22 3.5.4-2.62 2.38.74 3.46L7 8.95 3.93 10.66l.74-3.46L2.05 4.82l3.5-.4L7 1.2z'; + + const plainText = (html) => { + const parsed = new DOMParser().parseFromString(html || '', 'text/html'); + return (parsed.body.textContent || '').trim(); }; - pager.addEventListener('click', (event) => { - const pageButton = event.target.closest('[data-review-page]'); - if (pageButton) { - showPage(Number(pageButton.dataset.reviewPage)); - return; + + const renderReviews = (reviews, append) => { + if (!append) list.replaceChildren(); + reviews.forEach((review) => { + const rating = Math.max(1, Math.min(5, Math.round(Number(review.rating) || 0))); + const article = document.createElement('article'); + article.className = 'product__review'; + article.dataset.review = ''; + + const stars = document.createElement('span'); + stars.className = 'product__stars'; + stars.setAttribute('aria-label', rating + ' de 5'); + for (let star = 1; star <= 5; star += 1) { + const icon = document.createElementNS('http://www.w3.org/2000/svg', 'svg'); + icon.setAttribute('class', 'product__star' + (star > rating ? ' is-off' : '')); + icon.setAttribute('width', '16'); + icon.setAttribute('height', '16'); + icon.setAttribute('viewBox', '0 0 14 14'); + icon.setAttribute('aria-hidden', 'true'); + const path = document.createElementNS('http://www.w3.org/2000/svg', 'path'); + path.setAttribute('d', starPath); + path.setAttribute('fill', 'currentColor'); + icon.append(path); + stars.append(icon); + } + + const person = document.createElement('div'); + person.className = 'product__review-person'; + const avatar = document.createElement('span'); + avatar.className = 'product__avatar'; + avatar.setAttribute('aria-hidden', 'true'); + avatar.innerHTML = ''; + const name = document.createElement('p'); + name.className = 'product__review-name'; + name.textContent = review.reviewer_name || 'Cliente'; + person.append(avatar, name); + + const text = document.createElement('p'); + text.className = 'product__review-text'; + const body = plainText(review.body_html); + text.textContent = body || review.title || ''; + + article.append(stars, person, text); + list.append(article); + }); + }; + + const updateMore = (page, total) => { + currentPage = page; + if (!more) return; + more.hidden = page >= total; + }; + + const loadPage = async (page, append) => { + if (loading || !productExternalId || !reviewsShop) return; + loading = true; + if (more) more.disabled = true; + try { + if (!cache.has(page)) { + const url = new URL('https://judge.me/reviews/reviews_for_widget'); + url.searchParams.set('url', reviewsShop); + url.searchParams.set('shop_domain', reviewsShop); + url.searchParams.set('platform', 'shopify'); + url.searchParams.set('page', String(page)); + url.searchParams.set('per_page', '3'); + url.searchParams.set('product_id', String(productExternalId)); + const response = await fetch(url); + if (!response.ok) return; + cache.set(page, await response.json()); + } + const data = cache.get(page); + renderReviews(data.reviews || [], append); + updateMore(page, data.pagination ? data.pagination.total_pages : 1); + } finally { + loading = false; + if (more) more.disabled = false; } - if (event.target.closest('[data-review-next]')) { - showPage(Number(pager.dataset.page || 0) + 1); - } - }); + }; + + const resolveProduct = async () => { + if (!reviewsShop || reviewsShop === reviewsRoot.dataset.shop) return; + const storefront = (reviewsRoot.dataset.reviewsStorefront || '').replace(/\/$/, ''); + const handle = reviewsRoot.dataset.productHandle; + if (!storefront || !handle) return; + const response = await fetch(storefront + '/products/' + handle + '.js'); + if (!response.ok) return; + const product = await response.json(); + if (product && product.id) productExternalId = String(product.id); + }; + + if (more) { + more.addEventListener('click', () => { + loadPage(currentPage + 1, true); + }); + } + + resolveProduct().then(() => loadPage(1, false)).catch(() => {}); + + if (writeButton && writeForm) { + const openForm = (open) => { + writeForm.classList.toggle('is-open', open); + writeButton.setAttribute('aria-expanded', open ? 'true' : 'false'); + }; + writeButton.addEventListener('click', () => { + openForm(!writeForm.classList.contains('is-open')); + }); + writeForm.addEventListener('submit', async (event) => { + event.preventDefault(); + const success = writeForm.querySelector('.product__write-success'); + const error = writeForm.querySelector('.product__write-error'); + if (success) success.hidden = true; + if (error) error.hidden = true; + const payload = new URLSearchParams(); + payload.set('shop_domain', reviewsShop); + payload.set('platform', 'shopify'); + payload.set('id', String(productExternalId || '')); + payload.set('name', writeForm.reviewer_name.value); + payload.set('email', writeForm.reviewer_email.value); + payload.set('rating', (writeForm.querySelector('input[name="score"]:checked') || {}).value || '5'); + payload.set('body', writeForm.review_body.value); + try { + const response = await fetch('https://api.judge.me/api/v1/reviews', { + method: 'POST', + headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, + body: payload, + }); + if (!response.ok) throw new Error('review'); + if (success) { + success.hidden = false; + success.textContent = writeForm.dataset.sent || ''; + } + writeForm.reset(); + } catch (submitError) { + if (error) { + error.hidden = false; + error.textContent = writeForm.dataset.error || ''; + } + } + }); + } } })(); {% endjavascript %} @@ -1381,6 +1855,20 @@ { "type": "paragraph", "content": "t:product_page.metafields" + }, + { + "type": "text", + "id": "reviews_shop", + "label": "t:product_page.reviews_shop", + "info": "t:product_page.reviews_shop_info", + "default": "seasons-world.myshopify.com" + }, + { + "type": "text", + "id": "reviews_storefront", + "label": "t:product_page.reviews_storefront", + "info": "t:product_page.reviews_storefront_info", + "default": "https://www.seasonsmexico.com" } ], "disabled_on": { diff --git a/sections/routine.liquid b/sections/routine.liquid index bbbf2be..8c87c52 100644 --- a/sections/routine.liquid +++ b/sections/routine.liquid @@ -29,7 +29,7 @@ widths: '400, 800, 1200, 1700', sizes: '(max-width: 1024px) calc(100vw - 30px), 50vw', class: 'routine__cover-image', - loading: 'eager' + loading: 'lazy' }} {% else %} {{ heading | escape }} {% endif %}

    {{ heading | escape | newline_to_br }}

    @@ -53,7 +57,21 @@ assign step_title = step_key | t endif - if block.settings.link != blank + assign step_url = block.settings.link + if step_url == blank + case forloop.index + when 1 + assign step_url = '/collections/1-limpia' + when 2 + assign step_url = '/collections/2-trata' + when 3 + assign step_url = '/collections/3-hidrata' + when 4 + assign step_url = '/collections/4-protege-bloqueadores-solares' + endcase + endif + + if step_url != blank assign step_tag = 'a' else assign step_tag = 'div' @@ -76,7 +94,7 @@ class="routine__card" {{ block.shopify_attributes }} {% if step_tag == 'a' %} - href="{{ block.settings.link }}" + href="{{ step_url }}" {% endif %} > @@ -98,6 +116,10 @@ alt="{{ step_title | escape }}" width="415" height="436" + srcset="{{ fallback_image | replace: '.avif', '-sm.avif' | asset_url }} 450w, {{ fallback_image | asset_url }} 750w" + sizes="(max-width: 1024px) 245px, 415px" + loading="lazy" + decoding="async" > {% endif %} @@ -198,6 +220,12 @@ width: 100%; height: 100%; object-fit: cover; + transition: transform 0.45s ease; + } + + .routine__card:hover .routine__image, + .routine__card:focus-visible .routine__image { + transform: scale(1.06); } .routine__shade { @@ -205,6 +233,24 @@ inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2)); pointer-events: none; + transition: background 0.35s ease; + } + + .routine__card:hover .routine__shade, + .routine__card:focus-visible .routine__shade { + background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.38)); + } + + @media (prefers-reduced-motion: reduce) { + .routine__image, + .routine__shade { + transition: none; + } + + .routine__card:hover .routine__image, + .routine__card:focus-visible .routine__image { + transform: none; + } } .routine__caption { diff --git a/sections/signup.liquid b/sections/signup.liquid index 3e74305..a9927f1 100644 --- a/sections/signup.liquid +++ b/sections/signup.liquid @@ -48,6 +48,8 @@ alt="" width="317" height="360" + loading="lazy" + decoding="async" > @@ -92,7 +94,10 @@ > diff --git a/sections/skin-match.liquid b/sections/skin-match.liquid index b1b591d..3dd39e2 100644 --- a/sections/skin-match.liquid +++ b/sections/skin-match.liquid @@ -44,6 +44,7 @@ width="308" height="301" loading="lazy" + decoding="async" > @@ -100,9 +104,12 @@ class="skin-match__image skin-match__image--serum" src="{{ 'skin-match-photo-serum.avif' | asset_url }}" alt="{{ serum_alt | escape }}" - width="1333" - height="2000" + width="720" + height="1080" loading="lazy" + srcset="{{ 'skin-match-photo-serum-sm.avif' | asset_url }} 460w, {{ 'skin-match-photo-serum.avif' | asset_url }} 720w" + sizes="(max-width: 1024px) 251px, 482px" + decoding="async" > {% endif %} @@ -124,9 +131,12 @@ class="skin-match__image skin-match__image--dropper" src="{{ 'skin-match-photo-dropper.avif' | asset_url }}" alt="{{ dropper_alt | escape }}" - width="2498" - height="3123" + width="600" + height="750" loading="lazy" + srcset="{{ 'skin-match-photo-dropper-sm.avif' | asset_url }} 360w, {{ 'skin-match-photo-dropper.avif' | asset_url }} 600w" + sizes="(max-width: 1024px) 188px, 324px" + decoding="async" > {% endif %} @@ -148,9 +158,12 @@ class="skin-match__image skin-match__image--cheek" src="{{ 'skin-match-photo-cheek.avif' | asset_url }}" alt="{{ cheek_alt | escape }}" - width="3043" - height="3043" + width="600" + height="600" loading="lazy" + srcset="{{ 'skin-match-photo-cheek-sm.avif' | asset_url }} 360w, {{ 'skin-match-photo-cheek.avif' | asset_url }} 600w" + sizes="(max-width: 1024px) 193px, 332px" + decoding="async" > {% endif %} @@ -172,9 +185,12 @@ class="skin-match__image skin-match__image--jar" src="{{ 'skin-match-photo-jar.avif' | asset_url }}" alt="{{ jar_alt | escape }}" - width="4096" - height="2731" + width="1440" + height="960" loading="lazy" + srcset="{{ 'skin-match-photo-jar-sm.avif' | asset_url }} 960w, {{ 'skin-match-photo-jar.avif' | asset_url }} 1440w" + sizes="(max-width: 1024px) 522px, 1002px" + decoding="async" > {% endif %} @@ -189,7 +205,9 @@ {{ button_label | escape }} {% else %} - {{ button_label | escape }} + {% endif %} @@ -375,25 +393,24 @@ justify-content: center; margin: 50px auto 0; padding: 15px; + border: 0; border-radius: 60px; background: #9dd6c7; color: #000; + font-family: inherit; font-size: 16px; font-weight: 300; line-height: normal; text-align: center; text-decoration: none; - } - - a.skin-match__button { cursor: pointer; } - a.skin-match__button:hover { + .skin-match__button:hover { filter: brightness(0.96); } - a.skin-match__button:focus-visible { + .skin-match__button:focus-visible { outline: 2px solid #000; outline-offset: 2px; } diff --git a/sections/testimonials.liquid b/sections/testimonials.liquid index b8271b1..2a3bd57 100644 --- a/sections/testimonials.liquid +++ b/sections/testimonials.liquid @@ -25,6 +25,8 @@ alt="" width="434" height="486" + loading="lazy" + decoding="async" >
    @@ -45,7 +47,7 @@ {% unless forloop.first %}hidden{% endunless %} >
    -
    +