.guides,
.hero,
.search-bar input {
    text-align: center
}

.dropdown-item:hover,
.guide-card ul li a {
    background-color: #f9f9f9
}

.guide-card.blue ul li a:hover,
.guide-card.green ul li a:hover,
.guide-card.red ul li a:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    transform: scale(1.02)
}

.btn.red,
.footer-section ul li a:hover,
.guide-card.red ul li a:hover,
.guide-top .tag,
.icons i:hover,
.nav a:hover,
.popular-searches a:hover,
.price-link:hover,
.product-title:hover,
.related-widget ul li a:hover,
.social-links a:hover {
    color: hsl(var(--primary))
}

.blog-post:hover,
.price-range-box:hover,
.product-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
    transform: translateY(-5px)
}

.blog-top .tag,
.featured-top .tag,
.guide-top .tag,
.newsletter .tag {
    font-size: .75rem;
    padding: .25rem .75rem
}

.container,
h1 {
    padding: 0 1rem
}

.toc a,
.toc h2 {
    font-family: Roboto, 'Open Sans', sans-serif
}

:root {
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;
    --primary: 355 95% 65%;
    --primary-foreground: 210 40% 98%;
    --border: 214.3 31.8% 91.4%;
    --radius: 0.5rem
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: Inter, sans-serif;
    line-height: 1.5
}

p a.afflink {
    font-weight: 600;
    color: hsl(var(--primary) / .9)
}

.header {
    background-color: #fff;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100
}

.container {
    height: 3.5rem;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1400px
}

.container,
.logo {
    align-items: center;
    display: flex
}

.logo img {
    display: block;
    height: 40px;
    object-fit: contain;
    width: 180px
}

.logo a {
    display: inline-block;
    transition: opacity .3s
}

.logo a:hover {
    opacity: .7
}

.mobile-menu-toggle {
    background: 0 0;
    border: none;
    color: #777;
    cursor: pointer;
    display: none;
    font-size: 1.5rem
}

.nav,
.nav ul {
    display: flex
}

.nav ul {
    gap: 1rem;
    list-style: none
}

.nav a {
    border-radius: .5rem;
    color: #777;
    font-weight: 700;
    padding: .25rem .5rem;
    text-decoration: none;
    transition: color .3s, background-color .3s
}

.nav a:hover {
    background-color: #f3f3f3
}

.dropdown>a:hover {
    box-shadow: 0 4px 12px rgba(0, 0, .1)
}

.dropdown {
    position: relative
}

.dropdown-menu {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    display: flex;
    gap: 2rem;
    left: 50%;
    margin-top: 8px;
    opacity: 0;
    padding: 1.25rem 1.5rem;
    position: absolute;
    top: 100%;
    transform: translateX(-30%);
    transition: opacity .2s, visibility .2s;
    visibility: hidden;
    width: 36rem;
    z-index: 5
}

.dropdown.active .dropdown-menu,
.dropdown:hover .dropdown-menu,
.scroll-to-top.visible {
    opacity: 1;
    visibility: visible
}

.dropdown-menu .column {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1rem
}

.dropdown-item {
    background: 0 0;
    border-radius: .5rem;
    color: inherit;
    display: block;
    font-weight: 500;
    padding: .75rem;
    text-decoration: none;
    transition: background .2s
}

.btn,
.guide-card ul li a {
    transition: .2s;
    text-decoration: none
}

.dropdown-item h4 {
    color: hsl(var(--foreground));
    font-size: .875rem;
    font-weight: 600;
    margin: 0 0 .25rem
}

.dropdown-item p {
    color: #666;
    font-size: .8rem;
    font-weight: 400;
    line-height: 1.4;
    margin: 0
}

.icons {
    align-items: center;
    display: flex;
    gap: 1rem;
    margin-right: 1rem
}

.icons i {
    color: #777;
    cursor: pointer;
    font-size: 1.1rem;
    transition: color .3s
}

.header-search-bar button,
.search-bar button {
    transition: background .3s;
    background-color: hsl(var(--primary));
    cursor: pointer
}

.header-search-bar {
    background: #fff;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, .15);
    display: none;
    left: 50%;
    max-width: 600px;
    padding: .75rem;
    position: fixed;
    top: 4.5rem;
    transform: translateX(-50%);
    width: 90%;
    z-index: 10
}

.header-search-bar.active,
.search-bar {
    display: flex;
    gap: .75rem
}

.header-search-bar input {
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    flex: 1;
    font-size: 1.1rem;
    min-width: 0;
    padding: .75rem
}

.header-search-bar input:focus,
.search-bar input:focus {
    border: 1px solid #000;
    outline: 0
}

.header-search-bar button {
    border: none;
    border-radius: .5rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: .75rem 1.5rem
}

.blog-product-button:hover,
.header-search-bar button:hover,
.product-button:hover,
.search-bar button:hover {
    background-color: hsl(var(--primary)/.9)
}

.blog-top .tag,
.btn.red:hover,
.featured-top .tag,
.guide-top .tag {
    background-color: hsl(var(--primary)/.1)
}

.hero {
    background: linear-gradient(180deg, #fff6f6, #fff);
    padding: 3rem 1rem
}

.hero-inner,
.newsletter-inner {
    margin: 0 auto;
    max-width: 680px
}

.blog-intro p,
.hero h1,
.hero p,
.search-bar {
    margin-bottom: 1.5rem
}

.hero h1 {
    color: #0f172a;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.1
}

.hero .highlight,
.hero h1 .highlight-gift {
    color: hsl(var(--primary));
    font-weight: 900
}

.hero p {
    color: #777;
    font-size: 1rem;
    line-height: 1.6
}

.search-bar {
    flex-direction: column
}

.search-bar input {
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    font-size: 1rem;
    padding: .75rem;
    width: 100%
}

.search-bar button {
    border: none;
    border-radius: .5rem;
    color: #fff;
    font-weight: 600;
    padding: .75rem
}

.popular-searches {
    color: #0f172a;
    font-size: .875rem;
    margin-top: 1rem
}

.popular-searches strong {
    display: block;
    margin-bottom: .4rem
}

.popular-searches a {
    color: #777;
    display: inline-block;
    font-weight: 500;
    margin: .25rem .5rem .25rem 0;
    text-decoration: none;
    transition: color .3s
}

.guides {
    background-color: #f9fafb;
    border-radius: .75rem;
    padding: 2rem 1rem
}

.guide-top .tag {
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 3rem
}

.blog-top h2,
.featured-top h2,
.guide-top h2 {
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem
}

.blog-top p,
.featured-top p,
.guide-top p {
    color: #64748b;
    font-size: .95rem;
    margin-bottom: 2.5rem
}

.guide-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem
}

.guide-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: .75rem;
    padding: 2rem;
    text-align: left
}

.guide-card.red {
    border-top: 4px solid hsl(var(--primary))
}

.guide-card.blue {
    border-top: 4px solid #3b82f6
}

.guide-card.green {
    border-top: 4px solid #22c55e
}

.guide-card h3 {
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: .75rem;
    margin-left: -1rem;
    margin-top: .5rem;
    padding-left: 1rem;
    position: relative
}

.guide-card h3:before {
    border-radius: 2px;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    top: 0;
    width: 4px
}

.guide-card.red h3:before {
    background-color: hsl(var(--primary))
}

.guide-card.blue h3:before {
    background-color: #3b82f6
}

.guide-card.green h3:before {
    background-color: #22c55e
}

.guide-card p {
    color: #475569;
    font-size: .9rem;
    margin-bottom: 1rem
}

.guide-card ul {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    list-style: none;
    margin-bottom: 1rem;
    padding-left: 0
}

.guide-card ul li a {
    align-items: center;
    border-radius: .5rem;
    color: #334155;
    cursor: pointer;
    display: flex;
    font-weight: 600;
    gap: .5rem;
    padding: .75rem 1rem
}

.guide-card.red ul li a:hover {
    background-color: hsl(var(--primary)/.2)
}

.guide-card.blue ul li a:hover {
    background-color: #d1e7ff;
    color: #3b82f6
}

.guide-card.green ul li a:hover {
    background-color: #d1fae5;
    color: #22c55e
}

.btn {
    border: 1px solid transparent;
    border-radius: .5rem;
    display: block;
    font-size: .9rem;
    font-weight: 600;
    padding: .75rem;
    text-align: center
}

.btn.red {
    border-color: hsl(var(--primary))
}

.btn.blue {
    border-color: #3b82f6;
    color: #3b82f6
}

.btn.blue:hover {
    background-color: #eff6ff
}

.btn.green {
    border-color: #22c55e;
    color: #22c55e
}

.btn.green:hover {
    background-color: #ecfdf5
}

.blog,
.featured,
.price-ranges {
    background-color: #fff;
    padding: 2rem 1rem;
    text-align: center
}

.blog-top .tag,
.featured-top .tag {
    border-radius: 999px;
    color: hsl(var(--primary));
    font-weight: 600;
    margin-bottom: 1rem
}

.featured-items {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    margin: 0 auto;
    max-width: 1200px
}

.product-card {
    background: #fff;
    border-radius: .75rem;
    display: flex;
    flex-direction: column;
    min-height: 360px;
    max-height: none;
    overflow: hidden;
    position: relative;
    transition: .3s
}

.product-badge,
.product-button {
    background-color: hsl(var(--primary))
}

.product-badge {
    animation: 2s infinite pulse;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    padding: .35rem .75rem;
    position: absolute;
    right: 1rem;
    top: 1rem;
    transform: rotate(15deg);
    z-index: 1
}

@keyframes pulse {
    0%,
    to {
        transform: rotate(15deg) scale(1)
    }
    50% {
        transform: rotate(15deg) scale(1.05)
    }
}

.product-card:hover .product-badge {
    animation: none;
    transform: rotate(15deg) scale(1.1)
}

.product-image {
    border-radius: .5rem;
    height: 180px;
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
    width: 100%
}

.price-range-box,
.save-button {
    border: 1px solid #e2e8f0;
    cursor: pointer
}

.product-image a,
.product-image img {
    display: block;
    height: 100%;
    width: 100%
}

.product-image img {
    object-fit: cover;
    transition: transform .3s
}

.product-card:hover .product-image img {
    transform: scale(1.05)
}

.product-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between
}

.product-content h3 {
    font-size: 1.1rem;
    margin-bottom: .5rem
}

.product-title {
    color: #0f172a;
    text-decoration: none;
    transition: color .3s
}

.product-description {
    color: #64748b;
    font-size: .85rem;
    min-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis
}

.product-rating {
    align-items: center;
    color: #f59e0b;
    display: flex;
    font-size: .8rem;
    gap: .25rem;
    justify-content: center
}

.product-rating span {
    color: #64748b;
    margin-left: .5rem
}

.product-price {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-start;
    margin-bottom: 1rem
}

.original-price {
    color: hsl(var(--primary));
    font-size: .9rem;
    text-decoration: line-through
}

.current-price,
.discounted-price {
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 600
}

.price-link {
    color: #777;
    font-size: 1rem;
    margin-left: auto;
    text-decoration: none;
    transition: color .3s
}

.product-button {
    font-weight: 600;
    min-height: 48px;
    text-align: center;
    transition: background-color .3s;
    width: 100%
}

.product-actions {
    display: flex;
    gap: .5rem;
    justify-content: space-between;
    align-items: center
}

.save-button {
    background: #fff;
    border-radius: .5rem;
    color: #777;
    font-size: 1.2rem;
    height: 48px;
    justify-content: center;
    transition: color .3s, background-color .3s, border-color .3s;
    width: 48px;
    display: flex;
    align-items: center
}

.blog-post,
.price-range-box {
    background: #f9fafb;
    transition: .3s
}

.blog-save-button.saved,
.blog-save-button:hover,
.save-button.saved,
.save-button:hover {
    background-color: #f9f9f9;
    border-color: hsl(var(--primary));
    color: hsl(var(--primary))
}

.blog-save-button.saved i,
.save-button.saved i {
    font-family: Font Awesome\ 6 Free;
    font-weight: 900
}

.price-range-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin: 0 auto;
    max-width: 1200px
}

.price-range-box {
    border-radius: .75rem;
    flex: 1 1 300px;
    max-width: 350px;
    padding: 2rem
}

.price-range-box:hover {
    background: #fff;
    border-color: hsl(var(--primary))
}

.price-range-box h3 {
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0
}

.blog-post h3,
.footer-section ul li,
.post-content ul li {
    margin-bottom: .5rem
}

.blog-container {
    margin: 0 auto;
    max-width: 1200px
}

.blog-posts {
    display: grid;
    gap: 2rem
}

.blog-post {
    border: 1px solid #e2e8f0;
    border-radius: .75rem;
    padding: 1.5rem;
    text-align: left
}

.blog-post-header,
.faq-section h2,
.newsletter,
h1 {
    text-align: center
}

.blog-post h3 {
    color: #0f172a;
    font-size: 1.3rem;
    font-weight: 700
}

.post-content p,
.post-content ul li {
    color: #475569;
    font-size: .95rem
}

.newsletter .tag,
.newsletter h2,
.newsletter p,
.post-content p,
.post-content ul,
.post-date {
    margin-bottom: 1rem
}

.post-date {
    color: #64748b;
    font-size: .85rem
}

.post-content ul {
    list-style: disc;
    padding-left: 1.5rem
}

.post-content ul li strong {
    color: #0f172a
}

.newsletter {
    background: hsl(var(--primary));
    color: #fff;
    padding: 2rem 1rem
}

.newsletter .tag {
    background-color: hsla(0, 0%, 100%, .2);
    border-radius: 999px;
    color: #fff;
    font-weight: 600
}

.newsletter h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800
}

.newsletter p {
    color: hsla(0, 0%, 100%, .9);
    font-size: .95rem
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin: 0 auto;
    max-width: 500px
}

.newsletter-form input {
    background: #fff;
    border: 1px solid hsla(0, 0%, 100%, .5);
    border-radius: .5rem;
    color: #a0a0a0;
    font-size: 1rem;
    padding: .75rem;
    width: 100%
}

.newsletter-form input::placeholder {
    color: #a0a0a0
}

.newsletter-form input:focus {
    background: #fff;
    border: 1px solid #fff;
    outline: 0
}

.newsletter-form button {
    align-items: center;
    background-color: #fff;
    border: none;
    border-radius: .5rem;
    color: hsl(var(--primary));
    cursor: pointer;
    display: flex;
    font-weight: 600;
    gap: .5rem;
    justify-content: center;
    margin: 0 auto;
    padding: .75rem 1.5rem;
    transition: background .3s, color .3s
}

.newsletter-form button:hover {
    background-color: hsla(0, 0%, 100%, .9);
    color: hsl(var(--primary))
}

.newsletter small {
    color: hsla(0, 0%, 100%, .7);
    font-size: .7rem;
    margin-top: .25rem
}

.footer-section ul li a,
.social-links a {
    color: #64748b;
    transition: color .3s;
    text-decoration: none
}

.footer {
    background-color: #f9fafb;
    border-top: 1px solid #e2e8f0;
    color: #0f172a;
    padding: 2rem 1rem
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px
}

.footer-section {
    flex: 1;
    min-width: 200px
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem
}

.footer-section ul {
    list-style: none;
    padding: 0
}

.social-links {
    display: flex;
    gap: 1rem
}

.social-links a {
    font-weight: 500
}

.scroll-to-top {
    align-items: center;
    background-color: hsl(var(--primary));
    border: none;
    border-radius: 50%;
    bottom: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .15);
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 1.5rem;
    height: 50px;
    justify-content: center;
    opacity: 0;
    position: fixed;
    right: 2rem;
    transition: opacity .3s, visibility .3s, background-color .3s, transform .3s;
    visibility: hidden;
    width: 50px;
    z-index: 1000
}

.scroll-to-top:hover {
    background-color: hsl(var(--primary)/.9);
    transform: translateY(-5px)
}

.blog-post-container {
    color: #334155;
    line-height: 1.7;
    margin: 2rem auto 4rem;
    max-width: 800px;
    padding: 0 1.5rem
}

.blog-post-header {
    margin-bottom: 3rem
}

.blog-post-header h1 {
    color: #0f172a;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem
}

.post-meta {
    color: #64748b;
    display: block;
    font-size: .95rem;
    margin-bottom: 2rem
}

.blog-hero-image {
    border-radius: .75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    margin-bottom: 1.5rem;
    max-height: 450px;
    object-fit: cover;
    width: 100%
}

.blog-intro {
    font-size: 1.1rem;
    margin-bottom: 3rem
}

.gift-category {
    margin-bottom: 4rem
}

.gift-category h2 {
    color: #0f172a;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-left: 1.25rem;
    position: relative
}

#table-of-contents h2:before,
.gift-category h2:before,
.related-widget h3:before {
    background-color: hsl(var(--primary));
    border-radius: 3px;
    content: "";
    height: 1em;
    left: 0;
    position: absolute;
    top: .35em;
    width: 6px
}

.gift-category p {
    font-size: 1.05rem;
    margin-bottom: 2rem
}

.product-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0
}

.blog-product-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: .75rem;
    display: flex;
    max-width: 100%;
    min-height: 300px;
    padding: 1.5rem;
    transition: .3s
}

.blog-product-button,
.categories h2:before,
.category-card a,
.gift-guide h2:before,
.gift-guide input[type=button] {
    background-color: hsl(var(--primary))
}

.blog-product-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, .1);
    transform: translateY(-3px)
}

.featured-card:hover,
.related-widget:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, .1);
    transform: translateY(-5px)
}

.blog-product-image {
    border-radius: .75rem;
    display: block;
    height: 300px;
    margin-right: 1.5rem;
    object-fit: cover;
    width: 300px
}

.blog-product-card>div {
    align-items: center;
    display: flex;
    flex: 1
}

.blog-product-card>div>div {
    flex: 1;
    padding-left: 1rem
}

.blog-product-title {
    color: #0f172a;
    display: block;
    font-size: 1.3rem;
    margin-bottom: .5rem;
    font-weight: 700
}

.blog-product-description {
    color: #475569;
    flex-grow: 1;
    font-size: .95rem;
    margin-bottom: 1rem
}

.blog-product-actions {
    align-items: center;
    display: flex;
    gap: .5rem;
    justify-content: flex-start
}

.blog-product-button {
    border-radius: .5rem;
    color: #fff;
    font-size: .95rem;
    font-weight: 600;
    padding: .65rem 3.75rem;
    text-align: center;
    text-decoration: none;
    transition: background-color .3s;
    white-space: nowrap
}

.blog-save-button {
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: .5rem;
    color: #777;
    cursor: pointer;
    display: flex;
    font-size: 1.2rem;
    height: 48px;
    justify-content: center;
    transition: color .3s, background-color .3s, border-color .3s;
    width: 48px
}

.product-card-divider-text {
    color: #64748b;
    font-size: .95rem;
    font-weight: 500;
    margin: 1rem 0;
    text-align: left
}

.why-we-love {
    background: hsl(var(--primary)/.05);
    border-left: 4px solid hsl(var(--primary));
    border-radius: 0 .5rem .5rem 0;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem
}

.why-we-love h4 {
    color: hsl(var(--primary));
    margin-bottom: .5rem
}

.faq-section {
    background: #f9fafb;
    border-radius: .75rem;
    margin: 4rem 0;
    padding: 2rem
}

.faq-section h2 {
    color: #0f172a;
    font-size: 1.8rem;
    margin-bottom: 1.5rem
}

.faq-item {
    margin-bottom: 2rem
}

.faq-item h3 {
    color: hsl(var(--primary));
    font-size: 1.2rem;
    margin-bottom: .75rem
}

.conclusion {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 3rem 0
}

#table-of-contents {
    background: #fff;
    border: 1px solid hsl(var(--border));
    border-radius: .75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
    margin: 2rem 0 3rem;
    padding: 2rem
}

#table-of-contents h2 {
    color: #0f172a;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-left: 1.25rem;
    position: relative
}

#table-of-contents ol {
    counter-reset: toc-counter;
    list-style: none;
    padding-left: 0
}

#table-of-contents ol li {
    counter-increment: toc-counter;
    margin-bottom: .75rem;
    padding-left: 2.5rem;
    position: relative
}

#table-of-contents ol li:before {
    color: hsl(var(--primary));
    content: counter(toc-counter) ".";
    font-size: 1.1rem;
    font-weight: 700;
    left: 0;
    position: absolute
}

#table-of-contents ol li a {
    color: #334155;
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .3s, transform .3s
}

#table-of-contents ol li a:hover,
.toc a:hover {
    color: hsl(var(--primary));
    transform: translateX(5px)
}

.featured-cards {
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin: 2rem 0
}

.featured-card {
    background: #fff;
    border-radius: .75rem;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    min-height: 150px;
    transition: .3s
}

.featured-card h3 {
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem
}

.featured-card p {
    color: #475569;
    font-size: .95rem
}

@media (max-width:768px) {
    .nav ul li a,
    .nav.active {
        display: block
    }
    .dropdown-menu,
    .nav ul li {
        max-width: 300px;
        width: 100%
    }
    .dropdown-item,
    .footer-container,
    .nav,
    .nav ul li a {
        text-align: center
    }
    .container {
        justify-content: flex-start;
        position: relative
    }
    .logo {
        flex: 1
    }
    .icons {
        margin-right: 1rem;
        order: 2
    }
    .mobile-menu-toggle {
        display: block;
        order: 3
    }
    .nav {
        background: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
        display: none;
        left: 0;
        padding: .5rem;
        position: fixed;
        right: 0;
        top: 3.5rem;
        z-index: 5
    }
    .nav ul {
        align-items: center;
        flex-direction: column;
        gap: .5rem
    }
    .nav ul li a {
        width: 100%
    }
    .dropdown-menu {
        background-color: hsla(0, 0%, 98%, .8);
        border-radius: var(--radius);
        display: flex;
        flex-direction: column;
        gap: .25rem;
        margin: 0 auto;
        max-height: 0;
        opacity: 1;
        overflow: hidden;
        padding: .25rem 0;
        position: static;
        transform: none;
        transition: max-height .3s, visibility .3s;
        visibility: hidden
    }
    .dropdown.active .dropdown-menu {
        max-height: 1000px;
        padding: .25rem 0;
        visibility: visible
    }
    .dropdown-menu .column {
        flex: none;
        gap: .25rem;
        width: 100%
    }
    .dropdown-item {
        font-size: .9rem;
        padding: .25rem .5rem
    }
    .blog-top p,
    .dropdown-item h4,
    .post-content p,
    .post-content ul li {
        font-size: .85rem
    }
    .dropdown-item p,
    .post-date {
        font-size: .75rem
    }
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.1
    }
    .current-price,
    .discounted-price,
    .hero p,
    .original-price {
        font-size: .9rem
    }
    .search-bar input {
        font-size: .85rem;
        margin: 0 auto;
        max-width: 250px;
        padding: .5rem
    }
    .search-bar button {
        font-size: .8rem;
        margin: 0 auto;
        max-width: 120px;
        padding: .5rem
    }
    .header-search-bar {
        max-width: 400px;
        top: 4.5rem;
        width: calc(100% - 2rem)
    }
    .header-search-bar input {
        font-size: .95rem;
        text-align: center
    }
    .blog-product-button,
    .header-search-bar button {
        font-size: .9rem;
        padding: .5rem 1rem
    }
    .guide-cards {
        gap: .75rem
    }
    .guide-card {
        min-height: 0;
        padding: .75rem
    }
    .guide-card h3 {
        font-size: .85rem;
        margin-bottom: .25rem;
        margin-top: .25rem;
        padding-left: .75rem
    }
    .guide-card p {
        font-size: .7rem;
        margin-bottom: .5rem
    }
    .guide-card ul {
        gap: .25rem;
        margin-bottom: .5rem
    }
    .guide-card ul li a {
        font-size: .75rem;
        padding: .4rem .75rem
    }
    .btn {
        font-size: .8rem;
        padding: .5rem
    }
    .featured-cards {
        flex-direction: column;
        gap: 1rem
    }
    .featured-card {
        min-height: 120px
    }
    .featured-items {
        grid-template-columns: repeat(2, 1fr)
    }
    .product-image {
        height: 150px
    }
    .product-price {
        flex-wrap: wrap;
        gap: .3rem;
        justify-content: center
    }
    .price-link {
        display: none;
        font-size: .85rem;
        margin-left: 0
    }
    .product-button {
        font-size: .8rem;
        min-height: 36px;
        padding: .5rem
    }
    .product-actions {
        gap: .3rem
    }
    .blog-save-button,
    .save-button {
        font-size: 1rem;
        height: 36px;
        width: 36px
    }
    .newsletter {
        padding: 2rem 1rem
    }
    .blog-top h2,
    .newsletter h2 {
        font-size: 1.25rem
    }
    .newsletter p {
        font-size: .85rem;
        margin-bottom: 1rem
    }
    .newsletter-form {
        gap: .25rem
    }
    .newsletter-form input {
        font-size: .9rem;
        padding: .5rem
    }
    .newsletter-form input::placeholder {
        text-align: center
    }
    .newsletter-form button {
        font-size: .9rem;
        margin: 0 auto;
        padding: .5rem 2rem;
        width: 100px
    }
    .newsletter small {
        font-size: .6rem
    }
    .blog,
    .price-ranges {
        padding: 1.5rem 1rem
    }
    .price-range-box {
        padding: 1.5rem
    }
    .blog-post {
        padding: 1rem
    }
    .blog-post h3 {
        font-size: 1.1rem
    }
    .footer-container {
        flex-direction: column
    }
    .social-links {
        justify-content: center
    }
    .scroll-to-top {
        bottom: 1rem;
        font-size: 1.2rem;
        height: 40px;
        right: 1rem;
        width: 40px
    }
    .blog-product-card {
        flex-direction: column;
        min-height: 0
    }
    .blog-product-image {
        height: auto;
        margin-bottom: 1rem;
        margin-right: 0;
        width: 100%
    }
    .blog-product-card>div {
        align-items: flex-start;
        flex-direction: column
    }
    .blog-product-card>div>div {
        padding-left: 0
    }
    .blog-product-actions {
        gap: .3rem;
        justify-content: center
    }
    #table-of-contents {
        margin: 1.5rem 0 2rem;
        padding: 1.5rem
    }
    #table-of-contents h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem
    }
    #table-of-contents ol li {
        margin-bottom: .5rem;
        padding-left: 2rem
    }
    #table-of-contents ol li a,
    #table-of-contents ol li:before {
        font-size: .95rem
    }
    .product-card-divider-text {
        text-align: left
    }
}

.categories,
.gift-guide {
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
    text-align: left
}

@media (min-width:769px) {
    .nav {
        left: 50%;
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%)
    }
    .hero {
        padding: 6rem 2rem 4rem
    }
    .hero h1 {
        font-size: 3.5rem;
        line-height: 1.1
    }
    .guide-cards,
    .search-bar {
        flex-direction: row;
        justify-content: center
    }
    .search-bar input {
        max-width: 350px
    }
    .guides {
        margin: 0 auto;
        max-width: 1200px;
        padding: 4rem 2rem
    }
    .blog-top .tag,
    .featured-top .tag,
    .guide-top .tag,
    .newsletter .tag {
        margin-bottom: 3rem
    }
    #table-of-contents h2,
    .blog-top h2,
    .featured-top h2,
    .guide-top h2,
    .newsletter h2 {
        font-size: 2rem
    }
    .blog-top p,
    .featured-top p,
    .guide-top p {
        margin-bottom: 3.5rem
    }
    .guide-card {
        flex: 1 1 300px;
        max-width: 350px;
        padding: 2.5rem
    }
    .featured-cards {
        margin: 3rem 0
    }
    .blog,
    .featured,
    .newsletter {
        padding: 4rem 2rem
    }
    .newsletter p {
        margin-bottom: 1rem
    }
    .newsletter-form {
        flex-direction: row;
        gap: .5rem;
        justify-content: center
    }
    .newsletter small {
        font-size: .7rem
    }
    .price-ranges {
        padding: 3rem 2rem
    }
    .blog-posts {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr))
    }
    .blog-post {
        padding: 2rem
    }
    .blog-post h3 {
        font-size: 1.5rem
    }
    .post-date {
        font-size: .9rem
    }
    #table-of-contents ol {
        padding-left: 2rem
    }
    #table-of-contents ol li a {
        font-size: 1.1rem
    }
}

.related-widget ul {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    list-style: none;
    padding-left: 0
}

.gift-guide h2,
.related-widget h3 {
    color: #0f172a;
    position: relative;
    padding-left: 1.25rem
}

.blog-layout {
    align-items: flex-start;
    display: flex;
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
    padding: 2rem 1rem
}

.blog-content {
    flex: 1;
    margin: 0 auto;
    max-width: 800px
}

.related-widget {
    align-self: flex-start;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: .75rem;
    border-top: 4px solid hsl(var(--primary));
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
    padding: 1.5rem;
    position: sticky;
    right: 0;
    top: 6rem;
    transition: transform .3s, box-shadow .3s;
    width: 280px;
    z-index: 10
}

.related-widget:hover {
    animation: none
}

.related-widget h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem
}

.related-widget ul li {
    border-radius: .5rem;
    margin-bottom: .75rem;
    padding: .5rem .75rem;
    transition: background-color .2s, transform .2s
}

.related-widget ul li a {
    color: #334155;
    display: block;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: color .2s
}

.related-widget ul li:not(:last-child) {
    border-bottom: 1px solid hsl(var(--border))
}

.related-widget ul li a:before {
    color: hsl(var(--primary));
    content: "\f054";
    font-family: Font Awesome\ 6 Free;
    font-size: .8rem;
    font-weight: 900;
    margin-right: .5rem;
    opacity: .7
}

@media (max-width:1024px) {
    .blog-layout {
        flex-direction: column
    }
    .related-widget {
        display: block;
        margin: 1rem auto;
        max-width: 400px;
        position: relative;
        top: 0;
        width: 100%
    }
    .related-widget h3 {
        font-size: 1.1rem
    }
    .related-widget ul li a {
        font-size: .9rem
    }
}

@keyframes subtle-pulse {
    0%,
    to {
        transform: scale(1)
    }
    50% {
        transform: scale(1.02)
    }
}

.gift-guide {
    padding: 2rem;
    border-radius: .75rem;
    margin: 2rem auto;
    max-width: 800px
}

.gift-guide h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem
}

.gift-guide h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: .35em;
    width: 6px;
    height: 1em;
    border-radius: 3px
}

.gift-guide label {
    display: block;
    font-weight: 600;
    color: #333;
    margin: 1rem 0 .5rem
}

.gift-guide input[type=button],
.gift-guide select {
    width: 100%;
    padding: .75rem;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: .5rem;
    font-size: 1rem;
    transition: border-color .3s
}

.gift-guide input[type=button]:focus,
.gift-guide select:focus {
    border-color: hsl(var(--primary));
    outline: 0
}

.gift-guide input[type=button] {
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600
}

.gift-guide input[type=button]:hover {
    background-color: hsl(var(--primary) / .9)
}

h1 {
    font-size: 2.5rem;
    color: #0f172a;
    margin: 2rem 0
}

.categories {
    padding: 2rem 1rem;
    border-radius: .75rem;
    margin: 2rem auto;
    max-width: 1200px
}

.category-card,
.divider-with-text {
    position: relative;
    text-align: center
}

.categories h2 {
    color: #0f172a;
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1.5rem
}

.categories h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: .4em;
    width: 8px;
    height: 1.2em;
    border-radius: 4px
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem
}

.category-card {
    background: linear-gradient(135deg, #fff 0, #f9fafb 100%);
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2.5rem;
    transition: .4s;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden
}

.category-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, .15);
    transform: translateY(-10px);
    border-color: hsl(var(--primary))
}

.category-card i {
    font-size: 4rem;
    color: hsl(var(--primary));
    margin-bottom: 1.5rem;
    transition: color .3s
}

.category-card:hover i {
    color: hsl(var(--primary) / .9)
}

.category-card h3 {
    color: #0f172a;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px
}

.category-card p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    padding: 0 1rem
}

.category-card a {
    color: #fff;
    border-radius: .75rem;
    padding: .75rem 1.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: .3s;
    border: 2px solid hsl(var(--primary))
}

.category-card a:hover {
    background-color: #fff;
    color: hsl(var(--primary));
    border-color: hsl(var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1)
}

@media (max-width:768px) {
    .categories,
    .gift-guide {
        padding: 1.5rem;
        margin: 1rem
    }
    .category-card h3,
    .gift-guide h2 {
        font-size: 1.5rem
    }
    .gift-guide input[type=button],
    .gift-guide select {
        font-size: .9rem;
        padding: .5rem
    }
    h1 {
        font-size: 1.8rem;
        margin: 1.5rem 0
    }
    .categories h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        padding-left: 1.25rem
    }
    .categories h2:before {
        width: 6px;
        height: 1em
    }
    .category-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem
    }
    .category-card {
        padding: 1.5rem;
        height: 350px
    }
    .category-card i {
        font-size: 3rem;
        margin-bottom: 1rem
    }
    .category-card p {
        font-size: 1rem
    }
    .category-card a {
        padding: .6rem 1.2rem;
        font-size: 1rem
    }
}

@media (max-width:480px) {
    .category-card {
        height: 300px
    }
    .category-card i {
        font-size: 2.5rem
    }
    .category-card h3 {
        font-size: 1.3rem
    }
    .category-card p {
        font-size: .9rem
    }
}

.blog-product-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem
}

.blog-product-price {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a
}

.divider-with-text {
    margin: 20px 0
}

.divider {
    border: none;
    height: 1px;
    background-color: #ccc
}

.featured-products {
    display: flex;
    justify-content: space-around;
    margin: 24px 0
}

.toc {
    padding: 24px;
    border-radius: 10px;
    margin: 30px auto;
    background-color: #fafafa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    border-left: 4px solid hsl(var(--primary));
    max-width: 800px
}

.featured-card,
.product-card {
    border: 1px solid #eee;
    text-align: center
}

.toc a::before {
    content: '→ ';
    color: hsl(var(--primary));
    font-size: .9em;
    margin-right: 4px
}

.toc h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 16px;
    font-weight: 600
}

.toc ul {
    list-style-type: none;
    padding: 0;
    margin: 0
}

.toc li {
    margin: 12px 0
}

.toc a {
    text-decoration: none;
    color: grey;
    font-size: 1.1em;
    font-weight: 500;
    transition: color .3s, transform .2s
}

@media (max-width:768px) {
    .toc {
        padding: 16px;
        margin: 20px 10px
    }
    .toc h2 {
        font-size: 1.5em
    }
    .toc a {
        font-size: 1em
    }
}

.product-card {
    width: none;
    padding: 16px
}

.product-card img {
    max-width: 100%;
    height: auto
}

.product-card h3 {
    font-size: 20px;
    color: #333
}

.product-card h4 {
    font-size: 18px;
    margin: 8px 0
}

.product-card p {
    font-size: 16px;
    color: #666
}

.featured-cards {
    display: flex;
    gap: 20px
}

.featured-card {
    flex: 1;
    min-width: 0;
    padding: 15px;
    display: flex;
    flex-direction: column
}

.featured-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px
}

.current-price,
.product-description,
.product-rating,
.product-title {
    margin: 8px 0;
    word-break: break-word
}

.product-button {
    margin-top: auto;
    display: inline-block;
    padding: 8px 16px;
    background: hsl(var(--primary));
    color: #fff;
    text-decoration: none;
    border-radius: 4px
}