/*
Theme Name: SarzamineSandal
Theme URI: https://sarzaminesandal.com
Author: Virak
Author URI: https://virak.net
Description: We build all designs with love and the hope that our customers will succeed in their work.
Requires at least: 6.4
Tested up to: 6.4.3
Requires PHP: 8.1
Version: 1.0
License: © 2024 SarzamineSandal. All rights reserved.
*/

@import url("./assets/css/__wordpress.css");

/* fonts */
@font-face {
  font-family: "Shabnam-Light";
  font-weight: normal;
  font-style: normal;
  src: url("./assets/fonts/Shabnam-Light.eot") format("eot");
  src: url("./assets/fonts/Shabnam-Light.woff") format("woff");
  src: url("./assets/fonts/Shabnam-Light.woff2") format("woff2");
}

@font-face {
  font-family: "Shabnam-Bold";
  font-weight: 700;
  font-style: normal;
  src: url("./assets/fonts/Shabnam-Bold.eot") format("eot");
  src: url("./assets/fonts/Shabnam-Bold.woff") format("woff");
  src: url("./assets/fonts/Shabnam-Bold.woff2") format("woff2");
}

body,
button {
  font-family: "Shabnam-Light";
}

* {
  font-family: "Shabnam-Light";
}


/*  PREVENT TEXT SIZE SCALLING */

/* iPhone, portrait & landscape. */
@media all and (max-device-width: 480px) {

  html,
  body,
  p {
    text-size-adjust: none !important;
    -webkit-text-size-adjust: none !important;
    -moz-text-size-adjust: none !important;
    -ms-text-size-adjust: none !important;
  }
}

/* iPad, portrait & landscape. */
@media all and (min-device-width: 768px) and (max-device-width: 1024px) {

  html,
  body,
  p {
    text-size-adjust: none !important;
    -webkit-text-size-adjust: none !important;
    -moz-text-size-adjust: none !important;
    -ms-text-size-adjust: none !important;
  }
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all .3s ease;
}

a:hover {
  color: inherit;
}


/*
  1. Use a more-intuitive box-sizing model.
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

/*
  2. Remove default margin
*/
* {
  margin: 0;
}

/*
  Typographic tweaks!
  3. Add accessible line-height
  4. Improve text rendering
*/
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/*
  5. Improve media defaults
*/
img,
picture,
video,
canvas,
svg {
  max-width: 100%;
}

/*
  6. Remove built-in form typography styles
*/
input,
button,
textarea,
select {
  font: inherit;
}

/*
  7. Avoid text overflows
*/
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: auto;
  line-height: inherit;
}

/*
  8. Create a root stacking context
*/
#root,
#__next {
  isolation: isolate;
}

html {
  box-sizing: border-box;
}

.btn-check:focus+.btn,
.btn:focus {
  box-shadow: none;
}

figure {
  margin: 0;
}

/* Typography */
html {
  font-size: 62.5%;
}

/* root */
:root {

  /* font size */
  --fs-p: 1.4rem;
  --fs-p-d: 1.6rem;
  --fs-title: 2rem;
  --fs-title-d: 3.6rem;
  --h1: 2.4rem;
  --h1-d: 5.2rem;

  /* colors */
  --text-color: #3F3F3F;
  --color-primary: #F875AA;
  --color-secondary: #B799FF;
  --button: linear-gradient(128deg, rgba(174, 145, 233, 1) 0%, rgba(192, 161, 255, 1) 100%);
  --button-shadow:
    inset 4px 4px 5px rgba(255, 231, 255, 0.3),
    inset -4px -4px 5px rgba(90, 75, 120, 0.5),
    -10px -10px 20px rgba(255, 231, 255, 0.9),
    10px 10px 20px rgba(90, 75, 120, 0.321);

  /* border radius */
  --radius: 25px;
  --radius-half: 18px;
  --radius-2: 15px;
  --circle: 500px;

  /* transition */
  --transition: all ease 0.3s;
}

body {
  background-image: url("assets/images/bg.webp");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  font-size: var(--fs-p);
  color: var(--text-color);
}

@media screen and (min-width: 992px) {
  body {
    background-image: url("assets/images/bg-d.webp");
  }
}

p {
  font-size: var(--fs-p);
  color: var(--text-color);
}

h1 {
  font-size: var(--h1);
  color: var(--text-color);
}

h2 {
  font-size: var(--fs-title);
  color: var(--text-color);
}

ul {
  margin: 0;
  padding: 0;
}

button {
  font-size: var(--fs-p);
}


/* root class */
.fs-p {
  font-size: var(--fs-p);
}

.img--fluid {
  width: 100% !important;
  height: 100% !important;
}

.fs-title {
  font-size: var(--fs-title);
}

.color--primary {
  color: var(--color-primary);
}

.color-secondary {
  color: var(--color-secondary);
}

.button--bg {
  background: var(--button);
  border: none !important;
}

.button--shadow {
  box-shadow: var(--button-shadow);
}

.glass {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15.2px);
  -webkit-backdrop-filter: blur(15.2px);
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.radius {
  border-radius: var(--radius);
}

.radius--half {
  border-radius: var(--radius-half);
}

.radius--min {
  border-radius: var(--radius-2);
}

.circle {
  border-radius: var(--circle);
}

.mt-6 {
  margin-top: 4rem;
}

.aref--font {
  font-family: "Aref Ruqaa", serif;
  font-weight: 400;
  font-style: normal;
  color: #A4A4A4;
}

@media screen and (min-width: 992px) {
  body {
    font-size: var(--fs-p-d);
  }

  p {
    font-size: var(--fs-p-d);
  }

  h1 {
    font-size: var(--h1-d);
  }

  h2 {
    font-size: var(--fs-title-d);
  }

  .fs-p {
    font-size: var(--fs-p-d);
  }

  .fs-title {
    font-size: var(--fs-title-d);
  }

  .mt-6 {
    margin-top: 6rem;
  }

  .aref--font {
    font-size: 3.2rem;
  }
}

.fw-bold {
  font-family: "Shabnam-Bold";
}

/*------------------ navbar desktop ------------------*/
.desktop-navbar {
  background: #F9F9F9;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-radius: 0 0 18px 18px;
  height: 95px;
  position: sticky;
  top: 0;
  z-index: 1;
}

.menu-nav li.menu-item:last-child {
  margin-left: 0 !important;
}

.icon-btn {
  border: 1px solid rgba(183, 153, 255, 0.3);
  width: 40px;
  height: 40px;
  display: inline-flex;
    background: #f9f9f9;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.icon-btn a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-counter {
  width: 20px;
  height: 20px;
  font-size: 12px;
  position: absolute;
  top: -13%;
  right: -30%;
  background: var(--color-primary);
  color: #fff;
  clip-path: circle();
  display: flex;
  align-items: center;
  justify-content: center;
}

#offcanvasTop {
  background: #fff;
  height: max-content;
  margin: 0 auto;
  width: 60%;
  border-radius: 0 0 var(--radius) var(--radius);
}

#search-desktop {
  width: 100%;
  background: #f6f6f6;
  border: none;
  padding: 2rem;
  border-radius: var(--radius-half);
  font-size: 2.4rem;
}

/*------------------ mobile header ------------------*/
.web--logo img {
  width: 65px;
  height: 65px;
  border-radius: var(--circle);
  object-fit: cover;
}

@media screen and (min-width: 992px) {
  .web--logo img {
    width: 117px;
    height: 117px;
  }
}

/*------------------ header gallery ------------------*/
.header-gallary__post img {
  aspect-ratio: 1/1;
  object-fit: cover;
}

.feature {
  background: #ffffff54;
  border: 1px solid rgba(183, 153, 255, 0.38);
  text-align: center;
  padding: 1.5rem 2rem;
}

/*------------------ categoryies ------------------*/
.section--title h2 {
  border-bottom: 2px dashed var(--color-secondary);
  width: fit-content;
  padding-bottom: 3px;
}

.category figure img {
  aspect-ratio: 1/1;
  object-fit: cover;
}

@media screen and (min-width: 992px) {
  .category figcaption p {
    font-size: 1.8rem;
  }
}

/*------------------ new posts ------------------*/
article.post {
  background: #fff;
  padding: 8px;
}

article.post figure img {
  aspect-ratio: 1/1;
  object-fit: cover;
}

.btn-more {
  height: 45px;
  width: 190px;
  border-radius: var(--radius-half);
}

@media screen and (min-width: 992px) {
  .btn-more {
    width: 300px;
    height: 52px;
  }
}

.owl-carousel {
  z-index: 0 !important;
}


/*------------------ footer ------------------*/
.social-btn {
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50px;
}

.social-btn.instagram .social-btn__icon {
  background: #F2E9FA;
}

.social-btn.instagram p {
  color: #5901B8;
}

.social-btn.whatsapp .social-btn__icon {
  background: #E6FCEF;
}

.social-btn.whatsapp p {
  color: #006766;
}

.social-btn.telegram .social-btn__icon {
  background: #E9EEFF;
}

.social-btn.telegram p {
  color: #002296;
}

.address span {
  text-decoration: underline;
}

.address-icon.social-btn__icon {
  background: #FAD9DB;
}

.access-links ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(1, 1fr);
  grid-column-gap: 30px;
  grid-row-gap: 20px;
}

.footer-link__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-link__item::before {
  content: "";
  display: block;
  width: 15px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 50px;
}

.namad {
  background: #272727;
}

.socket {
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 992px) {
  .socket {
    height: 160px;
    align-items: flex-start !important;
    padding-top: 1.5rem;
  }

  .woocommerce-cart-form .product-quantity {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
  }
}

/*------------------ mobile bottom navigetion ------------------*/
.bottom-navigetion {
  background: #fff;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
  border-radius: var(--radius);
  width: 98%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: inherit;
  padding: 0 12px;
  gap: 5px;
}

.bottom-navigetion-wrapper {
  width: 100%;
  height: 87px;
  position: fixed;
  bottom: 10px;
  right: 0;
  z-index: 0;
}

.bottom-navigetion__items,
.bottom-navigetion__items {
  width: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-flow: column;
  text-align: center;
}

.bottom-navigetion .icon--btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottom-nav-label {
  margin-top: 5px;
}

.bottom-nav-label span {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search__input {
  height: 100px;
  background: var(--color-dark);
  width: 100% !important;
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: .3s all ease-out;
}

.offcanvas-bottom {
  bottom: -1px;
}

.search__input input {
  font-size: 1.6rem;
  width: 90%;
  padding: 2rem;
  background: #f6f6f6;
  border: 0;
  border-radius: var(--radius-half);
}


/* -------- canvas menu mobile ------ */
.canvas-menu .offcanvas {
  width: 85% !important;
  font-size: 1.6rem;
}

.canvas-menu li.menu-item {
  padding: 1.5rem 2rem;
  margin: 5px 0;
  border-radius: 8px;
  border: 1px solid #e7e7e7;
  text-align: right;
}

.canvas-menu .category-menu-item {
  padding: 1.5rem 2rem;
}

.canvas-menu .category-menu-item::before {
  content: "";
  display: inline-flex;
  width: 15px;
  height: 2px;
  background-color: var(--color-secondary);
  border-radius: 50px;
  margin-left: 8px;
}

.offcanvas-footer {
  background: var(--color-secondary);
}

/* ----------------- hover ------------------ */
.desktop-navbar .navbar-menu li a,
.desktop-navbar .icon-btn,
.header-gallary__post,
.header-gallary__post img,
.category img,
article.post,
.btn-more,
.glass {
  transition: var(--transition);
}

.desktop-navbar .navbar-menu li a:hover {
  font-weight: bold;
  font-size: 2rem;
  border-bottom: 4px solid var(--color-secondary);
}

.desktop-navbar .icon-btn:hover {
  background: var(--color-secondary);
}

.desktop-navbar .icon-btn:hover svg {
  filter: brightness(10);
}

.header-gallary__post:hover img {
  border: 5px solid var(--color-primary);
  transform: rotate(5deg) scale(0.9);
}

.category a:hover img,
article.post:hover {
  border: 5px solid var(--color-primary);
  transform: rotate(5deg) scale(0.9);
}

.btn-more:hover {
  background: var(--color-primary);
}

.glass:hover {
  background: #fff;
}

.footer-link__item:hover {
  color: var(--color-primary);
  font-size: 2rem;
  font-weight: bold;
}

.woocommerce div.product form.cart .variations select {
  background-color: #fff !important;
}

.post__title,
.post__price {
  font-weight: bold;
}