/* 
Theme Name: SpeedMarket
Theme URI: https://favorthemes.com
Author: Favor Themes (Customized)
Author URI: https://favorthemes.com
Description: A performance-focused marketplace theme optimized for Core Web Vitals and Technical SEO.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: speedmarket
Tags: one-column, two-columns, right-sidebar, left-sidebar, custom-logo, custom-menu, featured-images, footer-widgets, theme-options, threaded-comments, translation-ready
*/

:root {
    /* Color system */
    --sm-color-primary: #2563eb;
    --sm-color-primary-dark: #1d4ed8;
    --sm-color-secondary: #0f172a;
    --sm-color-bg: #ffffff;
    --sm-color-surface: #f9fafb;
    --sm-color-border: #e5e7eb;
    --sm-color-text: #111827;
    --sm-color-text-muted: #6b7280;

    /* Spacing scale */
    --sm-space-2xs: 0.25rem;
    --sm-space-xs: 0.5rem;
    --sm-space-sm: 0.75rem;
    --sm-space-md: 1rem;
    --sm-space-lg: 1.5rem;
    --sm-space-xl: 2rem;
    --sm-space-2xl: 3rem;

    /* Radius & shadows */
    --sm-radius-sm: 4px;
    --sm-radius-md: 8px;
    --sm-radius-lg: 12px;
    --sm-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);

    /* Typography */
    --sm-font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --sm-font-size-base: 16px;
    --sm-line-height-base: 1.6;
}

body {
    font-family: var(--sm-font-base);
    font-size: var(--sm-font-size-base);
    line-height: var(--sm-line-height-base);
    color: var(--sm-color-text);
    background-color: var(--sm-color-bg);
}

a {
    color: var(--sm-color-primary);
}

a:hover,
a:focus {
    color: var(--sm-color-primary-dark);
}

/* Back to top button */
#back2Top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.5rem;
    z-index: 999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--sm-color-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
    padding: 0;
    line-height: 1;
}

#back2Top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back2Top:hover,
#back2Top:focus {
    background-color: var(--sm-color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    outline: none;
}

#back2Top:active {
    transform: translateY(0);
}

#back2Top svg {
    width: 24px;
    height: 24px;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #back2Top {
        right: 1rem;
        bottom: 1rem;
        width: 40px;
        height: 40px;
    }
    
    #back2Top svg {
        width: 20px;
        height: 20px;
    }
}

html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust:     100%;
}
body.custom-background {
    background-color: #fff !important;
    background-repeat: no-repeat !important;
}
body {
    margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block;
    margin: 0;
}
audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}
audio:not([controls]) {
    display: none;
    height: 0;
}
[hidden],
template {
    display: none;
}
a {
    text-decoration: none;
}
a:active,
a:hover {
    outline: 0;
    text-decoration:none;
}

a {
    outline: 0 none;
    text-decoration: none;
}
abbr[title] {
    border-bottom: 1px dotted;
}
b,
strong {
    font-weight: bold;
}
dfn {
    font-style: italic;
}
mark {
    background: #ff0;
    color: #000;
}
small {
    font-size: 80%;
}
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup {
    top: -0.5em;
}
sub {
    bottom: -0.25em;
}
img {
    border: 0;
}
svg:not(:root) {
    overflow: hidden;
}
hr {
    box-sizing: content-box;
    height: 0;
}
pre {
    overflow: auto;
}
code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}
button {
    overflow: visible;
}
button,
select {
    text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}
button[disabled],
html input[disabled] {
    cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}
input {
    line-height: normal;
}
input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}
input[type="search"] {
    -webkit-appearance: textfield;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
fieldset {
    margin: 0 2px;
    padding-top: 8px;
}
legend {
    border: 0;
    padding: 0;
}
textarea {
    overflow: auto;
}
optgroup {
    font-weight: bold;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
td,
th {
    padding:0px;
}
/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
    color: #000000;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 300;
    font-family: 'Oswald', sans-serif;
}
h1{
    font-size: 28px;
    margin-bottom: 15px;
}
h2{
    font-size: 26px;
    margin-bottom: 15px;
}
h3{
    font-size: 30px;
    margin:20px 0 15px 0;
}
h4{
    font-size: 22px;
    margin-bottom: 10px;
}
h5{
    font-size: 20px;
    margin-bottom: 10px;
}
h6{
    font-size: 18px;
    margin-bottom: 10px;
}
p {
    margin:0 0 15px;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

#innerpage-box blockquote p{ margin: 0;
    font-weight: 400;
}
blockquote {
    top: 2em;
    background-color: #f2f2f2;
    position: relative;
    clear: both;
    margin: 30px 0px;
    padding: 1em 2em 1em 3em !important;
    font-size: 16px;
    color: #212121;
    font-style: italic;
    border-radius: 20px;
}
blockquote:before {
    content: "";
    position: absolute;
    top: 20px;
    clear: both;
    padding-left: 1em;
    border-left: 4px solid #fff;
    bottom: 20px;
    left: 20px;
}

q:before,
q:after {
    content: "";
}
pre {
    background: #eee;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
    max-width: 100%;
    overflow: auto;
    padding: 15px;
}
code,
kbd,
tt,
var {
    font-size: 15px;
}
abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}
mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}
big {
    font-size: 125%;
}
select {
    border: 1px solid #EEE;
    height: 40px;
    padding: 3px 40px 3px 8px;
    background-color: transparent;
    line-height: 100%;
    outline: 0;
    background-image: url(images/arrow.png);
    background-position: right center;
    background-repeat: no-repeat;
    position: relative;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.clearfix{clear:both;}

/*padding*/

.pd-0{ padding: 0;}
.pd-1{ padding: 5px;}
.pl-0{padding-left:0 ;}
.pl-1{padding-left: 1em;}
.pd-4{padding: 0 2em;}

/*margin*/

.mr-0{margin-left: 0 !important;margin-right: 0 !important;}


.justify-content-center { -ms-flex-pack: center!important; -webkit-box-pack: center!important; text-align: center;justify-content: center!important;}
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
    box-sizing: border-box;
}
*,
*:before,
*:after {    box-sizing: inherit;
}

blockquote,
q {
    quotes: "" "";
        -moz-box-shadow: -1px 0px 9px rgba(152, 152, 131, 0.2);
    -webkit-box-shadow: -1px 0px 9px rgba(152, 152, 131, 0.2);
    box-shadow: -1px 0px 9px rgba(152, 152, 131, 0.2);
}
hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 15px;
}
ul,
ol {
    margin: 0 0 15px 20px;
    padding: 0;
}
ul {
    list-style: disc;
}
ol {
    list-style: decimal;
}
li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 15px;
}
dt {
    font-weight: bold;
}
dd {
    margin: 0 15px 15px;
}
img {
    height: auto; /* Make sure images are scaled correctly. */
    max-width: 100%; /* Adhere to container width. */
    vertical-align: middle;
}
table {
    margin: 0 0 15px;
    width: 100%;
}
/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
.wpcf7 form .wpcf7-response-output {
    margin: 2em 0.5em 1em;
    padding: 0.2em 1em;
    border: 2px solid #00a0d2;
    color: red;
    z-index: 1;
    position: relative;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    background: #fe5722;
    padding: 10px 20px;   
    color: #FFF;
    border: 0;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-radius: 5px;
    box-shadow: 0px 6px 10px -4px rgba(0,0,0,0.4);
        font-size: 16px;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    opacity: 1;
}
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    outline: 0;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #404040;
    border: 1px solid #EEE;
    transition:all 0.3s ease-in-out;
    -moz-transition:all 0.3s ease-in-out;
    -webkit-transition:all 0.3s ease-in-out;
    vertical-align: top;
}
.widget.widget_categories select {
    border: 1px solid #EEE;
    height: 40px;
    padding: 3px 40px 3px 8px;
    line-height: 100%;
    outline: 0;
    background-image: url("images/arrow.png");
    background-position: right center;
    background-repeat: no-repeat;
    position: relative;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    outline: 0;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"] {
    padding: 10px 8px;
    width: 100%;
}
textarea {
    padding: 8px;
    width: 100%;
}
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
    text-decoration: none;
    transition: all 0.3s ease; 
    -moz-transition: all 0.3s ease; 
    -webkit-transition: all 0.3s ease; 
}
a:focus {
    outline: 0;
}
a:hover,
a:active {
    outline: 0;
}

/* ==========================================================
   SpeedMarket Single Product Layout
   ========================================================== */
.page-main-header {
    padding: 5rem 0;
}

.sm-product-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 340px);
    gap: 2.5rem;
}

.sm-product-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sm-product-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--sm-shadow-soft);
    background: #f3f4f6;
}

.sm-product-hero-image {
    width: 100%;
    display: block;
}

.sm-product-hero-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.sm-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    pointer-events: auto;
}

.sm-badge-primary {
    background: var(--sm-color-primary);
    color: #fff;
}

.sm-badge-soft {
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
}

.sm-badge-sub {
    margin-left: 0.35rem;
    font-weight: 400;
    opacity: 0.8;
}

.sm-product-title {
    font-size: 2.1rem;
    margin-bottom: 0.5rem;
}

.sm-product-subtitle {
    color: var(--sm-color-text-muted);
    max-width: 720px;
}

.sm-product-stats-row {
    margin: 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.sm-product-stat-card {
    padding: 0.9rem 1.1rem;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid var(--sm-color-border);
}

.sm-product-stat-label {
    font-size: 0.8rem;
    color: var(--sm-color-text-muted);
    margin-bottom: 0.25rem;
}

.sm-product-stat-value {
    font-size: 1.15rem;
    font-weight: 600;
}

.sm-product-section {
    margin-top: 1rem;
}

.sm-product-section-title {
    font-size: 1.25rem;
    margin: 1.75rem 0;
}

.sm-product-section-body {
    color: var(--sm-color-text);
}

.sm-product-features-list {
    margin: 0 0 1.25rem;
    padding-left: 0;
    list-style: none;
    column-gap: 3rem;
}

.sm-product-features-list li {
    display: block;
    margin-bottom: 0.4rem;
}

.sm-product-features-list li::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid var(--sm-color-primary);
    box-sizing: border-box;
    position: relative;
    margin-right: 0.4rem;
    vertical-align: middle;
}

.sm-product-columns-2 {
    display: grid;
    gap: 1.5rem;
}

.sm-product-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.sm-product-spec-card {
    padding: 0.9rem 1.1rem;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid var(--sm-color-border);
}

.sm-product-spec-label {
    font-size: 0.8rem;
    color: var(--sm-color-text-muted);
    margin-bottom: 0.25rem;
}

.sm-product-spec-value {
    font-size: 1.05rem;
    font-weight: 600;
}

.sm-product-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.sm-product-benefit-card {
    padding: 1rem 1.2rem;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid var(--sm-color-border);
}

.sm-product-benefit-card h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.sm-product-benefit-card p {
    font-size: 0.9rem;
    color: var(--sm-color-text-muted);
}

.sm-product-install-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.sm-product-install-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid var(--sm-color-border);
}

.sm-product-install-number {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--sm-color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    flex-shrink: 0;
}

.sm-product-install-body h3 {
    font-size: 0.98rem;
    margin-bottom: 0.2rem;
}

.sm-product-install-body p {
    font-size: 0.9rem;
    color: var(--sm-color-text-muted);
    margin: 0;
}

.sm-product-reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.sm-product-review-card {
    padding: 1.1rem 1.2rem;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--sm-color-border);
    box-shadow: var(--sm-shadow-soft);
}

.sm-product-review-stars {
    font-size: 0.9rem;
    color: #facc15;
    margin-bottom: 0.4rem;
}

.sm-product-review-stars span {
    margin-left: 0.35rem;
    color: var(--sm-color-text-muted);
}

.sm-product-review-text {
    font-size: 0.9rem;
    color: var(--sm-color-text);
    margin-bottom: 0.6rem;
}

.sm-product-review-meta {
    font-size: 0.85rem;
    color: var(--sm-color-text-muted);
}

.sm-product-review-name {
    font-weight: 600;
}

.sm-product-review-badge {
    margin-left: 0.4rem;
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    background: #f0f9ff;
    color: #0369a1;
    border-radius: 4px;
    font-weight: 500;
}

.sm-product-review-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.sm-product-review-date {
    font-size: 0.8rem;
    color: var(--sm-color-text-muted);
}

/* Ratings Summary Section */
.sm-product-ratings-summary {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid var(--sm-color-border);
}

.sm-product-ratings-overview {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

.sm-product-ratings-score {
    text-align: center;
    min-width: 150px;
}

.sm-product-ratings-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--sm-color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.sm-product-ratings-stars-large {
    font-size: 1.2rem;
    color: #facc15;
    margin-bottom: 0.5rem;
}

.sm-product-ratings-count {
    font-size: 0.9rem;
    color: var(--sm-color-text-muted);
}

.sm-product-ratings-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.sm-product-rating-bar-row {
    display: grid;
    grid-template-columns: 60px 1fr 40px;
    gap: 0.8rem;
    align-items: center;
}

.sm-product-rating-label {
    font-size: 0.9rem;
    color: var(--sm-color-text);
}

.sm-product-rating-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.sm-product-rating-bar-fill {
    height: 100%;
    background: var(--sm-color-primary);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.sm-product-rating-count {
    font-size: 0.85rem;
    color: var(--sm-color-text-muted);
    text-align: right;
}

.sm-product-reviews-more {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--sm-color-border);
}

.sm-product-reviews-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--sm-color-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.sm-product-reviews-link:hover {
    background: #e63946;
    color: #fff;
}

/* Review Form Section */
.sm-product-review-form-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--sm-color-border);
}

.sm-product-review-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--sm-color-text);
}

.comment-form-rating {
    margin-bottom: 1.5rem;
}

.comment-form-rating label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--sm-color-text);
}

.comment-form-rating select {
    width: 100%;
    max-width: 300px;
    padding: 0.75rem;
    border: 1px solid var(--sm-color-border);
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
}

.comment-form-comment {
    margin-bottom: 1.5rem;
}

.comment-form-comment label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--sm-color-text);
}

.comment-form-comment textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--sm-color-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
}

.comment-form-author,
.comment-form-email {
    margin-bottom: 1rem;
}

.comment-form-author label,
.comment-form-email label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--sm-color-text);
}

.comment-form-author input,
.comment-form-email input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--sm-color-border);
    border-radius: 8px;
    font-size: 1rem;
}

.sm-product-review-submit {
    background: var(--sm-color-primary);
    color: #fff;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.sm-product-review-submit:hover {
    background: #e63946;
    color: #fff;
}

.form-submit {
    margin-top: 1.5rem;
}

.sm-product-faq-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

.sm-product-faq-card {
    padding: 1rem 1.2rem;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--sm-color-border);
}

.sm-product-faq-card h3 {
    font-size: 0.98rem;
    margin-bottom: 0.3rem;
}

.sm-product-faq-card p {
    font-size: 0.9rem;
    color: var(--sm-color-text-muted);
    margin: 0;
}

.sm-product-faq-highlight {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.sm-product-sidebar {
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 3rem;
}

.sm-product-pricing-card {
    padding: 1.5rem 1.4rem;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--sm-shadow-soft);
    border: 1px solid rgba(15, 23, 42, 0.04);
}

.sm-product-price {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.sm-product-price-note {
    font-size: 0.85rem;
    color: var(--sm-color-text-muted);
    margin-bottom: 1.25rem;
}

.sm-product-cta-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.sm-product-cta-primary {
    width: 100%;
    border-radius: 999px;
    background: var(--sm-color-primary);
    color: #fff;
    padding: 0.75rem 1.2rem;
    font-weight: 500;
    text-align: center;
}

.sm-product-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 999px;
    border: 1px solid var(--sm-color-border);
    padding: 0.7rem 1.1rem;
    font-size: 0.9rem;
}

.sm-product-includes {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--sm-color-border);
    padding-top: 1rem;
    font-size: 0.9rem;
}

.sm-product-includes li {
    margin-bottom: 0.4rem;
}

.sm-product-social-proof {
    padding: 1rem 1.2rem;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid var(--sm-color-border);
    text-align: left;
}

.sm-product-social-count {
    font-weight: 600;
    font-size: 1.1rem;
}

.sm-product-social-text {
    font-size: 0.9rem;
    color: var(--sm-color-text-muted);
}

@media (max-width: 991px) {
    .sm-product-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .sm-product-sidebar {
        max-width: 420px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-main-header {
        padding: 2rem 0;
    }

    .sm-product {
        margin-top: 1.5rem;
    }

    .sm-product-features-list {
        column-count: 1;
    }

    .sm-product-stats-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm-product-specs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm-product-benefits-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sm-product-reviews-grid,
    .sm-product-faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (min-width: 769px) {
    .sm-product-features-list {
        column-count: 2;
    }
}

/* ==========================================================
   SpeedMarket Archive Grid (Shop)
   ========================================================== */

.sm-archive-header {
    padding: 2.5rem 0 1rem;
}

.sm-archive-title-main {
    font-size: 2.2rem;
    margin: 0 0 0.35rem;
}

.sm-archive-subtitle {
    color: var(--sm-color-text-muted);
    max-width: 520px;
    margin: 0;
}

.sm-archive {
    padding-bottom: 3rem;
}

.sm-archive-main {
    padding-top: 0.5rem;
}

.sm-archive-grid-wrapper {
    margin-top: 1.5rem;
}
.woocommerce .woocommerce-ordering{
    display: none;
}
.woocommerce .woocommerce-result-count{
    float: none;
}
.sm-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.sm-archive-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: var(--sm-shadow-soft);
    border: 1px solid rgba(15, 23, 42, 0.05);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.sm-archive-thumb-link {
    display: block;
    position: relative;
}

.sm-archive-thumb {
    background: #f3f4f6;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sm-archive-thumb-img {
    width: 100%;
    height: 100% !important;
    display: block;
    object-fit: cover;
	object-position: top;
}

.sm-archive-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.9));
    color: #fff;
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.9rem 1rem;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.sm-archive-card:hover .sm-archive-overlay {
    opacity: 1;
    visibility: visible;
}

.sm-archive-overlay-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

.sm-archive-overlay-preview {
    position: absolute;
    margin: 0 auto;
    left: 0;
    bottom: 50%;
    right: 0;
    text-align: center;
}

.sm-archive-overlay-preview::before {
    content: "◉";
    margin-right: 0.35rem;
    font-size: 0.65rem;
}

.sm-archive-overlay-downloads {
    font-size: 0.82rem;
}

.sm-archive-overlay-button {
    align-self: flex-start;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    background: var(--sm-color-primary);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.sm-archive-badge {
    position: absolute;
    top: 0.8rem;
    right: 0.9rem;
    padding: 0.15rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    background: #f9fafb;
    border: 1px solid var(--sm-color-border);
}

.sm-archive-card-body {
    padding: 0.9rem 1rem 1.1rem;
}
.sm-archive-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0;
    gap: 0.5rem;
}

.sm-archive-card-title {
    font-size: 1.05rem;
    margin: 0 0 0.1rem;
}

.sm-archive-card-title a {
    color: var(--sm-color-text);
}

.sm-archive-card-category {
    font-size: 0.82rem;
    color: var(--sm-color-text-muted);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #eee;
}

.sm-archive-price-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    justify-content: space-between;
    align-items: center;
}

.sm-archive-price {
    font-size: 1.2rem;
    font-weight: 600;
}

.sm-archive-price-note {
    font-size: 0.8rem;
    color: var(--sm-color-text-muted);
}

.sm-archive-rating {
    display: flex;
}

.sm-archive-rating-star {
    color: #facc15;
    margin-right: 0.15rem;
}

.sm-archive-rating-value {
    font-weight: 500;
}

@media (max-width: 1024px) {
    .sm-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .sm-archive-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Category Description at the end */
.sm-archive-category-description {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--sm-color-border);
}

.sm-archive-category-description p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--sm-color-text);
    margin-bottom: 1rem;
}

.sm-archive-category-description p:last-child {
    margin-bottom: 0;
}

/* ============================
   SpeedMarket Hero (Slider) Section
   ============================ */

.sm-hero {
    padding: 5.5rem 0;
    background: radial-gradient(circle at top left, #e0edff 0, #f9fbff 45%, #ffffff 100%);
}

.sm-hero-inner {
    max-width: 1080px;
    margin: 0 auto;
}

.sm-hero-content {
    text-align: center;
}

.sm-hero-title {
    font-size: clamp(2.4rem, 3.4vw, 3.6rem);
    line-height: 1.1;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

.sm-hero-title-line {
    display: block;
}

.sm-hero-title-highlight {
    display: inline-block;
    margin-top: 0.25rem;
    color: var(--sm-color-primary);
}

.sm-hero-subtitle {
    max-width: 720px;
    margin: 0 auto 2.1rem;
    color: var(--sm-color-text-muted);
    font-size: 1rem;
}

.sm-hero-search {
    max-width: 880px;
    margin: 0 auto 1.75rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.09);
    display: flex;
    align-items: center;
    padding: 0.9rem 1.4rem;
}

.sm-hero-search-icon {
    margin-right: 0.9rem;
}

.sm-hero-search-icon-svg {
    display: block;
    width: 1.1rem;
    height: 1.1rem;
}

.sm-hero-search-input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.98rem;
    background: transparent;
}

.sm-hero-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--sm-color-text-muted);
}

.sm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.sm-hero-badge-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #22c55e;
}

.sm-hero-badge-star {
    color: #facc15;
    font-size: 0.95rem;
}

.sm-hero-badge-shield {
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .sm-hero {
        padding: 4rem 1.25rem 3rem;
    }

    .sm-hero-search {
        padding-inline: 1.1rem;
    }
}

/* ============================
   Featured Themes Section
   ============================ */

.sm-featured {
    padding: 2.5rem 0 3.5rem;
}

.sm-featured-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.sm-featured-header-left {
    max-width: 520px;
}

.sm-featured-label-row {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--sm-color-primary);
    margin-bottom: 0.6rem;
}

.sm-featured-label-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sm-featured-label-icon-svg {
    display: block;
    width: 0.9rem;
    height: 0.9rem;
}

.sm-featured-title {
    font-size: 1.9rem;
    margin: 0 0 0.35rem;
    color: #0f172a;
}

.sm-featured-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: var(--sm-color-text-muted);
}

.sm-featured-header-right {
    flex-shrink: 0;
}

.sm-featured-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--sm-color-border);
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--sm-color-primary);
    background: #ffffff;
}

.sm-featured-view-all-arrow {
    font-size: 1rem;
}

.sm-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.sm-featured-card {
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.sm-featured-thumb-link {
    display: block;
}

.sm-featured-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.sm-featured-thumb-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.25s ease;
	object-position: top;
}

.sm-featured-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.082), rgb(0, 14, 46));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.sm-featured-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.12);
}

.sm-featured-card:hover .sm-featured-thumb-img {
    transform: scale(1.03);
    opacity: 0.2;
}

.sm-featured-card:hover .sm-featured-thumb::before, .sm-featured-card:hover .sm-featured-thumb-bottom {
    opacity: 1;
}

.sm-featured-thumb-top {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    right: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sm-featured-pill {
    padding: 0.18rem 0.7rem;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 500;
}

.sm-featured-score {
    padding: 0.18rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    font-size: 0.78rem;
}

.sm-featured-thumb-bottom {
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.sm-featured-thumb-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.sm-featured-eye {
    font-size: 0.7rem;
}

.sm-featured-card-body {
    padding: 1.1rem 1.3rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sm-featured-card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.sm-featured-card-title {
    font-size: 1.05rem;
    margin: 0;
}

.sm-featured-card-title a {
    color: var(--sm-color-text);
}

.sm-featured-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.9rem;
    color: var(--sm-color-text-muted);
}

.sm-featured-card-rating-star {
    color: #facc15;
}

.sm-featured-card-rating-value {
    font-weight: 500;
}

.sm-featured-card-category {
    font-size: 0.85rem;
    color: var(--sm-color-text-muted);
}

.sm-featured-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.sm-featured-tag {
    font-size: 0.8rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--sm-color-primary);
}

.sm-featured-card-footer {
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.sm-featured-price-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.sm-featured-price {
    font-size: 1.2rem;
    font-weight: 600;
}

.sm-featured-price-note {
    font-size: 0.8rem;
    color: var(--sm-color-text-muted);
}

.sm-featured-cta {
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--sm-color-border);
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--sm-color-primary);
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .sm-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .sm-featured-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sm-featured-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ============================
   Popular Themes Section
   ============================ */

.sm-popular {
    padding: 2.5rem 0 4rem;
}

.sm-popular-inner {
    /* container class already sets max-width and padding */
}

.sm-popular-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.sm-popular-header-left {
    max-width: 520px;
}

.sm-popular-label-row {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--sm-color-primary);
    margin-bottom: 0.6rem;
}

.sm-popular-label-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sm-popular-label-icon-svg {
    display: block;
    width: 0.9rem;
    height: 0.9rem;
}

.sm-popular-title {
    font-size: 1.9rem;
    margin: 0 0 0.35rem;
    color: #0f172a;
}

.sm-popular-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: var(--sm-color-text-muted);
}

.sm-popular-header-right {
    flex-shrink: 0;
}

.sm-popular-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--sm-color-border);
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--sm-color-primary);
    background: #ffffff;
}

.sm-popular-view-all-arrow {
    font-size: 1rem;
}

.sm-popular-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
}

.sm-popular-card {
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.sm-popular-thumb-link {
    display: block;
}

.sm-popular-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.sm-popular-thumb-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.25s ease;
	object-position: top;
}

.sm-popular-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.082), rgb(0, 14, 46));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.sm-popular-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.12);
}

.sm-popular-card:hover .sm-popular-thumb-img {
    transform: scale(1.03);
    opacity: 0.2;
}

.sm-popular-card:hover .sm-popular-thumb::before, .sm-popular-card:hover .sm-popular-thumb-bottom {
    opacity: 1;
}

.sm-popular-thumb-top {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    right: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sm-popular-pill {
    padding: 0.18rem 0.7rem;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 500;
}

.sm-popular-score {
    padding: 0.18rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    font-size: 0.78rem;
}

.sm-popular-thumb-bottom {
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    font-size: 0.85rem;
}

.sm-popular-thumb-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.sm-popular-eye {
    font-size: 0.7rem;
}

.sm-popular-card-body {
    padding: 1.1rem 1.3rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sm-popular-card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.sm-popular-card-title {
    font-size: 1.05rem;
    margin: 0;
}

.sm-popular-card-title a {
    color: var(--sm-color-text);
}

.sm-popular-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.9rem;
    color: var(--sm-color-text-muted);
}

.sm-popular-card-rating-star {
    color: #facc15;
}

.sm-popular-card-rating-value {
    font-weight: 500;
}

.sm-popular-card-category {
    font-size: 0.85rem;
    color: var(--sm-color-text-muted);
}

.sm-popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.sm-popular-tag {
    font-size: 0.8rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--sm-color-primary);
}

.sm-popular-card-footer {
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.sm-popular-price-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.sm-popular-price {
    font-size: 1.2rem;
    font-weight: 600;
}

.sm-popular-price-note {
    font-size: 0.8rem;
    color: var(--sm-color-text-muted);
}

.sm-popular-cta {
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--sm-color-border);
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--sm-color-primary);
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .sm-popular-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .sm-popular-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sm-popular-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ============================
   Success Metrics Section
   ============================ */

.sm-success {
    padding: 4rem 0;
    background: #f9fbff;
}

.sm-success-inner {
    text-align: center;
    padding-bottom: 3.5rem;
}

.sm-success-title {
    font-size: 2rem;
    margin: 0 0 0.6rem;
    color: #0f172a;
}

.sm-success-subtitle {
    margin: 0;
    font-size: 0.98rem;
    color: var(--sm-color-text-muted);
}

.sm-success-features {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
}

.sm-success-feature {
    max-width: 320px;
    margin: 0 auto;
}

.sm-success-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: #e0ecff;
    color: var(--sm-color-primary);
    margin-bottom: 1.25rem;
}

.sm-success-feature-icon-svg {
    width: 32px;
    height: 32px;
}

.sm-success-feature-title {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
    color: #0f172a;
}

.sm-success-feature-desc {
    margin: 0;
    font-size: 0.95rem;
    color: var(--sm-color-text-muted);
}

.sm-success-stats {
    background: #2563eb;
    color: #ffffff;
    padding: 2.6rem 0 2.8rem;
    margin-top: 0;
}

.sm-success-stats-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem;
    text-align: center;
}

.sm-success-stat-number {
    font-size: 2.1rem;
    font-weight: 600;
}

.sm-success-stat-label {
    margin-top: 0.4rem;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .sm-success-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm-success-stats-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 2rem;
    }
}

@media (max-width: 768px) {
    .sm-success {
        padding-top: 3rem;
    }

    .sm-success-features {
        grid-template-columns: minmax(0, 1fr);
    }

    .sm-success-stats-inner {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ============================
   Why Choose Section
   ============================ */

.sm-why {
    padding: 4.25rem 0 4.5rem;
    background: #f9fbff;
}

.sm-why-inner {
    text-align: center;
}

.sm-why-title {
    font-size: 2rem;
    margin: 0 0 0.6rem;
    color: #0f172a;
}

.sm-why-subtitle {
    margin: 0;
    font-size: 0.98rem;
    color: var(--sm-color-text-muted);
}

.sm-why-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem 1.75rem;
}

.sm-why-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e5edff;
    padding: 1.8rem 1.9rem;
    text-align: left;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.02);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.sm-why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.7);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.sm-why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 22px;
    background: #e0ecff;
    color: var(--sm-color-primary);
    margin-bottom: 1.25rem;
}

.sm-why-icon-svg {
    width: 30px;
    height: 30px;
}

.sm-why-card-title {
    font-size: 1.08rem;
    margin: 0 0 0.55rem;
    color: #0f172a;
}

.sm-why-card-desc {
    margin: 0;
    font-size: 0.95rem;
    color: var(--sm-color-text-muted);
}

@media (max-width: 1024px) {
    .sm-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .sm-why-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ============================
   Testimonials Section
   ============================ */

.sm-testimonials {
    padding: 4.5rem 0 4.75rem;
    background: #f9fbff;
}

.sm-testimonials-inner {
    text-align: center;
}

.sm-testimonials-title {
    font-size: 2rem;
    margin: 0 0 0.6rem;
    color: #0f172a;
}

.sm-testimonials-subtitle {
    margin: 0;
    font-size: 0.98rem;
    color: var(--sm-color-text-muted);
}

.sm-testimonials-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
}

.sm-testimonial-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e5edff;
    padding: 1.9rem 2rem 1.9rem;
    text-align: left;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.02);
    position: relative;
}

.sm-testimonial-card--featured {
    border-color: rgba(37, 99, 235, 0.6);
    box-shadow: 0 26px 70px rgba(37, 99, 235, 0.16);
}

.sm-testimonial-badge {
    position: absolute;
    top: -0.9rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 500;
}

.sm-testimonial-rating {
    color: #facc15;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.sm-testimonial-quote {
    margin: 0 0 1.4rem;
    font-size: 0.95rem;
    color: var(--sm-color-text-muted);
}

.sm-testimonial-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sm-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #e0ecff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.sm-testimonial-name {
    font-size: 0.98rem;
    font-weight: 600;
    color: #0f172a;
}

.sm-testimonial-role {
    font-size: 0.85rem;
    color: var(--sm-color-text-muted);
}

@media (max-width: 1024px) {
    .sm-testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .sm-testimonials-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ============================
   Blog Section
   ============================ */

.sm-blog {
    padding: 4rem 0 4.5rem;
    background: #ffffff;
}

.sm-blog-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.sm-blog-title {
    font-size: 1.9rem;
    margin: 0 0 0.5rem;
    color: #0f172a;
}

.sm-blog-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: var(--sm-color-text-muted);
}

.sm-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

.sm-blog-card {
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sm-blog-thumb-link {
    display: block;
}

.sm-blog-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.sm-blog-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.sm-blog-card:hover .sm-blog-thumb-img {
    transform: scale(1.04);
}

.sm-blog-card-body {
    padding: 1.4rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.sm-blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--sm-color-text-muted);
}

.sm-blog-meta-cat {
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--sm-color-primary);
}

.sm-blog-card-title {
    font-size: 1.05rem;
    margin: 0;
}

.sm-blog-card-title a {
    color: var(--sm-color-text);
}

.sm-blog-card-excerpt {
    margin: 0;
    font-size: 0.95rem;
    color: var(--sm-color-text-muted);
}

.sm-blog-read {
    margin-top: 0.3rem;
    font-size: 0.88rem;
    color: var(--sm-color-primary);
    text-decoration: none;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .sm-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .sm-blog-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ============================
   Footer (Favor Themes style)
   ============================ */

.sm-footer {
    background: #0f172a;
    color: #e5e7eb;
    font-size: 0.9rem;
}

.sm-footer a {
    color: #cbd5f5;
    text-decoration: none;
}

.sm-footer a:hover,
.sm-footer a:focus {
    color: #ffffff;
}

.sm-footer-main {
    padding: 3.5rem 0 2.5rem;
}

.sm-footer-main-inner {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1.3fr));
    gap: 2.5rem;
}

.sm-footer-col-brand {
    max-width: 340px;
}

.sm-footer-main .widget-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.85rem;
    color: #e5e7eb;
}

.sm-footer-main .widget {
    margin: 0;
}

.sm-footer-main ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sm-footer-main ul li + li {
    margin-top: 0.45rem;
}

.sm-footer-main ul li a {
    font-size: 0.9rem;
    color: #9ca3af;
}

.sm-footer-main ul li a:hover {
    color: #ffffff;
}

.sm-footer-newsletter {
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    padding: 1.8rem 0 1.9rem;
}

.sm-footer-newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.sm-footer-newsletter-text h3 {
    margin: 0 0 0.35rem;
    font-size: 0.98rem;
    color: #e5e7eb;
}

.sm-footer-newsletter-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #9ca3af;
}

.sm-footer-bottom {
    padding: 1.3rem 0 1.6rem;
}

.sm-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 1.1rem;
    font-size: 0.82rem;
    color: #9ca3af;
}

.sm-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.sm-footer-bottom-links a {
    font-size: 0.82rem;
}

@media (max-width: 1024px) {
    .sm-footer-main-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .sm-footer-main {
        padding-top: 3rem;
    }

    .sm-footer-main-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .sm-footer-newsletter-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .sm-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================
   Primary CTA Section
   ============================ */

.sm-cta {
    padding: 4rem 0 4.25rem;
    background: #111827;
    color: #ffffff;
    text-align: center;
}

.sm-cta-title {
    font-size: 2rem;
    margin: 0 0 0.7rem;
}

.sm-cta-subtitle {
    margin: 0 0 1.8rem;
    font-size: 0.98rem;
    color: rgba(226, 232, 240, 0.9);
}

.sm-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.9rem;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.96rem;
    font-weight: 500;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.55);
}

.sm-cta-button:hover,
.sm-cta-button:focus {
    background: #1d4ed8;
}

/* ============================
   404 Page
   ============================ */

.sm-404 {
    padding: 4.5rem 0 4.75rem;
}

.sm-404-inner {
    max-width: 720px;
}

.sm-404-card {
    background: #0f172a;
    border-radius: 24px;
    padding: 2.4rem 2.6rem 2.6rem;
    color: #e5e7eb;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.45);
    position: relative;
    overflow: hidden;
}

.sm-404-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 55%),
                radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.25), transparent 55%);
    opacity: 0.8;
    pointer-events: none;
}

.sm-404-card > * {
    position: relative;
    z-index: 1;
}

.sm-404-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.16rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #e5e7eb;
    margin-bottom: 0.7rem;
}

.sm-404-title {
    font-size: 2.1rem;
    margin: 0 0 0.6rem;
    color: #f9fafb;
}

.sm-404-text {
    margin: 0 0 1.7rem;
    font-size: 0.98rem;
    color: rgba(226, 232, 240, 0.9);
}

.sm-404-search {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.7);
    margin-bottom: 1.4rem;
}

.sm-404-search-icon {
    color: #9ca3af;
    display: inline-flex;
}

.sm-404-search-input {
    flex: 1;
    border: none;
    background: transparent;
    color: #e5e7eb;
    font-size: 0.95rem;
    outline: none;
}

.sm-404-search-input::placeholder {
    color: #9ca3af;
}

.sm-404-search-submit {
    border: none;
    border-radius: 999px;
    padding: 0.38rem 1.1rem;
    background: #f9fafb;
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 600;
}

.sm-404-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.4rem;
}

.sm-404-btn-primary,
.sm-404-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
}

.sm-404-btn-primary {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.55);
}

.sm-404-btn-primary:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.sm-404-btn-secondary {
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    border: 1px solid rgba(148, 163, 184, 0.7);
}

.sm-404-btn-secondary:hover {
    background: rgba(15, 23, 42, 1);
    color: #f9fafb;
}

/* ============================
   Header Search Dropdown
   ============================ */

.header-search-bar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition:
        max-height 0.25s ease-out,
        opacity 0.2s ease-out,
        transform 0.25s ease-out;
}

.header-search-bar.is-open {
    max-height: 100%;
    opacity: 1;
    transform: translateY(0);
}

.header-search-wrapper {
    padding: 0.75rem 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.header-search-form {
    width: 100%;
    max-width: 720px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    margin: 0 auto;
}

.header-search-icon {
    color: #9ca3af;
    display: inline-flex;
}

.header-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: #0f172a;
    outline: none;
}

.header-search-input::placeholder {
    color: #9ca3af;
}

.header-search-submit {
    border: none;
    border-radius: 999px;
    padding: 0.35rem 0.95rem;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .header-search-wrapper {
        padding: 0.6rem 0.4rem 0.8rem;
    }

    .header-search-form {
        max-width: 100%;
    }
}

/* Header search – product suggestions */

.header-search-suggestions {
    max-width: 720px;
    margin: 0.3rem auto 0;
    padding: 0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    display: none;
}

.header-search-suggestions.is-visible {
    display: block;
}

.search-suggestions-list {
    list-style: none;
    margin: 0;
    padding: 0.25rem 0;
    max-height: 320px;
    overflow-y: auto;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 0.8rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.search-suggestion-item:hover,
.search-suggestion-item.selected {
    background-color: #f1f5f9;
}

.suggestion-image {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.suggestion-content {
    flex: 1;
    min-width: 0;
}

.suggestion-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-category {
    display: inline-block;
    font-size: 0.78rem;
    color: #6b7280;
}

.suggestion-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
    margin-left: 0.5rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .header-search-suggestions {
        max-width: 100%;
        margin: 0.25rem 0.4rem 0;
    }
}

@media (max-width: 640px) {
    .sm-404 {
        padding: 3.5rem 0 4rem;
    }

    .sm-404-card {
        padding: 2rem 1.6rem 2.2rem;
        border-radius: 18px;
    }

    .sm-404-title {
        font-size: 1.7rem;
    }

    .sm-404-search {
        flex-direction: column;
        align-items: stretch;
        padding: 0.7rem 0.9rem;
    }

    .sm-404-search-submit {
        width: 100%;
        justify-content: center;
    }

    .sm-404-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sm-404-btn-primary,
    .sm-404-btn-secondary {
        width: 100%;
    }
}

/* ============================
   Single Post (Blog) Layout
   ============================ */
.sm-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.sm-single-article {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
    padding: 1.8rem 1.9rem 2rem;
}

.sm-single-header {
    margin-bottom: 1.4rem;
}

.sm-single-category {
    display: inline-block;
    margin-bottom: 0.6rem;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--sm-color-primary);
    font-size: 0.8rem;
}

.sm-single-title {
    font-size: 1.9rem;
    margin: 0 0 0.5rem;
    color: #0f172a;
}

.sm-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    font-size: 0.85rem;
    color: var(--sm-color-text-muted);
}

.sm-single-meta-item i {
    margin-right: 0.35rem;
}

.sm-single-hero {
    margin: 0 -1.9rem 1.4rem;
    overflow: hidden;
}

.sm-single-hero-img {
    width: 100%;
    display: block;
    max-height: 420px;
    object-fit: cover;
}

.sm-single-content {
    font-size: 0.98rem;
    color: var(--sm-color-text);
    line-height: 1.7;
}

.sm-single-content p {
    margin-bottom: 1.1rem;
}

.sm-single-footer-meta {
    margin-top: 1.6rem;
    padding-top: 1.1rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.88rem;
}

.sm-single-tags-label {
    font-weight: 600;
    margin-right: 0.4rem;
}

.sm-single-share-list {
    list-style: none;
    display: flex;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
}

.sm-single-share-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--sm-color-primary);
}

.sm-single-sidebar {
    position: relative;
}

.sm-single-sidebar .widget {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
    padding: 1.3rem 1.4rem 1.5rem;
    margin-bottom: 1.5rem;
}

.sm-single-sidebar .widget-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.9rem;
    color: #0f172a;
}

.sm-single-sidebar .widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sm-single-sidebar .widget ul li + li {
    margin-top: 0.55rem;
}

.sm-single-sidebar .widget a {
    color: var(--sm-color-text-muted);
    font-size: 0.9rem;
    text-decoration: none;
}

.sm-single-sidebar .widget a:hover {
    color: var(--sm-color-primary);
}

@media (min-width: 1025px) {
    .sm-single-sidebar {
        position: sticky;
        top: 96px;
    }
}

@media (max-width: 1024px) {
    .sm-single-layout {
        grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
    }
}

@media (max-width: 768px) {
    .sm-single-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .sm-single-article {
        padding-inline: 1.4rem;
    }

    .sm-single-hero {
        margin-inline: -1.4rem;
    }

    .sm-single-footer-meta {
        flex-direction: column;
    }
}

/* ============================
   Contact Page Template
   ============================ */

.sm-contact {
    padding: 3.5rem 0 4rem;
}

.sm-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.sm-contact-form {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
    padding: 1.9rem 2rem 2.2rem;
}

.sm-contact-header {
    margin-bottom: 1.4rem;
}

.sm-contact-title {
    font-size: 1.8rem;
    margin: 0 0 0.5rem;
    color: #0f172a;
}

.sm-contact-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: var(--sm-color-text-muted);
}

.sm-contact-form-body {
    margin-top: 1.2rem;
}

.sm-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.sm-contact-card {
    background: #0f172a;
    color: #e5e7eb;
    border-radius: 16px;
    padding: 1.2rem 1.4rem 1.3rem;
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.sm-contact-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
}

.sm-contact-card-body {
    flex: 1;
}

.sm-contact-card-title {
    margin: 0 0 0.35rem;
    font-size: 0.98rem;
    color: #e5e7eb;
}

.sm-contact-card-text {
    margin: 0;
    font-size: 0.9rem;
    color: #cbd5f5;
}

.sm-contact-card-link {
    display: block;
    font-size: 0.9rem;
    color: #cbd5f5;
    text-decoration: none;
}

.sm-contact-card-link:hover {
    color: #ffffff;
}

/* ============================
   Blog Archive Page
   ============================ */

.sm-archive-page {
    padding: 3.5rem 0 4rem;
}

.sm-archive-header {
    margin-bottom: 1.8rem;
}

.sm-archive-title {
    font-size: 2rem;
    margin: 0 0 0.5rem;
    color: #0f172a;
}

.sm-archive-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: var(--sm-color-text-muted);
}

.sm-archive-pagination {
    margin-top: 2rem;
}

.sm-archive-sidebar .widget {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
    padding: 1.3rem 1.4rem 1.5rem;
    margin-bottom: 1.5rem;
}

.sm-archive-sidebar .widget-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.9rem;
    color: #0f172a;
}

.sm-archive-sidebar .widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sm-archive-sidebar .widget ul li + li {
    margin-top: 0.55rem;
}

.sm-archive-sidebar .widget a {
    color: var(--sm-color-text-muted);
    font-size: 0.9rem;
    text-decoration: none;
}

.sm-archive-sidebar .widget a:hover {
    color: var(--sm-color-primary);
}

@media (max-width: 1024px) {
    .sm-archive-layout {
        grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr);
    }
}

@media (max-width: 768px) {
    .sm-archive-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 1024px) {
    .sm-contact-layout {
        grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr);
    }
}

@media (max-width: 768px) {
    .sm-contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .sm-contact-form {
        padding-inline: 1.5rem;
    }
}

/* FAQ Page Template Styles */
.sm-faq {
    padding: 3rem 0;
}

.sm-faq-main {
    padding: 2rem 0;
}

.sm-faq-inner {
    max-width: 900px;
    margin: 0 auto;
}

.sm-faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.sm-faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sm-color-text);
    margin-bottom: 1rem;
}

.sm-faq-subtitle {
    font-size: 1.1rem;
    color: var(--sm-color-text-muted);
    margin: 0;
}

.sm-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sm-faq-item {
    background: #ffffff;
    border: 1px solid var(--sm-color-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--sm-shadow-soft);
    transition: box-shadow 0.2s ease;
}

.sm-faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sm-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--sm-color-text);
    transition: background 0.2s ease;
}

.sm-faq-question:hover {
    background: #f9fafb;
}

.sm-faq-question:focus {
    outline: 2px solid var(--sm-color-primary);
    outline-offset: -2px;
}

.sm-faq-question[aria-expanded="true"] {
    background: #f9fafb;
    border-bottom: 1px solid var(--sm-color-border);
}

.sm-faq-question-text {
    flex: 1;
    padding-right: 1rem;
}

.sm-faq-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--sm-color-primary);
    transition: transform 0.3s ease;
}

.sm-faq-answer {
    padding: 0 1.5rem;
    background: #ffffff;
}

.sm-faq-answer-content {
    padding: 1.5rem 0;
    color: var(--sm-color-text-muted);
    line-height: 1.7;
}

.sm-faq-answer-content p {
    margin-bottom: 1rem;
}

.sm-faq-answer-content p:last-child {
    margin-bottom: 0;
}

.sm-faq-answer-content ul,
.sm-faq-answer-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.sm-faq-answer-content li {
    margin-bottom: 0.5rem;
}

.sm-faq-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--sm-color-text-muted);
}

.sm-faq-content {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--sm-color-border);
}

.sm-faq-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--sm-color-text);
}

@media (max-width: 768px) {
    .sm-faq-title {
        font-size: 2rem;
    }

    .sm-faq-subtitle {
        font-size: 1rem;
    }

    .sm-faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }

    .sm-faq-answer {
        padding: 0 1.25rem;
    }

    .sm-faq-answer-content {
        padding: 1.25rem 0;
    }
}